diff --git a/core/assets/vendor/ckeditor5/adapter-ckfinder/adapter-ckfinder.js b/core/assets/vendor/ckeditor5/adapter-ckfinder/adapter-ckfinder.js index db247afa476614763f4dc27eb3f5ce930ee23a9c..186aac89ec0094c0656701ee932d583ea85928c2 100644 --- a/core/assets/vendor/ckeditor5/adapter-ckfinder/adapter-ckfinder.js +++ b/core/assets/vendor/ckeditor5/adapter-ckfinder/adapter-ckfinder.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},260:(e,t,r)=>{e.exports=r(237)("./src/upload.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{CKFinderUploadAdapter:()=>d});var e=r(782),t=r(260);const n="ckCsrfToken",s="abcdefghijklmnopqrstuvwxyz0123456789";function i(){let e=function(e){e=e.toLowerCase();const t=document.cookie.split(";");for(const r of t){const t=r.split("=");if(decodeURIComponent(t[0].trim().toLowerCase())===e)return decodeURIComponent(t[1])}return null}(n);var t,r;return e&&40==e.length||(e=function(e){let t="";const r=new Uint8Array(e);window.crypto.getRandomValues(r);for(let e=0;e<r.length;e++){const o=s.charAt(r[e]%36);t+=Math.random()>.5?o.toUpperCase():o}return t}(40),t=n,r=e,document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(r)+";path=/"),e}class d extends e.Plugin{static get requires(){return[t.FileRepository]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const e=this.editor.config.get("ckfinder.uploadUrl");e&&(this.editor.plugins.get(t.FileRepository).createUploadAdapter=t=>new a(t,e,this.editor.t))}}class a{constructor(e,t,r){this.loader=e,this.url=t,this.t=r}upload(){return this.loader.file.then((e=>new Promise(((t,r)=>{this._initRequest(),this._initListeners(t,r,e),this._sendRequest(e)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.url,!0),e.responseType="json"}_initListeners(e,t,r){const o=this.xhr,n=this.loader,s=(0,this.t)("Cannot upload file:")+` ${r.name}.`;o.addEventListener("error",(()=>t(s))),o.addEventListener("abort",(()=>t())),o.addEventListener("load",(()=>{const r=o.response;if(!r||!r.uploaded)return t(r&&r.error&&r.error.message?r.error.message:s);e({default:r.url})})),o.upload&&o.upload.addEventListener("progress",(e=>{e.lengthComputable&&(n.uploadTotal=e.total,n.uploaded=e.loaded)}))}_sendRequest(e){const t=new FormData;t.append("upload",e),t.append("ckCsrfToken",i()),this.xhr.send(t)}}})(),(window.CKEditor5=window.CKEditor5||{}).adapterCkfinder=o})(); \ No newline at end of file + */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},260:(e,t,r)=>{e.exports=r(237)("./src/upload.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{CKFinderUploadAdapter:()=>a});var e=r(782),t=r(260);const n="ckCsrfToken",s="abcdefghijklmnopqrstuvwxyz0123456789";function i(){let e=function(e){e=e.toLowerCase();const t=document.cookie.split(";");for(const r of t){const t=r.split("=");if(decodeURIComponent(t[0].trim().toLowerCase())===e)return decodeURIComponent(t[1])}return null}(n);var t,r;return e&&40==e.length||(e=function(e){let t="";const r=new Uint8Array(e);window.crypto.getRandomValues(r);for(let e=0;e<r.length;e++){const o=s.charAt(r[e]%36);t+=Math.random()>.5?o.toUpperCase():o}return t}(40),t=n,r=e,document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(r)+";path=/"),e}class a extends e.Plugin{static get requires(){return[t.FileRepository]}static get pluginName(){return"CKFinderUploadAdapter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.config.get("ckfinder.uploadUrl");e&&(this.editor.plugins.get(t.FileRepository).createUploadAdapter=t=>new d(t,e,this.editor.t))}}class d{constructor(e,t,r){this.loader=e,this.url=t,this.t=r}upload(){return this.loader.file.then((e=>new Promise(((t,r)=>{this._initRequest(),this._initListeners(t,r,e),this._sendRequest(e)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.url,!0),e.responseType="json"}_initListeners(e,t,r){const o=this.xhr,n=this.loader,s=(0,this.t)("Cannot upload file:")+` ${r.name}.`;o.addEventListener("error",(()=>t(s))),o.addEventListener("abort",(()=>t())),o.addEventListener("load",(()=>{const r=o.response;if(!r||!r.uploaded)return t(r&&r.error&&r.error.message?r.error.message:s);e({default:r.url})})),o.upload&&o.upload.addEventListener("progress",(e=>{e.lengthComputable&&(n.uploadTotal=e.total,n.uploaded=e.loaded)}))}_sendRequest(e){const t=new FormData;t.append("upload",e),t.append("ckCsrfToken",i()),this.xhr.send(t)}}})(),(window.CKEditor5=window.CKEditor5||{}).adapterCkfinder=o})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/alignment/alignment.js b/core/assets/vendor/ckeditor5/alignment/alignment.js index 8dc868fce077e3443054ca1bc6fb52c4b38341e0..9c7df7c412bf8d4c0e89dffd74835bb730b59c3b 100644 --- a/core/assets/vendor/ckeditor5/alignment/alignment.js +++ b/core/assets/vendor/ckeditor5/alignment/alignment.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Alignment:()=>f,AlignmentEditing:()=>u,AlignmentUI:()=>m});var e=n(782),t=n(584);const o=["left","right","center","justify"];function a(e){return o.includes(e)}function r(e,t){return"rtl"==t.contentLanguageDirection?"right"===e:"left"===e}function s(e){const n=e.map((e=>{let t;return t="string"==typeof e?{name:e}:e,t})).filter((e=>{const n=o.includes(e.name);return n||(0,t.logWarning)("alignment-config-name-not-recognized",{option:e}),n})),i=n.filter((e=>Boolean(e.className))).length;if(i&&i<n.length)throw new t.CKEditorError("alignment-config-classnames-are-missing",{configuredOptions:e});return n.forEach(((n,i,o)=>{const a=o.slice(i+1);if(a.some((e=>e.name==n.name)))throw new t.CKEditorError("alignment-config-name-already-defined",{option:n,configuredOptions:e});if(n.className){if(a.some((e=>e.className==n.className)))throw new t.CKEditorError("alignment-config-classname-already-defined",{option:n,configuredOptions:e})}})),n}const l="alignment";class c extends e.Command{refresh(){const e=this.editor.locale,n=(0,t.first)(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=Boolean(n)&&this._canBeAligned(n),this.isEnabled&&n.hasAttribute("alignment")?this.value=n.getAttribute("alignment"):this.value="rtl"===e.contentLanguageDirection?"right":"left"}execute(e={}){const t=this.editor,n=t.locale,i=t.model,o=i.document,a=e.value;i.change((e=>{const t=Array.from(o.selection.getSelectedBlocks()).filter((e=>this._canBeAligned(e))),i=t[0].getAttribute("alignment");r(a,n)||i===a||!a?function(e,t){for(const n of e)t.removeAttribute(l,n)}(t,e):function(e,t,n){for(const i of e)t.setAttribute(l,n,i)}(t,e,a)}))}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,l)}}class u extends e.Plugin{static get pluginName(){return"AlignmentEditing"}constructor(e){super(e),e.config.define("alignment",{options:o.map((e=>({name:e})))})}init(){const e=this.editor,t=e.locale,n=e.model.schema,i=s(e.config.get("alignment.options")).filter((e=>a(e.name)&&!r(e.name,t))),o=i.some((e=>!!e.className));n.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),o?e.conversion.attributeToAttribute(function(e){const t={};for(const n of e)t[n.name]={key:"class",value:n.className};const n={model:{key:"alignment",values:e.map((e=>e.name))},view:t};return n}(i)):e.conversion.for("downcast").attributeToAttribute(function(e){const t={};for(const{name:n}of e)t[n]={key:"style",value:{"text-align":n}};const n={model:{key:"alignment",values:e.map((e=>e.name))},view:t};return n}(i));const l=function(e){const t=[];for(const{name:n}of e)t.push({view:{key:"style",value:{"text-align":n}},model:{key:"alignment",value:n}});return t}(i);for(const t of l)e.conversion.for("upcast").attributeToAttribute(t);const u=function(e){const t=[];for(const{name:n}of e)t.push({view:{key:"align",value:n},model:{key:"alignment",value:n}});return t}(i);for(const t of u)e.conversion.for("upcast").attributeToAttribute(t);e.commands.add("alignment",new c(e))}}var g=n(311);const d=(()=>new Map([["left",e.icons.alignLeft],["right",e.icons.alignRight],["center",e.icons.alignCenter],["justify",e.icons.alignJustify]]))();class m extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{left:e("Align left"),right:e("Align right"),center:e("Align center"),justify:e("Justify")}}static get pluginName(){return"AlignmentUI"}init(){const e=s(this.editor.config.get("alignment.options"));e.map((e=>e.name)).filter(a).forEach((e=>this._addButton(e))),this._addToolbarDropdown(e),this._addMenuBarMenu(e)}_addButton(e){this.editor.ui.componentFactory.add(`alignment:${e}`,(t=>this._createButton(t,e)))}_createButton(e,t,n={}){const i=this.editor,o=i.commands.get("alignment"),a=new g.ButtonView(e);return a.set({label:this.localizedOptionTitles[t],icon:d.get(t),tooltip:!0,isToggleable:!0,...n}),a.bind("isEnabled").to(o),a.bind("isOn").to(o,"value",(e=>e===t)),this.listenTo(a,"execute",(()=>{i.execute("alignment",{value:t}),i.editing.view.focus()})),a}_addToolbarDropdown(e){const t=this.editor;t.ui.componentFactory.add("alignment",(n=>{const i=(0,g.createDropdown)(n),o="rtl"===n.uiLanguageDirection?"w":"e",a=n.t;(0,g.addToolbarToDropdown)(i,(()=>e.map((e=>this._createButton(n,e.name,{tooltipPosition:o})))),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:a("Text alignment toolbar")}),i.buttonView.set({label:a("Text alignment"),tooltip:!0}),i.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const r="rtl"===n.contentLanguageDirection?d.get("right"):d.get("left"),s=t.commands.get("alignment");return i.buttonView.bind("icon").to(s,"value",(e=>d.get(e)||r)),i.bind("isEnabled").to(s,"isEnabled"),this.listenTo(i,"execute",(()=>{t.editing.view.focus()})),i}))}_addMenuBarMenu(e){const t=this.editor;t.ui.componentFactory.add("menuBar:alignment",(n=>{const i=t.commands.get("alignment"),o=n.t,a=new g.MenuBarMenuView(n),r=new g.MenuBarMenuListView(n);a.bind("isEnabled").to(i),r.set({ariaLabel:o("Text alignment"),role:"menu"}),a.buttonView.set({label:o("Text alignment")});for(const o of e){const e=new g.MenuBarMenuListItemView(n,a),s=new g.MenuBarMenuListItemButtonView(n);s.delegate("execute").to(a),s.set({label:this.localizedOptionTitles[o.name],icon:d.get(o.name),role:"menuitemcheckbox",isToggleable:!0}),s.on("execute",(()=>{t.execute("alignment",{value:o.name}),t.editing.view.focus()})),s.bind("isOn").to(i,"value",(e=>e===o.name)),s.bind("isEnabled").to(i,"isEnabled"),e.children.add(s),r.items.add(e)}return a.panelView.children.add(r),a}))}}class f extends e.Plugin{static get requires(){return[u,m]}static get pluginName(){return"Alignment"}}})(),(window.CKEditor5=window.CKEditor5||{}).alignment=i})(); \ No newline at end of file + */(()=>{var e={782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Alignment:()=>f,AlignmentEditing:()=>u,AlignmentUI:()=>m});var e=n(782),t=n(584);const o=["left","right","center","justify"];function a(e){return o.includes(e)}function r(e,t){return"rtl"==t.contentLanguageDirection?"right"===e:"left"===e}function s(e){const n=e.map((e=>{let t;return t="string"==typeof e?{name:e}:e,t})).filter((e=>{const n=o.includes(e.name);return n||(0,t.logWarning)("alignment-config-name-not-recognized",{option:e}),n})),i=n.filter((e=>Boolean(e.className))).length;if(i&&i<n.length)throw new t.CKEditorError("alignment-config-classnames-are-missing",{configuredOptions:e});return n.forEach(((n,i,o)=>{const a=o.slice(i+1);if(a.some((e=>e.name==n.name)))throw new t.CKEditorError("alignment-config-name-already-defined",{option:n,configuredOptions:e});if(n.className){if(a.some((e=>e.className==n.className)))throw new t.CKEditorError("alignment-config-classname-already-defined",{option:n,configuredOptions:e})}})),n}const l="alignment";class c extends e.Command{refresh(){const e=this.editor.locale,n=(0,t.first)(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=Boolean(n)&&this._canBeAligned(n),this.isEnabled&&n.hasAttribute("alignment")?this.value=n.getAttribute("alignment"):this.value="rtl"===e.contentLanguageDirection?"right":"left"}execute(e={}){const t=this.editor,n=t.locale,i=t.model,o=i.document,a=e.value;i.change((e=>{const t=Array.from(o.selection.getSelectedBlocks()).filter((e=>this._canBeAligned(e))),i=t[0].getAttribute("alignment");r(a,n)||i===a||!a?function(e,t){for(const n of e)t.removeAttribute(l,n)}(t,e):function(e,t,n){for(const i of e)t.setAttribute(l,n,i)}(t,e,a)}))}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,l)}}class u extends e.Plugin{static get pluginName(){return"AlignmentEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("alignment",{options:o.map((e=>({name:e})))})}init(){const e=this.editor,t=e.locale,n=e.model.schema,i=s(e.config.get("alignment.options")).filter((e=>a(e.name)&&!r(e.name,t))),o=i.some((e=>!!e.className));n.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),o?e.conversion.attributeToAttribute(function(e){const t={};for(const n of e)t[n.name]={key:"class",value:n.className};const n={model:{key:"alignment",values:e.map((e=>e.name))},view:t};return n}(i)):e.conversion.for("downcast").attributeToAttribute(function(e){const t={};for(const{name:n}of e)t[n]={key:"style",value:{"text-align":n}};const n={model:{key:"alignment",values:e.map((e=>e.name))},view:t};return n}(i));const l=function(e){const t=[];for(const{name:n}of e)t.push({view:{key:"style",value:{"text-align":n}},model:{key:"alignment",value:n}});return t}(i);for(const t of l)e.conversion.for("upcast").attributeToAttribute(t);const u=function(e){const t=[];for(const{name:n}of e)t.push({view:{key:"align",value:n},model:{key:"alignment",value:n}});return t}(i);for(const t of u)e.conversion.for("upcast").attributeToAttribute(t);e.commands.add("alignment",new c(e))}}var g=n(311);const d=(()=>new Map([["left",e.icons.alignLeft],["right",e.icons.alignRight],["center",e.icons.alignCenter],["justify",e.icons.alignJustify]]))();class m extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{left:e("Align left"),right:e("Align right"),center:e("Align center"),justify:e("Justify")}}static get pluginName(){return"AlignmentUI"}static get isOfficialPlugin(){return!0}init(){const e=s(this.editor.config.get("alignment.options"));e.map((e=>e.name)).filter(a).forEach((e=>this._addButton(e))),this._addToolbarDropdown(e),this._addMenuBarMenu(e)}_addButton(e){this.editor.ui.componentFactory.add(`alignment:${e}`,(t=>this._createButton(t,e)))}_createButton(e,t,n={}){const i=this.editor,o=i.commands.get("alignment"),a=new g.ButtonView(e);return a.set({label:this.localizedOptionTitles[t],icon:d.get(t),tooltip:!0,isToggleable:!0,...n}),a.bind("isEnabled").to(o),a.bind("isOn").to(o,"value",(e=>e===t)),this.listenTo(a,"execute",(()=>{i.execute("alignment",{value:t}),i.editing.view.focus()})),a}_addToolbarDropdown(e){const t=this.editor;t.ui.componentFactory.add("alignment",(n=>{const i=(0,g.createDropdown)(n),o="rtl"===n.uiLanguageDirection?"w":"e",a=n.t;(0,g.addToolbarToDropdown)(i,(()=>e.map((e=>this._createButton(n,e.name,{tooltipPosition:o})))),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:a("Text alignment toolbar")}),i.buttonView.set({label:a("Text alignment"),tooltip:!0}),i.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const r="rtl"===n.contentLanguageDirection?d.get("right"):d.get("left"),s=t.commands.get("alignment");return i.buttonView.bind("icon").to(s,"value",(e=>d.get(e)||r)),i.bind("isEnabled").to(s,"isEnabled"),this.listenTo(i,"execute",(()=>{t.editing.view.focus()})),i}))}_addMenuBarMenu(e){const t=this.editor;t.ui.componentFactory.add("menuBar:alignment",(n=>{const i=t.commands.get("alignment"),o=n.t,a=new g.MenuBarMenuView(n),r=new g.MenuBarMenuListView(n);a.bind("isEnabled").to(i),r.set({ariaLabel:o("Text alignment"),role:"menu"}),a.buttonView.set({label:o("Text alignment")});for(const o of e){const e=new g.MenuBarMenuListItemView(n,a),s=new g.MenuBarMenuListItemButtonView(n);s.delegate("execute").to(a),s.set({label:this.localizedOptionTitles[o.name],icon:d.get(o.name),role:"menuitemcheckbox",isToggleable:!0}),s.on("execute",(()=>{t.execute("alignment",{value:o.name}),t.editing.view.focus()})),s.bind("isOn").to(i,"value",(e=>e===o.name)),s.bind("isEnabled").to(i,"isEnabled"),e.children.add(s),r.items.add(e)}return a.panelView.children.add(r),a}))}}class f extends e.Plugin{static get requires(){return[u,m]}static get pluginName(){return"Alignment"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).alignment=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/autoformat/autoformat.js b/core/assets/vendor/ckeditor5/autoformat/autoformat.js index da9969f73b0662e91eba615ea3a8f64fca15f840..0d98946962df6157d5f6af598ff0db15513e6d52 100644 --- a/core/assets/vendor/ckeditor5/autoformat/autoformat.js +++ b/core/assets/vendor/ckeditor5/autoformat/autoformat.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},834:(t,e,o)=>{t.exports=o(237)("./src/typing.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var s=e[i];if(void 0!==s)return s.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{Autoformat:()=>c,blockAutoformatEditing:()=>r,inlineAutoformatEditing:()=>a});var t=o(782),e=o(834),s=o(783),n=o(584);function r(t,e,o,i){let r,a=null;"function"==typeof i?r=i:(a=t.commands.get(i),r=()=>{t.execute(i)}),t.model.document.on("change:data",((d,c)=>{if(a&&!a.isEnabled||!e.isEnabled)return;const l=(0,n.first)(t.model.document.selection.getRanges());if(!l.isCollapsed)return;if(c.isUndo||!c.isLocal)return;const u=Array.from(t.model.document.differ.getChanges()),g=u[0];if(1!=u.length||"insert"!==g.type||"$text"!=g.name||1!=g.length)return;const h=g.position.parent;if(h.is("element","codeBlock"))return;if(h.is("element","listItem")&&"function"!=typeof i&&!["numberedList","bulletedList","todoList"].includes(i))return;if(a&&!0===a.value)return;const m=h.getChild(0),f=t.model.createRangeOn(m);if(!f.containsRange(l)&&!l.end.isEqual(f.end))return;const p=o.exec(m.data.substr(0,l.end.offset));p&&t.model.enqueueChange((e=>{const o=e.createPositionAt(h,0),i=e.createPositionAt(h,p[0].length),n=new s.LiveRange(o,i);if(!1!==r({match:p})){e.remove(n);const o=t.model.document.selection.getFirstRange(),i=e.createRangeIn(h);!h.isEmpty||i.isEqual(o)||i.containsRange(o,!0)||e.remove(h)}n.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function a(t,e,o,i){let s,n;o instanceof RegExp?s=o:n=o,n=n||(t=>{let e;const o=[],i=[];for(;null!==(e=s.exec(t))&&!(e&&e.length<4);){let{index:t,1:s,2:n,3:r}=e;const a=s+n+r;t+=e[0].length-a.length;const d=[t,t+s.length],c=[t+s.length+n.length,t+s.length+n.length+r.length];o.push(d),o.push(c),i.push([t+s.length,t+s.length+n.length])}return{remove:o,format:i}}),t.model.document.on("change:data",((o,s)=>{if(s.isUndo||!s.isLocal||!e.isEnabled)return;const r=t.model,a=r.document.selection;if(!a.isCollapsed)return;const c=Array.from(r.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const u=a.focus,g=u.parent,{text:h,range:m}=function(t,e){let o=t.start;const i=Array.from(t.getItems()).reduce(((t,i)=>!i.is("$text")&&!i.is("$textProxy")||i.getAttribute("code")?(o=e.createPositionAfter(i),""):t+i.data),"");return{text:i,range:e.createRange(o,t.end)}}(r.createRange(r.createPositionAt(g,0),u),r),f=n(h),p=d(m.start,f.format,r),b=d(m.start,f.remove,r);p.length&&b.length&&r.enqueueChange((e=>{if(!1!==i(e,p)){for(const t of b.reverse())e.remove(t);r.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function d(t,e,o){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>o.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}class c extends t.Plugin{static get requires(){return[e.Delete]}static get pluginName(){return"Autoformat"}afterInit(){const t=this.editor,e=this.editor.t;this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats(),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Revert autoformatting action"),keystroke:"Backspace"}]})}_addListAutoformats(){const t=this.editor.commands;t.get("bulletedList")&&r(this.editor,this,/^[*-]\s$/,"bulletedList"),t.get("numberedList")&&r(this.editor,this,/^1[.|)]\s$/,"numberedList"),t.get("todoList")&&r(this.editor,this,/^\[\s?\]\s$/,"todoList"),t.get("checkTodoList")&&r(this.editor,this,/^\[\s?x\s?\]\s$/,(()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")}))}_addBasicStylesAutoformats(){const t=this.editor.commands;if(t.get("bold")){const t=l(this.editor,"bold");a(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,t),a(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,t)}if(t.get("italic")){const t=l(this.editor,"italic");a(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,t),a(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,t)}if(t.get("code")){const t=l(this.editor,"code");a(this.editor,this,/(`)([^`]+)(`)$/g,t)}if(t.get("strikethrough")){const t=l(this.editor,"strikethrough");a(this.editor,this,/(~~)([^~]+)(~~)$/g,t)}}_addHeadingAutoformats(){const t=this.editor.commands.get("heading");t&&t.modelElements.filter((t=>t.match(/^heading[1-6]$/))).forEach((e=>{const o=e[7],i=new RegExp(`^(#{${o}})\\s$`);r(this.editor,this,i,(()=>{if(!t.isEnabled||t.value===e)return!1;this.editor.execute("heading",{value:e})}))}))}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&r(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const t=this.editor,e=t.model.document.selection;t.commands.get("codeBlock")&&r(t,this,/^```$/,(()=>{if(e.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})}))}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&r(this.editor,this,/^---$/,"horizontalLine")}}function l(t,e){return(o,i)=>{if(!t.commands.get(e).isEnabled)return!1;const s=t.model.schema.getValidRanges(i,e);for(const t of s)o.setAttribute(e,!0,t);o.removeSelectionAttribute(e)}}})(),(window.CKEditor5=window.CKEditor5||{}).autoformat=i})(); \ No newline at end of file + */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},834:(t,e,o)=>{t.exports=o(237)("./src/typing.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var s=e[i];if(void 0!==s)return s.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{Autoformat:()=>c,blockAutoformatEditing:()=>r,inlineAutoformatEditing:()=>a});var t=o(782),e=o(834),s=o(783),n=o(584);function r(t,e,o,i){let r,a=null;"function"==typeof i?r=i:(a=t.commands.get(i),r=()=>{t.execute(i)}),t.model.document.on("change:data",((d,c)=>{if(a&&!a.isEnabled||!e.isEnabled)return;const l=(0,n.first)(t.model.document.selection.getRanges());if(!l.isCollapsed)return;if(c.isUndo||!c.isLocal)return;const u=Array.from(t.model.document.differ.getChanges()),g=u[0];if(1!=u.length||"insert"!==g.type||"$text"!=g.name||1!=g.length)return;const h=g.position.parent;if(h.is("element","codeBlock"))return;if(h.is("element","listItem")&&"function"!=typeof i&&!["numberedList","bulletedList","todoList"].includes(i))return;if(a&&!0===a.value)return;const m=h.getChild(0),f=t.model.createRangeOn(m);if(!f.containsRange(l)&&!l.end.isEqual(f.end))return;const p=o.exec(m.data.substr(0,l.end.offset));p&&t.model.enqueueChange((e=>{const o=e.createPositionAt(h,0),i=e.createPositionAt(h,p[0].length),n=new s.LiveRange(o,i);if(!1!==r({match:p})){e.remove(n);const o=t.model.document.selection.getFirstRange(),i=e.createRangeIn(h);!h.isEmpty||i.isEqual(o)||i.containsRange(o,!0)||e.remove(h)}n.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function a(t,e,o,i){let s,n;o instanceof RegExp?s=o:n=o,n=n||(t=>{let e;const o=[],i=[];for(;null!==(e=s.exec(t))&&!(e&&e.length<4);){let{index:t,1:s,2:n,3:r}=e;const a=s+n+r;t+=e[0].length-a.length;const d=[t,t+s.length],c=[t+s.length+n.length,t+s.length+n.length+r.length];o.push(d),o.push(c),i.push([t+s.length,t+s.length+n.length])}return{remove:o,format:i}}),t.model.document.on("change:data",((o,s)=>{if(s.isUndo||!s.isLocal||!e.isEnabled)return;const r=t.model,a=r.document.selection;if(!a.isCollapsed)return;const c=Array.from(r.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const u=a.focus,g=u.parent,{text:h,range:m}=function(t,e){let o=t.start;const i=Array.from(t.getItems()).reduce(((t,i)=>!i.is("$text")&&!i.is("$textProxy")||i.getAttribute("code")?(o=e.createPositionAfter(i),""):t+i.data),"");return{text:i,range:e.createRange(o,t.end)}}(r.createRange(r.createPositionAt(g,0),u),r),f=n(h),p=d(m.start,f.format,r),b=d(m.start,f.remove,r);p.length&&b.length&&r.enqueueChange((e=>{if(!1!==i(e,p)){for(const t of b.reverse())e.remove(t);r.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function d(t,e,o){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>o.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}class c extends t.Plugin{static get requires(){return[e.Delete]}static get pluginName(){return"Autoformat"}static get isOfficialPlugin(){return!0}afterInit(){const t=this.editor,e=this.editor.t;this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats(),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Revert autoformatting action"),keystroke:"Backspace"}]})}_addListAutoformats(){const t=this.editor.commands;t.get("bulletedList")&&r(this.editor,this,/^[*-]\s$/,"bulletedList"),t.get("numberedList")&&r(this.editor,this,/^1[.|)]\s$/,"numberedList"),t.get("todoList")&&r(this.editor,this,/^\[\s?\]\s$/,"todoList"),t.get("checkTodoList")&&r(this.editor,this,/^\[\s?x\s?\]\s$/,(()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")}))}_addBasicStylesAutoformats(){const t=this.editor.commands;if(t.get("bold")){const t=l(this.editor,"bold");a(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,t),a(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,t)}if(t.get("italic")){const t=l(this.editor,"italic");a(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,t),a(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,t)}if(t.get("code")){const t=l(this.editor,"code");a(this.editor,this,/(`)([^`]+)(`)$/g,t)}if(t.get("strikethrough")){const t=l(this.editor,"strikethrough");a(this.editor,this,/(~~)([^~]+)(~~)$/g,t)}}_addHeadingAutoformats(){const t=this.editor.commands.get("heading");t&&t.modelElements.filter((t=>t.match(/^heading[1-6]$/))).forEach((e=>{const o=e[7],i=new RegExp(`^(#{${o}})\\s$`);r(this.editor,this,i,(()=>{if(!t.isEnabled||t.value===e)return!1;this.editor.execute("heading",{value:e})}))}))}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&r(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const t=this.editor,e=t.model.document.selection;t.commands.get("codeBlock")&&r(t,this,/^```$/,(()=>{if(e.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})}))}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&r(this.editor,this,/^---$/,"horizontalLine")}}function l(t,e){return(o,i)=>{if(!t.commands.get(e).isEnabled)return!1;const s=t.model.schema.getValidRanges(i,e);for(const t of s)o.setAttribute(e,!0,t);o.removeSelectionAttribute(e)}}})(),(window.CKEditor5=window.CKEditor5||{}).autoformat=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/autosave/autosave.js b/core/assets/vendor/ckeditor5/autosave/autosave.js index 5048b3668f1da8a531b98f0e58cceeea42097ef8..d591e22c71e03d81e63aff27eee5f2b53ed7d921 100644 --- a/core/assets/vendor/ckeditor5/autosave/autosave.js +++ b/core/assets/vendor/ckeditor5/autosave/autosave.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Autosave:()=>D});var t=i(782),e=i(584);const s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const o="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const a=o||r||Function("return this")();const c=function(){return a.Date.now()};var u=/\s/;const l=function(t){for(var e=t.length;e--&&u.test(t.charAt(e)););return e};var d=/^\s+/;const h=function(t){return t?t.slice(0,l(t)+1).replace(d,""):t};const v=a.Symbol;var f=Object.prototype,m=f.hasOwnProperty,g=f.toString,_=v?v.toStringTag:void 0;const p=function(t){var e=m.call(t,_),i=t[_];try{t[_]=void 0;var n=!0}catch(t){}var s=g.call(t);return n&&(e?t[_]=i:delete t[_]),s};var b=Object.prototype.toString;const y=function(t){return b.call(t)};var S=v?v.toStringTag:void 0;const T=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?p(t):y(t)};const j=function(t){return null!=t&&"object"==typeof t};const w=function(t){return"symbol"==typeof t||j(t)&&"[object Symbol]"==T(t)};var O=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,A=/^0o[0-7]+$/i,x=parseInt;const E=function(t){if("number"==typeof t)return t;if(w(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=h(t);var i=P.test(t);return i||A.test(t)?x(t.slice(2),i?2:8):O.test(t)?NaN:+t};var N=Math.max,I=Math.min;const C=function(t,e,i){var n,o,r,a,u,l,d=0,h=!1,v=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var i=n,s=o;return n=o=void 0,d=e,a=t.apply(s,i)}function g(t){var i=t-l;return void 0===l||i>=e||i<0||v&&t-d>=r}function _(){var t=c();if(g(t))return p(t);u=setTimeout(_,function(t){var i=e-(t-l);return v?I(i,r-(t-d)):i}(t))}function p(t){return u=void 0,f&&n?m(t):(n=o=void 0,a)}function b(){var t=c(),i=g(t);if(n=arguments,o=this,l=t,i){if(void 0===u)return function(t){return d=t,u=setTimeout(_,e),h?m(t):a}(l);if(v)return clearTimeout(u),u=setTimeout(_,e),m(l)}return void 0===u&&(u=setTimeout(_,e)),a}return e=E(e)||0,s(i)&&(h=!!i.leading,r=(v="maxWait"in i)?N(E(i.maxWait)||0,e):r,f="trailing"in i?!!i.trailing:f),b.cancel=function(){void 0!==u&&clearTimeout(u),d=0,n=l=o=u=void 0},b.flush=function(){return void 0===u?a:p(c())},b};class D extends t.Plugin{static get pluginName(){return"Autosave"}static get requires(){return[t.PendingActions]}constructor(i){super(i),this._action=null;const n=i.config.get("autosave")||{},s=n.waitingTime||1e3;this.set("state","synchronized"),this._debouncedSave=C(this._save.bind(this),s),this._lastDocumentVersion=i.model.document.version,this._savePromise=null,this._domEmitter=new((0,e.DomEmitterMixin)()),this._config=n,this._pendingActions=i.plugins.get(t.PendingActions),this._makeImmediateSave=!1}init(){const t=this.editor,e=t.model.document;this.listenTo(t,"ready",(()=>{this.listenTo(e,"change:data",((t,e)=>{this._saveCallbacks.length&&e.isLocal&&("synchronized"===this.state&&(this.state="waiting",this._setPendingAction()),"waiting"===this.state&&this._debouncedSave())}))})),this.listenTo(t,"destroy",(()=>this._flush()),{priority:"highest"}),this._domEmitter.listenTo(window,"beforeunload",((t,e)=>{this._pendingActions.hasAny&&(e.returnValue=this._pendingActions.first.message)}))}destroy(){this._domEmitter.stopListening(),super.destroy()}save(){return this._debouncedSave.cancel(),this._save()}_flush(){this._debouncedSave.flush()}_save(){return this._savePromise?(this._makeImmediateSave=this.editor.model.document.version>this._lastDocumentVersion,this._savePromise):(this._setPendingAction(),this.state="saving",this._lastDocumentVersion=this.editor.model.document.version,this._savePromise=Promise.resolve().then((()=>Promise.all(this._saveCallbacks.map((t=>t(this.editor)))))).finally((()=>{this._savePromise=null})).then((()=>{if(this._makeImmediateSave)return this._makeImmediateSave=!1,this._save();this.editor.model.document.version>this._lastDocumentVersion?(this.state="waiting",this._debouncedSave()):(this.state="synchronized",this._pendingActions.remove(this._action),this._action=null)})).catch((t=>{throw this.state="error",this.state="saving",this._debouncedSave(),t})),this._savePromise)}_setPendingAction(){const t=this.editor.t;this._action||(this._action=this._pendingActions.add(t("Saving changes")))}get _saveCallbacks(){const t=[];return this.adapter&&this.adapter.save&&t.push(this.adapter.save),this._config.save&&t.push(this._config.save),t}}})(),(window.CKEditor5=window.CKEditor5||{}).autosave=n})(); \ No newline at end of file + */(()=>{var t={782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Autosave:()=>D});var t=i(782),e=i(584);const s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const o="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const a=o||r||Function("return this")();const c=function(){return a.Date.now()};var u=/\s/;const l=function(t){for(var e=t.length;e--&&u.test(t.charAt(e)););return e};var d=/^\s+/;const h=function(t){return t?t.slice(0,l(t)+1).replace(d,""):t};const v=a.Symbol;var f=Object.prototype,m=f.hasOwnProperty,g=f.toString,_=v?v.toStringTag:void 0;const p=function(t){var e=m.call(t,_),i=t[_];try{t[_]=void 0;var n=!0}catch(t){}var s=g.call(t);return n&&(e?t[_]=i:delete t[_]),s};var b=Object.prototype.toString;const y=function(t){return b.call(t)};var S=v?v.toStringTag:void 0;const T=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?p(t):y(t)};const j=function(t){return null!=t&&"object"==typeof t};const w=function(t){return"symbol"==typeof t||j(t)&&"[object Symbol]"==T(t)};var O=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,A=/^0o[0-7]+$/i,x=parseInt;const E=function(t){if("number"==typeof t)return t;if(w(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=h(t);var i=P.test(t);return i||A.test(t)?x(t.slice(2),i?2:8):O.test(t)?NaN:+t};var N=Math.max,I=Math.min;const C=function(t,e,i){var n,o,r,a,u,l,d=0,h=!1,v=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var i=n,s=o;return n=o=void 0,d=e,a=t.apply(s,i)}function g(t){var i=t-l;return void 0===l||i>=e||i<0||v&&t-d>=r}function _(){var t=c();if(g(t))return p(t);u=setTimeout(_,function(t){var i=e-(t-l);return v?I(i,r-(t-d)):i}(t))}function p(t){return u=void 0,f&&n?m(t):(n=o=void 0,a)}function b(){var t=c(),i=g(t);if(n=arguments,o=this,l=t,i){if(void 0===u)return function(t){return d=t,u=setTimeout(_,e),h?m(t):a}(l);if(v)return clearTimeout(u),u=setTimeout(_,e),m(l)}return void 0===u&&(u=setTimeout(_,e)),a}return e=E(e)||0,s(i)&&(h=!!i.leading,r=(v="maxWait"in i)?N(E(i.maxWait)||0,e):r,f="trailing"in i?!!i.trailing:f),b.cancel=function(){void 0!==u&&clearTimeout(u),d=0,n=l=o=u=void 0},b.flush=function(){return void 0===u?a:p(c())},b};class D extends t.Plugin{static get pluginName(){return"Autosave"}static get isOfficialPlugin(){return!0}static get requires(){return[t.PendingActions]}constructor(i){super(i),this._action=null;const n=i.config.get("autosave")||{},s=n.waitingTime||1e3;this.set("state","synchronized"),this._debouncedSave=C(this._save.bind(this),s),this._lastDocumentVersion=i.model.document.version,this._savePromise=null,this._domEmitter=new((0,e.DomEmitterMixin)()),this._config=n,this._pendingActions=i.plugins.get(t.PendingActions),this._makeImmediateSave=!1}init(){const t=this.editor,e=t.model.document;this.listenTo(t,"ready",(()=>{this.listenTo(e,"change:data",((t,e)=>{this._saveCallbacks.length&&e.isLocal&&("synchronized"===this.state&&(this.state="waiting",this._setPendingAction()),"waiting"===this.state&&this._debouncedSave())}))})),this.listenTo(t,"destroy",(()=>this._flush()),{priority:"highest"}),this._domEmitter.listenTo(window,"beforeunload",((t,e)=>{this._pendingActions.hasAny&&(e.returnValue=this._pendingActions.first.message)}))}destroy(){this._domEmitter.stopListening(),super.destroy()}save(){return this._debouncedSave.cancel(),this._save()}_flush(){this._debouncedSave.flush()}_save(){return this._savePromise?(this._makeImmediateSave=this.editor.model.document.version>this._lastDocumentVersion,this._savePromise):(this._setPendingAction(),this.state="saving",this._lastDocumentVersion=this.editor.model.document.version,this._savePromise=Promise.resolve().then((()=>Promise.all(this._saveCallbacks.map((t=>t(this.editor)))))).finally((()=>{this._savePromise=null})).then((()=>{if(this._makeImmediateSave)return this._makeImmediateSave=!1,this._save();this.editor.model.document.version>this._lastDocumentVersion?(this.state="waiting",this._debouncedSave()):(this.state="synchronized",this._pendingActions.remove(this._action),this._action=null)})).catch((t=>{throw this.state="error",this.state="saving",this._debouncedSave(),t})),this._savePromise)}_setPendingAction(){const t=this.editor.t;this._action||(this._action=this._pendingActions.add(t("Saving changes")))}get _saveCallbacks(){const t=[];return this.adapter&&this.adapter.save&&t.push(this.adapter.save),this._config.save&&t.push(this._config.save),t}}})(),(window.CKEditor5=window.CKEditor5||{}).autosave=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/basic-styles/basic-styles.js b/core/assets/vendor/ckeditor5/basic-styles/basic-styles.js index 2b3e258bd8398a498d1158e7f4c7eacdae6cbd47..0cd25660d461d111ae5b486ee92291e9375f2255 100644 --- a/core/assets/vendor/ckeditor5/basic-styles/basic-styles.js +++ b/core/assets/vendor/ckeditor5/basic-styles/basic-styles.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={598:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var n=i(935),r=i.n(n)()((function(t){return t[1]}));r.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}",""]);const o=r},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),e.push(c))}},e}},591:(t,e,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),s=[];function a(t){for(var e=-1,i=0;i<s.length;i++)if(s[i].identifier===t){e=i;break}return e}function c(t,e){for(var i={},n=[],r=0;r<t.length;r++){var o=t[r],c=e.base?o[0]+e.base:o[0],l=i[c]||0,u="".concat(c," ").concat(l);i[c]=l+1;var d=a(u),m={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(s[d].references++,s[d].updater(m)):s.push({identifier:u,updater:b(m,e),references:1}),n.push(u)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function m(t,e,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function g(t,e,i){var n=i.css,r=i.media,o=i.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var p=null,h=0;function b(t,e){var i,n,r;if(e.singleton){var o=h++;i=p||(p=l(e)),n=m.bind(null,i,o,!1),r=m.bind(null,i,o,!0)}else i=l(e),n=g.bind(null,i,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(i)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var i=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<i.length;n++){var r=a(i[n]);s[r].references--}for(var o=c(t,e),l=0;l<i.length;l++){var u=a(i[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}i=o}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var o=e[n]={id:n,exports:{}};return t[n](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{Bold:()=>u,BoldEditing:()=>o,BoldUI:()=>l,Code:()=>w,CodeEditing:()=>g,CodeUI:()=>f,Italic:()=>I,ItalicEditing:()=>k,ItalicUI:()=>B,Strikethrough:()=>E,StrikethroughEditing:()=>T,StrikethroughUI:()=>C,Subscript:()=>F,SubscriptEditing:()=>L,SubscriptUI:()=>U,Superscript:()=>j,SuperscriptEditing:()=>O,SuperscriptUI:()=>K,Underline:()=>$,UnderlineEditing:()=>_,UnderlineUI:()=>H});var t=i(782);class e extends t.Command{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,i=e.document.selection,n=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(i.isCollapsed)n?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const r=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of r)n?t.setAttribute(this.attributeKey,n,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,i=t.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const t of i.getRanges())for(const i of t.getItems())if(e.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const r="bold";class o extends t.Plugin{static get pluginName(){return"BoldEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:r}),t.model.schema.setAttributeProperties(r,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:r,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(r,new e(t,r)),t.keystrokes.set("CTRL+B",r),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Bold text"),keystroke:"CTRL+B"}]})}}var s=i(311);function a({editor:t,commandName:e,plugin:i,icon:n,label:r,keystroke:o}){return a=>{const c=t.commands.get(e),l=new a(t.locale);return l.set({label:r,icon:n,keystroke:o,isToggleable:!0}),l.bind("isEnabled").to(c,"isEnabled"),l.bind("isOn").to(c,"value"),l instanceof s.MenuBarMenuListItemButtonView?l.set({role:"menuitemcheckbox"}):l.set({tooltip:!0}),i.listenTo(l,"execute",(()=>{t.execute(e),t.editing.view.focus()})),l}}const c="bold";class l extends t.Plugin{static get pluginName(){return"BoldUI"}init(){const e=this.editor,i=e.locale.t,n=a({editor:e,commandName:c,plugin:this,icon:t.icons.bold,label:i("Bold"),keystroke:"CTRL+B"});e.ui.componentFactory.add(c,(()=>n(s.ButtonView))),e.ui.componentFactory.add("menuBar:"+c,(()=>n(s.MenuBarMenuListItemButtonView)))}}class u extends t.Plugin{static get requires(){return[o,l]}static get pluginName(){return"Bold"}}var d=i(834);const m="code";class g extends t.Plugin{static get pluginName(){return"CodeEditing"}static get requires(){return[d.TwoStepCaretMovement]}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:m}),t.model.schema.setAttributeProperties(m,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:m,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),t.commands.add(m,new e(t,m)),t.plugins.get(d.TwoStepCaretMovement).registerAttribute(m),(0,d.inlineHighlight)(t,m,"code","ck-code_selected"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}var p=i(591),h=i.n(p),b=i(598),v={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};h()(b.A,v);b.A.locals;const y="code";class f extends t.Plugin{static get pluginName(){return"CodeUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:y,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 5.7 5.2 3.9v1.3l-5.6 4c-.1.2-.3.2-.5.2-.3-.1-.6-.7-.6-1l.3-.4 4.7-3.5L11.5 7l-.2-.2c-.1-.3-.1-.6 0-.8.2-.2.5-.4.8-.4a.8.8 0 0 1 .4.1zm-5.2 0L2 9.6v1.3l5.6 4c.1.2.3.2.5.2.3-.1.7-.7.6-1 0-.1 0-.3-.2-.4l-5-3.5L8.2 7l.2-.2c.1-.3.1-.6 0-.8-.2-.2-.5-.4-.8-.4a.8.8 0 0 0-.3.1z"/></svg>',label:e("Code")});t.ui.componentFactory.add(y,(()=>i(s.ButtonView))),t.ui.componentFactory.add("menuBar:"+y,(()=>i(s.MenuBarMenuListItemButtonView)))}}class w extends t.Plugin{static get requires(){return[g,f]}static get pluginName(){return"Code"}}const x="italic";class k extends t.Plugin{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:x}),t.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:x,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(x,new e(t,x)),t.keystrokes.set("CTRL+I",x),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Italic text"),keystroke:"CTRL+I"}]})}}const S="italic";class B extends t.Plugin{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:S,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"/></svg>',keystroke:"CTRL+I",label:e("Italic")});t.ui.componentFactory.add(S,(()=>i(s.ButtonView))),t.ui.componentFactory.add("menuBar:"+S,(()=>i(s.MenuBarMenuListItemButtonView)))}}class I extends t.Plugin{static get requires(){return[k,B]}static get pluginName(){return"Italic"}}const A="strikethrough";class T extends t.Plugin{static get pluginName(){return"StrikethroughEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:A}),t.model.schema.setAttributeProperties(A,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:A,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(A,new e(t,A)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const N="strikethrough";class C extends t.Plugin{static get pluginName(){return"StrikethroughUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:N,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9 6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z"/><path d="M3 10.5V9h14v1.5z"/></svg>',keystroke:"CTRL+SHIFT+X",label:e("Strikethrough")});t.ui.componentFactory.add(N,(()=>i(s.ButtonView))),t.ui.componentFactory.add("menuBar:"+N,(()=>i(s.MenuBarMenuListItemButtonView)))}}class E extends t.Plugin{static get requires(){return[T,C]}static get pluginName(){return"Strikethrough"}}const M="subscript";class L extends t.Plugin{static get pluginName(){return"SubscriptEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:M}),t.model.schema.setAttributeProperties(M,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:M,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(M,new e(t,M))}}const P="subscript";class U extends t.Plugin{static get pluginName(){return"SubscriptUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:P,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.03 10.349 3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82zm8.147 7.829h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309z"/></svg>',label:e("Subscript")});t.ui.componentFactory.add(P,(()=>i(s.ButtonView))),t.ui.componentFactory.add("menuBar:"+P,(()=>i(s.MenuBarMenuListItemButtonView)))}}class F extends t.Plugin{static get requires(){return[L,U]}static get pluginName(){return"Subscript"}}const V="superscript";class O extends t.Plugin{static get pluginName(){return"SuperscriptEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:V}),t.model.schema.setAttributeProperties(V,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:V,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(V,new e(t,V))}}const R="superscript";class K extends t.Plugin{static get pluginName(){return"SuperscriptUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:R,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.677 8.678h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82z"/></svg>',label:e("Superscript")});t.ui.componentFactory.add(R,(()=>i(s.ButtonView))),t.ui.componentFactory.add("menuBar:"+R,(()=>i(s.MenuBarMenuListItemButtonView)))}}class j extends t.Plugin{static get requires(){return[O,K]}static get pluginName(){return"Superscript"}}const z="underline";class _ extends t.Plugin{static get pluginName(){return"UnderlineEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:z}),t.model.schema.setAttributeProperties(z,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:z,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(z,new e(t,z)),t.keystrokes.set("CTRL+U","underline"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Underline text"),keystroke:"CTRL+U"}]})}}const q="underline";class H extends t.Plugin{static get pluginName(){return"UnderlineUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:q,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 18v-1.5h14V18zm2.2-8V3.6c0-.4.4-.6.8-.6.3 0 .7.2.7.6v6.2c0 2 1.3 2.8 3.2 2.8 1.9 0 3.4-.9 3.4-2.9V3.6c0-.3.4-.5.8-.5.3 0 .7.2.7.5V10c0 2.7-2.2 4-4.9 4-2.6 0-4.7-1.2-4.7-4z"/></svg>',label:e("Underline"),keystroke:"CTRL+U"});t.ui.componentFactory.add(q,(()=>i(s.ButtonView))),t.ui.componentFactory.add("menuBar:"+q,(()=>i(s.MenuBarMenuListItemButtonView)))}}class $ extends t.Plugin{static get requires(){return[_,H]}static get pluginName(){return"Underline"}}})(),(window.CKEditor5=window.CKEditor5||{}).basicStyles=n})(); \ No newline at end of file + */(()=>{var t={598:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(758),r=i.n(n),s=i(935),o=i.n(s)()(r());o.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}",""]);const a=o},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&o[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),i&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=i):u[2]=i),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],l=n.base?c[0]+n.base:c[0],u=s[l]||0,d="".concat(l," ").concat(u);s[l]=u+1;var g=i(d),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)e[g].references++,e[g].updater(m);else{var p=r(m,n);n.byIndex=a,e.splice(a,0,{identifier:d,updater:p,references:1})}o.push(d)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),l=0;l<s.length;l++){var u=i(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=c}}},128:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},639:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AttributeCommand:()=>e,Bold:()=>u,BoldEditing:()=>s,BoldUI:()=>l,Code:()=>E,CodeEditing:()=>m,CodeUI:()=>A,Italic:()=>M,ItalicEditing:()=>T,ItalicUI:()=>N,Strikethrough:()=>K,StrikethroughEditing:()=>F,StrikethroughUI:()=>V,Subscript:()=>q,SubscriptEditing:()=>z,SubscriptUI:()=>j,Superscript:()=>G,SuperscriptEditing:()=>$,SuperscriptUI:()=>X,Underline:()=>Z,UnderlineEditing:()=>Q,UnderlineUI:()=>Y});var t=i(782);class e extends t.Command{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,i=e.document.selection,n=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(i.isCollapsed)n?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const r=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of r)n?t.setAttribute(this.attributeKey,n,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,i=t.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const t of i.getRanges())for(const i of t.getItems())if(e.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const r="bold";class s extends t.Plugin{static get pluginName(){return"BoldEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:r}),t.model.schema.setAttributeProperties(r,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:r,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(r,new e(t,r)),t.keystrokes.set("CTRL+B",r),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Bold text"),keystroke:"CTRL+B"}]})}}var o=i(311);function a({editor:t,commandName:e,plugin:i,icon:n,label:r,keystroke:s}){return a=>{const c=t.commands.get(e),l=new a(t.locale);return l.set({label:r,icon:n,keystroke:s,isToggleable:!0}),l.bind("isEnabled").to(c,"isEnabled"),l.bind("isOn").to(c,"value"),l instanceof o.MenuBarMenuListItemButtonView?l.set({role:"menuitemcheckbox"}):l.set({tooltip:!0}),i.listenTo(l,"execute",(()=>{t.execute(e),t.editing.view.focus()})),l}}const c="bold";class l extends t.Plugin{static get pluginName(){return"BoldUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,i=e.locale.t,n=a({editor:e,commandName:c,plugin:this,icon:t.icons.bold,label:i("Bold"),keystroke:"CTRL+B"});e.ui.componentFactory.add(c,(()=>n(o.ButtonView))),e.ui.componentFactory.add("menuBar:"+c,(()=>n(o.MenuBarMenuListItemButtonView)))}}class u extends t.Plugin{static get requires(){return[s,l]}static get pluginName(){return"Bold"}static get isOfficialPlugin(){return!0}}var d=i(834);const g="code";class m extends t.Plugin{static get pluginName(){return"CodeEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[d.TwoStepCaretMovement]}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:g}),t.model.schema.setAttributeProperties(g,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:g,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),t.commands.add(g,new e(t,g)),t.plugins.get(d.TwoStepCaretMovement).registerAttribute(g),(0,d.inlineHighlight)(t,g,"code","ck-code_selected"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}var p=i(591),h=i.n(p),f=i(639),b=i.n(f),v=i(128),y=i.n(v),w=i(21),x=i.n(w),k=i(51),I=i.n(k),P=i(598),S={attributes:{"data-cke":!0}};S.setAttributes=x(),S.insert=y().bind(null,"head"),S.domAPI=b(),S.insertStyleElement=I();h()(P.A,S);P.A&&P.A.locals&&P.A.locals;const B="code";class A extends t.Plugin{static get pluginName(){return"CodeUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:B,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 5.7 5.2 3.9v1.3l-5.6 4c-.1.2-.3.2-.5.2-.3-.1-.6-.7-.6-1l.3-.4 4.7-3.5L11.5 7l-.2-.2c-.1-.3-.1-.6 0-.8.2-.2.5-.4.8-.4a.8.8 0 0 1 .4.1zm-5.2 0L2 9.6v1.3l5.6 4c.1.2.3.2.5.2.3-.1.7-.7.6-1 0-.1 0-.3-.2-.4l-5-3.5L8.2 7l.2-.2c.1-.3.1-.6 0-.8-.2-.2-.5-.4-.8-.4a.8.8 0 0 0-.3.1z"/></svg>',label:e("Code")});t.ui.componentFactory.add(B,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+B,(()=>i(o.MenuBarMenuListItemButtonView)))}}class E extends t.Plugin{static get requires(){return[m,A]}static get pluginName(){return"Code"}static get isOfficialPlugin(){return!0}}const O="italic";class T extends t.Plugin{static get pluginName(){return"ItalicEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:O}),t.model.schema.setAttributeProperties(O,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:O,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(O,new e(t,O)),t.keystrokes.set("CTRL+I",O),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Italic text"),keystroke:"CTRL+I"}]})}}const C="italic";class N extends t.Plugin{static get pluginName(){return"ItalicUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:C,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"/></svg>',keystroke:"CTRL+I",label:e("Italic")});t.ui.componentFactory.add(C,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+C,(()=>i(o.MenuBarMenuListItemButtonView)))}}class M extends t.Plugin{static get requires(){return[T,N]}static get pluginName(){return"Italic"}static get isOfficialPlugin(){return!0}}const L="strikethrough";class F extends t.Plugin{static get pluginName(){return"StrikethroughEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:L}),t.model.schema.setAttributeProperties(L,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:L,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(L,new e(t,L)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const U="strikethrough";class V extends t.Plugin{static get pluginName(){return"StrikethroughUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:U,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9 6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z"/><path d="M3 10.5V9h14v1.5z"/></svg>',keystroke:"CTRL+SHIFT+X",label:e("Strikethrough")});t.ui.componentFactory.add(U,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+U,(()=>i(o.MenuBarMenuListItemButtonView)))}}class K extends t.Plugin{static get requires(){return[F,V]}static get pluginName(){return"Strikethrough"}static get isOfficialPlugin(){return!0}}const R="subscript";class z extends t.Plugin{static get pluginName(){return"SubscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:R}),t.model.schema.setAttributeProperties(R,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:R,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(R,new e(t,R))}}const _="subscript";class j extends t.Plugin{static get pluginName(){return"SubscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:_,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.03 10.349 3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82zm8.147 7.829h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309z"/></svg>',label:e("Subscript")});t.ui.componentFactory.add(_,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+_,(()=>i(o.MenuBarMenuListItemButtonView)))}}class q extends t.Plugin{static get requires(){return[z,j]}static get pluginName(){return"Subscript"}static get isOfficialPlugin(){return!0}}const H="superscript";class $ extends t.Plugin{static get pluginName(){return"SuperscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:H}),t.model.schema.setAttributeProperties(H,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:H,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(H,new e(t,H))}}const D="superscript";class X extends t.Plugin{static get pluginName(){return"SuperscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:D,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.677 8.678h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82z"/></svg>',label:e("Superscript")});t.ui.componentFactory.add(D,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+D,(()=>i(o.MenuBarMenuListItemButtonView)))}}class G extends t.Plugin{static get requires(){return[$,X]}static get pluginName(){return"Superscript"}static get isOfficialPlugin(){return!0}}const J="underline";class Q extends t.Plugin{static get pluginName(){return"UnderlineEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:J}),t.model.schema.setAttributeProperties(J,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:J,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(J,new e(t,J)),t.keystrokes.set("CTRL+U","underline"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Underline text"),keystroke:"CTRL+U"}]})}}const W="underline";class Y extends t.Plugin{static get pluginName(){return"UnderlineUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:W,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 18v-1.5h14V18zm2.2-8V3.6c0-.4.4-.6.8-.6.3 0 .7.2.7.6v6.2c0 2 1.3 2.8 3.2 2.8 1.9 0 3.4-.9 3.4-2.9V3.6c0-.3.4-.5.8-.5.3 0 .7.2.7.5V10c0 2.7-2.2 4-4.9 4-2.6 0-4.7-1.2-4.7-4z"/></svg>',label:e("Underline"),keystroke:"CTRL+U"});t.ui.componentFactory.add(W,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+W,(()=>i(o.MenuBarMenuListItemButtonView)))}}class Z extends t.Plugin{static get requires(){return[Q,Y]}static get pluginName(){return"Underline"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).basicStyles=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/basic-styles/translations/tt.js b/core/assets/vendor/ckeditor5/basic-styles/translations/tt.js index 3da6dfe1f5f1a88955c5b8d29151c080b019951d..1718907ac75f6ad5aca02458797fa69b866d7258 100644 --- a/core/assets/vendor/ckeditor5/basic-styles/translations/tt.js +++ b/core/assets/vendor/ckeditor5/basic-styles/translations/tt.js @@ -1 +1 @@ -!function(t){const i=t.tt=t.tt||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Калын","Bold text":"",Code:"Код",Italic:"","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const i=t.tt=t.tt||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Калын","Bold text":"Калын текÑÑ‚",Code:"Код",Italic:"КурÑив","Italic text":"КурÑив текÑÑ‚","Move out of an inline code style":"",Strikethrough:"Сызылган","Strikethrough text":"Сызылган текÑÑ‚",Subscript:"",Superscript:"",Underline:"ÐÑÑызыклау","Underline text":"ÐÑÑызыклы текÑÑ‚"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/basic-styles/translations/ug.js b/core/assets/vendor/ckeditor5/basic-styles/translations/ug.js index e45d1f36e43eb13fcbcf5545aa599951d6f6bb89..948530448422bf813b6399bf44d7e8c7f82b63c3 100644 --- a/core/assets/vendor/ckeditor5/basic-styles/translations/ug.js +++ b/core/assets/vendor/ckeditor5/basic-styles/translations/ug.js @@ -1 +1 @@ -!function(t){const i=t.ug=t.ug||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"توم","Bold text":"",Code:"كود",Italic:"يانتۇ","Italic text":"","Move out of an inline code style":"",Strikethrough:"ئۆچۈرۈش سىزىقى","Strikethrough text":"",Subscript:"ئاستبەلگە",Superscript:"ئۈستبەلگە",Underline:"ئاستى سىزىق","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const i=t.ug=t.ug||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"توم","Bold text":"توم تÛكىست",Code:"كود",Italic:"يانتۇ","Italic text":"يانتۇ تÛكىست","Move out of an inline code style":"ئىچكى كود ئۇسلۇبىنى چىقىرىۋەت",Strikethrough:"ئۆچۈرۈش سىزىقى","Strikethrough text":"ئۆچۈرۈش سىزىقى تÛكىست",Subscript:"ئاستبەلگە",Superscript:"ئۈستبەلگە",Underline:"ئاستى سىزىق","Underline text":"ئاستى سىزىق تÛكىست"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/block-quote/block-quote.js b/core/assets/vendor/ckeditor5/block-quote/block-quote.js index 1c138c2db4efba77efda75ecf0a75be662bee65a..43c30cd7f6f8e9f36c2e098489e3cc1c002ea52a 100644 --- a/core/assets/vendor/ckeditor5/block-quote/block-quote.js +++ b/core/assets/vendor/ckeditor5/block-quote/block-quote.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={28:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(935),r=o.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}",""]);const i=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(r[c]=!0)}for(var s=0;s<e.length;s++){var a=[].concat(e[s]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},591:(e,t,o)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),c=[];function s(e){for(var t=-1,o=0;o<c.length;o++)if(c[o].identifier===e){t=o;break}return t}function a(e,t){for(var o={},n=[],r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],l=o[a]||0,u="".concat(a," ").concat(l);o[a]=l+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(c[d].references++,c[d].updater(f)):c.push({identifier:u,updater:v(f,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=o.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var c=i(e.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,o,n){var r=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var i=document.createTextNode(r),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(i,c[t]):e.appendChild(i)}}function p(e,t,o){var n=o.css,r=o.media,i=o.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,h=0;function v(e,t){var o,n,r;if(t.singleton){var i=h++;o=m||(m=l(t)),n=f.bind(null,o,i,!1),r=f.bind(null,o,i,!0)}else o=l(t),n=p.bind(null,o,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var o=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<o.length;n++){var r=s(o[n]);c[r].references--}for(var i=a(e,t),l=0;l<o.length;l++){var u=s(o[l]);0===c[u].references&&(c[u].updater(),c.splice(u,1))}o=i}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},507:(e,t,o)=>{e.exports=o(237)("./src/enter.js")},834:(e,t,o)=>{e.exports=o(237)("./src/typing.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{BlockQuote:()=>g,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>v});var e=o(782),t=o(507),r=o(834),i=o(584);class c extends e.Command{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,o=t.schema,n=t.document.selection,r=Array.from(n.getSelectedBlocks()),i=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i){const t=r.filter((e=>s(e)||l(o,e)));this._applyQuote(e,t)}else this._removeQuote(e,r.filter(s))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,i.first)(e.getSelectedBlocks());return!(!t||!s(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,o=(0,i.first)(e.getSelectedBlocks());return!!o&&l(t,o)}_removeQuote(e,t){a(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const o=e.createPositionBefore(t.start.parent);return void e.move(t,o)}t.end.isAtEnd||e.split(t.end);const o=e.createPositionAfter(t.end.parent);e.move(t,o)}))}_applyQuote(e,t){const o=[];a(e,t).reverse().forEach((t=>{let n=s(t.start);n||(n=e.createElement("blockQuote"),e.wrap(t,n)),o.push(n)})),o.reverse().reduce(((t,o)=>t.nextSibling==o?(e.merge(e.createPositionAfter(t)),t):o))}}function s(e){return"blockQuote"==e.parent.name?e.parent:null}function a(e,t){let o,n=0;const r=[];for(;n<t.length;){const i=t[n],c=t[n+1];o||(o=e.createPositionBefore(i)),c&&i.nextSibling==c||(r.push(e.createRange(o,e.createPositionAfter(i))),o=null),n++}return r}function l(e,t){const o=e.checkChild(t.parent,"blockQuote"),n=e.checkChild(["$root","blockQuote"],t);return o&&n}class u extends e.Plugin{static get pluginName(){return"BlockQuoteEditing"}static get requires(){return[t.Enter,r.Delete]}init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new c(e)),t.register("blockQuote",{inheritAllFrom:"$container"}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer((o=>{const n=e.model.document.differ.getChanges();for(const e of n)if("insert"==e.type){const n=e.position.nodeAfter;if(!n)continue;if(n.is("element","blockQuote")&&n.isEmpty)return o.remove(n),!0;if(n.is("element","blockQuote")&&!t.checkChild(e.position,n))return o.unwrap(n),!0;if(n.is("element")){const e=o.createRangeIn(n);for(const n of e.getItems())if(n.is("element","blockQuote")&&!t.checkChild(o.createPositionBefore(n),n))return o.unwrap(n),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return o.remove(t),!0}return!1}));const o=this.editor.editing.view.document,n=e.model.document.selection,r=e.commands.get("blockQuote");this.listenTo(o,"enter",((t,o)=>{if(!n.isCollapsed||!r.value)return;n.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(o,"delete",((t,o)=>{if("backward"!=o.direction||!n.isCollapsed||!r.value)return;const i=n.getLastPosition().parent;i.isEmpty&&!i.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"})}}var d=o(311),f=o(591),p=o.n(f),m=o(28),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};p()(m.A,h);m.A.locals;class v extends e.Plugin{static get pluginName(){return"BlockQuoteUI"}init(){const e=this.editor;e.ui.componentFactory.add("blockQuote",(()=>{const e=this._createButton(d.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:blockQuote",(()=>{const e=this._createButton(d.MenuBarMenuListItemButtonView);return e.set({role:"menuitemcheckbox"}),e}))}_createButton(t){const o=this.editor,n=o.locale,r=o.commands.get("blockQuote"),i=new t(o.locale),c=n.t;return i.set({label:c("Block quote"),icon:e.icons.quote,isToggleable:!0}),i.bind("isEnabled").to(r,"isEnabled"),i.bind("isOn").to(r,"value"),this.listenTo(i,"execute",(()=>{o.execute("blockQuote"),o.editing.view.focus()})),i}}class g extends e.Plugin{static get requires(){return[u,v]}static get pluginName(){return"BlockQuote"}}})(),(window.CKEditor5=window.CKEditor5||{}).blockQuote=n})(); \ No newline at end of file + */(()=>{var e={28:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(758),r=o.n(n),i=o(935),s=o.n(i)()(r());s.push([e.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}",""]);const c=s},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(s[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},s=[],c=0;c<e.length;c++){var a=e[c],l=n.base?a[0]+n.base:a[0],u=i[l]||0,d="".concat(l," ").concat(u);i[l]=u+1;var f=o(d),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=r(p,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:m,references:1})}s.push(d)}return s}function r(e,t){var o=t.domAPI(t);o.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var c=o(i[s]);t[c].references--}for(var a=n(e,r),l=0;l<i.length;l++){var u=o(i[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=a}}},128:e=>{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}},639:e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function n(e,t,n,r){var i;if(n)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,s&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,i);else{var c=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(c,a[t]):e.appendChild(c)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,o=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(o,t,!1,e)},remove:function(e){n(o,t,!0,e)}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},507:(e,t,o)=>{e.exports=o(237)("./src/enter.js")},834:(e,t,o)=>{e.exports=o(237)("./src/typing.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{BlockQuote:()=>S,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>Q});var e=o(782),t=o(507),r=o(834),i=o(584);class s extends e.Command{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,o=t.schema,n=t.document.selection,r=Array.from(n.getSelectedBlocks()),i=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i){const t=r.filter((e=>c(e)||l(o,e)));this._applyQuote(e,t)}else this._removeQuote(e,r.filter(c))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,i.first)(e.getSelectedBlocks());return!(!t||!c(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,o=(0,i.first)(e.getSelectedBlocks());return!!o&&l(t,o)}_removeQuote(e,t){a(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const o=e.createPositionBefore(t.start.parent);return void e.move(t,o)}t.end.isAtEnd||e.split(t.end);const o=e.createPositionAfter(t.end.parent);e.move(t,o)}))}_applyQuote(e,t){const o=[];a(e,t).reverse().forEach((t=>{let n=c(t.start);n||(n=e.createElement("blockQuote"),e.wrap(t,n)),o.push(n)})),o.reverse().reduce(((t,o)=>t.nextSibling==o?(e.merge(e.createPositionAfter(t)),t):o))}}function c(e){return"blockQuote"==e.parent.name?e.parent:null}function a(e,t){let o,n=0;const r=[];for(;n<t.length;){const i=t[n],s=t[n+1];o||(o=e.createPositionBefore(i)),s&&i.nextSibling==s||(r.push(e.createRange(o,e.createPositionAfter(i))),o=null),n++}return r}function l(e,t){const o=e.checkChild(t.parent,"blockQuote"),n=e.checkChild(["$root","blockQuote"],t);return o&&n}class u extends e.Plugin{static get pluginName(){return"BlockQuoteEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.Enter,r.Delete]}init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new s(e)),t.register("blockQuote",{inheritAllFrom:"$container"}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer((o=>{const n=e.model.document.differ.getChanges();for(const e of n)if("insert"==e.type){const n=e.position.nodeAfter;if(!n)continue;if(n.is("element","blockQuote")&&n.isEmpty)return o.remove(n),!0;if(n.is("element","blockQuote")&&!t.checkChild(e.position,n))return o.unwrap(n),!0;if(n.is("element")){const e=o.createRangeIn(n);for(const n of e.getItems())if(n.is("element","blockQuote")&&!t.checkChild(o.createPositionBefore(n),n))return o.unwrap(n),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return o.remove(t),!0}return!1}));const o=this.editor.editing.view.document,n=e.model.document.selection,r=e.commands.get("blockQuote");this.listenTo(o,"enter",((t,o)=>{if(!n.isCollapsed||!r.value)return;n.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(o,"delete",((t,o)=>{if("backward"!=o.direction||!n.isCollapsed||!r.value)return;const i=n.getLastPosition().parent;i.isEmpty&&!i.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"})}}var d=o(311),f=o(591),p=o.n(f),m=o(639),h=o.n(m),v=o(128),g=o.n(v),b=o(21),k=o.n(b),y=o(51),x=o.n(y),w=o(28),E={attributes:{"data-cke":!0}};E.setAttributes=k(),E.insert=g().bind(null,"head"),E.domAPI=h(),E.insertStyleElement=x();p()(w.A,E);w.A&&w.A.locals&&w.A.locals;class Q extends e.Plugin{static get pluginName(){return"BlockQuoteUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("blockQuote",(()=>{const e=this._createButton(d.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:blockQuote",(()=>{const e=this._createButton(d.MenuBarMenuListItemButtonView);return e.set({role:"menuitemcheckbox"}),e}))}_createButton(t){const o=this.editor,n=o.locale,r=o.commands.get("blockQuote"),i=new t(o.locale),s=n.t;return i.set({label:s("Block quote"),icon:e.icons.quote,isToggleable:!0}),i.bind("isEnabled").to(r,"isEnabled"),i.bind("isOn").to(r,"value"),this.listenTo(i,"execute",(()=>{o.execute("blockQuote"),o.editing.view.focus()})),i}}class S extends e.Plugin{static get requires(){return[u,Q]}static get pluginName(){return"BlockQuote"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).blockQuote=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckbox/ckbox.js b/core/assets/vendor/ckeditor5/ckbox/ckbox.js index 813795cd9144517bec563fcf50fd7e2262b60978..1a6528da7c1546f52abd70ccee76d7150808d49a 100644 --- a/core/assets/vendor/ckeditor5/ckbox/ckbox.js +++ b/core/assets/vendor/ckeditor5/ckbox/ckbox.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={957:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(935),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',""]);const i=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},591:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var d=s(u),g={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(g)):a.push({identifier:u,updater:f(g,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function g(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function h(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,m=0;function f(e,t){var n,r,o;if(t.singleton){var i=m++;n=p||(p=l(t)),r=g.bind(null,n,i,!1),o=g.bind(null,n,i,!0)}else n=l(t),r=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=c(e,t),l=0;l<n.length;l++){var u=s(n[l]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},260:(e,t,n)=>{e.exports=n(237)("./src/upload.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";n.r(r),n.d(r,{CKBox:()=>U,CKBoxEditing:()=>O,CKBoxImageEdit:()=>On,CKBoxImageEditEditing:()=>xn,CKBoxImageEditUI:()=>In,CKBoxUI:()=>o});var e=n(782),t=n(311);class o extends e.Plugin{static get pluginName(){return"CKBoxUI"}afterInit(){const e=this.editor;e.commands.get("ckbox")&&(e.ui.componentFactory.add("ckbox",(()=>this._createFileToolbarButton())),e.ui.componentFactory.add("menuBar:ckbox",(()=>this._createFileMenuBarButton())),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"assetManager",observable:()=>e.commands.get("ckbox"),buttonViewCreator:()=>this._createImageToolbarButton(),formViewCreator:()=>this._createImageDropdownButton(),menuBarButtonViewCreator:e=>this._createImageMenuBarButton(e?"insertOnly":"insertNested")}))}_createButton(e){const t=this.editor,n=t.locale,r=new e(n),o=t.commands.get("ckbox");n.t;return r.bind("isOn","isEnabled").to(o,"value","isEnabled"),r.on("execute",(()=>{t.execute("ckbox")})),r}_createFileToolbarButton(){const n=this.editor.locale.t,r=this._createButton(t.ButtonView);return r.icon=e.icons.browseFiles,r.label=n("Open file manager"),r.tooltip=!0,r}_createImageToolbarButton(){const n=this.editor.locale.t,r=this.editor.plugins.get("ImageInsertUI"),o=this._createButton(t.ButtonView);return o.icon=e.icons.imageAssetManager,o.bind("label").to(r,"isImageSelected",(e=>n(e?"Replace image with file manager":"Insert image with file manager"))),o.tooltip=!0,o}_createImageDropdownButton(){const n=this.editor.locale.t,r=this.editor.plugins.get("ImageInsertUI"),o=this._createButton(t.ButtonView);return o.icon=e.icons.imageAssetManager,o.withText=!0,o.bind("label").to(r,"isImageSelected",(e=>n(e?"Replace with file manager":"Insert with file manager"))),o.on("execute",(()=>{r.dropdownView.isOpen=!1})),o}_createFileMenuBarButton(){const n=this.editor.locale.t,r=this._createButton(t.MenuBarMenuListItemButtonView);return r.icon=e.icons.browseFiles,r.withText=!0,r.label=n("File"),r}_createImageMenuBarButton(n){const r=this.editor.locale.t,o=this._createButton(t.MenuBarMenuListItemButtonView);switch(o.icon=e.icons.imageAssetManager,o.withText=!0,n){case"insertOnly":o.label=r("Image");break;case"insertNested":o.label=r("With file manager")}return o}}var i=n(783),a=n(584),s=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],c=e=>{let t=0;for(let n=0;n<e.length;n++){let r=e[n];t=83*t+s.indexOf(r)}return t},l=e=>{let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},u=e=>{let t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(12.92*t*255+.5):Math.trunc(255*(1.055*Math.pow(t,.4166666666666667)-.055)+.5)},d=(e,t)=>(e=>e<0?-1:1)(e)*Math.pow(Math.abs(e),t),g=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},h=e=>{if(!e||e.length<6)throw new g("The blurhash string must be at least 6 characters");let t=c(e[0]),n=Math.floor(t/9)+1,r=t%9+1;if(e.length!==4+2*r*n)throw new g(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*r*n}`)},p=e=>{let t=e>>8&255,n=255&e;return[l(e>>16),l(t),l(n)]},m=(e,t)=>{let n=Math.floor(e/361),r=Math.floor(e/19)%19,o=e%19;return[d((n-9)/9,2)*t,d((r-9)/9,2)*t,d((o-9)/9,2)*t]},f=(e,t,n,r)=>{h(e),r|=1;let o=c(e[0]),i=Math.floor(o/9)+1,a=o%9+1,s=(c(e[1])+1)/166,l=new Array(a*i);for(let t=0;t<l.length;t++)if(0===t){let n=c(e.substring(2,6));l[t]=p(n)}else{let n=c(e.substring(4+2*t,6+2*t));l[t]=m(n,s*r)}let d=4*t,g=new Uint8ClampedArray(d*n);for(let e=0;e<n;e++)for(let r=0;r<t;r++){let o=0,s=0,c=0;for(let u=0;u<i;u++)for(let i=0;i<a;i++){let d=Math.cos(Math.PI*r*i/t)*Math.cos(Math.PI*e*u/n),g=l[i+u*a];o+=g[0]*d,s+=g[1]*d,c+=g[2]*d}let h=u(o),p=u(s),m=u(c);g[4*r+0+e*d]=h,g[4*r+1+e*d]=p,g[4*r+2+e*d]=m,g[4*r+3+e*d]=255}return g};function b(e){const t=[];let n=0;for(const r in e){const o=parseInt(r,10);isNaN(o)||(o>n&&(n=o),t.push(`${e[r]} ${r}w`))}const r=[{srcset:t.join(","),sizes:`(max-width: ${n}px) 100vw, ${n}px`,type:"image/webp"}];return{imageFallbackUrl:e.default,imageSources:r}}function v({url:e,method:t="GET",data:n,onUploadProgress:r,signal:o,authorization:i}){const a=new XMLHttpRequest;a.open(t,e.toString()),a.setRequestHeader("Authorization",i),a.setRequestHeader("CKBox-Version","CKEditor 5"),a.responseType="json";const s=()=>{a.abort()};return new Promise(((e,t)=>{o.throwIfAborted(),o.addEventListener("abort",s),a.addEventListener("loadstart",(()=>{o.addEventListener("abort",s)})),a.addEventListener("loadend",(()=>{o.removeEventListener("abort",s)})),a.addEventListener("error",(()=>{t()})),a.addEventListener("abort",(()=>{t()})),a.addEventListener("load",(()=>{const n=a.response;if(!n||n.statusCode>=400)return t(n&&n.message);e(n)})),r&&a.upload.addEventListener("progress",(e=>{r(e)})),a.send(n)}))}const w={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};class _ extends e.Command{constructor(e){super(e),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const e=this.editor.commands.get("insertImage"),t=this.editor.commands.get("link");return!(!e.isEnabled&&!t.isEnabled)}_prepareOptions(){const e=this.editor.config.get("ckbox"),t=e.dialog,n=e.categories,r=e.view,o=e.upload;return{theme:e.theme,language:e.language,tokenUrl:e.tokenUrl,serviceOrigin:e.serviceOrigin,forceDemoLabel:e.forceDemoLabel,choosableFileExtensions:e.choosableFileExtensions,assets:{onChoose:e=>this.fire("ckbox:choose",e)},dialog:{onClose:()=>this.fire("ckbox:close"),width:t&&t.width,height:t&&t.height},categories:n&&{icons:n.icons},view:r&&{openLastView:r.openLastView,startupFolderId:r.startupFolderId,startupCategoryId:r.startupCategoryId,hideMaximizeButton:r.hideMaximizeButton},upload:o&&{componentsHideTimeout:o.componentsHideTimeout,dialogMinimizeTimeout:o.dialogMinimizeTimeout}}}_initListeners(){const e=this.editor,t=e.model,n=!e.config.get("ckbox.ignoreDataId");this.on("ckbox",(()=>{this.refresh()}),{priority:"low"}),this.on("ckbox:open",(()=>{this.isEnabled&&!this.value&&(this._wrapper=(0,a.createElement)(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))})),this.on("ckbox:close",(()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,e.editing.view.focus())})),this.on("ckbox:choose",((r,o)=>{if(!this.isEnabled)return;const i=e.commands.get("insertImage"),a=e.commands.get("link"),s=function({assets:e,isImageAllowed:t,isLinkAllowed:n}){return e.map((e=>function(e){const t=e.data.metadata;if(!t)return!1;return t.width&&t.height}(e)?{id:e.data.id,type:"image",attributes:y(e)}:{id:e.data.id,type:"link",attributes:k(e)})).filter((e=>"image"===e.type?t:n))}({assets:o,isImageAllowed:i.isEnabled,isLinkAllowed:a.isEnabled}),c=s.length;0!==c&&(t.change((e=>{for(const t of s){const r=t===s[c-1],o=1===c;this._insertAsset(t,r,e,o),n&&(setTimeout((()=>this._chosenAssets.delete(t)),1e3),this._chosenAssets.add(t))}})),e.editing.view.focus())})),this.listenTo(e,"destroy",(()=>{this.fire("ckbox:close"),this._chosenAssets.clear()}))}_insertAsset(e,t,n,r){const o=this.editor.model.document.selection;n.removeSelectionAttribute("linkHref"),"image"===e.type?this._insertImage(e):this._insertLink(e,n,r),t||n.setSelection(o.getLastPosition())}_insertImage(e){const t=this.editor,{imageFallbackUrl:n,imageSources:r,imageTextAlternative:o,imageWidth:i,imageHeight:a,imagePlaceholder:s}=e.attributes;t.execute("insertImage",{source:{src:n,sources:r,alt:o,width:i,height:a,...s?{placeholder:s}:null}})}_insertLink(e,t,n){const r=this.editor,o=r.model,i=o.document.selection,{linkName:s,linkHref:c}=e.attributes;if(i.isCollapsed){const e=(0,a.toMap)(i.getAttributes()),l=t.createText(s,e);if(!n){const e=i.getLastPosition(),n=e.parent;"paragraph"===n.name&&n.isEmpty||r.execute("insertParagraph",{position:e});const a=o.insertContent(l);return t.setSelection(a),void r.execute("link",c)}const u=o.insertContent(l);t.setSelection(u)}r.execute("link",c)}}function y(e){const{imageFallbackUrl:t,imageSources:n}=b(e.data.imageUrls),{description:r,width:o,height:i,blurHash:a}=e.data.metadata,s=function(e){if(e)try{const t="32px",n=document.createElement("canvas");n.setAttribute("width",t),n.setAttribute("height",t);const r=n.getContext("2d");if(!r)return;const o=r.createImageData(32,32),i=f(e,32,32);return o.data.set(i),r.putImageData(o,0,0),n.toDataURL()}catch(e){return}}(a);return{imageFallbackUrl:t,imageSources:n,imageTextAlternative:r||"",imageWidth:o,imageHeight:i,...s?{imagePlaceholder:s}:null}}function k(e){return{linkName:e.data.name,linkHref:x(e)}}function x(e){const t=new URL(e.data.url);return t.searchParams.set("download","true"),t.toString()}var I=n(260);class A extends e.Plugin{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){const e=this.editor,t=!!e.config.get("ckbox"),n=!!window.CKBox;if(!t&&!n)return;e.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:e.locale.uiLanguage,theme:"lark",tokenUrl:e.config.get("cloudServices.tokenUrl")});const r=e.plugins.get("CloudServices"),o=e.config.get("cloudServices.tokenUrl"),i=e.config.get("ckbox.tokenUrl");if(!i)throw new a.CKEditorError("ckbox-plugin-missing-token-url",this);this._token=i==o?Promise.resolve(r.token):r.registerTokenUrl(i)}getToken(){return this._token}async getWorkspaceId(){const e=(0,this.editor.t)("Cannot access default workspace."),t=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),n=function(e,t){const[,n]=e.value.split("."),r=JSON.parse(atob(n)),o=r.auth&&r.auth.ckbox&&r.auth.ckbox.workspaces||[r.aud];return t?"superadmin"==(r.auth&&r.auth.ckbox&&r.auth.ckbox.role)||o.includes(t)?t:null:o[0]}(await this._token,t);if(null==n)throw(0,a.logError)("ckbox-access-default-workspace-error"),e;return n}async getCategoryIdForFile(e,t){const n=(0,this.editor.t)("Cannot determine a category for the uploaded file."),r=this.editor.config.get("ckbox.defaultUploadCategories"),o=this._getAvailableCategories(t),i="string"==typeof e?(a=await async function(e,t){try{const n=await fetch(e,{method:"HEAD",cache:"force-cache",...t});return n.ok&&n.headers.get("content-type")||""}catch{return""}}(e,t),w[a]):e.name.match(/\.(?<ext>[^.]+)$/).groups.ext.toLowerCase();var a;const s=await o;if(!s)throw n;if(r){const e=Object.keys(r).find((e=>r[e].find((e=>e.toLowerCase()==i))));if(e){const t=s.find((t=>t.id===e||t.name===e));if(!t)throw n;return t.id}}const c=s.find((e=>e.extensions.find((e=>e.toLowerCase()==i))));if(!c)throw n;return c.id}async _getAvailableCategories(e){const t=this.editor,n=this._token,{signal:r}=e,o=t.config.get("ckbox.serviceOrigin"),i=await this.getWorkspaceId();try{const e=[];let t,n=0;do{const r=await s(n);e.push(...r.items),t=r.totalCount-(n+50),n+=50}while(t>0);return e}catch{return r.throwIfAborted(),void(0,a.logError)("ckbox-fetch-category-http-error")}async function s(e){const t=new URL("categories",o);return t.searchParams.set("limit",String(50)),t.searchParams.set("offset",String(e)),t.searchParams.set("workspaceId",i),v({url:t,signal:r,authorization:(await n).value})}}}class E extends e.Plugin{static get requires(){return["ImageUploadEditing","ImageUploadProgress",I.FileRepository,O]}static get pluginName(){return"CKBoxUploadAdapter"}async afterInit(){const e=this.editor,t=!!e.config.get("ckbox"),n=!!window.CKBox;if(!t&&!n)return;const r=e.plugins.get(I.FileRepository),o=e.plugins.get(A);r.createUploadAdapter=t=>new j(t,e,o);const i=!e.config.get("ckbox.ignoreDataId"),a=e.plugins.get("ImageUploadEditing");i&&a.on("uploadComplete",((t,{imageElement:n,data:r})=>{e.model.change((e=>{e.setAttribute("ckboxImageId",r.ckboxImageId,n)}))}))}}class j{constructor(e,t,n){this.loader=e,this.token=n.getToken(),this.ckboxUtils=n,this.editor=t,this.controller=new AbortController,this.serviceOrigin=t.config.get("ckbox.serviceOrigin")}async upload(){const e=this.ckboxUtils,t=this.editor.t,n=await this.loader.file,r=await e.getCategoryIdForFile(n,{signal:this.controller.signal}),o=new URL("assets",this.serviceOrigin),i=new FormData;o.searchParams.set("workspaceId",await e.getWorkspaceId()),i.append("categoryId",r),i.append("file",n);return v({method:"POST",url:o,data:i,onUploadProgress:e=>{e.lengthComputable&&(this.loader.uploadTotal=e.total,this.loader.uploaded=e.loaded)},signal:this.controller.signal,authorization:(await this.token).value}).then((async e=>{const t=b(e.imageUrls);return{ckboxImageId:e.id,default:t.imageFallbackUrl,sources:t.imageSources}})).catch((()=>{const e=t("Cannot upload file:")+` ${n.name}.`;return Promise.reject(e)}))}abort(){this.controller.abort()}}const C="NoPermission";class O extends e.Plugin{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",E,A]}init(){const e=this.editor;this._shouldBeInitialised()&&(this._checkImagePlugins(),L()&&e.commands.add("ckbox",new _(e)),async function(e){const t=e.plugins.get(A),n=e.config.get("ckbox.serviceOrigin"),r=new URL("permissions",n),{value:o}=await t.getToken(),i=await v({url:r,authorization:o,signal:(new AbortController).signal});return Object.values(i).some((e=>e["asset:create"]))}(e).then((e=>{e||this._blockImageCommands()})))}afterInit(){const e=this.editor;this._shouldBeInitialised()&&(e.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()))}_shouldBeInitialised(){return!!this.editor.config.get("ckbox")||L()}_blockImageCommands(){const e=this.editor,t=e.commands.get("uploadImage"),n=e.commands.get("ckboxImageEdit");t&&(t.isAccessAllowed=!1,t.forceDisabled(C)),n&&n.forceDisabled(C)}_checkImagePlugins(){const e=this.editor;e.plugins.has("ImageBlockEditing")||e.plugins.has("ImageInlineEditing")||(0,a.logError)("ckbox-plugin-image-feature-missing",e)}_initSchema(){const e=this.editor.model.schema;e.extend("$text",{allowAttributes:"ckboxLinkId"}),e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),e.addAttributeCheck((e=>{if(!e.last.getAttribute("linkHref"))return!1}),"ckboxLinkId")}_initConversion(){const e=this.editor;e.conversion.for("downcast").add((e=>{e.on("attribute:ckboxLinkId:imageBlock",((e,t,n)=>{const{writer:r,mapper:o,consumable:i}=n;if(!i.consume(t.item,e.name))return;const a=[...o.toViewElement(t.item).getChildren()].find((e=>"a"===e.name));a&&(t.item.hasAttribute("ckboxLinkId")?r.setAttribute("data-ckbox-resource-id",t.item.getAttribute("ckboxLinkId"),a):r.removeAttribute("data-ckbox-resource-id",a))}),{priority:"low"}),e.on("attribute:ckboxLinkId",((e,t,n)=>{const{writer:r,mapper:o,consumable:i}=n;if(i.consume(t.item,e.name)){if(t.attributeOldValue){const e=B(r,t.attributeOldValue);r.unwrap(o.toViewRange(t.range),e)}if(t.attributeNewValue){const e=B(r,t.attributeNewValue);if(t.item.is("selection")){const t=r.document.selection;r.wrap(t.getFirstRange(),e)}else r.wrap(o.toViewRange(t.range),e)}}}),{priority:"low"})})),e.conversion.for("upcast").add((e=>{e.on("element:a",((e,t,n)=>{const{writer:r,consumable:o}=n;if(!t.viewItem.getAttribute("href"))return;if(!o.consume(t.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const i=t.viewItem.getAttribute("data-ckbox-resource-id");if(i)if(t.modelRange)for(let e of t.modelRange.getItems())e.is("$textProxy")&&(e=e.textNode),P(e)&&r.setAttribute("ckboxLinkId",i,e);else{const e=t.modelCursor.nodeBefore||t.modelCursor.parent;r.setAttribute("ckboxLinkId",i,e)}}),{priority:"low"})})),e.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),e.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:e=>e.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const t=e.commands.get("replaceImageSource");t&&this.listenTo(t,"cleanupImage",((e,[t,n])=>{t.removeAttribute("ckboxImageId",n)}))}_initFixers(){const e=this.editor,t=e.model,n=t.document.selection;t.document.registerPostFixer(function(e){return t=>{let n=!1;const r=e.model,o=e.commands.get("ckbox");if(!o)return n;for(const e of r.document.differ.getChanges()){if("insert"!==e.type&&"attribute"!==e.type)continue;const r="insert"===e.type?new i.Range(e.position,e.position.getShiftedBy(e.length)):e.range,a="attribute"===e.type&&"linkHref"===e.attributeKey&&null===e.attributeNewValue;for(const e of r.getItems()){if(a&&e.hasAttribute("ckboxLinkId")){t.removeAttribute("ckboxLinkId",e),n=!0;continue}const r=S(e,o._chosenAssets);for(const o of r){const r="image"===o.type?"ckboxImageId":"ckboxLinkId";o.id!==e.getAttribute(r)&&(t.setAttribute(r,o.id,e),n=!0)}}}return n}}(e)),t.document.registerPostFixer(function(e){return t=>!(e.hasAttribute("linkHref")||!e.hasAttribute("ckboxLinkId"))&&(t.removeSelectionAttribute("ckboxLinkId"),!0)}(n))}}function S(e,t){const n=e.is("element","imageInline")||e.is("element","imageBlock"),r=e.hasAttribute("linkHref");return[...t].filter((t=>"image"===t.type&&n?t.attributes.imageFallbackUrl===e.getAttribute("src"):"link"===t.type&&r?t.attributes.linkHref===e.getAttribute("linkHref"):void 0))}function B(e,t){const n=e.createAttributeElement("a",{"data-ckbox-resource-id":t},{priority:5});return e.setCustomProperty("link",!0,n),n}function P(e){return!!e.is("$text")||!(!e.is("element","imageInline")&&!e.is("element","imageBlock"))}function L(){return!!window.CKBox}class U extends e.Plugin{static get pluginName(){return"CKBox"}static get requires(){return[O,o]}}const T=function(){this.__data__=[],this.size=0};const F=function(e,t){return e===t||e!=e&&t!=t};const M=function(e,t){for(var n=e.length;n--;)if(F(e[n][0],t))return n;return-1};var z=Array.prototype.splice;const N=function(e){var t=this.__data__,n=M(t,e);return!(n<0)&&(n==t.length-1?t.pop():z.call(t,n,1),--this.size,!0)};const R=function(e){var t=this.__data__,n=M(t,e);return n<0?void 0:t[n][1]};const V=function(e){return M(this.__data__,e)>-1};const K=function(e,t){var n=this.__data__,r=M(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function D(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}D.prototype.clear=T,D.prototype.delete=N,D.prototype.get=R,D.prototype.has=V,D.prototype.set=K;const H=D;const $=function(){this.__data__=new H,this.size=0};const q=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const W=function(e){return this.__data__.get(e)};const Z=function(e){return this.__data__.has(e)};const Y="object"==typeof global&&global&&global.Object===Object&&global;var G="object"==typeof self&&self&&self.Object===Object&&self;const J=Y||G||Function("return this")();const X=J.Symbol;var Q=Object.prototype,ee=Q.hasOwnProperty,te=Q.toString,ne=X?X.toStringTag:void 0;const re=function(e){var t=ee.call(e,ne),n=e[ne];try{e[ne]=void 0;var r=!0}catch(e){}var o=te.call(e);return r&&(t?e[ne]=n:delete e[ne]),o};var oe=Object.prototype.toString;const ie=function(e){return oe.call(e)};var ae=X?X.toStringTag:void 0;const se=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ae&&ae in Object(e)?re(e):ie(e)};const ce=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const le=function(e){if(!ce(e))return!1;var t=se(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const ue=J["__core-js_shared__"];var de,ge=(de=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||""))?"Symbol(src)_1."+de:"";const he=function(e){return!!ge&&ge in e};var pe=Function.prototype.toString;const me=function(e){if(null!=e){try{return pe.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var fe=/^\[object .+?Constructor\]$/,be=Function.prototype,ve=Object.prototype,we=be.toString,_e=ve.hasOwnProperty,ye=RegExp("^"+we.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ke=function(e){return!(!ce(e)||he(e))&&(le(e)?ye:fe).test(me(e))};const xe=function(e,t){return null==e?void 0:e[t]};const Ie=function(e,t){var n=xe(e,t);return ke(n)?n:void 0};const Ae=Ie(J,"Map");const Ee=Ie(Object,"create");const je=function(){this.__data__=Ee?Ee(null):{},this.size=0};const Ce=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Oe=Object.prototype.hasOwnProperty;const Se=function(e){var t=this.__data__;if(Ee){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Oe.call(t,e)?t[e]:void 0};var Be=Object.prototype.hasOwnProperty;const Pe=function(e){var t=this.__data__;return Ee?void 0!==t[e]:Be.call(t,e)};const Le=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ee&&void 0===t?"__lodash_hash_undefined__":t,this};function Ue(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ue.prototype.clear=je,Ue.prototype.delete=Ce,Ue.prototype.get=Se,Ue.prototype.has=Pe,Ue.prototype.set=Le;const Te=Ue;const Fe=function(){this.size=0,this.__data__={hash:new Te,map:new(Ae||H),string:new Te}};const Me=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const ze=function(e,t){var n=e.__data__;return Me(t)?n["string"==typeof t?"string":"hash"]:n.map};const Ne=function(e){var t=ze(this,e).delete(e);return this.size-=t?1:0,t};const Re=function(e){return ze(this,e).get(e)};const Ve=function(e){return ze(this,e).has(e)};const Ke=function(e,t){var n=ze(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function De(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}De.prototype.clear=Fe,De.prototype.delete=Ne,De.prototype.get=Re,De.prototype.has=Ve,De.prototype.set=Ke;const He=De;const $e=function(e,t){var n=this.__data__;if(n instanceof H){var r=n.__data__;if(!Ae||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new He(r)}return n.set(e,t),this.size=n.size,this};function qe(e){var t=this.__data__=new H(e);this.size=t.size}qe.prototype.clear=$,qe.prototype.delete=q,qe.prototype.get=W,qe.prototype.has=Z,qe.prototype.set=$e;const We=qe;const Ze=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const Ye=function(e){return this.__data__.has(e)};function Ge(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new He;++t<n;)this.add(e[t])}Ge.prototype.add=Ge.prototype.push=Ze,Ge.prototype.has=Ye;const Je=Ge;const Xe=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};const Qe=function(e,t){return e.has(t)};const et=function(e,t,n,r,o,i){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;var d=-1,g=!0,h=2&n?new Je:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],m=t[d];if(r)var f=a?r(m,p,d,t,e,i):r(p,m,d,e,t,i);if(void 0!==f){if(f)continue;g=!1;break}if(h){if(!Xe(t,(function(e,t){if(!Qe(h,t)&&(p===e||o(p,e,n,r,i)))return h.push(t)}))){g=!1;break}}else if(p!==m&&!o(p,m,n,r,i)){g=!1;break}}return i.delete(e),i.delete(t),g};const tt=J.Uint8Array;const nt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};const rt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var ot=X?X.prototype:void 0,it=ot?ot.valueOf:void 0;const at=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new tt(e),new tt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return F(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=nt;case"[object Set]":var c=1&r;if(s||(s=rt),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var u=et(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(it)return it.call(e)==it.call(t)}return!1};const st=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};const ct=Array.isArray;const lt=function(e,t,n){var r=t(e);return ct(e)?r:st(r,n(e))};const ut=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};const dt=function(){return[]};var gt=Object.prototype.propertyIsEnumerable,ht=Object.getOwnPropertySymbols;const pt=ht?function(e){return null==e?[]:(e=Object(e),ut(ht(e),(function(t){return gt.call(e,t)})))}:dt;const mt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};const ft=function(e){return null!=e&&"object"==typeof e};const bt=function(e){return ft(e)&&"[object Arguments]"==se(e)};var vt=Object.prototype,wt=vt.hasOwnProperty,_t=vt.propertyIsEnumerable;const yt=bt(function(){return arguments}())?bt:function(e){return ft(e)&&wt.call(e,"callee")&&!_t.call(e,"callee")};const kt=function(){return!1};var xt="object"==typeof exports&&exports&&!exports.nodeType&&exports,It=xt&&"object"==typeof module&&module&&!module.nodeType&&module,At=It&&It.exports===xt?J.Buffer:void 0;const Et=(At?At.isBuffer:void 0)||kt;var jt=/^(?:0|[1-9]\d*)$/;const Ct=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&jt.test(e))&&e>-1&&e%1==0&&e<t};const Ot=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var St={};St["[object Float32Array]"]=St["[object Float64Array]"]=St["[object Int8Array]"]=St["[object Int16Array]"]=St["[object Int32Array]"]=St["[object Uint8Array]"]=St["[object Uint8ClampedArray]"]=St["[object Uint16Array]"]=St["[object Uint32Array]"]=!0,St["[object Arguments]"]=St["[object Array]"]=St["[object ArrayBuffer]"]=St["[object Boolean]"]=St["[object DataView]"]=St["[object Date]"]=St["[object Error]"]=St["[object Function]"]=St["[object Map]"]=St["[object Number]"]=St["[object Object]"]=St["[object RegExp]"]=St["[object Set]"]=St["[object String]"]=St["[object WeakMap]"]=!1;const Bt=function(e){return ft(e)&&Ot(e.length)&&!!St[se(e)]};const Pt=function(e){return function(t){return e(t)}};var Lt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Lt&&"object"==typeof module&&module&&!module.nodeType&&module,Tt=Ut&&Ut.exports===Lt&&Y.process,Ft=function(){try{var e=Ut&&Ut.require&&Ut.require("util").types;return e||Tt&&Tt.binding&&Tt.binding("util")}catch(e){}}();var Mt=Ft&&Ft.isTypedArray;const zt=Mt?Pt(Mt):Bt;var Nt=Object.prototype.hasOwnProperty;const Rt=function(e,t){var n=ct(e),r=!n&&yt(e),o=!n&&!r&&Et(e),i=!n&&!r&&!o&&zt(e),a=n||r||o||i,s=a?mt(e.length,String):[],c=s.length;for(var l in e)!t&&!Nt.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Ct(l,c))||s.push(l);return s};var Vt=Object.prototype;const Kt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Vt)};const Dt=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object);var Ht=Object.prototype.hasOwnProperty;const $t=function(e){if(!Kt(e))return Dt(e);var t=[];for(var n in Object(e))Ht.call(e,n)&&"constructor"!=n&&t.push(n);return t};const qt=function(e){return null!=e&&Ot(e.length)&&!le(e)};const Wt=function(e){return qt(e)?Rt(e):$t(e)};const Zt=function(e){return lt(e,Wt,pt)};var Yt=Object.prototype.hasOwnProperty;const Gt=function(e,t,n,r,o,i){var a=1&n,s=Zt(e),c=s.length;if(c!=Zt(t).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in t:Yt.call(t,u)))return!1}var d=i.get(e),g=i.get(t);if(d&&g)return d==t&&g==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=a;++l<c;){var m=e[u=s[l]],f=t[u];if(r)var b=a?r(f,m,u,t,e,i):r(m,f,u,e,t,i);if(!(void 0===b?m===f||o(m,f,n,r,i):b)){h=!1;break}p||(p="constructor"==u)}if(h&&!p){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(h=!1)}return i.delete(e),i.delete(t),h};const Jt=Ie(J,"DataView");const Xt=Ie(J,"Promise");const Qt=Ie(J,"Set");const en=Ie(J,"WeakMap");var tn="[object Map]",nn="[object Promise]",rn="[object Set]",on="[object WeakMap]",an="[object DataView]",sn=me(Jt),cn=me(Ae),ln=me(Xt),un=me(Qt),dn=me(en),gn=se;(Jt&&gn(new Jt(new ArrayBuffer(1)))!=an||Ae&&gn(new Ae)!=tn||Xt&&gn(Xt.resolve())!=nn||Qt&&gn(new Qt)!=rn||en&&gn(new en)!=on)&&(gn=function(e){var t=se(e),n="[object Object]"==t?e.constructor:void 0,r=n?me(n):"";if(r)switch(r){case sn:return an;case cn:return tn;case ln:return nn;case un:return rn;case dn:return on}return t});const hn=gn;var pn="[object Arguments]",mn="[object Array]",fn="[object Object]",bn=Object.prototype.hasOwnProperty;const vn=function(e,t,n,r,o,i){var a=ct(e),s=ct(t),c=a?mn:hn(e),l=s?mn:hn(t),u=(c=c==pn?fn:c)==fn,d=(l=l==pn?fn:l)==fn,g=c==l;if(g&&Et(e)){if(!Et(t))return!1;a=!0,u=!1}if(g&&!u)return i||(i=new We),a||zt(e)?et(e,t,n,r,o,i):at(e,t,c,n,r,o,i);if(!(1&n)){var h=u&&bn.call(e,"__wrapped__"),p=d&&bn.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,f=p?t.value():t;return i||(i=new We),o(m,f,n,r,i)}}return!!g&&(i||(i=new We),Gt(e,t,n,r,o,i))};const wn=function e(t,n,r,o,i){return t===n||(null==t||null==n||!ft(t)&&!ft(n)?t!=t&&n!=n:vn(t,n,r,o,e,i))};const _n=function(e,t){return wn(e,t)};function yn(e){if(Array.isArray(e)){const t=e.map(yn);return e=>t.some((t=>t(e)))}if("origin"==e){const e=a.global.window.location.origin;return t=>new URL(t,a.global.document.baseURI).origin==e}if("function"==typeof e)return e;if(e instanceof RegExp)return t=>!(!t.match(e)&&!t.replace(/^https?:\/\//,"").match(e));return()=>!1}class kn extends e.Command{constructor(e){super(e),this._wrapper=null,this._processInProgress=new Set,this._updateUiDelayed=(0,a.delay)((()=>this.editor.ui.update()),0),this.value=!1,this._canEdit=function(e){const t=yn(e);return e=>!(!e.is("element","imageInline")&&!e.is("element","imageBlock"))&&(!!e.hasAttribute("ckboxImageId")||!!e.hasAttribute("src")&&t(e.getAttribute("src")))}(e.config.get("ckbox.allowExternalImagesEditing")),this._prepareOptions=(0,a.abortableDebounce)(((e,t)=>this._prepareOptionsAbortable(e,t))),this._prepareListeners()}refresh(){const e=this.editor;this.value=this._getValue();const t=e.model.document.selection.getSelectedElement();this.isEnabled=!!t&&this._canEdit(t)&&!this._checkIfElementIsBeingProcessed(t)}execute(){if(this._getValue())return;const e=(0,a.createElement)(document,"div",{class:"ck ckbox-wrapper"});this._wrapper=e,this.value=!0,document.body.appendChild(this._wrapper);const n={element:this.editor.model.document.selection.getSelectedElement(),controller:new AbortController};this._prepareOptions(n).then((t=>window.CKBox.mountImageEditor(e,t)),(e=>{const n=this.editor,r=n.t;n.plugins.get(t.Notification).showWarning(r("Failed to determine category of edited image."),{namespace:"ckbox"}),console.error(e),this._handleImageEditorClose()}))}destroy(){this._handleImageEditorClose(),this._prepareOptions.abort(),this._updateUiDelayed.cancel();for(const e of this._processInProgress.values())e.controller.abort();super.destroy()}_getValue(){return null!==this._wrapper}async _prepareOptionsAbortable(e,t){const n=this.editor,r=n.config.get("ckbox"),o=n.plugins.get(A),{element:i}=t;let a;const s=i.getAttribute("ckboxImageId");if(s)a={assetId:s};else{const t=new URL(i.getAttribute("src"),document.baseURI).href;a={imageUrl:t,uploadCategoryId:await o.getCategoryIdForFile(t,{signal:e})}}return{...a,imageEditing:{allowOverwrite:!1},tokenUrl:r.tokenUrl,...r.serviceOrigin&&{serviceOrigin:r.serviceOrigin},onClose:()=>this._handleImageEditorClose(),onSave:e=>this._handleImageEditorSave(t,e)}}_prepareListeners(){this.listenTo(this.editor.model.document,"change:data",(()=>{this._getProcessingStatesOfDeletedImages().forEach((e=>{e.controller.abort()}))}))}_getProcessingStatesOfDeletedImages(){const e=[];for(const t of this._processInProgress.values())"$graveyard"==t.element.root.rootName&&e.push(t);return e}_checkIfElementIsBeingProcessed(e){for(const{element:t}of this._processInProgress)if(_n(t,e))return!0;return!1}_handleImageEditorClose(){this._wrapper&&(this._wrapper.remove(),this._wrapper=null,this.editor.editing.view.focus(),this._updateUiDelayed(),this.refresh())}_handleImageEditorSave(n,r){const o=this.editor.locale.t,i=this.editor.plugins.get(t.Notification),s=this.editor.plugins.get(e.PendingActions),c=s.add(o("Processing the edited image."));this._processInProgress.add(n),this._showImageProcessingIndicator(n.element,r),this.refresh(),this._waitForAssetProcessed(r.data.id,n.controller.signal).then((e=>{this._replaceImage(n.element,e)}),(e=>{this.editor.editing.reconvertItem(n.element),n.controller.signal.aborted||(!e||e instanceof a.CKEditorError?i.showWarning(o("Server failed to process the image."),{namespace:"ckbox"}):console.error(e))})).finally((()=>{this._processInProgress.delete(n),s.remove(c),this.refresh()}))}async _getAssetStatusFromServer(e,t){const n=this.editor.plugins.get(A),r=new URL("assets/"+e,this.editor.config.get("ckbox.serviceOrigin")),o=await v({url:r,signal:t,authorization:(await n.getToken()).value}),i=o.metadata.metadataProcessingStatus;if(!i||"queued"==i)throw new a.CKEditorError("ckbox-image-not-processed");return{data:{...o}}}async _waitForAssetProcessed(e,t){const n=await(0,a.retry)((()=>this._getAssetStatusFromServer(e,t)),{signal:t,maxAttempts:5});if("success"!=n.data.metadata.metadataProcessingStatus)throw new a.CKEditorError("ckbox-image-processing-failed");return n}_showImageProcessingIndicator(e,t){const n=this.editor;n.editing.view.change((r=>{const o=n.editing.mapper.toViewElement(e),i=this.editor.plugins.get("ImageUtils").findViewImgElement(o);r.removeStyle("aspect-ratio",i),r.setAttribute("width",t.data.metadata.width,i),r.setAttribute("height",t.data.metadata.height,i),r.setStyle("width",`${t.data.metadata.width}px`,i),r.setStyle("height",`${t.data.metadata.height}px`,i),r.addClass("image-processing",o)}))}_replaceImage(e,t){const n=this.editor,{imageFallbackUrl:r,imageSources:o,imageWidth:i,imageHeight:a,imagePlaceholder:s}=y(t),c=Array.from(n.model.document.selection.getRanges());n.model.change((l=>{l.setSelection(e,"on"),n.execute("insertImage",{source:{src:r,sources:o,width:i,height:a,...s?{placeholder:s}:null,...e.hasAttribute("alt")?{alt:e.getAttribute("alt")}:null}});const u=e.getChildren();e=n.model.document.selection.getSelectedElement();for(const t of u)l.append(l.cloneElement(t),e);l.setAttribute("ckboxImageId",t.data.id,e),l.setSelection(c)}))}}class xn extends e.Plugin{static get pluginName(){return"CKBoxImageEditEditing"}static get requires(){return[O,A,e.PendingActions,t.Notification,"ImageUtils","ImageEditing"]}init(){const{editor:e}=this;e.commands.add("ckboxImageEdit",new kn(e))}}class In extends e.Plugin{static get pluginName(){return"CKBoxImageEditUI"}init(){const e=this.editor;e.ui.componentFactory.add("ckboxImageEdit",(n=>{const r=e.commands.get("ckboxImageEdit"),o=e.commands.get("uploadImage"),i=new t.ButtonView(n),a=n.t;return i.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037H5.06l5.058-5.078L6.617 9.15a.696.696 0 0 0-.957-.033L1.5 13.6V2.5h15v4.354a3.478 3.478 0 0 1 1.5.049V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.147 2.147 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.642-3.11 2.129 2.129 0 0 0-1.873-.978ZM8.089 17.635v2.388h2.389l7.046-7.046-2.39-2.39-7.045 7.048Zm11.282-6.507a.637.637 0 0 0 .139-.692.603.603 0 0 0-.139-.205l-1.49-1.488a.63.63 0 0 0-.899 0l-1.166 1.163 2.39 2.39 1.165-1.168Z"/></svg>',tooltip:!0}),i.bind("label").to(o,"isAccessAllowed",(e=>a(e?"Edit image":"You have no image editing permissions."))),i.bind("isOn").to(r,"value",r,"isEnabled",((e,t)=>e&&t)),i.bind("isEnabled").to(r),this.listenTo(i,"execute",(()=>{e.execute("ckboxImageEdit"),e.editing.view.focus()})),i}))}}var An=n(591),En=n.n(An),jn=n(957),Cn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};En()(jn.A,Cn);jn.A.locals;class On extends e.Plugin{static get pluginName(){return"CKBoxImageEdit"}static get requires(){return[xn,In]}}})(),(window.CKEditor5=window.CKEditor5||{}).ckbox=r})(); \ No newline at end of file + */(()=>{var e={957:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(758),o=r.n(n),i=r(935),s=r.n(i)()(o());s.push([e.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',""]);const a=s},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},s=[],a=0;a<e.length;a++){var c=e[a],l=n.base?c[0]+n.base:c[0],u=i[l]||0,d="".concat(l," ").concat(u);i[l]=u+1;var g=r(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)t[g].references++,t[g].updater(h);else{var p=o(h,n);n.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function o(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var i=n(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var a=r(i[s]);t[a].references--}for(var c=n(e,o),l=0;l<i.length;l++){var u=r(i[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=c}}},128:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}},639:e=>{"use strict";var t,r=(t=[],function(e,r){return t[e]=r,t.filter(Boolean).join("\n")});function n(e,t,n,o){var i;if(n)i="";else{i="",o.supports&&(i+="@supports (".concat(o.supports,") {")),o.media&&(i+="@media ".concat(o.media," {"));var s=void 0!==o.layer;s&&(i+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),i+=o.css,s&&(i+="}"),o.media&&(i+="}"),o.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=r(t,i);else{var a=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,r=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){n(r,t,!1,e)},remove:function(e){n(r,t,!0,e)}}}},782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},783:(e,t,r)=>{e.exports=r(237)("./src/engine.js")},311:(e,t,r)=>{e.exports=r(237)("./src/ui.js")},260:(e,t,r)=>{e.exports=r(237)("./src/upload.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{CKBox:()=>U,CKBoxEditing:()=>O,CKBoxImageEdit:()=>Tr,CKBoxImageEditEditing:()=>kr,CKBoxImageEditUI:()=>xr,CKBoxUI:()=>o});var e=r(782),t=r(311);class o extends e.Plugin{static get pluginName(){return"CKBoxUI"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor;e.commands.get("ckbox")&&(e.ui.componentFactory.add("ckbox",(()=>this._createFileToolbarButton())),e.ui.componentFactory.add("menuBar:ckbox",(()=>this._createFileMenuBarButton())),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"assetManager",observable:()=>e.commands.get("ckbox"),buttonViewCreator:()=>this._createImageToolbarButton(),formViewCreator:()=>this._createImageDropdownButton(),menuBarButtonViewCreator:e=>this._createImageMenuBarButton(e?"insertOnly":"insertNested")}))}_createButton(e){const t=this.editor,r=new e(t.locale),n=t.commands.get("ckbox");return r.bind("isOn","isEnabled").to(n,"value","isEnabled"),r.on("execute",(()=>{t.execute("ckbox")})),r}_createFileToolbarButton(){const r=this.editor.locale.t,n=this._createButton(t.ButtonView);return n.icon=e.icons.browseFiles,n.label=r("Open file manager"),n.tooltip=!0,n}_createImageToolbarButton(){const r=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),o=this._createButton(t.ButtonView);return o.icon=e.icons.imageAssetManager,o.bind("label").to(n,"isImageSelected",(e=>r(e?"Replace image with file manager":"Insert image with file manager"))),o.tooltip=!0,o}_createImageDropdownButton(){const r=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),o=this._createButton(t.ButtonView);return o.icon=e.icons.imageAssetManager,o.withText=!0,o.bind("label").to(n,"isImageSelected",(e=>r(e?"Replace with file manager":"Insert with file manager"))),o.on("execute",(()=>{n.dropdownView.isOpen=!1})),o}_createFileMenuBarButton(){const r=this.editor.locale.t,n=this._createButton(t.MenuBarMenuListItemButtonView);return n.icon=e.icons.browseFiles,n.withText=!0,n.label=r("File"),n}_createImageMenuBarButton(r){const n=this.editor.locale.t,o=this.editor.locale.t,i=this._createButton(t.MenuBarMenuListItemButtonView);switch(i.icon=e.icons.imageAssetManager,i.withText=!0,r){case"insertOnly":i.label=n("Image");break;case"insertNested":i.label=o("With file manager")}return i}}var i=r(783),s=r(584),a=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],c=e=>{let t=0;for(let r=0;r<e.length;r++){let n=e[r];t=83*t+a.indexOf(n)}return t},l=e=>{let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},u=e=>{let t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(12.92*t*255+.5):Math.trunc(255*(1.055*Math.pow(t,.4166666666666667)-.055)+.5)},d=(e,t)=>(e=>e<0?-1:1)(e)*Math.pow(Math.abs(e),t),g=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},h=e=>{if(!e||e.length<6)throw new g("The blurhash string must be at least 6 characters");let t=c(e[0]),r=Math.floor(t/9)+1,n=t%9+1;if(e.length!==4+2*n*r)throw new g(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*n*r}`)},p=e=>{let t=e>>8&255,r=255&e;return[l(e>>16),l(t),l(r)]},m=(e,t)=>{let r=Math.floor(e/361),n=Math.floor(e/19)%19,o=e%19;return[d((r-9)/9,2)*t,d((n-9)/9,2)*t,d((o-9)/9,2)*t]},f=(e,t,r,n)=>{h(e),n|=1;let o=c(e[0]),i=Math.floor(o/9)+1,s=o%9+1,a=(c(e[1])+1)/166,l=new Array(s*i);for(let t=0;t<l.length;t++)if(0===t){let r=c(e.substring(2,6));l[t]=p(r)}else{let r=c(e.substring(4+2*t,6+2*t));l[t]=m(r,a*n)}let d=4*t,g=new Uint8ClampedArray(d*r);for(let e=0;e<r;e++)for(let n=0;n<t;n++){let o=0,a=0,c=0;for(let u=0;u<i;u++)for(let i=0;i<s;i++){let d=Math.cos(Math.PI*n*i/t)*Math.cos(Math.PI*e*u/r),g=l[i+u*s];o+=g[0]*d,a+=g[1]*d,c+=g[2]*d}let h=u(o),p=u(a),m=u(c);g[4*n+0+e*d]=h,g[4*n+1+e*d]=p,g[4*n+2+e*d]=m,g[4*n+3+e*d]=255}return g};function b(e){const t=[];let r=0;for(const n in e){const o=parseInt(n,10);isNaN(o)||(o>r&&(r=o),t.push(`${e[n]} ${n}w`))}const n=[{srcset:t.join(","),sizes:`(max-width: ${r}px) 100vw, ${r}px`,type:"image/webp"}];return{imageFallbackUrl:e.default,imageSources:n}}function v({url:e,method:t="GET",data:r,onUploadProgress:n,signal:o,authorization:i}){const s=new XMLHttpRequest;s.open(t,e.toString()),s.setRequestHeader("Authorization",i),s.setRequestHeader("CKBox-Version","CKEditor 5"),s.responseType="json";const a=()=>{s.abort()};return new Promise(((e,t)=>{o.throwIfAborted(),o.addEventListener("abort",a),s.addEventListener("loadstart",(()=>{o.addEventListener("abort",a)})),s.addEventListener("loadend",(()=>{o.removeEventListener("abort",a)})),s.addEventListener("error",(()=>{t()})),s.addEventListener("abort",(()=>{t()})),s.addEventListener("load",(()=>{const r=s.response;if(!r||r.statusCode>=400)return t(r&&r.message);e(r)})),n&&s.upload.addEventListener("progress",(e=>{n(e)})),s.send(r)}))}const w={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};class _ extends e.Command{constructor(e){super(e),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const e=this.editor.commands.get("insertImage"),t=this.editor.commands.get("link");return!(!e.isEnabled&&!t.isEnabled)}_prepareOptions(){const e=this.editor.config.get("ckbox"),t=e.dialog,r=e.categories,n=e.view,o=e.upload;return{theme:e.theme,language:e.language,tokenUrl:e.tokenUrl,serviceOrigin:e.serviceOrigin,forceDemoLabel:e.forceDemoLabel,choosableFileExtensions:e.choosableFileExtensions,assets:{onChoose:e=>this.fire("ckbox:choose",e)},dialog:{onClose:()=>this.fire("ckbox:close"),width:t&&t.width,height:t&&t.height},categories:r&&{icons:r.icons},view:n&&{openLastView:n.openLastView,startupFolderId:n.startupFolderId,startupCategoryId:n.startupCategoryId,hideMaximizeButton:n.hideMaximizeButton},upload:o&&{componentsHideTimeout:o.componentsHideTimeout,dialogMinimizeTimeout:o.dialogMinimizeTimeout}}}_initListeners(){const e=this.editor,t=e.model,r=!e.config.get("ckbox.ignoreDataId");this.on("ckbox",(()=>{this.refresh()}),{priority:"low"}),this.on("ckbox:open",(()=>{this.isEnabled&&!this.value&&(this._wrapper=(0,s.createElement)(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))})),this.on("ckbox:close",(()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,e.editing.view.focus())})),this.on("ckbox:choose",((n,o)=>{if(!this.isEnabled)return;const i=e.commands.get("insertImage"),s=e.commands.get("link"),a=function({assets:e,isImageAllowed:t,isLinkAllowed:r}){return e.map((e=>function(e){const t=e.data.metadata;if(!t)return!1;return t.width&&t.height}(e)?{id:e.data.id,type:"image",attributes:y(e)}:{id:e.data.id,type:"link",attributes:k(e)})).filter((e=>"image"===e.type?t:r))}({assets:o,isImageAllowed:i.isEnabled,isLinkAllowed:s.isEnabled}),c=a.length;0!==c&&(t.change((e=>{for(const t of a){const n=t===a[c-1],o=1===c;this._insertAsset(t,n,e,o),r&&(setTimeout((()=>this._chosenAssets.delete(t)),1e3),this._chosenAssets.add(t))}})),e.editing.view.focus())})),this.listenTo(e,"destroy",(()=>{this.fire("ckbox:close"),this._chosenAssets.clear()}))}_insertAsset(e,t,r,n){const o=this.editor.model.document.selection;r.removeSelectionAttribute("linkHref"),"image"===e.type?this._insertImage(e):this._insertLink(e,r,n),t||r.setSelection(o.getLastPosition())}_insertImage(e){const t=this.editor,{imageFallbackUrl:r,imageSources:n,imageTextAlternative:o,imageWidth:i,imageHeight:s,imagePlaceholder:a}=e.attributes;t.execute("insertImage",{source:{src:r,sources:n,alt:o,width:i,height:s,...a?{placeholder:a}:null}})}_insertLink(e,t,r){const n=this.editor,o=n.model,i=o.document.selection,{linkName:a,linkHref:c}=e.attributes;if(i.isCollapsed){const e=(0,s.toMap)(i.getAttributes()),l=t.createText(a,e);if(!r){const e=i.getLastPosition(),r=e.parent;"paragraph"===r.name&&r.isEmpty||n.execute("insertParagraph",{position:e});const s=o.insertContent(l);return t.setSelection(s),void n.execute("link",c)}const u=o.insertContent(l);t.setSelection(u)}n.execute("link",c)}}function y(e){const{imageFallbackUrl:t,imageSources:r}=b(e.data.imageUrls),{description:n,width:o,height:i,blurHash:s}=e.data.metadata,a=function(e){if(e)try{const t="32px",r=document.createElement("canvas");r.setAttribute("width",t),r.setAttribute("height",t);const n=r.getContext("2d");if(!n)return;const o=n.createImageData(32,32),i=f(e,32,32);return o.data.set(i),n.putImageData(o,0,0),r.toDataURL()}catch(e){return}}(s);return{imageFallbackUrl:t,imageSources:r,imageTextAlternative:n||"",imageWidth:o,imageHeight:i,...a?{imagePlaceholder:a}:null}}function k(e){return{linkName:e.data.name,linkHref:x(e)}}function x(e){const t=new URL(e.data.url);return t.searchParams.set("download","true"),t.toString()}var I=r(260);class A extends e.Plugin{static get pluginName(){return"CKBoxUtils"}static get isOfficialPlugin(){return!0}static get requires(){return["CloudServices"]}init(){const e=this.editor,t=!!e.config.get("ckbox"),r=!!window.CKBox;if(!t&&!r)return;e.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:e.locale.uiLanguage,theme:"lark",tokenUrl:e.config.get("cloudServices.tokenUrl")});const n=e.plugins.get("CloudServices"),o=e.config.get("cloudServices.tokenUrl"),i=e.config.get("ckbox.tokenUrl");if(!i)throw new s.CKEditorError("ckbox-plugin-missing-token-url",this);this._token=i==o?Promise.resolve(n.token):n.registerTokenUrl(i)}getToken(){return this._token}async getWorkspaceId(){const e=(0,this.editor.t)("Cannot access default workspace."),t=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),r=function(e,t){const[,r]=e.value.split("."),n=JSON.parse(atob(r)),o=n.auth&&n.auth.ckbox&&n.auth.ckbox.workspaces||[n.aud];return t?"superadmin"==(n.auth&&n.auth.ckbox&&n.auth.ckbox.role)||o.includes(t)?t:null:o[0]}(await this._token,t);if(null==r)throw(0,s.logError)("ckbox-access-default-workspace-error"),e;return r}async getCategoryIdForFile(e,t){const r=(0,this.editor.t)("Cannot determine a category for the uploaded file."),n=this.editor.config.get("ckbox.defaultUploadCategories"),o=this._getAvailableCategories(t),i="string"==typeof e?(s=await async function(e,t){try{const r=await fetch(e,{method:"HEAD",cache:"force-cache",...t});return r.ok&&r.headers.get("content-type")||""}catch{return""}}(e,t),w[s]):e.name.match(/\.(?<ext>[^.]+)$/).groups.ext.toLowerCase();var s;const a=await o;if(!a)throw r;if(n){const e=Object.keys(n).find((e=>n[e].find((e=>e.toLowerCase()==i))));if(e){const t=a.find((t=>t.id===e||t.name===e));if(!t)throw r;return t.id}}const c=a.find((e=>e.extensions.find((e=>e.toLowerCase()==i))));if(!c)throw r;return c.id}async _getAvailableCategories(e){const t=this.editor,r=this._token,{signal:n}=e,o=t.config.get("ckbox.serviceOrigin"),i=await this.getWorkspaceId();try{const e=[];let t,r=0;do{const n=await a(r);e.push(...n.items),t=n.totalCount-(r+50),r+=50}while(t>0);return e}catch{return n.throwIfAborted(),void(0,s.logError)("ckbox-fetch-category-http-error")}async function a(e){const t=new URL("categories",o);return t.searchParams.set("limit",String(50)),t.searchParams.set("offset",String(e)),t.searchParams.set("workspaceId",i),v({url:t,signal:n,authorization:(await r).value})}}}class E extends e.Plugin{static get requires(){return["ImageUploadEditing","ImageUploadProgress",I.FileRepository,O]}static get pluginName(){return"CKBoxUploadAdapter"}static get isOfficialPlugin(){return!0}async afterInit(){const e=this.editor,t=!!e.config.get("ckbox"),r=!!window.CKBox;if(!t&&!r)return;const n=e.plugins.get(I.FileRepository),o=e.plugins.get(A);n.createUploadAdapter=t=>new j(t,e,o);const i=!e.config.get("ckbox.ignoreDataId"),s=e.plugins.get("ImageUploadEditing");i&&s.on("uploadComplete",((t,{imageElement:r,data:n})=>{e.model.change((e=>{e.setAttribute("ckboxImageId",n.ckboxImageId,r)}))}))}}class j{constructor(e,t,r){this.loader=e,this.token=r.getToken(),this.ckboxUtils=r,this.editor=t,this.controller=new AbortController,this.serviceOrigin=t.config.get("ckbox.serviceOrigin")}async upload(){const e=this.ckboxUtils,t=this.editor.t,r=await this.loader.file,n=await e.getCategoryIdForFile(r,{signal:this.controller.signal}),o=new URL("assets",this.serviceOrigin),i=new FormData;o.searchParams.set("workspaceId",await e.getWorkspaceId()),i.append("categoryId",n),i.append("file",r);return v({method:"POST",url:o,data:i,onUploadProgress:e=>{e.lengthComputable&&(this.loader.uploadTotal=e.total,this.loader.uploaded=e.loaded)},signal:this.controller.signal,authorization:(await this.token).value}).then((async e=>{const t=b(e.imageUrls);return{ckboxImageId:e.id,default:t.imageFallbackUrl,sources:t.imageSources}})).catch((()=>{const e=t("Cannot upload file:")+` ${r.name}.`;return Promise.reject(e)}))}abort(){this.controller.abort()}}const C="NoPermission";class O extends e.Plugin{static get pluginName(){return"CKBoxEditing"}static get isOfficialPlugin(){return!0}static get requires(){return["LinkEditing","PictureEditing",E,A]}init(){const e=this.editor;this._shouldBeInitialised()&&(this._checkImagePlugins(),L()&&e.commands.add("ckbox",new _(e)),async function(e){const t=e.plugins.get(A),r=e.config.get("ckbox.serviceOrigin"),n=new URL("permissions",r),{value:o}=await t.getToken(),i=await v({url:n,authorization:o,signal:(new AbortController).signal});return Object.values(i).some((e=>e["asset:create"]))}(e).then((e=>{e||this._blockImageCommands()})))}afterInit(){const e=this.editor;this._shouldBeInitialised()&&(e.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()))}_shouldBeInitialised(){return!!this.editor.config.get("ckbox")||L()}_blockImageCommands(){const e=this.editor,t=e.commands.get("uploadImage"),r=e.commands.get("ckboxImageEdit");t&&(t.isAccessAllowed=!1,t.forceDisabled(C)),r&&r.forceDisabled(C)}_checkImagePlugins(){const e=this.editor;e.plugins.has("ImageBlockEditing")||e.plugins.has("ImageInlineEditing")||(0,s.logError)("ckbox-plugin-image-feature-missing",e)}_initSchema(){const e=this.editor.model.schema;e.extend("$text",{allowAttributes:"ckboxLinkId"}),e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),e.addAttributeCheck((e=>{if(!e.last.getAttribute("linkHref"))return!1}),"ckboxLinkId")}_initConversion(){const e=this.editor;e.conversion.for("downcast").add((e=>{e.on("attribute:ckboxLinkId:imageBlock",((e,t,r)=>{const{writer:n,mapper:o,consumable:i}=r;if(!i.consume(t.item,e.name))return;const s=[...o.toViewElement(t.item).getChildren()].find((e=>"a"===e.name));s&&(t.item.hasAttribute("ckboxLinkId")?n.setAttribute("data-ckbox-resource-id",t.item.getAttribute("ckboxLinkId"),s):n.removeAttribute("data-ckbox-resource-id",s))}),{priority:"low"}),e.on("attribute:ckboxLinkId",((e,t,r)=>{const{writer:n,mapper:o,consumable:i}=r;if(i.consume(t.item,e.name)){if(t.attributeOldValue){const e=S(n,t.attributeOldValue);n.unwrap(o.toViewRange(t.range),e)}if(t.attributeNewValue){const e=S(n,t.attributeNewValue);if(t.item.is("selection")){const t=n.document.selection;n.wrap(t.getFirstRange(),e)}else n.wrap(o.toViewRange(t.range),e)}}}),{priority:"low"})})),e.conversion.for("upcast").add((e=>{e.on("element:a",((e,t,r)=>{const{writer:n,consumable:o}=r;if(!t.viewItem.getAttribute("href"))return;if(!o.consume(t.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const i=t.viewItem.getAttribute("data-ckbox-resource-id");if(i)if(t.modelRange)for(let e of t.modelRange.getItems())e.is("$textProxy")&&(e=e.textNode),B(e)&&n.setAttribute("ckboxLinkId",i,e);else{const e=t.modelCursor.nodeBefore||t.modelCursor.parent;n.setAttribute("ckboxLinkId",i,e)}}),{priority:"low"})})),e.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),e.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:e=>e.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const t=e.commands.get("replaceImageSource");t&&this.listenTo(t,"cleanupImage",((e,[t,r])=>{t.removeAttribute("ckboxImageId",r)}))}_initFixers(){const e=this.editor,t=e.model,r=t.document.selection;t.document.registerPostFixer(function(e){return t=>{let r=!1;const n=e.model,o=e.commands.get("ckbox");if(!o)return r;for(const e of n.document.differ.getChanges()){if("insert"!==e.type&&"attribute"!==e.type)continue;const n="insert"===e.type?new i.Range(e.position,e.position.getShiftedBy(e.length)):e.range,s="attribute"===e.type&&"linkHref"===e.attributeKey&&null===e.attributeNewValue;for(const e of n.getItems()){if(s&&e.hasAttribute("ckboxLinkId")){t.removeAttribute("ckboxLinkId",e),r=!0;continue}const n=P(e,o._chosenAssets);for(const o of n){const n="image"===o.type?"ckboxImageId":"ckboxLinkId";o.id!==e.getAttribute(n)&&(t.setAttribute(n,o.id,e),r=!0)}}}return r}}(e)),t.document.registerPostFixer(function(e){return t=>!(e.hasAttribute("linkHref")||!e.hasAttribute("ckboxLinkId"))&&(t.removeSelectionAttribute("ckboxLinkId"),!0)}(r))}}function P(e,t){const r=e.is("element","imageInline")||e.is("element","imageBlock"),n=e.hasAttribute("linkHref");return[...t].filter((t=>"image"===t.type&&r?t.attributes.imageFallbackUrl===e.getAttribute("src"):"link"===t.type&&n?t.attributes.linkHref===e.getAttribute("linkHref"):void 0))}function S(e,t){const r=e.createAttributeElement("a",{"data-ckbox-resource-id":t},{priority:5});return e.setCustomProperty("link",!0,r),r}function B(e){return!!e.is("$text")||!(!e.is("element","imageInline")&&!e.is("element","imageBlock"))}function L(){return!!window.CKBox}class U extends e.Plugin{static get pluginName(){return"CKBox"}static get isOfficialPlugin(){return!0}static get requires(){return[O,o]}}const F=function(){this.__data__=[],this.size=0};const T=function(e,t){return e===t||e!=e&&t!=t};const M=function(e,t){for(var r=e.length;r--;)if(T(e[r][0],t))return r;return-1};var z=Array.prototype.splice;const R=function(e){var t=this.__data__,r=M(t,e);return!(r<0)&&(r==t.length-1?t.pop():z.call(t,r,1),--this.size,!0)};const V=function(e){var t=this.__data__,r=M(t,e);return r<0?void 0:t[r][1]};const N=function(e){return M(this.__data__,e)>-1};const K=function(e,t){var r=this.__data__,n=M(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function D(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}D.prototype.clear=F,D.prototype.delete=R,D.prototype.get=V,D.prototype.has=N,D.prototype.set=K;const H=D;const $=function(){this.__data__=new H,this.size=0};const q=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};const W=function(e){return this.__data__.get(e)};const Z=function(e){return this.__data__.has(e)};const Y="object"==typeof global&&global&&global.Object===Object&&global;var G="object"==typeof self&&self&&self.Object===Object&&self;const J=Y||G||Function("return this")();const X=J.Symbol;var Q=Object.prototype,ee=Q.hasOwnProperty,te=Q.toString,re=X?X.toStringTag:void 0;const ne=function(e){var t=ee.call(e,re),r=e[re];try{e[re]=void 0;var n=!0}catch(e){}var o=te.call(e);return n&&(t?e[re]=r:delete e[re]),o};var oe=Object.prototype.toString;const ie=function(e){return oe.call(e)};var se=X?X.toStringTag:void 0;const ae=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":se&&se in Object(e)?ne(e):ie(e)};const ce=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const le=function(e){if(!ce(e))return!1;var t=ae(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const ue=J["__core-js_shared__"];var de,ge=(de=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||""))?"Symbol(src)_1."+de:"";const he=function(e){return!!ge&&ge in e};var pe=Function.prototype.toString;const me=function(e){if(null!=e){try{return pe.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var fe=/^\[object .+?Constructor\]$/,be=Function.prototype,ve=Object.prototype,we=be.toString,_e=ve.hasOwnProperty,ye=RegExp("^"+we.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ke=function(e){return!(!ce(e)||he(e))&&(le(e)?ye:fe).test(me(e))};const xe=function(e,t){return null==e?void 0:e[t]};const Ie=function(e,t){var r=xe(e,t);return ke(r)?r:void 0};const Ae=Ie(J,"Map");const Ee=Ie(Object,"create");const je=function(){this.__data__=Ee?Ee(null):{},this.size=0};const Ce=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Oe=Object.prototype.hasOwnProperty;const Pe=function(e){var t=this.__data__;if(Ee){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Oe.call(t,e)?t[e]:void 0};var Se=Object.prototype.hasOwnProperty;const Be=function(e){var t=this.__data__;return Ee?void 0!==t[e]:Se.call(t,e)};const Le=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ee&&void 0===t?"__lodash_hash_undefined__":t,this};function Ue(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ue.prototype.clear=je,Ue.prototype.delete=Ce,Ue.prototype.get=Pe,Ue.prototype.has=Be,Ue.prototype.set=Le;const Fe=Ue;const Te=function(){this.size=0,this.__data__={hash:new Fe,map:new(Ae||H),string:new Fe}};const Me=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const ze=function(e,t){var r=e.__data__;return Me(t)?r["string"==typeof t?"string":"hash"]:r.map};const Re=function(e){var t=ze(this,e).delete(e);return this.size-=t?1:0,t};const Ve=function(e){return ze(this,e).get(e)};const Ne=function(e){return ze(this,e).has(e)};const Ke=function(e,t){var r=ze(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function De(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}De.prototype.clear=Te,De.prototype.delete=Re,De.prototype.get=Ve,De.prototype.has=Ne,De.prototype.set=Ke;const He=De;const $e=function(e,t){var r=this.__data__;if(r instanceof H){var n=r.__data__;if(!Ae||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new He(n)}return r.set(e,t),this.size=r.size,this};function qe(e){var t=this.__data__=new H(e);this.size=t.size}qe.prototype.clear=$,qe.prototype.delete=q,qe.prototype.get=W,qe.prototype.has=Z,qe.prototype.set=$e;const We=qe;const Ze=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const Ye=function(e){return this.__data__.has(e)};function Ge(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new He;++t<r;)this.add(e[t])}Ge.prototype.add=Ge.prototype.push=Ze,Ge.prototype.has=Ye;const Je=Ge;const Xe=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};const Qe=function(e,t){return e.has(t)};const et=function(e,t,r,n,o,i){var s=1&r,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;var d=-1,g=!0,h=2&r?new Je:void 0;for(i.set(e,t),i.set(t,e);++d<a;){var p=e[d],m=t[d];if(n)var f=s?n(m,p,d,t,e,i):n(p,m,d,e,t,i);if(void 0!==f){if(f)continue;g=!1;break}if(h){if(!Xe(t,(function(e,t){if(!Qe(h,t)&&(p===e||o(p,e,r,n,i)))return h.push(t)}))){g=!1;break}}else if(p!==m&&!o(p,m,r,n,i)){g=!1;break}}return i.delete(e),i.delete(t),g};const tt=J.Uint8Array;const rt=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};const nt=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r};var ot=X?X.prototype:void 0,it=ot?ot.valueOf:void 0;const st=function(e,t,r,n,o,i,s){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new tt(e),new tt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return T(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=rt;case"[object Set]":var c=1&n;if(a||(a=nt),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;n|=2,s.set(e,t);var u=et(a(e),a(t),n,o,i,s);return s.delete(e),u;case"[object Symbol]":if(it)return it.call(e)==it.call(t)}return!1};const at=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e};const ct=Array.isArray;const lt=function(e,t,r){var n=t(e);return ct(e)?n:at(n,r(e))};const ut=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i};const dt=function(){return[]};var gt=Object.prototype.propertyIsEnumerable,ht=Object.getOwnPropertySymbols;const pt=ht?function(e){return null==e?[]:(e=Object(e),ut(ht(e),(function(t){return gt.call(e,t)})))}:dt;const mt=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};const ft=function(e){return null!=e&&"object"==typeof e};const bt=function(e){return ft(e)&&"[object Arguments]"==ae(e)};var vt=Object.prototype,wt=vt.hasOwnProperty,_t=vt.propertyIsEnumerable;const yt=bt(function(){return arguments}())?bt:function(e){return ft(e)&&wt.call(e,"callee")&&!_t.call(e,"callee")};const kt=function(){return!1};var xt="object"==typeof exports&&exports&&!exports.nodeType&&exports,It=xt&&"object"==typeof module&&module&&!module.nodeType&&module,At=It&&It.exports===xt?J.Buffer:void 0;const Et=(At?At.isBuffer:void 0)||kt;var jt=/^(?:0|[1-9]\d*)$/;const Ct=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&jt.test(e))&&e>-1&&e%1==0&&e<t};const Ot=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const St=function(e){return ft(e)&&Ot(e.length)&&!!Pt[ae(e)]};const Bt=function(e){return function(t){return e(t)}};var Lt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Lt&&"object"==typeof module&&module&&!module.nodeType&&module,Ft=Ut&&Ut.exports===Lt&&Y.process,Tt=function(){try{var e=Ut&&Ut.require&&Ut.require("util").types;return e||Ft&&Ft.binding&&Ft.binding("util")}catch(e){}}();var Mt=Tt&&Tt.isTypedArray;const zt=Mt?Bt(Mt):St;var Rt=Object.prototype.hasOwnProperty;const Vt=function(e,t){var r=ct(e),n=!r&&yt(e),o=!r&&!n&&Et(e),i=!r&&!n&&!o&&zt(e),s=r||n||o||i,a=s?mt(e.length,String):[],c=a.length;for(var l in e)!t&&!Rt.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Ct(l,c))||a.push(l);return a};var Nt=Object.prototype;const Kt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Nt)};const Dt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object);var Ht=Object.prototype.hasOwnProperty;const $t=function(e){if(!Kt(e))return Dt(e);var t=[];for(var r in Object(e))Ht.call(e,r)&&"constructor"!=r&&t.push(r);return t};const qt=function(e){return null!=e&&Ot(e.length)&&!le(e)};const Wt=function(e){return qt(e)?Vt(e):$t(e)};const Zt=function(e){return lt(e,Wt,pt)};var Yt=Object.prototype.hasOwnProperty;const Gt=function(e,t,r,n,o,i){var s=1&r,a=Zt(e),c=a.length;if(c!=Zt(t).length&&!s)return!1;for(var l=c;l--;){var u=a[l];if(!(s?u in t:Yt.call(t,u)))return!1}var d=i.get(e),g=i.get(t);if(d&&g)return d==t&&g==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=s;++l<c;){var m=e[u=a[l]],f=t[u];if(n)var b=s?n(f,m,u,t,e,i):n(m,f,u,e,t,i);if(!(void 0===b?m===f||o(m,f,r,n,i):b)){h=!1;break}p||(p="constructor"==u)}if(h&&!p){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(h=!1)}return i.delete(e),i.delete(t),h};const Jt=Ie(J,"DataView");const Xt=Ie(J,"Promise");const Qt=Ie(J,"Set");const er=Ie(J,"WeakMap");var tr="[object Map]",rr="[object Promise]",nr="[object Set]",or="[object WeakMap]",ir="[object DataView]",sr=me(Jt),ar=me(Ae),cr=me(Xt),lr=me(Qt),ur=me(er),dr=ae;(Jt&&dr(new Jt(new ArrayBuffer(1)))!=ir||Ae&&dr(new Ae)!=tr||Xt&&dr(Xt.resolve())!=rr||Qt&&dr(new Qt)!=nr||er&&dr(new er)!=or)&&(dr=function(e){var t=ae(e),r="[object Object]"==t?e.constructor:void 0,n=r?me(r):"";if(n)switch(n){case sr:return ir;case ar:return tr;case cr:return rr;case lr:return nr;case ur:return or}return t});const gr=dr;var hr="[object Arguments]",pr="[object Array]",mr="[object Object]",fr=Object.prototype.hasOwnProperty;const br=function(e,t,r,n,o,i){var s=ct(e),a=ct(t),c=s?pr:gr(e),l=a?pr:gr(t),u=(c=c==hr?mr:c)==mr,d=(l=l==hr?mr:l)==mr,g=c==l;if(g&&Et(e)){if(!Et(t))return!1;s=!0,u=!1}if(g&&!u)return i||(i=new We),s||zt(e)?et(e,t,r,n,o,i):st(e,t,c,r,n,o,i);if(!(1&r)){var h=u&&fr.call(e,"__wrapped__"),p=d&&fr.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,f=p?t.value():t;return i||(i=new We),o(m,f,r,n,i)}}return!!g&&(i||(i=new We),Gt(e,t,r,n,o,i))};const vr=function e(t,r,n,o,i){return t===r||(null==t||null==r||!ft(t)&&!ft(r)?t!=t&&r!=r:br(t,r,n,o,e,i))};const wr=function(e,t){return vr(e,t)};function _r(e){if(Array.isArray(e)){const t=e.map(_r);return e=>t.some((t=>t(e)))}if("origin"==e){const e=s.global.window.location.origin;return t=>new URL(t,s.global.document.baseURI).origin==e}if("function"==typeof e)return e;if(e instanceof RegExp)return t=>!(!t.match(e)&&!t.replace(/^https?:\/\//,"").match(e));return()=>!1}class yr extends e.Command{constructor(e){super(e),this._wrapper=null,this._processInProgress=new Set,this._updateUiDelayed=(0,s.delay)((()=>this.editor.ui.update()),0),this.value=!1,this._canEdit=function(e){const t=_r(e);return e=>!(!e.is("element","imageInline")&&!e.is("element","imageBlock"))&&(!!e.hasAttribute("ckboxImageId")||!!e.hasAttribute("src")&&t(e.getAttribute("src")))}(e.config.get("ckbox.allowExternalImagesEditing")),this._prepareOptions=(0,s.abortableDebounce)(((e,t)=>this._prepareOptionsAbortable(e,t))),this._prepareListeners()}refresh(){const e=this.editor;this.value=this._getValue();const t=e.model.document.selection.getSelectedElement();this.isEnabled=!!t&&this._canEdit(t)&&!this._checkIfElementIsBeingProcessed(t)}execute(){if(this._getValue())return;const e=(0,s.createElement)(document,"div",{class:"ck ckbox-wrapper"});this._wrapper=e,this.value=!0,document.body.appendChild(this._wrapper);const r={element:this.editor.model.document.selection.getSelectedElement(),controller:new AbortController};this._prepareOptions(r).then((t=>window.CKBox.mountImageEditor(e,t)),(e=>{const r=this.editor,n=r.t;r.plugins.get(t.Notification).showWarning(n("Failed to determine category of edited image."),{namespace:"ckbox"}),console.error(e),this._handleImageEditorClose()}))}destroy(){this._handleImageEditorClose(),this._prepareOptions.abort(),this._updateUiDelayed.cancel();for(const e of this._processInProgress.values())e.controller.abort();super.destroy()}_getValue(){return null!==this._wrapper}async _prepareOptionsAbortable(e,t){const r=this.editor,n=r.config.get("ckbox"),o=r.plugins.get(A),{element:i}=t;let s;const a=i.getAttribute("ckboxImageId");if(a)s={assetId:a};else{const t=new URL(i.getAttribute("src"),document.baseURI).href;s={imageUrl:t,uploadCategoryId:await o.getCategoryIdForFile(t,{signal:e})}}return{...s,imageEditing:{allowOverwrite:!1},tokenUrl:n.tokenUrl,...n.serviceOrigin&&{serviceOrigin:n.serviceOrigin},onClose:()=>this._handleImageEditorClose(),onSave:e=>this._handleImageEditorSave(t,e)}}_prepareListeners(){this.listenTo(this.editor.model.document,"change:data",(()=>{this._getProcessingStatesOfDeletedImages().forEach((e=>{e.controller.abort()}))}))}_getProcessingStatesOfDeletedImages(){const e=[];for(const t of this._processInProgress.values())"$graveyard"==t.element.root.rootName&&e.push(t);return e}_checkIfElementIsBeingProcessed(e){for(const{element:t}of this._processInProgress)if(wr(t,e))return!0;return!1}_handleImageEditorClose(){this._wrapper&&(this._wrapper.remove(),this._wrapper=null,this.editor.editing.view.focus(),this._updateUiDelayed(),this.refresh())}_handleImageEditorSave(r,n){const o=this.editor.locale.t,i=this.editor.plugins.get(t.Notification),a=this.editor.plugins.get(e.PendingActions),c=a.add(o("Processing the edited image."));this._processInProgress.add(r),this._showImageProcessingIndicator(r.element,n),this.refresh(),this._waitForAssetProcessed(n.data.id,r.controller.signal).then((e=>{this._replaceImage(r.element,e)}),(e=>{this.editor.editing.reconvertItem(r.element),r.controller.signal.aborted||(!e||e instanceof s.CKEditorError?i.showWarning(o("Server failed to process the image."),{namespace:"ckbox"}):console.error(e))})).finally((()=>{this._processInProgress.delete(r),a.remove(c),this.refresh()}))}async _getAssetStatusFromServer(e,t){const r=this.editor.plugins.get(A),n=new URL("assets/"+e,this.editor.config.get("ckbox.serviceOrigin")),o=await v({url:n,signal:t,authorization:(await r.getToken()).value}),i=o.metadata.metadataProcessingStatus;if(!i||"queued"==i)throw new s.CKEditorError("ckbox-image-not-processed");return{data:{...o}}}async _waitForAssetProcessed(e,t){const r=await(0,s.retry)((()=>this._getAssetStatusFromServer(e,t)),{signal:t,maxAttempts:5});if("success"!=r.data.metadata.metadataProcessingStatus)throw new s.CKEditorError("ckbox-image-processing-failed");return r}_showImageProcessingIndicator(e,t){const r=this.editor;r.editing.view.change((n=>{const o=r.editing.mapper.toViewElement(e),i=this.editor.plugins.get("ImageUtils").findViewImgElement(o);n.removeStyle("aspect-ratio",i),n.setAttribute("width",t.data.metadata.width,i),n.setAttribute("height",t.data.metadata.height,i),n.setStyle("width",`${t.data.metadata.width}px`,i),n.setStyle("height",`${t.data.metadata.height}px`,i),n.addClass("image-processing",o)}))}_replaceImage(e,t){const r=this.editor,{imageFallbackUrl:n,imageSources:o,imageWidth:i,imageHeight:s,imagePlaceholder:a}=y(t),c=Array.from(r.model.document.selection.getRanges());r.model.change((l=>{l.setSelection(e,"on"),r.execute("insertImage",{imageType:e.is("element","imageInline")?"imageInline":null,source:{src:n,sources:o,width:i,height:s,...a?{placeholder:a}:null,...e.hasAttribute("alt")?{alt:e.getAttribute("alt")}:null}});const u=e.getChildren();e=r.model.document.selection.getSelectedElement();for(const t of u)l.append(l.cloneElement(t),e);l.setAttribute("ckboxImageId",t.data.id,e),l.setSelection(c)}))}}class kr extends e.Plugin{static get pluginName(){return"CKBoxImageEditEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[O,A,e.PendingActions,t.Notification,"ImageUtils","ImageEditing"]}init(){const{editor:e}=this;e.commands.add("ckboxImageEdit",new yr(e))}}class xr extends e.Plugin{static get pluginName(){return"CKBoxImageEditUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("ckboxImageEdit",(r=>{const n=e.commands.get("ckboxImageEdit"),o=e.commands.get("uploadImage"),i=new t.ButtonView(r),s=r.t;return i.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037H5.06l5.058-5.078L6.617 9.15a.696.696 0 0 0-.957-.033L1.5 13.6V2.5h15v4.354a3.478 3.478 0 0 1 1.5.049V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.147 2.147 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.642-3.11 2.129 2.129 0 0 0-1.873-.978ZM8.089 17.635v2.388h2.389l7.046-7.046-2.39-2.39-7.045 7.048Zm11.282-6.507a.637.637 0 0 0 .139-.692.603.603 0 0 0-.139-.205l-1.49-1.488a.63.63 0 0 0-.899 0l-1.166 1.163 2.39 2.39 1.165-1.168Z"/></svg>',tooltip:!0}),i.bind("label").to(o,"isAccessAllowed",(e=>s(e?"Edit image":"You have no image editing permissions."))),i.bind("isOn").to(n,"value",n,"isEnabled",((e,t)=>e&&t)),i.bind("isEnabled").to(n),this.listenTo(i,"execute",(()=>{e.execute("ckboxImageEdit"),e.editing.view.focus()})),i}))}}var Ir=r(591),Ar=r.n(Ir),Er=r(639),jr=r.n(Er),Cr=r(128),Or=r.n(Cr),Pr=r(21),Sr=r.n(Pr),Br=r(51),Lr=r.n(Br),Ur=r(957),Fr={attributes:{"data-cke":!0}};Fr.setAttributes=Sr(),Fr.insert=Or().bind(null,"head"),Fr.domAPI=jr(),Fr.insertStyleElement=Lr();Ar()(Ur.A,Fr);Ur.A&&Ur.A.locals&&Ur.A.locals;class Tr extends e.Plugin{static get pluginName(){return"CKBoxImageEdit"}static get isOfficialPlugin(){return!0}static get requires(){return[kr,xr]}}})(),(window.CKEditor5=window.CKEditor5||{}).ckbox=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js index e7397cbffe5b257e69665014f452d8ffac230cb6..fa4e51715a67efe402c9e0057e9cf009b5644e66 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js @@ -1,5 +1,5 @@ -!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(may require <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Accept",Accessibility:"Accessibility","Accessibility help":"Accessibility help",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Dim grey":"Dim grey","Drag to move":"Drag to move","Dropdown menu":"Dropdown menu","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor menu bar":"Editor menu bar","Editor toolbar":"Editor toolbar","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.",File:"File",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a soft break (a <code><br></code> element)":"Insert a soft break (a <code><br></code> element)","Insert image with file manager":"Insert image with file manager","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert with file manager":"Insert with file manager","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Help",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Tools",MENU_BAR_MENU_VIEW:"View","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus from an editable area back to the parent widget":"Move focus from an editable area back to the parent widget","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the menu bar, navigate between menu bars":"Move focus to the menu bar, navigate between menu bars","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Navigate through the toolbar or menu bar":"Navigate through the toolbar or menu bar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text",'Please enter a valid color (e.g. "ff0000").':'Please enter a valid color (e.g. "ff0000").',"Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Restore default":"Restore default","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Editing area: %0",Save:"Save","Select all":"Select all","Show more items":"Show more items","These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes",White:"White","Widget toolbar":"Widget toolbar","With file manager":"With file manager",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(may require <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Accept",Accessibility:"Accessibility","Accessibility help":"Accessibility help",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs","Color picker":"Color picker","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Dim grey":"Dim grey","Drag to move":"Drag to move","Dropdown menu":"Dropdown menu","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor menu bar":"Editor menu bar","Editor toolbar":"Editor toolbar","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.",File:"File",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a soft break (a <code><br></code> element)":"Insert a soft break (a <code><br></code> element)","Insert image with file manager":"Insert image with file manager","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert with file manager":"Insert with file manager","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Help",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Tools",MENU_BAR_MENU_VIEW:"View","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus from an editable area back to the parent widget":"Move focus from an editable area back to the parent widget","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the menu bar, navigate between menu bars":"Move focus to the menu bar, navigate between menu bars","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Navigate through the toolbar or menu bar":"Navigate through the toolbar or menu bar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange",Paragraph:"Paragraph","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text",'Please enter a valid color (e.g. "ff0000").':'Please enter a valid color (e.g. "ff0000").',"Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Restore default":"Restore default","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Editing area: %0",Save:"Save","Select all":"Select all","Show more items":"Show more items","These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes",White:"White","Widget toolbar":"Widget toolbar","With file manager":"With file manager",Yellow:"Yellow"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={"./node_modules/color-convert/conversions.js":(e,t,o)=>{const s=o("./node_modules/color-name/index.js"),i={};for(const e of Object.keys(s))i[s[e]]=e;const n={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=n;for(const e of Object.keys(n)){if(!("channels"in n[e]))throw new Error("missing channels property: "+e);if(!("labels"in n[e]))throw new Error("missing channel labels property: "+e);if(n[e].labels.length!==n[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:o}=n[e];delete n[e].channels,delete n[e].labels,Object.defineProperty(n[e],"channels",{value:t}),Object.defineProperty(n[e],"labels",{value:o})}n.rgb.hsl=function(e){const t=e[0]/255,o=e[1]/255,s=e[2]/255,i=Math.min(t,o,s),n=Math.max(t,o,s),r=n-i;let a,c;n===i?a=0:t===n?a=(o-s)/r:o===n?a=2+(s-t)/r:s===n&&(a=4+(t-o)/r),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+n)/2;return c=n===i?0:l<=.5?r/(n+i):r/(2-n-i),[a,100*c,100*l]},n.rgb.hsv=function(e){let t,o,s,i,n;const r=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(r,a,c),d=l-Math.min(r,a,c),h=function(e){return(l-e)/6/d+.5};return 0===d?(i=0,n=0):(n=d/l,t=h(r),o=h(a),s=h(c),r===l?i=s-o:a===l?i=1/3+t-s:c===l&&(i=2/3+o-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*n,100*l]},n.rgb.hwb=function(e){const t=e[0],o=e[1];let s=e[2];const i=n.rgb.hsl(e)[0],r=1/255*Math.min(t,Math.min(o,s));return s=1-1/255*Math.max(t,Math.max(o,s)),[i,100*r,100*s]},n.rgb.cmyk=function(e){const t=e[0]/255,o=e[1]/255,s=e[2]/255,i=Math.min(1-t,1-o,1-s);return[100*((1-t-i)/(1-i)||0),100*((1-o-i)/(1-i)||0),100*((1-s-i)/(1-i)||0),100*i]},n.rgb.keyword=function(e){const t=i[e];if(t)return t;let o,n=1/0;for(const t of Object.keys(s)){const i=s[t],c=(a=i,((r=e)[0]-a[0])**2+(r[1]-a[1])**2+(r[2]-a[2])**2);c<n&&(n=c,o=t)}var r,a;return o},n.keyword.rgb=function(e){return s[e]},n.rgb.xyz=function(e){let t=e[0]/255,o=e[1]/255,s=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;return[100*(.4124*t+.3576*o+.1805*s),100*(.2126*t+.7152*o+.0722*s),100*(.0193*t+.1192*o+.9505*s)]},n.rgb.lab=function(e){const t=n.rgb.xyz(e);let o=t[0],s=t[1],i=t[2];o/=95.047,s/=100,i/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*s-16,500*(o-s),200*(s-i)]},n.hsl.rgb=function(e){const t=e[0]/360,o=e[1]/100,s=e[2]/100;let i,n,r;if(0===o)return r=255*s,[r,r,r];i=s<.5?s*(1+o):s+o-s*o;const a=2*s-i,c=[0,0,0];for(let e=0;e<3;e++)n=t+1/3*-(e-1),n<0&&n++,n>1&&n--,r=6*n<1?a+6*(i-a)*n:2*n<1?i:3*n<2?a+(i-a)*(2/3-n)*6:a,c[e]=255*r;return c},n.hsl.hsv=function(e){const t=e[0];let o=e[1]/100,s=e[2]/100,i=o;const n=Math.max(s,.01);s*=2,o*=s<=1?s:2-s,i*=n<=1?n:2-n;return[t,100*(0===s?2*i/(n+i):2*o/(s+o)),100*((s+o)/2)]},n.hsv.rgb=function(e){const t=e[0]/60,o=e[1]/100;let s=e[2]/100;const i=Math.floor(t)%6,n=t-Math.floor(t),r=255*s*(1-o),a=255*s*(1-o*n),c=255*s*(1-o*(1-n));switch(s*=255,i){case 0:return[s,c,r];case 1:return[a,s,r];case 2:return[r,s,c];case 3:return[r,a,s];case 4:return[c,r,s];case 5:return[s,r,a]}},n.hsv.hsl=function(e){const t=e[0],o=e[1]/100,s=e[2]/100,i=Math.max(s,.01);let n,r;r=(2-o)*s;const a=(2-o)*i;return n=o*i,n/=a<=1?a:2-a,n=n||0,r/=2,[t,100*n,100*r]},n.hwb.rgb=function(e){const t=e[0]/360;let o=e[1]/100,s=e[2]/100;const i=o+s;let n;i>1&&(o/=i,s/=i);const r=Math.floor(6*t),a=1-s;n=6*t-r,1&r&&(n=1-n);const c=o+n*(a-o);let l,d,h;switch(r){default:case 6:case 0:l=a,d=c,h=o;break;case 1:l=c,d=a,h=o;break;case 2:l=o,d=a,h=c;break;case 3:l=o,d=c,h=a;break;case 4:l=c,d=o,h=a;break;case 5:l=a,d=o,h=c}return[255*l,255*d,255*h]},n.cmyk.rgb=function(e){const t=e[0]/100,o=e[1]/100,s=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i)),255*(1-Math.min(1,s*(1-i)+i))]},n.xyz.rgb=function(e){const t=e[0]/100,o=e[1]/100,s=e[2]/100;let i,n,r;return i=3.2406*t+-1.5372*o+-.4986*s,n=-.9689*t+1.8758*o+.0415*s,r=.0557*t+-.204*o+1.057*s,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,i=Math.min(Math.max(0,i),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*i,255*n,255*r]},n.xyz.lab=function(e){let t=e[0],o=e[1],s=e[2];t/=95.047,o/=100,s/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*o-16,500*(t-o),200*(o-s)]},n.lab.xyz=function(e){let t,o,s;o=(e[0]+16)/116,t=e[1]/500+o,s=o-e[2]/200;const i=o**3,n=t**3,r=s**3;return o=i>.008856?i:(o-16/116)/7.787,t=n>.008856?n:(t-16/116)/7.787,s=r>.008856?r:(s-16/116)/7.787,t*=95.047,o*=100,s*=108.883,[t,o,s]},n.lab.lch=function(e){const t=e[0],o=e[1],s=e[2];let i;i=360*Math.atan2(s,o)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(o*o+s*s),i]},n.lch.lab=function(e){const t=e[0],o=e[1],s=e[2]/360*2*Math.PI;return[t,o*Math.cos(s),o*Math.sin(s)]},n.rgb.ansi16=function(e,t=null){const[o,s,i]=e;let r=null===t?n.rgb.hsv(e)[2]:t;if(r=Math.round(r/50),0===r)return 30;let a=30+(Math.round(i/255)<<2|Math.round(s/255)<<1|Math.round(o/255));return 2===r&&(a+=60),a},n.hsv.ansi16=function(e){return n.rgb.ansi16(n.hsv.rgb(e),e[2])},n.rgb.ansi256=function(e){const t=e[0],o=e[1],s=e[2];if(t===o&&o===s)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(o/255*5)+Math.round(s/255*5)},n.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const o=.5*(1+~~(e>50));return[(1&t)*o*255,(t>>1&1)*o*255,(t>>2&1)*o*255]},n.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},n.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},n.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let o=t[0];3===t[0].length&&(o=o.split("").map((e=>e+e)).join(""));const s=parseInt(o,16);return[s>>16&255,s>>8&255,255&s]},n.rgb.hcg=function(e){const t=e[0]/255,o=e[1]/255,s=e[2]/255,i=Math.max(Math.max(t,o),s),n=Math.min(Math.min(t,o),s),r=i-n;let a,c;return a=r<1?n/(1-r):0,c=r<=0?0:i===t?(o-s)/r%6:i===o?2+(s-t)/r:4+(t-o)/r,c/=6,c%=1,[360*c,100*r,100*a]},n.hsl.hcg=function(e){const t=e[1]/100,o=e[2]/100,s=o<.5?2*t*o:2*t*(1-o);let i=0;return s<1&&(i=(o-.5*s)/(1-s)),[e[0],100*s,100*i]},n.hsv.hcg=function(e){const t=e[1]/100,o=e[2]/100,s=t*o;let i=0;return s<1&&(i=(o-s)/(1-s)),[e[0],100*s,100*i]},n.hcg.rgb=function(e){const t=e[0]/360,o=e[1]/100,s=e[2]/100;if(0===o)return[255*s,255*s,255*s];const i=[0,0,0],n=t%1*6,r=n%1,a=1-r;let c=0;switch(Math.floor(n)){case 0:i[0]=1,i[1]=r,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=r;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=r,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-o)*s,[255*(o*i[0]+c),255*(o*i[1]+c),255*(o*i[2]+c)]},n.hcg.hsv=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);let s=0;return o>0&&(s=t/o),[e[0],100*s,100*o]},n.hcg.hsl=function(e){const t=e[1]/100,o=e[2]/100*(1-t)+.5*t;let s=0;return o>0&&o<.5?s=t/(2*o):o>=.5&&o<1&&(s=t/(2*(1-o))),[e[0],100*s,100*o]},n.hcg.hwb=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);return[e[0],100*(o-t),100*(1-o)]},n.hwb.hcg=function(e){const t=e[1]/100,o=1-e[2]/100,s=o-t;let i=0;return s<1&&(i=(o-s)/(1-s)),[e[0],100*s,100*i]},n.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},n.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},n.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},n.gray.hsl=function(e){return[0,0,e[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(e){return[0,100,e[0]]},n.gray.cmyk=function(e){return[0,0,0,e[0]]},n.gray.lab=function(e){return[e[0],0,0]},n.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),o=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(o.length)+o},n.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},"./node_modules/color-convert/index.js":(e,t,o)=>{const s=o("./node_modules/color-convert/conversions.js"),i=o("./node_modules/color-convert/route.js"),n={};Object.keys(s).forEach((e=>{n[e]={},Object.defineProperty(n[e],"channels",{value:s[e].channels}),Object.defineProperty(n[e],"labels",{value:s[e].labels});const t=i(e);Object.keys(t).forEach((o=>{const s=t[o];n[e][o]=function(e){const t=function(...t){const o=t[0];if(null==o)return o;o.length>1&&(t=o);const s=e(t);if("object"==typeof s)for(let e=s.length,t=0;t<e;t++)s[t]=Math.round(s[t]);return s};return"conversion"in e&&(t.conversion=e.conversion),t}(s),n[e][o].raw=function(e){const t=function(...t){const o=t[0];return null==o?o:(o.length>1&&(t=o),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(s)}))})),e.exports=n},"./node_modules/color-convert/route.js":(e,t,o)=>{const s=o("./node_modules/color-convert/conversions.js");function i(e){const t=function(){const e={},t=Object.keys(s);for(let o=t.length,s=0;s<o;s++)e[t[s]]={distance:-1,parent:null};return e}(),o=[e];for(t[e].distance=0;o.length;){const e=o.pop(),i=Object.keys(s[e]);for(let s=i.length,n=0;n<s;n++){const s=i[n],r=t[s];-1===r.distance&&(r.distance=t[e].distance+1,r.parent=e,o.unshift(s))}}return t}function n(e,t){return function(o){return t(e(o))}}function r(e,t){const o=[t[e].parent,e];let i=s[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)o.unshift(t[r].parent),i=n(s[t[r].parent][r],i),r=t[r].parent;return i.conversion=o,i}e.exports=function(e){const t=i(e),o={},s=Object.keys(t);for(let e=s.length,i=0;i<e;i++){const e=s[i];null!==t[e].parent&&(o[e]=r(e,t))}return o}},"./node_modules/color-name/index.js":e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-clipboard/theme/clipboard.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/placeholder.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}@media (forced-colors:active){.ck .ck-placeholder,.ck.ck-placeholder{forced-color-adjust:preserve-parent-color}}.ck .ck-placeholder:before,.ck.ck-placeholder:before{cursor:text}@media (forced-colors:none){.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text)}}@media (forced-colors:active){.ck .ck-placeholder:before,.ck.ck-placeholder:before{font-style:italic;margin-left:1px}}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/renderer.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}.ck.ck-aria-live-region-list{list-style-type:none}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/autocomplete/autocomplete.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-panel)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{border-radius:0}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:200px;min-width:auto;overflow-y:auto}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/button.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.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,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)}.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{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}@media (prefers-reduced-motion:reduce){.ck.ck-button,a.ck.ck-button{transition:none}}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.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{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{opacity:.5}.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,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-medium)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.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)}.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-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.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-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)}.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}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/listitembutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-list-item-button{border-radius:0;min-height:unset;width:100%}[dir=ltr] .ck.ck-list-item-button{text-align:left}[dir=rtl] .ck.ck-list-item-button{text-align:right}[dir=ltr] .ck.ck-list-item-button.ck-list-item-button_toggleable{padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-list-item-button.ck-list-item-button_toggleable{padding-right:var(--ck-spacing-small)}.ck.ck-list-item-button .ck-list-item-button__check-holder{display:inline-flex;height:.9em;width:.9em}[dir=ltr] .ck.ck-list-item-button .ck-list-item-button__check-holder{margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-list-item-button .ck-list-item-button__check-holder{margin-left:var(--ck-spacing-small)}.ck.ck-list-item-button .ck-list-item-button__check-icon{height:100%}.ck.ck-button.ck-list-item-button{padding:var(--ck-spacing-tiny) calc(var(--ck-spacing-standard)*2)}.ck.ck-button.ck-list-item-button,.ck.ck-button.ck-list-item-button.ck-on{background:var(--ck-color-list-background);color:var(--ck-color-text)}[dir=ltr] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder){padding-right:var(--ck-spacing-small)}.ck.ck-button.ck-list-item-button.ck-button.ck-on:hover,.ck.ck-button.ck-list-item-button.ck-on:hover,.ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable),.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-button.ck-list-item-button.ck-button.ck-on:hover:not(.ck-disabled),.ck.ck-button.ck-list-item-button.ck-on:hover:not(.ck-disabled),.ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable):not(.ck-disabled),.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled):not(.ck-disabled){color:var(--ck-color-text)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/switchbutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".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:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.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)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.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(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}@media (prefers-reduced-motion:reduce){.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{transition:none}}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.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:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/collapsible/collapsible.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorgrid/colorgrid.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{transition:box-shadow .2s ease}@media (forced-colors:none){.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}}@media (forced-colors:active){.ck.ck-color-grid__tile{height:unset;min-height:unset;min-width:unset;padding:0 var(--ck-spacing-small);width:unset}.ck.ck-color-grid__tile .ck-button__label{display:inline-block}}@media (prefers-reduced-motion:reduce){.ck.ck-color-grid__tile{transition:none}}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorpicker/colorpicker.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorselector/colorselector.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialog.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-dialog-overlay{bottom:0;left:0;overscroll-behavior:none;position:fixed;right:0;top:0;user-select:none}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent{animation:none;background:none;pointer-events:none}.ck.ck-dialog{overscroll-behavior:none;position:absolute;width:fit-content}.ck.ck-dialog .ck.ck-form__header{flex-shrink:0}.ck.ck-dialog .ck.ck-form__header .ck-form__header__label{cursor:grab}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent .ck.ck-dialog{pointer-events:all}:root{--ck-dialog-overlay-background-color:rgba(0,0,0,.5);--ck-dialog-drop-shadow:0px 0px 6px 2px rgba(0,0,0,.15);--ck-dialog-max-width:100vw;--ck-dialog-max-height:90vh;--ck-color-dialog-background:var(--ck-color-base-background);--ck-color-dialog-form-header-border:var(--ck-color-base-border)}.ck.ck-dialog-overlay{animation:ck-dialog-fade-in .3s;background:var(--ck-dialog-overlay-background-color);z-index:var(--ck-z-dialog)}.ck.ck-dialog{border-radius:0}.ck-rounded-corners .ck.ck-dialog,.ck.ck-dialog.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dialog{box-shadow:var(--ck-drop-shadow),0 0;--ck-drop-shadow:var(--ck-dialog-drop-shadow);background:var(--ck-color-dialog-background);border:1px solid var(--ck-color-base-border);max-height:var(--ck-dialog-max-height);max-width:var(--ck-dialog-max-width)}.ck.ck-dialog .ck.ck-form__header{border-bottom:1px solid var(--ck-color-dialog-form-header-border)}@keyframes ck-dialog-fade-in{0%{background:transparent}to{background:var(--ck-dialog-overlay-background-color)}}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialogactions.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-dialog .ck.ck-dialog__actions{display:flex;justify-content:flex-end;padding:var(--ck-spacing-large)}.ck.ck-dialog .ck.ck-dialog__actions>*+*{margin-left:var(--ck-spacing-large)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/dropdown.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-dropdown-max-width:75vw}.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-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.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}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-panel) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.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-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/listdropdown.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".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-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-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}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenu.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-dropdown-menu-list__nested-menu{display:block}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenubutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button{border-radius:0;padding:var(--ck-spacing-tiny) calc(var(--ck-spacing-standard)*2);width:100%}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus{border-color:transparent;box-shadow:none}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus:not(.ck-on){background:var(--ck-color-button-default-hover-background)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-button__label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled>.ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-icon-spacing:not(:has(.ck-button__icon))>.ck-button__label{margin-left:calc(var(--ck-icon-size) - var(--ck-spacing-small))}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{margin-right:calc(var(--ck-spacing-small)*-1);transform:rotate(-90deg)}[dir=rtl] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{margin-left:calc(var(--ck-spacing-small)*-1);transform:rotate(90deg)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled>.ck-dropdown-menu-list__nested-menu__button__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=ltr] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitem.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-dropdown-menu-menu-item-min-width:18em}.ck.ck-dropdown-menu-list__nested-menu__item{min-width:var(--ck-dropdown-menu-menu-item-min-width)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitembutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck-button.ck-dropdown-menu-list__nested-menu__item__button{border-radius:0}.ck-button.ck-dropdown-menu-list__nested-menu__item__button>.ck-spinner-container,.ck-button.ck-dropdown-menu-list__nested-menu__item__button>.ck-spinner-container .ck-spinner{--ck-toolbar-spinner-size:20px}.ck-button.ck-dropdown-menu-list__nested-menu__item__button>.ck-spinner-container{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}.ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus{border-color:transparent;box-shadow:none}.ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus:not(.ck-on){background:var(--ck-color-button-default-hover-background)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenupanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-dropdown-menu__nested-menu__panel{max-height:314px;overflow-y:auto;position:absolute;z-index:calc(var(--ck-z-panel) + 1)}:root{--ck-dropdown-menu-menu-panel-max-width:75vw}.ck.ck-dropdown-menu__nested-menu__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;height:fit-content;max-width:var(--ck-dropdown-menu-menu-panel-max-width)}.ck.ck-dropdown-menu__nested-menu__panel:after,.ck.ck-dropdown-menu__nested-menu__panel:before{display:none}.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_es,.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_se{border-top-left-radius:0}.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_sw,.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ws{border-top-right-radius:0}.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_en,.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_nw,.ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_wn{border-bottom-right-radius:0}.ck.ck-dropdown-menu__nested-menu__panel:focus{outline:none}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/splitbutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/toolbardropdown.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.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}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/accessibilityhelp.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-accessibility-help-dialog-max-width:600px;--ck-accessibility-help-dialog-max-height:400px;--ck-accessibility-help-dialog-border-color:#ccced1;--ck-accessibility-help-dialog-code-background-color:#ededed;--ck-accessibility-help-dialog-kbd-shadow-color:#9c9c9c}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{border:1px solid transparent;max-height:var(--ck-accessibility-help-dialog-max-height);max-width:var(--ck-accessibility-help-dialog-max-width);overflow:auto;padding:var(--ck-spacing-large);user-select:text}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{*{white-space:normal}}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content .ck-label{display:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3{font-size:1.2em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4{font-size:1em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content p,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content table{margin:1em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl{border-bottom:none;border-top:1px solid var(--ck-accessibility-help-dialog-border-color);display:grid;grid-template-columns:2fr 1fr}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{border-bottom:1px solid var(--ck-accessibility-help-dialog-border-color);padding:.4em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{grid-column-start:1}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd{grid-column-start:2;text-align:right}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{background:var(--ck-accessibility-help-dialog-code-background-color);border-radius:2px;display:inline-block;font-size:.9em;line-height:1;padding:.4em;text-align:center;vertical-align:middle}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code{font-family:monospace}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{box-shadow:0 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);margin:0 1px;min-width:1.8em}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd+kbd{margin-left:2px}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/editorui.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.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.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.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-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/formheader/formheader.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:44px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}[dir=ltr] .ck.ck-form__header>.ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header>.ck-icon{margin-left:var(--ck-spacing-medium)}.ck.ck-form__header .ck-form__header__label{--ck-font-size-base:15px;font-weight:700}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/icon/icon.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal));--ck-icon-font-size:.8333350694em}.ck.ck-icon{font-size:var(--ck-icon-font-size);height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/input/input.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}@media (prefers-reduced-motion:reduce){.ck.ck-input{transition:none}}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}@media (prefers-reduced-motion:reduce){.ck.ck-input.ck-error{animation:none}}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/label/label.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}@media (prefers-reduced-motion:reduce){.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transition:none}}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/list/list.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.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{background:var(--ck-color-list-background);list-style-type:none;padding:var(--ck-spacing-small) 0}.ck.ck-list__item{cursor:default;min-width:15em}.ck.ck-list__item>.ck-button:not(.ck-list-item-button){border-radius:0;min-height:unset;padding:var(--ck-spacing-tiny) calc(var(--ck-spacing-standard)*2);width:100%}[dir=ltr] .ck.ck-list__item>.ck-button:not(.ck-list-item-button){text-align:left}[dir=rtl] .ck.ck-list__item>.ck-button:not(.ck-list-item-button){text-align:right}.ck.ck-list__item>.ck-button:not(.ck-list-item-button) .ck-button__label{line-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item>.ck-button:not(.ck-list-item-button):active{box-shadow:none}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button){background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button):active{box-shadow:none}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button):hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button):focus:not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item>.ck-button:not(.ck-list-item-button):hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item>.ck-button.ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item>.ck-button.ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium)}.ck-list .ck-list__group:first-child{padding-top:0}.ck-list .ck-list__group{:not(.ck-hidden)~&{border-top:1px solid var(--ck-color-base-border)}}.ck-list .ck-list__group>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-large) 0}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;margin:var(--ck-spacing-small) 0;width:100%}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubar.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-menu-bar{background:var(--ck-color-base-background);border:1px solid var(--ck-color-toolbar-border);display:flex;flex-wrap:wrap;gap:var(--ck-spacing-small);justify-content:flex-start;padding:var(--ck-spacing-small);width:100%}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenu.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-menu-bar__menu{display:block;font-size:inherit;position:relative}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level{max-width:100%}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenubutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-menu-bar__menu>.ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button{width:100%}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button>.ck-button__label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button.ck-disabled>.ck-button__label{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-menu-bar__menu>.ck-menu-bar__menu__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-menu-bar__menu>.ck-menu-bar__menu__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button{min-height:unset;padding:var(--ck-spacing-small) var(--ck-spacing-medium)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button .ck-button__label{line-height:unset;width:unset}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button .ck-icon{display:none}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button{border-radius:0}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{margin-left:var(--ck-spacing-standard);margin-right:calc(var(--ck-spacing-small)*-1);transform:rotate(-90deg)}[dir=rtl] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{left:var(--ck-spacing-standard);margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small);transform:rotate(90deg)}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button.ck-disabled>.ck-menu-bar__menu__button__arrow{opacity:var(--ck-disabled-opacity)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitem.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-menu-bar-menu-item-min-width:18em}.ck.ck-menu-bar__menu .ck.ck-menu-bar__menu__item{min-width:var(--ck-menu-bar-menu-item-min-width)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitembutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button{border-radius:0}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container,.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container .ck-spinner{--ck-toolbar-spinner-size:20px}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{font-size:var(--ck-icon-font-size)}[dir=ltr] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{margin-left:var(--ck-spacing-medium)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenupanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-menu-bar-menu-max-width:75vw;--ck-menu-bar-nested-menu-horizontal-offset:5px}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{max-width:var(--ck-menu-bar-menu-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw{bottom:100%}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw{bottom:auto;top:100%}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se{left:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw{right:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es{left:calc(100% - var(--ck-menu-bar-nested-menu-horizontal-offset))}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es{top:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en{bottom:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{right:calc(100% - var(--ck-menu-bar-nested-menu-horizontal-offset))}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{top:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn{bottom:0}:root{--ck-menu-bar-menu-panel-max-width:75vw}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{border-radius:0}.ck-rounded-corners .ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;height:fit-content;max-width:var(--ck-menu-bar-menu-panel-max-width)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se{border-top-left-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{border-top-right-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne{border-bottom-left-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn{border-bottom-right-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel:focus{outline:none}.ck.ck-menu-bar .ck-list-item-button:active,.ck.ck-menu-bar .ck-list-item-button:focus{border-color:transparent;box-shadow:none}.ck.ck-menu-bar.ck-menu-bar_focus-border-enabled .ck-list-item-button:active,.ck.ck-menu-bar.ck-menu-bar_focus-border-enabled .ck-list-item-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none;position:relative;z-index:2}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonpanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,':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-panel)}.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-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.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{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.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(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonrotator.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/fakepanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-panel) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/stickypanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-panel)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/search/search.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/spinner/spinner.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:ck-spinner-rotate 1.5s linear infinite;height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}@media (prefers-reduced-motion:reduce){.ck.ck-spinner-container{animation-duration:3s}}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent;height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}@keyframes ck-spinner-rotate{to{transform:rotate(1turn)}}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/textarea/textarea.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck-textarea{overflow-x:hidden}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/blocktoolbar.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/toolbar.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.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);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{background:var(--ck-color-toolbar-border);height:var(--ck-icon-size);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/tooltip/tooltip.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck.ck-balloon-panel.ck-tooltip{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;z-index:calc(var(--ck-z-dialog) + 100);--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;max-width:200px;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/globals/globals.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck-hidden{display:none!important}:root{--ck-z-default:1;--ck-z-panel:calc(var(--ck-z-default) + 999);--ck-z-dialog:9999}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-panel) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--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:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-dialog-background:var(--ck-custom-background);--ck-color-dialog-form-header-border:var(--ck-custom-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--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:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--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-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--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-background);--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-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--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-outer-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-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{background:transparent;border:0;box-sizing:border-box;height:auto;margin:0;padding:0;position:static;text-decoration:none;transition:none;vertical-align:middle;width:auto;word-wrap:break-word}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}: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)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widget.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}: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-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}@media (prefers-reduced-motion:reduce){.ck .ck-widget{transition:none}}.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{box-shadow:var(--ck-inner-shadow),0 0}@media (forced-colors:none){.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background)}}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused:not(td,th),.ck .ck-editor__nested-editable:focus:not(td,th){border:var(--ck-focus-ring);outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);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)}@media (prefers-reduced-motion:reduce){.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{transition:none}}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}@media (prefers-reduced-motion:reduce){.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{transition:none}}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgetresize.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}",""]);const n=i},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgettypearound.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/css-loader/dist/runtime/api.js"),i=o.n(s)()((function(e){return e[1]}));i.push([e.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}@media (prefers-reduced-motion:reduce){.ck .ck-widget .ck-widget__type-around__button{transition:none}}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}@media (prefers-reduced-motion:reduce){.ck .ck-widget .ck-widget__type-around__button svg{transition:none}}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}@media (prefers-reduced-motion:reduce){.ck .ck-widget .ck-widget__type-around__button:hover,.ck .ck-widget .ck-widget__type-around__button:hover svg line,.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:none}}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',""]);const n=i},"./node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,s){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(s)for(var n=0;n<this.length;n++){var r=this[n][0];null!=r&&(i[r]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);s&&i[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},"./packages/ckeditor5-core/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{uB:()=>r,ob:()=>d,HY:()=>h,CC:()=>y,KE:()=>k,mJ:()=>x,fE:()=>c,TS:()=>C,k_:()=>i,JF:()=>v,Pt:()=>T,Jl:()=>A});var s=o("./packages/ckeditor5-utils/src/index.ts");class i extends((0,s.VM)()){editor;_disableStack=new Set;constructor(e){super(),this.editor=e,this.set("isEnabled",!0)}forceDisabled(e){this._disableStack.add(e),1==this._disableStack.size&&(this.on("set:isEnabled",n,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",n),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function n(e){e.return=!1,e.stop()}class r extends((0,s.VM)()){editor;_isEnabledBasedOnSelection;_affectsData;_disableStack;constructor(e){super(),this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",(()=>{this.refresh()})),this.listenTo(e,"change:isReadOnly",(()=>{this.refresh()})),this.on("set:isEnabled",(t=>{if(!this.affectsData)return;const o=e.model.document.selection,s=!("$graveyard"==o.getFirstPosition().root.rootName)&&e.model.canEditAt(o);(e.isReadOnly||this._isEnabledBasedOnSelection&&!s)&&(t.return=!1,t.stop())}),{priority:"highest"}),this.on("execute",(e=>{this.isEnabled||e.stop()}),{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(e){this._affectsData=e}refresh(){this.isEnabled=!0}forceDisabled(e){this._disableStack.add(e),1==this._disableStack.size&&(this.on("set:isEnabled",a,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",a),this.refresh())}execute(...e){}destroy(){this.stopListening()}}function a(e){e.return=!1,e.stop()}class c extends r{_childCommandsDefinitions=[];refresh(){}execute(...e){const t=this._getFirstEnabledCommand();return!!t&&t.execute(e)}registerChildCommand(e,t={}){(0,s.Yy)(this._childCommandsDefinitions,{command:e,priority:t.priority||"normal"}),e.on("change:isEnabled",(()=>this._checkEnabled())),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const e=this._childCommandsDefinitions.find((({command:e})=>e.isEnabled));return e&&e.command}}class l extends((0,s.Mm)()){_context;_plugins=new Map;_availablePlugins;_contextPlugins;constructor(e,t=[],o=[]){super(),this._context=e,this._availablePlugins=new Map;for(const e of t)e.pluginName&&this._availablePlugins.set(e.pluginName,e);this._contextPlugins=new Map;for(const[e,t]of o)this._contextPlugins.set(e,t),this._contextPlugins.set(t,e),e.pluginName&&this._availablePlugins.set(e.pluginName,e)}*[Symbol.iterator](){for(const e of this._plugins)"function"==typeof e[0]&&(yield e)}get(e){const t=this._plugins.get(e);if(!t){let t=e;throw"function"==typeof e&&(t=e.pluginName||e.name),new s.Yb("plugincollection-plugin-not-loaded",this._context,{plugin:t})}return t}has(e){return this._plugins.has(e)}init(e,t=[],o=[]){const i=this,n=this._context;!function e(t,o=new Set){t.forEach((t=>{c(t)&&(o.has(t)||(o.add(t),t.pluginName&&!i._availablePlugins.has(t.pluginName)&&i._availablePlugins.set(t.pluginName,t),t.requires&&e(t.requires,o)))}))}(e),u(e);const r=[...function e(t,o=new Set){return t.map((e=>c(e)?e:i._availablePlugins.get(e))).reduce(((t,s)=>o.has(s)?t:(o.add(s),s.requires&&(u(s.requires,s),e(s.requires,o).forEach((e=>t.add(e)))),t.add(s))),new Set)}(e.filter((e=>!d(e,t))))];!function(e,t){for(const o of t){if("function"!=typeof o)throw new s.Yb("plugincollection-replace-plugin-invalid-type",null,{pluginItem:o});const t=o.pluginName;if(!t)throw new s.Yb("plugincollection-replace-plugin-missing-name",null,{pluginItem:o});if(o.requires&&o.requires.length)throw new s.Yb("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:t});const n=i._availablePlugins.get(t);if(!n)throw new s.Yb("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:t});const r=e.indexOf(n);if(-1===r){if(i._contextPlugins.has(n))return;throw new s.Yb("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:t})}if(n.requires&&n.requires.length)throw new s.Yb("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:t});e.splice(r,1,o),i._availablePlugins.set(t,o)}}(r,o);const a=r.map((e=>{let t=i._contextPlugins.get(e);return t=t||new e(n),i._add(e,t),t}));return m(a,"init").then((()=>m(a,"afterInit"))).then((()=>a));function c(e){return"function"==typeof e}function l(e){return c(e)&&!!e.isContextPlugin}function d(e,t){return t.some((t=>t===e||(h(e)===t||h(t)===e)))}function h(e){return c(e)?e.pluginName||e.name:e}function u(e,o=null){e.map((e=>c(e)?e:i._availablePlugins.get(e)||e)).forEach((e=>{!function(e,t){if(c(e))return;if(t)throw new s.Yb("plugincollection-soft-required",n,{missingPlugin:e,requiredBy:h(t)});throw new s.Yb("plugincollection-plugin-not-found",n,{plugin:e})}(e,o),function(e,t){if(!l(t))return;if(l(e))return;throw new s.Yb("plugincollection-context-required",n,{plugin:h(e),requiredBy:h(t)})}(e,o),function(e,o){if(!o)return;if(!d(e,t))return;throw new s.Yb("plugincollection-required",n,{plugin:h(e),requiredBy:h(o)})}(e,o)}))}function m(e,t){return e.reduce(((e,o)=>o[t]?i._contextPlugins.has(o)?e:e.then(o[t].bind(o)):e),Promise.resolve())}}destroy(){const e=[];for(const[,t]of this)"function"!=typeof t.destroy||this._contextPlugins.has(t)||e.push(t.destroy());return Promise.all(e)}_add(e,t){this._plugins.set(e,t);const o=e.pluginName;if(o){if(this._plugins.has(o))throw new s.Yb("plugincollection-plugin-name-conflict",null,{pluginName:o,plugin1:this._plugins.get(o).constructor,plugin2:e});this._plugins.set(o,t)}}}class d{config;plugins;locale;t;editors;static defaultConfig;static builtinPlugins;_contextOwner=null;constructor(e){const{translations:t,...o}=e||{};this.config=new s.TS(o,this.constructor.defaultConfig);const i=this.constructor.builtinPlugins;this.config.define("plugins",i),this.plugins=new l(this,i);const n=this.config.get("language")||{};this.locale=new s.hT({uiLanguage:"string"==typeof n?n:n.ui,contentLanguage:this.config.get("language.content"),translations:t}),this.t=this.locale.t,this.editors=new s.pM}initPlugins(){const e=this.config.get("plugins")||[],t=this.config.get("substitutePlugins")||[];for(const o of e.concat(t)){if("function"!=typeof o)throw new s.Yb("context-initplugins-constructor-only",null,{Plugin:o});if(!0!==o.isContextPlugin)throw new s.Yb("context-initplugins-invalid-plugin",null,{Plugin:o})}return this.plugins.init(e,[],t)}destroy(){return Promise.all(Array.from(this.editors,(e=>e.destroy()))).then((()=>this.plugins.destroy()))}_addEditor(e,t){if(this._contextOwner)throw new s.Yb("context-addeditor-private-context");this.editors.add(e),t&&(this._contextOwner=e)}_removeEditor(e){return this.editors.has(e)&&this.editors.remove(e),this._contextOwner===e?this.destroy():Promise.resolve()}_getEditorConfig(){const e={};for(const t of this.config.names())["plugins","removePlugins","extraPlugins"].includes(t)||(e[t]=this.config.get(t));return e}static create(e){return new Promise((t=>{const o=new this(e);t(o.initPlugins().then((()=>o)))}))}}class h extends((0,s.VM)()){context;constructor(e){super(),this.context=e}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class u extends s.EP{editor;constructor(e){super(),this.editor=e}set(e,t,o={}){if("string"==typeof t){const e=t;t=(t,o)=>{this.editor.execute(e),o()}}super.set(e,t,o)}}var m=o("./packages/ckeditor5-engine/src/index.ts"),p=o("./packages/ckeditor5-watchdog/src/index.ts");class f{_commands;constructor(){this._commands=new Map}add(e,t){this._commands.set(e,t)}get(e){return this._commands.get(e)}execute(e,...t){const o=this.get(e);if(!o)throw new s.Yb("commandcollection-command-not-found",this,{commandName:e});return o.execute(...t)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const e of this.commands())e.destroy()}}const g="contentEditing",_="common";class b{keystrokeInfos=new Map;_editor;constructor(e){this._editor=e;const t=e.config.get("menuBar.isVisible"),o=e.locale.t;this.addKeystrokeInfoCategory({id:g,label:o("Content editing keystrokes"),description:o("These keyboard shortcuts allow for quick access to content editing features.")});const s=[{label:o("Close contextual balloons, dropdowns, and dialogs"),keystroke:"Esc"},{label:o("Open the accessibility help dialog"),keystroke:"Alt+0"},{label:o("Move focus between form fields (inputs, buttons, etc.)"),keystroke:[["Tab"],["Shift+Tab"]]},{label:o("Move focus to the toolbar, navigate between toolbars"),keystroke:"Alt+F10",mayRequireFn:!0},{label:o("Navigate through the toolbar or menu bar"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]},{label:o("Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content."),keystroke:[["Enter"],["Space"]]}];t&&s.push({label:o("Move focus to the menu bar, navigate between menu bars"),keystroke:"Alt+F9",mayRequireFn:!0}),this.addKeystrokeInfoCategory({id:"navigation",label:o("User interface and content navigation keystrokes"),description:o("Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface."),groups:[{id:"common",keystrokes:s}]})}addKeystrokeInfoCategory({id:e,label:t,description:o,groups:s}){this.keystrokeInfos.set(e,{id:e,label:t,description:o,groups:new Map}),this.addKeystrokeInfoGroup({categoryId:e,id:_}),s&&s.forEach((t=>{this.addKeystrokeInfoGroup({categoryId:e,...t})}))}addKeystrokeInfoGroup({categoryId:e=g,id:t,label:o,keystrokes:i}){const n=this.keystrokeInfos.get(e);if(!n)throw new s.Yb("accessibility-unknown-keystroke-info-category",this._editor,{groupId:t,categoryId:e});n.groups.set(t,{id:t,label:o,keystrokes:i||[]})}addKeystrokeInfos({categoryId:e=g,groupId:t=_,keystrokes:o}){if(!this.keystrokeInfos.has(e))throw new s.Yb("accessibility-unknown-keystroke-info-category",this._editor,{categoryId:e,keystrokes:o});const i=this.keystrokeInfos.get(e);if(!i.groups.has(t))throw new s.Yb("accessibility-unknown-keystroke-info-group",this._editor,{groupId:t,categoryId:e,keystrokes:o});i.groups.get(t).keystrokes.push(...o)}}class k extends((0,s.VM)()){accessibility;commands;config;conversion;data;editing;locale;model;plugins;keystrokes;t;static defaultConfig;static builtinPlugins;_context;_readOnlyLocks;constructor(e={}){if(super(),"sanitizeHtml"in e)throw new s.Yb("editor-config-sanitizehtml-not-supported");const t=this.constructor,{translations:o,...i}=t.defaultConfig||{},{translations:n=o,...r}=e,a=e.language||i.language;this._context=e.context||new d({language:a,translations:n}),this._context._addEditor(this,!e.context);const c=Array.from(t.builtinPlugins||[]);this.config=new s.TS(r,i),this.config.define("plugins",c),this.config.define(this._context._getEditorConfig()),this.plugins=new l(this,c,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new f,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new m.Kx,this.on("change:isReadOnly",(()=>{this.model.document.isReadOnly=this.isReadOnly}));const h=new m.tG;this.data=new m.P3(this.model,h),this.editing=new m.L_(this.model,h),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new m.dY([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 u(this),this.keystrokes.listenTo(this.editing.view.document),this.accessibility=new b(this)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(e){throw new s.Yb("editor-isreadonly-has-no-setter")}enableReadOnlyMode(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new s.Yb("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)||(this._readOnlyLocks.add(e),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new s.Yb("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)&&(this._readOnlyLocks.delete(e),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}setData(e){this.data.set(e)}getData(e){return this.data.get(e)}initPlugins(){const e=this.config,t=e.get("plugins"),o=e.get("removePlugins")||[],s=e.get("extraPlugins")||[],i=e.get("substitutePlugins")||[];return this.plugins.init(t.concat(s),o,i)}destroy(){let e=Promise.resolve();return"initializing"==this.state&&(e=new Promise((e=>this.once("ready",e)))),e.then((()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()})).then((()=>this.plugins.destroy())).then((()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()})).then((()=>this._context._removeEditor(this)))}execute(e,...t){try{return this.commands.execute(e,...t)}catch(e){s.Yb.rethrowUnexpectedError(e,this)}}focus(){this.editing.view.focus()}static create(...e){throw new Error("This is an abstract method.")}static Context=d;static EditorWatchdog=p.VJ;static ContextWatchdog=p.Zd}var w=o("./node_modules/lodash-es/isFunction.js");function v(e){if(!(0,w.A)(e.updateSourceElement))throw new s.Yb("attachtoform-missing-elementapi-interface",e);const t=e.sourceElement;if(function(e){return!!e&&"textarea"===e.tagName.toLowerCase()}(t)&&t.form){let o;const s=t.form,i=()=>e.updateSourceElement();(0,w.A)(s.submit)&&(o=s.submit,s.submit=()=>{i(),o.apply(s)}),s.addEventListener("submit",i),e.on("destroy",(()=>{s.removeEventListener("submit",i),o&&(s.submit=o)}))}}function y(e){return e}function x(e){return class extends e{sourceElement;updateSourceElement(e){if(!this.sourceElement)throw new s.Yb("editor-missing-sourceelement",this);const t=this.config.get("updateSourceElementOnDestroy"),o=this.sourceElement instanceof HTMLTextAreaElement;if(!t&&!o)return void(0,s.C_)(this.sourceElement,"");const i="string"==typeof e?e:this.data.get();(0,s.C_)(this.sourceElement,i)}}}function A(e,t){if(t.ckeditorInstance)throw new s.Yb("editor-source-element-already-used",e);t.ckeditorInstance=e,e.once("destroy",(()=>{delete t.ckeditorInstance}))}x.updateSourceElement=x(Object).prototype.updateSourceElement;class C extends h{_actions;static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new s.pM({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if("string"!=typeof e)throw new s.Yb("pendingactions-add-invalid-message",this);const t=new((0,s.VM)());return t.set("message",e),this._actions.add(t),this.hasAny=!0,t}remove(e){this._actions.remove(e),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const T={bold:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"/></svg>',cancel:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.591 10.177 4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"/></svg>',caption:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 16h9a1 1 0 0 1 0 2H2a1 1 0 0 1 0-2z"/><path d="M17 1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14zm0 1.5H3a.5.5 0 0 0-.492.41L2.5 3v9a.5.5 0 0 0 .41.492L3 12.5h14a.5.5 0 0 0 .492-.41L17.5 12V3a.5.5 0 0 0-.41-.492L17 2.5z" fill-opacity=".6"/></svg>',check:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"/></svg>',cog:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.333 2 .19 2.263a5.899 5.899 0 0 1 1.458.604L14.714 3.4 16.6 5.286l-1.467 1.733c.263.452.468.942.605 1.46L18 8.666v2.666l-2.263.19a5.899 5.899 0 0 1-.604 1.458l1.467 1.733-1.886 1.886-1.733-1.467a5.899 5.899 0 0 1-1.46.605L11.334 18H8.667l-.19-2.263a5.899 5.899 0 0 1-1.458-.604L5.286 16.6 3.4 14.714l1.467-1.733a5.899 5.899 0 0 1-.604-1.458L2 11.333V8.667l2.262-.189a5.899 5.899 0 0 1 .605-1.459L3.4 5.286 5.286 3.4l1.733 1.467a5.899 5.899 0 0 1 1.46-.605L8.666 2h2.666zM10 6.267a3.733 3.733 0 1 0 0 7.466 3.733 3.733 0 0 0 0-7.466z"/></svg>',colorPalette:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.209 18.717A8.5 8.5 0 1 1 18.686 9.6h-.008l.002.12a3 3 0 0 1-2.866 2.997h-.268l-.046-.002v.002h-4.791a2 2 0 1 0 0 4 1 1 0 1 1-.128 1.992 8.665 8.665 0 0 1-.372.008Zm-3.918-7.01a1.25 1.25 0 1 0-2.415-.648 1.25 1.25 0 0 0 2.415.647ZM5.723 8.18a1.25 1.25 0 1 0 .647-2.414 1.25 1.25 0 0 0-.647 2.414ZM9.76 6.155a1.25 1.25 0 1 0 .647-2.415 1.25 1.25 0 0 0-.647 2.415Zm4.028 1.759a1.25 1.25 0 1 0 .647-2.415 1.25 1.25 0 0 0-.647 2.415Z"/></svg>',eraser:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m8.636 9.531-2.758 3.94a.5.5 0 0 0 .122.696l3.224 2.284h1.314l2.636-3.736L8.636 9.53zm.288 8.451L5.14 15.396a2 2 0 0 1-.491-2.786l6.673-9.53a2 2 0 0 1 2.785-.49l3.742 2.62a2 2 0 0 1 .491 2.785l-7.269 10.053-2.147-.066z"/><path d="M4 18h5.523v-1H4zm-2 0h1v-1H2z"/></svg>',history:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 1a9 9 0 1 1-8.027 13.075l1.128-1.129A7.502 7.502 0 0 0 18.5 10a7.5 7.5 0 1 0-14.962.759l-.745-.746-.76.76A9 9 0 0 1 11 1z"/><path d="M.475 8.17a.75.75 0 0 1 .978.047l.075.082 1.284 1.643 1.681-1.284a.75.75 0 0 1 .978.057l.073.083a.75.75 0 0 1-.057.978l-.083.073-2.27 1.737a.75.75 0 0 1-.973-.052l-.074-.082-1.741-2.23a.75.75 0 0 1 .13-1.052z"/><path d="M11.5 5v4.999l3.196 3.196-1.06 1.06L10.1 10.72l-.1-.113V5z"/></svg>',image:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.66 9.118a.693.693 0 0 1 .956.032l3.65 3.411 2.422-2.238a.695.695 0 0 1 .945 0L17.5 13.6V2.5h-15v11.1l4.16-4.482ZM17.8 1c.652 0 1.2.47 1.2 1.1v14.362c0 .64-.532 1.038-1.184 1.038H2.184C1.532 17.5 1 17.103 1 16.462V2.1C1 1.47 1.537 1 2.2 1h15.6Zm-5.655 6a2.128 2.128 0 0 1 .157-2.364A2.133 2.133 0 1 1 12.145 7Z"/></svg>',imageUpload:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037h9.494a2.97 2.97 0 0 1-.414-.287 2.998 2.998 0 0 1-1.055-2.03 3.003 3.003 0 0 1 .693-2.185l.383-.455-.02.018-3.65-3.41a.695.695 0 0 0-.957-.034L1.5 13.6V2.5h15v5.535a2.97 2.97 0 0 1 1.412.932l.088.105V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.146 2.146 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.644-3.11 2.134 2.134 0 0 0-1.875-.978Z"/><path d="M15.522 19.1a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 1 0 1.211-1.015l-3.352-3.995a.79.79 0 0 0-.995-.179.784.784 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/><path d="M15.522 19.1a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 1 0 1.211-1.015l-3.352-3.995a.79.79 0 0 0-.995-.179.784.784 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/></svg>',imageAssetManager:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1c-.662 0-1.2.47-1.2 1.1v14.248c0 .64.533 1.152 1.185 1.152h6.623v-7.236L6.617 9.15a.694.694 0 0 0-.957-.033L1.602 13.55V2.553l14.798.003V9.7H18V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.723 2.805a2.094 2.094 0 0 0-1.621.832 2.127 2.127 0 0 0 1.136 3.357 2.13 2.13 0 0 0 2.611-1.506 2.133 2.133 0 0 0-.76-2.244 2.13 2.13 0 0 0-1.366-.44Z"/><path clip-rule="evenodd" d="M19.898 12.369v6.187a.844.844 0 0 1-.844.844h-8.719a.844.844 0 0 1-.843-.844v-7.312a.844.844 0 0 1 .843-.844h2.531a.843.843 0 0 1 .597.248l.838.852h4.75c.223 0 .441.114.6.272a.844.844 0 0 1 .247.597Zm-1.52.654-4.377.02-1.1-1.143H11v6h7.4l-.023-4.877Z"/></svg>',imageUrl:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037h7.029a5.401 5.401 0 0 1 .615-4.338l.762-1.232-2.975-2.78a.696.696 0 0 0-.957-.033L1.5 13.6V2.5h15v6.023c.449.131.887.32 1.307.573l.058.033c.046.028.09.057.135.086V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.15 2.15 0 0 0-1.611.834 2.118 2.118 0 0 0-.438 1.158 2.14 2.14 0 0 0 1.277 2.096 2.132 2.132 0 0 0 2.645-3.11 2.13 2.13 0 0 0-1.873-.978Z"/><path d="M16.63 10.294a3.003 3.003 0 0 0-4.142.887l-.117.177a.647.647 0 0 0-.096.492.664.664 0 0 0 .278.418.7.7 0 0 0 .944-.234 1.741 1.741 0 0 1 2.478-.463 1.869 1.869 0 0 1 .476 2.55.637.637 0 0 0-.071.5.646.646 0 0 0 .309.396.627.627 0 0 0 .869-.19l.027-.041a3.226 3.226 0 0 0-.956-4.492Zm-6.061 3.78-.044.066a3.228 3.228 0 0 0 .82 4.403 3.005 3.005 0 0 0 4.275-.798l.13-.197a.626.626 0 0 0 .092-.475.638.638 0 0 0-.268-.402.713.713 0 0 0-.99.26l-.018.029a1.741 1.741 0 0 1-2.477.461 1.87 1.87 0 0 1-.475-2.55l.029-.047a.647.647 0 0 0 .086-.485.66.66 0 0 0-.275-.408l-.04-.027a.609.609 0 0 0-.845.17Z"/><path d="M15.312 13.925c.24-.36.154-.838-.19-1.067-.346-.23-.82-.124-1.059.236l-1.268 1.907c-.239.36-.153.838.192 1.067.345.23.818.123 1.057-.236l1.268-1.907Z"/></svg>',lowVision:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.085 6.22 2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.365.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z"/></svg>',textAlternative:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.035 1C2.446 1 2 1.54 2 2.098V10.5h1.5v-8h13v8H18V2.098C18 1.539 17.48 1 16.9 1H3.035Zm10.453 2.61a1.885 1.885 0 0 0-1.442.736 1.89 1.89 0 0 0 1.011 2.976 1.903 1.903 0 0 0 2.253-1.114 1.887 1.887 0 0 0-1.822-2.598ZM7.463 8.163a.611.611 0 0 0-.432.154L5.071 10.5h5.119L7.88 8.348a.628.628 0 0 0-.417-.185Zm6.236 1.059a.62.62 0 0 0-.42.164L12.07 10.5h2.969l-.92-1.113a.618.618 0 0 0-.42-.165ZM.91 11.5a.91.91 0 0 0-.91.912v6.877c0 .505.405.91.91.91h18.178a.91.91 0 0 0 .912-.91v-6.877a.908.908 0 0 0-.912-.912H.91ZM3.668 13h1.947l2.135 5.7H5.898l-.28-.946H3.601l-.278.945H1.516L3.668 13Zm4.947 0h1.801v4.3h2.7v1.4h-4.5V13h-.001Zm4.5 0h5.4v1.4h-1.798v4.3h-1.701v-4.3h-1.9V13h-.001Zm-8.517 1.457-.614 2.059h1.262l-.648-2.059Z"/></svg>',loupe:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.68 13.74h-.001l4.209 4.208a1 1 0 1 0 1.414-1.414l-4.267-4.268a6 6 0 1 0-1.355 1.474ZM13 9a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"/></svg>',previousArrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>',nextArrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z"/></svg>',importExport:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 4.5 14 0H3v12.673l.868-1.041c.185-.222.4-.402.632-.54V1.5h8v5h5v7.626a2.24 2.24 0 0 1 1.5.822V4.5ZM14 5V2l3.3 3H14Zm-3.692 12.5c.062.105.133.206.213.303L11.52 19H8v-.876a2.243 2.243 0 0 0 1.82-.624h.488Zm7.518-.657a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Zm-15.056-.38a.75.75 0 0 1-.096-1.056l2.346-2.815a.95.95 0 0 1 1.46 0l2.346 2.815a.75.75 0 1 1-1.152.96L6.5 14.96V20H5v-5.04l-1.174 1.408a.75.75 0 0 1-1.056.096Z"/></svg>',paragraph:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 5.5H7v5h3.5a2.5 2.5 0 1 0 0-5zM5 3h6.5v.025a5 5 0 0 1 0 9.95V13H7v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"/></svg>',plus:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a1 1 0 0 0-1 1v6H3a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6V3a1 1 0 0 0-1-1Z"/></svg>',text:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.816 11.5 7.038 4.785 4.261 11.5h5.555Zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13Z"/><path d="m12.09 17-.534-1.292.848-1.971.545 1.319L12.113 17h-.023Zm1.142-5.187.545 1.319L15.5 9.13l1.858 4.316h-3.45l.398.965h3.467L18.887 17H20l-3.873-9h-1.254l-1.641 3.813Z"/></svg>',alignBottom:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.239 13.938-2.88-1.663a.75.75 0 0 1 .75-1.3L9 12.067V4.75a.75.75 0 1 1 1.5 0v7.318l1.89-1.093a.75.75 0 0 1 .75 1.3l-2.879 1.663a.752.752 0 0 1-.511.187.752.752 0 0 1-.511-.187zM4.25 17a.75.75 0 1 1 0-1.5h10.5a.75.75 0 0 1 0 1.5H4.25z"/></svg>',alignMiddle:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.75 11.875a.752.752 0 0 1 .508.184l2.883 1.666a.75.75 0 0 1-.659 1.344l-.091-.044-1.892-1.093.001 4.318a.75.75 0 1 1-1.5 0v-4.317l-1.89 1.092a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .51-.187zM15.25 9a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM9.75.375a.75.75 0 0 1 .75.75v4.318l1.89-1.093.092-.045a.75.75 0 0 1 .659 1.344l-2.883 1.667a.752.752 0 0 1-.508.184.752.752 0 0 1-.511-.187L6.359 5.65a.75.75 0 0 1 .75-1.299L9 5.442V1.125a.75.75 0 0 1 .75-.75z"/></svg>',alignTop:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m10.261 7.062 2.88 1.663a.75.75 0 0 1-.75 1.3L10.5 8.933v7.317a.75.75 0 1 1-1.5 0V8.932l-1.89 1.093a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .511-.187.752.752 0 0 1 .511.187zM15.25 4a.75.75 0 1 1 0 1.5H4.75a.75.75 0 0 1 0-1.5h10.5z"/></svg>',alignLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"/></svg>',alignCenter:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm2.286 4c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75z"/></svg>',alignRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 3.75a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 4a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75zm0-8a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75z"/></svg>',alignJustify:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"/></svg>',objectLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zm0-3H18v1.5h-4.5zm0-3H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectCenter:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M15.003 7v5.5a1 1 0 0 1-1 1H5.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H6.5V12h6.997V7.5z"/></svg>',objectRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2zm0-9h5v1.5H2zm0 3h5v1.5H2zm0 3h5v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>',objectFullWidth:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18 7v5.5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1zm-1.505.5H3.504V12h12.991V7.5z"/></svg>',objectInline:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectBlockLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectBlockRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>',objectSizeCustom:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="https://vecta.io/nano" viewBox="0 0 20 20"><path d="M.95 1.43a.95.95 0 0 0-.95.95v3.1a.95.95 0 0 0 .95.95h.75v6.3H.95a.95.95 0 0 0-.95.95v3.1a.95.95 0 0 0 .95.95h3.1a.95.95 0 0 0 .95-.95v-.65h1.932l1.539-1.5H5v-.95a.95.95 0 0 0-.95-.95H3.2v-6.3h.85A.95.95 0 0 0 5 5.48v-.55h10v.55a.95.95 0 0 0 .95.95h3.1a.95.95 0 0 0 .95-.95v-3.1a.95.95 0 0 0-.95-.95h-3.1a.95.95 0 0 0-.95.95v1.05H5V2.38a.95.95 0 0 0-.95-.95H.95zm.55 3.5v-2h2v2h-2zm0 9.3v2h2v-2h-2zm15-11.3v2h2v-2h-2z"/><path d="M8.139 20.004v-2.388l7.045-7.048 2.391 2.391-7.046 7.046h-2.39zm11.421-9.101a.64.64 0 0 1-.138.206l-1.165 1.168-2.391-2.391 1.167-1.163a.63.63 0 0 1 .206-.138.635.635 0 0 1 .243-.049.63.63 0 0 1 .449.187l1.491 1.488c.059.059.108.129.138.206s.049.16.049.243a.6.6 0 0 1-.049.243z"/></svg>',objectSizeFull:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"/><path d="M18.095 2H1.905C.853 2 0 2.895 0 4v12c0 1.105.853 2 1.905 2h16.19C19.147 18 20 17.105 20 16V4c0-1.105-.853-2-1.905-2zm0 1.5c.263 0 .476.224.476.5v12c0 .276-.213.5-.476.5H1.905a.489.489 0 0 1-.476-.5V4c0-.276.213-.5.476-.5h16.19z"/></svg>',objectSizeLarge:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M13 5.5H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2ZM13 7a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-8A.5.5 0 0 1 2 7h11Z"/></svg>',objectSizeSmall:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M7 9.5H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2ZM7 11a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-4A.5.5 0 0 1 2 11h5Z"/></svg>',objectSizeMedium:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M10 7.5H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2ZM10 9a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-6A.5.5 0 0 1 2 9h8Z"/></svg>',pencil:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.3 17.37-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506 13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5 9.375 17H19v1.5H8z"/></svg>',pilcrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.999 2H15a1 1 0 0 1 0 2h-1.004v13a1 1 0 1 1-2 0V4H8.999v13a1 1 0 1 1-2 0v-7A4 4 0 0 1 3 6a4 4 0 0 1 3.999-4z"/></svg>',quote:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"/></svg>',threeVerticalDots:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="9.5" cy="4.5" r="1.5"/><circle cx="9.5" cy="10.5" r="1.5"/><circle cx="9.5" cy="16.5" r="1.5"/></svg>',dragIndicator:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 3.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 3.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M5 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M5 16.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 16.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/></svg>',redo:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14.958 9.367-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"/></svg>',undo:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',bulletedList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"/></svg>',numberedList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>',todoList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m2.315 14.705 2.224-2.24a.689.689 0 0 1 .963 0 .664.664 0 0 1 0 .949L2.865 16.07a.682.682 0 0 1-.112.089.647.647 0 0 1-.852-.051L.688 14.886a.635.635 0 0 1 0-.903.647.647 0 0 1 .91 0l.717.722zm5.185.045a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75zM2.329 5.745l2.21-2.226a.689.689 0 0 1 .963 0 .664.664 0 0 1 0 .95L2.865 7.125a.685.685 0 0 1-.496.196.644.644 0 0 1-.468-.187L.688 5.912a.635.635 0 0 1 0-.903.647.647 0 0 1 .91 0l.73.736zM7.5 5.75A.75.75 0 0 1 8.25 5h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>',codeBlock:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.87 12.61a.75.75 0 0 1-.089.976l-.085.07-3.154 2.254 3.412 2.414a.75.75 0 0 1 .237.95l-.057.095a.75.75 0 0 1-.95.237l-.096-.058-4.272-3.022-.003-1.223 4.01-2.867a.75.75 0 0 1 1.047.174zm2.795-.231.095.057 4.011 2.867-.003 1.223-4.272 3.022-.095.058a.75.75 0 0 1-.88-.151l-.07-.086-.058-.095a.75.75 0 0 1 .15-.88l.087-.07 3.412-2.414-3.154-2.253-.085-.071a.75.75 0 0 1 .862-1.207zM16 0a2 2 0 0 1 2 2v9.354l-.663-.492-.837-.001V2a.5.5 0 0 0-.5-.5H2a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h3.118L7.156 19H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14zM5.009 15l.003 1H3v-1h2.009zm2.188-2-1.471 1H5v-1h2.197zM10 11v.095L8.668 12H7v-1h3zm4-2v1H7V9h7zm0-2v1H7V7h7zm-4-2v1H5V5h5zM6 3v1H3V3h3z"/></svg>',browseFiles:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.627 16.5zm5.873-.196zm0-7.001V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6.027 6.027 0 0 0-1.5-1.228zM16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5H16z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1h-2z"/></svg>',heading1:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 9v10h-2v-8h-2V9h4zM4 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V11H4v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H3a1 1 0 0 1 1 1v4.5z"/></svg>',heading2:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V11H3v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H2a1 1 0 0 1 1 1v4.5zm16.076 8.343V18.5h-6.252c.067-.626.27-1.22.61-1.78.338-.561 1.006-1.305 2.005-2.232.804-.749 1.297-1.257 1.479-1.523.245-.368.368-.732.368-1.092 0-.398-.107-.703-.32-.917-.214-.214-.51-.32-.886-.32-.372 0-.669.111-.889.336-.22.224-.347.596-.38 1.117l-1.778-.178c.106-.982.438-1.686.997-2.114.558-.427 1.257-.64 2.095-.64.918 0 1.64.247 2.164.742.525.495.787 1.11.787 1.847 0 .419-.075.818-.225 1.197-.15.378-.388.775-.714 1.19-.216.275-.605.67-1.168 1.187-.563.516-.92.859-1.07 1.028a3.11 3.11 0 0 0-.365.495h3.542z"/></svg>',heading3:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V11H3v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H2a1 1 0 0 1 1 1v4.5zm9.989 7.53 1.726-.209c.055.44.203.777.445 1.01.24.232.533.349.876.349.368 0 .678-.14.93-.42.251-.279.377-.655.377-1.13 0-.448-.12-.803-.362-1.066a1.153 1.153 0 0 0-.882-.393c-.228 0-.501.044-.819.133l.197-1.453c.482.012.85-.092 1.105-.315.253-.222.38-.517.38-.885 0-.313-.093-.563-.279-.75-.186-.185-.434-.278-.743-.278a1.07 1.07 0 0 0-.78.317c-.216.212-.347.52-.394.927l-1.644-.28c.114-.562.287-1.012.517-1.348.231-.337.553-.601.965-.794a3.24 3.24 0 0 1 1.387-.289c.876 0 1.579.28 2.108.838.436.457.653.973.653 1.549 0 .817-.446 1.468-1.339 1.955.533.114.96.37 1.28.768.319.398.478.878.478 1.441 0 .817-.298 1.513-.895 2.088-.596.576-1.339.864-2.228.864-.842 0-1.54-.243-2.094-.727-.555-.485-.876-1.118-.965-1.901z"/></svg>',heading4:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm13.55 10v-1.873h-3.81v-1.561l4.037-5.91h1.498v5.904h1.156v1.567h-1.156V18.5H17.05zm0-3.44v-3.18l-2.14 3.18h2.14z"/></svg>',heading5:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm9.578 7.607 1.777-.184c.05.402.201.72.45.955a1.223 1.223 0 0 0 1.81-.101c.258-.303.387-.759.387-1.368 0-.572-.128-1-.384-1.286-.256-.285-.59-.428-1-.428-.512 0-.971.226-1.377.679l-1.448-.21.915-4.843h4.716v1.67H15.56l-.28 1.58a2.697 2.697 0 0 1 1.219-.298 2.68 2.68 0 0 1 2.012.863c.55.576.825 1.323.825 2.241a3.36 3.36 0 0 1-.666 2.05c-.605.821-1.445 1.232-2.52 1.232-.86 0-1.56-.23-2.101-.692-.542-.461-.866-1.081-.971-1.86z"/></svg>',heading6:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm15.595 2.973-1.726.19c-.043-.355-.153-.617-.33-.787-.178-.169-.409-.253-.692-.253-.377 0-.695.169-.956.507-.26.339-.424 1.043-.492 2.114.445-.525.997-.787 1.657-.787.745 0 1.383.284 1.914.85.531.568.797 1.3.797 2.197 0 .952-.28 1.716-.838 2.291-.559.576-1.276.864-2.152.864-.94 0-1.712-.365-2.317-1.095-.605-.73-.908-1.927-.908-3.59 0-1.705.316-2.935.946-3.688.63-.753 1.45-1.13 2.457-1.13.706 0 1.291.198 1.755.594.463.395.758.97.885 1.723zm-4.043 3.891c0 .58.133 1.028.4 1.343.266.315.57.473.914.473.33 0 .605-.13.825-.388.22-.258.33-.68.33-1.27 0-.604-.118-1.047-.355-1.329a1.115 1.115 0 0 0-.89-.422c-.342 0-.632.134-.869.403s-.355.666-.355 1.19z"/></svg>',horizontalLine:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 9h16v2H2z"/></svg>',html:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 0a2 2 0 0 1 2 2v7a1 1 0 0 1 1 1v5a1 1 0 0 1-.883.993l-.118.006L19 17a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2l-.001-1.001-.116-.006A1 1 0 0 1 0 15v-5a1 1 0 0 1 .999-1L1 2a2 2 0 0 1 2-2h14zm.499 15.999h-15L2.5 17a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5l-.001-1.001zm-3.478-6.013-.014.014H14v.007l-1.525 1.525-1.46-1.46-.015.013V10h-1v5h1v-3.53l1.428 1.43.048.043.131-.129L14 11.421V15h1v-5h-.965l-.014-.014zM2 10H1v5h1v-2h2v2h1v-5H4v2H2v-2zm7 0H6v1h1v4h1v-4h1v-1zm8 0h-1v5h3v-1h-2v-4zm0-8.5H3a.5.5 0 0 0-.5.5l-.001 6.999h15L17.5 2a.5.5 0 0 0-.5-.5zM10 7v1H4V7h6zm3-2v1H4V5h9zm-3-2v1H4V3h6z"/></svg>',indent:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zM1.632 6.95 5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z"/></svg>',outdent:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zm1.618-9.55L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z"/></svg>',table:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 5.5v3h4v-3H3Zm0 4v3h4v-3H3Zm0 4v3h4v-3H3Zm5 3h4v-3H8v3Zm5 0h4v-3h-4v3Zm4-4v-3h-4v3h4Zm0-4v-3h-4v3h4Zm1.5 8A1.5 1.5 0 0 1 17 18H3a1.5 1.5 0 0 1-1.5-1.5V3c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13.5Zm-6.5-4v-3H8v3h4Zm0-4v-3H8v3h4Z"/></svg>'}},"./packages/ckeditor5-engine/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{Zq:()=>pe,ML:()=>Es,cJ:()=>re,Re:()=>Mi,dY:()=>ls,P3:()=>cs,_v:()=>wt,kB:()=>ci,oi:()=>no,P$:()=>ot,FY:()=>ct,$A:()=>lt,zN:()=>Ce,L_:()=>Lo,gK:()=>Tt,Hg:()=>Vt,vp:()=>_t,BZ:()=>ei,q6:()=>as,ZG:()=>ys,m8:()=>qs,Oo:()=>to,m4:()=>Cs,PN:()=>C,GY:()=>As,Kx:()=>Pi,q$:()=>Oi,hW:()=>vs,fS:()=>Ps,nu:()=>rt,cr:()=>Rs,yX:()=>It,Q6:()=>zt,EZ:()=>Ss,A4:()=>Ue,gf:()=>Ms,at:()=>Os,_A:()=>xs,DG:()=>$,tG:()=>W,Yi:()=>At,EY:()=>Mt,Qo:()=>Ot,rU:()=>Rt,Wq:()=>Vi,UJ:()=>pe,xQ:()=>G,Vg:()=>me,f5:()=>Ae,OQ:()=>J,m2:()=>K,Vt:()=>_e,aZ:()=>ye,Un:()=>Q,HQ:()=>y,u$:()=>ee,cw:()=>ke,ib:()=>us,XI:()=>Rn,vQ:()=>Tn,IG:()=>Bn,kF:()=>Sn,je:()=>jn,JV:()=>En,aU:()=>In,_$:()=>Pn,D0:()=>an,v7:()=>cn,vt:()=>bn,mC:()=>kn,YM:()=>To,Kc:()=>h,JT:()=>d,qE:()=>sn,rC:()=>on,QS:()=>tn,SH:()=>Z,gz:()=>nn,M1:()=>rn,YU:()=>m,s5:()=>Xi,_o:()=>Li,Vq:()=>Wi,ew:()=>Hi,JS:()=>Eo,fp:()=>Ui,E:()=>Zi,Cd:()=>Yi,mv:()=>en,$0:()=>p,Zu:()=>u,_j:()=>Ns,mm:()=>Po});var s=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/placeholder.css"),r={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i()(n.A,r);n.A.locals;var a=o("./packages/ckeditor5-utils/src/index.ts");const c=new WeakMap;let l=!1;function d({view:e,element:t,text:o,isDirectHost:s=!0,keepOnFocus:i=!1}){const n=e.document;function r(o){c.get(n).set(t,{text:o,isDirectHost:s,keepOnFocus:i,hostElement:s?t:null}),e.change((e=>f(n,e)))}c.has(n)||(c.set(n,new Map),n.registerPostFixer((e=>f(n,e))),n.on("change:isComposing",(()=>{e.change((e=>f(n,e)))}),{priority:"high"})),t.is("editableElement")&&t.on("change:placeholder",((e,t,o)=>{r(o)})),t.placeholder?r(t.placeholder):o&&r(o),o&&function(){l||(0,a.FF)("enableplaceholder-deprecated-text-option");l=!0}()}function h(e,t){const o=t.document;c.has(o)&&e.change((e=>{const s=c.get(o),i=s.get(t);e.removeAttribute("data-placeholder",i.hostElement),m(e,i.hostElement),s.delete(t)}))}function u(e,t){return!t.hasClass("ck-placeholder")&&(e.addClass("ck-placeholder",t),!0)}function m(e,t){return!!t.hasClass("ck-placeholder")&&(e.removeClass("ck-placeholder",t),!0)}function p(e,t){if(!e.isAttached())return!1;if(Array.from(e.getChildren()).some((e=>!e.is("uiElement"))))return!1;const o=e.document,s=o.selection.anchor;return(!o.isComposing||!s||s.parent!==e)&&(!!t||(!o.isFocused||!!s&&s.parent!==e))}function f(e,t){const o=c.get(e),s=[];let i=!1;for(const[e,n]of o)n.isDirectHost&&(s.push(e),g(t,e,n)&&(i=!0));for(const[e,n]of o){if(n.isDirectHost)continue;const o=_(e);o&&(s.includes(o)||(n.hostElement=o,g(t,e,n)&&(i=!0)))}return i}function g(e,t,o){const{text:s,isDirectHost:i,hostElement:n}=o;let r=!1;n.getAttribute("data-placeholder")!==s&&(e.setAttribute("data-placeholder",s,n),r=!0);return(i||1==t.childCount)&&p(n,o.keepOnFocus)?u(e,n)&&(r=!0):m(e,n)&&(r=!0),r}function _(e){if(e.childCount){const t=e.getChild(0);if(t.is("element")&&!t.is("uiElement")&&!t.is("attributeElement"))return t}return null}class b{is(){throw new Error("is() method is abstract")}}var k=o("./node_modules/lodash-es/_baseClone.js");const w=function(e){return(0,k.A)(e,4)};class v extends((0,a.Mm)(b)){document;parent;constructor(e){super(),this.document=e,this.parent=null}get index(){let e;if(!this.parent)return null;if(-1==(e=this.parent.getChildIndex(this)))throw new a.Yb("view-node-not-found-in-parent",this);return e}get nextSibling(){const e=this.index;return null!==e&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return null!==e&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}isAttached(){return this.root.is("rootElement")}getPath(){const e=[];let t=this;for(;t.parent;)e.unshift(t.index),t=t.parent;return e}getAncestors(e={}){const t=[];let o=e.includeSelf?this:this.parent;for(;o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}getCommonAncestor(e,t={}){const o=this.getAncestors(t),s=e.getAncestors(t);let i=0;for(;o[i]==s[i]&&o[i];)i++;return 0===i?null:o[i-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),o=e.getPath(),s=(0,a.ww)(t,o);switch(s){case"prefix":return!0;case"extension":return!1;default:return t[s]<o[s]}}isAfter(e){return this!=e&&(this.root===e.root&&!this.isBefore(e))}_remove(){this.parent._removeChildren(this.index)}_fireChange(e,t){this.fire(`change:${e}`,t),this.parent&&this.parent._fireChange(e,t)}toJSON(){const e=w(this);return delete e.parent,e}}v.prototype.is=function(e){return"node"===e||"view:node"===e};class y extends v{_textData;constructor(e,t){super(e),this._textData=t}get data(){return this._textData}get _data(){return this.data}set _data(e){this._fireChange("text",this),this._textData=e}isSimilar(e){return e instanceof y&&(this===e||this.data===e.data)}_clone(){return new y(this.document,this.data)}}y.prototype.is=function(e){return"$text"===e||"view:$text"===e||"text"===e||"view:text"===e||"node"===e||"view:node"===e};class x extends b{textNode;data;offsetInText;constructor(e,t,o){if(super(),this.textNode=e,t<0||t>e.data.length)throw new a.Yb("view-textproxy-wrong-offsetintext",this);if(o<0||t+o>e.data.length)throw new a.Yb("view-textproxy-wrong-length",this);this.data=e.data.substring(t,t+o),this.offsetInText=t}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(e={}){const t=[];let o=e.includeSelf?this.textNode:this.parent;for(;null!==o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}}x.prototype.is=function(e){return"$textProxy"===e||"view:$textProxy"===e||"textProxy"===e||"view:textProxy"===e};var A=o("./node_modules/lodash-es/isPlainObject.js");class C{_patterns=[];constructor(...e){this.add(...e)}add(...e){for(let t of e)("string"==typeof t||t instanceof RegExp)&&(t={name:t}),this._patterns.push(t)}match(...e){for(const t of e)for(const e of this._patterns){const o=T(t,e);if(o)return{element:t,pattern:e,match:o}}return null}matchAll(...e){const t=[];for(const o of e)for(const e of this._patterns){const s=T(o,e);s&&t.push({element:o,pattern:e,match:s})}return t.length>0?t:null}getElementName(){if(1!==this._patterns.length)return null;const e=this._patterns[0],t=e.name;return"function"==typeof e||!t||t instanceof RegExp?null:t}}function T(e,t){if("function"==typeof t)return t(e);const o={};return t.name&&(o.name=function(e,t){if(e instanceof RegExp)return!!t.match(e);return e===t}(t.name,e.name),!o.name)||t.attributes&&(o.attributes=function(e,t){const o=new Set(t.getAttributeKeys());(0,A.A)(e)?(void 0!==e.style&&(0,a.FF)("matcher-pattern-deprecated-attributes-style-key",e),void 0!==e.class&&(0,a.FF)("matcher-pattern-deprecated-attributes-class-key",e)):(o.delete("style"),o.delete("class"));return E(e,o,(e=>t.getAttribute(e)))}(t.attributes,e),!o.attributes)||t.classes&&(o.classes=function(e,t){return E(e,t.getClassNames(),(()=>{}))}(t.classes,e),!o.classes)||t.styles&&(o.styles=function(e,t){return E(e,t.getStyleNames(!0),(e=>t.getStyle(e)))}(t.styles,e),!o.styles)?null:o}function E(e,t,o){const s=function(e){if(Array.isArray(e))return e.map((e=>(0,A.A)(e)?(void 0!==e.key&&void 0!==e.value||(0,a.FF)("matcher-pattern-missing-key-or-value",e),[e.key,e.value]):[e,!0]));if((0,A.A)(e))return Object.entries(e);return[[e,!0]]}(e),i=Array.from(t),n=[];if(s.forEach((([e,t])=>{i.forEach((s=>{(function(e,t){return!0===e||e===t||e instanceof RegExp&&t.match(e)})(e,s)&&function(e,t,o){if(!0===e)return!0;const s=o(t);return e===s||e instanceof RegExp&&!!String(s).match(e)}(t,s,o)&&n.push(s)}))})),s.length&&!(n.length<s.length))return n}var P=o("./node_modules/lodash-es/isObject.js"),S=o("./node_modules/lodash-es/_castPath.js");const M=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var O=o("./node_modules/lodash-es/_baseGet.js");const V=function(e,t,o){var s=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(o=o>i?i:o)<0&&(o+=i),i=t>o?0:o-t>>>0,t>>>=0;for(var n=Array(i);++s<i;)n[s]=e[s+t];return n};const R=function(e,t){return t.length<2?e:(0,O.A)(e,V(t,0,-1))};var j=o("./node_modules/lodash-es/_toKey.js");const I=function(e,t){return t=(0,S.A)(t,e),null==(e=R(e,t))||delete e[(0,j.A)(M(t))]};const B=function(e,t){return null==e||I(e,t)};var D=o("./node_modules/lodash-es/get.js"),N=o("./node_modules/lodash-es/merge.js"),F=o("./node_modules/lodash-es/_assignValue.js"),L=o("./node_modules/lodash-es/_isIndex.js");const z=function(e,t,o,s){if(!(0,P.A)(e))return e;for(var i=-1,n=(t=(0,S.A)(t,e)).length,r=n-1,a=e;null!=a&&++i<n;){var c=(0,j.A)(t[i]),l=o;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=r){var d=a[c];void 0===(l=s?s(d,c,a):void 0)&&(l=(0,P.A)(d)?d:(0,L.A)(t[i+1])?[]:{})}(0,F.A)(a,c,l),a=a[c]}return e};const H=function(e,t,o){return null==e?e:z(e,t,o)};class ${_styles;_styleProcessor;constructor(e){this._styles={},this._styleProcessor=e}get isEmpty(){return!Object.entries(this._styles).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(e){this.clear();const t=function(e){let t=null,o=0,s=0,i=null;const n=new Map;if(""===e)return n;";"!=e.charAt(e.length-1)&&(e+=";");for(let r=0;r<e.length;r++){const a=e.charAt(r);if(null===t)switch(a){case":":i||(i=e.substr(o,r-o),s=r+1);break;case'"':case"'":t=a;break;case";":{const t=e.substr(s,r-s);i&&n.set(i.trim(),t.trim()),i=null,o=r+1;break}}else a===t&&(t=null)}return n}(e);for(const[e,o]of t)this._styleProcessor.toNormalizedForm(e,o,this._styles)}has(e){if(this.isEmpty)return!1;const t=this._styleProcessor.getReducedForm(e,this._styles).find((([t])=>t===e));return Array.isArray(t)}set(e,t){if((0,P.A)(e))for(const[t,o]of Object.entries(e))this._styleProcessor.toNormalizedForm(t,o,this._styles);else this._styleProcessor.toNormalizedForm(e,t,this._styles)}remove(e){const t=q(e);B(this._styles,t),delete this._styles[e],this._cleanEmptyObjectsOnPath(t)}getNormalized(e){return this._styleProcessor.getNormalized(e,this._styles)}toString(){return this.isEmpty?"":this.getStylesEntries().map((e=>e.join(":"))).sort().join(";")+";"}getAsString(e){if(this.isEmpty)return;if(this._styles[e]&&!(0,P.A)(this._styles[e]))return this._styles[e];const t=this._styleProcessor.getReducedForm(e,this._styles).find((([t])=>t===e));return Array.isArray(t)?t[1]:void 0}getStyleNames(e=!1){if(this.isEmpty)return[];if(e)return this._styleProcessor.getStyleNames(this._styles);return this.getStylesEntries().map((([e])=>e))}clear(){this._styles={}}getStylesEntries(){const e=[],t=Object.keys(this._styles);for(const o of t)e.push(...this._styleProcessor.getReducedForm(o,this._styles));return e}_cleanEmptyObjectsOnPath(e){const t=e.split(".");if(!(t.length>1))return;const o=t.splice(0,t.length-1).join("."),s=(0,D.A)(this._styles,o);if(!s)return;!Object.keys(s).length&&this.remove(o)}}class W{_normalizers;_extractors;_reducers;_consumables;constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(e,t,o){if((0,P.A)(t))U(o,q(e),t);else if(this._normalizers.has(e)){const s=this._normalizers.get(e),{path:i,value:n}=s(t);U(o,i,n)}else U(o,e,t)}getNormalized(e,t){if(!e)return(0,N.A)({},t);if(void 0!==t[e])return t[e];if(this._extractors.has(e)){const o=this._extractors.get(e);if("string"==typeof o)return(0,D.A)(t,o);const s=o(e,t);if(s)return s}return(0,D.A)(t,q(e))}getReducedForm(e,t){const o=this.getNormalized(e,t);if(void 0===o)return[];if(this._reducers.has(e)){return this._reducers.get(e)(o)}return[[e,o]]}getStyleNames(e){const t=Array.from(this._consumables.keys()).filter((t=>{const o=this.getNormalized(t,e);return o&&"object"==typeof o?Object.keys(o).length:o})),o=new Set([...t,...Object.keys(e)]);return Array.from(o)}getRelatedStyles(e){return this._consumables.get(e)||[]}setNormalizer(e,t){this._normalizers.set(e,t)}setExtractor(e,t){this._extractors.set(e,t)}setReducer(e,t){this._reducers.set(e,t)}setStyleRelation(e,t){this._mapStyleNames(e,t);for(const o of t)this._mapStyleNames(o,[e])}_mapStyleNames(e,t){this._consumables.has(e)||this._consumables.set(e,[]),this._consumables.get(e).push(...t)}}function q(e){return e.replace("-",".")}function U(e,t,o){let s=o;(0,P.A)(o)&&(s=(0,N.A)({},(0,D.A)(e,t),o)),H(e,t,s)}class K extends v{name;_unsafeAttributesToRender=[];_attrs;_children;_classes;_styles;_customProperties=new Map;constructor(e,t,o,s){if(super(e),this.name=t,this._attrs=function(e){const t=(0,a.av)(e);for(const[e,o]of t)null===o?t.delete(e):"string"!=typeof o&&t.set(e,String(o));return t}(o),this._children=[],s&&this._insertChild(0,s),this._classes=new Set,this._attrs.has("class")){const e=this._attrs.get("class");Y(this._classes,e),this._attrs.delete("class")}this._styles=new $(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(e){if("class"==e)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==e){const e=this._styles.toString();return""==e?void 0:e}return this._attrs.get(e)}hasAttribute(e){return"class"==e?this._classes.size>0:"style"==e?!this._styles.isEmpty:this._attrs.has(e)}isSimilar(e){if(!(e instanceof K))return!1;if(this===e)return!0;if(this.name!=e.name)return!1;if(this._attrs.size!==e._attrs.size||this._classes.size!==e._classes.size||this._styles.size!==e._styles.size)return!1;for(const[t,o]of this._attrs)if(!e._attrs.has(t)||e._attrs.get(t)!==o)return!1;for(const t of this._classes)if(!e._classes.has(t))return!1;for(const t of this._styles.getStyleNames())if(!e._styles.has(t)||e._styles.getAsString(t)!==this._styles.getAsString(t))return!1;return!0}hasClass(...e){for(const t of e)if(!this._classes.has(t))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(e){return this._styles.getAsString(e)}getNormalizedStyle(e){return this._styles.getNormalized(e)}getStyleNames(e){return this._styles.getStyleNames(e)}hasStyle(...e){for(const t of e)if(!this._styles.has(t))return!1;return!0}findAncestor(...e){const t=new C(...e);let o=this.parent;for(;o&&!o.is("documentFragment");){if(t.match(o))return o;o=o.parent}return null}getCustomProperty(e){return this._customProperties.get(e)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const e=Array.from(this._classes).sort().join(","),t=this._styles.toString(),o=Array.from(this._attrs).map((e=>`${e[0]}="${e[1]}"`)).sort().join(" ");return this.name+(""==e?"":` class="${e}"`)+(t?` style="${t}"`:"")+(""==o?"":` ${o}`)}shouldRenderUnsafeAttribute(e){return this._unsafeAttributesToRender.includes(e)}_clone(e=!1){const t=[];if(e)for(const o of this.getChildren())t.push(o._clone(e));const o=new this.constructor(this.document,this.name,this._attrs,t);return o._classes=new Set(this._classes),o._styles.set(this._styles.getNormalized()),o._customProperties=new Map(this._customProperties),o.getFillerOffset=this.getFillerOffset,o._unsafeAttributesToRender=this._unsafeAttributesToRender,o}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,t){this._fireChange("children",this);let o=0;const s=function(e,t){if("string"==typeof t)return[new y(e,t)];(0,a.xZ)(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new y(e,t):t instanceof x?new y(e,t.data):t))}(this.document,t);for(const t of s)null!==t.parent&&t._remove(),t.parent=this,t.document=this.document,this._children.splice(e,0,t),e++,o++;return o}_removeChildren(e,t=1){this._fireChange("children",this);for(let o=e;o<e+t;o++)this._children[o].parent=null;return this._children.splice(e,t)}_setAttribute(e,t){const o=String(t);this._fireChange("attributes",this),"class"==e?Y(this._classes,o):"style"==e?this._styles.setTo(o):this._attrs.set(e,o)}_removeAttribute(e){return this._fireChange("attributes",this),"class"==e?this._classes.size>0&&(this._classes.clear(),!0):"style"==e?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(e)}_addClass(e){this._fireChange("attributes",this);for(const t of(0,a.$r)(e))this._classes.add(t)}_removeClass(e){this._fireChange("attributes",this);for(const t of(0,a.$r)(e))this._classes.delete(t)}_setStyle(e,t){this._fireChange("attributes",this),"string"!=typeof e?this._styles.set(e):this._styles.set(e,t)}_removeStyle(e){this._fireChange("attributes",this);for(const t of(0,a.$r)(e))this._styles.remove(t)}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}function Y(e,t){const o=t.split(/\s+/);e.clear(),o.forEach((t=>e.add(t)))}K.prototype.is=function(e,t){return t?t===this.name&&("element"===e||"view:element"===e):"element"===e||"view:element"===e||"node"===e||"view:node"===e};class G extends K{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=Z}}function Z(){const e=[...this.getChildren()],t=e[this.childCount-1];if(t&&t.is("element","br"))return this.childCount;for(const t of e)if(!t.is("uiElement"))return null;return this.childCount}G.prototype.is=function(e,t){return t?t===this.name&&("containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e):"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class J extends((0,a.VM)(G)){constructor(e,t,o,s){super(e,t,o,s),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(e),this.bind("isFocused").to(e,"isFocused",(t=>t&&e.selection.editableElement==this)),this.listenTo(e.selection,"change",(()=>{this.isFocused=e.isFocused&&e.selection.editableElement==this}))}destroy(){this.stopListening()}}J.prototype.is=function(e,t){return t?t===this.name&&("editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e):"editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};const X=Symbol("rootName");class Q extends J{constructor(e,t){super(e,t),this.rootName="main"}get rootName(){return this.getCustomProperty(X)}set rootName(e){this._setCustomProperty(X,e)}set _name(e){this.name=e}}Q.prototype.is=function(e,t){return t?t===this.name&&("rootElement"===e||"view:rootElement"===e||"editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e):"rootElement"===e||"view:rootElement"===e||"editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class ee{direction;boundaries;singleCharacters;shallow;ignoreElementEnd;_position;_boundaryStartParent;_boundaryEndParent;constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new a.Yb("view-tree-walker-no-start-position",null);if(e.direction&&"forward"!=e.direction&&"backward"!=e.direction)throw new a.Yb("view-tree-walker-unknown-direction",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this._position=te._createAt(e.startPosition):this._position=te._createAt(e.boundaries["backward"==e.direction?"end":"start"]),this.direction=e.direction||"forward",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(e){let t,o;do{o=this.position,t=this.next()}while(!t.done&&e(t.value));t.done||(this._position=o)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let e=this.position.clone();const t=this.position,o=e.parent;if(null===o.parent&&e.offset===o.childCount)return{done:!0,value:void 0};if(o===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let s;if(o instanceof y){if(e.isAtEnd)return this._position=te._createAfter(o),this._next();s=o.data[e.offset]}else s=o.getChild(e.offset);if(s instanceof K){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(e))return{done:!0,value:void 0};e.offset++}else e=new te(s,0);return this._position=e,this._formatReturnValue("elementStart",s,t,e,1)}if(s instanceof y){if(this.singleCharacters)return e=new te(s,0),this._position=e,this._next();let o,i=s.data.length;return s==this._boundaryEndParent?(i=this.boundaries.end.offset,o=new x(s,0,i),e=te._createAfter(o)):(o=new x(s,0,s.data.length),e.offset++),this._position=e,this._formatReturnValue("text",o,t,e,i)}if("string"==typeof s){let s;if(this.singleCharacters)s=1;else{s=(o===this._boundaryEndParent?this.boundaries.end.offset:o.data.length)-e.offset}const i=new x(o,e.offset,s);return e.offset+=s,this._position=e,this._formatReturnValue("text",i,t,e,s)}return e=te._createAfter(o),this._position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",o,t,e)}_previous(){let e=this.position.clone();const t=this.position,o=e.parent;if(null===o.parent&&0===e.offset)return{done:!0,value:void 0};if(o==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let s;if(o instanceof y){if(e.isAtStart)return this._position=te._createBefore(o),this._previous();s=o.data[e.offset-1]}else s=o.getChild(e.offset-1);if(s instanceof K)return this.shallow?(e.offset--,this._position=e,this._formatReturnValue("elementStart",s,t,e,1)):(e=new te(s,s.childCount),this._position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",s,t,e));if(s instanceof y){if(this.singleCharacters)return e=new te(s,s.data.length),this._position=e,this._previous();let o,i=s.data.length;if(s==this._boundaryStartParent){const t=this.boundaries.start.offset;o=new x(s,t,s.data.length-t),i=o.data.length,e=te._createBefore(o)}else o=new x(s,0,s.data.length),e.offset--;return this._position=e,this._formatReturnValue("text",o,t,e,i)}if("string"==typeof s){let s;if(this.singleCharacters)s=1;else{const t=o===this._boundaryStartParent?this.boundaries.start.offset:0;s=e.offset-t}e.offset-=s;const i=new x(o,e.offset,s);return this._position=e,this._formatReturnValue("text",i,t,e,s)}return e=te._createBefore(o),this._position=e,this._formatReturnValue("elementStart",o,t,e,1)}_formatReturnValue(e,t,o,s,i){return t instanceof x&&(t.offsetInText+t.data.length==t.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?o=te._createAfter(t.textNode):(s=te._createAfter(t.textNode),this._position=s)),0===t.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?o=te._createBefore(t.textNode):(s=te._createBefore(t.textNode),this._position=s))),{done:!1,value:{type:e,item:t,previousPosition:o,nextPosition:s,length:i}}}}class te extends b{parent;offset;constructor(e,t){super(),this.parent=e,this.offset=t}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const e=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===e}get root(){return this.parent.root}get editableElement(){let e=this.parent;for(;!(e instanceof J);){if(!e.parent)return null;e=e.parent}return e}getShiftedBy(e){const t=te._createAt(this),o=t.offset+e;return t.offset=o<0?0:o,t}getLastMatchingPosition(e,t={}){t.startPosition=this;const o=new ee(t);return o.skip(e),o.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const t=this.getAncestors(),o=e.getAncestors();let s=0;for(;t[s]==o[s]&&t[s];)s++;return 0===s?null:t[s-1]}isEqual(e){return this.parent==e.parent&&this.offset==e.offset}isBefore(e){return"before"==this.compareWith(e)}isAfter(e){return"after"==this.compareWith(e)}compareWith(e){if(this.root!==e.root)return"different";if(this.isEqual(e))return"same";const t=this.parent.is("node")?this.parent.getPath():[],o=e.parent.is("node")?e.parent.getPath():[];t.push(this.offset),o.push(e.offset);const s=(0,a.ww)(t,o);switch(s){case"prefix":return"before";case"extension":return"after";default:return t[s]<o[s]?"before":"after"}}getWalker(e={}){return e.startPosition=this,new ee(e)}clone(){return new te(this.parent,this.offset)}static _createAt(e,t){if(e instanceof te)return new this(e.parent,e.offset);{const o=e;if("end"==t)t=o.is("$text")?o.data.length:o.childCount;else{if("before"==t)return this._createBefore(o);if("after"==t)return this._createAfter(o);if(0!==t&&!t)throw new a.Yb("view-createpositionat-offset-required",o)}return new te(o,t)}}static _createAfter(e){if(e.is("$textProxy"))return new te(e.textNode,e.offsetInText+e.data.length);if(!e.parent)throw new a.Yb("view-position-after-root",e,{root:e});return new te(e.parent,e.index+1)}static _createBefore(e){if(e.is("$textProxy"))return new te(e.textNode,e.offsetInText);if(!e.parent)throw new a.Yb("view-position-before-root",e,{root:e});return new te(e.parent,e.index)}}te.prototype.is=function(e){return"position"===e||"view:position"===e};class oe extends b{start;end;constructor(e,t=null){super(),this.start=e.clone(),this.end=t?t.clone():e.clone()}*[Symbol.iterator](){yield*new ee({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return this.start.parent===this.end.parent}get root(){return this.start.root}getEnlarged(){let e=this.start.getLastMatchingPosition(se,{direction:"backward"}),t=this.end.getLastMatchingPosition(se);return e.parent.is("$text")&&e.isAtStart&&(e=te._createBefore(e.parent)),t.parent.is("$text")&&t.isAtEnd&&(t=te._createAfter(t.parent)),new oe(e,t)}getTrimmed(){let e=this.start.getLastMatchingPosition(se);if(e.isAfter(this.end)||e.isEqual(this.end))return new oe(e,e);let t=this.end.getLastMatchingPosition(se,{direction:"backward"});const o=e.nodeAfter,s=t.nodeBefore;return o&&o.is("$text")&&(e=new te(o,0)),s&&s.is("$text")&&(t=new te(s,s.data.length)),new oe(e,t)}isEqual(e){return this==e||this.start.isEqual(e.start)&&this.end.isEqual(e.end)}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const o=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),s=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return o&&s}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new oe(this.start,e.start)),this.containsPosition(e.end)&&t.push(new oe(e.end,this.end))):t.push(this.clone()),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,o=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(o=e.end),new oe(t,o)}return null}getWalker(e={}){return e.boundaries=this,new ee(e)}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;let e=this.start.nodeAfter,t=this.end.nodeBefore;return this.start.parent.is("$text")&&this.start.isAtEnd&&this.start.parent.nextSibling&&(e=this.start.parent.nextSibling),this.end.parent.is("$text")&&this.end.isAtStart&&this.end.parent.previousSibling&&(t=this.end.parent.previousSibling),e&&e.is("element")&&e===t?e:null}clone(){return new oe(this.start,this.end)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new ee(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new ee(e);yield t.position;for(const e of t)yield e.nextPosition}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}static _createFromParentsAndOffsets(e,t,o,s){return new this(new te(e,t),new te(o,s))}static _createFromPositionAndShift(e,t){const o=e,s=e.getShiftedBy(t);return t>0?new this(o,s):new this(s,o)}static _createIn(e){return this._createFromParentsAndOffsets(e,0,e,e.childCount)}static _createOn(e){const t=e.is("$textProxy")?e.offsetSize:1;return this._createFromPositionAndShift(te._createBefore(e),t)}}function se(e){return!(!e.item.is("attributeElement")&&!e.item.is("uiElement"))}oe.prototype.is=function(e){return"range"===e||"view:range"===e};class ie extends((0,a.Mm)(b)){_ranges;_lastRangeBackward;_isFake;_fakeSelectionLabel;constructor(...e){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",e.length&&this.setTo(...e)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.end:e.start).clone()}get focus(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.start:e.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const e of this._ranges)yield e.clone()}getFirstRange(){let e=null;for(const t of this._ranges)e&&!t.start.isBefore(e.start)||(e=t);return e?e.clone():null}getLastRange(){let e=null;for(const t of this._ranges)e&&!t.end.isAfter(e.end)||(e=t);return e?e.clone():null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}isEqual(e){if(this.isFake!=e.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=e.fakeSelectionLabel)return!1;if(this.rangeCount!=e.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let o=!1;for(const s of e._ranges)if(t.isEqual(s)){o=!0;break}if(!o)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const t=(0,a.U9)(this.getRanges());if(t!=(0,a.U9)(e.getRanges()))return!1;if(0==t)return!0;for(let t of this.getRanges()){t=t.getTrimmed();let o=!1;for(let s of e.getRanges())if(s=s.getTrimmed(),t.start.isEqual(s.start)&&t.end.isEqual(s.end)){o=!0;break}if(!o)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...e){let[t,o,s]=e;if("object"==typeof o&&(s=o,o=void 0),null===t)this._setRanges([]),this._setFakeOptions(s);else if(t instanceof ie||t instanceof ne)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof oe)this._setRanges([t],s&&s.backward),this._setFakeOptions(s);else if(t instanceof te)this._setRanges([new oe(t)]),this._setFakeOptions(s);else if(t instanceof v){const e=!!s&&!!s.backward;let i;if(void 0===o)throw new a.Yb("view-selection-setto-required-second-parameter",this);i="in"==o?oe._createIn(t):"on"==o?oe._createOn(t):new oe(te._createAt(t,o)),this._setRanges([i],e),this._setFakeOptions(s)}else{if(!(0,a.xZ)(t))throw new a.Yb("view-selection-setto-not-selectable",this);this._setRanges(t,s&&s.backward),this._setFakeOptions(s)}this.fire("change")}setFocus(e,t){if(null===this.anchor)throw new a.Yb("view-selection-setfocus-no-ranges",this);const o=te._createAt(e,t);if("same"==o.compareWith(this.focus))return;const s=this.anchor;this._ranges.pop(),"before"==o.compareWith(s)?this._addRange(new oe(o,s),!0):this._addRange(new oe(s,o)),this.fire("change")}_setRanges(e,t=!1){e=Array.from(e),this._ranges=[];for(const t of e)this._addRange(t);this._lastRangeBackward=!!t}_setFakeOptions(e={}){this._isFake=!!e.fake,this._fakeSelectionLabel=e.fake&&e.label||""}_addRange(e,t=!1){if(!(e instanceof oe))throw new a.Yb("view-selection-add-range-not-range",this);this._pushRange(e),this._lastRangeBackward=!!t}_pushRange(e){for(const t of this._ranges)if(e.isIntersecting(t))throw new a.Yb("view-selection-range-intersects",this,{addedRange:e,intersectingRange:t});this._ranges.push(new oe(e.start,e.end))}}ie.prototype.is=function(e){return"selection"===e||"view:selection"===e};class ne extends((0,a.Mm)(b)){_selection;constructor(...e){super(),this._selection=new ie,this._selection.delegate("change").to(this),e.length&&this._selection.setTo(...e)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(e){return this._selection.isEqual(e)}isSimilar(e){return this._selection.isSimilar(e)}_setTo(...e){this._selection.setTo(...e)}_setFocus(e,t){this._selection.setFocus(e,t)}}ne.prototype.is=function(e){return"selection"===e||"documentSelection"==e||"view:selection"==e||"view:documentSelection"==e};class re extends a.vY{startRange;_eventPhase;_currentTarget;constructor(e,t,o){super(e,t),this.startRange=o,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const ae=Symbol("bubbling contexts");function ce(e){return class extends e{fire(e,...t){try{const o=e instanceof a.vY?e:new a.vY(this,e),s=ue(this);if(!s.size)return;if(le(o,"capturing",this),de(s,"$capture",o,...t))return o.return;const i=o.startRange||this.selection.getFirstRange(),n=i?i.getContainedElement():null,r=!!n&&Boolean(he(s,n));let c=n||function(e){if(!e)return null;const t=e.start.parent,o=e.end.parent,s=t.getPath(),i=o.getPath();return s.length>i.length?t:o}(i);if(le(o,"atTarget",c),!r){if(de(s,"$text",o,...t))return o.return;le(o,"bubbling",c)}for(;c;){if(c.is("rootElement")){if(de(s,"$root",o,...t))return o.return}else if(c.is("element")&&de(s,c.name,o,...t))return o.return;if(de(s,c,o,...t))return o.return;c=c.parent,le(o,"bubbling",c)}return le(o,"bubbling",this),de(s,"$document",o,...t),o.return}catch(e){a.Yb.rethrowUnexpectedError(e,this)}}_addEventListener(e,t,o){const s=(0,a.$r)(o.context||"$document"),i=ue(this);for(const n of s){let s=i.get(n);s||(s=new((0,a.Mm)()),i.set(n,s)),this.listenTo(s,e,t,o)}}_removeEventListener(e,t){const o=ue(this);for(const s of o.values())this.stopListening(s,e,t)}}}{const e=ce(Object);["fire","_addEventListener","_removeEventListener"].forEach((t=>{ce[t]=e.prototype[t]}))}function le(e,t,o){e instanceof re&&(e._eventPhase=t,e._currentTarget=o)}function de(e,t,o,...s){const i="string"==typeof t?e.get(t):he(e,t);return!!i&&(i.fire(o,...s),o.stop.called)}function he(e,t){for(const[o,s]of e)if("function"==typeof o&&o(t))return s;return null}function ue(e){return e[ae]||(e[ae]=new Map),e[ae]}class me extends(ce((0,a.VM)())){selection;roots;stylesProcessor;_postFixers=new Set;constructor(e){super(),this.selection=new ne,this.roots=new a.pM({idProperty:"rootName"}),this.stylesProcessor=e,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(e="main"){return this.roots.get(e)}registerPostFixer(e){this._postFixers.add(e)}destroy(){this.roots.forEach((e=>e.destroy())),this.stopListening()}_callPostFixers(e){let t=!1;do{for(const o of this._postFixers)if(t=o(e),t)break}while(t)}}class pe extends K{static DEFAULT_PRIORITY=10;_priority=10;_id=null;_clonesGroup=null;constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=fe}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new a.Yb("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(e){return null!==this.id||null!==e.id?this.id===e.id:super.isSimilar(e)&&this.priority==e.priority}_clone(e=!1){const t=super._clone(e);return t._priority=this._priority,t._id=this._id,t}}function fe(){if(ge(this))return null;let e=this.parent;for(;e&&e.is("attributeElement");){if(ge(e)>1)return null;e=e.parent}return!e||ge(e)>1?null:this.childCount}function ge(e){return Array.from(e.getChildren()).filter((e=>!e.is("uiElement"))).length}pe.prototype.is=function(e,t){return t?t===this.name&&("attributeElement"===e||"view:attributeElement"===e||"element"===e||"view:element"===e):"attributeElement"===e||"view:attributeElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class _e extends K{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=be}_insertChild(e,t){if(t&&(t instanceof v||Array.from(t).length>0))throw new a.Yb("view-emptyelement-cannot-add",[this,t]);return 0}}function be(){return null}_e.prototype.is=function(e,t){return t?t===this.name&&("emptyElement"===e||"view:emptyElement"===e||"element"===e||"view:element"===e):"emptyElement"===e||"view:emptyElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class ke extends K{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=ve}_insertChild(e,t){if(t&&(t instanceof v||Array.from(t).length>0))throw new a.Yb("view-uielement-cannot-add",[this,t]);return 0}render(e,t){return this.toDomElement(e)}toDomElement(e){const t=e.createElement(this.name);for(const e of this.getAttributeKeys())t.setAttribute(e,this.getAttribute(e));return t}}function we(e){e.document.on("arrowKey",((t,o)=>function(e,t,o){if(t.keyCode==a.uP.arrowright){const e=t.domTarget.ownerDocument.defaultView.getSelection(),s=1==e.rangeCount&&e.getRangeAt(0).collapsed;if(s||t.shiftKey){const t=e.focusNode,i=e.focusOffset,n=o.domPositionToView(t,i);if(null===n)return;let r=!1;const a=n.getLastMatchingPosition((e=>(e.item.is("uiElement")&&(r=!0),!(!e.item.is("uiElement")&&!e.item.is("attributeElement")))));if(r){const t=o.viewPositionToDom(a);s?e.collapse(t.parent,t.offset):e.extend(t.parent,t.offset)}}}}(0,o,e.domConverter)),{priority:"low"})}function ve(){return null}ke.prototype.is=function(e,t){return t?t===this.name&&("uiElement"===e||"view:uiElement"===e||"element"===e||"view:element"===e):"uiElement"===e||"view:uiElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class ye extends K{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=xe}_insertChild(e,t){if(t&&(t instanceof v||Array.from(t).length>0))throw new a.Yb("view-rawelement-cannot-add",[this,t]);return 0}render(e,t){}}function xe(){return null}ye.prototype.is=function(e,t){return t?t===this.name&&("rawElement"===e||"view:rawElement"===e||"element"===e||"view:element"===e):"rawElement"===e||"view:rawElement"===e||e===this.name||e==="view:"+this.name||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class Ae extends((0,a.Mm)(b)){document;_children=[];_customProperties=new Map;constructor(e,t){super(),this.document=e,t&&this._insertChild(0,t)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(e){return this._customProperties.get(e)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(e){return this._insertChild(this.childCount,e)}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(e,t){this._fireChange("children",this);let o=0;const s=function(e,t){if("string"==typeof t)return[new y(e,t)];(0,a.xZ)(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new y(e,t):t instanceof x?new y(e,t.data):t))}(this.document,t);for(const t of s)null!==t.parent&&t._remove(),t.parent=this,this._children.splice(e,0,t),e++,o++;return o}_removeChildren(e,t=1){this._fireChange("children",this);for(let o=e;o<e+t;o++)this._children[o].parent=null;return this._children.splice(e,t)}_fireChange(e,t){this.fire("change:"+e,t)}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}Ae.prototype.is=function(e){return"documentFragment"===e||"view:documentFragment"===e};class Ce{document;_cloneGroups=new Map;_slotFactory=null;constructor(e){this.document=e}setSelection(...e){this.document.selection._setTo(...e)}setSelectionFocus(e,t){this.document.selection._setFocus(e,t)}createDocumentFragment(e){return new Ae(this.document,e)}createText(e){return new y(this.document,e)}createAttributeElement(e,t,o={}){const s=new pe(this.document,e,t);return"number"==typeof o.priority&&(s._priority=o.priority),o.id&&(s._id=o.id),o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}createContainerElement(e,t,o={},s={}){let i=null;(0,A.A)(o)?s=o:i=o;const n=new G(this.document,e,t,i);return s.renderUnsafeAttributes&&n._unsafeAttributesToRender.push(...s.renderUnsafeAttributes),n}createEditableElement(e,t,o={}){const s=new J(this.document,e,t);return o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}createEmptyElement(e,t,o={}){const s=new _e(this.document,e,t);return o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}createUIElement(e,t,o){const s=new ke(this.document,e,t);return o&&(s.render=o),s}createRawElement(e,t,o,s={}){const i=new ye(this.document,e,t);return o&&(i.render=o),s.renderUnsafeAttributes&&i._unsafeAttributesToRender.push(...s.renderUnsafeAttributes),i}setAttribute(e,t,o){o._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,o){(0,A.A)(e)&&void 0===o?t._setStyle(e):o._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,o){o._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}breakAttributes(e){return e instanceof te?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const t=e.parent;if(!t.is("containerElement"))throw new a.Yb("view-writer-break-non-container-element",this.document);if(!t.parent)throw new a.Yb("view-writer-break-root",this.document);if(e.isAtStart)return te._createBefore(t);if(!e.isAtEnd){const o=t._clone(!1);this.insert(te._createAfter(t),o);const s=new oe(e,te._createAt(t,"end")),i=new te(o,0);this.move(s,i)}return te._createAfter(t)}mergeAttributes(e){const t=e.offset,o=e.parent;if(o.is("$text"))return e;if(o.is("attributeElement")&&0===o.childCount){const e=o.parent,t=o.index;return o._remove(),this._removeFromClonedElementsGroup(o),this.mergeAttributes(new te(e,t))}const s=o.getChild(t-1),i=o.getChild(t);if(!s||!i)return e;if(s.is("$text")&&i.is("$text"))return Me(s,i);if(s.is("attributeElement")&&i.is("attributeElement")&&s.isSimilar(i)){const e=s.childCount;return s._appendChild(i.getChildren()),i._remove(),this._removeFromClonedElementsGroup(i),this.mergeAttributes(new te(s,e))}return e}mergeContainers(e){const t=e.nodeBefore,o=e.nodeAfter;if(!(t&&o&&t.is("containerElement")&&o.is("containerElement")))throw new a.Yb("view-writer-merge-containers-invalid-position",this.document);const s=t.getChild(t.childCount-1),i=s instanceof y?te._createAt(s,"end"):te._createAt(t,"end");return this.move(oe._createIn(o),te._createAt(t,"end")),this.remove(oe._createOn(o)),i}insert(e,t){Ve(t=(0,a.xZ)(t)?[...t]:[t],this.document);const o=t.reduce(((e,t)=>{const o=e[e.length-1],s=!t.is("uiElement");return o&&o.breakAttributes==s?o.nodes.push(t):e.push({breakAttributes:s,nodes:[t]}),e}),[]);let s=null,i=e;for(const{nodes:e,breakAttributes:t}of o){const o=this._insertNodes(i,e,t);s||(s=o.start),i=o.end}return s?new oe(s,i):new oe(e)}remove(e){const t=e instanceof oe?e:oe._createOn(e);if(je(t,this.document),t.isCollapsed)return new Ae(this.document);const{start:o,end:s}=this._breakAttributesRange(t,!0),i=o.parent,n=s.offset-o.offset,r=i._removeChildren(o.offset,n);for(const e of r)this._removeFromClonedElementsGroup(e);const a=this.mergeAttributes(o);return t.start=a,t.end=a.clone(),new Ae(this.document,r)}clear(e,t){je(e,this.document);const o=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const s of o){const o=s.item;let i;if(o.is("element")&&t.isSimilar(o))i=oe._createOn(o);else if(!s.nextPosition.isAfter(e.start)&&o.is("$textProxy")){const e=o.getAncestors().find((e=>e.is("element")&&t.isSimilar(e)));e&&(i=oe._createIn(e))}i&&(i.end.isAfter(e.end)&&(i.end=e.end),i.start.isBefore(e.start)&&(i.start=e.start),this.remove(i))}}move(e,t){let o;if(t.isAfter(e.end)){const s=(t=this._breakAttributes(t,!0)).parent,i=s.childCount;e=this._breakAttributesRange(e,!0),o=this.remove(e),t.offset+=s.childCount-i}else o=this.remove(e);return this.insert(t,o)}wrap(e,t){if(!(t instanceof pe))throw new a.Yb("view-writer-wrap-invalid-attribute",this.document);if(je(e,this.document),e.isCollapsed){let s=e.start;s.parent.is("element")&&(o=s.parent,!Array.from(o.getChildren()).some((e=>!e.is("uiElement"))))&&(s=s.getLastMatchingPosition((e=>e.item.is("uiElement")))),s=this._wrapPosition(s,t);const i=this.document.selection;return i.isCollapsed&&i.getFirstPosition().isEqual(e.start)&&this.setSelection(s),new oe(s)}return this._wrapRange(e,t);var o}unwrap(e,t){if(!(t instanceof pe))throw new a.Yb("view-writer-unwrap-invalid-attribute",this.document);if(je(e,this.document),e.isCollapsed)return e;const{start:o,end:s}=this._breakAttributesRange(e,!0),i=o.parent,n=this._unwrapChildren(i,o.offset,s.offset,t),r=this.mergeAttributes(n.start);r.isEqual(n.start)||n.end.offset--;const c=this.mergeAttributes(n.end);return new oe(r,c)}rename(e,t){const o=new G(this.document,e,t.getAttributes());return this.insert(te._createAfter(t),o),this.move(oe._createIn(t),te._createAt(o,0)),this.remove(oe._createOn(t)),o}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,t){return te._createAt(e,t)}createPositionAfter(e){return te._createAfter(e)}createPositionBefore(e){return te._createBefore(e)}createRange(e,t){return new oe(e,t)}createRangeOn(e){return oe._createOn(e)}createRangeIn(e){return oe._createIn(e)}createSelection(...e){return new ie(...e)}createSlot(e="children"){if(!this._slotFactory)throw new a.Yb("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,e)}_registerSlotFactory(e){this._slotFactory=e}_clearSlotFactory(){this._slotFactory=null}_insertNodes(e,t,o){let s,i;if(s=o?Te(e):e.parent.is("$text")?e.parent.parent:e.parent,!s)throw new a.Yb("view-writer-invalid-position-container",this.document);i=o?this._breakAttributes(e,!0):e.parent.is("$text")?Se(e):e;const n=s._insertChild(i.offset,t);for(const e of t)this._addToClonedElementsGroup(e);const r=i.getShiftedBy(n),c=this.mergeAttributes(i);c.isEqual(i)||r.offset--;const l=this.mergeAttributes(r);return new oe(c,l)}_wrapChildren(e,t,o,s){let i=t;const n=[];for(;i<o;){const t=e.getChild(i),o=t.is("$text"),r=t.is("attributeElement");if(r&&this._wrapAttributeElement(s,t))n.push(new te(e,i));else if(o||!r||Ee(s,t)){const o=s._clone();t._remove(),o._appendChild(t),e._insertChild(i,o),this._addToClonedElementsGroup(o),n.push(new te(e,i))}else this._wrapChildren(t,0,t.childCount,s);i++}let r=0;for(const e of n){if(e.offset-=r,e.offset==t)continue;this.mergeAttributes(e).isEqual(e)||(r++,o--)}return oe._createFromParentsAndOffsets(e,t,e,o)}_unwrapChildren(e,t,o,s){let i=t;const n=[];for(;i<o;){const t=e.getChild(i);if(t.is("attributeElement"))if(t.isSimilar(s)){const s=t.getChildren(),r=t.childCount;t._remove(),e._insertChild(i,s),this._removeFromClonedElementsGroup(t),n.push(new te(e,i),new te(e,i+r)),i+=r,o+=r-1}else this._unwrapAttributeElement(s,t)?(n.push(new te(e,i),new te(e,i+1)),i++):(this._unwrapChildren(t,0,t.childCount,s),i++);else i++}let r=0;for(const e of n){if(e.offset-=r,e.offset==t||e.offset==o)continue;this.mergeAttributes(e).isEqual(e)||(r++,o--)}return oe._createFromParentsAndOffsets(e,t,e,o)}_wrapRange(e,t){const{start:o,end:s}=this._breakAttributesRange(e,!0),i=o.parent,n=this._wrapChildren(i,o.offset,s.offset,t),r=this.mergeAttributes(n.start);r.isEqual(n.start)||n.end.offset--;const a=this.mergeAttributes(n.end);return new oe(r,a)}_wrapPosition(e,t){if(t.isSimilar(e.parent))return Pe(e.clone());e.parent.is("$text")&&(e=Se(e));const o=this.createAttributeElement("_wrapPosition-fake-element");o._priority=Number.POSITIVE_INFINITY,o.isSimilar=()=>!1,e.parent._insertChild(e.offset,o);const s=new oe(e,e.getShiftedBy(1));this.wrap(s,t);const i=new te(o.parent,o.index);o._remove();const n=i.nodeBefore,r=i.nodeAfter;return n instanceof y&&r instanceof y?Me(n,r):Pe(i)}_wrapAttributeElement(e,t){if(!Ie(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const o of e.getAttributeKeys())if("class"!==o&&"style"!==o&&t.hasAttribute(o)&&t.getAttribute(o)!==e.getAttribute(o))return!1;for(const o of e.getStyleNames())if(t.hasStyle(o)&&t.getStyle(o)!==e.getStyle(o))return!1;for(const o of e.getAttributeKeys())"class"!==o&&"style"!==o&&(t.hasAttribute(o)||this.setAttribute(o,e.getAttribute(o),t));for(const o of e.getStyleNames())t.hasStyle(o)||this.setStyle(o,e.getStyle(o),t);for(const o of e.getClassNames())t.hasClass(o)||this.addClass(o,t);return!0}_unwrapAttributeElement(e,t){if(!Ie(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const o of e.getAttributeKeys())if("class"!==o&&"style"!==o&&(!t.hasAttribute(o)||t.getAttribute(o)!==e.getAttribute(o)))return!1;if(!t.hasClass(...e.getClassNames()))return!1;for(const o of e.getStyleNames())if(!t.hasStyle(o)||t.getStyle(o)!==e.getStyle(o))return!1;for(const o of e.getAttributeKeys())"class"!==o&&"style"!==o&&this.removeAttribute(o,t);return this.removeClass(Array.from(e.getClassNames()),t),this.removeStyle(Array.from(e.getStyleNames()),t),!0}_breakAttributesRange(e,t=!1){const o=e.start,s=e.end;if(je(e,this.document),e.isCollapsed){const o=this._breakAttributes(e.start,t);return new oe(o,o)}const i=this._breakAttributes(s,t),n=i.parent.childCount,r=this._breakAttributes(o,t);return i.offset+=i.parent.childCount-n,new oe(r,i)}_breakAttributes(e,t=!1){const o=e.offset,s=e.parent;if(e.parent.is("emptyElement"))throw new a.Yb("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new a.Yb("view-writer-cannot-break-ui-element",this.document);if(e.parent.is("rawElement"))throw new a.Yb("view-writer-cannot-break-raw-element",this.document);if(!t&&s.is("$text")&&Re(s.parent))return e.clone();if(Re(s))return e.clone();if(s.is("$text"))return this._breakAttributes(Se(e),t);if(o==s.childCount){const e=new te(s.parent,s.index+1);return this._breakAttributes(e,t)}if(0===o){const e=new te(s.parent,s.index);return this._breakAttributes(e,t)}{const e=s.index+1,i=s._clone();s.parent._insertChild(e,i),this._addToClonedElementsGroup(i);const n=s.childCount-o,r=s._removeChildren(o,n);i._appendChild(r);const a=new te(s.parent,e);return this._breakAttributes(a,t)}}_addToClonedElementsGroup(e){if(!e.root.is("rootElement"))return;if(e.is("element"))for(const t of e.getChildren())this._addToClonedElementsGroup(t);const t=e.id;if(!t)return;let o=this._cloneGroups.get(t);o||(o=new Set,this._cloneGroups.set(t,o)),o.add(e),e._clonesGroup=o}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const t of e.getChildren())this._removeFromClonedElementsGroup(t);const t=e.id;if(!t)return;const o=this._cloneGroups.get(t);o&&o.delete(e)}}function Te(e){let t=e.parent;for(;!Re(t);){if(!t)return;t=t.parent}return t}function Ee(e,t){return e.priority<t.priority||!(e.priority>t.priority)&&e.getIdentity()<t.getIdentity()}function Pe(e){const t=e.nodeBefore;if(t&&t.is("$text"))return new te(t,t.data.length);const o=e.nodeAfter;return o&&o.is("$text")?new te(o,0):e}function Se(e){if(e.offset==e.parent.data.length)return new te(e.parent.parent,e.parent.index+1);if(0===e.offset)return new te(e.parent.parent,e.parent.index);const t=e.parent.data.slice(e.offset);return e.parent._data=e.parent.data.slice(0,e.offset),e.parent.parent._insertChild(e.parent.index+1,new y(e.root.document,t)),new te(e.parent.parent,e.parent.index+1)}function Me(e,t){const o=e.data.length;return e._data+=t.data,t._remove(),new te(e,o)}const Oe=[y,pe,G,_e,ye,ke];function Ve(e,t){for(const o of e){if(!Oe.some((e=>o instanceof e)))throw new a.Yb("view-writer-insert-invalid-node-type",t);o.is("$text")||Ve(o.getChildren(),t)}}function Re(e){return e&&(e.is("containerElement")||e.is("documentFragment"))}function je(e,t){const o=Te(e.start),s=Te(e.end);if(!o||!s||o!==s)throw new a.Yb("view-writer-invalid-range-container",t)}function Ie(e,t){return null===e.id&&null===t.id}const Be=e=>e.createTextNode(" "),De=e=>{const t=e.createElement("span");return t.dataset.ckeFiller="true",t.innerText=" ",t},Ne=e=>{const t=e.createElement("br");return t.dataset.ckeFiller="true",t},Fe="â ".repeat(7);function Le(e){return"string"==typeof e?e.substr(0,7)===Fe:(0,a.KH)(e)&&e.data.substr(0,7)===Fe}function ze(e){return 7==e.data.length&&Le(e)}function He(e){const t="string"==typeof e?e:e.data;return Le(e)?t.slice(7):t}function $e(e,t){if(t.keyCode==a.uP.arrowleft){const e=t.domTarget.ownerDocument.defaultView.getSelection();if(1==e.rangeCount&&e.getRangeAt(0).collapsed){const t=e.getRangeAt(0).startContainer,o=e.getRangeAt(0).startOffset;Le(t)&&o<=7&&e.collapse(t,0)}}}var We=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/renderer.css"),qe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i()(We.A,qe);We.A.locals;class Ue extends((0,a.VM)()){domDocuments=new Set;domConverter;markedAttributes=new Set;markedChildren=new Set;markedTexts=new Set;selection;_inlineFiller=null;_fakeSelectionContainer=null;constructor(e,t){super(),this.domConverter=e,this.selection=t,this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1),a._K.isBlink&&!a._K.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()}))}markToSync(e,t){if("text"===e)this.domConverter.mapViewToDom(t.parent)&&this.markedTexts.add(t);else{if(!this.domConverter.mapViewToDom(t))return;if("attributes"===e)this.markedAttributes.add(t);else{if("children"!==e){throw new a.Yb("view-renderer-unknown-type",this)}this.markedChildren.add(t)}}}render(){if(this.isComposing&&!a._K.isAndroid)return;let e=null;const t=!(a._K.isBlink&&!a._K.isAndroid)||!this.isSelecting;for(const e of this.markedChildren)this._updateChildrenMappings(e);t?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?e=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(e=this.selection.getFirstPosition(),this.markedChildren.add(e.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(e=this.domConverter.domPositionToView(this._inlineFiller),e&&e.parent.is("$text")&&(e=te._createBefore(e.parent)));for(const e of this.markedAttributes)this._updateAttrs(e);for(const t of this.markedChildren)this._updateChildren(t,{inlineFillerPosition:e});for(const t of this.markedTexts)!this.markedChildren.has(t.parent)&&this.domConverter.mapViewToDom(t.parent)&&this._updateText(t,{inlineFillerPosition:e});if(t)if(e){const t=this.domConverter.viewPositionToDom(e),o=t.parent.ownerDocument;Le(t.parent)?this._inlineFiller=t.parent:this._inlineFiller=Ke(o,t.parent,t.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const o=Array.from(t.childNodes),s=Array.from(this.domConverter.viewChildrenToDom(e,{withChildren:!1})),i=this._diffNodeLists(o,s),n=this._findUpdateActions(i,o,s,Ye);if(-1!==n.indexOf("update")){const t={equal:0,insert:0,delete:0};for(const i of n)if("update"===i){const i=t.equal+t.insert,n=t.equal+t.delete,r=e.getChild(i);!r||r.is("uiElement")||r.is("rawElement")||this._updateElementMappings(r,o[n]),(0,a.TF)(s[i]),t.equal++}else t[i]++}}_updateElementMappings(e,t){this.domConverter.unbindDomElement(t),this.domConverter.bindElements(t,e),this.markedChildren.add(e),this.markedAttributes.add(e)}_getInlineFillerPosition(){const e=this.selection.getFirstPosition();return e.parent.is("$text")?te._createBefore(e.parent):e}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=this.domConverter.viewPositionToDom(e);return!!(t&&(0,a.KH)(t.parent)&&Le(t.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!Le(e))throw new a.Yb("view-renderer-filler-was-lost",this);ze(e)?e.remove():e.data=e.data.substr(7),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=e.parent,o=e.offset;if(!this.domConverter.mapViewToDom(t.root))return!1;if(!t.is("element"))return!1;if(!function(e){if("false"==e.getAttribute("contenteditable"))return!1;const t=e.findAncestor((e=>e.hasAttribute("contenteditable")));return!t||"true"==t.getAttribute("contenteditable")}(t))return!1;const s=e.nodeBefore,i=e.nodeAfter;return!(s instanceof y||i instanceof y)&&(!!(o!==t.getFillerOffset()||s&&s.is("element","br"))&&(!a._K.isAndroid||!s&&!i))}_updateText(e,t){const o=this.domConverter.findCorrespondingDomText(e);let s=this.domConverter.viewToDom(e).data;const i=t.inlineFillerPosition;i&&i.parent==e.parent&&i.offset==e.index&&(s=Fe+s),this._updateTextNode(o,s)}_updateAttrs(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const o=Array.from(t.attributes).map((e=>e.name)),s=e.getAttributeKeys();for(const o of s)this.domConverter.setDomElementAttribute(t,o,e.getAttribute(o),e);for(const s of o)e.hasAttribute(s)||this.domConverter.removeDomElementAttribute(t,s)}_updateChildren(e,t){const o=this.domConverter.mapViewToDom(e);if(!o)return;if(a._K.isAndroid){let e=null;for(const t of Array.from(o.childNodes)){if(e&&(0,a.KH)(e)&&(0,a.KH)(t)){o.normalize();break}e=t}}const s=t.inlineFillerPosition,i=o.childNodes,n=Array.from(this.domConverter.viewChildrenToDom(e,{bind:!0}));s&&s.parent===e&&Ke(o.ownerDocument,n,s.offset);const r=this._diffNodeLists(i,n),c=this._findUpdateActions(r,i,n,Ge);let l=0;const d=new Set;for(const e of c)"delete"===e?(d.add(i[l]),(0,a.TF)(i[l])):"equal"!==e&&"update"!==e||l++;l=0;for(const e of c)"insert"===e?((0,a.PT)(o,l,n[l]),l++):"update"===e?(this._updateTextNode(i[l],n[l].data),l++):"equal"===e&&(this._markDescendantTextToSync(this.domConverter.domToView(n[l])),l++);for(const e of d)e.parentNode||this.domConverter.unbindDomElement(e)}_diffNodeLists(e,t){return e=function(e,t){const o=Array.from(e);if(0==o.length||!t)return o;const s=o[o.length-1];s==t&&o.pop();return o}(e,this._fakeSelectionContainer),(0,a.Ui)(e,t,Ze.bind(null,this.domConverter))}_findUpdateActions(e,t,o,s){if(-1===e.indexOf("insert")||-1===e.indexOf("delete"))return e;let i=[],n=[],r=[];const c={equal:0,insert:0,delete:0};for(const l of e)"insert"===l?r.push(o[c.equal+c.insert]):"delete"===l?n.push(t[c.equal+c.delete]):(i=i.concat((0,a.Ui)(n,r,s).map((e=>"equal"===e?"update":e))),i.push("equal"),n=[],r=[]),c[l]++;return i.concat((0,a.Ui)(n,r,s).map((e=>"equal"===e?"update":e)))}_updateTextNode(e,t){const o=e.data;o!=t&&(a._K.isAndroid&&this.isComposing&&o.replace(/\u00A0/g," ")==t.replace(/\u00A0/g," ")||this._updateTextNodeInternal(e,t))}_updateTextNodeInternal(e,t){const o=(0,a.Mr)(e.data,t);for(const t of o)"insert"===t.type?e.insertData(t.index,t.values.join("")):e.deleteData(t.index,t.howMany)}_markDescendantTextToSync(e){if(e)if(e.is("$text"))this.markedTexts.add(e);else if(e.is("element"))for(const t of e.getChildren())this._markDescendantTextToSync(t)}_updateSelection(){if(a._K.isBlink&&!a._K.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const e=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&e&&(this.selection.isFake?this._updateFakeSelection(e):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(e)):this.isComposing&&a._K.isAndroid||this._updateDomSelection(e))}_updateFakeSelection(e){const t=e.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(e){const t=e.createElement("div");return t.className="ck-fake-selection-container",Object.assign(t.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),t.textContent=" ",t}(t));const o=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(o,this.selection),!this._fakeSelectionNeedsUpdate(e))return;o.parentElement&&o.parentElement==e||e.appendChild(o),o.textContent=this.selection.fakeSelectionLabel||" ";const s=t.getSelection(),i=t.createRange();s.removeAllRanges(),i.selectNodeContents(o),s.addRange(i)}_updateDomSelection(e){const t=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(t))return;const o=this.domConverter.viewPositionToDom(this.selection.anchor),s=this.domConverter.viewPositionToDom(this.selection.focus);t.setBaseAndExtent(o.parent,o.offset,s.parent,s.offset),a._K.isGecko&&function(e,t){let o=e.parent,s=e.offset;(0,a.KH)(o)&&ze(o)&&(s=(0,a.qh)(o)+1,o=o.parentNode);if(o.nodeType!=Node.ELEMENT_NODE||s!=o.childNodes.length-1)return;const i=o.childNodes[s];i&&"BR"==i.tagName&&t.addRange(t.getRangeAt(0))}(s,t)}_domSelectionNeedsUpdate(e){if(!this.domConverter.isDomSelectionCorrect(e))return!0;const t=e&&this.domConverter.domSelectionToView(e);return(!t||!this.selection.isEqual(t))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(t))}_fakeSelectionNeedsUpdate(e){const t=this._fakeSelectionContainer,o=e.ownerDocument.getSelection();return!t||t.parentElement!==e||(o.anchorNode!==t&&!t.contains(o.anchorNode)||t.textContent!==this.selection.fakeSelectionLabel)}_removeDomSelection(){for(const e of this.domDocuments){const t=e.getSelection();if(t.rangeCount){const o=e.activeElement,s=this.domConverter.mapDomToView(o);o&&s&&t.removeAllRanges()}}}_removeFakeSelection(){const e=this._fakeSelectionContainer;e&&e.remove()}_updateFocus(){if(this.isFocused){const e=this.selection.editableElement;e&&this.domConverter.focus(e)}}}function Ke(e,t,o){const s=t instanceof Array?t:t.childNodes,i=s[o];if((0,a.KH)(i))return i.data=Fe+i.data,i;{const i=e.createTextNode(Fe);return Array.isArray(t)?s.splice(o,0,i):(0,a.PT)(t,o,i),i}}function Ye(e,t){return(0,a.Ll)(e)&&(0,a.Ll)(t)&&!(0,a.KH)(e)&&!(0,a.KH)(t)&&!(0,a.Cn)(e)&&!(0,a.Cn)(t)&&e.tagName.toLowerCase()===t.tagName.toLowerCase()}function Ge(e,t){return(0,a.Ll)(e)&&(0,a.Ll)(t)&&(0,a.KH)(e)&&(0,a.KH)(t)}function Ze(e,t,o){return t===o||((0,a.KH)(t)&&(0,a.KH)(o)?t.data===o.data:!(!e.isBlockFiller(t)||!e.isBlockFiller(o)))}const Je=Ne(a.Sf.document),Xe=Be(a.Sf.document),Qe=De(a.Sf.document),et="data-ck-unsafe-attribute-",tt="data-ck-unsafe-element";class ot{document;renderingMode;blockFillerMode;preElements;blockElements;inlineObjectElements;unsafeElements;_domDocument;_domToViewMapping=new WeakMap;_viewToDomMapping=new WeakMap;_fakeSelectionMapping=new WeakMap;_rawContentElementMatcher=new C;_inlineObjectElementMatcher=new C;_elementsWithTemporaryCustomProperties=new Set;constructor(e,{blockFillerMode:t,renderingMode:o="editing"}={}){this.document=e,this.renderingMode=o,this.blockFillerMode=t||("editing"===o?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?a.Sf.document:a.Sf.document.implementation.createHTMLDocument("")}bindFakeSelection(e,t){this._fakeSelectionMapping.set(e,new ie(t))}fakeSelectionToView(e){return this._fakeSelectionMapping.get(e)}bindElements(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}unbindDomElement(e){const t=this._domToViewMapping.get(e);if(t){this._domToViewMapping.delete(e),this._viewToDomMapping.delete(t);for(const t of Array.from(e.children))this.unbindDomElement(t)}}bindDocumentFragments(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}shouldRenderAttribute(e,t,o){return"data"===this.renderingMode||!(e=e.toLowerCase()).startsWith("on")&&(("srcdoc"!==e||!t.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===o&&("src"===e||"srcset"===e)||("source"===o&&"srcset"===e||!t.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))))}setContentOf(e,t){if("data"===this.renderingMode)return void(e.innerHTML=t);const o=(new DOMParser).parseFromString(t,"text/html"),s=o.createDocumentFragment(),i=o.body.childNodes;for(;i.length>0;)s.appendChild(i[0]);const n=o.createTreeWalker(s,NodeFilter.SHOW_ELEMENT),r=[];let a;for(;a=n.nextNode();)r.push(a);for(const e of r){for(const t of e.getAttributeNames())this.setDomElementAttribute(e,t,e.getAttribute(t));const t=e.tagName.toLowerCase();this._shouldRenameElement(t)&&(nt(t),e.replaceWith(this._createReplacementDomElement(t,e)))}for(;e.firstChild;)e.firstChild.remove();e.append(s)}viewToDom(e,t={}){if(e.is("$text")){const t=this._processDataFromViewText(e);return this._domDocument.createTextNode(t)}{const o=e;if(this.mapViewToDom(o)){if(!o.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(o);this._elementsWithTemporaryCustomProperties.add(o)}let s;if(o.is("documentFragment"))s=this._domDocument.createDocumentFragment(),t.bind&&this.bindDocumentFragments(s,o);else{if(o.is("uiElement"))return s="$comment"===o.name?this._domDocument.createComment(o.getCustomProperty("$rawContent")):o.render(this._domDocument,this),t.bind&&this.bindElements(s,o),s;this._shouldRenameElement(o.name)?(nt(o.name),s=this._createReplacementDomElement(o.name)):s=o.hasAttribute("xmlns")?this._domDocument.createElementNS(o.getAttribute("xmlns"),o.name):this._domDocument.createElement(o.name),o.is("rawElement")&&o.render(s,this),t.bind&&this.bindElements(s,o);for(const e of o.getAttributeKeys())this.setDomElementAttribute(s,e,o.getAttribute(e),o)}if(!1!==t.withChildren)for(const e of this.viewChildrenToDom(o,t))s instanceof HTMLTemplateElement?s.content.appendChild(e):s.appendChild(e);return s}}setDomElementAttribute(e,t,o,s){const i=this.shouldRenderAttribute(t,o,e.tagName.toLowerCase())||s&&s.shouldRenderUnsafeAttribute(t);i||(0,a.FF)("domconverter-unsafe-attribute-detected",{domElement:e,key:t,value:o}),(0,a.i8)(t)?(e.hasAttribute(t)&&!i?e.removeAttribute(t):e.hasAttribute(et+t)&&i&&e.removeAttribute(et+t),e.setAttribute(i?t:et+t,o)):(0,a.FF)("domconverter-invalid-attribute-detected",{domElement:e,key:t,value:o})}removeDomElementAttribute(e,t){t!=tt&&(e.removeAttribute(t),e.removeAttribute(et+t))}*viewChildrenToDom(e,t={}){const o=e.getFillerOffset&&e.getFillerOffset();let s=0;for(const i of e.getChildren()){o===s&&(yield this._getBlockFiller());const e=i.is("element")&&!!i.getCustomProperty("dataPipeline:transparentRendering")&&!(0,a.$1)(i.getAttributes());if(e&&"data"==this.renderingMode)if(i.is("rawElement")){const e=this._domDocument.createElement(i.name);i.render(e,this),yield*[...e.childNodes]}else yield*this.viewChildrenToDom(i,t);else e&&(0,a.FF)("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:i}),yield this.viewToDom(i,t);s++}o===s&&(yield this._getBlockFiller())}viewRangeToDom(e){const t=this.viewPositionToDom(e.start),o=this.viewPositionToDom(e.end),s=this._domDocument.createRange();return s.setStart(t.parent,t.offset),s.setEnd(o.parent,o.offset),s}viewPositionToDom(e){const t=e.parent;if(t.is("$text")){const o=this.findCorrespondingDomText(t);if(!o)return null;let s=e.offset;return Le(o)&&(s+=7),{parent:o,offset:s}}{let o,s,i;if(0===e.offset){if(o=this.mapViewToDom(t),!o)return null;i=o.childNodes[0]}else{const t=e.nodeBefore;if(s=t.is("$text")?this.findCorrespondingDomText(t):this.mapViewToDom(t),!s)return null;o=s.parentNode,i=s.nextSibling}if((0,a.KH)(i)&&Le(i))return{parent:i,offset:7};return{parent:o,offset:s?(0,a.qh)(s)+1:0}}}domToView(e,t={}){const o=[],s=this._domToView(e,t,o),i=s.next().value;return i?(s.next(),this._processDomInlineNodes(null,o,t),i.is("$text")&&0==i.data.length?null:i):null}*domChildrenToView(e,t={},o=[]){let s=[];s=e instanceof HTMLTemplateElement?[...e.content.childNodes]:[...e.childNodes];for(let i=0;i<s.length;i++){const n=s[i],r=this._domToView(n,t,o),a=r.next().value;null!==a&&(this._isBlockViewElement(a)&&this._processDomInlineNodes(e,o,t),yield a,r.next())}this._processDomInlineNodes(e,o,t)}domSelectionToView(e){if(function(e){if(!a._K.isGecko)return!1;if(!e.rangeCount)return!1;const t=e.getRangeAt(0).startContainer;try{Object.prototype.toString.call(t)}catch(e){return!0}return!1}(e))return new ie([]);if(1===e.rangeCount){let t=e.getRangeAt(0).startContainer;(0,a.KH)(t)&&(t=t.parentNode);const o=this.fakeSelectionToView(t);if(o)return o}const t=this.isDomSelectionBackward(e),o=[];for(let t=0;t<e.rangeCount;t++){const s=e.getRangeAt(t),i=this.domRangeToView(s);i&&o.push(i)}return new ie(o,{backward:t})}domRangeToView(e){const t=this.domPositionToView(e.startContainer,e.startOffset),o=this.domPositionToView(e.endContainer,e.endOffset);return t&&o?new oe(t,o):null}domPositionToView(e,t=0){if(this.isBlockFiller(e))return this.domPositionToView(e.parentNode,(0,a.qh)(e));const o=this.mapDomToView(e);if(o&&(o.is("uiElement")||o.is("rawElement")))return te._createBefore(o);if((0,a.KH)(e)){if(ze(e))return this.domPositionToView(e.parentNode,(0,a.qh)(e));const o=this.findCorrespondingViewText(e);let s=t;return o?(Le(e)&&(s-=7,s=s<0?0:s),new te(o,s)):null}if(0===t){const t=this.mapDomToView(e);if(t)return new te(t,0)}else{const o=e.childNodes[t-1];if((0,a.KH)(o)&&ze(o)||o&&this.isBlockFiller(o))return this.domPositionToView(o.parentNode,(0,a.qh)(o));const s=(0,a.KH)(o)?this.findCorrespondingViewText(o):this.mapDomToView(o);if(s&&s.parent)return new te(s.parent,s.index+1)}return null}mapDomToView(e){return this.getHostViewElement(e)||this._domToViewMapping.get(e)}findCorrespondingViewText(e){if(ze(e))return null;const t=this.getHostViewElement(e);if(t)return t;const o=e.previousSibling;if(o){if(!this.isElement(o))return null;const e=this.mapDomToView(o);if(e){const t=e.nextSibling;return t instanceof y?t:null}}else{const t=this.mapDomToView(e.parentNode);if(t){const e=t.getChild(0);return e instanceof y?e:null}}return null}mapViewToDom(e){return this._viewToDomMapping.get(e)}findCorrespondingDomText(e){const t=e.previousSibling;return t&&this.mapViewToDom(t)?this.mapViewToDom(t).nextSibling:!t&&e.parent&&this.mapViewToDom(e.parent)?this.mapViewToDom(e.parent).childNodes[0]:null}focus(e){const t=this.mapViewToDom(e);if(t&&t.ownerDocument.activeElement!==t){const{scrollX:e,scrollY:o}=a.Sf.window,s=[];st(t,(e=>{const{scrollLeft:t,scrollTop:o}=e;s.push([t,o])})),t.focus(),st(t,(e=>{const[t,o]=s.shift();e.scrollLeft=t,e.scrollTop=o})),a.Sf.window.scrollTo(e,o)}}_clearDomSelection(){const e=this.mapViewToDom(this.document.selection.editableElement);if(!e)return;const t=e.ownerDocument.defaultView.getSelection(),o=this.domSelectionToView(t);o&&o.rangeCount>0&&t.removeAllRanges()}isElement(e){return e&&e.nodeType==Node.ELEMENT_NODE}isDocumentFragment(e){return e&&e.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(e){return"br"==this.blockFillerMode?e.isEqualNode(Je):!("BR"!==e.tagName||!it(e,this.blockElements)||1!==e.parentNode.childNodes.length)||(e.isEqualNode(Qe)||function(e,t){const o=e.isEqualNode(Xe);return o&&it(e,t)&&1===e.parentNode.childNodes.length}(e,this.blockElements))}isDomSelectionBackward(e){if(e.isCollapsed)return!1;const t=this._domDocument.createRange();try{t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset)}catch(e){return!1}const o=t.collapsed;return t.detach(),o}getHostViewElement(e){const t=(0,a.DS)(e);for(t.pop();t.length;){const e=t.pop(),o=this._domToViewMapping.get(e);if(o&&(o.is("uiElement")||o.is("rawElement")))return o}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}registerRawContentMatcher(e){this._rawContentElementMatcher.add(e)}registerInlineObjectMatcher(e){this._inlineObjectElementMatcher.add(e)}_clearTemporaryCustomProperties(){for(const e of this._elementsWithTemporaryCustomProperties)e._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return Be(this._domDocument);case"markedNbsp":return De(this._domDocument);case"br":return Ne(this._domDocument)}}_isDomSelectionPositionCorrect(e,t){if((0,a.KH)(e)&&Le(e)&&t<7)return!1;if(this.isElement(e)&&Le(e.childNodes[t]))return!1;const o=this.mapDomToView(e);return!o||!o.is("uiElement")&&!o.is("rawElement")}*_domToView(e,t,o){if(this.isBlockFiller(e))return null;const s=this.getHostViewElement(e);if(s)return s;if((0,a.Cn)(e)&&t.skipComments)return null;if((0,a.KH)(e)){if(ze(e))return null;{const t=e.data;if(""===t)return null;const s=new y(this.document,t);return o.push(s),s}}{let s=this.mapDomToView(e);if(s)return this._isInlineObjectElement(s)&&o.push(s),s;if(this.isDocumentFragment(e))s=new Ae(this.document),t.bind&&this.bindDocumentFragments(e,s);else{s=this._createViewElement(e,t),t.bind&&this.bindElements(e,s);const i=e.attributes;if(i)for(let e=i.length,t=0;t<e;t++)s._setAttribute(i[t].name,i[t].value);if(this._isViewElementWithRawContent(s,t))return s._setCustomProperty("$rawContent",e.innerHTML),this._isBlockViewElement(s)||o.push(s),s;if((0,a.Cn)(e))return s._setCustomProperty("$rawContent",e.data),s}yield s;const i=[];if(!1!==t.withChildren)for(const o of this.domChildrenToView(e,t,i))s._appendChild(o);if(this._isInlineObjectElement(s))o.push(s);else for(const e of i)o.push(e)}}_processDomInlineNodes(e,t,o){if(!t.length)return;if(e&&!this.isDocumentFragment(e)&&!this._isBlockDomElement(e))return;let s=!1;for(let e=0;e<t.length;e++){const i=t[e];if(!i.is("$text")){s=!1;continue}let n,r=!1;if(this._isPreFormatted(i))n=He(i.data);else{n=i.data.replace(/[ \n\t\r]{1,}/g," "),r=/[^\S\u00A0]/.test(n.charAt(n.length-1));const a=e>0?t[e-1]:null,c=e+1<t.length?t[e+1]:null,l=!a||a.is("element")&&"br"==a.name||s,d=!c&&!Le(i.data);!1!==o.withChildren&&(l&&(n=n.replace(/^ /,"")),d&&(n=n.replace(/ $/,""))),n=He(n),n=n.replace(/ \u00A0/g," ");const h=c&&c.is("element")&&"br"!=c.name,u=c&&c.is("$text")&&" "==c.data.charAt(0);(/[ \u00A0]\u00A0$/.test(n)||!c||h||u)&&(n=n.replace(/\u00A0$/," ")),(l||a&&a.is("element")&&"br"!=a.name)&&(n=n.replace(/^\u00A0/," "))}0==n.length&&i.parent?(i._remove(),t.splice(e,1),e--):(i._data=n,s=r)}t.length=0}_processDataFromViewText(e){let t=e.data;if(this._isPreFormatted(e))return t;if(" "==t.charAt(0)){const o=this._getTouchingInlineViewNode(e,!1);!(o&&o.is("$textProxy")&&this._nodeEndsWithSpace(o))&&o||(t=" "+t.substr(1))}if(" "==t.charAt(t.length-1)){const o=this._getTouchingInlineViewNode(e,!0),s=o&&o.is("$textProxy")&&" "==o.data.charAt(0);" "!=t.charAt(t.length-2)&&o&&!s||(t=t.substr(0,t.length-1)+" ")}return t.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(e){if(this._isPreFormatted(e))return!1;const t=this._processDataFromViewText(e);return" "==t.charAt(t.length-1)}_isPreFormatted(e){if(function(e,t){return e.getAncestors().some((e=>e.is("element")&&t.includes(e.name)))}(e,this.preElements))return!0;for(const t of e.getAncestors({parentFirst:!0}))if(t.is("element")&&t.hasStyle("white-space")&&"inherit"!==t.getStyle("white-space"))return["pre","pre-wrap","break-spaces"].includes(t.getStyle("white-space"));return!1}_getTouchingInlineViewNode(e,t){const o=new ee({startPosition:t?te._createAfter(e):te._createBefore(e),direction:t?"forward":"backward"});for(const{item:e}of o){if(e.is("$textProxy"))return e;if(!e.is("element")||!e.getCustomProperty("dataPipeline:transparentRendering")){if(e.is("element","br"))return null;if(this._isInlineObjectElement(e))return e;if(e.is("containerElement"))return null}}return null}_isBlockDomElement(e){return this.isElement(e)&&this.blockElements.includes(e.tagName.toLowerCase())}_isBlockViewElement(e){return e.is("element")&&this.blockElements.includes(e.name)}_isInlineObjectElement(e){return!!e.is("element")&&("br"==e.name||this.inlineObjectElements.includes(e.name)||!!this._inlineObjectElementMatcher.match(e))}_createViewElement(e,t){if((0,a.Cn)(e))return new ke(this.document,"$comment");const o=t.keepOriginalCase?e.tagName:e.tagName.toLowerCase();return new K(this.document,o)}_isViewElementWithRawContent(e,t){return!1!==t.withChildren&&e.is("element")&&!!this._rawContentElementMatcher.match(e)}_shouldRenameElement(e){const t=e.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(t)}_createReplacementDomElement(e,t){const o=this._domDocument.createElement("span");if(o.setAttribute(tt,e),t){for(;t.firstChild;)o.appendChild(t.firstChild);for(const e of t.getAttributeNames())o.setAttribute(e,t.getAttribute(e))}return o}}function st(e,t){let o=e;for(;o;)t(o),o=o.parentElement}function it(e,t){const o=e.parentNode;return!!o&&!!o.tagName&&t.includes(o.tagName.toLowerCase())}function nt(e){"script"===e&&(0,a.FF)("domconverter-unsafe-script-element-detected"),"style"===e&&(0,a.FF)("domconverter-unsafe-style-element-detected")}class rt extends((0,a.c5)()){view;document;_isEnabled=!1;constructor(e){super(),this.view=e,this.document=e.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(e){return e&&3===e.nodeType&&(e=e.parentNode),!(!e||1!==e.nodeType)&&e.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}var at=o("./node_modules/lodash-es/assignIn.js");class ct{view;document;domEvent;domTarget;constructor(e,t,o){this.view=e,this.document=e.document,this.domEvent=t,this.domTarget=t.target,(0,at.A)(this,o)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class lt extends rt{useCapture=!1;observe(e){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach((t=>{this.listenTo(e,t,((e,t)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(t.target)&&this.onDomEvent(t)}),{useCapture:this.useCapture})}))}stopObserving(e){this.stopListening(e)}fire(e,t,o){this.isEnabled&&this.document.fire(e,new ct(this.view,t,o))}}class dt extends lt{domEventType=["keydown","keyup"];onDomEvent(e){const t={keyCode:e.keyCode,altKey:e.altKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,get keystroke(){return(0,a.QC)(this)}};this.fire(e.type,e,t)}}var ht=o("./node_modules/lodash-es/debounce.js");class ut extends rt{_fireSelectionChangeDoneDebounced;constructor(e){super(e),this._fireSelectionChangeDoneDebounced=(0,ht.A)((e=>{this.document.fire("selectionChangeDone",e)}),200)}observe(){const e=this.document;e.on("arrowKey",((t,o)=>{e.selection.isFake&&this.isEnabled&&o.preventDefault()}),{context:"$capture"}),e.on("arrowKey",((t,o)=>{e.selection.isFake&&this.isEnabled&&this._handleSelectionMove(o.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const t=this.document.selection,o=new ie(t.getRanges(),{backward:t.isBackward,fake:!1});e!=a.uP.arrowleft&&e!=a.uP.arrowup||o.setTo(o.getFirstPosition()),e!=a.uP.arrowright&&e!=a.uP.arrowdown||o.setTo(o.getLastPosition());const s={oldSelection:t,newSelection:o,domSelection:null};this.document.fire("selectionChange",s),this._fireSelectionChangeDoneDebounced(s)}}var mt=o("./node_modules/lodash-es/_baseIsEqual.js");const pt=function(e,t,o){var s=(o="function"==typeof o?o:void 0)?o(e,t):void 0;return void 0===s?(0,mt.A)(e,t,void 0,o):!!s};class ft extends rt{domConverter;_config;_domElements;_mutationObserver;constructor(e){super(e),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=e.domConverter,this._domElements=new Set,this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(e){this._domElements.add(e),this.isEnabled&&this._mutationObserver.observe(e,this._config)}stopObserving(e){if(this._domElements.delete(e),this.isEnabled){this._mutationObserver.disconnect();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}}enable(){super.enable();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(e){if(0===e.length)return;const t=this.domConverter,o=new Set,s=new Set;for(const o of e){const e=t.mapDomToView(o.target);e&&(e.is("uiElement")||e.is("rawElement")||"childList"!==o.type||this._isBogusBrMutation(o)||s.add(e))}for(const i of e){const e=t.mapDomToView(i.target);if((!e||!e.is("uiElement")&&!e.is("rawElement"))&&"characterData"===i.type){const e=t.findCorrespondingViewText(i.target);e&&!s.has(e.parent)?o.add(e):!e&&Le(i.target)&&s.add(t.mapDomToView(i.target.parentNode))}}const i=[];for(const e of o)i.push({type:"text",node:e});for(const e of s){const o=t.mapViewToDom(e),s=Array.from(e.getChildren()),n=Array.from(t.domChildrenToView(o,{withChildren:!1}));pt(s,n,gt)||i.push({type:"children",node:e})}i.length&&this.document.fire("mutations",{mutations:i})}_isBogusBrMutation(e){let t=null;return null===e.nextSibling&&0===e.removedNodes.length&&1==e.addedNodes.length&&(t=this.domConverter.domToView(e.addedNodes[0],{withChildren:!1})),t&&t.is("element","br")}}function gt(e,t){if(!Array.isArray(e))return e===t||!(!e.is("$text")||!t.is("$text"))&&e.data===t.data}class _t extends lt{_renderTimeoutId=null;_isFocusChanging=!1;domEventType=["focus","blur"];constructor(e){super(e),this.useCapture=!0;const t=this.document;t.on("focus",(()=>this._handleFocus())),t.on("blur",((e,t)=>this._handleBlur(t))),t.on("beforeinput",(()=>{t.isFocused||this._handleFocus()}),{priority:"highest"})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(e){this.fire(e.type,e)}destroy(){this._clearTimeout(),super.destroy()}_handleFocus(){this._clearTimeout(),this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this._renderTimeoutId=null,this.flush(),this.view.change((()=>{}))}),50)}_handleBlur(e){const t=this.document.selection.editableElement;null!==t&&t!==e.target||(this.document.isFocused=!1,this._isFocusChanging=!1,this.view.change((()=>{})))}_clearTimeout(){this._renderTimeoutId&&(clearTimeout(this._renderTimeoutId),this._renderTimeoutId=null)}}class bt extends rt{mutationObserver;focusObserver;selection;domConverter;_documents;_fireSelectionChangeDoneDebounced;_clearInfiniteLoopInterval;_documentIsSelectingInactivityTimeoutDebounced;_loopbackCounter;constructor(e){super(e),this.mutationObserver=e.getObserver(ft),this.focusObserver=e.getObserver(_t),this.selection=this.document.selection,this.domConverter=e.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=(0,ht.A)((e=>{this.document.fire("selectionChangeDone",e)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=(0,ht.A)((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(e){const t=e.ownerDocument,o=()=>{this.document.isSelecting&&(this._handleSelectionChange(t),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(e,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(e,"keydown",o,{priority:"highest",useCapture:!0}),this.listenTo(e,"keyup",o,{priority:"highest",useCapture:!0}),this._documents.has(t)||(this.listenTo(t,"mouseup",o,{priority:"highest",useCapture:!0}),this.listenTo(t,"selectionchange",((e,o)=>{this.document.isComposing&&!a._K.isAndroid||(this._handleSelectionChange(t),this._documentIsSelectingInactivityTimeoutDebounced())})),this.listenTo(this.view.document,"compositionstart",(()=>{this._handleSelectionChange(t)}),{priority:"lowest"}),this._documents.add(t))}stopObserving(e){this.stopListening(e)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(e){if(!this.isEnabled)return;const t=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(t.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(t);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(t))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(o))this.view.forceRender();else{const e={oldSelection:this.selection,newSelection:o,domSelection:t};this.document.fire("selectionChange",e),this._fireSelectionChangeDoneDebounced(e)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class kt extends lt{domEventType=["compositionstart","compositionupdate","compositionend"];constructor(e){super(e);const t=this.document;t.on("compositionstart",(()=>{t.isComposing=!0}),{priority:"low"}),t.on("compositionend",(()=>{t.isComposing=!1}),{priority:"low"})}onDomEvent(e){this.fire(e.type,e,{data:e.data})}}class wt{_files;_native;constructor(e,t={}){this._files=t.cacheFiles?vt(e):null,this._native=e}get files(){return this._files||(this._files=vt(this._native)),this._files}get types(){return this._native.types}getData(e){return this._native.getData(e)}setData(e,t){this._native.setData(e,t)}set effectAllowed(e){this._native.effectAllowed=e}get effectAllowed(){return this._native.effectAllowed}set dropEffect(e){this._native.dropEffect=e}get dropEffect(){return this._native.dropEffect}setDragImage(e,t,o){this._native.setDragImage(e,t,o)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function vt(e){const t=Array.from(e.files||[]),o=Array.from(e.items||[]);return t.length?t:o.filter((e=>"file"===e.kind)).map((e=>e.getAsFile()))}class yt extends lt{domEventType="beforeinput";onDomEvent(e){const t=e.getTargetRanges(),o=this.view,s=o.document;let i=null,n=null,r=[];if(e.dataTransfer&&(i=new wt(e.dataTransfer)),null!==e.data?n=e.data:i&&(n=i.getData("text/plain")),s.selection.isFake)r=Array.from(s.selection.getRanges());else if(t.length)r=t.map((e=>{const t=o.domConverter.domPositionToView(e.startContainer,e.startOffset),s=o.domConverter.domPositionToView(e.endContainer,e.endOffset);return t?o.createRange(t,s):s?o.createRange(s):void 0})).filter((e=>!!e));else if(a._K.isAndroid){const t=e.target.ownerDocument.defaultView.getSelection();r=Array.from(o.domConverter.domSelectionToView(t).getRanges())}if(a._K.isAndroid&&"insertCompositionText"==e.inputType&&n&&n.endsWith("\n"))this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:[o.createRange(r[0].end)]});else if("insertText"==e.inputType&&n&&n.includes("\n")){const t=n.split(/\n{1,2}/g);let o=r;for(let n=0;n<t.length;n++){const r=t[n];""!=r&&(this.fire(e.type,e,{data:r,dataTransfer:i,targetRanges:o,inputType:e.inputType,isComposing:e.isComposing}),o=[s.selection.getFirstRange()]),n+1<t.length&&(this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:o}),o=[s.selection.getFirstRange()])}}else this.fire(e.type,e,{data:n,dataTransfer:i,targetRanges:r,inputType:e.inputType,isComposing:e.isComposing})}}class xt extends rt{constructor(e){super(e),this.document.on("keydown",((e,t)=>{if(this.isEnabled&&(0,a.Yt)(t.keyCode)){const o=new re(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(o,t),o.stop.called&&e.stop()}}))}observe(){}stopObserving(){}}class At extends rt{constructor(e){super(e);const t=this.document;t.on("keydown",((e,o)=>{if(!this.isEnabled||o.keyCode!=a.uP.tab||o.ctrlKey)return;const s=new re(t,"tab",t.selection.getFirstRange());t.fire(s,o),s.stop.called&&e.stop()}))}observe(){}stopObserving(){}}var Ct=o("./node_modules/lodash-es/cloneDeep.js");class Tt extends((0,a.VM)()){document;domConverter;domRoots=new Map;_renderer;_initialDomRootAttributes=new WeakMap;_observers=new Map;_writer;_ongoingChange=!1;_postFixersInProgress=!1;_renderingDisabled=!1;_hasChangedSinceTheLastRendering=!1;constructor(e){super(),this.document=new me(e),this.domConverter=new ot(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new Ue(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Ce(this.document),this.addObserver(ft),this.addObserver(_t),this.addObserver(bt),this.addObserver(dt),this.addObserver(ut),this.addObserver(kt),this.addObserver(xt),this.addObserver(yt),this.addObserver(At),this.document.on("arrowKey",$e,{priority:"low"}),we(this),this.on("render",(()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1})),this.listenTo(this.document.selection,"change",(()=>{this._hasChangedSinceTheLastRendering=!0})),this.listenTo(this.document,"change:isFocused",(()=>{this._hasChangedSinceTheLastRendering=!0})),a._K.isiOS&&this.listenTo(this.document,"blur",((e,t)=>{this.domConverter.mapDomToView(t.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})),this.listenTo(this.document,"mutations",((e,{mutations:t})=>{t.forEach((e=>this._renderer.markToSync(e.type,e.node)))}),{priority:"low"}),this.listenTo(this.document,"mutations",(()=>{this.forceRender()}),{priority:"lowest"})}attachDomRoot(e,t="main"){const o=this.document.getRoot(t);o._name=e.tagName.toLowerCase();const s={};for(const{name:t,value:i}of Array.from(e.attributes))s[t]=i,"class"===t?this._writer.addClass(i.split(" "),o):o.hasAttribute(t)||this._writer.setAttribute(t,i,o);this._initialDomRootAttributes.set(e,s);const i=()=>{this._writer.setAttribute("contenteditable",(!o.isReadOnly).toString(),o),o.isReadOnly?this._writer.addClass("ck-read-only",o):this._writer.removeClass("ck-read-only",o)};i(),this.domRoots.set(t,e),this.domConverter.bindElements(e,o),this._renderer.markToSync("children",o),this._renderer.markToSync("attributes",o),this._renderer.domDocuments.add(e.ownerDocument),o.on("change:children",((e,t)=>this._renderer.markToSync("children",t))),o.on("change:attributes",((e,t)=>this._renderer.markToSync("attributes",t))),o.on("change:text",((e,t)=>this._renderer.markToSync("text",t))),o.on("change:isReadOnly",(()=>this.change(i))),o.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const o of this._observers.values())o.observe(e,t)}detachDomRoot(e){const t=this.domRoots.get(e);Array.from(t.attributes).forEach((({name:e})=>t.removeAttribute(e)));const o=this._initialDomRootAttributes.get(t);for(const e in o)t.setAttribute(e,o[e]);this.domRoots.delete(e),this.domConverter.unbindDomElement(t);for(const e of this._observers.values())e.stopObserving(t)}getDomRoot(e="main"){return this.domRoots.get(e)}addObserver(e){let t=this._observers.get(e);if(t)return t;t=new e(this),this._observers.set(e,t);for(const[e,o]of this.domRoots)t.observe(o,e);return t.enable(),t}getObserver(e){return this._observers.get(e)}disableObservers(){for(const e of this._observers.values())e.disable()}enableObservers(){for(const e of this._observers.values())e.enable()}scrollToTheSelection({alignToTop:e,forceScroll:t,viewportOffset:o=20,ancestorOffset:s=20}={}){const i=this.document.selection.getFirstRange();if(!i)return;const n=(0,Ct.A)({alignToTop:e,forceScroll:t,viewportOffset:o,ancestorOffset:s});"number"==typeof o&&(o={top:o,bottom:o,left:o,right:o});const r={target:this.domConverter.viewRangeToDom(i),viewportOffset:o,ancestorOffset:s,alignToTop:e,forceScroll:t};this.fire("scrollToTheSelection",r,n),(0,a.vK)(r)}focus(){if(!this.document.isFocused){const e=this.document.selection.editableElement;e&&(this.domConverter.focus(e),this.forceRender())}}change(e){if(this.isRenderingInProgress||this._postFixersInProgress)throw new a.Yb("cannot-change-view-tree",this);try{if(this._ongoingChange)return e(this._writer);this._ongoingChange=!0;const t=e(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),t}catch(e){a.Yb.rethrowUnexpectedError(e,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(_t).flush(),this.change((()=>{}))}destroy(){for(const e of this._observers.values())e.destroy();this.document.destroy(),this.stopListening()}createPositionAt(e,t){return te._createAt(e,t)}createPositionAfter(e){return te._createAfter(e)}createPositionBefore(e){return te._createBefore(e)}createRange(e,t){return new oe(e,t)}createRangeOn(e){return oe._createOn(e)}createRangeIn(e){return oe._createIn(e)}createSelection(...e){return new ie(...e)}_disableRendering(e){this._renderingDisabled=e,0==e&&this.change((()=>{}))}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class Et{is(){throw new Error("is() method is abstract")}}class Pt extends Et{parent=null;_attrs;constructor(e){super(),this._attrs=(0,a.av)(e)}get document(){return null}get index(){let e;if(!this.parent)return null;if(null===(e=this.parent.getChildIndex(this)))throw new a.Yb("model-node-not-found-in-parent",this);return e}get startOffset(){let e;if(!this.parent)return null;if(null===(e=this.parent.getChildStartOffset(this)))throw new a.Yb("model-node-not-found-in-parent",this);return e}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const e=this.index;return null!==e&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return null!==e&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const e=[];let t=this;for(;t.parent;)e.unshift(t.startOffset),t=t.parent;return e}getAncestors(e={}){const t=[];let o=e.includeSelf?this:this.parent;for(;o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}getCommonAncestor(e,t={}){const o=this.getAncestors(t),s=e.getAncestors(t);let i=0;for(;o[i]==s[i]&&o[i];)i++;return 0===i?null:o[i-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),o=e.getPath(),s=(0,a.ww)(t,o);switch(s){case"prefix":return!0;case"extension":return!1;default:return t[s]<o[s]}}isAfter(e){return this!=e&&(this.root===e.root&&!this.isBefore(e))}hasAttribute(e){return this._attrs.has(e)}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}toJSON(){const e={};return this._attrs.size&&(e.attributes=Array.from(this._attrs).reduce(((e,t)=>(e[t[0]]=t[1],e)),{})),e}_clone(e){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(e,t){this._attrs.set(e,t)}_setAttributesTo(e){this._attrs=(0,a.av)(e)}_removeAttribute(e){return this._attrs.delete(e)}_clearAttributes(){this._attrs.clear()}}Pt.prototype.is=function(e){return"node"===e||"model:node"===e};class St{_nodes=[];constructor(e){e&&this._insertNodes(0,e)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce(((e,t)=>e+t.offsetSize),0)}getNode(e){return this._nodes[e]||null}getNodeIndex(e){const t=this._nodes.indexOf(e);return-1==t?null:t}getNodeStartOffset(e){const t=this.getNodeIndex(e);return null===t?null:this._nodes.slice(0,t).reduce(((e,t)=>e+t.offsetSize),0)}indexToOffset(e){if(e==this._nodes.length)return this.maxOffset;const t=this._nodes[e];if(!t)throw new a.Yb("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(t)}offsetToIndex(e){let t=0;for(const o of this._nodes){if(e>=t&&e<t+o.offsetSize)return this.getNodeIndex(o);t+=o.offsetSize}if(t!=e)throw new a.Yb("model-nodelist-offset-out-of-bounds",this,{offset:e,nodeList:this});return this.length}_insertNodes(e,t){for(const e of t)if(!(e instanceof Pt))throw new a.Yb("model-nodelist-insertnodes-not-node",this);this._nodes=(0,a.eL)(this._nodes,Array.from(t),e,0)}_removeNodes(e,t=1){return this._nodes.splice(e,t)}toJSON(){return this._nodes.map((e=>e.toJSON()))}}class Mt extends Pt{_data;constructor(e,t){super(t),this._data=e||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const e=super.toJSON();return e.data=this.data,e}_clone(){return new Mt(this.data,this.getAttributes())}static fromJSON(e){return new Mt(e.data,e.attributes)}}Mt.prototype.is=function(e){return"$text"===e||"model:$text"===e||"text"===e||"model:text"===e||"node"===e||"model:node"===e};class Ot extends Et{textNode;data;offsetInText;constructor(e,t,o){if(super(),this.textNode=e,t<0||t>e.offsetSize)throw new a.Yb("model-textproxy-wrong-offsetintext",this);if(o<0||t+o>e.offsetSize)throw new a.Yb("model-textproxy-wrong-length",this);this.data=e.data.substring(t,t+o),this.offsetInText=t}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const e=this.textNode.getPath();return e.length>0&&(e[e.length-1]+=this.offsetInText),e}getAncestors(e={}){const t=[];let o=e.includeSelf?this:this.parent;for(;o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}hasAttribute(e){return this.textNode.hasAttribute(e)}getAttribute(e){return this.textNode.getAttribute(e)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Ot.prototype.is=function(e){return"$textProxy"===e||"model:$textProxy"===e||"textProxy"===e||"model:textProxy"===e};class Vt extends Pt{name;_children=new St;constructor(e,t,o){super(t),this.name=e,o&&this._insertChild(0,o)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(e){return this._children.getNode(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}offsetToIndex(e){return this._children.offsetToIndex(e)}getNodeByPath(e){let t=this;for(const o of e)t=t.getChild(t.offsetToIndex(o));return t}findAncestor(e,t={}){let o=t.includeSelf?this:this.parent;for(;o;){if(o.name===e)return o;o=o.parent}return null}toJSON(){const e=super.toJSON();if(e.name=this.name,this._children.length>0){e.children=[];for(const t of this._children)e.children.push(t.toJSON())}return e}_clone(e=!1){const t=e?Array.from(this._children).map((e=>e._clone(!0))):void 0;return new Vt(this.name,this.getAttributes(),t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const o=function(e){if("string"==typeof e)return[new Mt(e)];(0,a.xZ)(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new Mt(e):e instanceof Ot?new Mt(e.data,e.getAttributes()):e))}(t);for(const e of o)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,o)}_removeChildren(e,t=1){const o=this._children._removeNodes(e,t);for(const e of o)e.parent=null;return o}static fromJSON(e){let t;if(e.children){t=[];for(const o of e.children)o.name?t.push(Vt.fromJSON(o)):t.push(Mt.fromJSON(o))}return new Vt(e.name,e.attributes,t)}}Vt.prototype.is=function(e,t){return t?t===this.name&&("element"===e||"model:element"===e):"element"===e||"model:element"===e||"node"===e||"model:node"===e};class Rt{direction;boundaries;singleCharacters;shallow;ignoreElementEnd;_position;_boundaryStartParent;_boundaryEndParent;_visitedParent;constructor(e){if(!e||!e.boundaries&&!e.startPosition)throw new a.Yb("model-tree-walker-no-start-position",null);const t=e.direction||"forward";if("forward"!=t&&"backward"!=t)throw new a.Yb("model-tree-walker-unknown-direction",e,{direction:t});this.direction=t,this.boundaries=e.boundaries||null,e.startPosition?this._position=e.startPosition.clone():this._position=It._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(e){let t,o,s,i;do{s=this.position,i=this._visitedParent,({done:t,value:o}=this.next())}while(!t&&e(o));t||(this._position=s,this._visitedParent=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const e=this.position,t=this.position.clone(),o=this._visitedParent;if(null===o.parent&&t.offset===o.maxOffset)return{done:!0,value:void 0};if(o===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const s=Bt(t,o),i=s||Dt(t,o,s);if(i instanceof Vt){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(t))return{done:!0,value:void 0};t.offset++}else t.path.push(0),this._visitedParent=i;return this._position=t,jt("elementStart",i,e,t,1)}if(i instanceof Mt){let s;if(this.singleCharacters)s=1;else{let e=i.endOffset;this._boundaryEndParent==o&&this.boundaries.end.offset<e&&(e=this.boundaries.end.offset),s=e-t.offset}const n=t.offset-i.startOffset,r=new Ot(i,n,s);return t.offset+=s,this._position=t,jt("text",r,e,t,s)}return t.path.pop(),t.offset++,this._position=t,this._visitedParent=o.parent,this.ignoreElementEnd?this._next():jt("elementEnd",o,e,t)}_previous(){const e=this.position,t=this.position.clone(),o=this._visitedParent;if(null===o.parent&&0===t.offset)return{done:!0,value:void 0};if(o==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};const s=t.parent,i=Bt(t,s),n=i||Nt(t,s,i);if(n instanceof Vt)return t.offset--,this.shallow?(this._position=t,jt("elementStart",n,e,t,1)):(t.path.push(n.maxOffset),this._position=t,this._visitedParent=n,this.ignoreElementEnd?this._previous():jt("elementEnd",n,e,t));if(n instanceof Mt){let s;if(this.singleCharacters)s=1;else{let e=n.startOffset;this._boundaryStartParent==o&&this.boundaries.start.offset>e&&(e=this.boundaries.start.offset),s=t.offset-e}const i=t.offset-n.startOffset,r=new Ot(n,i-s,s);return t.offset-=s,this._position=t,jt("text",r,e,t,s)}return t.path.pop(),this._position=t,this._visitedParent=o.parent,jt("elementStart",o,e,t,1)}}function jt(e,t,o,s,i){return{done:!1,value:{type:e,item:t,previousPosition:o,nextPosition:s,length:i}}}class It extends Et{root;path;stickiness;constructor(e,t,o="toNone"){if(super(),!e.is("element")&&!e.is("documentFragment"))throw new a.Yb("model-position-root-invalid",e);if(!(t instanceof Array)||0===t.length)throw new a.Yb("model-position-path-incorrect-format",e,{path:t});e.is("rootElement")?t=t.slice():(t=[...e.getPath(),...t],e=e.root),this.root=e,this.path=t,this.stickiness=o}get offset(){return this.path[this.path.length-1]}set offset(e){this.path[this.path.length-1]=e}get parent(){let e=this.root;for(let t=0;t<this.path.length-1;t++)if(e=e.getChild(e.offsetToIndex(this.path[t])),!e)throw new a.Yb("model-position-path-incorrect",this,{position:this});if(e.is("$text"))throw new a.Yb("model-position-path-incorrect",this,{position:this});return e}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){return Bt(this,this.parent)}get nodeAfter(){const e=this.parent;return Dt(this,e,Bt(this,e))}get nodeBefore(){const e=this.parent;return Nt(this,e,Bt(this,e))}get isAtStart(){return 0===this.offset}get isAtEnd(){return this.offset==this.parent.maxOffset}compareWith(e){if(this.root!=e.root)return"different";const t=(0,a.ww)(this.path,e.path);switch(t){case"same":return"same";case"prefix":return"before";case"extension":return"after";default:return this.path[t]<e.path[t]?"before":"after"}}getLastMatchingPosition(e,t={}){t.startPosition=this;const o=new Rt(t);return o.skip(e),o.position}getParentPath(){return this.path.slice(0,-1)}getAncestors(){const e=this.parent;return e.is("documentFragment")?[e]:e.getAncestors({includeSelf:!0})}findAncestor(e){const t=this.parent;return t.is("element")?t.findAncestor(e,{includeSelf:!0}):null}getCommonPath(e){if(this.root!=e.root)return[];const t=(0,a.ww)(this.path,e.path),o="string"==typeof t?Math.min(this.path.length,e.path.length):t;return this.path.slice(0,o)}getCommonAncestor(e){const t=this.getAncestors(),o=e.getAncestors();let s=0;for(;t[s]==o[s]&&t[s];)s++;return 0===s?null:t[s-1]}getShiftedBy(e){const t=this.clone(),o=t.offset+e;return t.offset=o<0?0:o,t}isAfter(e){return"after"==this.compareWith(e)}isBefore(e){return"before"==this.compareWith(e)}isEqual(e){return"same"==this.compareWith(e)}isTouching(e){if(this.root!==e.root)return!1;const t=Math.min(this.path.length,e.path.length);for(let o=0;o<t;o++){const t=this.path[o]-e.path[o];if(t<-1||t>1)return!1;if(1===t)return Ft(e,this,o);if(-1===t)return Ft(this,e,o)}return this.path.length===e.path.length||(this.path.length>e.path.length?Lt(this.path,t):Lt(e.path,t))}hasSameParentAs(e){if(this.root!==e.root)return!1;const t=this.getParentPath(),o=e.getParentPath();return"same"==(0,a.ww)(t,o)}getTransformedByOperation(e){let t;switch(e.type){case"insert":t=this._getTransformedByInsertOperation(e);break;case"move":case"remove":case"reinsert":t=this._getTransformedByMoveOperation(e);break;case"split":t=this._getTransformedBySplitOperation(e);break;case"merge":t=this._getTransformedByMergeOperation(e);break;default:t=It._createAt(this)}return t}_getTransformedByInsertOperation(e){return this._getTransformedByInsertion(e.position,e.howMany)}_getTransformedByMoveOperation(e){return this._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany)}_getTransformedBySplitOperation(e){const t=e.movedRange;return t.containsPosition(this)||t.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(e.splitPosition,e.moveTargetPosition):e.graveyardPosition?this._getTransformedByMove(e.graveyardPosition,e.insertionPosition,1):this._getTransformedByInsertion(e.insertionPosition,1)}_getTransformedByMergeOperation(e){const t=e.movedRange;let o;return t.containsPosition(this)||t.start.isEqual(this)?(o=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(o=o._getTransformedByDeletion(e.deletionPosition,1))):o=this.isEqual(e.deletionPosition)?It._createAt(e.deletionPosition):this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),o}_getTransformedByDeletion(e,t){const o=It._createAt(this);if(this.root!=e.root)return o;if("same"==(0,a.ww)(e.getParentPath(),this.getParentPath())){if(e.offset<this.offset){if(e.offset+t>this.offset)return null;o.offset-=t}}else if("prefix"==(0,a.ww)(e.getParentPath(),this.getParentPath())){const s=e.path.length-1;if(e.offset<=this.path[s]){if(e.offset+t>this.path[s])return null;o.path[s]-=t}}return o}_getTransformedByInsertion(e,t){const o=It._createAt(this);if(this.root!=e.root)return o;if("same"==(0,a.ww)(e.getParentPath(),this.getParentPath()))(e.offset<this.offset||e.offset==this.offset&&"toPrevious"!=this.stickiness)&&(o.offset+=t);else if("prefix"==(0,a.ww)(e.getParentPath(),this.getParentPath())){const s=e.path.length-1;e.offset<=this.path[s]&&(o.path[s]+=t)}return o}_getTransformedByMove(e,t,o){if(t=t._getTransformedByDeletion(e,o),e.isEqual(t))return It._createAt(this);const s=this._getTransformedByDeletion(e,o);return null===s||e.isEqual(this)&&"toNext"==this.stickiness||e.getShiftedBy(o).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(e,t):s._getTransformedByInsertion(t,o)}_getCombined(e,t){const o=e.path.length-1,s=It._createAt(t);return s.stickiness=this.stickiness,s.offset=s.offset+this.path[o]-e.offset,s.path=[...s.path,...this.path.slice(o+1)],s}toJSON(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}clone(){return new this.constructor(this.root,this.path,this.stickiness)}static _createAt(e,t,o="toNone"){if(e instanceof It)return new It(e.root,e.path,e.stickiness);{const s=e;if("end"==t)t=s.maxOffset;else{if("before"==t)return this._createBefore(s,o);if("after"==t)return this._createAfter(s,o);if(0!==t&&!t)throw new a.Yb("model-createpositionat-offset-required",[this,e])}if(!s.is("element")&&!s.is("documentFragment"))throw new a.Yb("model-position-parent-incorrect",[this,e]);const i=s.getPath();return i.push(t),new this(s.root,i,o)}}static _createAfter(e,t){if(!e.parent)throw new a.Yb("model-position-after-root",[this,e],{root:e});return this._createAt(e.parent,e.endOffset,t)}static _createBefore(e,t){if(!e.parent)throw new a.Yb("model-position-before-root",e,{root:e});return this._createAt(e.parent,e.startOffset,t)}static fromJSON(e,t){if("$graveyard"===e.root){const o=new It(t.graveyard,e.path);return o.stickiness=e.stickiness,o}if(!t.getRoot(e.root))throw new a.Yb("model-position-fromjson-no-root",t,{rootName:e.root});return new It(t.getRoot(e.root),e.path,e.stickiness)}}function Bt(e,t){const o=t.getChild(t.offsetToIndex(e.offset));return o&&o.is("$text")&&o.startOffset<e.offset?o:null}function Dt(e,t,o){return null!==o?null:t.getChild(t.offsetToIndex(e.offset))}function Nt(e,t,o){return null!==o?null:t.getChild(t.offsetToIndex(e.offset)-1)}function Ft(e,t,o){return o+1!==e.path.length&&(!!Lt(t.path,o+1)&&!!function(e,t){let o=e.parent,s=e.path.length-1,i=0;for(;s>=t;){if(e.path[s]+i!==o.maxOffset)return!1;i=1,s--,o=o.parent}return!0}(e,o+1))}function Lt(e,t){for(;t<e.length;){if(0!==e[t])return!1;t++}return!0}It.prototype.is=function(e){return"position"===e||"model:position"===e};class zt extends Et{start;end;constructor(e,t){super(),this.start=It._createAt(e),this.end=t?It._createAt(t):It._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new Rt({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){const e=this.start.getParentPath(),t=this.end.getParentPath();return"same"==(0,a.ww)(e,t)}get root(){return this.start.root}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const o=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),s=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return o&&s}containsItem(e){const t=It._createBefore(e);return this.containsPosition(t)||this.start.isEqual(t)}isEqual(e){return this.start.isEqual(e.start)&&this.end.isEqual(e.end)}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new zt(this.start,e.start)),this.containsPosition(e.end)&&t.push(new zt(e.end,this.end))):t.push(new zt(this.start,this.end)),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,o=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(o=e.end),new zt(t,o)}return null}getJoined(e,t=!1){let o=this.isIntersecting(e);if(o||(o=this.start.isBefore(e.start)?t?this.end.isTouching(e.start):this.end.isEqual(e.start):t?e.end.isTouching(this.start):e.end.isEqual(this.start)),!o)return null;let s=this.start,i=this.end;return e.start.isBefore(s)&&(s=e.start),e.end.isAfter(i)&&(i=e.end),new zt(s,i)}getMinimalFlatRanges(){const e=[],t=this.start.getCommonPath(this.end).length,o=It._createAt(this.start);let s=o.parent;for(;o.path.length>t+1;){const t=s.maxOffset-o.offset;0!==t&&e.push(new zt(o,o.getShiftedBy(t))),o.path=o.path.slice(0,-1),o.offset++,s=s.parent}for(;o.path.length<=this.end.path.length;){const t=this.end.path[o.path.length-1],s=t-o.offset;0!==s&&e.push(new zt(o,o.getShiftedBy(s))),o.offset=t,o.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new Rt(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new Rt(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new Rt(e);yield t.position;for(const e of t)yield e.nextPosition}getTransformedByOperation(e){switch(e.type){case"insert":return this._getTransformedByInsertOperation(e);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(e);case"split":return[this._getTransformedBySplitOperation(e)];case"merge":return[this._getTransformedByMergeOperation(e)]}return[new zt(this.start,this.end)]}getTransformedByOperations(e){const t=[new zt(this.start,this.end)];for(const o of e)for(let e=0;e<t.length;e++){const s=t[e].getTransformedByOperation(o);t.splice(e,1,...s),e+=s.length-1}for(let e=0;e<t.length;e++){const o=t[e];for(let s=e+1;s<t.length;s++){const e=t[s];(o.containsRange(e)||e.containsRange(o)||o.isEqual(e))&&t.splice(s,1)}}return t}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;const e=this.start.nodeAfter,t=this.end.nodeBefore;return e&&e.is("element")&&e===t?e:null}toJSON(){return{start:this.start.toJSON(),end:this.end.toJSON()}}clone(){return new this.constructor(this.start,this.end)}_getTransformedByInsertOperation(e,t=!1){return this._getTransformedByInsertion(e.position,e.howMany,t)}_getTransformedByMoveOperation(e,t=!1){const o=e.sourcePosition,s=e.howMany,i=e.targetPosition;return this._getTransformedByMove(o,i,s,t)}_getTransformedBySplitOperation(e){const t=this.start._getTransformedBySplitOperation(e);let o=this.end._getTransformedBySplitOperation(e);return this.end.isEqual(e.insertionPosition)&&(o=this.end.getShiftedBy(1)),t.root!=o.root&&(o=this.end.getShiftedBy(-1)),new zt(t,o)}_getTransformedByMergeOperation(e){if(this.start.isEqual(e.targetPosition)&&this.end.isEqual(e.deletionPosition))return new zt(this.start);let t=this.start._getTransformedByMergeOperation(e),o=this.end._getTransformedByMergeOperation(e);return t.root!=o.root&&(o=this.end.getShiftedBy(-1)),t.isAfter(o)?(e.sourcePosition.isBefore(e.targetPosition)?(t=It._createAt(o),t.offset=0):(e.deletionPosition.isEqual(t)||(o=e.deletionPosition),t=e.targetPosition),new zt(t,o)):new zt(t,o)}_getTransformedByInsertion(e,t,o=!1){if(o&&this.containsPosition(e))return[new zt(this.start,e),new zt(e.getShiftedBy(t),this.end._getTransformedByInsertion(e,t))];{const o=new zt(this.start,this.end);return o.start=o.start._getTransformedByInsertion(e,t),o.end=o.end._getTransformedByInsertion(e,t),[o]}}_getTransformedByMove(e,t,o,s=!1){if(this.isCollapsed){const s=this.start._getTransformedByMove(e,t,o);return[new zt(s)]}const i=zt._createFromPositionAndShift(e,o),n=t._getTransformedByDeletion(e,o);if(this.containsPosition(t)&&!s&&(i.containsPosition(this.start)||i.containsPosition(this.end))){const s=this.start._getTransformedByMove(e,t,o),i=this.end._getTransformedByMove(e,t,o);return[new zt(s,i)]}let r;const a=this.getDifference(i);let c=null;const l=this.getIntersection(i);if(1==a.length?c=new zt(a[0].start._getTransformedByDeletion(e,o),a[0].end._getTransformedByDeletion(e,o)):2==a.length&&(c=new zt(this.start,this.end._getTransformedByDeletion(e,o))),r=c?c._getTransformedByInsertion(n,o,null!==l||s):[],l){const e=new zt(l.start._getCombined(i.start,n),l.end._getCombined(i.start,n));2==r.length?r.splice(1,0,e):r.push(e)}return r}_getTransformedByDeletion(e,t){let o=this.start._getTransformedByDeletion(e,t),s=this.end._getTransformedByDeletion(e,t);return null==o&&null==s?null:(null==o&&(o=e),null==s&&(s=e),new zt(o,s))}static _createFromPositionAndShift(e,t){const o=e,s=e.getShiftedBy(t);return t>0?new this(o,s):new this(s,o)}static _createIn(e){return new this(It._createAt(e,0),It._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift(It._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(0===e.length)throw new a.Yb("range-create-from-ranges-empty-array",null);if(1==e.length)return e[0].clone();const t=e[0];e.sort(((e,t)=>e.start.isAfter(t.start)?1:-1));const o=e.indexOf(t),s=new this(t.start,t.end);if(o>0)for(let t=o-1;e[t].end.isEqual(s.start);t++)s.start=It._createAt(e[t].start);for(let t=o+1;t<e.length&&e[t].start.isEqual(s.end);t++)s.end=It._createAt(e[t].end);return s}static fromJSON(e,t){return new this(It.fromJSON(e.start,t),It.fromJSON(e.end,t))}}zt.prototype.is=function(e){return"range"===e||"model:range"===e};class Ht extends((0,a.Mm)()){_modelToViewMapping=new WeakMap;_viewToModelMapping=new WeakMap;_viewToModelLengthCallbacks=new Map;_markerNameToElements=new Map;_elementToMarkerNames=new Map;_deferredBindingRemovals=new Map;_unboundMarkerNames=new Set;constructor(){super(),this.on("modelToViewPosition",((e,t)=>{if(t.viewPosition)return;const o=this._modelToViewMapping.get(t.modelPosition.parent);if(!o)throw new a.Yb("mapping-model-position-view-parent-not-found",this,{modelPosition:t.modelPosition});t.viewPosition=this.findPositionIn(o,t.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((e,t)=>{if(t.modelPosition)return;const o=this.findMappedViewAncestor(t.viewPosition),s=this._viewToModelMapping.get(o),i=this._toModelOffset(t.viewPosition.parent,t.viewPosition.offset,o);t.modelPosition=It._createAt(s,i)}),{priority:"low"})}bindElements(e,t){this._modelToViewMapping.set(e,t),this._viewToModelMapping.set(t,e)}unbindViewElement(e,t={}){const o=this.toModelElement(e);if(this._elementToMarkerNames.has(e))for(const t of this._elementToMarkerNames.get(e))this._unboundMarkerNames.add(t);t.defer?this._deferredBindingRemovals.set(e,e.root):(this._viewToModelMapping.delete(e),this._modelToViewMapping.get(o)==e&&this._modelToViewMapping.delete(o))}unbindModelElement(e){const t=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(t)==e&&this._viewToModelMapping.delete(t)}bindElementToMarker(e,t){const o=this._markerNameToElements.get(t)||new Set;o.add(e);const s=this._elementToMarkerNames.get(e)||new Set;s.add(t),this._markerNameToElements.set(t,o),this._elementToMarkerNames.set(e,s)}unbindElementFromMarkerName(e,t){const o=this._markerNameToElements.get(t);o&&(o.delete(e),0==o.size&&this._markerNameToElements.delete(t));const s=this._elementToMarkerNames.get(e);s&&(s.delete(t),0==s.size&&this._elementToMarkerNames.delete(e))}flushUnboundMarkerNames(){const e=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),e}flushDeferredBindings(){for(const[e,t]of this._deferredBindingRemovals)e.root==t&&this.unbindViewElement(e);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(e){return this._viewToModelMapping.get(e)}toViewElement(e){return this._modelToViewMapping.get(e)}toModelRange(e){return new zt(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new oe(this.toViewPosition(e.start),this.toViewPosition(e.end))}toModelPosition(e){const t={viewPosition:e,mapper:this};return this.fire("viewToModelPosition",t),t.modelPosition}toViewPosition(e,t={}){const o={modelPosition:e,mapper:this,isPhantom:t.isPhantom};return this.fire("modelToViewPosition",o),o.viewPosition}markerNameToElements(e){const t=this._markerNameToElements.get(e);if(!t)return null;const o=new Set;for(const e of t)if(e.is("attributeElement"))for(const t of e.getElementsWithSameId())o.add(t);else o.add(e);return o}registerViewToModelLength(e,t){this._viewToModelLengthCallbacks.set(e,t)}findMappedViewAncestor(e){let t=e.parent;for(;!this._viewToModelMapping.has(t);)t=t.parent;return t}_toModelOffset(e,t,o){if(o!=e){return this._toModelOffset(e.parent,e.index,o)+this._toModelOffset(e,t,e)}if(e.is("$text"))return t;let s=0;for(let o=0;o<t;o++)s+=this.getModelLength(e.getChild(o));return s}getModelLength(e){if(this._viewToModelLengthCallbacks.get(e.name)){return this._viewToModelLengthCallbacks.get(e.name)(e)}if(this._viewToModelMapping.has(e))return 1;if(e.is("$text"))return e.data.length;if(e.is("uiElement"))return 0;{let t=0;for(const o of e.getChildren())t+=this.getModelLength(o);return t}}findPositionIn(e,t){let o,s=0,i=0,n=0;if(e.is("$text"))return new te(e,t);for(;i<t;)o=e.getChild(n),s=this.getModelLength(o),i+=s,n++;return i==t?this._moveViewPositionToTextNode(new te(e,n)):this.findPositionIn(o,t-(i-s))}_moveViewPositionToTextNode(e){const t=e.nodeBefore,o=e.nodeAfter;return t instanceof y?new te(t,t.data.length):o instanceof y?new te(o,0):e}}class $t{_consumable=new Map;_textProxyRegistry=new Map;add(e,t){t=Wt(t),e instanceof Ot&&(e=this._getSymbolForTextProxy(e)),this._consumable.has(e)||this._consumable.set(e,new Map),this._consumable.get(e).set(t,!0)}consume(e,t){return t=Wt(t),e instanceof Ot&&(e=this._getSymbolForTextProxy(e)),!!this.test(e,t)&&(this._consumable.get(e).set(t,!1),!0)}test(e,t){t=Wt(t),e instanceof Ot&&(e=this._getSymbolForTextProxy(e));const o=this._consumable.get(e);if(void 0===o)return null;const s=o.get(t);return void 0===s?null:s}revert(e,t){t=Wt(t),e instanceof Ot&&(e=this._getSymbolForTextProxy(e));const o=this.test(e,t);return!1===o?(this._consumable.get(e).set(t,!0),!0):!0!==o&&null}verifyAllConsumed(e){const t=[];for(const[o,s]of this._consumable)for(const[i,n]of s){const s=i.split(":")[0];n&&e==s&&t.push({event:i,item:o.name||o.description})}if(t.length)throw new a.Yb("conversion-model-consumable-not-consumed",null,{items:t})}_getSymbolForTextProxy(e){let t=null;const o=this._textProxyRegistry.get(e.startOffset);if(o){const s=o.get(e.endOffset);s&&(t=s.get(e.parent))}return t||(t=this._addSymbolForTextProxy(e)),t}_addSymbolForTextProxy(e){const t=e.startOffset,o=e.endOffset,s=e.parent,i=Symbol("$textProxy:"+e.data);let n,r;return n=this._textProxyRegistry.get(t),n||(n=new Map,this._textProxyRegistry.set(t,n)),r=n.get(o),r||(r=new Map,n.set(o,r)),r.set(s,i),i}}function Wt(e){const t=e.split(":");return"insert"==t[0]?t[0]:"addMarker"==t[0]||"removeMarker"==t[0]?e:t.length>1?t[0]+":"+t[1]:t[0]}class qt extends((0,a.Mm)()){_conversionApi;_firedEventsMap;constructor(e){super(),this._conversionApi={dispatcher:this,...e},this._firedEventsMap=new WeakMap}convertChanges(e,t,o){const s=this._createConversionApi(o,e.getRefreshedItems());for(const t of e.getMarkersToRemove())this._convertMarkerRemove(t.name,t.range,s);const i=this._reduceChanges(e.getChanges());for(const e of i)"insert"===e.type?this._convertInsert(zt._createFromPositionAndShift(e.position,e.length),s):"reinsert"===e.type?this._convertReinsert(zt._createFromPositionAndShift(e.position,e.length),s):"remove"===e.type?this._convertRemove(e.position,e.length,e.name,s):this._convertAttribute(e.range,e.attributeKey,e.attributeOldValue,e.attributeNewValue,s);s.mapper.flushDeferredBindings();for(const e of s.mapper.flushUnboundMarkerNames()){const o=t.get(e).getRange();this._convertMarkerRemove(e,o,s),this._convertMarkerAdd(e,o,s)}for(const t of e.getMarkersToAdd())this._convertMarkerAdd(t.name,t.range,s);s.consumable.verifyAllConsumed("insert")}convert(e,t,o,s={}){const i=this._createConversionApi(o,void 0,s);this._convertInsert(e,i);for(const[e,o]of t)this._convertMarkerAdd(e,o,i);i.consumable.verifyAllConsumed("insert")}convertSelection(e,t,o){const s=this._createConversionApi(o);this.fire("cleanSelection",{selection:e},s);const i=e.getFirstPosition().root;if(!s.mapper.toViewElement(i))return;const n=Array.from(t.getMarkersAtPosition(e.getFirstPosition()));if(this._addConsumablesForSelection(s.consumable,e,n),this.fire("selection",{selection:e},s),e.isCollapsed){for(const t of n)if(s.consumable.test(e,"addMarker:"+t.name)){const o=t.getRange();if(!Ut(e.getFirstPosition(),t,s.mapper))continue;const i={item:e,markerName:t.name,markerRange:o};this.fire(`addMarker:${t.name}`,i,s)}for(const t of e.getAttributeKeys())if(s.consumable.test(e,"attribute:"+t)){const o={item:e,range:e.getFirstRange(),attributeKey:t,attributeOldValue:null,attributeNewValue:e.getAttribute(t)};this.fire(`attribute:${t}:$text`,o,s)}}}_convertInsert(e,t,o={}){o.doNotAddConsumables||this._addConsumablesForInsert(t.consumable,e);for(const o of Array.from(e.getWalker({shallow:!0})).map(Kt))this._testAndFire("insert",o,t)}_convertRemove(e,t,o,s){this.fire(`remove:${o}`,{position:e,length:t},s)}_convertAttribute(e,t,o,s,i){this._addConsumablesForRange(i.consumable,e,`attribute:${t}`);for(const n of e){const e={item:n.item,range:zt._createFromPositionAndShift(n.previousPosition,n.length),attributeKey:t,attributeOldValue:o,attributeNewValue:s};this._testAndFire(`attribute:${t}`,e,i)}}_convertReinsert(e,t){const o=Array.from(e.getWalker({shallow:!0}));this._addConsumablesForInsert(t.consumable,o);for(const e of o.map(Kt))this._testAndFire("insert",{...e,reconversion:!0},t)}_convertMarkerAdd(e,t,o){if("$graveyard"==t.root.rootName)return;const s=`addMarker:${e}`;if(o.consumable.add(t,s),this.fire(s,{markerName:e,markerRange:t},o),o.consumable.consume(t,s)){this._addConsumablesForRange(o.consumable,t,s);for(const i of t.getItems()){if(!o.consumable.test(i,s))continue;const n={item:i,range:zt._createOn(i),markerName:e,markerRange:t};this.fire(s,n,o)}}}_convertMarkerRemove(e,t,o){"$graveyard"!=t.root.rootName&&this.fire(`removeMarker:${e}`,{markerName:e,markerRange:t},o)}_reduceChanges(e){const t={changes:e};return this.fire("reduceChanges",t),t.changes}_addConsumablesForInsert(e,t){for(const o of t){const t=o.item;if(null===e.test(t,"insert")){e.add(t,"insert");for(const o of t.getAttributeKeys())e.add(t,"attribute:"+o)}}return e}_addConsumablesForRange(e,t,o){for(const s of t.getItems())e.add(s,o);return e}_addConsumablesForSelection(e,t,o){e.add(t,"selection");for(const s of o)e.add(t,"addMarker:"+s.name);for(const o of t.getAttributeKeys())e.add(t,"attribute:"+o);return e}_testAndFire(e,t,o){const s=function(e,t){const o=t.item.is("element")?t.item.name:"$text";return`${e}:${o}`}(e,t),i=t.item.is("$textProxy")?o.consumable._getSymbolForTextProxy(t.item):t.item,n=this._firedEventsMap.get(o),r=n.get(i);if(r){if(r.has(s))return;r.add(s)}else n.set(i,new Set([s]));this.fire(s,t,o)}_testAndFireAddAttributes(e,t){const o={item:e,range:zt._createOn(e)};for(const e of o.item.getAttributeKeys())o.attributeKey=e,o.attributeOldValue=null,o.attributeNewValue=o.item.getAttribute(e),this._testAndFire(`attribute:${e}`,o,t)}_createConversionApi(e,t=new Set,o={}){const s={...this._conversionApi,consumable:new $t,writer:e,options:o,convertItem:e=>this._convertInsert(zt._createOn(e),s),convertChildren:e=>this._convertInsert(zt._createIn(e),s,{doNotAddConsumables:!0}),convertAttributes:e=>this._testAndFireAddAttributes(e,s),canReuseView:e=>!t.has(s.mapper.toModelElement(e))};return this._firedEventsMap.set(s,new Map),s}}function Ut(e,t,o){const s=t.getRange(),i=Array.from(e.getAncestors());i.shift(),i.reverse();return!i.some((e=>{if(s.containsItem(e)){return!!o.toViewElement(e).getCustomProperty("addHighlight")}}))}function Kt(e){return{item:e.item,range:zt._createFromPositionAndShift(e.previousPosition,e.length)}}class Yt extends((0,a.Mm)(Et)){_lastRangeBackward=!1;_attrs=new Map;_ranges=[];constructor(...e){super(),e.length&&this.setTo(...e)}get anchor(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.end:e.start}return null}get focus(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.start:e.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(e){if(this.rangeCount!=e.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let o=!1;for(const s of e._ranges)if(t.isEqual(s)){o=!0;break}if(!o)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new zt(e.start,e.end)}getFirstRange(){let e=null;for(const t of this._ranges)e&&!t.start.isBefore(e.start)||(e=t);return e?new zt(e.start,e.end):null}getLastRange(){let e=null;for(const t of this._ranges)e&&!t.end.isAfter(e.end)||(e=t);return e?new zt(e.start,e.end):null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}setTo(...e){let[t,o,s]=e;if("object"==typeof o&&(s=o,o=void 0),null===t)this._setRanges([]);else if(t instanceof Yt)this._setRanges(t.getRanges(),t.isBackward);else if(t&&"function"==typeof t.getRanges)this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof zt)this._setRanges([t],!!s&&!!s.backward);else if(t instanceof It)this._setRanges([new zt(t)]);else if(t instanceof Pt){const e=!!s&&!!s.backward;let i;if("in"==o)i=zt._createIn(t);else if("on"==o)i=zt._createOn(t);else{if(void 0===o)throw new a.Yb("model-selection-setto-required-second-parameter",[this,t]);i=new zt(It._createAt(t,o))}this._setRanges([i],e)}else{if(!(0,a.xZ)(t))throw new a.Yb("model-selection-setto-not-selectable",[this,t]);this._setRanges(t,s&&!!s.backward)}}_setRanges(e,t=!1){const o=Array.from(e),s=o.some((t=>{if(!(t instanceof zt))throw new a.Yb("model-selection-set-ranges-not-range",[this,e]);return this._ranges.every((e=>!e.isEqual(t)))}));(o.length!==this._ranges.length||s)&&(this._replaceAllRanges(o),this._lastRangeBackward=!!t,this.fire("change:range",{directChange:!0}))}setFocus(e,t){if(null===this.anchor)throw new a.Yb("model-selection-setfocus-no-ranges",[this,e]);const o=It._createAt(e,t);if("same"==o.compareWith(this.focus))return;const s=this.anchor;this._ranges.length&&this._popRange(),"before"==o.compareWith(s)?(this._pushRange(new zt(o,s)),this._lastRangeBackward=!0):(this._pushRange(new zt(s,o)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(e){return this._attrs.has(e)}removeAttribute(e){this.hasAttribute(e)&&(this._attrs.delete(e),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}setAttribute(e,t){this.getAttribute(e)!==t&&(this._attrs.set(e,t),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const e=new WeakSet;for(const t of this.getRanges()){const o=Jt(t.start,e);Qt(o,t)&&(yield o);for(const o of t.getWalker()){const s=o.item;"elementEnd"==o.type&&Zt(s,e,t)&&(yield s)}const s=Jt(t.end,e);eo(s,t)&&(yield s)}}containsEntireContent(e=this.anchor.root){const t=It._createAt(e,0),o=It._createAt(e,"end");return t.isTouching(this.getFirstPosition())&&o.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new zt(e.start,e.end))}_checkRange(e){for(let t=0;t<this._ranges.length;t++)if(e.isIntersecting(this._ranges[t]))throw new a.Yb("model-selection-range-intersects",[this,e],{addedRange:e,intersectingRange:this._ranges[t]})}_replaceAllRanges(e){this._removeAllRanges();for(const t of e)this._pushRange(t)}_removeAllRanges(){for(;this._ranges.length>0;)this._popRange()}_popRange(){this._ranges.pop()}}function Gt(e,t){return!t.has(e)&&(t.add(e),e.root.document.model.schema.isBlock(e)&&!!e.parent)}function Zt(e,t,o){return Gt(e,t)&&Xt(e,o)}function Jt(e,t){const o=e.parent.root.document.model.schema,s=e.parent.getAncestors({parentFirst:!0,includeSelf:!0});let i=!1;const n=s.find((e=>!i&&(i=o.isLimit(e),!i&&Gt(e,t))));return s.forEach((e=>t.add(e))),n}function Xt(e,t){const o=function(e){const t=e.root.document.model.schema;let o=e.parent;for(;o;){if(t.isBlock(o))return o;o=o.parent}}(e);if(!o)return!0;return!t.containsRange(zt._createOn(o),!0)}function Qt(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.start.isTouching(It._createAt(e,e.maxOffset))&&Xt(e,t))}function eo(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.end.isTouching(It._createAt(e,0))&&Xt(e,t))}Yt.prototype.is=function(e){return"selection"===e||"model:selection"===e};class to extends((0,a.Mm)(zt)){constructor(e,t){super(e,t),oo.call(this)}detach(){this.stopListening()}toRange(){return new zt(this.start,this.end)}static fromRange(e){return new to(e.start,e.end)}}function oo(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&so.call(this,o)}),{priority:"low"})}function so(e){const t=this.getTransformedByOperation(e),o=zt._createFromRanges(t),s=!o.isEqual(this),i=function(e,t){switch(t.type){case"insert":return e.containsPosition(t.position);case"move":case"remove":case"reinsert":case"merge":return e.containsPosition(t.sourcePosition)||e.start.isEqual(t.sourcePosition)||e.containsPosition(t.targetPosition);case"split":return e.containsPosition(t.splitPosition)||e.containsPosition(t.insertionPosition)}return!1}(this,e);let n=null;if(s){"$graveyard"==o.root.rootName&&(n="remove"==e.type?e.sourcePosition:e.deletionPosition);const t=this.toRange();this.start=o.start,this.end=o.end,this.fire("change:range",t,{deletionPosition:n})}else i&&this.fire("change:content",this.toRange(),{deletionPosition:n})}to.prototype.is=function(e){return"liveRange"===e||"model:liveRange"===e||"range"==e||"model:range"===e};const io="selection:";class no extends((0,a.Mm)(Et)){_selection;constructor(e){super(),this._selection=new ro(e),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(e){return this._selection.containsEntireContent(e)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(e){return this._selection.getAttribute(e)}hasAttribute(e){return this._selection.hasAttribute(e)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(e){this._selection.observeMarkers(e)}_setFocus(e,t){this._selection.setFocus(e,t)}_setTo(...e){this._selection.setTo(...e)}_setAttribute(e,t){this._selection.setAttribute(e,t)}_removeAttribute(e){this._selection.removeAttribute(e)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(e){this._selection.restoreGravity(e)}static _getStoreAttributeKey(e){return io+e}static _isStoreAttributeKey(e){return e.startsWith(io)}}no.prototype.is=function(e){return"selection"===e||"model:selection"==e||"documentSelection"==e||"model:documentSelection"==e};class ro extends Yt{markers=new a.pM({idProperty:"name"});_model;_document;_attributePriority=new Map;_selectionRestorePosition=null;_hasChangedRange=!1;_overriddenGravityRegister=new Set;_observedMarkers=new Set;constructor(e){super(),this._model=e.model,this._document=e,this.listenTo(this._model,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&"marker"!=o.type&&"rename"!=o.type&&"noop"!=o.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))}),{priority:"lowest"}),this.on("change:range",(()=>{this._validateSelectionRanges(this.getRanges())})),this.listenTo(this._model.markers,"update",((e,t,o,s)=>{this._updateMarker(t,s)})),this.listenTo(this._document,"change",((e,t)=>{!function(e,t){const o=e.document.differ;for(const s of o.getChanges()){if("insert"!=s.type)continue;const o=s.position.parent;s.length===o.maxOffset&&e.enqueueChange(t,(e=>{const t=Array.from(o.getAttributeKeys()).filter((e=>e.startsWith(io)));for(const s of t)e.removeAttribute(s,o)}))}}(this._model,t)}))}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let e=0;e<this._ranges.length;e++)this._ranges[e].detach();this.stopListening()}*getRanges(){this._ranges.length?yield*super.getRanges():yield this._document._getDefaultRange()}getFirstRange(){return super.getFirstRange()||this._document._getDefaultRange()}getLastRange(){return super.getLastRange()||this._document._getDefaultRange()}setTo(...e){super.setTo(...e),this._updateAttributes(!0),this.updateMarkers()}setFocus(e,t){super.setFocus(e,t),this._updateAttributes(!0),this.updateMarkers()}setAttribute(e,t){if(this._setAttribute(e,t)){const t=[e];this.fire("change:attribute",{attributeKeys:t,directChange:!0})}}removeAttribute(e){if(this._removeAttribute(e)){const t=[e];this.fire("change:attribute",{attributeKeys:t,directChange:!0})}}overrideGravity(){const e=(0,a.Ld)();return this._overriddenGravityRegister.add(e),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),e}restoreGravity(e){if(!this._overriddenGravityRegister.has(e))throw new a.Yb("document-selection-gravity-wrong-restore",this,{uid:e});this._overriddenGravityRegister.delete(e),this.isGravityOverridden||this._updateAttributes(!0)}observeMarkers(e){this._observedMarkers.add(e),this.updateMarkers()}_replaceAllRanges(e){this._validateSelectionRanges(e),super._replaceAllRanges(e)}_popRange(){this._ranges.pop().detach()}_pushRange(e){const t=this._prepareRange(e);t&&this._ranges.push(t)}_validateSelectionRanges(e){for(const t of e)if(!this._document._validateSelectionRange(t))throw new a.Yb("document-selection-wrong-position",this,{range:t})}_prepareRange(e){if(this._checkRange(e),e.root==this._document.graveyard)return;const t=to.fromRange(e);return t.on("change:range",((e,o,s)=>{if(this._hasChangedRange=!0,t.root==this._document.graveyard){this._selectionRestorePosition=s.deletionPosition;const e=this._ranges.indexOf(t);this._ranges.splice(e,1),t.detach()}})),t}updateMarkers(){if(!this._observedMarkers.size)return;const e=[];let t=!1;for(const t of this._model.markers){const o=t.name.split(":",1)[0];if(!this._observedMarkers.has(o))continue;const s=t.getRange();for(const o of this.getRanges())s.containsRange(o,!o.isCollapsed)&&e.push(t)}const o=Array.from(this.markers);for(const o of e)this.markers.has(o)||(this.markers.add(o),t=!0);for(const o of Array.from(this.markers))e.includes(o)||(this.markers.remove(o),t=!0);t&&this.fire("change:marker",{oldMarkers:o,directChange:!1})}_updateMarker(e,t){const o=e.name.split(":",1)[0];if(!this._observedMarkers.has(o))return;let s=!1;const i=Array.from(this.markers),n=this.markers.has(e);if(t){let o=!1;for(const e of this.getRanges())if(t.containsRange(e,!e.isCollapsed)){o=!0;break}o&&!n?(this.markers.add(e),s=!0):!o&&n&&(this.markers.remove(e),s=!0)}else n&&(this.markers.remove(e),s=!0);s&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateAttributes(e){const t=(0,a.av)(this._getSurroundingAttributes()),o=(0,a.av)(this.getAttributes());if(e)this._attributePriority=new Map,this._attrs=new Map;else for(const[e,t]of this._attributePriority)"low"==t&&(this._attrs.delete(e),this._attributePriority.delete(e));this._setAttributesTo(t);const s=[];for(const[e,t]of this.getAttributes())o.has(e)&&o.get(e)===t||s.push(e);for(const[e]of o)this.hasAttribute(e)||s.push(e);s.length>0&&this.fire("change:attribute",{attributeKeys:s,directChange:!1})}_setAttribute(e,t,o=!0){const s=o?"normal":"low";if("low"==s&&"normal"==this._attributePriority.get(e))return!1;return super.getAttribute(e)!==t&&(this._attrs.set(e,t),this._attributePriority.set(e,s),!0)}_removeAttribute(e,t=!0){const o=t?"normal":"low";return("low"!=o||"normal"!=this._attributePriority.get(e))&&(this._attributePriority.set(e,o),!!super.hasAttribute(e)&&(this._attrs.delete(e),!0))}_setAttributesTo(e){const t=new Set;for(const[t,o]of this.getAttributes())e.get(t)!==o&&this._removeAttribute(t,!1);for(const[o,s]of e){this._setAttribute(o,s,!1)&&t.add(o)}return t}*getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const t of e.getAttributeKeys())if(t.startsWith(io)){const o=t.substr(10);yield[o,e.getAttribute(t)]}}_getSurroundingAttributes(){const e=this.getFirstPosition(),t=this._model.schema;if("$graveyard"==e.root.rootName)return null;let o=null;if(this.isCollapsed){const s=e.textNode?e.textNode:e.nodeBefore,i=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(o=ao(s,t)),o||(o=ao(i,t)),!this.isGravityOverridden&&!o){let e=s;for(;e&&!o;)e=e.previousSibling,o=ao(e,t)}if(!o){let e=i;for(;e&&!o;)e=e.nextSibling,o=ao(e,t)}o||(o=this.getStoredAttributes())}else{const e=this.getFirstRange();for(const s of e){if(s.item.is("element")&&t.isObject(s.item)){o=ao(s.item,t);break}if("text"==s.type){o=s.item.getAttributes();break}}}return o}_fixGraveyardSelection(e){const t=this._model.schema.getNearestSelectionRange(e);t&&this._pushRange(t)}}function ao(e,t){if(!e)return null;if(e instanceof Ot||e instanceof Mt)return e.getAttributes();if(!t.isInline(e))return null;if(!t.isObject(e))return[];const o=[];for(const[s,i]of e.getAttributes())t.checkAttribute("$text",s)&&!1!==t.getAttributeProperties(s).copyFromObject&&o.push([s,i]);return o}class co{_dispatchers;constructor(e){this._dispatchers=e}add(e){for(const t of this._dispatchers)e(t);return this}}class lo extends co{elementToElement(e){return this.add(function(e){const t=go(e.model),o=_o(e.view,"container");t.attributes.length&&(t.children=!0);return s=>{s.on(`insert:${t.name}`,mo(o,yo(t)),{priority:e.converterPriority||"normal"}),(t.children||t.attributes.length)&&s.on("reduceChanges",vo(t),{priority:"low"})}}(e))}elementToStructure(e){return this.add(function(e){const t=go(e.model),o=_o(e.view,"container");return t.children=!0,s=>{if(s._conversionApi.schema.checkChild(t.name,"$text"))throw new a.Yb("conversion-element-to-structure-disallowed-text",s,{elementName:t.name});var i,n;s.on(`insert:${t.name}`,(i=o,n=yo(t),(e,t,o)=>{if(!n(t.item,o.consumable,{preflight:!0}))return;const s=new Map;o.writer._registerSlotFactory(function(e,t,o){return(s,i)=>{const n=s.createContainerElement("$slot");let r=null;if("children"===i)r=Array.from(e.getChildren());else{if("function"!=typeof i)throw new a.Yb("conversion-slot-mode-unknown",o.dispatcher,{modeOrFilter:i});r=Array.from(e.getChildren()).filter((e=>i(e)))}return t.set(n,r),n}}(t.item,s,o));const r=i(t.item,o,t);if(o.writer._clearSlotFactory(),!r)return;!function(e,t,o){const s=Array.from(t.values()).flat(),i=new Set(s);if(i.size!=s.length)throw new a.Yb("conversion-slot-filter-overlap",o.dispatcher,{element:e});if(i.size!=e.childCount)throw new a.Yb("conversion-slot-filter-incomplete",o.dispatcher,{element:e})}(t.item,s,o),n(t.item,o.consumable);const c=o.mapper.toViewPosition(t.range.start);o.mapper.bindElements(t.item,r),o.writer.insert(c,r),o.convertAttributes(t.item),function(e,t,o,s){o.mapper.on("modelToViewPosition",r,{priority:"highest"});let i=null,n=null;for([i,n]of t)xo(e,n,o,s),o.writer.move(o.writer.createRangeIn(i),o.writer.createPositionBefore(i)),o.writer.remove(i);function r(e,t){const o=t.modelPosition.nodeAfter,s=n.indexOf(o);s<0||(t.viewPosition=t.mapper.findPositionIn(i,s))}o.mapper.off("modelToViewPosition",r)}(r,s,o,{reconversion:t.reconversion})}),{priority:e.converterPriority||"normal"}),s.on("reduceChanges",vo(t),{priority:"low"})}}(e))}attributeToElement(e){return this.add(function(e){e=(0,Ct.A)(e);let t=e.model;"string"==typeof t&&(t={key:t});let o=`attribute:${t.key}`;t.name&&(o+=":"+t.name);if(t.values)for(const o of t.values)e.view[o]=_o(e.view[o],"attribute");else e.view=_o(e.view,"attribute");const s=bo(e);return t=>{t.on(o,uo(s),{priority:e.converterPriority||"normal"})}}(e))}attributeToAttribute(e){return this.add(function(e){e=(0,Ct.A)(e);let t=e.model;"string"==typeof t&&(t={key:t});let o=`attribute:${t.key}`;t.name&&(o+=":"+t.name);if(t.values)for(const o of t.values)e.view[o]=ko(e.view[o]);else e.view=ko(e.view);const s=bo(e);return t=>{var i;t.on(o,(i=s,(e,t,o)=>{if(!o.consumable.test(t.item,e.name))return;const s=i(t.attributeOldValue,o,t),n=i(t.attributeNewValue,o,t);if(!s&&!n)return;o.consumable.consume(t.item,e.name);const r=o.mapper.toViewElement(t.item),c=o.writer;if(!r)throw new a.Yb("conversion-attribute-to-attribute-on-text",o.dispatcher,t);if(null!==t.attributeOldValue&&s)if("class"==s.key){const e="string"==typeof s.value?s.value.split(/\s+/):s.value;for(const t of e)c.removeClass(t,r)}else if("style"==s.key)if("string"==typeof s.value){const e=new $(c.document.stylesProcessor);e.setTo(s.value);for(const[t]of e.getStylesEntries())c.removeStyle(t,r)}else{const e=Object.keys(s.value);for(const t of e)c.removeStyle(t,r)}else c.removeAttribute(s.key,r);if(null!==t.attributeNewValue&&n)if("class"==n.key){const e="string"==typeof n.value?n.value.split(/\s+/):n.value;for(const t of e)c.addClass(t,r)}else if("style"==n.key)if("string"==typeof n.value){const e=new $(c.document.stylesProcessor);e.setTo(n.value);for(const[t,o]of e.getStylesEntries())c.setStyle(t,o,r)}else{const e=Object.keys(n.value);for(const t of e)c.setStyle(t,n.value[t],r)}else c.setAttribute(n.key,n.value,r)}),{priority:e.converterPriority||"normal"})}}(e))}markerToElement(e){return this.add(function(e){const t=_o(e.view,"ui");return o=>{o.on(`addMarker:${e.model}`,po(t),{priority:e.converterPriority||"normal"}),o.on(`removeMarker:${e.model}`,((e,t,o)=>{const s=o.mapper.markerNameToElements(t.markerName);if(s){for(const e of s)o.mapper.unbindElementFromMarkerName(e,t.markerName),o.writer.clear(o.writer.createRangeOn(e),e);o.writer.clearClonedElementsGroup(t.markerName),e.stop()}}),{priority:e.converterPriority||"normal"})}}(e))}markerToHighlight(e){return this.add(function(e){return t=>{var o;t.on(`addMarker:${e.model}`,(o=e.view,(e,t,s)=>{if(!t.item)return;if(!(t.item instanceof Yt||t.item instanceof no||t.item.is("$textProxy")))return;const i=wo(o,t,s);if(!i)return;if(!s.consumable.consume(t.item,e.name))return;const n=s.writer,r=ho(n,i),a=n.document.selection;if(t.item instanceof Yt||t.item instanceof no)n.wrap(a.getFirstRange(),r);else{const e=s.mapper.toViewRange(t.range),o=n.wrap(e,r);for(const e of o.getItems())if(e.is("attributeElement")&&e.isSimilar(r)){s.mapper.bindElementToMarker(e,t.markerName);break}}}),{priority:e.converterPriority||"normal"}),t.on(`addMarker:${e.model}`,function(e){return(t,o,s)=>{if(!o.item)return;if(!(o.item instanceof Vt))return;const i=wo(e,o,s);if(!i)return;if(!s.consumable.test(o.item,t.name))return;const n=s.mapper.toViewElement(o.item);if(n&&n.getCustomProperty("addHighlight")){s.consumable.consume(o.item,t.name);for(const e of zt._createIn(o.item))s.consumable.consume(e.item,t.name);n.getCustomProperty("addHighlight")(n,i,s.writer),s.mapper.bindElementToMarker(n,o.markerName)}}}(e.view),{priority:e.converterPriority||"normal"}),t.on(`removeMarker:${e.model}`,function(e){return(t,o,s)=>{if(o.markerRange.isCollapsed)return;const i=wo(e,o,s);if(!i)return;const n=ho(s.writer,i),r=s.mapper.markerNameToElements(o.markerName);if(r){for(const e of r)if(s.mapper.unbindElementFromMarkerName(e,o.markerName),e.is("attributeElement"))s.writer.unwrap(s.writer.createRangeOn(e),n);else{e.getCustomProperty("removeHighlight")(e,i.id,s.writer)}s.writer.clearClonedElementsGroup(o.markerName),t.stop()}}}(e.view),{priority:e.converterPriority||"normal"})}}(e))}markerToData(e){return this.add(function(e){e=(0,Ct.A)(e);const t=e.model;let o=e.view;o||(o=o=>({group:t,name:o.substr(e.model.length+1)}));return s=>{var i;s.on(`addMarker:${t}`,(i=o,(e,t,o)=>{const s=i(t.markerName,o);if(!s)return;const n=t.markerRange;o.consumable.consume(n,e.name)&&(fo(n,!1,o,t,s),fo(n,!0,o,t,s),e.stop())}),{priority:e.converterPriority||"normal"}),s.on(`removeMarker:${t}`,function(e){return(t,o,s)=>{const i=e(o.markerName,s);if(!i)return;const n=s.mapper.markerNameToElements(o.markerName);if(n){for(const e of n)s.mapper.unbindElementFromMarkerName(e,o.markerName),e.is("containerElement")?(r(`data-${i.group}-start-before`,e),r(`data-${i.group}-start-after`,e),r(`data-${i.group}-end-before`,e),r(`data-${i.group}-end-after`,e)):s.writer.clear(s.writer.createRangeOn(e),e);s.writer.clearClonedElementsGroup(o.markerName),t.stop()}function r(e,t){if(t.hasAttribute(e)){const o=new Set(t.getAttribute(e).split(","));o.delete(i.name),0==o.size?s.writer.removeAttribute(e,t):s.writer.setAttribute(e,Array.from(o).join(","),t)}}}}(o),{priority:e.converterPriority||"normal"})}}(e))}}function ho(e,t){const o=e.createAttributeElement("span",t.attributes);return t.classes&&o._addClass(t.classes),"number"==typeof t.priority&&(o._priority=t.priority),o._id=t.id,o}function uo(e){return(t,o,s)=>{if(!s.consumable.test(o.item,t.name))return;const i=e(o.attributeOldValue,s,o),n=e(o.attributeNewValue,s,o);if(!i&&!n)return;s.consumable.consume(o.item,t.name);const r=s.writer,a=r.document.selection;if(o.item instanceof Yt||o.item instanceof no)r.wrap(a.getFirstRange(),n);else{let e=s.mapper.toViewRange(o.range);null!==o.attributeOldValue&&i&&(e=r.unwrap(e,i)),null!==o.attributeNewValue&&n&&r.wrap(e,n)}}}function mo(e,t=Co){return(o,s,i)=>{if(!t(s.item,i.consumable,{preflight:!0}))return;const n=e(s.item,i,s);if(!n)return;t(s.item,i.consumable);const r=i.mapper.toViewPosition(s.range.start);i.mapper.bindElements(s.item,n),i.writer.insert(r,n),i.convertAttributes(s.item),xo(n,s.item.getChildren(),i,{reconversion:s.reconversion})}}function po(e){return(t,o,s)=>{o.isOpening=!0;const i=e(o,s);o.isOpening=!1;const n=e(o,s);if(!i||!n)return;const r=o.markerRange;if(r.isCollapsed&&!s.consumable.consume(r,t.name))return;for(const e of r)if(!s.consumable.consume(e.item,t.name))return;const a=s.mapper,c=s.writer;c.insert(a.toViewPosition(r.start),i),s.mapper.bindElementToMarker(i,o.markerName),r.isCollapsed||(c.insert(a.toViewPosition(r.end),n),s.mapper.bindElementToMarker(n,o.markerName)),t.stop()}}function fo(e,t,o,s,i){const n=t?e.start:e.end,r=n.nodeAfter&&n.nodeAfter.is("element")?n.nodeAfter:null,a=n.nodeBefore&&n.nodeBefore.is("element")?n.nodeBefore:null;if(r||a){let e,n;t&&r||!t&&!a?(e=r,n=!0):(e=a,n=!1);const c=o.mapper.toViewElement(e);if(c)return void function(e,t,o,s,i,n){const r=`data-${n.group}-${t?"start":"end"}-${o?"before":"after"}`,a=e.hasAttribute(r)?e.getAttribute(r).split(","):[];a.unshift(n.name),s.writer.setAttribute(r,a.join(","),e),s.mapper.bindElementToMarker(e,i.markerName)}(c,t,n,o,s,i)}!function(e,t,o,s,i){const n=`${i.group}-${t?"start":"end"}`,r=i.name?{name:i.name}:null,a=o.writer.createUIElement(n,r);o.writer.insert(e,a),o.mapper.bindElementToMarker(a,s.markerName)}(o.mapper.toViewPosition(n),t,o,s,i)}function go(e){return"string"==typeof e&&(e={name:e}),{name:e.name,attributes:e.attributes?(0,a.$r)(e.attributes):[],children:!!e.children}}function _o(e,t){return"function"==typeof e?e:(o,s)=>function(e,t,o){"string"==typeof e&&(e={name:e});let s;const i=t.writer,n=Object.assign({},e.attributes);if("container"==o)s=i.createContainerElement(e.name,n);else if("attribute"==o){const t={priority:e.priority||pe.DEFAULT_PRIORITY};s=i.createAttributeElement(e.name,n,t)}else s=i.createUIElement(e.name,n);if(e.styles){const t=Object.keys(e.styles);for(const o of t)i.setStyle(o,e.styles[o],s)}if(e.classes){const t=e.classes;if("string"==typeof t)i.addClass(t,s);else for(const e of t)i.addClass(e,s)}return s}(e,s,t)}function bo(e){return e.model.values?(t,o,s)=>{const i=e.view[t];return i?i(t,o,s):null}:e.view}function ko(e){return"string"==typeof e?t=>({key:e,value:t}):"object"==typeof e?e.value?()=>e:t=>({key:e.key,value:t}):e}function wo(e,t,o){const s="function"==typeof e?e(t,o):e;return s?(s.priority||(s.priority=10),s.id||(s.id=t.markerName),s):null}function vo(e){const t=function(e){return(t,o)=>{if(!t.is("element",e.name))return!1;if("attribute"==o.type){if(e.attributes.includes(o.attributeKey))return!0}else if(e.children)return!0;return!1}}(e);return(e,o)=>{const s=[];o.reconvertedElements||(o.reconvertedElements=new Set);for(const e of o.changes){const i="attribute"==e.type?e.range.start.nodeAfter:e.position.parent;if(i&&t(i,e)){if(!o.reconvertedElements.has(i)){o.reconvertedElements.add(i);const e=It._createBefore(i);let t=s.length;for(let o=s.length-1;o>=0;o--){const i=s[o],n=("attribute"==i.type?i.range.start:i.position).compareWith(e);if("before"==n||"remove"==i.type&&"same"==n)break;t=o}s.splice(t,0,{type:"remove",name:i.name,position:e,length:1},{type:"reinsert",name:i.name,position:e,length:1})}}else s.push(e)}o.changes=s}}function yo(e){return(t,o,s={})=>{const i=["insert"];for(const o of e.attributes)t.hasAttribute(o)&&i.push(`attribute:${o}`);return!!i.every((e=>o.test(t,e)))&&(s.preflight||i.forEach((e=>o.consume(t,e))),!0)}}function xo(e,t,o,s){for(const i of t)Ao(e.root,i,o,s)||o.convertItem(i)}function Ao(e,t,o,s){const{writer:i,mapper:n}=o;if(!s.reconversion)return!1;const r=n.toViewElement(t);return!(!r||r.root==e)&&(!!o.canReuseView(r)&&(i.move(i.createRangeOn(r),n.toViewPosition(It._createBefore(t))),!0))}function Co(e,t,{preflight:o}={}){return o?t.test(e,"insert"):t.consume(e,"insert")}function To(e){const{schema:t,document:o}=e.model;for(const s of o.getRoots())if(s.isEmpty&&!t.checkChild(s,"$text")&&t.checkChild(s,"paragraph"))return e.insertElement("paragraph",s),!0;return!1}function Eo(e,t,o){const s=o.createContext(e);return!!o.checkChild(s,"paragraph")&&!!o.checkChild(s.push("paragraph"),t)}function Po(e,t){const o=t.createElement("paragraph");return t.insert(o,e),t.createPositionAt(o,0)}class So extends co{elementToElement(e){return this.add(Mo(e))}elementToAttribute(e){return this.add(function(e){e=(0,Ct.A)(e),Ro(e);const t=jo(e,!1),o=Oo(e.view),s=o?`element:${o}`:"element";return o=>{o.on(s,t,{priority:e.converterPriority||"low"})}}(e))}attributeToAttribute(e){return this.add(function(e){e=(0,Ct.A)(e);let t=null;("string"==typeof e.view||e.view.key)&&(t=function(e){"string"==typeof e.view&&(e.view={key:e.view});const t=e.view.key,o=void 0===e.view.value?/[\s\S]*/:e.view.value;let s;if("class"==t||"style"==t){const e="class"==t?"classes":"styles";s={[e]:o}}else s={attributes:{[t]:o}};e.view.name&&(s.name=e.view.name);return e.view=s,t}(e));Ro(e,t);const o=jo(e,!0);return t=>{t.on("element",o,{priority:e.converterPriority||"low"})}}(e))}elementToMarker(e){return this.add(function(e){const t=function(e){return(t,o)=>{const s="string"==typeof e?e:e(t,o);return o.writer.createElement("$marker",{"data-name":s})}}(e.model);return Mo({...e,model:t})}(e))}dataToMarker(e){return this.add(function(e){e=(0,Ct.A)(e),e.model||(e.model=t=>t?e.view+":"+t:e.view);const t={view:e.view,model:e.model},o=Vo(Io(t,"start")),s=Vo(Io(t,"end"));return i=>{i.on(`element:${e.view}-start`,o,{priority:e.converterPriority||"normal"}),i.on(`element:${e.view}-end`,s,{priority:e.converterPriority||"normal"});const n=a.vx.low,r=a.vx.highest,c=a.vx.get(e.converterPriority)/r;i.on("element",function(e){return(t,o,s)=>{const i=`data-${e.view}`;function n(t,i){for(const n of i){const i=e.model(n,s),r=s.writer.createElement("$marker",{"data-name":i});s.writer.insert(r,t),o.modelCursor.isEqual(t)?o.modelCursor=o.modelCursor.getShiftedBy(1):o.modelCursor=o.modelCursor._getTransformedByInsertion(t,1),o.modelRange=o.modelRange._getTransformedByInsertion(t,1)[0]}}(s.consumable.test(o.viewItem,{attributes:i+"-end-after"})||s.consumable.test(o.viewItem,{attributes:i+"-start-after"})||s.consumable.test(o.viewItem,{attributes:i+"-end-before"})||s.consumable.test(o.viewItem,{attributes:i+"-start-before"}))&&(o.modelRange||Object.assign(o,s.convertChildren(o.viewItem,o.modelCursor)),s.consumable.consume(o.viewItem,{attributes:i+"-end-after"})&&n(o.modelRange.end,o.viewItem.getAttribute(i+"-end-after").split(",")),s.consumable.consume(o.viewItem,{attributes:i+"-start-after"})&&n(o.modelRange.end,o.viewItem.getAttribute(i+"-start-after").split(",")),s.consumable.consume(o.viewItem,{attributes:i+"-end-before"})&&n(o.modelRange.start,o.viewItem.getAttribute(i+"-end-before").split(",")),s.consumable.consume(o.viewItem,{attributes:i+"-start-before"})&&n(o.modelRange.start,o.viewItem.getAttribute(i+"-start-before").split(",")))}}(t),{priority:n+c})}}(e))}}function Mo(e){const t=Vo(e=(0,Ct.A)(e)),o=Oo(e.view),s=o?`element:${o}`:"element";return o=>{o.on(s,t,{priority:e.converterPriority||"normal"})}}function Oo(e){return"string"==typeof e?e:"object"==typeof e&&"string"==typeof e.name?e.name:null}function Vo(e){const t=new C(e.view);return(o,s,i)=>{const n=t.match(s.viewItem);if(!n)return;const r=n.match;if(r.name=!0,!i.consumable.test(s.viewItem,r))return;const a=function(e,t,o){return e instanceof Function?e(t,o):o.writer.createElement(e)}(e.model,s.viewItem,i);a&&i.safeInsert(a,s.modelCursor)&&(i.consumable.consume(s.viewItem,r),i.convertChildren(s.viewItem,a),i.updateConversionResult(a,s))}}function Ro(e,t=null){const o=null===t||(e=>e.getAttribute(t)),s="object"!=typeof e.model?e.model:e.model.key,i="object"!=typeof e.model||void 0===e.model.value?o:e.model.value;e.model={key:s,value:i}}function jo(e,t){const o=new C(e.view);return(s,i,n)=>{if(!i.modelRange&&t)return;const r=o.match(i.viewItem);if(!r)return;if(!function(e,t){const o="function"==typeof e?e(t):e;if("object"==typeof o&&!Oo(o))return!1;return!o.classes&&!o.attributes&&!o.styles}(e.view,i.viewItem)?delete r.match.name:r.match.name=!0,!n.consumable.test(i.viewItem,r.match))return;const a=e.model.key,c="function"==typeof e.model.value?e.model.value(i.viewItem,n):e.model.value;if(null===c)return;i.modelRange||Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor));const l=function(e,t,o,s){let i=!1;for(const n of Array.from(e.getItems({shallow:o})))s.schema.checkAttribute(n,t.key)&&(i=!0,n.hasAttribute(t.key)||s.writer.setAttribute(t.key,t.value,n));return i}(i.modelRange,{key:a,value:c},t,n);l&&(n.consumable.test(i.viewItem,{name:!0})&&(r.match.name=!0),n.consumable.consume(i.viewItem,r.match))}}function Io(e,t){return{view:`${e.view}-${t}`,model:(t,o)=>{const s=t.getAttribute("name"),i=e.model(s,o);return o.writer.createElement("$marker",{"data-name":i})}}}function Bo(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.selection,s=t.schema,i=[];let n=!1;for(const e of o.getRanges()){const t=Do(e,s);t&&!t.isEqual(e)?(i.push(t),n=!0):i.push(e)}n&&e.setSelection(function(e){const t=[...e],o=new Set;let s=1;for(;s<t.length;){const e=t[s],i=t.slice(0,s);for(const[n,r]of i.entries())if(!o.has(n))if(e.isEqual(r))o.add(n);else if(e.isIntersecting(r)){o.add(n),o.add(s);const i=e.getJoined(r);t.push(i)}s++}return t.filter(((e,t)=>!o.has(t)))}(i),{backward:o.isBackward});return!1}(t,e)))}function Do(e,t){return e.isCollapsed?function(e,t){const o=e.start,s=t.getNearestSelectionRange(o);if(!s){const e=o.getAncestors().reverse().find((e=>t.isObject(e)));return e?zt._createOn(e):null}if(!s.isCollapsed)return s;const i=s.start;if(o.isEqual(i))return null;return new zt(i)}(e,t):function(e,t){const{start:o,end:s}=e,i=t.checkChild(o,"$text"),n=t.checkChild(s,"$text"),r=t.getLimitElement(o),a=t.getLimitElement(s);if(r===a){if(i&&n)return null;if(function(e,t,o){const s=e.nodeAfter&&!o.isLimit(e.nodeAfter)||o.checkChild(e,"$text"),i=t.nodeBefore&&!o.isLimit(t.nodeBefore)||o.checkChild(t,"$text");return s||i}(o,s,t)){const e=o.nodeAfter&&t.isSelectable(o.nodeAfter)?null:t.getNearestSelectionRange(o,"forward"),i=s.nodeBefore&&t.isSelectable(s.nodeBefore)?null:t.getNearestSelectionRange(s,"backward"),n=e?e.start:o,r=i?i.end:s;return new zt(n,r)}}const c=r&&!r.is("rootElement"),l=a&&!a.is("rootElement");if(c||l){const e=o.nodeAfter&&s.nodeBefore&&o.nodeAfter.parent===s.nodeBefore.parent,i=c&&(!e||!Fo(o.nodeAfter,t)),n=l&&(!e||!Fo(s.nodeBefore,t));let d=o,h=s;return i&&(d=It._createBefore(No(r,t))),n&&(h=It._createAfter(No(a,t))),new zt(d,h)}return null}(e,t)}function No(e,t){let o=e,s=o;for(;t.isLimit(s)&&s.parent;)o=s,s=s.parent;return o}function Fo(e,t){return e&&t.isSelectable(e)}class Lo extends((0,a.VM)()){model;view;mapper;downcastDispatcher;constructor(e,t){super(),this.model=e,this.view=new Tt(t),this.mapper=new Ht,this.downcastDispatcher=new qt({mapper:this.mapper,schema:e.schema});const o=this.model.document,s=o.selection,i=this.model.markers;var n,r,c;this.listenTo(this.model,"_beforeChanges",(()=>{this.view._disableRendering(!0)}),{priority:"highest"}),this.listenTo(this.model,"_afterChanges",(()=>{this.view._disableRendering(!1)}),{priority:"lowest"}),this.listenTo(o,"change",(()=>{this.view.change((e=>{this.downcastDispatcher.convertChanges(o.differ,i,e),this.downcastDispatcher.convertSelection(s,i,e)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(e,t){return(o,s)=>{const i=s.newSelection,n=[];for(const e of i.getRanges())n.push(t.toModelRange(e));const r=e.createSelection(n,{backward:i.isBackward});r.isEqual(e.document.selection)||e.change((e=>{e.setSelection(r)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(n=this.mapper,r=this.model.schema,c=this.view,(e,t)=>{if(!c.document.isComposing||a._K.isAndroid)for(let e=0;e<t.targetRanges.length;e++){const o=t.targetRanges[e],s=n.toModelRange(o),i=Do(s,r);i&&!i.isEqual(s)&&(t.targetRanges[e]=n.toViewRange(i))}}),{priority:"high"}),this.downcastDispatcher.on("insert:$text",((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const s=o.writer,i=o.mapper.toViewPosition(t.range.start),n=s.createText(t.item.data);s.insert(i,n)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,o)=>{o.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||o.convertChildren(t.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((e,t,o)=>{const s=o.mapper.toViewPosition(t.position),i=t.position.getShiftedBy(t.length),n=o.mapper.toViewPosition(i,{isPhantom:!0}),r=o.writer.createRange(s,n),a=o.writer.remove(r.getTrimmed());for(const e of o.writer.createRangeIn(a).getItems())o.mapper.unbindViewElement(e,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("cleanSelection",((e,t,o)=>{const s=o.writer,i=s.document.selection;for(const e of i.getRanges())e.isCollapsed&&e.end.parent.isAttached()&&o.writer.mergeAttributes(e.start);s.setSelection(null)})),this.downcastDispatcher.on("selection",((e,t,o)=>{const s=t.selection;if(s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=[];for(const e of s.getRanges())i.push(o.mapper.toViewRange(e));o.writer.setSelection(i,{backward:s.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((e,t,o)=>{const s=t.selection;if(!s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=o.writer,n=s.getFirstPosition(),r=o.mapper.toViewPosition(n),a=i.breakAttributes(r);i.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((e=>{if("$graveyard"==e.rootName)return null;const t=new Q(this.view.document,e.name);return t.rootName=e.rootName,this.mapper.bindElements(e,t),t}))}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(e){const t="string"==typeof e?e:e.name,o=this.model.markers.get(t);if(!o)throw new a.Yb("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:t});this.model.change((()=>{this.model.markers._refresh(o)}))}reconvertItem(e){this.model.change((()=>{this.model.document.differ._refreshItem(e)}))}}class zo{_consumables=new Map;add(e,t){let o;e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):(this._consumables.has(e)?o=this._consumables.get(e):(o=new $o(e),this._consumables.set(e,o)),o.add(t))}test(e,t){const o=this._consumables.get(e);return void 0===o?null:e.is("$text")||e.is("documentFragment")?o:o.test(t)}consume(e,t){return!!this.test(e,t)&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!1):this._consumables.get(e).consume(t),!0)}revert(e,t){const o=this._consumables.get(e);void 0!==o&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):o.revert(t))}static consumablesFromElement(e){const t={element:e,name:!0,attributes:[],classes:[],styles:[]},o=e.getAttributeKeys();for(const e of o)"style"!=e&&"class"!=e&&t.attributes.push(e);const s=e.getClassNames();for(const e of s)t.classes.push(e);const i=e.getStyleNames();for(const e of i)t.styles.push(e);return t}static createFrom(e,t){if(t||(t=new zo),e.is("$text"))return t.add(e),t;e.is("element")&&t.add(e,zo.consumablesFromElement(e)),e.is("documentFragment")&&t.add(e);for(const o of e.getChildren())t=zo.createFrom(o,t);return t}}const Ho=["attributes","classes","styles"];class $o{element;_canConsumeName;_consumables;constructor(e){this.element=e,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(e){e.name&&(this._canConsumeName=!0);for(const t of Ho)t in e&&this._add(t,e[t])}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const t of Ho)if(t in e){const o=this._test(t,e[t]);if(!0!==o)return o}return!0}consume(e){e.name&&(this._canConsumeName=!1);for(const t of Ho)t in e&&this._consume(t,e[t])}revert(e){e.name&&(this._canConsumeName=!0);for(const t of Ho)t in e&&this._revert(t,e[t])}_add(e,t){const o=(0,a.$r)(t),s=this._consumables[e];for(const t of o){if("attributes"===e&&("class"===t||"style"===t))throw new a.Yb("viewconsumable-invalid-attribute",this);if(s.set(t,!0),"styles"===e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))s.set(e,!0)}}_test(e,t){const o=(0,a.$r)(t),s=this._consumables[e];for(const t of o)if("attributes"!==e||"class"!==t&&"style"!==t){const e=s.get(t);if(void 0===e)return null;if(!e)return!1}else{const e="class"==t?"classes":"styles",o=this._test(e,[...this._consumables[e].keys()]);if(!0!==o)return o}return!0}_consume(e,t){const o=(0,a.$r)(t),s=this._consumables[e];for(const t of o)if("attributes"!==e||"class"!==t&&"style"!==t){if(s.set(t,!1),"styles"==e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))s.set(e,!1)}else{const e="class"==t?"classes":"styles";this._consume(e,[...this._consumables[e].keys()])}}_revert(e,t){const o=(0,a.$r)(t),s=this._consumables[e];for(const t of o)if("attributes"!==e||"class"!==t&&"style"!==t){!1===s.get(t)&&s.set(t,!0)}else{const e="class"==t?"classes":"styles";this._revert(e,[...this._consumables[e].keys()])}}}class Wo extends((0,a.VM)()){_sourceDefinitions={};_attributeProperties=Object.create(null);_customChildChecks=new Map;_customAttributeChecks=new Map;_genericCheckSymbol=Symbol("$generic");_compiledDefinitions;constructor(){super(),this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((e,t)=>{t[0]=new qo(t[0])}),{priority:"highest"}),this.on("checkChild",((e,t)=>{t[0]=new qo(t[0]),t[1]=this.getDefinition(t[1])}),{priority:"highest"})}register(e,t){if(this._sourceDefinitions[e])throw new a.Yb("schema-cannot-register-item-twice",this,{itemName:e});this._sourceDefinitions[e]=[Object.assign({},t)],this._clearCache()}extend(e,t){if(!this._sourceDefinitions[e])throw new a.Yb("schema-cannot-extend-missing-item",this,{itemName:e});this._sourceDefinitions[e].push(Object.assign({},t)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(e){let t;return t="string"==typeof e?e:"is"in e&&(e.is("$text")||e.is("$textProxy"))?"$text":e.name,this.getDefinitions()[t]}isRegistered(e){return!!this.getDefinition(e)}isBlock(e){const t=this.getDefinition(e);return!(!t||!t.isBlock)}isLimit(e){const t=this.getDefinition(e);return!!t&&!(!t.isLimit&&!t.isObject)}isObject(e){const t=this.getDefinition(e);return!!t&&!!(t.isObject||t.isLimit&&t.isSelectable&&t.isContent)}isInline(e){const t=this.getDefinition(e);return!(!t||!t.isInline)}isSelectable(e){const t=this.getDefinition(e);return!!t&&!(!t.isSelectable&&!t.isObject)}isContent(e){const t=this.getDefinition(e);return!!t&&!(!t.isContent&&!t.isObject)}checkChild(e,t){return!!t&&this._checkContextMatch(e,t)}checkAttribute(e,t){const o=this.getDefinition(e.last);if(!o)return!1;const s=this._evaluateAttributeChecks(e,t);return void 0!==s?s:o.allowAttributes.includes(t)}checkMerge(e,t){if(e instanceof It){const t=e.nodeBefore,o=e.nodeAfter;if(!(t instanceof Vt))throw new a.Yb("schema-check-merge-no-element-before",this);if(!(o instanceof Vt))throw new a.Yb("schema-check-merge-no-element-after",this);return this.checkMerge(t,o)}if(this.isLimit(e)||this.isLimit(t))return!1;for(const o of t.getChildren())if(!this.checkChild(e,o))return!1;return!0}addChildCheck(e,t){const o=void 0!==t?t:this._genericCheckSymbol,s=this._customChildChecks.get(o)||[];s.push(e),this._customChildChecks.set(o,s)}addAttributeCheck(e,t){const o=void 0!==t?t:this._genericCheckSymbol,s=this._customAttributeChecks.get(o)||[];s.push(e),this._customAttributeChecks.set(o,s)}setAttributeProperties(e,t){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),t)}getAttributeProperties(e){return this._attributeProperties[e]||Object.create(null)}getLimitElement(e){let t;if(e instanceof It)t=e.parent;else{t=(e instanceof zt?[e]:Array.from(e.getRanges())).reduce(((e,t)=>{const o=t.getCommonAncestor();return e?e.getCommonAncestor(o,{includeSelf:!0}):o}),null)}for(;!this.isLimit(t)&&t.parent;)t=t.parent;return t}checkAttributeInSelection(e,t){if(e.isCollapsed){const o=[...e.getFirstPosition().getAncestors(),new Mt("",e.getAttributes())];return this.checkAttribute(o,t)}{const o=e.getRanges();for(const e of o)for(const o of e)if(this.checkAttribute(o.item,t))return!0}return!1}*getValidRanges(e,t){e=function*(e){for(const t of e)yield*t.getMinimalFlatRanges()}(e);for(const o of e)yield*this._getValidRangesForRange(o,t)}getNearestSelectionRange(e,t="both"){if("$graveyard"==e.root.rootName)return null;if(this.checkChild(e,"$text"))return new zt(e);let o,s;const i=e.getAncestors().reverse().find((e=>this.isLimit(e)))||e.root;"both"!=t&&"backward"!=t||(o=new Rt({boundaries:zt._createIn(i),startPosition:e,direction:"backward"})),"both"!=t&&"forward"!=t||(s=new Rt({boundaries:zt._createIn(i),startPosition:e}));for(const e of function*(e,t){let o=!1;for(;!o;){if(o=!0,e){const t=e.next();t.done||(o=!1,yield{walker:e,value:t.value})}if(t){const e=t.next();e.done||(o=!1,yield{walker:t,value:e.value})}}}(o,s)){const t=e.walker==o?"elementEnd":"elementStart",s=e.value;if(s.type==t&&this.isObject(s.item))return zt._createOn(s.item);if(this.checkChild(s.nextPosition,"$text"))return new zt(s.nextPosition)}return null}findAllowedParent(e,t){let o=e.parent;for(;o;){if(this.checkChild(o,t))return o;if(this.isLimit(o))return null;o=o.parent}return null}setAllowedAttributes(e,t,o){const s=o.model;for(const[i,n]of Object.entries(t))s.schema.checkAttribute(e,i)&&o.setAttribute(i,n,e)}removeDisallowedAttributes(e,t){for(const o of e)if(o.is("$text"))is(this,o,t);else{const e=zt._createIn(o).getPositions();for(const o of e){is(this,o.nodeBefore||o.parent,t)}}}getAttributesWithProperty(e,t,o){const s={};for(const[i,n]of e.getAttributes()){const e=this.getAttributeProperties(i);void 0!==e[t]&&(void 0!==o&&o!==e[t]||(s[i]=n))}return s}createContext(e){return new qo(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},t=this._sourceDefinitions,o=Object.keys(t);for(const s of o)e[s]=Uo(t[s],s);const s=Object.values(e);for(const t of s)Ko(e,t),Yo(e,t),Go(e,t),Zo(e,t);for(const t of s)Jo(e,t);for(const t of s)Xo(e,t);for(const t of s)Qo(e,t);for(const t of s)es(e,t);for(const t of s)ts(e,t);this._compiledDefinitions=function(e){const t={};for(const o of Object.values(e))t[o.name]={name:o.name,isBlock:!!o.isBlock,isContent:!!o.isContent,isInline:!!o.isInline,isLimit:!!o.isLimit,isObject:!!o.isObject,isSelectable:!!o.isSelectable,allowIn:Array.from(o.allowIn).filter((t=>!!e[t])),allowChildren:Array.from(o.allowChildren).filter((t=>!!e[t])),allowAttributes:Array.from(o.allowAttributes)};return t}(e)}_checkContextMatch(e,t){const o=e.last;let s=this._evaluateChildChecks(e,t);if(s=void 0!==s?s:t.allowIn.includes(o.name),!s)return!1;const i=this.getDefinition(o),n=e.trimLast();return!!i&&(0==n.length||this._checkContextMatch(n,i))}_evaluateChildChecks(e,t){const o=this._customChildChecks.get(this._genericCheckSymbol)||[],s=this._customChildChecks.get(t.name)||[];for(const i of[...o,...s]){const o=i(e,t);if(void 0!==o)return o}}_evaluateAttributeChecks(e,t){const o=this._customAttributeChecks.get(this._genericCheckSymbol)||[],s=this._customAttributeChecks.get(t)||[];for(const i of[...o,...s]){const o=i(e,t);if(void 0!==o)return o}}*_getValidRangesForRange(e,t){let o=e.start,s=e.start;for(const i of e.getItems({shallow:!0}))i.is("element")&&(yield*this._getValidRangesForRange(zt._createIn(i),t)),this.checkAttribute(i,t)||(o.isEqual(s)||(yield new zt(o,s)),o=It._createAfter(i)),s=It._createAfter(i);o.isEqual(s)||(yield new zt(o,s))}findOptimalInsertionRange(e,t){const o=e.getSelectedElement();if(o&&this.isObject(o)&&!this.isInline(o))return"before"==t||"after"==t?new zt(It._createAt(o,t)):zt._createOn(o);const s=(0,a.$1)(e.getSelectedBlocks());if(!s)return new zt(e.focus);if(s.isEmpty)return new zt(It._createAt(s,0));const i=It._createAfter(s);return e.focus.isTouching(i)?new zt(i):new zt(It._createBefore(s))}}class qo{_items;constructor(e){if(e instanceof qo)return e;let t;t="string"==typeof e?[e]:Array.isArray(e)?e:e.getAncestors({includeSelf:!0}),this._items=t.map(ss)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(e){const t=new qo([e]);return t._items=[...this._items,...t._items],t}trimLast(){const e=new qo([]);return e._items=this._items.slice(0,-1),e}getItem(e){return this._items[e]}*getNames(){yield*this._items.map((e=>e.name))}endsWith(e){return Array.from(this.getNames()).join(" ").endsWith(e)}startsWith(e){return Array.from(this.getNames()).join(" ").startsWith(e)}}function Uo(e,t){const o={name:t,allowIn:new Set,allowChildren:new Set,disallowIn:new Set,disallowChildren:new Set,allowContentOf:new Set,allowWhere:new Set,allowAttributes:new Set,disallowAttributes:new Set,allowAttributesOf:new Set,inheritTypesFrom:new Set};return function(e,t){for(const o of e){const e=Object.keys(o).filter((e=>e.startsWith("is")));for(const s of e)t[s]=!!o[s]}}(e,o),os(e,o,"allowIn"),os(e,o,"allowChildren"),os(e,o,"disallowIn"),os(e,o,"disallowChildren"),os(e,o,"allowContentOf"),os(e,o,"allowWhere"),os(e,o,"allowAttributes"),os(e,o,"disallowAttributes"),os(e,o,"allowAttributesOf"),os(e,o,"inheritTypesFrom"),function(e,t){for(const o of e){const e=o.inheritAllFrom;e&&(t.allowContentOf.add(e),t.allowWhere.add(e),t.allowAttributesOf.add(e),t.inheritTypesFrom.add(e))}}(e,o),o}function Ko(e,t){for(const o of t.allowIn){const s=e[o];s?s.allowChildren.add(t.name):t.allowIn.delete(o)}}function Yo(e,t){for(const o of t.allowChildren){const s=e[o];s?s.allowIn.add(t.name):t.allowChildren.delete(o)}}function Go(e,t){for(const o of t.disallowIn){const s=e[o];s?s.disallowChildren.add(t.name):t.disallowIn.delete(o)}}function Zo(e,t){for(const o of t.disallowChildren){const s=e[o];s?s.disallowIn.add(t.name):t.disallowChildren.delete(o)}}function Jo(e,t){for(const e of t.disallowChildren)t.allowChildren.delete(e);for(const e of t.disallowIn)t.allowIn.delete(e);for(const e of t.disallowAttributes)t.allowAttributes.delete(e)}function Xo(e,t){for(const o of t.allowContentOf){const s=e[o];s&&(s.disallowChildren.forEach((o=>{t.allowChildren.has(o)||(t.disallowChildren.add(o),e[o].disallowIn.add(t.name))})),s.allowChildren.forEach((o=>{t.disallowChildren.has(o)||(t.allowChildren.add(o),e[o].allowIn.add(t.name))})))}}function Qo(e,t){for(const o of t.allowWhere){const s=e[o];s&&(s.disallowIn.forEach((o=>{t.allowIn.has(o)||(t.disallowIn.add(o),e[o].disallowChildren.add(t.name))})),s.allowIn.forEach((o=>{t.disallowIn.has(o)||(t.allowIn.add(o),e[o].allowChildren.add(t.name))})))}}function es(e,t){for(const o of t.allowAttributesOf){const s=e[o];if(!s)return;s.allowAttributes.forEach((e=>{t.disallowAttributes.has(e)||t.allowAttributes.add(e)}))}}function ts(e,t){for(const o of t.inheritTypesFrom){const s=e[o];if(s){const e=Object.keys(s).filter((e=>e.startsWith("is")));for(const o of e)o in t||(t[o]=s[o])}}}function os(e,t,o){for(const s of e){let e=s[o];"string"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach((e=>t[o].add(e)))}}function ss(e){return"string"==typeof e||e.is("documentFragment")?{name:"string"==typeof e?e:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:e.is("element")?e.name:"$text",*getAttributeKeys(){yield*e.getAttributeKeys()},getAttribute:t=>e.getAttribute(t)}}function is(e,t,o){for(const s of t.getAttributeKeys())e.checkAttribute(t,s)||o.removeAttribute(s,t)}class ns extends((0,a.Mm)()){conversionApi;_splitParts=new Map;_cursorParents=new Map;_modelCursor=null;_emptyElementsToKeep=new Set;constructor(e){super(),this.conversionApi={...e,consumable:null,writer:null,store:null,convertItem:(e,t)=>this._convertItem(e,t),convertChildren:(e,t)=>this._convertChildren(e,t),safeInsert:(e,t)=>this._safeInsert(e,t),updateConversionResult:(e,t)=>this._updateConversionResult(e,t),splitToAllowedParent:(e,t)=>this._splitToAllowedParent(e,t),getSplitParts:e=>this._getSplitParts(e),keepEmptyElement:e=>this._keepEmptyElement(e)}}convert(e,t,o=["$root"]){this.fire("viewCleanup",e),this._modelCursor=function(e,t){let o;for(const s of new qo(e)){const e={};for(const t of s.getAttributeKeys())e[t]=s.getAttribute(t);const i=t.createElement(s.name,e);o&&t.insert(i,o),o=It._createAt(i,0)}return o}(o,t),this.conversionApi.writer=t,this.conversionApi.consumable=zo.createFrom(e),this.conversionApi.store={};const{modelRange:s}=this._convertItem(e,this._modelCursor),i=t.createDocumentFragment();if(s){this._removeEmptyElements();for(const e of Array.from(this._modelCursor.parent.getChildren()))t.append(e,i);i.markers=function(e,t){const o=new Set,s=new Map,i=zt._createIn(e).getItems();for(const e of i)e.is("element","$marker")&&o.add(e);for(const e of o){const o=e.getAttribute("data-name"),i=t.createPositionBefore(e);s.has(o)?s.get(o).end=i.clone():s.set(o,new zt(i.clone())),t.remove(e)}return s}(i,t)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,i}_convertItem(e,t){const o={viewItem:e,modelCursor:t,modelRange:null};if(e.is("element")?this.fire(`element:${e.name}`,o,this.conversionApi):e.is("$text")?this.fire("text",o,this.conversionApi):this.fire("documentFragment",o,this.conversionApi),o.modelRange&&!(o.modelRange instanceof zt))throw new a.Yb("view-conversion-dispatcher-incorrect-result",this);return{modelRange:o.modelRange,modelCursor:o.modelCursor}}_convertChildren(e,t){let o=t.is("position")?t:It._createAt(t,0);const s=new zt(o);for(const t of Array.from(e.getChildren())){const e=this._convertItem(t,o);e.modelRange instanceof zt&&(s.end=e.modelRange.end,o=e.modelCursor)}return{modelRange:s,modelCursor:o}}_safeInsert(e,t){const o=this._splitToAllowedParent(e,t);return!!o&&(this.conversionApi.writer.insert(e,o.position),!0)}_updateConversionResult(e,t){const o=this._getSplitParts(e),s=this.conversionApi.writer;t.modelRange||(t.modelRange=s.createRange(s.createPositionBefore(e),s.createPositionAfter(o[o.length-1])));const i=this._cursorParents.get(e);t.modelCursor=i?s.createPositionAt(i,0):t.modelRange.end}_splitToAllowedParent(e,t){const{schema:o,writer:s}=this.conversionApi;let i=o.findAllowedParent(t,e);if(i){if(i===t.parent)return{position:t};this._modelCursor.parent.getAncestors().includes(i)&&(i=null)}if(!i)return Eo(t,e,o)?{position:Po(t,s)}:null;const n=this.conversionApi.writer.split(t,i),r=[];for(const e of n.range.getWalker())if("elementEnd"==e.type)r.push(e.item);else{const t=r.pop(),o=e.item;this._registerSplitPair(t,o)}const a=n.range.end.parent;return this._cursorParents.set(e,a),{position:n.position,cursorParent:a}}_registerSplitPair(e,t){this._splitParts.has(e)||this._splitParts.set(e,[e]);const o=this._splitParts.get(e);this._splitParts.set(t,o),o.push(t)}_getSplitParts(e){let t;return t=this._splitParts.has(e)?this._splitParts.get(e):[e],t}_keepEmptyElement(e){this._emptyElementsToKeep.add(e)}_removeEmptyElements(){let e=!1;for(const t of this._splitParts.keys())t.isEmpty&&!this._emptyElementsToKeep.has(t)&&(this.conversionApi.writer.remove(t),this._splitParts.delete(t),e=!0);e&&this._removeEmptyElements()}}class rs{getHtml(e){const t=a.Sf.document.implementation.createHTMLDocument("").createElement("div");return t.appendChild(e),t.innerHTML}}class as{domParser;domConverter;htmlWriter;skipComments=!0;constructor(e){this.domParser=new DOMParser,this.domConverter=new ot(e,{renderingMode:"data"}),this.htmlWriter=new rs}toData(e){const t=this.domConverter.viewToDom(e);return this.htmlWriter.getHtml(t)}toView(e){const t=this._toDom(e);return this.domConverter.domToView(t,{skipComments:this.skipComments})}registerRawContentMatcher(e){this.domConverter.registerRawContentMatcher(e)}useFillerType(e){this.domConverter.blockFillerMode="marked"==e?"markedNbsp":"nbsp"}_toDom(e){/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(e.trim().slice(0,1e4))||(e=`<body>${e}</body>`);const t=this.domParser.parseFromString(e,"text/html"),o=t.createDocumentFragment(),s=t.body.childNodes;for(;s.length>0;)o.appendChild(s[0]);return o}}class cs extends((0,a.Mm)()){model;mapper;downcastDispatcher;upcastDispatcher;viewDocument;stylesProcessor;htmlProcessor;processor;_viewWriter;constructor(e,t){super(),this.model=e,this.mapper=new Ht,this.downcastDispatcher=new qt({mapper:this.mapper,schema:e.schema}),this.downcastDispatcher.on("insert:$text",((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const s=o.writer,i=o.mapper.toViewPosition(t.range.start),n=s.createText(t.item.data);s.insert(i,n)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,o)=>{o.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||o.convertChildren(t.item)}),{priority:"lowest"}),this.upcastDispatcher=new ns({schema:e.schema}),this.viewDocument=new me(t),this.stylesProcessor=t,this.htmlProcessor=new as(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Ce(this.viewDocument),this.upcastDispatcher.on("text",((e,t,{schema:o,consumable:s,writer:i})=>{let n=t.modelCursor;if(!s.test(t.viewItem))return;if(!o.checkChild(n,"$text")){if(!Eo(n,"$text",o))return;if(0==t.viewItem.data.trim().length)return;n=Po(n,i)}s.consume(t.viewItem);const r=i.createText(t.viewItem.data);i.insert(r,n),t.modelRange=i.createRange(n,n.getShiftedBy(r.offsetSize)),t.modelCursor=t.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((e,t,o)=>{if(!t.modelRange&&o.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:s}=o.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=s}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((e,t,o)=>{if(!t.modelRange&&o.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:s}=o.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=s}}),{priority:"lowest"}),(0,a.VM)().prototype.decorate.call(this,"init"),(0,a.VM)().prototype.decorate.call(this,"set"),(0,a.VM)().prototype.decorate.call(this,"get"),(0,a.VM)().prototype.decorate.call(this,"toView"),(0,a.VM)().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},To)}),{priority:"lowest"})}get(e={}){const{rootName:t="main",trim:o="empty"}=e;if(!this._checkIfRootsExists([t]))throw new a.Yb("datacontroller-get-non-existent-root",this);const s=this.model.document.getRoot(t);return s.isAttached()||(0,a.FF)("datacontroller-get-detached-root",this),"empty"!==o||this.model.hasContent(s,{ignoreWhitespaces:!0})?this.stringify(s,e):""}stringify(e,t={}){const o=this.toView(e,t);return this.processor.toData(o)}toView(e,t={}){const o=this.viewDocument,s=this._viewWriter;this.mapper.clearBindings();const i=zt._createIn(e),n=new Ae(o);this.mapper.bindElements(e,n);const r=e.is("documentFragment")?e.markers:function(e){const t=[],o=e.root.document;if(!o)return new Map;const s=zt._createIn(e);for(const e of o.model.markers){const o=e.getRange(),i=o.isCollapsed,n=o.start.isEqual(s.start)||o.end.isEqual(s.end);if(i&&n)t.push([e.name,o]);else{const i=s.getIntersection(o);i&&t.push([e.name,i])}}return t.sort((([e,t],[o,s])=>{if("after"!==t.end.compareWith(s.start))return 1;if("before"!==t.start.compareWith(s.end))return-1;switch(t.start.compareWith(s.start)){case"before":return 1;case"after":return-1;default:switch(t.end.compareWith(s.end)){case"before":return 1;case"after":return-1;default:return o.localeCompare(e)}}})),new Map(t)}(e);return this.downcastDispatcher.convert(i,r,s,t),n}init(e){if(this.model.document.version)throw new a.Yb("datacontroller-init-document-not-empty",this);let t={};if("string"==typeof e?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new a.Yb("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(e=>{for(const o of Object.keys(t)){const s=this.model.document.getRoot(o);e.insert(this.parse(t[o],s),s,0)}})),Promise.resolve()}set(e,t={}){let o={};if("string"==typeof e?o.main=e:o=e,!this._checkIfRootsExists(Object.keys(o)))throw new a.Yb("datacontroller-set-non-existent-root",this);this.model.enqueueChange(t.batchType||{},(e=>{e.setSelection(null),e.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const t of Object.keys(o)){const s=this.model.document.getRoot(t);e.remove(e.createRangeIn(s)),e.insert(this.parse(o[t],s),s,0)}}))}parse(e,t="$root"){const o=this.processor.toView(e);return this.toModel(o,t)}toModel(e,t="$root"){return this.model.change((o=>this.upcastDispatcher.convert(e,o,t)))}addStyleProcessorRules(e){e(this.stylesProcessor)}registerRawContentMatcher(e){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(e),this.htmlProcessor.registerRawContentMatcher(e)}destroy(){this.stopListening()}_checkIfRootsExists(e){for(const t of e)if(!this.model.document.getRoot(t))return!1;return!0}}class ls{_helpers=new Map;_downcast;_upcast;constructor(e,t){this._downcast=(0,a.$r)(e),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=(0,a.$r)(t),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,t){const o=this._downcast.includes(t);if(!this._upcast.includes(t)&&!o)throw new a.Yb("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:e,dispatchers:[t],isDowncast:o})}for(e){if(!this._helpers.has(e))throw new a.Yb("conversion-for-unknown-group",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:t,view:o}of ds(e))this.for("upcast").elementToElement({model:t,view:o,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:t,view:o}of ds(e))this.for("upcast").elementToAttribute({view:o,model:t,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:t,view:o}of ds(e))this.for("upcast").attributeToAttribute({view:o,model:t})}_createConversionHelpers({name:e,dispatchers:t,isDowncast:o}){if(this._helpers.has(e))throw new a.Yb("conversion-group-exists",this);const s=o?new lo(t):new So(t);this._helpers.set(e,s)}}function*ds(e){if(e.model.values)for(const t of e.model.values){const o={key:e.model.key,value:t},s=e.view[t],i=e.upcastAlso?e.upcastAlso[t]:void 0;yield*hs(o,s,i)}else yield*hs(e.model,e.view,e.upcastAlso)}function*hs(e,t,o){if(yield{model:e,view:t},o)for(const t of(0,a.$r)(o))yield{model:e,view:t}}class us{namespaces;domParser;domConverter;htmlWriter;skipComments=!0;constructor(e,t={}){this.namespaces=t.namespaces||[],this.domParser=new DOMParser,this.domConverter=new ot(e,{renderingMode:"data"}),this.htmlWriter=new rs}toData(e){const t=this.domConverter.viewToDom(e);return this.htmlWriter.getHtml(t)}toView(e){const t=this._toDom(e);return this.domConverter.domToView(t,{keepOriginalCase:!0,skipComments:this.skipComments})}registerRawContentMatcher(e){this.domConverter.registerRawContentMatcher(e)}useFillerType(e){this.domConverter.blockFillerMode="marked"==e?"markedNbsp":"nbsp"}_toDom(e){e=`<xml ${this.namespaces.map((e=>`xmlns:${e}="nsp"`)).join(" ")}>${e}</xml>`;const t=this.domParser.parseFromString(e,"text/xml"),o=t.querySelector("parsererror");if(o)throw new Error("Parse error - "+o.textContent);const s=t.createDocumentFragment(),i=t.documentElement.childNodes;for(;i.length>0;)s.appendChild(i[0]);return s}}class ms{baseVersion;isDocumentOperation;batch;constructor(e){this.baseVersion=e,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const e=Object.assign({},this);return e.__className=this.constructor.className,delete e.batch,delete e.isDocumentOperation,e}static get className(){return"Operation"}static fromJSON(e,t){return new this(e.baseVersion)}}function ps(e,t){const o=_s(t),s=o.reduce(((e,t)=>e+t.offsetSize),0),i=e.parent;ks(e);const n=e.index;return i._insertChild(n,o),bs(i,n+o.length),bs(i,n),new zt(e,e.getShiftedBy(s))}function fs(e){if(!e.isFlat)throw new a.Yb("operation-utils-remove-range-not-flat",this);const t=e.start.parent;ks(e.start),ks(e.end);const o=t._removeChildren(e.start.index,e.end.index-e.start.index);return bs(t,e.start.index),o}function gs(e,t){if(!e.isFlat)throw new a.Yb("operation-utils-move-range-not-flat",this);const o=fs(e);return ps(t=t._getTransformedByDeletion(e.start,e.end.offset-e.start.offset),o)}function _s(e){const t=[];!function e(o){if("string"==typeof o)t.push(new Mt(o));else if(o instanceof Ot)t.push(new Mt(o.data,o.getAttributes()));else if(o instanceof Pt)t.push(o);else if((0,a.xZ)(o))for(const t of o)e(t);else{}}(e);for(let e=1;e<t.length;e++){const o=t[e],s=t[e-1];o instanceof Mt&&s instanceof Mt&&ws(o,s)&&(t.splice(e-1,2,new Mt(s.data+o.data,s.getAttributes())),e--)}return t}function bs(e,t){const o=e.getChild(t-1),s=e.getChild(t);if(o&&s&&o.is("$text")&&s.is("$text")&&ws(o,s)){const i=new Mt(o.data+s.data,o.getAttributes());e._removeChildren(t-1,2),e._insertChild(t-1,i)}}function ks(e){const t=e.textNode,o=e.parent;if(t){const s=e.offset-t.startOffset,i=t.index;o._removeChildren(i,1);const n=new Mt(t.data.substr(0,s),t.getAttributes()),r=new Mt(t.data.substr(s),t.getAttributes());o._insertChild(i,[n,r])}}function ws(e,t){const o=e.getAttributes(),s=t.getAttributes();for(const e of o){if(e[1]!==t.getAttribute(e[0]))return!1;s.next()}return s.next().done}class vs extends ms{sourcePosition;howMany;targetPosition;constructor(e,t,o,s){super(s),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toNext",this.howMany=t,this.targetPosition=o.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}get affectedSelectable(){return[zt._createFromPositionAndShift(this.sourcePosition,this.howMany),zt._createFromPositionAndShift(this.targetPosition,0)]}clone(){return new vs(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}getMovedRangeStart(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}getReversed(){const e=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new vs(this.getMovedRangeStart(),this.howMany,e,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent,o=this.sourcePosition.offset,s=this.targetPosition.offset;if(o+this.howMany>e.maxOffset)throw new a.Yb("move-operation-nodes-do-not-exist",this);if(e===t&&o<s&&s<o+this.howMany)throw new a.Yb("move-operation-range-into-itself",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==(0,a.ww)(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const e=this.sourcePosition.path.length-1;if(this.targetPosition.path[e]>=o&&this.targetPosition.path[e]<o+this.howMany)throw new a.Yb("move-operation-node-into-itself",this)}}_execute(){gs(zt._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e.targetPosition=this.targetPosition.toJSON(),e}static get className(){return"MoveOperation"}static fromJSON(e,t){const o=It.fromJSON(e.sourcePosition,t),s=It.fromJSON(e.targetPosition,t);return new this(o,e.howMany,s,e.baseVersion)}}class ys extends ms{position;nodes;shouldReceiveAttributes;constructor(e,t,o){super(o),this.position=e.clone(),this.position.stickiness="toNone",this.nodes=new St(_s(t)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}get affectedSelectable(){return this.position.clone()}clone(){const e=new St([...this.nodes].map((e=>e._clone(!0)))),t=new ys(this.position,e,this.baseVersion);return t.shouldReceiveAttributes=this.shouldReceiveAttributes,t}getReversed(){const e=this.position.root.document.graveyard,t=new It(e,[0]);return new vs(this.position,this.nodes.maxOffset,t,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffset<this.position.offset)throw new a.Yb("insert-operation-position-invalid",this)}_execute(){const e=this.nodes;this.nodes=new St([...e].map((e=>e._clone(!0)))),ps(this.position,e)}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e.nodes=this.nodes.toJSON(),e}static get className(){return"InsertOperation"}static fromJSON(e,t){const o=[];for(const t of e.nodes)t.name?o.push(Vt.fromJSON(t)):o.push(Mt.fromJSON(t));const s=new ys(It.fromJSON(e.position,t),o,e.baseVersion);return s.shouldReceiveAttributes=e.shouldReceiveAttributes,s}}class xs extends ms{splitPosition;howMany;insertionPosition;graveyardPosition;constructor(e,t,o,s,i){super(i),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=t,this.insertionPosition=o,this.graveyardPosition=s?s.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const e=this.insertionPosition.path.slice();return e.push(0),new It(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new zt(this.splitPosition,e)}get affectedSelectable(){const e=[zt._createFromPositionAndShift(this.splitPosition,0),zt._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&e.push(zt._createFromPositionAndShift(this.graveyardPosition,0)),e}clone(){return new xs(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.splitPosition.root.document.graveyard,t=new It(e,[0]);return new As(this.moveTargetPosition,this.howMany,this.splitPosition,t,this.baseVersion+1)}_validate(){const e=this.splitPosition.parent,t=this.splitPosition.offset;if(!e||e.maxOffset<t)throw new a.Yb("split-operation-position-invalid",this);if(!e.parent)throw new a.Yb("split-operation-split-in-root",this);if(this.howMany!=e.maxOffset-this.splitPosition.offset)throw new a.Yb("split-operation-how-many-invalid",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new a.Yb("split-operation-graveyard-position-invalid",this)}_execute(){const e=this.splitPosition.parent;if(this.graveyardPosition)gs(zt._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const t=e._clone();ps(this.insertionPosition,t)}gs(new zt(It._createAt(e,this.splitPosition.offset),It._createAt(e,e.maxOffset)),this.moveTargetPosition)}toJSON(){const e=super.toJSON();return e.splitPosition=this.splitPosition.toJSON(),e.insertionPosition=this.insertionPosition.toJSON(),this.graveyardPosition&&(e.graveyardPosition=this.graveyardPosition.toJSON()),e}static get className(){return"SplitOperation"}static getInsertionPosition(e){const t=e.path.slice(0,-1);return t[t.length-1]++,new It(e.root,t,"toPrevious")}static fromJSON(e,t){const o=It.fromJSON(e.splitPosition,t),s=It.fromJSON(e.insertionPosition,t),i=e.graveyardPosition?It.fromJSON(e.graveyardPosition,t):null;return new this(o,e.howMany,s,i,e.baseVersion)}}class As extends ms{sourcePosition;howMany;targetPosition;graveyardPosition;constructor(e,t,o,s,i){super(i),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=t,this.targetPosition=o.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=s.clone()}get type(){return"merge"}get deletionPosition(){return new It(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const e=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new zt(this.sourcePosition,e)}get affectedSelectable(){const e=this.sourcePosition.parent;return[zt._createOn(e),zt._createFromPositionAndShift(this.targetPosition,0),zt._createFromPositionAndShift(this.graveyardPosition,0)]}clone(){return new As(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.targetPosition._getTransformedByMergeOperation(this),t=this.sourcePosition.path.slice(0,-1),o=new It(this.sourcePosition.root,t)._getTransformedByMergeOperation(this);return new xs(e,this.howMany,o,this.graveyardPosition,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent;if(!e.parent)throw new a.Yb("merge-operation-source-position-invalid",this);if(!t.parent)throw new a.Yb("merge-operation-target-position-invalid",this);if(this.howMany!=e.maxOffset)throw new a.Yb("merge-operation-how-many-invalid",this)}_execute(){const e=this.sourcePosition.parent;gs(zt._createIn(e),this.targetPosition),gs(zt._createOn(e),this.graveyardPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=e.sourcePosition.toJSON(),e.targetPosition=e.targetPosition.toJSON(),e.graveyardPosition=e.graveyardPosition.toJSON(),e}static get className(){return"MergeOperation"}static fromJSON(e,t){const o=It.fromJSON(e.sourcePosition,t),s=It.fromJSON(e.targetPosition,t),i=It.fromJSON(e.graveyardPosition,t);return new this(o,e.howMany,s,i,e.baseVersion)}}class Cs extends ms{name;oldRange;newRange;affectsData;_markers;constructor(e,t,o,s,i,n){super(n),this.name=e,this.oldRange=t?t.clone():null,this.newRange=o?o.clone():null,this.affectsData=i,this._markers=s}get type(){return"marker"}get affectedSelectable(){const e=[];return this.oldRange&&e.push(this.oldRange.clone()),this.newRange&&(this.oldRange?e.push(...this.newRange.getDifference(this.oldRange)):e.push(this.newRange.clone())),e}clone(){return new Cs(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new Cs(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){this.newRange?this._markers._set(this.name,this.newRange,!0,this.affectsData):this._markers._remove(this.name)}toJSON(){const e=super.toJSON();return this.oldRange&&(e.oldRange=this.oldRange.toJSON()),this.newRange&&(e.newRange=this.newRange.toJSON()),delete e._markers,e}static get className(){return"MarkerOperation"}static fromJSON(e,t){return new Cs(e.name,e.oldRange?zt.fromJSON(e.oldRange,t):null,e.newRange?zt.fromJSON(e.newRange,t):null,t.model.markers,e.affectsData,e.baseVersion)}}const Ts=function(e,t){return(0,mt.A)(e,t)};class Es extends ms{range;key;oldValue;newValue;constructor(e,t,o,s,i){super(i),this.range=e.clone(),this.key=t,this.oldValue=void 0===o?null:o,this.newValue=void 0===s?null:s}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}get affectedSelectable(){return this.range.clone()}clone(){return new Es(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Es(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const e=super.toJSON();return e.range=this.range.toJSON(),e}_validate(){if(!this.range.isFlat)throw new a.Yb("attribute-operation-range-not-flat",this);for(const e of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!Ts(e.getAttribute(this.key),this.oldValue))throw new a.Yb("attribute-operation-wrong-old-value",this,{item:e,key:this.key,value:this.oldValue});if(null===this.oldValue&&null!==this.newValue&&e.hasAttribute(this.key))throw new a.Yb("attribute-operation-attribute-exists",this,{node:e,key:this.key})}}_execute(){Ts(this.oldValue,this.newValue)||function(e,t,o){ks(e.start),ks(e.end);for(const s of e.getItems({shallow:!0})){const e=s.is("$textProxy")?s.textNode:s;null!==o?e._setAttribute(t,o):e._removeAttribute(t),bs(e.parent,e.index)}bs(e.end.parent,e.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(e,t){return new Es(zt.fromJSON(e.range,t),e.key,e.oldValue,e.newValue,e.baseVersion)}}class Ps extends ms{get type(){return"noop"}get affectedSelectable(){return null}clone(){return new Ps(this.baseVersion)}getReversed(){return new Ps(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}class Ss extends ms{position;oldName;newName;constructor(e,t,o,s){super(s),this.position=e,this.position.stickiness="toNext",this.oldName=t,this.newName=o}get type(){return"rename"}get affectedSelectable(){return this.position.nodeAfter}clone(){return new Ss(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new Ss(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const e=this.position.nodeAfter;if(!(e instanceof Vt))throw new a.Yb("rename-operation-wrong-position",this);if(e.name!==this.oldName)throw new a.Yb("rename-operation-wrong-name",this)}_execute(){this.position.nodeAfter.name=this.newName}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e}static get className(){return"RenameOperation"}static fromJSON(e,t){return new Ss(It.fromJSON(e.position,t),e.oldName,e.newName,e.baseVersion)}}class Ms extends ms{root;key;oldValue;newValue;constructor(e,t,o,s,i){super(i),this.root=e,this.key=t,this.oldValue=void 0===o?null:o,this.newValue=void 0===s?null:s}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}get affectedSelectable(){return this.root}clone(){return new Ms(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Ms(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new a.Yb("rootattribute-operation-not-a-root",this,{root:this.root,key:this.key});if(null!==this.oldValue&&this.root.getAttribute(this.key)!==this.oldValue)throw new a.Yb("rootattribute-operation-wrong-old-value",this,{root:this.root,key:this.key});if(null===this.oldValue&&null!==this.newValue&&this.root.hasAttribute(this.key))throw new a.Yb("rootattribute-operation-attribute-exists",this,{root:this.root,key:this.key})}_execute(){null!==this.newValue?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}toJSON(){const e=super.toJSON();return e.root=this.root.toJSON(),e}static get className(){return"RootAttributeOperation"}static fromJSON(e,t){if(!t.getRoot(e.root))throw new a.Yb("rootattribute-operation-fromjson-no-root",this,{rootName:e.root});return new Ms(t.getRoot(e.root),e.key,e.oldValue,e.newValue,e.baseVersion)}}class Os extends ms{rootName;elementName;isAdd;_document;constructor(e,t,o,s,i){if(super(i),this.rootName=e,this.elementName=t,this.isAdd=o,this._document=s,!this._document.getRoot(this.rootName)){this._document.createRoot(this.elementName,this.rootName)._isAttached=!1}}get type(){return this.isAdd?"addRoot":"detachRoot"}get affectedSelectable(){return this._document.getRoot(this.rootName)}clone(){return new Os(this.rootName,this.elementName,this.isAdd,this._document,this.baseVersion)}getReversed(){return new Os(this.rootName,this.elementName,!this.isAdd,this._document,this.baseVersion+1)}_execute(){this._document.getRoot(this.rootName)._isAttached=this.isAdd}toJSON(){const e=super.toJSON();return delete e._document,e}static get className(){return"RootOperation"}static fromJSON(e,t){return new Os(e.rootName,e.elementName,e.isAdd,t,e.baseVersion)}}const Vs={};Vs[Es.className]=Es,Vs[ys.className]=ys,Vs[Cs.className]=Cs,Vs[vs.className]=vs,Vs[Ps.className]=Ps,Vs[ms.className]=ms,Vs[Ss.className]=Ss,Vs[Ms.className]=Ms,Vs[Os.className]=Os,Vs[xs.className]=xs,Vs[As.className]=As;class Rs{static fromJSON(e,t){return Vs[e.__className].fromJSON(e,t)}}const js=new Map;function Is(e,t,o){let s=js.get(e);s||(s=new Map,js.set(e,s)),s.set(t,o)}function Bs(e){return[e]}function Ds(e,t,o={}){const s=function(e,t){const o=js.get(e);return o&&o.has(t)?o.get(t):Bs}(e.constructor,t.constructor);try{return s(e=e.clone(),t,o)}catch(e){throw e}}function Ns(e,t,o){e=e.slice(),t=t.slice();const s=new Fs(o.document,o.useRelations,o.forceWeakRemove);s.setOriginalOperations(e),s.setOriginalOperations(t);const i=s.originalOperations;if(0==e.length||0==t.length)return{operationsA:e,operationsB:t,originalOperations:i};const n=new WeakMap;for(const t of e)n.set(t,0);const r={nextBaseVersionA:e[e.length-1].baseVersion+1,nextBaseVersionB:t[t.length-1].baseVersion+1,originalOperationsACount:e.length,originalOperationsBCount:t.length};let a=0;for(;a<e.length;){const o=e[a],i=n.get(o);if(i==t.length){a++;continue}const r=t[i],c=Ds(o,r,s.getContext(o,r,!0)),l=Ds(r,o,s.getContext(r,o,!1));s.updateRelation(o,r),s.setOriginalOperations(c,o),s.setOriginalOperations(l,r);for(const e of c)n.set(e,i+l.length);e.splice(a,1,...c),t.splice(i,1,...l)}if(o.padWithNoOps){const o=e.length-r.originalOperationsACount,s=t.length-r.originalOperationsBCount;zs(e,s-o),zs(t,o-s)}return Ls(e,r.nextBaseVersionB),Ls(t,r.nextBaseVersionA),{operationsA:e,operationsB:t,originalOperations:i}}class Fs{originalOperations;_history;_useRelations;_forceWeakRemove;_relations;constructor(e,t,o=!1){this.originalOperations=new Map,this._history=e.history,this._useRelations=t,this._forceWeakRemove=!!o,this._relations=new Map}setOriginalOperations(e,t=null){const o=t?this.originalOperations.get(t):null;for(const t of e)this.originalOperations.set(t,o||t)}updateRelation(e,t){if(e instanceof vs)t instanceof As?e.targetPosition.isEqual(t.sourcePosition)||t.movedRange.containsPosition(e.targetPosition)?this._setRelation(e,t,"insertAtSource"):e.targetPosition.isEqual(t.deletionPosition)?this._setRelation(e,t,"insertBetween"):e.targetPosition.isAfter(t.sourcePosition)&&this._setRelation(e,t,"moveTargetAfter"):t instanceof vs&&(e.targetPosition.isEqual(t.sourcePosition)||e.targetPosition.isBefore(t.sourcePosition)?this._setRelation(e,t,"insertBefore"):this._setRelation(e,t,"insertAfter"));else if(e instanceof xs){if(t instanceof As)e.splitPosition.isBefore(t.sourcePosition)&&this._setRelation(e,t,"splitBefore");else if(t instanceof vs)if(e.splitPosition.isEqual(t.sourcePosition)||e.splitPosition.isBefore(t.sourcePosition))this._setRelation(e,t,"splitBefore");else{const o=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.splitPosition)){const s=o.end.offset-e.splitPosition.offset,i=e.splitPosition.offset-o.start.offset;this._setRelation(e,t,{howMany:s,offset:i})}}}else if(e instanceof As)t instanceof As?(e.targetPosition.isEqual(t.sourcePosition)||this._setRelation(e,t,"mergeTargetNotMoved"),e.sourcePosition.isEqual(t.targetPosition)&&this._setRelation(e,t,"mergeSourceNotMoved"),e.sourcePosition.isEqual(t.sourcePosition)&&this._setRelation(e,t,"mergeSameElement")):t instanceof xs?e.sourcePosition.isEqual(t.splitPosition)&&this._setRelation(e,t,"splitAtSource"):t instanceof vs&&t.howMany>0&&(e.sourcePosition.isEqual(t.sourcePosition.getShiftedBy(t.howMany))&&this._setRelation(e,t,"mergeSourceAffected"),e.targetPosition.isEqual(t.sourcePosition)&&this._setRelation(e,t,"mergeTargetWasBefore"));else if(e instanceof Cs){const o=e.newRange;if(!o)return;if(t instanceof vs){const s=zt._createFromPositionAndShift(t.sourcePosition,t.howMany),i=s.containsPosition(o.start)||s.start.isEqual(o.start),n=s.containsPosition(o.end)||s.end.isEqual(o.end);!i&&!n||s.containsRange(o)||this._setRelation(e,t,{side:i?"left":"right",path:i?o.start.path.slice():o.end.path.slice()})}else if(t instanceof As){const s=o.start.isEqual(t.targetPosition),i=o.start.isEqual(t.deletionPosition),n=o.end.isEqual(t.deletionPosition),r=o.end.isEqual(t.sourcePosition);(s||i||n||r)&&this._setRelation(e,t,{wasInLeftElement:s,wasStartBeforeMergedElement:i,wasEndBeforeMergedElement:n,wasInRightElement:r})}}}getContext(e,t,o){return{aIsStrong:o,aWasUndone:this._wasUndone(e),bWasUndone:this._wasUndone(t),abRelation:this._useRelations?this._getRelation(e,t):null,baRelation:this._useRelations?this._getRelation(t,e):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(e){const t=this.originalOperations.get(e);return t.wasUndone||this._history.isUndoneOperation(t)}_getRelation(e,t){const o=this.originalOperations.get(t),s=this._history.getUndoneOperation(o);if(!s)return null;const i=this.originalOperations.get(e),n=this._relations.get(i);return n&&n.get(s)||null}_setRelation(e,t,o){const s=this.originalOperations.get(e),i=this.originalOperations.get(t);let n=this._relations.get(s);n||(n=new Map,this._relations.set(s,n)),n.set(i,o)}}function Ls(e,t){for(const o of e)o.baseVersion=t++}function zs(e,t){for(let o=0;o<t;o++)e.push(new Ps(0))}function Hs(e,t,o){const s=e.nodes.getNode(0).getAttribute(t);if(s==o)return null;const i=new zt(e.position,e.position.getShiftedBy(e.howMany));return new Es(i,t,s,o,0)}function $s(e,t){return null===e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany)}function Ws(e,t){const o=[];for(let s=0;s<e.length;s++){const i=e[s],n=new vs(i.start,i.end.offset-i.start.offset,t,0);o.push(n);for(let t=s+1;t<e.length;t++)e[t]=e[t]._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany)[0];t=t._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany)}return o}Is(Es,Es,((e,t,o)=>{if(e.key===t.key&&e.range.start.hasSameParentAs(t.range.start)){const s=e.range.getDifference(t.range).map((t=>new Es(t,e.key,e.oldValue,e.newValue,0))),i=e.range.getIntersection(t.range);return i&&o.aIsStrong&&s.push(new Es(i,t.key,t.newValue,e.newValue,0)),0==s.length?[new Ps(0)]:s}return[e]})),Is(Es,ys,((e,t)=>{if(e.range.start.hasSameParentAs(t.position)&&e.range.containsPosition(t.position)){const o=e.range._getTransformedByInsertion(t.position,t.howMany,!t.shouldReceiveAttributes).map((t=>new Es(t,e.key,e.oldValue,e.newValue,e.baseVersion)));if(t.shouldReceiveAttributes){const s=Hs(t,e.key,e.oldValue);s&&o.unshift(s)}return o}return e.range=e.range._getTransformedByInsertion(t.position,t.howMany,!1)[0],[e]})),Is(Es,As,((e,t)=>{const o=[];e.range.start.hasSameParentAs(t.deletionPosition)&&(e.range.containsPosition(t.deletionPosition)||e.range.start.isEqual(t.deletionPosition))&&o.push(zt._createFromPositionAndShift(t.graveyardPosition,1));const s=e.range._getTransformedByMergeOperation(t);return s.isCollapsed||o.push(s),o.map((t=>new Es(t,e.key,e.oldValue,e.newValue,e.baseVersion)))})),Is(Es,vs,((e,t)=>function(e,t){const o=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);let s=null,i=[];o.containsRange(e,!0)?s=e:e.start.hasSameParentAs(o.start)?(i=e.getDifference(o),s=e.getIntersection(o)):i=[e];const n=[];for(let e of i){e=e._getTransformedByDeletion(t.sourcePosition,t.howMany);const o=t.getMovedRangeStart(),s=e.start.hasSameParentAs(o),i=e._getTransformedByInsertion(o,t.howMany,s);n.push(...i)}s&&n.push(s._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany,!1)[0]);return n}(e.range,t).map((t=>new Es(t,e.key,e.oldValue,e.newValue,e.baseVersion))))),Is(Es,xs,((e,t)=>{if(e.range.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.range.end.offset++,[e];if(e.range.start.hasSameParentAs(t.splitPosition)&&e.range.containsPosition(t.splitPosition)){const o=e.clone();return o.range=new zt(t.moveTargetPosition.clone(),e.range.end._getCombined(t.splitPosition,t.moveTargetPosition)),e.range.end=t.splitPosition.clone(),e.range.end.stickiness="toPrevious",[e,o]}return e.range=e.range._getTransformedBySplitOperation(t),[e]})),Is(ys,Es,((e,t)=>{const o=[e];if(e.shouldReceiveAttributes&&e.position.hasSameParentAs(t.range.start)&&t.range.containsPosition(e.position)){const s=Hs(e,t.key,t.newValue);s&&o.push(s)}return o})),Is(ys,ys,((e,t,o)=>(e.position.isEqual(t.position)&&o.aIsStrong||(e.position=e.position._getTransformedByInsertOperation(t)),[e]))),Is(ys,vs,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),Is(ys,xs,((e,t)=>(e.position=e.position._getTransformedBySplitOperation(t),[e]))),Is(ys,As,((e,t)=>(e.position=e.position._getTransformedByMergeOperation(t),[e]))),Is(Cs,ys,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByInsertOperation(t)[0]),e.newRange&&(e.newRange=e.newRange._getTransformedByInsertOperation(t)[0]),[e]))),Is(Cs,Cs,((e,t,o)=>{if(e.name==t.name){if(!o.aIsStrong)return[new Ps(0)];e.oldRange=t.newRange?t.newRange.clone():null}return[e]})),Is(Cs,As,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByMergeOperation(t)),e.newRange&&(e.newRange=e.newRange._getTransformedByMergeOperation(t)),[e]))),Is(Cs,vs,((e,t,o)=>{if(e.oldRange&&(e.oldRange=zt._createFromRanges(e.oldRange._getTransformedByMoveOperation(t))),e.newRange){if(o.abRelation){const s=zt._createFromRanges(e.newRange._getTransformedByMoveOperation(t));if("left"==o.abRelation.side&&t.targetPosition.isEqual(e.newRange.start))return e.newRange.end=s.end,e.newRange.start.path=o.abRelation.path,[e];if("right"==o.abRelation.side&&t.targetPosition.isEqual(e.newRange.end))return e.newRange.start=s.start,e.newRange.end.path=o.abRelation.path,[e]}e.newRange=zt._createFromRanges(e.newRange._getTransformedByMoveOperation(t))}return[e]})),Is(Cs,xs,((e,t,o)=>{if(e.oldRange&&(e.oldRange=e.oldRange._getTransformedBySplitOperation(t)),e.newRange){if(o.abRelation){const s=e.newRange._getTransformedBySplitOperation(t);return e.newRange.start.isEqual(t.splitPosition)&&o.abRelation.wasStartBeforeMergedElement?e.newRange.start=It._createAt(t.insertionPosition):e.newRange.start.isEqual(t.splitPosition)&&!o.abRelation.wasInLeftElement&&(e.newRange.start=It._createAt(t.moveTargetPosition)),e.newRange.end.isEqual(t.splitPosition)&&o.abRelation.wasInRightElement?e.newRange.end=It._createAt(t.moveTargetPosition):e.newRange.end.isEqual(t.splitPosition)&&o.abRelation.wasEndBeforeMergedElement?e.newRange.end=It._createAt(t.insertionPosition):e.newRange.end=s.end,[e]}e.newRange=e.newRange._getTransformedBySplitOperation(t)}return[e]})),Is(As,ys,((e,t)=>(e.sourcePosition.hasSameParentAs(t.position)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByInsertOperation(t),e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t),[e]))),Is(As,As,((e,t,o)=>{if(e.sourcePosition.isEqual(t.sourcePosition)&&e.targetPosition.isEqual(t.targetPosition)){if(o.bWasUndone){const o=t.graveyardPosition.path.slice();return o.push(0),e.sourcePosition=new It(t.graveyardPosition.root,o),e.howMany=0,[e]}return[new Ps(0)]}if(e.sourcePosition.isEqual(t.sourcePosition)&&!e.targetPosition.isEqual(t.targetPosition)&&!o.bWasUndone&&"splitAtSource"!=o.abRelation){const s="$graveyard"==e.targetPosition.root.rootName,i="$graveyard"==t.targetPosition.root.rootName;if(i&&!s||!(s&&!i)&&o.aIsStrong){const o=t.targetPosition._getTransformedByMergeOperation(t),s=e.targetPosition._getTransformedByMergeOperation(t);return[new vs(o,e.howMany,s,0)]}return[new Ps(0)]}return e.sourcePosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByMergeOperation(t),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),e.graveyardPosition.isEqual(t.graveyardPosition)&&o.aIsStrong||(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),Is(As,vs,((e,t,o)=>{const s=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);return"remove"==t.type&&!o.bWasUndone&&!o.forceWeakRemove&&e.deletionPosition.hasSameParentAs(t.sourcePosition)&&s.containsPosition(e.sourcePosition)?[new Ps(0)]:(t.sourcePosition.getShiftedBy(t.howMany).isEqual(e.sourcePosition)?e.sourcePosition.stickiness="toNone":t.targetPosition.isEqual(e.sourcePosition)&&"mergeSourceAffected"==o.abRelation?e.sourcePosition.stickiness="toNext":t.sourcePosition.isEqual(e.targetPosition)?(e.targetPosition.stickiness="toNone",e.howMany-=t.howMany):t.targetPosition.isEqual(e.targetPosition)&&"mergeTargetWasBefore"==o.abRelation?(e.targetPosition.stickiness="toPrevious",e.howMany+=t.howMany):(e.sourcePosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.sourcePosition.hasSameParentAs(t.sourcePosition)&&(e.howMany-=t.howMany)),e.sourcePosition=e.sourcePosition._getTransformedByMoveOperation(t),e.targetPosition=e.targetPosition._getTransformedByMoveOperation(t),e.sourcePosition.stickiness="toPrevious",e.targetPosition.stickiness="toNext",e.graveyardPosition.isEqual(t.targetPosition)||(e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)),[e])})),Is(As,xs,((e,t,o)=>{if(t.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByDeletion(t.graveyardPosition,1),e.deletionPosition.isEqual(t.graveyardPosition)&&(e.howMany=t.howMany)),e.targetPosition.isEqual(t.splitPosition)){const s=0!=t.howMany,i=t.graveyardPosition&&e.deletionPosition.isEqual(t.graveyardPosition);if(s||i||"mergeTargetNotMoved"==o.abRelation)return e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),[e]}if(e.sourcePosition.isEqual(t.splitPosition)){if("mergeSourceNotMoved"==o.abRelation)return e.howMany=0,e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e];if("mergeSameElement"==o.abRelation||e.sourcePosition.offset>0)return e.sourcePosition=t.moveTargetPosition.clone(),e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e]}return e.sourcePosition.hasSameParentAs(t.splitPosition)&&(e.howMany=t.splitPosition.offset),e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e]})),Is(vs,ys,((e,t)=>{const o=zt._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByInsertOperation(t,!1)[0];return e.sourcePosition=o.start,e.howMany=o.end.offset-o.start.offset,e.targetPosition.isEqual(t.position)||(e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t)),[e]})),Is(vs,vs,((e,t,o)=>{const s=zt._createFromPositionAndShift(e.sourcePosition,e.howMany),i=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);let n,r=o.aIsStrong,c=!o.aIsStrong;if("insertBefore"==o.abRelation||"insertAfter"==o.baRelation?c=!0:"insertAfter"!=o.abRelation&&"insertBefore"!=o.baRelation||(c=!1),n=e.targetPosition.isEqual(t.targetPosition)&&c?e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany):e.targetPosition._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),$s(e,t)&&$s(t,e))return[t.getReversed()];if(s.containsPosition(t.targetPosition)&&s.containsRange(i,!0))return s.start=s.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),s.end=s.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),Ws([s],n);if(i.containsPosition(e.targetPosition)&&i.containsRange(s,!0))return s.start=s.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),s.end=s.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),Ws([s],n);const l=(0,a.ww)(e.sourcePosition.getParentPath(),t.sourcePosition.getParentPath());if("prefix"==l||"extension"==l)return s.start=s.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),s.end=s.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),Ws([s],n);"remove"!=e.type||"remove"==t.type||o.aWasUndone||o.forceWeakRemove?"remove"==e.type||"remove"!=t.type||o.bWasUndone||o.forceWeakRemove||(r=!1):r=!0;const d=[],h=s.getDifference(i);for(const e of h){e.start=e.start._getTransformedByDeletion(t.sourcePosition,t.howMany),e.end=e.end._getTransformedByDeletion(t.sourcePosition,t.howMany);const o="same"==(0,a.ww)(e.start.getParentPath(),t.getMovedRangeStart().getParentPath()),s=e._getTransformedByInsertion(t.getMovedRangeStart(),t.howMany,o);d.push(...s)}const u=s.getIntersection(i);return null!==u&&r&&(u.start=u.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),u.end=u.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),0===d.length?d.push(u):1==d.length?i.start.isBefore(s.start)||i.start.isEqual(s.start)?d.unshift(u):d.push(u):d.splice(1,0,u)),0===d.length?[new Ps(e.baseVersion)]:Ws(d,n)})),Is(vs,xs,((e,t,o)=>{let s=e.targetPosition.clone();e.targetPosition.isEqual(t.insertionPosition)&&t.graveyardPosition&&"moveTargetAfter"!=o.abRelation||(s=e.targetPosition._getTransformedBySplitOperation(t));const i=zt._createFromPositionAndShift(e.sourcePosition,e.howMany);if(i.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.howMany++,e.targetPosition=s,[e];if(i.start.hasSameParentAs(t.splitPosition)&&i.containsPosition(t.splitPosition)){let e=new zt(t.splitPosition,i.end);e=e._getTransformedBySplitOperation(t);return Ws([new zt(i.start,t.splitPosition),e],s)}e.targetPosition.isEqual(t.splitPosition)&&"insertAtSource"==o.abRelation&&(s=t.moveTargetPosition),e.targetPosition.isEqual(t.insertionPosition)&&"insertBetween"==o.abRelation&&(s=e.targetPosition);const n=[i._getTransformedBySplitOperation(t)];if(t.graveyardPosition){const s=i.start.isEqual(t.graveyardPosition)||i.containsPosition(t.graveyardPosition);e.howMany>1&&s&&!o.aWasUndone&&n.push(zt._createFromPositionAndShift(t.insertionPosition,1))}return Ws(n,s)})),Is(vs,As,((e,t,o)=>{const s=zt._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.deletionPosition.hasSameParentAs(e.sourcePosition)&&s.containsPosition(t.sourcePosition))if("remove"!=e.type||o.forceWeakRemove){if(1==e.howMany)return o.bWasUndone?(e.sourcePosition=t.graveyardPosition.clone(),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]):[new Ps(0)]}else if(!o.aWasUndone){const o=[];let s=t.graveyardPosition.clone(),i=t.targetPosition._getTransformedByMergeOperation(t);e.howMany>1&&(o.push(new vs(e.sourcePosition,e.howMany-1,e.targetPosition,0)),s=s._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1),i=i._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1));const n=t.deletionPosition._getCombined(e.sourcePosition,e.targetPosition),r=new vs(s,1,n,0),a=r.getMovedRangeStart().path.slice();a.push(0);const c=new It(r.targetPosition.root,a);i=i._getTransformedByMove(s,n,1);const l=new vs(i,t.howMany,c,0);return o.push(r),o.push(l),o}const i=zt._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByMergeOperation(t);return e.sourcePosition=i.start,e.howMany=i.end.offset-i.start.offset,e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]})),Is(Ss,ys,((e,t)=>(e.position=e.position._getTransformedByInsertOperation(t),[e]))),Is(Ss,As,((e,t)=>e.position.isEqual(t.deletionPosition)?(e.position=t.graveyardPosition.clone(),e.position.stickiness="toNext",[e]):(e.position=e.position._getTransformedByMergeOperation(t),[e]))),Is(Ss,vs,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),Is(Ss,Ss,((e,t,o)=>{if(e.position.isEqual(t.position)){if(!o.aIsStrong)return[new Ps(0)];e.oldName=t.newName}return[e]})),Is(Ss,xs,((e,t)=>{const o=e.position.path,s=t.splitPosition.getParentPath();if("same"==(0,a.ww)(o,s)&&!t.graveyardPosition){const t=new Ss(e.position.getShiftedBy(1),e.oldName,e.newName,0);return[e,t]}return e.position=e.position._getTransformedBySplitOperation(t),[e]})),Is(Ms,Ms,((e,t,o)=>{if(e.root===t.root&&e.key===t.key){if(!o.aIsStrong||e.newValue===t.newValue)return[new Ps(0)];e.oldValue=t.newValue}return[e]})),Is(Os,Os,((e,t)=>e.rootName===t.rootName&&e.isAdd===t.isAdd?[new Ps(0)]:[e])),Is(xs,ys,((e,t)=>(e.splitPosition.hasSameParentAs(t.position)&&e.splitPosition.offset<t.position.offset&&(e.howMany+=t.howMany),e.splitPosition=e.splitPosition._getTransformedByInsertOperation(t),e.insertionPosition=e.insertionPosition._getTransformedByInsertOperation(t),[e]))),Is(xs,As,((e,t,o)=>{if(!e.graveyardPosition&&!o.bWasUndone&&e.splitPosition.hasSameParentAs(t.sourcePosition)){const o=t.graveyardPosition.path.slice();o.push(0);const s=new It(t.graveyardPosition.root,o),i=xs.getInsertionPosition(new It(t.graveyardPosition.root,o)),n=new xs(s,0,i,null,0);return e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=xs.getInsertionPosition(e.splitPosition),e.graveyardPosition=n.insertionPosition.clone(),e.graveyardPosition.stickiness="toNext",[n,e]}return e.splitPosition.hasSameParentAs(t.deletionPosition)&&!e.splitPosition.isAfter(t.deletionPosition)&&e.howMany--,e.splitPosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=xs.getInsertionPosition(e.splitPosition),e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),Is(xs,vs,((e,t,o)=>{const s=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.graveyardPosition){const i=s.start.isEqual(e.graveyardPosition)||s.containsPosition(e.graveyardPosition);if(!o.bWasUndone&&i){const o=e.splitPosition._getTransformedByMoveOperation(t),s=e.graveyardPosition._getTransformedByMoveOperation(t),i=s.path.slice();i.push(0);const n=new It(s.root,i);return[new vs(o,e.howMany,n,0)]}e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)}const i=e.splitPosition.isEqual(t.targetPosition);if(i&&("insertAtSource"==o.baRelation||"splitBefore"==o.abRelation))return e.howMany+=t.howMany,e.splitPosition=e.splitPosition._getTransformedByDeletion(t.sourcePosition,t.howMany),e.insertionPosition=xs.getInsertionPosition(e.splitPosition),[e];if(i&&o.abRelation&&o.abRelation.howMany){const{howMany:t,offset:s}=o.abRelation;return e.howMany+=t,e.splitPosition=e.splitPosition.getShiftedBy(s),[e]}if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&s.containsPosition(e.splitPosition)){const o=t.howMany-(e.splitPosition.offset-t.sourcePosition.offset);return e.howMany-=o,e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany),e.splitPosition=t.sourcePosition.clone(),e.insertionPosition=xs.getInsertionPosition(e.splitPosition),[e]}return t.sourcePosition.isEqual(t.targetPosition)||(e.splitPosition.hasSameParentAs(t.sourcePosition)&&e.splitPosition.offset<=t.sourcePosition.offset&&(e.howMany-=t.howMany),e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany)),e.splitPosition.stickiness="toNone",e.splitPosition=e.splitPosition._getTransformedByMoveOperation(t),e.splitPosition.stickiness="toNext",e.graveyardPosition?e.insertionPosition=e.insertionPosition._getTransformedByMoveOperation(t):e.insertionPosition=xs.getInsertionPosition(e.splitPosition),[e]})),Is(xs,xs,((e,t,o)=>{if(e.splitPosition.isEqual(t.splitPosition)){if(!e.graveyardPosition&&!t.graveyardPosition)return[new Ps(0)];if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition))return[new Ps(0)];if("splitBefore"==o.abRelation)return e.howMany=0,e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t),[e]}if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition)){const s="$graveyard"==e.splitPosition.root.rootName,i="$graveyard"==t.splitPosition.root.rootName;if(i&&!s||!(s&&!i)&&o.aIsStrong){const o=[];return t.howMany&&o.push(new vs(t.moveTargetPosition,t.howMany,t.splitPosition,0)),e.howMany&&o.push(new vs(e.splitPosition,e.howMany,e.moveTargetPosition,0)),o}return[new Ps(0)]}if(e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t)),e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==o.abRelation)return e.howMany++,[e];if(t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==o.baRelation){const o=t.insertionPosition.path.slice();o.push(0);const s=new It(t.insertionPosition.root,o);return[e,new vs(e.insertionPosition,1,s,0)]}return e.splitPosition.hasSameParentAs(t.splitPosition)&&e.splitPosition.offset<t.splitPosition.offset&&(e.howMany-=t.howMany),e.splitPosition=e.splitPosition._getTransformedBySplitOperation(t),e.insertionPosition=xs.getInsertionPosition(e.splitPosition),[e]}));class qs extends((0,a.Mm)(It)){constructor(e,t,o="toNone"){if(super(e,t,o),!this.root.is("rootElement"))throw new a.Yb("model-liveposition-root-not-rootelement",e);Us.call(this)}detach(){this.stopListening()}toPosition(){return new It(this.root,this.path.slice(),this.stickiness)}static fromPosition(e,t){return new this(e.root,e.path.slice(),t||e.stickiness)}}function Us(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&Ks.call(this,o)}),{priority:"low"})}function Ks(e){const t=this.getTransformedByOperation(e);if(!this.isEqual(t)){const e=this.toPosition();this.path=t.path,this.root=t.root,this.fire("change",e)}}qs.prototype.is=function(e){return"livePosition"===e||"model:livePosition"===e||"position"==e||"model:position"===e};class Ys{operations;isUndoable;isLocal;isUndo;isTyping;constructor(e={}){"string"==typeof e&&(e="transparent"===e?{isUndoable:!1}:{},(0,a.FF)("batch-constructor-deprecated-string-type"));const{isUndoable:t=!0,isLocal:o=!0,isUndo:s=!1,isTyping:i=!1}=e;this.operations=[],this.isUndoable=t,this.isLocal=o,this.isUndo=s,this.isTyping=i}get type(){return(0,a.FF)("batch-type-deprecated"),"default"}get baseVersion(){for(const e of this.operations)if(null!==e.baseVersion)return e.baseVersion;return null}addOperation(e){return e.batch=this,this.operations.push(e),e}}class Gs{static _statesPriority=[void 0,"refresh","rename","move"];_markerCollection;_changesInElement=new Map;_elementsSnapshots=new Map;_elementChildrenSnapshots=new Map;_elementState=new Map;_changedMarkers=new Map;_changedRoots=new Map;_changeCount=0;_cachedChanges=null;_cachedChangesWithGraveyard=null;_refreshedItems=new Set;constructor(e){this._markerCollection=e}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(e){const t=e;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":for(const e of t.range.getItems({shallow:!0}))this._isInInsertedElement(e.parent)||this._markAttribute(e);break;case"remove":case"move":case"reinsert":{if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition))return;const e=this._isInInsertedElement(t.sourcePosition.parent),o=this._isInInsertedElement(t.targetPosition.parent);e||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),o||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);const s=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);for(const e of s.getItems({shallow:!0}))this._setElementState(e,"move");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);const e=zt._createFromPositionAndShift(t.position,1);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}this._setElementState(t.position.nodeAfter,"rename");break}case"split":{const e=t.splitPosition.parent;if(!this._isInInsertedElement(e)){this._markRemove(e,t.splitPosition.offset,t.howMany);const o=zt._createFromPositionAndShift(t.splitPosition,t.howMany);for(const e of o.getItems({shallow:!0}))this._setElementState(e,"move")}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),this._setElementState(t.graveyardPosition.nodeAfter,"move"));break}case"merge":{const e=t.sourcePosition.parent;this._isInInsertedElement(e.parent)||this._markRemove(e.parent,e.startOffset,1);const o=t.graveyardPosition.parent;this._markInsert(o,t.graveyardPosition.offset,1),this._setElementState(e,"move");const s=t.targetPosition.parent;if(!this._isInInsertedElement(s)){this._markInsert(s,t.targetPosition.offset,e.maxOffset);const o=zt._createFromPositionAndShift(t.sourcePosition,t.howMany);for(const e of o.getItems({shallow:!0}))this._setElementState(e,"move")}break}case"detachRoot":case"addRoot":{const e=t.affectedSelectable;if(!e._isLoaded)return;if(e.isAttached()==t.isAdd)return;this._bufferRootStateChange(t.rootName,t.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{if(!t.root._isLoaded)return;const e=t.root.rootName;this._bufferRootAttributeChange(e,t.key,t.oldValue,t.newValue);break}}this._cachedChanges=null}bufferMarkerChange(e,t,o){t.range&&t.range.root.is("rootElement")&&!t.range.root._isLoaded&&(t.range=null),o.range&&o.range.root.is("rootElement")&&!o.range.root._isLoaded&&(o.range=null);let s=this._changedMarkers.get(e);s?s.newMarkerData=o:(s={newMarkerData:o,oldMarkerData:t},this._changedMarkers.set(e,s)),null==s.oldMarkerData.range&&null==o.range&&this._changedMarkers.delete(e)}getMarkersToRemove(){const e=[];for(const[t,o]of this._changedMarkers)null!=o.oldMarkerData.range&&e.push({name:t,range:o.oldMarkerData.range});return e}getMarkersToAdd(){const e=[];for(const[t,o]of this._changedMarkers)null!=o.newMarkerData.range&&e.push({name:t,range:o.newMarkerData.range});return e}getChangedMarkers(){return Array.from(this._changedMarkers).map((([e,t])=>({name:e,data:{oldRange:t.oldMarkerData.range,newRange:t.newMarkerData.range}})))}hasDataChanges(){if(this.getChanges().length)return!0;if(this._changedRoots.size>0)return!0;for(const{newMarkerData:e,oldMarkerData:t}of this._changedMarkers.values()){if(e.affectsData!==t.affectsData)return!0;if(e.affectsData){const o=e.range&&!t.range,s=!e.range&&t.range,i=e.range&&t.range&&!e.range.isEqual(t.range);if(o||s||i)return!0}}return!1}getChanges(e={}){if(this._cachedChanges)return e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let t=[];for(const e of this._changesInElement.keys()){const o=this._changesInElement.get(e).sort(((e,t)=>e.offset===t.offset?e.type!=t.type?"remove"==e.type?-1:1:0:e.offset<t.offset?-1:1)),s=this._elementChildrenSnapshots.get(e),i=Js(e.getChildren()),n=Xs(s.length,o);let r=0,a=0;for(const o of n)if("i"===o){const o=this._getDiffActionForNode(i[r].node,"insert"),s=this._elementsSnapshots.get(i[r].node),n=this._getInsertDiff(e,r,o,i[r],s);t.push(n),r++}else if("r"===o){const o=this._getDiffActionForNode(s[a].node,"remove"),i=this._getRemoveDiff(e,r,o,s[a]);t.push(i),a++}else if("a"===o){const o=s[a].attributes,n=i[r].attributes;let c;if("$text"==i[r].name)c=new zt(It._createAt(e,r),It._createAt(e,r+1));else{const t=e.offsetToIndex(r);c=new zt(It._createAt(e,r),It._createAt(e.getChild(t),0))}const l=this._getAttributesDiff(c,o,n);t.push(...l),r++,a++}else r++,a++}t.sort(((e,t)=>e.position.root!=t.position.root?e.position.root.rootName<t.position.root.rootName?-1:1:e.position.isEqual(t.position)?e.changeCount-t.changeCount:e.position.isBefore(t.position)?-1:1));for(let e=1,o=0;e<t.length;e++){const s=t[o],i=t[e],n="remove"==s.type&&"remove"==i.type&&"$text"==s.name&&"$text"==i.name&&s.position.isEqual(i.position),r="insert"==s.type&&"insert"==i.type&&"$text"==s.name&&"$text"==i.name&&s.position.parent==i.position.parent&&s.position.offset+s.length==i.position.offset,a="attribute"==s.type&&"attribute"==i.type&&s.position.parent==i.position.parent&&s.range.isFlat&&i.range.isFlat&&s.position.offset+s.length==i.position.offset&&s.attributeKey==i.attributeKey&&s.attributeOldValue==i.attributeOldValue&&s.attributeNewValue==i.attributeNewValue;n||r||a?(s.length++,a&&(s.range.end=s.range.end.getShiftedBy(1)),t[e]=null):o=e}t=t.filter((e=>e));for(const e of t)delete e.changeCount,"attribute"==e.type&&(delete e.position,delete e.length);return this._changeCount=0,this._cachedChangesWithGraveyard=t,this._cachedChanges=t.filter(Qs),e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map((e=>{const t={...e};return void 0!==t.state&&delete t.attributes,t}))}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementChildrenSnapshots.clear(),this._elementsSnapshots.clear(),this._elementState.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems.clear(),this._cachedChanges=null}_refreshItem(e){if(this._isInInsertedElement(e.parent))return;this._markRemove(e.parent,e.startOffset,e.offsetSize),this._markInsert(e.parent,e.startOffset,e.offsetSize),this._refreshedItems.add(e),this._setElementState(e,"refresh");const t=zt._createOn(e);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}this._cachedChanges=null}_bufferRootLoad(e){if(e.isAttached()){this._bufferRootStateChange(e.rootName,!0),this._markInsert(e,0,e.maxOffset);for(const t of e.getAttributeKeys())this._bufferRootAttributeChange(e.rootName,t,null,e.getAttribute(t));for(const t of this._markerCollection)if(t.getRange().root==e){const e=t.getData();this.bufferMarkerChange(t.name,{...e,range:null},e)}}}_bufferRootStateChange(e,t){if(!this._changedRoots.has(e))return void this._changedRoots.set(e,{name:e,state:t?"attached":"detached"});const o=this._changedRoots.get(e);void 0!==o.state?(delete o.state,void 0===o.attributes&&this._changedRoots.delete(e)):o.state=t?"attached":"detached"}_bufferRootAttributeChange(e,t,o,s){const i=this._changedRoots.get(e)||{name:e},n=i.attributes||{};if(n[t]){const e=n[t];s===e.oldValue?delete n[t]:e.newValue=s}else n[t]={oldValue:o,newValue:s};0===Object.entries(n).length?(delete i.attributes,void 0===i.state&&this._changedRoots.delete(e)):(i.attributes=n,this._changedRoots.set(e,i))}_markInsert(e,t,o){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const s={type:"insert",offset:t,howMany:o,count:this._changeCount++};this._markChange(e,s)}_markRemove(e,t,o){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const s={type:"remove",offset:t,howMany:o,count:this._changeCount++};this._markChange(e,s),this._removeAllNestedChanges(e,t,o)}_markAttribute(e){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const t={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,t)}_markChange(e,t){this._makeSnapshots(e);const o=this._getChangesForElement(e);this._handleChange(t,o),o.push(t);for(let e=0;e<o.length;e++)o[e].howMany<1&&(o.splice(e,1),e--)}_setElementState(e,t){if(!e.is("element"))return;const o=Gs._statesPriority.indexOf(this._elementState.get(e));Gs._statesPriority.indexOf(t)>o&&this._elementState.set(e,t)}_getDiffActionForNode(e,t){if(!e.is("element"))return t;if(!this._elementsSnapshots.has(e))return t;const o=this._elementState.get(e);return o&&"move"!=o?o:t}_getChangesForElement(e){let t;return this._changesInElement.has(e)?t=this._changesInElement.get(e):(t=[],this._changesInElement.set(e,t)),t}_makeSnapshots(e){if(this._elementChildrenSnapshots.has(e))return;const t=Js(e.getChildren());this._elementChildrenSnapshots.set(e,t);for(const e of t)this._elementsSnapshots.set(e.node,e)}_handleChange(e,t){e.nodesToHandle=e.howMany;for(const o of t){const s=e.offset+e.howMany,i=o.offset+o.howMany;if("insert"==e.type&&("insert"==o.type&&(e.offset<=o.offset?o.offset+=e.howMany:e.offset<i&&(o.howMany+=e.nodesToHandle,e.nodesToHandle=0)),"remove"==o.type&&e.offset<o.offset&&(o.offset+=e.howMany),"attribute"==o.type))if(e.offset<=o.offset)o.offset+=e.howMany;else if(e.offset<i){const i=o.howMany;o.howMany=e.offset-o.offset,t.unshift({type:"attribute",offset:s,howMany:i-o.howMany,count:this._changeCount++})}if("remove"==e.type){if("insert"==o.type)if(s<=o.offset)o.offset-=e.howMany;else if(s<=i)if(e.offset<o.offset){const t=s-o.offset;o.offset=e.offset,o.howMany-=t,e.nodesToHandle-=t}else o.howMany-=e.nodesToHandle,e.nodesToHandle=0;else if(e.offset<=o.offset)e.nodesToHandle-=o.howMany,o.howMany=0;else if(e.offset<i){const t=i-e.offset;o.howMany-=t,e.nodesToHandle-=t}if("remove"==o.type&&(s<=o.offset?o.offset-=e.howMany:e.offset<o.offset&&(e.nodesToHandle+=o.howMany,o.howMany=0)),"attribute"==o.type)if(s<=o.offset)o.offset-=e.howMany;else if(e.offset<o.offset){const t=s-o.offset;o.offset=e.offset,o.howMany-=t}else if(e.offset<i)if(s<=i){const s=o.howMany;o.howMany=e.offset-o.offset;const i=s-o.howMany-e.nodesToHandle;t.unshift({type:"attribute",offset:e.offset,howMany:i,count:this._changeCount++})}else o.howMany-=i-e.offset}if("attribute"==e.type){if("insert"==o.type)if(e.offset<o.offset&&s>o.offset){if(s>i){const e={type:"attribute",offset:i,howMany:s-i,count:this._changeCount++};this._handleChange(e,t),t.push(e)}e.nodesToHandle=o.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=o.offset&&e.offset<i&&(s>i?(e.nodesToHandle=s-i,e.offset=i):e.nodesToHandle=0);if("remove"==o.type&&e.offset<o.offset&&s>o.offset){const i={type:"attribute",offset:o.offset,howMany:s-o.offset,count:this._changeCount++};this._handleChange(i,t),t.push(i),e.nodesToHandle=o.offset-e.offset,e.howMany=e.nodesToHandle}"attribute"==o.type&&(e.offset>=o.offset&&s<=i?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=o.offset&&s>=i&&(o.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,t,o,s,i){const n={type:"insert",position:It._createAt(e,t),name:s.name,attributes:new Map(s.attributes),length:1,changeCount:this._changeCount++,action:o};return"insert"!=o&&i&&(n.before={name:i.name,attributes:new Map(i.attributes)}),n}_getRemoveDiff(e,t,o,s){return{type:"remove",action:o,position:It._createAt(e,t),name:s.name,attributes:new Map(s.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,t,o){const s=[];o=new Map(o);for(const[i,n]of t){const t=o.has(i)?o.get(i):null;t!==n&&s.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:i,attributeOldValue:n,attributeNewValue:t,changeCount:this._changeCount++}),o.delete(i)}for(const[t,i]of o)s.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:t,attributeOldValue:null,attributeNewValue:i,changeCount:this._changeCount++});return s}_isInInsertedElement(e){const t=e.parent;if(!t)return!1;const o=this._changesInElement.get(t),s=e.startOffset;if(o)for(const e of o)if("insert"==e.type&&s>=e.offset&&s<e.offset+e.howMany)return!0;return this._isInInsertedElement(t)}_removeAllNestedChanges(e,t,o){const s=new zt(It._createAt(e,t),It._createAt(e,t+o));for(const e of s.getItems({shallow:!0}))e.is("element")&&(this._changesInElement.delete(e),this._removeAllNestedChanges(e,0,e.maxOffset))}}function Zs(e){return{node:e,name:e.is("$text")?"$text":e.name,attributes:new Map(e.getAttributes())}}function Js(e){const t=[];for(const o of e)if(o.is("$text"))for(let e=0;e<o.data.length;++e)t.push(Zs(o));else t.push(Zs(o));return t}function Xs(e,t){const o=[];let s=0,i=0;for(const e of t){if(e.offset>s){for(let t=0;t<e.offset-s;t++)o.push("e");i+=e.offset-s}if("insert"==e.type){for(let t=0;t<e.howMany;t++)o.push("i");s=e.offset+e.howMany}else if("remove"==e.type){for(let t=0;t<e.howMany;t++)o.push("r");s=e.offset,i+=e.howMany}else{if(e.howMany>1500)for(let t=0;t<e.howMany;t++)o.push("a");else o.push(..."a".repeat(e.howMany).split(""));s=e.offset+e.howMany,i+=e.howMany}}if(i<e)for(let t=0;t<e-i-s;t++)o.push("e");return o}function Qs(e){const t="position"in e&&"$graveyard"==e.position.root.rootName,o="range"in e&&"$graveyard"==e.range.root.rootName;return!t&&!o}class ei{_operations=[];_undoPairs=new Map;_undoneOperations=new Set;_baseVersionToOperationIndex=new Map;_version=0;_gaps=new Map;get version(){return this._version}set version(e){this._operations.length&&e>this._version+1&&this._gaps.set(this._version,e),this._version=e}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(e){if(e.baseVersion!==this.version)throw new a.Yb("model-document-history-addoperation-incorrect-version",this,{operation:e,historyVersion:this.version});this._operations.push(e),this._version++,this._baseVersionToOperationIndex.set(e.baseVersion,this._operations.length-1)}getOperations(e,t=this.version){if(!this._operations.length)return[];const o=this._operations[0];void 0===e&&(e=o.baseVersion);let s=t-1;for(const[t,o]of this._gaps)e>t&&e<o&&(e=o),s>t&&s<o&&(s=t-1);if(s<o.baseVersion||e>this.lastOperation.baseVersion)return[];let i=this._baseVersionToOperationIndex.get(e);void 0===i&&(i=0);let n=this._baseVersionToOperationIndex.get(s);return void 0===n&&(n=this._operations.length-1),this._operations.slice(i,n+1)}getOperation(e){const t=this._baseVersionToOperationIndex.get(e);if(void 0!==t)return this._operations[t]}setOperationAsUndone(e,t){this._undoPairs.set(t,e),this._undoneOperations.add(e)}isUndoingOperation(e){return this._undoPairs.has(e)}isUndoneOperation(e){return this._undoneOperations.has(e)}getUndoneOperation(e){return this._undoPairs.get(e)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class ti extends Vt{rootName;_document;_isAttached=!0;_isLoaded=!0;constructor(e,t,o="main"){super(t),this._document=e,this.rootName=o}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}ti.prototype.is=function(e,t){return t?t===this.name&&("rootElement"===e||"model:rootElement"===e||"element"===e||"model:element"===e):"rootElement"===e||"model:rootElement"===e||"element"===e||"model:element"===e||"node"===e||"model:node"===e};const oi="$graveyard";class si extends((0,a.Mm)()){model;history;selection;roots;differ;isReadOnly;_postFixers;_hasSelectionChangedFromTheLastChangeBlock;constructor(e){super(),this.model=e,this.history=new ei,this.selection=new no(this),this.roots=new a.pM({idProperty:"rootName"}),this.differ=new Gs(e.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",oi),this.listenTo(e,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&this.differ.bufferOperation(o)}),{priority:"high"}),this.listenTo(e,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&this.history.addOperation(o)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(e.markers,"update",((e,t,o,s,i)=>{const n={...t.getData(),range:s};this.differ.bufferMarkerChange(t.name,i,n),null===o&&t.on("change",((e,o)=>{const s=t.getData();this.differ.bufferMarkerChange(t.name,{...s,range:o},s)}))})),this.registerPostFixer((e=>{let t=!1;for(const o of this.roots)o.isAttached()||o.isEmpty||(e.remove(e.createRangeIn(o)),t=!0);for(const o of this.model.markers)o.getRange().root.isAttached()||(e.removeMarker(o),t=!0);return t}))}get version(){return this.history.version}set version(e){this.history.version=e}get graveyard(){return this.getRoot(oi)}createRoot(e="$root",t="main"){if(this.roots.get(t))throw new a.Yb("model-document-createroot-name-exists",this,{name:t});const o=new ti(this,e,t);return this.roots.add(o),o}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(e=!1){return this.getRoots(e).map((e=>e.rootName))}getRoots(e=!1){return this.roots.filter((t=>t!=this.graveyard&&(e||t.isAttached())&&t._isLoaded))}registerPostFixer(e){this._postFixers.add(e)}toJSON(){const e=w(this);return e.selection="[engine.model.DocumentSelection]",e.model="[engine.model.Model]",e}_handleChangeBlock(e){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(e),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",e.batch):this.fire("change",e.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const e=this.getRoots();return e.length?e[0]:this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),t=this.model,o=t.schema,s=t.createPositionFromPath(e,[0]);return o.getNearestSelectionRange(s)||t.createRange(s)}_validateSelectionRange(e){return ii(e.start)&&ii(e.end)}_callPostFixers(e){let t=!1;do{for(const o of this._postFixers)if(this.selection.refresh(),t=o(e),t)break}while(t)}}function ii(e){const t=e.textNode;if(t){const o=t.data,s=e.offset-t.startOffset;return!(0,a.P5)(o,s)&&!(0,a.Iw)(o,s)}return!0}class ni extends((0,a.Mm)()){_markers=new Map;[Symbol.iterator](){return this._markers.values()}has(e){const t=e instanceof ri?e.name:e;return this._markers.has(t)}get(e){return this._markers.get(e)||null}_set(e,t,o=!1,s=!1){const i=e instanceof ri?e.name:e;if(i.includes(","))throw new a.Yb("markercollection-incorrect-marker-name",this);const n=this._markers.get(i);if(n){const e=n.getData(),r=n.getRange();let a=!1;return r.isEqual(t)||(n._attachLiveRange(to.fromRange(t)),a=!0),o!=n.managedUsingOperations&&(n._managedUsingOperations=o,a=!0),"boolean"==typeof s&&s!=n.affectsData&&(n._affectsData=s,a=!0),a&&this.fire(`update:${i}`,n,r,t,e),n}const r=to.fromRange(t),c=new ri(i,r,o,s);return this._markers.set(i,c),this.fire(`update:${i}`,c,null,t,{...c.getData(),range:null}),c}_remove(e){const t=e instanceof ri?e.name:e,o=this._markers.get(t);return!!o&&(this._markers.delete(t),this.fire(`update:${t}`,o,o.getRange(),null,o.getData()),this._destroyMarker(o),!0)}_refresh(e){const t=e instanceof ri?e.name:e,o=this._markers.get(t);if(!o)throw new a.Yb("markercollection-refresh-marker-not-exists",this);const s=o.getRange();this.fire(`update:${t}`,o,s,s,o.getData())}*getMarkersAtPosition(e){for(const t of this)t.getRange().containsPosition(e)&&(yield t)}*getMarkersIntersectingRange(e){for(const t of this)null!==t.getRange().getIntersection(e)&&(yield t)}destroy(){for(const e of this._markers.values())this._destroyMarker(e);this._markers=null,this.stopListening()}*getMarkersGroup(e){for(const t of this._markers.values())t.name.startsWith(e+":")&&(yield t)}_destroyMarker(e){e.stopListening(),e._detachLiveRange()}}class ri extends((0,a.Mm)(Et)){name;_managedUsingOperations;_affectsData;_liveRange;constructor(e,t,o,s){super(),this.name=e,this._liveRange=this._attachLiveRange(t),this._managedUsingOperations=o,this._affectsData=s}get managedUsingOperations(){if(!this._liveRange)throw new a.Yb("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new a.Yb("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new a.Yb("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new a.Yb("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new a.Yb("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(e){return this._liveRange&&this._detachLiveRange(),e.delegate("change:range").to(this),e.delegate("change:content").to(this),this._liveRange=e,e}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}ri.prototype.is=function(e){return"marker"===e||"model:marker"===e};class ai extends ms{sourcePosition;howMany;constructor(e,t){super(null),this.sourcePosition=e.clone(),this.howMany=t}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e}_validate(){if(this.sourcePosition.root.document)throw new a.Yb("detach-operation-on-document-node",this)}_execute(){fs(zt._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class ci extends Et{markers=new Map;_children=new St;constructor(e){super(),e&&this._insertChild(0,e)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(e){return this._children.getNode(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}getPath(){return[]}getNodeByPath(e){let t=this;for(const o of e)t=t.getChild(t.offsetToIndex(o));return t}offsetToIndex(e){return this._children.offsetToIndex(e)}toJSON(){const e=[];for(const t of this._children)e.push(t.toJSON());return e}static fromJSON(e){const t=[];for(const o of e)o.name?t.push(Vt.fromJSON(o)):t.push(Mt.fromJSON(o));return new ci(t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const o=function(e){if("string"==typeof e)return[new Mt(e)];(0,a.xZ)(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new Mt(e):e instanceof Ot?new Mt(e.data,e.getAttributes()):e))}(t);for(const e of o)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,o)}_removeChildren(e,t=1){const o=this._children._removeNodes(e,t);for(const e of o)e.parent=null;return o}}ci.prototype.is=function(e){return"documentFragment"===e||"model:documentFragment"===e};class li{model;batch;constructor(e,t){this.model=e,this.batch=t}createText(e,t){return new Mt(e,t)}createElement(e,t){return new Vt(e,t)}createDocumentFragment(){return new ci}cloneElement(e,t=!0){return e._clone(t)}insert(e,t,o=0){if(this._assertWriterUsedCorrectly(),e instanceof Mt&&""==e.data)return;const s=It._createAt(t,o);if(e.parent){if(pi(e.root,s.root))return void this.move(zt._createOn(e),s);if(e.root.document)throw new a.Yb("model-writer-insert-forbidden-move",this);this.remove(e)}const i=s.root.document?s.root.document.version:null,n=new ys(s,e,i);if(e instanceof Mt&&(n.shouldReceiveAttributes=!0),this.batch.addOperation(n),this.model.applyOperation(n),e instanceof ci)for(const[t,o]of e.markers){const e=It._createAt(o.root,0),i={range:new zt(o.start._getCombined(e,s),o.end._getCombined(e,s)),usingOperation:!0,affectsData:!0};this.model.markers.has(t)?this.updateMarker(t,i):this.addMarker(t,i)}}insertText(e,t,o,s){t instanceof ci||t instanceof Vt||t instanceof It?this.insert(this.createText(e),t,o):this.insert(this.createText(e,t),o,s)}insertElement(e,t,o,s){t instanceof ci||t instanceof Vt||t instanceof It?this.insert(this.createElement(e),t,o):this.insert(this.createElement(e,t),o,s)}append(e,t){this.insert(e,t,"end")}appendText(e,t,o){t instanceof ci||t instanceof Vt?this.insert(this.createText(e),t,"end"):this.insert(this.createText(e,t),o,"end")}appendElement(e,t,o){t instanceof ci||t instanceof Vt?this.insert(this.createElement(e),t,"end"):this.insert(this.createElement(e,t),o,"end")}setAttribute(e,t,o){if(this._assertWriterUsedCorrectly(),o instanceof zt){const s=o.getMinimalFlatRanges();for(const o of s)di(this,e,t,o)}else hi(this,e,t,o)}setAttributes(e,t){for(const[o,s]of(0,a.av)(e))this.setAttribute(o,s,t)}removeAttribute(e,t){if(this._assertWriterUsedCorrectly(),t instanceof zt){const o=t.getMinimalFlatRanges();for(const t of o)di(this,e,null,t)}else hi(this,e,null,t)}clearAttributes(e){this._assertWriterUsedCorrectly();const t=e=>{for(const t of e.getAttributeKeys())this.removeAttribute(t,e)};if(e instanceof zt)for(const o of e.getItems())t(o);else t(e)}move(e,t,o){if(this._assertWriterUsedCorrectly(),!(e instanceof zt))throw new a.Yb("writer-move-invalid-range",this);if(!e.isFlat)throw new a.Yb("writer-move-range-not-flat",this);const s=It._createAt(t,o);if(s.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!pi(e.root,s.root))throw new a.Yb("writer-move-different-document",this);const i=e.root.document?e.root.document.version:null,n=new vs(e.start,e.end.offset-e.start.offset,s,i);this.batch.addOperation(n),this.model.applyOperation(n)}remove(e){this._assertWriterUsedCorrectly();const t=(e instanceof zt?e:zt._createOn(e)).getMinimalFlatRanges().reverse();for(const e of t)this._addOperationForAffectedMarkers("move",e),mi(e.start,e.end.offset-e.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const t=e.nodeBefore,o=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(t instanceof Vt))throw new a.Yb("writer-merge-no-element-before",this);if(!(o instanceof Vt))throw new a.Yb("writer-merge-no-element-after",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,t,o){return this.model.createPositionFromPath(e,t,o)}createPositionAt(e,t){return this.model.createPositionAt(e,t)}createPositionAfter(e){return this.model.createPositionAfter(e)}createPositionBefore(e){return this.model.createPositionBefore(e)}createRange(e,t){return this.model.createRange(e,t)}createRangeIn(e){return this.model.createRangeIn(e)}createRangeOn(e){return this.model.createRangeOn(e)}createSelection(...e){return this.model.createSelection(...e)}_mergeDetached(e){const t=e.nodeBefore,o=e.nodeAfter;this.move(zt._createIn(o),It._createAt(t,"end")),this.remove(o)}_merge(e){const t=It._createAt(e.nodeBefore,"end"),o=It._createAt(e.nodeAfter,0),s=e.root.document.graveyard,i=new It(s,[0]),n=e.root.document.version,r=new As(o,e.nodeAfter.maxOffset,t,i,n);this.batch.addOperation(r),this.model.applyOperation(r)}rename(e,t){if(this._assertWriterUsedCorrectly(),!(e instanceof Vt))throw new a.Yb("writer-rename-not-element-instance",this);const o=e.root.document?e.root.document.version:null,s=new Ss(It._createBefore(e),e.name,t,o);this.batch.addOperation(s),this.model.applyOperation(s)}split(e,t){this._assertWriterUsedCorrectly();let o,s,i=e.parent;if(!i.parent)throw new a.Yb("writer-split-element-no-parent",this);if(t||(t=i.parent),!e.parent.getAncestors({includeSelf:!0}).includes(t))throw new a.Yb("writer-split-invalid-limit-element",this);do{const t=i.root.document?i.root.document.version:null,n=i.maxOffset-e.offset,r=xs.getInsertionPosition(e),a=new xs(e,n,r,null,t);this.batch.addOperation(a),this.model.applyOperation(a),o||s||(o=i,s=e.parent.nextSibling),i=(e=this.createPositionAfter(e.parent)).parent}while(i!==t);return{position:e,range:new zt(It._createAt(o,"end"),It._createAt(s,0))}}wrap(e,t){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new a.Yb("writer-wrap-range-not-flat",this);const o=t instanceof Vt?t:new Vt(t);if(o.childCount>0)throw new a.Yb("writer-wrap-element-not-empty",this);if(null!==o.parent)throw new a.Yb("writer-wrap-element-attached",this);this.insert(o,e.start);const s=new zt(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(s,It._createAt(o,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),null===e.parent)throw new a.Yb("writer-unwrap-element-no-parent",this);this.move(zt._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,t){if(this._assertWriterUsedCorrectly(),!t||"boolean"!=typeof t.usingOperation)throw new a.Yb("writer-addmarker-no-usingoperation",this);const o=t.usingOperation,s=t.range,i=void 0!==t.affectsData&&t.affectsData;if(this.model.markers.has(e))throw new a.Yb("writer-addmarker-marker-exists",this);if(!s)throw new a.Yb("writer-addmarker-no-range",this);return o?(ui(this,e,null,s,i),this.model.markers.get(e)):this.model.markers._set(e,s,o,i)}updateMarker(e,t){this._assertWriterUsedCorrectly();const o="string"==typeof e?e:e.name,s=this.model.markers.get(o);if(!s)throw new a.Yb("writer-updatemarker-marker-not-exists",this);if(!t)return(0,a.FF)("writer-updatemarker-reconvert-using-editingcontroller",{markerName:o}),void this.model.markers._refresh(s);const i="boolean"==typeof t.usingOperation,n="boolean"==typeof t.affectsData,r=n?t.affectsData:s.affectsData;if(!i&&!t.range&&!n)throw new a.Yb("writer-updatemarker-wrong-options",this);const c=s.getRange(),l=t.range?t.range:c;i&&t.usingOperation!==s.managedUsingOperations?t.usingOperation?ui(this,o,null,l,r):(ui(this,o,c,null,r),this.model.markers._set(o,l,void 0,r)):s.managedUsingOperations?ui(this,o,c,l,r):this.model.markers._set(o,l,void 0,r)}removeMarker(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?e:e.name;if(!this.model.markers.has(t))throw new a.Yb("writer-removemarker-no-marker",this);const o=this.model.markers.get(t);if(!o.managedUsingOperations)return void this.model.markers._remove(t);ui(this,t,o.getRange(),null,o.affectsData)}addRoot(e,t="$root"){this._assertWriterUsedCorrectly();const o=this.model.document.getRoot(e);if(o&&o.isAttached())throw new a.Yb("writer-addroot-root-exists",this);const s=this.model.document,i=new Os(e,t,!0,s,s.version);return this.batch.addOperation(i),this.model.applyOperation(i),this.model.document.getRoot(e)}detachRoot(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?this.model.document.getRoot(e):e;if(!t||!t.isAttached())throw new a.Yb("writer-detachroot-no-root",this);for(const e of this.model.markers)e.getRange().root===t&&this.removeMarker(e);for(const e of t.getAttributeKeys())this.removeAttribute(e,t);this.remove(this.createRangeIn(t));const o=this.model.document,s=new Os(t.rootName,t.name,!1,o,o.version);this.batch.addOperation(s),this.model.applyOperation(s)}setSelection(...e){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...e)}setSelectionFocus(e,t){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(e,t)}setSelectionAttribute(e,t){if(this._assertWriterUsedCorrectly(),"string"==typeof e)this._setSelectionAttribute(e,t);else for(const[t,o]of(0,a.av)(e))this._setSelectionAttribute(t,o)}removeSelectionAttribute(e){if(this._assertWriterUsedCorrectly(),"string"==typeof e)this._removeSelectionAttribute(e);else for(const t of e)this._removeSelectionAttribute(t)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(e){this.model.document.selection._restoreGravity(e)}_setSelectionAttribute(e,t){const o=this.model.document.selection;if(o.isCollapsed&&o.anchor.parent.isEmpty){const s=no._getStoreAttributeKey(e);this.setAttribute(s,t,o.anchor.parent)}o._setAttribute(e,t)}_removeSelectionAttribute(e){const t=this.model.document.selection;if(t.isCollapsed&&t.anchor.parent.isEmpty){const o=no._getStoreAttributeKey(e);this.removeAttribute(o,t.anchor.parent)}t._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new a.Yb("writer-incorrect-use",this)}_addOperationForAffectedMarkers(e,t){for(const o of this.model.markers){if(!o.managedUsingOperations)continue;const s=o.getRange();let i=!1;if("move"===e){const e=t;i=e.containsPosition(s.start)||e.start.isEqual(s.start)||e.containsPosition(s.end)||e.end.isEqual(s.end)}else{const e=t,o=e.nodeBefore,n=e.nodeAfter,r=s.start.parent==o&&s.start.isAtEnd,a=s.end.parent==n&&0==s.end.offset,c=s.end.nodeAfter==n,l=s.start.nodeAfter==n;i=r||a||c||l}i&&this.updateMarker(o.name,{range:s})}}}function di(e,t,o,s){const i=e.model,n=i.document;let r,a,c,l=s.start;for(const e of s.getWalker({shallow:!0}))c=e.item.getAttribute(t),r&&a!=c&&(a!=o&&d(),l=r),r=e.nextPosition,a=c;function d(){const s=new zt(l,r),c=s.root.document?n.version:null,d=new Es(s,t,a,o,c);e.batch.addOperation(d),i.applyOperation(d)}r instanceof It&&r!=l&&a!=o&&d()}function hi(e,t,o,s){const i=e.model,n=i.document,r=s.getAttribute(t);let a,c;if(r!=o){if(s.root===s){const e=s.document?n.version:null;c=new Ms(s,t,r,o,e)}else{a=new zt(It._createBefore(s),e.createPositionAfter(s));const i=a.root.document?n.version:null;c=new Es(a,t,r,o,i)}e.batch.addOperation(c),i.applyOperation(c)}}function ui(e,t,o,s,i){const n=e.model,r=n.document,a=new Cs(t,o,s,n.markers,!!i,r.version);e.batch.addOperation(a),n.applyOperation(a)}function mi(e,t,o,s){let i;if(e.root.document){const o=s.document,n=new It(o.graveyard,[0]);i=new vs(e,t,n,o.version)}else i=new ai(e,t);o.addOperation(i),s.applyOperation(i)}function pi(e,t){return e===t||e instanceof ti&&t instanceof ti}function fi(e,t,o={}){if(t.isCollapsed)return;const s=t.getFirstRange();if("$graveyard"==s.root.rootName)return;const i=e.schema;e.change((e=>{if(!o.doNotResetEntireContent&&function(e,t){const o=e.getLimitElement(t);if(!t.containsEntireContent(o))return!1;const s=t.getFirstRange();if(s.start.parent==s.end.parent)return!1;return e.checkChild(o,"paragraph")}(i,t))return void function(e,t){const o=e.model.schema.getLimitElement(t);e.remove(e.createRangeIn(o)),ki(e,e.createPositionAt(o,0),t)}(e,t);const n={};if(!o.doNotAutoparagraph){const e=t.getSelectedElement();e&&Object.assign(n,i.getAttributesWithProperty(e,"copyOnReplace",!0))}const[r,a]=function(e){const t=e.root.document.model,o=e.start;let s=e.end;if(t.hasContent(e,{ignoreMarkers:!0})){const o=function(e){const t=e.parent,o=t.root.document.model.schema,s=t.getAncestors({parentFirst:!0,includeSelf:!0});for(const e of s){if(o.isLimit(e))return null;if(o.isBlock(e))return e}}(s);if(o&&s.isTouching(t.createPositionAt(o,0))){const o=t.createSelection(e);t.modifySelection(o,{direction:"backward"});const i=o.getLastPosition(),n=t.createRange(i,s);t.hasContent(n,{ignoreMarkers:!0})||(s=i)}}return[qs.fromPosition(o,"toPrevious"),qs.fromPosition(s,"toNext")]}(s);r.isTouching(a)||e.remove(e.createRange(r,a)),o.leaveUnmerged||(!function(e,t,o){const s=e.model;if(!bi(e.model.schema,t,o))return;const[i,n]=function(e,t){const o=e.getAncestors(),s=t.getAncestors();let i=0;for(;o[i]&&o[i]==s[i];)i++;return[o[i],s[i]]}(t,o);if(!i||!n)return;!s.hasContent(i,{ignoreMarkers:!0})&&s.hasContent(n,{ignoreMarkers:!0})?_i(e,t,o,i.parent):gi(e,t,o,i.parent)}(e,r,a),i.removeDisallowedAttributes(r.parent.getChildren(),e)),wi(e,t,r),!o.doNotAutoparagraph&&function(e,t){const o=e.checkChild(t,"$text"),s=e.checkChild(t,"paragraph");return!o&&s}(i,r)&&ki(e,r,t,n),r.detach(),a.detach()}))}function gi(e,t,o,s){const i=t.parent,n=o.parent;if(i!=s&&n!=s){for(t=e.createPositionAfter(i),(o=e.createPositionBefore(n)).isEqual(t)||e.insert(n,t),e.merge(t);o.parent.isEmpty;){const t=o.parent;o=e.createPositionBefore(t),e.remove(t)}bi(e.model.schema,t,o)&&gi(e,t,o,s)}}function _i(e,t,o,s){const i=t.parent,n=o.parent;if(i!=s&&n!=s){for(t=e.createPositionAfter(i),(o=e.createPositionBefore(n)).isEqual(t)||e.insert(i,o);t.parent.isEmpty;){const o=t.parent;t=e.createPositionBefore(o),e.remove(o)}o=e.createPositionBefore(n),function(e,t){const o=t.nodeBefore,s=t.nodeAfter;o.name!=s.name&&e.rename(o,s.name);e.clearAttributes(o),e.setAttributes(Object.fromEntries(s.getAttributes()),o),e.merge(t)}(e,o),bi(e.model.schema,t,o)&&_i(e,t,o,s)}}function bi(e,t,o){const s=t.parent,i=o.parent;return s!=i&&(!e.isLimit(s)&&!e.isLimit(i)&&function(e,t,o){const s=new zt(e,t);for(const e of s.getWalker())if(o.isLimit(e.item))return!1;return!0}(t,o,e))}function ki(e,t,o,s={}){const i=e.createElement("paragraph");e.model.schema.setAllowedAttributes(i,s,e),e.insert(i,t),wi(e,o,e.createPositionAt(i,0))}function wi(e,t,o){t instanceof no?e.setSelection(o):t.setTo(o)}function vi(e,t){const o=[];Array.from(e.getItems({direction:"backward"})).map((e=>t.createRangeOn(e))).filter((t=>(t.start.isAfter(e.start)||t.start.isEqual(e.start))&&(t.end.isBefore(e.end)||t.end.isEqual(e.end)))).forEach((e=>{o.push(e.start.parent),t.remove(e)})),o.forEach((e=>{let o=e;for(;o.parent&&o.isEmpty;){const e=t.createRangeOn(o);o=o.parent,t.remove(e)}}))}class yi{model;writer;position;canMergeWith;schema;_documentFragment;_documentFragmentPosition;_firstNode=null;_lastNode=null;_lastAutoParagraph=null;_filterAttributesOf=[];_affectedStart=null;_affectedEnd=null;_nodeToSelect=null;constructor(e,t,o){this.model=e,this.writer=t,this.position=o,this.canMergeWith=new Set([this.position.parent]),this.schema=e.schema,this._documentFragment=t.createDocumentFragment(),this._documentFragmentPosition=t.createPositionAt(this._documentFragment,0)}handleNodes(e){for(const t of Array.from(e))this._handleNode(t);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(e){const t=this.writer.createPositionAfter(this._lastNode),o=this.writer.createPositionAfter(e);if(o.isAfter(t)){if(this._lastNode=e,this.position.parent!=e||!this.position.isAtEnd)throw new a.Yb("insertcontent-invalid-insertion-position",this);this.position=o,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?zt._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new zt(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e){this._checkAndSplitToAllowedPosition(e)?(this._appendToFragment(e),this._firstNode||(this._firstNode=e),this._lastNode=e):this.schema.isObject(e)||this._handleDisallowedNode(e)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const e=qs.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=e.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=e.toPosition(),e.detach()}_handleDisallowedNode(e){e.is("element")&&this.handleNodes(e.getChildren())}_appendToFragment(e){if(!this.schema.checkChild(this.position,e))throw new a.Yb("insertcontent-wrong-position",this,{node:e,position:this.position});this.writer.insert(e,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(e.offsetSize),this.schema.isObject(e)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=e:this._nodeToSelect=null,this._filterAttributesOf.push(e)}_setAffectedBoundaries(e){this._affectedStart||(this._affectedStart=qs.fromPosition(e,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(e)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=qs.fromPosition(e,"toNext"))}_mergeOnLeft(){const e=this._firstNode;if(!(e instanceof Vt))return;if(!this._canMergeLeft(e))return;const t=qs._createBefore(e);t.stickiness="toNext";const o=qs.fromPosition(this.position,"toNext");this._affectedStart.isEqual(t)&&(this._affectedStart.detach(),this._affectedStart=qs._createAt(t.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=t.nodeBefore,this._lastNode=t.nodeBefore),this.writer.merge(t),t.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=qs._createAt(t.nodeBefore,"end","toNext")),this.position=o.toPosition(),o.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_mergeOnRight(){const e=this._lastNode;if(!(e instanceof Vt))return;if(!this._canMergeRight(e))return;const t=qs._createAfter(e);if(t.stickiness="toNext",!this.position.isEqual(t))throw new a.Yb("insertcontent-invalid-insertion-position",this);this.position=It._createAt(t.nodeBefore,"end");const o=qs.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(t)&&(this._affectedEnd.detach(),this._affectedEnd=qs._createAt(t.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=t.nodeBefore,this._lastNode=t.nodeBefore),this.writer.merge(t),t.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=qs._createAt(t.nodeBefore,0,"toPrevious")),this.position=o.toPosition(),o.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_canMergeLeft(e){const t=e.previousSibling;return t instanceof Vt&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(t,e)}_canMergeRight(e){const t=e.nextSibling;return t instanceof Vt&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(e,t)}_insertAutoParagraph(){this._insertPartialFragment();const e=this.writer.createElement("paragraph");this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0)}_checkAndSplitToAllowedPosition(e){const t=this._getAllowedIn(this.position.parent,e);if(!t)return!1;for(t!=this.position.parent&&this._insertPartialFragment();t!=this.position.parent;)if(this.position.isAtStart){const e=this.position.parent;this.position=this.writer.createPositionBefore(e),e.isEmpty&&e.parent===t&&this.writer.remove(e)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const e=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=e,this.canMergeWith.add(this.position.nodeAfter)}return this.schema.checkChild(this.position.parent,e)||this._insertAutoParagraph(),!0}_getAllowedIn(e,t){return this.schema.checkChild(e,t)||this.schema.checkChild(e,"paragraph")&&this.schema.checkChild("paragraph",t)?e:this.schema.isLimit(e)?null:this._getAllowedIn(e.parent,t)}}function xi(e,t,o,s={}){if(!e.schema.isObject(t))throw new a.Yb("insertobject-element-not-an-object",e,{object:t});const i=o||e.document.selection;let n=i;s.findOptimalPosition&&e.schema.isBlock(t)&&(n=e.createSelection(e.schema.findOptimalInsertionRange(i,s.findOptimalPosition)));const r=(0,a.$1)(i.getSelectedBlocks()),c={};return r&&Object.assign(c,e.schema.getAttributesWithProperty(r,"copyOnReplace",!0)),e.change((o=>{n.isCollapsed||e.deleteContent(n,{doNotAutoparagraph:!0});let i=t;const r=n.anchor.parent;!e.schema.checkChild(r,t)&&e.schema.checkChild(r,"paragraph")&&e.schema.checkChild("paragraph",t)&&(i=o.createElement("paragraph"),o.insert(t,i)),e.schema.setAllowedAttributes(i,c,o);const l=e.insertContent(i,n);return l.isCollapsed||s.setSelection&&function(e,t,o,s){const i=e.model;if("on"==o)return void e.setSelection(t,"on");if("after"!=o)throw new a.Yb("insertobject-invalid-place-parameter-value",i);let n=t.nextSibling;if(i.schema.isInline(t))return void e.setSelection(t,"after");const r=n&&i.schema.checkChild(n,"$text");!r&&i.schema.checkChild(t.parent,"paragraph")&&(n=e.createElement("paragraph"),i.schema.setAllowedAttributes(n,s,e),i.insertContent(n,e.createPositionAfter(t)));n&&e.setSelection(n,0)}(o,t,s.setSelection,c),l}))}function Ai(e,t){const{isForward:o,walker:s,unit:i,schema:n,treatEmojiAsSingleUnit:r}=e,{type:c,item:l,nextPosition:d}=t;if("text"==c)return"word"===e.unit?function(e,t){let o=e.position.textNode;o||(o=t?e.position.nodeAfter:e.position.nodeBefore);for(;o&&o.is("$text");){const s=e.position.offset-o.startOffset;if(Ei(o,s,t))o=t?e.position.nodeAfter:e.position.nodeBefore;else{if(Ti(o.data,s,t))break;e.next()}}return e.position}(s,o):function(e,t,o){const s=e.position.textNode;if(s){const i=s.data;let n=e.position.offset-s.startOffset;for(;(0,a.P5)(i,n)||"character"==t&&(0,a.Iw)(i,n)||o&&(0,a.SQ)(i,n);)e.next(),n=e.position.offset-s.startOffset}return e.position}(s,i,r);if(c==(o?"elementStart":"elementEnd")){if(n.isSelectable(l))return It._createAt(l,o?"after":"before");if(n.checkChild(d,"$text"))return d}else{if(n.isLimit(l))return void s.skip((()=>!0));if(n.checkChild(d,"$text"))return d}}function Ci(e,t){const o=e.root,s=It._createAt(o,t?"end":0);return t?new zt(e,s):new zt(s,e)}function Ti(e,t,o){const s=t+(o?0:-1);return' ,.?!:;"-()'.includes(e.charAt(s))}function Ei(e,t,o){return t===(o?e.offsetSize:0)}class Pi extends((0,a.VM)()){markers;document;schema;_pendingChanges;_currentWriter;constructor(){super(),this.markers=new ni,this.document=new si(this),this.schema=new Wo,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach((e=>this.decorate(e))),this.on("applyOperation",((e,t)=>{t[0]._validate()}),{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck((()=>!0),"$marker"),Bo(this),this.document.registerPostFixer(To),this.on("insertContent",((e,[t,o])=>{e.return=function(e,t,o){return e.change((s=>{const i=o||e.document.selection;i.isCollapsed||e.deleteContent(i,{doNotAutoparagraph:!0});const n=new yi(e,s,i.anchor),r=[];let a;if(t.is("documentFragment")){if(t.markers.size){const e=[];for(const[o,s]of t.markers){const{start:t,end:i}=s,n=t.isEqual(i);e.push({position:t,name:o,isCollapsed:n},{position:i,name:o,isCollapsed:n})}e.sort((({position:e},{position:t})=>e.isBefore(t)?1:-1));for(const{position:o,name:i,isCollapsed:n}of e){let e=null,a=null;const c=o.parent===t&&o.isAtStart,l=o.parent===t&&o.isAtEnd;c||l?n&&(a=c?"start":"end"):(e=s.createElement("$marker"),s.insert(e,o)),r.push({name:i,element:e,collapsed:a})}}a=t.getChildren()}else a=[t];n.handleNodes(a);let c=n.getSelectionRange();if(t.is("documentFragment")&&r.length){const e=c?to.fromRange(c):null,t={};for(let e=r.length-1;e>=0;e--){const{name:o,element:i,collapsed:a}=r[e],c=!t[o];if(c&&(t[o]=[]),i){const e=s.createPositionAt(i,"before");t[o].push(e),s.remove(i)}else{const e=n.getAffectedRange();if(!e){a&&t[o].push(n.position);continue}a?t[o].push(e[a]):t[o].push(c?e.start:e.end)}}for(const[e,[o,i]]of Object.entries(t))o&&i&&o.root===i.root&&o.root.document&&!s.model.markers.has(e)&&s.addMarker(e,{usingOperation:!0,affectsData:!0,range:new zt(o,i)});e&&(c=e.toRange(),e.detach())}c&&(i instanceof no?s.setSelection(c):i.setTo(c));const l=n.getAffectedRange()||e.createRange(i.anchor);return n.destroy(),l}))}(this,t,o)})),this.on("insertObject",((e,[t,o,s])=>{e.return=xi(this,t,o,s)})),this.on("canEditAt",(e=>{const t=!this.document.isReadOnly;e.return=t,t||e.stop()}))}change(e){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new Ys,callback:e}),this._runPendingChanges()[0]):e(this._currentWriter)}catch(e){a.Yb.rethrowUnexpectedError(e,this)}}enqueueChange(e,t){try{e?"function"==typeof e?(t=e,e=new Ys):e instanceof Ys||(e=new Ys(e)):e=new Ys,this._pendingChanges.push({batch:e,callback:t}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(e){a.Yb.rethrowUnexpectedError(e,this)}}applyOperation(e){e._execute()}insertContent(e,t,o,...s){const i=Si(t,o);return this.fire("insertContent",[e,i,o,...s])}insertObject(e,t,o,s,...i){const n=Si(t,o);return this.fire("insertObject",[e,n,s,s,...i])}deleteContent(e,t){fi(this,e,t)}modifySelection(e,t){!function(e,t,o={}){const s=e.schema,i="backward"!=o.direction,n=o.unit?o.unit:"character",r=!!o.treatEmojiAsSingleUnit,a=t.focus,c=new Rt({boundaries:Ci(a,i),singleCharacters:!0,direction:i?"forward":"backward"}),l={walker:c,schema:s,isForward:i,unit:n,treatEmojiAsSingleUnit:r};let d;for(;d=c.next();){if(d.done)return;const o=Ai(l,d.value);if(o)return void(t instanceof no?e.change((e=>{e.setSelectionFocus(o)})):t.setFocus(o))}}(this,e,t)}getSelectedContent(e){return function(e,t){return e.change((e=>{const o=e.createDocumentFragment(),s=t.getFirstRange();if(!s||s.isCollapsed)return o;const i=s.start.root,n=s.start.getCommonPath(s.end),r=i.getNodeByPath(n);let a;a=s.start.parent==s.end.parent?s:e.createRange(e.createPositionAt(r,s.start.path[n.length]),e.createPositionAt(r,s.end.path[n.length]+1));const c=a.end.offset-a.start.offset;for(const t of a.getItems({shallow:!0}))t.is("$textProxy")?e.appendText(t.data,t.getAttributes(),o):e.append(e.cloneElement(t,!0),o);if(a!=s){const t=s._getTransformedByMove(a.start,e.createPositionAt(o,0),c)[0],i=e.createRange(e.createPositionAt(o,0),t.start);vi(e.createRange(t.end,e.createPositionAt(o,"end")),e),vi(i,e)}return o}))}(this,e)}hasContent(e,t={}){const o=e instanceof zt?e:zt._createIn(e);if(o.isCollapsed)return!1;const{ignoreWhitespaces:s=!1,ignoreMarkers:i=!1}=t;if(!i)for(const e of this.markers.getMarkersIntersectingRange(o))if(e.affectsData)return!0;for(const e of o.getItems())if(this.schema.isContent(e)){if(!e.is("$textProxy"))return!0;if(!s)return!0;if(-1!==e.data.search(/\S/))return!0}return!1}canEditAt(e){const t=Si(e);return this.fire("canEditAt",[t])}createPositionFromPath(e,t,o){return new It(e,t,o)}createPositionAt(e,t){return It._createAt(e,t)}createPositionAfter(e){return It._createAfter(e)}createPositionBefore(e){return It._createBefore(e)}createRange(e,t){return new zt(e,t)}createRangeIn(e){return zt._createIn(e)}createRangeOn(e){return zt._createOn(e)}createSelection(...e){return new Yt(...e)}createBatch(e){return new Ys(e)}createOperationFromJSON(e){return Rs.fromJSON(e,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const e=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const t=this._pendingChanges[0].batch;this._currentWriter=new li(this,t);const o=this._pendingChanges[0].callback(this._currentWriter);e.push(o),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return e}}function Si(e,t){if(e)return e instanceof Yt||e instanceof no?e:e instanceof Pt?t||0===t?new Yt(e,t):e.is("rootElement")?new Yt(e,"in"):new Yt(e,"on"):new Yt(e)}class Mi extends lt{domEventType="click";onDomEvent(e){this.fire(e.type,e)}}class Oi extends lt{domEventType=["mousedown","mouseup","mouseover","mouseout"];onDomEvent(e){this.fire(e.type,e)}}class Vi{document;constructor(e){this.document=e}createDocumentFragment(e){return new Ae(this.document,e)}createElement(e,t,o){return new K(this.document,e,t,o)}createText(e){return new y(this.document,e)}clone(e,t=!1){return e._clone(t)}appendChild(e,t){return t._appendChild(e)}insertChild(e,t,o){return o._insertChild(e,t)}removeChildren(e,t,o){return o._removeChildren(e,t)}remove(e){const t=e.parent;return t?this.removeChildren(t.getChildIndex(e),1,t):[]}replace(e,t){const o=e.parent;if(o){const s=o.getChildIndex(e);return this.removeChildren(s,1,o),this.insertChild(s,t,o),!0}return!1}unwrapElement(e){const t=e.parent;if(t){const o=t.getChildIndex(e);this.remove(e),this.insertChild(o,e.getChildren(),t)}}rename(e,t){const o=new K(this.document,e,t.getAttributes(),t.getChildren());return this.replace(t,o)?o:null}setAttribute(e,t,o){o._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,o){(0,A.A)(e)&&void 0===o?t._setStyle(e):o._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,o){o._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}createPositionAt(e,t){return te._createAt(e,t)}createPositionAfter(e){return te._createAfter(e)}createPositionBefore(e){return te._createBefore(e)}createRange(e,t){return new oe(e,t)}createRangeOn(e){return oe._createOn(e)}createRangeIn(e){return oe._createIn(e)}createSelection(...e){return new ie(...e)}}const Ri=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,ji=/^rgb\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}[0-9]{1,3}[ %]?\)$/i,Ii=/^rgba\([ ]?([0-9]{1,3}[ %]?,[ ]?){3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,Bi=/^hsl\([ ]?([0-9]{1,3}[ %]?[,]?[ ]*){3}(1|[0-9]+%|[0]?\.?[0-9]+)?\)$/i,Di=/^hsla\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,Ni=/\w+\((?:[^()]|\([^()]*\))*\)|\S+/gi,Fi=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","orange","aliceblue","antiquewhite","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","magenta","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","oldlace","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext","rebeccapurple","currentcolor","transparent"]);function Li(e){return e.startsWith("#")?Ri.test(e):e.startsWith("rgb")?ji.test(e)||Ii.test(e):e.startsWith("hsl")?Bi.test(e)||Di.test(e):Fi.has(e.toLowerCase())}const zi=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function Hi(e){return zi.includes(e)}const $i=/^([+-]?[0-9]*([.][0-9]+)?(px|cm|mm|in|pc|pt|ch|em|ex|rem|vh|vw|vmin|vmax)|0)$/;function Wi(e){return $i.test(e)}const qi=/^[+-]?[0-9]*([.][0-9]+)?%$/;function Ui(e){return qi.test(e)}const Ki=["repeat-x","repeat-y","repeat","space","round","no-repeat"];function Yi(e){return Ki.includes(e)}const Gi=["center","top","bottom","left","right"];function Zi(e){return Gi.includes(e)}const Ji=["fixed","scroll","local"];function Xi(e){return Ji.includes(e)}const Qi=/^url\(/;function en(e){return Qi.test(e)}function tn(e=""){if(""===e)return{top:void 0,right:void 0,bottom:void 0,left:void 0};const t=rn(e),o=t[0],s=t[2]||o,i=t[1]||o;return{top:o,bottom:s,right:i,left:t[3]||i}}function on(e){return t=>{const{top:o,right:s,bottom:i,left:n}=t,r=[];return[o,s,n,i].every((e=>!!e))?r.push([e,sn(t)]):(o&&r.push([e+"-top",o]),s&&r.push([e+"-right",s]),i&&r.push([e+"-bottom",i]),n&&r.push([e+"-left",n])),r}}function sn({top:e,right:t,bottom:o,left:s}){const i=[];return s!==t?i.push(e,t,o,s):o!==e?i.push(e,t,o):t!==e?i.push(e,t):i.push(e),i.join(" ")}function nn(e){return t=>({path:e,value:tn(t)})}function rn(e){const t=e.trim().slice(0,1500).matchAll(Ni);return Array.from(t).map((e=>e[0]))}function an(e){e.setNormalizer("background",(e=>{const t={},o=rn(e);for(const e of o)Yi(e)?(t.repeat=t.repeat||[],t.repeat.push(e)):Zi(e)?(t.position=t.position||[],t.position.push(e)):Xi(e)?t.attachment=e:Li(e)?t.color=e:en(e)&&(t.image=e);return{path:"background",value:t}})),e.setNormalizer("background-color",(e=>({path:"background.color",value:e}))),e.setReducer("background",(e=>{const t=[];return t.push(["background-color",e.color]),t})),e.setStyleRelation("background",["background-color"])}function cn(e){e.setNormalizer("border",(e=>{const{color:t,style:o,width:s}=fn(e);return{path:"border",value:{color:tn(t),style:tn(o),width:tn(s)}}})),e.setNormalizer("border-top",ln("top")),e.setNormalizer("border-right",ln("right")),e.setNormalizer("border-bottom",ln("bottom")),e.setNormalizer("border-left",ln("left")),e.setNormalizer("border-color",dn("color")),e.setNormalizer("border-width",dn("width")),e.setNormalizer("border-style",dn("style")),e.setNormalizer("border-top-color",un("color","top")),e.setNormalizer("border-top-style",un("style","top")),e.setNormalizer("border-top-width",un("width","top")),e.setNormalizer("border-right-color",un("color","right")),e.setNormalizer("border-right-style",un("style","right")),e.setNormalizer("border-right-width",un("width","right")),e.setNormalizer("border-bottom-color",un("color","bottom")),e.setNormalizer("border-bottom-style",un("style","bottom")),e.setNormalizer("border-bottom-width",un("width","bottom")),e.setNormalizer("border-left-color",un("color","left")),e.setNormalizer("border-left-style",un("style","left")),e.setNormalizer("border-left-width",un("width","left")),e.setExtractor("border-top",mn("top")),e.setExtractor("border-right",mn("right")),e.setExtractor("border-bottom",mn("bottom")),e.setExtractor("border-left",mn("left")),e.setExtractor("border-top-color","border.color.top"),e.setExtractor("border-right-color","border.color.right"),e.setExtractor("border-bottom-color","border.color.bottom"),e.setExtractor("border-left-color","border.color.left"),e.setExtractor("border-top-width","border.width.top"),e.setExtractor("border-right-width","border.width.right"),e.setExtractor("border-bottom-width","border.width.bottom"),e.setExtractor("border-left-width","border.width.left"),e.setExtractor("border-top-style","border.style.top"),e.setExtractor("border-right-style","border.style.right"),e.setExtractor("border-bottom-style","border.style.bottom"),e.setExtractor("border-left-style","border.style.left"),e.setReducer("border-color",on("border-color")),e.setReducer("border-style",on("border-style")),e.setReducer("border-width",on("border-width")),e.setReducer("border-top",gn("top")),e.setReducer("border-right",gn("right")),e.setReducer("border-bottom",gn("bottom")),e.setReducer("border-left",gn("left")),e.setReducer("border",function(){return t=>{const o=pn(t,"top"),s=pn(t,"right"),i=pn(t,"bottom"),n=pn(t,"left"),r=[o,s,i,n],a={width:e(r,"width"),style:e(r,"style"),color:e(r,"color")},c=_n(a,"all");if(c.length)return c;return[...Object.entries(a).reduce(((e,[t,o])=>(o&&(e.push([`border-${t}`,o]),r.forEach((e=>delete e[t]))),e)),[]),..._n(o,"top"),..._n(s,"right"),..._n(i,"bottom"),..._n(n,"left")]};function e(e,t){return e.map((e=>e[t])).reduce(((e,t)=>e==t?e:null))}}()),e.setStyleRelation("border",["border-color","border-style","border-width","border-top","border-right","border-bottom","border-left","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-width","border-right-width","border-bottom-width","border-left-width"]),e.setStyleRelation("border-color",["border-top-color","border-right-color","border-bottom-color","border-left-color"]),e.setStyleRelation("border-style",["border-top-style","border-right-style","border-bottom-style","border-left-style"]),e.setStyleRelation("border-width",["border-top-width","border-right-width","border-bottom-width","border-left-width"]),e.setStyleRelation("border-top",["border-top-color","border-top-style","border-top-width"]),e.setStyleRelation("border-right",["border-right-color","border-right-style","border-right-width"]),e.setStyleRelation("border-bottom",["border-bottom-color","border-bottom-style","border-bottom-width"]),e.setStyleRelation("border-left",["border-left-color","border-left-style","border-left-width"])}function ln(e){return t=>{const{color:o,style:s,width:i}=fn(t),n={};return void 0!==o&&(n.color={[e]:o}),void 0!==s&&(n.style={[e]:s}),void 0!==i&&(n.width={[e]:i}),{path:"border",value:n}}}function dn(e){return t=>({path:"border",value:hn(t,e)})}function hn(e,t){return{[t]:tn(e)}}function un(e,t){return o=>({path:"border",value:{[e]:{[t]:o}}})}function mn(e){return(t,o)=>{if(o.border)return pn(o.border,e)}}function pn(e,t){const o={};return e.width&&e.width[t]&&(o.width=e.width[t]),e.style&&e.style[t]&&(o.style=e.style[t]),e.color&&e.color[t]&&(o.color=e.color[t]),o}function fn(e){const t={},o=rn(e);for(const e of o)Wi(e)||/thin|medium|thick/.test(e)?t.width=e:Hi(e)?t.style=e:t.color=e;return t}function gn(e){return t=>_n(t,e)}function _n(e,t){const o=[];if(e&&e.width&&o.push("width"),e&&e.style&&o.push("style"),e&&e.color&&o.push("color"),3==o.length){const s=o.map((t=>e[t])).join(" ");return["all"==t?["border",s]:[`border-${t}`,s]]}return"all"==t?[]:o.map((o=>[`border-${t}-${o}`,e[o]]))}function bn(e){e.setNormalizer("margin",nn("margin")),e.setNormalizer("margin-top",(e=>({path:"margin.top",value:e}))),e.setNormalizer("margin-right",(e=>({path:"margin.right",value:e}))),e.setNormalizer("margin-bottom",(e=>({path:"margin.bottom",value:e}))),e.setNormalizer("margin-left",(e=>({path:"margin.left",value:e}))),e.setReducer("margin",on("margin")),e.setStyleRelation("margin",["margin-top","margin-right","margin-bottom","margin-left"])}function kn(e){e.setNormalizer("padding",nn("padding")),e.setNormalizer("padding-top",(e=>({path:"padding.top",value:e}))),e.setNormalizer("padding-right",(e=>({path:"padding.right",value:e}))),e.setNormalizer("padding-bottom",(e=>({path:"padding.bottom",value:e}))),e.setNormalizer("padding-left",(e=>({path:"padding.left",value:e}))),e.setReducer("padding",on("padding")),e.setStyleRelation("padding",["padding-top","padding-right","padding-bottom","padding-left"])}const wn="[",vn="]",yn="{",xn="}",An={container:G,attribute:pe,empty:_e,ui:ke,raw:ye},Cn={setContentOf:(e,t)=>{e.innerHTML=t}};function Tn(e,t={}){if(!(e instanceof Tt))throw new TypeError("View needs to be an instance of module:engine/view/view~View.");const o=e.document,s=!!t.withoutSelection,i=t.rootName||"main",n=o.getRoot(i),r={showType:t.showType,showPriority:t.showPriority,renderUIElements:t.renderUIElements,renderRawElements:t.renderRawElements,ignoreRoot:!0,domConverter:t.domConverter};return s?Tn._stringify(n,null,r):Tn._stringify(n,o.selection,r)}function En(e,t,o={}){if(!(e instanceof Tt))throw new TypeError("View needs to be an instance of module:engine/view/view~View.");const s=e.document,i=o.rootName||"main",n=s.getRoot(i);e.change((e=>{const o=En._parse(t,{rootElement:n});o.view&&o.selection&&e.setSelection(o.selection)}))}function Pn(e,t=null,o={}){let s;s=t instanceof te||t instanceof oe?new ne(t):t;return new On(e,s,o).stringify()}function Sn(e,t={}){const o=new me(new W);t.order=t.order||[];const s=new Mn({sameSelectionCharacters:t.sameSelectionCharacters}),i=new us(o,{namespaces:Object.keys(An)});t.inlineObjectElements&&i.domConverter.inlineObjectElements.push(...t.inlineObjectElements);let n=i.toView(e);if(n=Vn(n),t.rootElement){const e=t.rootElement,o=n._removeChildren(0,n.childCount);e._removeChildren(0,e.childCount),e._appendChild(o),n=e}const r=s.parse(n,t.order);if(n.is("documentFragment")&&1===n.childCount&&(n=n.getChild(0)),r.length){return{view:n,selection:new ne(r,{backward:!!t.lastRangeBackward})}}return n.parent&&n._remove(),n}Tn._stringify=Pn,En._parse=Sn;class Mn{sameSelectionCharacters;_positions;constructor(e){this.sameSelectionCharacters=!!e.sameSelectionCharacters}parse(e,t){this._positions=[],this._getPositions(e);let o=this._createRanges();if(t.length){if(t.length!=o.length)throw new Error(`Parse error - there are ${o.length} ranges found, but ranges order array contains ${t.length} elements.`);o=this._sortRanges(o,t)}return o}_getPositions(e){if(e.is("documentFragment")||e.is("element")){const t=[...e.getChildren()];for(const e of t)this._getPositions(e)}if(e.is("$text")){const t=new RegExp(`[${yn}${xn}\\${vn}\\${wn}]`,"g");let o,s=e.data,i=0;const n=[];for(;o=t.exec(s);){const e=o.index,t=o[0];n.push({bracket:t,textOffset:e-i}),i++}s=s.replace(t,""),e._data=s;const r=e.index,a=e.parent;s||e._remove();for(const t of n)if(s)if(this.sameSelectionCharacters||!this.sameSelectionCharacters&&(t.bracket==yn||t.bracket==xn))this._positions.push({bracket:t.bracket,position:new te(e,t.textOffset)});else{if(!this.sameSelectionCharacters&&0!==t.textOffset&&t.textOffset!==s.length)throw new Error(`Parse error - range delimiter '${t.bracket}' is placed inside text node.`);const e=0===t.textOffset?r:r+1;this._positions.push({bracket:t.bracket,position:new te(a,e)})}else{if(!this.sameSelectionCharacters&&t.bracket==yn||t.bracket==xn)throw new Error(`Parse error - text range delimiter '${t.bracket}' is placed inside empty text node. `);this._positions.push({bracket:t.bracket,position:new te(a,r)})}}}_sortRanges(e,t){const o=[];let s=0;for(const i of t){if(void 0===e[i-1])throw new Error("Parse error - provided ranges order is invalid.");o[i-1]=e[s],s++}return o}_createRanges(){const e=[];let t=null;for(const o of this._positions){if(!t&&(o.bracket==vn||o.bracket==xn))throw new Error(`Parse error - end of range was found '${o.bracket}' but range was not started before.`);if(t&&(o.bracket==wn||o.bracket==yn))throw new Error(`Parse error - start of range was found '${o.bracket}' but one range is already started.`);o.bracket==wn||o.bracket==yn?t=new oe(o.position,o.position):(t.end=o.position,e.push(t),t=null)}if(null!==t)throw new Error("Parse error - range was started but no end delimiter was found.");return e}}class On{root;selection;ranges;showType;showPriority;showAttributeElementId;ignoreRoot;sameSelectionCharacters;renderUIElements;renderRawElements;domConverter;constructor(e,t,o){this.root=e,this.selection=t,this.ranges=[],t&&(this.ranges=[...t.getRanges()]),this.showType=!!o.showType,this.showPriority=!!o.showPriority,this.showAttributeElementId=!!o.showAttributeElementId,this.ignoreRoot=!!o.ignoreRoot,this.sameSelectionCharacters=!!o.sameSelectionCharacters,this.renderUIElements=!!o.renderUIElements,this.renderRawElements=!!o.renderRawElements,this.domConverter=o.domConverter||Cn}stringify(){let e="";return this._walkView(this.root,(t=>{e+=t})),e}_walkView(e,t){const o=this.ignoreRoot&&this.root===e;if(e.is("element")||e.is("documentFragment")){if(e.is("element")&&!o&&t(this._stringifyElementOpen(e)),this.renderUIElements&&e.is("uiElement"))t(e.render(document,this.domConverter).innerHTML);else if(this.renderRawElements&&e.is("rawElement")){const o=document.createElement("div");e.render(o,this.domConverter),t(o.innerHTML)}else{let o=0;t(this._stringifyElementRanges(e,o));for(const s of e.getChildren())this._walkView(s,t),o++,t(this._stringifyElementRanges(e,o))}e.is("element")&&!o&&t(this._stringifyElementClose(e))}e.is("$text")&&t(this._stringifyTextRanges(e))}_stringifyElementRanges(e,t){let o="",s="",i="";for(const n of this.ranges)n.start.parent==e&&n.start.offset===t&&(n.isCollapsed?i+=wn+vn:o+=wn),n.end.parent!==e||n.end.offset!==t||n.isCollapsed||(s+=vn);return s+i+o}_stringifyTextRanges(e){const t=e.data.length,o=e.data.split("");let s,i;this.sameSelectionCharacters?(s=wn,i=vn):(s=yn,i=xn),o[t]="";const n=o.map((e=>({letter:e,start:"",end:"",collapsed:""})));for(const o of this.ranges){const r=o.start,a=o.end;r.parent==e&&r.offset>=0&&r.offset<=t&&(o.isCollapsed?n[a.offset].collapsed+=s+i:n[r.offset].start+=s),a.parent==e&&a.offset>=0&&a.offset<=t&&!o.isCollapsed&&(n[a.offset].end+=i)}return n.map((e=>e.end+e.collapsed+e.start+e.letter)).join("")}_stringifyElementOpen(e){const t=this._stringifyElementPriority(e),o=this._stringifyElementId(e);return`<${[[this._stringifyElementType(e),e.name].filter((e=>""!==e)).join(":"),t,o,this._stringifyElementAttributes(e)].filter((e=>""!==e)).join(" ")}>`}_stringifyElementClose(e){return`</${[this._stringifyElementType(e),e.name].filter((e=>""!==e)).join(":")}>`}_stringifyElementType(e){if(this.showType)for(const t in An)if(e instanceof An[t])return t;return""}_stringifyElementPriority(e){return this.showPriority&&e.is("attributeElement")?`view-priority="${e.priority}"`:""}_stringifyElementId(e){return this.showAttributeElementId&&e.is("attributeElement")&&e.id?`view-id="${e.id}"`:""}_stringifyElementAttributes(e){const t=[],o=[...e.getAttributeKeys()].sort();for(const s of o){let o;o="class"===s?[...e.getClassNames()].sort().join(" "):"style"===s?[...e.getStyleNames()].sort().map((t=>`${t}:${e.getStyle(t).replace(/"/g,""")}`)).join(";"):e.getAttribute(s),t.push(`${s}="${o}"`)}return t.join(" ")}}function Vn(e){if(e.is("element")||e.is("documentFragment")){const t=e.is("documentFragment")?new Ae(e.document):function(e,t){const o=function(e){const t=e.name.split(":"),o=function(e){const t=parseInt(e,10);if(!isNaN(t))return t;return null}(e.getAttribute("view-priority")),s=e.hasAttribute("view-id")?e.getAttribute("view-id"):null;if(e._removeAttribute("view-priority"),e._removeAttribute("view-id"),1==t.length)return{name:t[0],type:null!==o?"attribute":null,priority:o,id:s};const i=function(e){return e in An?e:null}(t[0]);if(i)return{name:t[1],type:i,priority:o,id:s};throw new Error(`Parse error - cannot parse element's name: ${e.name}.`)}(t),s=An[o.type],i=s?new s(e,o.name):new K(e,o.name);i.is("attributeElement")&&(null!==o.priority&&(i._priority=o.priority),null!==o.id&&(i._id=o.id));for(const e of t.getAttributeKeys())i._setAttribute(e,t.getAttribute(e));return i}(e.document,e);for(const o of[...e.getChildren()]){if(t.is("emptyElement"))throw new Error("Parse error - cannot parse inside EmptyElement.");if(t.is("uiElement"))throw new Error("Parse error - cannot parse inside UIElement.");if(t.is("rawElement"))throw new Error("Parse error - cannot parse inside RawElement.");t._appendChild(Vn(o))}return t}return e}function Rn(e,t={}){if(!(e instanceof Pi))throw new TypeError("Model needs to be an instance of module:engine/model/model~Model.");const o=t.rootName||"main",s=e.document.getRoot(o);return Rn._stringify(s,t.withoutSelection?null:e.document.selection,t.convertMarkers?e.markers:null)}function jn(e,t,o={}){if(!(e instanceof Pi))throw new TypeError("Model needs to be an instance of module:engine/model/model~Model.");let s,i=null;const n=e.document.getRoot(o.rootName||"main"),r=jn._parse(t,e.schema,{lastRangeBackward:o.lastRangeBackward,selectionAttributes:o.selectionAttributes,context:[n.name],inlineObjectElements:o.inlineObjectElements});function a(t){if(t.remove(t.createRangeIn(n)),t.insert(s,n),t.setSelection(null),t.removeSelectionAttribute(e.document.selection.getAttributeKeys()),i){const e=[];for(const t of i.getRanges()){const o=new It(n,t.start.path),s=new It(n,t.end.path);e.push(new zt(o,s))}t.setSelection(e,{backward:i.isBackward}),o.selectionAttributes&&t.setSelectionAttribute(i.getAttributes())}}"model"in r?(s=r.model,i=r.selection):s=r,void 0!==o.batchType?e.enqueueChange(o.batchType,a):e.change(a)}function In(e,t=null,o=null){const s=new Pi,i=new Ht;let n,r=null;if(e instanceof ti||e instanceof ci)n=s.createRangeIn(e);else if(e.parent)n=new zt(s.createPositionBefore(e),s.createPositionAfter(e));else{const t=new ci(e);n=s.createRangeIn(t)}t instanceof Yt||t instanceof no?r=t:(t instanceof zt||t instanceof It)&&(r=new Yt(t));const a=new W,c=new Tt(a),l=c.document,d=new Q(l,"div");d.rootName="main",l.roots.add(d);const h=new qt({mapper:i,schema:s.schema});i.bindElements(e.root,d),h.on("insert:$text",((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const s=o.writer,i=o.mapper.toViewPosition(t.range.start),n=s.createText(t.item.data);s.insert(i,n)})),h.on("insert",((e,t,o)=>{o.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||o.convertChildren(t.item)}),{priority:"lowest"}),h.on("attribute",((e,t,o)=>{if(t.item instanceof Yt||t.item instanceof no||t.item.is("$textProxy")){uo(((e,{writer:o})=>o.createAttributeElement("model-text-with-attributes",{[t.attributeKey]:Fn(e)})))(e,t,o)}})),h.on("insert",mo((e=>{const t=Ln(e.getAttributes(),Fn);return new G(l,e.name,t)}))),h.on("selection",((e,t,o)=>{const s=t.selection;if(s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=[];for(const e of s.getRanges())i.push(o.mapper.toViewRange(e));o.writer.setSelection(i,{backward:s.isBackward})})),h.on("selection",((e,t,o)=>{const s=t.selection;if(!s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=o.writer,n=s.getFirstPosition(),r=o.mapper.toViewPosition(n),a=i.breakAttributes(r);i.setSelection(a)})),h.on("addMarker",po(((e,{writer:t})=>{const o=e.markerName+":"+(e.isOpening?"start":"end");return t.createUIElement(o)})));const u=new Map;if(o)for(const e of Array.from(o).sort(((e,t)=>e.name<t.name?1:-1)))u.set(e.name,e.getRange());const m=c._writer;h.convert(n,u,m),r&&h.convertSelection(r,o||s.markers,m);let p=Pn(d,l.selection,{sameSelectionCharacters:!0});return p=p.substr(5,p.length-11),c.destroy(),p.replace(new RegExp("model-text-with-attributes","g"),"$text")}function Bn(e,t,o={}){const s=new Ht,i=Sn(e=e.replace(new RegExp("\\$text","g"),"model-text-with-attributes"),{sameSelectionCharacters:!0,lastRangeBackward:!!o.lastRangeBackward,inlineObjectElements:o.inlineObjectElements});let n,r=null,c=null;"view"in i&&"selection"in i?(n=i.view,r=i.selection):n=i;const l=new Pi,d=new ns({schema:t});d.on("documentFragment",function(e){return(t,o,s)=>{const i=s.convertChildren(o.viewItem,o.modelCursor);e.bindElements(o.modelCursor.parent,o.viewItem),o=Object.assign(o,i),t.stop()}}(s)),d.on("element:model-text-with-attributes",Dn()),d.on("element",function(e){return(t,o,s)=>{const i=o.viewItem.name;if(!s.schema.checkChild(o.modelCursor,i))throw new Error(`Element '${i}' was not allowed in given position.`);const n=Ln(o.viewItem.getAttributes(),Nn),r=s.writer.createElement(o.viewItem.name,n);s.writer.insert(r,o.modelCursor),e.bindElements(r,o.viewItem),s.convertChildren(o.viewItem,r),o.modelRange=zt._createOn(r),o.modelCursor=o.modelRange.end,t.stop()}}(s)),d.on("text",Dn());let h=l.change((e=>d.convert(n.root,e,o.context||"$root")));if(s.bindElements(h,n.root),1==h.childCount&&(h=h.getChild(0)),r){const e=[];for(const t of r.getRanges())e.push(s.toModelRange(t));c=new Yt(e,{backward:r.isBackward});for(const[e,t]of(0,a.av)(o.selectionAttributes||[]))c.setAttribute(e,t)}return c?{model:h,selection:c}:h}function Dn(){return(e,t,o)=>{if(!o.schema.checkChild(t.modelCursor,"$text"))throw new Error("Text was not allowed in given position.");let s;if(t.viewItem.is("element")){const e=Ln(t.viewItem.getAttributes(),Nn),i=t.viewItem.getChild(0);s=o.writer.createText(i.data,e)}else s=o.writer.createText(t.viewItem.data);o.writer.insert(s,t.modelCursor),t.modelRange=zt._createFromPositionAndShift(t.modelCursor,s.offsetSize),t.modelCursor=t.modelRange.end,e.stop()}}function Nn(e){try{return JSON.parse(e)}catch(t){return e}}function Fn(e){return(0,A.A)(e)?JSON.stringify(e):e}function*Ln(e,t){for(const[o,s]of e)yield[o,t(s)]}Rn._stringify=In,jn._parse=Bn},"./packages/ckeditor5-enter/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{x:()=>h,D:()=>f});var s=o("./packages/ckeditor5-core/src/index.ts");function*i(e,t){for(const o of t)o&&e.getAttributeProperties(o[0]).copyOnEnter&&(yield o)}class n extends s.uB{execute(){this.editor.model.change((e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})}))}enterBlock(e){const t=this.editor.model,o=t.document.selection,s=t.schema,n=o.isCollapsed,a=o.getFirstRange(),c=a.start.parent,l=a.end.parent;if(s.isLimit(c)||s.isLimit(l))return n||c!=l||t.deleteContent(o),!1;if(n){const t=i(e.model.schema,o.getAttributes());return r(e,a.start),e.setSelectionAttribute(t),!0}{const s=!(a.start.isAtStart&&a.end.isAtEnd),i=c==l;if(t.deleteContent(o,{leaveUnmerged:s}),s){if(i)return r(e,o.focus),!0;e.setSelection(l,0)}}return!1}}function r(e,t){e.split(t),e.setSelection(t.parent.nextSibling,0)}var a=o("./packages/ckeditor5-engine/src/index.ts"),c=o("./packages/ckeditor5-utils/src/index.ts");const l={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class d extends a.nu{constructor(e){super(e);const t=this.document;let o=!1;t.on("keydown",((e,t)=>{o=t.shiftKey})),t.on("beforeinput",((s,i)=>{if(!this.isEnabled)return;let n=i.inputType;c._K.isSafari&&o&&"insertParagraph"==n&&(n="insertLineBreak");const r=i.domEvent,d=l[n];if(!d)return;const h=new a.cJ(t,"enter",i.targetRanges[0]);t.fire(h,new a.FY(e,r,{isSoft:d.isSoft})),h.stop.called&&s.stop()}))}observe(){}stopObserving(){}}class h extends s.k_{static get pluginName(){return"Enter"}init(){const e=this.editor,t=e.editing.view,o=t.document,s=this.editor.t;t.addObserver(d),e.commands.add("enter",new n(e)),this.listenTo(o,"enter",((s,i)=>{o.isComposing||i.preventDefault(),i.isSoft||(e.execute("enter"),t.scrollToTheSelection())}),{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:s("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class u extends s.uB{execute(){const e=this.editor.model,t=e.document;e.change((o=>{!function(e,t,o){const s=o.isCollapsed,n=o.getFirstRange(),r=n.start.parent,a=n.end.parent,c=r==a;if(s){const s=i(e.schema,o.getAttributes());m(e,t,n.end),t.removeSelectionAttribute(o.getAttributeKeys()),t.setSelectionAttribute(s)}else{const s=!(n.start.isAtStart&&n.end.isAtEnd);e.deleteContent(o,{leaveUnmerged:s}),c?m(e,t,o.focus):s&&t.setSelection(a,0)}}(e,o,t.selection),this.fire("afterExecute",{writer:o})}))}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=function(e,t){if(t.rangeCount>1)return!1;const o=t.anchor;if(!o||!e.checkChild(o,"softBreak"))return!1;const s=t.getFirstRange(),i=s.start.parent,n=s.end.parent;if((p(i,e)||p(n,e))&&i!==n)return!1;return!0}(e.schema,t.selection)}}function m(e,t,o){const s=t.createElement("softBreak");e.insertContent(s,o),t.setSelection(s,"after")}function p(e,t){return!e.is("rootElement")&&(t.isLimit(e)||p(e.parent,t))}class f extends s.k_{static get pluginName(){return"ShiftEnter"}init(){const e=this.editor,t=e.model.schema,o=e.conversion,s=e.editing.view,i=s.document,n=this.editor.t;t.register("softBreak",{allowWhere:"$text",isInline:!0}),o.for("upcast").elementToElement({model:"softBreak",view:"br"}),o.for("downcast").elementToElement({model:"softBreak",view:(e,{writer:t})=>t.createEmptyElement("br")}),s.addObserver(d),e.commands.add("shiftEnter",new u(e)),this.listenTo(i,"enter",((t,o)=>{i.isComposing||o.preventDefault(),o.isSoft&&(e.execute("shiftEnter"),s.scrollToTheSelection())}),{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:n("Insert a soft break (a <code><br></code> element)"),keystroke:"Shift+Enter"}]})}}},"./packages/ckeditor5-typing/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{ep:()=>x,pd:()=>u,Ki:()=>r,De:()=>N,qV:()=>T,Vp:()=>E,IG:()=>A,Py:()=>$,lO:()=>W,ex:()=>C,Il:()=>q});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n{model;limit;_isLocked;_size;_batch=null;_changeCallback;_selectionChangeCallback;constructor(e,t=20){this.model=e,this._size=0,this.limit=t,this._isLocked=!1,this._changeCallback=(e,t)=>{t.isLocal&&t.isUndoable&&t!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._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)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(e){this._size+=e,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}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)}_reset(e=!1){this.isLocked&&!e||(this._batch=null,this._size=0)}}class r extends s.uB{_buffer;constructor(e,t){super(e),this._buffer=new n(e.model,t),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const t=this.editor.model,o=t.document,s=e.text||"",i=s.length;let n=o.selection;if(e.selection?n=e.selection:e.range&&(n=t.createSelection(e.range)),!t.canEditAt(n))return;const r=e.resultRange;t.enqueueChange(this._buffer.batch,(e=>{this._buffer.lock();const a=Array.from(o.selection.getAttributes());t.deleteContent(n),s&&t.insertContent(e.createText(s,a),n),r?e.setSelection(r):n.is("documentSelection")||e.setSelection(n),this._buffer.unlock(),this._buffer.input(i)}))}}var a=o("./packages/ckeditor5-engine/src/index.ts");const c=["insertText","insertReplacementText"],l=[...c,"insertCompositionText"];class d extends a.nu{focusObserver;constructor(e){super(e),this.focusObserver=e.getObserver(a.vp);const t=i._K.isAndroid?l:c,o=e.document;o.on("beforeinput",((s,n)=>{if(!this.isEnabled)return;const{data:r,targetRanges:c,inputType:l,domEvent:d}=n;if(!t.includes(l))return;this.focusObserver.flush();const h=new i.vY(o,"insertText");o.fire(h,new a.FY(e,d,{text:r,selection:e.createSelection(c)})),h.stop.called&&s.stop()})),i._K.isAndroid||o.on("compositionend",((t,{data:s,domEvent:i})=>{this.isEnabled&&s&&o.fire("insertText",new a.FY(e,i,{text:s}))}),{priority:"lowest"})}observe(){}stopObserving(){}}var h=o("./node_modules/lodash-es/debounce.js");class u extends s.k_{_compositionQueue;static get pluginName(){return"Input"}init(){const e=this.editor,t=e.model,o=e.editing.view,s=e.editing.mapper,n=t.document.selection;this._compositionQueue=new m(e),o.addObserver(d);const a=new r(e,e.config.get("typing.undoStep")||20);e.commands.add("insertText",a),e.commands.add("input",a),this.listenTo(o.document,"insertText",((r,a)=>{o.document.isComposing||a.preventDefault(),i._K.isAndroid&&o.document.isComposing&&this._compositionQueue.flush("next beforeinput");const{text:c,selection:l}=a;let d;d=l?Array.from(l.getRanges()).map((e=>s.toModelRange(e))):Array.from(n.getRanges());let h=c;if(i._K.isAndroid){const e=Array.from(d[0].getItems()).reduce(((e,t)=>e+(t.is("$textProxy")?t.data:"")),"");if(e&&(e.length<=h.length?h.startsWith(e)&&(h=h.substring(e.length),d[0].start=d[0].start.getShiftedBy(e.length)):e.startsWith(h)&&(d[0].start=d[0].start.getShiftedBy(h.length),h="")),0==h.length&&d[0].isCollapsed)return}const u={text:h,selection:t.createSelection(d)};i._K.isAndroid&&o.document.isComposing?this._compositionQueue.push(u):(e.execute("insertText",u),o.scrollToTheSelection())})),i._K.isAndroid?this.listenTo(o.document,"keydown",((e,s)=>{!n.isCollapsed&&229==s.keyCode&&o.document.isComposing&&p(t,a)})):this.listenTo(o.document,"compositionstart",(()=>{n.isCollapsed||p(t,a)})),i._K.isAndroid?(this.listenTo(o.document,"mutations",((e,{mutations:t})=>{if(o.document.isComposing)for(const{node:e}of t){const t=f(e,s),o=s.toModelElement(t);if(this._compositionQueue.isComposedElement(o))return void this._compositionQueue.flush("mutations")}})),this.listenTo(o.document,"compositionend",(()=>{this._compositionQueue.flush("composition end")})),this.listenTo(o.document,"compositionend",(()=>{const e=[];for(const t of this._compositionQueue.flushComposedElements()){const o=s.toViewElement(t);o&&e.push({type:"children",node:o})}e.length&&o.document.fire("mutations",{mutations:e})}),{priority:"lowest"})):this.listenTo(o.document,"compositionend",(()=>{o.document.fire("mutations",{mutations:[]})}),{priority:"lowest"})}destroy(){super.destroy(),this._compositionQueue.destroy()}}class m{editor;flushDebounced=(0,h.A)((()=>this.flush("timeout")),50);_queue=[];_compositionElements=new Set;constructor(e){this.editor=e}destroy(){for(this.flushDebounced.cancel(),this._compositionElements.clear();this._queue.length;)this.shift()}get length(){return this._queue.length}push(e){const t={text:e.text};if(e.selection){t.selectionRanges=[];for(const o of e.selection.getRanges())t.selectionRanges.push(a.Oo.fromRange(o)),this._compositionElements.add(o.start.parent)}this._queue.push(t),this.flushDebounced()}shift(){const e=this._queue.shift(),t={text:e.text};if(e.selectionRanges){const o=e.selectionRanges.map((e=>function(e){const t=e.toRange();if(e.detach(),"$graveyard"==t.root.rootName)return null;return t}(e))).filter((e=>!!e));o.length&&(t.selection=this.editor.model.createSelection(o))}return t}flush(e){const t=this.editor,o=t.model,s=t.editing.view;if(this.flushDebounced.cancel(),!this._queue.length)return;const i=t.commands.get("insertText").buffer;o.enqueueChange(i.batch,(()=>{for(i.lock();this._queue.length;){const e=this.shift();t.execute("insertText",e)}i.unlock()})),s.scrollToTheSelection()}isComposedElement(e){return this._compositionElements.has(e)}flushComposedElements(){const e=Array.from(this._compositionElements);return this._compositionElements.clear(),e}}function p(e,t){if(!t.isEnabled)return;const o=t.buffer;o.lock(),e.enqueueChange(o.batch,(()=>{e.deleteContent(e.document.selection)})),o.unlock()}function f(e,t){let o=e.is("$text")?e.parent:e;for(;!t.toModelElement(o);)o=o.parent;return o}class g extends s.uB{direction;_buffer;constructor(e,t){super(e),this.direction=t,this._buffer=new n(e.model,e.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(e={}){const t=this.editor.model,o=t.document;t.enqueueChange(this._buffer.batch,(s=>{this._buffer.lock();const n=s.createSelection(e.selection||o.selection);if(!t.canEditAt(n))return;const r=e.sequence||1,a=n.isCollapsed;if(n.isCollapsed&&t.modifySelection(n,{direction:this.direction,unit:e.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r))return void this._replaceEntireContentWithParagraph(s);if(this._shouldReplaceFirstBlockWithParagraph(n,r))return void this.editor.execute("paragraph",{selection:n});if(n.isCollapsed)return;let c=0;n.getFirstRange().getMinimalFlatRanges().forEach((e=>{c+=(0,i.U9)(e.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),t.deleteContent(n,{doNotResetEntireContent:a,direction:this.direction}),this._buffer.input(c),s.setSelection(n),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const t=this.editor.model,o=t.document.selection,s=t.schema.getLimitElement(o);if(!(o.isCollapsed&&o.containsEntireContent(s)))return!1;if(!t.schema.checkChild(s,"paragraph"))return!1;const i=s.getChild(0);return!i||!i.is("element","paragraph")}_replaceEntireContentWithParagraph(e){const t=this.editor.model,o=t.document.selection,s=t.schema.getLimitElement(o),i=e.createElement("paragraph");e.remove(e.createRangeIn(s)),e.insert(i,s),e.setSelection(i,0)}_shouldReplaceFirstBlockWithParagraph(e,t){const o=this.editor.model;if(t>1||"backward"!=this.direction)return!1;if(!e.isCollapsed)return!1;const s=e.getFirstPosition(),i=o.schema.getLimitElement(s),n=i.getChild(0);return s.parent==n&&(!!e.containsEntireContent(n)&&(!!o.schema.checkChild(i,"paragraph")&&"paragraph"!=n.name))}}const _="word",b="selection",k="backward",w="forward",v={deleteContent:{unit:b,direction:k},deleteContentBackward:{unit:"codePoint",direction:k},deleteWordBackward:{unit:_,direction:k},deleteHardLineBackward:{unit:b,direction:k},deleteSoftLineBackward:{unit:b,direction:k},deleteContentForward:{unit:"character",direction:w},deleteWordForward:{unit:_,direction:w},deleteHardLineForward:{unit:b,direction:w},deleteSoftLineForward:{unit:b,direction:w}};class y extends a.nu{constructor(e){super(e);const t=e.document;let o=0;t.on("keydown",(()=>{o++})),t.on("keyup",(()=>{o=0})),t.on("beforeinput",((s,n)=>{if(!this.isEnabled)return;const{targetRanges:r,domEvent:c,inputType:l}=n,d=v[l];if(!d)return;const h={direction:d.direction,unit:d.unit,sequence:o};h.unit==b&&(h.selectionToRemove=e.createSelection(r[0])),"deleteContentBackward"===l&&(i._K.isAndroid&&(h.sequence=1),function(e){if(1!=e.length||e[0].isCollapsed)return!1;const t=e[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let o=0;for(const{nextPosition:e,item:s}of t){if(e.parent.is("$text")){const t=e.parent.data,s=e.offset;if((0,i.P5)(t,s)||(0,i.Iw)(t,s)||(0,i.SQ)(t,s))continue;o++}else(s.is("containerElement")||s.is("emptyElement"))&&o++;if(o>1)return!0}return!1}(r)&&(h.unit=b,h.selectionToRemove=e.createSelection(r)));const u=new a.cJ(t,"delete",r[0]);t.fire(u,new a.FY(e,c,h)),u.stop.called&&s.stop()})),i._K.isBlink&&function(e){const t=e.view,o=t.document;let s=null,n=!1;function r(e){return e==i.uP.backspace||e==i.uP.delete}function c(e){return e==i.uP.backspace?k:w}o.on("keydown",((e,{keyCode:t})=>{s=t,n=!1})),o.on("keyup",((i,{keyCode:l,domEvent:d})=>{const h=o.selection,u=e.isEnabled&&l==s&&r(l)&&!h.isCollapsed&&!n;if(s=null,u){const e=h.getFirstRange(),s=new a.cJ(o,"delete",e),i={unit:b,direction:c(l),selectionToRemove:h};o.fire(s,new a.FY(t,d,i))}})),o.on("beforeinput",((e,{inputType:t})=>{const o=v[t];r(s)&&o&&o.direction==c(s)&&(n=!0)}),{priority:"high"}),o.on("beforeinput",((e,{inputType:t,data:o})=>{s==i.uP.delete&&"insertText"==t&&""==o&&e.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class x extends s.k_{_undoOnBackspace;static get pluginName(){return"Delete"}init(){const e=this.editor,t=e.editing.view,o=t.document,s=e.model.document;t.addObserver(y),this._undoOnBackspace=!1;const i=new g(e,"forward");e.commands.add("deleteForward",i),e.commands.add("forwardDelete",i),e.commands.add("delete",new g(e,"backward")),this.listenTo(o,"delete",((s,i)=>{o.isComposing||i.preventDefault();const{direction:n,sequence:r,selectionToRemove:a,unit:c}=i,l="forward"===n?"deleteForward":"delete",d={sequence:r};if("selection"==c){const t=Array.from(a.getRanges()).map((t=>e.editing.mapper.toModelRange(t)));d.selection=e.model.createSelection(t)}else d.unit=c;e.execute(l,d),t.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(o,"delete",((t,o)=>{this._undoOnBackspace&&"backward"==o.direction&&1==o.sequence&&"codePoint"==o.unit&&(this._undoOnBackspace=!1,e.execute("undo"),o.preventDefault(),t.stop())}),{context:"$capture"}),this.listenTo(s,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class A extends s.k_{static get requires(){return[u,x]}static get pluginName(){return"Typing"}}function C(e,t){let o=e.start;return{text:Array.from(e.getWalker({ignoreElementEnd:!1})).reduce(((e,{item:s})=>s.is("$text")||s.is("$textProxy")?e+s.data:(o=t.createPositionAfter(s),"")),""),range:t.createRange(o,e.end)}}class T extends((0,i.VM)()){model;testCallback;_hasMatch;constructor(e,t){super(),this.model=e,this.testCallback=t,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",(()=>{this.isEnabled?this._startListening():(this.stopListening(e.document.selection),this.stopListening(e.document))})),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const e=this.model.document;this.listenTo(e.selection,"change:range",((t,{directChange:o})=>{o&&(e.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))})),this.listenTo(e,"change:data",((e,t)=>{!t.isUndo&&t.isLocal&&this._evaluateTextBeforeSelection("data",{batch:t})}))}_evaluateTextBeforeSelection(e,t={}){const o=this.model,s=o.document.selection,i=o.createRange(o.createPositionAt(s.focus.parent,0),s.focus),{text:n,range:r}=C(i,o),a=this.testCallback(n);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const o=Object.assign(t,{text:n,range:r});"object"==typeof a&&Object.assign(o,a),this.fire(`matched:${e}`,o)}}}class E extends s.k_{attributes;_overrideUid;_isNextGravityRestorationSkipped=!1;static get pluginName(){return"TwoStepCaretMovement"}constructor(e){super(e),this.attributes=new Set,this._overrideUid=null}init(){const e=this.editor,t=e.model,o=e.editing.view,s=e.locale,n=t.document.selection;this.listenTo(o.document,"arrowKey",((e,t)=>{if(!n.isCollapsed)return;if(t.shiftKey||t.altKey||t.ctrlKey)return;const o=t.keyCode==i.uP.arrowright,r=t.keyCode==i.uP.arrowleft;if(!o&&!r)return;const a=s.contentLanguageDirection;let c=!1;c="ltr"===a&&o||"rtl"===a&&r?this._handleForwardMovement(t):this._handleBackwardMovement(t),!0===c&&e.stop()}),{context:"$text",priority:"highest"}),this.listenTo(n,"change:range",((e,t)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!t.directChange&&R(n.getFirstPosition(),this.attributes)||this._restoreGravity())})),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(e){this.attributes.add(e)}_handleForwardMovement(e){const t=this.attributes,o=this.editor.model,s=o.document.selection,i=s.getFirstPosition();return!this._isGravityOverridden&&((!i.isAtStart||!P(s,t))&&(!!R(i,t)&&(O(e),P(s,t)&&R(i,t,!0)?M(o,t):this._overrideGravity(),!0)))}_handleBackwardMovement(e){const t=this.attributes,o=this.editor.model,s=o.document.selection,i=s.getFirstPosition();return this._isGravityOverridden?(O(e),this._restoreGravity(),R(i,t,!0)?M(o,t):S(o,t,i),!0):i.isAtStart?!!P(s,t)&&(O(e),S(o,t,i),!0):!P(s,t)&&R(i,t,!0)?(O(e),S(o,t,i),!0):!!V(i,t)&&(i.isAtEnd&&!P(s,t)&&R(i,t)?(O(e),S(o,t,i),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const e=this.editor,t=e.model,o=t.document.selection,s=e.editing.view.document;e.editing.view.addObserver(a.q$);let i=!1;this.listenTo(s,"mousedown",(()=>{i=!0})),this.listenTo(s,"selectionChange",(()=>{const e=this.attributes;if(!i)return;if(i=!1,!o.isCollapsed)return;if(!P(o,e))return;const s=o.getFirstPosition();R(s,e)&&(s.isAtStart||R(s,e,!0)?M(t,e):this._isGravityOverridden||this._overrideGravity())}))}_enableInsertContentSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection,o=this.attributes;this.listenTo(e,"insertContent",(()=>{const s=t.getFirstPosition();P(t,o)&&R(s,o)&&M(e,o)}),{priority:"low"})}_handleDeleteContentAfterNode(){const e=this.editor,t=e.model,o=t.document.selection,s=e.editing.view;let i=!1,n=!1;this.listenTo(s.document,"delete",((e,t)=>{i="backward"===t.direction}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{if(!i)return;const e=o.getFirstPosition();n=P(o,this.attributes)&&!V(e,this.attributes)}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{i&&(i=!1,n||e.model.enqueueChange((()=>{const e=o.getFirstPosition();P(o,this.attributes)&&R(e,this.attributes)&&(e.isAtStart||R(e,this.attributes,!0)?M(t,this.attributes):this._isGravityOverridden||this._overrideGravity())})))}),{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change((e=>e.overrideSelectionGravity()))}_restoreGravity(){this.editor.model.change((e=>{e.restoreSelectionGravity(this._overrideUid),this._overrideUid=null}))}}function P(e,t){for(const o of t)if(e.hasAttribute(o))return!0;return!1}function S(e,t,o){const s=o.nodeBefore;e.change((o=>{if(s){const t=[],i=e.schema.isObject(s)&&e.schema.isInline(s);for(const[o,n]of s.getAttributes())!e.schema.checkAttribute("$text",o)||i&&!1===e.schema.getAttributeProperties(o).copyFromObject||t.push([o,n]);o.setSelectionAttribute(t)}else o.removeSelectionAttribute(t)}))}function M(e,t){e.change((e=>{e.removeSelectionAttribute(t)}))}function O(e){e.preventDefault()}function V(e,t){return R(e.getShiftedBy(-1),t)}function R(e,t,o=!1){const{nodeBefore:s,nodeAfter:i}=e;for(const e of t){const t=s?s.getAttribute(e):void 0,n=i?i.getAttribute(e):void 0;if((!o||void 0!==t&&void 0!==n)&&n!==t)return!0}return!1}var j=o("./node_modules/lodash-es/escapeRegExp.js");const I={copyright:{from:"(c)",to:"©"},registeredTrademark:{from:"(r)",to:"®"},trademark:{from:"(tm)",to:"â„¢"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"½",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"â…“",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"â…”",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"¼",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"¾",null]},lessThanOrEqual:{from:"<=",to:"≤"},greaterThanOrEqual:{from:">=",to:"≥"},notEqual:{from:"!=",to:"≠"},arrowLeft:{from:"<-",to:"â†"},arrowRight:{from:"->",to:"→"},horizontalEllipsis:{from:"...",to:"…"},enDash:{from:/(^| )(--)( )$/,to:[null,"–",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"—",null]},quotesPrimary:{from:H('"'),to:[null,"“",null,"â€"]},quotesSecondary:{from:H("'"),to:[null,"‘",null,"’"]},quotesPrimaryEnGb:{from:H("'"),to:[null,"‘",null,"’"]},quotesSecondaryEnGb:{from:H('"'),to:[null,"“",null,"â€"]},quotesPrimaryPl:{from:H('"'),to:[null,"„",null,"â€"]},quotesSecondaryPl:{from:H("'"),to:[null,"‚",null,"’"]}},B={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},D=["symbols","mathematical","typography","quotes"];class N extends s.k_{static get requires(){return["Delete","Input"]}static get pluginName(){return"TextTransformation"}constructor(e){super(e),e.config.define("typing",{transformations:{include:D}})}init(){const e=this.editor.model.document.selection;e.on("change:range",(()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")})),this._enableTransformationWatchers()}_enableTransformationWatchers(){const e=this.editor,t=e.model,o=e.plugins.get("Delete"),s=function(e){const t=e.extra||[],o=e.remove||[],s=e=>!o.includes(e);return function(e){const t=new Set;for(const o of e)if("string"==typeof o&&B[o])for(const e of B[o])t.add(e);else t.add(o);return Array.from(t)}(e.include.concat(t).filter(s)).filter(s).map((e=>"string"==typeof e&&I[e]?I[e]:e)).filter((e=>"object"==typeof e)).map((e=>({from:F(e.from),to:L(e.to)})))}(e.config.get("typing.transformations")),i=new T(e.model,(e=>{for(const t of s){if(t.from.test(e))return{normalizedTransformation:t}}}));i.on("matched:data",((e,s)=>{if(!s.batch.isTyping)return;const{from:i,to:n}=s.normalizedTransformation,r=i.exec(s.text),a=n(r.slice(1)),c=s.range;let l=r.index;t.enqueueChange((e=>{for(let o=1;o<r.length;o++){const s=r[o],i=a[o-1];if(null==i){l+=s.length;continue}const n=c.start.getShiftedBy(l),d=t.createRange(n,n.getShiftedBy(s.length)),h=z(n);t.insertContent(e.createText(i,h),d),l+=i.length}t.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))})),i.bind("isEnabled").to(this)}}function F(e){return"string"==typeof e?new RegExp(`(${(0,j.A)(e)})$`):e}function L(e){return"string"==typeof e?()=>[e]:e instanceof Array?()=>e:e}function z(e){return(e.textNode?e.textNode:e.nodeAfter).getAttributes()}function H(e){return new RegExp(`(^|\\s)(${e})([^${e}]*)(${e})$`)}function $(e,t,o,s){return s.createRange(W(e,t,o,!0,s),W(e,t,o,!1,s))}function W(e,t,o,s,i){let n=e.textNode||(s?e.nodeBefore:e.nodeAfter),r=null;for(;n&&n.getAttribute(t)==o;)r=n,n=s?n.previousSibling:n.nextSibling;return r?i.createPositionAt(r,s?"before":"after"):e}function q(e,t,o,s){const i=e.editing.view,n=new Set;i.document.registerPostFixer((i=>{const r=e.model.document.selection;let a=!1;if(r.hasAttribute(t)){const c=$(r.getFirstPosition(),t,r.getAttribute(t),e.model),l=e.editing.mapper.toViewRange(c);for(const e of l.getItems())e.is("element",o)&&!e.hasClass(s)&&(i.addClass(s,e),n.add(e),a=!0)}return a})),e.conversion.for("editingDowncast").add((e=>{function t(){i.change((e=>{for(const t of n.values())e.removeClass(s,t),n.delete(t)}))}e.on("insert",t,{priority:"highest"}),e.on("remove",t,{priority:"highest"}),e.on("attribute",t,{priority:"highest"}),e.on("selection",t,{priority:"highest"})}))}},"./packages/ckeditor5-ui/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{KO:()=>Te,uI:()=>Ii,Jr:()=>zt,bQ:()=>Ji,Lz:()=>sn,v1:()=>Ee,Xt:()=>ri,e0:()=>H,yX:()=>Wi,_:()=>q,Kn:()=>Ne,pQ:()=>qe,ph:()=>is,oB:()=>fs,vF:()=>He,eH:()=>gs,pU:()=>ki,wi:()=>I,ep:()=>Hs,lG:()=>de,_m:()=>le,nu:()=>ae,lU:()=>gt,nN:()=>kt,pg:()=>Rt,MO:()=>St,Eg:()=>Yt,XH:()=>Mt,A4:()=>Gt,Vz:()=>ut,BO:()=>ft,Gn:()=>ti,nc:()=>ni,eF:()=>Oe,L7:()=>Ve,H:()=>Z,Dy:()=>G,MZ:()=>$i,Ln:()=>z,WU:()=>li,LU:()=>ci,Zz:()=>at,hK:()=>rt,E6:()=>nt,y0:()=>we,kq:()=>qi,xE:()=>tt,$Y:()=>me,m_:()=>Ct,BD:()=>xt,Je:()=>At,uO:()=>Pt,kS:()=>_e,GG:()=>gn,I8:()=>Ds,BY:()=>pn,zj:()=>mn,yJ:()=>wn,lV:()=>hi,wD:()=>Ei,b8:()=>Vi,XE:()=>Yi,AO:()=>co,xw:()=>Ci,Wm:()=>Me,Bj:()=>a,OB:()=>dt,Cy:()=>Jt,IY:()=>Zt,X3:()=>oo,JV:()=>vs,Ss:()=>V,s3:()=>i,Jc:()=>mi,l1:()=>D,O:()=>ko,H2:()=>fo,fM:()=>_o,wy:()=>R,yu:()=>po,By:()=>To,F_:()=>Ao,Vr:()=>xo,GR:()=>Co,UR:()=>di,Zn:()=>vo,b2:()=>Fe,I0:()=>j,tp:()=>X,eG:()=>Q,lF:()=>Le,mB:()=>$s,iv:()=>ze,fl:()=>Xt,Z5:()=>B});var s=o("./packages/ckeditor5-utils/src/index.ts");class i extends s.pM{_parentElement;constructor(e=[]){super(e,{idProperty:"viewUid"}),this.on("add",((e,t,o)=>{this._renderViewIntoCollectionParent(t,o)})),this.on("remove",((e,t)=>{t.element&&this._parentElement&&t.element.remove()})),this._parentElement=null}destroy(){this.map((e=>e.destroy()))}setParent(e){this._parentElement=e;for(const e of this)this._renderViewIntoCollectionParent(e)}delegate(...e){if(!e.length||!e.every((e=>"string"==typeof e)))throw new s.Yb("ui-viewcollection-delegate-wrong-events",this);return{to:t=>{for(const o of this)for(const s of e)o.delegate(s).to(t);this.on("add",((o,s)=>{for(const o of e)s.delegate(o).to(t)})),this.on("remove",((o,s)=>{for(const o of e)s.stopDelegating(o,t)}))}}}_renderViewIntoCollectionParent(e,t){e.isRendered||e.render(),e.element&&this._parentElement&&this._parentElement.insertBefore(e.element,this._parentElement.children[t])}remove(e){return super.remove(e)}}var n=o("./node_modules/lodash-es/cloneDeepWith.js"),r=o("./node_modules/lodash-es/isObject.js");class a extends((0,s.Mm)()){ns;tag;text;attributes;children;eventListeners;_isRendered;_revertData;constructor(e){super(),Object.assign(this,_(g(e))),this._isRendered=!1,this._revertData=null}render(){const e=this._renderNode({intoFragment:!0});return this._isRendered=!0,e}apply(e){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:e,intoFragment:!1,isApplying:!0,revertData:this._revertData}),e}revert(e){if(!this._revertData)throw new s.Yb("ui-template-revert-not-applied",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){yield*function*e(t){if(t.children)for(const o of t.children)x(o)?yield o:A(o)&&(yield*e(o))}(this)}static bind(e,t){return{to:(o,s)=>new l({eventNameOrFunction:o,attribute:o,observable:e,emitter:t,callback:s}),if:(o,s,i)=>new d({observable:e,emitter:t,attribute:o,valueIfTrue:s,callback:i})}}static extend(e,t){if(e._isRendered)throw new s.Yb("template-extend-render",[this,e]);v(e,_(g(t)))}_renderNode(e){let t;if(t=e.node?this.tag&&this.text:this.tag?this.text:!this.text,t)throw new s.Yb("ui-template-wrong-syntax",this);return this.text?this._renderText(e):this._renderElement(e)}_renderElement(e){let t=e.node;return t||(t=e.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(e),this._renderElementChildren(e),this._setUpListeners(e),t}_renderText(e){let t=e.node;return t?e.revertData.text=t.textContent:t=e.node=document.createTextNode(""),h(this.text)?this._bindToObservable({schema:this.text,updater:m(t),data:e}):t.textContent=this.text.join(""),t}_renderAttributes(e){if(!this.attributes)return;const t=e.node,o=e.revertData;for(const s in this.attributes){const i=t.getAttribute(s),n=this.attributes[s];o&&(o.attributes[s]=i);const r=T(n)?n[0].ns:null;if(h(n)){const a=T(n)?n[0].value:n;o&&E(s)&&a.unshift(i),this._bindToObservable({schema:a,updater:p(t,s,r),data:e})}else if("style"==s&&"string"!=typeof n[0])this._renderStyleAttribute(n[0],e);else{o&&i&&E(s)&&n.unshift(i);const e=n.map((e=>e&&e.value||e)).reduce(((e,t)=>e.concat(t)),[]).reduce(k,"");y(e)||t.setAttributeNS(r,s,e)}}}_renderStyleAttribute(e,t){const o=t.node;for(const s in e){const i=e[s];h(i)?this._bindToObservable({schema:[i],updater:f(o,s),data:t}):o.style[s]=i}}_renderElementChildren(e){const t=e.node,o=e.intoFragment?document.createDocumentFragment():t,i=e.isApplying;let n=0;for(const r of this.children)if(C(r)){if(!i){r.setParent(t);for(const e of r)o.appendChild(e.element)}}else if(x(r))i||(r.isRendered||r.render(),o.appendChild(r.element));else if((0,s.Ll)(r))o.appendChild(r);else if(i){const t={children:[],bindings:[],attributes:{}};e.revertData.children.push(t),r._renderNode({intoFragment:!1,node:o.childNodes[n++],isApplying:!0,revertData:t})}else o.appendChild(r.render());e.intoFragment&&t.appendChild(o)}_setUpListeners(e){if(this.eventListeners)for(const t in this.eventListeners){const o=this.eventListeners[t].map((o=>{const[s,i]=t.split("@");return o.activateDomEventListener(s,i,e)}));e.revertData&&e.revertData.bindings.push(o)}}_bindToObservable({schema:e,updater:t,data:o}){const s=o.revertData;u(e,t,o);const i=e.filter((e=>!y(e))).filter((e=>e.observable)).map((s=>s.activateAttributeListener(e,t,o)));s&&s.bindings.push(i)}_revertTemplateFromNode(e,t){for(const e of t.bindings)for(const t of e)t();if(t.text)return void(e.textContent=t.text);const o=e;for(const e in t.attributes){const s=t.attributes[e];null===s?o.removeAttribute(e):o.setAttribute(e,s)}for(let e=0;e<t.children.length;++e)this._revertTemplateFromNode(o.childNodes[e],t.children[e])}}class c{attribute;observable;emitter;callback;constructor(e){this.attribute=e.attribute,this.observable=e.observable,this.emitter=e.emitter,this.callback=e.callback}getValue(e){const t=this.observable[this.attribute];return this.callback?this.callback(t,e):t}activateAttributeListener(e,t,o){const s=()=>u(e,t,o);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,s),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,s)}}}class l extends c{eventNameOrFunction;constructor(e){super(e),this.eventNameOrFunction=e.eventNameOrFunction}activateDomEventListener(e,t,o){const s=(e,o)=>{t&&!o.target.matches(t)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(o):this.observable.fire(this.eventNameOrFunction,o))};return this.emitter.listenTo(o.node,e,s),()=>{this.emitter.stopListening(o.node,e,s)}}}class d extends c{valueIfTrue;constructor(e){super(e),this.valueIfTrue=e.valueIfTrue}getValue(e){return!y(super.getValue(e))&&(this.valueIfTrue||!0)}}function h(e){return!!e&&(e.value&&(e=e.value),Array.isArray(e)?e.some(h):e instanceof c)}function u(e,t,{node:o}){const s=function(e,t){return e.map((e=>e instanceof c?e.getValue(t):e))}(e,o);let i;i=1==e.length&&e[0]instanceof d?s[0]:s.reduce(k,""),y(i)?t.remove():t.set(i)}function m(e){return{set(t){e.textContent=t},remove(){e.textContent=""}}}function p(e,t,o){return{set(s){e.setAttributeNS(o,t,s)},remove(){e.removeAttributeNS(o,t)}}}function f(e,t){return{set(o){e.style[t]=o},remove(){e.style[t]=null}}}function g(e){return(0,n.A)(e,(e=>{if(e&&(e instanceof c||A(e)||x(e)||C(e)))return e}))}function _(e){if("string"==typeof e?e=function(e){return{text:[e]}}(e):e.text&&function(e){e.text=(0,s.$r)(e.text)}(e),e.on&&(e.eventListeners=function(e){for(const t in e)b(e,t);return e}(e.on),delete e.on),!e.text){e.attributes&&function(e){for(const t in e)e[t].value&&(e[t].value=(0,s.$r)(e[t].value)),b(e,t)}(e.attributes);const t=[];if(e.children)if(C(e.children))t.push(e.children);else for(const o of e.children)A(o)||x(o)||(0,s.Ll)(o)?t.push(o):t.push(new a(o));e.children=t}return e}function b(e,t){e[t]=(0,s.$r)(e[t])}function k(e,t){return y(t)?e:y(e)?t:`${e} ${t}`}function w(e,t){for(const o in t)e[o]?e[o].push(...t[o]):e[o]=t[o]}function v(e,t){if(t.attributes&&(e.attributes||(e.attributes={}),w(e.attributes,t.attributes)),t.eventListeners&&(e.eventListeners||(e.eventListeners={}),w(e.eventListeners,t.eventListeners)),t.text&&e.text.push(...t.text),t.children&&t.children.length){if(e.children.length!=t.children.length)throw new s.Yb("ui-template-extend-children-mismatch",e);let o=0;for(const s of t.children)v(e.children[o++],s)}}function y(e){return!e&&0!==e}function x(e){return e instanceof V}function A(e){return e instanceof a}function C(e){return e instanceof i}function T(e){return(0,r.A)(e[0])&&e[0].ns}function E(e){return"class"==e||"style"==e}var P=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),S=o.n(P),M=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/globals/globals.css"),O={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(M.A,O);M.A.locals;class V extends((0,s.c5)((0,s.VM)())){element;isRendered;locale;t;template;_viewCollections;_unboundChildren;_bindTemplate;constructor(e){super(),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new s.pM,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((t,o)=>{o.locale=e,o.t=e&&e.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=a.bind(this,this)}createCollection(e){const t=new i(e);return this._viewCollections.add(t),t}registerChild(e){(0,s.xZ)(e)||(e=[e]);for(const t of e)this._unboundChildren.add(t)}deregisterChild(e){(0,s.xZ)(e)||(e=[e]);for(const t of e)this._unboundChildren.remove(t)}setTemplate(e){this.template=new a(e)}extendTemplate(e){a.extend(this.template,e)}render(){if(this.isRendered)throw new s.Yb("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map((e=>e.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}function R({emitter:e,activator:t,callback:o,contextElements:s,listenerOptions:i}){e.listenTo(document,"mousedown",((e,i)=>{if(!t())return;const n="function"==typeof i.composedPath?i.composedPath():[],r="function"==typeof s?s():s;for(const e of r)if(e.contains(i.target)||n.includes(e))return;o()}),i)}function j(e){const t=e;t.set("_isCssTransitionsDisabled",!1),t.disableCssTransitions=()=>{t._isCssTransitionsDisabled=!0},t.enableCssTransitions=()=>{t._isCssTransitionsDisabled=!1},t.extendTemplate({attributes:{class:[t.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}function I(e){return class extends e{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...e){super(...e),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function B({view:e}){e.listenTo(e.element,"submit",((t,o)=>{o.preventDefault(),e.fire("submit")}),{useCapture:!0})}function D({keystrokeHandler:e,focusTracker:t,gridItems:o,numberOfColumns:s,uiLanguageDirection:i}){const n="number"==typeof s?()=>s:s;function r(e){return s=>{const i=o.find((e=>e.element===t.focusedElement)),n=o.getIndex(i),r=e(n,o);o.get(r).focus(),s.stopPropagation(),s.preventDefault()}}function a(e,t){return e===t-1?0:e+1}function c(e,t){return 0===e?t-1:e-1}e.set("arrowright",r(((e,t)=>"rtl"===i?c(e,t.length):a(e,t.length)))),e.set("arrowleft",r(((e,t)=>"rtl"===i?a(e,t.length):c(e,t.length)))),e.set("arrowup",r(((e,t)=>{let o=e-n();return o<0&&(o=e+n()*Math.floor(t.length/n()),o>t.length-1&&(o-=n())),o}))),e.set("arrowdown",r(((e,t)=>{let o=e+n();return o>t.length-1&&(o=e%n()),o})))}var N=o("./packages/ckeditor5-core/src/index.ts"),F=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/icon/icon.css"),L={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(F.A,L);F.A.locals;class z extends V{static presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",e.if("isVisible","ck-hidden",(e=>!e)),"ck-reset_all-excluded",e.if("isColorInherited","ck-icon_inherit-color")],viewBox:e.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",(()=>{this._updateXMLContent(),this._colorFillPaths()})),this.on("change:fillColor",(()=>{this._colorFillPaths()}))}_updateXMLContent(){if(this.content){const e=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),t=e.getAttribute("viewBox");t&&(this.viewBox=t);for(const{name:t,value:o}of Array.from(e.attributes))z.presentationalAttributeNames.includes(t)&&this.element.setAttribute(t,o);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;e.childNodes.length>0;)this.element.appendChild(e.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach((e=>{e.style.fill=this.fillColor}))}}class H extends V{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:e.to("style"),id:e.to("id")},children:[{text:e.to("text")}]})}}var $=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/button.css"),W={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()($.A,W);$.A.locals;class q extends V{children;labelView;iconView;keystrokeView;_focusDelayed=null;constructor(e,t=new H){super(e);const o=this.bindTemplate,i=(0,s.Ld)();this.set("_ariaPressed",!1),this.set("_ariaChecked",!1),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${i}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(t),this.iconView=new z,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const n={tag:"button",attributes:{class:["ck","ck-button",o.to("class"),o.if("isEnabled","ck-disabled",(e=>!e)),o.if("isVisible","ck-hidden",(e=>!e)),o.to("isOn",(e=>e?"ck-on":"ck-off")),o.if("withText","ck-button_with-text"),o.if("withKeystroke","ck-button_with-keystroke")],role:o.to("role"),type:o.to("type",(e=>e||"button")),tabindex:o.to("tabindex"),"aria-checked":o.to("_ariaChecked"),"aria-pressed":o.to("_ariaPressed"),"aria-label":o.to("ariaLabel"),"aria-labelledby":o.to("ariaLabelledBy"),"aria-disabled":o.if("isEnabled",!0,(e=>!e)),"data-cke-tooltip-text":o.to("_tooltipString"),"data-cke-tooltip-position":o.to("tooltipPosition")},children:this.children,on:{click:o.to((e=>{this.isEnabled?this.fire("execute"):e.preventDefault()}))}};this.bind("_ariaPressed").to(this,"isOn",this,"isToggleable",this,"role",((e,t,o)=>!(!t||U(o))&&String(!!e))),this.bind("_ariaChecked").to(this,"isOn",this,"isToggleable",this,"role",((e,t,o)=>!(!t||!U(o))&&String(!!e))),s._K.isSafari&&(this._focusDelayed||(this._focusDelayed=(0,s.cb)((()=>this.focus()),0)),n.on.mousedown=o.to((()=>{this._focusDelayed()})),n.on.mouseup=o.to((()=>{this._focusDelayed.cancel()}))),this.setTemplate(n)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(e){return e.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),e}_createKeystrokeView(){const e=new V;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(e=>(0,s.YA)(e)))}]}),e}_getTooltipString(e,t,o){return e?"string"==typeof e?e:(o&&(o=(0,s.YA)(o)),e instanceof Function?e(t,o):`${t}${o?` (${o})`:""}`):""}}function U(e){switch(e){case"radio":case"checkbox":case"option":case"switch":case"menuitemcheckbox":case"menuitemradio":return!0;default:return!1}}var K=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/formheader/formheader.css"),Y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(K.A,Y);K.A.locals;class G extends V{children;iconView;constructor(e,t={}){super(e);const o=this.bindTemplate;this.set("label",t.label||""),this.set("class",t.class||null),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__header",o.to("class")]},children:this.children}),t.icon&&(this.iconView=new z,this.iconView.content=t.icon,this.children.add(this.iconView));const s=new V(e);s.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"],role:"presentation"},children:[{text:o.to("label")}]}),this.children.add(s)}}class Z extends((0,s.Mm)()){focusables;focusTracker;keystrokeHandler;actions;constructor(e){if(super(),this.focusables=e.focusables,this.focusTracker=e.focusTracker,this.keystrokeHandler=e.keystrokeHandler,this.actions=e.actions,e.actions&&e.keystrokeHandler)for(const t in e.actions){let o=e.actions[t];"string"==typeof o&&(o=[o]);for(const s of o)e.keystrokeHandler.set(s,((e,o)=>{this[t](),o()}),e.keystrokeHandlerOptions)}this.on("forwardCycle",(()=>this.focusFirst()),{priority:"low"}),this.on("backwardCycle",(()=>this.focusLast()),{priority:"low"})}get first(){return this.focusables.find(J)||null}get last(){return this.focusables.filter(J).slice(-1)[0]||null}get next(){return this._getDomFocusableItem(1)}get previous(){return this._getDomFocusableItem(-1)}get current(){let e=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((t,o)=>{const s=t.element===this.focusTracker.focusedElement;return s&&(e=o),s})),e)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const e=this.next;e&&this.focusables.getIndex(e)===this.current||e===this.first?this.fire("forwardCycle"):this._focus(e,1)}focusPrevious(){const e=this.previous;e&&this.focusables.getIndex(e)===this.current||e===this.last?this.fire("backwardCycle"):this._focus(e,-1)}chain(e){const t=()=>null===this.current?null:this.focusables.get(this.current);this.listenTo(e,"forwardCycle",(e=>{const o=t();this.focusNext(),o!==t()&&e.stop()}),{priority:"low"}),this.listenTo(e,"backwardCycle",(e=>{const o=t();this.focusPrevious(),o!==t()&&e.stop()}),{priority:"low"})}unchain(e){this.stopListening(e)}_focus(e,t){e&&this.focusTracker.focusedElement!==e.element&&e.focus(t)}_getDomFocusableItem(e){const t=this.focusables.length;if(!t)return null;const o=this.current;if(null===o)return this[1===e?"first":"last"];let s=this.focusables.get(o),i=(o+t+e)%t;do{const o=this.focusables.get(i);if(J(o)){s=o;break}i=(i+t+e)%t}while(i!==o);return s}}function J(e){return X(e)&&(0,s.zN)(e.element)}function X(e){return!(!("focus"in e)||"function"!=typeof e.focus)}function Q(e){return X(e)&&"focusCycler"in e&&e.focusCycler instanceof Z}function ee(e){return class extends e{_onDragBound=this._onDrag.bind(this);_onDragEndBound=this._onDragEnd.bind(this);_lastDraggingCoordinates={x:0,y:0};constructor(...e){super(...e),this.on("render",(()=>{this._attachListeners()})),this.set("isDragging",!1)}_attachListeners(){this.listenTo(this.element,"mousedown",this._onDragStart.bind(this)),this.listenTo(this.element,"touchstart",this._onDragStart.bind(this))}_attachDragListeners(){this.listenTo(s.Sf.document,"mouseup",this._onDragEndBound),this.listenTo(s.Sf.document,"touchend",this._onDragEndBound),this.listenTo(s.Sf.document,"mousemove",this._onDragBound),this.listenTo(s.Sf.document,"touchmove",this._onDragBound)}_detachDragListeners(){this.stopListening(s.Sf.document,"mouseup",this._onDragEndBound),this.stopListening(s.Sf.document,"touchend",this._onDragEndBound),this.stopListening(s.Sf.document,"mousemove",this._onDragBound),this.stopListening(s.Sf.document,"touchmove",this._onDragBound)}_onDragStart(e,t){if(!this._isHandleElementPressed(t))return;this._attachDragListeners();let o=0,s=0;t instanceof MouseEvent?(o=t.clientX,s=t.clientY):(o=t.touches[0].clientX,s=t.touches[0].clientY),this._lastDraggingCoordinates={x:o,y:s},this.isDragging=!0}_onDrag(e,t){if(!this.isDragging)return void this._detachDragListeners();let o=0,s=0;t instanceof MouseEvent?(o=t.clientX,s=t.clientY):(o=t.touches[0].clientX,s=t.touches[0].clientY),t.preventDefault(),this.fire("drag",{deltaX:Math.round(o-this._lastDraggingCoordinates.x),deltaY:Math.round(s-this._lastDraggingCoordinates.y)}),this._lastDraggingCoordinates={x:o,y:s}}_onDragEnd(){this._detachDragListeners(),this.isDragging=!1}_isHandleElementPressed(e){return!!this.dragHandleElement&&(this.dragHandleElement===e.target||e.target instanceof HTMLElement&&this.dragHandleElement.contains(e.target))}}}var te=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialogactions.css"),oe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(te.A,oe);te.A.locals;class se extends V{children;keystrokes;focusCycler;_focusTracker;_focusables;constructor(e){super(e),this.children=this.createCollection(),this.keystrokes=new s.EP,this._focusTracker=new s.$x,this._focusables=new i,this.focusCycler=new Z({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__actions"]},children:this.children})}render(){super.render(),this.keystrokes.listenTo(this.element)}setButtons(e){for(const t of e){const e=new q(this.locale);let o;for(o in e.on("execute",(()=>t.onExecute())),t.onCreate&&t.onCreate(e),t)"onExecute"!=o&&"onCreate"!=o&&e.set(o,t[o]);this.children.add(e)}this._updateFocusCyclableItems()}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}_updateFocusCyclableItems(){Array.from(this.children).forEach((e=>{this._focusables.add(e),this._focusTracker.add(e.element)}))}}class ie extends V{children;constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__content"]},children:this.children})}reset(){for(;this.children.length;)this.children.remove(0)}}var ne=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialog.css"),re={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(ne.A,re);ne.A.locals;const ae={SCREEN_CENTER:"screen-center",EDITOR_CENTER:"editor-center",EDITOR_TOP_SIDE:"editor-top-side",EDITOR_TOP_CENTER:"editor-top-center",EDITOR_BOTTOM_CENTER:"editor-bottom-center",EDITOR_ABOVE_CENTER:"editor-above-center",EDITOR_BELOW_CENTER:"editor-below-center"},ce=(0,s.To)("px");class le extends(ee(V)){parts;headerView;closeButtonView;actionsView;static defaultOffset=15;contentView;keystrokes;focusTracker;wasMoved=!1;_getCurrentDomRoot;_getViewportOffset;_focusables;_focusCycler;constructor(e,{getCurrentDomRoot:t,getViewportOffset:o}){super(e);const n=this.bindTemplate,r=e.t;this.set("className",""),this.set("ariaLabel",r("Editor dialog")),this.set("isModal",!1),this.set("position",ae.SCREEN_CENTER),this.set("_isVisible",!1),this.set("_isTransparent",!1),this.set("_top",0),this.set("_left",0),this._getCurrentDomRoot=t,this._getViewportOffset=o,this.decorate("moveTo"),this.parts=this.createCollection(),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this._focusables=new i,this._focusCycler=new Z({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog-overlay",n.if("isModal","ck-dialog-overlay__transparent",(e=>!e)),n.if("_isVisible","ck-hidden",(e=>!e))],tabindex:"-1"},children:[{tag:"div",attributes:{tabindex:"-1",class:["ck","ck-dialog",n.to("className")],role:"dialog","aria-label":n.to("ariaLabel"),style:{top:n.to("_top",(e=>ce(e))),left:n.to("_left",(e=>ce(e))),visibility:n.if("_isTransparent","hidden")}},children:this.parts}]})}render(){super.render(),this.keystrokes.set("Esc",((e,t)=>{this.fire("close",{source:"escKeyPress"}),t()})),this.on("drag",((e,{deltaX:t,deltaY:o})=>{this.wasMoved=!0,this.moveBy(t,o)})),this.listenTo(s.Sf.window,"resize",(()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()})),this.listenTo(s.Sf.document,"scroll",(()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()})),this.on("change:_isVisible",((e,t,o)=>{o&&(this._isTransparent=!0,setTimeout((()=>{this.updatePosition(),this._isTransparent=!1,this.focus()}),10))})),this.keystrokes.listenTo(this.element)}get dragHandleElement(){return this.headerView?this.headerView.element:null}setupParts({icon:e,title:t,hasCloseButton:o=!0,content:s,actionButtons:i}){t&&(this.headerView=new G(this.locale,{icon:e}),o&&(this.closeButtonView=this._createCloseButton(),this.headerView.children.add(this.closeButtonView)),this.headerView.label=t,this.ariaLabel=t,this.parts.add(this.headerView,0)),s&&(s instanceof V&&(s=[s]),this.contentView=new ie(this.locale),this.contentView.children.addMany(s),this.parts.add(this.contentView)),i&&(this.actionsView=new se(this.locale),this.actionsView.setButtons(i),this.parts.add(this.actionsView)),this._updateFocusCyclableItems()}focus(){this._focusCycler.focusFirst()}moveTo(e,t){const o=this._getViewportRect(),s=this._getDialogRect();e+s.width>o.right&&(e=o.right-s.width),e<o.left&&(e=o.left),t<o.top&&(t=o.top),this._moveTo(e,t)}_moveTo(e,t){this._left=e,this._top=t}moveBy(e,t){this.moveTo(this._left+e,this._top+t)}_moveOffScreen(){this._moveTo(-9999,-9999)}updatePosition(){if(!this.element||!this.element.parentNode)return;const e=this._getViewportRect();let t,o=this.position;this._getCurrentDomRoot()?t=this._getVisibleDomRootRect(e):o=ae.SCREEN_CENTER;const s=le.defaultOffset,i=this._getDialogRect();switch(o){case ae.EDITOR_TOP_SIDE:if(t){const e="ltr"===this.locale.contentLanguageDirection?t.right-i.width-s:t.left+s;this.moveTo(e,t.top+s)}else this._moveOffScreen();break;case ae.EDITOR_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),Math.round(t.top+t.height/2-i.height/2)):this._moveOffScreen();break;case ae.SCREEN_CENTER:this.moveTo(Math.round((e.width-i.width)/2),Math.round((e.height-i.height)/2));break;case ae.EDITOR_TOP_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.top+s):this._moveOffScreen();break;case ae.EDITOR_BOTTOM_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.bottom-i.height-s):this._moveOffScreen();break;case ae.EDITOR_ABOVE_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.top-i.height-s):this._moveOffScreen();break;case ae.EDITOR_BELOW_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.bottom+s):this._moveOffScreen()}}_getVisibleDomRootRect(e){let t=new s.rw(this._getCurrentDomRoot()).getVisible();return t?(t=e.getIntersection(t),t||null):null}_getDialogRect(){return new s.rw(this.element.firstElementChild)}_getViewportRect(){return function(e){e=Object.assign({top:0,bottom:0,left:0,right:0},e);const t=new s.rw(s.Sf.window);return t.top+=e.top,t.height-=e.top,t.bottom-=e.bottom,t.height-=e.bottom,t.left+=e.left,t.right-=e.right,t.width-=e.left+e.right,t}(this._getViewportOffset())}_updateFocusCyclableItems(){const e=[];if(this.contentView)for(const t of this.contentView.children)X(t)&&e.push(t);this.actionsView&&e.push(this.actionsView),this.closeButtonView&&e.push(this.closeButtonView),e.forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element),Q(e)&&this._focusCycler.chain(e.focusCycler)}))}_createCloseButton(){const e=new q(this.locale),t=this.locale.t;return e.set({label:t("Close"),tooltip:!0,icon:N.Pt.cancel}),e.on("execute",(()=>this.fire("close",{source:"closeButton"}))),e}}class de extends N.k_{view;static _visibleDialogPlugin;_onHide;static get pluginName(){return"Dialog"}constructor(e){super(e);const t=e.t;this._initShowHideListeners(),this._initFocusToggler(),this._initMultiRootIntegration(),this.set({id:null,isOpen:!1}),e.accessibility.addKeystrokeInfos({categoryId:"navigation",keystrokes:[{label:t("Move focus in and out of an active dialog window"),keystroke:"Ctrl+F6",mayRequireFn:!0}]})}_initShowHideListeners(){this.on("show",((e,t)=>{this._show(t)})),this.on("show",((e,t)=>{t.onShow&&t.onShow(this)}),{priority:"low"}),this.on("hide",(()=>{de._visibleDialogPlugin&&de._visibleDialogPlugin._hide()})),this.on("hide",(()=>{this._onHide&&(this._onHide(this),this._onHide=void 0)}),{priority:"low"})}_initFocusToggler(){const e=this.editor;e.keystrokes.set("Ctrl+F6",((t,o)=>{this.isOpen&&!this.view.isModal&&(this.view.focusTracker.isFocused?e.editing.view.focus():this.view.focus(),o())}))}_initMultiRootIntegration(){const e=this.editor.model;e.document.on("change:data",(()=>{if(!this.view)return;const t=e.document.differ.getChangedRoots();for(const e of t)e.state&&this.view.updatePosition()}))}show(e){this.hide(),this.fire(`show:${e.id}`,e)}_show({id:e,icon:t,title:o,hasCloseButton:s=!0,content:i,actionButtons:n,className:r,isModal:a,position:c,onHide:l}){const d=this.editor;this.view=new le(d.locale,{getCurrentDomRoot:()=>d.editing.view.getDomRoot(d.model.document.selection.anchor.root.rootName),getViewportOffset:()=>d.ui.viewportOffset});const h=this.view;h.on("close",(()=>{this.hide()})),d.ui.view.body.add(h),d.keystrokes.listenTo(h.element),c||(c=a?ae.SCREEN_CENTER:ae.EDITOR_CENTER),h.set({position:c,_isVisible:!0,className:r,isModal:a}),h.setupParts({icon:t,title:o,hasCloseButton:s,content:i,actionButtons:n}),this.id=e,l&&(this._onHide=l),this.isOpen=!0,de._visibleDialogPlugin=this}hide(){de._visibleDialogPlugin&&de._visibleDialogPlugin.fire(`hide:${de._visibleDialogPlugin.id}`)}_hide(){if(!this.view)return;const e=this.editor,t=this.view;t.contentView&&t.contentView.reset(),e.ui.view.body.remove(t),e.ui.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),t.destroy(),e.editing.view.focus(),this.id=null,this.isOpen=!1,de._visibleDialogPlugin=null}}var he=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/listitembutton.css"),ue={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(he.A,ue);he.A.locals;class me extends q{_checkIconHolderView=new pe;constructor(e,t=new H){super(e,t),this.set({hasCheckSpace:!1,_hasCheck:this.isToggleable});const o=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-list-item-button",o.if("isToggleable","ck-list-item-button_toggleable")]}}),this.bind("_hasCheck").to(this,"hasCheckSpace",this,"isToggleable",((e,t)=>e||t))}render(){super.render(),this._hasCheck&&this.children.add(this._checkIconHolderView,0),this._watchCheckIconHolderMount()}_watchCheckIconHolderMount(){this._checkIconHolderView.bind("isOn").to(this,"isOn",(e=>this.isToggleable&&e)),this.on("change:_hasCheck",((e,t,o)=>{const{children:s,_checkIconHolderView:i}=this;o?s.add(i,0):s.remove(i)}))}}class pe extends V{children;_checkIconView=this._createCheckIconView();constructor(){super();const e=this.bindTemplate;this.children=this.createCollection(),this.set("isOn",!1),this.setTemplate({tag:"span",children:this.children,attributes:{class:["ck","ck-list-item-button__check-holder",e.to("isOn",(e=>e?"ck-on":"ck-off"))]}})}render(){super.render(),this.isOn&&this.children.add(this._checkIconView,0),this._watchCheckIconMount()}_watchCheckIconMount(){this.on("change:isOn",((e,t,o)=>{const{children:s,_checkIconView:i}=this;o&&!s.has(i)?s.add(i):!o&&s.has(i)&&s.remove(i)}))}_createCheckIconView(){const e=new z;return e.content=N.Pt.check,e.extendTemplate({attributes:{class:"ck-list-item-button__check-icon"}}),e}}var fe=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitembutton.css"),ge={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(fe.A,ge);fe.A.locals;class _e extends me{constructor(e){super(e),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}var be=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/label/label.css"),ke={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(be.A,ke);be.A.locals;class we extends V{id;constructor(e){super(e),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${(0,s.Ld)()}`;const t=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:t.to("for")},children:[{text:t.to("text")}]})}}class ve extends V{constructor(e,t){super(e);const o=e.t,i=new we;i.text=o("Help Contents. To close this dialog press ESC."),this.setTemplate({tag:"div",attributes:{class:["ck","ck-accessibility-help-dialog__content"],"aria-labelledby":i.id,role:"document",tabindex:-1},children:[(0,s.n)(document,"p",{},o("Below, you can find a list of keyboard shortcuts that can be used in the editor.")),...this._createCategories(Array.from(t.values())),i]})}focus(){this.element.focus()}_createCategories(e){return e.map((e=>{const t=[(0,s.n)(document,"h3",{},e.label),...Array.from(e.groups.values()).map((e=>this._createGroup(e))).flat()];return e.description&&t.splice(1,0,(0,s.n)(document,"p",{},e.description)),(0,s.n)(document,"section",{},t)}))}_createGroup(e){const t=e.keystrokes.sort(((e,t)=>e.label.localeCompare(t.label))).map((e=>this._createGroupRow(e))).flat(),o=[(0,s.n)(document,"dl",{},t)];return e.label&&o.unshift((0,s.n)(document,"h4",{},e.label)),o}_createGroupRow(e){const t=this.locale.t,o=(0,s.n)(document,"dt"),i=(0,s.n)(document,"dd"),n=function(e){if("string"==typeof e)return[[e]];if("string"==typeof e[0])return[e];return e}(e.keystroke),r=[];for(const e of n)r.push(e.map(ye).join(""));return o.innerHTML=e.label,i.innerHTML=r.join(", ")+(e.mayRequireFn&&s._K.isMac?` ${t("(may require <kbd>Fn</kbd>)")}`:""),[o,i]}}function ye(e){return(0,s.YA)(e).split("+").map((e=>`<kbd>${e}</kbd>`)).join("+")}const xe='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 6.628a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M8.5 9.125a.3.3 0 0 0-.253-.296L5.11 8.327a.75.75 0 1 1 .388-1.449l4.04.716c.267.072.624.08.893.009l4.066-.724a.75.75 0 1 1 .388 1.45l-3.132.5a.3.3 0 0 0-.253.296v1.357a.3.3 0 0 0 .018.102l1.615 4.438a.75.75 0 0 1-1.41.513l-1.35-3.71a.3.3 0 0 0-.281-.197h-.209a.3.3 0 0 0-.282.198l-1.35 3.711a.75.75 0 0 1-1.41-.513l1.64-4.509a.3.3 0 0 0 .019-.103V9.125Z"/><path clip-rule="evenodd" d="M10 18.5a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17Zm0 1.5c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10Z"/></svg>';var Ae=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/accessibilityhelp.css"),Ce={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Ae.A,Ce);Ae.A.locals;class Te extends N.k_{contentView=null;static get requires(){return[de]}static get pluginName(){return"AccessibilityHelp"}init(){const e=this.editor,t=e.locale.t;e.ui.componentFactory.add("accessibilityHelp",(()=>{const e=this._createButton(q);return e.set({tooltip:!0,withText:!1,label:t("Accessibility help")}),e})),e.ui.componentFactory.add("menuBar:accessibilityHelp",(()=>{const e=this._createButton(_e);return e.label=t("Accessibility"),e})),e.keystrokes.set("Alt+0",((e,t)=>{this._toggleDialog(),t()})),this._setupRootLabels()}_createButton(e){const t=this.editor,o=t.plugins.get("Dialog"),s=new e(t.locale);return s.set({keystroke:"Alt+0",icon:xe,isToggleable:!0}),s.on("execute",(()=>this._toggleDialog())),s.bind("isOn").to(o,"id",(e=>"accessibilityHelp"===e)),s}_setupRootLabels(){const e=this.editor,t=e.editing.view,o=e.t;function i(e,t){const i=[t.getAttribute("aria-label"),o("Press %0 for help.",[(0,s.YA)("Alt+0")])].filter((e=>e)).join(". ");e.setAttribute("aria-label",i,t)}e.ui.on("ready",(()=>{t.change((e=>{for(const o of t.document.roots)i(e,o)})),e.on("addRoot",((o,s)=>{const n=e.editing.view.document.getRoot(s.rootName);t.change((e=>i(e,n)))}),{priority:"low"})}))}_toggleDialog(){const e=this.editor,t=e.plugins.get("Dialog"),o=e.locale.t;this.contentView||(this.contentView=new ve(e.locale,e.accessibility.keystrokeInfos)),"accessibilityHelp"===t.id?t.hide():t.show({id:"accessibilityHelp",className:"ck-accessibility-help-dialog",title:o("Accessibility help"),icon:xe,hasCloseButton:!0,content:this.contentView})}}class Ee extends i{locale;_bodyCollectionContainer;constructor(e,t=[]){super(t),this.locale=e}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new a({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection,role:"application"},children:this}).render();let e=document.querySelector(".ck-body-wrapper");e||(e=(0,s.n)(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(e)),e.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const e=document.querySelector(".ck-body-wrapper");e&&0==e.childElementCount&&e.remove()}}var Pe=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/switchbutton.css"),Se={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Pe.A,Se);Pe.A.locals;class Me extends q{toggleSwitchView;constructor(e){super(e),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const e=new V;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}class Oe extends(Re(q)){}class Ve extends(Re(me)){}function Re(e){return class extends e{buttonView;_fileInputView;constructor(...e){super(...e),this.buttonView=this,this._fileInputView=new je(this.locale),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",(()=>{this._fileInputView.open()})),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}}class je extends V{constructor(e){super(e),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:t.to("acceptedType"),multiple:t.to("allowMultipleFiles")},on:{change:t.to((()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""}))}})}open(){this.element.click()}}const Ie='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/></svg>';var Be=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/collapsible/collapsible.css"),De={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Be.A,De);Be.A.locals;class Ne extends V{buttonView;children;constructor(e,t){super(e);const o=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),t&&this.children.addMany(t),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",o.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:o.if("isCollapsed","hidden"),"aria-labelledby":o.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const e=new q(this.locale),t=e.bindTemplate;return e.set({withText:!0,icon:Ie}),e.extendTemplate({attributes:{"aria-expanded":t.to("isOn",(e=>String(e)))}}),e.bind("label").to(this),e.bind("isOn").to(this,"isCollapsed",(e=>!e)),e.on("execute",(()=>{this.isCollapsed=!this.isCollapsed})),e}}function Fe(e,t){const o=e.t,s={Black:o("Black"),"Dim grey":o("Dim grey"),Grey:o("Grey"),"Light grey":o("Light grey"),White:o("White"),Red:o("Red"),Orange:o("Orange"),Yellow:o("Yellow"),"Light green":o("Light green"),Green:o("Green"),Aquamarine:o("Aquamarine"),Turquoise:o("Turquoise"),"Light blue":o("Light blue"),Blue:o("Blue"),Purple:o("Purple")};return t.map((e=>{const t=s[e.label];return t&&t!=e.label&&(e.label=t),e}))}function Le(e){return e.map(ze).filter((e=>!!e))}function ze(e){return"string"==typeof e?{model:e,label:e,hasBorder:!1,view:{name:"span",styles:{color:e}}}:{model:e.color,label:e.label||e.color,hasBorder:void 0!==e.hasBorder&&e.hasBorder,view:{name:"span",styles:{color:`${e.color}`}}}}class He extends q{constructor(e){super(e);const t=this.bindTemplate;this.set("color",void 0),this.set("hasBorder",!1),this.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M16.935 5.328a2 2 0 0 1 0 2.829l-7.778 7.778a2 2 0 0 1-2.829 0L3.5 13.107a1.999 1.999 0 1 1 2.828-2.829l.707.707a1 1 0 0 0 1.414 0l5.658-5.657a2 2 0 0 1 2.828 0z"/><path d="M14.814 6.035 8.448 12.4a1 1 0 0 1-1.414 0l-1.413-1.415A1 1 0 1 0 4.207 12.4l2.829 2.829a1 1 0 0 0 1.414 0l7.778-7.778a1 1 0 1 0-1.414-1.415z"/></svg>',this.extendTemplate({attributes:{style:{backgroundColor:t.to("color",(e=>s._K.isMediaForcedColors?null:e))},class:["ck","ck-color-grid__tile",t.if("hasBorder","ck-color-selector__color-tile_bordered")]}})}render(){super.render(),this.iconView.fillColor="hsl(0, 0%, 100%)"}}var $e=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorgrid/colorgrid.css"),We={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()($e.A,We);$e.A.locals;class qe extends V{columns;items;focusTracker;keystrokes;constructor(e,t){super(e);const o=t&&t.colorDefinitions?t.colorDefinitions:[];this.columns=t&&t.columns?t.columns:5;const i={gridTemplateColumns:`repeat( ${this.columns}, 1fr)`};this.set("selectedColor",void 0),this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this.items.on("add",((e,t)=>{t.isOn=t.color===this.selectedColor})),o.forEach((e=>{const t=new He;t.set({color:e.color,label:e.label,tooltip:!0,hasBorder:e.options.hasBorder}),t.on("execute",(()=>{this.fire("execute",{value:e.color,hasBorder:e.options.hasBorder,label:e.label})})),this.items.add(t)})),this.setTemplate({tag:"div",children:this.items,attributes:{class:["ck","ck-color-grid"],style:i}}),this.on("change:selectedColor",((e,t,o)=>{for(const e of this.items)e.isOn=e.color===o}))}focus(){this.items.length&&this.items.first.focus()}focusLast(){this.items.length&&this.items.last.focus()}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",((e,t)=>{this.focusTracker.add(t.element)})),this.items.on("remove",((e,t)=>{this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element),D({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:this.columns,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}var Ue=o("./node_modules/color-name/index.js");const Ke=function(e){var t,o,s=[],i=1;if("string"==typeof e)if(Ue[e])s=Ue[e].slice(),o="rgb";else if("transparent"===e)i=0,o="rgb",s=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);i=1,(c=n.length)<=4?(s=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===c&&(i=parseInt(n[3]+n[3],16)/255)):(s=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===c&&(i=parseInt(n[6]+n[7],16)/255)),s[0]||(s[0]=0),s[1]||(s[1]=0),s[2]||(s[2]=0),o="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var r=t[1],a="rgb"===r;o=n=r.replace(/a$/,"");var c="cmyk"===n?4:"gray"===n?1:3;s=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===c?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==Ye[e])return Ye[e]}return parseFloat(e)})),r===n&&s.push(1),i=a||void 0===s[c]?1:s[c],s=s.slice(0,c)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(s=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),o=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(s=[e[0],e[1],e[2]],o="rgb",i=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(o="rgb",s=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(o="hsl",s=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),i=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(i/=100)):(o="rgb",s=[e>>>16,(65280&e)>>>8,255&e]);return{space:o,values:s,alpha:i}};var Ye={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};var Ge=o("./node_modules/color-convert/index.js");function Ze(e,t){if(!e)return"";const o=Je(e);if(!o)return"";if(o.space===t)return e;if(s=o,!Object.keys(Ge).includes(s.space))return"";var s;const i=Ge[o.space][t];if(!i)return"";return function(e,t){switch(t){case"hex":return`#${e}`;case"rgb":return`rgb( ${e[0]}, ${e[1]}, ${e[2]} )`;case"hsl":return`hsl( ${e[0]}, ${e[1]}%, ${e[2]}% )`;case"hwb":return`hwb( ${e[0]}, ${e[1]}, ${e[2]} )`;case"lab":return`lab( ${e[0]}% ${e[1]} ${e[2]} )`;case"lch":return`lch( ${e[0]}% ${e[1]} ${e[2]} )`;default:return""}}(i("hex"===o.space?o.hexValue:o.values),t)}function Je(e){if(e.startsWith("#")){const t=Ke(e);return{space:"hex",values:t.values,hexValue:e,alpha:t.alpha}}const t=Ke(e);return t.space?t:null}var Xe=o("./node_modules/lodash-es/debounce.js"),Qe=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css"),et={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Qe.A,et);Qe.A.locals;class tt extends V{fieldView;labelView;statusView;fieldWrapperChildren;constructor(e,t){super(e);const o=`ck-labeled-field-view-${(0,s.Ld)()}`,i=`ck-labeled-field-view-status-${(0,s.Ld)()}`;this.fieldView=t(this,o,i),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(o),this.statusView=this._createStatusView(i),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",((e,t)=>e||t));const n=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",n.to("class"),n.if("isEnabled","ck-disabled",(e=>!e)),n.if("isEmpty","ck-labeled-field-view_empty"),n.if("isFocused","ck-labeled-field-view_focused"),n.if("placeholder","ck-labeled-field-view_placeholder"),n.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(e){const t=new we(this.locale);return t.for=e,t.bind("text").to(this,"label"),t}_createStatusView(e){const t=new V(this.locale),o=this.bindTemplate;return t.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",o.if("errorText","ck-labeled-field-view__status_error"),o.if("_statusText","ck-hidden",(e=>!e))],id:e,role:o.if("errorText","alert")},children:[{text:o.to("_statusText")}]}),t}focus(e){this.fieldView.focus(e)}}class ot extends V{focusTracker;constructor(e){super(e),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("tabIndex",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.set("ariaLabel",void 0),this.focusTracker=new s.$x,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",t.if("isFocused","ck-input_focused"),t.if("isEmpty","ck-input-text_empty"),t.if("hasError","ck-error")],id:t.to("id"),placeholder:t.to("placeholder"),tabindex:t.to("tabIndex"),readonly:t.to("isReadOnly"),"aria-invalid":t.if("hasError",!0),"aria-describedby":t.to("ariaDescribedById"),"aria-label":t.to("ariaLabel")},on:{input:t.to(((...e)=>{this.fire("input",...e),this._updateIsEmpty()})),change:t.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",((e,t,o)=>{this._setDomElementValue(o),this._updateIsEmpty()}))}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(e){this.element.value=e||0===e?e:""}}var st=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/input/input.css"),it={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(st.A,it);st.A.locals;class nt extends ot{constructor(e){super(e),this.set("inputMode","text");const t=this.bindTemplate;this.extendTemplate({attributes:{inputmode:t.to("inputMode")}})}}class rt extends nt{constructor(e){super(e),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}class at extends nt{constructor(e,{min:t,max:o,step:s}={}){super(e);const i=this.bindTemplate;this.set("min",t),this.set("max",o),this.set("step",s),this.extendTemplate({attributes:{type:"number",class:["ck-input-number"],min:i.to("min"),max:i.to("max"),step:i.to("step")}})}}var ct=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/textarea/textarea.css"),lt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(ct.A,lt);ct.A.locals;class dt extends ot{_resizeObserver;_isUpdateAutoGrowHeightPending=!1;constructor(e){super(e);const t=(0,s.To)("px");this.set("minRows",2),this.set("maxRows",5),this.set("_height",null),this.set("resize","none"),this._resizeObserver=null,this.on("change:minRows",this._validateMinMaxRows.bind(this)),this.on("change:maxRows",this._validateMinMaxRows.bind(this));const o=this.bindTemplate;this.template.tag="textarea",this.extendTemplate({attributes:{class:["ck-textarea"],style:{height:o.to("_height",(e=>e?t(e):null)),resize:o.to("resize")},rows:o.to("minRows")}})}render(){super.render();let e=!1;this.on("input",(()=>{this._updateAutoGrowHeight(!0),this.fire("update")})),this.on("change:value",(()=>{s.Sf.window.requestAnimationFrame((()=>{(0,s.zN)(this.element)?(this._updateAutoGrowHeight(),this.fire("update")):this._isUpdateAutoGrowHeightPending=!0}))})),this._resizeObserver=new s.tb(this.element,(t=>{const o=!!t.contentRect.width&&!!t.contentRect.height;!e&&o&&this._isUpdateAutoGrowHeightPending&&s.Sf.window.requestAnimationFrame((()=>{this._updateAutoGrowHeight(),this.fire("update")})),e=o}))}destroy(){this._resizeObserver&&this._resizeObserver.destroy()}reset(){super.reset(),this._updateAutoGrowHeight(),this.fire("update")}_updateAutoGrowHeight(e){const t=this.element;if(!t.offsetParent)return void(this._isUpdateAutoGrowHeightPending=!0);this._isUpdateAutoGrowHeightPending=!1;const o=ht(t,"1"),i=ht(t,t.value),n=o.ownerDocument.defaultView.getComputedStyle(o),r=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),a=(0,s.Md)(o),c=parseFloat(n.lineHeight),l=a.top+a.bottom,d=new s.rw(o).height,h=Math.round((i.scrollHeight-r)/c),u=this.maxRows*c+r+l,m=1===h?d:this.minRows*c+r+l;this._height=Math.min(Math.max(Math.max(h,this.minRows)*c+r+l,m),u),e&&(t.scrollTop=t.scrollHeight),o.remove(),i.remove()}_validateMinMaxRows(){if(this.minRows>this.maxRows)throw new s.Yb("ui-textarea-view-min-rows-greater-than-max-rows",{textareaView:this,minRows:this.minRows,maxRows:this.maxRows})}}function ht(e,t){const o=e.cloneNode();return o.style.position="absolute",o.style.top="-99999px",o.style.left="-99999px",o.style.height="auto",o.style.overflow="hidden",o.style.width=e.ownerDocument.defaultView.getComputedStyle(e).width,o.tabIndex=-1,o.rows=1,o.value=t,e.parentNode.insertBefore(o,e),o}class ut extends V{children;constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",t.to("position",(e=>`ck-dropdown__panel_${e}`)),t.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:t.to((e=>{"input"!==e.target.tagName.toLocaleLowerCase()&&e.preventDefault()}))}})}focus(){if(this.children.length){const e=this.children.first;"function"==typeof e.focus?e.focus():(0,s.FF)("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const e=this.children.last;"function"==typeof e.focusLast?e.focusLast():e.focus()}}}var mt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/dropdown.css"),pt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(mt.A,pt);mt.A.locals;class ft extends V{buttonView;panelView;focusTracker;keystrokes;listView;toolbarView;menuView;constructor(e,t,o){super(e);const i=this.bindTemplate;this.buttonView=t,this.panelView=o,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",i.to("class"),i.if("isEnabled","ck-disabled",(e=>!e))],id:i.to("id"),"aria-describedby":i.to("ariaDescribedById")},children:[t,o]}),t.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":i.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",(()=>{this.isOpen=!this.isOpen})),this.on("change:isOpen",((e,t,o)=>{if(o)if("auto"===this.panelPosition){const e=ft._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=e?e.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition})),this.keystrokes.listenTo(this.element);const e=(e,t)=>{this.isOpen&&(this.isOpen=!1,t())};this.keystrokes.set("arrowdown",((e,t)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,t())})),this.keystrokes.set("arrowright",((e,t)=>{this.isOpen&&t()})),this.keystrokes.set("arrowleft",e),this.keystrokes.set("esc",e)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:e,north:t,southEast:o,southWest:s,northEast:i,northWest:n,southMiddleEast:r,southMiddleWest:a,northMiddleEast:c,northMiddleWest:l}=ft.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[o,s,r,a,e,i,n,c,l,t]:[s,o,a,r,e,n,i,l,c,t]}static defaultPanelPositions={south:(e,t)=>({top:e.bottom,left:e.left-(t.width-e.width)/2,name:"s"}),southEast:e=>({top:e.bottom,left:e.left,name:"se"}),southWest:(e,t)=>({top:e.bottom,left:e.left-t.width+e.width,name:"sw"}),southMiddleEast:(e,t)=>({top:e.bottom,left:e.left-(t.width-e.width)/4,name:"sme"}),southMiddleWest:(e,t)=>({top:e.bottom,left:e.left-3*(t.width-e.width)/4,name:"smw"}),north:(e,t)=>({top:e.top-t.height,left:e.left-(t.width-e.width)/2,name:"n"}),northEast:(e,t)=>({top:e.top-t.height,left:e.left,name:"ne"}),northWest:(e,t)=>({top:e.top-t.height,left:e.left-t.width+e.width,name:"nw"}),northMiddleEast:(e,t)=>({top:e.top-t.height,left:e.left-(t.width-e.width)/4,name:"nme"}),northMiddleWest:(e,t)=>({top:e.top-t.height,left:e.left-3*(t.width-e.width)/4,name:"nmw"})};static _getOptimalPosition=s.W}class gt extends q{arrowView;constructor(e){super(e),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(e=>String(e)))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new z;return e.content=Ie,e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}var _t=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitembutton.css"),bt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(_t.A,bt);_t.A.locals;class kt extends q{id;constructor(e,t,o){super(e),this.id=t,this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem",label:o}),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list__nested-menu__item__button"]}})}}var wt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenubutton.css"),vt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(wt.A,vt);wt.A.locals;class yt extends me{arrowView;constructor(e){super(e);const t=this.bindTemplate;this.set({withText:!0,role:"menuitem"}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list__nested-menu__button"],"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(e=>String(e))),"data-cke-tooltip-disabled":t.to("isOn")},on:{mouseenter:t.to("mouseenter")}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new z;return e.content=Ie,e.extendTemplate({attributes:{class:"ck-dropdown-menu-list__nested-menu__button__arrow"}}),e}}class xt extends V{children;constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",t.if("isVisible","ck-hidden",(e=>!e))],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class At extends V{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class Ct extends V{labelView;items;children;constructor(e,t=new we){super(e);const o=this.bindTemplate,s=new Pt(e);this.set({label:"",isVisible:!0}),this.labelView=t,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,s]),s.set({role:"group",ariaLabelledBy:t.id}),s.focusTracker.destroy(),s.keystrokes.destroy(),this.items=s.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",o.if("isVisible","ck-hidden",(e=>!e))]},children:this.children})}focus(){if(this.items){const e=this.items.find((e=>!(e instanceof At)));e&&e.focus()}}}var Tt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/list/list.css"),Et={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Tt.A,Et);Tt.A.locals;class Pt extends V{focusables;items;focusTracker;keystrokes;_focusCycler;_listItemGroupToChangeListeners=new WeakMap;constructor(e){super(e);const t=this.bindTemplate;this.focusables=new i,this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this._focusCycler=new Z({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:t.to("role"),"aria-label":t.to("ariaLabel"),"aria-labelledby":t.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const e of this.items)e instanceof Ct?this._registerFocusableItemsGroup(e):e instanceof xt&&this._registerFocusableListItem(e);this.items.on("change",((e,t)=>{for(const e of t.removed)e instanceof Ct?this._deregisterFocusableItemsGroup(e):e instanceof xt&&this._deregisterFocusableListItem(e);for(const e of Array.from(t.added).reverse())e instanceof Ct?this._registerFocusableItemsGroup(e,t.index):this._registerFocusableListItem(e,t.index)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(e,t){this.focusTracker.add(e.element),this.focusables.add(e,t)}_deregisterFocusableListItem(e){this.focusTracker.remove(e.element),this.focusables.remove(e)}_getOnGroupItemsChangeCallback(e){return(t,o)=>{for(const e of o.removed)this._deregisterFocusableListItem(e);for(const t of Array.from(o.added).reverse())this._registerFocusableListItem(t,this.items.getIndex(e)+o.index)}}_registerFocusableItemsGroup(e,t){Array.from(e.items).forEach(((e,o)=>{const s=void 0!==t?t+o:void 0;this._registerFocusableListItem(e,s)}));const o=this._getOnGroupItemsChangeCallback(e);this._listItemGroupToChangeListeners.set(e,o),e.items.on("change",o)}_deregisterFocusableItemsGroup(e){for(const t of e.items)this._deregisterFocusableListItem(t);e.items.off("change",this._listItemGroupToChangeListeners.get(e)),this._listItemGroupToChangeListeners.delete(e)}}class St extends Pt{constructor(e){super(e);const t=this.bindTemplate;this.role="menu",this.set("isVisible",!0),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list",t.if("isVisible","ck-hidden",(e=>!e))]}})}}const Mt={eastSouth:e=>({top:e.top,left:e.right-5,name:"es"}),eastNorth:(e,t)=>({top:e.top-t.height+e.height,left:e.right-5,name:"en"}),westSouth:(e,t)=>({top:e.top,left:e.left-t.width+5,name:"ws"}),westNorth:(e,t)=>({top:e.top-t.height+e.height,left:e.left-t.width+5,name:"wn"})};var Ot=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitem.css"),Vt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Ot.A,Vt);Ot.A.locals;class Rt extends xt{childView;constructor(e,t,o){super(e);const s=this.bindTemplate;this.childView=o,this.children.add(o),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list__nested-menu__item"]},on:{mouseenter:s.to("mouseenter")}}),t&&(this.delegate("mouseenter").to(t),o instanceof kt&&o.delegate("execute").to(t))}}const jt={toggleMenusAndFocusItemsOnHover(e){e.on("menu:mouseenter",(t=>{const[o]=t.path;t.source.focus();for(const s of e.menus){const e=o instanceof Rt&&o.childView===s;s.isOpen=(t.path.includes(s)||e)&&s.isEnabled}}))},closeMenuWhenAnotherOnTheSameLevelOpens(e){e.on("menu:change:isOpen",((t,o,s)=>{if(!s)return;const i=t.source;for(const t of e.menus)i.parentMenuView===t.parentMenuView&&i!==t&&(t.isOpen=!1)}))}},It={openOnArrowRightKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowleft":"arrowright";e.keystrokes.set(t,((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&e.isEnabled&&(e.isOpen||(e.isOpen=!0),e.panelView.focus(),o())}))},openOnButtonClick(e){e.buttonView.on("execute",(()=>{e.isEnabled&&(e.isOpen=!0)}))},openAndFocusOnEnterKeyPress(e){e.keystrokes.set("enter",((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&(e.isOpen=!0,e.panelView.focus(),o())}))},closeOnArrowLeftKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowright":"arrowleft";e.keystrokes.set(t,((t,o)=>{e.isOpen&&(e.focus(),e.isOpen=!1,o())}))},closeOnEscKey(e){e.keystrokes.set("esc",((t,o)=>{e.isOpen&&(e.focus(),e.isOpen=!1,o())}))},closeOnParentClose(e,t){t.on("change:isOpen",((o,s,i)=>{i||o.source!==t||(e.isOpen=!1)}))}};var Bt=o("./node_modules/lodash-es/isElement.js"),Dt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonpanel.css"),Nt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Dt.A,Nt);Dt.A.locals;const Ft=(0,s.To)("px"),Lt={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}};class zt extends V{content;_pinWhenIsVisibleCallback;_resizeObserver;constructor(e){super(e);const t=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this._resizeObserver=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",t.to("position",(e=>`ck-balloon-panel_${e}`)),t.if("isVisible","ck-balloon-panel_visible"),t.if("withArrow","ck-balloon-panel_with-arrow"),t.to("class")],style:{top:t.to("top",Ft),left:t.to("left",Ft)}},children:this.content})}destroy(){this.hide(),super.destroy()}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){const t=Ht(e.target);if(t&&!(0,s.zN)(t))return!1;this.show();const o=zt.defaultPositions,i=Object.assign({},{element:this.element,positions:[o.southArrowNorth,o.southArrowNorthMiddleWest,o.southArrowNorthMiddleEast,o.southArrowNorthWest,o.southArrowNorthEast,o.northArrowSouth,o.northArrowSouthMiddleWest,o.northArrowSouthMiddleEast,o.northArrowSouthWest,o.northArrowSouthEast,o.viewportStickyNorth],limiter:s.Sf.document.body,fitInViewport:!0},e),n=zt._getOptimalPosition(i)||Lt,r=parseInt(n.left),a=parseInt(n.top),c=n.name,l=n.config||{},{withArrow:d=!0}=l;return this.top=a,this.left=r,this.position=c,this.withArrow=d,!0}pin(e){this.unpin(),this._startPinning(e)&&(this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback))}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(e){if(!this.attachTo(e))return!1;let t=Ht(e.target);const o=e.limiter?Ht(e.limiter):s.Sf.document.body;if(this.listenTo(s.Sf.document,"scroll",((s,i)=>{const n=i.target,r=t&&n.contains(t),a=o&&n.contains(o);!r&&!a&&t&&o||this.attachTo(e)}),{useCapture:!0}),this.listenTo(s.Sf.window,"resize",(()=>{this.attachTo(e)})),!this._resizeObserver&&(t&&(0,s.KH)(t)&&(t=t.parentElement),t)){const e=()=>{(0,s.zN)(t)||this.unpin()};this._resizeObserver=new s.tb(t,e)}return!0}_stopPinning(){this.stopListening(s.Sf.document,"scroll"),this.stopListening(s.Sf.window,"resize"),this._resizeObserver&&(this._resizeObserver.destroy(),this._resizeObserver=null)}static generatePositions(e={}){const{sideOffset:t=zt.arrowSideOffset,heightOffset:o=zt.arrowHeightOffset,stickyVerticalOffset:s=zt.stickyVerticalOffset,config:i}=e;return{northWestArrowSouthWest:(e,o)=>({top:n(e,o),left:e.left-t,name:"arrow_sw",...i&&{config:i}}),northWestArrowSouthMiddleWest:(e,o)=>({top:n(e,o),left:e.left-.25*o.width-t,name:"arrow_smw",...i&&{config:i}}),northWestArrowSouth:(e,t)=>({top:n(e,t),left:e.left-t.width/2,name:"arrow_s",...i&&{config:i}}),northWestArrowSouthMiddleEast:(e,o)=>({top:n(e,o),left:e.left-.75*o.width+t,name:"arrow_sme",...i&&{config:i}}),northWestArrowSouthEast:(e,o)=>({top:n(e,o),left:e.left-o.width+t,name:"arrow_se",...i&&{config:i}}),northArrowSouthWest:(e,o)=>({top:n(e,o),left:e.left+e.width/2-t,name:"arrow_sw",...i&&{config:i}}),northArrowSouthMiddleWest:(e,o)=>({top:n(e,o),left:e.left+e.width/2-.25*o.width-t,name:"arrow_smw",...i&&{config:i}}),northArrowSouth:(e,t)=>({top:n(e,t),left:e.left+e.width/2-t.width/2,name:"arrow_s",...i&&{config:i}}),northArrowSouthMiddleEast:(e,o)=>({top:n(e,o),left:e.left+e.width/2-.75*o.width+t,name:"arrow_sme",...i&&{config:i}}),northArrowSouthEast:(e,o)=>({top:n(e,o),left:e.left+e.width/2-o.width+t,name:"arrow_se",...i&&{config:i}}),northEastArrowSouthWest:(e,o)=>({top:n(e,o),left:e.right-t,name:"arrow_sw",...i&&{config:i}}),northEastArrowSouthMiddleWest:(e,o)=>({top:n(e,o),left:e.right-.25*o.width-t,name:"arrow_smw",...i&&{config:i}}),northEastArrowSouth:(e,t)=>({top:n(e,t),left:e.right-t.width/2,name:"arrow_s",...i&&{config:i}}),northEastArrowSouthMiddleEast:(e,o)=>({top:n(e,o),left:e.right-.75*o.width+t,name:"arrow_sme",...i&&{config:i}}),northEastArrowSouthEast:(e,o)=>({top:n(e,o),left:e.right-o.width+t,name:"arrow_se",...i&&{config:i}}),southWestArrowNorthWest:e=>({top:r(e),left:e.left-t,name:"arrow_nw",...i&&{config:i}}),southWestArrowNorthMiddleWest:(e,o)=>({top:r(e),left:e.left-.25*o.width-t,name:"arrow_nmw",...i&&{config:i}}),southWestArrowNorth:(e,t)=>({top:r(e),left:e.left-t.width/2,name:"arrow_n",...i&&{config:i}}),southWestArrowNorthMiddleEast:(e,o)=>({top:r(e),left:e.left-.75*o.width+t,name:"arrow_nme",...i&&{config:i}}),southWestArrowNorthEast:(e,o)=>({top:r(e),left:e.left-o.width+t,name:"arrow_ne",...i&&{config:i}}),southArrowNorthWest:e=>({top:r(e),left:e.left+e.width/2-t,name:"arrow_nw",...i&&{config:i}}),southArrowNorthMiddleWest:(e,o)=>({top:r(e),left:e.left+e.width/2-.25*o.width-t,name:"arrow_nmw",...i&&{config:i}}),southArrowNorth:(e,t)=>({top:r(e),left:e.left+e.width/2-t.width/2,name:"arrow_n",...i&&{config:i}}),southArrowNorthMiddleEast:(e,o)=>({top:r(e),left:e.left+e.width/2-.75*o.width+t,name:"arrow_nme",...i&&{config:i}}),southArrowNorthEast:(e,o)=>({top:r(e),left:e.left+e.width/2-o.width+t,name:"arrow_ne",...i&&{config:i}}),southEastArrowNorthWest:e=>({top:r(e),left:e.right-t,name:"arrow_nw",...i&&{config:i}}),southEastArrowNorthMiddleWest:(e,o)=>({top:r(e),left:e.right-.25*o.width-t,name:"arrow_nmw",...i&&{config:i}}),southEastArrowNorth:(e,t)=>({top:r(e),left:e.right-t.width/2,name:"arrow_n",...i&&{config:i}}),southEastArrowNorthMiddleEast:(e,o)=>({top:r(e),left:e.right-.75*o.width+t,name:"arrow_nme",...i&&{config:i}}),southEastArrowNorthEast:(e,o)=>({top:r(e),left:e.right-o.width+t,name:"arrow_ne",...i&&{config:i}}),westArrowEast:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.left-t.width-o,name:"arrow_e",...i&&{config:i}}),eastArrowWest:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.right+o,name:"arrow_w",...i&&{config:i}}),viewportStickyNorth:(e,t,o,n)=>{const r=n||o;return e.getIntersection(r)?r.height-e.height>s?null:{top:r.top+s,left:e.left+e.width/2-t.width/2,name:"arrowless",config:{withArrow:!1,...i}}:null}};function n(e,t){return e.top-t.height-o}function r(e){return e.bottom+o}}static arrowSideOffset=25;static arrowHeightOffset=10;static stickyVerticalOffset=20;static _getOptimalPosition=s.W;static defaultPositions=zt.generatePositions()}function Ht(e){return(0,Bt.A)(e)?e:(0,s._Z)(e)?e.commonAncestorContainer:"function"==typeof e?Ht(e()):null}var $t=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenupanel.css"),Wt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()($t.A,Wt);$t.A.locals;class qt extends zt{constructor(e){super(e);const t=this.bindTemplate;this.set({isVisible:!1,position:"se",class:null,top:0,left:0}),this.extendTemplate({tag:"div",attributes:{class:["ck-reset","ck-dropdown-menu__nested-menu__panel"],tabindex:"-1"},on:{selectstart:t.to((e=>{"input"!==e.target.tagName.toLocaleLowerCase()&&e.preventDefault()}))}})}focus(e=1){const{content:t}=this;t.length&&(1===e?t.first.focus():t.last.focus())}}var Ut=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenu.css"),Kt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Ut.A,Kt);Ut.A.locals;class Yt extends V{static DELEGATED_EVENTS=["mouseenter","execute","change:isOpen"];id;buttonView;panelView;listView;focusTracker;keystrokes;_bodyCollection;constructor(e,t,o,i,n){super(e),this._bodyCollection=t,this.id=o,this.set({isOpen:!1,isEnabled:!0,panelPosition:"w",class:void 0,parentMenuView:null}),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.buttonView=new yt(e),this.buttonView.delegate("mouseenter").to(this),this.buttonView.bind("isOn","isEnabled").to(this,"isOpen","isEnabled"),this.buttonView.label=i,this.panelView=new qt(e),this.panelView.isVisible=!0,this.listView=new St(e),this.listView.bind("ariaLabel").to(this.buttonView,"label"),this.panelView.content.add(this.listView);const r=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown-menu-list__nested-menu",r.to("class"),r.if("isEnabled","ck-disabled",(e=>!e))],role:"presentation"},children:[this.buttonView]}),this.parentMenuView=n,this.parentMenuView&&this._handleParentMenuView(),this._attachBehaviors()}get _panelPositions(){const{westSouth:e,eastSouth:t,westNorth:o,eastNorth:s}=Mt;return"ltr"===this.locale.uiLanguageDirection?[t,s,e,o]:[e,o,t,s]}render(){super.render(),this.panelView.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.keystrokes.listenTo(this.element),this._mountPanelOnOpen()}destroy(){this._removePanelFromBody(),this.panelView.destroy(),super.destroy()}focus(){this.buttonView.focus()}_handleParentMenuView(){this.delegate(...Yt.DELEGATED_EVENTS).to(this.parentMenuView),It.closeOnParentClose(this,this.parentMenuView)}_attachBehaviors(){It.openOnButtonClick(this),It.openAndFocusOnEnterKeyPress(this),It.openOnArrowRightKey(this),It.closeOnEscKey(this),It.closeOnArrowLeftKey(this)}_mountPanelOnOpen(){const{panelView:e}=this;this.on("change:isOpen",((t,o,s)=>{t.source===this&&(s||!this._bodyCollection.has(e)?s&&!this._bodyCollection.has(e)&&this._addPanelToBody():this._removePanelFromBody())}))}_removePanelFromBody(){const{panelView:e,keystrokes:t}=this;this._bodyCollection.has(e)&&(this._bodyCollection.remove(e),t.stopListening(e.element))}_addPanelToBody(){const{panelView:e,buttonView:t,keystrokes:o}=this;this._bodyCollection.has(e)||(this._bodyCollection.add(e),o.listenTo(e.element),e.pin({positions:this._panelPositions,limiter:s.Sf.document.body,element:e.element,target:t.element,fitInViewport:!0}))}}class Gt extends St{_definition;_cachedMenus=[];_cachedButtons=[];_bodyCollection;constructor(e,t,o){super(e),this._bodyCollection=t,this._definition=o,this.set("menuPanelClass",void 0)}get menus(){return Array.from(this._cachedMenus.values())}get buttons(){return Array.from(this._cachedButtons.values())}render(){this._createStructure(this._definition,null),super.render(),jt.toggleMenusAndFocusItemsOnHover(this),jt.closeMenuWhenAnotherOnTheSameLevelOpens(this)}closeMenus(){this.menus.forEach((e=>{e.isOpen=!1}))}_createStructure(e,t){const o=[];for(const s of e){let e;"menu"in s?(e=new Yt(this.locale,this._bodyCollection,s.id,s.menu,t),e.panelView.bind("class").to(this,"menuPanelClass"),t||e.delegate(...Yt.DELEGATED_EVENTS).to(this,(e=>`menu:${e}`)),this._cachedMenus.push(e),this._createStructure(s.children,e)):(e=new kt(this.locale,s.id,s.label),t||e.delegate("execute").to(this,"menu:execute"),this._cachedButtons.push(e));const i=new Rt(this.locale,t,e);t||i.delegate("mouseenter").to(this,"menu:mouseenter"),o.push(i)}(t?t.listView:this).items.addMany(o)}}class Zt extends V{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class Jt extends V{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function Xt(e){if(Array.isArray(e))return{items:e,removeItems:[]};const t={items:[],removeItems:[]};return e?{...t,...e}:t}var Qt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/toolbar.css"),eo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Qt.A,eo);Qt.A.locals;const to=(()=>({alignLeft:N.Pt.alignLeft,bold:N.Pt.bold,importExport:N.Pt.importExport,paragraph:N.Pt.paragraph,plus:N.Pt.plus,text:N.Pt.text,threeVerticalDots:N.Pt.threeVerticalDots,pilcrow:N.Pt.pilcrow,dragIndicator:N.Pt.dragIndicator}))();class oo extends V{options;items;focusTracker;keystrokes;itemsView;children;focusables;_focusCycler;_behavior;constructor(e,t){super(e);const o=this.bindTemplate,i=this.t;this.options=t||{},this.set("ariaLabel",i("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new so(e),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const n="rtl"===e.uiLanguageDirection;this._focusCycler=new Z({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[n?"arrowright":"arrowleft","arrowup"],focusNext:[n?"arrowleft":"arrowright","arrowdown"]}});const r=["ck","ck-toolbar",o.to("class"),o.if("isCompact","ck-toolbar_compact")];var a;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":o.to("ariaLabel"),style:{maxWidth:o.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(a=this,a.bindTemplate.to((e=>{e.target===a.element&&e.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new no(this):new io(this)}render(){super.render(),this.focusTracker.add(this.element);for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",((e,t)=>{this.focusTracker.add(t.element)})),this.items.on("remove",((e,t)=>{this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(e,t,o){this.items.addMany(this._buildItemsFromConfig(e,t,o))}_buildItemsFromConfig(e,t,o){const s=Xt(e),i=o||s.removeItems;return this._cleanItemsConfiguration(s.items,t,i).map((e=>(0,r.A)(e)?this._createNestedToolbarDropdown(e,t,i):"|"===e?new Zt:"-"===e?new Jt:t.create(e))).filter((e=>!!e))}_cleanItemsConfiguration(e,t,o){const i=e.filter(((e,i,n)=>"|"===e||-1===o.indexOf(e)&&("-"===e?!this.options.shouldGroupWhenFull||((0,s.FF)("toolbarview-line-break-ignored-when-grouping-items",n),!1):!(!(0,r.A)(e)&&!t.has(e))||((0,s.FF)("toolbarview-item-unavailable",{item:e}),!1))));return this._cleanSeparatorsAndLineBreaks(i)}_cleanSeparatorsAndLineBreaks(e){const t=e=>"-"!==e&&"|"!==e,o=e.length,s=e.findIndex(t);if(-1===s)return[];const i=o-e.slice().reverse().findIndex(t);return e.slice(s,i).filter(((e,o,s)=>{if(t(e))return!0;return!(o>0&&s[o-1]===e)}))}_createNestedToolbarDropdown(e,t,o){let{label:i,icon:n,items:r,tooltip:a=!0,withText:c=!1}=e;if(r=this._cleanItemsConfiguration(r,t,o),!r.length)return null;const l=po(this.locale);return i||(0,s.FF)("toolbarview-nested-toolbar-dropdown-missing-label",e),l.class="ck-toolbar__nested-toolbar-dropdown",l.buttonView.set({label:i,tooltip:a,withText:!!c}),!1!==n?l.buttonView.icon=to[n]||n||N.Pt.threeVerticalDots:l.buttonView.withText=!0,_o(l,(()=>l.toolbarView._buildItemsFromConfig(r,t,o))),l}}class so extends V{children;constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class io{constructor(e){const t=e.bindTemplate;e.set("isVertical",!1),e.itemsView.children.bindTo(e.items).using((e=>e)),e.focusables.bindTo(e.items).using((e=>X(e)?e:null)),e.extendTemplate({attributes:{class:[t.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class no{view;viewChildren;viewFocusables;viewItemsView;viewFocusTracker;viewLocale;ungroupedItems;groupedItems;groupedItemsDropdown;resizeObserver=null;cachedPadding=null;shouldUpdateGroupingOnNextResize=!1;viewElement;constructor(e){this.view=e,this.viewChildren=e.children,this.viewFocusables=e.focusables,this.viewItemsView=e.itemsView,this.viewFocusTracker=e.focusTracker,this.viewLocale=e.locale,this.ungroupedItems=e.createCollection(),this.groupedItems=e.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),e.itemsView.children.bindTo(this.ungroupedItems).using((e=>e)),this.ungroupedItems.on("change",this._updateFocusCyclableItems.bind(this)),e.children.on("change",this._updateFocusCyclableItems.bind(this)),e.items.on("change",((e,t)=>{const o=t.index,s=Array.from(t.added);for(const e of t.removed)o>=this.ungroupedItems.length?this.groupedItems.remove(e):this.ungroupedItems.remove(e);for(let e=o;e<o+s.length;e++){const t=s[e-o];e>this.ungroupedItems.length?this.groupedItems.add(t,e-this.ungroupedItems.length):this.ungroupedItems.add(t,e)}this._updateGrouping()})),e.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(e){this.viewElement=e.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(e)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!(0,s.zN)(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const e=this.groupedItems.length;let t;for(;this._areItemsOverflowing;)this._groupLastItem(),t=!0;if(!t&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==e&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const e=this.viewElement,t=this.viewLocale.uiLanguageDirection,o=new s.rw(e.lastChild),i=new s.rw(e);if(!this.cachedPadding){const o=s.Sf.window.getComputedStyle(e),i="ltr"===t?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(o[i])}return"ltr"===t?o.right>i.right-this.cachedPadding:o.left<i.left+this.cachedPadding}_enableGroupingOnResize(){let e;this.resizeObserver=new s.tb(this.viewElement,(t=>{e&&e===t.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),e=t.contentRect.width)})),this._updateGrouping()}_enableGroupingOnMaxWidthChange(e){e.on("change:maxWidth",(()=>{this._updateGrouping()}))}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new Zt),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const e=this.viewLocale,t=e.t,o=po(e);return o.class="ck-toolbar__grouped-dropdown",o.panelPosition="ltr"===e.uiLanguageDirection?"sw":"se",_o(o,this.groupedItems),o.buttonView.set({label:t("Show more items"),tooltip:!0,tooltipPosition:"rtl"===e.uiLanguageDirection?"se":"sw",icon:N.Pt.threeVerticalDots}),o}_updateFocusCyclableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((e=>{X(e)&&this.viewFocusables.add(e)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}var ro=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/splitbutton.css"),ao={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(ro.A,ao);ro.A.locals;class co extends V{children;actionView;arrowView;keystrokes;focusTracker;constructor(e,t){super(e);const o=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(t),this.arrowView=this._createArrowView(),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",o.to("class"),o.if("isVisible","ck-hidden",(e=>!e)),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",((e,t)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),t())})),this.keystrokes.set("arrowleft",((e,t)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),t())}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(e){const t=e||new q;return e||t.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),t.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),t.delegate("execute").to(this),t}_createArrowView(){const e=new q,t=e.bindTemplate;return e.icon=Ie,e.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":t.to("isOn"),"aria-haspopup":!0,"aria-expanded":t.to("isOn",(e=>String(e)))}}),e.bind("isEnabled").to(this),e.bind("label").to(this),e.bind("tooltip").to(this),e.delegate("execute").to(this,"open"),e}}var lo=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/toolbardropdown.css"),ho={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(lo.A,ho);lo.A.locals;var uo=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/listdropdown.css"),mo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(uo.A,mo);uo.A.locals;function po(e,t=gt){const o="function"==typeof t?new t(e):t,i=new ut(e),n=new ft(e,o,i);return o.bind("isEnabled").to(n),o instanceof co?o.arrowView.bind("isOn").to(n,"isOpen"):o.bind("isOn").to(n,"isOpen"),function(e){(function(e){R({emitter:e,activator:()=>e.isRendered&&e.isOpen,callback:()=>{e.isOpen=!1},contextElements:()=>[e.element,...e.focusTracker.elements]})})(e),function(e){e.on("execute",(t=>{t.source instanceof Me||(e.isOpen=!1)}))}(e),function(e){e.focusTracker.on("change:isFocused",((t,o,s)=>{!s&&e.isOpen&&(e.isOpen=!1)}))}(e),function(e){e.keystrokes.set("arrowdown",((t,o)=>{e.isOpen&&(e.panelView.focus(),o())})),e.keystrokes.set("arrowup",((t,o)=>{e.isOpen&&(e.panelView.focusLast(),o())}))}(e),function(e){e.on("change:isOpen",((t,o,i)=>{if(i)return;e.focusTracker.elements.some((e=>e.contains(s.Sf.document.activeElement)))&&e.buttonView.focus()}))}(e),function(e){e.on("change:isOpen",((t,o,s)=>{s&&e.panelView.focus()}),{priority:"low"})}(e)}(n),n}function fo(e,t,o,s={}){e.menuView=new Gt(e.locale,t,o),e.isOpen?go(e,s):e.once("change:isOpen",(()=>{go(e,s)}),{priority:"highest"})}function go(e,t){const o=e.menuView,s=e.locale.t;o.delegate("menu:execute").to(e,"execute"),o.listenTo(e,"change:isOpen",((e,t,s)=>{s||o.closeMenus()}),{priority:"low"}),e.panelView.children.add(o);for(const t of o.menus)e.focusTracker.add(t.panelView.element);o.ariaLabel=t.ariaLabel||s("Dropdown menu")}function _o(e,t,o={}){e.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.isOpen?bo(e,t,o):e.once("change:isOpen",(()=>bo(e,t,o)),{priority:"highest"}),o.enableActiveItemFocusOnDropdownOpen&&vo(e,(()=>e.toolbarView.items.find((e=>e.isOn))))}function bo(e,t,o){const s=e.locale,n=s.t,r=e.toolbarView=new oo(s),a="function"==typeof t?t():t;r.ariaLabel=o.ariaLabel||n("Dropdown toolbar"),o.maxWidth&&(r.maxWidth=o.maxWidth),o.class&&(r.class=o.class),o.isCompact&&(r.isCompact=o.isCompact),o.isVertical&&(r.isVertical=!0),a instanceof i?r.items.bindTo(a).using((e=>e)):r.items.addMany(a),e.panelView.children.add(r),r.items.delegate("execute").to(e)}function ko(e,t,o={}){e.isOpen?wo(e,t,o):e.once("change:isOpen",(()=>wo(e,t,o)),{priority:"highest"}),vo(e,(()=>e.listView.items.find((e=>e instanceof xt&&e.children.first.isOn))))}function wo(e,t,o){const s=e.locale,i=e.listView=new Pt(s),n="function"==typeof t?t():t;i.ariaLabel=o.ariaLabel,i.role=o.role,yo(e,i.items,n,s),e.panelView.children.add(i),i.items.delegate("execute").to(e)}function vo(e,t){e.on("change:isOpen",(()=>{if(!e.isOpen)return;const o=t();o&&("function"==typeof o.focus?o.focus():(0,s.FF)("ui-dropdown-focus-child-on-open-child-missing-focus",{view:o}))}),{priority:s.vx.low-10})}function yo(e,t,o,s){t.on("change",(()=>{const e=[...t].reduce(((e,t)=>(t instanceof xt&&t.children.first instanceof me&&e.push(t.children.first),e)),[]),o=e.some((e=>e.isToggleable));e.forEach((e=>{e.hasCheckSpace=o}))})),t.bindTo(o).using((t=>{if("separator"===t.type)return new At(s);if("group"===t.type){const o=new Ct(s);return o.set({label:t.label}),yo(e,o.items,t.items,s),o.items.delegate("execute").to(e),o}if("button"===t.type||"switchbutton"===t.type){const e="menuitemcheckbox"===t.model.role||"menuitemradio"===t.model.role,o=new xt(s);let i;return"button"===t.type?(i=new me(s),i.set({isToggleable:e})):i=new Me(s),i.bind(...Object.keys(t.model)).to(t.model),i.delegate("execute").to(o),o.children.add(i),o}return null}))}const xo=(e,t,o)=>{const s=new rt(e.locale);return s.set({id:t,ariaDescribedById:o}),s.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),s.bind("hasError").to(e,"errorText",(e=>!!e)),s.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(s),s},Ao=(e,t,o)=>{const s=new at(e.locale);return s.set({id:t,ariaDescribedById:o,inputMode:"numeric"}),s.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),s.bind("hasError").to(e,"errorText",(e=>!!e)),s.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(s),s},Co=(e,t,o)=>{const s=new dt(e.locale);return s.set({id:t,ariaDescribedById:o}),s.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),s.bind("hasError").to(e,"errorText",(e=>!!e)),s.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(s),s},To=(e,t,o)=>{const s=po(e.locale);return s.set({id:t,ariaDescribedById:o}),s.bind("isEnabled").to(e),s},Eo=(e,t=0,o=1)=>e>o?o:e<t?t:e,Po=(e,t=0,o=Math.pow(10,t))=>Math.round(o*e)/o,So=(Math.PI,e=>("#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Po(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?Po(parseInt(e.substring(6,8),16)/255,2):1})),Mo=({h:e,s:t,v:o,a:s})=>{const i=(200-t)*o/100;return{h:Po(e),s:Po(i>0&&i<200?t*o/100/(i<=100?i:200-i)*100:0),l:Po(i/2),a:Po(s,2)}},Oo=e=>{const{h:t,s:o,l:s}=Mo(e);return`hsl(${t}, ${o}%, ${s}%)`},Vo=({h:e,s:t,v:o,a:s})=>{e=e/360*6,t/=100,o/=100;const i=Math.floor(e),n=o*(1-t),r=o*(1-(e-i)*t),a=o*(1-(1-e+i)*t),c=i%6;return{r:Po(255*[o,r,n,n,a,o][c]),g:Po(255*[a,o,o,r,n,n][c]),b:Po(255*[n,n,a,o,o,r][c]),a:Po(s,2)}},Ro=e=>{const t=e.toString(16);return t.length<2?"0"+t:t},jo=({r:e,g:t,b:o,a:s})=>{const i=s<1?Ro(Po(255*s)):"";return"#"+Ro(e)+Ro(t)+Ro(o)+i},Io=({r:e,g:t,b:o,a:s})=>{const i=Math.max(e,t,o),n=i-Math.min(e,t,o),r=n?i===e?(t-o)/n:i===t?2+(o-e)/n:4+(e-t)/n:0;return{h:Po(60*(r<0?r+6:r)),s:Po(i?n/i*100:0),v:Po(i/255*100),a:s}},Bo=(e,t)=>{if(e===t)return!0;for(const o in e)if(e[o]!==t[o])return!1;return!0},Do={},No=e=>{let t=Do[e];return t||(t=document.createElement("template"),t.innerHTML=e,Do[e]=t),t},Fo=(e,t,o)=>{e.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:o}))};let Lo=!1;const zo=e=>"touches"in e,Ho=(e,t)=>{const o=zo(t)?t.touches[0]:t,s=e.el.getBoundingClientRect();Fo(e.el,"move",e.getMove({x:Eo((o.pageX-(s.left+window.pageXOffset))/s.width),y:Eo((o.pageY-(s.top+window.pageYOffset))/s.height)}))};class $o{constructor(e,t,o,s){const i=No(`<div role="slider" tabindex="0" part="${t}" ${o}><div part="${t}-pointer"></div></div>`);e.appendChild(i.content.cloneNode(!0));const n=e.querySelector(`[part=${t}]`);n.addEventListener("mousedown",this),n.addEventListener("touchstart",this),n.addEventListener("keydown",this),this.el=n,this.xy=s,this.nodes=[n.firstChild,n]}set dragging(e){const t=e?document.addEventListener:document.removeEventListener;t(Lo?"touchmove":"mousemove",this),t(Lo?"touchend":"mouseup",this)}handleEvent(e){switch(e.type){case"mousedown":case"touchstart":if(e.preventDefault(),!(e=>!(Lo&&!zo(e)||(Lo||(Lo=zo(e)),0)))(e)||!Lo&&0!=e.button)return;this.el.focus(),Ho(this,e),this.dragging=!0;break;case"mousemove":case"touchmove":e.preventDefault(),Ho(this,e);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((e,t)=>{const o=t.keyCode;o>40||e.xy&&o<37||o<33||(t.preventDefault(),Fo(e.el,"move",e.getMove({x:39===o?.01:37===o?-.01:34===o?.05:33===o?-.05:35===o?1:36===o?-1:0,y:40===o?.01:38===o?-.01:0},!0)))})(this,e)}}style(e){e.forEach(((e,t)=>{for(const o in e)this.nodes[t].style.setProperty(o,e[o])}))}}class Wo extends $o{constructor(e){super(e,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:e}){this.h=e,this.style([{left:e/360*100+"%",color:Oo({h:e,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Po(e)}`)}getMove(e,t){return{h:t?Eo(this.h+360*e.x,0,360):360*e.x}}}class qo extends $o{constructor(e){super(e,"saturation",'aria-label="Color"',!0)}update(e){this.hsva=e,this.style([{top:100-e.v+"%",left:`${e.s}%`,color:Oo(e)},{"background-color":Oo({h:e.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Po(e.s)}%, Brightness ${Po(e.v)}%`)}getMove(e,t){return{s:t?Eo(this.hsva.s+100*e.x,0,100):100*e.x,v:t?Eo(this.hsva.v-100*e.y,0,100):Math.round(100-100*e.y)}}}const Uo=Symbol("same"),Ko=Symbol("color"),Yo=Symbol("hsva"),Go=Symbol("update"),Zo=Symbol("parts"),Jo=Symbol("css"),Xo=Symbol("sliders");class Qo extends HTMLElement{static get observedAttributes(){return["color"]}get[Jo](){return[':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',"[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}","[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}"]}get[Xo](){return[qo,Wo]}get color(){return this[Ko]}set color(e){if(!this[Uo](e)){const t=this.colorModel.toHsva(e);this[Go](t),this[Ko]=e}}constructor(){super();const e=No(`<style>${this[Jo].join("")}</style>`),t=this.attachShadow({mode:"open"});t.appendChild(e.content.cloneNode(!0)),t.addEventListener("move",this),this[Zo]=this[Xo].map((e=>new e(t)))}connectedCallback(){if(this.hasOwnProperty("color")){const e=this.color;delete this.color,this.color=e}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(e,t,o){const s=this.colorModel.fromAttr(o);this[Uo](s)||(this.color=s)}handleEvent(e){const t=this[Yo],o={...t,...e.detail};let s;this[Go](o),Bo(o,t)||this[Uo](s=this.colorModel.fromHsva(o))||(this[Ko]=s,Fo(this,"color-changed",{value:s}))}[Uo](e){return this.color&&this.colorModel.equal(e,this.color)}[Go](e){this[Yo]=e,this[Zo].forEach((t=>t.update(e)))}}const es={defaultColor:"#000",toHsva:e=>Io(So(e)),fromHsva:({h:e,s:t,v:o})=>jo(Vo({h:e,s:t,v:o,a:1})),equal:(e,t)=>e.toLowerCase()===t.toLowerCase()||Bo(So(e),So(t)),fromAttr:e=>e};class ts extends Qo{get colorModel(){return es}}var os=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorpicker/colorpicker.css"),ss={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(os.A,ss);os.A.locals;class is extends V{hexInputRow;_debounceColorPickerEvent;_config;constructor(e,t={}){super(e),this.set({color:"",_hexColor:""}),this.hexInputRow=this._createInputRow();const o=this.createCollection();t.hideInput||o.add(this.hexInputRow),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker"],tabindex:-1},children:o}),this._config=t,this._debounceColorPickerEvent=(0,Xe.A)((e=>{this.set("color",e),this.fire("colorSelected",{color:this.color})}),150,{leading:!0}),this.on("set:color",((e,t,o)=>{e.return=Ze(o,this._config.format||"hsl")})),this.on("change:color",(()=>{this._hexColor=ns(this.color)})),this.on("change:_hexColor",(()=>{document.activeElement!==this.picker&&this.picker.setAttribute("color",this._hexColor),ns(this.color)!=ns(this._hexColor)&&(this.color=this._hexColor)}))}render(){var e,t;if(super.render(),e="hex-color-picker",t=ts,void 0===customElements.get(e)&&customElements.define(e,t),this.picker=s.Sf.document.createElement("hex-color-picker"),this.picker.setAttribute("class","hex-color-picker"),this.picker.setAttribute("tabindex","-1"),this._createSlidersView(),this.element){this.hexInputRow.element?this.element.insertBefore(this.picker,this.hexInputRow.element):this.element.appendChild(this.picker);const e=document.createElement("style");e.textContent='[role="slider"]:focus [part$="pointer"] {border: 1px solid #fff;outline: 1px solid var(--ck-color-focus-border);box-shadow: 0 0 0 2px #fff;}',this.picker.shadowRoot.appendChild(e)}this.picker.addEventListener("color-changed",(e=>{const t=e.detail.value;this._debounceColorPickerEvent(t)}))}focus(){if(!this._config.hideInput&&(s._K.isGecko||s._K.isiOS||s._K.isSafari)){this.hexInputRow.children.get(1).focus()}this.slidersView.first.focus()}_createSlidersView(){const e=[...this.picker.shadowRoot.children].filter((e=>"slider"===e.getAttribute("role"))).map((e=>new rs(e)));this.slidersView=this.createCollection(),e.forEach((e=>{this.slidersView.add(e)}))}_createInputRow(){const e=this._createColorInput();return new cs(this.locale,e)}_createColorInput(){const e=new tt(this.locale,xo),{t}=this.locale;return e.set({label:t("HEX"),class:"color-picker-hex-input"}),e.fieldView.bind("value").to(this,"_hexColor",(t=>e.isFocused?e.fieldView.value:t.startsWith("#")?t.substring(1):t)),e.fieldView.on("input",(()=>{const t=e.fieldView.element.value;if(t){const e=ls(t);e&&this._debounceColorPickerEvent(e)}})),e}isValid(){const{t:e}=this.locale;return!!this._config.hideInput||(this.resetValidationStatus(),!!this.hexInputRow.getParsedColor()||(this.hexInputRow.inputView.errorText=e('Please enter a valid color (e.g. "ff0000").'),!1))}resetValidationStatus(){this.hexInputRow.inputView.errorText=null}}function ns(e){let t=function(e){if(!e)return"";const t=Je(e);return t?"hex"===t.space?t.hexValue:Ze(e,"hex"):"#000"}(e);return t||(t="#000"),4===t.length&&(t="#"+[t[1],t[1],t[2],t[2],t[3],t[3]].join("")),t.toLowerCase()}class rs extends V{constructor(e){super(),this.element=e}focus(){this.element.focus()}}class as extends V{constructor(e){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__hash-view"]},children:"#"})}}class cs extends V{children;inputView;constructor(e,t){super(e),this.inputView=t,this.children=this.createCollection([new as,this.inputView]),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__row"]},children:this.children})}getParsedColor(){return ls(this.inputView.fieldView.element.value)}}function ls(e){if(!e)return null;const t=e.trim().replace(/^#/,"");return[3,4,6,8].includes(t.length)&&/^(([0-9a-fA-F]{2}){3,4}|([0-9a-fA-F]){3,4})$/.test(t)?`#${t}`:null}class ds extends((0,s.VM)(s.pM)){constructor(e){super(e),this.set("isEmpty",!0),this.on("change",(()=>{this.set("isEmpty",0===this.length)}))}add(e,t){return this.find((t=>t.color===e.color))?this:super.add(e,t)}hasColor(e){return!!this.find((t=>t.color===e))}}class hs extends V{items;colorDefinitions;focusTracker;columns;documentColors;documentColorsCount;staticColorsGrid;documentColorsGrid;colorPickerButtonView;removeColorButtonView;_focusables;_documentColorsLabel;_removeButtonLabel;_colorPickerLabel;constructor(e,{colors:t,columns:o,removeButtonLabel:s,documentColorsLabel:i,documentColorsCount:n,colorPickerLabel:r,focusTracker:a,focusables:c}){super(e);const l=this.bindTemplate;this.set("isVisible",!0),this.focusTracker=a,this.items=this.createCollection(),this.colorDefinitions=t,this.columns=o,this.documentColors=new ds,this.documentColorsCount=n,this._focusables=c,this._removeButtonLabel=s,this._colorPickerLabel=r,this._documentColorsLabel=i,this.setTemplate({tag:"div",attributes:{class:["ck-color-grids-fragment",l.if("isVisible","ck-hidden",(e=>!e))]},children:this.items}),this.removeColorButtonView=this._createRemoveColorButton(),this.items.add(this.removeColorButtonView)}updateDocumentColors(e,t){const o=e.document,s=this.documentColorsCount;this.documentColors.clear();for(const i of o.getRoots()){const o=e.createRangeIn(i);for(const e of o.getItems())if(e.is("$textProxy")&&e.hasAttribute(t)&&(this._addColorToDocumentColors(e.getAttribute(t)),this.documentColors.length>=s))return}}updateSelectedColors(){const e=this.documentColorsGrid,t=this.staticColorsGrid,o=this.selectedColor;t.selectedColor=o,e&&(e.selectedColor=o)}render(){if(super.render(),this.staticColorsGrid=this._createStaticColorsGrid(),this.items.add(this.staticColorsGrid),this.documentColorsCount){const e=a.bind(this.documentColors,this.documentColors),t=new V(this.locale);t.setTemplate({tag:"span",attributes:{class:["ck","ck-color-grid__label",e.if("isEmpty","ck-hidden")]},children:[{text:this._documentColorsLabel}]}),this.items.add(t),this.documentColorsGrid=this._createDocumentColorsGrid(),this.items.add(this.documentColorsGrid)}this._createColorPickerButton(),this._addColorSelectorElementsToFocusTracker()}focus(){this.removeColorButtonView.focus()}destroy(){super.destroy()}addColorPickerButton(){this.colorPickerButtonView&&(this.items.add(this.colorPickerButtonView),this.focusTracker.add(this.colorPickerButtonView.element),this._focusables.add(this.colorPickerButtonView))}_addColorSelectorElementsToFocusTracker(){this.focusTracker.add(this.removeColorButtonView.element),this._focusables.add(this.removeColorButtonView),this.staticColorsGrid&&(this.focusTracker.add(this.staticColorsGrid.element),this._focusables.add(this.staticColorsGrid)),this.documentColorsGrid&&(this.focusTracker.add(this.documentColorsGrid.element),this._focusables.add(this.documentColorsGrid))}_createColorPickerButton(){this.colorPickerButtonView=new q,this.colorPickerButtonView.set({label:this._colorPickerLabel,withText:!0,icon:N.Pt.colorPalette,class:"ck-color-selector__color-picker"}),this.colorPickerButtonView.on("execute",(()=>{this.fire("colorPicker:show")}))}_createRemoveColorButton(){const e=new q;return e.set({withText:!0,icon:N.Pt.eraser,label:this._removeButtonLabel}),e.class="ck-color-selector__remove-color",e.on("execute",(()=>{this.fire("execute",{value:null,source:"removeColorButton"})})),e.render(),e}_createStaticColorsGrid(){const e=new qe(this.locale,{colorDefinitions:this.colorDefinitions,columns:this.columns});return e.on("execute",((e,t)=>{this.fire("execute",{value:t.value,source:"staticColorsGrid"})})),e}_createDocumentColorsGrid(){const e=a.bind(this.documentColors,this.documentColors),t=new qe(this.locale,{columns:this.columns});return t.extendTemplate({attributes:{class:e.if("isEmpty","ck-hidden")}}),t.items.bindTo(this.documentColors).using((e=>{const t=new He;return t.set({color:e.color,hasBorder:e.options&&e.options.hasBorder}),e.label&&t.set({label:e.label,tooltip:!0}),t.on("execute",(()=>{this.fire("execute",{value:e.color,source:"documentColorsGrid"})})),t})),this.documentColors.on("change:isEmpty",((e,o,s)=>{s&&(t.selectedColor=null)})),t}_addColorToDocumentColors(e){const t=this.colorDefinitions.find((t=>t.color===e));t?this.documentColors.add(Object.assign({},t)):this.documentColors.add({color:e,label:e,options:{hasBorder:!1}})}}class us extends V{items;colorPickerView;saveButtonView;cancelButtonView;actionBarView;focusTracker;keystrokes;_focusables;_colorPickerViewConfig;constructor(e,{focusTracker:t,focusables:o,keystrokes:s,colorPickerViewConfig:i}){super(e),this.items=this.createCollection(),this.focusTracker=t,this.keystrokes=s,this.set("isVisible",!1),this.set("selectedColor",void 0),this._focusables=o,this._colorPickerViewConfig=i;const n=this.bindTemplate,{saveButtonView:r,cancelButtonView:a}=this._createActionButtons();this.saveButtonView=r,this.cancelButtonView=a,this.actionBarView=this._createActionBarView({saveButtonView:r,cancelButtonView:a}),this.setTemplate({tag:"div",attributes:{class:["ck-color-picker-fragment",n.if("isVisible","ck-hidden",(e=>!e))]},children:this.items})}render(){super.render();const e=new is(this.locale,{...this._colorPickerViewConfig});this.colorPickerView=e,this.colorPickerView.render(),this.selectedColor&&(e.color=this.selectedColor),this.listenTo(this,"change:selectedColor",((t,o,s)=>{e.color=s})),this.items.add(this.colorPickerView),this.items.add(this.actionBarView),this._addColorPickersElementsToFocusTracker(),this._stopPropagationOnArrowsKeys(),this._executeOnEnterPress(),this._executeUponColorChange()}destroy(){super.destroy()}focus(){this.colorPickerView.focus()}resetValidationStatus(){this.colorPickerView.resetValidationStatus()}_executeOnEnterPress(){this.keystrokes.set("enter",(e=>{this.isVisible&&this.focusTracker.focusedElement!==this.cancelButtonView.element&&this.colorPickerView.isValid()&&(this.fire("execute",{value:this.selectedColor}),e.stopPropagation(),e.preventDefault())}))}_stopPropagationOnArrowsKeys(){const e=e=>e.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}_addColorPickersElementsToFocusTracker(){for(const e of this.colorPickerView.slidersView)this.focusTracker.add(e.element),this._focusables.add(e);const e=this.colorPickerView.hexInputRow.children.get(1);e.element&&(this.focusTracker.add(e.element),this._focusables.add(e)),this.focusTracker.add(this.saveButtonView.element),this._focusables.add(this.saveButtonView),this.focusTracker.add(this.cancelButtonView.element),this._focusables.add(this.cancelButtonView)}_createActionBarView({saveButtonView:e,cancelButtonView:t}){const o=new V,s=this.createCollection();return s.add(e),s.add(t),o.setTemplate({tag:"div",attributes:{class:["ck","ck-color-selector_action-bar"]},children:s}),o}_createActionButtons(){const e=this.locale,t=e.t,o=new q(e),s=new q(e);return o.set({icon:N.Pt.check,class:"ck-button-save",type:"button",withText:!1,label:t("Accept")}),s.set({icon:N.Pt.cancel,class:"ck-button-cancel",type:"button",withText:!1,label:t("Cancel")}),o.on("execute",(()=>{this.colorPickerView.isValid()&&this.fire("execute",{source:"colorPickerSaveButton",value:this.selectedColor})})),s.on("execute",(()=>{this.fire("colorPicker:cancel")})),{saveButtonView:o,cancelButtonView:s}}_executeUponColorChange(){this.colorPickerView.on("colorSelected",((e,t)=>{this.fire("execute",{value:t.color,source:"colorPicker"}),this.set("selectedColor",t.color)}))}}var ms=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorselector/colorselector.css"),ps={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(ms.A,ps);ms.A.locals;class fs extends V{focusTracker;keystrokes;items;colorGridsFragmentView;colorPickerFragmentView;_focusCycler;_focusables;_colorPickerViewConfig;constructor(e,{colors:t,columns:o,removeButtonLabel:n,documentColorsLabel:r,documentColorsCount:a,colorPickerLabel:c,colorPickerViewConfig:l}){super(e),this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this._focusables=new i,this._colorPickerViewConfig=l,this._focusCycler=new Z({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.colorGridsFragmentView=new hs(e,{colors:t,columns:o,removeButtonLabel:n,documentColorsLabel:r,documentColorsCount:a,colorPickerLabel:c,focusTracker:this.focusTracker,focusables:this._focusables}),this.colorPickerFragmentView=new us(e,{focusables:this._focusables,focusTracker:this.focusTracker,keystrokes:this.keystrokes,colorPickerViewConfig:l}),this.set("_isColorGridsFragmentVisible",!0),this.set("_isColorPickerFragmentVisible",!1),this.set("selectedColor",void 0),this.colorGridsFragmentView.bind("isVisible").to(this,"_isColorGridsFragmentVisible"),this.colorPickerFragmentView.bind("isVisible").to(this,"_isColorPickerFragmentVisible"),this.on("change:selectedColor",((e,t,o)=>{this.colorGridsFragmentView.set("selectedColor",o),this.colorPickerFragmentView.set("selectedColor",o)})),this.colorGridsFragmentView.on("change:selectedColor",((e,t,o)=>{this.set("selectedColor",o)})),this.colorPickerFragmentView.on("change:selectedColor",((e,t,o)=>{this.set("selectedColor",o)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-selector"]},children:this.items})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}appendUI(){this._appendColorGridsFragment(),this._colorPickerViewConfig&&this._appendColorPickerFragment()}showColorPickerFragment(){this.colorPickerFragmentView.colorPickerView&&!this._isColorPickerFragmentVisible&&(this._isColorPickerFragmentVisible=!0,this.colorPickerFragmentView.focus(),this.colorPickerFragmentView.resetValidationStatus(),this._isColorGridsFragmentVisible=!1)}showColorGridsFragment(){this._isColorGridsFragmentVisible||(this._isColorGridsFragmentVisible=!0,this.colorGridsFragmentView.focus(),this._isColorPickerFragmentVisible=!1)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}updateDocumentColors(e,t){this.colorGridsFragmentView.updateDocumentColors(e,t)}updateSelectedColors(){this.colorGridsFragmentView.updateSelectedColors()}_appendColorGridsFragment(){this.items.length||(this.items.add(this.colorGridsFragmentView),this.colorGridsFragmentView.delegate("execute").to(this),this.colorGridsFragmentView.delegate("colorPicker:show").to(this))}_appendColorPickerFragment(){2!==this.items.length&&(this.items.add(this.colorPickerFragmentView),this.colorGridsFragmentView.colorPickerButtonView&&this.colorGridsFragmentView.colorPickerButtonView.on("execute",(()=>{this.showColorPickerFragment()})),this.colorGridsFragmentView.addColorPickerButton(),this.colorPickerFragmentView.delegate("execute").to(this),this.colorPickerFragmentView.delegate("colorPicker:cancel").to(this))}}class gs{editor;_components=new Map;constructor(e){this.editor=e}*names(){for(const e of this._components.values())yield e.originalName}add(e,t){this._components.set(_s(e),{callback:t,originalName:e})}create(e){if(!this.has(e))throw new s.Yb("componentfactory-item-missing",this,{name:e});return this._components.get(_s(e)).callback(this.editor.locale)}has(e){return this._components.has(_s(e))}}function _s(e){return String(e).toLowerCase()}var bs=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/tooltip/tooltip.css"),ks={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(bs.A,ks);bs.A.locals;const ws="ck-tooltip";class vs extends((0,s.c5)()){tooltipTextView;balloonPanelView;static defaultBalloonPositions=zt.generatePositions({heightOffset:5,sideOffset:13});_currentElementWithTooltip=null;_currentTooltipPosition=null;_mutationObserver=null;_pinTooltipDebounced;_unpinTooltipDebounced;_watchdogExcluded;static _editors=new Set;static _instance=null;constructor(e){if(super(),vs._editors.add(e),vs._instance)return vs._instance;vs._instance=this,this.tooltipTextView=new V(e.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new zt(e.locale),this.balloonPanelView.class=ws,this.balloonPanelView.content.add(this.tooltipTextView),this._mutationObserver=function(e){const t=new MutationObserver((()=>{e()}));return{attach(e){t.observe(e,{attributes:!0,attributeFilter:["data-cke-tooltip-text","data-cke-tooltip-position"]})},detach(){t.disconnect()}}}((()=>{this._updateTooltipPosition()})),this._pinTooltipDebounced=(0,Xe.A)(this._pinTooltip,600),this._unpinTooltipDebounced=(0,Xe.A)(this._unpinTooltip,400),this.listenTo(s.Sf.document,"keydown",this._onKeyDown.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(e){const t=e.ui.view&&e.ui.view.body;vs._editors.delete(e),this.stopListening(e.ui),t&&t.has(this.balloonPanelView)&&t.remove(this.balloonPanelView),vs._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),vs._instance=null)}static getPositioningFunctions(e){const t=vs.defaultBalloonPositions;return{s:[t.southArrowNorth,t.southArrowNorthEast,t.southArrowNorthWest],n:[t.northArrowSouth],e:[t.eastArrowWest],w:[t.westArrowEast],sw:[t.southArrowNorthEast],se:[t.southArrowNorthWest]}[e]}_onKeyDown(e,t){"Escape"===t.key&&this._currentElementWithTooltip&&(this._unpinTooltip(),t.stopPropagation())}_onEnterOrFocus(e,{target:t}){const o=ys(t);o?o!==this._currentElementWithTooltip&&(this._unpinTooltip(),"focus"!==e.name||o.matches(":hover")?this._pinTooltipDebounced(o,xs(o)):this._pinTooltip(o,xs(o))):"focus"===e.name&&this._unpinTooltip()}_onLeaveOrBlur(e,{target:t,relatedTarget:o}){if("mouseleave"===e.name){if(!(0,Bt.A)(t))return;const e=this.balloonPanelView.element,s=e&&(e===o||e.contains(o)),i=!s&&t===e;if(s)return void this._unpinTooltipDebounced.cancel();if(!i&&this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;const n=ys(t),r=ys(o);(i||n&&n!==r)&&this._unpinTooltipDebounced()}else{if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;this._unpinTooltipDebounced()}}_onScroll(e,{target:t}){this._currentElementWithTooltip&&(t.contains(this.balloonPanelView.element)&&t.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(e,{text:t,position:o,cssClass:i}){this._unpinTooltip();const n=(0,s.$1)(vs._editors.values()).ui.view.body;n.has(this.balloonPanelView)||n.add(this.balloonPanelView),this.tooltipTextView.text=t,this.balloonPanelView.class=[ws,i].filter((e=>e)).join(" "),this.balloonPanelView.pin({target:e,positions:vs.getPositioningFunctions(o)}),this._mutationObserver.attach(e);for(const e of vs._editors)this.listenTo(e.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=e,this._currentTooltipPosition=o}_unpinTooltip(){this._unpinTooltipDebounced.cancel(),this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const e of vs._editors)this.stopListening(e.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this.tooltipTextView.text="",this._mutationObserver.detach()}_updateTooltipPosition(){if(!this._currentElementWithTooltip)return;const e=xs(this._currentElementWithTooltip);(0,s.zN)(this._currentElementWithTooltip)&&e.text?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:vs.getPositioningFunctions(e.position)}):this._unpinTooltip()}}function ys(e){return(0,Bt.A)(e)?e.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}function xs(e){return{text:e.dataset.ckeTooltipText,position:e.dataset.ckeTooltipPosition||"s",cssClass:e.dataset.ckeTooltipClass||""}}var As=o("./node_modules/lodash-es/throttle.js");class Cs extends((0,s.c5)()){editor;_balloonView;_showBalloonThrottled;_lastFocusedEditableElement;constructor(e){super(),this.editor=e,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=(0,As.A)(this._showBalloon.bind(this),50,{leading:!0}),e.on("ready",this._handleEditorReady.bind(this))}destroy(){const e=this._balloonView;e&&(e.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const e=this.editor;(!!e.config.get("ui.poweredBy.forceVisible")||"VALID"!==(0,s.rQ)(e.config.get("licenseKey")))&&e.ui.view&&(e.ui.focusTracker.on("change:isFocused",((e,t,o)=>{this._updateLastFocusedEditableElement(),o?this._showBalloon():this._hideBalloon()})),e.ui.focusTracker.on("change:focusedElement",((e,t,o)=>{this._updateLastFocusedEditableElement(),o&&this._showBalloon()})),e.ui.on("update",(()=>{this._showBalloonThrottled()})))}_createBalloonView(){const e=this.editor,t=this._balloonView=new zt,o=Ps(e),s=new Ts(e.locale,o.label);t.content.add(s),t.set({class:"ck-powered-by-balloon"}),e.ui.view.body.add(t),this._balloonView=t}_showBalloon(){if(!this._lastFocusedEditableElement)return;const e=function(e,t){const o=Ps(e),s="right"===o.side?function(e,t){return Es(e,t,((e,o)=>e.left+e.width-o.width-t.horizontalOffset))}(t,o):function(e,t){return Es(e,t,(e=>e.left+t.horizontalOffset))}(t,o);return{target:t,positions:[s]}}(this.editor,this._lastFocusedEditableElement);e&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(e))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const e=this.editor,t=e.ui.focusTracker.isFocused,o=e.ui.focusTracker.focusedElement;if(!t||!o)return void(this._lastFocusedEditableElement=null);const s=Array.from(e.ui.getEditableElementsNames()).map((t=>e.ui.getEditableElement(t)));s.includes(o)?this._lastFocusedEditableElement=o:this._lastFocusedEditableElement=s[0]}}class Ts extends V{constructor(e,t){super(e);const o=new z,s=this.bindTemplate;o.set({content:'<svg xmlns="http://www.w3.org/2000/svg" width="53" height="10" viewBox="0 0 53 10"><path fill="#1C2331" d="M31.724 1.492a15.139 15.139 0 0 0 .045 1.16 2.434 2.434 0 0 0-.687-.34 3.68 3.68 0 0 0-1.103-.166 2.332 2.332 0 0 0-1.14.255 1.549 1.549 0 0 0-.686.87c-.15.41-.225.98-.225 1.712 0 .939.148 1.659.444 2.161.297.503.792.754 1.487.754.452.015.9-.094 1.294-.316.296-.174.557-.4.771-.669l.14.852h1.282V.007h-1.623v1.485ZM31 6.496a1.77 1.77 0 0 1-.494.061.964.964 0 0 1-.521-.127.758.758 0 0 1-.296-.466 3.984 3.984 0 0 1-.093-.992 4.208 4.208 0 0 1 .098-1.052.753.753 0 0 1 .307-.477 1.08 1.08 0 0 1 .55-.122c.233-.004.466.026.69.089l.483.144v2.553c-.11.076-.213.143-.307.2a1.73 1.73 0 0 1-.417.189ZM35.68 0l-.702.004c-.322.002-.482.168-.48.497l.004.581c.002.33.164.493.486.49l.702-.004c.322-.002.481-.167.48-.496L36.165.49c-.002-.33-.164-.493-.486-.491ZM36.145 2.313l-1.612.01.034 5.482 1.613-.01-.035-5.482ZM39.623.79 37.989.8 38 2.306l-.946.056.006 1.009.949-.006.024 2.983c.003.476.143.844.419 1.106.275.26.658.39 1.148.387.132 0 .293-.01.483-.03.19-.02.38-.046.57-.08.163-.028.324-.068.482-.119l-.183-1.095-.702.004a.664.664 0 0 1-.456-.123.553.553 0 0 1-.14-.422l-.016-2.621 1.513-.01-.006-1.064-1.514.01-.01-1.503ZM46.226 2.388c-.41-.184-.956-.274-1.636-.27-.673.004-1.215.101-1.627.29-.402.179-.72.505-.888.91-.18.419-.268.979-.264 1.68.004.688.1 1.24.285 1.655.172.404.495.724.9.894.414.18.957.268 1.63.264.68-.004 1.224-.099 1.632-.284.4-.176.714-.501.878-.905.176-.418.263-.971.258-1.658-.004-.702-.097-1.261-.28-1.677a1.696 1.696 0 0 0-.888-.9Zm-.613 3.607a.77.77 0 0 1-.337.501 1.649 1.649 0 0 1-1.317.009.776.776 0 0 1-.343-.497 4.066 4.066 0 0 1-.105-1.02 4.136 4.136 0 0 1 .092-1.03.786.786 0 0 1 .337-.507 1.59 1.59 0 0 1 1.316-.008.79.79 0 0 1 .344.502c.078.337.113.683.105 1.03.012.343-.019.685-.092 1.02ZM52.114 2.07a2.67 2.67 0 0 0-1.128.278c-.39.191-.752.437-1.072.73l-.157-.846-1.273.008.036 5.572 1.623-.01-.024-3.78c.35-.124.646-.22.887-.286.26-.075.53-.114.8-.118l.45-.003.144-1.546-.286.001ZM22.083 7.426l-1.576-2.532a2.137 2.137 0 0 0-.172-.253 1.95 1.95 0 0 0-.304-.29.138.138 0 0 1 .042-.04 1.7 1.7 0 0 0 .328-.374l1.75-2.71c.01-.015.025-.028.024-.048-.01-.01-.021-.007-.031-.007L20.49 1.17a.078.078 0 0 0-.075.045l-.868 1.384c-.23.366-.46.732-.688 1.099a.108.108 0 0 1-.112.06c-.098-.005-.196-.001-.294-.002-.018 0-.038.006-.055-.007.002-.02.002-.039.005-.058a4.6 4.6 0 0 0 .046-.701V1.203c0-.02-.009-.032-.03-.03h-.033L16.93 1.17c-.084 0-.073-.01-.073.076v6.491c-.001.018.006.028.025.027h1.494c.083 0 .072.007.072-.071v-2.19c0-.055-.003-.11-.004-.166a3.366 3.366 0 0 0-.05-.417h.06c.104 0 .209.002.313-.002a.082.082 0 0 1 .084.05c.535.913 1.07 1.824 1.607 2.736a.104.104 0 0 0 .103.062c.554-.003 1.107-.002 1.66-.002l.069-.003-.019-.032-.188-.304ZM27.112 6.555c-.005-.08-.004-.08-.082-.08h-2.414c-.053 0-.106-.003-.159-.011a.279.279 0 0 1-.246-.209.558.558 0 0 1-.022-.15c0-.382 0-.762-.002-1.143 0-.032.007-.049.042-.044h2.504c.029.003.037-.012.034-.038V3.814c0-.089.013-.078-.076-.078h-2.44c-.07 0-.062.003-.062-.06v-.837c0-.047.004-.093.013-.14a.283.283 0 0 1 .241-.246.717.717 0 0 1 .146-.011h2.484c.024.002.035-.009.036-.033l.003-.038.03-.496c.01-.183.024-.365.034-.548.005-.085.003-.087-.082-.094-.218-.018-.437-.038-.655-.05a17.845 17.845 0 0 0-.657-.026 72.994 72.994 0 0 0-1.756-.016 1.7 1.7 0 0 0-.471.064 1.286 1.286 0 0 0-.817.655c-.099.196-.149.413-.145.633v3.875c0 .072.003.144.011.216a1.27 1.27 0 0 0 .711 1.029c.228.113.48.167.734.158.757-.005 1.515.002 2.272-.042.274-.016.548-.034.82-.053.03-.002.043-.008.04-.041-.008-.104-.012-.208-.019-.312a69.964 69.964 0 0 1-.05-.768ZM16.14 7.415l-.127-1.075c-.004-.03-.014-.04-.044-.037a13.125 13.125 0 0 1-.998.073c-.336.01-.672.02-1.008.016-.116-.001-.233-.014-.347-.039a.746.746 0 0 1-.45-.262c-.075-.1-.132-.211-.167-.33a3.324 3.324 0 0 1-.126-.773 9.113 9.113 0 0 1-.015-.749c0-.285.022-.57.065-.852.023-.158.066-.312.127-.46a.728.728 0 0 1 .518-.443 1.64 1.64 0 0 1 .397-.048c.628-.001 1.255.003 1.882.05.022.001.033-.006.036-.026l.003-.031.06-.55c.019-.177.036-.355.057-.532.004-.034-.005-.046-.04-.056a5.595 5.595 0 0 0-1.213-.21 10.783 10.783 0 0 0-.708-.02c-.24-.003-.48.01-.719.041a3.477 3.477 0 0 0-.625.14 1.912 1.912 0 0 0-.807.497c-.185.2-.33.433-.424.688a4.311 4.311 0 0 0-.24 1.096c-.031.286-.045.572-.042.86-.006.43.024.86.091 1.286.04.25.104.497.193.734.098.279.26.53.473.734.214.205.473.358.756.446.344.11.702.17 1.063.177a8.505 8.505 0 0 0 1.578-.083 6.11 6.11 0 0 0 .766-.18c.03-.008.047-.023.037-.057a.157.157 0 0 1-.003-.025Z"/><path fill="#AFE229" d="M6.016 6.69a1.592 1.592 0 0 0-.614.21c-.23.132-.422.32-.56.546-.044.072-.287.539-.287.539l-.836 1.528.009.006c.038.025.08.046.123.063.127.046.26.07.395.073.505.023 1.011-.007 1.517-.003.29.009.58.002.869-.022a.886.886 0 0 0 .395-.116.962.962 0 0 0 .312-.286c.056-.083.114-.163.164-.249.24-.408.48-.816.718-1.226.075-.128.148-.257.222-.386l.112-.192a1.07 1.07 0 0 0 .153-.518l-1.304.023s-1.258-.005-1.388.01Z"/><path fill="#771BFF" d="m2.848 9.044.76-1.39.184-.352c-.124-.067-.245-.14-.367-.21-.346-.204-.706-.384-1.045-.6a.984.984 0 0 1-.244-.207c-.108-.134-.136-.294-.144-.46-.021-.409-.002-.818-.009-1.227-.003-.195 0-.39.003-.585.004-.322.153-.553.427-.713l.833-.488c.22-.13.44-.257.662-.385.05-.029.105-.052.158-.077.272-.128.519-.047.76.085l.044.028c.123.06.242.125.358.196.318.178.635.357.952.537.095.056.187.117.275.184.194.144.254.35.266.578.016.284.007.569.006.853-.001.28.004.558 0 .838.592-.003 1.259 0 1.259 0l.723-.013c-.003-.292-.007-.584-.007-.876 0-.524.015-1.048-.016-1.571-.024-.42-.135-.8-.492-1.067a5.02 5.02 0 0 0-.506-.339A400.52 400.52 0 0 0 5.94.787C5.722.664 5.513.524 5.282.423 5.255.406 5.228.388 5.2.373 4.758.126 4.305-.026 3.807.21c-.097.046-.197.087-.29.14A699.896 699.896 0 0 0 .783 1.948c-.501.294-.773.717-.778 1.31-.004.36-.009.718-.001 1.077.016.754-.017 1.508.024 2.261.016.304.07.6.269.848.127.15.279.28.448.382.622.4 1.283.734 1.92 1.11l.183.109Z"/></svg>\n',isColorInherited:!1}),o.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...t?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[t]}]:[],o],on:{dragstart:s.to((e=>e.preventDefault()))}}]})}}function Es(e,t,o){return(i,n)=>{const r=new s.rw(e);if(r.width<350||r.height<50)return null;let a;a="inside"===t.position?r.bottom-n.height:r.bottom-n.height/2,a-=t.verticalOffset;const c=o(r,n),l=i.clone().moveTo(c,a).getIntersection(n.clone().moveTo(c,a)).getVisible();return!l||l.getArea()<n.getArea()?null:{top:a,left:c,name:`position_${t.position}-side_${t.side}`,config:{withArrow:!1}}}}function Ps(e){const t=e.config.get("ui.poweredBy"),o=t&&t.position||"border";return{position:o,label:"Powered by",verticalOffset:"inside"===o?5:0,horizontalOffset:5,side:"ltr"===e.locale.contentLanguageDirection?"right":"left",...t}}var Ss=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"),Ms={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Ss.A,Ms);Ss.A.locals;const Os={POLITE:"polite",ASSERTIVE:"assertive"};class Vs{editor;view;constructor(e){this.editor=e,e.once("ready",(()=>{for(const e of Object.values(Os))this.announce("",e)}))}announce(e,t=Os.POLITE){const o=this.editor;if(!o.ui.view)return;this.view||(this.view=new Rs(o.locale),o.ui.view.body.add(this.view));const{politeness:s,isUnsafeHTML:i}="string"==typeof t?{politeness:t}:t;let n=this.view.regionViews.find((e=>e.politeness===s));n||(n=new js(o,s),this.view.regionViews.add(n)),n.announce({announcement:e,isUnsafeHTML:i})}}class Rs extends V{regionViews;constructor(e){super(e),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class js extends V{politeness;_domConverter;_pruneAnnouncementsInterval;constructor(e,t){super(e.locale),this.setTemplate({tag:"div",attributes:{"aria-live":t,"aria-relevant":"additions"},children:[{tag:"ul",attributes:{class:["ck","ck-aria-live-region-list"]}}]}),e.on("destroy",(()=>{null!==this._pruneAnnouncementsInterval&&(clearInterval(this._pruneAnnouncementsInterval),this._pruneAnnouncementsInterval=null)})),this.politeness=t,this._domConverter=e.data.htmlProcessor.domConverter,this._pruneAnnouncementsInterval=setInterval((()=>{this.element&&this._listElement.firstChild&&this._listElement.firstChild.remove()}),5e3)}announce({announcement:e,isUnsafeHTML:t}){if(!e.trim().length)return;const o=document.createElement("li");t?this._domConverter.setContentOf(o,e):o.innerText=e,this._listElement.appendChild(o)}get _listElement(){return this.element.querySelector("ul")}}var Is=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitem.css"),Bs={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Is.A,Bs);Is.A.locals;class Ds extends xt{constructor(e,t){super(e);const o=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item"]},on:{mouseenter:o.to("mouseenter")}}),this.delegate("mouseenter").to(t)}}var Ns=o("./node_modules/lodash-es/cloneDeep.js");const Fs={toggleMenusAndFocusItemsOnHover(e){e.on("menu:mouseenter",(t=>{if(e.isFocusBorderEnabled||e.isOpen){if(e.isOpen)for(const o of e.menus){const e=t.path[0],s=e instanceof Ds&&e.children.first===o;o.isOpen=(t.path.includes(o)||s)&&o.isEnabled}t.source.focus()}}))},focusCycleMenusOnArrows(e){const t="rtl"===e.locale.uiLanguageDirection;function o(t,o){const s=e.children.getIndex(t),i=t.isOpen,n=e.children.length,r=e.children.get((s+n+o)%n);t.isOpen=!1,i&&(r.isOpen=!0),r.buttonView.focus()}e.on("menu:arrowright",(e=>{o(e.source,t?-1:1)})),e.on("menu:arrowleft",(e=>{o(e.source,t?1:-1)}))},closeMenusWhenTheBarCloses(e){e.on("change:isOpen",(()=>{e.isOpen||e.menus.forEach((e=>{e.isOpen=!1}))}))},closeMenuWhenAnotherOnTheSameLevelOpens(e){e.on("menu:change:isOpen",((t,o,s)=>{s&&e.menus.filter((e=>t.source.parentMenuView===e.parentMenuView&&t.source!==e&&e.isOpen)).forEach((e=>{e.isOpen=!1}))}))},closeOnClickOutside(e){R({emitter:e,activator:()=>e.isOpen,callback:()=>e.close(),contextElements:()=>e.children.map((e=>e.element))})},enableFocusHighlightOnInteraction(e){let t=!1;e.on("change:isOpen",((o,s,i)=>{i||(t||(e.isFocusBorderEnabled=!1),t=!1)})),e.listenTo(e.element,"keydown",(()=>{t=!0}),{useCapture:!0}),e.listenTo(e.element,"keyup",(()=>{t=!1}),{useCapture:!0}),e.listenTo(e.element,"focus",(()=>{t&&(e.isFocusBorderEnabled=!0)}),{useCapture:!0})}},Ls={openAndFocusPanelOnArrowDownKey(e){e.keystrokes.set("arrowdown",((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&(e.isOpen||(e.isOpen=!0),e.panelView.focus(),o())}))},openOnArrowRightKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowleft":"arrowright";e.keystrokes.set(t,((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&e.isEnabled&&(e.isOpen||(e.isOpen=!0),e.panelView.focus(),o())}))},openOnButtonClick(e){e.buttonView.on("execute",(()=>{e.isOpen=!0}))},toggleOnButtonClick(e){e.buttonView.on("execute",(()=>{e.isOpen=!e.isOpen}))},openAndFocusOnEnterKeyPress(e){e.keystrokes.set("enter",((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&(e.isOpen=!0,e.panelView.focus(),o())}))},closeOnArrowLeftKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowright":"arrowleft";e.keystrokes.set(t,((t,o)=>{e.isOpen&&(e.isOpen=!1,e.focus(),o())}))},closeOnEscKey(e){e.keystrokes.set("esc",((t,o)=>{e.isOpen&&(e.isOpen=!1,e.focus(),o())}))},closeOnParentClose(e){e.parentMenuView.on("change:isOpen",((t,o,s)=>{s||t.source!==e.parentMenuView||(e.isOpen=!1)}))}},zs={southEast:e=>({top:e.bottom,left:e.left,name:"se"}),southWest:(e,t)=>({top:e.bottom,left:e.left-t.width+e.width,name:"sw"}),northEast:(e,t)=>({top:e.top-t.height,left:e.left,name:"ne"}),northWest:(e,t)=>({top:e.top-t.height,left:e.left-t.width+e.width,name:"nw"}),eastSouth:e=>({top:e.top,left:e.right-5,name:"es"}),eastNorth:(e,t)=>({top:e.top-t.height,left:e.right-5,name:"en"}),westSouth:(e,t)=>({top:e.top,left:e.left-t.width+5,name:"ws"}),westNorth:(e,t)=>({top:e.top-t.height,left:e.left-t.width+5,name:"wn"})},Hs=[{menuId:"file",label:"File",groups:[{groupId:"export",items:["menuBar:exportPdf","menuBar:exportWord"]},{groupId:"import",items:["menuBar:importWord"]},{groupId:"revisionHistory",items:["menuBar:revisionHistory"]}]},{menuId:"edit",label:"Edit",groups:[{groupId:"undo",items:["menuBar:undo","menuBar:redo"]},{groupId:"selectAll",items:["menuBar:selectAll"]},{groupId:"findAndReplace",items:["menuBar:findAndReplace"]}]},{menuId:"view",label:"View",groups:[{groupId:"sourceEditing",items:["menuBar:sourceEditing"]},{groupId:"showBlocks",items:["menuBar:showBlocks"]},{groupId:"previewMergeFields",items:["menuBar:previewMergeFields"]},{groupId:"restrictedEditing",items:["menuBar:restrictedEditing"]}]},{menuId:"insert",label:"Insert",groups:[{groupId:"insertMainWidgets",items:["menuBar:insertImage","menuBar:ckbox","menuBar:ckfinder","menuBar:insertTable"]},{groupId:"insertInline",items:["menuBar:link","menuBar:comment","menuBar:insertMergeField"]},{groupId:"insertMinorWidgets",items:["menuBar:mediaEmbed","menuBar:insertTemplate","menuBar:specialCharacters","menuBar:blockQuote","menuBar:codeBlock","menuBar:htmlEmbed"]},{groupId:"insertStructureWidgets",items:["menuBar:horizontalLine","menuBar:pageBreak","menuBar:tableOfContents"]},{groupId:"restrictedEditingException",items:["menuBar:restrictedEditingException"]}]},{menuId:"format",label:"Format",groups:[{groupId:"textAndFont",items:[{menuId:"text",label:"Text",groups:[{groupId:"basicStyles",items:["menuBar:bold","menuBar:italic","menuBar:underline","menuBar:strikethrough","menuBar:superscript","menuBar:subscript","menuBar:code"]},{groupId:"textPartLanguage",items:["menuBar:textPartLanguage"]}]},{menuId:"font",label:"Font",groups:[{groupId:"fontProperties",items:["menuBar:fontSize","menuBar:fontFamily"]},{groupId:"fontColors",items:["menuBar:fontColor","menuBar:fontBackgroundColor"]},{groupId:"highlight",items:["menuBar:highlight"]}]},"menuBar:heading"]},{groupId:"list",items:["menuBar:bulletedList","menuBar:numberedList","menuBar:multiLevelList","menuBar:todoList"]},{groupId:"indent",items:["menuBar:alignment","menuBar:indent","menuBar:outdent"]},{groupId:"caseChange",items:["menuBar:caseChange"]},{groupId:"removeFormat",items:["menuBar:removeFormat"]}]},{menuId:"tools",label:"Tools",groups:[{groupId:"aiTools",items:["menuBar:aiAssistant","menuBar:aiCommands"]},{groupId:"tools",items:["menuBar:trackChanges","menuBar:commentsArchive"]}]},{menuId:"help",label:"Help",groups:[{groupId:"help",items:["menuBar:accessibilityHelp"]}]}];function $s(e){let t;return t="items"in e&&e.items?{items:e.items,removeItems:[],addItems:[],isVisible:!0,isUsingDefaultConfig:!1,...e}:{items:(0,Ns.A)(Hs),addItems:[],removeItems:[],isVisible:!0,isUsingDefaultConfig:!0,...e},t}function Ws({normalizedConfig:e,locale:t,componentFactory:o,extraItems:i}){const n=(0,Ns.A)(e);return qs(e,n,i),function(e,t){const o=t.removeItems,i=[];t.items=t.items.filter((({menuId:e})=>!o.includes(e)||(i.push(e),!1))),Gs(t.items,(e=>{e.groups=e.groups.filter((({groupId:e})=>!o.includes(e)||(i.push(e),!1)));for(const t of e.groups)t.items=t.items.filter((e=>{const t=Qs(e);return!o.includes(t)||(i.push(t),!1)}))}));for(const t of o)i.includes(t)||(0,s.FF)("menu-bar-item-could-not-be-removed",{menuBarConfig:e,itemName:t})}(e,n),qs(e,n,n.addItems),function(e,t,o){Gs(t.items,(i=>{for(const n of i.groups)n.items=n.items.filter((n=>{const r="string"==typeof n&&!o.has(n);return r&&!t.isUsingDefaultConfig&&(0,s.FF)("menu-bar-item-unavailable",{menuBarConfig:e,parentMenuConfig:(0,Ns.A)(i),componentName:n}),!r}))}))}(e,n,o),Ks(e,n),function(e,t){const o=t.t,s={File:o({string:"File",id:"MENU_BAR_MENU_FILE"}),Edit:o({string:"Edit",id:"MENU_BAR_MENU_EDIT"}),View:o({string:"View",id:"MENU_BAR_MENU_VIEW"}),Insert:o({string:"Insert",id:"MENU_BAR_MENU_INSERT"}),Format:o({string:"Format",id:"MENU_BAR_MENU_FORMAT"}),Tools:o({string:"Tools",id:"MENU_BAR_MENU_TOOLS"}),Help:o({string:"Help",id:"MENU_BAR_MENU_HELP"}),Text:o({string:"Text",id:"MENU_BAR_MENU_TEXT"}),Font:o({string:"Font",id:"MENU_BAR_MENU_FONT"})};Gs(e.items,(e=>{e.label in s&&(e.label=s[e.label])}))}(n,t),n}function qs(e,t,o){const i=[];if(0!=o.length){for(const e of o){const o=Js(e.position),s=Xs(e.position);if("object"==typeof(n=e)&&"menu"in n)if(s){const n=t.items.findIndex((e=>e.menuId===s));if(-1!=n)"before"===o?(t.items.splice(n,0,e.menu),i.push(e)):"after"===o&&(t.items.splice(n+1,0,e.menu),i.push(e));else{Us(t,e.menu,s,o)&&i.push(e)}}else"start"===o?(t.items.unshift(e.menu),i.push(e)):"end"===o&&(t.items.push(e.menu),i.push(e));else if(Zs(e))Gs(t.items,(t=>{if(t.menuId===s)"start"===o?(t.groups.unshift(e.group),i.push(e)):"end"===o&&(t.groups.push(e.group),i.push(e));else{const n=t.groups.findIndex((e=>e.groupId===s));-1!==n&&("before"===o?(t.groups.splice(n,0,e.group),i.push(e)):"after"===o&&(t.groups.splice(n+1,0,e.group),i.push(e)))}}));else{Us(t,e.item,s,o)&&i.push(e)}}var n;for(const t of o)i.includes(t)||(0,s.FF)("menu-bar-item-could-not-be-added",{menuBarConfig:e,addedItemConfig:t})}}function Us(e,t,o,s){let i=!1;return Gs(e.items,(e=>{for(const{groupId:n,items:r}of e.groups){if(i)return;if(n===o)"start"===s?(r.unshift(t),i=!0):"end"===s&&(r.push(t),i=!0);else{const e=r.findIndex((e=>Qs(e)===o));-1!==e&&("before"===s?(r.splice(e,0,t),i=!0):"after"===s&&(r.splice(e+1,0,t),i=!0))}}})),i}function Ks(e,t){const o=t.isUsingDefaultConfig;let s=!1;t.items=t.items.filter((t=>!!t.groups.length||(Ys(e,t,o),!1))),t.items.length?(Gs(t.items,(t=>{t.groups=t.groups.filter((e=>!!e.items.length||(s=!0,!1)));for(const i of t.groups)i.items=i.items.filter((t=>!(ei(t)&&!t.groups.length)||(Ys(e,t,o),s=!0,!1)))})),s&&Ks(e,t)):Ys(e,e,o)}function Ys(e,t,o){o||(0,s.FF)("menu-bar-menu-empty",{menuBarConfig:e,emptyMenuConfig:t})}function Gs(e,t){if(Array.isArray(e))for(const t of e)o(t);function o(e){t(e);for(const t of e.groups)for(const e of t.items)ei(e)&&o(e)}}function Zs(e){return"object"==typeof e&&"group"in e}function Js(e){return e.startsWith("start")?"start":e.startsWith("end")?"end":e.startsWith("after")?"after":"before"}function Xs(e){const t=e.match(/^[^:]+:(.+)/);return t?t[1]:null}function Qs(e){return"string"==typeof e?e:e.menuId}function ei(e){return"object"==typeof e&&"menuId"in e}class ti extends((0,s.VM)()){editor;componentFactory;focusTracker;tooltipManager;poweredBy;ariaLiveAnnouncer;isReady=!1;_editableElementsMap=new Map;_focusableToolbarDefinitions=[];_extraMenuBarElements=[];_lastFocusedForeignElement=null;constructor(e){super();const t=e.editing.view;this.editor=e,this.componentFactory=new gs(e),this.focusTracker=new s.$x,this.tooltipManager=new vs(e),this.poweredBy=new Cs(e),this.ariaLiveAnnouncer=new Vs(e),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{this._bindBodyCollectionWithFocusTracker(),this.isReady=!0})),this.listenTo(t.document,"layoutChanged",this.update.bind(this)),this.listenTo(t,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const e of this._editableElementsMap.values())e.ckeditorInstance=null,this.editor.keystrokes.stopListening(e);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(e,t){this._editableElementsMap.set(e,t),t.ckeditorInstance||(t.ckeditorInstance=this.editor),this.focusTracker.add(t);const o=()=>{this.editor.editing.view.getDomRoot(e)||this.editor.keystrokes.listenTo(t)};this.isReady?o():this.once("ready",o)}removeEditableElement(e){const t=this._editableElementsMap.get(e);t&&(this._editableElementsMap.delete(e),this.editor.keystrokes.stopListening(t),this.focusTracker.remove(t),t.ckeditorInstance=null)}getEditableElement(e="main"){return this._editableElementsMap.get(e)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(e,t={}){e.isRendered?(this.focusTracker.add(e.element),this.editor.keystrokes.listenTo(e.element)):e.once("render",(()=>{this.focusTracker.add(e.element),this.editor.keystrokes.listenTo(e.element)})),this._focusableToolbarDefinitions.push({toolbarView:e,options:t})}extendMenuBar(e){this._extraMenuBarElements.push(e)}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_initMenuBar(e){const t=e.element;this.focusTracker.add(t),this.editor.keystrokes.listenTo(t);const o=$s(this.editor.config.get("menuBar")||{});e.fillFromConfig(o,this.componentFactory,this._extraMenuBarElements),this.editor.keystrokes.set("Esc",((e,o)=>{t.contains(this.editor.ui.focusTracker.focusedElement)&&(this._lastFocusedForeignElement?(this._lastFocusedForeignElement.focus(),this._lastFocusedForeignElement=null):this.editor.editing.view.focus(),o())})),this.editor.keystrokes.set("Alt+F9",((o,s)=>{t.contains(this.editor.ui.focusTracker.focusedElement)||(this._saveLastFocusedForeignElement(),e.isFocusBorderEnabled=!0,e.focus(),s())}))}_readViewportOffsetFromConfig(){const e=this.editor,t=e.config.get("ui.viewportOffset");if(t)return t;const o=e.config.get("toolbar.viewportTopOffset");return o?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:o}):{top:0}}_initFocusTracking(){const e=this.editor;let t;e.keystrokes.set("Alt+F10",((e,o)=>{this._saveLastFocusedForeignElement();const s=this._getCurrentFocusedToolbarDefinition();s&&t||(t=this._getFocusableCandidateToolbarDefinitions());for(let e=0;e<t.length;e++){const e=t.shift();if(t.push(e),e!==s&&this._focusFocusableCandidateToolbar(e)){s&&s.options.afterBlur&&s.options.afterBlur();break}}o()})),e.keystrokes.set("Esc",((t,o)=>{const s=this._getCurrentFocusedToolbarDefinition();s&&(this._lastFocusedForeignElement?(this._lastFocusedForeignElement.focus(),this._lastFocusedForeignElement=null):e.editing.view.focus(),s.options.afterBlur&&s.options.afterBlur(),o())}))}_saveLastFocusedForeignElement(){const e=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(e)&&!Array.from(this.editor.editing.view.domRoots.values()).includes(e)&&(this._lastFocusedForeignElement=e)}_getFocusableCandidateToolbarDefinitions(){const e=[];for(const t of this._focusableToolbarDefinitions){const{toolbarView:o,options:i}=t;((0,s.zN)(o.element)||i.beforeFocus)&&e.push(t)}return e.sort(((e,t)=>oi(e)-oi(t))),e}_getCurrentFocusedToolbarDefinition(){for(const e of this._focusableToolbarDefinitions)if(e.toolbarView.element&&e.toolbarView.element.contains(this.focusTracker.focusedElement))return e;return null}_focusFocusableCandidateToolbar(e){const{toolbarView:t,options:{beforeFocus:o}}=e;return o&&o(),!!(0,s.zN)(t.element)&&(t.focus(),!0)}_handleScrollToTheSelection(e,t){const o={top:0,bottom:0,left:0,right:0,...this.viewportOffset};t.viewportOffset.top+=o.top,t.viewportOffset.bottom+=o.bottom,t.viewportOffset.left+=o.left,t.viewportOffset.right+=o.right}_bindBodyCollectionWithFocusTracker(){const e=this.view.body;for(const t of e)this.focusTracker.add(t.element);e.on("add",((e,t)=>{this.focusTracker.add(t.element)})),e.on("remove",((e,t)=>{this.focusTracker.remove(t.element)}))}}function oi(e){const{toolbarView:t,options:o}=e;let i=10;return(0,s.zN)(t.element)&&i--,o.isContextual&&i--,i}var si=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/editorui.css"),ii={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(si.A,ii);si.A.locals;class ni extends V{body;menuBarView;constructor(e){super(e),this.body=new Ee(e)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class ri extends ni{top;main;_voiceLabelView;constructor(e){super(e),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:e.uiLanguageDirection,lang:e.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const e=this.t,t=new we;return t.text=e("Rich Text Editor"),t.extendTemplate({attributes:{class:"ck-voice-label"}}),t}}class ai extends V{name=null;_editingView;_editableElement;_hasExternalElement;constructor(e,t,o){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:e.contentLanguage,dir:e.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=o,this._hasExternalElement=!!this._editableElement,this._editingView=t}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",(()=>this._updateIsFocusedClasses())),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const e=this._editingView;function t(t){e.change((o=>{const s=e.document.getRoot(t.name);o.addClass(t.isFocused?"ck-focused":"ck-blurred",s),o.removeClass(t.isFocused?"ck-blurred":"ck-focused",s)}))}e.isRenderingInProgress?function o(s){e.once("change:isRenderingInProgress",((e,i,n)=>{n?o(s):t(s)}))}(this):t(this)}}class ci extends ai{_options;constructor(e,t,o,s={}){super(e,t,o),this._options=s,this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}})}render(){super.render();const e=this._editingView;e.change((t=>{const o=e.document.getRoot(this.name);t.setAttribute("aria-label",this.getEditableAriaLabel(),o)}))}getEditableAriaLabel(){const e=this.locale.t,t=this._options.label,o=this._editableElement,s=this.name;if("string"==typeof t)return t;if("object"==typeof t)return t[s];if("function"==typeof t)return t(this);if(o){const e=o.getAttribute("aria-label");if(e)return e}return e("Rich Text Editor. Editing area: %0",s)}}class li extends V{constructor(e){super(e);const t=this.bindTemplate;this.setTemplate({tag:"iframe",attributes:{class:["ck","ck-reset_all"],sandbox:"allow-same-origin allow-scripts"},on:{load:t.to("loaded")}})}render(){return new Promise((e=>(this.on("loaded",e),super.render())))}}function di(e,t){let o=0,s=0;for(const i of t){const t=i,n=t.items,r=e&&!!t.label.match(e);t.labelView.highlightText(r?e:null);for(const t of n){const o=t.children.first,s=o.labelView;if(e){const i=!!o.label.match(e);s.highlightText(i?e:null),t.isVisible=r||i}else t.isVisible=!0,s.highlightText(null)}const a=n.filter((e=>e.isVisible)).length;o+=t.items.length,s+=r?t.items.length:a,t.isVisible=r||!!a}return{resultsCount:s,totalItemsCount:o}}class hi extends N.HY{static get pluginName(){return"Notification"}init(){this.on("show:warning",((e,t)=>{window.alert(t.message)}),{priority:"lowest"})}showSuccess(e,t={}){this._showNotification({message:e,type:"success",namespace:t.namespace,title:t.title})}showInfo(e,t={}){this._showNotification({message:e,type:"info",namespace:t.namespace,title:t.title})}showWarning(e,t={}){this._showNotification({message:e,type:"warning",namespace:t.namespace,title:t.title})}_showNotification(e){const t=e.namespace?`show:${e.type}:${e.namespace}`:`show:${e.type}`;this.fire(t,{message:e.message,type:e.type,title:e.title||""})}}var ui=o("./node_modules/lodash-es/assignIn.js");class mi extends((0,s.VM)()){constructor(e,t){super(),t&&(0,ui.A)(this,t),e&&this.set(e)}}var pi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonrotator.css"),fi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(pi.A,fi);pi.A.locals;var gi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/fakepanel.css"),_i={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(gi.A,_i);gi.A.locals;const bi=(0,s.To)("px");class ki extends N.k_{positionLimiter;visibleStack;_viewToStack=new Map;_idToStack=new Map;_view=null;_rotatorView=null;_fakePanelsView=null;static get pluginName(){return"ContextualBalloon"}constructor(e){super(e),this.positionLimiter=()=>{const e=this.editor.editing.view,t=e.document.selection.editableElement;return t?e.domConverter.mapViewToDom(t.root):null},this.decorate("getPositionOptions"),this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(e){return Array.from(this._viewToStack.keys()).includes(e)}add(e){if(this._view||this._createPanelView(),this.hasView(e.view))throw new s.Yb("contextualballoon-add-view-exist",[this,e]);const t=e.stackId||"main";if(!this._idToStack.has(t))return this._idToStack.set(t,new Map([[e.view,e]])),this._viewToStack.set(e.view,this._idToStack.get(t)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!e.singleViewMode||this.showStack(t));const o=this._idToStack.get(t);e.singleViewMode&&this.showStack(t),o.set(e.view,e),this._viewToStack.set(e.view,o),o===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new s.Yb("contextualballoon-remove-view-not-exist",[this,e]);const t=this._viewToStack.get(e);this._singleViewMode&&this.visibleView===e&&(this._singleViewMode=!1),this.visibleView===e&&(1===t.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(t.values())[t.size-2])),1===t.size?(this._idToStack.delete(this._getStackId(t)),this._numberOfStacks=this._idToStack.size):t.delete(e),this._viewToStack.delete(e)}updatePosition(e){e&&(this._visibleStack.get(this.visibleView).position=e),this.view.pin(this.getPositionOptions()),this._fakePanelsView.updatePosition()}getPositionOptions(){let e=Array.from(this._visibleStack.values()).pop().position;return e&&(e.limiter||(e=Object.assign({},e,{limiter:this.positionLimiter})),e=Object.assign({},e,{viewportOffsetConfig:this.editor.ui.viewportOffset})),e}showStack(e){this.visibleStack=e;const t=this._idToStack.get(e);if(!t)throw new s.Yb("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==t&&this._showView(Array.from(t.values()).pop())}_createPanelView(){this._view=new zt(this.editor.locale),this.editor.ui.view.body.add(this._view),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(e){return Array.from(this._idToStack.entries()).find((t=>t[1]===e))[0]}_showNextStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)+1;e[t]||(t=0),this.showStack(this._getStackId(e[t]))}_showPrevStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)-1;e[t]||(t=e.length-1),this.showStack(this._getStackId(e[t]))}_createRotatorView(){const e=new wi(this.editor.locale),t=this.editor.locale.t;return this.view.content.add(e),e.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",((e,t)=>!t&&e>1)),e.on("change:isNavigationVisible",(()=>this.updatePosition()),{priority:"low"}),e.bind("counter").to(this,"visibleView",this,"_numberOfStacks",((e,o)=>{if(o<2)return"";const s=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return t("%0 of %1",[s,o])})),e.buttonNextView.on("execute",(()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()})),e.buttonPrevView.on("execute",(()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()})),e}_createFakePanelsView(){const e=new vi(this.editor.locale,this.view);return e.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",((e,t)=>!t&&e>=2?Math.min(e-1,2):0)),e.listenTo(this.view,"change:top",(()=>e.updatePosition())),e.listenTo(this.view,"change:left",(()=>e.updatePosition())),this.editor.ui.view.body.add(e),e}_showView({view:e,balloonClassName:t="",withArrow:o=!0,singleViewMode:s=!1}){this.view.class=t,this.view.withArrow=o,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this.getPositionOptions()),this._fakePanelsView.updatePosition(),s&&(this._singleViewMode=!0)}}class wi extends V{focusTracker;buttonPrevView;buttonNextView;content;constructor(e){super(e);const t=e.t,o=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new s.$x,this.buttonPrevView=this._createButtonView(t("Previous"),N.Pt.previousArrow),this.buttonNextView=this._createButtonView(t("Next"),N.Pt.nextArrow),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",o.to("isNavigationVisible",(e=>e?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:o.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(e){this.hideView(),this.content.add(e)}hideView(){this.content.clear()}_createButtonView(e,t){const o=new q(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o}}class vi extends V{content;_balloonPanelView;constructor(e,t){super(e);const o=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=t,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",o.to("numberOfPanels",(e=>e?"":"ck-hidden"))],style:{top:o.to("top",bi),left:o.to("left",bi),width:o.to("width",bi),height:o.to("height",bi)}},children:this.content}),this.on("change:numberOfPanels",((e,t,o,s)=>{o>s?this._addPanels(o-s):this._removePanels(s-o),this.updatePosition()}))}_addPanels(e){for(;e--;){const e=new V;e.setTemplate({tag:"div"}),this.content.add(e),this.registerChild(e)}}_removePanels(e){for(;e--;){const e=this.content.last;this.content.remove(e),this.deregisterChild(e),e.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:e,left:t}=this._balloonPanelView,{width:o,height:i}=new s.rw(this._balloonPanelView.element);Object.assign(this,{top:e,left:t,width:o,height:i})}}}var yi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/stickypanel.css"),xi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(yi.A,xi);yi.A.locals;const Ai=(0,s.To)("px");class Ci extends V{content;contentPanelElement;_contentPanelPlaceholder;constructor(e){super(e);const t=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new a({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:t.to("isSticky",(e=>e?"block":"none")),height:t.to("isSticky",(e=>e?Ai(this._contentPanelRect.height):null))}}}).render(),this.contentPanelElement=new a({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",t.if("isSticky","ck-sticky-panel__content_sticky"),t.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:t.to("isSticky",(e=>e?Ai(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:t.to("_stickyTopOffset",(e=>e?Ai(e):e)),bottom:t.to("_stickyBottomOffset",(e=>e?Ai(e):e)),marginLeft:t.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this.contentPanelElement]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(s.Sf.document,"scroll",(()=>{this.checkIfShouldBeSticky()}),{useCapture:!0}),this.listenTo(this,"change:isActive",(()=>{this.checkIfShouldBeSticky()}))}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const e=new s.rw(this.limiterElement);let t=e.getVisible();if(t){const e=new s.rw(s.Sf.window);e.top+=this.viewportTopOffset,e.height-=this.viewportTopOffset,t=t.getIntersection(e)}if(t&&e.top<t.top){const o=t.top;if(o+this._contentPanelRect.height+this.limiterBottomOffset>t.bottom){const o=Math.max(e.bottom-t.bottom,0)+this.limiterBottomOffset;e.bottom-o>e.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(o):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset<e.height?this._stickToTopOfAncestors(o):this._unstick()}else this._unstick()}_stickToTopOfAncestors(e){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=e,this._stickyBottomOffset=null,this._marginLeft=Ai(-s.Sf.window.scrollX)}_stickToBottomOfLimiter(e){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!0,this._stickyTopOffset=null,this._stickyBottomOffset=e,this._marginLeft=Ai(-s.Sf.window.scrollX)}_unstick(){this.isSticky=!1,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=null,this._stickyBottomOffset=null,this._marginLeft=null}get _contentPanelRect(){return new s.rw(this.contentPanelElement)}}class Ti extends tt{iconView;resetButtonView;_viewConfig;constructor(e,t){const o=e.t,s=Object.assign({},{showResetButton:!0,showIcon:!0,creator:xo},t);super(e,s.creator),this.label=t.label,this._viewConfig=s,this._viewConfig.showIcon&&(this.iconView=new z,this.iconView.content=N.Pt.loupe,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})),this._viewConfig.showResetButton&&(this.resetButtonView=new q(e),this.resetButtonView.set({label:o("Clear"),icon:N.Pt.cancel,class:"ck-search__reset",isVisible:!1,tooltip:!0}),this.resetButtonView.on("execute",(()=>{this.reset(),this.focus(),this.fire("reset")})),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",(e=>!e)),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class Ei extends V{constructor(){super();const e=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",e.if("isVisible","ck-hidden",(e=>!e))],tabindex:-1},children:[{tag:"span",children:[{text:[e.to("primaryText")]}]},{tag:"span",children:[{text:[e.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class Pi extends V{focusTracker;children;_focusCycler;constructor(e){super(e),this.children=this.createCollection(),this.focusTracker=new s.$x,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new Z({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const e of this.children)this.focusTracker.add(e.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Si=o("./node_modules/lodash-es/escapeRegExp.js"),Mi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/search/search.css"),Oi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Mi.A,Oi);Mi.A.locals;class Vi extends V{focusTracker;keystrokes;resultsView;filteredView;infoView;queryView;focusCycler;_config;constructor(e,t){super(e),this._config=t,this.filteredView=t.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this.resultsView=new Pi(e),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),t.infoView&&t.infoView.instance?this.infoView=t.infoView.instance:(this.infoView=new Ei,this._enableDefaultInfoViewBehavior(),this.on("render",(()=>{this.search("")}))),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new Z({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",((e,{resultsCount:t,totalItemsCount:o})=>{this.resultsCount=t,this.totalItemsCount=o})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",t.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const e=e=>e.stopPropagation();for(const e of this.focusableChildren)this.focusTracker.add(e.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search(""),this.filteredView.element.scrollTo(0,0)}search(e){const t=e?new RegExp((0,Si.A)(e),"ig"):null,o=this.filteredView.filter(t);this.fire("search",{query:e,...o})}_createSearchTextQueryView(){const e=new Ti(this.locale,this._config.queryView);return this.listenTo(e.fieldView,"input",(()=>{this.search(e.fieldView.element.value)})),e.on("reset",(()=>this.reset())),e.bind("isEnabled").to(this),e}_enableDefaultInfoViewBehavior(){const e=this.locale.t,t=this.infoView;function o(e,{query:t,resultsCount:o,totalItemsCount:s}){return"function"==typeof e?e(t,o,s):e}this.on("search",((s,i)=>{if(i.resultsCount)t.set({isVisible:!1});else{const s=this._config.infoView&&this._config.infoView.text;let n,r;i.totalItemsCount?s&&s.notFound?(n=s.notFound.primary,r=s.notFound.secondary):(n=e("No results found"),r=""):s&&s.noSearchableItems?(n=s.noSearchableItems.primary,r=s.noSearchableItems.secondary):(n=e("No searchable items"),r=""),t.set({primaryText:o(n,i),secondaryText:o(r,i),isVisible:!0})}}))}}var Ri=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/autocomplete/autocomplete.css"),ji={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Ri.A,ji);Ri.A.locals;class Ii extends Vi{_config;constructor(e,t){super(e,t),this._config=t;const o=(0,s.To)("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const i=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[i.if("isVisible","ck-hidden",(e=>!e)),i.to("_position",(e=>`ck-search__results_${e}`))],style:{width:i.to("_width",o)}}}),this.focusTracker.on("change:isFocused",((e,o,s)=>{this._updateResultsVisibility(),s?this.resultsView.element.scrollTop=0:t.resetOnBlur&&this.queryView.reset()})),this.on("search",(()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()})),this.keystrokes.set("esc",((e,t)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,t())})),this.listenTo(s.Sf.document,"scroll",(()=>{this._updateResultsViewWidthAndPosition()})),this.on("change:isEnabled",(()=>{this._updateResultsVisibility()})),this.filteredView.on("execute",((e,{value:t})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=t,this.resultsView.isVisible=!1})),this.resultsView.on("change:isVisible",(()=>{this._updateResultsViewWidthAndPosition()}))}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new s.rw(this.queryView.fieldView.element).width;const e=Ii._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:Ii.defaultResultsPositions});this.resultsView._position=e?e.name:"s"}_updateResultsVisibility(){const e=void 0===this._config.queryMinChars?0:this._config.queryMinChars,t=this.queryView.fieldView.element.value.length;this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&t>=e}static defaultResultsPositions=[e=>({top:e.bottom,left:e.left,name:"s"}),(e,t)=>({top:e.top-t.height,left:e.left,name:"n"})];static _getOptimalPosition=s.W}const Bi=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&","<":"<",">":">",'"':""","'":"'"});var Di=o("./node_modules/lodash-es/toString.js"),Ni=/[&<>"']/g,Fi=RegExp(Ni.source);const Li=function(e){return(e=(0,Di.A)(e))&&Fi.test(e)?e.replace(Ni,Bi):e};var zi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"),Hi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(zi.A,Hi);zi.A.locals;class $i extends V{constructor(){super(),this.set("text",void 0),this.setTemplate({tag:"span",attributes:{class:["ck","ck-highlighted-text"]}}),this.on("render",(()=>{this.on("change:text",(()=>{this._updateInnerHTML(this.text)})),this._updateInnerHTML(this.text)}))}highlightText(e){this._updateInnerHTML(function(e,t){if(!t)return Li(e);const o=[];let s=0,i=t.exec(e);for(;null!==i;){const n=i.index;n!==s&&o.push({text:e.substring(s,n),isMatch:!1}),o.push({text:i[0],isMatch:!0}),s=t.lastIndex,i=t.exec(e)}s!==e.length&&o.push({text:e.substring(s),isMatch:!1});return o.map((e=>(e.text=Li(e.text),e))).map((e=>e.isMatch?`<mark>${e.text}</mark>`:e.text)).join("")}(this.text||"",e))}_updateInnerHTML(e){this.element.innerHTML=e||""}}class Wi extends $i{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const e=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-button__label"],style:e.to("style"),id:e.to("id")}})}}class qi extends $i{id;constructor(){super(),this.set("for",void 0);const e=this.bindTemplate;this.id=`ck-editor__label_${(0,s.Ld)()}`,this.extendTemplate({attributes:{class:["ck","ck-label"],id:this.id,for:e.to("for")}})}}var Ui=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/spinner/spinner.css"),Ki={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Ui.A,Ki);Ui.A.locals;class Yi extends V{constructor(){super(),this.set("isVisible",!1);const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-spinner-container",e.if("isVisible","ck-hidden",(e=>!e))]},children:[{tag:"span",attributes:{class:["ck","ck-spinner"]}}]})}}var Gi=o("./packages/ckeditor5-engine/src/index.ts");const Zi=(0,s.To)("px");class Ji extends N.k_{toolbarView;focusTracker;_balloonConfig;_resizeObserver=null;_balloon;_fireSelectionChangeDebounced;static get pluginName(){return"BalloonToolbar"}static get requires(){return[ki]}constructor(e){super(e),this._balloonConfig=Xt(e.config.get("balloonToolbar")),this.toolbarView=this._createToolbarView(),this.focusTracker=new s.$x,this._trackFocusableEditableElements(),this.focusTracker.add(this.toolbarView.element),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this.show(!0),afterBlur:()=>this.hide(),isContextual:!0}),this._balloon=e.plugins.get(ki),this._fireSelectionChangeDebounced=(0,Xe.A)((()=>this.fire("_selectionChangeDebounced")),200),this.decorate("show")}init(){const e=this.editor,t=e.model.document.selection;this.listenTo(this.focusTracker,"change:isFocused",((e,t,o)=>{const s=this._balloon.visibleView===this.toolbarView;!o&&s?this.hide():o&&this.show()})),this.listenTo(t,"change:range",((e,o)=>{(o.directChange||t.isCollapsed)&&this.hide(),this._fireSelectionChangeDebounced()})),this.listenTo(this,"_selectionChangeDebounced",(()=>{this.editor.editing.view.document.isFocused&&this.show()})),this._balloonConfig.shouldNotGroupWhenFull||this.listenTo(e,"ready",(()=>{const t=e.ui.view.editable.element;this._resizeObserver=new s.tb(t,(e=>{this.toolbarView.maxWidth=Zi(.9*e.contentRect.width)}))})),this.listenTo(this.toolbarView,"groupedItemsUpdate",(()=>{this._updatePosition()})),e.ui.once("ready",(()=>{this.toolbarView.fillFromConfig(this._balloonConfig,this.editor.ui.componentFactory)}))}_createToolbarView(){const e=this.editor.locale.t,t=!this._balloonConfig.shouldNotGroupWhenFull,o=new oo(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return o.ariaLabel=e("Editor contextual toolbar"),o.render(),o}show(e=!1){const t=this.editor,o=t.model.document.selection,s=t.model.schema;this._balloon.hasView(this.toolbarView)||o.isCollapsed&&!e||function(e,t){if(1===e.rangeCount)return!1;return[...e.getRanges()].every((e=>{const o=e.getContainedElement();return o&&t.isSelectable(o)}))}(o,s)||Array.from(this.toolbarView.items).every((e=>void 0!==e.isEnabled&&!e.isEnabled))||(this.listenTo(this.editor.ui,"update",(()=>{this._updatePosition()})),this._balloon.add({view:this.toolbarView,position:this._getBalloonPositionData(),balloonClassName:"ck-toolbar-container"}))}hide(){this._balloon.hasView(this.toolbarView)&&(this.stopListening(this.editor.ui,"update"),this._balloon.remove(this.toolbarView))}_trackFocusableEditableElements(){const{editor:e,focusTracker:t}=this,{editing:o}=e;o.view.addObserver(class extends Gi.nu{observe(e){t.add(e)}stopObserving(e){t.remove(e)}})}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document,o=t.selection,i=t.selection.isBackward;return{target:()=>{const t=i?o.getFirstRange():o.getLastRange(),n=s.rw.getDomRangeRects(e.domConverter.viewRangeToDom(t));return i?n[0]:(n.length>1&&0===n[n.length-1].width&&n.pop(),n[n.length-1])},positions:this._getBalloonPositions(i)}}_updatePosition(){this._balloon.updatePosition(this._getBalloonPositionData())}destroy(){super.destroy(),this.stopListening(),this._fireSelectionChangeDebounced.cancel(),this.toolbarView.destroy(),this.focusTracker.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_getBalloonPositions(e){const t=s._K.isSafari&&s._K.isiOS?zt.generatePositions({heightOffset:Math.max(zt.arrowHeightOffset,Math.round(20/s.Sf.window.visualViewport.scale))}):zt.defaultPositions;return e?[t.northWestArrowSouth,t.northWestArrowSouthWest,t.northWestArrowSouthEast,t.northWestArrowSouthMiddleEast,t.northWestArrowSouthMiddleWest,t.southWestArrowNorth,t.southWestArrowNorthWest,t.southWestArrowNorthEast,t.southWestArrowNorthMiddleWest,t.southWestArrowNorthMiddleEast]:[t.southEastArrowNorth,t.southEastArrowNorthEast,t.southEastArrowNorthWest,t.southEastArrowNorthMiddleEast,t.southEastArrowNorthMiddleWest,t.northEastArrowSouth,t.northEastArrowSouthEast,t.northEastArrowSouthWest,t.northEastArrowSouthMiddleEast,t.northEastArrowSouthMiddleWest]}}var Xi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/blocktoolbar.css"),Qi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(Xi.A,Qi);Xi.A.locals;const en=(0,s.To)("px");class tn extends q{constructor(e){super(e);const t=this.bindTemplate;this.isVisible=!1,this.isToggleable=!0,this.set("top",0),this.set("left",0),this.extendTemplate({attributes:{class:"ck-block-toolbar-button",style:{top:t.to("top",(e=>en(e))),left:t.to("left",(e=>en(e)))}}})}}const on=(0,s.To)("px");class sn extends N.k_{toolbarView;panelView;buttonView;_resizeObserver=null;_blockToolbarConfig;static get pluginName(){return"BlockToolbar"}constructor(e){super(e),this._blockToolbarConfig=Xt(this.editor.config.get("blockToolbar")),this.toolbarView=this._createToolbarView(),this.panelView=this._createPanelView(),this.buttonView=this._createButtonView(),R({emitter:this.panelView,contextElements:[this.panelView.element,this.buttonView.element],activator:()=>this.panelView.isVisible,callback:()=>this._hidePanel()})}init(){const e=this.editor,t=e.t,o=t("Click to edit block"),s=t("Drag to move"),i=t("Edit block"),n=e.plugins.has("DragDropBlockToolbar"),r=n?`${o}\n${s}`:i;this.buttonView.label=r,n&&(this.buttonView.element.dataset.ckeTooltipClass="ck-tooltip_multi-line"),this.listenTo(e.model.document.selection,"change:range",((e,t)=>{t.directChange&&this._hidePanel()})),this.listenTo(e.ui,"update",(()=>this._updateButton())),this.listenTo(e,"change:isReadOnly",(()=>this._updateButton()),{priority:"low"}),this.listenTo(e.ui.focusTracker,"change:isFocused",(()=>this._updateButton())),this.listenTo(this.buttonView,"change:isVisible",((e,t,o)=>{o?this.buttonView.listenTo(window,"resize",(()=>this._updateButton())):(this.buttonView.stopListening(window,"resize"),this._hidePanel())})),this._repositionButtonOnScroll(),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this._showPanel(),afterBlur:()=>this._hidePanel()}),e.ui.once("ready",(()=>{this.toolbarView.fillFromConfig(this._blockToolbarConfig,this.editor.ui.componentFactory);for(const e of this.toolbarView.items)e.on("execute",(()=>this._hidePanel(!0)),{priority:"high"})}))}destroy(){super.destroy(),this.panelView.destroy(),this.buttonView.destroy(),this.toolbarView.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_createToolbarView(){const e=this.editor.locale.t,t=!this._blockToolbarConfig.shouldNotGroupWhenFull,o=new oo(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return o.ariaLabel=e("Editor block content toolbar"),o}_createPanelView(){const e=this.editor,t=new zt(e.locale);return t.content.add(this.toolbarView),t.class="ck-toolbar-container",e.ui.view.body.add(t),this.toolbarView.keystrokes.set("Esc",((e,t)=>{this._hidePanel(!0),t()})),t}_createButtonView(){const e=this.editor,t=e.t,o=new tn(e.locale),s=this._blockToolbarConfig.icon,i=to[s]||s||to.dragIndicator;return o.set({label:t("Edit block"),icon:i,withText:!1}),o.bind("isOn").to(this.panelView,"isVisible"),o.bind("tooltip").to(this.panelView,"isVisible",(e=>!e)),this.listenTo(o,"execute",(()=>{this.panelView.isVisible?this._hidePanel(!0):this._showPanel()})),this.listenTo(o,"change:isEnabled",((e,t,o)=>{!o&&this.panelView.isVisible&&this._hidePanel(!1)})),e.ui.view.body.add(o),o}_updateButton(){const e=this.editor,t=e.model,o=e.editing.view;if(!e.ui.focusTracker.isFocused)return void this._hideButton();if(!e.model.canEditAt(e.model.document.selection))return void this._hideButton();const s=Array.from(t.document.selection.getSelectedBlocks())[0];if(!s||Array.from(this.toolbarView.items).every((e=>!e.isEnabled)))return void this._hideButton();const i=o.domConverter.mapViewToDom(e.editing.mapper.toViewElement(s));this.buttonView.isVisible=!0,this._setupToolbarResize(),this._attachButtonToElement(i),this.panelView.isVisible&&this._showPanel()}_hideButton(){this.buttonView.isVisible=!1}_showPanel(){if(!this.buttonView.isVisible)return;const e=this.panelView.isVisible;this.panelView.show();const t=this._getSelectedEditableElement();this.toolbarView.maxWidth=this._getToolbarMaxWidth(t),this.panelView.pin({target:this.buttonView.element,limiter:t}),e||this.toolbarView.items.get(0).focus()}_getSelectedEditableElement(){const e=this.editor.model.document.selection.getFirstRange().root.rootName;return this.editor.ui.getEditableElement(e)}_hidePanel(e){this.panelView.isVisible=!1,e&&this.editor.editing.view.focus()}_repositionButtonOnScroll(){const{buttonView:e}=this;let t=!1;const o=()=>{t||(t=!0,s.Sf.window.requestAnimationFrame((()=>{this._updateButton(),t=!1})))};e.on("change:isVisible",((t,i,n)=>{n?e.listenTo(s.Sf.document,"scroll",o,{useCapture:!0,usePassive:!0}):e.stopListening(s.Sf.document,"scroll",o)}))}_attachButtonToElement(e){const t=this.buttonView.element,o=this._getSelectedEditableElement(),i=window.getComputedStyle(e),n=new s.rw(o),r=parseInt(i.paddingTop,10),a=parseInt(i.lineHeight,10)||1.2*parseInt(i.fontSize,10),c=new s.rw(t),l=new s.rw(e);let d;d="ltr"===this.editor.locale.uiLanguageDirection?n.left-c.width:n.right;const h=l.top+r+(a-c.height)/2;c.moveTo(d,h);const u=c.toAbsoluteRect();this.buttonView.top=u.top,this.buttonView.left=u.left,this._clipButtonToViewport(this.buttonView,o)}_clipButtonToViewport(e,t){const o=new s.rw(e.element),i=new s.rw(t).getVisible(),n=(...t)=>{e.element.style.clipPath=t.length?`polygon(${t.join(",")})`:""},r=t=>{e.isEnabled=!t,e.element.style.pointerEvents=t?"none":""};if(i&&i.bottom<o.bottom){const e=Math.min(o.height,o.bottom-i.bottom);r(e>=o.height),n("0 0","100% 0",`100% calc(100% - ${on(e)})`,`0 calc(100% - ${on(e)}`)}else if(i&&i.top>o.top){const e=Math.min(o.height,i.top-o.top);r(e>=o.height),n(`0 ${on(e)}`,`100% ${on(e)}`,"100% 100%","0 100%")}else r(!1),n()}_setupToolbarResize(){const e=this._getSelectedEditableElement();this._blockToolbarConfig.shouldNotGroupWhenFull||(this._resizeObserver&&this._resizeObserver.element!==e&&(this._resizeObserver.destroy(),this._resizeObserver=null),this._resizeObserver||(this._resizeObserver=new s.tb(e,(()=>{this.toolbarView.maxWidth=this._getToolbarMaxWidth(e)}))))}_getToolbarMaxWidth(e){const t=new s.rw(e),o=new s.rw(this.buttonView.element),i="rtl"===this.editor.locale.uiLanguageDirection?o.left-t.right+o.width:t.left-o.left;return on(t.width+i)}}var nn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenubutton.css"),rn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(nn.A,rn);nn.A.locals;class an extends me{arrowView;constructor(e){super(e);const t=this.bindTemplate;this.set({withText:!0,role:"menuitem"}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__button"],"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(e=>String(e))),"data-cke-tooltip-disabled":t.to("isOn")},on:{mouseenter:t.to("mouseenter")}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new z;return e.content=Ie,e.extendTemplate({attributes:{class:"ck-menu-bar__menu__button__arrow"}}),e}}var cn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenupanel.css"),ln={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(cn.A,ln);cn.A.locals;class dn extends V{children;constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-menu-bar__menu__panel",t.to("position",(e=>`ck-menu-bar__menu__panel_position_${e}`)),t.if("isVisible","ck-hidden",(e=>!e))],tabindex:"-1"},children:this.children,on:{selectstart:t.to((e=>{"input"!==e.target.tagName.toLocaleLowerCase()&&e.preventDefault()}))}})}focus(e=1){this.children.length&&(1===e?this.children.first.focus():this.children.last.focus())}}var hn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenu.css"),un={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(hn.A,un);hn.A.locals;class mn extends V{buttonView;panelView;focusTracker;keystrokes;constructor(e){super(e);const t=this.bindTemplate;this.buttonView=new an(e),this.buttonView.delegate("mouseenter").to(this),this.buttonView.bind("isOn","isEnabled").to(this,"isOpen","isEnabled"),this.panelView=new dn(e),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("panelPosition","w"),this.set("class",void 0),this.set("parentMenuView",null),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar__menu",t.to("class"),t.if("isEnabled","ck-disabled",(e=>!e)),t.if("parentMenuView","ck-menu-bar__menu_top-level",(e=>!e))]},children:[this.buttonView,this.panelView]})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.keystrokes.listenTo(this.element),Ls.closeOnEscKey(this),this._repositionPanelOnOpen()}_attachBehaviors(){this.parentMenuView?(Ls.openOnButtonClick(this),Ls.openOnArrowRightKey(this),Ls.closeOnArrowLeftKey(this),Ls.openAndFocusOnEnterKeyPress(this),Ls.closeOnParentClose(this)):(this._propagateArrowKeystrokeEvents(),Ls.openAndFocusPanelOnArrowDownKey(this),Ls.toggleOnButtonClick(this))}_propagateArrowKeystrokeEvents(){this.keystrokes.set("arrowright",((e,t)=>{this.fire("arrowright"),t()})),this.keystrokes.set("arrowleft",((e,t)=>{this.fire("arrowleft"),t()}))}_repositionPanelOnOpen(){this.on("change:isOpen",((e,t,o)=>{if(!o)return;const s=mn._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=s?s.name:this._panelPositions[0].name}))}focus(){this.buttonView.focus()}get _panelPositions(){const{southEast:e,southWest:t,northEast:o,northWest:s,westSouth:i,eastSouth:n,westNorth:r,eastNorth:a}=zs;return"ltr"===this.locale.uiLanguageDirection?this.parentMenuView?[n,a,i,r]:[e,t,o,s]:this.parentMenuView?[i,r,n,a]:[t,e,s,o]}static _getOptimalPosition=s.W}class pn extends Pt{constructor(e){super(e),this.role="menu",this.items.on("change",this._setItemsCheckSpace.bind(this))}_setItemsCheckSpace(){const e=Array.from(this.items).some((e=>{const t=fn(e);return t&&t.isToggleable}));this.items.forEach((t=>{const o=fn(t);o&&(o.hasCheckSpace=e)}))}}function fn(e){return e instanceof xt?e.children.map((e=>function(e){return"object"==typeof e&&"buttonView"in e&&e.buttonView instanceof q}(e)?e.buttonView:e)).find((e=>e instanceof me)):null}class gn extends Ve{constructor(e){super(e),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}var _n=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubar.css"),bn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};S()(_n.A,bn);_n.A.locals;const kn=["mouseenter","arrowleft","arrowright","change:isOpen"];class wn extends V{children;menus=[];constructor(e){super(e);const t=e.t,o=this.bindTemplate;this.set({isOpen:!1,isFocusBorderEnabled:!1}),this._setupIsOpenUpdater(),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar",o.if("isFocusBorderEnabled","ck-menu-bar_focus-border-enabled")],"aria-label":t("Editor menu bar"),role:"menubar"},children:this.children})}fillFromConfig(e,t,o=[]){const s=Ws({normalizedConfig:e,locale:this.locale,componentFactory:t,extraItems:o}).items.map((e=>this._createMenu({componentFactory:t,menuDefinition:e})));this.children.addMany(s)}render(){super.render(),Fs.toggleMenusAndFocusItemsOnHover(this),Fs.closeMenusWhenTheBarCloses(this),Fs.closeMenuWhenAnotherOnTheSameLevelOpens(this),Fs.focusCycleMenusOnArrows(this),Fs.closeOnClickOutside(this),Fs.enableFocusHighlightOnInteraction(this)}focus(){this.children.first&&this.children.first.focus()}close(){for(const e of this.children)e.isOpen=!1}registerMenu(e,t=null){t?(e.delegate(...kn).to(t),e.parentMenuView=t):e.delegate(...kn).to(this,(e=>"menu:"+e)),e._attachBehaviors(),this.menus.push(e)}_createMenu({componentFactory:e,menuDefinition:t,parentMenuView:o}){const s=this.locale,i=new mn(s);return this.registerMenu(i,o),i.buttonView.set({label:t.label}),i.once("change:isOpen",(()=>{const o=new pn(s);o.ariaLabel=t.label,i.panelView.children.add(o),o.items.addMany(this._createMenuItems({menuDefinition:t,parentMenuView:i,componentFactory:e}))})),i}_createMenuItems({menuDefinition:e,parentMenuView:t,componentFactory:o}){const s=this.locale,i=[];for(const n of e.groups){for(const e of n.items){const n=new Ds(s,t);if((0,r.A)(e))n.children.add(this._createMenu({componentFactory:o,menuDefinition:e,parentMenuView:t}));else{const s=this._createMenuItemContentFromFactory({componentName:e,componentFactory:o,parentMenuView:t});if(!s)continue;n.children.add(s)}i.push(n)}n!==e.groups[e.groups.length-1]&&i.push(new At(s))}return i}_createMenuItemContentFromFactory({componentName:e,parentMenuView:t,componentFactory:o}){const i=o.create(e);return i instanceof mn||i instanceof _e||i instanceof gn?(this._registerMenuTree(i,t),i.on("execute",(()=>{this.close()})),i):((0,s.FF)("menu-bar-component-unsupported",{componentName:e,componentView:i}),null)}_registerMenuTree(e,t){if(!(e instanceof mn))return void e.delegate("mouseenter").to(t);this.registerMenu(e,t);const o=e.panelView.children.filter((e=>e instanceof pn))[0];if(!o)return void e.delegate("mouseenter").to(t);const s=o.items.filter((e=>e instanceof xt));for(const t of s)this._registerMenuTree(t.children.get(0),e)}_setupIsOpenUpdater(){let e;this.on("menu:change:isOpen",((t,o,s)=>{clearTimeout(e),s?this.isOpen=!0:e=setTimeout((()=>{this.isOpen=Array.from(this.children).some((e=>e.isOpen))}),0)}))}}},"./packages/ckeditor5-utils/src/index.ts":(e,t,o)=>{"use strict";let s;o.d(t,{Yb:()=>S,pM:()=>Vt,TS:()=>ve,c5:()=>Ee,PZ:()=>ce,Mm:()=>z,vY:()=>x,$x:()=>jt,EP:()=>It,hT:()=>Ot,VM:()=>oe,rw:()=>Fe,tb:()=>We,KL:()=>le,ww:()=>he,U9:()=>de,n:()=>_e,cb:()=>Ht,Ui:()=>k,q8:()=>w,_K:()=>a,Nv:()=>Ft,Mr:()=>g,j3:()=>Me,$1:()=>Rt,DS:()=>Oe,Md:()=>Re,QC:()=>kt,pG:()=>Ve,YA:()=>vt,iJ:()=>Et,Kf:()=>xt,W:()=>Qe,jr:()=>je,Sf:()=>i,qh:()=>Ke,PT:()=>Ye,Yy:()=>E,Yt:()=>yt,mY:()=>Wt,Cn:()=>Ge,HK:()=>At,kv:()=>qt,Iw:()=>Yt,SQ:()=>Zt,P5:()=>Kt,xZ:()=>ue,k$:()=>Ut,Ll:()=>Ae,_Z:()=>Be,KH:()=>Ie,i8:()=>Ze,zN:()=>Je,uP:()=>_t,vV:()=>O,FF:()=>M,jh:()=>v,ZX:()=>wt,vx:()=>T,kM:()=>B,TF:()=>ot,L5:()=>Nt,bi:()=>it,vK:()=>st,C_:()=>qe,eL:()=>zt,$r:()=>Pt,av:()=>Bt,To:()=>Ue,Ld:()=>C,rQ:()=>$t,rE:()=>I,uk:()=>Dt});try{s={window,document}}catch(e){s={window:{},document:{}}}const i=s;function n(){try{return navigator.userAgent.toLowerCase()}catch(e){return""}}const r=n(),a={isMac:c(r),isWindows:l(r),isGecko:d(r),isSafari:h(r),isiOS:u(r),isAndroid:m(r),isBlink:p(r),get isMediaForcedColors(){return!!i.window.matchMedia&&i.window.matchMedia("(forced-colors: active)").matches},get isMotionReduced(){return!!i.window.matchMedia&&i.window.matchMedia("(prefers-reduced-motion)").matches},features:{isRegExpUnicodePropertySupported:f()}};function c(e){return e.indexOf("macintosh")>-1}function l(e){return e.indexOf("windows")>-1}function d(e){return!!e.match(/gecko\/\d+/)}function h(e){return e.indexOf(" applewebkit/")>-1&&-1===e.indexOf("chrome")}function u(e){return!!e.match(/iphone|ipad/i)||c(e)&&navigator.maxTouchPoints>0}function m(e){return e.indexOf("android")>-1}function p(e){return e.indexOf("chrome/")>-1&&e.indexOf("edge/")<0}function f(){let e=!1;try{e=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(e){}return e}function g(e,t,o,s){o=o||function(e,t){return e===t};const i=Array.isArray(e)?e:Array.prototype.slice.call(e),n=Array.isArray(t)?t:Array.prototype.slice.call(t),r=function(e,t,o){const s=_(e,t,o);if(-1===s)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const i=b(e,s),n=b(t,s),r=_(i,n,o),a=e.length-r,c=t.length-r;return{firstIndex:s,lastIndexOld:a,lastIndexNew:c}}(i,n,o),a=s?function(e,t){const{firstIndex:o,lastIndexOld:s,lastIndexNew:i}=e;if(-1===o)return Array(t).fill("equal");let n=[];o>0&&(n=n.concat(Array(o).fill("equal")));i-o>0&&(n=n.concat(Array(i-o).fill("insert")));s-o>0&&(n=n.concat(Array(s-o).fill("delete")));i<t&&(n=n.concat(Array(t-i).fill("equal")));return n}(r,n.length):function(e,t){const o=[],{firstIndex:s,lastIndexOld:i,lastIndexNew:n}=t;n-s>0&&o.push({index:s,type:"insert",values:e.slice(s,n)});i-s>0&&o.push({index:s+(n-s),type:"delete",howMany:i-s});return o}(n,r);return a}function _(e,t,o){for(let s=0;s<Math.max(e.length,t.length);s++)if(void 0===e[s]||void 0===t[s]||!o(e[s],t[s]))return s;return-1}function b(e,t){return e.slice(t).reverse()}function k(e,t,o){o=o||function(e,t){return e===t};const s=e.length,i=t.length;if(s>200||i>200||s+i>300)return k.fastDiff(e,t,o,!0);let n,r;if(i<s){const o=e;e=t,t=o,n="delete",r="insert"}else n="insert",r="delete";const a=e.length,c=t.length,l=c-a,d={},h={};function u(s){const i=(void 0!==h[s-1]?h[s-1]:-1)+1,l=void 0!==h[s+1]?h[s+1]:-1,u=i>l?-1:1;d[s+u]&&(d[s]=d[s+u].slice(0)),d[s]||(d[s]=[]),d[s].push(i>l?n:r);let m=Math.max(i,l),p=m-s;for(;p<a&&m<c&&o(e[p],t[m]);)p++,m++,d[s].push("equal");return m}let m,p=0;do{for(m=-p;m<l;m++)h[m]=u(m);for(m=l+p;m>l;m--)h[m]=u(m);h[l]=u(l),p++}while(h[l]!==c);return d[l].slice(1)}function w(e,t){const o=[];let s=0,i=null;return e.forEach((e=>{"equal"==e?(n(),s++):"insert"==e?(i&&"insert"==i.type?i.values.push(t[s]):(n(),i={type:"insert",index:s,values:[t[s]]}),s++):i&&"delete"==i.type?i.howMany++:(n(),i={type:"delete",index:s,howMany:1})})),n(),o;function n(){i&&(o.push(i),i=null)}}function v(e,...t){t.forEach((t=>{const o=Object.getOwnPropertyNames(t),s=Object.getOwnPropertySymbols(t);o.concat(s).forEach((o=>{if(o in e.prototype)return;if("function"==typeof t&&("length"==o||"name"==o||"prototype"==o))return;const s=Object.getOwnPropertyDescriptor(t,o);s.enumerable=!1,Object.defineProperty(e.prototype,o,s)}))}))}k.fastDiff=g;const y=function(){return function e(){e.called=!0}};class x{source;name;path;stop;off;return;constructor(e,t){this.source=e,this.name=t,this.path=[],this.stop=y(),this.off=y()}}const A=new Array(256).fill("").map(((e,t)=>("0"+t.toString(16)).slice(-2)));function C(){const[e,t,o,s]=crypto.getRandomValues(new Uint32Array(4));return"e"+A[255&e]+A[e>>8&255]+A[e>>16&255]+A[e>>24&255]+A[255&t]+A[t>>8&255]+A[t>>16&255]+A[t>>24&255]+A[255&o]+A[o>>8&255]+A[o>>16&255]+A[o>>24&255]+A[255&s]+A[s>>8&255]+A[s>>16&255]+A[s>>24&255]}const T={get(e="normal"){return"number"!=typeof e?this[e]||this.normal:e},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function E(e,t){const o=T.get(t.priority);for(let s=0;s<e.length;s++)if(T.get(e[s].priority)<o)return void e.splice(s,0,t);e.push(t)}const P="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class S extends Error{context;data;constructor(e,t,o){super(function(e,t){const o=new WeakSet,s=(e,t)=>{if("object"==typeof t&&null!==t){if(o.has(t))return`[object ${t.constructor.name}]`;o.add(t)}return t},i=t?` ${JSON.stringify(t,s)}`:"",n=V(e);return e+i+n}(e,o)),this.name="CKEditorError",this.context=t,this.data=o}is(e){return"CKEditorError"===e}static rethrowUnexpectedError(e,t){if(e.is&&e.is("CKEditorError"))throw e;const o=new S(e.message,t);throw o.stack=e.stack,o}}function M(e,t){console.warn(...R(e,t))}function O(e,t){console.error(...R(e,t))}function V(e){return`\nRead more: ${P}#error-${e}`}function R(e,t){const o=V(e);return t?[e,t,o]:[e,o]}const j="43.1.1",I=j,B=new Date(2024,8,25);if(globalThis.CKEDITOR_VERSION)throw new S("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=j;const D=Symbol("listeningTo"),N=Symbol("emitterId"),F=Symbol("delegations"),L=z(Object);function z(e){if(!e)return L;return class extends e{on(e,t,o){this.listenTo(this,e,t,o)}once(e,t,o){let s=!1;this.listenTo(this,e,((e,...o)=>{s||(s=!0,e.off(),t.call(this,e,...o))}),o)}off(e,t){this.stopListening(this,e,t)}listenTo(e,t,o,s={}){let i,n;this[D]||(this[D]={});const r=this[D];$(e)||H(e);const a=$(e);(i=r[a])||(i=r[a]={emitter:e,callbacks:{}}),(n=i.callbacks[t])||(n=i.callbacks[t]=[]),n.push(o),function(e,t,o,s,i){t._addEventListener?t._addEventListener(o,s,i):e._addEventListener.call(t,o,s,i)}(this,e,t,o,s)}stopListening(e,t,o){const s=this[D];let i=e&&$(e);const n=s&&i?s[i]:void 0,r=n&&t?n.callbacks[t]:void 0;if(!(!s||e&&!n||t&&!r))if(o){Y(this,e,t,o);-1!==r.indexOf(o)&&(1===r.length?delete n.callbacks[t]:Y(this,e,t,o))}else if(r){for(;o=r.pop();)Y(this,e,t,o);delete n.callbacks[t]}else if(n){for(t in n.callbacks)this.stopListening(e,t);delete s[i]}else{for(i in s)this.stopListening(s[i].emitter);delete this[D]}}fire(e,...t){try{const o=e instanceof x?e:new x(this,e),s=o.name;let i=U(this,s);if(o.path.push(this),i){const e=[o,...t];i=Array.from(i);for(let t=0;t<i.length&&(i[t].callback.apply(this,e),o.off.called&&(delete o.off.called,this._removeEventListener(s,i[t].callback)),!o.stop.called);t++);}const n=this[F];if(n){const e=n.get(s),i=n.get("*");e&&K(e,o,t),i&&K(i,o,t)}return o.return}catch(e){S.rethrowUnexpectedError(e,this)}}delegate(...e){return{to:(t,o)=>{this[F]||(this[F]=new Map),e.forEach((e=>{const s=this[F].get(e);s?s.set(t,o):this[F].set(e,new Map([[t,o]]))}))}}}stopDelegating(e,t){if(this[F])if(e)if(t){const o=this[F].get(e);o&&o.delete(t)}else this[F].delete(e);else this[F].clear()}_addEventListener(e,t,o){!function(e,t){const o=W(e);if(o[t])return;let s=t,i=null;const n=[];for(;""!==s&&!o[s];)o[s]={callbacks:[],childEvents:[]},n.push(o[s]),i&&o[s].childEvents.push(i),i=s,s=s.substr(0,s.lastIndexOf(":"));if(""!==s){for(const e of n)e.callbacks=o[s].callbacks.slice();o[s].childEvents.push(i)}}(this,e);const s=q(this,e),i={callback:t,priority:T.get(o.priority)};for(const e of s)E(e,i)}_removeEventListener(e,t){const o=q(this,e);for(const e of o)for(let o=0;o<e.length;o++)e[o].callback==t&&(e.splice(o,1),o--)}}}function H(e,t){e[N]||(e[N]=t||C())}function $(e){return e[N]}function W(e){return e._events||Object.defineProperty(e,"_events",{value:{}}),e._events}function q(e,t){const o=W(e)[t];if(!o)return[];let s=[o.callbacks];for(let t=0;t<o.childEvents.length;t++){const i=q(e,o.childEvents[t]);s=s.concat(i)}return s}function U(e,t){let o;return e._events&&(o=e._events[t])&&o.callbacks.length?o.callbacks:t.indexOf(":")>-1?U(e,t.substr(0,t.lastIndexOf(":"))):null}function K(e,t,o){for(let[s,i]of e){i?"function"==typeof i&&(i=i(t.name)):i=t.name;const e=new x(t.source,i);e.path=[...t.path],s.fire(e,...o)}}function Y(e,t,o,s){t._removeEventListener?t._removeEventListener(o,s):e._removeEventListener.call(t,o,s)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{z[e]=L.prototype[e]}));var G=o("./node_modules/lodash-es/isObject.js");const Z=Symbol("observableProperties"),J=Symbol("boundObservables"),X=Symbol("boundProperties"),Q=Symbol("decoratedMethods"),ee=Symbol("decoratedOriginal"),te=oe(z());function oe(e){if(!e)return te;return class extends e{set(e,t){if((0,G.A)(e))return void Object.keys(e).forEach((t=>{this.set(t,e[t])}),this);se(this);const o=this[Z];if(e in this&&!o.has(e))throw new S("observable-set-cannot-override",this);Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>o.get(e),set(t){const s=o.get(e);let i=this.fire(`set:${e}`,e,t,s);void 0===i&&(i=t),s===i&&o.has(e)||(o.set(e,i),this.fire(`change:${e}`,e,i,s))}}),this[e]=t}bind(...e){if(!e.length||!re(e))throw new S("observable-bind-wrong-properties",this);if(new Set(e).size!==e.length)throw new S("observable-bind-duplicate-properties",this);se(this);const t=this[X];e.forEach((e=>{if(t.has(e))throw new S("observable-bind-rebind",this)}));const o=new Map;return e.forEach((e=>{const s={property:e,to:[]};t.set(e,s),o.set(e,s)})),{to:ie,toMany:ne,_observable:this,_bindProperties:e,_to:[],_bindings:o}}unbind(...e){if(!this[Z])return;const t=this[X],o=this[J];if(e.length){if(!re(e))throw new S("observable-unbind-wrong-properties",this);e.forEach((e=>{const s=t.get(e);s&&(s.to.forEach((([e,t])=>{const i=o.get(e),n=i[t];n.delete(s),n.size||delete i[t],Object.keys(i).length||(o.delete(e),this.stopListening(e,"change"))})),t.delete(e))}))}else o.forEach(((e,t)=>{this.stopListening(t,"change")})),o.clear(),t.clear()}decorate(e){se(this);const t=this[e];if(!t)throw new S("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:e});this.on(e,((e,o)=>{e.return=t.apply(this,o)})),this[e]=function(...t){return this.fire(e,t)},this[e][ee]=t,this[Q]||(this[Q]=[]),this[Q].push(e)}stopListening(e,t,o){if(!e&&this[Q]){for(const e of this[Q])this[e]=this[e][ee];delete this[Q]}super.stopListening(e,t,o)}[Z];[Q];[X];[J]}}function se(e){e[Z]||(Object.defineProperty(e,Z,{value:new Map}),Object.defineProperty(e,J,{value:new Map}),Object.defineProperty(e,X,{value:new Map}))}function ie(...e){const t=function(...e){if(!e.length)throw new S("observable-bind-to-parse-error",null);const t={to:[]};let o;"function"==typeof e[e.length-1]&&(t.callback=e.pop());return e.forEach((e=>{if("string"==typeof e)o.properties.push(e);else{if("object"!=typeof e)throw new S("observable-bind-to-parse-error",null);o={observable:e,properties:[]},t.to.push(o)}})),t}(...e),o=Array.from(this._bindings.keys()),s=o.length;if(!t.callback&&t.to.length>1)throw new S("observable-bind-to-no-callback",this);if(s>1&&t.callback)throw new S("observable-bind-to-extra-callback",this);var i;t.to.forEach((e=>{if(e.properties.length&&e.properties.length!==s)throw new S("observable-bind-to-properties-length",this);e.properties.length||(e.properties=this._bindProperties)})),this._to=t.to,t.callback&&(this._bindings.get(o[0]).callback=t.callback),i=this._observable,this._to.forEach((e=>{const t=i[J];let o;t.get(e.observable)||i.listenTo(e.observable,"change",((s,n)=>{o=t.get(e.observable)[n],o&&o.forEach((e=>{ae(i,e.property)}))}))})),function(e){let t;e._bindings.forEach(((o,s)=>{e._to.forEach((i=>{t=i.properties[o.callback?0:e._bindProperties.indexOf(s)],o.to.push([i.observable,t]),function(e,t,o,s){const i=e[J],n=i.get(o),r=n||{};r[s]||(r[s]=new Set);r[s].add(t),n||i.set(o,r)}(e._observable,o,i.observable,t)}))}))}(this),this._bindProperties.forEach((e=>{ae(this._observable,e)}))}function ne(e,t,o){if(this._bindings.size>1)throw new S("observable-bind-to-many-not-one-binding",this);this.to(...function(e,t){const o=e.map((e=>[e,t]));return Array.prototype.concat.apply([],o)}(e,t),o)}function re(e){return e.every((e=>"string"==typeof e))}function ae(e,t){const o=e[X].get(t);let s;o.callback?s=o.callback.apply(e,o.to.map((e=>e[0][e[1]]))):(s=o.to[0],s=s[0][s[1]]),Object.prototype.hasOwnProperty.call(e,t)?e[t]=s:e.set(t,s)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{oe[e]=te.prototype[e]}));class ce{_replacedElements;constructor(){this._replacedElements=[]}replace(e,t){this._replacedElements.push({element:e,newElement:t}),e.style.display="none",t&&e.parentNode.insertBefore(t,e.nextSibling)}restore(){this._replacedElements.forEach((({element:e,newElement:t})=>{e.style.display="",t&&t.remove()})),this._replacedElements=[]}}function le(e){let t=new AbortController;function o(...o){return t.abort(),t=new AbortController,e(t.signal,...o)}return o.abort=()=>t.abort(),o}function de(e){let t=0;for(const o of e)t++;return t}function he(e,t){const o=Math.min(e.length,t.length);for(let s=0;s<o;s++)if(e[s]!=t[s])return s;return e.length==t.length?"same":e.length<t.length?"prefix":"extension"}function ue(e){return!(!e||!e[Symbol.iterator])}var me=o("./node_modules/lodash-es/_baseGetTag.js"),pe=o("./node_modules/lodash-es/isArray.js"),fe=o("./node_modules/lodash-es/isObjectLike.js");const ge=function(e){return"string"==typeof e||!(0,pe.A)(e)&&(0,fe.A)(e)&&"[object String]"==(0,me.A)(e)};function _e(e,t,o={},s=[]){const i=o&&o.xmlns,n=i?e.createElementNS(i,t):e.createElement(t);for(const e in o)n.setAttribute(e,o[e]);!ge(s)&&ue(s)||(s=[s]);for(let t of s)ge(t)&&(t=e.createTextNode(t)),n.appendChild(t);return n}var be=o("./node_modules/lodash-es/isPlainObject.js"),ke=o("./node_modules/lodash-es/cloneDeepWith.js"),we=o("./node_modules/lodash-es/isElement.js");class ve{_config;constructor(e,t){this._config=Object.create(null),t&&this.define(ye(t)),e&&this._setObjectToTarget(this._config,e)}set(e,t){this._setToTarget(this._config,e,t)}define(e,t){this._setToTarget(this._config,e,t,!0)}get(e){return this._getFromSource(this._config,e)}*names(){for(const e of Object.keys(this._config))yield e}_setToTarget(e,t,o,s=!1){if((0,be.A)(t))return void this._setObjectToTarget(e,t,s);const i=t.split(".");t=i.pop();for(const t of i)(0,be.A)(e[t])||(e[t]=Object.create(null)),e=e[t];if((0,be.A)(o))return(0,be.A)(e[t])||(e[t]=Object.create(null)),e=e[t],void this._setObjectToTarget(e,o,s);s&&void 0!==e[t]||(e[t]=o)}_getFromSource(e,t){const o=t.split(".");t=o.pop();for(const t of o){if(!(0,be.A)(e[t])){e=null;break}e=e[t]}return e?ye(e[t]):void 0}_setObjectToTarget(e,t,o){Object.keys(t).forEach((s=>{this._setToTarget(e,s,t[s],o)}))}}function ye(e){return(0,ke.A)(e,xe)}function xe(e){return(0,we.A)(e)||"function"==typeof e?e:void 0}function Ae(e){if(e){if(e.defaultView)return e instanceof e.defaultView.Document;if(e.ownerDocument&&e.ownerDocument.defaultView)return e instanceof e.ownerDocument.defaultView.Node}return!1}function Ce(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}const Te=Ee(z());function Ee(e){if(!e)return Te;return class extends e{listenTo(e,t,o,s={}){if(Ae(e)||Ce(e)){const i={capture:!!s.useCapture,passive:!!s.usePassive},n=this._getProxyEmitter(e,i)||new Pe(e,i);this.listenTo(n,t,o,s)}else super.listenTo(e,t,o,s)}stopListening(e,t,o){if(Ae(e)||Ce(e)){const s=this._getAllProxyEmitters(e);for(const e of s)this.stopListening(e,t,o)}else super.stopListening(e,t,o)}_getProxyEmitter(e,t){return function(e,t){const o=e[D];return o&&o[t]?o[t].emitter:null}(this,Se(e,t))}_getAllProxyEmitters(e){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((t=>this._getProxyEmitter(e,t))).filter((e=>!!e))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{Ee[e]=Te.prototype[e]}));class Pe extends(z()){_domNode;_options;constructor(e,t){super(),H(this,Se(e,t)),this._domNode=e,this._options=t}_domListeners;attach(e){if(this._domListeners&&this._domListeners[e])return;const t=this._createDomListener(e);this._domNode.addEventListener(e,t,this._options),this._domListeners||(this._domListeners={}),this._domListeners[e]=t}detach(e){let t;!this._domListeners[e]||(t=this._events[e])&&t.callbacks.length||this._domListeners[e].removeListener()}_addEventListener(e,t,o){this.attach(e),z().prototype._addEventListener.call(this,e,t,o)}_removeEventListener(e,t){z().prototype._removeEventListener.call(this,e,t),this.detach(e)}_createDomListener(e){const t=t=>{this.fire(e,t)};return t.removeListener=()=>{this._domNode.removeEventListener(e,t,this._options),delete this._domListeners[e]},t}}function Se(e,t){let o=function(e){return e["data-ck-expando"]||(e["data-ck-expando"]=C())}(e);for(const e of Object.keys(t).sort())t[e]&&(o+="-"+e);return o}function Me(e){let t=e.parentElement;if(!t)return null;for(;"BODY"!=t.tagName;){const e=t.style.overflowY||i.window.getComputedStyle(t).overflowY;if("auto"===e||"scroll"===e)break;if(t=t.parentElement,!t)return null}return t}function Oe(e){const t=[];let o=e;for(;o&&o.nodeType!=Node.DOCUMENT_NODE;)t.unshift(o),o=o.parentNode;return t}function Ve(e){return e instanceof HTMLTextAreaElement?e.value:e.innerHTML}function Re(e){const t=e.ownerDocument.defaultView.getComputedStyle(e);return{top:parseInt(t.borderTopWidth,10),right:parseInt(t.borderRightWidth,10),bottom:parseInt(t.borderBottomWidth,10),left:parseInt(t.borderLeftWidth,10)}}function je(e){if(!e.target)return null;const t=e.target.ownerDocument,o=e.clientX,s=e.clientY;let i=null;return t.caretRangeFromPoint&&t.caretRangeFromPoint(o,s)?i=t.caretRangeFromPoint(o,s):e.rangeParent&&(i=t.createRange(),i.setStart(e.rangeParent,e.rangeOffset),i.collapse(!0)),i}function Ie(e){return"[object Text]"==Object.prototype.toString.call(e)}function Be(e){return"[object Range]"==Object.prototype.toString.apply(e)}function De(e){return e&&e.parentNode?e.offsetParent===i.document.body?null:e.offsetParent:null}const Ne=["top","right","bottom","left","width","height"];class Fe{top;right;bottom;left;width;height;_source;constructor(e){const t=Be(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),He(e)||t)if(t){const t=Fe.getDomRangeRects(e);Le(this,Fe.getBoundingRect(t))}else Le(this,e.getBoundingClientRect());else if(Ce(e)){const{innerWidth:t,innerHeight:o}=e;Le(this,{top:0,right:t,bottom:o,left:0,width:t,height:o})}else Le(this,e)}clone(){return new Fe(this)}moveTo(e,t){return this.top=t,this.right=e+this.width,this.bottom=t+this.height,this.left=e,this}moveBy(e,t){return this.top+=t,this.right+=e,this.left+=e,this.bottom+=t,this}getIntersection(e){const t={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left),width:0,height:0};if(t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0)return null;{const e=new Fe(t);return e._source=this._source,e}}getIntersectionArea(e){const t=this.getIntersection(e);return t?t.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let t=this.clone();if(ze(e))return t;let o,s=e,i=e.parentNode||e.commonAncestorContainer;for(;i&&!ze(i);){const e="visible"===((n=i)instanceof HTMLElement?n.ownerDocument.defaultView.getComputedStyle(n).overflow:"visible");s instanceof HTMLElement&&"absolute"===$e(s)&&(o=s);const r=$e(i);if(e||o&&("relative"===r&&e||"relative"!==r)){s=i,i=i.parentNode;continue}const a=new Fe(i),c=t.getIntersection(a);if(!c)return null;c.getArea()<t.getArea()&&(t=c),s=i,i=i.parentNode}var n;return t}isEqual(e){for(const t of Ne)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}toAbsoluteRect(){const{scrollX:e,scrollY:t}=i.window,o=this.clone().moveBy(e,t);if(He(o._source)){const e=De(o._source);e&&function(e,t){const o=new Fe(t),s=Re(t);let i=0,n=0;i-=o.left,n-=o.top,i+=t.scrollLeft,n+=t.scrollTop,i-=s.left,n-=s.top,e.moveBy(i,n)}(o,e)}return o}excludeScrollbarsAndBorders(){const e=this._source;let t,o,s;if(Ce(e))t=e.innerWidth-e.document.documentElement.clientWidth,o=e.innerHeight-e.document.documentElement.clientHeight,s=e.getComputedStyle(e.document.documentElement).direction;else{const i=Re(e);t=e.offsetWidth-e.clientWidth-i.left-i.right,o=e.offsetHeight-e.clientHeight-i.top-i.bottom,s=e.ownerDocument.defaultView.getComputedStyle(e).direction,this.left+=i.left,this.top+=i.top,this.right-=i.right,this.bottom-=i.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===s?this.right-=t:this.left+=t,this.height-=o,this.bottom-=o,this}static getDomRangeRects(e){const t=[],o=Array.from(e.getClientRects());if(o.length)for(const e of o)t.push(new Fe(e));else{let o=e.startContainer;Ie(o)&&(o=o.parentNode);const s=new Fe(o.getBoundingClientRect());s.right=s.left,s.width=0,t.push(s)}return t}static getBoundingRect(e){const t={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,width:0,height:0};let o=0;for(const s of e)o++,t.left=Math.min(t.left,s.left),t.top=Math.min(t.top,s.top),t.right=Math.max(t.right,s.right),t.bottom=Math.max(t.bottom,s.bottom);return 0==o?null:(t.width=t.right-t.left,t.height=t.bottom-t.top,new Fe(t))}}function Le(e,t){for(const o of Ne)e[o]=t[o]}function ze(e){return!!He(e)&&e===e.ownerDocument.body}function He(e){return null!==e&&"object"==typeof e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect}function $e(e){return e instanceof HTMLElement?e.ownerDocument.defaultView.getComputedStyle(e).position:"static"}class We{_element;_callback;static _observerInstance=null;static _elementCallbacks=null;constructor(e,t){We._observerInstance||We._createObserver(),this._element=e,this._callback=t,We._addElementCallback(e,t),We._observerInstance.observe(e)}get element(){return this._element}destroy(){We._deleteElementCallback(this._element,this._callback)}static _addElementCallback(e,t){We._elementCallbacks||(We._elementCallbacks=new Map);let o=We._elementCallbacks.get(e);o||(o=new Set,We._elementCallbacks.set(e,o)),o.add(t)}static _deleteElementCallback(e,t){const o=We._getElementCallbacks(e);o&&(o.delete(t),o.size||(We._elementCallbacks.delete(e),We._observerInstance.unobserve(e))),We._elementCallbacks&&!We._elementCallbacks.size&&(We._observerInstance=null,We._elementCallbacks=null)}static _getElementCallbacks(e){return We._elementCallbacks?We._elementCallbacks.get(e):null}static _createObserver(){We._observerInstance=new i.window.ResizeObserver((e=>{for(const t of e){const e=We._getElementCallbacks(t.target);if(e)for(const o of e)o(t)}}))}}function qe(e,t){e instanceof HTMLTextAreaElement&&(e.value=t),e.innerHTML=t}function Ue(e){return t=>t+e}function Ke(e){let t=0;for(;e.previousSibling;)e=e.previousSibling,t++;return t}function Ye(e,t,o){e.insertBefore(o,e.childNodes[t]||null)}function Ge(e){return e&&e.nodeType===Node.COMMENT_NODE}function Ze(e){try{i.document.createAttribute(e)}catch(e){return!1}return!0}function Je(e){return!!e&&(Ie(e)?Je(e.parentElement):!!e.getClientRects&&!!e.getClientRects().length)}var Xe=o("./node_modules/lodash-es/isFunction.js");function Qe({element:e,target:t,positions:o,limiter:s,fitInViewport:n,viewportOffsetConfig:r}){(0,Xe.A)(t)&&(t=t()),(0,Xe.A)(s)&&(s=s());const a=De(e),c=function(e){e=Object.assign({top:0,bottom:0,left:0,right:0},e);const t=new Fe(i.window);return t.top+=e.top,t.height-=e.top,t.bottom-=e.bottom,t.height-=e.bottom,t}(r),l=new Fe(e),d=et(t,c);let h;if(!d||!c.getIntersection(d))return null;const u={targetRect:d,elementRect:l,positionedElementAncestor:a,viewportRect:c};if(s||n){if(s){const e=et(s,c);e&&(u.limiterRect=e)}h=function(e,t){const{elementRect:o}=t,s=o.getArea(),i=e.map((e=>new tt(e,t))).filter((e=>!!e.name));let n=0,r=null;for(const e of i){const{limiterIntersectionArea:t,viewportIntersectionArea:o}=e;if(t===s)return e;const i=o**2+t**2;i>n&&(n=i,r=e)}return r}(o,u)}else h=new tt(o[0],u);return h}function et(e,t){const o=new Fe(e).getVisible();return o?o.getIntersection(t):null}class tt{name;config;_positioningFunctionCoordinates;_options;_cachedRect;_cachedAbsoluteRect;constructor(e,t){const o=e(t.targetRect,t.elementRect,t.viewportRect,t.limiterRect);if(!o)return;const{left:s,top:i,name:n,config:r}=o;this.name=n,this.config=r,this._positioningFunctionCoordinates={left:s,top:i},this._options=t}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const e=this._options.limiterRect;return e?e.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=this._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function ot(e){const t=e.parentNode;t&&t.removeChild(e)}function st({target:e,viewportOffset:t=0,ancestorOffset:o=0,alignToTop:s,forceScroll:i}){const n=ht(e);let r=n,a=null;for(t=function(e){if("number"==typeof e)return{top:e,bottom:e,left:e,right:e};return e}(t);r;){let c;c=ut(r==n?e:a),rt({parent:c,getRect:()=>mt(e,r),alignToTop:s,ancestorOffset:o,forceScroll:i});const l=mt(e,r);if(nt({window:r,rect:l,viewportOffset:t,alignToTop:s,forceScroll:i}),r.parent!=r){if(a=r.frameElement,r=r.parent,!a)return}else r=null}}function it(e,t,o){rt({parent:ut(e),getRect:()=>new Fe(e),ancestorOffset:t,limiterElement:o})}function nt({window:e,rect:t,alignToTop:o,forceScroll:s,viewportOffset:i}){const n=t.clone().moveBy(0,i.bottom),r=t.clone().moveBy(0,-i.top),a=new Fe(e).excludeScrollbarsAndBorders(),c=o&&s,l=[r,n].every((e=>a.contains(e)));let{scrollX:d,scrollY:h}=e;const u=d,m=h;c?h-=a.top-t.top+i.top:l||(ct(r,a)?h-=a.top-t.top+i.top:at(n,a)&&(h+=o?t.top-a.top-i.top:t.bottom-a.bottom+i.bottom)),l||(lt(t,a)?d-=a.left-t.left+i.left:dt(t,a)&&(d+=t.right-a.right+i.right)),d==u&&h===m||e.scrollTo(d,h)}function rt({parent:e,getRect:t,alignToTop:o,forceScroll:s,ancestorOffset:i=0,limiterElement:n}){const r=ht(e),a=o&&s;let c,l,d;const h=n||r.document.body;for(;e!=h;)l=t(),c=new Fe(e).excludeScrollbarsAndBorders(),d=c.contains(l),a?e.scrollTop-=c.top-l.top+i:d||(ct(l,c)?e.scrollTop-=c.top-l.top+i:at(l,c)&&(e.scrollTop+=o?l.top-c.top-i:l.bottom-c.bottom+i)),d||(lt(l,c)?e.scrollLeft-=c.left-l.left+i:dt(l,c)&&(e.scrollLeft+=l.right-c.right+i)),e=e.parentNode}function at(e,t){return e.bottom>t.bottom}function ct(e,t){return e.top<t.top}function lt(e,t){return e.left<t.left}function dt(e,t){return e.right>t.right}function ht(e){return Be(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function ut(e){if(Be(e)){let t=e.commonAncestorContainer;return Ie(t)&&(t=t.parentNode),t}return e.parentNode}function mt(e,t){const o=ht(e),s=new Fe(e);if(o===t)return s;{let e=o;for(;e!=t;){const t=e.frameElement,o=new Fe(t).excludeScrollbarsAndBorders();s.moveBy(o.left,o.top),e=e.parent}}return s}const pt={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},ft={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},gt={37:"â†",38:"↑",39:"→",40:"↓",9:"⇥",33:"Page Up",34:"Page Down"},_t=Ct(),bt=Object.fromEntries(Object.entries(_t).map((([e,t])=>{let o;return o=t in gt?gt[t]:e.charAt(0).toUpperCase()+e.slice(1),[t,o]})));function kt(e){let t;if("string"==typeof e){if(t=_t[e.toLowerCase()],!t)throw new S("keyboard-unknown-key",null,{key:e})}else t=e.keyCode+(e.altKey?_t.alt:0)+(e.ctrlKey?_t.ctrl:0)+(e.shiftKey?_t.shift:0)+(e.metaKey?_t.cmd:0);return t}function wt(e){return"string"==typeof e&&(e=function(e){return e.split("+").map((e=>e.trim()))}(e)),e.map((e=>"string"==typeof e?function(e){if(e.endsWith("!"))return kt(e.slice(0,-1));const t=kt(e);return(a.isMac||a.isiOS)&&t==_t.ctrl?_t.cmd:t}(e):e)).reduce(((e,t)=>t+e),0)}function vt(e){let t=wt(e);return Object.entries(a.isMac||a.isiOS?pt:ft).reduce(((e,[o,s])=>(t&_t[o]&&(t&=~_t[o],e+=s),e)),"")+(t?bt[t]:"")}function yt(e){return e==_t.arrowright||e==_t.arrowleft||e==_t.arrowup||e==_t.arrowdown}function xt(e,t){const o="ltr"===t;switch(e){case _t.arrowleft:return o?"left":"right";case _t.arrowright:return o?"right":"left";case _t.arrowup:return"up";case _t.arrowdown:return"down"}}function At(e,t){const o=xt(e,t);return"down"===o||"right"===o}function Ct(){const e={pageup:33,pagedown:34,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let t=65;t<=90;t++){e[String.fromCharCode(t).toLowerCase()]=t}for(let t=48;t<=57;t++)e[t-48]=t;for(let t=112;t<=123;t++)e["f"+(t-111)]=t;return Object.assign(e,{"'":222,",":108,"-":109,".":110,"/":111,";":186,"=":187,"[":219,"\\":220,"]":221,"`":223}),e}const Tt=["ar","ara","dv","div","fa","per","fas","he","heb","ku","kur","ug","uig"];function Et(e){return Tt.includes(e)?"rtl":"ltr"}function Pt(e){return Array.isArray(e)?e:[e]}var St=o("./node_modules/lodash-es/merge.js");function Mt(e,t,o=1,s){if("number"!=typeof o)throw new S("translation-service-quantity-not-a-number",null,{quantity:o});const n=s||i.window.CKEDITOR_TRANSLATIONS,r=function(e){return Object.keys(e).length}(n);1===r&&(e=Object.keys(n)[0]);const a=t.id||t.string;if(0===r||!function(e,t,o){return!!o[e]&&!!o[e].dictionary[t]}(e,a,n))return 1!==o?t.plural:t.string;const c=n[e].dictionary,l=n[e].getPluralForm||(e=>1===e?0:1),d=c[a];if("string"==typeof d)return d;return d[Number(l(o))]}i.window.CKEDITOR_TRANSLATIONS||(i.window.CKEDITOR_TRANSLATIONS={});class Ot{uiLanguage;uiLanguageDirection;contentLanguage;contentLanguageDirection;t;translations;constructor({uiLanguage:e="en",contentLanguage:t,translations:o}={}){this.uiLanguage=e,this.contentLanguage=t||this.uiLanguage,this.uiLanguageDirection=Et(this.uiLanguage),this.contentLanguageDirection=Et(this.contentLanguage),this.translations=function(e){return Array.isArray(e)?e.reduce(((e,t)=>(0,St.A)(e,t))):e}(o),this.t=(e,t)=>this._t(e,t)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(e,t=[]){t=Pt(t),"string"==typeof e&&(e={string:e});const o=!!e.plural?t[0]:1;return function(e,t){return e.replace(/%(\d+)/g,((e,o)=>o<t.length?t[o]:e))}(Mt(this.uiLanguage,e,o,this.translations),t)}}class Vt extends(z()){_items;_itemMap;_idProperty;_bindToCollection;_bindToExternalToInternalMap;_bindToInternalToExternalMap;_skippedIndexesFromExternal;constructor(e={},t={}){super();const o=ue(e);if(o||(t=e),this._items=[],this._itemMap=new Map,this._idProperty=t.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],o)for(const t of e)this._items.push(t),this._itemMap.set(this._getItemIdBeforeAdding(t),t)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(e,t){return this.addMany([e],t)}addMany(e,t){if(void 0===t)t=this._items.length;else if(t>this._items.length||t<0)throw new S("collection-add-item-invalid-index",this);let o=0;for(const s of e){const e=this._getItemIdBeforeAdding(s),i=t+o;this._items.splice(i,0,s),this._itemMap.set(e,s),this.fire("add",s,i),o++}return this.fire("change",{added:e,removed:[],index:t}),this}get(e){let t;if("string"==typeof e)t=this._itemMap.get(e);else{if("number"!=typeof e)throw new S("collection-get-invalid-arg",this);t=this._items[e]}return t||null}has(e){if("string"==typeof e)return this._itemMap.has(e);{const t=e[this._idProperty];return t&&this._itemMap.has(t)}}getIndex(e){let t;return t="string"==typeof e?this._itemMap.get(e):e,t?this._items.indexOf(t):-1}remove(e){const[t,o]=this._remove(e);return this.fire("change",{added:[],removed:[t],index:o}),t}map(e,t){return this._items.map(e,t)}forEach(e,t){this._items.forEach(e,t)}find(e,t){return this._items.find(e,t)}filter(e,t){return this._items.filter(e,t)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const e=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:e,index:0})}bindTo(e){if(this._bindToCollection)throw new S("collection-bind-to-rebind",this);return this._bindToCollection=e,{as:e=>{this._setUpBindToBinding((t=>new e(t)))},using:e=>{"function"==typeof e?this._setUpBindToBinding(e):this._setUpBindToBinding((t=>t[e]))}}}_setUpBindToBinding(e){const t=this._bindToCollection,o=(o,s,i)=>{const n=t._bindToCollection==this,r=t._bindToInternalToExternalMap.get(s);if(n&&r)this._bindToExternalToInternalMap.set(s,r),this._bindToInternalToExternalMap.set(r,s);else{const o=e(s);if(!o)return void this._skippedIndexesFromExternal.push(i);let n=i;for(const e of this._skippedIndexesFromExternal)i>e&&n--;for(const e of t._skippedIndexesFromExternal)n>=e&&n++;this._bindToExternalToInternalMap.set(s,o),this._bindToInternalToExternalMap.set(o,s),this.add(o,n);for(let e=0;e<t._skippedIndexesFromExternal.length;e++)n<=t._skippedIndexesFromExternal[e]&&t._skippedIndexesFromExternal[e]++}};for(const e of t)o(0,e,t.getIndex(e));this.listenTo(t,"add",o),this.listenTo(t,"remove",((e,t,o)=>{const s=this._bindToExternalToInternalMap.get(t);s&&this.remove(s),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((e,t)=>(o<t&&e.push(t-1),o>t&&e.push(t),e)),[])}))}_getItemIdBeforeAdding(e){const t=this._idProperty;let o;if(t in e){if(o=e[t],"string"!=typeof o)throw new S("collection-add-invalid-id",this);if(this.get(o))throw new S("collection-add-item-already-exists",this)}else e[t]=o=C();return o}_remove(e){let t,o,s,i=!1;const n=this._idProperty;if("string"==typeof e?(o=e,s=this._itemMap.get(o),i=!s,s&&(t=this._items.indexOf(s))):"number"==typeof e?(t=e,s=this._items[t],i=!s,s&&(o=s[n])):(s=e,o=s[n],t=this._items.indexOf(s),i=-1==t||!this._itemMap.get(o)),i)throw new S("collection-remove-404",this);this._items.splice(t,1),this._itemMap.delete(o);const r=this._bindToInternalToExternalMap.get(s);return this._bindToInternalToExternalMap.delete(s),this._bindToExternalToInternalMap.delete(r),this.fire("remove",s,t),[s,t]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function Rt(e){const t=e.next();return t.done?null:t.value}class jt extends(Ee(oe())){_elements=new Set;_nextEventLoopTimeout=null;constructor(){super(),this.set("isFocused",!1),this.set("focusedElement",null)}get elements(){return Array.from(this._elements.values())}add(e){if(this._elements.has(e))throw new S("focustracker-add-element-already-exist",this);this.listenTo(e,"focus",(()=>this._focus(e)),{useCapture:!0}),this.listenTo(e,"blur",(()=>this._blur()),{useCapture:!0}),this._elements.add(e)}remove(e){e===this.focusedElement&&this._blur(),this._elements.has(e)&&(this.stopListening(e),this._elements.delete(e))}destroy(){this.stopListening()}_focus(e){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=e,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout((()=>{this.focusedElement=null,this.isFocused=!1}),0)}}class It{_listener;constructor(){this._listener=new(Ee())}listenTo(e){this._listener.listenTo(e,"keydown",((e,t)=>{this._listener.fire("_keydown:"+kt(t),t)}))}set(e,t,o={}){const s=wt(e),i=o.priority;this._listener.listenTo(this._listener,"_keydown:"+s,((e,s)=>{o.filter&&!o.filter(s)||(t(s,(()=>{s.preventDefault(),s.stopPropagation(),e.stop()})),e.return=!0)}),{priority:i})}press(e){return!!this._listener.fire("_keydown:"+kt(e),e)}stopListening(e){this._listener.stopListening(e)}destroy(){this.stopListening()}}function Bt(e){return ue(e)?new Map(e):function(e){const t=new Map;for(const o in e)t.set(o,e[o]);return t}(e)}function Dt(e,t={}){return new Promise(((o,s)=>{const i=t.signal||(new AbortController).signal;i.throwIfAborted();const n=setTimeout((function(){i.removeEventListener("abort",r),o()}),e);function r(){clearTimeout(n),s(i.reason)}i.addEventListener("abort",r,{once:!0})}))}async function Nt(e,t={}){const{maxAttempts:o=4,retryDelay:s=Ft(),signal:i=(new AbortController).signal}=t;i.throwIfAborted();for(let t=0;;t++){try{return await e()}catch(e){if(t+1>=o)throw e}await Dt(s(t),{signal:i})}}function Ft(e={}){const{delay:t=1e3,factor:o=2,maxDelay:s=1e4}=e;return e=>Math.min(o**e*t,s)}const Lt=1e4;function zt(e,t,o,s){if(Math.max(t.length,e.length)>Lt)return e.slice(0,o).concat(t).concat(e.slice(o+s,e.length));{const i=Array.from(e);return i.splice(o,s,...t),i}}function Ht(e,t){let o;function s(...i){s.cancel(),o=setTimeout((()=>e(...i)),t)}return s.cancel=()=>{clearTimeout(o)},s}function $t(e){function t(e){return e.length>=40&&e.length<=255?"VALID":"INVALID"}if(!e)return"INVALID";let o="";try{o=atob(e)}catch(e){return"INVALID"}const s=o.split("-"),i=s[0],n=s[1];if(!n)return t(e);try{atob(n)}catch(o){try{if(atob(i),!atob(i).length)return t(e)}catch(o){return t(e)}}if(i.length<40||i.length>255)return"INVALID";let r="";try{atob(i),r=atob(n)}catch(e){return"INVALID"}if(8!==r.length)return"INVALID";const a=Number(r.substring(0,4)),c=Number(r.substring(4,6))-1,l=Number(r.substring(6,8)),d=new Date(a,c,l);return d<B||isNaN(Number(d))?"INVALID":"VALID"}function Wt(e){return!!e&&1==e.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(e)}function qt(e){return!!e&&1==e.length&&/[\ud800-\udbff]/.test(e)}function Ut(e){return!!e&&1==e.length&&/[\udc00-\udfff]/.test(e)}function Kt(e,t){return qt(e.charAt(t-1))&&Ut(e.charAt(t))}function Yt(e,t){return Wt(e.charAt(t))}const Gt=Jt();function Zt(e,t){const o=String(e).matchAll(Gt);return Array.from(o).some((e=>e.index<t&&t<e.index+e[0].length))}function Jt(){const e=/\p{Regional_Indicator}{2}/u.source,t="(?:"+[/\p{Emoji}[\u{E0020}-\u{E007E}]+\u{E007F}/u,/\p{Emoji}\u{FE0F}?\u{20E3}/u,/\p{Emoji}\u{FE0F}/u,/(?=\p{General_Category=Other_Symbol})\p{Emoji}\p{Emoji_Modifier}*/u].map((e=>e.source)).join("|")+")";return new RegExp(`${e}|${t}(?:â€${t})*`,"ug")}},"./packages/ckeditor5-watchdog/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{Zd:()=>m,VJ:()=>d,Io:()=>s});class s{crashes=[];state="initializing";_crashNumberLimit;_now=Date.now;_minimumNonErrorTimePeriod;_boundErrorHandler;_listeners;constructor(e){if(this.crashes=[],this._crashNumberLimit="number"==typeof e.crashNumberLimit?e.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof e.minimumNonErrorTimePeriod?e.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=e=>{const t="error"in e?e.error:e.reason;t instanceof Error&&this._handleError(t,e)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){this._listeners[e]=this._listeners[e].filter((e=>e!==t))}_fire(e,...t){const o=this._listeners[e]||[];for(const e of o)e.apply(this,[null,...t])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(e,t){if(this._shouldReactToError(e)){this.crashes.push({message:e.message,stack:e.stack,filename:t instanceof ErrorEvent?t.filename:void 0,lineno:t instanceof ErrorEvent?t.lineno:void 0,colno:t instanceof ErrorEvent?t.colno:void 0,date:this._now()});const o=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:e,causesRestart:o}),o?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(e){return e.is&&e.is("CKEditorError")&&void 0!==e.context&&null!==e.context&&"ready"===this.state&&this._isErrorComingFromThisItem(e)}_shouldRestart(){if(this.crashes.length<=this._crashNumberLimit)return!0;return(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function i(e,t=new Set){const o=[e],s=new Set;let i=0;for(;o.length>i;){const e=o[i++];if(!s.has(e)&&n(e)&&!t.has(e))if(s.add(e),Symbol.iterator in e)try{for(const t of e)o.push(t)}catch(e){}else for(const t in e)"defaultValue"!==t&&o.push(e[t])}return s}function n(e){const t=Object.prototype.toString.call(e),o=typeof e;return!("number"===o||"boolean"===o||"string"===o||"symbol"===o||"function"===o||"[object Date]"===t||"[object RegExp]"===t||"[object Module]"===t||null==e||e._watchdogExcluded||e instanceof EventTarget||e instanceof Event)}function r(e,t,o=new Set){if(e===t&&("object"==typeof(s=e)&&null!==s))return!0;var s;const n=i(e,o),r=i(t,o);for(const e of n)if(r.has(e))return!0;return!1}var a=o("./node_modules/lodash-es/throttle.js"),c=o("./node_modules/lodash-es/isElement.js"),l=o("./node_modules/lodash-es/cloneDeepWith.js");class d extends s{_editor=null;_lifecyclePromise=null;_throttledSave;_data;_lastDocumentVersion;_elementOrData;_initUsingData=!0;_editables={};_config;_excludedProps;constructor(e,t={}){super(t),this._throttledSave=(0,a.A)(this._save.bind(this),"number"==typeof t.saveInterval?t.saveInterval:5e3),e&&(this._creator=(t,o)=>e.create(t,o)),this._destructor=e=>e.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(e){this._creator=e}setDestructor(e){this._destructor=e}_restart(){return Promise.resolve().then((()=>(this.state="initializing",this._fire("stateChange"),this._destroy()))).catch((e=>{console.error("An error happened during the editor destroying.",e)})).then((()=>{const e={},t=[],o=this._config.rootsAttributes||{},s={};for(const[i,n]of Object.entries(this._data.roots))n.isLoaded?(e[i]="",s[i]=o[i]||{}):t.push(i);const i={...this._config,extraPlugins:this._config.extraPlugins||[],lazyRoots:t,rootsAttributes:s,_watchdogInitialData:this._data};return delete i.initialData,i.extraPlugins.push(h),this._initUsingData?this.create(e,i,i.context):(0,c.A)(this._elementOrData)?this.create(this._elementOrData,i,i.context):this.create(this._editables,i,i.context)})).then((()=>{this._fire("restart")}))}create(e=this._elementOrData,t=this._config,o){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then((()=>(super._startErrorHandling(),this._elementOrData=e,this._initUsingData="string"==typeof e||Object.keys(e).length>0&&"string"==typeof Object.values(e)[0],this._config=this._cloneEditorConfiguration(t)||{},this._config.context=o,this._creator(e,this._config)))).then((e=>{this._editor=e,e.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=e.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})).finally((()=>{this._lifecyclePromise=null})),this._lifecyclePromise}destroy(){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))).finally((()=>{this._lifecyclePromise=null})),this._lifecyclePromise}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.cancel();const e=this._editor;return this._editor=null,e.model.document.off("change:data",this._throttledSave),this._destructor(e)}))}_save(){const e=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=e}catch(e){console.error(e,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(e){this._excludedProps=e}_getData(){const e=this._editor,t=e.model.document.roots.filter((e=>e.isAttached()&&"$graveyard"!=e.rootName)),{plugins:o}=e,s=o.has("CommentsRepository")&&o.get("CommentsRepository"),i=o.has("TrackChanges")&&o.get("TrackChanges"),n={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};t.forEach((e=>{n.roots[e.rootName]={content:JSON.stringify(Array.from(e.getChildren())),attributes:JSON.stringify(Array.from(e.getAttributes())),isLoaded:e._isLoaded}}));for(const t of e.model.markers)t._affectsData&&(n.markers[t.name]={rangeJSON:t.getRange().toJSON(),usingOperation:t._managedUsingOperations,affectsData:t._affectsData});return s&&(n.commentThreads=JSON.stringify(s.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),i&&(n.suggestions=JSON.stringify(i.getSuggestions({toJSON:!0,skipNotAttached:!0}))),n}_getEditables(){const e={};for(const t of this.editor.model.document.getRootNames()){const o=this.editor.ui.getEditableElement(t);o&&(e[t]=o)}return e}_isErrorComingFromThisItem(e){return r(this._editor,e.context,this._excludedProps)}_cloneEditorConfiguration(e){return(0,l.A)(e,((e,t)=>(0,c.A)(e)||"context"===t?e:void 0))}}class h{editor;_data;constructor(e){this.editor=e,this._data=e.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",(e=>{e.stop(),this.editor.model.enqueueChange({isUndoable:!1},(e=>{this._restoreCollaborationData(),this._restoreEditorData(e)})),this.editor.data.fire("ready")}),{priority:999})}_createNode(e,t){if("name"in t){const o=e.createElement(t.name,t.attributes);if(t.children)for(const s of t.children)o._appendChild(this._createNode(e,s));return o}return e.createText(t.data,t.attributes)}_restoreEditorData(e){const t=this.editor;Object.entries(this._data.roots).forEach((([o,{content:s,attributes:i}])=>{const n=JSON.parse(s),r=JSON.parse(i),a=t.model.document.getRoot(o);for(const[t,o]of r)e.setAttribute(t,o,a);for(const t of n){const o=this._createNode(e,t);e.insert(o,a,"end")}})),Object.entries(this._data.markers).forEach((([o,s])=>{const{document:i}=t.model,{rangeJSON:{start:n,end:r},...a}=s,c=i.getRoot(n.root),l=e.createPositionFromPath(c,n.path,n.stickiness),d=e.createPositionFromPath(c,r.path,r.stickiness),h=e.createRange(l,d);e.addMarker(o,{range:h,...a})}))}_restoreCollaborationData(){const e=JSON.parse(this._data.commentThreads),t=JSON.parse(this._data.suggestions);e.forEach((e=>{const t=this.editor.config.get("collaboration.channelId"),o=this.editor.plugins.get("CommentsRepository");if(o.hasCommentThread(e.threadId)){o.getCommentThread(e.threadId).remove()}o.addCommentThread({channelId:t,...e})})),t.forEach((e=>{const t=this.editor.plugins.get("TrackChangesEditing");if(t.hasSuggestion(e.id)){t.getSuggestion(e.id).attributes=e.attributes}else t.addSuggestionData(e)}))}}const u=Symbol("MainQueueId");class m extends s{_watchdogs=new Map;_watchdogConfig;_context=null;_contextProps=new Set;_actionQueues=new p;_contextConfig;_item;constructor(e,t={}){super(t),this._watchdogConfig=t,this._creator=t=>e.create(t),this._destructor=e=>e.destroy(),this._actionQueues.onEmpty((()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))}))}setCreator(e){this._creator=e}setDestructor(e){this._destructor=e}get context(){return this._context}create(e={}){return this._actionQueues.enqueue(u,(()=>(this._contextConfig=e,this._create())))}getItem(e){return this._getWatchdog(e)._item}getItemState(e){return this._getWatchdog(e).state}add(e){const t=f(e);return Promise.all(t.map((e=>this._actionQueues.enqueue(e.id,(()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let t;if(this._watchdogs.has(e.id))throw new Error(`Item with the given id is already added: '${e.id}'.`);if("editor"===e.type)return t=new d(null,this._watchdogConfig),t.setCreator(e.creator),t._setExcludedProperties(this._contextProps),e.destructor&&t.setDestructor(e.destructor),this._watchdogs.set(e.id,t),t.on("error",((o,{error:s,causesRestart:i})=>{this._fire("itemError",{itemId:e.id,error:s}),i&&this._actionQueues.enqueue(e.id,(()=>new Promise((o=>{const s=()=>{t.off("restart",s),this._fire("itemRestart",{itemId:e.id}),o()};t.on("restart",s)}))))})),t.create(e.sourceElementOrData,e.config,this._context);throw new Error(`Not supported item type: '${e.type}'.`)})))))}remove(e){const t=f(e);return Promise.all(t.map((e=>this._actionQueues.enqueue(e,(()=>{const t=this._getWatchdog(e);return this._watchdogs.delete(e),t.destroy()})))))}destroy(){return this._actionQueues.enqueue(u,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(u,(()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch((e=>{console.error("An error happened during destroying the context or items.",e)})).then((()=>this._create())).then((()=>this._fire("restart"))))))}_create(){return Promise.resolve().then((()=>(this._startErrorHandling(),this._creator(this._contextConfig)))).then((e=>(this._context=e,this._contextProps=i(this._context),Promise.all(Array.from(this._watchdogs.values()).map((e=>(e._setExcludedProperties(this._contextProps),e.create(void 0,void 0,this._context))))))))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling();const e=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map((e=>e.destroy()))).then((()=>this._destructor(e)))}))}_getWatchdog(e){const t=this._watchdogs.get(e);if(!t)throw new Error(`Item with the given id was not registered: ${e}.`);return t}_isErrorComingFromThisItem(e){for(const t of this._watchdogs.values())if(t._isErrorComingFromThisItem(e))return!1;return r(this._context,e.context)}}class p{_onEmptyCallbacks=[];_queues=new Map;_activeActions=0;onEmpty(e){this._onEmptyCallbacks.push(e)}enqueue(e,t){const o=e===u;this._activeActions++,this._queues.get(e)||this._queues.set(e,Promise.resolve());const s=(o?Promise.all(this._queues.values()):Promise.all([this._queues.get(u),this._queues.get(e)])).then(t),i=s.catch((()=>{}));return this._queues.set(e,i),s.finally((()=>{this._activeActions--,this._queues.get(e)===i&&0===this._activeActions&&this._onEmptyCallbacks.forEach((e=>e()))}))}}function f(e){return Array.isArray(e)?e:[e]}},"./packages/ckeditor5-widget/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{iW:()=>p,w_:()=>f,x0:()=>q,VE:()=>se,oP:()=>K,oT:()=>F,Wu:()=>E,Hq:()=>P,iB:()=>A,p9:()=>y,p4:()=>g,_s:()=>w,je:()=>v,Ex:()=>_,YN:()=>x,$u:()=>C});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-engine/src/index.ts"),n=o("./packages/ckeditor5-typing/src/index.ts"),r=o("./packages/ckeditor5-utils/src/index.ts"),a=o("./packages/ckeditor5-ui/src/index.ts"),c=o("./packages/ckeditor5-enter/src/index.ts");class l extends((0,r.Mm)()){_stack=[];add(e,t){const o=this._stack,s=o[0];this._insertDescriptor(e);const i=o[0];s===i||d(s,i)||this.fire("change:top",{oldDescriptor:s,newDescriptor:i,writer:t})}remove(e,t){const o=this._stack,s=o[0];this._removeDescriptor(e);const i=o[0];s===i||d(s,i)||this.fire("change:top",{oldDescriptor:s,newDescriptor:i,writer:t})}_insertDescriptor(e){const t=this._stack,o=t.findIndex((t=>t.id===e.id));if(d(e,t[o]))return;o>-1&&t.splice(o,1);let s=0;for(;t[s]&&h(t[s],e);)s++;t.splice(s,0,e)}_removeDescriptor(e){const t=this._stack,o=t.findIndex((t=>t.id===e));o>-1&&t.splice(o,1)}}function d(e,t){return e&&t&&e.priority==t.priority&&u(e.classes)==u(t.classes)}function h(e,t){return e.priority>t.priority||!(e.priority<t.priority)&&u(e.classes)>u(t.classes)}function u(e){return Array.isArray(e)?e.sort().join(","):e}const m='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 0v1H1v3H0V.5A.5.5 0 0 1 .5 0H4zm8 0h3.5a.5.5 0 0 1 .5.5V4h-1V1h-3V0zM4 16H.5a.5.5 0 0 1-.5-.5V12h1v3h3v1zm8 0v-1h3v-3h1v3.5a.5.5 0 0 1-.5.5H12z"/><path fill-opacity=".256" d="M1 1h14v14H1z"/><g class="ck-icon__selected-indicator"><path d="M7 0h2v1H7V0zM0 7h1v2H0V7zm15 0h1v2h-1V7zm-8 8h2v1H7v-1z"/><path fill-opacity=".254" d="M1 1h14v14H1z"/></g></svg>',p="ck-widget",f="ck-widget_selected";function g(e){return!!e.is("element")&&!!e.getCustomProperty("widget")}function _(e,t,o={}){if(!e.is("containerElement"))throw new r.Yb("widget-to-widget-wrong-element-type",null,{element:e});return t.setAttribute("contenteditable","false",e),t.addClass(p,e),t.setCustomProperty("widget",!0,e),e.getFillerOffset=T,t.setCustomProperty("widgetLabel",[],e),o.label&&v(e,o.label),o.hasSelectionHandle&&function(e,t){const o=t.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(e){const t=this.toDomElement(e),o=new a.Ln;return o.set("content",m),o.render(),t.appendChild(o.element),t}));t.insert(t.createPositionAt(e,0),o),t.addClass(["ck-widget_with-selection-handle"],e)}(e,t),w(e,t),e}function b(e,t,o){if(t.classes&&o.addClass((0,r.$r)(t.classes),e),t.attributes)for(const s in t.attributes)o.setAttribute(s,t.attributes[s],e)}function k(e,t,o){if(t.classes&&o.removeClass((0,r.$r)(t.classes),e),t.attributes)for(const s in t.attributes)o.removeAttribute(s,e)}function w(e,t,o=b,s=k){const i=new l;i.on("change:top",((t,i)=>{i.oldDescriptor&&s(e,i.oldDescriptor,i.writer),i.newDescriptor&&o(e,i.newDescriptor,i.writer)}));t.setCustomProperty("addHighlight",((e,t,o)=>i.add(t,o)),e),t.setCustomProperty("removeHighlight",((e,t,o)=>i.remove(t,o)),e)}function v(e,t){e.getCustomProperty("widgetLabel").push(t)}function y(e){return e.getCustomProperty("widgetLabel").reduce(((e,t)=>"function"==typeof t?e?e+". "+t():t():e?e+". "+t:t),"")}function x(e,t,o={}){return t.addClass(["ck-editor__editable","ck-editor__nested-editable"],e),t.setAttribute("role","textbox",e),t.setAttribute("tabindex","-1",e),o.label&&t.setAttribute("aria-label",o.label,e),t.setAttribute("contenteditable",e.isReadOnly?"false":"true",e),e.on("change:isReadOnly",((o,s,i)=>{t.setAttribute("contenteditable",i?"false":"true",e)})),e.on("change:isFocused",((o,s,i)=>{i?t.addClass("ck-editor__nested-editable_focused",e):t.removeClass("ck-editor__nested-editable_focused",e)})),w(e,t),e}function A(e,t){const o=e.getSelectedElement();if(o){const s=O(e);if(s)return t.createRange(t.createPositionAt(o,s))}return t.schema.findOptimalInsertionRange(e)}function C(e,t){return(o,s)=>{const{mapper:i,viewPosition:n}=s,r=i.findMappedViewAncestor(n);if(!t(r))return;const a=i.toModelElement(r);s.modelPosition=e.createPositionAt(a,n.isAtStart?"before":"after")}}function T(){return null}function E(e){const t=e=>{const{width:t,paddingLeft:o,paddingRight:s}=e.ownerDocument.defaultView.getComputedStyle(e);return parseFloat(t)-(parseFloat(o)||0)-(parseFloat(s)||0)},o=e.parentElement;if(!o)return 0;let s=t(o);let i=0,n=o;for(;isNaN(s);){if(n=n.parentElement,++i>5)return 0;s=t(n)}return s}function P(e,t=new r.rw(e)){const o=E(e);return o?t.width/o*100:0}const S="widget-type-around";function M(e,t,o){return!!e&&g(e)&&!o.isInline(t)}function O(e){return e.getAttribute(S)}var V=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),R=o.n(V),j=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgettypearound.css"),I={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};R()(j.A,I);j.A.locals;const B=["before","after"],D=(new DOMParser).parseFromString('<svg viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M9.055.263v3.972h-6.77M1 4.216l2-2.038m-2 2 2 2.038"/></svg>',"image/svg+xml").firstChild,N="ck-widget__type-around_disabled";class F extends s.k_{_currentFakeCaretModelElement=null;static get pluginName(){return"WidgetTypeAround"}static get requires(){return[c.x,n.ep]}init(){const e=this.editor,t=e.editing.view;this.on("change:isEnabled",((o,s,i)=>{t.change((e=>{for(const o of t.document.roots)i?e.removeClass(N,o):e.addClass(N,o)})),i||e.model.change((e=>{e.removeSelectionAttribute(S)}))})),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(e,t){const o=this.editor,s=o.editing.view,i=o.model.schema.getAttributesWithProperty(e,"copyOnReplace",!0);o.execute("insertParagraph",{position:o.model.createPositionAt(e,t),attributes:i}),s.focus(),s.scrollToTheSelection()}_listenToIfEnabled(e,t,o,s){this.listenTo(e,t,((...e)=>{this.isEnabled&&o(...e)}),s)}_insertParagraphAccordingToFakeCaretPosition(){const e=this.editor.model.document.selection,t=O(e);if(!t)return!1;const o=e.getSelectedElement();return this._insertParagraph(o,t),!0}_enableTypeAroundUIInjection(){const e=this.editor,t=e.model.schema,o=e.locale.t,s={before:o("Insert paragraph before block"),after:o("Insert paragraph after block")};e.editing.downcastDispatcher.on("insert",((e,i,n)=>{const r=n.mapper.toViewElement(i.item);if(r&&M(r,i.item,t)){!function(e,t,o){const s=e.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(e){const o=this.toDomElement(e);return function(e,t){for(const o of B){const s=new a.Bj({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${o}`],title:t[o],"aria-hidden":"true"},children:[e.ownerDocument.importNode(D,!0)]});e.appendChild(s.render())}}(o,t),function(e){const t=new a.Bj({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});e.appendChild(t.render())}(o),o}));e.insert(e.createPositionAt(o,"end"),s)}(n.writer,s,r);r.getCustomProperty("widgetLabel").push((()=>this.isEnabled?o("Press Enter to type after or press Shift + Enter to type before the widget"):""))}}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const e=this.editor,t=e.model,o=t.document.selection,s=t.schema,i=e.editing.view;function n(e){return`ck-widget_type-around_show-fake-caret_${e}`}this._listenToIfEnabled(i.document,"arrowKey",((e,t)=>{this._handleArrowKeyPress(e,t)}),{context:[g,"$text"],priority:"high"}),this._listenToIfEnabled(o,"change:range",((t,o)=>{o.directChange&&e.model.change((e=>{e.removeSelectionAttribute(S)}))})),this._listenToIfEnabled(t.document,"change:data",(()=>{const t=o.getSelectedElement();if(t){if(M(e.editing.mapper.toViewElement(t),t,s))return}e.model.change((e=>{e.removeSelectionAttribute(S)}))})),this._listenToIfEnabled(e.editing.downcastDispatcher,"selection",((e,t,o)=>{const i=o.writer;if(this._currentFakeCaretModelElement){const e=o.mapper.toViewElement(this._currentFakeCaretModelElement);e&&(i.removeClass(B.map(n),e),this._currentFakeCaretModelElement=null)}const r=t.selection.getSelectedElement();if(!r)return;const a=o.mapper.toViewElement(r);if(!M(a,r,s))return;const c=O(t.selection);c&&(i.addClass(n(c),a),this._currentFakeCaretModelElement=r)})),this._listenToIfEnabled(e.ui.focusTracker,"change:isFocused",((t,o,s)=>{s||e.model.change((e=>{e.removeSelectionAttribute(S)}))}))}_handleArrowKeyPress(e,t){const o=this.editor,s=o.model,i=s.document.selection,n=s.schema,a=o.editing.view,c=t.keyCode,l=(0,r.HK)(c,o.locale.contentLanguageDirection),d=a.document.selection.getSelectedElement();let h;M(d,o.editing.mapper.toModelElement(d),n)?h=this._handleArrowKeyPressOnSelectedWidget(l):i.isCollapsed?h=this._handleArrowKeyPressWhenSelectionNextToAWidget(l):t.shiftKey||(h=this._handleArrowKeyPressWhenNonCollapsedSelection(l)),h&&(t.preventDefault(),e.stop())}_handleArrowKeyPressOnSelectedWidget(e){const t=this.editor.model,o=O(t.document.selection);return t.change((t=>{if(!o)return t.setSelectionAttribute(S,e?"after":"before"),!0;if(!(o===(e?"after":"before")))return t.removeSelectionAttribute(S),!0;return!1}))}_handleArrowKeyPressWhenSelectionNextToAWidget(e){const t=this.editor,o=t.model,s=o.schema,i=t.plugins.get("Widget"),n=i._getObjectElementNextToSelection(e);return!!M(t.editing.mapper.toViewElement(n),n,s)&&(o.change((t=>{i._setSelectionOverElement(n),t.setSelectionAttribute(S,e?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(e){const t=this.editor,o=t.model,s=o.schema,i=t.editing.mapper,n=o.document.selection,r=e?n.getLastPosition().nodeBefore:n.getFirstPosition().nodeAfter;return!!M(i.toViewElement(r),r,s)&&(o.change((t=>{t.setSelection(r,"on"),t.setSelectionAttribute(S,e?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const e=this.editor,t=e.editing.view;this._listenToIfEnabled(t.document,"mousedown",((o,s)=>{const i=s.domTarget.closest(".ck-widget__type-around__button");if(!i)return;const n=function(e){return e.classList.contains("ck-widget__type-around__button_before")?"before":"after"}(i),r=function(e,t){const o=e.closest(".ck-widget");return t.mapDomToView(o)}(i,t.domConverter),a=e.editing.mapper.toModelElement(r);this._insertParagraph(a,n),s.preventDefault(),o.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const e=this.editor,t=e.model.document.selection,o=e.editing.view;this._listenToIfEnabled(o.document,"enter",((o,s)=>{if("atTarget"!=o.eventPhase)return;const i=t.getSelectedElement(),n=e.editing.mapper.toViewElement(i),r=e.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:M(n,i,r)&&(this._insertParagraph(i,s.isSoft?"before":"after"),a=!0),a&&(s.preventDefault(),o.stop())}),{context:g})}_enableInsertingParagraphsOnTypingKeystroke(){const e=this.editor.editing.view.document;this._listenToIfEnabled(e,"insertText",((t,o)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(o.selection=e.selection)}),{priority:"high"}),r._K.isAndroid?this._listenToIfEnabled(e,"keydown",((e,t)=>{229==t.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()})):this._listenToIfEnabled(e,"compositionstart",(()=>{this._insertParagraphAccordingToFakeCaretPosition()}),{priority:"high"})}_enableDeleteIntegration(){const e=this.editor,t=e.editing.view,o=e.model,s=o.schema;this._listenToIfEnabled(t.document,"delete",((t,i)=>{if("atTarget"!=t.eventPhase)return;const n=O(o.document.selection);if(!n)return;const r=i.direction,a=o.document.selection.getSelectedElement(),c="forward"==r;if("before"===n===c)e.execute("delete",{selection:o.createSelection(a,"on")});else{const t=s.getNearestSelectionRange(o.createPositionAt(a,n),r);if(t)if(t.isCollapsed){const i=o.createSelection(t.start);if(o.modifySelection(i,{direction:r}),i.focus.isEqual(t.start)){const e=function(e,t){let o=t;for(const s of t.getAncestors({parentFirst:!0})){if(s.childCount>1||e.isLimit(s))break;o=s}return o}(s,t.start.parent);o.deleteContent(o.createSelection(e,"on"),{doNotAutoparagraph:!0})}else o.change((o=>{o.setSelection(t),e.execute(c?"deleteForward":"delete")}))}else o.change((o=>{o.setSelection(t),e.execute(c?"deleteForward":"delete")}))}i.preventDefault(),t.stop()}),{context:g})}_enableInsertContentIntegration(){const e=this.editor,t=this.editor.model,o=t.document.selection;this._listenToIfEnabled(e.model,"insertContent",((e,[s,i])=>{if(i&&!i.is("documentSelection"))return;const n=O(o);return n?(e.stop(),t.change((e=>{const i=o.getSelectedElement(),r=t.createPositionAt(i,n),a=e.createSelection(r),c=t.insertContent(s,a);return e.setSelection(a),c}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"insertObject",((e,o)=>{const[,s,i={}]=o;if(s&&!s.is("documentSelection"))return;const n=O(t);n&&(i.findOptimalPosition=n,o[3]=i)}),{priority:"high"})}_enableDeleteContentIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"deleteContent",((e,[o])=>{if(o&&!o.is("documentSelection"))return;O(t)&&e.stop()}),{priority:"high"})}}function L(e){const t=e.model;return(o,s)=>{const i=s.keyCode==r.uP.arrowup,n=s.keyCode==r.uP.arrowdown,a=s.shiftKey,c=t.document.selection;if(!i&&!n)return;const l=n;if(a&&function(e,t){return!e.isCollapsed&&e.isBackward==t}(c,l))return;const d=function(e,t,o){const s=e.model;if(o){const e=t.isCollapsed?t.focus:t.getLastPosition(),o=z(s,e,"forward");if(!o)return null;const i=s.createRange(e,o),n=H(s.schema,i,"backward");return n?s.createRange(e,n):null}{const e=t.isCollapsed?t.focus:t.getFirstPosition(),o=z(s,e,"backward");if(!o)return null;const i=s.createRange(o,e),n=H(s.schema,i,"forward");return n?s.createRange(n,e):null}}(e,c,l);if(d){if(d.isCollapsed){if(c.isCollapsed)return;if(a)return}(d.isCollapsed||function(e,t,o){const s=e.model,i=e.view.domConverter;if(o){const e=s.createSelection(t.start);s.modifySelection(e),e.focus.isAtEnd||t.start.isEqual(e.focus)||(t=s.createRange(e.focus,t.end))}const n=e.mapper.toViewRange(t),a=i.viewRangeToDom(n),c=r.rw.getDomRangeRects(a);let l;for(const e of c)if(void 0!==l){if(Math.round(e.top)>=l)return!1;l=Math.max(l,Math.round(e.bottom))}else l=Math.round(e.bottom);return!0}(e,d,l))&&(t.change((e=>{const o=l?d.end:d.start;if(a){const s=t.createSelection(c.anchor);s.setFocus(o),e.setSelection(s)}else e.setSelection(o)})),o.stop(),s.preventDefault(),s.stopPropagation())}}}function z(e,t,o){const s=e.schema,i=e.createRangeIn(t.root),n="forward"==o?"elementStart":"elementEnd";for(const{previousPosition:e,item:r,type:a}of i.getWalker({startPosition:t,direction:o})){if(s.isLimit(r)&&!s.isInline(r))return e;if(a==n&&s.isBlock(r))return null}return null}function H(e,t,o){const s="backward"==o?t.end:t.start;if(e.checkChild(s,"$text"))return s;for(const{nextPosition:s}of t.getWalker({direction:o}))if(e.checkChild(s,"$text"))return s;return null}var $=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widget.css"),W={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};R()($.A,W);$.A.locals;class q extends s.k_{_previouslySelected=new Set;static get pluginName(){return"Widget"}static get requires(){return[F,n.ep]}init(){const e=this.editor,t=e.editing.view,o=t.document,s=e.t;this.editor.editing.downcastDispatcher.on("selection",((t,o,s)=>{const i=s.writer,n=o.selection;if(n.isCollapsed)return;const r=n.getSelectedElement();if(!r)return;const a=e.editing.mapper.toViewElement(r);g(a)&&s.consumable.consume(n,"selection")&&i.setSelection(i.createRangeOn(a),{fake:!0,label:y(a)})})),this.editor.editing.downcastDispatcher.on("selection",((e,t,o)=>{this._clearPreviouslySelectedWidgets(o.writer);const s=o.writer,i=s.document.selection;let n=null;for(const e of i.getRanges())for(const t of e){const e=t.item;g(e)&&!U(e,n)&&(s.addClass(f,e),this._previouslySelected.add(e),n=e)}}),{priority:"low"}),t.addObserver(i.q$),this.listenTo(o,"mousedown",((...e)=>this._onMousedown(...e))),this.listenTo(o,"arrowKey",((...e)=>{this._handleSelectionChangeOnArrowKeyPress(...e)}),{context:[g,"$text"]}),this.listenTo(o,"arrowKey",((...e)=>{this._preventDefaultOnArrowKeyPress(...e)}),{context:"$root"}),this.listenTo(o,"arrowKey",L(this.editor.editing),{context:"$text"}),this.listenTo(o,"delete",((e,t)=>{this._handleDelete("forward"==t.direction)&&(t.preventDefault(),e.stop())}),{context:"$root"}),this.listenTo(o,"tab",((e,t)=>{"atTarget"==e.eventPhase&&(t.shiftKey||this._selectFirstNestedEditable()&&(t.preventDefault(),e.stop()))}),{context:g,priority:"low"}),this.listenTo(o,"tab",((e,t)=>{t.shiftKey&&this._selectAncestorWidget()&&(t.preventDefault(),e.stop())}),{priority:"low"}),this.listenTo(o,"keydown",((e,t)=>{t.keystroke==r.uP.esc&&this._selectAncestorWidget()&&(t.preventDefault(),e.stop())}),{priority:"low"}),e.accessibility.addKeystrokeInfoGroup({id:"widget",label:s("Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"),keystrokes:[{label:s("Move focus from an editable area back to the parent widget"),keystroke:"Esc"},{label:s("Insert a new paragraph directly after a widget"),keystroke:"Enter"},{label:s("Insert a new paragraph directly before a widget"),keystroke:"Shift+Enter"},{label:s("Move the caret to allow typing directly before a widget"),keystroke:[["arrowup"],["arrowleft"]]},{label:s("Move the caret to allow typing directly after a widget"),keystroke:[["arrowdown"],["arrowright"]]}]})}_onMousedown(e,t){const o=this.editor,s=o.editing.view,i=s.document;let n=t.target;if(!n)return;if(t.domEvent.detail>=3)return void(this._selectBlockContent(n)&&t.preventDefault());if(!g(n)){const e=function(e){let t=e;for(;t;){if(t.is("editableElement")||g(t))return t;t=t.parent}return null}(n);if(!e)return;if(g(e))n=e;else{const e=function(e,t){const o=(0,r.jr)(t.domEvent);let s=null;s=o?e.domConverter.domRangeToView(o):e.createRange(e.createPositionAt(t.target,0));if(!s)return null;const i=s.start;if(!i.parent)return null;let n=i.parent;i.parent.is("editableElement")&&(i.isAtEnd&&i.nodeBefore?n=i.nodeBefore:i.isAtStart&&i.nodeAfter&&(n=i.nodeAfter));if(n.is("$text"))return n.parent;return n}(s,t);if(!e||!g(e))return;n=e}}r._K.isAndroid&&t.preventDefault(),i.isFocused||s.focus();const a=o.editing.mapper.toModelElement(n);this._setSelectionOverElement(a)}_selectBlockContent(e){const t=this.editor,o=t.model,s=t.editing.mapper,n=o.schema,r=s.findMappedViewAncestor(this.editor.editing.view.createPositionAt(e,0)),a=function(e,t){for(const o of e.getAncestors({includeSelf:!0,parentFirst:!0})){if(t.checkChild(o,"$text"))return o;if(t.isLimit(o)&&!t.isObject(o))break}return null}(s.toModelElement(r),o.schema);return!!a&&(o.change((e=>{const t=n.isLimit(a)?null:function(e,t){const o=new i.rU({startPosition:e});for(const{item:e}of o){if(t.isLimit(e)||!e.is("element"))return null;if(t.checkChild(e,"$text"))return e}return null}(e.createPositionAfter(a),n),o=e.createPositionAt(a,0),s=t?e.createPositionAt(t,0):e.createPositionAt(a,"end");e.setSelection(e.createRange(o,s))})),!0)}_handleSelectionChangeOnArrowKeyPress(e,t){const o=t.keyCode,s=this.editor.model,i=s.schema,n=s.document.selection,a=n.getSelectedElement(),c=(0,r.Kf)(o,this.editor.locale.contentLanguageDirection),l="down"==c||"right"==c,d="up"==c||"down"==c;if(a&&i.isObject(a)){const o=l?n.getLastPosition():n.getFirstPosition(),r=i.getNearestSelectionRange(o,l?"forward":"backward");return void(r&&(s.change((e=>{e.setSelection(r)})),t.preventDefault(),e.stop()))}if(!n.isCollapsed&&!t.shiftKey){const o=n.getFirstPosition(),r=n.getLastPosition(),a=o.nodeAfter,c=r.nodeBefore;return void((a&&i.isObject(a)||c&&i.isObject(c))&&(s.change((e=>{e.setSelection(l?r:o)})),t.preventDefault(),e.stop()))}if(!n.isCollapsed)return;const h=this._getObjectElementNextToSelection(l);if(h&&i.isObject(h)){if(i.isInline(h)&&d)return;this._setSelectionOverElement(h),t.preventDefault(),e.stop()}}_preventDefaultOnArrowKeyPress(e,t){const o=this.editor.model,s=o.schema,i=o.document.selection.getSelectedElement();i&&s.isObject(i)&&(t.preventDefault(),e.stop())}_handleDelete(e){const t=this.editor.model.document.selection;if(!this.editor.model.canEditAt(t))return;if(!t.isCollapsed)return;const o=this._getObjectElementNextToSelection(e);return o?(this.editor.model.change((e=>{let s=t.anchor.parent;for(;s.isEmpty;){const t=s;s=t.parent,e.remove(t)}this._setSelectionOverElement(o)})),!0):void 0}_setSelectionOverElement(e){this.editor.model.change((t=>{t.setSelection(t.createRangeOn(e))}))}_getObjectElementNextToSelection(e){const t=this.editor.model,o=t.schema,s=t.document.selection,i=t.createSelection(s);if(t.modifySelection(i,{direction:e?"forward":"backward"}),i.isEqual(s))return null;const n=e?i.focus.nodeBefore:i.focus.nodeAfter;return n&&o.isObject(n)?n:null}_clearPreviouslySelectedWidgets(e){for(const t of this._previouslySelected)e.removeClass(f,t);this._previouslySelected.clear()}_selectFirstNestedEditable(){const e=this.editor,t=this.editor.editing.view.document;for(const o of t.selection.getFirstRange().getItems())if(o.is("editableElement")){const t=e.editing.mapper.toModelElement(o);if(!t)continue;const s=e.model.createPositionAt(t,0),i=e.model.schema.getNearestSelectionRange(s,"forward");return e.model.change((e=>{e.setSelection(i)})),!0}return!1}_selectAncestorWidget(){const e=this.editor,t=e.editing.mapper,o=e.editing.view.document.selection.getFirstPosition().parent,s=(o.is("$text")?o.parent:o).findAncestor(g);if(!s)return!1;const i=t.toModelElement(s);return!!i&&(e.model.change((e=>{e.setSelection(i,"on")})),!0)}}function U(e,t){return!!t&&Array.from(e.getAncestors()).includes(t)}class K extends s.k_{_toolbarDefinitions=new Map;_balloon;static get requires(){return[a.pU]}static get pluginName(){return"WidgetToolbarRepository"}init(){const e=this.editor;if(e.plugins.has("BalloonToolbar")){const t=e.plugins.get("BalloonToolbar");this.listenTo(t,"show",(t=>{(function(e){const t=e.getSelectedElement();return!(!t||!g(t))})(e.editing.view.document.selection)&&t.stop()}),{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",(()=>{this._updateToolbarsVisibility()})),this.listenTo(e.ui,"update",(()=>{this._updateToolbarsVisibility()})),this.listenTo(e.ui.focusTracker,"change:isFocused",(()=>{this._updateToolbarsVisibility()}),{priority:"low"})}destroy(){super.destroy();for(const e of this._toolbarDefinitions.values())e.view.destroy()}register(e,{ariaLabel:t,items:o,getRelatedElement:s,balloonClassName:i="ck-toolbar-container"}){if(!o.length)return void(0,r.FF)("widget-toolbar-no-items",{toolbarId:e});const n=this.editor,c=n.t,l=new a.X3(n.locale);if(l.ariaLabel=t||c("Widget toolbar"),this._toolbarDefinitions.has(e))throw new r.Yb("widget-toolbar-duplicated",this,{toolbarId:e});const d={view:l,getRelatedElement:s,balloonClassName:i,itemsConfig:o,initialized:!1};n.ui.addToolbar(l,{isContextual:!0,beforeFocus:()=>{const e=s(n.editing.view.document.selection);e&&this._showToolbar(d,e)},afterBlur:()=>{this._hideToolbar(d)}}),this._toolbarDefinitions.set(e,d)}_updateToolbarsVisibility(){let e=0,t=null,o=null;for(const s of this._toolbarDefinitions.values()){const i=s.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&i)if(this.editor.ui.focusTracker.isFocused){const n=i.getAncestors().length;n>e&&(e=n,t=i,o=s)}else this._isToolbarVisible(s)&&this._hideToolbar(s);else this._isToolbarInBalloon(s)&&this._hideToolbar(s)}o&&this._showToolbar(o,t)}_hideToolbar(e){this._balloon.remove(e.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(e,t){this._isToolbarVisible(e)?Y(this.editor,t):this._isToolbarInBalloon(e)||(e.initialized||(e.initialized=!0,e.view.fillFromConfig(e.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:e.view,position:G(this.editor,t),balloonClassName:e.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",(()=>{for(const e of this._toolbarDefinitions.values())if(this._isToolbarVisible(e)){const t=e.getRelatedElement(this.editor.editing.view.document.selection);Y(this.editor,t)}})))}_isToolbarVisible(e){return this._balloon.visibleView===e.view}_isToolbarInBalloon(e){return this._balloon.hasView(e.view)}}function Y(e,t){const o=e.plugins.get("ContextualBalloon"),s=G(e,t);o.updatePosition(s)}function G(e,t){const o=e.editing.view,s=a.Jr.defaultPositions;return{target:o.domConverter.mapViewToDom(t),positions:[s.northArrowSouth,s.northArrowSouthWest,s.northArrowSouthEast,s.southArrowNorth,s.southArrowNorthWest,s.southArrowNorthEast,s.viewportStickyNorth]}}class Z extends((0,r.VM)()){_referenceCoordinates;_options;_originalWidth;_originalHeight;_originalWidthPercents;_aspectRatio;constructor(e){super(),this.set("activeHandlePosition",null),this.set("proposedWidthPercents",null),this.set("proposedWidth",null),this.set("proposedHeight",null),this.set("proposedHandleHostWidth",null),this.set("proposedHandleHostHeight",null),this._options=e,this._referenceCoordinates=null}get originalWidth(){return this._originalWidth}get originalHeight(){return this._originalHeight}get originalWidthPercents(){return this._originalWidthPercents}get aspectRatio(){return this._aspectRatio}begin(e,t,o){const s=new r.rw(t);this.activeHandlePosition=function(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const o of t)if(e.classList.contains(J(o)))return o}(e),this._referenceCoordinates=function(e,t){const o=new r.rw(e),s=t.split("-"),i={x:"right"==s[1]?o.right:o.left,y:"bottom"==s[0]?o.bottom:o.top};return i.x+=e.ownerDocument.defaultView.scrollX,i.y+=e.ownerDocument.defaultView.scrollY,i}(t,function(e){const t=e.split("-"),o={top:"bottom",bottom:"top",left:"right",right:"left"};return`${o[t[0]]}-${o[t[1]]}`}(this.activeHandlePosition)),this._originalWidth=s.width,this._originalHeight=s.height,this._aspectRatio=s.width/s.height;const i=o.style.width;i&&i.match(/^\d+(\.\d*)?%$/)?this._originalWidthPercents=parseFloat(i):this._originalWidthPercents=P(o,s)}update(e){this.proposedWidth=e.width,this.proposedHeight=e.height,this.proposedWidthPercents=e.widthPercents,this.proposedHandleHostWidth=e.handleHostWidth,this.proposedHandleHostHeight=e.handleHostHeight}}function J(e){return`ck-widget__resizer__handle-${e}`}class X extends a.Ss{constructor(){super();const e=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-size-view",e.to("_viewPosition",(e=>e?`ck-orientation-${e}`:""))],style:{display:e.if("_isVisible","none",(e=>!e))}},children:[{text:e.to("_label")}]})}_bindToState(e,t){this.bind("_isVisible").to(t,"proposedWidth",t,"proposedHeight",((e,t)=>null!==e&&null!==t)),this.bind("_label").to(t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",t,"proposedWidthPercents",((t,o,s)=>"px"===e.unit?`${t}×${o}`:`${s}%`)),this.bind("_viewPosition").to(t,"activeHandlePosition",t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",((e,t,o)=>t<50||o<50?"above-center":e))}_dismiss(){this.unbind(),this._isVisible=!1}}class Q extends((0,r.VM)()){_state;_sizeView;_options;_viewResizerWrapper=null;_initialViewWidth;constructor(e){super(),this._options=e,this.set("isEnabled",!0),this.set("isSelected",!1),this.bind("isVisible").to(this,"isEnabled",this,"isSelected",((e,t)=>e&&t)),this.decorate("begin"),this.decorate("cancel"),this.decorate("commit"),this.decorate("updateSize"),this.on("commit",(e=>{this.state.proposedWidth||this.state.proposedWidthPercents||(this._cleanup(),e.stop())}),{priority:"high"})}get state(){return this._state}show(){this._options.editor.editing.view.change((e=>{e.removeClass("ck-hidden",this._viewResizerWrapper)}))}hide(){this._options.editor.editing.view.change((e=>{e.addClass("ck-hidden",this._viewResizerWrapper)}))}attach(){const e=this,t=this._options.viewElement;this._options.editor.editing.view.change((o=>{const s=o.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},(function(t){const o=this.toDomElement(t);return e._appendHandles(o),e._appendSizeUI(o),o}));o.insert(o.createPositionAt(t,"end"),s),o.addClass("ck-widget_with-resizer",t),this._viewResizerWrapper=s,this.isVisible||this.hide()})),this.on("change:isVisible",(()=>{this.isVisible?(this.show(),this.redraw()):this.hide()}))}begin(e){this._state=new Z(this._options),this._sizeView._bindToState(this._options,this.state),this._initialViewWidth=this._options.viewElement.getStyle("width"),this.state.begin(e,this._getHandleHost(),this._getResizeHost())}updateSize(e){const t=this._proposeNewSize(e);this._options.editor.editing.view.change((e=>{const o=this._options.unit||"%",s=("%"===o?t.widthPercents:t.width)+o;e.setStyle("width",s,this._options.viewElement)}));const o=this._getHandleHost(),s=new r.rw(o),i=Math.round(s.width),n=Math.round(s.height),a=new r.rw(o);t.width=Math.round(a.width),t.height=Math.round(a.height),this.redraw(s),this.state.update({...t,handleHostWidth:i,handleHostHeight:n})}commit(){const e=this._options.unit||"%",t=("%"===e?this.state.proposedWidthPercents:this.state.proposedWidth)+e;this._options.editor.editing.view.change((()=>{this._cleanup(),this._options.onCommit(t)}))}cancel(){this._cleanup()}destroy(){this.cancel()}redraw(e){const t=this._domResizerWrapper;if(!((o=t)&&o.ownerDocument&&o.ownerDocument.contains(o)))return;var o;const s=t.parentElement,i=this._getHandleHost(),n=this._viewResizerWrapper,a=[n.getStyle("width"),n.getStyle("height"),n.getStyle("left"),n.getStyle("top")];let c;if(s.isSameNode(i)){const t=e||new r.rw(i);c=[t.width+"px",t.height+"px",void 0,void 0]}else c=[i.offsetWidth+"px",i.offsetHeight+"px",i.offsetLeft+"px",i.offsetTop+"px"];"same"!==(0,r.ww)(a,c)&&this._options.editor.editing.view.change((e=>{e.setStyle({width:c[0],height:c[1],left:c[2],top:c[3]},n)}))}containsHandle(e){return this._domResizerWrapper.contains(e)}static isResizeHandle(e){return e.classList.contains("ck-widget__resizer__handle")}_cleanup(){this._sizeView._dismiss();this._options.editor.editing.view.change((e=>{e.setStyle("width",this._initialViewWidth,this._options.viewElement)}))}_proposeNewSize(e){const t=this.state,o={x:(s=e).pageX,y:s.pageY};var s;const i=!this._options.isCentered||this._options.isCentered(this),n={x:t._referenceCoordinates.x-(o.x+t.originalWidth),y:o.y-t.originalHeight-t._referenceCoordinates.y};i&&t.activeHandlePosition.endsWith("-right")&&(n.x=o.x-(t._referenceCoordinates.x+t.originalWidth)),i&&(n.x*=2);let r=Math.abs(t.originalWidth+n.x),a=Math.abs(t.originalHeight+n.y);return"width"==(r/t.aspectRatio>a?"width":"height")?a=r/t.aspectRatio:r=a*t.aspectRatio,{width:Math.round(r),height:Math.round(a),widthPercents:Math.min(Math.round(t.originalWidthPercents/t.originalWidth*r*100)/100,100)}}_getResizeHost(){const e=this._domResizerWrapper.parentElement;return this._options.getResizeHost(e)}_getHandleHost(){const e=this._domResizerWrapper.parentElement;return this._options.getHandleHost(e)}get _domResizerWrapper(){return this._options.editor.editing.view.domConverter.mapViewToDom(this._viewResizerWrapper)}_appendHandles(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const s of t)e.appendChild(new a.Bj({tag:"div",attributes:{class:"ck-widget__resizer__handle "+(o=s,`ck-widget__resizer__handle-${o}`)}}).render());var o}_appendSizeUI(e){this._sizeView=new X,this._sizeView.render(),e.appendChild(this._sizeView.element)}}var ee=o("./node_modules/lodash-es/throttle.js"),te=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgetresize.css"),oe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};R()(te.A,oe);te.A.locals;class se extends s.k_{_resizers=new Map;_observer;_redrawSelectedResizerThrottled;static get pluginName(){return"WidgetResize"}init(){const e=this.editor.editing,t=r.Sf.window.document;this.set("selectedResizer",null),this.set("_activeResizer",null),e.view.addObserver(i.q$),this._observer=new((0,r.c5)()),this.listenTo(e.view.document,"mousedown",this._mouseDownListener.bind(this),{priority:"high"}),this._observer.listenTo(t,"mousemove",this._mouseMoveListener.bind(this)),this._observer.listenTo(t,"mouseup",this._mouseUpListener.bind(this)),this._redrawSelectedResizerThrottled=(0,ee.A)((()=>this.redrawSelectedResizer()),200),this.editor.ui.on("update",this._redrawSelectedResizerThrottled),this.editor.model.document.on("change",(()=>{for(const[e,t]of this._resizers)e.isAttached()||(this._resizers.delete(e),t.destroy())}),{priority:"lowest"}),this._observer.listenTo(r.Sf.window,"resize",this._redrawSelectedResizerThrottled);const o=this.editor.editing.view.document.selection;o.on("change",(()=>{const e=o.getSelectedElement(),t=this.getResizerByViewElement(e)||null;t?this.select(t):this.deselect()}))}redrawSelectedResizer(){this.selectedResizer&&this.selectedResizer.isVisible&&this.selectedResizer.redraw()}destroy(){super.destroy(),this._observer.stopListening();for(const e of this._resizers.values())e.destroy();this._redrawSelectedResizerThrottled.cancel()}select(e){this.deselect(),this.selectedResizer=e,this.selectedResizer.isSelected=!0}deselect(){this.selectedResizer&&(this.selectedResizer.isSelected=!1),this.selectedResizer=null}attachTo(e){const t=new Q(e),o=this.editor.plugins;if(t.attach(),o.has("WidgetToolbarRepository")){const e=o.get("WidgetToolbarRepository");t.on("begin",(()=>{e.forceDisabled("resize")}),{priority:"lowest"}),t.on("cancel",(()=>{e.clearForceDisabled("resize")}),{priority:"highest"}),t.on("commit",(()=>{e.clearForceDisabled("resize")}),{priority:"highest"})}this._resizers.set(e.viewElement,t);const s=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(s)==t&&this.select(t),t}getResizerByViewElement(e){return this._resizers.get(e)}_getResizerByHandle(e){for(const t of this._resizers.values())if(t.containsHandle(e))return t}_mouseDownListener(e,t){const o=t.domTarget;Q.isResizeHandle(o)&&(this._activeResizer=this._getResizerByHandle(o)||null,this._activeResizer&&(this._activeResizer.begin(o),e.stop(),t.preventDefault()))}_mouseMoveListener(e,t){this._activeResizer&&this._activeResizer.updateSize(t)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}}},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":(e,t,o)=>{"use strict";var s,i=function(){return void 0===s&&(s=Boolean(window&&document&&document.all&&!window.atob)),s},n=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),r=[];function a(e){for(var t=-1,o=0;o<r.length;o++)if(r[o].identifier===e){t=o;break}return t}function c(e,t){for(var o={},s=[],i=0;i<e.length;i++){var n=e[i],c=t.base?n[0]+t.base:n[0],l=o[c]||0,d="".concat(c," ").concat(l);o[c]=l+1;var h=a(d),u={css:n[1],media:n[2],sourceMap:n[3]};-1!==h?(r[h].references++,r[h].updater(u)):r.push({identifier:d,updater:g(u,t),references:1}),s.push(d)}return s}function l(e){var t=document.createElement("style"),s=e.attributes||{};if(void 0===s.nonce){var i=o.nc;i&&(s.nonce=i)}if(Object.keys(s).forEach((function(e){t.setAttribute(e,s[e])})),"function"==typeof e.insert)e.insert(t);else{var r=n(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,h=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function u(e,t,o,s){var i=o?"":s.media?"@media ".concat(s.media," {").concat(s.css,"}"):s.css;if(e.styleSheet)e.styleSheet.cssText=h(t,i);else{var n=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(n,r[t]):e.appendChild(n)}}function m(e,t,o){var s=o.css,i=o.media,n=o.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(s+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=s;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(s))}}var p=null,f=0;function g(e,t){var o,s,i;if(t.singleton){var n=f++;o=p||(p=l(t)),s=u.bind(null,o,n,!1),i=u.bind(null,o,n,!0)}else o=l(t),s=m.bind(null,o,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return s(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;s(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var o=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var s=0;s<o.length;s++){var i=a(o[s]);r[i].references--}for(var n=c(e,t),l=0;l<o.length;l++){var d=a(o[l]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}o=n}}}},"./src/clipboard.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Clipboard:()=>he,ClipboardMarkersUtils:()=>H,ClipboardPipeline:()=>$,DragDrop:()=>re,DragDropBlockToolbar:()=>te,DragDropTarget:()=>G,PastePlainText:()=>de});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts"),n=o("./packages/ckeditor5-engine/src/index.ts");class r extends n.$A{domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];constructor(e){super(e);const t=this.document;function o(e){return(o,s)=>{s.preventDefault();const n=s.dropRange?[s.dropRange]:null,r=new i.vY(t,e);t.fire(r,{dataTransfer:s.dataTransfer,method:o.name,targetRanges:n,target:s.target,domEvent:s.domEvent}),r.stop.called&&s.stopPropagation()}}this.listenTo(t,"paste",o("clipboardInput"),{priority:"low"}),this.listenTo(t,"drop",o("clipboardInput"),{priority:"low"}),this.listenTo(t,"dragover",o("dragging"),{priority:"low"})}onDomEvent(e){const t="clipboardData"in e?e.clipboardData:e.dataTransfer,o="drop"==e.type||"paste"==e.type,s={dataTransfer:new n._v(t,{cacheFiles:o})};if("drop"==e.type||"dragover"==e.type){const t=(0,i.jr)(e);s.dropRange=t&&this.view.domConverter.domRangeToView(t)}this.fire(e.type,e,s)}}const a=["figcaption","li"],c=["ol","ul"];function l(e){if(e.is("$text")||e.is("$textProxy"))return e.data;if(e.is("element","img")&&e.hasAttribute("alt"))return e.getAttribute("alt");if(e.is("element","br"))return"\n";let t="",o=null;for(const s of e.getChildren())t+=d(s,o)+l(s),o=s;return t}function d(e,t){return t?e.is("element","li")&&!e.isEmpty&&e.getChild(0).is("containerElement")||c.includes(e.name)&&c.includes(t.name)?"\n\n":e.is("containerElement")||t.is("containerElement")?a.includes(e.name)||a.includes(t.name)?"\n":e.is("element")&&e.getCustomProperty("dataPipeline:transparentRendering")||t.is("element")&&t.getCustomProperty("dataPipeline:transparentRendering")?"":"\n\n":"":""}var h=o("./node_modules/lodash-es/_baseAssignValue.js"),u=o("./node_modules/lodash-es/_baseFor.js"),m=o("./node_modules/lodash-es/keys.js");const p=function(e,t){return e&&(0,u.A)(e,t,m.A)};var f=o("./node_modules/lodash-es/_Stack.js"),g=o("./node_modules/lodash-es/_baseIsEqual.js");const _=function(e,t,o,s){var i=o.length,n=i,r=!s;if(null==e)return!n;for(e=Object(e);i--;){var a=o[i];if(r&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<n;){var c=(a=o[i])[0],l=e[c],d=a[1];if(r&&a[2]){if(void 0===l&&!(c in e))return!1}else{var h=new f.A;if(s)var u=s(l,d,c,e,t,h);if(!(void 0===u?(0,g.A)(d,l,3,s,h):u))return!1}}return!0};var b=o("./node_modules/lodash-es/isObject.js");const k=function(e){return e==e&&!(0,b.A)(e)};const w=function(e){for(var t=(0,m.A)(e),o=t.length;o--;){var s=t[o],i=e[s];t[o]=[s,i,k(i)]}return t};const v=function(e,t){return function(o){return null!=o&&(o[e]===t&&(void 0!==t||e in Object(o)))}};const y=function(e){var t=w(e);return 1==t.length&&t[0][2]?v(t[0][0],t[0][1]):function(o){return o===e||_(o,e,t)}};var x=o("./node_modules/lodash-es/get.js");const A=function(e,t){return null!=e&&t in Object(e)};var C=o("./node_modules/lodash-es/_castPath.js"),T=o("./node_modules/lodash-es/isArguments.js"),E=o("./node_modules/lodash-es/isArray.js"),P=o("./node_modules/lodash-es/_isIndex.js"),S=o("./node_modules/lodash-es/isLength.js"),M=o("./node_modules/lodash-es/_toKey.js");const O=function(e,t,o){for(var s=-1,i=(t=(0,C.A)(t,e)).length,n=!1;++s<i;){var r=(0,M.A)(t[s]);if(!(n=null!=e&&o(e,r)))break;e=e[r]}return n||++s!=i?n:!!(i=null==e?0:e.length)&&(0,S.A)(i)&&(0,P.A)(r,i)&&((0,E.A)(e)||(0,T.A)(e))};const V=function(e,t){return null!=e&&O(e,t,A)};var R=o("./node_modules/lodash-es/_isKey.js");const j=function(e,t){return(0,R.A)(e)&&k(t)?v((0,M.A)(e),t):function(o){var s=(0,x.A)(o,e);return void 0===s&&s===t?V(o,e):(0,g.A)(t,s,3)}};var I=o("./node_modules/lodash-es/identity.js");const B=function(e){return function(t){return null==t?void 0:t[e]}};var D=o("./node_modules/lodash-es/_baseGet.js");const N=function(e){return function(t){return(0,D.A)(t,e)}};const F=function(e){return(0,R.A)(e)?B((0,M.A)(e)):N(e)};const L=function(e){return"function"==typeof e?e:null==e?I.A:"object"==typeof e?(0,E.A)(e)?j(e[0],e[1]):y(e):F(e)};const z=function(e,t){var o={};return t=L(t,3),p(e,(function(e,s,i){(0,h.A)(o,s,t(e,s,i))})),o};class H extends s.k_{_markersToCopy=new Map;static get pluginName(){return"ClipboardMarkersUtils"}_registerMarkerToCopy(e,t){this._markersToCopy.set(e,t)}_copySelectedFragmentWithMarkers(e,t,o=e=>e.model.getSelectedContent(e.model.document.selection)){return this.editor.model.change((s=>{const i=s.model.document.selection;s.setSelection(t);const n=this._insertFakeMarkersIntoSelection(s,s.model.document.selection,e),r=o(s),a=this._removeFakeMarkersInsideElement(s,r);for(const[e,t]of Object.entries(n)){a[e]||=s.createRangeIn(r);for(const e of t)s.remove(e)}r.markers.clear();for(const[e,t]of Object.entries(a))r.markers.set(e,t);return s.setSelection(i),r}))}_pasteMarkersIntoTransformedElement(e,t){const o=this._getPasteMarkersFromRangeMap(e);return this.editor.model.change((e=>{const s=this._insertFakeMarkersElements(e,o),i=t(e),n=this._removeFakeMarkersInsideElement(e,i);for(const t of Object.values(s).flat())e.remove(t);for(const[t,o]of Object.entries(n))e.model.markers.has(t)||e.addMarker(t,{usingOperation:!0,affectsData:!0,range:o});return i}))}_pasteFragmentWithMarkers(e){const t=this._getPasteMarkersFromRangeMap(e.markers);e.markers.clear();for(const o of t)e.markers.set(o.name,o.range);return this.editor.model.insertContent(e)}_forceMarkersCopy(e,t,o={allowedActions:"all",copyPartiallySelected:!0,duplicateOnPaste:!0}){const s=this._markersToCopy.get(e);this._markersToCopy.set(e,o),t(),s?this._markersToCopy.set(e,s):this._markersToCopy.delete(e)}_isMarkerCopyable(e,t){const o=this._getMarkerClipboardConfig(e);if(!o)return!1;if(!t)return!0;const{allowedActions:s}=o;return"all"===s||s.includes(t)}_hasMarkerConfiguration(e){return!!this._getMarkerClipboardConfig(e)}_getMarkerClipboardConfig(e){const[t]=e.split(":");return this._markersToCopy.get(t)||null}_insertFakeMarkersIntoSelection(e,t,o){const s=this._getCopyableMarkersFromSelection(e,t,o);return this._insertFakeMarkersElements(e,s)}_getCopyableMarkersFromSelection(e,t,o){const s=Array.from(t.getRanges()),i=new Set(s.flatMap((t=>Array.from(e.model.markers.getMarkersIntersectingRange(t)))));return Array.from(i).filter((e=>{if(!this._isMarkerCopyable(e.name,o))return!1;const{copyPartiallySelected:t}=this._getMarkerClipboardConfig(e.name);if(!t){const t=e.getRange();return s.some((e=>e.containsRange(t,!0)))}return!0})).map((e=>({name:"dragstart"===o?this._getUniqueMarkerName(e.name):e.name,range:e.getRange()})))}_getPasteMarkersFromRangeMap(e,t=null){const{model:o}=this.editor;return(e instanceof Map?Array.from(e.entries()):Object.entries(e)).flatMap((([e,s])=>{if(!this._hasMarkerConfiguration(e))return[{name:e,range:s}];if(this._isMarkerCopyable(e,t)){const t=this._getMarkerClipboardConfig(e),i=o.markers.has(e)&&"$graveyard"===o.markers.get(e).getRange().root.rootName;return(t.duplicateOnPaste||i)&&(e=this._getUniqueMarkerName(e)),[{name:e,range:s}]}return[]}))}_insertFakeMarkersElements(e,t){const o={},s=t.flatMap((e=>{const{start:t,end:o}=e.range;return[{position:t,marker:e,type:"start"},{position:o,marker:e,type:"end"}]})).sort((({position:e},{position:t})=>e.isBefore(t)?1:-1));for(const{position:t,marker:i,type:n}of s){const s=e.createElement("$marker",{"data-name":i.name,"data-type":n});o[i.name]||(o[i.name]=[]),o[i.name].push(s),e.insert(s,t)}return o}_removeFakeMarkersInsideElement(e,t){const o=this._getAllFakeMarkersFromElement(e,t).reduce(((t,o)=>{const s=o.markerElement&&e.createPositionBefore(o.markerElement);let i=t[o.name],n=!1;if(i&&i.start&&i.end){this._getMarkerClipboardConfig(o.name).duplicateOnPaste?t[this._getUniqueMarkerName(o.name)]=t[o.name]:n=!0,i=null}return n||(t[o.name]={...i,[o.type]:s}),o.markerElement&&e.remove(o.markerElement),t}),{});return z(o,(o=>new n.Q6(o.start||e.createPositionFromPath(t,[0]),o.end||e.createPositionAt(t,"end"))))}_getAllFakeMarkersFromElement(e,t){const o=Array.from(e.createRangeIn(t)).flatMap((({item:e})=>{if(!e.is("element","$marker"))return[];const t=e.getAttribute("data-name"),o=e.getAttribute("data-type");return[{markerElement:e,name:t,type:o}]})),s=[],i=[];for(const e of o){if("end"===e.type){o.some((t=>t.name===e.name&&"start"===t.type))||s.push({markerElement:null,name:e.name,type:"start"})}if("start"===e.type){o.some((t=>t.name===e.name&&"end"===t.type))||i.unshift({markerElement:null,name:e.name,type:"end"})}}return[...s,...o,...i]}_getUniqueMarkerName(e){const t=e.split(":"),o=(0,i.Ld)().substring(1,6);return 3===t.length?`${t.slice(0,2).join(":")}:${o}`:`${t.join(":")}:${o}`}}class $ extends s.k_{static get pluginName(){return"ClipboardPipeline"}static get requires(){return[H]}init(){this.editor.editing.view.addObserver(r),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(e,t,o){const s=this.editor.plugins.get("ClipboardMarkersUtils");this.editor.model.enqueueChange({isUndoable:"cut"===o},(()=>{const i=s._copySelectedFragmentWithMarkers(o,t);this.fire("outputTransformation",{dataTransfer:e,content:i,method:o})}))}_setupPasteDrop(){const e=this.editor,t=e.model,o=e.editing.view,s=o.document,n=this.editor.plugins.get("ClipboardMarkersUtils");this.listenTo(s,"clipboardInput",((t,o)=>{"paste"!=o.method||e.model.canEditAt(e.model.document.selection)||t.stop()}),{priority:"highest"}),this.listenTo(s,"clipboardInput",((e,t)=>{const s=t.dataTransfer;let n;if(t.content)n=t.content;else{let e="";s.getData("text/html")?e=function(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,((e,t)=>1==t.length?" ":t)).replace(/<!--[\s\S]*?-->/g,"")}(s.getData("text/html")):s.getData("text/plain")&&(((r=(r=s.getData("text/plain")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/\t/g," ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g," ")).includes("</p><p>")||r.includes("<br>"))&&(r=`<p>${r}</p>`),e=r),n=this.editor.data.htmlProcessor.toView(e)}var r;const a=new i.vY(this,"inputTransformation");this.fire(a,{content:n,dataTransfer:s,targetRanges:t.targetRanges,method:t.method}),a.stop.called&&e.stop(),o.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((e,o)=>{if(o.content.isEmpty)return;const s=this.editor.data.toModel(o.content,"$clipboardHolder");0!=s.childCount&&(e.stop(),t.change((()=>{this.fire("contentInsertion",{content:s,method:o.method,dataTransfer:o.dataTransfer,targetRanges:o.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((e,t)=>{t.resultRange=n._pasteFragmentWithMarkers(t.content)}),{priority:"low"})}_setupCopyCut(){const e=this.editor,t=e.model.document,o=e.editing.view.document,s=(e,o)=>{const s=o.dataTransfer;o.preventDefault(),this._fireOutputTransformationEvent(s,t.selection,e.name)};this.listenTo(o,"copy",s,{priority:"low"}),this.listenTo(o,"cut",((t,o)=>{e.model.canEditAt(e.model.document.selection)?s(t,o):o.preventDefault()}),{priority:"low"}),this.listenTo(this,"outputTransformation",((t,s)=>{const i=e.data.toView(s.content);o.fire("clipboardOutput",{dataTransfer:s.dataTransfer,content:i,method:s.method})}),{priority:"low"}),this.listenTo(o,"clipboardOutput",((o,s)=>{s.content.isEmpty||(s.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(s.content)),s.dataTransfer.setData("text/plain",l(s.content))),"cut"==s.method&&e.model.deleteContent(t.selection)}),{priority:"low"})}}var W=o("./packages/ckeditor5-widget/src/index.ts"),q=o("./packages/ckeditor5-ui/src/index.ts");const U=(0,i.To)("px");class K extends q.Ss{constructor(){super();const e=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",e.if("isVisible","ck-hidden",(e=>!e))],style:{left:e.to("left",(e=>U(e))),top:e.to("top",(e=>U(e))),width:e.to("width",(e=>U(e)))}}})}}var Y=o("./node_modules/lodash-es/throttle.js");class G extends s.k_{removeDropMarkerDelayed=(0,i.cb)((()=>this.removeDropMarker()),40);_updateDropMarkerThrottled=(0,Y.A)((e=>this._updateDropMarker(e)),40);_reconvertMarkerThrottled=(0,Y.A)((()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")}),0);_dropTargetLineView=new K;_domEmitter=new((0,i.c5)());_scrollables=new Map;static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:e}of this._scrollables.values())e.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(e,t,o,s,i,n){this.removeDropMarkerDelayed.cancel();const r=Z(this.editor,e,t,o,s,i,n);if(r)return n&&n.containsRange(r)?this.removeDropMarker():void this._updateDropMarkerThrottled(r)}getFinalDropRange(e,t,o,s,i,n){const r=Z(this.editor,e,t,o,s,i,n);return this.removeDropMarker(),r}removeDropMarker(){const e=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,e.markers.has("drop-target")&&e.change((e=>{e.removeMarker("drop-target")}))}_setupDropMarker(){const e=this.editor;e.ui.view.body.add(this._dropTargetLineView),e.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),e.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(t,{writer:o})=>{if(e.model.schema.checkChild(t.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(o);t.markerRange.isCollapsed?this._updateDropTargetLine(t.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(e){const t=this.editor,o=t.model.markers;t.model.change((t=>{o.has("drop-target")?o.get("drop-target").getRange().isEqual(e)||t.updateMarker("drop-target",{range:e}):t.addMarker("drop-target",{range:e,usingOperation:!1,affectsData:!1})}))}_createDropTargetPosition(e){return e.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(e){const t=this.toDomElement(e);return t.append("â ",e.createElement("span"),"â "),t}))}_updateDropTargetLine(e){const t=this.editor.editing,o=e.start.nodeBefore,s=e.start.nodeAfter,n=e.start.parent,r=o?t.mapper.toViewElement(o):null,a=r?t.view.domConverter.mapViewToDom(r):null,c=s?t.mapper.toViewElement(s):null,l=c?t.view.domConverter.mapViewToDom(c):null,d=t.mapper.toViewElement(n);if(!d)return;const h=t.view.domConverter.mapViewToDom(d),u=this._getScrollableRect(d),{scrollX:m,scrollY:p}=i.Sf.window,f=a?new i.rw(a):null,g=l?new i.rw(l):null,_=new i.rw(h).excludeScrollbarsAndBorders(),b=f?f.bottom:_.top,k=g?g.top:_.bottom,w=i.Sf.window.getComputedStyle(h),v=b<=k?(b+k)/2:k;if(u.top<v&&v<u.bottom){const e=_.left+parseFloat(w.paddingLeft),t=_.right-parseFloat(w.paddingRight),o=Math.max(e+m,u.left),s=Math.min(t+m,u.right);this._dropTargetLineView.set({isVisible:!0,left:o,top:v+p,width:s-o})}else this._dropTargetLineView.isVisible=!1}_getScrollableRect(e){const t=e.root.rootName;let o;if(this._scrollables.has(t))o=this._scrollables.get(t).domElement;else{o=function(e){let t=e;do{t=t.parentElement;const e=i.Sf.window.getComputedStyle(t).overflowY;if("auto"==e||"scroll"==e)break}while("BODY"!=t.tagName);return t}(this.editor.editing.view.domConverter.mapViewToDom(e)),this._domEmitter.listenTo(o,"scroll",this._reconvertMarkerThrottled,{usePassive:!0});const s=new i.tb(o,this._reconvertMarkerThrottled);this._scrollables.set(t,{domElement:o,resizeObserver:s})}return new i.rw(o).excludeScrollbarsAndBorders()}}function Z(e,t,o,s,i,n,r){const a=e.model,c=e.editing.mapper;let l=ee(e,t);for(;l;){if(!n)if(a.schema.checkChild(l,"$text")){if(o){const t=o[0].start,n=c.toModelPosition(t);if(!r||Array.from(r.getItems()).every((e=>a.schema.checkChild(n,e)))){if(a.schema.checkChild(n,"$text"))return a.createRange(n);if(t)return X(e,ee(e,t.parent),s,i)}}}else if(a.schema.isInline(l))return X(e,l,s,i);if(a.schema.isBlock(l))return X(e,l,s,i);if(a.schema.checkChild(l,"$block")){const t=Array.from(l.getChildren()).filter((t=>t.is("element")&&!J(e,t)));let o=0,n=t.length;if(0==n)return a.createRange(a.createPositionAt(l,"end"));for(;o<n-1;){const r=Math.floor((o+n)/2);"before"==Q(e,t[r],s,i)?n=r:o=r}return X(e,t[o],s,i)}l=l.parent}return null}function J(e,t){const o=e.editing.mapper,s=e.editing.view.domConverter,n=o.toViewElement(t);if(!n)return!0;const r=s.mapViewToDom(n);return"none"!=i.Sf.window.getComputedStyle(r).float}function X(e,t,o,s){const i=e.model;return i.createRange(i.createPositionAt(t,Q(e,t,o,s)))}function Q(e,t,o,s){const n=e.editing.mapper,r=e.editing.view.domConverter,a=n.toViewElement(t),c=r.mapViewToDom(a),l=new i.rw(c);return e.model.schema.isInline(t)?o<(l.left+l.right)/2?"before":"after":s<(l.top+l.bottom)/2?"before":"after"}function ee(e,t){const o=e.editing.mapper,s=e.editing.view,i=o.toModelElement(t);if(i)return i;const n=s.createPositionBefore(t),r=o.findMappedViewAncestor(n);return o.toModelElement(r)}class te extends s.k_{_isBlockDragging=!1;_domEmitter=new((0,i.c5)());static get pluginName(){return"DragDropBlockToolbar"}init(){const e=this.editor;if(this.listenTo(e,"change:isReadOnly",((e,t,o)=>{o?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")})),i._K.isAndroid&&this.forceDisabled("noAndroidSupport"),e.plugins.has("BlockToolbar")){const t=e.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(t,"dragstart",((e,t)=>this._handleBlockDragStart(t))),this._domEmitter.listenTo(i.Sf.document,"dragover",((e,t)=>this._handleBlockDragging(t))),this._domEmitter.listenTo(i.Sf.document,"drop",((e,t)=>this._handleBlockDragging(t))),this._domEmitter.listenTo(i.Sf.document,"dragend",(()=>this._handleBlockDragEnd()),{useCapture:!0}),this.isEnabled&&t.setAttribute("draggable","true"),this.on("change:isEnabled",((e,o,s)=>{t.setAttribute("draggable",s?"true":"false")}))}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(e){if(!this.isEnabled)return;const t=this.editor.model,o=t.document.selection,s=this.editor.editing.view,i=Array.from(o.getSelectedBlocks()),n=t.createRange(t.createPositionBefore(i[0]),t.createPositionAfter(i[i.length-1]));t.change((e=>e.setSelection(n))),this._isBlockDragging=!0,s.focus(),s.getObserver(r).onDomEvent(e)}_handleBlockDragging(e){if(!this.isEnabled||!this._isBlockDragging)return;const t=e.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),o=e.clientY,s=document.elementFromPoint(t,o),i=this.editor.editing.view;s&&s.closest(".ck-editor__editable")&&i.getObserver(r).onDomEvent({...e,type:e.type,dataTransfer:e.dataTransfer,target:s,clientX:t,clientY:o,preventDefault:()=>e.preventDefault(),stopPropagation:()=>e.stopPropagation()})}_handleBlockDragEnd(){this._isBlockDragging=!1}}var oe=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),se=o.n(oe),ie=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-clipboard/theme/clipboard.css"),ne={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};se()(ie.A,ne);ie.A.locals;class re extends s.k_{_draggedRange;_draggingUid;_draggableElement;_clearDraggableAttributesDelayed=(0,i.cb)((()=>this._clearDraggableAttributes()),40);_blockMode=!1;_domEmitter=new((0,i.c5)());_previewContainer;static get pluginName(){return"DragDrop"}static get requires(){return[$,W.x0,G,te]}init(){const e=this.editor,t=e.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,t.addObserver(r),t.addObserver(n.q$),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(e,"change:isReadOnly",((e,t,o)=>{o?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((e,t,o)=>{o||this._finalizeDragging(!1)})),i._K.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const e=this.editor,t=e.model,o=e.editing.view,s=o.document,n=e.plugins.get(G);this.listenTo(s,"dragstart",((e,o)=>{if(o.target&&o.target.is("editableElement"))return void o.preventDefault();if(this._prepareDraggedRange(o.target),!this._draggedRange)return void o.preventDefault();this._draggingUid=(0,i.Ld)(),o.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",o.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const s=t.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(o.dataTransfer,s,"dragstart");const{dataTransfer:n,domTarget:r,domEvent:a}=o,{clientX:c}=a;this._updatePreview({dataTransfer:n,domTarget:r,clientX:c}),o.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")}),{priority:"low"}),this.listenTo(s,"dragend",((e,t)=>{this._finalizeDragging(!t.dataTransfer.isCanceled&&"move"==t.dataTransfer.dropEffect)}),{priority:"low"}),this._domEmitter.listenTo(i.Sf.document,"dragend",(()=>{this._blockMode=!1}),{useCapture:!0}),this.listenTo(s,"dragenter",(()=>{this.isEnabled&&o.focus()})),this.listenTo(s,"dragleave",(()=>{n.removeDropMarkerDelayed()})),this.listenTo(s,"dragging",((e,t)=>{if(!this.isEnabled)return void(t.dataTransfer.dropEffect="none");const{clientX:o,clientY:s}=t.domEvent;n.updateDropMarker(t.target,t.targetRanges,o,s,this._blockMode,this._draggedRange),this._draggedRange||(t.dataTransfer.dropEffect="copy"),i._K.isGecko||("copy"==t.dataTransfer.effectAllowed?t.dataTransfer.dropEffect="copy":["all","copyMove"].includes(t.dataTransfer.effectAllowed)&&(t.dataTransfer.dropEffect="move")),e.stop()}),{priority:"low"})}_setupClipboardInputIntegration(){const e=this.editor,t=e.editing.view.document,o=e.plugins.get(G);this.listenTo(t,"clipboardInput",((t,s)=>{if("drop"!=s.method)return;const{clientX:i,clientY:n}=s.domEvent,r=o.getFinalDropRange(s.target,s.targetRanges,i,n,this._blockMode,this._draggedRange);if(!r)return this._finalizeDragging(!1),void t.stop();this._draggedRange&&this._draggingUid!=s.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="");if("move"==ae(s.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(r,!0))return this._finalizeDragging(!1),void t.stop();s.targetRanges=[e.editing.mapper.toViewRange(r)]}),{priority:"high"})}_setupContentInsertionIntegration(){const e=this.editor.plugins.get($);e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const o=t.targetRanges.map((e=>this.editor.editing.mapper.toModelRange(e)));this.editor.model.change((e=>e.setSelection(o)))}),{priority:"high"}),e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const o="move"==ae(t.dataTransfer),s=!t.resultRange||!t.resultRange.isCollapsed;this._finalizeDragging(s&&o)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const e=this.editor,t=e.editing.view,o=t.document;this.listenTo(o,"mousedown",((s,n)=>{if(i._K.isAndroid||!n)return;this._clearDraggableAttributesDelayed.cancel();let r=ce(n.target);if(i._K.isBlink&&!e.isReadOnly&&!r&&!o.selection.isCollapsed){const e=o.selection.getSelectedElement();e&&(0,W.p4)(e)||(r=o.selection.editableElement)}r&&(t.change((e=>{e.setAttribute("draggable","true",r)})),this._draggableElement=e.editing.mapper.toModelElement(r))})),this.listenTo(o,"mouseup",(()=>{i._K.isAndroid||this._clearDraggableAttributesDelayed()}))}_clearDraggableAttributes(){const e=this.editor.editing;e.view.change((t=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&t.removeAttribute("draggable",e.mapper.toViewElement(this._draggableElement)),this._draggableElement=null}))}_finalizeDragging(e){const t=this.editor,o=t.model;if(t.plugins.get(G).removeDropMarker(),this._clearDraggableAttributes(),t.plugins.has("WidgetToolbarRepository")){t.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop")}this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(e&&this.isEnabled&&o.change((e=>{const t=o.createSelection(this._draggedRange);o.deleteContent(t,{doNotAutoparagraph:!0});const s=t.getFirstPosition().parent;s.isEmpty&&!o.schema.checkChild(s,"$text")&&o.schema.checkChild(s,"paragraph")&&e.insertElement("paragraph",s,0)})),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(e){const t=this.editor,o=t.model,s=o.document.selection,i=e?ce(e):null;if(i){const e=t.editing.mapper.toModelElement(i);if(this._draggedRange=n.Oo.fromRange(o.createRangeOn(e)),this._blockMode=o.schema.isBlock(e),t.plugins.has("WidgetToolbarRepository")){t.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}return}if(s.isCollapsed&&!s.getFirstPosition().parent.isEmpty)return;const r=Array.from(s.getSelectedBlocks()),a=s.getFirstRange();if(0==r.length)return void(this._draggedRange=n.Oo.fromRange(a));const c=le(o,r);if(r.length>1)this._draggedRange=n.Oo.fromRange(c),this._blockMode=!0;else if(1==r.length){const e=a.start.isTouching(c.start)&&a.end.isTouching(c.end);this._draggedRange=n.Oo.fromRange(e?c:a),this._blockMode=e}o.change((e=>e.setSelection(this._draggedRange.toRange())))}_updatePreview({dataTransfer:e,domTarget:t,clientX:o}){const s=this.editor.editing.view,n=s.document.selection.editableElement,r=s.domConverter.mapViewToDom(n),a=i.Sf.window.getComputedStyle(r);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=(0,i.n)(i.Sf.document,"div",{style:"position: fixed; left: -999999px;"}),i.Sf.document.body.appendChild(this._previewContainer));const c=new i.rw(r);if(r.contains(t))return;const l=parseFloat(a.paddingLeft),d=(0,i.n)(i.Sf.document,"div");d.className="ck ck-content",d.style.width=a.width,d.style.paddingLeft=`${c.left-o+l}px`,i._K.isiOS&&(d.style.backgroundColor="white"),s.domConverter.setContentOf(d,e.getData("text/html")),e.setDragImage(d,0,0),this._previewContainer.appendChild(d)}}function ae(e){return i._K.isGecko?e.dropEffect:["all","copyMove"].includes(e.effectAllowed)?"move":"copy"}function ce(e){if(e.is("editableElement"))return null;if(e.hasClass("ck-widget__selection-handle"))return e.findAncestor(W.p4);if((0,W.p4)(e))return e;const t=e.findAncestor((e=>(0,W.p4)(e)||e.is("editableElement")));return(0,W.p4)(t)?t:null}function le(e,t){const o=t[0],s=t[t.length-1],i=o.getCommonAncestor(s),n=e.createPositionBefore(o),r=e.createPositionAfter(s);if(i&&i.is("element")&&!e.schema.isLimit(i)){const t=e.createRangeOn(i),o=n.isTouching(t.start),s=r.isTouching(t.end);if(o&&s)return le(e,[i])}return e.createRange(n,r)}class de extends s.k_{static get pluginName(){return"PastePlainText"}static get requires(){return[$]}init(){const e=this.editor,t=e.model,o=e.editing.view,s=t.document.selection;o.addObserver(r),e.plugins.get($).on("contentInsertion",((e,o)=>{(function(e,t){let o=t.createRangeIn(e);if(1==e.childCount){const s=e.getChild(0);s.is("element")&&t.schema.isBlock(s)&&!t.schema.isObject(s)&&!t.schema.isLimit(s)&&(o=t.createRangeIn(s))}for(const e of o.getItems()){if(!t.schema.isInline(e))return!1;if(Array.from(e.getAttributeKeys()).find((e=>t.schema.getAttributeProperties(e).isFormatting)))return!1}return!0})(o.content,t)&&t.change((e=>{const i=Array.from(s.getAttributes()).filter((([e])=>t.schema.getAttributeProperties(e).isFormatting));s.isCollapsed||t.deleteContent(s,{doNotAutoparagraph:!0}),i.push(...s.getAttributes());const n=e.createRangeIn(o.content);for(const o of n.getItems())for(const s of i)t.schema.checkAttribute(o,s[0])&&e.setAttribute(s[0],s[1],o)}))}))}}class he extends s.k_{static get pluginName(){return"Clipboard"}static get requires(){return[H,$,re,de]}init(){const e=this.editor,t=this.editor.t;e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Copy selected content"),keystroke:"CTRL+C"},{label:t("Paste content"),keystroke:"CTRL+V"},{label:t("Paste content as plain text"),keystroke:"CTRL+SHIFT+V"}]})}}},"./src/core.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Command:()=>s.uB,Context:()=>s.ob,ContextPlugin:()=>s.HY,DataApiMixin:()=>s.CC,Editor:()=>s.KE,ElementApiMixin:()=>s.mJ,MultiCommand:()=>s.fE,PendingActions:()=>s.TS,Plugin:()=>s.k_,attachToForm:()=>s.JF,icons:()=>s.Pt,secureSourceElement:()=>s.Jl});var s=o("./packages/ckeditor5-core/src/index.ts")},"./src/engine.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{AttributeElement:()=>s.Zq,AttributeOperation:()=>s.ML,BubblingEventInfo:()=>s.cJ,ClickObserver:()=>s.Re,Conversion:()=>s.dY,DataController:()=>s.P3,DataTransfer:()=>s._v,DocumentFragment:()=>s.kB,DocumentSelection:()=>s.oi,DomConverter:()=>s.P$,DomEventData:()=>s.FY,DomEventObserver:()=>s.$A,DowncastWriter:()=>s.zN,EditingController:()=>s.L_,EditingView:()=>s.gK,Element:()=>s.Hg,FocusObserver:()=>s.vp,History:()=>s.BZ,HtmlDataProcessor:()=>s.q6,InsertOperation:()=>s.ZG,LivePosition:()=>s.m8,LiveRange:()=>s.Oo,MarkerOperation:()=>s.m4,Matcher:()=>s.PN,MergeOperation:()=>s.GY,Model:()=>s.Kx,MouseObserver:()=>s.q$,MoveOperation:()=>s.hW,NoOperation:()=>s.fS,Observer:()=>s.nu,OperationFactory:()=>s.cr,Position:()=>s.yX,Range:()=>s.Q6,RenameOperation:()=>s.EZ,Renderer:()=>s.A4,RootAttributeOperation:()=>s.gf,RootOperation:()=>s.at,SplitOperation:()=>s._A,StylesMap:()=>s.DG,StylesProcessor:()=>s.tG,TabObserver:()=>s.Yi,Text:()=>s.EY,TextProxy:()=>s.Qo,TreeWalker:()=>s.rU,UpcastWriter:()=>s.Wq,ViewAttributeElement:()=>s.UJ,ViewContainerElement:()=>s.xQ,ViewDocument:()=>s.Vg,ViewDocumentFragment:()=>s.f5,ViewEditableElement:()=>s.OQ,ViewElement:()=>s.m2,ViewEmptyElement:()=>s.Vt,ViewRawElement:()=>s.aZ,ViewRootEditableElement:()=>s.Un,ViewText:()=>s.HQ,ViewTreeWalker:()=>s.u$,ViewUIElement:()=>s.cw,XmlDataProcessor:()=>s.ib,_getModelData:()=>s.XI,_getViewData:()=>s.vQ,_parseModel:()=>s.IG,_parseView:()=>s.kF,_setModelData:()=>s.je,_setViewData:()=>s.JV,_stringifyModel:()=>s.aU,_stringifyView:()=>s._$,addBackgroundRules:()=>s.D0,addBorderRules:()=>s.v7,addMarginRules:()=>s.vt,addPaddingRules:()=>s.mC,autoParagraphEmptyRoots:()=>s.YM,disablePlaceholder:()=>s.Kc,enablePlaceholder:()=>s.JT,getBoxSidesShorthandValue:()=>s.qE,getBoxSidesValueReducer:()=>s.rC,getBoxSidesValues:()=>s.QS,getFillerOffset:()=>s.SH,getPositionShorthandNormalizer:()=>s.gz,getShorthandValues:()=>s.M1,hidePlaceholder:()=>s.YU,isAttachment:()=>s.s5,isColor:()=>s._o,isLength:()=>s.Vq,isLineStyle:()=>s.ew,isParagraphable:()=>s.JS,isPercentage:()=>s.fp,isPosition:()=>s.E,isRepeat:()=>s.Cd,isURL:()=>s.mv,needsPlaceholder:()=>s.$0,showPlaceholder:()=>s.Zu,transformSets:()=>s._j,wrapInParagraph:()=>s.mm});var s=o("./packages/ckeditor5-engine/src/index.ts")},"./src/enter.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Enter:()=>s.x,ShiftEnter:()=>s.D});var s=o("./packages/ckeditor5-enter/src/index.ts")},"./src/paragraph.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Paragraph:()=>c,ParagraphButtonUI:()=>d});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n extends s.uB{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document,o=(0,i.$1)(t.selection.getSelectedBlocks());this.value=!!o&&o.is("element","paragraph"),this.isEnabled=!!o&&r(o,e.schema)}execute(e={}){const t=this.editor.model,o=t.document,s=e.selection||o.selection;t.canEditAt(s)&&t.change((e=>{const o=s.getSelectedBlocks();for(const s of o)!s.is("element","paragraph")&&r(s,t.schema)&&e.rename(s,"paragraph")}))}}function r(e,t){return t.checkChild(e.parent,"paragraph")&&!t.isObject(e)}class a extends s.uB{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}execute(e){const t=this.editor.model,o=e.attributes;let s=e.position;t.canEditAt(s)&&t.change((e=>{if(s=this._findPositionToInsertParagraph(s,e),!s)return;const i=e.createElement("paragraph");o&&t.schema.setAllowedAttributes(i,o,e),t.insertContent(i,s),e.setSelection(i,"in")}))}_findPositionToInsertParagraph(e,t){const o=this.editor.model;if(o.schema.checkChild(e,"paragraph"))return e;const s=o.schema.findAllowedParent(e,"paragraph");if(!s)return null;const i=e.parent,n=o.schema.checkChild(i,"$text");return i.isEmpty||n&&e.isAtEnd?o.createPositionAfter(i):!i.isEmpty&&n&&e.isAtStart?o.createPositionBefore(i):t.split(e,s).position}}class c extends s.k_{static get pluginName(){return"Paragraph"}init(){const e=this.editor,t=e.model;e.commands.add("paragraph",new n(e)),e.commands.add("insertParagraph",new a(e)),t.schema.register("paragraph",{inheritAllFrom:"$block"}),e.conversion.elementToElement({model:"paragraph",view:"p"}),e.conversion.for("upcast").elementToElement({model:(e,{writer:t})=>c.paragraphLikeElements.has(e.name)?e.isEmpty?null:t.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}static paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"])}var l=o("./packages/ckeditor5-ui/src/index.ts");class d extends s.k_{static get requires(){return[c]}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("paragraph",(o=>{const i=new l._(o),n=e.commands.get("paragraph");return i.label=t("Paragraph"),i.icon=s.Pt.paragraph,i.tooltip=!0,i.isToggleable=!0,i.bind("isEnabled").to(n),i.bind("isOn").to(n,"value"),i.on("execute",(()=>{e.execute("paragraph")})),i}))}}},"./src/select-all.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{SelectAll:()=>h,SelectAllEditing:()=>c,SelectAllUI:()=>d});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n extends s.uB{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,t=e.document.selection;let o=e.schema.getLimitElement(t);if(t.containsEntireContent(o)||!r(e.schema,o))do{if(o=o.parent,!o)return}while(!r(e.schema,o));e.change((e=>{e.setSelection(o,"in")}))}}function r(e,t){return e.isLimit(t)&&(e.checkChild(t,"$text")||e.checkChild(t,"paragraph"))}const a=(0,i.ZX)("Ctrl+A");class c extends s.k_{static get pluginName(){return"SelectAllEditing"}init(){const e=this.editor,t=e.t,o=e.editing.view.document;e.commands.add("selectAll",new n(e)),this.listenTo(o,"keydown",((t,o)=>{(0,i.QC)(o)===a&&(e.execute("selectAll"),o.preventDefault())})),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Select all"),keystroke:"CTRL+A"}]})}}var l=o("./packages/ckeditor5-ui/src/index.ts");class d extends s.k_{static get pluginName(){return"SelectAllUI"}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",(()=>{const e=this._createButton(l._);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:selectAll",(()=>this._createButton(l.kS)))}_createButton(e){const t=this.editor,o=t.locale,s=t.commands.get("selectAll"),i=new e(t.locale),n=o.t;return i.set({label:n("Select all"),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.75 15.5a.75.75 0 0 1 .75.75V18l.008.09A.5.5 0 0 0 2 18.5h1.75a.75.75 0 1 1 0 1.5H1.5l-.144-.007a1.5 1.5 0 0 1-1.35-1.349L0 18.5v-2.25a.75.75 0 0 1 .75-.75zm18.5 0a.75.75 0 0 1 .75.75v2.25l-.007.144a1.5 1.5 0 0 1-1.349 1.35L18.5 20h-2.25a.75.75 0 1 1 0-1.5H18a.5.5 0 0 0 .492-.41L18.5 18v-1.75a.75.75 0 0 1 .75-.75zm-10.45 3c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm.45-5.5a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5h8.5zM1.3 11c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM1.3 7c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5h-2.5a.75.75 0 1 1 0-1.5h2.5zm-5 0a.75.75 0 1 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5h5.5zm-6.5-5a.75.75 0 0 1 0 1.5H2a.5.5 0 0 0-.492.41L1.5 2v1.75a.75.75 0 0 1-1.5 0V1.5l.007-.144A1.5 1.5 0 0 1 1.356.006L1.5 0h2.25zM18.5 0l.144.007a1.5 1.5 0 0 1 1.35 1.349L20 1.5v2.25a.75.75 0 1 1-1.5 0V2l-.008-.09A.5.5 0 0 0 18 1.5h-1.75a.75.75 0 1 1 0-1.5h2.25zM8.8 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6z"/></svg>',keystroke:"Ctrl+A"}),i.bind("isEnabled").to(s,"isEnabled"),this.listenTo(i,"execute",(()=>{t.execute("selectAll"),t.editing.view.focus()})),i}}class h extends s.k_{static get requires(){return[c,d]}static get pluginName(){return"SelectAll"}}},"./src/typing.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Delete:()=>s.ep,Input:()=>s.pd,InsertTextCommand:()=>s.Ki,TextTransformation:()=>s.De,TextWatcher:()=>s.qV,TwoStepCaretMovement:()=>s.Vp,Typing:()=>s.IG,findAttributeRange:()=>s.Py,findAttributeRangeBound:()=>s.lO,getLastTextLine:()=>s.ex,inlineHighlight:()=>s.Il});var s=o("./packages/ckeditor5-typing/src/index.ts")},"./src/ui.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{AccessibilityHelp:()=>s.KO,AutocompleteView:()=>s.uI,BalloonPanelView:()=>s.Jr,BalloonToolbar:()=>s.bQ,BlockToolbar:()=>s.Lz,BodyCollection:()=>s.v1,BoxedEditorUIView:()=>s.Xt,ButtonLabelView:()=>s.e0,ButtonLabelWithHighlightView:()=>s.yX,ButtonView:()=>s._,CollapsibleView:()=>s.Kn,ColorGridView:()=>s.pQ,ColorPickerView:()=>s.ph,ColorSelectorView:()=>s.oB,ColorTileView:()=>s.vF,ComponentFactory:()=>s.eH,ContextualBalloon:()=>s.pU,CssTransitionDisablerMixin:()=>s.wi,DefaultMenuBarItems:()=>s.ep,Dialog:()=>s.lG,DialogView:()=>s._m,DialogViewPosition:()=>s.nu,DropdownButtonView:()=>s.lU,DropdownMenuListItemButtonView:()=>s.nN,DropdownMenuListItemView:()=>s.pg,DropdownMenuListView:()=>s.MO,DropdownMenuNestedMenuView:()=>s.Eg,DropdownMenuPanelPositioningFunctions:()=>s.XH,DropdownMenuRootListView:()=>s.A4,DropdownPanelView:()=>s.Vz,DropdownView:()=>s.BO,EditorUI:()=>s.Gn,EditorUIView:()=>s.nc,FileDialogButtonView:()=>s.eF,FileDialogListItemButtonView:()=>s.L7,FocusCycler:()=>s.H,FormHeaderView:()=>s.Dy,HighlightedTextView:()=>s.MZ,IconView:()=>s.Ln,IframeView:()=>s.WU,InlineEditableUIView:()=>s.LU,InputNumberView:()=>s.Zz,InputTextView:()=>s.hK,InputView:()=>s.E6,LabelView:()=>s.y0,LabelWithHighlightView:()=>s.kq,LabeledFieldView:()=>s.xE,ListItemButtonView:()=>s.$Y,ListItemGroupView:()=>s.m_,ListItemView:()=>s.BD,ListSeparatorView:()=>s.Je,ListView:()=>s.uO,MenuBarMenuListItemButtonView:()=>s.kS,MenuBarMenuListItemFileDialogButtonView:()=>s.GG,MenuBarMenuListItemView:()=>s.I8,MenuBarMenuListView:()=>s.BY,MenuBarMenuView:()=>s.zj,MenuBarView:()=>s.yJ,Notification:()=>s.lV,SearchInfoView:()=>s.wD,SearchTextView:()=>s.b8,SpinnerView:()=>s.XE,SplitButtonView:()=>s.AO,StickyPanelView:()=>s.xw,SwitchButtonView:()=>s.Wm,Template:()=>s.Bj,TextareaView:()=>s.OB,ToolbarLineBreakView:()=>s.Cy,ToolbarSeparatorView:()=>s.IY,ToolbarView:()=>s.X3,TooltipManager:()=>s.JV,View:()=>s.Ss,ViewCollection:()=>s.s3,ViewModel:()=>s.Jc,addKeyboardHandlingForGrid:()=>s.l1,addListToDropdown:()=>s.O,addMenuToDropdown:()=>s.H2,addToolbarToDropdown:()=>s.fM,clickOutsideHandler:()=>s.wy,createDropdown:()=>s.yu,createLabeledDropdown:()=>s.By,createLabeledInputNumber:()=>s.F_,createLabeledInputText:()=>s.Vr,createLabeledTextarea:()=>s.GR,filterGroupAndItemNames:()=>s.UR,focusChildOnDropdownOpen:()=>s.Zn,getLocalizedColorOptions:()=>s.b2,injectCssTransitionDisabler:()=>s.I0,isFocusable:()=>s.tp,isViewWithFocusCycler:()=>s.eG,normalizeColorOptions:()=>s.lF,normalizeMenuBarConfig:()=>s.mB,normalizeSingleColorDefinition:()=>s.iv,normalizeToolbarConfig:()=>s.fl,submitHandler:()=>s.Z5});var s=o("./packages/ckeditor5-ui/src/index.ts")},"./src/undo.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Undo:()=>m,UndoEditing:()=>d,UndoUI:()=>u});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-engine/src/index.ts");class n extends s.uB{_stack=[];_createdBatches=new WeakSet;constructor(e){super(e),this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(e.data,"set",((e,t)=>{t[1]={...t[1]};const o=t[1];o.batchType||(o.batchType={isUndoable:!1})}),{priority:"high"}),this.listenTo(e.data,"set",((e,t)=>{t[1].batchType.isUndoable||this.clearStack()}))}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(e){const t=this.editor.model.document.selection,o={ranges:t.hasOwnRange?Array.from(t.getRanges()):[],isBackward:t.isBackward};this._stack.push({batch:e,selection:o}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,t,o){const s=this.editor.model,i=s.document,n=[],c=e.map((e=>e.getTransformedByOperations(o))),l=c.flat();for(const e of c){const t=e.filter((e=>e.root!=i.graveyard)).filter((e=>!a(e,l)));t.length&&(r(t),n.push(t[0]))}n.length&&s.change((e=>{e.setSelection(n,{backward:t})}))}_undo(e,t){const o=this.editor.model,s=o.document;this._createdBatches.add(t);const n=e.operations.slice().filter((e=>e.isDocumentOperation));n.reverse();for(const e of n){const n=e.baseVersion+1,r=Array.from(s.history.getOperations(n)),a=(0,i._j)([e.getReversed()],r,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let n of a){const r=n.affectedSelectable;r&&!o.canEditAt(r)&&(n=new i.fS(n.baseVersion)),t.addOperation(n),o.applyOperation(n),s.history.setOperationAsUndone(e,n)}}}}function r(e){e.sort(((e,t)=>e.start.isBefore(t.start)?-1:1));for(let t=1;t<e.length;t++){const o=e[t-1].getJoined(e[t],!0);o&&(t--,e.splice(t,2,o))}}function a(e,t){return t.some((t=>t!==e&&t.containsRange(e,!0)))}class c extends n{execute(e=null){const t=e?this._stack.findIndex((t=>t.batch==e)):this._stack.length-1,o=this._stack.splice(t,1)[0],s=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(s,(()=>{this._undo(o.batch,s);const e=this.editor.model.document.history.getOperations(o.batch.baseVersion);this._restoreSelection(o.selection.ranges,o.selection.isBackward,e)})),this.fire("revert",o.batch,s),this.refresh()}}class l extends n{execute(){const e=this._stack.pop(),t=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(t,(()=>{const o=e.batch.operations[e.batch.operations.length-1].baseVersion+1,s=this.editor.model.document.history.getOperations(o);this._restoreSelection(e.selection.ranges,e.selection.isBackward,s),this._undo(e.batch,t)})),this.refresh()}}class d extends s.k_{_undoCommand;_redoCommand;_batchRegistry=new WeakSet;static get pluginName(){return"UndoEditing"}init(){const e=this.editor,t=e.t;this._undoCommand=new c(e),this._redoCommand=new l(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",((e,t)=>{const o=t[0];if(!o.isDocumentOperation)return;const s=o.batch,i=this._redoCommand.createdBatches.has(s),n=this._undoCommand.createdBatches.has(s);this._batchRegistry.has(s)||(this._batchRegistry.add(s),s.isUndoable&&(i?this._undoCommand.addBatch(s):n||(this._undoCommand.addBatch(s),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((e,t,o)=>{this._redoCommand.addBatch(o)})),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Undo"),keystroke:"CTRL+Z"},{label:t("Redo"),keystroke:[["CTRL+Y"],["CTRL+SHIFT+Z"]]}]})}}var h=o("./packages/ckeditor5-ui/src/index.ts");class u extends s.k_{static get pluginName(){return"UndoUI"}init(){const e=this.editor,t=e.locale,o=e.t,i="ltr"==t.uiLanguageDirection?s.Pt.undo:s.Pt.redo,n="ltr"==t.uiLanguageDirection?s.Pt.redo:s.Pt.undo;this._addButtonsToFactory("undo",o("Undo"),"CTRL+Z",i),this._addButtonsToFactory("redo",o("Redo"),"CTRL+Y",n)}_addButtonsToFactory(e,t,o,s){const i=this.editor;i.ui.componentFactory.add(e,(()=>{const i=this._createButton(h._,e,t,o,s);return i.set({tooltip:!0}),i})),i.ui.componentFactory.add("menuBar:"+e,(()=>this._createButton(h.kS,e,t,o,s)))}_createButton(e,t,o,s,i){const n=this.editor,r=n.locale,a=n.commands.get(t),c=new e(r);return c.set({label:o,icon:i,keystroke:s}),c.bind("isEnabled").to(a,"isEnabled"),this.listenTo(c,"execute",(()=>{n.execute(t),n.editing.view.focus()})),c}}class m extends s.k_{static get requires(){return[d,u]}static get pluginName(){return"Undo"}}},"./src/upload.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Base64UploadAdapter:()=>c,FileRepository:()=>r,SimpleUploadAdapter:()=>d});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n extends((0,i.VM)()){total;_reader;_data;constructor(){super();const e=new window.FileReader;this._reader=e,this._data=void 0,this.set("loaded",0),e.onprogress=e=>{this.loaded=e.loaded}}get error(){return this._reader.error}get data(){return this._data}read(e){const t=this._reader;return this.total=e.size,new Promise(((o,s)=>{t.onload=()=>{const e=t.result;this._data=e,o(e)},t.onerror=()=>{s("error")},t.onabort=()=>{s("aborted")},this._reader.readAsDataURL(e)}))}abort(){this._reader.abort()}}class r extends s.k_{loaders=new i.pM;_loadersMap=new Map;_pendingAction=null;static get pluginName(){return"FileRepository"}static get requires(){return[s.TS]}init(){this.loaders.on("change",(()=>this._updatePendingAction())),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((e,t)=>t?e/t*100:0))}getLoader(e){return this._loadersMap.get(e)||null}createLoader(e){if(!this.createUploadAdapter)return(0,i.FF)("filerepository-no-upload-adapter"),null;const t=new a(Promise.resolve(e),this.createUploadAdapter);return this.loaders.add(t),this._loadersMap.set(e,t),e instanceof Promise&&t.file.then((e=>{this._loadersMap.set(e,t)})).catch((()=>{})),t.on("change:uploaded",(()=>{let e=0;for(const t of this.loaders)e+=t.uploaded;this.uploaded=e})),t.on("change:uploadTotal",(()=>{let e=0;for(const t of this.loaders)t.uploadTotal&&(e+=t.uploadTotal);this.uploadTotal=e})),t}destroyLoader(e){const t=e instanceof a?e:this.getLoader(e);t._destroy(),this.loaders.remove(t),this._loadersMap.forEach(((e,o)=>{e===t&&this._loadersMap.delete(o)}))}_updatePendingAction(){const e=this.editor.plugins.get(s.TS);if(this.loaders.length){if(!this._pendingAction){const t=this.editor.t,o=e=>`${t("Upload in progress")} ${parseInt(e)}%.`;this._pendingAction=e.add(o(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",o)}}else e.remove(this._pendingAction),this._pendingAction=null}}class a extends((0,i.VM)()){id;_filePromiseWrapper;_adapter;_reader;constructor(e,t){super(),this.id=(0,i.Ld)(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=t(this),this._reader=new n,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((e,t)=>t?e/t*100:0)),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then((e=>this._filePromiseWrapper?e:null)):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new i.Yb("filerepository-read-wrong-status",this);return this.status="reading",this.file.then((e=>this._reader.read(e))).then((e=>{if("reading"!==this.status)throw this.status;return this.status="idle",e})).catch((e=>{if("aborted"===e)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:e}))}upload(){if("idle"!=this.status)throw new i.Yb("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then((()=>this._adapter.upload())).then((e=>(this.uploadResponse=e,this.status="idle",e))).catch((e=>{if("aborted"===this.status)throw"aborted";throw this.status="error",e}))}abort(){const e=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==e?this._reader.abort():"uploading"==e&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch((()=>{})),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(e){const t={};return t.promise=new Promise(((o,s)=>{t.rejecter=s,t.isFulfilled=!1,e.then((e=>{t.isFulfilled=!0,o(e)})).catch((e=>{t.isFulfilled=!0,s(e)}))})),t}}class c extends s.k_{static get requires(){return[r]}static get pluginName(){return"Base64UploadAdapter"}init(){this.editor.plugins.get(r).createUploadAdapter=e=>new l(e)}}class l{loader;reader;constructor(e){this.loader=e}upload(){return new Promise(((e,t)=>{const o=this.reader=new window.FileReader;o.addEventListener("load",(()=>{e({default:o.result})})),o.addEventListener("error",(e=>{t(e)})),o.addEventListener("abort",(()=>{t()})),this.loader.file.then((e=>{o.readAsDataURL(e)}))}))}abort(){this.reader.abort()}}class d extends s.k_{static get requires(){return[r]}static get pluginName(){return"SimpleUploadAdapter"}init(){const e=this.editor.config.get("simpleUpload");e&&(e.uploadUrl?this.editor.plugins.get(r).createUploadAdapter=t=>new h(t,e):(0,i.FF)("simple-upload-adapter-missing-uploadurl"))}}class h{loader;options;xhr;constructor(e,t){this.loader=e,this.options=t}upload(){return this.loader.file.then((e=>new Promise(((t,o)=>{this._initRequest(),this._initListeners(t,o,e),this._sendRequest(e)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.options.uploadUrl,!0),e.responseType="json"}_initListeners(e,t,o){const s=this.xhr,i=this.loader,n=`Couldn't upload file: ${o.name}.`;s.addEventListener("error",(()=>t(n))),s.addEventListener("abort",(()=>t())),s.addEventListener("load",(()=>{const o=s.response;if(!o||o.error)return t(o&&o.error&&o.error.message?o.error.message:n);const i=o.url?{default:o.url}:o.urls;e({...o,urls:i})})),s.upload&&s.upload.addEventListener("progress",(e=>{e.lengthComputable&&(i.uploadTotal=e.total,i.uploaded=e.loaded)}))}_sendRequest(e){const t=this.options.headers||{},o=this.options.withCredentials||!1;for(const e of Object.keys(t))this.xhr.setRequestHeader(e,t[e]);this.xhr.withCredentials=o;const s=new FormData;s.append("upload",e),this.xhr.send(s)}}},"./src/utils.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{CKEditorError:()=>s.Yb,Collection:()=>s.pM,Config:()=>s.TS,DomEmitterMixin:()=>s.c5,ElementReplacer:()=>s.PZ,EmitterMixin:()=>s.Mm,EventInfo:()=>s.vY,FocusTracker:()=>s.$x,KeystrokeHandler:()=>s.EP,Locale:()=>s.hT,ObservableMixin:()=>s.VM,Rect:()=>s.rw,ResizeObserver:()=>s.tb,abortableDebounce:()=>s.KL,compareArrays:()=>s.ww,count:()=>s.U9,createElement:()=>s.n,delay:()=>s.cb,diff:()=>s.Ui,diffToChanges:()=>s.q8,env:()=>s._K,exponentialDelay:()=>s.Nv,fastDiff:()=>s.Mr,findClosestScrollableAncestor:()=>s.j3,first:()=>s.$1,getAncestors:()=>s.DS,getBorderWidths:()=>s.Md,getCode:()=>s.QC,getDataFromElement:()=>s.pG,getEnvKeystrokeText:()=>s.YA,getLanguageDirection:()=>s.iJ,getLocalizedArrowKeyCodeDirection:()=>s.Kf,getOptimalPosition:()=>s.W,getRangeFromMouseEvent:()=>s.jr,global:()=>s.Sf,indexOf:()=>s.qh,insertAt:()=>s.PT,insertToPriorityArray:()=>s.Yy,isArrowKeyCode:()=>s.Yt,isCombiningMark:()=>s.mY,isComment:()=>s.Cn,isForwardArrowKeyCode:()=>s.HK,isHighSurrogateHalf:()=>s.kv,isInsideCombinedSymbol:()=>s.Iw,isInsideEmojiSequence:()=>s.SQ,isInsideSurrogatePair:()=>s.P5,isIterable:()=>s.xZ,isLowSurrogateHalf:()=>s.k$,isNode:()=>s.Ll,isRange:()=>s._Z,isText:()=>s.KH,isValidAttributeName:()=>s.i8,isVisible:()=>s.zN,keyCodes:()=>s.uP,logError:()=>s.vV,logWarning:()=>s.FF,mix:()=>s.jh,parseKeystroke:()=>s.ZX,priorities:()=>s.vx,releaseDate:()=>s.kM,remove:()=>s.TF,retry:()=>s.L5,scrollAncestorsToShowTarget:()=>s.bi,scrollViewportToShowTarget:()=>s.vK,setDataInElement:()=>s.C_,spliceArray:()=>s.eL,toArray:()=>s.$r,toMap:()=>s.av,toUnit:()=>s.To,uid:()=>s.Ld,verifyLicense:()=>s.rQ,version:()=>s.rE,wait:()=>s.uk});var s=o("./packages/ckeditor5-utils/src/index.ts")},"./src/watchdog.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{ContextWatchdog:()=>s.Zd,EditorWatchdog:()=>s.VJ,Watchdog:()=>s.Io});var s=o("./packages/ckeditor5-watchdog/src/index.ts")},"./src/widget.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{WIDGET_CLASS_NAME:()=>s.iW,WIDGET_SELECTED_CLASS_NAME:()=>s.w_,Widget:()=>s.x0,WidgetResize:()=>s.VE,WidgetToolbarRepository:()=>s.oP,WidgetTypeAround:()=>s.oT,calculateResizeHostAncestorWidth:()=>s.Wu,calculateResizeHostPercentageWidth:()=>s.Hq,findOptimalInsertionRange:()=>s.iB,getLabel:()=>s.p9,isWidget:()=>s.p4,setHighlightHandling:()=>s._s,setLabel:()=>s.je,toWidget:()=>s.Ex,toWidgetEditable:()=>s.YN,viewToModelPositionOutsideModelElement:()=>s.$u});var s=o("./packages/ckeditor5-widget/src/index.ts")},"?7cdd":(e,t,o)=>{e.exports=o},"./node_modules/lodash-es/_ListCache.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});const s=function(){this.__data__=[],this.size=0};var i=o("./node_modules/lodash-es/eq.js");const n=function(e,t){for(var o=e.length;o--;)if((0,i.A)(e[o][0],t))return o;return-1};var r=Array.prototype.splice;const a=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():r.call(t,o,1),--this.size,!0)};const c=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]};const l=function(e){return n(this.__data__,e)>-1};const d=function(e,t){var o=this.__data__,s=n(o,e);return s<0?(++this.size,o.push([e,t])):o[s][1]=t,this};function h(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}h.prototype.clear=s,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=l,h.prototype.set=d;const u=h},"./node_modules/lodash-es/_Map.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_getNative.js"),i=o("./node_modules/lodash-es/_root.js");const n=(0,s.A)(i.A,"Map")},"./node_modules/lodash-es/_MapCache.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>x});const s=(0,o("./node_modules/lodash-es/_getNative.js").A)(Object,"create");const i=function(){this.__data__=s?s(null):{},this.size=0};const n=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var r=Object.prototype.hasOwnProperty;const a=function(e){var t=this.__data__;if(s){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return r.call(t,e)?t[e]:void 0};var c=Object.prototype.hasOwnProperty;const l=function(e){var t=this.__data__;return s?void 0!==t[e]:c.call(t,e)};const d=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this};function h(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}h.prototype.clear=i,h.prototype.delete=n,h.prototype.get=a,h.prototype.has=l,h.prototype.set=d;const u=h;var m=o("./node_modules/lodash-es/_ListCache.js"),p=o("./node_modules/lodash-es/_Map.js");const f=function(){this.size=0,this.__data__={hash:new u,map:new(p.A||m.A),string:new u}};const g=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const _=function(e,t){var o=e.__data__;return g(t)?o["string"==typeof t?"string":"hash"]:o.map};const b=function(e){var t=_(this,e).delete(e);return this.size-=t?1:0,t};const k=function(e){return _(this,e).get(e)};const w=function(e){return _(this,e).has(e)};const v=function(e,t){var o=_(this,e),s=o.size;return o.set(e,t),this.size+=o.size==s?0:1,this};function y(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}y.prototype.clear=f,y.prototype.delete=b,y.prototype.get=k,y.prototype.has=w,y.prototype.set=v;const x=y},"./node_modules/lodash-es/_Stack.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o("./node_modules/lodash-es/_ListCache.js");const i=function(){this.__data__=new s.A,this.size=0};const n=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o};const r=function(e){return this.__data__.get(e)};const a=function(e){return this.__data__.has(e)};var c=o("./node_modules/lodash-es/_Map.js"),l=o("./node_modules/lodash-es/_MapCache.js");const d=function(e,t){var o=this.__data__;if(o instanceof s.A){var i=o.__data__;if(!c.A||i.length<199)return i.push([e,t]),this.size=++o.size,this;o=this.__data__=new l.A(i)}return o.set(e,t),this.size=o.size,this};function h(e){var t=this.__data__=new s.A(e);this.size=t.size}h.prototype.clear=i,h.prototype.delete=n,h.prototype.get=r,h.prototype.has=a,h.prototype.set=d;const u=h},"./node_modules/lodash-es/_Symbol.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=o("./node_modules/lodash-es/_root.js").A.Symbol},"./node_modules/lodash-es/_Uint8Array.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=o("./node_modules/lodash-es/_root.js").A.Uint8Array},"./node_modules/lodash-es/_arrayLikeKeys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>d});const s=function(e,t){for(var o=-1,s=Array(e);++o<e;)s[o]=t(o);return s};var i=o("./node_modules/lodash-es/isArguments.js"),n=o("./node_modules/lodash-es/isArray.js"),r=o("./node_modules/lodash-es/isBuffer.js"),a=o("./node_modules/lodash-es/_isIndex.js"),c=o("./node_modules/lodash-es/isTypedArray.js"),l=Object.prototype.hasOwnProperty;const d=function(e,t){var o=(0,n.A)(e),d=!o&&(0,i.A)(e),h=!o&&!d&&(0,r.A)(e),u=!o&&!d&&!h&&(0,c.A)(e),m=o||d||h||u,p=m?s(e.length,String):[],f=p.length;for(var g in e)!t&&!l.call(e,g)||m&&("length"==g||h&&("offset"==g||"parent"==g)||u&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,a.A)(g,f))||p.push(g);return p}},"./node_modules/lodash-es/_arrayPush.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){for(var o=-1,s=t.length,i=e.length;++o<s;)e[i+o]=t[o];return e}},"./node_modules/lodash-es/_assignValue.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/_baseAssignValue.js"),i=o("./node_modules/lodash-es/eq.js"),n=Object.prototype.hasOwnProperty;const r=function(e,t,o){var r=e[t];n.call(e,t)&&(0,i.A)(r,o)&&(void 0!==o||t in e)||(0,s.A)(e,t,o)}},"./node_modules/lodash-es/_baseAssignValue.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_defineProperty.js");const i=function(e,t,o){"__proto__"==t&&s.A?(0,s.A)(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}},"./node_modules/lodash-es/_baseClone.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>Q});var s=o("./node_modules/lodash-es/_Stack.js");const i=function(e,t){for(var o=-1,s=null==e?0:e.length;++o<s&&!1!==t(e[o],o,e););return e};var n=o("./node_modules/lodash-es/_assignValue.js"),r=o("./node_modules/lodash-es/_copyObject.js"),a=o("./node_modules/lodash-es/keys.js");const c=function(e,t){return e&&(0,r.A)(t,(0,a.A)(t),e)};var l=o("./node_modules/lodash-es/keysIn.js");const d=function(e,t){return e&&(0,r.A)(t,(0,l.A)(t),e)};var h=o("./node_modules/lodash-es/_cloneBuffer.js"),u=o("./node_modules/lodash-es/_copyArray.js"),m=o("./node_modules/lodash-es/_getSymbols.js");const p=function(e,t){return(0,r.A)(e,(0,m.A)(e),t)};var f=o("./node_modules/lodash-es/_arrayPush.js"),g=o("./node_modules/lodash-es/_getPrototype.js"),_=o("./node_modules/lodash-es/stubArray.js");const b=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,f.A)(t,(0,m.A)(e)),e=(0,g.A)(e);return t}:_.A;const k=function(e,t){return(0,r.A)(e,b(e),t)};var w=o("./node_modules/lodash-es/_getAllKeys.js"),v=o("./node_modules/lodash-es/_baseGetAllKeys.js");const y=function(e){return(0,v.A)(e,l.A,b)};var x=o("./node_modules/lodash-es/_getTag.js"),A=Object.prototype.hasOwnProperty;const C=function(e){var t=e.length,o=new e.constructor(t);return t&&"string"==typeof e[0]&&A.call(e,"index")&&(o.index=e.index,o.input=e.input),o};var T=o("./node_modules/lodash-es/_cloneArrayBuffer.js");const E=function(e,t){var o=t?(0,T.A)(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)};var P=/\w*$/;const S=function(e){var t=new e.constructor(e.source,P.exec(e));return t.lastIndex=e.lastIndex,t};var M=o("./node_modules/lodash-es/_Symbol.js"),O=M.A?M.A.prototype:void 0,V=O?O.valueOf:void 0;const R=function(e){return V?Object(V.call(e)):{}};var j=o("./node_modules/lodash-es/_cloneTypedArray.js");const I=function(e,t,o){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,T.A)(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return E(e,o);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,j.A)(e,o);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return S(e);case"[object Symbol]":return R(e)}};var B=o("./node_modules/lodash-es/_initCloneObject.js"),D=o("./node_modules/lodash-es/isArray.js"),N=o("./node_modules/lodash-es/isBuffer.js"),F=o("./node_modules/lodash-es/isObjectLike.js");const L=function(e){return(0,F.A)(e)&&"[object Map]"==(0,x.A)(e)};var z=o("./node_modules/lodash-es/_baseUnary.js"),H=o("./node_modules/lodash-es/_nodeUtil.js"),$=H.A&&H.A.isMap;const W=$?(0,z.A)($):L;var q=o("./node_modules/lodash-es/isObject.js");const U=function(e){return(0,F.A)(e)&&"[object Set]"==(0,x.A)(e)};var K=H.A&&H.A.isSet;const Y=K?(0,z.A)(K):U;var G="[object Arguments]",Z="[object Function]",J="[object Object]",X={};X[G]=X["[object Array]"]=X["[object ArrayBuffer]"]=X["[object DataView]"]=X["[object Boolean]"]=X["[object Date]"]=X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Map]"]=X["[object Number]"]=X[J]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object Symbol]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X["[object Error]"]=X[Z]=X["[object WeakMap]"]=!1;const Q=function e(t,o,r,m,f,g){var _,b=1&o,v=2&o,A=4&o;if(r&&(_=f?r(t,m,f,g):r(t)),void 0!==_)return _;if(!(0,q.A)(t))return t;var T=(0,D.A)(t);if(T){if(_=C(t),!b)return(0,u.A)(t,_)}else{var E=(0,x.A)(t),P=E==Z||"[object GeneratorFunction]"==E;if((0,N.A)(t))return(0,h.A)(t,b);if(E==J||E==G||P&&!f){if(_=v||P?{}:(0,B.A)(t),!b)return v?k(t,d(_,t)):p(t,c(_,t))}else{if(!X[E])return f?t:{};_=I(t,E,b)}}g||(g=new s.A);var S=g.get(t);if(S)return S;g.set(t,_),Y(t)?t.forEach((function(s){_.add(e(s,o,r,s,t,g))})):W(t)&&t.forEach((function(s,i){_.set(i,e(s,o,r,i,t,g))}));var M=A?v?y:w.A:v?l.A:a.A,O=T?void 0:M(t);return i(O||t,(function(s,i){O&&(s=t[i=s]),(0,n.A)(_,i,e(s,o,r,i,t,g))})),_}},"./node_modules/lodash-es/_baseFor.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return function(t,o,s){for(var i=-1,n=Object(t),r=s(t),a=r.length;a--;){var c=r[e?a:++i];if(!1===o(n[c],c,n))break}return t}}()},"./node_modules/lodash-es/_baseGet.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_castPath.js"),i=o("./node_modules/lodash-es/_toKey.js");const n=function(e,t){for(var o=0,n=(t=(0,s.A)(t,e)).length;null!=e&&o<n;)e=e[(0,i.A)(t[o++])];return o&&o==n?e:void 0}},"./node_modules/lodash-es/_baseGetAllKeys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_arrayPush.js"),i=o("./node_modules/lodash-es/isArray.js");const n=function(e,t,o){var n=t(e);return(0,i.A)(e)?n:(0,s.A)(n,o(e))}},"./node_modules/lodash-es/_baseGetTag.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o("./node_modules/lodash-es/_Symbol.js"),i=Object.prototype,n=i.hasOwnProperty,r=i.toString,a=s.A?s.A.toStringTag:void 0;const c=function(e){var t=n.call(e,a),o=e[a];try{e[a]=void 0;var s=!0}catch(e){}var i=r.call(e);return s&&(t?e[a]=o:delete e[a]),i};var l=Object.prototype.toString;const d=function(e){return l.call(e)};var h=s.A?s.A.toStringTag:void 0;const u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":h&&h in Object(e)?c(e):d(e)}},"./node_modules/lodash-es/_baseIsEqual.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>R});var s=o("./node_modules/lodash-es/_Stack.js"),i=o("./node_modules/lodash-es/_MapCache.js");const n=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const r=function(e){return this.__data__.has(e)};function a(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new i.A;++t<o;)this.add(e[t])}a.prototype.add=a.prototype.push=n,a.prototype.has=r;const c=a;const l=function(e,t){for(var o=-1,s=null==e?0:e.length;++o<s;)if(t(e[o],o,e))return!0;return!1};const d=function(e,t){return e.has(t)};const h=function(e,t,o,s,i,n){var r=1&o,a=e.length,h=t.length;if(a!=h&&!(r&&h>a))return!1;var u=n.get(e),m=n.get(t);if(u&&m)return u==t&&m==e;var p=-1,f=!0,g=2&o?new c:void 0;for(n.set(e,t),n.set(t,e);++p<a;){var _=e[p],b=t[p];if(s)var k=r?s(b,_,p,t,e,n):s(_,b,p,e,t,n);if(void 0!==k){if(k)continue;f=!1;break}if(g){if(!l(t,(function(e,t){if(!d(g,t)&&(_===e||i(_,e,o,s,n)))return g.push(t)}))){f=!1;break}}else if(_!==b&&!i(_,b,o,s,n)){f=!1;break}}return n.delete(e),n.delete(t),f};var u=o("./node_modules/lodash-es/_Symbol.js"),m=o("./node_modules/lodash-es/_Uint8Array.js"),p=o("./node_modules/lodash-es/eq.js");const f=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,s){o[++t]=[s,e]})),o};const g=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o};var _=u.A?u.A.prototype:void 0,b=_?_.valueOf:void 0;const k=function(e,t,o,s,i,n,r){switch(o){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!n(new m.A(e),new m.A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,p.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=f;case"[object Set]":var c=1&s;if(a||(a=g),e.size!=t.size&&!c)return!1;var l=r.get(e);if(l)return l==t;s|=2,r.set(e,t);var d=h(a(e),a(t),s,i,n,r);return r.delete(e),d;case"[object Symbol]":if(b)return b.call(e)==b.call(t)}return!1};var w=o("./node_modules/lodash-es/_getAllKeys.js"),v=Object.prototype.hasOwnProperty;const y=function(e,t,o,s,i,n){var r=1&o,a=(0,w.A)(e),c=a.length;if(c!=(0,w.A)(t).length&&!r)return!1;for(var l=c;l--;){var d=a[l];if(!(r?d in t:v.call(t,d)))return!1}var h=n.get(e),u=n.get(t);if(h&&u)return h==t&&u==e;var m=!0;n.set(e,t),n.set(t,e);for(var p=r;++l<c;){var f=e[d=a[l]],g=t[d];if(s)var _=r?s(g,f,d,t,e,n):s(f,g,d,e,t,n);if(!(void 0===_?f===g||i(f,g,o,s,n):_)){m=!1;break}p||(p="constructor"==d)}if(m&&!p){var b=e.constructor,k=t.constructor;b==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k||(m=!1)}return n.delete(e),n.delete(t),m};var x=o("./node_modules/lodash-es/_getTag.js"),A=o("./node_modules/lodash-es/isArray.js"),C=o("./node_modules/lodash-es/isBuffer.js"),T=o("./node_modules/lodash-es/isTypedArray.js"),E="[object Arguments]",P="[object Array]",S="[object Object]",M=Object.prototype.hasOwnProperty;const O=function(e,t,o,i,n,r){var a=(0,A.A)(e),c=(0,A.A)(t),l=a?P:(0,x.A)(e),d=c?P:(0,x.A)(t),u=(l=l==E?S:l)==S,m=(d=d==E?S:d)==S,p=l==d;if(p&&(0,C.A)(e)){if(!(0,C.A)(t))return!1;a=!0,u=!1}if(p&&!u)return r||(r=new s.A),a||(0,T.A)(e)?h(e,t,o,i,n,r):k(e,t,l,o,i,n,r);if(!(1&o)){var f=u&&M.call(e,"__wrapped__"),g=m&&M.call(t,"__wrapped__");if(f||g){var _=f?e.value():e,b=g?t.value():t;return r||(r=new s.A),n(_,b,o,i,r)}}return!!p&&(r||(r=new s.A),y(e,t,o,i,n,r))};var V=o("./node_modules/lodash-es/isObjectLike.js");const R=function e(t,o,s,i,n){return t===o||(null==t||null==o||!(0,V.A)(t)&&!(0,V.A)(o)?t!=t&&o!=o:O(t,o,s,i,e,n))}},"./node_modules/lodash-es/_baseUnary.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return function(t){return e(t)}}},"./node_modules/lodash-es/_castPath.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o("./node_modules/lodash-es/isArray.js"),i=o("./node_modules/lodash-es/_isKey.js"),n=o("./node_modules/lodash-es/_MapCache.js");function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var s=arguments,i=t?t.apply(this,s):s[0],n=o.cache;if(n.has(i))return n.get(i);var r=e.apply(this,s);return o.cache=n.set(i,r)||n,r};return o.cache=new(r.Cache||n.A),o}r.Cache=n.A;const a=r;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;const d=function(e){var t=a(e,(function(e){return 500===o.size&&o.clear(),e})),o=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,(function(e,o,s,i){t.push(s?i.replace(l,"$1"):o||e)})),t}));var h=o("./node_modules/lodash-es/toString.js");const u=function(e,t){return(0,s.A)(e)?e:(0,i.A)(e,t)?[e]:d((0,h.A)(e))}},"./node_modules/lodash-es/_cloneArrayBuffer.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_Uint8Array.js");const i=function(e){var t=new e.constructor(e.byteLength);return new s.A(t).set(new s.A(e)),t}},"./node_modules/lodash-es/_cloneBuffer.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var s=o("./node_modules/lodash-es/_root.js"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=i&&"object"==typeof module&&module&&!module.nodeType&&module,r=n&&n.exports===i?s.A.Buffer:void 0,a=r?r.allocUnsafe:void 0;const c=function(e,t){if(t)return e.slice();var o=e.length,s=a?a(o):new e.constructor(o);return e.copy(s),s}},"./node_modules/lodash-es/_cloneTypedArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_cloneArrayBuffer.js");const i=function(e,t){var o=t?(0,s.A)(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}},"./node_modules/lodash-es/_copyArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){var o=-1,s=e.length;for(t||(t=Array(s));++o<s;)t[o]=e[o];return t}},"./node_modules/lodash-es/_copyObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_assignValue.js"),i=o("./node_modules/lodash-es/_baseAssignValue.js");const n=function(e,t,o,n){var r=!o;o||(o={});for(var a=-1,c=t.length;++a<c;){var l=t[a],d=n?n(o[l],e[l],l,o,e):void 0;void 0===d&&(d=e[l]),r?(0,i.A)(o,l,d):(0,s.A)(o,l,d)}return o}},"./node_modules/lodash-es/_createAssigner.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>b});var s=o("./node_modules/lodash-es/identity.js");const i=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)};var n=Math.max;const r=function(e,t,o){return t=n(void 0===t?e.length-1:t,0),function(){for(var s=arguments,r=-1,a=n(s.length-t,0),c=Array(a);++r<a;)c[r]=s[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=s[r];return l[t]=o(c),i(e,this,l)}};const a=function(e){return function(){return e}};var c=o("./node_modules/lodash-es/_defineProperty.js");const l=c.A?function(e,t){return(0,c.A)(e,"toString",{configurable:!0,enumerable:!1,value:a(t),writable:!0})}:s.A;var d=Date.now;const h=function(e){var t=0,o=0;return function(){var s=d(),i=16-(s-o);if(o=s,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(l);const u=function(e,t){return h(r(e,t,s.A),e+"")};var m=o("./node_modules/lodash-es/eq.js"),p=o("./node_modules/lodash-es/isArrayLike.js"),f=o("./node_modules/lodash-es/_isIndex.js"),g=o("./node_modules/lodash-es/isObject.js");const _=function(e,t,o){if(!(0,g.A)(o))return!1;var s=typeof t;return!!("number"==s?(0,p.A)(o)&&(0,f.A)(t,o.length):"string"==s&&t in o)&&(0,m.A)(o[t],e)};const b=function(e){return u((function(t,o){var s=-1,i=o.length,n=i>1?o[i-1]:void 0,r=i>2?o[2]:void 0;for(n=e.length>3&&"function"==typeof n?(i--,n):void 0,r&&_(o[0],o[1],r)&&(n=i<3?void 0:n,i=1),t=Object(t);++s<i;){var a=o[s];a&&e(t,a,s,n)}return t}))}},"./node_modules/lodash-es/_defineProperty.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_getNative.js");const i=function(){try{var e=(0,s.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},"./node_modules/lodash-es/_freeGlobal.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s="object"==typeof global&&global&&global.Object===Object&&global},"./node_modules/lodash-es/_getAllKeys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/_baseGetAllKeys.js"),i=o("./node_modules/lodash-es/_getSymbols.js"),n=o("./node_modules/lodash-es/keys.js");const r=function(e){return(0,s.A)(e,n.A,i.A)}},"./node_modules/lodash-es/_getNative.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>b});var s=o("./node_modules/lodash-es/isFunction.js");const i=o("./node_modules/lodash-es/_root.js").A["__core-js_shared__"];var n,r=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";const a=function(e){return!!r&&r in e};var c=o("./node_modules/lodash-es/isObject.js"),l=o("./node_modules/lodash-es/_toSource.js"),d=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,m=h.toString,p=u.hasOwnProperty,f=RegExp("^"+m.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(e){return!(!(0,c.A)(e)||a(e))&&((0,s.A)(e)?f:d).test((0,l.A)(e))};const _=function(e,t){return null==e?void 0:e[t]};const b=function(e,t){var o=_(e,t);return g(o)?o:void 0}},"./node_modules/lodash-es/_getPrototype.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=(0,o("./node_modules/lodash-es/_overArg.js").A)(Object.getPrototypeOf,Object)},"./node_modules/lodash-es/_getSymbols.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});const s=function(e,t){for(var o=-1,s=null==e?0:e.length,i=0,n=[];++o<s;){var r=e[o];t(r,o,e)&&(n[i++]=r)}return n};var i=o("./node_modules/lodash-es/stubArray.js"),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;const a=r?function(e){return null==e?[]:(e=Object(e),s(r(e),(function(t){return n.call(e,t)})))}:i.A},"./node_modules/lodash-es/_getTag.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>x});var s=o("./node_modules/lodash-es/_getNative.js"),i=o("./node_modules/lodash-es/_root.js");const n=(0,s.A)(i.A,"DataView");var r=o("./node_modules/lodash-es/_Map.js");const a=(0,s.A)(i.A,"Promise");const c=(0,s.A)(i.A,"Set");const l=(0,s.A)(i.A,"WeakMap");var d=o("./node_modules/lodash-es/_baseGetTag.js"),h=o("./node_modules/lodash-es/_toSource.js"),u="[object Map]",m="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",_=(0,h.A)(n),b=(0,h.A)(r.A),k=(0,h.A)(a),w=(0,h.A)(c),v=(0,h.A)(l),y=d.A;(n&&y(new n(new ArrayBuffer(1)))!=g||r.A&&y(new r.A)!=u||a&&y(a.resolve())!=m||c&&y(new c)!=p||l&&y(new l)!=f)&&(y=function(e){var t=(0,d.A)(e),o="[object Object]"==t?e.constructor:void 0,s=o?(0,h.A)(o):"";if(s)switch(s){case _:return g;case b:return u;case k:return m;case w:return p;case v:return f}return t});const x=y},"./node_modules/lodash-es/_initCloneObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var s=o("./node_modules/lodash-es/isObject.js"),i=Object.create;const n=function(){function e(){}return function(t){if(!(0,s.A)(t))return{};if(i)return i(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();var r=o("./node_modules/lodash-es/_getPrototype.js"),a=o("./node_modules/lodash-es/_isPrototype.js");const c=function(e){return"function"!=typeof e.constructor||(0,a.A)(e)?{}:n((0,r.A)(e))}},"./node_modules/lodash-es/_isIndex.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=/^(?:0|[1-9]\d*)$/;const i=function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&s.test(e))&&e>-1&&e%1==0&&e<t}},"./node_modules/lodash-es/_isKey.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/lodash-es/isArray.js"),i=o("./node_modules/lodash-es/isSymbol.js"),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;const a=function(e,t){if((0,s.A)(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!(0,i.A)(e))||(r.test(e)||!n.test(e)||null!=t&&e in Object(t))}},"./node_modules/lodash-es/_isPrototype.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=Object.prototype;const i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||s)}},"./node_modules/lodash-es/_nodeUtil.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/lodash-es/_freeGlobal.js"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=i&&"object"==typeof module&&module&&!module.nodeType&&module,r=n&&n.exports===i&&s.A.process;const a=function(){try{var e=n&&n.require&&n.require("util").types;return e||r&&r.binding&&r.binding("util")}catch(e){}}()},"./node_modules/lodash-es/_overArg.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){return function(o){return e(t(o))}}},"./node_modules/lodash-es/_root.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_freeGlobal.js"),i="object"==typeof self&&self&&self.Object===Object&&self;const n=s.A||i||Function("return this")()},"./node_modules/lodash-es/_toKey.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/isSymbol.js");const i=function(e){if("string"==typeof e||(0,s.A)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},"./node_modules/lodash-es/_toSource.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=Function.prototype.toString;const i=function(e){if(null!=e){try{return s.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},"./node_modules/lodash-es/assignIn.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/_copyObject.js"),i=o("./node_modules/lodash-es/_createAssigner.js"),n=o("./node_modules/lodash-es/keysIn.js");const r=(0,i.A)((function(e,t){(0,s.A)(t,(0,n.A)(t),e)}))},"./node_modules/lodash-es/cloneDeep.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_baseClone.js");const i=function(e){return(0,s.A)(e,5)}},"./node_modules/lodash-es/cloneDeepWith.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_baseClone.js");const i=function(e,t){return t="function"==typeof t?t:void 0,(0,s.A)(e,5,t)}},"./node_modules/lodash-es/debounce.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>b});var s=o("./node_modules/lodash-es/isObject.js"),i=o("./node_modules/lodash-es/_root.js");const n=function(){return i.A.Date.now()};var r=/\s/;const a=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var c=/^\s+/;const l=function(e){return e?e.slice(0,a(e)+1).replace(c,""):e};var d=o("./node_modules/lodash-es/isSymbol.js"),h=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,m=/^0o[0-7]+$/i,p=parseInt;const f=function(e){if("number"==typeof e)return e;if((0,d.A)(e))return NaN;if((0,s.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=l(e);var o=u.test(e);return o||m.test(e)?p(e.slice(2),o?2:8):h.test(e)?NaN:+e};var g=Math.max,_=Math.min;const b=function(e,t,o){var i,r,a,c,l,d,h=0,u=!1,m=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var o=i,s=r;return i=r=void 0,h=t,c=e.apply(s,o)}function k(e){var o=e-d;return void 0===d||o>=t||o<0||m&&e-h>=a}function w(){var e=n();if(k(e))return v(e);l=setTimeout(w,function(e){var o=t-(e-d);return m?_(o,a-(e-h)):o}(e))}function v(e){return l=void 0,p&&i?b(e):(i=r=void 0,c)}function y(){var e=n(),o=k(e);if(i=arguments,r=this,d=e,o){if(void 0===l)return function(e){return h=e,l=setTimeout(w,t),u?b(e):c}(d);if(m)return clearTimeout(l),l=setTimeout(w,t),b(d)}return void 0===l&&(l=setTimeout(w,t)),c}return t=f(t)||0,(0,s.A)(o)&&(u=!!o.leading,a=(m="maxWait"in o)?g(f(o.maxWait)||0,t):a,p="trailing"in o?!!o.trailing:p),y.cancel=function(){void 0!==l&&clearTimeout(l),h=0,i=d=r=l=void 0},y.flush=function(){return void 0===l?c:v(n())},y}},"./node_modules/lodash-es/eq.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){return e===t||e!=e&&t!=t}},"./node_modules/lodash-es/escapeRegExp.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/toString.js"),i=/[\\^$.*+?()[\]{}|]/g,n=RegExp(i.source);const r=function(e){return(e=(0,s.A)(e))&&n.test(e)?e.replace(i,"\\$&"):e}},"./node_modules/lodash-es/get.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_baseGet.js");const i=function(e,t,o){var i=null==e?void 0:(0,s.A)(e,t);return void 0===i?o:i}},"./node_modules/lodash-es/identity.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return e}},"./node_modules/lodash-es/isArguments.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isObjectLike.js");const n=function(e){return(0,i.A)(e)&&"[object Arguments]"==(0,s.A)(e)};var r=Object.prototype,a=r.hasOwnProperty,c=r.propertyIsEnumerable;const l=n(function(){return arguments}())?n:function(e){return(0,i.A)(e)&&a.call(e,"callee")&&!c.call(e,"callee")}},"./node_modules/lodash-es/isArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=Array.isArray},"./node_modules/lodash-es/isArrayLike.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/isFunction.js"),i=o("./node_modules/lodash-es/isLength.js");const n=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,s.A)(e)}},"./node_modules/lodash-es/isBuffer.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var s=o("./node_modules/lodash-es/_root.js");const i=function(){return!1};var n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=r&&r.exports===n?s.A.Buffer:void 0;const c=(a?a.isBuffer:void 0)||i},"./node_modules/lodash-es/isElement.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/isObjectLike.js"),i=o("./node_modules/lodash-es/isPlainObject.js");const n=function(e){return(0,s.A)(e)&&1===e.nodeType&&!(0,i.A)(e)}},"./node_modules/lodash-es/isFunction.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isObject.js");const n=function(e){if(!(0,i.A)(e))return!1;var t=(0,s.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},"./node_modules/lodash-es/isLength.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},"./node_modules/lodash-es/isObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"./node_modules/lodash-es/isObjectLike.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return null!=e&&"object"==typeof e}},"./node_modules/lodash-es/isPlainObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/_getPrototype.js"),n=o("./node_modules/lodash-es/isObjectLike.js"),r=Function.prototype,a=Object.prototype,c=r.toString,l=a.hasOwnProperty,d=c.call(Object);const h=function(e){if(!(0,n.A)(e)||"[object Object]"!=(0,s.A)(e))return!1;var t=(0,i.A)(e);if(null===t)return!0;var o=l.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&c.call(o)==d}},"./node_modules/lodash-es/isSymbol.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isObjectLike.js");const n=function(e){return"symbol"==typeof e||(0,i.A)(e)&&"[object Symbol]"==(0,s.A)(e)}},"./node_modules/lodash-es/isTypedArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isLength.js"),n=o("./node_modules/lodash-es/isObjectLike.js"),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1;const a=function(e){return(0,n.A)(e)&&(0,i.A)(e.length)&&!!r[(0,s.A)(e)]};var c=o("./node_modules/lodash-es/_baseUnary.js"),l=o("./node_modules/lodash-es/_nodeUtil.js"),d=l.A&&l.A.isTypedArray;const h=d?(0,c.A)(d):a},"./node_modules/lodash-es/keys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var s=o("./node_modules/lodash-es/_arrayLikeKeys.js"),i=o("./node_modules/lodash-es/_isPrototype.js");const n=(0,o("./node_modules/lodash-es/_overArg.js").A)(Object.keys,Object);var r=Object.prototype.hasOwnProperty;const a=function(e){if(!(0,i.A)(e))return n(e);var t=[];for(var o in Object(e))r.call(e,o)&&"constructor"!=o&&t.push(o);return t};var c=o("./node_modules/lodash-es/isArrayLike.js");const l=function(e){return(0,c.A)(e)?(0,s.A)(e):a(e)}},"./node_modules/lodash-es/keysIn.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var s=o("./node_modules/lodash-es/_arrayLikeKeys.js"),i=o("./node_modules/lodash-es/isObject.js"),n=o("./node_modules/lodash-es/_isPrototype.js");const r=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t};var a=Object.prototype.hasOwnProperty;const c=function(e){if(!(0,i.A)(e))return r(e);var t=(0,n.A)(e),o=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&o.push(s);return o};var l=o("./node_modules/lodash-es/isArrayLike.js");const d=function(e){return(0,l.A)(e)?(0,s.A)(e,!0):c(e)}},"./node_modules/lodash-es/merge.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>P});var s=o("./node_modules/lodash-es/_Stack.js"),i=o("./node_modules/lodash-es/_baseAssignValue.js"),n=o("./node_modules/lodash-es/eq.js");const r=function(e,t,o){(void 0!==o&&!(0,n.A)(e[t],o)||void 0===o&&!(t in e))&&(0,i.A)(e,t,o)};var a=o("./node_modules/lodash-es/_baseFor.js"),c=o("./node_modules/lodash-es/_cloneBuffer.js"),l=o("./node_modules/lodash-es/_cloneTypedArray.js"),d=o("./node_modules/lodash-es/_copyArray.js"),h=o("./node_modules/lodash-es/_initCloneObject.js"),u=o("./node_modules/lodash-es/isArguments.js"),m=o("./node_modules/lodash-es/isArray.js"),p=o("./node_modules/lodash-es/isArrayLike.js"),f=o("./node_modules/lodash-es/isObjectLike.js");const g=function(e){return(0,f.A)(e)&&(0,p.A)(e)};var _=o("./node_modules/lodash-es/isBuffer.js"),b=o("./node_modules/lodash-es/isFunction.js"),k=o("./node_modules/lodash-es/isObject.js"),w=o("./node_modules/lodash-es/isPlainObject.js"),v=o("./node_modules/lodash-es/isTypedArray.js");const y=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var x=o("./node_modules/lodash-es/_copyObject.js"),A=o("./node_modules/lodash-es/keysIn.js");const C=function(e){return(0,x.A)(e,(0,A.A)(e))};const T=function(e,t,o,s,i,n,a){var p=y(e,o),f=y(t,o),x=a.get(f);if(x)r(e,o,x);else{var A=n?n(p,f,o+"",e,t,a):void 0,T=void 0===A;if(T){var E=(0,m.A)(f),P=!E&&(0,_.A)(f),S=!E&&!P&&(0,v.A)(f);A=f,E||P||S?(0,m.A)(p)?A=p:g(p)?A=(0,d.A)(p):P?(T=!1,A=(0,c.A)(f,!0)):S?(T=!1,A=(0,l.A)(f,!0)):A=[]:(0,w.A)(f)||(0,u.A)(f)?(A=p,(0,u.A)(p)?A=C(p):(0,k.A)(p)&&!(0,b.A)(p)||(A=(0,h.A)(f))):T=!1}T&&(a.set(f,A),i(A,f,s,n,a),a.delete(f)),r(e,o,A)}};const E=function e(t,o,i,n,c){t!==o&&(0,a.A)(o,(function(a,l){if(c||(c=new s.A),(0,k.A)(a))T(t,o,l,i,e,n,c);else{var d=n?n(y(t,l),a,l+"",t,o,c):void 0;void 0===d&&(d=a),r(t,l,d)}}),A.A)};const P=(0,o("./node_modules/lodash-es/_createAssigner.js").A)((function(e,t,o){E(e,t,o)}))},"./node_modules/lodash-es/stubArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(){return[]}},"./node_modules/lodash-es/throttle.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/debounce.js"),i=o("./node_modules/lodash-es/isObject.js");const n=function(e,t,o){var n=!0,r=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,i.A)(o)&&(n="leading"in o?!!o.leading:n,r="trailing"in o?!!o.trailing:r),(0,s.A)(e,t,{leading:n,maxWait:t,trailing:r})}},"./node_modules/lodash-es/toString.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var s=o("./node_modules/lodash-es/_Symbol.js");const i=function(e,t){for(var o=-1,s=null==e?0:e.length,i=Array(s);++o<s;)i[o]=t(e[o],o,e);return i};var n=o("./node_modules/lodash-es/isArray.js"),r=o("./node_modules/lodash-es/isSymbol.js"),a=s.A?s.A.prototype:void 0,c=a?a.toString:void 0;const l=function e(t){if("string"==typeof t)return t;if((0,n.A)(t))return i(t,e)+"";if((0,r.A)(t))return c?c.call(t):"";var o=t+"";return"0"==o&&1/t==-1/0?"-0":o};const d=function(e){return null==e?"":l(e)}}},t={};function o(s){var i=t[s];if(void 0!==i)return i.exports;var n=t[s]={id:s,exports:{}};return e[s](n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var s=o("?7cdd");(window.CKEditor5=window.CKEditor5||{}).dll=s})(),function(e){e.CKEditor5=e.CKEditor5||{};const t=["utils","core","engine","ui","clipboard","enter","paragraph","select-all","typing","undo","upload","widget","watchdog"];for(const o of t){const t=o.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()));e.CKEditor5[t]=e.CKEditor5.dll(`./src/${o}.js`)}}(window); \ No newline at end of file + */(()=>{var e={"./node_modules/color-convert/conversions.js":(e,t,o)=>{const s=o("./node_modules/color-name/index.js"),i={};for(const e of Object.keys(s))i[s[e]]=e;const n={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=n;for(const e of Object.keys(n)){if(!("channels"in n[e]))throw new Error("missing channels property: "+e);if(!("labels"in n[e]))throw new Error("missing channel labels property: "+e);if(n[e].labels.length!==n[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:o}=n[e];delete n[e].channels,delete n[e].labels,Object.defineProperty(n[e],"channels",{value:t}),Object.defineProperty(n[e],"labels",{value:o})}n.rgb.hsl=function(e){const t=e[0]/255,o=e[1]/255,s=e[2]/255,i=Math.min(t,o,s),n=Math.max(t,o,s),r=n-i;let a,c;n===i?a=0:t===n?a=(o-s)/r:o===n?a=2+(s-t)/r:s===n&&(a=4+(t-o)/r),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+n)/2;return c=n===i?0:l<=.5?r/(n+i):r/(2-n-i),[a,100*c,100*l]},n.rgb.hsv=function(e){let t,o,s,i,n;const r=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(r,a,c),d=l-Math.min(r,a,c),h=function(e){return(l-e)/6/d+.5};return 0===d?(i=0,n=0):(n=d/l,t=h(r),o=h(a),s=h(c),r===l?i=s-o:a===l?i=1/3+t-s:c===l&&(i=2/3+o-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*n,100*l]},n.rgb.hwb=function(e){const t=e[0],o=e[1];let s=e[2];const i=n.rgb.hsl(e)[0],r=1/255*Math.min(t,Math.min(o,s));return s=1-1/255*Math.max(t,Math.max(o,s)),[i,100*r,100*s]},n.rgb.cmyk=function(e){const t=e[0]/255,o=e[1]/255,s=e[2]/255,i=Math.min(1-t,1-o,1-s);return[100*((1-t-i)/(1-i)||0),100*((1-o-i)/(1-i)||0),100*((1-s-i)/(1-i)||0),100*i]},n.rgb.keyword=function(e){const t=i[e];if(t)return t;let o,n=1/0;for(const t of Object.keys(s)){const i=s[t],c=(a=i,((r=e)[0]-a[0])**2+(r[1]-a[1])**2+(r[2]-a[2])**2);c<n&&(n=c,o=t)}var r,a;return o},n.keyword.rgb=function(e){return s[e]},n.rgb.xyz=function(e){let t=e[0]/255,o=e[1]/255,s=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;return[100*(.4124*t+.3576*o+.1805*s),100*(.2126*t+.7152*o+.0722*s),100*(.0193*t+.1192*o+.9505*s)]},n.rgb.lab=function(e){const t=n.rgb.xyz(e);let o=t[0],s=t[1],i=t[2];o/=95.047,s/=100,i/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*s-16,500*(o-s),200*(s-i)]},n.hsl.rgb=function(e){const t=e[0]/360,o=e[1]/100,s=e[2]/100;let i,n,r;if(0===o)return r=255*s,[r,r,r];i=s<.5?s*(1+o):s+o-s*o;const a=2*s-i,c=[0,0,0];for(let e=0;e<3;e++)n=t+1/3*-(e-1),n<0&&n++,n>1&&n--,r=6*n<1?a+6*(i-a)*n:2*n<1?i:3*n<2?a+(i-a)*(2/3-n)*6:a,c[e]=255*r;return c},n.hsl.hsv=function(e){const t=e[0];let o=e[1]/100,s=e[2]/100,i=o;const n=Math.max(s,.01);s*=2,o*=s<=1?s:2-s,i*=n<=1?n:2-n;return[t,100*(0===s?2*i/(n+i):2*o/(s+o)),100*((s+o)/2)]},n.hsv.rgb=function(e){const t=e[0]/60,o=e[1]/100;let s=e[2]/100;const i=Math.floor(t)%6,n=t-Math.floor(t),r=255*s*(1-o),a=255*s*(1-o*n),c=255*s*(1-o*(1-n));switch(s*=255,i){case 0:return[s,c,r];case 1:return[a,s,r];case 2:return[r,s,c];case 3:return[r,a,s];case 4:return[c,r,s];case 5:return[s,r,a]}},n.hsv.hsl=function(e){const t=e[0],o=e[1]/100,s=e[2]/100,i=Math.max(s,.01);let n,r;r=(2-o)*s;const a=(2-o)*i;return n=o*i,n/=a<=1?a:2-a,n=n||0,r/=2,[t,100*n,100*r]},n.hwb.rgb=function(e){const t=e[0]/360;let o=e[1]/100,s=e[2]/100;const i=o+s;let n;i>1&&(o/=i,s/=i);const r=Math.floor(6*t),a=1-s;n=6*t-r,1&r&&(n=1-n);const c=o+n*(a-o);let l,d,h;switch(r){default:case 6:case 0:l=a,d=c,h=o;break;case 1:l=c,d=a,h=o;break;case 2:l=o,d=a,h=c;break;case 3:l=o,d=c,h=a;break;case 4:l=c,d=o,h=a;break;case 5:l=a,d=o,h=c}return[255*l,255*d,255*h]},n.cmyk.rgb=function(e){const t=e[0]/100,o=e[1]/100,s=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i)),255*(1-Math.min(1,s*(1-i)+i))]},n.xyz.rgb=function(e){const t=e[0]/100,o=e[1]/100,s=e[2]/100;let i,n,r;return i=3.2406*t+-1.5372*o+-.4986*s,n=-.9689*t+1.8758*o+.0415*s,r=.0557*t+-.204*o+1.057*s,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,i=Math.min(Math.max(0,i),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*i,255*n,255*r]},n.xyz.lab=function(e){let t=e[0],o=e[1],s=e[2];t/=95.047,o/=100,s/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*o-16,500*(t-o),200*(o-s)]},n.lab.xyz=function(e){let t,o,s;o=(e[0]+16)/116,t=e[1]/500+o,s=o-e[2]/200;const i=o**3,n=t**3,r=s**3;return o=i>.008856?i:(o-16/116)/7.787,t=n>.008856?n:(t-16/116)/7.787,s=r>.008856?r:(s-16/116)/7.787,t*=95.047,o*=100,s*=108.883,[t,o,s]},n.lab.lch=function(e){const t=e[0],o=e[1],s=e[2];let i;i=360*Math.atan2(s,o)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(o*o+s*s),i]},n.lch.lab=function(e){const t=e[0],o=e[1],s=e[2]/360*2*Math.PI;return[t,o*Math.cos(s),o*Math.sin(s)]},n.rgb.ansi16=function(e,t=null){const[o,s,i]=e;let r=null===t?n.rgb.hsv(e)[2]:t;if(r=Math.round(r/50),0===r)return 30;let a=30+(Math.round(i/255)<<2|Math.round(s/255)<<1|Math.round(o/255));return 2===r&&(a+=60),a},n.hsv.ansi16=function(e){return n.rgb.ansi16(n.hsv.rgb(e),e[2])},n.rgb.ansi256=function(e){const t=e[0],o=e[1],s=e[2];if(t===o&&o===s)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(o/255*5)+Math.round(s/255*5)},n.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const o=.5*(1+~~(e>50));return[(1&t)*o*255,(t>>1&1)*o*255,(t>>2&1)*o*255]},n.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},n.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},n.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let o=t[0];3===t[0].length&&(o=o.split("").map((e=>e+e)).join(""));const s=parseInt(o,16);return[s>>16&255,s>>8&255,255&s]},n.rgb.hcg=function(e){const t=e[0]/255,o=e[1]/255,s=e[2]/255,i=Math.max(Math.max(t,o),s),n=Math.min(Math.min(t,o),s),r=i-n;let a,c;return a=r<1?n/(1-r):0,c=r<=0?0:i===t?(o-s)/r%6:i===o?2+(s-t)/r:4+(t-o)/r,c/=6,c%=1,[360*c,100*r,100*a]},n.hsl.hcg=function(e){const t=e[1]/100,o=e[2]/100,s=o<.5?2*t*o:2*t*(1-o);let i=0;return s<1&&(i=(o-.5*s)/(1-s)),[e[0],100*s,100*i]},n.hsv.hcg=function(e){const t=e[1]/100,o=e[2]/100,s=t*o;let i=0;return s<1&&(i=(o-s)/(1-s)),[e[0],100*s,100*i]},n.hcg.rgb=function(e){const t=e[0]/360,o=e[1]/100,s=e[2]/100;if(0===o)return[255*s,255*s,255*s];const i=[0,0,0],n=t%1*6,r=n%1,a=1-r;let c=0;switch(Math.floor(n)){case 0:i[0]=1,i[1]=r,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=r;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=r,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-o)*s,[255*(o*i[0]+c),255*(o*i[1]+c),255*(o*i[2]+c)]},n.hcg.hsv=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);let s=0;return o>0&&(s=t/o),[e[0],100*s,100*o]},n.hcg.hsl=function(e){const t=e[1]/100,o=e[2]/100*(1-t)+.5*t;let s=0;return o>0&&o<.5?s=t/(2*o):o>=.5&&o<1&&(s=t/(2*(1-o))),[e[0],100*s,100*o]},n.hcg.hwb=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);return[e[0],100*(o-t),100*(1-o)]},n.hwb.hcg=function(e){const t=e[1]/100,o=1-e[2]/100,s=o-t;let i=0;return s<1&&(i=(o-s)/(1-s)),[e[0],100*s,100*i]},n.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},n.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},n.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},n.gray.hsl=function(e){return[0,0,e[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(e){return[0,100,e[0]]},n.gray.cmyk=function(e){return[0,0,0,e[0]]},n.gray.lab=function(e){return[e[0],0,0]},n.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),o=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(o.length)+o},n.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},"./node_modules/color-convert/index.js":(e,t,o)=>{const s=o("./node_modules/color-convert/conversions.js"),i=o("./node_modules/color-convert/route.js"),n={};Object.keys(s).forEach((e=>{n[e]={},Object.defineProperty(n[e],"channels",{value:s[e].channels}),Object.defineProperty(n[e],"labels",{value:s[e].labels});const t=i(e);Object.keys(t).forEach((o=>{const s=t[o];n[e][o]=function(e){const t=function(...t){const o=t[0];if(null==o)return o;o.length>1&&(t=o);const s=e(t);if("object"==typeof s)for(let e=s.length,t=0;t<e;t++)s[t]=Math.round(s[t]);return s};return"conversion"in e&&(t.conversion=e.conversion),t}(s),n[e][o].raw=function(e){const t=function(...t){const o=t[0];return null==o?o:(o.length>1&&(t=o),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(s)}))})),e.exports=n},"./node_modules/color-convert/route.js":(e,t,o)=>{const s=o("./node_modules/color-convert/conversions.js");function i(e){const t=function(){const e={},t=Object.keys(s);for(let o=t.length,s=0;s<o;s++)e[t[s]]={distance:-1,parent:null};return e}(),o=[e];for(t[e].distance=0;o.length;){const e=o.pop(),i=Object.keys(s[e]);for(let s=i.length,n=0;n<s;n++){const s=i[n],r=t[s];-1===r.distance&&(r.distance=t[e].distance+1,r.parent=e,o.unshift(s))}}return t}function n(e,t){return function(o){return t(e(o))}}function r(e,t){const o=[t[e].parent,e];let i=s[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)o.unshift(t[r].parent),i=n(s[t[r].parent][r],i),r=t[r].parent;return i.conversion=o,i}e.exports=function(e){const t=i(e),o={},s=Object.keys(t);for(let e=s.length,i=0;i<e;i++){const e=s[i];null!==t[e].parent&&(o[e]=r(e,t))}return o}},"./node_modules/color-name/index.js":e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-clipboard/theme/clipboard.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/placeholder.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}@media (forced-colors:active){.ck .ck-placeholder,.ck.ck-placeholder{forced-color-adjust:preserve-parent-color}}.ck .ck-placeholder:before,.ck.ck-placeholder:before{cursor:text}@media (forced-colors:none){.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text)}}@media (forced-colors:active){.ck .ck-placeholder:before,.ck.ck-placeholder:before{font-style:italic;margin-left:1px}}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/renderer.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}.ck.ck-aria-live-region-list{list-style-type:none}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/autocomplete/autocomplete.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-panel)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);border-radius:0;max-height:200px;min-width:auto;overflow-y:auto}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{box-shadow:var(--ck-drop-shadow),0 0}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/button.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.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,a.ck.ck-button{-webkit-appearance:none;background:var(--ck-color-button-default-background);border:1px solid transparent;border-radius:0;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.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)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.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)}@media (prefers-reduced-motion:reduce){.ck.ck-button,a.ck.ck-button{transition:none}}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.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{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit;opacity:.5}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.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,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-medium)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background);color:var(--ck-color-button-on-color)}.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)}.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-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background);color:var(--ck-color-button-action-text)}.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)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/listitembutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-list-item-button{border-radius:0;min-height:unset;width:100%}[dir=ltr] .ck.ck-list-item-button{text-align:left}[dir=rtl] .ck.ck-list-item-button{text-align:right}[dir=ltr] .ck.ck-list-item-button.ck-list-item-button_toggleable{padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-list-item-button.ck-list-item-button_toggleable{padding-right:var(--ck-spacing-small)}.ck.ck-list-item-button .ck-list-item-button__check-holder{display:inline-flex;height:.9em;width:.9em}[dir=ltr] .ck.ck-list-item-button .ck-list-item-button__check-holder{margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-list-item-button .ck-list-item-button__check-holder{margin-left:var(--ck-spacing-small)}.ck.ck-list-item-button .ck-list-item-button__check-icon{height:100%}.ck.ck-button.ck-list-item-button{padding:var(--ck-spacing-tiny) calc(var(--ck-spacing-standard)*2)}.ck.ck-button.ck-list-item-button,.ck.ck-button.ck-list-item-button.ck-on{background:var(--ck-color-list-background);color:var(--ck-color-text)}[dir=ltr] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder){padding-right:var(--ck-spacing-small)}.ck.ck-button.ck-list-item-button.ck-button.ck-on:hover,.ck.ck-button.ck-list-item-button.ck-on:hover,.ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable),.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-button.ck-list-item-button.ck-button.ck-on:hover:not(.ck-disabled),.ck.ck-button.ck-list-item-button.ck-on:hover:not(.ck-disabled),.ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable):not(.ck-disabled),.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled):not(.ck-disabled){color:var(--ck-color-text)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/switchbutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".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:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;border-radius:0;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.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)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);border-radius:0;height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.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(var(--ck-border-radius)*.5)}@media (prefers-reduced-motion:reduce){.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{transition:none}}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.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:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/collapsible/collapsible.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorgrid/colorgrid.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{transition:box-shadow .2s ease}@media (forced-colors:none){.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}}@media (forced-colors:active){.ck.ck-color-grid__tile{height:unset;min-height:unset;min-width:unset;padding:0 var(--ck-spacing-small);width:unset}.ck.ck-color-grid__tile .ck-button__label{display:inline-block}}@media (prefers-reduced-motion:reduce){.ck.ck-color-grid__tile{transition:none}}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorpicker/colorpicker.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorselector/colorselector.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialog.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-dialog-overlay{bottom:0;left:0;overscroll-behavior:none;position:fixed;right:0;top:0;user-select:none}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent{animation:none;background:none;pointer-events:none}.ck.ck-dialog{overscroll-behavior:none;position:absolute;width:fit-content}.ck.ck-dialog .ck.ck-form__header{flex-shrink:0}.ck.ck-dialog:not(.ck-dialog_modal) .ck.ck-form__header .ck-form__header__label{cursor:grab}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent .ck.ck-dialog{pointer-events:all}:root{--ck-dialog-overlay-background-color:rgba(0,0,0,.5);--ck-dialog-drop-shadow:0px 0px 6px 2px rgba(0,0,0,.15);--ck-dialog-max-width:100vw;--ck-dialog-max-height:90vh;--ck-color-dialog-background:var(--ck-color-base-background);--ck-color-dialog-form-header-border:var(--ck-color-base-border)}.ck.ck-dialog-overlay{animation:ck-dialog-fade-in .3s;background:var(--ck-dialog-overlay-background-color);z-index:var(--ck-z-dialog)}.ck.ck-dialog{border-radius:0;--ck-drop-shadow:var(--ck-dialog-drop-shadow);background:var(--ck-color-dialog-background);border:1px solid var(--ck-color-base-border);max-height:var(--ck-dialog-max-height);max-width:var(--ck-dialog-max-width);overscroll-behavior:contain}.ck-rounded-corners .ck.ck-dialog,.ck.ck-dialog.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dialog{box-shadow:var(--ck-drop-shadow),0 0}.ck.ck-dialog .ck.ck-form__header{border-bottom:1px solid var(--ck-color-dialog-form-header-border)}.ck-dialog-scroll-locked{overflow:hidden}@keyframes ck-dialog-fade-in{0%{background:transparent}to{background:var(--ck-dialog-overlay-background-color)}}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialogactions.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-dialog .ck.ck-dialog__actions{display:flex;justify-content:flex-end;padding:var(--ck-spacing-large)}.ck.ck-dialog .ck.ck-dialog__actions>*+*{margin-left:var(--ck-spacing-large)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/dropdown.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-dropdown-max-width:75vw}.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-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.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}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-panel) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.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-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);border-radius:0;bottom:0;min-width:100%}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{box-shadow:var(--ck-drop-shadow),0 0}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/listdropdown.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".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-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-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}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenu.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-dropdown-menu-list__nested-menu{display:block}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenubutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button{border-radius:0;padding:var(--ck-spacing-tiny) calc(var(--ck-spacing-standard)*2);width:100%}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus{border-color:transparent;box-shadow:none}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus:not(.ck-on){background:var(--ck-color-button-default-hover-background)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-button__label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled>.ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-icon-spacing:not(:has(.ck-button__icon))>.ck-button__label{margin-left:calc(var(--ck-icon-size) - var(--ck-spacing-small))}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{margin-right:calc(var(--ck-spacing-small)*-1);transform:rotate(-90deg)}[dir=rtl] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{margin-left:calc(var(--ck-spacing-small)*-1);transform:rotate(90deg)}.ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled>.ck-dropdown-menu-list__nested-menu__button__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=ltr] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button>.ck-dropdown-menu-list__nested-menu__button__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitem.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-dropdown-menu-menu-item-min-width:18em}.ck.ck-dropdown-menu-list__nested-menu__item{min-width:var(--ck-dropdown-menu-menu-item-min-width)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitembutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck-button.ck-dropdown-menu-list__nested-menu__item__button{border-radius:0}.ck-button.ck-dropdown-menu-list__nested-menu__item__button>.ck-spinner-container,.ck-button.ck-dropdown-menu-list__nested-menu__item__button>.ck-spinner-container .ck-spinner{--ck-toolbar-spinner-size:20px}.ck-button.ck-dropdown-menu-list__nested-menu__item__button>.ck-spinner-container{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}.ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus{border-color:transparent;box-shadow:none}.ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus:not(.ck-on){background:var(--ck-color-button-default-hover-background)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenupanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel{max-height:314px;overflow-y:auto;position:absolute;z-index:calc(var(--ck-z-panel) + 1)}:root{--ck-dropdown-menu-menu-panel-max-width:75vw}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;height:fit-content;max-width:var(--ck-dropdown-menu-menu-panel-max-width)}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel:after,.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel:before{display:none}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_es,.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_se{border-top-left-radius:0}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_sw,.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ws{border-top-right-radius:0}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_en,.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ne{border-bottom-left-radius:0}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_nw,.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_wn{border-bottom-right-radius:0}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel:focus{outline:none}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/splitbutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}',""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/toolbardropdown.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.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}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/accessibilityhelp.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-accessibility-help-dialog-max-width:600px;--ck-accessibility-help-dialog-max-height:400px;--ck-accessibility-help-dialog-border-color:#ccced1;--ck-accessibility-help-dialog-code-background-color:#ededed;--ck-accessibility-help-dialog-kbd-shadow-color:#9c9c9c}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{border:1px solid transparent;max-height:var(--ck-accessibility-help-dialog-max-height);max-width:var(--ck-accessibility-help-dialog-max-width);overflow:auto;padding:var(--ck-spacing-large);user-select:text}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content *{white-space:normal}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content .ck-label{display:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3{font-size:1.2em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4{font-size:1em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content p,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content table{margin:1em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl{border-bottom:none;border-top:1px solid var(--ck-accessibility-help-dialog-border-color);display:grid;grid-template-columns:2fr 1fr}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{border-bottom:1px solid var(--ck-accessibility-help-dialog-border-color);padding:.4em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{grid-column-start:1}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd{grid-column-start:2;text-align:right}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{background:var(--ck-accessibility-help-dialog-code-background-color);border-radius:2px;display:inline-block;font-size:.9em;line-height:1;padding:.4em;text-align:center;vertical-align:middle}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code{font-family:monospace}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{box-shadow:0 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);margin:0 1px;min-width:1.8em}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd+kbd{margin-left:2px}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/editorui.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.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.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.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-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/formheader/formheader.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:44px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}[dir=ltr] .ck.ck-form__header>.ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header>.ck-icon{margin-left:var(--ck-spacing-medium)}.ck.ck-form__header .ck-form__header__label{--ck-font-size-base:15px;font-weight:700}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/icon/icon.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal));--ck-icon-font-size:.8333350694em}.ck.ck-icon{font-size:var(--ck-icon-font-size);height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/input/input.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);border-radius:0;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}@media (prefers-reduced-motion:reduce){.ck.ck-input{transition:none}}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}@media (prefers-reduced-motion:reduce){.ck.ck-input.ck-error{animation:none}}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/label/label.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;top:0;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 0}@media (prefers-reduced-motion:reduce){.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transition:none}}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/list/list.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.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{background:var(--ck-color-list-background);border-radius:0;list-style-type:none;padding:var(--ck-spacing-small) 0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list__item{cursor:default;min-width:15em}.ck.ck-list__item>.ck-button:not(.ck-list-item-button){border-radius:0;min-height:unset;padding:var(--ck-spacing-tiny) calc(var(--ck-spacing-standard)*2);width:100%}[dir=ltr] .ck.ck-list__item>.ck-button:not(.ck-list-item-button){text-align:left}[dir=rtl] .ck.ck-list__item>.ck-button:not(.ck-list-item-button){text-align:right}.ck.ck-list__item>.ck-button:not(.ck-list-item-button) .ck-button__label{line-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item>.ck-button:not(.ck-list-item-button):active{box-shadow:none}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button){background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button):active{box-shadow:none}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button):hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item>.ck-button.ck-on:not(.ck-list-item-button):focus:not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item>.ck-button:not(.ck-list-item-button):hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item>.ck-button.ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item>.ck-button.ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium)}.ck-list .ck-list__group:first-child{padding-top:0}:not(.ck-hidden)~.ck-list .ck-list__group{border-top:1px solid var(--ck-color-base-border)}.ck-list .ck-list__group>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-large) 0}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;margin:var(--ck-spacing-small) 0;width:100%}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubar.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-menu-bar{background:var(--ck-color-base-background);border:1px solid var(--ck-color-toolbar-border);display:flex;flex-wrap:wrap;gap:var(--ck-spacing-small);justify-content:flex-start;padding:var(--ck-spacing-small);width:100%}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenu.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-menu-bar__menu{display:block;font-size:inherit;position:relative}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level{max-width:100%}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenubutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-menu-bar__menu>.ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button{width:100%}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button>.ck-button__label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button.ck-disabled>.ck-button__label{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-menu-bar__menu>.ck-menu-bar__menu__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-menu-bar__menu>.ck-menu-bar__menu__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button{min-height:unset;padding:var(--ck-spacing-small) var(--ck-spacing-medium)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button .ck-button__label{line-height:unset;width:unset}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button .ck-icon{display:none}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button{border-radius:0}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{margin-left:var(--ck-spacing-standard);margin-right:calc(var(--ck-spacing-small)*-1);transform:rotate(-90deg)}[dir=rtl] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{left:var(--ck-spacing-standard);margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small);transform:rotate(90deg)}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button.ck-disabled>.ck-menu-bar__menu__button__arrow{opacity:var(--ck-disabled-opacity)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitem.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-menu-bar-menu-item-min-width:18em}.ck.ck-menu-bar__menu .ck.ck-menu-bar__menu__item{min-width:var(--ck-menu-bar-menu-item-min-width)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitembutton.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button{border-radius:0}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container,.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container .ck-spinner{--ck-toolbar-spinner-size:20px}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{font-size:var(--ck-icon-font-size)}[dir=ltr] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{margin-left:var(--ck-spacing-medium)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenupanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-menu-bar-menu-max-width:75vw;--ck-menu-bar-nested-menu-horizontal-offset:5px}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{max-width:var(--ck-menu-bar-menu-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw{bottom:100%}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw{bottom:auto;top:100%}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se{left:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw{right:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es{left:calc(100% - var(--ck-menu-bar-nested-menu-horizontal-offset))}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es{top:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en{bottom:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{right:calc(100% - var(--ck-menu-bar-nested-menu-horizontal-offset))}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{top:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn{bottom:0}:root{--ck-menu-bar-menu-panel-max-width:75vw}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);border-radius:0;bottom:0;height:fit-content;max-width:var(--ck-menu-bar-menu-panel-max-width)}.ck-rounded-corners .ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{box-shadow:var(--ck-drop-shadow),0 0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se{border-top-left-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{border-top-right-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne{border-bottom-left-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn{border-bottom-right-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel:focus{outline:none}.ck.ck-menu-bar .ck-list-item-button:active,.ck.ck-menu-bar .ck-list-item-button:focus{border-color:transparent;box-shadow:none}.ck.ck-menu-bar.ck-menu-bar_focus-border-enabled .ck-list-item-button:active,.ck.ck-menu-bar.ck-menu-bar_focus-border-enabled .ck-list-item-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none;position:relative;z-index:2}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonpanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,':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-panel)}.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-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);border-radius:0;min-height:15px}.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}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.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(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonrotator.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/fakepanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-panel) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/stickypanel.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-panel)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/search/search.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/spinner/spinner.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:ck-spinner-rotate 1.5s linear infinite;height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}@media (prefers-reduced-motion:reduce){.ck.ck-spinner-container{animation-duration:3s}}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent;height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}@keyframes ck-spinner-rotate{to{transform:rotate(1turn)}}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/textarea/textarea.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck-textarea{overflow-x:hidden}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/blocktoolbar.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/toolbar.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);border-radius:0;padding:0 var(--ck-spacing-small)}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar .ck.ck-toolbar__separator{background:var(--ck-color-toolbar-border);height:var(--ck-icon-size);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/tooltip/tooltip.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck.ck-balloon-panel.ck-tooltip{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;z-index:calc(var(--ck-z-dialog) + 100);--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);box-shadow:none;padding:0 var(--ck-spacing-medium)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;max-width:200px;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip:before{display:none}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/globals/globals.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck-hidden{display:none!important}:root{--ck-z-default:1;--ck-z-panel:calc(var(--ck-z-default) + 999);--ck-z-dialog:9999}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-panel) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--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:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-dialog-background:var(--ck-custom-background);--ck-color-dialog-form-header-border:var(--ck-custom-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--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:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--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-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--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-background);--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-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--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-outer-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-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{background:transparent;border:0;box-sizing:border-box;height:auto;margin:0;padding:0;position:static;text-decoration:none;transition:none;vertical-align:middle;width:auto;word-wrap:break-word}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}: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)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widget.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}: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-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}@media (prefers-reduced-motion:reduce){.ck .ck-widget{transition:none}}.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{box-shadow:var(--ck-inner-shadow),0 0}@media (forced-colors:none){.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background)}}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused:not(td,th),.ck .ck-editor__nested-editable:focus:not(td,th){border:var(--ck-focus-ring);outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);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)}@media (prefers-reduced-motion:reduce){.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{transition:none}}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}@media (prefers-reduced-motion:reduce){.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{transition:none}}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgetresize.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}",""]);const a=r},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgettypearound.css":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),i=o.n(s),n=o("./node_modules/css-loader/dist/runtime/api.js"),r=o.n(n)()(i());r.push([e.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}@media (prefers-reduced-motion:reduce){.ck .ck-widget .ck-widget__type-around__button{transition:none}}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}@media (prefers-reduced-motion:reduce){.ck .ck-widget .ck-widget__type-around__button svg{transition:none}}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}@media (prefers-reduced-motion:reduce){.ck .ck-widget .ck-widget__type-around__button:hover,.ck .ck-widget .ck-widget__type-around__button:hover svg line,.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:none}}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',""]);const a=r},"./node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",s=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),s&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),s&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,s,i,n){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);s&&r[d[0]]||(void 0!==n&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=n),o&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=o):d[2]=o),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},"./node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"./packages/ckeditor5-core/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{uB:()=>r,ob:()=>d,HY:()=>h,CC:()=>y,KE:()=>k,mJ:()=>A,fE:()=>c,TS:()=>C,k_:()=>i,JF:()=>v,Pt:()=>E,Jl:()=>x});var s=o("./packages/ckeditor5-utils/src/index.ts");class i extends((0,s.VM)()){constructor(e){super(),this._disableStack=new Set,this.editor=e,this.set("isEnabled",!0)}forceDisabled(e){this._disableStack.add(e),1==this._disableStack.size&&(this.on("set:isEnabled",n,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",n),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}static get isOfficialPlugin(){return!1}static get isPremiumPlugin(){return!1}}function n(e){e.return=!1,e.stop()}class r extends((0,s.VM)()){constructor(e){super(),this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",(()=>{this.refresh()})),this.listenTo(e,"change:isReadOnly",(()=>{this.refresh()})),this.on("set:isEnabled",(t=>{if(!this.affectsData)return;const o=e.model.document.selection,s=!("$graveyard"==o.getFirstPosition().root.rootName)&&e.model.canEditAt(o);(e.isReadOnly||this._isEnabledBasedOnSelection&&!s)&&(t.return=!1,t.stop())}),{priority:"highest"}),this.on("execute",(e=>{this.isEnabled||e.stop()}),{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(e){this._affectsData=e}refresh(){this.isEnabled=!0}forceDisabled(e){this._disableStack.add(e),1==this._disableStack.size&&(this.on("set:isEnabled",a,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",a),this.refresh())}execute(...e){}destroy(){this.stopListening()}}function a(e){e.return=!1,e.stop()}class c extends r{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...e){const t=this._getFirstEnabledCommand();return!!t&&t.execute(e)}registerChildCommand(e,t={}){(0,s.Yy)(this._childCommandsDefinitions,{command:e,priority:t.priority||"normal"}),e.on("change:isEnabled",(()=>this._checkEnabled())),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const e=this._childCommandsDefinitions.find((({command:e})=>e.isEnabled));return e&&e.command}}class l extends((0,s.Mm)()){constructor(e,t=[],o=[]){super(),this._plugins=new Map,this._context=e,this._availablePlugins=new Map;for(const e of t)e.pluginName&&this._availablePlugins.set(e.pluginName,e);this._contextPlugins=new Map;for(const[e,t]of o)this._contextPlugins.set(e,t),this._contextPlugins.set(t,e),e.pluginName&&this._availablePlugins.set(e.pluginName,e)}*[Symbol.iterator](){for(const e of this._plugins)"function"==typeof e[0]&&(yield e)}get(e){const t=this._plugins.get(e);if(!t){let t=e;throw"function"==typeof e&&(t=e.pluginName||e.name),new s.Yb("plugincollection-plugin-not-loaded",this._context,{plugin:t})}return t}has(e){return this._plugins.has(e)}init(e,t=[],o=[]){const i=this,n=this._context;!function e(t,o=new Set){t.forEach((t=>{c(t)&&(o.has(t)||(o.add(t),t.pluginName&&!i._availablePlugins.has(t.pluginName)&&i._availablePlugins.set(t.pluginName,t),t.requires&&e(t.requires,o)))}))}(e),u(e);const r=[...function e(t,o=new Set){return t.map((e=>c(e)?e:i._availablePlugins.get(e))).reduce(((t,s)=>o.has(s)?t:(o.add(s),s.requires&&(u(s.requires,s),e(s.requires,o).forEach((e=>t.add(e)))),t.add(s))),new Set)}(e.filter((e=>!d(e,t))))];!function(e,t){for(const o of t){if("function"!=typeof o)throw new s.Yb("plugincollection-replace-plugin-invalid-type",null,{pluginItem:o});const t=o.pluginName;if(!t)throw new s.Yb("plugincollection-replace-plugin-missing-name",null,{pluginItem:o});if(o.requires&&o.requires.length)throw new s.Yb("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:t});const n=i._availablePlugins.get(t);if(!n)throw new s.Yb("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:t});const r=e.indexOf(n);if(-1===r){if(i._contextPlugins.has(n))return;throw new s.Yb("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:t})}if(n.requires&&n.requires.length)throw new s.Yb("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:t});e.splice(r,1,o),i._availablePlugins.set(t,o)}}(r,o);const a=r.map((e=>{let t=i._contextPlugins.get(e);return t=t||new e(n),i._add(e,t),t}));return m(a,"init").then((()=>m(a,"afterInit"))).then((()=>a));function c(e){return"function"==typeof e}function l(e){return c(e)&&!!e.isContextPlugin}function d(e,t){return t.some((t=>t===e||(h(e)===t||h(t)===e)))}function h(e){return c(e)?e.pluginName||e.name:e}function u(e,o=null){e.map((e=>c(e)?e:i._availablePlugins.get(e)||e)).forEach((e=>{!function(e,t){if(c(e))return;if(t)throw new s.Yb("plugincollection-soft-required",n,{missingPlugin:e,requiredBy:h(t)});throw new s.Yb("plugincollection-plugin-not-found",n,{plugin:e})}(e,o),function(e,t){if(!l(t))return;if(l(e))return;throw new s.Yb("plugincollection-context-required",n,{plugin:h(e),requiredBy:h(t)})}(e,o),function(e,o){if(!o)return;if(!d(e,t))return;throw new s.Yb("plugincollection-required",n,{plugin:h(e),requiredBy:h(o)})}(e,o)}))}function m(e,t){return e.reduce(((e,o)=>o[t]?i._contextPlugins.has(o)?e:e.then(o[t].bind(o)):e),Promise.resolve())}}destroy(){const e=[];for(const[,t]of this)"function"!=typeof t.destroy||this._contextPlugins.has(t)||e.push(t.destroy());return Promise.all(e)}_add(e,t){this._plugins.set(e,t);const o=e.pluginName;if(o){if(this._plugins.has(o))throw new s.Yb("plugincollection-plugin-name-conflict",null,{pluginName:o,plugin1:this._plugins.get(o).constructor,plugin2:e});this._plugins.set(o,t)}}}class d{constructor(e){this._contextOwner=null;const{translations:t,...o}=e||{};this.config=new s.TS(o,this.constructor.defaultConfig);const i=this.constructor.builtinPlugins;this.config.define("plugins",i),this.plugins=new l(this,i);const n=this.config.get("language")||{};this.locale=new s.hT({uiLanguage:"string"==typeof n?n:n.ui,contentLanguage:this.config.get("language.content"),translations:t}),this.t=this.locale.t,this.editors=new s.pM}initPlugins(){const e=this.config.get("plugins")||[],t=this.config.get("substitutePlugins")||[];for(const o of e.concat(t)){if("function"!=typeof o)throw new s.Yb("context-initplugins-constructor-only",null,{Plugin:o});if(!0!==o.isContextPlugin)throw new s.Yb("context-initplugins-invalid-plugin",null,{Plugin:o})}return this.plugins.init(e,[],t)}destroy(){return Promise.all(Array.from(this.editors,(e=>e.destroy()))).then((()=>this.plugins.destroy()))}_addEditor(e,t){if(this._contextOwner)throw new s.Yb("context-addeditor-private-context");this.editors.add(e),t&&(this._contextOwner=e)}_removeEditor(e){return this.editors.has(e)&&this.editors.remove(e),this._contextOwner===e?this.destroy():Promise.resolve()}_getEditorConfig(){const e={};for(const t of this.config.names())["plugins","removePlugins","extraPlugins"].includes(t)||(e[t]=this.config.get(t));return e}static create(e){return new Promise((t=>{const o=new this(e);t(o.initPlugins().then((()=>o)))}))}}class h extends((0,s.VM)()){constructor(e){super(),this.context=e}destroy(){this.stopListening()}static get isContextPlugin(){return!0}static get isOfficialPlugin(){return!1}static get isPremiumPlugin(){return!1}}var u=o("./packages/ckeditor5-engine/src/index.ts"),m=o("./packages/ckeditor5-watchdog/src/index.ts");class p{constructor(){this._commands=new Map}add(e,t){this._commands.set(e,t)}get(e){return this._commands.get(e)}execute(e,...t){const o=this.get(e);if(!o)throw new s.Yb("commandcollection-command-not-found",this,{commandName:e});return o.execute(...t)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const e of this.commands())e.destroy()}}class f extends s.EP{constructor(e){super(),this.editor=e}set(e,t,o={}){if("string"==typeof t){const e=t;t=(t,o)=>{this.editor.execute(e),o()}}super.set(e,t,o)}}const g="contentEditing",_="common";class b{constructor(e){this.keystrokeInfos=new Map,this._editor=e;const t=e.config.get("menuBar.isVisible"),o=e.locale.t;this.addKeystrokeInfoCategory({id:g,label:o("Content editing keystrokes"),description:o("These keyboard shortcuts allow for quick access to content editing features.")});const s=[{label:o("Close contextual balloons, dropdowns, and dialogs"),keystroke:"Esc"},{label:o("Open the accessibility help dialog"),keystroke:"Alt+0"},{label:o("Move focus between form fields (inputs, buttons, etc.)"),keystroke:[["Tab"],["Shift+Tab"]]},{label:o("Move focus to the toolbar, navigate between toolbars"),keystroke:"Alt+F10",mayRequireFn:!0},{label:o("Navigate through the toolbar or menu bar"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]},{label:o("Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content."),keystroke:[["Enter"],["Space"]]}];t&&s.push({label:o("Move focus to the menu bar, navigate between menu bars"),keystroke:"Alt+F9",mayRequireFn:!0}),this.addKeystrokeInfoCategory({id:"navigation",label:o("User interface and content navigation keystrokes"),description:o("Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface."),groups:[{id:"common",keystrokes:s}]})}addKeystrokeInfoCategory({id:e,label:t,description:o,groups:s}){this.keystrokeInfos.set(e,{id:e,label:t,description:o,groups:new Map}),this.addKeystrokeInfoGroup({categoryId:e,id:_}),s&&s.forEach((t=>{this.addKeystrokeInfoGroup({categoryId:e,...t})}))}addKeystrokeInfoGroup({categoryId:e=g,id:t,label:o,keystrokes:i}){const n=this.keystrokeInfos.get(e);if(!n)throw new s.Yb("accessibility-unknown-keystroke-info-category",this._editor,{groupId:t,categoryId:e});n.groups.set(t,{id:t,label:o,keystrokes:i||[]})}addKeystrokeInfos({categoryId:e=g,groupId:t=_,keystrokes:o}){if(!this.keystrokeInfos.has(e))throw new s.Yb("accessibility-unknown-keystroke-info-category",this._editor,{categoryId:e,keystrokes:o});const i=this.keystrokeInfos.get(e);if(!i.groups.has(t))throw new s.Yb("accessibility-unknown-keystroke-info-group",this._editor,{groupId:t,categoryId:e,keystrokes:o});i.groups.get(t).keystrokes.push(...o)}}class k extends((0,s.VM)()){constructor(e={}){if(super(),"sanitizeHtml"in e)throw new s.Yb("editor-config-sanitizehtml-not-supported");const t=this.constructor,{translations:o,...i}=t.defaultConfig||{},{translations:n=o,...r}=e,a=e.language||i.language;this._context=e.context||new d({language:a,translations:n}),this._context._addEditor(this,!e.context);const c=Array.from(t.builtinPlugins||[]);this.config=new s.TS(r,i),this.config.define("plugins",c),this.config.define(this._context._getEditorConfig()),this.plugins=new l(this,c,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new p,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new u.Kx,this.on("change:isReadOnly",(()=>{this.model.document.isReadOnly=this.isReadOnly}));const h=new u.tG;this.data=new u.P3(this.model,h),this.editing=new u.L_(this.model,h),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new u.dY([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 f(this),this.keystrokes.listenTo(this.editing.view.document),this.accessibility=new b(this)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(e){throw new s.Yb("editor-isreadonly-has-no-setter")}enableReadOnlyMode(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new s.Yb("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)||(this._readOnlyLocks.add(e),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new s.Yb("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)&&(this._readOnlyLocks.delete(e),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}setData(e){this.data.set(e)}getData(e){return this.data.get(e)}initPlugins(){const e=this.config,t=e.get("plugins"),o=e.get("removePlugins")||[],s=e.get("extraPlugins")||[],i=e.get("substitutePlugins")||[];return this.plugins.init(t.concat(s),o,i)}destroy(){let e=Promise.resolve();return"initializing"==this.state&&(e=new Promise((e=>this.once("ready",e)))),e.then((()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()})).then((()=>this.plugins.destroy())).then((()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()})).then((()=>this._context._removeEditor(this)))}execute(e,...t){try{return this.commands.execute(e,...t)}catch(e){s.Yb.rethrowUnexpectedError(e,this)}}focus(){this.editing.view.focus()}static create(...e){throw new Error("This is an abstract method.")}static{this.Context=d}static{this.EditorWatchdog=m.VJ}static{this.ContextWatchdog=m.Zd}}var w=o("./node_modules/lodash-es/isFunction.js");function v(e){if(!(0,w.A)(e.updateSourceElement))throw new s.Yb("attachtoform-missing-elementapi-interface",e);const t=e.sourceElement;if(function(e){return!!e&&"textarea"===e.tagName.toLowerCase()}(t)&&t.form){let o;const s=t.form,i=()=>e.updateSourceElement();(0,w.A)(s.submit)&&(o=s.submit,s.submit=()=>{i(),o.apply(s)}),s.addEventListener("submit",i),e.on("destroy",(()=>{s.removeEventListener("submit",i),o&&(s.submit=o)}))}}function y(e){return e}function A(e){return class extends e{updateSourceElement(e){if(!this.sourceElement)throw new s.Yb("editor-missing-sourceelement",this);const t=this.config.get("updateSourceElementOnDestroy"),o=this.sourceElement instanceof HTMLTextAreaElement;if(!t&&!o)return void(0,s.C_)(this.sourceElement,"");const i="string"==typeof e?e:this.data.get();(0,s.C_)(this.sourceElement,i)}}}function x(e,t){if(t.ckeditorInstance)throw new s.Yb("editor-source-element-already-used",e);t.ckeditorInstance=e,e.once("destroy",(()=>{delete t.ckeditorInstance}))}A.updateSourceElement=A(Object).prototype.updateSourceElement;class C extends h{static get pluginName(){return"PendingActions"}static get isOfficialPlugin(){return!0}init(){this.set("hasAny",!1),this._actions=new s.pM({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if("string"!=typeof e)throw new s.Yb("pendingactions-add-invalid-message",this);const t=new((0,s.VM)());return t.set("message",e),this._actions.add(t),this.hasAny=!0,t}remove(e){this._actions.remove(e),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const E={bold:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"/></svg>',cancel:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.591 10.177 4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"/></svg>',caption:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 16h9a1 1 0 0 1 0 2H2a1 1 0 0 1 0-2z"/><path d="M17 1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14zm0 1.5H3a.5.5 0 0 0-.492.41L2.5 3v9a.5.5 0 0 0 .41.492L3 12.5h14a.5.5 0 0 0 .492-.41L17.5 12V3a.5.5 0 0 0-.41-.492L17 2.5z" fill-opacity=".6"/></svg>',check:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"/></svg>',cog:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.333 2 .19 2.263a5.899 5.899 0 0 1 1.458.604L14.714 3.4 16.6 5.286l-1.467 1.733c.263.452.468.942.605 1.46L18 8.666v2.666l-2.263.19a5.899 5.899 0 0 1-.604 1.458l1.467 1.733-1.886 1.886-1.733-1.467a5.899 5.899 0 0 1-1.46.605L11.334 18H8.667l-.19-2.263a5.899 5.899 0 0 1-1.458-.604L5.286 16.6 3.4 14.714l1.467-1.733a5.899 5.899 0 0 1-.604-1.458L2 11.333V8.667l2.262-.189a5.899 5.899 0 0 1 .605-1.459L3.4 5.286 5.286 3.4l1.733 1.467a5.899 5.899 0 0 1 1.46-.605L8.666 2h2.666zM10 6.267a3.733 3.733 0 1 0 0 7.466 3.733 3.733 0 0 0 0-7.466z"/></svg>',colorPalette:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.209 18.717A8.5 8.5 0 1 1 18.686 9.6h-.008l.002.12a3 3 0 0 1-2.866 2.997h-.268l-.046-.002v.002h-4.791a2 2 0 1 0 0 4 1 1 0 1 1-.128 1.992 8.665 8.665 0 0 1-.372.008Zm-3.918-7.01a1.25 1.25 0 1 0-2.415-.648 1.25 1.25 0 0 0 2.415.647ZM5.723 8.18a1.25 1.25 0 1 0 .647-2.414 1.25 1.25 0 0 0-.647 2.414ZM9.76 6.155a1.25 1.25 0 1 0 .647-2.415 1.25 1.25 0 0 0-.647 2.415Zm4.028 1.759a1.25 1.25 0 1 0 .647-2.415 1.25 1.25 0 0 0-.647 2.415Z"/></svg>',eraser:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m8.636 9.531-2.758 3.94a.5.5 0 0 0 .122.696l3.224 2.284h1.314l2.636-3.736L8.636 9.53zm.288 8.451L5.14 15.396a2 2 0 0 1-.491-2.786l6.673-9.53a2 2 0 0 1 2.785-.49l3.742 2.62a2 2 0 0 1 .491 2.785l-7.269 10.053-2.147-.066z"/><path d="M4 18h5.523v-1H4zm-2 0h1v-1H2z"/></svg>',history:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 1a9 9 0 1 1-8.027 13.075l1.128-1.129A7.502 7.502 0 0 0 18.5 10a7.5 7.5 0 1 0-14.962.759l-.745-.746-.76.76A9 9 0 0 1 11 1z"/><path d="M.475 8.17a.75.75 0 0 1 .978.047l.075.082 1.284 1.643 1.681-1.284a.75.75 0 0 1 .978.057l.073.083a.75.75 0 0 1-.057.978l-.083.073-2.27 1.737a.75.75 0 0 1-.973-.052l-.074-.082-1.741-2.23a.75.75 0 0 1 .13-1.052z"/><path d="M11.5 5v4.999l3.196 3.196-1.06 1.06L10.1 10.72l-.1-.113V5z"/></svg>',image:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.66 9.118a.693.693 0 0 1 .956.032l3.65 3.411 2.422-2.238a.695.695 0 0 1 .945 0L17.5 13.6V2.5h-15v11.1l4.16-4.482ZM17.8 1c.652 0 1.2.47 1.2 1.1v14.362c0 .64-.532 1.038-1.184 1.038H2.184C1.532 17.5 1 17.103 1 16.462V2.1C1 1.47 1.537 1 2.2 1h15.6Zm-5.655 6a2.128 2.128 0 0 1 .157-2.364A2.133 2.133 0 1 1 12.145 7Z"/></svg>',imageUpload:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037h9.494a2.97 2.97 0 0 1-.414-.287 2.998 2.998 0 0 1-1.055-2.03 3.003 3.003 0 0 1 .693-2.185l.383-.455-.02.018-3.65-3.41a.695.695 0 0 0-.957-.034L1.5 13.6V2.5h15v5.535a2.97 2.97 0 0 1 1.412.932l.088.105V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.146 2.146 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.644-3.11 2.134 2.134 0 0 0-1.875-.978Z"/><path d="M15.522 19.1a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 1 0 1.211-1.015l-3.352-3.995a.79.79 0 0 0-.995-.179.784.784 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/><path d="M15.522 19.1a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 1 0 1.211-1.015l-3.352-3.995a.79.79 0 0 0-.995-.179.784.784 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/></svg>',imageAssetManager:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1c-.662 0-1.2.47-1.2 1.1v14.248c0 .64.533 1.152 1.185 1.152h6.623v-7.236L6.617 9.15a.694.694 0 0 0-.957-.033L1.602 13.55V2.553l14.798.003V9.7H18V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.723 2.805a2.094 2.094 0 0 0-1.621.832 2.127 2.127 0 0 0 1.136 3.357 2.13 2.13 0 0 0 2.611-1.506 2.133 2.133 0 0 0-.76-2.244 2.13 2.13 0 0 0-1.366-.44Z"/><path clip-rule="evenodd" d="M19.898 12.369v6.187a.844.844 0 0 1-.844.844h-8.719a.844.844 0 0 1-.843-.844v-7.312a.844.844 0 0 1 .843-.844h2.531a.843.843 0 0 1 .597.248l.838.852h4.75c.223 0 .441.114.6.272a.844.844 0 0 1 .247.597Zm-1.52.654-4.377.02-1.1-1.143H11v6h7.4l-.023-4.877Z"/></svg>',imageUrl:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037h7.029a5.401 5.401 0 0 1 .615-4.338l.762-1.232-2.975-2.78a.696.696 0 0 0-.957-.033L1.5 13.6V2.5h15v6.023c.449.131.887.32 1.307.573l.058.033c.046.028.09.057.135.086V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.15 2.15 0 0 0-1.611.834 2.118 2.118 0 0 0-.438 1.158 2.14 2.14 0 0 0 1.277 2.096 2.132 2.132 0 0 0 2.645-3.11 2.13 2.13 0 0 0-1.873-.978Z"/><path d="M16.63 10.294a3.003 3.003 0 0 0-4.142.887l-.117.177a.647.647 0 0 0-.096.492.664.664 0 0 0 .278.418.7.7 0 0 0 .944-.234 1.741 1.741 0 0 1 2.478-.463 1.869 1.869 0 0 1 .476 2.55.637.637 0 0 0-.071.5.646.646 0 0 0 .309.396.627.627 0 0 0 .869-.19l.027-.041a3.226 3.226 0 0 0-.956-4.492Zm-6.061 3.78-.044.066a3.228 3.228 0 0 0 .82 4.403 3.005 3.005 0 0 0 4.275-.798l.13-.197a.626.626 0 0 0 .092-.475.638.638 0 0 0-.268-.402.713.713 0 0 0-.99.26l-.018.029a1.741 1.741 0 0 1-2.477.461 1.87 1.87 0 0 1-.475-2.55l.029-.047a.647.647 0 0 0 .086-.485.66.66 0 0 0-.275-.408l-.04-.027a.609.609 0 0 0-.845.17Z"/><path d="M15.312 13.925c.24-.36.154-.838-.19-1.067-.346-.23-.82-.124-1.059.236l-1.268 1.907c-.239.36-.153.838.192 1.067.345.23.818.123 1.057-.236l1.268-1.907Z"/></svg>',lowVision:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.085 6.22 2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.365.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z"/></svg>',textAlternative:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.035 1C2.446 1 2 1.54 2 2.098V10.5h1.5v-8h13v8H18V2.098C18 1.539 17.48 1 16.9 1H3.035Zm10.453 2.61a1.885 1.885 0 0 0-1.442.736 1.89 1.89 0 0 0 1.011 2.976 1.903 1.903 0 0 0 2.253-1.114 1.887 1.887 0 0 0-1.822-2.598ZM7.463 8.163a.611.611 0 0 0-.432.154L5.071 10.5h5.119L7.88 8.348a.628.628 0 0 0-.417-.185Zm6.236 1.059a.62.62 0 0 0-.42.164L12.07 10.5h2.969l-.92-1.113a.618.618 0 0 0-.42-.165ZM.91 11.5a.91.91 0 0 0-.91.912v6.877c0 .505.405.91.91.91h18.178a.91.91 0 0 0 .912-.91v-6.877a.908.908 0 0 0-.912-.912H.91ZM3.668 13h1.947l2.135 5.7H5.898l-.28-.946H3.601l-.278.945H1.516L3.668 13Zm4.947 0h1.801v4.3h2.7v1.4h-4.5V13h-.001Zm4.5 0h5.4v1.4h-1.798v4.3h-1.701v-4.3h-1.9V13h-.001Zm-8.517 1.457-.614 2.059h1.262l-.648-2.059Z"/></svg>',loupe:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.68 13.74h-.001l4.209 4.208a1 1 0 1 0 1.414-1.414l-4.267-4.268a6 6 0 1 0-1.355 1.474ZM13 9a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"/></svg>',previousArrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>',nextArrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z"/></svg>',importExport:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 4.5 14 0H3v12.673l.868-1.041c.185-.222.4-.402.632-.54V1.5h8v5h5v7.626a2.24 2.24 0 0 1 1.5.822V4.5ZM14 5V2l3.3 3H14Zm-3.692 12.5c.062.105.133.206.213.303L11.52 19H8v-.876a2.243 2.243 0 0 0 1.82-.624h.488Zm7.518-.657a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Zm-15.056-.38a.75.75 0 0 1-.096-1.056l2.346-2.815a.95.95 0 0 1 1.46 0l2.346 2.815a.75.75 0 1 1-1.152.96L6.5 14.96V20H5v-5.04l-1.174 1.408a.75.75 0 0 1-1.056.096Z"/></svg>',paragraph:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 5.5H7v5h3.5a2.5 2.5 0 1 0 0-5zM5 3h6.5v.025a5 5 0 0 1 0 9.95V13H7v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"/></svg>',plus:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a1 1 0 0 0-1 1v6H3a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6V3a1 1 0 0 0-1-1Z"/></svg>',text:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.816 11.5 7.038 4.785 4.261 11.5h5.555Zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13Z"/><path d="m12.09 17-.534-1.292.848-1.971.545 1.319L12.113 17h-.023Zm1.142-5.187.545 1.319L15.5 9.13l1.858 4.316h-3.45l.398.965h3.467L18.887 17H20l-3.873-9h-1.254l-1.641 3.813Z"/></svg>',alignBottom:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.239 13.938-2.88-1.663a.75.75 0 0 1 .75-1.3L9 12.067V4.75a.75.75 0 1 1 1.5 0v7.318l1.89-1.093a.75.75 0 0 1 .75 1.3l-2.879 1.663a.752.752 0 0 1-.511.187.752.752 0 0 1-.511-.187zM4.25 17a.75.75 0 1 1 0-1.5h10.5a.75.75 0 0 1 0 1.5H4.25z"/></svg>',alignMiddle:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.75 11.875a.752.752 0 0 1 .508.184l2.883 1.666a.75.75 0 0 1-.659 1.344l-.091-.044-1.892-1.093.001 4.318a.75.75 0 1 1-1.5 0v-4.317l-1.89 1.092a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .51-.187zM15.25 9a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM9.75.375a.75.75 0 0 1 .75.75v4.318l1.89-1.093.092-.045a.75.75 0 0 1 .659 1.344l-2.883 1.667a.752.752 0 0 1-.508.184.752.752 0 0 1-.511-.187L6.359 5.65a.75.75 0 0 1 .75-1.299L9 5.442V1.125a.75.75 0 0 1 .75-.75z"/></svg>',alignTop:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m10.261 7.062 2.88 1.663a.75.75 0 0 1-.75 1.3L10.5 8.933v7.317a.75.75 0 1 1-1.5 0V8.932l-1.89 1.093a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .511-.187.752.752 0 0 1 .511.187zM15.25 4a.75.75 0 1 1 0 1.5H4.75a.75.75 0 0 1 0-1.5h10.5z"/></svg>',alignLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"/></svg>',alignCenter:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm2.286 4c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75z"/></svg>',alignRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 3.75a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 4a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75zm0-8a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75z"/></svg>',alignJustify:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"/></svg>',objectLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zm0-3H18v1.5h-4.5zm0-3H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectCenter:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M15.003 7v5.5a1 1 0 0 1-1 1H5.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H6.5V12h6.997V7.5z"/></svg>',objectRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2zm0-9h5v1.5H2zm0 3h5v1.5H2zm0 3h5v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>',objectFullWidth:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18 7v5.5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1zm-1.505.5H3.504V12h12.991V7.5z"/></svg>',objectInline:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectBlockLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectBlockRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>',objectSizeCustom:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="https://vecta.io/nano" viewBox="0 0 20 20"><path d="M.95 1.43a.95.95 0 0 0-.95.95v3.1a.95.95 0 0 0 .95.95h.75v6.3H.95a.95.95 0 0 0-.95.95v3.1a.95.95 0 0 0 .95.95h3.1a.95.95 0 0 0 .95-.95v-.65h1.932l1.539-1.5H5v-.95a.95.95 0 0 0-.95-.95H3.2v-6.3h.85A.95.95 0 0 0 5 5.48v-.55h10v.55a.95.95 0 0 0 .95.95h3.1a.95.95 0 0 0 .95-.95v-3.1a.95.95 0 0 0-.95-.95h-3.1a.95.95 0 0 0-.95.95v1.05H5V2.38a.95.95 0 0 0-.95-.95H.95zm.55 3.5v-2h2v2h-2zm0 9.3v2h2v-2h-2zm15-11.3v2h2v-2h-2z"/><path d="M8.139 20.004v-2.388l7.045-7.048 2.391 2.391-7.046 7.046h-2.39zm11.421-9.101a.64.64 0 0 1-.138.206l-1.165 1.168-2.391-2.391 1.167-1.163a.63.63 0 0 1 .206-.138.635.635 0 0 1 .243-.049.63.63 0 0 1 .449.187l1.491 1.488c.059.059.108.129.138.206s.049.16.049.243a.6.6 0 0 1-.049.243z"/></svg>',objectSizeFull:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"/><path d="M18.095 2H1.905C.853 2 0 2.895 0 4v12c0 1.105.853 2 1.905 2h16.19C19.147 18 20 17.105 20 16V4c0-1.105-.853-2-1.905-2zm0 1.5c.263 0 .476.224.476.5v12c0 .276-.213.5-.476.5H1.905a.489.489 0 0 1-.476-.5V4c0-.276.213-.5.476-.5h16.19z"/></svg>',objectSizeLarge:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M13 5.5H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2ZM13 7a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-8A.5.5 0 0 1 2 7h11Z"/></svg>',objectSizeSmall:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M7 9.5H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2ZM7 11a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-4A.5.5 0 0 1 2 11h5Z"/></svg>',objectSizeMedium:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M10 7.5H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2ZM10 9a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-6A.5.5 0 0 1 2 9h8Z"/></svg>',pencil:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.3 17.37-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506 13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5 9.375 17H19v1.5H8z"/></svg>',pilcrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.999 2H15a1 1 0 0 1 0 2h-1.004v13a1 1 0 1 1-2 0V4H8.999v13a1 1 0 1 1-2 0v-7A4 4 0 0 1 3 6a4 4 0 0 1 3.999-4z"/></svg>',quote:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"/></svg>',threeVerticalDots:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="9.5" cy="4.5" r="1.5"/><circle cx="9.5" cy="10.5" r="1.5"/><circle cx="9.5" cy="16.5" r="1.5"/></svg>',dragIndicator:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 3.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 3.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M5 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M5 16.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 16.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/></svg>',redo:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14.958 9.367-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"/></svg>',undo:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',bulletedList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"/></svg>',numberedList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>',todoList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m2.315 14.705 2.224-2.24a.689.689 0 0 1 .963 0 .664.664 0 0 1 0 .949L2.865 16.07a.682.682 0 0 1-.112.089.647.647 0 0 1-.852-.051L.688 14.886a.635.635 0 0 1 0-.903.647.647 0 0 1 .91 0l.717.722zm5.185.045a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75zM2.329 5.745l2.21-2.226a.689.689 0 0 1 .963 0 .664.664 0 0 1 0 .95L2.865 7.125a.685.685 0 0 1-.496.196.644.644 0 0 1-.468-.187L.688 5.912a.635.635 0 0 1 0-.903.647.647 0 0 1 .91 0l.73.736zM7.5 5.75A.75.75 0 0 1 8.25 5h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>',codeBlock:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.87 12.61a.75.75 0 0 1-.089.976l-.085.07-3.154 2.254 3.412 2.414a.75.75 0 0 1 .237.95l-.057.095a.75.75 0 0 1-.95.237l-.096-.058-4.272-3.022-.003-1.223 4.01-2.867a.75.75 0 0 1 1.047.174zm2.795-.231.095.057 4.011 2.867-.003 1.223-4.272 3.022-.095.058a.75.75 0 0 1-.88-.151l-.07-.086-.058-.095a.75.75 0 0 1 .15-.88l.087-.07 3.412-2.414-3.154-2.253-.085-.071a.75.75 0 0 1 .862-1.207zM16 0a2 2 0 0 1 2 2v9.354l-.663-.492-.837-.001V2a.5.5 0 0 0-.5-.5H2a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h3.118L7.156 19H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14zM5.009 15l.003 1H3v-1h2.009zm2.188-2-1.471 1H5v-1h2.197zM10 11v.095L8.668 12H7v-1h3zm4-2v1H7V9h7zm0-2v1H7V7h7zm-4-2v1H5V5h5zM6 3v1H3V3h3z"/></svg>',browseFiles:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.627 16.5zm5.873-.196zm0-7.001V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6.027 6.027 0 0 0-1.5-1.228zM16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5H16z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1h-2z"/></svg>',heading1:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 9v10h-2v-8h-2V9h4zM4 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V11H4v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H3a1 1 0 0 1 1 1v4.5z"/></svg>',heading2:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V11H3v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H2a1 1 0 0 1 1 1v4.5zm16.076 8.343V18.5h-6.252c.067-.626.27-1.22.61-1.78.338-.561 1.006-1.305 2.005-2.232.804-.749 1.297-1.257 1.479-1.523.245-.368.368-.732.368-1.092 0-.398-.107-.703-.32-.917-.214-.214-.51-.32-.886-.32-.372 0-.669.111-.889.336-.22.224-.347.596-.38 1.117l-1.778-.178c.106-.982.438-1.686.997-2.114.558-.427 1.257-.64 2.095-.64.918 0 1.64.247 2.164.742.525.495.787 1.11.787 1.847 0 .419-.075.818-.225 1.197-.15.378-.388.775-.714 1.19-.216.275-.605.67-1.168 1.187-.563.516-.92.859-1.07 1.028a3.11 3.11 0 0 0-.365.495h3.542z"/></svg>',heading3:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V11H3v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H2a1 1 0 0 1 1 1v4.5zm9.989 7.53 1.726-.209c.055.44.203.777.445 1.01.24.232.533.349.876.349.368 0 .678-.14.93-.42.251-.279.377-.655.377-1.13 0-.448-.12-.803-.362-1.066a1.153 1.153 0 0 0-.882-.393c-.228 0-.501.044-.819.133l.197-1.453c.482.012.85-.092 1.105-.315.253-.222.38-.517.38-.885 0-.313-.093-.563-.279-.75-.186-.185-.434-.278-.743-.278a1.07 1.07 0 0 0-.78.317c-.216.212-.347.52-.394.927l-1.644-.28c.114-.562.287-1.012.517-1.348.231-.337.553-.601.965-.794a3.24 3.24 0 0 1 1.387-.289c.876 0 1.579.28 2.108.838.436.457.653.973.653 1.549 0 .817-.446 1.468-1.339 1.955.533.114.96.37 1.28.768.319.398.478.878.478 1.441 0 .817-.298 1.513-.895 2.088-.596.576-1.339.864-2.228.864-.842 0-1.54-.243-2.094-.727-.555-.485-.876-1.118-.965-1.901z"/></svg>',heading4:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm13.55 10v-1.873h-3.81v-1.561l4.037-5.91h1.498v5.904h1.156v1.567h-1.156V18.5H17.05zm0-3.44v-3.18l-2.14 3.18h2.14z"/></svg>',heading5:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm9.578 7.607 1.777-.184c.05.402.201.72.45.955a1.223 1.223 0 0 0 1.81-.101c.258-.303.387-.759.387-1.368 0-.572-.128-1-.384-1.286-.256-.285-.59-.428-1-.428-.512 0-.971.226-1.377.679l-1.448-.21.915-4.843h4.716v1.67H15.56l-.28 1.58a2.697 2.697 0 0 1 1.219-.298 2.68 2.68 0 0 1 2.012.863c.55.576.825 1.323.825 2.241a3.36 3.36 0 0 1-.666 2.05c-.605.821-1.445 1.232-2.52 1.232-.86 0-1.56-.23-2.101-.692-.542-.461-.866-1.081-.971-1.86z"/></svg>',heading6:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm15.595 2.973-1.726.19c-.043-.355-.153-.617-.33-.787-.178-.169-.409-.253-.692-.253-.377 0-.695.169-.956.507-.26.339-.424 1.043-.492 2.114.445-.525.997-.787 1.657-.787.745 0 1.383.284 1.914.85.531.568.797 1.3.797 2.197 0 .952-.28 1.716-.838 2.291-.559.576-1.276.864-2.152.864-.94 0-1.712-.365-2.317-1.095-.605-.73-.908-1.927-.908-3.59 0-1.705.316-2.935.946-3.688.63-.753 1.45-1.13 2.457-1.13.706 0 1.291.198 1.755.594.463.395.758.97.885 1.723zm-4.043 3.891c0 .58.133 1.028.4 1.343.266.315.57.473.914.473.33 0 .605-.13.825-.388.22-.258.33-.68.33-1.27 0-.604-.118-1.047-.355-1.329a1.115 1.115 0 0 0-.89-.422c-.342 0-.632.134-.869.403s-.355.666-.355 1.19z"/></svg>',horizontalLine:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 9h16v2H2z"/></svg>',html:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 0a2 2 0 0 1 2 2v7a1 1 0 0 1 1 1v5a1 1 0 0 1-.883.993l-.118.006L19 17a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2l-.001-1.001-.116-.006A1 1 0 0 1 0 15v-5a1 1 0 0 1 .999-1L1 2a2 2 0 0 1 2-2h14zm.499 15.999h-15L2.5 17a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5l-.001-1.001zm-3.478-6.013-.014.014H14v.007l-1.525 1.525-1.46-1.46-.015.013V10h-1v5h1v-3.53l1.428 1.43.048.043.131-.129L14 11.421V15h1v-5h-.965l-.014-.014zM2 10H1v5h1v-2h2v2h1v-5H4v2H2v-2zm7 0H6v1h1v4h1v-4h1v-1zm8 0h-1v5h3v-1h-2v-4zm0-8.5H3a.5.5 0 0 0-.5.5l-.001 6.999h15L17.5 2a.5.5 0 0 0-.5-.5zM10 7v1H4V7h6zm3-2v1H4V5h9zm-3-2v1H4V3h6z"/></svg>',indent:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zM1.632 6.95 5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z"/></svg>',outdent:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zm1.618-9.55L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z"/></svg>',table:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 5.5v3h4v-3H3Zm0 4v3h4v-3H3Zm0 4v3h4v-3H3Zm5 3h4v-3H8v3Zm5 0h4v-3h-4v3Zm4-4v-3h-4v3h4Zm0-4v-3h-4v3h4Zm1.5 8A1.5 1.5 0 0 1 17 18H3a1.5 1.5 0 0 1-1.5-1.5V3c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13.5Zm-6.5-4v-3H8v3h4Zm0-4v-3H8v3h4Z"/></svg>'}},"./packages/ckeditor5-engine/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{Zq:()=>ye,ML:()=>Is,cJ:()=>pe,Re:()=>Fi,dY:()=>_s,P3:()=>gs,_v:()=>Tt,kB:()=>_i,oi:()=>po,P$:()=>dt,FY:()=>gt,$A:()=>_t,zN:()=>Re,L_:()=>Yo,gK:()=>jt,Hg:()=>Lt,vp:()=>Ct,BZ:()=>li,q6:()=>fs,ZG:()=>Ms,m8:()=>ei,Oo:()=>lo,m4:()=>Rs,PN:()=>R,GY:()=>Vs,Kx:()=>Ni,q$:()=>Li,hW:()=>Ss,fS:()=>Bs,nu:()=>pt,cr:()=>zs,yX:()=>$t,Q6:()=>Gt,EZ:()=>Ns,A4:()=>et,gf:()=>Ds,at:()=>Fs,_A:()=>Os,DG:()=>J,tG:()=>X,Yi:()=>Vt,EY:()=>Dt,Qo:()=>Ft,rU:()=>zt,Wq:()=>zi,UJ:()=>ye,xQ:()=>se,Vg:()=>ve,f5:()=>Ve,OQ:()=>ne,m2:()=>te,Vt:()=>Ce,aZ:()=>Me,Un:()=>ae,HQ:()=>M,u$:()=>ce,cw:()=>Pe,ib:()=>ws,XI:()=>Hn,vQ:()=>In,IG:()=>qn,kF:()=>Dn,je:()=>$n,JV:()=>Bn,aU:()=>Wn,_$:()=>Nn,D0:()=>gn,v7:()=>_n,vt:()=>Pn,mC:()=>Tn,YM:()=>jo,Kc:()=>k,JT:()=>b,qE:()=>mn,rC:()=>un,QS:()=>hn,SH:()=>ie,gz:()=>pn,M1:()=>fn,YU:()=>v,s5:()=>cn,_o:()=>Gi,Vq:()=>Qi,ew:()=>Ji,JS:()=>Io,fp:()=>tn,E:()=>rn,Cd:()=>sn,mv:()=>dn,$0:()=>y,Zu:()=>w,_j:()=>Us,mm:()=>Bo});var s=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),i=o.n(s),n=o("./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),r=o.n(n),a=o("./node_modules/style-loader/dist/runtime/insertBySelector.js"),c=o.n(a),l=o("./node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),d=o.n(l),h=o("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),u=o.n(h),m=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/placeholder.css"),p={attributes:{"data-cke":!0}};p.setAttributes=d(),p.insert=c().bind(null,"head"),p.domAPI=r(),p.insertStyleElement=u();i()(m.A,p);m.A&&m.A.locals&&m.A.locals;var f=o("./packages/ckeditor5-utils/src/index.ts");const g=new WeakMap;let _=!1;function b({view:e,element:t,text:o,isDirectHost:s=!0,keepOnFocus:i=!1}){const n=e.document;function r(o){g.get(n).set(t,{text:o,isDirectHost:s,keepOnFocus:i,hostElement:s?t:null}),e.change((e=>A(n,e)))}g.has(n)||(g.set(n,new Map),n.registerPostFixer((e=>A(n,e))),n.on("change:isComposing",(()=>{e.change((e=>A(n,e)))}),{priority:"high"})),t.is("editableElement")&&t.on("change:placeholder",((e,t,o)=>{r(o)})),t.placeholder?r(t.placeholder):o&&r(o),o&&function(){_||(0,f.FF)("enableplaceholder-deprecated-text-option");_=!0}()}function k(e,t){const o=t.document;g.has(o)&&e.change((e=>{const s=g.get(o),i=s.get(t);e.removeAttribute("data-placeholder",i.hostElement),v(e,i.hostElement),s.delete(t)}))}function w(e,t){return!t.hasClass("ck-placeholder")&&(e.addClass("ck-placeholder",t),!0)}function v(e,t){return!!t.hasClass("ck-placeholder")&&(e.removeClass("ck-placeholder",t),!0)}function y(e,t){if(!e.isAttached())return!1;if(Array.from(e.getChildren()).some((e=>!e.is("uiElement"))))return!1;const o=e.document,s=o.selection.anchor;return(!o.isComposing||!s||s.parent!==e)&&(!!t||(!o.isFocused||!!s&&s.parent!==e))}function A(e,t){const o=g.get(e),s=[];let i=!1;for(const[e,n]of o)n.isDirectHost&&(s.push(e),x(t,e,n)&&(i=!0));for(const[e,n]of o){if(n.isDirectHost)continue;const o=C(e);o&&(s.includes(o)||(n.hostElement=o,x(t,e,n)&&(i=!0)))}return i}function x(e,t,o){const{text:s,isDirectHost:i,hostElement:n}=o;let r=!1;n.getAttribute("data-placeholder")!==s&&(e.setAttribute("data-placeholder",s,n),r=!0);return(i||1==t.childCount)&&y(n,o.keepOnFocus)?w(e,n)&&(r=!0):v(e,n)&&(r=!0),r}function C(e){if(e.childCount){const t=e.getChild(0);if(t.is("element")&&!t.is("uiElement")&&!t.is("attributeElement"))return t}return null}class E{is(){throw new Error("is() method is abstract")}}var P=o("./node_modules/lodash-es/_baseClone.js");const T=function(e){return(0,P.A)(e,4)};class S extends((0,f.Mm)(E)){constructor(e){super(),this.document=e,this.parent=null}get index(){let e;if(!this.parent)return null;if(-1==(e=this.parent.getChildIndex(this)))throw new f.Yb("view-node-not-found-in-parent",this);return e}get nextSibling(){const e=this.index;return null!==e&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return null!==e&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}isAttached(){return this.root.is("rootElement")}getPath(){const e=[];let t=this;for(;t.parent;)e.unshift(t.index),t=t.parent;return e}getAncestors(e={}){const t=[];let o=e.includeSelf?this:this.parent;for(;o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}getCommonAncestor(e,t={}){const o=this.getAncestors(t),s=e.getAncestors(t);let i=0;for(;o[i]==s[i]&&o[i];)i++;return 0===i?null:o[i-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),o=e.getPath(),s=(0,f.ww)(t,o);switch(s){case"prefix":return!0;case"extension":return!1;default:return t[s]<o[s]}}isAfter(e){return this!=e&&(this.root===e.root&&!this.isBefore(e))}_remove(){this.parent._removeChildren(this.index)}_fireChange(e,t){this.fire(`change:${e}`,t),this.parent&&this.parent._fireChange(e,t)}toJSON(){const e=T(this);return delete e.parent,e}}S.prototype.is=function(e){return"node"===e||"view:node"===e};class M extends S{constructor(e,t){super(e),this._textData=t}get data(){return this._textData}get _data(){return this.data}set _data(e){this._fireChange("text",this),this._textData=e}isSimilar(e){return e instanceof M&&(this===e||this.data===e.data)}_clone(){return new M(this.document,this.data)}}M.prototype.is=function(e){return"$text"===e||"view:$text"===e||"text"===e||"view:text"===e||"node"===e||"view:node"===e};class O extends E{constructor(e,t,o){if(super(),this.textNode=e,t<0||t>e.data.length)throw new f.Yb("view-textproxy-wrong-offsetintext",this);if(o<0||t+o>e.data.length)throw new f.Yb("view-textproxy-wrong-length",this);this.data=e.data.substring(t,t+o),this.offsetInText=t}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(e={}){const t=[];let o=e.includeSelf?this.textNode:this.parent;for(;null!==o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}}O.prototype.is=function(e){return"$textProxy"===e||"view:$textProxy"===e||"textProxy"===e||"view:textProxy"===e};var V=o("./node_modules/lodash-es/isPlainObject.js");class R{constructor(...e){this._patterns=[],this.add(...e)}add(...e){for(let t of e)("string"==typeof t||t instanceof RegExp)&&(t={name:t}),this._patterns.push(t)}match(...e){for(const t of e)for(const e of this._patterns){const o=j(t,e);if(o)return{element:t,pattern:e,match:o}}return null}matchAll(...e){const t=[];for(const o of e)for(const e of this._patterns){const s=j(o,e);s&&t.push({element:o,pattern:e,match:s})}return t.length>0?t:null}getElementName(){if(1!==this._patterns.length)return null;const e=this._patterns[0],t=e.name;return"function"==typeof e||!t||t instanceof RegExp?null:t}}function j(e,t){if("function"==typeof t)return t(e);const o={};return t.name&&(o.name=function(e,t){if(e instanceof RegExp)return!!t.match(e);return e===t}(t.name,e.name),!o.name)||t.attributes&&(o.attributes=function(e,t){const o=new Set(t.getAttributeKeys());(0,V.A)(e)?(void 0!==e.style&&(0,f.FF)("matcher-pattern-deprecated-attributes-style-key",e),void 0!==e.class&&(0,f.FF)("matcher-pattern-deprecated-attributes-class-key",e)):(o.delete("style"),o.delete("class"));return I(e,o,(e=>t.getAttribute(e)))}(t.attributes,e),!o.attributes)||t.classes&&(o.classes=function(e,t){return I(e,t.getClassNames(),(()=>{}))}(t.classes,e),!o.classes)||t.styles&&(o.styles=function(e,t){return I(e,t.getStyleNames(!0),(e=>t.getStyle(e)))}(t.styles,e),!o.styles)?null:o}function I(e,t,o){const s=function(e){if(Array.isArray(e))return e.map((e=>(0,V.A)(e)?(void 0!==e.key&&void 0!==e.value||(0,f.FF)("matcher-pattern-missing-key-or-value",e),[e.key,e.value]):[e,!0]));if((0,V.A)(e))return Object.entries(e);return[[e,!0]]}(e),i=Array.from(t),n=[];if(s.forEach((([e,t])=>{i.forEach((s=>{(function(e,t){return!0===e||e===t||e instanceof RegExp&&t.match(e)})(e,s)&&function(e,t,o){if(!0===e)return!0;const s=o(t);return e===s||e instanceof RegExp&&!!String(s).match(e)}(t,s,o)&&n.push(s)}))})),s.length&&!(n.length<s.length))return n}var B=o("./node_modules/lodash-es/isObject.js"),N=o("./node_modules/lodash-es/_castPath.js");const D=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var F=o("./node_modules/lodash-es/_baseGet.js");const L=function(e,t,o){var s=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(o=o>i?i:o)<0&&(o+=i),i=t>o?0:o-t>>>0,t>>>=0;for(var n=Array(i);++s<i;)n[s]=e[s+t];return n};const z=function(e,t){return t.length<2?e:(0,F.A)(e,L(t,0,-1))};var H=o("./node_modules/lodash-es/_toKey.js");const $=function(e,t){return t=(0,N.A)(t,e),null==(e=z(e,t))||delete e[(0,H.A)(D(t))]};const W=function(e,t){return null==e||$(e,t)};var q=o("./node_modules/lodash-es/get.js"),U=o("./node_modules/lodash-es/merge.js"),K=o("./node_modules/lodash-es/_assignValue.js"),Y=o("./node_modules/lodash-es/_isIndex.js");const G=function(e,t,o,s){if(!(0,B.A)(e))return e;for(var i=-1,n=(t=(0,N.A)(t,e)).length,r=n-1,a=e;null!=a&&++i<n;){var c=(0,H.A)(t[i]),l=o;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=r){var d=a[c];void 0===(l=s?s(d,c,a):void 0)&&(l=(0,B.A)(d)?d:(0,Y.A)(t[i+1])?[]:{})}(0,K.A)(a,c,l),a=a[c]}return e};const Z=function(e,t,o){return null==e?e:G(e,t,o)};class J{constructor(e){this._styles={},this._styleProcessor=e}get isEmpty(){return!Object.entries(this._styles).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(e){this.clear();const t=function(e){let t=null,o=0,s=0,i=null;const n=new Map;if(""===e)return n;";"!=e.charAt(e.length-1)&&(e+=";");for(let r=0;r<e.length;r++){const a=e.charAt(r);if(null===t)switch(a){case":":i||(i=e.substr(o,r-o),s=r+1);break;case'"':case"'":t=a;break;case";":{const t=e.substr(s,r-s);i&&n.set(i.trim(),t.trim()),i=null,o=r+1;break}}else a===t&&(t=null)}return n}(e);for(const[e,o]of t)this._styleProcessor.toNormalizedForm(e,o,this._styles)}has(e){if(this.isEmpty)return!1;const t=this._styleProcessor.getReducedForm(e,this._styles).find((([t])=>t===e));return Array.isArray(t)}set(e,t){if((0,B.A)(e))for(const[t,o]of Object.entries(e))this._styleProcessor.toNormalizedForm(t,o,this._styles);else this._styleProcessor.toNormalizedForm(e,t,this._styles)}remove(e){const t=Q(e);W(this._styles,t),delete this._styles[e],this._cleanEmptyObjectsOnPath(t)}getNormalized(e){return this._styleProcessor.getNormalized(e,this._styles)}toString(){return this.isEmpty?"":this.getStylesEntries().map((e=>e.join(":"))).sort().join(";")+";"}getAsString(e){if(this.isEmpty)return;if(this._styles[e]&&!(0,B.A)(this._styles[e]))return this._styles[e];const t=this._styleProcessor.getReducedForm(e,this._styles).find((([t])=>t===e));return Array.isArray(t)?t[1]:void 0}getStyleNames(e=!1){if(this.isEmpty)return[];if(e)return this._styleProcessor.getStyleNames(this._styles);return this.getStylesEntries().map((([e])=>e))}clear(){this._styles={}}getStylesEntries(){const e=[],t=Object.keys(this._styles);for(const o of t)e.push(...this._styleProcessor.getReducedForm(o,this._styles));return e}_cleanEmptyObjectsOnPath(e){const t=e.split(".");if(!(t.length>1))return;const o=t.splice(0,t.length-1).join("."),s=(0,q.A)(this._styles,o);if(!s)return;!Object.keys(s).length&&this.remove(o)}}class X{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(e,t,o){if((0,B.A)(t))ee(o,Q(e),t);else if(this._normalizers.has(e)){const s=this._normalizers.get(e),{path:i,value:n}=s(t);ee(o,i,n)}else ee(o,e,t)}getNormalized(e,t){if(!e)return(0,U.A)({},t);if(void 0!==t[e])return t[e];if(this._extractors.has(e)){const o=this._extractors.get(e);if("string"==typeof o)return(0,q.A)(t,o);const s=o(e,t);if(s)return s}return(0,q.A)(t,Q(e))}getReducedForm(e,t){const o=this.getNormalized(e,t);if(void 0===o)return[];if(this._reducers.has(e)){return this._reducers.get(e)(o)}return[[e,o]]}getStyleNames(e){const t=new Set;for(const o of this._consumables.keys()){const s=this.getNormalized(o,e);s&&("object"!=typeof s||Object.keys(s).length)&&t.add(o)}for(const o of Object.keys(e))t.add(o);return Array.from(t)}getRelatedStyles(e){return this._consumables.get(e)||[]}setNormalizer(e,t){this._normalizers.set(e,t)}setExtractor(e,t){this._extractors.set(e,t)}setReducer(e,t){this._reducers.set(e,t)}setStyleRelation(e,t){this._mapStyleNames(e,t);for(const o of t)this._mapStyleNames(o,[e])}_mapStyleNames(e,t){this._consumables.has(e)||this._consumables.set(e,[]),this._consumables.get(e).push(...t)}}function Q(e){return e.replace("-",".")}function ee(e,t,o){let s=o;(0,B.A)(o)&&(s=(0,U.A)({},(0,q.A)(e,t),o)),Z(e,t,s)}class te extends S{constructor(e,t,o,s){if(super(e),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=t,this._attrs=function(e){const t=(0,f.av)(e);for(const[e,o]of t)null===o?t.delete(e):"string"!=typeof o&&t.set(e,String(o));return t}(o),this._children=[],s&&this._insertChild(0,s),this._classes=new Set,this._attrs.has("class")){const e=this._attrs.get("class");oe(this._classes,e),this._attrs.delete("class")}this._styles=new J(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(e){if("class"==e)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==e){const e=this._styles.toString();return""==e?void 0:e}return this._attrs.get(e)}hasAttribute(e){return"class"==e?this._classes.size>0:"style"==e?!this._styles.isEmpty:this._attrs.has(e)}isSimilar(e){if(!(e instanceof te))return!1;if(this===e)return!0;if(this.name!=e.name)return!1;if(this._attrs.size!==e._attrs.size||this._classes.size!==e._classes.size||this._styles.size!==e._styles.size)return!1;for(const[t,o]of this._attrs)if(!e._attrs.has(t)||e._attrs.get(t)!==o)return!1;for(const t of this._classes)if(!e._classes.has(t))return!1;for(const t of this._styles.getStyleNames())if(!e._styles.has(t)||e._styles.getAsString(t)!==this._styles.getAsString(t))return!1;return!0}hasClass(...e){for(const t of e)if(!this._classes.has(t))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(e){return this._styles.getAsString(e)}getNormalizedStyle(e){return this._styles.getNormalized(e)}getStyleNames(e){return this._styles.getStyleNames(e)}hasStyle(...e){for(const t of e)if(!this._styles.has(t))return!1;return!0}findAncestor(...e){const t=new R(...e);let o=this.parent;for(;o&&!o.is("documentFragment");){if(t.match(o))return o;o=o.parent}return null}getCustomProperty(e){return this._customProperties.get(e)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const e=Array.from(this._classes).sort().join(","),t=this._styles.toString(),o=Array.from(this._attrs).map((e=>`${e[0]}="${e[1]}"`)).sort().join(" ");return this.name+(""==e?"":` class="${e}"`)+(t?` style="${t}"`:"")+(""==o?"":` ${o}`)}shouldRenderUnsafeAttribute(e){return this._unsafeAttributesToRender.includes(e)}_clone(e=!1){const t=[];if(e)for(const o of this.getChildren())t.push(o._clone(e));const o=new this.constructor(this.document,this.name,this._attrs,t);return o._classes=new Set(this._classes),o._styles.set(this._styles.getNormalized()),o._customProperties=new Map(this._customProperties),o.getFillerOffset=this.getFillerOffset,o._unsafeAttributesToRender=this._unsafeAttributesToRender,o}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,t){this._fireChange("children",this);let o=0;const s=function(e,t){if("string"==typeof t)return[new M(e,t)];(0,f.xZ)(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new M(e,t):t instanceof O?new M(e,t.data):t))}(this.document,t);for(const t of s)null!==t.parent&&t._remove(),t.parent=this,t.document=this.document,this._children.splice(e,0,t),e++,o++;return o}_removeChildren(e,t=1){this._fireChange("children",this);for(let o=e;o<e+t;o++)this._children[o].parent=null;return this._children.splice(e,t)}_setAttribute(e,t){const o=String(t);this._fireChange("attributes",this),"class"==e?oe(this._classes,o):"style"==e?this._styles.setTo(o):this._attrs.set(e,o)}_removeAttribute(e){return this._fireChange("attributes",this),"class"==e?this._classes.size>0&&(this._classes.clear(),!0):"style"==e?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(e)}_addClass(e){this._fireChange("attributes",this);for(const t of(0,f.$r)(e))this._classes.add(t)}_removeClass(e){this._fireChange("attributes",this);for(const t of(0,f.$r)(e))this._classes.delete(t)}_setStyle(e,t){this._fireChange("attributes",this),"string"!=typeof e?this._styles.set(e):this._styles.set(e,t)}_removeStyle(e){this._fireChange("attributes",this);for(const t of(0,f.$r)(e))this._styles.remove(t)}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}function oe(e,t){const o=t.split(/\s+/);e.clear(),o.forEach((t=>e.add(t)))}te.prototype.is=function(e,t){return t?t===this.name&&("element"===e||"view:element"===e):"element"===e||"view:element"===e||"node"===e||"view:node"===e};class se extends te{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=ie}}function ie(){const e=[...this.getChildren()],t=e[this.childCount-1];if(t&&t.is("element","br"))return this.childCount;for(const t of e)if(!t.is("uiElement"))return null;return this.childCount}se.prototype.is=function(e,t){return t?t===this.name&&("containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e):"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class ne extends((0,f.VM)(se)){constructor(e,t,o,s){super(e,t,o,s),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(e),this.bind("isFocused").to(e,"isFocused",(t=>t&&e.selection.editableElement==this)),this.listenTo(e.selection,"change",(()=>{this.isFocused=e.isFocused&&e.selection.editableElement==this}))}destroy(){this.stopListening()}}ne.prototype.is=function(e,t){return t?t===this.name&&("editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e):"editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};const re=Symbol("rootName");class ae extends ne{constructor(e,t){super(e,t),this.rootName="main"}get rootName(){return this.getCustomProperty(re)}set rootName(e){this._setCustomProperty(re,e)}set _name(e){this.name=e}}ae.prototype.is=function(e,t){return t?t===this.name&&("rootElement"===e||"view:rootElement"===e||"editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e):"rootElement"===e||"view:rootElement"===e||"editableElement"===e||"view:editableElement"===e||"containerElement"===e||"view:containerElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class ce{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new f.Yb("view-tree-walker-no-start-position",null);if(e.direction&&"forward"!=e.direction&&"backward"!=e.direction)throw new f.Yb("view-tree-walker-unknown-direction",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this._position=le._createAt(e.startPosition):this._position=le._createAt(e.boundaries["backward"==e.direction?"end":"start"]),this.direction=e.direction||"forward",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(e){let t,o;do{o=this.position,t=this.next()}while(!t.done&&e(t.value));t.done||(this._position=o)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let e=this.position.clone();const t=this.position,o=e.parent;if(null===o.parent&&e.offset===o.childCount)return{done:!0,value:void 0};if(o===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let s;if(o instanceof M){if(e.isAtEnd)return this._position=le._createAfter(o),this._next();s=o.data[e.offset]}else s=o.getChild(e.offset);if(s instanceof te){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(e))return{done:!0,value:void 0};e.offset++}else e=new le(s,0);return this._position=e,this._formatReturnValue("elementStart",s,t,e,1)}if(s instanceof M){if(this.singleCharacters)return e=new le(s,0),this._position=e,this._next();let o,i=s.data.length;return s==this._boundaryEndParent?(i=this.boundaries.end.offset,o=new O(s,0,i),e=le._createAfter(o)):(o=new O(s,0,s.data.length),e.offset++),this._position=e,this._formatReturnValue("text",o,t,e,i)}if("string"==typeof s){let s;if(this.singleCharacters)s=1;else{s=(o===this._boundaryEndParent?this.boundaries.end.offset:o.data.length)-e.offset}const i=new O(o,e.offset,s);return e.offset+=s,this._position=e,this._formatReturnValue("text",i,t,e,s)}return e=le._createAfter(o),this._position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",o,t,e)}_previous(){let e=this.position.clone();const t=this.position,o=e.parent;if(null===o.parent&&0===e.offset)return{done:!0,value:void 0};if(o==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let s;if(o instanceof M){if(e.isAtStart)return this._position=le._createBefore(o),this._previous();s=o.data[e.offset-1]}else s=o.getChild(e.offset-1);if(s instanceof te)return this.shallow?(e.offset--,this._position=e,this._formatReturnValue("elementStart",s,t,e,1)):(e=new le(s,s.childCount),this._position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",s,t,e));if(s instanceof M){if(this.singleCharacters)return e=new le(s,s.data.length),this._position=e,this._previous();let o,i=s.data.length;if(s==this._boundaryStartParent){const t=this.boundaries.start.offset;o=new O(s,t,s.data.length-t),i=o.data.length,e=le._createBefore(o)}else o=new O(s,0,s.data.length),e.offset--;return this._position=e,this._formatReturnValue("text",o,t,e,i)}if("string"==typeof s){let s;if(this.singleCharacters)s=1;else{const t=o===this._boundaryStartParent?this.boundaries.start.offset:0;s=e.offset-t}e.offset-=s;const i=new O(o,e.offset,s);return this._position=e,this._formatReturnValue("text",i,t,e,s)}return e=le._createBefore(o),this._position=e,this._formatReturnValue("elementStart",o,t,e,1)}_formatReturnValue(e,t,o,s,i){return t instanceof O&&(t.offsetInText+t.data.length==t.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?o=le._createAfter(t.textNode):(s=le._createAfter(t.textNode),this._position=s)),0===t.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?o=le._createBefore(t.textNode):(s=le._createBefore(t.textNode),this._position=s))),{done:!1,value:{type:e,item:t,previousPosition:o,nextPosition:s,length:i}}}}class le extends E{constructor(e,t){super(),this.parent=e,this.offset=t}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const e=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===e}get root(){return this.parent.root}get editableElement(){let e=this.parent;for(;!(e instanceof ne);){if(!e.parent)return null;e=e.parent}return e}getShiftedBy(e){const t=le._createAt(this),o=t.offset+e;return t.offset=o<0?0:o,t}getLastMatchingPosition(e,t={}){t.startPosition=this;const o=new ce(t);return o.skip(e),o.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const t=this.getAncestors(),o=e.getAncestors();let s=0;for(;t[s]==o[s]&&t[s];)s++;return 0===s?null:t[s-1]}isEqual(e){return this.parent==e.parent&&this.offset==e.offset}isBefore(e){return"before"==this.compareWith(e)}isAfter(e){return"after"==this.compareWith(e)}compareWith(e){if(this.root!==e.root)return"different";if(this.isEqual(e))return"same";const t=this.parent.is("node")?this.parent.getPath():[],o=e.parent.is("node")?e.parent.getPath():[];t.push(this.offset),o.push(e.offset);const s=(0,f.ww)(t,o);switch(s){case"prefix":return"before";case"extension":return"after";default:return t[s]<o[s]?"before":"after"}}getWalker(e={}){return e.startPosition=this,new ce(e)}clone(){return new le(this.parent,this.offset)}static _createAt(e,t){if(e instanceof le)return new this(e.parent,e.offset);{const o=e;if("end"==t)t=o.is("$text")?o.data.length:o.childCount;else{if("before"==t)return this._createBefore(o);if("after"==t)return this._createAfter(o);if(0!==t&&!t)throw new f.Yb("view-createpositionat-offset-required",o)}return new le(o,t)}}static _createAfter(e){if(e.is("$textProxy"))return new le(e.textNode,e.offsetInText+e.data.length);if(!e.parent)throw new f.Yb("view-position-after-root",e,{root:e});return new le(e.parent,e.index+1)}static _createBefore(e){if(e.is("$textProxy"))return new le(e.textNode,e.offsetInText);if(!e.parent)throw new f.Yb("view-position-before-root",e,{root:e});return new le(e.parent,e.index)}}le.prototype.is=function(e){return"position"===e||"view:position"===e};class de extends E{constructor(e,t=null){super(),this.start=e.clone(),this.end=t?t.clone():e.clone()}*[Symbol.iterator](){yield*new ce({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return this.start.parent===this.end.parent}get root(){return this.start.root}getEnlarged(){let e=this.start.getLastMatchingPosition(he,{direction:"backward"}),t=this.end.getLastMatchingPosition(he);return e.parent.is("$text")&&e.isAtStart&&(e=le._createBefore(e.parent)),t.parent.is("$text")&&t.isAtEnd&&(t=le._createAfter(t.parent)),new de(e,t)}getTrimmed(){let e=this.start.getLastMatchingPosition(he);if(e.isAfter(this.end)||e.isEqual(this.end))return new de(e,e);let t=this.end.getLastMatchingPosition(he,{direction:"backward"});const o=e.nodeAfter,s=t.nodeBefore;return o&&o.is("$text")&&(e=new le(o,0)),s&&s.is("$text")&&(t=new le(s,s.data.length)),new de(e,t)}isEqual(e){return this==e||this.start.isEqual(e.start)&&this.end.isEqual(e.end)}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const o=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),s=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return o&&s}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new de(this.start,e.start)),this.containsPosition(e.end)&&t.push(new de(e.end,this.end))):t.push(this.clone()),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,o=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(o=e.end),new de(t,o)}return null}getWalker(e={}){return e.boundaries=this,new ce(e)}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;let e=this.start.nodeAfter,t=this.end.nodeBefore;return this.start.parent.is("$text")&&this.start.isAtEnd&&this.start.parent.nextSibling&&(e=this.start.parent.nextSibling),this.end.parent.is("$text")&&this.end.isAtStart&&this.end.parent.previousSibling&&(t=this.end.parent.previousSibling),e&&e.is("element")&&e===t?e:null}clone(){return new de(this.start,this.end)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new ce(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new ce(e);yield t.position;for(const e of t)yield e.nextPosition}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}static _createFromParentsAndOffsets(e,t,o,s){return new this(new le(e,t),new le(o,s))}static _createFromPositionAndShift(e,t){const o=e,s=e.getShiftedBy(t);return t>0?new this(o,s):new this(s,o)}static _createIn(e){return this._createFromParentsAndOffsets(e,0,e,e.childCount)}static _createOn(e){const t=e.is("$textProxy")?e.offsetSize:1;return this._createFromPositionAndShift(le._createBefore(e),t)}}function he(e){return!(!e.item.is("attributeElement")&&!e.item.is("uiElement"))}de.prototype.is=function(e){return"range"===e||"view:range"===e};class ue extends((0,f.Mm)(E)){constructor(...e){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",e.length&&this.setTo(...e)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.end:e.start).clone()}get focus(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.start:e.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const e of this._ranges)yield e.clone()}getFirstRange(){let e=null;for(const t of this._ranges)e&&!t.start.isBefore(e.start)||(e=t);return e?e.clone():null}getLastRange(){let e=null;for(const t of this._ranges)e&&!t.end.isAfter(e.end)||(e=t);return e?e.clone():null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}isEqual(e){if(this.isFake!=e.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=e.fakeSelectionLabel)return!1;if(this.rangeCount!=e.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let o=!1;for(const s of e._ranges)if(t.isEqual(s)){o=!0;break}if(!o)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const t=(0,f.U9)(this.getRanges());if(t!=(0,f.U9)(e.getRanges()))return!1;if(0==t)return!0;for(let t of this.getRanges()){t=t.getTrimmed();let o=!1;for(let s of e.getRanges())if(s=s.getTrimmed(),t.start.isEqual(s.start)&&t.end.isEqual(s.end)){o=!0;break}if(!o)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...e){let[t,o,s]=e;if("object"==typeof o&&(s=o,o=void 0),null===t)this._setRanges([]),this._setFakeOptions(s);else if(t instanceof ue||t instanceof me)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof de)this._setRanges([t],s&&s.backward),this._setFakeOptions(s);else if(t instanceof le)this._setRanges([new de(t)]),this._setFakeOptions(s);else if(t instanceof S){const e=!!s&&!!s.backward;let i;if(void 0===o)throw new f.Yb("view-selection-setto-required-second-parameter",this);i="in"==o?de._createIn(t):"on"==o?de._createOn(t):new de(le._createAt(t,o)),this._setRanges([i],e),this._setFakeOptions(s)}else{if(!(0,f.xZ)(t))throw new f.Yb("view-selection-setto-not-selectable",this);this._setRanges(t,s&&s.backward),this._setFakeOptions(s)}this.fire("change")}setFocus(e,t){if(null===this.anchor)throw new f.Yb("view-selection-setfocus-no-ranges",this);const o=le._createAt(e,t);if("same"==o.compareWith(this.focus))return;const s=this.anchor;this._ranges.pop(),"before"==o.compareWith(s)?this._addRange(new de(o,s),!0):this._addRange(new de(s,o)),this.fire("change")}_setRanges(e,t=!1){e=Array.from(e),this._ranges=[];for(const t of e)this._addRange(t);this._lastRangeBackward=!!t}_setFakeOptions(e={}){this._isFake=!!e.fake,this._fakeSelectionLabel=e.fake&&e.label||""}_addRange(e,t=!1){if(!(e instanceof de))throw new f.Yb("view-selection-add-range-not-range",this);this._pushRange(e),this._lastRangeBackward=!!t}_pushRange(e){for(const t of this._ranges)if(e.isIntersecting(t))throw new f.Yb("view-selection-range-intersects",this,{addedRange:e,intersectingRange:t});this._ranges.push(new de(e.start,e.end))}}ue.prototype.is=function(e){return"selection"===e||"view:selection"===e};class me extends((0,f.Mm)(E)){constructor(...e){super(),this._selection=new ue,this._selection.delegate("change").to(this),e.length&&this._selection.setTo(...e)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(e){return this._selection.isEqual(e)}isSimilar(e){return this._selection.isSimilar(e)}_setTo(...e){this._selection.setTo(...e)}_setFocus(e,t){this._selection.setFocus(e,t)}}me.prototype.is=function(e){return"selection"===e||"documentSelection"==e||"view:selection"==e||"view:documentSelection"==e};class pe extends f.vY{constructor(e,t,o){super(e,t),this.startRange=o,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const fe=Symbol("bubbling contexts");function ge(e){return class extends e{fire(e,...t){try{const o=e instanceof f.vY?e:new f.vY(this,e),s=we(this);if(!s.size)return;if(_e(o,"capturing",this),be(s,"$capture",o,...t))return o.return;const i=o.startRange||this.selection.getFirstRange(),n=i?i.getContainedElement():null,r=!!n&&Boolean(ke(s,n));let a=n||function(e){if(!e)return null;const t=e.start.parent,o=e.end.parent,s=t.getPath(),i=o.getPath();return s.length>i.length?t:o}(i);if(_e(o,"atTarget",a),!r){if(be(s,"$text",o,...t))return o.return;_e(o,"bubbling",a)}for(;a;){if(a.is("rootElement")){if(be(s,"$root",o,...t))return o.return}else if(a.is("element")&&be(s,a.name,o,...t))return o.return;if(be(s,a,o,...t))return o.return;a=a.parent,_e(o,"bubbling",a)}return _e(o,"bubbling",this),be(s,"$document",o,...t),o.return}catch(e){f.Yb.rethrowUnexpectedError(e,this)}}_addEventListener(e,t,o){const s=(0,f.$r)(o.context||"$document"),i=we(this);for(const n of s){let s=i.get(n);s||(s=new((0,f.Mm)()),i.set(n,s)),this.listenTo(s,e,t,o)}}_removeEventListener(e,t){const o=we(this);for(const s of o.values())this.stopListening(s,e,t)}}}{const e=ge(Object);["fire","_addEventListener","_removeEventListener"].forEach((t=>{ge[t]=e.prototype[t]}))}function _e(e,t,o){e instanceof pe&&(e._eventPhase=t,e._currentTarget=o)}function be(e,t,o,...s){const i="string"==typeof t?e.get(t):ke(e,t);return!!i&&(i.fire(o,...s),o.stop.called)}function ke(e,t){for(const[o,s]of e)if("function"==typeof o&&o(t))return s;return null}function we(e){return e[fe]||(e[fe]=new Map),e[fe]}class ve extends(ge((0,f.VM)())){constructor(e){super(),this._postFixers=new Set,this.selection=new me,this.roots=new f.pM({idProperty:"rootName"}),this.stylesProcessor=e,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(e="main"){return this.roots.get(e)}registerPostFixer(e){this._postFixers.add(e)}destroy(){this.roots.forEach((e=>e.destroy())),this.stopListening()}_callPostFixers(e){let t=!1;do{for(const o of this._postFixers)if(t=o(e),t)break}while(t)}}class ye extends te{constructor(e,t,o,s){super(e,t,o,s),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=Ae}static{this.DEFAULT_PRIORITY=10}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new f.Yb("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(e){return null!==this.id||null!==e.id?this.id===e.id:super.isSimilar(e)&&this.priority==e.priority}_clone(e=!1){const t=super._clone(e);return t._priority=this._priority,t._id=this._id,t}}function Ae(){if(xe(this))return null;let e=this.parent;for(;e&&e.is("attributeElement");){if(xe(e)>1)return null;e=e.parent}return!e||xe(e)>1?null:this.childCount}function xe(e){return Array.from(e.getChildren()).filter((e=>!e.is("uiElement"))).length}ye.prototype.is=function(e,t){return t?t===this.name&&("attributeElement"===e||"view:attributeElement"===e||"element"===e||"view:element"===e):"attributeElement"===e||"view:attributeElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class Ce extends te{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=Ee}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new f.Yb("view-emptyelement-cannot-add",[this,t]);return 0}}function Ee(){return null}Ce.prototype.is=function(e,t){return t?t===this.name&&("emptyElement"===e||"view:emptyElement"===e||"element"===e||"view:element"===e):"emptyElement"===e||"view:emptyElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class Pe extends te{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=Se}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new f.Yb("view-uielement-cannot-add",[this,t]);return 0}render(e,t){return this.toDomElement(e)}toDomElement(e){const t=e.createElement(this.name);for(const e of this.getAttributeKeys())t.setAttribute(e,this.getAttribute(e));return t}}function Te(e){e.document.on("arrowKey",((t,o)=>function(e,t,o){if(t.keyCode==f.uP.arrowright){const e=t.domTarget.ownerDocument.defaultView.getSelection(),s=1==e.rangeCount&&e.getRangeAt(0).collapsed;if(s||t.shiftKey){const t=e.focusNode,i=e.focusOffset,n=o.domPositionToView(t,i);if(null===n)return;let r=!1;const a=n.getLastMatchingPosition((e=>(e.item.is("uiElement")&&(r=!0),!(!e.item.is("uiElement")&&!e.item.is("attributeElement")))));if(r){const t=o.viewPositionToDom(a);s?e.collapse(t.parent,t.offset):e.extend(t.parent,t.offset)}}}}(0,o,e.domConverter)),{priority:"low"})}function Se(){return null}Pe.prototype.is=function(e,t){return t?t===this.name&&("uiElement"===e||"view:uiElement"===e||"element"===e||"view:element"===e):"uiElement"===e||"view:uiElement"===e||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class Me extends te{constructor(e,t,o,s){super(e,t,o,s),this.getFillerOffset=Oe}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new f.Yb("view-rawelement-cannot-add",[this,t]);return 0}render(e,t){}}function Oe(){return null}Me.prototype.is=function(e,t){return t?t===this.name&&("rawElement"===e||"view:rawElement"===e||"element"===e||"view:element"===e):"rawElement"===e||"view:rawElement"===e||e===this.name||e==="view:"+this.name||"element"===e||"view:element"===e||"node"===e||"view:node"===e};class Ve extends((0,f.Mm)(E)){constructor(e,t){super(),this._children=[],this._customProperties=new Map,this.document=e,t&&this._insertChild(0,t)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(e){return this._customProperties.get(e)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(e){return this._insertChild(this.childCount,e)}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(e,t){this._fireChange("children",this);let o=0;const s=function(e,t){if("string"==typeof t)return[new M(e,t)];(0,f.xZ)(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new M(e,t):t instanceof O?new M(e,t.data):t))}(this.document,t);for(const t of s)null!==t.parent&&t._remove(),t.parent=this,this._children.splice(e,0,t),e++,o++;return o}_removeChildren(e,t=1){this._fireChange("children",this);for(let o=e;o<e+t;o++)this._children[o].parent=null;return this._children.splice(e,t)}_fireChange(e,t){this.fire("change:"+e,t)}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}Ve.prototype.is=function(e){return"documentFragment"===e||"view:documentFragment"===e};class Re{constructor(e){this._cloneGroups=new Map,this._slotFactory=null,this.document=e}setSelection(...e){this.document.selection._setTo(...e)}setSelectionFocus(e,t){this.document.selection._setFocus(e,t)}createDocumentFragment(e){return new Ve(this.document,e)}createText(e){return new M(this.document,e)}createAttributeElement(e,t,o={}){const s=new ye(this.document,e,t);return"number"==typeof o.priority&&(s._priority=o.priority),o.id&&(s._id=o.id),o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}createContainerElement(e,t,o={},s={}){let i=null;(0,V.A)(o)?s=o:i=o;const n=new se(this.document,e,t,i);return s.renderUnsafeAttributes&&n._unsafeAttributesToRender.push(...s.renderUnsafeAttributes),n}createEditableElement(e,t,o={}){const s=new ne(this.document,e,t);return o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}createEmptyElement(e,t,o={}){const s=new Ce(this.document,e,t);return o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}createUIElement(e,t,o){const s=new Pe(this.document,e,t);return o&&(s.render=o),s}createRawElement(e,t,o,s={}){const i=new Me(this.document,e,t);return o&&(i.render=o),s.renderUnsafeAttributes&&i._unsafeAttributesToRender.push(...s.renderUnsafeAttributes),i}setAttribute(e,t,o){o._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,o){(0,V.A)(e)&&void 0===o?t._setStyle(e):o._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,o){o._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}breakAttributes(e){return e instanceof le?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const t=e.parent;if(!t.is("containerElement"))throw new f.Yb("view-writer-break-non-container-element",this.document);if(!t.parent)throw new f.Yb("view-writer-break-root",this.document);if(e.isAtStart)return le._createBefore(t);if(!e.isAtEnd){const o=t._clone(!1);this.insert(le._createAfter(t),o);const s=new de(e,le._createAt(t,"end")),i=new le(o,0);this.move(s,i)}return le._createAfter(t)}mergeAttributes(e){const t=e.offset,o=e.parent;if(o.is("$text"))return e;if(o.is("attributeElement")&&0===o.childCount){const e=o.parent,t=o.index;return o._remove(),this._removeFromClonedElementsGroup(o),this.mergeAttributes(new le(e,t))}const s=o.getChild(t-1),i=o.getChild(t);if(!s||!i)return e;if(s.is("$text")&&i.is("$text"))return De(s,i);if(s.is("attributeElement")&&i.is("attributeElement")&&s.isSimilar(i)){const e=s.childCount;return s._appendChild(i.getChildren()),i._remove(),this._removeFromClonedElementsGroup(i),this.mergeAttributes(new le(s,e))}return e}mergeContainers(e){const t=e.nodeBefore,o=e.nodeAfter;if(!(t&&o&&t.is("containerElement")&&o.is("containerElement")))throw new f.Yb("view-writer-merge-containers-invalid-position",this.document);const s=t.getChild(t.childCount-1),i=s instanceof M?le._createAt(s,"end"):le._createAt(t,"end");return this.move(de._createIn(o),le._createAt(t,"end")),this.remove(de._createOn(o)),i}insert(e,t){Le(t=(0,f.xZ)(t)?[...t]:[t],this.document);const o=t.reduce(((e,t)=>{const o=e[e.length-1],s=!t.is("uiElement");return o&&o.breakAttributes==s?o.nodes.push(t):e.push({breakAttributes:s,nodes:[t]}),e}),[]);let s=null,i=e;for(const{nodes:e,breakAttributes:t}of o){const o=this._insertNodes(i,e,t);s||(s=o.start),i=o.end}return s?new de(s,i):new de(e)}remove(e){const t=e instanceof de?e:de._createOn(e);if(He(t,this.document),t.isCollapsed)return new Ve(this.document);const{start:o,end:s}=this._breakAttributesRange(t,!0),i=o.parent,n=s.offset-o.offset,r=i._removeChildren(o.offset,n);for(const e of r)this._removeFromClonedElementsGroup(e);const a=this.mergeAttributes(o);return t.start=a,t.end=a.clone(),new Ve(this.document,r)}clear(e,t){He(e,this.document);const o=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const s of o){const o=s.item;let i;if(o.is("element")&&t.isSimilar(o))i=de._createOn(o);else if(!s.nextPosition.isAfter(e.start)&&o.is("$textProxy")){const e=o.getAncestors().find((e=>e.is("element")&&t.isSimilar(e)));e&&(i=de._createIn(e))}i&&(i.end.isAfter(e.end)&&(i.end=e.end),i.start.isBefore(e.start)&&(i.start=e.start),this.remove(i))}}move(e,t){let o;if(t.isAfter(e.end)){const s=(t=this._breakAttributes(t,!0)).parent,i=s.childCount;e=this._breakAttributesRange(e,!0),o=this.remove(e),t.offset+=s.childCount-i}else o=this.remove(e);return this.insert(t,o)}wrap(e,t){if(!(t instanceof ye))throw new f.Yb("view-writer-wrap-invalid-attribute",this.document);if(He(e,this.document),e.isCollapsed){let s=e.start;s.parent.is("element")&&(o=s.parent,!Array.from(o.getChildren()).some((e=>!e.is("uiElement"))))&&(s=s.getLastMatchingPosition((e=>e.item.is("uiElement")))),s=this._wrapPosition(s,t);const i=this.document.selection;return i.isCollapsed&&i.getFirstPosition().isEqual(e.start)&&this.setSelection(s),new de(s)}return this._wrapRange(e,t);var o}unwrap(e,t){if(!(t instanceof ye))throw new f.Yb("view-writer-unwrap-invalid-attribute",this.document);if(He(e,this.document),e.isCollapsed)return e;const{start:o,end:s}=this._breakAttributesRange(e,!0),i=o.parent,n=this._unwrapChildren(i,o.offset,s.offset,t),r=this.mergeAttributes(n.start);r.isEqual(n.start)||n.end.offset--;const a=this.mergeAttributes(n.end);return new de(r,a)}rename(e,t){const o=new se(this.document,e,t.getAttributes());return this.insert(le._createAfter(t),o),this.move(de._createIn(t),le._createAt(o,0)),this.remove(de._createOn(t)),o}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,t){return le._createAt(e,t)}createPositionAfter(e){return le._createAfter(e)}createPositionBefore(e){return le._createBefore(e)}createRange(e,t){return new de(e,t)}createRangeOn(e){return de._createOn(e)}createRangeIn(e){return de._createIn(e)}createSelection(...e){return new ue(...e)}createSlot(e="children"){if(!this._slotFactory)throw new f.Yb("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,e)}_registerSlotFactory(e){this._slotFactory=e}_clearSlotFactory(){this._slotFactory=null}_insertNodes(e,t,o){let s,i;if(s=o?je(e):e.parent.is("$text")?e.parent.parent:e.parent,!s)throw new f.Yb("view-writer-invalid-position-container",this.document);i=o?this._breakAttributes(e,!0):e.parent.is("$text")?Ne(e):e;const n=s._insertChild(i.offset,t);for(const e of t)this._addToClonedElementsGroup(e);const r=i.getShiftedBy(n),a=this.mergeAttributes(i);a.isEqual(i)||r.offset--;const c=this.mergeAttributes(r);return new de(a,c)}_wrapChildren(e,t,o,s){let i=t;const n=[];for(;i<o;){const t=e.getChild(i),o=t.is("$text"),r=t.is("attributeElement");if(r&&this._wrapAttributeElement(s,t))n.push(new le(e,i));else if(o||!r||Ie(s,t)){const o=s._clone();t._remove(),o._appendChild(t),e._insertChild(i,o),this._addToClonedElementsGroup(o),n.push(new le(e,i))}else this._wrapChildren(t,0,t.childCount,s);i++}let r=0;for(const e of n){if(e.offset-=r,e.offset==t)continue;this.mergeAttributes(e).isEqual(e)||(r++,o--)}return de._createFromParentsAndOffsets(e,t,e,o)}_unwrapChildren(e,t,o,s){let i=t;const n=[];for(;i<o;){const t=e.getChild(i);if(t.is("attributeElement"))if(t.isSimilar(s)){const s=t.getChildren(),r=t.childCount;t._remove(),e._insertChild(i,s),this._removeFromClonedElementsGroup(t),n.push(new le(e,i),new le(e,i+r)),i+=r,o+=r-1}else this._unwrapAttributeElement(s,t)?(n.push(new le(e,i),new le(e,i+1)),i++):(this._unwrapChildren(t,0,t.childCount,s),i++);else i++}let r=0;for(const e of n){if(e.offset-=r,e.offset==t||e.offset==o)continue;this.mergeAttributes(e).isEqual(e)||(r++,o--)}return de._createFromParentsAndOffsets(e,t,e,o)}_wrapRange(e,t){const{start:o,end:s}=this._breakAttributesRange(e,!0),i=o.parent,n=this._wrapChildren(i,o.offset,s.offset,t),r=this.mergeAttributes(n.start);r.isEqual(n.start)||n.end.offset--;const a=this.mergeAttributes(n.end);return new de(r,a)}_wrapPosition(e,t){if(t.isSimilar(e.parent))return Be(e.clone());e.parent.is("$text")&&(e=Ne(e));const o=this.createAttributeElement("_wrapPosition-fake-element");o._priority=Number.POSITIVE_INFINITY,o.isSimilar=()=>!1,e.parent._insertChild(e.offset,o);const s=new de(e,e.getShiftedBy(1));this.wrap(s,t);const i=new le(o.parent,o.index);o._remove();const n=i.nodeBefore,r=i.nodeAfter;return n instanceof M&&r instanceof M?De(n,r):Be(i)}_wrapAttributeElement(e,t){if(!$e(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const o of e.getAttributeKeys())if("class"!==o&&"style"!==o&&t.hasAttribute(o)&&t.getAttribute(o)!==e.getAttribute(o))return!1;for(const o of e.getStyleNames())if(t.hasStyle(o)&&t.getStyle(o)!==e.getStyle(o))return!1;for(const o of e.getAttributeKeys())"class"!==o&&"style"!==o&&(t.hasAttribute(o)||this.setAttribute(o,e.getAttribute(o),t));for(const o of e.getStyleNames())t.hasStyle(o)||this.setStyle(o,e.getStyle(o),t);for(const o of e.getClassNames())t.hasClass(o)||this.addClass(o,t);return!0}_unwrapAttributeElement(e,t){if(!$e(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const o of e.getAttributeKeys())if("class"!==o&&"style"!==o&&(!t.hasAttribute(o)||t.getAttribute(o)!==e.getAttribute(o)))return!1;if(!t.hasClass(...e.getClassNames()))return!1;for(const o of e.getStyleNames())if(!t.hasStyle(o)||t.getStyle(o)!==e.getStyle(o))return!1;for(const o of e.getAttributeKeys())"class"!==o&&"style"!==o&&this.removeAttribute(o,t);return this.removeClass(Array.from(e.getClassNames()),t),this.removeStyle(Array.from(e.getStyleNames()),t),!0}_breakAttributesRange(e,t=!1){const o=e.start,s=e.end;if(He(e,this.document),e.isCollapsed){const o=this._breakAttributes(e.start,t);return new de(o,o)}const i=this._breakAttributes(s,t),n=i.parent.childCount,r=this._breakAttributes(o,t);return i.offset+=i.parent.childCount-n,new de(r,i)}_breakAttributes(e,t=!1){const o=e.offset,s=e.parent;if(e.parent.is("emptyElement"))throw new f.Yb("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new f.Yb("view-writer-cannot-break-ui-element",this.document);if(e.parent.is("rawElement"))throw new f.Yb("view-writer-cannot-break-raw-element",this.document);if(!t&&s.is("$text")&&ze(s.parent))return e.clone();if(ze(s))return e.clone();if(s.is("$text"))return this._breakAttributes(Ne(e),t);if(o==s.childCount){const e=new le(s.parent,s.index+1);return this._breakAttributes(e,t)}if(0===o){const e=new le(s.parent,s.index);return this._breakAttributes(e,t)}{const e=s.index+1,i=s._clone();s.parent._insertChild(e,i),this._addToClonedElementsGroup(i);const n=s.childCount-o,r=s._removeChildren(o,n);i._appendChild(r);const a=new le(s.parent,e);return this._breakAttributes(a,t)}}_addToClonedElementsGroup(e){if(!e.root.is("rootElement"))return;if(e.is("element"))for(const t of e.getChildren())this._addToClonedElementsGroup(t);const t=e.id;if(!t)return;let o=this._cloneGroups.get(t);o||(o=new Set,this._cloneGroups.set(t,o)),o.add(e),e._clonesGroup=o}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const t of e.getChildren())this._removeFromClonedElementsGroup(t);const t=e.id;if(!t)return;const o=this._cloneGroups.get(t);o&&o.delete(e)}}function je(e){let t=e.parent;for(;!ze(t);){if(!t)return;t=t.parent}return t}function Ie(e,t){return e.priority<t.priority||!(e.priority>t.priority)&&e.getIdentity()<t.getIdentity()}function Be(e){const t=e.nodeBefore;if(t&&t.is("$text"))return new le(t,t.data.length);const o=e.nodeAfter;return o&&o.is("$text")?new le(o,0):e}function Ne(e){if(e.offset==e.parent.data.length)return new le(e.parent.parent,e.parent.index+1);if(0===e.offset)return new le(e.parent.parent,e.parent.index);const t=e.parent.data.slice(e.offset);return e.parent._data=e.parent.data.slice(0,e.offset),e.parent.parent._insertChild(e.parent.index+1,new M(e.root.document,t)),new le(e.parent.parent,e.parent.index+1)}function De(e,t){const o=e.data.length;return e._data+=t.data,t._remove(),new le(e,o)}const Fe=[M,ye,se,Ce,Me,Pe];function Le(e,t){for(const o of e){if(!Fe.some((e=>o instanceof e)))throw new f.Yb("view-writer-insert-invalid-node-type",t);o.is("$text")||Le(o.getChildren(),t)}}function ze(e){return e&&(e.is("containerElement")||e.is("documentFragment"))}function He(e,t){const o=je(e.start),s=je(e.end);if(!o||!s||o!==s)throw new f.Yb("view-writer-invalid-range-container",t)}function $e(e,t){return null===e.id&&null===t.id}const We=e=>e.createTextNode(" "),qe=e=>{const t=e.createElement("span");return t.dataset.ckeFiller="true",t.innerText=" ",t},Ue=e=>{const t=e.createElement("br");return t.dataset.ckeFiller="true",t},Ke="â ".repeat(7);function Ye(e){return"string"==typeof e?e.substr(0,7)===Ke:(0,f.KH)(e)&&e.data.substr(0,7)===Ke}function Ge(e){return 7==e.data.length&&Ye(e)}function Ze(e){const t="string"==typeof e?e:e.data;return Ye(e)?t.slice(7):t}function Je(e,t){if(t.keyCode==f.uP.arrowleft){const e=t.domTarget.ownerDocument.defaultView.getSelection();if(1==e.rangeCount&&e.getRangeAt(0).collapsed){const t=e.getRangeAt(0).startContainer,o=e.getRangeAt(0).startOffset;Ye(t)&&o<=7&&e.collapse(t,0)}}}var Xe=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-engine/theme/renderer.css"),Qe={attributes:{"data-cke":!0}};Qe.setAttributes=d(),Qe.insert=c().bind(null,"head"),Qe.domAPI=r(),Qe.insertStyleElement=u();i()(Xe.A,Qe);Xe.A&&Xe.A.locals&&Xe.A.locals;class et extends((0,f.VM)()){constructor(e,t){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=e,this.selection=t,this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1),f._K.isBlink&&!f._K.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()}))}markToSync(e,t){if("text"===e)this.domConverter.mapViewToDom(t.parent)&&this.markedTexts.add(t);else{if(!this.domConverter.mapViewToDom(t))return;if("attributes"===e)this.markedAttributes.add(t);else{if("children"!==e){throw new f.Yb("view-renderer-unknown-type",this)}this.markedChildren.add(t)}}}render(){if(this.isComposing&&!f._K.isAndroid)return;let e=null;const t=!(f._K.isBlink&&!f._K.isAndroid)||!this.isSelecting;for(const e of this.markedChildren)this._updateChildrenMappings(e);t?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?e=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(e=this.selection.getFirstPosition(),this.markedChildren.add(e.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(e=this.domConverter.domPositionToView(this._inlineFiller),e&&e.parent.is("$text")&&(e=le._createBefore(e.parent)));for(const e of this.markedAttributes)this._updateAttrs(e);for(const t of this.markedChildren)this._updateChildren(t,{inlineFillerPosition:e});for(const t of this.markedTexts)!this.markedChildren.has(t.parent)&&this.domConverter.mapViewToDom(t.parent)&&this._updateText(t,{inlineFillerPosition:e});if(t)if(e){const t=this.domConverter.viewPositionToDom(e),o=t.parent.ownerDocument;Ye(t.parent)?this._inlineFiller=t.parent:this._inlineFiller=tt(o,t.parent,t.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const o=Array.from(t.childNodes),s=Array.from(this.domConverter.viewChildrenToDom(e,{withChildren:!1})),i=this._diffNodeLists(o,s),n=this._findUpdateActions(i,o,s,ot);if(-1!==n.indexOf("update")){const t={equal:0,insert:0,delete:0};for(const i of n)if("update"===i){const i=t.equal+t.insert,n=t.equal+t.delete,r=e.getChild(i);!r||r.is("uiElement")||r.is("rawElement")||this._updateElementMappings(r,o[n]),(0,f.TF)(s[i]),t.equal++}else t[i]++}}_updateElementMappings(e,t){this.domConverter.unbindDomElement(t),this.domConverter.bindElements(t,e),this.markedChildren.add(e),this.markedAttributes.add(e)}_getInlineFillerPosition(){const e=this.selection.getFirstPosition();return e.parent.is("$text")?le._createBefore(e.parent):e}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=this.domConverter.viewPositionToDom(e);return!!(t&&(0,f.KH)(t.parent)&&Ye(t.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!Ye(e))throw new f.Yb("view-renderer-filler-was-lost",this);Ge(e)?e.remove():e.data=e.data.substr(7),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=e.parent,o=e.offset;if(!this.domConverter.mapViewToDom(t.root))return!1;if(!t.is("element"))return!1;if(!function(e){if("false"==e.getAttribute("contenteditable"))return!1;const t=e.findAncestor((e=>e.hasAttribute("contenteditable")));return!t||"true"==t.getAttribute("contenteditable")}(t))return!1;const s=e.nodeBefore,i=e.nodeAfter;return!(s instanceof M||i instanceof M)&&(!!(o!==t.getFillerOffset()||s&&s.is("element","br"))&&(!f._K.isAndroid||!s&&!i))}_updateText(e,t){const o=this.domConverter.findCorrespondingDomText(e);let s=this.domConverter.viewToDom(e).data;const i=t.inlineFillerPosition;i&&i.parent==e.parent&&i.offset==e.index&&(s=Ke+s),this._updateTextNode(o,s)}_updateAttrs(e){const t=this.domConverter.mapViewToDom(e);if(t){for(const o of t.attributes){const s=o.name;e.hasAttribute(s)||this.domConverter.removeDomElementAttribute(t,s)}for(const o of e.getAttributeKeys())this.domConverter.setDomElementAttribute(t,o,e.getAttribute(o),e)}}_updateChildren(e,t){const o=this.domConverter.mapViewToDom(e);if(!o)return;if(f._K.isAndroid){let e=null;for(const t of Array.from(o.childNodes)){if(e&&(0,f.KH)(e)&&(0,f.KH)(t)){o.normalize();break}e=t}}const s=t.inlineFillerPosition,i=o.childNodes,n=Array.from(this.domConverter.viewChildrenToDom(e,{bind:!0}));s&&s.parent===e&&tt(o.ownerDocument,n,s.offset);const r=this._diffNodeLists(i,n),a=this._findUpdateActions(r,i,n,st);let c=0;const l=new Set;for(const e of a)"delete"===e?(l.add(i[c]),(0,f.TF)(i[c])):"equal"!==e&&"update"!==e||c++;c=0;for(const e of a)"insert"===e?((0,f.PT)(o,c,n[c]),c++):"update"===e?(this._updateTextNode(i[c],n[c].data),c++):"equal"===e&&(this._markDescendantTextToSync(this.domConverter.domToView(n[c])),c++);for(const e of l)e.parentNode||this.domConverter.unbindDomElement(e)}_diffNodeLists(e,t){return e=function(e,t){const o=Array.from(e);if(0==o.length||!t)return o;const s=o[o.length-1];s==t&&o.pop();return o}(e,this._fakeSelectionContainer),(0,f.Ui)(e,t,it.bind(null,this.domConverter))}_findUpdateActions(e,t,o,s){if(-1===e.indexOf("insert")||-1===e.indexOf("delete"))return e;let i=[],n=[],r=[];const a={equal:0,insert:0,delete:0};for(const c of e)"insert"===c?r.push(o[a.equal+a.insert]):"delete"===c?n.push(t[a.equal+a.delete]):(i=i.concat((0,f.Ui)(n,r,s).map((e=>"equal"===e?"update":e))),i.push("equal"),n=[],r=[]),a[c]++;return i.concat((0,f.Ui)(n,r,s).map((e=>"equal"===e?"update":e)))}_updateTextNode(e,t){const o=e.data;o!=t&&(f._K.isAndroid&&this.isComposing&&o.replace(/\u00A0/g," ")==t.replace(/\u00A0/g," ")||this._updateTextNodeInternal(e,t))}_updateTextNodeInternal(e,t){const o=(0,f.Mr)(e.data,t);for(const t of o)"insert"===t.type?e.insertData(t.index,t.values.join("")):e.deleteData(t.index,t.howMany)}_markDescendantTextToSync(e){if(e)if(e.is("$text"))this.markedTexts.add(e);else if(e.is("element"))for(const t of e.getChildren())this._markDescendantTextToSync(t)}_updateSelection(){if(f._K.isBlink&&!f._K.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const e=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&e&&(this.selection.isFake?this._updateFakeSelection(e):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(e)):this.isComposing&&f._K.isAndroid||this._updateDomSelection(e))}_updateFakeSelection(e){const t=e.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(e){const t=e.createElement("div");return t.className="ck-fake-selection-container",Object.assign(t.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),t.textContent=" ",t}(t));const o=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(o,this.selection),!this._fakeSelectionNeedsUpdate(e))return;o.parentElement&&o.parentElement==e||e.appendChild(o),o.textContent=this.selection.fakeSelectionLabel||" ";const s=t.getSelection(),i=t.createRange();s.removeAllRanges(),i.selectNodeContents(o),s.addRange(i)}_updateDomSelection(e){const t=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(t))return;const o=this.domConverter.viewPositionToDom(this.selection.anchor),s=this.domConverter.viewPositionToDom(this.selection.focus);t.setBaseAndExtent(o.parent,o.offset,s.parent,s.offset),f._K.isGecko&&function(e,t){let o=e.parent,s=e.offset;(0,f.KH)(o)&&Ge(o)&&(s=(0,f.qh)(o)+1,o=o.parentNode);if(o.nodeType!=Node.ELEMENT_NODE||s!=o.childNodes.length-1)return;const i=o.childNodes[s];i&&"BR"==i.tagName&&t.addRange(t.getRangeAt(0))}(s,t)}_domSelectionNeedsUpdate(e){if(!this.domConverter.isDomSelectionCorrect(e))return!0;const t=e&&this.domConverter.domSelectionToView(e);return(!t||!this.selection.isEqual(t))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(t))}_fakeSelectionNeedsUpdate(e){const t=this._fakeSelectionContainer,o=e.ownerDocument.getSelection();return!t||t.parentElement!==e||(o.anchorNode!==t&&!t.contains(o.anchorNode)||t.textContent!==this.selection.fakeSelectionLabel)}_removeDomSelection(){for(const e of this.domDocuments){const t=e.getSelection();if(t.rangeCount){const o=e.activeElement,s=this.domConverter.mapDomToView(o);o&&s&&t.removeAllRanges()}}}_removeFakeSelection(){const e=this._fakeSelectionContainer;e&&e.remove()}_updateFocus(){if(this.isFocused){const e=this.selection.editableElement;e&&this.domConverter.focus(e)}}}function tt(e,t,o){const s=t instanceof Array?t:t.childNodes,i=s[o];if((0,f.KH)(i))return i.data=Ke+i.data,i;{const i=e.createTextNode(Ke);return Array.isArray(t)?s.splice(o,0,i):(0,f.PT)(t,o,i),i}}function ot(e,t){return(0,f.Ll)(e)&&(0,f.Ll)(t)&&!(0,f.KH)(e)&&!(0,f.KH)(t)&&!(0,f.Cn)(e)&&!(0,f.Cn)(t)&&e.tagName.toLowerCase()===t.tagName.toLowerCase()}function st(e,t){return(0,f.Ll)(e)&&(0,f.Ll)(t)&&(0,f.KH)(e)&&(0,f.KH)(t)}function it(e,t,o){return t===o||((0,f.KH)(t)&&(0,f.KH)(o)?t.data===o.data:!(!e.isBlockFiller(t)||!e.isBlockFiller(o)))}const nt=Ue(f.Sf.document),rt=We(f.Sf.document),at=qe(f.Sf.document),ct="data-ck-unsafe-attribute-",lt="data-ck-unsafe-element";class dt{constructor(e,{blockFillerMode:t,renderingMode:o="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new R,this._inlineObjectElementMatcher=new R,this._elementsWithTemporaryCustomProperties=new Set,this.document=e,this.renderingMode=o,this.blockFillerMode=t||("editing"===o?"br":"nbsp"),this.preElements=["pre","textarea"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?f.Sf.document:f.Sf.document.implementation.createHTMLDocument("")}bindFakeSelection(e,t){this._fakeSelectionMapping.set(e,new ue(t))}fakeSelectionToView(e){return this._fakeSelectionMapping.get(e)}bindElements(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}unbindDomElement(e){const t=this._domToViewMapping.get(e);if(t){this._domToViewMapping.delete(e),this._viewToDomMapping.delete(t);for(const t of e.children)this.unbindDomElement(t)}}bindDocumentFragments(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}shouldRenderAttribute(e,t,o){return"data"===this.renderingMode||!(e=e.toLowerCase()).startsWith("on")&&(("srcdoc"!==e||!t.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===o&&("src"===e||"srcset"===e)||("source"===o&&"srcset"===e||!t.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))))}setContentOf(e,t){if("data"===this.renderingMode)return void(e.innerHTML=t);const o=(new DOMParser).parseFromString(t,"text/html"),s=o.createDocumentFragment(),i=o.body.childNodes;for(;i.length>0;)s.appendChild(i[0]);const n=o.createTreeWalker(s,NodeFilter.SHOW_ELEMENT),r=[];let a;for(;a=n.nextNode();)r.push(a);for(const e of r){for(const t of e.getAttributeNames())this.setDomElementAttribute(e,t,e.getAttribute(t));const t=e.tagName.toLowerCase();this._shouldRenameElement(t)&&(mt(t),e.replaceWith(this._createReplacementDomElement(t,e)))}for(;e.firstChild;)e.firstChild.remove();e.append(s)}viewToDom(e,t={}){if(e.is("$text")){const t=this._processDataFromViewText(e);return this._domDocument.createTextNode(t)}{const o=e;if(this.mapViewToDom(o)){if(!o.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(o);this._elementsWithTemporaryCustomProperties.add(o)}let s;if(o.is("documentFragment"))s=this._domDocument.createDocumentFragment(),t.bind&&this.bindDocumentFragments(s,o);else{if(o.is("uiElement"))return s="$comment"===o.name?this._domDocument.createComment(o.getCustomProperty("$rawContent")):o.render(this._domDocument,this),t.bind&&this.bindElements(s,o),s;this._shouldRenameElement(o.name)?(mt(o.name),s=this._createReplacementDomElement(o.name)):s=o.hasAttribute("xmlns")?this._domDocument.createElementNS(o.getAttribute("xmlns"),o.name):this._domDocument.createElement(o.name),o.is("rawElement")&&o.render(s,this),t.bind&&this.bindElements(s,o);for(const e of o.getAttributeKeys())this.setDomElementAttribute(s,e,o.getAttribute(e),o)}if(!1!==t.withChildren)for(const e of this.viewChildrenToDom(o,t))s instanceof HTMLTemplateElement?s.content.appendChild(e):s.appendChild(e);return s}}setDomElementAttribute(e,t,o,s){const i=this.shouldRenderAttribute(t,o,e.tagName.toLowerCase())||s&&s.shouldRenderUnsafeAttribute(t);i||(0,f.FF)("domconverter-unsafe-attribute-detected",{domElement:e,key:t,value:o}),(0,f.i8)(t)?(e.hasAttribute(t)&&!i?e.removeAttribute(t):e.hasAttribute(ct+t)&&i&&e.removeAttribute(ct+t),e.setAttribute(i?t:ct+t,o)):(0,f.FF)("domconverter-invalid-attribute-detected",{domElement:e,key:t,value:o})}removeDomElementAttribute(e,t){t!=lt&&(e.removeAttribute(t),e.removeAttribute(ct+t))}*viewChildrenToDom(e,t={}){const o=e.getFillerOffset&&e.getFillerOffset();let s=0;for(const i of e.getChildren()){o===s&&(yield this._getBlockFiller());const e=i.is("element")&&!!i.getCustomProperty("dataPipeline:transparentRendering")&&!(0,f.$1)(i.getAttributes());if(e&&"data"==this.renderingMode)if(i.is("rawElement")){const e=this._domDocument.createElement(i.name);i.render(e,this),yield*[...e.childNodes]}else yield*this.viewChildrenToDom(i,t);else e&&(0,f.FF)("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:i}),yield this.viewToDom(i,t);s++}o===s&&(yield this._getBlockFiller())}viewRangeToDom(e){const t=this.viewPositionToDom(e.start),o=this.viewPositionToDom(e.end),s=this._domDocument.createRange();return s.setStart(t.parent,t.offset),s.setEnd(o.parent,o.offset),s}viewPositionToDom(e){const t=e.parent;if(t.is("$text")){const o=this.findCorrespondingDomText(t);if(!o)return null;let s=e.offset;return Ye(o)&&(s+=7),{parent:o,offset:s}}{let o,s,i;if(0===e.offset){if(o=this.mapViewToDom(t),!o)return null;i=o.childNodes[0]}else{const t=e.nodeBefore;if(s=t.is("$text")?this.findCorrespondingDomText(t):this.mapViewToDom(t),!s)return null;o=s.parentNode,i=s.nextSibling}if((0,f.KH)(i)&&Ye(i))return{parent:i,offset:7};return{parent:o,offset:s?(0,f.qh)(s)+1:0}}}domToView(e,t={}){const o=[],s=this._domToView(e,t,o),i=s.next().value;return i?(s.next(),this._processDomInlineNodes(null,o,t),i.is("$text")&&0==i.data.length?null:i):null}*domChildrenToView(e,t={},o=[]){let s=[];s=e instanceof HTMLTemplateElement?[...e.content.childNodes]:[...e.childNodes];for(let i=0;i<s.length;i++){const n=s[i],r=this._domToView(n,t,o),a=r.next().value;null!==a&&(this._isBlockViewElement(a)&&this._processDomInlineNodes(e,o,t),yield a,r.next())}this._processDomInlineNodes(e,o,t)}domSelectionToView(e){if(function(e){if(!f._K.isGecko)return!1;if(!e.rangeCount)return!1;const t=e.getRangeAt(0).startContainer;try{Object.prototype.toString.call(t)}catch(e){return!0}return!1}(e))return new ue([]);if(1===e.rangeCount){let t=e.getRangeAt(0).startContainer;(0,f.KH)(t)&&(t=t.parentNode);const o=this.fakeSelectionToView(t);if(o)return o}const t=this.isDomSelectionBackward(e),o=[];for(let t=0;t<e.rangeCount;t++){const s=e.getRangeAt(t),i=this.domRangeToView(s);i&&o.push(i)}return new ue(o,{backward:t})}domRangeToView(e){const t=this.domPositionToView(e.startContainer,e.startOffset),o=this.domPositionToView(e.endContainer,e.endOffset);return t&&o?new de(t,o):null}domPositionToView(e,t=0){if(this.isBlockFiller(e))return this.domPositionToView(e.parentNode,(0,f.qh)(e));const o=this.mapDomToView(e);if(o&&(o.is("uiElement")||o.is("rawElement")))return le._createBefore(o);if((0,f.KH)(e)){if(Ge(e))return this.domPositionToView(e.parentNode,(0,f.qh)(e));const o=this.findCorrespondingViewText(e);let s=t;return o?(Ye(e)&&(s-=7,s=s<0?0:s),new le(o,s)):null}if(0===t){const t=this.mapDomToView(e);if(t)return new le(t,0)}else{const o=e.childNodes[t-1];if((0,f.KH)(o)&&Ge(o)||o&&this.isBlockFiller(o))return this.domPositionToView(o.parentNode,(0,f.qh)(o));const s=(0,f.KH)(o)?this.findCorrespondingViewText(o):this.mapDomToView(o);if(s&&s.parent)return new le(s.parent,s.index+1)}return null}mapDomToView(e){return this.getHostViewElement(e)||this._domToViewMapping.get(e)}findCorrespondingViewText(e){if(Ge(e))return null;const t=this.getHostViewElement(e);if(t)return t;const o=e.previousSibling;if(o){if(!this.isElement(o))return null;const e=this.mapDomToView(o);if(e){const t=e.nextSibling;return t instanceof M?t:null}}else{const t=this.mapDomToView(e.parentNode);if(t){const e=t.getChild(0);return e instanceof M?e:null}}return null}mapViewToDom(e){return this._viewToDomMapping.get(e)}findCorrespondingDomText(e){const t=e.previousSibling;return t&&this.mapViewToDom(t)?this.mapViewToDom(t).nextSibling:!t&&e.parent&&this.mapViewToDom(e.parent)?this.mapViewToDom(e.parent).childNodes[0]:null}focus(e){const t=this.mapViewToDom(e);if(t&&t.ownerDocument.activeElement!==t){const{scrollX:e,scrollY:o}=f.Sf.window,s=[];ht(t,(e=>{const{scrollLeft:t,scrollTop:o}=e;s.push([t,o])})),t.focus(),ht(t,(e=>{const[t,o]=s.shift();e.scrollLeft=t,e.scrollTop=o})),f.Sf.window.scrollTo(e,o)}}_clearDomSelection(){const e=this.mapViewToDom(this.document.selection.editableElement);if(!e)return;const t=e.ownerDocument.defaultView.getSelection(),o=this.domSelectionToView(t);o&&o.rangeCount>0&&t.removeAllRanges()}isElement(e){return e&&e.nodeType==Node.ELEMENT_NODE}isDocumentFragment(e){return e&&e.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(e){return"br"==this.blockFillerMode?e.isEqualNode(nt):!("BR"!==e.tagName||!ut(e,this.blockElements)||1!==e.parentNode.childNodes.length)||(e.isEqualNode(at)||function(e,t){const o=e.isEqualNode(rt);return o&&ut(e,t)&&1===e.parentNode.childNodes.length}(e,this.blockElements))}isDomSelectionBackward(e){if(e.isCollapsed)return!1;const t=this._domDocument.createRange();try{t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset)}catch(e){return!1}const o=t.collapsed;return t.detach(),o}getHostViewElement(e){const t=(0,f.DS)(e);for(t.pop();t.length;){const e=t.pop(),o=this._domToViewMapping.get(e);if(o&&(o.is("uiElement")||o.is("rawElement")))return o}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}registerRawContentMatcher(e){this._rawContentElementMatcher.add(e)}registerInlineObjectMatcher(e){this._inlineObjectElementMatcher.add(e)}_clearTemporaryCustomProperties(){for(const e of this._elementsWithTemporaryCustomProperties)e._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return We(this._domDocument);case"markedNbsp":return qe(this._domDocument);case"br":return Ue(this._domDocument)}}_isDomSelectionPositionCorrect(e,t){if((0,f.KH)(e)&&Ye(e)&&t<7)return!1;if(this.isElement(e)&&Ye(e.childNodes[t]))return!1;const o=this.mapDomToView(e);return!o||!o.is("uiElement")&&!o.is("rawElement")}*_domToView(e,t,o){if(this.isBlockFiller(e))return null;const s=this.getHostViewElement(e);if(s)return s;if((0,f.Cn)(e)&&t.skipComments)return null;if((0,f.KH)(e)){if(Ge(e))return null;{const t=e.data;if(""===t)return null;const s=new M(this.document,t);return o.push(s),s}}{let s=this.mapDomToView(e);if(s)return this._isInlineObjectElement(s)&&o.push(s),s;if(this.isDocumentFragment(e))s=new Ve(this.document),t.bind&&this.bindDocumentFragments(e,s);else{s=this._createViewElement(e,t),t.bind&&this.bindElements(e,s);const i=e.attributes;if(i)for(let e=i.length,t=0;t<e;t++)s._setAttribute(i[t].name,i[t].value);if(this._isViewElementWithRawContent(s,t))return s._setCustomProperty("$rawContent",e.innerHTML),this._isBlockViewElement(s)||o.push(s),s;if((0,f.Cn)(e))return s._setCustomProperty("$rawContent",e.data),s}yield s;const i=[];if(!1!==t.withChildren)for(const o of this.domChildrenToView(e,t,i))s._appendChild(o);if(this._isInlineObjectElement(s))o.push(s),this._processDomInlineNodes(null,i,t);else for(const e of i)o.push(e)}}_processDomInlineNodes(e,t,o){if(!t.length)return;if(e&&!this.isDocumentFragment(e)&&!this._isBlockDomElement(e))return;let s=!1;for(let e=0;e<t.length;e++){const i=t[e];if(!i.is("$text")){s=!1;continue}let n,r=!1;if(this._isPreFormatted(i))n=Ze(i.data);else{n=i.data.replace(/[ \n\t\r]{1,}/g," "),r=/[^\S\u00A0]/.test(n.charAt(n.length-1));const a=e>0?t[e-1]:null,c=e+1<t.length?t[e+1]:null,l=!a||a.is("element")&&"br"==a.name||s,d=!c&&!Ye(i.data);!1!==o.withChildren&&(l&&(n=n.replace(/^ /,"")),d&&(n=n.replace(/ $/,""))),n=Ze(n),n=n.replace(/ \u00A0/g," ");const h=c&&c.is("element")&&"br"!=c.name,u=c&&c.is("$text")&&" "==c.data.charAt(0);(/[ \u00A0]\u00A0$/.test(n)||!c||h||u)&&(n=n.replace(/\u00A0$/," ")),(l||a&&a.is("element")&&"br"!=a.name)&&(n=n.replace(/^\u00A0/," "))}0==n.length&&i.parent?(i._remove(),t.splice(e,1),e--):(i._data=n,s=r)}t.length=0}_processDataFromViewText(e){let t=e.data;if(this._isPreFormatted(e))return t;if(" "==t.charAt(0)){const o=this._getTouchingInlineViewNode(e,!1);!(o&&o.is("$textProxy")&&this._nodeEndsWithSpace(o))&&o||(t=" "+t.substr(1))}if(" "==t.charAt(t.length-1)){const o=this._getTouchingInlineViewNode(e,!0),s=o&&o.is("$textProxy")&&" "==o.data.charAt(0);" "!=t.charAt(t.length-2)&&o&&!s||(t=t.substr(0,t.length-1)+" ")}return t.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(e){if(this._isPreFormatted(e))return!1;const t=this._processDataFromViewText(e);return" "==t.charAt(t.length-1)}_isPreFormatted(e){if(function(e,t){return e.getAncestors().some((e=>e.is("element")&&t.includes(e.name)))}(e,this.preElements))return!0;for(const t of e.getAncestors({parentFirst:!0}))if(t.is("element")&&t.hasStyle("white-space")&&"inherit"!==t.getStyle("white-space"))return["pre","pre-wrap","break-spaces"].includes(t.getStyle("white-space"));return!1}_getTouchingInlineViewNode(e,t){const o=new ce({startPosition:t?le._createAfter(e):le._createBefore(e),direction:t?"forward":"backward"});for(const{item:e}of o){if(e.is("$textProxy"))return e;if(!e.is("element")||!e.getCustomProperty("dataPipeline:transparentRendering")){if(e.is("element","br"))return null;if(this._isInlineObjectElement(e))return e;if(e.is("containerElement"))return null}}return null}_isBlockDomElement(e){return this.isElement(e)&&this.blockElements.includes(e.tagName.toLowerCase())}_isBlockViewElement(e){return e.is("element")&&this.blockElements.includes(e.name)}_isInlineObjectElement(e){return!!e.is("element")&&("br"==e.name||this.inlineObjectElements.includes(e.name)||!!this._inlineObjectElementMatcher.match(e))}_createViewElement(e,t){if((0,f.Cn)(e))return new Pe(this.document,"$comment");const o=t.keepOriginalCase?e.tagName:e.tagName.toLowerCase();return new te(this.document,o)}_isViewElementWithRawContent(e,t){return!1!==t.withChildren&&e.is("element")&&!!this._rawContentElementMatcher.match(e)}_shouldRenameElement(e){const t=e.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(t)}_createReplacementDomElement(e,t){const o=this._domDocument.createElement("span");if(o.setAttribute(lt,e),t){for(;t.firstChild;)o.appendChild(t.firstChild);for(const e of t.getAttributeNames())o.setAttribute(e,t.getAttribute(e))}return o}}function ht(e,t){let o=e;for(;o;)t(o),o=o.parentElement}function ut(e,t){const o=e.parentNode;return!!o&&!!o.tagName&&t.includes(o.tagName.toLowerCase())}function mt(e){"script"===e&&(0,f.FF)("domconverter-unsafe-script-element-detected"),"style"===e&&(0,f.FF)("domconverter-unsafe-style-element-detected")}class pt extends((0,f.c5)()){constructor(e){super(),this._isEnabled=!1,this.view=e,this.document=e.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(e){return e&&3===e.nodeType&&(e=e.parentNode),!(!e||1!==e.nodeType)&&e.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}var ft=o("./node_modules/lodash-es/assignIn.js");class gt{constructor(e,t,o){this.view=e,this.document=e.document,this.domEvent=t,this.domTarget=t.target,(0,ft.A)(this,o)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class _t extends pt{constructor(){super(...arguments),this.useCapture=!1,this.usePassive=!1}observe(e){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach((t=>{this.listenTo(e,t,((e,t)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(t.target)&&this.onDomEvent(t)}),{useCapture:this.useCapture,usePassive:this.usePassive})}))}stopObserving(e){this.stopListening(e)}fire(e,t,o){this.isEnabled&&this.document.fire(e,new gt(this.view,t,o))}}class bt extends _t{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(e){const t={keyCode:e.keyCode,altKey:e.altKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,get keystroke(){return(0,f.QC)(this)}};this.fire(e.type,e,t)}}var kt=o("./node_modules/lodash-es/debounce.js");class wt extends pt{constructor(e){super(e),this._fireSelectionChangeDoneDebounced=(0,kt.A)((e=>{this.document.fire("selectionChangeDone",e)}),200)}observe(){const e=this.document;e.on("arrowKey",((t,o)=>{e.selection.isFake&&this.isEnabled&&o.preventDefault()}),{context:"$capture"}),e.on("arrowKey",((t,o)=>{e.selection.isFake&&this.isEnabled&&this._handleSelectionMove(o.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const t=this.document.selection,o=new ue(t.getRanges(),{backward:t.isBackward,fake:!1});e!=f.uP.arrowleft&&e!=f.uP.arrowup||o.setTo(o.getFirstPosition()),e!=f.uP.arrowright&&e!=f.uP.arrowdown||o.setTo(o.getLastPosition());const s={oldSelection:t,newSelection:o,domSelection:null};this.document.fire("selectionChange",s),this._fireSelectionChangeDoneDebounced(s)}}var vt=o("./node_modules/lodash-es/_baseIsEqual.js");const yt=function(e,t,o){var s=(o="function"==typeof o?o:void 0)?o(e,t):void 0;return void 0===s?(0,vt.A)(e,t,void 0,o):!!s};class At extends pt{constructor(e){super(e),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=e.domConverter,this._domElements=new Set,this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(e){this._domElements.add(e),this.isEnabled&&this._mutationObserver.observe(e,this._config)}stopObserving(e){if(this._domElements.delete(e),this.isEnabled){this._mutationObserver.disconnect();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}}enable(){super.enable();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(e){if(0===e.length)return;const t=this.domConverter,o=new Set,s=new Set;for(const o of e){const e=t.mapDomToView(o.target);e&&(e.is("uiElement")||e.is("rawElement")||"childList"!==o.type||this._isBogusBrMutation(o)||s.add(e))}for(const i of e){const e=t.mapDomToView(i.target);if((!e||!e.is("uiElement")&&!e.is("rawElement"))&&"characterData"===i.type){const e=t.findCorrespondingViewText(i.target);e&&!s.has(e.parent)?o.add(e):!e&&Ye(i.target)&&s.add(t.mapDomToView(i.target.parentNode))}}const i=[];for(const e of o)i.push({type:"text",node:e});for(const e of s){const o=t.mapViewToDom(e),s=Array.from(e.getChildren()),n=Array.from(t.domChildrenToView(o,{withChildren:!1}));yt(s,n,xt)||i.push({type:"children",node:e})}i.length&&this.document.fire("mutations",{mutations:i})}_isBogusBrMutation(e){let t=null;return null===e.nextSibling&&0===e.removedNodes.length&&1==e.addedNodes.length&&(t=this.domConverter.domToView(e.addedNodes[0],{withChildren:!1})),t&&t.is("element","br")}}function xt(e,t){if(!Array.isArray(e))return e===t||!(!e.is("$text")||!t.is("$text"))&&e.data===t.data}class Ct extends _t{constructor(e){super(e),this._renderTimeoutId=null,this._isFocusChanging=!1,this.domEventType=["focus","blur"],this.useCapture=!0;const t=this.document;t.on("focus",(()=>this._handleFocus())),t.on("blur",((e,t)=>this._handleBlur(t))),t.on("beforeinput",(()=>{t.isFocused||this._handleFocus()}),{priority:"highest"})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(e){this.fire(e.type,e)}destroy(){this._clearTimeout(),super.destroy()}_handleFocus(){this._clearTimeout(),this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this._renderTimeoutId=null,this.flush(),this.view.change((()=>{}))}),50)}_handleBlur(e){const t=this.document.selection.editableElement;null!==t&&t!==e.target||(this.document.isFocused=!1,this._isFocusChanging=!1,this.view.change((()=>{})))}_clearTimeout(){this._renderTimeoutId&&(clearTimeout(this._renderTimeoutId),this._renderTimeoutId=null)}}class Et extends pt{constructor(e){super(e),this.mutationObserver=e.getObserver(At),this.focusObserver=e.getObserver(Ct),this.selection=this.document.selection,this.domConverter=e.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=(0,kt.A)((e=>{this.document.fire("selectionChangeDone",e)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=(0,kt.A)((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(e){const t=e.ownerDocument,o=()=>{this.document.isSelecting&&(this._handleSelectionChange(t),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(e,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(e,"keydown",o,{priority:"highest",useCapture:!0}),this.listenTo(e,"keyup",o,{priority:"highest",useCapture:!0}),this._documents.has(t)||(this.listenTo(t,"mouseup",o,{priority:"highest",useCapture:!0}),this.listenTo(t,"selectionchange",(()=>{this.document.isComposing&&!f._K.isAndroid||(this._handleSelectionChange(t),this._documentIsSelectingInactivityTimeoutDebounced())})),this.listenTo(this.view.document,"compositionstart",(()=>{this._handleSelectionChange(t)}),{priority:"lowest"}),this._documents.add(t))}stopObserving(e){this.stopListening(e)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(e){if(!this.isEnabled)return;const t=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(t.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(t);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(t))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(o))this.view.forceRender();else{const e={oldSelection:this.selection,newSelection:o,domSelection:t};this.document.fire("selectionChange",e),this._fireSelectionChangeDoneDebounced(e)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class Pt extends _t{constructor(e){super(e),this.domEventType=["compositionstart","compositionupdate","compositionend"];const t=this.document;t.on("compositionstart",(()=>{t.isComposing=!0}),{priority:"low"}),t.on("compositionend",(()=>{t.isComposing=!1}),{priority:"low"})}onDomEvent(e){this.fire(e.type,e,{data:e.data})}}class Tt{constructor(e,t={}){this._files=t.cacheFiles?St(e):null,this._native=e}get files(){return this._files||(this._files=St(this._native)),this._files}get types(){return this._native.types}getData(e){return this._native.getData(e)}setData(e,t){this._native.setData(e,t)}set effectAllowed(e){this._native.effectAllowed=e}get effectAllowed(){return this._native.effectAllowed}set dropEffect(e){this._native.dropEffect=e}get dropEffect(){return this._native.dropEffect}setDragImage(e,t,o){this._native.setDragImage(e,t,o)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function St(e){const t=Array.from(e.files||[]),o=Array.from(e.items||[]);return t.length?t:o.filter((e=>"file"===e.kind)).map((e=>e.getAsFile()))}class Mt extends _t{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(e){const t=e.getTargetRanges(),o=this.view,s=o.document;let i=null,n=null,r=[];if(e.dataTransfer&&(i=new Tt(e.dataTransfer)),null!==e.data?n=e.data:i&&(n=i.getData("text/plain")),s.selection.isFake)r=Array.from(s.selection.getRanges());else if(t.length)r=t.map((e=>{const t=o.domConverter.domPositionToView(e.startContainer,e.startOffset),s=o.domConverter.domPositionToView(e.endContainer,e.endOffset);return t?o.createRange(t,s):s?o.createRange(s):void 0})).filter((e=>!!e));else if(f._K.isAndroid){const t=e.target.ownerDocument.defaultView.getSelection();r=Array.from(o.domConverter.domSelectionToView(t).getRanges())}if(f._K.isAndroid&&"insertCompositionText"==e.inputType&&n&&n.endsWith("\n"))this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:[o.createRange(r[0].end)]});else if("insertText"==e.inputType&&n&&n.includes("\n")){const t=n.split(/\n{1,2}/g);let o=r;for(let n=0;n<t.length;n++){const r=t[n];""!=r&&(this.fire(e.type,e,{data:r,dataTransfer:i,targetRanges:o,inputType:e.inputType,isComposing:e.isComposing}),o=[s.selection.getFirstRange()]),n+1<t.length&&(this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:o}),o=[s.selection.getFirstRange()])}}else this.fire(e.type,e,{data:n,dataTransfer:i,targetRanges:r,inputType:e.inputType,isComposing:e.isComposing})}}class Ot extends pt{constructor(e){super(e),this.document.on("keydown",((e,t)=>{if(this.isEnabled&&(0,f.Yt)(t.keyCode)){const o=new pe(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(o,t),o.stop.called&&e.stop()}}))}observe(){}stopObserving(){}}class Vt extends pt{constructor(e){super(e);const t=this.document;t.on("keydown",((e,o)=>{if(!this.isEnabled||o.keyCode!=f.uP.tab||o.ctrlKey)return;const s=new pe(t,"tab",t.selection.getFirstRange());t.fire(s,o),s.stop.called&&e.stop()}))}observe(){}stopObserving(){}}var Rt=o("./node_modules/lodash-es/cloneDeep.js");class jt extends((0,f.VM)()){constructor(e){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new ve(e),this.domConverter=new dt(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new et(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Re(this.document),this.addObserver(At),this.addObserver(Ct),this.addObserver(Et),this.addObserver(bt),this.addObserver(wt),this.addObserver(Pt),this.addObserver(Ot),this.addObserver(Mt),this.addObserver(Vt),this.document.on("arrowKey",Je,{priority:"low"}),Te(this),this.on("render",(()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1})),this.listenTo(this.document.selection,"change",(()=>{this._hasChangedSinceTheLastRendering=!0})),this.listenTo(this.document,"change:isFocused",(()=>{this._hasChangedSinceTheLastRendering=!0})),f._K.isiOS&&this.listenTo(this.document,"blur",((e,t)=>{this.domConverter.mapDomToView(t.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})),this.listenTo(this.document,"mutations",((e,{mutations:t})=>{t.forEach((e=>this._renderer.markToSync(e.type,e.node)))}),{priority:"low"}),this.listenTo(this.document,"mutations",(()=>{this.forceRender()}),{priority:"lowest"})}attachDomRoot(e,t="main"){const o=this.document.getRoot(t);o._name=e.tagName.toLowerCase();const s={};for(const{name:t,value:i}of Array.from(e.attributes))s[t]=i,"class"===t?this._writer.addClass(i.split(" "),o):o.hasAttribute(t)||this._writer.setAttribute(t,i,o);this._initialDomRootAttributes.set(e,s);const i=()=>{this._writer.setAttribute("contenteditable",(!o.isReadOnly).toString(),o),o.isReadOnly?this._writer.addClass("ck-read-only",o):this._writer.removeClass("ck-read-only",o)};i(),this.domRoots.set(t,e),this.domConverter.bindElements(e,o),this._renderer.markToSync("children",o),this._renderer.markToSync("attributes",o),this._renderer.domDocuments.add(e.ownerDocument),o.on("change:children",((e,t)=>this._renderer.markToSync("children",t))),o.on("change:attributes",((e,t)=>this._renderer.markToSync("attributes",t))),o.on("change:text",((e,t)=>this._renderer.markToSync("text",t))),o.on("change:isReadOnly",(()=>this.change(i))),o.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const o of this._observers.values())o.observe(e,t)}detachDomRoot(e){const t=this.domRoots.get(e);Array.from(t.attributes).forEach((({name:e})=>t.removeAttribute(e)));const o=this._initialDomRootAttributes.get(t);for(const e in o)t.setAttribute(e,o[e]);this.domRoots.delete(e),this.domConverter.unbindDomElement(t);for(const e of this._observers.values())e.stopObserving(t)}getDomRoot(e="main"){return this.domRoots.get(e)}addObserver(e){let t=this._observers.get(e);if(t)return t;t=new e(this),this._observers.set(e,t);for(const[e,o]of this.domRoots)t.observe(o,e);return t.enable(),t}getObserver(e){return this._observers.get(e)}disableObservers(){for(const e of this._observers.values())e.disable()}enableObservers(){for(const e of this._observers.values())e.enable()}scrollToTheSelection({alignToTop:e,forceScroll:t,viewportOffset:o=20,ancestorOffset:s=20}={}){const i=this.document.selection.getFirstRange();if(!i)return;const n=(0,Rt.A)({alignToTop:e,forceScroll:t,viewportOffset:o,ancestorOffset:s});"number"==typeof o&&(o={top:o,bottom:o,left:o,right:o});const r={target:this.domConverter.viewRangeToDom(i),viewportOffset:o,ancestorOffset:s,alignToTop:e,forceScroll:t};this.fire("scrollToTheSelection",r,n),(0,f.vK)(r)}focus(){if(!this.document.isFocused){const e=this.document.selection.editableElement;e&&(this.domConverter.focus(e),this.forceRender())}}change(e){if(this.isRenderingInProgress||this._postFixersInProgress)throw new f.Yb("cannot-change-view-tree",this);try{if(this._ongoingChange)return e(this._writer);this._ongoingChange=!0;const t=e(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),t}catch(e){f.Yb.rethrowUnexpectedError(e,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(Ct).flush(),this.change((()=>{}))}destroy(){for(const e of this._observers.values())e.destroy();this.document.destroy(),this.stopListening()}createPositionAt(e,t){return le._createAt(e,t)}createPositionAfter(e){return le._createAfter(e)}createPositionBefore(e){return le._createBefore(e)}createRange(e,t){return new de(e,t)}createRangeOn(e){return de._createOn(e)}createRangeIn(e){return de._createIn(e)}createSelection(...e){return new ue(...e)}_disableRendering(e){this._renderingDisabled=e,0==e&&this.change((()=>{}))}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class It{is(){throw new Error("is() method is abstract")}}class Bt extends It{constructor(e){super(),this.parent=null,this._index=null,this._startOffset=null,this._attrs=(0,f.av)(e)}get document(){return null}get index(){return this._index}get startOffset(){return this._startOffset}get offsetSize(){return 1}get endOffset(){return null===this.startOffset?null:this.startOffset+this.offsetSize}get nextSibling(){const e=this.index;return null!==e&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return null!==e&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const e=[];let t=this;for(;t.parent;)e.unshift(t.startOffset),t=t.parent;return e}getAncestors(e={}){const t=[];let o=e.includeSelf?this:this.parent;for(;o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}getCommonAncestor(e,t={}){const o=this.getAncestors(t),s=e.getAncestors(t);let i=0;for(;o[i]==s[i]&&o[i];)i++;return 0===i?null:o[i-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),o=e.getPath(),s=(0,f.ww)(t,o);switch(s){case"prefix":return!0;case"extension":return!1;default:return t[s]<o[s]}}isAfter(e){return this!=e&&(this.root===e.root&&!this.isBefore(e))}hasAttribute(e){return this._attrs.has(e)}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}toJSON(){const e={};return this._attrs.size&&(e.attributes=Array.from(this._attrs).reduce(((e,t)=>(e[t[0]]=t[1],e)),{})),e}_clone(e){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(e,t){this._attrs.set(e,t)}_setAttributesTo(e){this._attrs=(0,f.av)(e)}_removeAttribute(e){return this._attrs.delete(e)}_clearAttributes(){this._attrs.clear()}}Bt.prototype.is=function(e){return"node"===e||"model:node"===e};class Nt{constructor(e){this._nodes=[],this._offsetToNode=[],e&&this._insertNodes(0,e)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._offsetToNode.length}getNode(e){return this._nodes[e]||null}getNodeAtOffset(e){return this._offsetToNode[e]||null}getNodeIndex(e){return e.index}getNodeStartOffset(e){return e.startOffset}indexToOffset(e){if(e==this._nodes.length)return this.maxOffset;const t=this._nodes[e];if(!t)throw new f.Yb("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(t)}offsetToIndex(e){if(e==this._offsetToNode.length)return this._nodes.length;const t=this._offsetToNode[e];if(!t)throw new f.Yb("model-nodelist-offset-out-of-bounds",this,{offset:e,nodeList:this});return this.getNodeIndex(t)}_insertNodes(e,t){for(const e of t)if(!(e instanceof Bt))throw new f.Yb("model-nodelist-insertnodes-not-node",this);const o=Array.from(t),s=function(e){const t=[];for(const o of e){const e=t.length;t.length+=o.offsetSize,t.fill(o,e)}return t}(o);let i=this.indexToOffset(e);this._nodes=(0,f.eL)(this._nodes,o,e,0),this._offsetToNode=(0,f.eL)(this._offsetToNode,s,i,0);for(let t=e;t<this._nodes.length;t++)this._nodes[t]._index=t,this._nodes[t]._startOffset=i,i+=this._nodes[t].offsetSize}_removeNodes(e,t=1){if(0==t)return[];let o=this.indexToOffset(e);const s=this._nodes.splice(e,t),i=s[s.length-1],n=i.startOffset+i.offsetSize-o;this._offsetToNode.splice(o,n);for(const e of s)e._index=null,e._startOffset=null;for(let t=e;t<this._nodes.length;t++)this._nodes[t]._index=t,this._nodes[t]._startOffset=o,o+=this._nodes[t].offsetSize;return s}toJSON(){return this._nodes.map((e=>e.toJSON()))}}class Dt extends Bt{constructor(e,t){super(t),this._data=e||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const e=super.toJSON();return e.data=this.data,e}_clone(){return new Dt(this.data,this.getAttributes())}static fromJSON(e){return new Dt(e.data,e.attributes)}}Dt.prototype.is=function(e){return"$text"===e||"model:$text"===e||"text"===e||"model:text"===e||"node"===e||"model:node"===e};class Ft extends It{constructor(e,t,o){if(super(),this.textNode=e,t<0||t>e.offsetSize)throw new f.Yb("model-textproxy-wrong-offsetintext",this);if(o<0||t+o>e.offsetSize)throw new f.Yb("model-textproxy-wrong-length",this);this.data=e.data.substring(t,t+o),this.offsetInText=t}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const e=this.textNode.getPath();return e.length>0&&(e[e.length-1]+=this.offsetInText),e}getAncestors(e={}){const t=[];let o=e.includeSelf?this:this.parent;for(;o;)t[e.parentFirst?"push":"unshift"](o),o=o.parent;return t}hasAttribute(e){return this.textNode.hasAttribute(e)}getAttribute(e){return this.textNode.getAttribute(e)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Ft.prototype.is=function(e){return"$textProxy"===e||"model:$textProxy"===e||"textProxy"===e||"model:textProxy"===e};class Lt extends Bt{constructor(e,t,o){super(t),this._children=new Nt,this.name=e,o&&this._insertChild(0,o)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(e){return this._children.getNode(e)}getChildAtOffset(e){return this._children.getNodeAtOffset(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}offsetToIndex(e){return this._children.offsetToIndex(e)}getNodeByPath(e){let t=this;for(const o of e)t=t.getChildAtOffset(o);return t}findAncestor(e,t={}){let o=t.includeSelf?this:this.parent;for(;o;){if(o.name===e)return o;o=o.parent}return null}toJSON(){const e=super.toJSON();if(e.name=this.name,this._children.length>0){e.children=[];for(const t of this._children)e.children.push(t.toJSON())}return e}_clone(e=!1){const t=e?Array.from(this._children).map((e=>e._clone(!0))):void 0;return new Lt(this.name,this.getAttributes(),t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const o=function(e){if("string"==typeof e)return[new Dt(e)];(0,f.xZ)(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new Dt(e):e instanceof Ft?new Dt(e.data,e.getAttributes()):e))}(t);for(const e of o)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,o)}_removeChildren(e,t=1){const o=this._children._removeNodes(e,t);for(const e of o)e.parent=null;return o}static fromJSON(e){let t;if(e.children){t=[];for(const o of e.children)o.name?t.push(Lt.fromJSON(o)):t.push(Dt.fromJSON(o))}return new Lt(e.name,e.attributes,t)}}Lt.prototype.is=function(e,t){return t?t===this.name&&("element"===e||"model:element"===e):"element"===e||"model:element"===e||"node"===e||"model:node"===e};class zt{constructor(e){if(!e||!e.boundaries&&!e.startPosition)throw new f.Yb("model-tree-walker-no-start-position",null);const t=e.direction||"forward";if("forward"!=t&&"backward"!=t)throw new f.Yb("model-tree-walker-unknown-direction",e,{direction:t});this.direction=t,this.boundaries=e.boundaries||null,e.startPosition?this._position=e.startPosition.clone():this._position=$t._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(e){let t,o,s,i;do{s=this.position,i=this._visitedParent,({done:t,value:o}=this.next())}while(!t&&e(o));t||(this._position=s,this._visitedParent=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const e=this.position,t=this.position.clone(),o=this._visitedParent;if(null===o.parent&&t.offset===o.maxOffset)return{done:!0,value:void 0};if(o===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const s=Wt(t,o),i=s||qt(t,o,s);if(i instanceof Lt){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(t))return{done:!0,value:void 0};t.offset++}else t.path.push(0),this._visitedParent=i;return this._position=t,Ht("elementStart",i,e,t,1)}if(i instanceof Dt){let s;if(this.singleCharacters)s=1;else{let e=i.endOffset;this._boundaryEndParent==o&&this.boundaries.end.offset<e&&(e=this.boundaries.end.offset),s=e-t.offset}const n=t.offset-i.startOffset,r=new Ft(i,n,s);return t.offset+=s,this._position=t,Ht("text",r,e,t,s)}return t.path.pop(),t.offset++,this._position=t,this._visitedParent=o.parent,this.ignoreElementEnd?this._next():Ht("elementEnd",o,e,t)}_previous(){const e=this.position,t=this.position.clone(),o=this._visitedParent;if(null===o.parent&&0===t.offset)return{done:!0,value:void 0};if(o==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};const s=t.parent,i=Wt(t,s),n=i||Ut(t,s,i);if(n instanceof Lt)return t.offset--,this.shallow?(this._position=t,Ht("elementStart",n,e,t,1)):(t.path.push(n.maxOffset),this._position=t,this._visitedParent=n,this.ignoreElementEnd?this._previous():Ht("elementEnd",n,e,t));if(n instanceof Dt){let s;if(this.singleCharacters)s=1;else{let e=n.startOffset;this._boundaryStartParent==o&&this.boundaries.start.offset>e&&(e=this.boundaries.start.offset),s=t.offset-e}const i=t.offset-n.startOffset,r=new Ft(n,i-s,s);return t.offset-=s,this._position=t,Ht("text",r,e,t,s)}return t.path.pop(),this._position=t,this._visitedParent=o.parent,Ht("elementStart",o,e,t,1)}}function Ht(e,t,o,s,i){return{done:!1,value:{type:e,item:t,previousPosition:o,nextPosition:s,length:i}}}class $t extends It{constructor(e,t,o="toNone"){if(super(),!e.is("element")&&!e.is("documentFragment"))throw new f.Yb("model-position-root-invalid",e);if(!(t instanceof Array)||0===t.length)throw new f.Yb("model-position-path-incorrect-format",e,{path:t});e.is("rootElement")?t=t.slice():(t=[...e.getPath(),...t],e=e.root),this.root=e,this.path=t,this.stickiness=o}get offset(){return this.path[this.path.length-1]}set offset(e){this.path[this.path.length-1]=e}get parent(){let e=this.root;for(let t=0;t<this.path.length-1;t++)if(e=e.getChildAtOffset(this.path[t]),!e)throw new f.Yb("model-position-path-incorrect",this,{position:this});if(e.is("$text"))throw new f.Yb("model-position-path-incorrect",this,{position:this});return e}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){return Wt(this,this.parent)}get nodeAfter(){const e=this.parent;return qt(this,e,Wt(this,e))}get nodeBefore(){const e=this.parent;return Ut(this,e,Wt(this,e))}get isAtStart(){return 0===this.offset}get isAtEnd(){return this.offset==this.parent.maxOffset}isValid(){if(this.offset<0)return!1;let e=this.root;for(let t=0;t<this.path.length-1;t++)if(e=e.getChildAtOffset(this.path[t]),!e)return!1;return this.offset<=e.maxOffset}compareWith(e){if(this.root!=e.root)return"different";const t=(0,f.ww)(this.path,e.path);switch(t){case"same":return"same";case"prefix":return"before";case"extension":return"after";default:return this.path[t]<e.path[t]?"before":"after"}}getLastMatchingPosition(e,t={}){t.startPosition=this;const o=new zt(t);return o.skip(e),o.position}getParentPath(){return this.path.slice(0,-1)}getAncestors(){const e=this.parent;return e.is("documentFragment")?[e]:e.getAncestors({includeSelf:!0})}findAncestor(e){const t=this.parent;return t.is("element")?t.findAncestor(e,{includeSelf:!0}):null}getCommonPath(e){if(this.root!=e.root)return[];const t=(0,f.ww)(this.path,e.path),o="string"==typeof t?Math.min(this.path.length,e.path.length):t;return this.path.slice(0,o)}getCommonAncestor(e){const t=this.getAncestors(),o=e.getAncestors();let s=0;for(;t[s]==o[s]&&t[s];)s++;return 0===s?null:t[s-1]}getShiftedBy(e){const t=this.clone(),o=t.offset+e;return t.offset=o<0?0:o,t}isAfter(e){return"after"==this.compareWith(e)}isBefore(e){return"before"==this.compareWith(e)}isEqual(e){return"same"==this.compareWith(e)}isTouching(e){if(this.root!==e.root)return!1;const t=Math.min(this.path.length,e.path.length);for(let o=0;o<t;o++){const t=this.path[o]-e.path[o];if(t<-1||t>1)return!1;if(1===t)return Kt(e,this,o);if(-1===t)return Kt(this,e,o)}return this.path.length===e.path.length||(this.path.length>e.path.length?Yt(this.path,t):Yt(e.path,t))}hasSameParentAs(e){if(this.root!==e.root)return!1;const t=this.getParentPath(),o=e.getParentPath();return"same"==(0,f.ww)(t,o)}getTransformedByOperation(e){let t;switch(e.type){case"insert":t=this._getTransformedByInsertOperation(e);break;case"move":case"remove":case"reinsert":t=this._getTransformedByMoveOperation(e);break;case"split":t=this._getTransformedBySplitOperation(e);break;case"merge":t=this._getTransformedByMergeOperation(e);break;default:t=$t._createAt(this)}return t}_getTransformedByInsertOperation(e){return this._getTransformedByInsertion(e.position,e.howMany)}_getTransformedByMoveOperation(e){return this._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany)}_getTransformedBySplitOperation(e){const t=e.movedRange;return t.containsPosition(this)||t.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(e.splitPosition,e.moveTargetPosition):e.graveyardPosition?this._getTransformedByMove(e.graveyardPosition,e.insertionPosition,1):this._getTransformedByInsertion(e.insertionPosition,1)}_getTransformedByMergeOperation(e){const t=e.movedRange;let o;return t.containsPosition(this)||t.start.isEqual(this)?(o=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(o=o._getTransformedByDeletion(e.deletionPosition,1))):o=this.isEqual(e.deletionPosition)?$t._createAt(e.deletionPosition):this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),o}_getTransformedByDeletion(e,t){const o=$t._createAt(this);if(this.root!=e.root)return o;if("same"==(0,f.ww)(e.getParentPath(),this.getParentPath())){if(e.offset<this.offset){if(e.offset+t>this.offset)return null;o.offset-=t}}else if("prefix"==(0,f.ww)(e.getParentPath(),this.getParentPath())){const s=e.path.length-1;if(e.offset<=this.path[s]){if(e.offset+t>this.path[s])return null;o.path[s]-=t}}return o}_getTransformedByInsertion(e,t){const o=$t._createAt(this);if(this.root!=e.root)return o;if("same"==(0,f.ww)(e.getParentPath(),this.getParentPath()))(e.offset<this.offset||e.offset==this.offset&&"toPrevious"!=this.stickiness)&&(o.offset+=t);else if("prefix"==(0,f.ww)(e.getParentPath(),this.getParentPath())){const s=e.path.length-1;e.offset<=this.path[s]&&(o.path[s]+=t)}return o}_getTransformedByMove(e,t,o){if(t=t._getTransformedByDeletion(e,o),e.isEqual(t))return $t._createAt(this);const s=this._getTransformedByDeletion(e,o);return null===s||e.isEqual(this)&&"toNext"==this.stickiness||e.getShiftedBy(o).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(e,t):s._getTransformedByInsertion(t,o)}_getCombined(e,t){const o=e.path.length-1,s=$t._createAt(t);return s.stickiness=this.stickiness,s.offset=s.offset+this.path[o]-e.offset,s.path=[...s.path,...this.path.slice(o+1)],s}toJSON(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}clone(){return new this.constructor(this.root,this.path,this.stickiness)}static _createAt(e,t,o="toNone"){if(e instanceof $t)return new $t(e.root,e.path,e.stickiness);{const s=e;if("end"==t)t=s.maxOffset;else{if("before"==t)return this._createBefore(s,o);if("after"==t)return this._createAfter(s,o);if(0!==t&&!t)throw new f.Yb("model-createpositionat-offset-required",[this,e])}if(!s.is("element")&&!s.is("documentFragment"))throw new f.Yb("model-position-parent-incorrect",[this,e]);const i=s.getPath();return i.push(t),new this(s.root,i,o)}}static _createAfter(e,t){if(!e.parent)throw new f.Yb("model-position-after-root",[this,e],{root:e});return this._createAt(e.parent,e.endOffset,t)}static _createBefore(e,t){if(!e.parent)throw new f.Yb("model-position-before-root",e,{root:e});return this._createAt(e.parent,e.startOffset,t)}static fromJSON(e,t){if("$graveyard"===e.root){const o=new $t(t.graveyard,e.path);return o.stickiness=e.stickiness,o}if(!t.getRoot(e.root))throw new f.Yb("model-position-fromjson-no-root",t,{rootName:e.root});return new $t(t.getRoot(e.root),e.path,e.stickiness)}}function Wt(e,t){const o=t.getChildAtOffset(e.offset);return o&&o.is("$text")&&o.startOffset<e.offset?o:null}function qt(e,t,o){return null!==o?null:t.getChildAtOffset(e.offset)}function Ut(e,t,o){return null!==o?null:t.getChild(t.offsetToIndex(e.offset)-1)}function Kt(e,t,o){return o+1!==e.path.length&&(!!Yt(t.path,o+1)&&!!function(e,t){let o=e.parent,s=e.path.length-1,i=0;for(;s>=t;){if(e.path[s]+i!==o.maxOffset)return!1;i=1,s--,o=o.parent}return!0}(e,o+1))}function Yt(e,t){for(;t<e.length;){if(0!==e[t])return!1;t++}return!0}$t.prototype.is=function(e){return"position"===e||"model:position"===e};class Gt extends It{constructor(e,t){super(),this.start=$t._createAt(e),this.end=t?$t._createAt(t):$t._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new zt({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){const e=this.start.getParentPath(),t=this.end.getParentPath();return"same"==(0,f.ww)(e,t)}get root(){return this.start.root}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const o=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),s=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return o&&s}containsItem(e){const t=$t._createBefore(e);return this.containsPosition(t)||this.start.isEqual(t)}isEqual(e){return this.start.isEqual(e.start)&&this.end.isEqual(e.end)}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new Gt(this.start,e.start)),this.containsPosition(e.end)&&t.push(new Gt(e.end,this.end))):t.push(new Gt(this.start,this.end)),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,o=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(o=e.end),new Gt(t,o)}return null}getJoined(e,t=!1){let o=this.isIntersecting(e);if(o||(o=this.start.isBefore(e.start)?t?this.end.isTouching(e.start):this.end.isEqual(e.start):t?e.end.isTouching(this.start):e.end.isEqual(this.start)),!o)return null;let s=this.start,i=this.end;return e.start.isBefore(s)&&(s=e.start),e.end.isAfter(i)&&(i=e.end),new Gt(s,i)}getMinimalFlatRanges(){const e=[],t=this.start.getCommonPath(this.end).length,o=$t._createAt(this.start);let s=o.parent;for(;o.path.length>t+1;){const t=s.maxOffset-o.offset;0!==t&&e.push(new Gt(o,o.getShiftedBy(t))),o.path=o.path.slice(0,-1),o.offset++,s=s.parent}for(;o.path.length<=this.end.path.length;){const t=this.end.path[o.path.length-1],s=t-o.offset;0!==s&&e.push(new Gt(o,o.getShiftedBy(s))),o.offset=t,o.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new zt(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new zt(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new zt(e);yield t.position;for(const e of t)yield e.nextPosition}getTransformedByOperation(e){switch(e.type){case"insert":return this._getTransformedByInsertOperation(e);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(e);case"split":return[this._getTransformedBySplitOperation(e)];case"merge":return[this._getTransformedByMergeOperation(e)]}return[new Gt(this.start,this.end)]}getTransformedByOperations(e){const t=[new Gt(this.start,this.end)];for(const o of e)for(let e=0;e<t.length;e++){const s=t[e].getTransformedByOperation(o);t.splice(e,1,...s),e+=s.length-1}for(let e=0;e<t.length;e++){const o=t[e];for(let s=e+1;s<t.length;s++){const e=t[s];(o.containsRange(e)||e.containsRange(o)||o.isEqual(e))&&t.splice(s,1)}}return t}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;const e=this.start.nodeAfter,t=this.end.nodeBefore;return e&&e.is("element")&&e===t?e:null}toJSON(){return{start:this.start.toJSON(),end:this.end.toJSON()}}clone(){return new this.constructor(this.start,this.end)}_getTransformedByInsertOperation(e,t=!1){return this._getTransformedByInsertion(e.position,e.howMany,t)}_getTransformedByMoveOperation(e,t=!1){const o=e.sourcePosition,s=e.howMany,i=e.targetPosition;return this._getTransformedByMove(o,i,s,t)}_getTransformedBySplitOperation(e){const t=this.start._getTransformedBySplitOperation(e);let o=this.end._getTransformedBySplitOperation(e);return this.end.isEqual(e.insertionPosition)&&(o=this.end.getShiftedBy(1)),t.root!=o.root&&(o=this.end.getShiftedBy(-1)),new Gt(t,o)}_getTransformedByMergeOperation(e){if(this.start.isEqual(e.targetPosition)&&this.end.isEqual(e.deletionPosition))return new Gt(this.start);let t=this.start._getTransformedByMergeOperation(e),o=this.end._getTransformedByMergeOperation(e);return t.root!=o.root&&(o=this.end.getShiftedBy(-1)),t.isAfter(o)?(e.sourcePosition.isBefore(e.targetPosition)?(t=$t._createAt(o),t.offset=0):(e.deletionPosition.isEqual(t)||(o=e.deletionPosition),t=e.targetPosition),new Gt(t,o)):new Gt(t,o)}_getTransformedByInsertion(e,t,o=!1){if(o&&this.containsPosition(e))return[new Gt(this.start,e),new Gt(e.getShiftedBy(t),this.end._getTransformedByInsertion(e,t))];{const o=new Gt(this.start,this.end);return o.start=o.start._getTransformedByInsertion(e,t),o.end=o.end._getTransformedByInsertion(e,t),[o]}}_getTransformedByMove(e,t,o,s=!1){if(this.isCollapsed){const s=this.start._getTransformedByMove(e,t,o);return[new Gt(s)]}const i=Gt._createFromPositionAndShift(e,o),n=t._getTransformedByDeletion(e,o);if(this.containsPosition(t)&&!s&&(i.containsPosition(this.start)||i.containsPosition(this.end))){const s=this.start._getTransformedByMove(e,t,o),i=this.end._getTransformedByMove(e,t,o);return[new Gt(s,i)]}let r;const a=this.getDifference(i);let c=null;const l=this.getIntersection(i);if(1==a.length?c=new Gt(a[0].start._getTransformedByDeletion(e,o),a[0].end._getTransformedByDeletion(e,o)):2==a.length&&(c=new Gt(this.start,this.end._getTransformedByDeletion(e,o))),r=c?c._getTransformedByInsertion(n,o,null!==l||s):[],l){const e=new Gt(l.start._getCombined(i.start,n),l.end._getCombined(i.start,n));2==r.length?r.splice(1,0,e):r.push(e)}return r}_getTransformedByDeletion(e,t){let o=this.start._getTransformedByDeletion(e,t),s=this.end._getTransformedByDeletion(e,t);return null==o&&null==s?null:(null==o&&(o=e),null==s&&(s=e),new Gt(o,s))}static _createFromPositionAndShift(e,t){const o=e,s=e.getShiftedBy(t);return t>0?new this(o,s):new this(s,o)}static _createIn(e){return new this($t._createAt(e,0),$t._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift($t._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(0===e.length)throw new f.Yb("range-create-from-ranges-empty-array",null);if(1==e.length)return e[0].clone();const t=e[0];e.sort(((e,t)=>e.start.isAfter(t.start)?1:-1));const o=e.indexOf(t),s=new this(t.start,t.end);for(let t=o-1;t>=0&&e[t].end.isEqual(s.start);t--)s.start=$t._createAt(e[t].start);for(let t=o+1;t<e.length&&e[t].start.isEqual(s.end);t++)s.end=$t._createAt(e[t].end);return s}static fromJSON(e,t){return new this($t.fromJSON(e.start,t),$t.fromJSON(e.end,t))}}Gt.prototype.is=function(e){return"range"===e||"model:range"===e};class Zt extends((0,f.Mm)()){constructor(){super(),this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._viewToModelLengthCallbacks=new Map,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._deferredBindingRemovals=new Map,this._unboundMarkerNames=new Set,this.on("modelToViewPosition",((e,t)=>{if(t.viewPosition)return;const o=this._modelToViewMapping.get(t.modelPosition.parent);if(!o)throw new f.Yb("mapping-model-position-view-parent-not-found",this,{modelPosition:t.modelPosition});t.viewPosition=this.findPositionIn(o,t.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((e,t)=>{if(t.modelPosition)return;const o=this.findMappedViewAncestor(t.viewPosition),s=this._viewToModelMapping.get(o),i=this._toModelOffset(t.viewPosition.parent,t.viewPosition.offset,o);t.modelPosition=$t._createAt(s,i)}),{priority:"low"})}bindElements(e,t){this._modelToViewMapping.set(e,t),this._viewToModelMapping.set(t,e)}unbindViewElement(e,t={}){const o=this.toModelElement(e);if(this._elementToMarkerNames.has(e))for(const t of this._elementToMarkerNames.get(e))this._unboundMarkerNames.add(t);t.defer?this._deferredBindingRemovals.set(e,e.root):(this._viewToModelMapping.delete(e),this._modelToViewMapping.get(o)==e&&this._modelToViewMapping.delete(o))}unbindModelElement(e){const t=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(t)==e&&this._viewToModelMapping.delete(t)}bindElementToMarker(e,t){const o=this._markerNameToElements.get(t)||new Set;o.add(e);const s=this._elementToMarkerNames.get(e)||new Set;s.add(t),this._markerNameToElements.set(t,o),this._elementToMarkerNames.set(e,s)}unbindElementFromMarkerName(e,t){const o=this._markerNameToElements.get(t);o&&(o.delete(e),0==o.size&&this._markerNameToElements.delete(t));const s=this._elementToMarkerNames.get(e);s&&(s.delete(t),0==s.size&&this._elementToMarkerNames.delete(e))}flushUnboundMarkerNames(){const e=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),e}flushDeferredBindings(){for(const[e,t]of this._deferredBindingRemovals)e.root==t&&this.unbindViewElement(e);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(e){return this._viewToModelMapping.get(e)}toViewElement(e){return this._modelToViewMapping.get(e)}toModelRange(e){return new Gt(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new de(this.toViewPosition(e.start),this.toViewPosition(e.end))}toModelPosition(e){const t={viewPosition:e,mapper:this};return this.fire("viewToModelPosition",t),t.modelPosition}toViewPosition(e,t={}){const o={modelPosition:e,mapper:this,isPhantom:t.isPhantom};return this.fire("modelToViewPosition",o),o.viewPosition}markerNameToElements(e){const t=this._markerNameToElements.get(e);if(!t)return null;const o=new Set;for(const e of t)if(e.is("attributeElement"))for(const t of e.getElementsWithSameId())o.add(t);else o.add(e);return o}registerViewToModelLength(e,t){this._viewToModelLengthCallbacks.set(e,t)}findMappedViewAncestor(e){let t=e.parent;for(;!this._viewToModelMapping.has(t);)t=t.parent;return t}_toModelOffset(e,t,o){if(o!=e){return this._toModelOffset(e.parent,e.index,o)+this._toModelOffset(e,t,e)}if(e.is("$text"))return t;let s=0;for(let o=0;o<t;o++)s+=this.getModelLength(e.getChild(o));return s}getModelLength(e){if(this._viewToModelLengthCallbacks.get(e.name)){return this._viewToModelLengthCallbacks.get(e.name)(e)}if(this._viewToModelMapping.has(e))return 1;if(e.is("$text"))return e.data.length;if(e.is("uiElement"))return 0;{let t=0;for(const o of e.getChildren())t+=this.getModelLength(o);return t}}findPositionIn(e,t){let o,s=0,i=0,n=0;if(e.is("$text"))return new le(e,t);for(;i<t;)o=e.getChild(n),s=this.getModelLength(o),i+=s,n++;return i==t?this._moveViewPositionToTextNode(new le(e,n)):this.findPositionIn(o,t-(i-s))}_moveViewPositionToTextNode(e){const t=e.nodeBefore,o=e.nodeAfter;return t instanceof M?new le(t,t.data.length):o instanceof M?new le(o,0):e}}class Jt{constructor(){this._consumable=new Map,this._textProxyRegistry=new Map}add(e,t){t=Xt(t),e instanceof Ft&&(e=this._getSymbolForTextProxy(e)),this._consumable.has(e)||this._consumable.set(e,new Map),this._consumable.get(e).set(t,!0)}consume(e,t){return t=Xt(t),e instanceof Ft&&(e=this._getSymbolForTextProxy(e)),!!this.test(e,t)&&(this._consumable.get(e).set(t,!1),!0)}test(e,t){t=Xt(t),e instanceof Ft&&(e=this._getSymbolForTextProxy(e));const o=this._consumable.get(e);if(void 0===o)return null;const s=o.get(t);return void 0===s?null:s}revert(e,t){t=Xt(t),e instanceof Ft&&(e=this._getSymbolForTextProxy(e));const o=this.test(e,t);return!1===o?(this._consumable.get(e).set(t,!0),!0):!0!==o&&null}verifyAllConsumed(e){const t=[];for(const[o,s]of this._consumable)for(const[i,n]of s){const s=i.split(":")[0];n&&e==s&&t.push({event:i,item:o.name||o.description})}if(t.length)throw new f.Yb("conversion-model-consumable-not-consumed",null,{items:t})}_getSymbolForTextProxy(e){let t=null;const o=this._textProxyRegistry.get(e.startOffset);if(o){const s=o.get(e.endOffset);s&&(t=s.get(e.parent))}return t||(t=this._addSymbolForTextProxy(e)),t}_addSymbolForTextProxy(e){const t=e.startOffset,o=e.endOffset,s=e.parent,i=Symbol("$textProxy:"+e.data);let n,r;return n=this._textProxyRegistry.get(t),n||(n=new Map,this._textProxyRegistry.set(t,n)),r=n.get(o),r||(r=new Map,n.set(o,r)),r.set(s,i),i}}function Xt(e){const t=e.split(":");return"insert"==t[0]?t[0]:"addMarker"==t[0]||"removeMarker"==t[0]?e:t.length>1?t[0]+":"+t[1]:t[0]}class Qt extends((0,f.Mm)()){constructor(e){super(),this._conversionApi={dispatcher:this,...e},this._firedEventsMap=new WeakMap}convertChanges(e,t,o){const s=this._createConversionApi(o,e.getRefreshedItems());for(const t of e.getMarkersToRemove())this._convertMarkerRemove(t.name,t.range,s);const i=this._reduceChanges(e.getChanges());for(const e of i)"insert"===e.type?this._convertInsert(Gt._createFromPositionAndShift(e.position,e.length),s):"reinsert"===e.type?this._convertReinsert(Gt._createFromPositionAndShift(e.position,e.length),s):"remove"===e.type?this._convertRemove(e.position,e.length,e.name,s):this._convertAttribute(e.range,e.attributeKey,e.attributeOldValue,e.attributeNewValue,s);s.mapper.flushDeferredBindings();for(const e of s.mapper.flushUnboundMarkerNames()){const o=t.get(e).getRange();this._convertMarkerRemove(e,o,s),this._convertMarkerAdd(e,o,s)}for(const t of e.getMarkersToAdd())this._convertMarkerAdd(t.name,t.range,s);s.consumable.verifyAllConsumed("insert")}convert(e,t,o,s={}){const i=this._createConversionApi(o,void 0,s);this._convertInsert(e,i);for(const[e,o]of t)this._convertMarkerAdd(e,o,i);i.consumable.verifyAllConsumed("insert")}convertSelection(e,t,o){const s=this._createConversionApi(o);this.fire("cleanSelection",{selection:e},s);const i=e.getFirstPosition().root;if(!s.mapper.toViewElement(i))return;const n=Array.from(t.getMarkersAtPosition(e.getFirstPosition()));if(this._addConsumablesForSelection(s.consumable,e,n),this.fire("selection",{selection:e},s),e.isCollapsed){for(const t of n)if(s.consumable.test(e,"addMarker:"+t.name)){const o=t.getRange();if(!eo(e.getFirstPosition(),t,s.mapper))continue;const i={item:e,markerName:t.name,markerRange:o};this.fire(`addMarker:${t.name}`,i,s)}for(const t of e.getAttributeKeys())if(s.consumable.test(e,"attribute:"+t)){const o={item:e,range:e.getFirstRange(),attributeKey:t,attributeOldValue:null,attributeNewValue:e.getAttribute(t)};this.fire(`attribute:${t}:$text`,o,s)}}}_convertInsert(e,t,o={}){o.doNotAddConsumables||this._addConsumablesForInsert(t.consumable,e);for(const o of Array.from(e.getWalker({shallow:!0})).map(to))this._testAndFire("insert",o,t)}_convertRemove(e,t,o,s){this.fire(`remove:${o}`,{position:e,length:t},s)}_convertAttribute(e,t,o,s,i){this._addConsumablesForRange(i.consumable,e,`attribute:${t}`);for(const n of e){const e={item:n.item,range:Gt._createFromPositionAndShift(n.previousPosition,n.length),attributeKey:t,attributeOldValue:o,attributeNewValue:s};this._testAndFire(`attribute:${t}`,e,i)}}_convertReinsert(e,t){const o=Array.from(e.getWalker({shallow:!0}));this._addConsumablesForInsert(t.consumable,o);for(const e of o.map(to))this._testAndFire("insert",{...e,reconversion:!0},t)}_convertMarkerAdd(e,t,o){if("$graveyard"==t.root.rootName)return;const s=`addMarker:${e}`;if(o.consumable.add(t,s),this.fire(s,{markerName:e,markerRange:t},o),o.consumable.consume(t,s)){this._addConsumablesForRange(o.consumable,t,s);for(const i of t.getItems()){if(!o.consumable.test(i,s))continue;const n={item:i,range:Gt._createOn(i),markerName:e,markerRange:t};this.fire(s,n,o)}}}_convertMarkerRemove(e,t,o){"$graveyard"!=t.root.rootName&&this.fire(`removeMarker:${e}`,{markerName:e,markerRange:t},o)}_reduceChanges(e){const t={changes:e};return this.fire("reduceChanges",t),t.changes}_addConsumablesForInsert(e,t){for(const o of t){const t=o.item;if(null===e.test(t,"insert")){e.add(t,"insert");for(const o of t.getAttributeKeys())e.add(t,"attribute:"+o)}}return e}_addConsumablesForRange(e,t,o){for(const s of t.getItems())e.add(s,o);return e}_addConsumablesForSelection(e,t,o){e.add(t,"selection");for(const s of o)e.add(t,"addMarker:"+s.name);for(const o of t.getAttributeKeys())e.add(t,"attribute:"+o);return e}_testAndFire(e,t,o){const s=function(e,t){const o=t.item.is("element")?t.item.name:"$text";return`${e}:${o}`}(e,t),i=t.item.is("$textProxy")?o.consumable._getSymbolForTextProxy(t.item):t.item,n=this._firedEventsMap.get(o),r=n.get(i);if(r){if(r.has(s))return;r.add(s)}else n.set(i,new Set([s]));this.fire(s,t,o)}_testAndFireAddAttributes(e,t){const o={item:e,range:Gt._createOn(e)};for(const e of o.item.getAttributeKeys())o.attributeKey=e,o.attributeOldValue=null,o.attributeNewValue=o.item.getAttribute(e),this._testAndFire(`attribute:${e}`,o,t)}_createConversionApi(e,t=new Set,o={}){const s={...this._conversionApi,consumable:new Jt,writer:e,options:o,convertItem:e=>this._convertInsert(Gt._createOn(e),s),convertChildren:e=>this._convertInsert(Gt._createIn(e),s,{doNotAddConsumables:!0}),convertAttributes:e=>this._testAndFireAddAttributes(e,s),canReuseView:e=>!t.has(s.mapper.toModelElement(e))};return this._firedEventsMap.set(s,new Map),s}}function eo(e,t,o){const s=t.getRange(),i=Array.from(e.getAncestors());i.shift(),i.reverse();return!i.some((e=>{if(s.containsItem(e)){return!!o.toViewElement(e).getCustomProperty("addHighlight")}}))}function to(e){return{item:e.item,range:Gt._createFromPositionAndShift(e.previousPosition,e.length)}}class oo extends((0,f.Mm)(It)){constructor(...e){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],e.length&&this.setTo(...e)}get anchor(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.end:e.start}return null}get focus(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.start:e.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(e){if(this.rangeCount!=e.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let o=!1;for(const s of e._ranges)if(t.isEqual(s)){o=!0;break}if(!o)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new Gt(e.start,e.end)}getFirstRange(){let e=null;for(const t of this._ranges)e&&!t.start.isBefore(e.start)||(e=t);return e?new Gt(e.start,e.end):null}getLastRange(){let e=null;for(const t of this._ranges)e&&!t.end.isAfter(e.end)||(e=t);return e?new Gt(e.start,e.end):null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}setTo(...e){let[t,o,s]=e;if("object"==typeof o&&(s=o,o=void 0),null===t)this._setRanges([]);else if(t instanceof oo)this._setRanges(t.getRanges(),t.isBackward);else if(t&&"function"==typeof t.getRanges)this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof Gt)this._setRanges([t],!!s&&!!s.backward);else if(t instanceof $t)this._setRanges([new Gt(t)]);else if(t instanceof Bt){const e=!!s&&!!s.backward;let i;if("in"==o)i=Gt._createIn(t);else if("on"==o)i=Gt._createOn(t);else{if(void 0===o)throw new f.Yb("model-selection-setto-required-second-parameter",[this,t]);i=new Gt($t._createAt(t,o))}this._setRanges([i],e)}else{if(!(0,f.xZ)(t))throw new f.Yb("model-selection-setto-not-selectable",[this,t]);this._setRanges(t,s&&!!s.backward)}}_setRanges(e,t=!1){const o=Array.from(e),s=o.some((t=>{if(!(t instanceof Gt))throw new f.Yb("model-selection-set-ranges-not-range",[this,e]);return this._ranges.every((e=>!e.isEqual(t)))}));(o.length!==this._ranges.length||s)&&(this._replaceAllRanges(o),this._lastRangeBackward=!!t,this.fire("change:range",{directChange:!0}))}setFocus(e,t){if(null===this.anchor)throw new f.Yb("model-selection-setfocus-no-ranges",[this,e]);const o=$t._createAt(e,t);if("same"==o.compareWith(this.focus))return;const s=this.anchor;this._ranges.length&&this._popRange(),"before"==o.compareWith(s)?(this._pushRange(new Gt(o,s)),this._lastRangeBackward=!0):(this._pushRange(new Gt(s,o)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(e){return this._attrs.has(e)}removeAttribute(e){this.hasAttribute(e)&&(this._attrs.delete(e),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}setAttribute(e,t){this.getAttribute(e)!==t&&(this._attrs.set(e,t),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const e=new WeakSet;for(const t of this.getRanges()){const o=no(t.start,e);ao(o,t)&&(yield o);for(const o of t.getWalker()){const s=o.item;"elementEnd"==o.type&&io(s,e,t)&&(yield s)}const s=no(t.end,e);co(s,t)&&(yield s)}}containsEntireContent(e=this.anchor.root){const t=$t._createAt(e,0),o=$t._createAt(e,"end");return t.isTouching(this.getFirstPosition())&&o.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new Gt(e.start,e.end))}_checkRange(e){for(let t=0;t<this._ranges.length;t++)if(e.isIntersecting(this._ranges[t]))throw new f.Yb("model-selection-range-intersects",[this,e],{addedRange:e,intersectingRange:this._ranges[t]})}_replaceAllRanges(e){this._removeAllRanges();for(const t of e)this._pushRange(t)}_removeAllRanges(){for(;this._ranges.length>0;)this._popRange()}_popRange(){this._ranges.pop()}}function so(e,t){return!t.has(e)&&(t.add(e),e.root.document.model.schema.isBlock(e)&&!!e.parent)}function io(e,t,o){return so(e,t)&&ro(e,o)}function no(e,t){const o=e.parent.root.document.model.schema,s=e.parent.getAncestors({parentFirst:!0,includeSelf:!0});let i=!1;const n=s.find((e=>!i&&(i=o.isLimit(e),!i&&so(e,t))));return s.forEach((e=>t.add(e))),n}function ro(e,t){const o=function(e){const t=e.root.document.model.schema;let o=e.parent;for(;o;){if(t.isBlock(o))return o;o=o.parent}}(e);if(!o)return!0;return!t.containsRange(Gt._createOn(o),!0)}function ao(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.start.isTouching($t._createAt(e,e.maxOffset))&&ro(e,t))}function co(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.end.isTouching($t._createAt(e,0))&&ro(e,t))}oo.prototype.is=function(e){return"selection"===e||"model:selection"===e};class lo extends((0,f.Mm)(Gt)){constructor(e,t){super(e,t),ho.call(this)}detach(){this.stopListening()}toRange(){return new Gt(this.start,this.end)}static fromRange(e){return new lo(e.start,e.end)}}function ho(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&uo.call(this,o)}),{priority:"low"})}function uo(e){const t=this.getTransformedByOperation(e),o=Gt._createFromRanges(t),s=!o.isEqual(this),i=function(e,t){switch(t.type){case"insert":return e.containsPosition(t.position);case"move":case"remove":case"reinsert":case"merge":return e.containsPosition(t.sourcePosition)||e.start.isEqual(t.sourcePosition)||e.containsPosition(t.targetPosition);case"split":return e.containsPosition(t.splitPosition)||e.containsPosition(t.insertionPosition)}return!1}(this,e);let n=null;if(s){"$graveyard"==o.root.rootName&&(n="remove"==e.type?e.sourcePosition:e.deletionPosition);const t=this.toRange();this.start=o.start,this.end=o.end,this.fire("change:range",t,{deletionPosition:n})}else i&&this.fire("change:content",this.toRange(),{deletionPosition:n})}lo.prototype.is=function(e){return"liveRange"===e||"model:liveRange"===e||"range"==e||"model:range"===e};const mo="selection:";class po extends((0,f.Mm)(It)){constructor(e){super(),this._selection=new fo(e),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(e){return this._selection.containsEntireContent(e)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(e){return this._selection.getAttribute(e)}hasAttribute(e){return this._selection.hasAttribute(e)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(e){this._selection.observeMarkers(e)}_setFocus(e,t){this._selection.setFocus(e,t)}_setTo(...e){this._selection.setTo(...e)}_setAttribute(e,t){this._selection.setAttribute(e,t)}_removeAttribute(e){this._selection.removeAttribute(e)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(e){this._selection.restoreGravity(e)}static _getStoreAttributeKey(e){return mo+e}static _isStoreAttributeKey(e){return e.startsWith(mo)}}po.prototype.is=function(e){return"selection"===e||"model:selection"==e||"documentSelection"==e||"model:documentSelection"==e};class fo extends oo{constructor(e){super(),this.markers=new f.pM({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=e.model,this._document=e,this.listenTo(this._model,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&"marker"!=o.type&&"rename"!=o.type&&"noop"!=o.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))}),{priority:"lowest"}),this.on("change:range",(()=>{this._validateSelectionRanges(this.getRanges())})),this.listenTo(this._model.markers,"update",((e,t,o,s)=>{this._updateMarker(t,s)})),this.listenTo(this._document,"change",((e,t)=>{!function(e,t){const o=e.document.differ;for(const s of o.getChanges()){if("insert"!=s.type)continue;const o=s.position.parent;s.length===o.maxOffset&&e.enqueueChange(t,(e=>{const t=Array.from(o.getAttributeKeys()).filter((e=>e.startsWith(mo)));for(const s of t)e.removeAttribute(s,o)}))}}(this._model,t)}))}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let e=0;e<this._ranges.length;e++)this._ranges[e].detach();this.stopListening()}*getRanges(){this._ranges.length?yield*super.getRanges():yield this._document._getDefaultRange()}getFirstRange(){return super.getFirstRange()||this._document._getDefaultRange()}getLastRange(){return super.getLastRange()||this._document._getDefaultRange()}setTo(...e){super.setTo(...e),this._updateAttributes(!0),this.updateMarkers()}setFocus(e,t){super.setFocus(e,t),this._updateAttributes(!0),this.updateMarkers()}setAttribute(e,t){if(this._setAttribute(e,t)){const t=[e];this.fire("change:attribute",{attributeKeys:t,directChange:!0})}}removeAttribute(e){if(this._removeAttribute(e)){const t=[e];this.fire("change:attribute",{attributeKeys:t,directChange:!0})}}overrideGravity(){const e=(0,f.Ld)();return this._overriddenGravityRegister.add(e),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),e}restoreGravity(e){if(!this._overriddenGravityRegister.has(e))throw new f.Yb("document-selection-gravity-wrong-restore",this,{uid:e});this._overriddenGravityRegister.delete(e),this.isGravityOverridden||this._updateAttributes(!0)}observeMarkers(e){this._observedMarkers.add(e),this.updateMarkers()}_replaceAllRanges(e){this._validateSelectionRanges(e),super._replaceAllRanges(e)}_popRange(){this._ranges.pop().detach()}_pushRange(e){const t=this._prepareRange(e);t&&this._ranges.push(t)}_validateSelectionRanges(e){for(const t of e)if(!this._document._validateSelectionRange(t))throw new f.Yb("document-selection-wrong-position",this,{range:t})}_prepareRange(e){if(this._checkRange(e),e.root==this._document.graveyard)return;const t=lo.fromRange(e);return t.on("change:range",((e,o,s)=>{if(this._hasChangedRange=!0,t.root==this._document.graveyard){this._selectionRestorePosition=s.deletionPosition;const e=this._ranges.indexOf(t);this._ranges.splice(e,1),t.detach()}})),t}updateMarkers(){if(!this._observedMarkers.size)return;const e=[];let t=!1;for(const t of this._model.markers){const o=t.name.split(":",1)[0];if(!this._observedMarkers.has(o))continue;const s=t.getRange();for(const o of this.getRanges())s.containsRange(o,!o.isCollapsed)&&e.push(t)}const o=Array.from(this.markers);for(const o of e)this.markers.has(o)||(this.markers.add(o),t=!0);for(const o of Array.from(this.markers))e.includes(o)||(this.markers.remove(o),t=!0);t&&this.fire("change:marker",{oldMarkers:o,directChange:!1})}_updateMarker(e,t){const o=e.name.split(":",1)[0];if(!this._observedMarkers.has(o))return;let s=!1;const i=Array.from(this.markers),n=this.markers.has(e);if(t){let o=!1;for(const e of this.getRanges())if(t.containsRange(e,!e.isCollapsed)){o=!0;break}o&&!n?(this.markers.add(e),s=!0):!o&&n&&(this.markers.remove(e),s=!0)}else n&&(this.markers.remove(e),s=!0);s&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateAttributes(e){const t=(0,f.av)(this._getSurroundingAttributes()),o=(0,f.av)(this.getAttributes());if(e)this._attributePriority=new Map,this._attrs=new Map;else for(const[e,t]of this._attributePriority)"low"==t&&(this._attrs.delete(e),this._attributePriority.delete(e));this._setAttributesTo(t);const s=[];for(const[e,t]of this.getAttributes())o.has(e)&&o.get(e)===t||s.push(e);for(const[e]of o)this.hasAttribute(e)||s.push(e);s.length>0&&this.fire("change:attribute",{attributeKeys:s,directChange:!1})}_setAttribute(e,t,o=!0){const s=o?"normal":"low";if("low"==s&&"normal"==this._attributePriority.get(e))return!1;return super.getAttribute(e)!==t&&(this._attrs.set(e,t),this._attributePriority.set(e,s),!0)}_removeAttribute(e,t=!0){const o=t?"normal":"low";return("low"!=o||"normal"!=this._attributePriority.get(e))&&(this._attributePriority.set(e,o),!!super.hasAttribute(e)&&(this._attrs.delete(e),!0))}_setAttributesTo(e){const t=new Set;for(const[t,o]of this.getAttributes())e.get(t)!==o&&this._removeAttribute(t,!1);for(const[o,s]of e){this._setAttribute(o,s,!1)&&t.add(o)}return t}*getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const t of e.getAttributeKeys())if(t.startsWith(mo)){const o=t.substr(10);yield[o,e.getAttribute(t)]}}_getSurroundingAttributes(){const e=this.getFirstPosition(),t=this._model.schema;if("$graveyard"==e.root.rootName)return null;let o=null;if(this.isCollapsed){const s=e.textNode?e.textNode:e.nodeBefore,i=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(o=go(s,t)),o||(o=go(i,t)),!this.isGravityOverridden&&!o){let e=s;for(;e&&!o;)e=e.previousSibling,o=go(e,t)}if(!o){let e=i;for(;e&&!o;)e=e.nextSibling,o=go(e,t)}o||(o=this.getStoredAttributes())}else{const e=this.getFirstRange();for(const s of e){if(s.item.is("element")&&t.isObject(s.item)){o=go(s.item,t);break}if("text"==s.type){o=s.item.getAttributes();break}}}return o}_fixGraveyardSelection(e){const t=this._model.schema.getNearestSelectionRange(e);t&&this._pushRange(t)}}function go(e,t){if(!e)return null;if(e instanceof Ft||e instanceof Dt)return e.getAttributes();if(!t.isInline(e))return null;if(!t.isObject(e))return[];const o=[];for(const[s,i]of e.getAttributes())t.checkAttribute("$text",s)&&!1!==t.getAttributeProperties(s).copyFromObject&&o.push([s,i]);return o}class _o{constructor(e){this._dispatchers=e}add(e){for(const t of this._dispatchers)e(t);return this}}class bo extends _o{elementToElement(e){return this.add(function(e){const t=xo(e.model),o=Co(e.view,"container");t.attributes.length&&(t.children=!0);return s=>{s.on(`insert:${t.name}`,vo(o,Mo(t)),{priority:e.converterPriority||"normal"}),(t.children||t.attributes.length)&&s.on("reduceChanges",So(t),{priority:"low"})}}(e))}elementToStructure(e){return this.add(function(e){const t=xo(e.model),o=Co(e.view,"container");return t.children=!0,s=>{if(s._conversionApi.schema.checkChild(t.name,"$text"))throw new f.Yb("conversion-element-to-structure-disallowed-text",s,{elementName:t.name});var i,n;s.on(`insert:${t.name}`,(i=o,n=Mo(t),(e,t,o)=>{if(!n(t.item,o.consumable,{preflight:!0}))return;const s=new Map;o.writer._registerSlotFactory(function(e,t,o){return(s,i)=>{const n=s.createContainerElement("$slot");let r=null;if("children"===i)r=Array.from(e.getChildren());else{if("function"!=typeof i)throw new f.Yb("conversion-slot-mode-unknown",o.dispatcher,{modeOrFilter:i});r=Array.from(e.getChildren()).filter((e=>i(e)))}return t.set(n,r),n}}(t.item,s,o));const r=i(t.item,o,t);if(o.writer._clearSlotFactory(),!r)return;!function(e,t,o){const s=Array.from(t.values()).flat(),i=new Set(s);if(i.size!=s.length)throw new f.Yb("conversion-slot-filter-overlap",o.dispatcher,{element:e});if(i.size!=e.childCount)throw new f.Yb("conversion-slot-filter-incomplete",o.dispatcher,{element:e})}(t.item,s,o),n(t.item,o.consumable);const a=o.mapper.toViewPosition(t.range.start);o.mapper.bindElements(t.item,r),o.writer.insert(a,r),o.convertAttributes(t.item),function(e,t,o,s){o.mapper.on("modelToViewPosition",r,{priority:"highest"});let i=null,n=null;for([i,n]of t)Oo(e,n,o,s),o.writer.move(o.writer.createRangeIn(i),o.writer.createPositionBefore(i)),o.writer.remove(i);function r(e,t){const o=t.modelPosition.nodeAfter,s=n.indexOf(o);s<0||(t.viewPosition=t.mapper.findPositionIn(i,s))}o.mapper.off("modelToViewPosition",r)}(r,s,o,{reconversion:t.reconversion})}),{priority:e.converterPriority||"normal"}),s.on("reduceChanges",So(t),{priority:"low"})}}(e))}attributeToElement(e){return this.add(function(e){e=(0,Rt.A)(e);let t=e.model;"string"==typeof t&&(t={key:t});let o=`attribute:${t.key}`;t.name&&(o+=":"+t.name);if(t.values)for(const o of t.values)e.view[o]=Co(e.view[o],"attribute");else e.view=Co(e.view,"attribute");const s=Eo(e);return t=>{t.on(o,wo(s),{priority:e.converterPriority||"normal"})}}(e))}attributeToAttribute(e){return this.add(function(e){e=(0,Rt.A)(e);let t=e.model;"string"==typeof t&&(t={key:t});let o=`attribute:${t.key}`;t.name&&(o+=":"+t.name);if(t.values)for(const o of t.values)e.view[o]=Po(e.view[o]);else e.view=Po(e.view);const s=Eo(e);return t=>{var i;t.on(o,(i=s,(e,t,o)=>{if(!o.consumable.test(t.item,e.name))return;const s=i(t.attributeOldValue,o,t),n=i(t.attributeNewValue,o,t);if(!s&&!n)return;o.consumable.consume(t.item,e.name);const r=o.mapper.toViewElement(t.item),a=o.writer;if(!r)throw new f.Yb("conversion-attribute-to-attribute-on-text",o.dispatcher,t);if(null!==t.attributeOldValue&&s)if("class"==s.key){const e="string"==typeof s.value?s.value.split(/\s+/):s.value;for(const t of e)a.removeClass(t,r)}else if("style"==s.key)if("string"==typeof s.value){const e=new J(a.document.stylesProcessor);e.setTo(s.value);for(const[t]of e.getStylesEntries())a.removeStyle(t,r)}else{const e=Object.keys(s.value);for(const t of e)a.removeStyle(t,r)}else a.removeAttribute(s.key,r);if(null!==t.attributeNewValue&&n)if("class"==n.key){const e="string"==typeof n.value?n.value.split(/\s+/):n.value;for(const t of e)a.addClass(t,r)}else if("style"==n.key)if("string"==typeof n.value){const e=new J(a.document.stylesProcessor);e.setTo(n.value);for(const[t,o]of e.getStylesEntries())a.setStyle(t,o,r)}else{const e=Object.keys(n.value);for(const t of e)a.setStyle(t,n.value[t],r)}else a.setAttribute(n.key,n.value,r)}),{priority:e.converterPriority||"normal"})}}(e))}markerToElement(e){return this.add(function(e){const t=Co(e.view,"ui");return o=>{o.on(`addMarker:${e.model}`,yo(t),{priority:e.converterPriority||"normal"}),o.on(`removeMarker:${e.model}`,((e,t,o)=>{const s=o.mapper.markerNameToElements(t.markerName);if(s){for(const e of s)o.mapper.unbindElementFromMarkerName(e,t.markerName),o.writer.clear(o.writer.createRangeOn(e),e);o.writer.clearClonedElementsGroup(t.markerName),e.stop()}}),{priority:e.converterPriority||"normal"})}}(e))}markerToHighlight(e){return this.add(function(e){return t=>{var o;t.on(`addMarker:${e.model}`,(o=e.view,(e,t,s)=>{if(!t.item)return;if(!(t.item instanceof oo||t.item instanceof po||t.item.is("$textProxy")))return;const i=To(o,t,s);if(!i)return;if(!s.consumable.consume(t.item,e.name))return;const n=s.writer,r=ko(n,i),a=n.document.selection;if(t.item instanceof oo||t.item instanceof po)n.wrap(a.getFirstRange(),r);else{const e=s.mapper.toViewRange(t.range),o=n.wrap(e,r);for(const e of o.getItems())if(e.is("attributeElement")&&e.isSimilar(r)){s.mapper.bindElementToMarker(e,t.markerName);break}}}),{priority:e.converterPriority||"normal"}),t.on(`addMarker:${e.model}`,function(e){return(t,o,s)=>{if(!o.item)return;if(!(o.item instanceof Lt))return;const i=To(e,o,s);if(!i)return;if(!s.consumable.test(o.item,t.name))return;const n=s.mapper.toViewElement(o.item);if(n&&n.getCustomProperty("addHighlight")){s.consumable.consume(o.item,t.name);for(const e of Gt._createIn(o.item))s.consumable.consume(e.item,t.name);n.getCustomProperty("addHighlight")(n,i,s.writer),s.mapper.bindElementToMarker(n,o.markerName)}}}(e.view),{priority:e.converterPriority||"normal"}),t.on(`removeMarker:${e.model}`,function(e){return(t,o,s)=>{if(o.markerRange.isCollapsed)return;const i=To(e,o,s);if(!i)return;const n=ko(s.writer,i),r=s.mapper.markerNameToElements(o.markerName);if(r){for(const e of r)if(s.mapper.unbindElementFromMarkerName(e,o.markerName),e.is("attributeElement"))s.writer.unwrap(s.writer.createRangeOn(e),n);else{e.getCustomProperty("removeHighlight")(e,i.id,s.writer)}s.writer.clearClonedElementsGroup(o.markerName),t.stop()}}}(e.view),{priority:e.converterPriority||"normal"})}}(e))}markerToData(e){return this.add(function(e){e=(0,Rt.A)(e);const t=e.model;let o=e.view;o||(o=o=>({group:t,name:o.substr(e.model.length+1)}));return s=>{var i;s.on(`addMarker:${t}`,(i=o,(e,t,o)=>{const s=i(t.markerName,o);if(!s)return;const n=t.markerRange;o.consumable.consume(n,e.name)&&(Ao(n,!1,o,t,s),Ao(n,!0,o,t,s),e.stop())}),{priority:e.converterPriority||"normal"}),s.on(`removeMarker:${t}`,function(e){return(t,o,s)=>{const i=e(o.markerName,s);if(!i)return;const n=s.mapper.markerNameToElements(o.markerName);if(n){for(const e of n)s.mapper.unbindElementFromMarkerName(e,o.markerName),e.is("containerElement")?(r(`data-${i.group}-start-before`,e),r(`data-${i.group}-start-after`,e),r(`data-${i.group}-end-before`,e),r(`data-${i.group}-end-after`,e)):s.writer.clear(s.writer.createRangeOn(e),e);s.writer.clearClonedElementsGroup(o.markerName),t.stop()}function r(e,t){if(t.hasAttribute(e)){const o=new Set(t.getAttribute(e).split(","));o.delete(i.name),0==o.size?s.writer.removeAttribute(e,t):s.writer.setAttribute(e,Array.from(o).join(","),t)}}}}(o),{priority:e.converterPriority||"normal"})}}(e))}}function ko(e,t){const o=e.createAttributeElement("span",t.attributes);return t.classes&&o._addClass(t.classes),"number"==typeof t.priority&&(o._priority=t.priority),o._id=t.id,o}function wo(e){return(t,o,s)=>{if(!s.consumable.test(o.item,t.name))return;const i=e(o.attributeOldValue,s,o),n=e(o.attributeNewValue,s,o);if(!i&&!n)return;s.consumable.consume(o.item,t.name);const r=s.writer,a=r.document.selection;if(o.item instanceof oo||o.item instanceof po)r.wrap(a.getFirstRange(),n);else{let e=s.mapper.toViewRange(o.range);null!==o.attributeOldValue&&i&&(e=r.unwrap(e,i)),null!==o.attributeNewValue&&n&&r.wrap(e,n)}}}function vo(e,t=Ro){return(o,s,i)=>{if(!t(s.item,i.consumable,{preflight:!0}))return;const n=e(s.item,i,s);if(!n)return;t(s.item,i.consumable);const r=i.mapper.toViewPosition(s.range.start);i.mapper.bindElements(s.item,n),i.writer.insert(r,n),i.convertAttributes(s.item),Oo(n,s.item.getChildren(),i,{reconversion:s.reconversion})}}function yo(e){return(t,o,s)=>{o.isOpening=!0;const i=e(o,s);o.isOpening=!1;const n=e(o,s);if(!i||!n)return;const r=o.markerRange;if(r.isCollapsed&&!s.consumable.consume(r,t.name))return;for(const e of r)if(!s.consumable.consume(e.item,t.name))return;const a=s.mapper,c=s.writer;c.insert(a.toViewPosition(r.start),i),s.mapper.bindElementToMarker(i,o.markerName),r.isCollapsed||(c.insert(a.toViewPosition(r.end),n),s.mapper.bindElementToMarker(n,o.markerName)),t.stop()}}function Ao(e,t,o,s,i){const n=t?e.start:e.end,r=n.nodeAfter&&n.nodeAfter.is("element")?n.nodeAfter:null,a=n.nodeBefore&&n.nodeBefore.is("element")?n.nodeBefore:null;if(r||a){let e,n;t&&r||!t&&!a?(e=r,n=!0):(e=a,n=!1);const c=o.mapper.toViewElement(e);if(c)return void function(e,t,o,s,i,n){const r=`data-${n.group}-${t?"start":"end"}-${o?"before":"after"}`,a=e.hasAttribute(r)?e.getAttribute(r).split(","):[];a.unshift(n.name),s.writer.setAttribute(r,a.join(","),e),s.mapper.bindElementToMarker(e,i.markerName)}(c,t,n,o,s,i)}!function(e,t,o,s,i){const n=`${i.group}-${t?"start":"end"}`,r=i.name?{name:i.name}:null,a=o.writer.createUIElement(n,r);o.writer.insert(e,a),o.mapper.bindElementToMarker(a,s.markerName)}(o.mapper.toViewPosition(n),t,o,s,i)}function xo(e){return"string"==typeof e&&(e={name:e}),{name:e.name,attributes:e.attributes?(0,f.$r)(e.attributes):[],children:!!e.children}}function Co(e,t){return"function"==typeof e?e:(o,s)=>function(e,t,o){"string"==typeof e&&(e={name:e});let s;const i=t.writer,n=Object.assign({},e.attributes);if("container"==o)s=i.createContainerElement(e.name,n);else if("attribute"==o){const t={priority:e.priority||ye.DEFAULT_PRIORITY};s=i.createAttributeElement(e.name,n,t)}else s=i.createUIElement(e.name,n);if(e.styles){const t=Object.keys(e.styles);for(const o of t)i.setStyle(o,e.styles[o],s)}if(e.classes){const t=e.classes;if("string"==typeof t)i.addClass(t,s);else for(const e of t)i.addClass(e,s)}return s}(e,s,t)}function Eo(e){return e.model.values?(t,o,s)=>{const i=e.view[t];return i?i(t,o,s):null}:e.view}function Po(e){return"string"==typeof e?t=>({key:e,value:t}):"object"==typeof e?e.value?()=>e:t=>({key:e.key,value:t}):e}function To(e,t,o){const s="function"==typeof e?e(t,o):e;return s?(s.priority||(s.priority=10),s.id||(s.id=t.markerName),s):null}function So(e){const t=function(e){return(t,o)=>{if(!t.is("element",e.name))return!1;if("attribute"==o.type){if(e.attributes.includes(o.attributeKey))return!0}else if(e.children)return!0;return!1}}(e);return(e,o)=>{const s=[];o.reconvertedElements||(o.reconvertedElements=new Set);for(const e of o.changes){const i="attribute"==e.type?e.range.start.nodeAfter:e.position.parent;if(i&&t(i,e)){if(!o.reconvertedElements.has(i)){o.reconvertedElements.add(i);const e=$t._createBefore(i);let t=s.length;for(let o=s.length-1;o>=0;o--){const i=s[o],n=("attribute"==i.type?i.range.start:i.position).compareWith(e);if("before"==n||"remove"==i.type&&"same"==n)break;t=o}s.splice(t,0,{type:"remove",name:i.name,position:e,length:1},{type:"reinsert",name:i.name,position:e,length:1})}}else s.push(e)}o.changes=s}}function Mo(e){return(t,o,s={})=>{const i=["insert"];for(const o of e.attributes)t.hasAttribute(o)&&i.push(`attribute:${o}`);return!!i.every((e=>o.test(t,e)))&&(s.preflight||i.forEach((e=>o.consume(t,e))),!0)}}function Oo(e,t,o,s){for(const i of t)Vo(e.root,i,o,s)||o.convertItem(i)}function Vo(e,t,o,s){const{writer:i,mapper:n}=o;if(!s.reconversion)return!1;const r=n.toViewElement(t);return!(!r||r.root==e)&&(!!o.canReuseView(r)&&(i.move(i.createRangeOn(r),n.toViewPosition($t._createBefore(t))),!0))}function Ro(e,t,{preflight:o}={}){return o?t.test(e,"insert"):t.consume(e,"insert")}function jo(e){const{schema:t,document:o}=e.model;for(const s of o.getRoots())if(s.isEmpty&&!t.checkChild(s,"$text")&&t.checkChild(s,"paragraph"))return e.insertElement("paragraph",s),!0;return!1}function Io(e,t,o){const s=o.createContext(e);return!!o.checkChild(s,"paragraph")&&!!o.checkChild(s.push("paragraph"),t)}function Bo(e,t){const o=t.createElement("paragraph");return t.insert(o,e),t.createPositionAt(o,0)}class No extends _o{elementToElement(e){return this.add(Do(e))}elementToAttribute(e){return this.add(function(e){e=(0,Rt.A)(e),zo(e);const t=Ho(e,!1),o=Fo(e.view),s=o?`element:${o}`:"element";return o=>{o.on(s,t,{priority:e.converterPriority||"low"})}}(e))}attributeToAttribute(e){return this.add(function(e){e=(0,Rt.A)(e);let t=null;("string"==typeof e.view||e.view.key)&&(t=function(e){"string"==typeof e.view&&(e.view={key:e.view});const t=e.view.key,o=void 0===e.view.value?/[\s\S]*/:e.view.value;let s;if("class"==t||"style"==t){const e="class"==t?"classes":"styles";s={[e]:o}}else s={attributes:{[t]:o}};e.view.name&&(s.name=e.view.name);return e.view=s,t}(e));zo(e,t);const o=Ho(e,!0);return t=>{t.on("element",o,{priority:e.converterPriority||"low"})}}(e))}elementToMarker(e){return this.add(function(e){const t=function(e){return(t,o)=>{const s="string"==typeof e?e:e(t,o);return o.writer.createElement("$marker",{"data-name":s})}}(e.model);return Do({...e,model:t})}(e))}dataToMarker(e){return this.add(function(e){e=(0,Rt.A)(e),e.model||(e.model=t=>t?e.view+":"+t:e.view);const t={view:e.view,model:e.model},o=Lo($o(t,"start")),s=Lo($o(t,"end"));return i=>{i.on(`element:${e.view}-start`,o,{priority:e.converterPriority||"normal"}),i.on(`element:${e.view}-end`,s,{priority:e.converterPriority||"normal"});const n=f.vx.low,r=f.vx.highest,a=f.vx.get(e.converterPriority)/r;i.on("element",function(e){return(t,o,s)=>{const i=`data-${e.view}`;function n(t,i){for(const n of i){const i=e.model(n,s),r=s.writer.createElement("$marker",{"data-name":i});s.writer.insert(r,t),o.modelCursor.isEqual(t)?o.modelCursor=o.modelCursor.getShiftedBy(1):o.modelCursor=o.modelCursor._getTransformedByInsertion(t,1),o.modelRange=o.modelRange._getTransformedByInsertion(t,1)[0]}}(s.consumable.test(o.viewItem,{attributes:i+"-end-after"})||s.consumable.test(o.viewItem,{attributes:i+"-start-after"})||s.consumable.test(o.viewItem,{attributes:i+"-end-before"})||s.consumable.test(o.viewItem,{attributes:i+"-start-before"}))&&(o.modelRange||Object.assign(o,s.convertChildren(o.viewItem,o.modelCursor)),s.consumable.consume(o.viewItem,{attributes:i+"-end-after"})&&n(o.modelRange.end,o.viewItem.getAttribute(i+"-end-after").split(",")),s.consumable.consume(o.viewItem,{attributes:i+"-start-after"})&&n(o.modelRange.end,o.viewItem.getAttribute(i+"-start-after").split(",")),s.consumable.consume(o.viewItem,{attributes:i+"-end-before"})&&n(o.modelRange.start,o.viewItem.getAttribute(i+"-end-before").split(",")),s.consumable.consume(o.viewItem,{attributes:i+"-start-before"})&&n(o.modelRange.start,o.viewItem.getAttribute(i+"-start-before").split(",")))}}(t),{priority:n+a})}}(e))}}function Do(e){const t=Lo(e=(0,Rt.A)(e)),o=Fo(e.view),s=o?`element:${o}`:"element";return o=>{o.on(s,t,{priority:e.converterPriority||"normal"})}}function Fo(e){return"string"==typeof e?e:"object"==typeof e&&"string"==typeof e.name?e.name:null}function Lo(e){const t=new R(e.view);return(o,s,i)=>{const n=t.match(s.viewItem);if(!n)return;const r=n.match;if(r.name=!0,!i.consumable.test(s.viewItem,r))return;const a=function(e,t,o){return e instanceof Function?e(t,o):o.writer.createElement(e)}(e.model,s.viewItem,i);a&&i.safeInsert(a,s.modelCursor)&&(i.consumable.consume(s.viewItem,r),i.convertChildren(s.viewItem,a),i.updateConversionResult(a,s))}}function zo(e,t=null){const o=null===t||(e=>e.getAttribute(t)),s="object"!=typeof e.model?e.model:e.model.key,i="object"!=typeof e.model||void 0===e.model.value?o:e.model.value;e.model={key:s,value:i}}function Ho(e,t){const o=new R(e.view);return(s,i,n)=>{if(!i.modelRange&&t)return;const r=o.match(i.viewItem);if(!r)return;if(!function(e,t){const o="function"==typeof e?e(t):e;if("object"==typeof o&&!Fo(o))return!1;return!o.classes&&!o.attributes&&!o.styles}(e.view,i.viewItem)?delete r.match.name:r.match.name=!0,!n.consumable.test(i.viewItem,r.match))return;const a=e.model.key,c="function"==typeof e.model.value?e.model.value(i.viewItem,n):e.model.value;if(null===c)return;i.modelRange||Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor));const l=function(e,t,o,s){let i=!1;for(const n of Array.from(e.getItems({shallow:o})))s.schema.checkAttribute(n,t.key)&&(i=!0,n.hasAttribute(t.key)||s.writer.setAttribute(t.key,t.value,n));return i}(i.modelRange,{key:a,value:c},t,n);l&&(n.consumable.test(i.viewItem,{name:!0})&&(r.match.name=!0),n.consumable.consume(i.viewItem,r.match))}}function $o(e,t){return{view:`${e.view}-${t}`,model:(t,o)=>{const s=t.getAttribute("name"),i=e.model(s,o);return o.writer.createElement("$marker",{"data-name":i})}}}function Wo(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.selection,s=t.schema,i=[];let n=!1;for(const e of o.getRanges()){const t=qo(e,s);t&&!t.isEqual(e)?(i.push(t),n=!0):i.push(e)}n&&e.setSelection(function(e){const t=[...e],o=new Set;let s=1;for(;s<t.length;){const e=t[s],i=t.slice(0,s);for(const[n,r]of i.entries())if(!o.has(n))if(e.isEqual(r))o.add(n);else if(e.isIntersecting(r)){o.add(n),o.add(s);const i=e.getJoined(r);t.push(i)}s++}return t.filter(((e,t)=>!o.has(t)))}(i),{backward:o.isBackward});return!1}(t,e)))}function qo(e,t){return e.isCollapsed?function(e,t){const o=e.start,s=t.getNearestSelectionRange(o);if(!s){const e=o.getAncestors().reverse().find((e=>t.isObject(e)));return e?Gt._createOn(e):null}if(!s.isCollapsed)return s;const i=s.start;if(o.isEqual(i))return null;return new Gt(i)}(e,t):function(e,t){const{start:o,end:s}=e,i=t.checkChild(o,"$text"),n=t.checkChild(s,"$text"),r=t.getLimitElement(o),a=t.getLimitElement(s);if(r===a){if(i&&n)return null;if(function(e,t,o){const s=e.nodeAfter&&!o.isLimit(e.nodeAfter)||o.checkChild(e,"$text"),i=t.nodeBefore&&!o.isLimit(t.nodeBefore)||o.checkChild(t,"$text");return s||i}(o,s,t)){const e=o.nodeAfter&&t.isSelectable(o.nodeAfter)?null:t.getNearestSelectionRange(o,"forward"),i=s.nodeBefore&&t.isSelectable(s.nodeBefore)?null:t.getNearestSelectionRange(s,"backward"),n=e?e.start:o,r=i?i.end:s;return new Gt(n,r)}}const c=r&&!r.is("rootElement"),l=a&&!a.is("rootElement");if(c||l){const e=o.nodeAfter&&s.nodeBefore&&o.nodeAfter.parent===s.nodeBefore.parent,i=c&&(!e||!Ko(o.nodeAfter,t)),n=l&&(!e||!Ko(s.nodeBefore,t));let d=o,h=s;return i&&(d=$t._createBefore(Uo(r,t))),n&&(h=$t._createAfter(Uo(a,t))),new Gt(d,h)}return null}(e,t)}function Uo(e,t){let o=e,s=o;for(;t.isLimit(s)&&s.parent;)o=s,s=s.parent;return o}function Ko(e,t){return e&&t.isSelectable(e)}class Yo extends((0,f.VM)()){constructor(e,t){super(),this.model=e,this.view=new jt(t),this.mapper=new Zt,this.downcastDispatcher=new Qt({mapper:this.mapper,schema:e.schema});const o=this.model.document,s=o.selection,i=this.model.markers;var n,r,a;this.listenTo(this.model,"_beforeChanges",(()=>{this.view._disableRendering(!0)}),{priority:"highest"}),this.listenTo(this.model,"_afterChanges",(()=>{this.view._disableRendering(!1)}),{priority:"lowest"}),this.listenTo(o,"change",(()=>{this.view.change((e=>{this.downcastDispatcher.convertChanges(o.differ,i,e),this.downcastDispatcher.convertSelection(s,i,e)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(e,t){return(o,s)=>{const i=s.newSelection,n=[];for(const e of i.getRanges())n.push(t.toModelRange(e));const r=e.createSelection(n,{backward:i.isBackward});r.isEqual(e.document.selection)||e.change((e=>{e.setSelection(r)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(n=this.mapper,r=this.model.schema,a=this.view,(e,t)=>{if(!a.document.isComposing||f._K.isAndroid)for(let e=0;e<t.targetRanges.length;e++){const o=t.targetRanges[e],s=n.toModelRange(o),i=qo(s,r);i&&!i.isEqual(s)&&(t.targetRanges[e]=n.toViewRange(i))}}),{priority:"high"}),this.downcastDispatcher.on("insert:$text",((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const s=o.writer,i=o.mapper.toViewPosition(t.range.start),n=s.createText(t.item.data);s.insert(i,n)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,o)=>{o.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||o.convertChildren(t.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((e,t,o)=>{const s=o.mapper.toViewPosition(t.position),i=t.position.getShiftedBy(t.length),n=o.mapper.toViewPosition(i,{isPhantom:!0}),r=o.writer.createRange(s,n),a=o.writer.remove(r.getTrimmed());for(const e of o.writer.createRangeIn(a).getItems())o.mapper.unbindViewElement(e,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("cleanSelection",((e,t,o)=>{const s=o.writer,i=s.document.selection;for(const e of i.getRanges())e.isCollapsed&&e.end.parent.isAttached()&&o.writer.mergeAttributes(e.start);s.setSelection(null)})),this.downcastDispatcher.on("selection",((e,t,o)=>{const s=t.selection;if(s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=[];for(const e of s.getRanges())i.push(o.mapper.toViewRange(e));o.writer.setSelection(i,{backward:s.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((e,t,o)=>{const s=t.selection;if(!s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=o.writer,n=s.getFirstPosition(),r=o.mapper.toViewPosition(n),a=i.breakAttributes(r);i.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((e=>{if("$graveyard"==e.rootName)return null;const t=new ae(this.view.document,e.name);return t.rootName=e.rootName,this.mapper.bindElements(e,t),t}))}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(e){const t="string"==typeof e?e:e.name,o=this.model.markers.get(t);if(!o)throw new f.Yb("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:t});this.model.change((()=>{this.model.markers._refresh(o)}))}reconvertItem(e){this.model.change((()=>{this.model.document.differ._refreshItem(e)}))}}class Go{constructor(){this._consumables=new Map}add(e,t){let o;e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):(this._consumables.has(e)?o=this._consumables.get(e):(o=new Jo(e),this._consumables.set(e,o)),o.add(t))}test(e,t){const o=this._consumables.get(e);return void 0===o?null:e.is("$text")||e.is("documentFragment")?o:o.test(t)}consume(e,t){return!!this.test(e,t)&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!1):this._consumables.get(e).consume(t),!0)}revert(e,t){const o=this._consumables.get(e);void 0!==o&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):o.revert(t))}static consumablesFromElement(e){const t={element:e,name:!0,attributes:[],classes:[],styles:[]},o=e.getAttributeKeys();for(const e of o)"style"!=e&&"class"!=e&&t.attributes.push(e);const s=e.getClassNames();for(const e of s)t.classes.push(e);const i=e.getStyleNames();for(const e of i)t.styles.push(e);return t}static createFrom(e,t){if(t||(t=new Go),e.is("$text"))return t.add(e),t;e.is("element")&&t.add(e,Go.consumablesFromElement(e)),e.is("documentFragment")&&t.add(e);for(const o of e.getChildren())t=Go.createFrom(o,t);return t}}const Zo=["attributes","classes","styles"];class Jo{constructor(e){this.element=e,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(e){e.name&&(this._canConsumeName=!0);for(const t of Zo)t in e&&this._add(t,e[t])}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const t of Zo)if(t in e){const o=this._test(t,e[t]);if(!0!==o)return o}return!0}consume(e){e.name&&(this._canConsumeName=!1);for(const t of Zo)t in e&&this._consume(t,e[t])}revert(e){e.name&&(this._canConsumeName=!0);for(const t of Zo)t in e&&this._revert(t,e[t])}_add(e,t){const o=(0,f.$r)(t),s=this._consumables[e];for(const t of o){if("attributes"===e&&("class"===t||"style"===t))throw new f.Yb("viewconsumable-invalid-attribute",this);if(s.set(t,!0),"styles"===e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))s.set(e,!0)}}_test(e,t){const o=(0,f.$r)(t),s=this._consumables[e];for(const t of o)if("attributes"!==e||"class"!==t&&"style"!==t){const e=s.get(t);if(void 0===e)return null;if(!e)return!1}else{const e="class"==t?"classes":"styles",o=this._test(e,[...this._consumables[e].keys()]);if(!0!==o)return o}return!0}_consume(e,t){const o=(0,f.$r)(t),s=this._consumables[e];for(const t of o)if("attributes"!==e||"class"!==t&&"style"!==t){if(s.set(t,!1),"styles"==e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))s.set(e,!1)}else{const e="class"==t?"classes":"styles";this._consume(e,[...this._consumables[e].keys()])}}_revert(e,t){const o=(0,f.$r)(t),s=this._consumables[e];for(const t of o)if("attributes"!==e||"class"!==t&&"style"!==t){!1===s.get(t)&&s.set(t,!0)}else{const e="class"==t?"classes":"styles";this._revert(e,[...this._consumables[e].keys()])}}}class Xo extends((0,f.VM)()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties=Object.create(null),this._customChildChecks=new Map,this._customAttributeChecks=new Map,this._genericCheckSymbol=Symbol("$generic"),this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((e,t)=>{t[0]=new Qo(t[0])}),{priority:"highest"}),this.on("checkChild",((e,t)=>{t[0]=new Qo(t[0]),t[1]=this.getDefinition(t[1])}),{priority:"highest"})}register(e,t){if(this._sourceDefinitions[e])throw new f.Yb("schema-cannot-register-item-twice",this,{itemName:e});this._sourceDefinitions[e]=[Object.assign({},t)],this._clearCache()}extend(e,t){if(!this._sourceDefinitions[e])throw new f.Yb("schema-cannot-extend-missing-item",this,{itemName:e});this._sourceDefinitions[e].push(Object.assign({},t)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(e){let t;return t="string"==typeof e?e:"is"in e&&(e.is("$text")||e.is("$textProxy"))?"$text":e.name,this.getDefinitions()[t]}isRegistered(e){return!!this.getDefinition(e)}isBlock(e){const t=this.getDefinition(e);return!(!t||!t.isBlock)}isLimit(e){const t=this.getDefinition(e);return!!t&&!(!t.isLimit&&!t.isObject)}isObject(e){const t=this.getDefinition(e);return!!t&&!!(t.isObject||t.isLimit&&t.isSelectable&&t.isContent)}isInline(e){const t=this.getDefinition(e);return!(!t||!t.isInline)}isSelectable(e){const t=this.getDefinition(e);return!!t&&!(!t.isSelectable&&!t.isObject)}isContent(e){const t=this.getDefinition(e);return!!t&&!(!t.isContent&&!t.isObject)}checkChild(e,t){return!!t&&this._checkContextMatch(e,t)}checkAttribute(e,t){const o=this.getDefinition(e.last);if(!o)return!1;const s=this._evaluateAttributeChecks(e,t);return void 0!==s?s:o.allowAttributes.includes(t)}checkMerge(e,t){if(e instanceof $t){const t=e.nodeBefore,o=e.nodeAfter;if(!(t instanceof Lt))throw new f.Yb("schema-check-merge-no-element-before",this);if(!(o instanceof Lt))throw new f.Yb("schema-check-merge-no-element-after",this);return this.checkMerge(t,o)}if(this.isLimit(e)||this.isLimit(t))return!1;for(const o of t.getChildren())if(!this.checkChild(e,o))return!1;return!0}addChildCheck(e,t){const o=void 0!==t?t:this._genericCheckSymbol,s=this._customChildChecks.get(o)||[];s.push(e),this._customChildChecks.set(o,s)}addAttributeCheck(e,t){const o=void 0!==t?t:this._genericCheckSymbol,s=this._customAttributeChecks.get(o)||[];s.push(e),this._customAttributeChecks.set(o,s)}setAttributeProperties(e,t){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),t)}getAttributeProperties(e){return this._attributeProperties[e]||Object.create(null)}getLimitElement(e){let t;if(e instanceof $t)t=e.parent;else{t=(e instanceof Gt?[e]:Array.from(e.getRanges())).reduce(((e,t)=>{const o=t.getCommonAncestor();return e?e.getCommonAncestor(o,{includeSelf:!0}):o}),null)}for(;!this.isLimit(t)&&t.parent;)t=t.parent;return t}checkAttributeInSelection(e,t){if(e.isCollapsed){const o=[...e.getFirstPosition().getAncestors(),new Dt("",e.getAttributes())];return this.checkAttribute(o,t)}{const o=e.getRanges();for(const e of o)for(const o of e)if(this.checkAttribute(o.item,t))return!0}return!1}*getValidRanges(e,t){e=function*(e){for(const t of e)yield*t.getMinimalFlatRanges()}(e);for(const o of e)yield*this._getValidRangesForRange(o,t)}getNearestSelectionRange(e,t="both"){if("$graveyard"==e.root.rootName)return null;if(this.checkChild(e,"$text"))return new Gt(e);let o,s;const i=e.getAncestors().reverse().find((e=>this.isLimit(e)))||e.root;"both"!=t&&"backward"!=t||(o=new zt({boundaries:Gt._createIn(i),startPosition:e,direction:"backward"})),"both"!=t&&"forward"!=t||(s=new zt({boundaries:Gt._createIn(i),startPosition:e}));for(const e of function*(e,t){let o=!1;for(;!o;){if(o=!0,e){const t=e.next();t.done||(o=!1,yield{walker:e,value:t.value})}if(t){const e=t.next();e.done||(o=!1,yield{walker:t,value:e.value})}}}(o,s)){const t=e.walker==o?"elementEnd":"elementStart",s=e.value;if(s.type==t&&this.isObject(s.item))return Gt._createOn(s.item);if(this.checkChild(s.nextPosition,"$text"))return new Gt(s.nextPosition)}return null}findAllowedParent(e,t){let o=e.parent;for(;o;){if(this.checkChild(o,t))return o;if(this.isLimit(o))return null;o=o.parent}return null}setAllowedAttributes(e,t,o){const s=o.model;for(const[i,n]of Object.entries(t))s.schema.checkAttribute(e,i)&&o.setAttribute(i,n,e)}removeDisallowedAttributes(e,t){for(const o of e)if(o.is("$text"))us(this,o,t);else{const e=Gt._createIn(o).getPositions();for(const o of e){us(this,o.nodeBefore||o.parent,t)}}}getAttributesWithProperty(e,t,o){const s={};for(const[i,n]of e.getAttributes()){const e=this.getAttributeProperties(i);void 0!==e[t]&&(void 0!==o&&o!==e[t]||(s[i]=n))}return s}createContext(e){return new Qo(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},t=this._sourceDefinitions,o=Object.keys(t);for(const s of o)e[s]=es(t[s],s);const s=Object.values(e);for(const t of s)ts(e,t),os(e,t),ss(e,t),is(e,t);for(const t of s)ns(e,t);for(const t of s)rs(e,t);for(const t of s)as(e,t);for(const t of s)cs(e,t);for(const t of s)ls(e,t);this._compiledDefinitions=function(e){const t={};for(const o of Object.values(e))t[o.name]={name:o.name,isBlock:!!o.isBlock,isContent:!!o.isContent,isInline:!!o.isInline,isLimit:!!o.isLimit,isObject:!!o.isObject,isSelectable:!!o.isSelectable,allowIn:Array.from(o.allowIn).filter((t=>!!e[t])),allowChildren:Array.from(o.allowChildren).filter((t=>!!e[t])),allowAttributes:Array.from(o.allowAttributes)};return t}(e)}_checkContextMatch(e,t){const o=e.last;let s=this._evaluateChildChecks(e,t);if(s=void 0!==s?s:t.allowIn.includes(o.name),!s)return!1;const i=this.getDefinition(o),n=e.trimLast();return!!i&&(0==n.length||this._checkContextMatch(n,i))}_evaluateChildChecks(e,t){const o=this._customChildChecks.get(this._genericCheckSymbol)||[],s=this._customChildChecks.get(t.name)||[];for(const i of[...o,...s]){const o=i(e,t);if(void 0!==o)return o}}_evaluateAttributeChecks(e,t){const o=this._customAttributeChecks.get(this._genericCheckSymbol)||[],s=this._customAttributeChecks.get(t)||[];for(const i of[...o,...s]){const o=i(e,t);if(void 0!==o)return o}}*_getValidRangesForRange(e,t){let o=e.start,s=e.start;for(const i of e.getItems({shallow:!0}))i.is("element")&&(yield*this._getValidRangesForRange(Gt._createIn(i),t)),this.checkAttribute(i,t)||(o.isEqual(s)||(yield new Gt(o,s)),o=$t._createAfter(i)),s=$t._createAfter(i);o.isEqual(s)||(yield new Gt(o,s))}findOptimalInsertionRange(e,t){const o=e.getSelectedElement();if(o&&this.isObject(o)&&!this.isInline(o))return"before"==t||"after"==t?new Gt($t._createAt(o,t)):Gt._createOn(o);const s=(0,f.$1)(e.getSelectedBlocks());if(!s)return new Gt(e.focus);if(s.isEmpty)return new Gt($t._createAt(s,0));const i=$t._createAfter(s);return e.focus.isTouching(i)?new Gt(i):new Gt($t._createBefore(s))}}class Qo{constructor(e){if(e instanceof Qo)return e;let t;t="string"==typeof e?[e]:Array.isArray(e)?e:e.getAncestors({includeSelf:!0}),this._items=t.map(hs)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(e){const t=new Qo([e]);return t._items=[...this._items,...t._items],t}trimLast(){const e=new Qo([]);return e._items=this._items.slice(0,-1),e}getItem(e){return this._items[e]}*getNames(){yield*this._items.map((e=>e.name))}endsWith(e){return Array.from(this.getNames()).join(" ").endsWith(e)}startsWith(e){return Array.from(this.getNames()).join(" ").startsWith(e)}}function es(e,t){const o={name:t,allowIn:new Set,allowChildren:new Set,disallowIn:new Set,disallowChildren:new Set,allowContentOf:new Set,allowWhere:new Set,allowAttributes:new Set,disallowAttributes:new Set,allowAttributesOf:new Set,inheritTypesFrom:new Set};return function(e,t){for(const o of e){const e=Object.keys(o).filter((e=>e.startsWith("is")));for(const s of e)t[s]=!!o[s]}}(e,o),ds(e,o,"allowIn"),ds(e,o,"allowChildren"),ds(e,o,"disallowIn"),ds(e,o,"disallowChildren"),ds(e,o,"allowContentOf"),ds(e,o,"allowWhere"),ds(e,o,"allowAttributes"),ds(e,o,"disallowAttributes"),ds(e,o,"allowAttributesOf"),ds(e,o,"inheritTypesFrom"),function(e,t){for(const o of e){const e=o.inheritAllFrom;e&&(t.allowContentOf.add(e),t.allowWhere.add(e),t.allowAttributesOf.add(e),t.inheritTypesFrom.add(e))}}(e,o),o}function ts(e,t){for(const o of t.allowIn){const s=e[o];s?s.allowChildren.add(t.name):t.allowIn.delete(o)}}function os(e,t){for(const o of t.allowChildren){const s=e[o];s?s.allowIn.add(t.name):t.allowChildren.delete(o)}}function ss(e,t){for(const o of t.disallowIn){const s=e[o];s?s.disallowChildren.add(t.name):t.disallowIn.delete(o)}}function is(e,t){for(const o of t.disallowChildren){const s=e[o];s?s.disallowIn.add(t.name):t.disallowChildren.delete(o)}}function ns(e,t){for(const e of t.disallowChildren)t.allowChildren.delete(e);for(const e of t.disallowIn)t.allowIn.delete(e);for(const e of t.disallowAttributes)t.allowAttributes.delete(e)}function rs(e,t){for(const o of t.allowContentOf){const s=e[o];s&&(s.disallowChildren.forEach((o=>{t.allowChildren.has(o)||(t.disallowChildren.add(o),e[o].disallowIn.add(t.name))})),s.allowChildren.forEach((o=>{t.disallowChildren.has(o)||(t.allowChildren.add(o),e[o].allowIn.add(t.name))})))}}function as(e,t){for(const o of t.allowWhere){const s=e[o];s&&(s.disallowIn.forEach((o=>{t.allowIn.has(o)||(t.disallowIn.add(o),e[o].disallowChildren.add(t.name))})),s.allowIn.forEach((o=>{t.disallowIn.has(o)||(t.allowIn.add(o),e[o].allowChildren.add(t.name))})))}}function cs(e,t){for(const o of t.allowAttributesOf){const s=e[o];if(!s)return;s.allowAttributes.forEach((e=>{t.disallowAttributes.has(e)||t.allowAttributes.add(e)}))}}function ls(e,t){for(const o of t.inheritTypesFrom){const s=e[o];if(s){const e=Object.keys(s).filter((e=>e.startsWith("is")));for(const o of e)o in t||(t[o]=s[o])}}}function ds(e,t,o){for(const s of e){let e=s[o];"string"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach((e=>t[o].add(e)))}}function hs(e){return"string"==typeof e||e.is("documentFragment")?{name:"string"==typeof e?e:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:e.is("element")?e.name:"$text",*getAttributeKeys(){yield*e.getAttributeKeys()},getAttribute:t=>e.getAttribute(t)}}function us(e,t,o){for(const s of t.getAttributeKeys())e.checkAttribute(t,s)||o.removeAttribute(s,t)}class ms extends((0,f.Mm)()){constructor(e){super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi={...e,consumable:null,writer:null,store:null,convertItem:(e,t)=>this._convertItem(e,t),convertChildren:(e,t)=>this._convertChildren(e,t),safeInsert:(e,t)=>this._safeInsert(e,t),updateConversionResult:(e,t)=>this._updateConversionResult(e,t),splitToAllowedParent:(e,t)=>this._splitToAllowedParent(e,t),getSplitParts:e=>this._getSplitParts(e),keepEmptyElement:e=>this._keepEmptyElement(e)}}convert(e,t,o=["$root"]){this.fire("viewCleanup",e),this._modelCursor=function(e,t){let o;for(const s of new Qo(e)){const e={};for(const t of s.getAttributeKeys())e[t]=s.getAttribute(t);const i=t.createElement(s.name,e);o&&t.insert(i,o),o=$t._createAt(i,0)}return o}(o,t),this.conversionApi.writer=t,this.conversionApi.consumable=Go.createFrom(e),this.conversionApi.store={};const{modelRange:s}=this._convertItem(e,this._modelCursor),i=t.createDocumentFragment();if(s){this._removeEmptyElements();for(const e of Array.from(this._modelCursor.parent.getChildren()))t.append(e,i);i.markers=function(e,t){const o=new Set,s=new Map,i=Gt._createIn(e).getItems();for(const e of i)e.is("element","$marker")&&o.add(e);for(const e of o){const o=e.getAttribute("data-name"),i=t.createPositionBefore(e);s.has(o)?s.get(o).end=i.clone():s.set(o,new Gt(i.clone())),t.remove(e)}return s}(i,t)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,i}_convertItem(e,t){const o={viewItem:e,modelCursor:t,modelRange:null};if(e.is("element")?this.fire(`element:${e.name}`,o,this.conversionApi):e.is("$text")?this.fire("text",o,this.conversionApi):this.fire("documentFragment",o,this.conversionApi),o.modelRange&&!(o.modelRange instanceof Gt))throw new f.Yb("view-conversion-dispatcher-incorrect-result",this);return{modelRange:o.modelRange,modelCursor:o.modelCursor}}_convertChildren(e,t){let o=t.is("position")?t:$t._createAt(t,0);const s=new Gt(o);for(const t of Array.from(e.getChildren())){const e=this._convertItem(t,o);e.modelRange instanceof Gt&&(s.end=e.modelRange.end,o=e.modelCursor)}return{modelRange:s,modelCursor:o}}_safeInsert(e,t){const o=this._splitToAllowedParent(e,t);return!!o&&(this.conversionApi.writer.insert(e,o.position),!0)}_updateConversionResult(e,t){const o=this._getSplitParts(e),s=this.conversionApi.writer;t.modelRange||(t.modelRange=s.createRange(s.createPositionBefore(e),s.createPositionAfter(o[o.length-1])));const i=this._cursorParents.get(e);t.modelCursor=i?s.createPositionAt(i,0):t.modelRange.end}_splitToAllowedParent(e,t){const{schema:o,writer:s}=this.conversionApi;let i=o.findAllowedParent(t,e);if(i){if(i===t.parent)return{position:t};this._modelCursor.parent.getAncestors().includes(i)&&(i=null)}if(!i)return Io(t,e,o)?{position:Bo(t,s)}:null;const n=this.conversionApi.writer.split(t,i),r=[];for(const e of n.range.getWalker())if("elementEnd"==e.type)r.push(e.item);else{const t=r.pop(),o=e.item;this._registerSplitPair(t,o)}const a=n.range.end.parent;return this._cursorParents.set(e,a),{position:n.position,cursorParent:a}}_registerSplitPair(e,t){this._splitParts.has(e)||this._splitParts.set(e,[e]);const o=this._splitParts.get(e);this._splitParts.set(t,o),o.push(t)}_getSplitParts(e){let t;return t=this._splitParts.has(e)?this._splitParts.get(e):[e],t}_keepEmptyElement(e){this._emptyElementsToKeep.add(e)}_removeEmptyElements(){let e=!1;for(const t of this._splitParts.keys())t.isEmpty&&!this._emptyElementsToKeep.has(t)&&(this.conversionApi.writer.remove(t),this._splitParts.delete(t),e=!0);e&&this._removeEmptyElements()}}class ps{getHtml(e){const t=f.Sf.document.implementation.createHTMLDocument("").createElement("div");return t.appendChild(e),t.innerHTML}}class fs{constructor(e){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new dt(e,{renderingMode:"data"}),this.htmlWriter=new ps}toData(e){const t=this.domConverter.viewToDom(e);return this.htmlWriter.getHtml(t)}toView(e){const t=this._toDom(e);return this.domConverter.domToView(t,{skipComments:this.skipComments})}registerRawContentMatcher(e){this.domConverter.registerRawContentMatcher(e)}useFillerType(e){this.domConverter.blockFillerMode="marked"==e?"markedNbsp":"nbsp"}_toDom(e){/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(e.trim().slice(0,1e4))||(e=`<body>${e}</body>`);const t=this.domParser.parseFromString(e,"text/html"),o=t.createDocumentFragment(),s=t.body.childNodes;for(;s.length>0;)o.appendChild(s[0]);return o}}class gs extends((0,f.Mm)()){constructor(e,t){super(),this.model=e,this.mapper=new Zt,this.downcastDispatcher=new Qt({mapper:this.mapper,schema:e.schema}),this.downcastDispatcher.on("insert:$text",((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const s=o.writer,i=o.mapper.toViewPosition(t.range.start),n=s.createText(t.item.data);s.insert(i,n)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,o)=>{o.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||o.convertChildren(t.item)}),{priority:"lowest"}),this.upcastDispatcher=new ms({schema:e.schema}),this.viewDocument=new ve(t),this.stylesProcessor=t,this.htmlProcessor=new fs(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Re(this.viewDocument),this.upcastDispatcher.on("text",((e,t,{schema:o,consumable:s,writer:i})=>{let n=t.modelCursor;if(!s.test(t.viewItem))return;if(!o.checkChild(n,"$text")){if(!Io(n,"$text",o))return;if(0==t.viewItem.data.trim().length)return;n=Bo(n,i)}s.consume(t.viewItem);const r=i.createText(t.viewItem.data);i.insert(r,n),t.modelRange=i.createRange(n,n.getShiftedBy(r.offsetSize)),t.modelCursor=t.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((e,t,o)=>{if(!t.modelRange&&o.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:s}=o.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=s}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((e,t,o)=>{if(!t.modelRange&&o.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:s}=o.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=s}}),{priority:"lowest"}),(0,f.VM)().prototype.decorate.call(this,"init"),(0,f.VM)().prototype.decorate.call(this,"set"),(0,f.VM)().prototype.decorate.call(this,"get"),(0,f.VM)().prototype.decorate.call(this,"toView"),(0,f.VM)().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},jo)}),{priority:"lowest"})}get(e={}){const{rootName:t="main",trim:o="empty"}=e;if(!this._checkIfRootsExists([t]))throw new f.Yb("datacontroller-get-non-existent-root",this);const s=this.model.document.getRoot(t);return s.isAttached()||(0,f.FF)("datacontroller-get-detached-root",this),"empty"!==o||this.model.hasContent(s,{ignoreWhitespaces:!0})?this.stringify(s,e):""}stringify(e,t={}){const o=this.toView(e,t);return this.processor.toData(o)}toView(e,t={}){const o=this.viewDocument,s=this._viewWriter;this.mapper.clearBindings();const i=Gt._createIn(e),n=new Ve(o);this.mapper.bindElements(e,n);const r=e.is("documentFragment")?e.markers:function(e){const t=[],o=e.root.document;if(!o)return new Map;const s=Gt._createIn(e);for(const e of o.model.markers){const o=e.getRange(),i=o.isCollapsed,n=o.start.isEqual(s.start)||o.end.isEqual(s.end);if(i&&n)t.push([e.name,o]);else{const i=s.getIntersection(o);i&&t.push([e.name,i])}}return t.sort((([e,t],[o,s])=>{if("after"!==t.end.compareWith(s.start))return 1;if("before"!==t.start.compareWith(s.end))return-1;switch(t.start.compareWith(s.start)){case"before":return 1;case"after":return-1;default:switch(t.end.compareWith(s.end)){case"before":return 1;case"after":return-1;default:return o.localeCompare(e)}}})),new Map(t)}(e);return this.downcastDispatcher.convert(i,r,s,t),n}init(e){if(this.model.document.version)throw new f.Yb("datacontroller-init-document-not-empty",this);let t={};if("string"==typeof e?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new f.Yb("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(e=>{for(const o of Object.keys(t)){const s=this.model.document.getRoot(o);e.insert(this.parse(t[o],s),s,0)}})),Promise.resolve()}set(e,t={}){let o={};if("string"==typeof e?o.main=e:o=e,!this._checkIfRootsExists(Object.keys(o)))throw new f.Yb("datacontroller-set-non-existent-root",this);this.model.enqueueChange(t.batchType||{},(e=>{e.setSelection(null),e.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const t of Object.keys(o)){const s=this.model.document.getRoot(t);e.remove(e.createRangeIn(s)),e.insert(this.parse(o[t],s),s,0)}}))}parse(e,t="$root"){const o=this.processor.toView(e);return this.toModel(o,t)}toModel(e,t="$root"){return this.model.change((o=>this.upcastDispatcher.convert(e,o,t)))}addStyleProcessorRules(e){e(this.stylesProcessor)}registerRawContentMatcher(e){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(e),this.htmlProcessor.registerRawContentMatcher(e)}destroy(){this.stopListening()}_checkIfRootsExists(e){for(const t of e)if(!this.model.document.getRoot(t))return!1;return!0}}class _s{constructor(e,t){this._helpers=new Map,this._downcast=(0,f.$r)(e),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=(0,f.$r)(t),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,t){const o=this._downcast.includes(t);if(!this._upcast.includes(t)&&!o)throw new f.Yb("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:e,dispatchers:[t],isDowncast:o})}for(e){if(!this._helpers.has(e))throw new f.Yb("conversion-for-unknown-group",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:t,view:o}of bs(e))this.for("upcast").elementToElement({model:t,view:o,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:t,view:o}of bs(e))this.for("upcast").elementToAttribute({view:o,model:t,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:t,view:o}of bs(e))this.for("upcast").attributeToAttribute({view:o,model:t})}_createConversionHelpers({name:e,dispatchers:t,isDowncast:o}){if(this._helpers.has(e))throw new f.Yb("conversion-group-exists",this);const s=o?new bo(t):new No(t);this._helpers.set(e,s)}}function*bs(e){if(e.model.values)for(const t of e.model.values){const o={key:e.model.key,value:t},s=e.view[t],i=e.upcastAlso?e.upcastAlso[t]:void 0;yield*ks(o,s,i)}else yield*ks(e.model,e.view,e.upcastAlso)}function*ks(e,t,o){if(yield{model:e,view:t},o)for(const t of(0,f.$r)(o))yield{model:e,view:t}}class ws{constructor(e,t={}){this.skipComments=!0,this.namespaces=t.namespaces||[],this.domParser=new DOMParser,this.domConverter=new dt(e,{renderingMode:"data"}),this.htmlWriter=new ps}toData(e){const t=this.domConverter.viewToDom(e);return this.htmlWriter.getHtml(t)}toView(e){const t=this._toDom(e);return this.domConverter.domToView(t,{keepOriginalCase:!0,skipComments:this.skipComments})}registerRawContentMatcher(e){this.domConverter.registerRawContentMatcher(e)}useFillerType(e){this.domConverter.blockFillerMode="marked"==e?"markedNbsp":"nbsp"}_toDom(e){e=`<xml ${this.namespaces.map((e=>`xmlns:${e}="nsp"`)).join(" ")}>${e}</xml>`;const t=this.domParser.parseFromString(e,"text/xml"),o=t.querySelector("parsererror");if(o)throw new Error("Parse error - "+o.textContent);const s=t.createDocumentFragment(),i=t.documentElement.childNodes;for(;i.length>0;)s.appendChild(i[0]);return s}}class vs{constructor(e){this.baseVersion=e,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const e=Object.assign({},this);return e.__className=this.constructor.className,delete e.batch,delete e.isDocumentOperation,e}static get className(){return"Operation"}static fromJSON(e,t){return new this(e.baseVersion)}}function ys(e,t){const o=Cs(t),s=o.reduce(((e,t)=>e+t.offsetSize),0),i=e.parent;Ps(e);const n=e.index;return i._insertChild(n,o),Es(i,n+o.length),Es(i,n),new Gt(e,e.getShiftedBy(s))}function As(e){if(!e.isFlat)throw new f.Yb("operation-utils-remove-range-not-flat",this);const t=e.start.parent;Ps(e.start),Ps(e.end);const o=t._removeChildren(e.start.index,e.end.index-e.start.index);return Es(t,e.start.index),o}function xs(e,t){if(!e.isFlat)throw new f.Yb("operation-utils-move-range-not-flat",this);const o=As(e);return ys(t=t._getTransformedByDeletion(e.start,e.end.offset-e.start.offset),o)}function Cs(e){const t=[];!function e(o){if("string"==typeof o)t.push(new Dt(o));else if(o instanceof Ft)t.push(new Dt(o.data,o.getAttributes()));else if(o instanceof Bt)t.push(o);else if((0,f.xZ)(o))for(const t of o)e(t);else{}}(e);for(let e=1;e<t.length;e++){const o=t[e],s=t[e-1];o instanceof Dt&&s instanceof Dt&&Ts(o,s)&&(t.splice(e-1,2,new Dt(s.data+o.data,s.getAttributes())),e--)}return t}function Es(e,t){const o=e.getChild(t-1),s=e.getChild(t);if(o&&s&&o.is("$text")&&s.is("$text")&&Ts(o,s)){const i=new Dt(o.data+s.data,o.getAttributes());e._removeChildren(t-1,2),e._insertChild(t-1,i)}}function Ps(e){const t=e.textNode,o=e.parent;if(t){const s=e.offset-t.startOffset,i=t.index;o._removeChildren(i,1);const n=new Dt(t.data.substr(0,s),t.getAttributes()),r=new Dt(t.data.substr(s),t.getAttributes());o._insertChild(i,[n,r])}}function Ts(e,t){const o=e.getAttributes(),s=t.getAttributes();for(const e of o){if(e[1]!==t.getAttribute(e[0]))return!1;s.next()}return s.next().done}class Ss extends vs{constructor(e,t,o,s){super(s),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toNext",this.howMany=t,this.targetPosition=o.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}get affectedSelectable(){return[Gt._createFromPositionAndShift(this.sourcePosition,this.howMany),Gt._createFromPositionAndShift(this.targetPosition,0)]}clone(){return new Ss(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}getMovedRangeStart(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}getReversed(){const e=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new Ss(this.getMovedRangeStart(),this.howMany,e,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent,o=this.sourcePosition.offset,s=this.targetPosition.offset;if(o+this.howMany>e.maxOffset)throw new f.Yb("move-operation-nodes-do-not-exist",this);if(e===t&&o<s&&s<o+this.howMany)throw new f.Yb("move-operation-range-into-itself",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==(0,f.ww)(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const e=this.sourcePosition.path.length-1;if(this.targetPosition.path[e]>=o&&this.targetPosition.path[e]<o+this.howMany)throw new f.Yb("move-operation-node-into-itself",this)}}_execute(){xs(Gt._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e.targetPosition=this.targetPosition.toJSON(),e}static get className(){return"MoveOperation"}static fromJSON(e,t){const o=$t.fromJSON(e.sourcePosition,t),s=$t.fromJSON(e.targetPosition,t);return new this(o,e.howMany,s,e.baseVersion)}}class Ms extends vs{constructor(e,t,o){super(o),this.position=e.clone(),this.position.stickiness="toNone",this.nodes=new Nt(Cs(t)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}get affectedSelectable(){return this.position.clone()}clone(){const e=new Nt([...this.nodes].map((e=>e._clone(!0)))),t=new Ms(this.position,e,this.baseVersion);return t.shouldReceiveAttributes=this.shouldReceiveAttributes,t}getReversed(){const e=this.position.root.document.graveyard,t=new $t(e,[0]);return new Ss(this.position,this.nodes.maxOffset,t,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffset<this.position.offset)throw new f.Yb("insert-operation-position-invalid",this)}_execute(){const e=this.nodes;this.nodes=new Nt([...e].map((e=>e._clone(!0)))),ys(this.position,e)}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e.nodes=this.nodes.toJSON(),e}static get className(){return"InsertOperation"}static fromJSON(e,t){const o=[];for(const t of e.nodes)t.name?o.push(Lt.fromJSON(t)):o.push(Dt.fromJSON(t));const s=new Ms($t.fromJSON(e.position,t),o,e.baseVersion);return s.shouldReceiveAttributes=e.shouldReceiveAttributes,s}}class Os extends vs{constructor(e,t,o,s,i){super(i),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=t,this.insertionPosition=o,this.graveyardPosition=s?s.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const e=this.insertionPosition.path.slice();return e.push(0),new $t(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Gt(this.splitPosition,e)}get affectedSelectable(){const e=[Gt._createFromPositionAndShift(this.splitPosition,0),Gt._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&e.push(Gt._createFromPositionAndShift(this.graveyardPosition,0)),e}clone(){return new Os(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.splitPosition.root.document.graveyard,t=new $t(e,[0]);return new Vs(this.moveTargetPosition,this.howMany,this.splitPosition,t,this.baseVersion+1)}_validate(){const e=this.splitPosition.parent,t=this.splitPosition.offset;if(!e||e.maxOffset<t)throw new f.Yb("split-operation-position-invalid",this);if(!e.parent)throw new f.Yb("split-operation-split-in-root",this);if(this.howMany!=e.maxOffset-this.splitPosition.offset)throw new f.Yb("split-operation-how-many-invalid",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new f.Yb("split-operation-graveyard-position-invalid",this)}_execute(){const e=this.splitPosition.parent;if(this.graveyardPosition)xs(Gt._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const t=e._clone();ys(this.insertionPosition,t)}xs(new Gt($t._createAt(e,this.splitPosition.offset),$t._createAt(e,e.maxOffset)),this.moveTargetPosition)}toJSON(){const e=super.toJSON();return e.splitPosition=this.splitPosition.toJSON(),e.insertionPosition=this.insertionPosition.toJSON(),this.graveyardPosition&&(e.graveyardPosition=this.graveyardPosition.toJSON()),e}static get className(){return"SplitOperation"}static getInsertionPosition(e){const t=e.path.slice(0,-1);return t[t.length-1]++,new $t(e.root,t,"toPrevious")}static fromJSON(e,t){const o=$t.fromJSON(e.splitPosition,t),s=$t.fromJSON(e.insertionPosition,t),i=e.graveyardPosition?$t.fromJSON(e.graveyardPosition,t):null;return new this(o,e.howMany,s,i,e.baseVersion)}}class Vs extends vs{constructor(e,t,o,s,i){super(i),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=t,this.targetPosition=o.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=s.clone()}get type(){return"merge"}get deletionPosition(){return new $t(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const e=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Gt(this.sourcePosition,e)}get affectedSelectable(){const e=this.sourcePosition.parent;return[Gt._createOn(e),Gt._createFromPositionAndShift(this.targetPosition,0),Gt._createFromPositionAndShift(this.graveyardPosition,0)]}clone(){return new Vs(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.targetPosition._getTransformedByMergeOperation(this),t=this.sourcePosition.path.slice(0,-1),o=new $t(this.sourcePosition.root,t)._getTransformedByMergeOperation(this);return new Os(e,this.howMany,o,this.graveyardPosition,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent;if(!e.parent)throw new f.Yb("merge-operation-source-position-invalid",this);if(!t.parent)throw new f.Yb("merge-operation-target-position-invalid",this);if(this.howMany!=e.maxOffset)throw new f.Yb("merge-operation-how-many-invalid",this)}_execute(){const e=this.sourcePosition.parent;xs(Gt._createIn(e),this.targetPosition),xs(Gt._createOn(e),this.graveyardPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=e.sourcePosition.toJSON(),e.targetPosition=e.targetPosition.toJSON(),e.graveyardPosition=e.graveyardPosition.toJSON(),e}static get className(){return"MergeOperation"}static fromJSON(e,t){const o=$t.fromJSON(e.sourcePosition,t),s=$t.fromJSON(e.targetPosition,t),i=$t.fromJSON(e.graveyardPosition,t);return new this(o,e.howMany,s,i,e.baseVersion)}}class Rs extends vs{constructor(e,t,o,s,i,n){super(n),this.name=e,this.oldRange=t?t.clone():null,this.newRange=o?o.clone():null,this.affectsData=i,this._markers=s}get type(){return"marker"}get affectedSelectable(){const e=[];return this.oldRange&&e.push(this.oldRange.clone()),this.newRange&&(this.oldRange?e.push(...this.newRange.getDifference(this.oldRange)):e.push(this.newRange.clone())),e}clone(){return new Rs(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new Rs(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){this.newRange?this._markers._set(this.name,this.newRange,!0,this.affectsData):this._markers._remove(this.name)}toJSON(){const e=super.toJSON();return this.oldRange&&(e.oldRange=this.oldRange.toJSON()),this.newRange&&(e.newRange=this.newRange.toJSON()),delete e._markers,e}static get className(){return"MarkerOperation"}static fromJSON(e,t){return new Rs(e.name,e.oldRange?Gt.fromJSON(e.oldRange,t):null,e.newRange?Gt.fromJSON(e.newRange,t):null,t.model.markers,e.affectsData,e.baseVersion)}}const js=function(e,t){return(0,vt.A)(e,t)};class Is extends vs{constructor(e,t,o,s,i){super(i),this.range=e.clone(),this.key=t,this.oldValue=void 0===o?null:o,this.newValue=void 0===s?null:s}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}get affectedSelectable(){return this.range.clone()}clone(){return new Is(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Is(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const e=super.toJSON();return e.range=this.range.toJSON(),e}_validate(){if(!this.range.isFlat)throw new f.Yb("attribute-operation-range-not-flat",this);for(const e of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!js(e.getAttribute(this.key),this.oldValue))throw new f.Yb("attribute-operation-wrong-old-value",this,{item:e,key:this.key,value:this.oldValue});if(null===this.oldValue&&null!==this.newValue&&e.hasAttribute(this.key))throw new f.Yb("attribute-operation-attribute-exists",this,{node:e,key:this.key})}}_execute(){js(this.oldValue,this.newValue)||function(e,t,o){Ps(e.start),Ps(e.end);for(const s of e.getItems({shallow:!0})){const e=s.is("$textProxy")?s.textNode:s;null!==o?e._setAttribute(t,o):e._removeAttribute(t),Es(e.parent,e.index)}Es(e.end.parent,e.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(e,t){return new Is(Gt.fromJSON(e.range,t),e.key,e.oldValue,e.newValue,e.baseVersion)}}class Bs extends vs{get type(){return"noop"}get affectedSelectable(){return null}clone(){return new Bs(this.baseVersion)}getReversed(){return new Bs(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}class Ns extends vs{constructor(e,t,o,s){super(s),this.position=e,this.position.stickiness="toNext",this.oldName=t,this.newName=o}get type(){return"rename"}get affectedSelectable(){return this.position.nodeAfter}clone(){return new Ns(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new Ns(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const e=this.position.nodeAfter;if(!(e instanceof Lt))throw new f.Yb("rename-operation-wrong-position",this);if(e.name!==this.oldName)throw new f.Yb("rename-operation-wrong-name",this)}_execute(){this.position.nodeAfter.name=this.newName}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e}static get className(){return"RenameOperation"}static fromJSON(e,t){return new Ns($t.fromJSON(e.position,t),e.oldName,e.newName,e.baseVersion)}}class Ds extends vs{constructor(e,t,o,s,i){super(i),this.root=e,this.key=t,this.oldValue=void 0===o?null:o,this.newValue=void 0===s?null:s}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}get affectedSelectable(){return this.root}clone(){return new Ds(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Ds(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new f.Yb("rootattribute-operation-not-a-root",this,{root:this.root,key:this.key});if(null!==this.oldValue&&this.root.getAttribute(this.key)!==this.oldValue)throw new f.Yb("rootattribute-operation-wrong-old-value",this,{root:this.root,key:this.key});if(null===this.oldValue&&null!==this.newValue&&this.root.hasAttribute(this.key))throw new f.Yb("rootattribute-operation-attribute-exists",this,{root:this.root,key:this.key})}_execute(){null!==this.newValue?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}toJSON(){const e=super.toJSON();return e.root=this.root.toJSON(),e}static get className(){return"RootAttributeOperation"}static fromJSON(e,t){if(!t.getRoot(e.root))throw new f.Yb("rootattribute-operation-fromjson-no-root",this,{rootName:e.root});return new Ds(t.getRoot(e.root),e.key,e.oldValue,e.newValue,e.baseVersion)}}class Fs extends vs{constructor(e,t,o,s,i){if(super(i),this.rootName=e,this.elementName=t,this.isAdd=o,this._document=s,!this._document.getRoot(this.rootName)){this._document.createRoot(this.elementName,this.rootName)._isAttached=!1}}get type(){return this.isAdd?"addRoot":"detachRoot"}get affectedSelectable(){return this._document.getRoot(this.rootName)}clone(){return new Fs(this.rootName,this.elementName,this.isAdd,this._document,this.baseVersion)}getReversed(){return new Fs(this.rootName,this.elementName,!this.isAdd,this._document,this.baseVersion+1)}_execute(){this._document.getRoot(this.rootName)._isAttached=this.isAdd}toJSON(){const e=super.toJSON();return delete e._document,e}static get className(){return"RootOperation"}static fromJSON(e,t){return new Fs(e.rootName,e.elementName,e.isAdd,t,e.baseVersion)}}const Ls={};Ls[Is.className]=Is,Ls[Ms.className]=Ms,Ls[Rs.className]=Rs,Ls[Ss.className]=Ss,Ls[Bs.className]=Bs,Ls[vs.className]=vs,Ls[Ns.className]=Ns,Ls[Ds.className]=Ds,Ls[Fs.className]=Fs,Ls[Os.className]=Os,Ls[Vs.className]=Vs;class zs{static fromJSON(e,t){return Ls[e.__className].fromJSON(e,t)}}const Hs=new Map;function $s(e,t,o){let s=Hs.get(e);s||(s=new Map,Hs.set(e,s)),s.set(t,o)}function Ws(e){return[e]}function qs(e,t,o={}){const s=function(e,t){const o=Hs.get(e);return o&&o.has(t)?o.get(t):Ws}(e.constructor,t.constructor);try{return s(e=e.clone(),t,o)}catch(e){throw e}}function Us(e,t,o){e=e.slice(),t=t.slice();const s=new Ks(o.document,o.useRelations,o.forceWeakRemove);s.setOriginalOperations(e),s.setOriginalOperations(t);const i=s.originalOperations;if(0==e.length||0==t.length)return{operationsA:e,operationsB:t,originalOperations:i};const n=new WeakMap;for(const t of e)n.set(t,0);const r={nextBaseVersionA:e[e.length-1].baseVersion+1,nextBaseVersionB:t[t.length-1].baseVersion+1,originalOperationsACount:e.length,originalOperationsBCount:t.length};let a=0;for(;a<e.length;){const o=e[a],i=n.get(o);if(i==t.length){a++;continue}const r=t[i],c=qs(o,r,s.getContext(o,r,!0)),l=qs(r,o,s.getContext(r,o,!1));s.updateRelation(o,r),s.setOriginalOperations(c,o),s.setOriginalOperations(l,r);for(const e of c)n.set(e,i+l.length);e.splice(a,1,...c),t.splice(i,1,...l)}if(Zs(e),Zs(t),o.padWithNoOps){const o=e.length-r.originalOperationsACount,s=t.length-r.originalOperationsBCount;Gs(e,s-o),Gs(t,o-s)}return Ys(e,r.nextBaseVersionB),Ys(t,r.nextBaseVersionA),{operationsA:e,operationsB:t,originalOperations:i}}class Ks{constructor(e,t,o=!1){this.originalOperations=new Map,this._history=e.history,this._useRelations=t,this._forceWeakRemove=!!o,this._relations=new Map}setOriginalOperations(e,t=null){const o=t?this.originalOperations.get(t):null;for(const t of e)this.originalOperations.set(t,o||t)}updateRelation(e,t){if(e instanceof Ss)t instanceof Vs?e.targetPosition.isEqual(t.sourcePosition)||t.movedRange.containsPosition(e.targetPosition)?this._setRelation(e,t,"insertAtSource"):e.targetPosition.isEqual(t.deletionPosition)?this._setRelation(e,t,"insertBetween"):e.targetPosition.isAfter(t.sourcePosition)&&this._setRelation(e,t,"moveTargetAfter"):t instanceof Ss&&(e.targetPosition.isEqual(t.sourcePosition)||e.targetPosition.isBefore(t.sourcePosition)?this._setRelation(e,t,"insertBefore"):this._setRelation(e,t,"insertAfter"));else if(e instanceof Os){if(t instanceof Vs)e.splitPosition.isBefore(t.sourcePosition)&&this._setRelation(e,t,"splitBefore");else if(t instanceof Ss)if(e.splitPosition.isEqual(t.sourcePosition)||e.splitPosition.isBefore(t.sourcePosition))this._setRelation(e,t,"splitBefore");else{const o=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.splitPosition)){const s=o.end.offset-e.splitPosition.offset,i=e.splitPosition.offset-o.start.offset;this._setRelation(e,t,{howMany:s,offset:i})}}}else if(e instanceof Vs)t instanceof Vs?(e.targetPosition.isEqual(t.sourcePosition)||this._setRelation(e,t,"mergeTargetNotMoved"),e.sourcePosition.isEqual(t.targetPosition)&&this._setRelation(e,t,"mergeSourceNotMoved"),e.sourcePosition.isEqual(t.sourcePosition)&&this._setRelation(e,t,"mergeSameElement")):t instanceof Os?e.sourcePosition.isEqual(t.splitPosition)&&this._setRelation(e,t,"splitAtSource"):t instanceof Ss&&t.howMany>0&&(e.sourcePosition.isEqual(t.sourcePosition.getShiftedBy(t.howMany))&&this._setRelation(e,t,"mergeSourceAffected"),e.targetPosition.isEqual(t.sourcePosition)&&this._setRelation(e,t,"mergeTargetWasBefore"));else if(e instanceof Rs){const o=e.newRange;if(!o)return;if(t instanceof Vs){const s=o.start.isEqual(t.targetPosition),i=o.start.isEqual(t.deletionPosition),n=o.end.isEqual(t.deletionPosition),r=o.end.isEqual(t.sourcePosition);(s||i||n||r)&&this._setRelation(e,t,{wasInLeftElement:s,wasStartBeforeMergedElement:i,wasEndBeforeMergedElement:n,wasInRightElement:r})}}}getContext(e,t,o){return{aIsStrong:o,aWasUndone:this._wasUndone(e),bWasUndone:this._wasUndone(t),abRelation:this._useRelations?this._getRelation(e,t):null,baRelation:this._useRelations?this._getRelation(t,e):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(e){const t=this.originalOperations.get(e);return t.wasUndone||this._history.isUndoneOperation(t)}_getRelation(e,t){const o=this.originalOperations.get(t),s=this._history.getUndoneOperation(o);if(!s)return null;const i=this.originalOperations.get(e),n=this._relations.get(i);return n&&n.get(s)||null}_setRelation(e,t,o){const s=this.originalOperations.get(e),i=this.originalOperations.get(t);let n=this._relations.get(s);n||(n=new Map,this._relations.set(s,n)),n.set(i,o)}}function Ys(e,t){for(const o of e)o.baseVersion=t++}function Gs(e,t){for(let o=0;o<t;o++)e.push(new Bs(0))}function Zs(e){const t=new Map;for(let o=0;o<e.length;o++){const s=e[o];s instanceof Rs&&(-1!==s.baseVersion?t.set(s.name,{op:s,ranges:s.newRange?[s.newRange]:[]}):(s.newRange&&t.get(s.name).ranges.push(s.newRange),e.splice(o,1),o--))}for(const{op:e,ranges:o}of t.values())o.length?e.newRange=Gt._createFromRanges(o):e.newRange=null}function Js(e,t,o){const s=e.nodes.getNode(0).getAttribute(t);if(s==o)return null;const i=new Gt(e.position,e.position.getShiftedBy(e.howMany));return new Is(i,t,s,o,0)}function Xs(e,t){return null===e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany)}function Qs(e,t){const o=[];for(let s=0;s<e.length;s++){const i=e[s],n=new Ss(i.start,i.end.offset-i.start.offset,t,0);o.push(n);for(let t=s+1;t<e.length;t++)e[t]=e[t]._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany)[0];t=t._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany)}return o}$s(Is,Is,((e,t,o)=>{if(e.key===t.key&&e.range.start.hasSameParentAs(t.range.start)){const s=e.range.getDifference(t.range).map((t=>new Is(t,e.key,e.oldValue,e.newValue,0))),i=e.range.getIntersection(t.range);return i&&o.aIsStrong&&s.push(new Is(i,t.key,t.newValue,e.newValue,0)),0==s.length?[new Bs(0)]:s}return[e]})),$s(Is,Ms,((e,t)=>{if(e.range.start.hasSameParentAs(t.position)&&e.range.containsPosition(t.position)){const o=e.range._getTransformedByInsertion(t.position,t.howMany,!t.shouldReceiveAttributes).map((t=>new Is(t,e.key,e.oldValue,e.newValue,e.baseVersion)));if(t.shouldReceiveAttributes){const s=Js(t,e.key,e.oldValue);s&&o.unshift(s)}return o}return e.range=e.range._getTransformedByInsertion(t.position,t.howMany,!1)[0],[e]})),$s(Is,Vs,((e,t)=>{const o=[];e.range.start.hasSameParentAs(t.deletionPosition)&&(e.range.containsPosition(t.deletionPosition)||e.range.start.isEqual(t.deletionPosition))&&o.push(Gt._createFromPositionAndShift(t.graveyardPosition,1));const s=e.range._getTransformedByMergeOperation(t);return s.isCollapsed||o.push(s),o.map((t=>new Is(t,e.key,e.oldValue,e.newValue,e.baseVersion)))})),$s(Is,Ss,((e,t)=>function(e,t){const o=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);let s=null,i=[];o.containsRange(e,!0)?s=e:e.start.hasSameParentAs(o.start)?(i=e.getDifference(o),s=e.getIntersection(o)):i=[e];const n=[];for(let e of i){e=e._getTransformedByDeletion(t.sourcePosition,t.howMany);const o=t.getMovedRangeStart(),s=e.start.hasSameParentAs(o),i=e._getTransformedByInsertion(o,t.howMany,s);n.push(...i)}s&&n.push(s._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany,!1)[0]);return n}(e.range,t).map((t=>new Is(t,e.key,e.oldValue,e.newValue,e.baseVersion))))),$s(Is,Os,((e,t)=>{if(e.range.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.range.end.offset++,[e];if(e.range.start.hasSameParentAs(t.splitPosition)&&e.range.containsPosition(t.splitPosition)){const o=e.clone();return o.range=new Gt(t.moveTargetPosition.clone(),e.range.end._getCombined(t.splitPosition,t.moveTargetPosition)),e.range.end=t.splitPosition.clone(),e.range.end.stickiness="toPrevious",[e,o]}return e.range=e.range._getTransformedBySplitOperation(t),[e]})),$s(Ms,Is,((e,t)=>{const o=[e];if(e.shouldReceiveAttributes&&e.position.hasSameParentAs(t.range.start)&&t.range.containsPosition(e.position)){const s=Js(e,t.key,t.newValue);s&&o.push(s)}return o})),$s(Ms,Ms,((e,t,o)=>(e.position.isEqual(t.position)&&o.aIsStrong||(e.position=e.position._getTransformedByInsertOperation(t)),[e]))),$s(Ms,Ss,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),$s(Ms,Os,((e,t)=>(e.position=e.position._getTransformedBySplitOperation(t),[e]))),$s(Ms,Vs,((e,t)=>(e.position=e.position._getTransformedByMergeOperation(t),[e]))),$s(Rs,Ms,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByInsertOperation(t)[0]),e.newRange&&(e.newRange=e.newRange._getTransformedByInsertOperation(t)[0]),[e]))),$s(Rs,Rs,((e,t,o)=>{if(e.name==t.name){if(!o.aIsStrong)return[new Bs(0)];e.oldRange=t.newRange?t.newRange.clone():null}return[e]})),$s(Rs,Vs,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByMergeOperation(t)),e.newRange&&(e.newRange=e.newRange._getTransformedByMergeOperation(t)),[e]))),$s(Rs,Ss,((e,t)=>{const o=[e];if(e.oldRange&&(e.oldRange=Gt._createFromRanges(e.oldRange._getTransformedByMoveOperation(t))),e.newRange){const s=e.newRange._getTransformedByMoveOperation(t);e.newRange=s[0];for(let t=1;t<s.length;t++){const i=e.clone();i.oldRange=null,i.newRange=s[t],i.baseVersion=-1,o.push(i)}}return o})),$s(Rs,Os,((e,t,o)=>{if(e.oldRange&&(e.oldRange=e.oldRange._getTransformedBySplitOperation(t)),e.newRange){if(o.abRelation){const s=e.newRange._getTransformedBySplitOperation(t);return e.newRange.start.isEqual(t.splitPosition)&&o.abRelation.wasStartBeforeMergedElement?e.newRange.start=$t._createAt(t.insertionPosition):e.newRange.start.isEqual(t.splitPosition)&&!o.abRelation.wasInLeftElement?e.newRange.start=$t._createAt(t.moveTargetPosition):e.newRange.start=s.start,e.newRange.end.isEqual(t.splitPosition)&&o.abRelation.wasInRightElement?e.newRange.end=$t._createAt(t.moveTargetPosition):e.newRange.end.isEqual(t.splitPosition)&&o.abRelation.wasEndBeforeMergedElement?e.newRange.end=$t._createAt(t.insertionPosition):e.newRange.end=s.end,[e]}e.newRange=e.newRange._getTransformedBySplitOperation(t)}return[e]})),$s(Vs,Ms,((e,t)=>(e.sourcePosition.hasSameParentAs(t.position)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByInsertOperation(t),e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t),[e]))),$s(Vs,Vs,((e,t,o)=>{if(e.sourcePosition.isEqual(t.sourcePosition)&&e.targetPosition.isEqual(t.targetPosition)){if(o.bWasUndone){const o=t.graveyardPosition.path.slice();return o.push(0),e.sourcePosition=new $t(t.graveyardPosition.root,o),e.howMany=0,[e]}return[new Bs(0)]}if(e.sourcePosition.isEqual(t.sourcePosition)&&!e.targetPosition.isEqual(t.targetPosition)&&!o.bWasUndone&&"splitAtSource"!=o.abRelation){const s="$graveyard"==e.targetPosition.root.rootName,i="$graveyard"==t.targetPosition.root.rootName;if(i&&!s||!(s&&!i)&&o.aIsStrong){const o=t.targetPosition._getTransformedByMergeOperation(t),s=e.targetPosition._getTransformedByMergeOperation(t);return[new Ss(o,e.howMany,s,0)]}return[new Bs(0)]}return e.sourcePosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByMergeOperation(t),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),e.graveyardPosition.isEqual(t.graveyardPosition)&&o.aIsStrong||(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),$s(Vs,Ss,((e,t,o)=>{const s=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);return"remove"==t.type&&!o.bWasUndone&&e.deletionPosition.hasSameParentAs(t.sourcePosition)&&s.containsPosition(e.sourcePosition)?[new Bs(0)]:(t.sourcePosition.getShiftedBy(t.howMany).isEqual(e.sourcePosition)?e.sourcePosition.stickiness="toNone":t.targetPosition.isEqual(e.sourcePosition)&&"mergeSourceAffected"==o.abRelation?e.sourcePosition.stickiness="toNext":t.sourcePosition.isEqual(e.targetPosition)?(e.targetPosition.stickiness="toNone",e.howMany-=t.howMany):t.targetPosition.isEqual(e.targetPosition)&&"mergeTargetWasBefore"==o.abRelation?(e.targetPosition.stickiness="toPrevious",e.howMany+=t.howMany):(e.sourcePosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.sourcePosition.hasSameParentAs(t.sourcePosition)&&(e.howMany-=t.howMany)),e.sourcePosition=e.sourcePosition._getTransformedByMoveOperation(t),e.targetPosition=e.targetPosition._getTransformedByMoveOperation(t),e.sourcePosition.stickiness="toPrevious",e.targetPosition.stickiness="toNext",e.graveyardPosition.isEqual(t.targetPosition)||(e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)),[e])})),$s(Vs,Os,((e,t,o)=>{if(t.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByDeletion(t.graveyardPosition,1),e.deletionPosition.isEqual(t.graveyardPosition)&&(e.howMany=t.howMany)),e.targetPosition.isEqual(t.splitPosition)){if(t.graveyardPosition&&e.deletionPosition.isEqual(t.graveyardPosition)||"mergeTargetNotMoved"==o.abRelation)return e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),[e]}if(e.sourcePosition.isEqual(t.splitPosition)){if("mergeSourceNotMoved"==o.abRelation)return e.howMany=0,e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e];if("mergeSameElement"==o.abRelation||e.sourcePosition.offset>0)return e.sourcePosition=t.moveTargetPosition.clone(),e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e]}return e.sourcePosition.hasSameParentAs(t.splitPosition)&&(e.howMany=t.splitPosition.offset),e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e]})),$s(Ss,Ms,((e,t)=>{const o=Gt._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByInsertOperation(t,!1)[0];return e.sourcePosition=o.start,e.howMany=o.end.offset-o.start.offset,e.targetPosition.isEqual(t.position)||(e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t)),[e]})),$s(Ss,Ss,((e,t,o)=>{const s=Gt._createFromPositionAndShift(e.sourcePosition,e.howMany),i=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);let n,r=o.aIsStrong,a=!o.aIsStrong;if("insertBefore"==o.abRelation||"insertAfter"==o.baRelation?a=!0:"insertAfter"!=o.abRelation&&"insertBefore"!=o.baRelation||(a=!1),n=e.targetPosition.isEqual(t.targetPosition)&&a?e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany):e.targetPosition._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),Xs(e,t)&&Xs(t,e))return[t.getReversed()];if(s.containsPosition(t.targetPosition)&&s.containsRange(i,!0))return s.start=s.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),s.end=s.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),Qs([s],n);if(i.containsPosition(e.targetPosition)&&i.containsRange(s,!0))return s.start=s.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),s.end=s.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),Qs([s],n);const c=(0,f.ww)(e.sourcePosition.getParentPath(),t.sourcePosition.getParentPath());if("prefix"==c||"extension"==c)return s.start=s.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),s.end=s.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),Qs([s],n);"remove"!=e.type||"remove"==t.type||o.aWasUndone||o.forceWeakRemove?"remove"==e.type||"remove"!=t.type||o.bWasUndone||o.forceWeakRemove||(r=!1):r=!0;const l=[],d=s.getDifference(i);for(const e of d){e.start=e.start._getTransformedByDeletion(t.sourcePosition,t.howMany),e.end=e.end._getTransformedByDeletion(t.sourcePosition,t.howMany);const o="same"==(0,f.ww)(e.start.getParentPath(),t.getMovedRangeStart().getParentPath()),s=e._getTransformedByInsertion(t.getMovedRangeStart(),t.howMany,o);l.push(...s)}const h=s.getIntersection(i);return null!==h&&r&&(h.start=h.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),h.end=h.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),0===l.length?l.push(h):1==l.length?i.start.isBefore(s.start)||i.start.isEqual(s.start)?l.unshift(h):l.push(h):l.splice(1,0,h)),0===l.length?[new Bs(e.baseVersion)]:Qs(l,n)})),$s(Ss,Os,((e,t,o)=>{let s=e.targetPosition.clone();e.targetPosition.isEqual(t.insertionPosition)&&t.graveyardPosition&&"moveTargetAfter"!=o.abRelation||(s=e.targetPosition._getTransformedBySplitOperation(t));const i=Gt._createFromPositionAndShift(e.sourcePosition,e.howMany);if(i.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.howMany++,e.targetPosition=s,[e];if(i.start.hasSameParentAs(t.splitPosition)&&i.containsPosition(t.splitPosition)){let e=new Gt(t.splitPosition,i.end);e=e._getTransformedBySplitOperation(t);return Qs([new Gt(i.start,t.splitPosition),e],s)}e.targetPosition.isEqual(t.splitPosition)&&"insertAtSource"==o.abRelation&&(s=t.moveTargetPosition),e.targetPosition.isEqual(t.insertionPosition)&&"insertBetween"==o.abRelation&&(s=e.targetPosition);const n=[i._getTransformedBySplitOperation(t)];if(t.graveyardPosition){const s=i.start.isEqual(t.graveyardPosition)||i.containsPosition(t.graveyardPosition);e.howMany>1&&s&&!o.aWasUndone&&n.push(Gt._createFromPositionAndShift(t.insertionPosition,1))}return Qs(n,s)})),$s(Ss,Vs,((e,t,o)=>{const s=Gt._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.deletionPosition.hasSameParentAs(e.sourcePosition)&&s.containsPosition(t.sourcePosition))if("remove"!=e.type||o.forceWeakRemove){if(1==e.howMany)return o.bWasUndone?(e.sourcePosition=t.graveyardPosition.clone(),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]):[new Bs(0)]}else if(!o.aWasUndone){const o=[];let s=t.graveyardPosition.clone(),i=t.targetPosition._getTransformedByMergeOperation(t);const n=e.targetPosition.getTransformedByOperation(t);e.howMany>1&&(o.push(new Ss(e.sourcePosition,e.howMany-1,n,0)),s=s._getTransformedByMove(e.sourcePosition,n,e.howMany-1),i=i._getTransformedByMove(e.sourcePosition,n,e.howMany-1));const r=t.deletionPosition._getCombined(e.sourcePosition,n),a=new Ss(s,1,r,0),c=a.getMovedRangeStart().path.slice();c.push(0);const l=new $t(a.targetPosition.root,c);i=i._getTransformedByMove(s,r,1);const d=new Ss(i,t.howMany,l,0);return o.push(a),o.push(d),o}const i=Gt._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByMergeOperation(t);return e.sourcePosition=i.start,e.howMany=i.end.offset-i.start.offset,e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]})),$s(Ns,Ms,((e,t)=>(e.position=e.position._getTransformedByInsertOperation(t),[e]))),$s(Ns,Vs,((e,t)=>e.position.isEqual(t.deletionPosition)?(e.position=t.graveyardPosition.clone(),e.position.stickiness="toNext",[e]):(e.position=e.position._getTransformedByMergeOperation(t),[e]))),$s(Ns,Ss,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),$s(Ns,Ns,((e,t,o)=>{if(e.position.isEqual(t.position)){if(!o.aIsStrong)return[new Bs(0)];e.oldName=t.newName}return[e]})),$s(Ns,Os,((e,t)=>{const o=e.position.path,s=t.splitPosition.getParentPath();if("same"==(0,f.ww)(o,s)&&!t.graveyardPosition){const t=new Ns(e.position.getShiftedBy(1),e.oldName,e.newName,0);return[e,t]}return e.position=e.position._getTransformedBySplitOperation(t),[e]})),$s(Ds,Ds,((e,t,o)=>{if(e.root===t.root&&e.key===t.key){if(!o.aIsStrong||e.newValue===t.newValue)return[new Bs(0)];e.oldValue=t.newValue}return[e]})),$s(Fs,Fs,((e,t)=>e.rootName===t.rootName&&e.isAdd===t.isAdd?[new Bs(0)]:[e])),$s(Os,Ms,((e,t)=>(e.splitPosition.hasSameParentAs(t.position)&&e.splitPosition.offset<t.position.offset&&(e.howMany+=t.howMany),e.splitPosition=e.splitPosition._getTransformedByInsertOperation(t),e.insertionPosition=e.insertionPosition._getTransformedByInsertOperation(t),[e]))),$s(Os,Vs,((e,t,o)=>{if(!e.graveyardPosition&&!o.bWasUndone&&e.splitPosition.hasSameParentAs(t.sourcePosition)){const o=t.graveyardPosition.path.slice();o.push(0);const s=new $t(t.graveyardPosition.root,o),i=Os.getInsertionPosition(new $t(t.graveyardPosition.root,o)),n=new Os(s,0,i,null,0);return e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=Os.getInsertionPosition(e.splitPosition),e.graveyardPosition=n.insertionPosition.clone(),e.graveyardPosition.stickiness="toNext",[n,e]}return e.splitPosition.hasSameParentAs(t.deletionPosition)&&!e.splitPosition.isAfter(t.deletionPosition)&&e.howMany--,e.splitPosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=Os.getInsertionPosition(e.splitPosition),e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),$s(Os,Ss,((e,t,o)=>{const s=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.graveyardPosition){const i=s.start.isEqual(e.graveyardPosition)||s.containsPosition(e.graveyardPosition);if(!o.bWasUndone&&i){const o=e.splitPosition._getTransformedByMoveOperation(t),s=e.graveyardPosition._getTransformedByMoveOperation(t),i=s.path.slice();i.push(0);const n=new $t(s.root,i);return[new Ss(o,e.howMany,n,0)]}e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)}const i=e.splitPosition.isEqual(t.targetPosition);if(i&&("insertAtSource"==o.baRelation||"splitBefore"==o.abRelation))return e.howMany+=t.howMany,e.splitPosition=e.splitPosition._getTransformedByDeletion(t.sourcePosition,t.howMany),e.insertionPosition=Os.getInsertionPosition(e.splitPosition),[e];if(i&&o.abRelation&&o.abRelation.howMany){const{howMany:t,offset:s}=o.abRelation;return e.howMany+=t,e.splitPosition=e.splitPosition.getShiftedBy(s),[e]}if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&s.containsPosition(e.splitPosition)){const o=t.howMany-(e.splitPosition.offset-t.sourcePosition.offset);return e.howMany-=o,e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany),e.splitPosition=t.sourcePosition.clone(),e.insertionPosition=Os.getInsertionPosition(e.splitPosition),[e]}return t.sourcePosition.isEqual(t.targetPosition)||(e.splitPosition.hasSameParentAs(t.sourcePosition)&&e.splitPosition.offset<=t.sourcePosition.offset&&(e.howMany-=t.howMany),e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany)),e.splitPosition.stickiness="toNone",e.splitPosition=e.splitPosition._getTransformedByMoveOperation(t),e.splitPosition.stickiness="toNext",e.graveyardPosition?e.insertionPosition=e.insertionPosition._getTransformedByMoveOperation(t):e.insertionPosition=Os.getInsertionPosition(e.splitPosition),[e]})),$s(Os,Os,((e,t,o)=>{if(e.splitPosition.isEqual(t.splitPosition)){if(!e.graveyardPosition&&!t.graveyardPosition)return[new Bs(0)];if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition))return[new Bs(0)];if("splitBefore"==o.abRelation)return e.howMany=0,e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t),[e]}if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition)){const s="$graveyard"==e.splitPosition.root.rootName,i="$graveyard"==t.splitPosition.root.rootName;if(i&&!s||!(s&&!i)&&o.aIsStrong){const o=[];return t.howMany&&o.push(new Ss(t.moveTargetPosition,t.howMany,t.splitPosition,0)),e.howMany&&o.push(new Ss(e.splitPosition,e.howMany,e.moveTargetPosition,0)),o}return[new Bs(0)]}if(e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t)),e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==o.abRelation)return e.howMany++,[e];if(t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==o.baRelation){const o=t.insertionPosition.path.slice();o.push(0);const s=new $t(t.insertionPosition.root,o);return[e,new Ss(e.insertionPosition,1,s,0)]}return e.splitPosition.hasSameParentAs(t.splitPosition)&&e.splitPosition.offset<t.splitPosition.offset&&(e.howMany-=t.howMany),e.splitPosition=e.splitPosition._getTransformedBySplitOperation(t),e.insertionPosition=Os.getInsertionPosition(e.splitPosition),[e]}));class ei extends((0,f.Mm)($t)){constructor(e,t,o="toNone"){if(super(e,t,o),!this.root.is("rootElement"))throw new f.Yb("model-liveposition-root-not-rootelement",e);ti.call(this)}detach(){this.stopListening()}toPosition(){return new $t(this.root,this.path.slice(),this.stickiness)}static fromPosition(e,t){return new this(e.root,e.path.slice(),t||e.stickiness)}}function ti(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&oi.call(this,o)}),{priority:"low"})}function oi(e){const t=this.getTransformedByOperation(e);if(!this.isEqual(t)){const e=this.toPosition();this.path=t.path,this.root=t.root,this.fire("change",e)}}ei.prototype.is=function(e){return"livePosition"===e||"model:livePosition"===e||"position"==e||"model:position"===e};class si{constructor(e={}){"string"==typeof e&&(e="transparent"===e?{isUndoable:!1}:{},(0,f.FF)("batch-constructor-deprecated-string-type"));const{isUndoable:t=!0,isLocal:o=!0,isUndo:s=!1,isTyping:i=!1}=e;this.operations=[],this.isUndoable=t,this.isLocal=o,this.isUndo=s,this.isTyping=i}get type(){return(0,f.FF)("batch-type-deprecated"),"default"}get baseVersion(){for(const e of this.operations)if(null!==e.baseVersion)return e.baseVersion;return null}addOperation(e){return e.batch=this,this.operations.push(e),e}}class ii{constructor(e){this._changesInElement=new Map,this._elementsSnapshots=new Map,this._elementChildrenSnapshots=new Map,this._elementState=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=e}static{this._statesPriority=[void 0,"refresh","rename","move"]}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(e){const t=e;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":for(const e of t.range.getItems({shallow:!0}))this._isInInsertedElement(e.parent)||this._markAttribute(e);break;case"remove":case"move":case"reinsert":{if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition))return;const e=this._isInInsertedElement(t.sourcePosition.parent),o=this._isInInsertedElement(t.targetPosition.parent);e||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),o||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);const s=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);for(const e of s.getItems({shallow:!0}))this._setElementState(e,"move");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);const e=Gt._createFromPositionAndShift(t.position,1);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}this._setElementState(t.position.nodeAfter,"rename");break}case"split":{const e=t.splitPosition.parent;if(!this._isInInsertedElement(e)){this._markRemove(e,t.splitPosition.offset,t.howMany);const o=Gt._createFromPositionAndShift(t.splitPosition,t.howMany);for(const e of o.getItems({shallow:!0}))this._setElementState(e,"move")}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),this._setElementState(t.graveyardPosition.nodeAfter,"move"));break}case"merge":{const e=t.sourcePosition.parent;this._isInInsertedElement(e.parent)||this._markRemove(e.parent,e.startOffset,1);const o=t.graveyardPosition.parent;this._markInsert(o,t.graveyardPosition.offset,1),this._setElementState(e,"move");const s=t.targetPosition.parent;if(!this._isInInsertedElement(s)){this._markInsert(s,t.targetPosition.offset,e.maxOffset);const o=Gt._createFromPositionAndShift(t.sourcePosition,t.howMany);for(const e of o.getItems({shallow:!0}))this._setElementState(e,"move")}break}case"detachRoot":case"addRoot":{const e=t.affectedSelectable;if(!e._isLoaded)return;if(e.isAttached()==t.isAdd)return;this._bufferRootStateChange(t.rootName,t.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{if(!t.root._isLoaded)return;const e=t.root.rootName;this._bufferRootAttributeChange(e,t.key,t.oldValue,t.newValue);break}}this._cachedChanges=null}bufferMarkerChange(e,t,o){t.range&&t.range.root.is("rootElement")&&!t.range.root._isLoaded&&(t.range=null),o.range&&o.range.root.is("rootElement")&&!o.range.root._isLoaded&&(o.range=null);let s=this._changedMarkers.get(e);s?s.newMarkerData=o:(s={newMarkerData:o,oldMarkerData:t},this._changedMarkers.set(e,s)),null==s.oldMarkerData.range&&null==o.range&&this._changedMarkers.delete(e)}getMarkersToRemove(){const e=[];for(const[t,o]of this._changedMarkers)null!=o.oldMarkerData.range&&e.push({name:t,range:o.oldMarkerData.range});return e}getMarkersToAdd(){const e=[];for(const[t,o]of this._changedMarkers)null!=o.newMarkerData.range&&e.push({name:t,range:o.newMarkerData.range});return e}getChangedMarkers(){return Array.from(this._changedMarkers).map((([e,t])=>({name:e,data:{oldRange:t.oldMarkerData.range,newRange:t.newMarkerData.range}})))}hasDataChanges(){if(this.getChanges().length)return!0;if(this._changedRoots.size>0)return!0;for(const{newMarkerData:e,oldMarkerData:t}of this._changedMarkers.values()){if(e.affectsData!==t.affectsData)return!0;if(e.affectsData){const o=e.range&&!t.range,s=!e.range&&t.range,i=e.range&&t.range&&!e.range.isEqual(t.range);if(o||s||i)return!0}}return!1}getChanges(e={}){if(this._cachedChanges)return e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let t=[];for(const e of this._changesInElement.keys()){const o=this._changesInElement.get(e).sort(((e,t)=>e.offset===t.offset?e.type!=t.type?"remove"==e.type?-1:1:0:e.offset<t.offset?-1:1)),s=this._elementChildrenSnapshots.get(e),i=ri(e.getChildren()),n=ai(s.length,o);let r=0,a=0;for(const o of n)if("i"===o){const o=this._getDiffActionForNode(i[r].node,"insert"),s=this._elementsSnapshots.get(i[r].node),n=this._getInsertDiff(e,r,o,i[r],s);t.push(n),r++}else if("r"===o){const o=this._getDiffActionForNode(s[a].node,"remove"),i=this._getRemoveDiff(e,r,o,s[a]);t.push(i),a++}else if("a"===o){const o=s[a].attributes,n=i[r].attributes;let c;if("$text"==i[r].name)c=new Gt($t._createAt(e,r),$t._createAt(e,r+1));else{const t=e.offsetToIndex(r);c=new Gt($t._createAt(e,r),$t._createAt(e.getChild(t),0))}const l=this._getAttributesDiff(c,o,n);t.push(...l),r++,a++}else r++,a++}t.sort(((e,t)=>e.position.root!=t.position.root?e.position.root.rootName<t.position.root.rootName?-1:1:e.position.isEqual(t.position)?e.changeCount-t.changeCount:e.position.isBefore(t.position)?-1:1));for(let e=1,o=0;e<t.length;e++){const s=t[o],i=t[e],n="remove"==s.type&&"remove"==i.type&&"$text"==s.name&&"$text"==i.name&&s.position.isEqual(i.position),r="insert"==s.type&&"insert"==i.type&&"$text"==s.name&&"$text"==i.name&&s.position.parent==i.position.parent&&s.position.offset+s.length==i.position.offset,a="attribute"==s.type&&"attribute"==i.type&&s.position.parent==i.position.parent&&s.range.isFlat&&i.range.isFlat&&s.position.offset+s.length==i.position.offset&&s.attributeKey==i.attributeKey&&s.attributeOldValue==i.attributeOldValue&&s.attributeNewValue==i.attributeNewValue;n||r||a?(s.length++,a&&(s.range.end=s.range.end.getShiftedBy(1)),t[e]=null):o=e}t=t.filter((e=>e));for(const e of t)delete e.changeCount,"attribute"==e.type&&(delete e.position,delete e.length);return this._changeCount=0,this._cachedChangesWithGraveyard=t,this._cachedChanges=t.filter(ci),e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map((e=>{const t={...e};return void 0!==t.state&&delete t.attributes,t}))}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementChildrenSnapshots.clear(),this._elementsSnapshots.clear(),this._elementState.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems.clear(),this._cachedChanges=null}_refreshItem(e){if(this._isInInsertedElement(e.parent))return;this._markRemove(e.parent,e.startOffset,e.offsetSize),this._markInsert(e.parent,e.startOffset,e.offsetSize),this._refreshedItems.add(e),this._setElementState(e,"refresh");const t=Gt._createOn(e);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}this._cachedChanges=null}_bufferRootLoad(e){if(e.isAttached()){this._bufferRootStateChange(e.rootName,!0),this._markInsert(e,0,e.maxOffset);for(const t of e.getAttributeKeys())this._bufferRootAttributeChange(e.rootName,t,null,e.getAttribute(t));for(const t of this._markerCollection)if(t.getRange().root==e){const e=t.getData();this.bufferMarkerChange(t.name,{...e,range:null},e)}}}_bufferRootStateChange(e,t){if(!this._changedRoots.has(e))return void this._changedRoots.set(e,{name:e,state:t?"attached":"detached"});const o=this._changedRoots.get(e);void 0!==o.state?(delete o.state,void 0===o.attributes&&this._changedRoots.delete(e)):o.state=t?"attached":"detached"}_bufferRootAttributeChange(e,t,o,s){const i=this._changedRoots.get(e)||{name:e},n=i.attributes||{};if(n[t]){const e=n[t];s===e.oldValue?delete n[t]:e.newValue=s}else n[t]={oldValue:o,newValue:s};0===Object.entries(n).length?(delete i.attributes,void 0===i.state&&this._changedRoots.delete(e)):(i.attributes=n,this._changedRoots.set(e,i))}_markInsert(e,t,o){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const s={type:"insert",offset:t,howMany:o,count:this._changeCount++};this._markChange(e,s)}_markRemove(e,t,o){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const s={type:"remove",offset:t,howMany:o,count:this._changeCount++};this._markChange(e,s),this._removeAllNestedChanges(e,t,o)}_markAttribute(e){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const t={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,t)}_markChange(e,t){this._makeSnapshots(e);const o=this._getChangesForElement(e);this._handleChange(t,o),o.push(t);for(let e=0;e<o.length;e++)o[e].howMany<1&&(o.splice(e,1),e--)}_setElementState(e,t){if(!e.is("element"))return;const o=ii._statesPriority.indexOf(this._elementState.get(e));ii._statesPriority.indexOf(t)>o&&this._elementState.set(e,t)}_getDiffActionForNode(e,t){if(!e.is("element"))return t;if(!this._elementsSnapshots.has(e))return t;const o=this._elementState.get(e);return o&&"move"!=o?o:t}_getChangesForElement(e){let t;return this._changesInElement.has(e)?t=this._changesInElement.get(e):(t=[],this._changesInElement.set(e,t)),t}_makeSnapshots(e){if(this._elementChildrenSnapshots.has(e))return;const t=ri(e.getChildren());this._elementChildrenSnapshots.set(e,t);for(const e of t)this._elementsSnapshots.set(e.node,e)}_handleChange(e,t){e.nodesToHandle=e.howMany;for(const o of t){const s=e.offset+e.howMany,i=o.offset+o.howMany;if("insert"==e.type&&("insert"==o.type&&(e.offset<=o.offset?o.offset+=e.howMany:e.offset<i&&(o.howMany+=e.nodesToHandle,e.nodesToHandle=0)),"remove"==o.type&&e.offset<o.offset&&(o.offset+=e.howMany),"attribute"==o.type))if(e.offset<=o.offset)o.offset+=e.howMany;else if(e.offset<i){const i=o.howMany;o.howMany=e.offset-o.offset,t.unshift({type:"attribute",offset:s,howMany:i-o.howMany,count:this._changeCount++})}if("remove"==e.type){if("insert"==o.type)if(s<=o.offset)o.offset-=e.howMany;else if(s<=i)if(e.offset<o.offset){const t=s-o.offset;o.offset=e.offset,o.howMany-=t,e.nodesToHandle-=t}else o.howMany-=e.nodesToHandle,e.nodesToHandle=0;else if(e.offset<=o.offset)e.nodesToHandle-=o.howMany,o.howMany=0;else if(e.offset<i){const t=i-e.offset;o.howMany-=t,e.nodesToHandle-=t}if("remove"==o.type&&(s<=o.offset?o.offset-=e.howMany:e.offset<o.offset&&(e.nodesToHandle+=o.howMany,o.howMany=0)),"attribute"==o.type)if(s<=o.offset)o.offset-=e.howMany;else if(e.offset<o.offset){const t=s-o.offset;o.offset=e.offset,o.howMany-=t}else if(e.offset<i)if(s<=i){const s=o.howMany;o.howMany=e.offset-o.offset;const i=s-o.howMany-e.nodesToHandle;t.unshift({type:"attribute",offset:e.offset,howMany:i,count:this._changeCount++})}else o.howMany-=i-e.offset}if("attribute"==e.type){if("insert"==o.type)if(e.offset<o.offset&&s>o.offset){if(s>i){const e={type:"attribute",offset:i,howMany:s-i,count:this._changeCount++};this._handleChange(e,t),t.push(e)}e.nodesToHandle=o.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=o.offset&&e.offset<i&&(s>i?(e.nodesToHandle=s-i,e.offset=i):e.nodesToHandle=0);if("remove"==o.type&&e.offset<o.offset&&s>o.offset){const i={type:"attribute",offset:o.offset,howMany:s-o.offset,count:this._changeCount++};this._handleChange(i,t),t.push(i),e.nodesToHandle=o.offset-e.offset,e.howMany=e.nodesToHandle}"attribute"==o.type&&(e.offset>=o.offset&&s<=i?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=o.offset&&s>=i&&(o.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,t,o,s,i){const n={type:"insert",position:$t._createAt(e,t),name:s.name,attributes:new Map(s.attributes),length:1,changeCount:this._changeCount++,action:o};return"insert"!=o&&i&&(n.before={name:i.name,attributes:new Map(i.attributes)}),n}_getRemoveDiff(e,t,o,s){return{type:"remove",action:o,position:$t._createAt(e,t),name:s.name,attributes:new Map(s.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,t,o){const s=[];o=new Map(o);for(const[i,n]of t){const t=o.has(i)?o.get(i):null;t!==n&&s.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:i,attributeOldValue:n,attributeNewValue:t,changeCount:this._changeCount++}),o.delete(i)}for(const[t,i]of o)s.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:t,attributeOldValue:null,attributeNewValue:i,changeCount:this._changeCount++});return s}_isInInsertedElement(e){const t=e.parent;if(!t)return!1;const o=this._changesInElement.get(t),s=e.startOffset;if(o)for(const e of o)if("insert"==e.type&&s>=e.offset&&s<e.offset+e.howMany)return!0;return this._isInInsertedElement(t)}_removeAllNestedChanges(e,t,o){const s=new Gt($t._createAt(e,t),$t._createAt(e,t+o));for(const e of s.getItems({shallow:!0}))e.is("element")&&(this._changesInElement.delete(e),this._removeAllNestedChanges(e,0,e.maxOffset))}}function ni(e){return{node:e,name:e.is("$text")?"$text":e.name,attributes:new Map(e.getAttributes())}}function ri(e){const t=[];for(const o of e)if(o.is("$text"))for(let e=0;e<o.data.length;++e)t.push(ni(o));else t.push(ni(o));return t}function ai(e,t){const o=[];let s=0,i=0;for(const e of t){if(e.offset>s){for(let t=0;t<e.offset-s;t++)o.push("e");i+=e.offset-s}if("insert"==e.type){for(let t=0;t<e.howMany;t++)o.push("i");s=e.offset+e.howMany}else if("remove"==e.type){for(let t=0;t<e.howMany;t++)o.push("r");s=e.offset,i+=e.howMany}else{if(e.howMany>1500)for(let t=0;t<e.howMany;t++)o.push("a");else o.push(..."a".repeat(e.howMany).split(""));s=e.offset+e.howMany,i+=e.howMany}}if(i<e)for(let t=0;t<e-i-s;t++)o.push("e");return o}function ci(e){const t="position"in e&&"$graveyard"==e.position.root.rootName,o="range"in e&&"$graveyard"==e.range.root.rootName;return!t&&!o}class li{constructor(){this._operations=[],this._undoPairs=new Map,this._undoneOperations=new Set,this._baseVersionToOperationIndex=new Map,this._version=0,this._gaps=new Map}get version(){return this._version}set version(e){this._operations.length&&e>this._version+1&&this._gaps.set(this._version,e),this._version=e}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(e){if(e.baseVersion!==this.version)throw new f.Yb("model-document-history-addoperation-incorrect-version",this,{operation:e,historyVersion:this.version});this._operations.push(e),this._version++,this._baseVersionToOperationIndex.set(e.baseVersion,this._operations.length-1)}getOperations(e,t=this.version){if(!this._operations.length)return[];const o=this._operations[0];void 0===e&&(e=o.baseVersion);let s=t-1;for(const[t,o]of this._gaps)e>t&&e<o&&(e=o),s>t&&s<o&&(s=t-1);if(s<o.baseVersion||e>this.lastOperation.baseVersion)return[];let i=this._baseVersionToOperationIndex.get(e);void 0===i&&(i=0);let n=this._baseVersionToOperationIndex.get(s);return void 0===n&&(n=this._operations.length-1),this._operations.slice(i,n+1)}getOperation(e){const t=this._baseVersionToOperationIndex.get(e);if(void 0!==t)return this._operations[t]}setOperationAsUndone(e,t){this._undoPairs.set(t,e),this._undoneOperations.add(e)}isUndoingOperation(e){return this._undoPairs.has(e)}isUndoneOperation(e){return this._undoneOperations.has(e)}getUndoneOperation(e){return this._undoPairs.get(e)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class di extends Lt{constructor(e,t,o="main"){super(t),this._isAttached=!0,this._isLoaded=!0,this._document=e,this.rootName=o}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}di.prototype.is=function(e,t){return t?t===this.name&&("rootElement"===e||"model:rootElement"===e||"element"===e||"model:element"===e):"rootElement"===e||"model:rootElement"===e||"element"===e||"model:element"===e||"node"===e||"model:node"===e};const hi="$graveyard";class ui extends((0,f.Mm)()){constructor(e){super(),this.model=e,this.history=new li,this.selection=new po(this),this.roots=new f.pM({idProperty:"rootName"}),this.differ=new ii(e.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",hi),this.listenTo(e,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&this.differ.bufferOperation(o)}),{priority:"high"}),this.listenTo(e,"applyOperation",((e,t)=>{const o=t[0];o.isDocumentOperation&&this.history.addOperation(o)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(e.markers,"update",((e,t,o,s,i)=>{const n={...t.getData(),range:s};this.differ.bufferMarkerChange(t.name,i,n),null===o&&t.on("change",((e,o)=>{const s=t.getData();this.differ.bufferMarkerChange(t.name,{...s,range:o},s)}))})),this.registerPostFixer((e=>{let t=!1;for(const o of this.roots)o.isAttached()||o.isEmpty||(e.remove(e.createRangeIn(o)),t=!0);for(const o of this.model.markers)o.getRange().root.isAttached()||(e.removeMarker(o),t=!0);return t}))}get version(){return this.history.version}set version(e){this.history.version=e}get graveyard(){return this.getRoot(hi)}createRoot(e="$root",t="main"){if(this.roots.get(t))throw new f.Yb("model-document-createroot-name-exists",this,{name:t});const o=new di(this,e,t);return this.roots.add(o),o}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(e=!1){return this.getRoots(e).map((e=>e.rootName))}getRoots(e=!1){return this.roots.filter((t=>t!=this.graveyard&&(e||t.isAttached())&&t._isLoaded))}registerPostFixer(e){this._postFixers.add(e)}toJSON(){const e=T(this);return e.selection="[engine.model.DocumentSelection]",e.model="[engine.model.Model]",e}_handleChangeBlock(e){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(e),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",e.batch):this.fire("change",e.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const e=this.getRoots();return e.length?e[0]:this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),t=this.model,o=t.schema,s=t.createPositionFromPath(e,[0]);return o.getNearestSelectionRange(s)||t.createRange(s)}_validateSelectionRange(e){return e.start.isValid()&&e.end.isValid()&&mi(e.start)&&mi(e.end)}_callPostFixers(e){let t=!1;do{for(const o of this._postFixers)if(this.selection.refresh(),t=o(e),t)break}while(t)}}function mi(e){const t=e.textNode;if(t){const o=t.data,s=e.offset-t.startOffset;return!(0,f.P5)(o,s)&&!(0,f.Iw)(o,s)}return!0}class pi extends((0,f.Mm)()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(e){const t=e instanceof fi?e.name:e;return this._markers.has(t)}get(e){return this._markers.get(e)||null}_set(e,t,o=!1,s=!1){const i=e instanceof fi?e.name:e;if(i.includes(","))throw new f.Yb("markercollection-incorrect-marker-name",this);const n=this._markers.get(i);if(n){const e=n.getData(),r=n.getRange();let a=!1;return r.isEqual(t)||(n._attachLiveRange(lo.fromRange(t)),a=!0),o!=n.managedUsingOperations&&(n._managedUsingOperations=o,a=!0),"boolean"==typeof s&&s!=n.affectsData&&(n._affectsData=s,a=!0),a&&this.fire(`update:${i}`,n,r,t,e),n}const r=lo.fromRange(t),a=new fi(i,r,o,s);return this._markers.set(i,a),this.fire(`update:${i}`,a,null,t,{...a.getData(),range:null}),a}_remove(e){const t=e instanceof fi?e.name:e,o=this._markers.get(t);return!!o&&(this._markers.delete(t),this.fire(`update:${t}`,o,o.getRange(),null,o.getData()),this._destroyMarker(o),!0)}_refresh(e){const t=e instanceof fi?e.name:e,o=this._markers.get(t);if(!o)throw new f.Yb("markercollection-refresh-marker-not-exists",this);const s=o.getRange();this.fire(`update:${t}`,o,s,s,o.getData())}*getMarkersAtPosition(e){for(const t of this)t.getRange().containsPosition(e)&&(yield t)}*getMarkersIntersectingRange(e){for(const t of this)null!==t.getRange().getIntersection(e)&&(yield t)}destroy(){for(const e of this._markers.values())this._destroyMarker(e);this._markers=null,this.stopListening()}*getMarkersGroup(e){for(const t of this._markers.values())t.name.startsWith(e+":")&&(yield t)}_destroyMarker(e){e.stopListening(),e._detachLiveRange()}}class fi extends((0,f.Mm)(It)){constructor(e,t,o,s){super(),this.name=e,this._liveRange=this._attachLiveRange(t),this._managedUsingOperations=o,this._affectsData=s}get managedUsingOperations(){if(!this._liveRange)throw new f.Yb("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new f.Yb("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new f.Yb("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new f.Yb("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new f.Yb("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(e){return this._liveRange&&this._detachLiveRange(),e.delegate("change:range").to(this),e.delegate("change:content").to(this),this._liveRange=e,e}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}fi.prototype.is=function(e){return"marker"===e||"model:marker"===e};class gi extends vs{constructor(e,t){super(null),this.sourcePosition=e.clone(),this.howMany=t}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e}_validate(){if(this.sourcePosition.root.document)throw new f.Yb("detach-operation-on-document-node",this)}_execute(){As(Gt._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class _i extends It{constructor(e){super(),this.markers=new Map,this._children=new Nt,e&&this._insertChild(0,e)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(e){return this._children.getNode(e)}getChildAtOffset(e){return this._children.getNodeAtOffset(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}getPath(){return[]}getNodeByPath(e){let t=this;for(const o of e)t=t.getChildAtOffset(o);return t}offsetToIndex(e){return this._children.offsetToIndex(e)}toJSON(){const e=[];for(const t of this._children)e.push(t.toJSON());return e}static fromJSON(e){const t=[];for(const o of e)o.name?t.push(Lt.fromJSON(o)):t.push(Dt.fromJSON(o));return new _i(t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const o=function(e){if("string"==typeof e)return[new Dt(e)];(0,f.xZ)(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new Dt(e):e instanceof Ft?new Dt(e.data,e.getAttributes()):e))}(t);for(const e of o)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,o)}_removeChildren(e,t=1){const o=this._children._removeNodes(e,t);for(const e of o)e.parent=null;return o}}_i.prototype.is=function(e){return"documentFragment"===e||"model:documentFragment"===e};class bi{constructor(e,t){this.model=e,this.batch=t}createText(e,t){return new Dt(e,t)}createElement(e,t){return new Lt(e,t)}createDocumentFragment(){return new _i}cloneElement(e,t=!0){return e._clone(t)}insert(e,t,o=0){if(this._assertWriterUsedCorrectly(),e instanceof Dt&&""==e.data)return;const s=$t._createAt(t,o);if(e.parent){if(Ai(e.root,s.root))return void this.move(Gt._createOn(e),s);if(e.root.document)throw new f.Yb("model-writer-insert-forbidden-move",this);this.remove(e)}const i=s.root.document?s.root.document.version:null,n=new Ms(s,e,i);if(e instanceof Dt&&(n.shouldReceiveAttributes=!0),this.batch.addOperation(n),this.model.applyOperation(n),e instanceof _i)for(const[t,o]of e.markers){const e=$t._createAt(o.root,0),i={range:new Gt(o.start._getCombined(e,s),o.end._getCombined(e,s)),usingOperation:!0,affectsData:!0};this.model.markers.has(t)?this.updateMarker(t,i):this.addMarker(t,i)}}insertText(e,t,o,s){t instanceof _i||t instanceof Lt||t instanceof $t?this.insert(this.createText(e),t,o):this.insert(this.createText(e,t),o,s)}insertElement(e,t,o,s){t instanceof _i||t instanceof Lt||t instanceof $t?this.insert(this.createElement(e),t,o):this.insert(this.createElement(e,t),o,s)}append(e,t){this.insert(e,t,"end")}appendText(e,t,o){t instanceof _i||t instanceof Lt?this.insert(this.createText(e),t,"end"):this.insert(this.createText(e,t),o,"end")}appendElement(e,t,o){t instanceof _i||t instanceof Lt?this.insert(this.createElement(e),t,"end"):this.insert(this.createElement(e,t),o,"end")}setAttribute(e,t,o){if(this._assertWriterUsedCorrectly(),o instanceof Gt){const s=o.getMinimalFlatRanges();for(const o of s)ki(this,e,t,o)}else wi(this,e,t,o)}setAttributes(e,t){for(const[o,s]of(0,f.av)(e))this.setAttribute(o,s,t)}removeAttribute(e,t){if(this._assertWriterUsedCorrectly(),t instanceof Gt){const o=t.getMinimalFlatRanges();for(const t of o)ki(this,e,null,t)}else wi(this,e,null,t)}clearAttributes(e){this._assertWriterUsedCorrectly();const t=e=>{for(const t of e.getAttributeKeys())this.removeAttribute(t,e)};if(e instanceof Gt)for(const o of e.getItems())t(o);else t(e)}move(e,t,o){if(this._assertWriterUsedCorrectly(),!(e instanceof Gt))throw new f.Yb("writer-move-invalid-range",this);if(!e.isFlat)throw new f.Yb("writer-move-range-not-flat",this);const s=$t._createAt(t,o);if(s.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!Ai(e.root,s.root))throw new f.Yb("writer-move-different-document",this);const i=e.root.document?e.root.document.version:null,n=new Ss(e.start,e.end.offset-e.start.offset,s,i);this.batch.addOperation(n),this.model.applyOperation(n)}remove(e){this._assertWriterUsedCorrectly();const t=(e instanceof Gt?e:Gt._createOn(e)).getMinimalFlatRanges().reverse();for(const e of t)this._addOperationForAffectedMarkers("move",e),yi(e.start,e.end.offset-e.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const t=e.nodeBefore,o=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(t instanceof Lt))throw new f.Yb("writer-merge-no-element-before",this);if(!(o instanceof Lt))throw new f.Yb("writer-merge-no-element-after",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,t,o){return this.model.createPositionFromPath(e,t,o)}createPositionAt(e,t){return this.model.createPositionAt(e,t)}createPositionAfter(e){return this.model.createPositionAfter(e)}createPositionBefore(e){return this.model.createPositionBefore(e)}createRange(e,t){return this.model.createRange(e,t)}createRangeIn(e){return this.model.createRangeIn(e)}createRangeOn(e){return this.model.createRangeOn(e)}createSelection(...e){return this.model.createSelection(...e)}_mergeDetached(e){const t=e.nodeBefore,o=e.nodeAfter;this.move(Gt._createIn(o),$t._createAt(t,"end")),this.remove(o)}_merge(e){const t=$t._createAt(e.nodeBefore,"end"),o=$t._createAt(e.nodeAfter,0),s=e.root.document.graveyard,i=new $t(s,[0]),n=e.root.document.version,r=new Vs(o,e.nodeAfter.maxOffset,t,i,n);this.batch.addOperation(r),this.model.applyOperation(r)}rename(e,t){if(this._assertWriterUsedCorrectly(),!(e instanceof Lt))throw new f.Yb("writer-rename-not-element-instance",this);const o=e.root.document?e.root.document.version:null,s=new Ns($t._createBefore(e),e.name,t,o);this.batch.addOperation(s),this.model.applyOperation(s)}split(e,t){this._assertWriterUsedCorrectly();let o,s,i=e.parent;if(!i.parent)throw new f.Yb("writer-split-element-no-parent",this);if(t||(t=i.parent),!e.parent.getAncestors({includeSelf:!0}).includes(t))throw new f.Yb("writer-split-invalid-limit-element",this);do{const t=i.root.document?i.root.document.version:null,n=i.maxOffset-e.offset,r=Os.getInsertionPosition(e),a=new Os(e,n,r,null,t);this.batch.addOperation(a),this.model.applyOperation(a),o||s||(o=i,s=e.parent.nextSibling),i=(e=this.createPositionAfter(e.parent)).parent}while(i!==t);return{position:e,range:new Gt($t._createAt(o,"end"),$t._createAt(s,0))}}wrap(e,t){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new f.Yb("writer-wrap-range-not-flat",this);const o=t instanceof Lt?t:new Lt(t);if(o.childCount>0)throw new f.Yb("writer-wrap-element-not-empty",this);if(null!==o.parent)throw new f.Yb("writer-wrap-element-attached",this);this.insert(o,e.start);const s=new Gt(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(s,$t._createAt(o,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),null===e.parent)throw new f.Yb("writer-unwrap-element-no-parent",this);this.move(Gt._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,t){if(this._assertWriterUsedCorrectly(),!t||"boolean"!=typeof t.usingOperation)throw new f.Yb("writer-addmarker-no-usingoperation",this);const o=t.usingOperation,s=t.range,i=void 0!==t.affectsData&&t.affectsData;if(this.model.markers.has(e))throw new f.Yb("writer-addmarker-marker-exists",this);if(!s)throw new f.Yb("writer-addmarker-no-range",this);return o?(vi(this,e,null,s,i),this.model.markers.get(e)):this.model.markers._set(e,s,o,i)}updateMarker(e,t){this._assertWriterUsedCorrectly();const o="string"==typeof e?e:e.name,s=this.model.markers.get(o);if(!s)throw new f.Yb("writer-updatemarker-marker-not-exists",this);if(!t)return(0,f.FF)("writer-updatemarker-reconvert-using-editingcontroller",{markerName:o}),void this.model.markers._refresh(s);const i="boolean"==typeof t.usingOperation,n="boolean"==typeof t.affectsData,r=n?t.affectsData:s.affectsData;if(!i&&!t.range&&!n)throw new f.Yb("writer-updatemarker-wrong-options",this);const a=s.getRange(),c=t.range?t.range:a;i&&t.usingOperation!==s.managedUsingOperations?t.usingOperation?vi(this,o,null,c,r):(vi(this,o,a,null,r),this.model.markers._set(o,c,void 0,r)):s.managedUsingOperations?vi(this,o,a,c,r):this.model.markers._set(o,c,void 0,r)}removeMarker(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?e:e.name;if(!this.model.markers.has(t))throw new f.Yb("writer-removemarker-no-marker",this);const o=this.model.markers.get(t);if(!o.managedUsingOperations)return void this.model.markers._remove(t);vi(this,t,o.getRange(),null,o.affectsData)}addRoot(e,t="$root"){this._assertWriterUsedCorrectly();const o=this.model.document.getRoot(e);if(o&&o.isAttached())throw new f.Yb("writer-addroot-root-exists",this);const s=this.model.document,i=new Fs(e,t,!0,s,s.version);return this.batch.addOperation(i),this.model.applyOperation(i),this.model.document.getRoot(e)}detachRoot(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?this.model.document.getRoot(e):e;if(!t||!t.isAttached())throw new f.Yb("writer-detachroot-no-root",this);for(const e of this.model.markers)e.getRange().root===t&&this.removeMarker(e);for(const e of t.getAttributeKeys())this.removeAttribute(e,t);this.remove(this.createRangeIn(t));const o=this.model.document,s=new Fs(t.rootName,t.name,!1,o,o.version);this.batch.addOperation(s),this.model.applyOperation(s)}setSelection(...e){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...e)}setSelectionFocus(e,t){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(e,t)}setSelectionAttribute(e,t){if(this._assertWriterUsedCorrectly(),"string"==typeof e)this._setSelectionAttribute(e,t);else for(const[t,o]of(0,f.av)(e))this._setSelectionAttribute(t,o)}removeSelectionAttribute(e){if(this._assertWriterUsedCorrectly(),"string"==typeof e)this._removeSelectionAttribute(e);else for(const t of e)this._removeSelectionAttribute(t)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(e){this.model.document.selection._restoreGravity(e)}_setSelectionAttribute(e,t){const o=this.model.document.selection;if(o.isCollapsed&&o.anchor.parent.isEmpty){const s=po._getStoreAttributeKey(e);this.setAttribute(s,t,o.anchor.parent)}o._setAttribute(e,t)}_removeSelectionAttribute(e){const t=this.model.document.selection;if(t.isCollapsed&&t.anchor.parent.isEmpty){const o=po._getStoreAttributeKey(e);this.removeAttribute(o,t.anchor.parent)}t._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new f.Yb("writer-incorrect-use",this)}_addOperationForAffectedMarkers(e,t){for(const o of this.model.markers){if(!o.managedUsingOperations)continue;const s=o.getRange();let i=!1;if("move"===e){const e=t;i=e.containsPosition(s.start)||e.start.isEqual(s.start)||e.containsPosition(s.end)||e.end.isEqual(s.end)}else{const e=t,o=e.nodeBefore,n=e.nodeAfter,r=s.start.parent==o&&s.start.isAtEnd,a=s.end.parent==n&&0==s.end.offset,c=s.end.nodeAfter==n,l=s.start.nodeAfter==n;i=r||a||c||l}i&&this.updateMarker(o.name,{range:s})}}}function ki(e,t,o,s){const i=e.model,n=i.document;let r,a,c,l=s.start;for(const e of s.getWalker({shallow:!0}))c=e.item.getAttribute(t),r&&a!=c&&(a!=o&&d(),l=r),r=e.nextPosition,a=c;function d(){const s=new Gt(l,r),c=s.root.document?n.version:null,d=new Is(s,t,a,o,c);e.batch.addOperation(d),i.applyOperation(d)}r instanceof $t&&r!=l&&a!=o&&d()}function wi(e,t,o,s){const i=e.model,n=i.document,r=s.getAttribute(t);let a,c;if(r!=o){if(s.root===s){const e=s.document?n.version:null;c=new Ds(s,t,r,o,e)}else{a=new Gt($t._createBefore(s),e.createPositionAfter(s));const i=a.root.document?n.version:null;c=new Is(a,t,r,o,i)}e.batch.addOperation(c),i.applyOperation(c)}}function vi(e,t,o,s,i){const n=e.model,r=n.document,a=new Rs(t,o,s,n.markers,!!i,r.version);e.batch.addOperation(a),n.applyOperation(a)}function yi(e,t,o,s){let i;if(e.root.document){const o=s.document,n=new $t(o.graveyard,[0]);i=new Ss(e,t,n,o.version)}else i=new gi(e,t);o.addOperation(i),s.applyOperation(i)}function Ai(e,t){return e===t||e instanceof di&&t instanceof di}function xi(e,t,o={}){if(t.isCollapsed)return;const s=t.getFirstRange();if("$graveyard"==s.root.rootName)return;const i=e.schema;e.change((e=>{if(!o.doNotResetEntireContent&&function(e,t){const o=e.getLimitElement(t);if(!t.containsEntireContent(o))return!1;const s=t.getFirstRange();if(s.start.parent==s.end.parent)return!1;return e.checkChild(o,"paragraph")}(i,t))return void function(e,t){const o=e.model.schema.getLimitElement(t);e.remove(e.createRangeIn(o)),Ti(e,e.createPositionAt(o,0),t)}(e,t);const n={};if(!o.doNotAutoparagraph){const e=t.getSelectedElement();e&&Object.assign(n,i.getAttributesWithProperty(e,"copyOnReplace",!0))}const[r,a]=function(e){const t=e.root.document.model,o=e.start;let s=e.end;if(t.hasContent(e,{ignoreMarkers:!0})){const o=function(e){const t=e.parent,o=t.root.document.model.schema,s=t.getAncestors({parentFirst:!0,includeSelf:!0});for(const e of s){if(o.isLimit(e))return null;if(o.isBlock(e))return e}}(s);if(o&&s.isTouching(t.createPositionAt(o,0))){const o=t.createSelection(e);t.modifySelection(o,{direction:"backward"});const i=o.getLastPosition(),n=t.createRange(i,s);t.hasContent(n,{ignoreMarkers:!0})||(s=i)}}return[ei.fromPosition(o,"toPrevious"),ei.fromPosition(s,"toNext")]}(s);r.isTouching(a)||e.remove(e.createRange(r,a)),o.leaveUnmerged||(!function(e,t,o){const s=e.model;if(!Pi(e.model.schema,t,o))return;const[i,n]=function(e,t){const o=e.getAncestors(),s=t.getAncestors();let i=0;for(;o[i]&&o[i]==s[i];)i++;return[o[i],s[i]]}(t,o);if(!i||!n)return;!s.hasContent(i,{ignoreMarkers:!0})&&s.hasContent(n,{ignoreMarkers:!0})?Ei(e,t,o,i.parent):Ci(e,t,o,i.parent)}(e,r,a),i.removeDisallowedAttributes(r.parent.getChildren(),e)),Si(e,t,r),!o.doNotAutoparagraph&&function(e,t){const o=e.checkChild(t,"$text"),s=e.checkChild(t,"paragraph");return!o&&s}(i,r)&&Ti(e,r,t,n),r.detach(),a.detach()}))}function Ci(e,t,o,s){const i=t.parent,n=o.parent;if(i!=s&&n!=s){for(t=e.createPositionAfter(i),(o=e.createPositionBefore(n)).isEqual(t)||e.insert(n,t),e.merge(t);o.parent.isEmpty;){const t=o.parent;o=e.createPositionBefore(t),e.remove(t)}Pi(e.model.schema,t,o)&&Ci(e,t,o,s)}}function Ei(e,t,o,s){const i=t.parent,n=o.parent;if(i!=s&&n!=s){for(t=e.createPositionAfter(i),(o=e.createPositionBefore(n)).isEqual(t)||e.insert(i,o);t.parent.isEmpty;){const o=t.parent;t=e.createPositionBefore(o),e.remove(o)}o=e.createPositionBefore(n),function(e,t){const o=t.nodeBefore,s=t.nodeAfter;o.name!=s.name&&e.rename(o,s.name);e.clearAttributes(o),e.setAttributes(Object.fromEntries(s.getAttributes()),o),e.merge(t)}(e,o),Pi(e.model.schema,t,o)&&Ei(e,t,o,s)}}function Pi(e,t,o){const s=t.parent,i=o.parent;return s!=i&&(!e.isLimit(s)&&!e.isLimit(i)&&function(e,t,o){const s=new Gt(e,t);for(const e of s.getWalker())if(o.isLimit(e.item))return!1;return!0}(t,o,e))}function Ti(e,t,o,s={}){const i=e.createElement("paragraph");e.model.schema.setAllowedAttributes(i,s,e),e.insert(i,t),Si(e,o,e.createPositionAt(i,0))}function Si(e,t,o){t instanceof po?e.setSelection(o):t.setTo(o)}function Mi(e,t){const o=[];Array.from(e.getItems({direction:"backward"})).map((e=>t.createRangeOn(e))).filter((t=>(t.start.isAfter(e.start)||t.start.isEqual(e.start))&&(t.end.isBefore(e.end)||t.end.isEqual(e.end)))).forEach((e=>{o.push(e.start.parent),t.remove(e)})),o.forEach((e=>{let o=e;for(;o.parent&&o.isEmpty;){const e=t.createRangeOn(o);o=o.parent,t.remove(e)}}))}class Oi{constructor(e,t,o){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=e,this.writer=t,this.position=o,this.canMergeWith=new Set([this.position.parent]),this.schema=e.schema,this._documentFragment=t.createDocumentFragment(),this._documentFragmentPosition=t.createPositionAt(this._documentFragment,0)}handleNodes(e){for(const t of Array.from(e))this._handleNode(t);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(e){const t=this.writer.createPositionAfter(this._lastNode),o=this.writer.createPositionAfter(e);if(o.isAfter(t)){if(this._lastNode=e,this.position.parent!=e||!this.position.isAtEnd)throw new f.Yb("insertcontent-invalid-insertion-position",this);this.position=o,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Gt._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Gt(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e){this._checkAndSplitToAllowedPosition(e)?(this._appendToFragment(e),this._firstNode||(this._firstNode=e),this._lastNode=e):this.schema.isObject(e)||this._handleDisallowedNode(e)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const e=ei.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=e.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=e.toPosition(),e.detach()}_handleDisallowedNode(e){e.is("element")&&this.handleNodes(e.getChildren())}_appendToFragment(e){if(!this.schema.checkChild(this.position,e))throw new f.Yb("insertcontent-wrong-position",this,{node:e,position:this.position});this.writer.insert(e,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(e.offsetSize),this.schema.isObject(e)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=e:this._nodeToSelect=null,this._filterAttributesOf.push(e)}_setAffectedBoundaries(e){this._affectedStart||(this._affectedStart=ei.fromPosition(e,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(e)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=ei.fromPosition(e,"toNext"))}_mergeOnLeft(){const e=this._firstNode;if(!(e instanceof Lt))return;if(!this._canMergeLeft(e))return;const t=ei._createBefore(e);t.stickiness="toNext";const o=ei.fromPosition(this.position,"toNext");this._affectedStart.isEqual(t)&&(this._affectedStart.detach(),this._affectedStart=ei._createAt(t.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=t.nodeBefore,this._lastNode=t.nodeBefore),this.writer.merge(t),t.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=ei._createAt(t.nodeBefore,"end","toNext")),this.position=o.toPosition(),o.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_mergeOnRight(){const e=this._lastNode;if(!(e instanceof Lt))return;if(!this._canMergeRight(e))return;const t=ei._createAfter(e);if(t.stickiness="toNext",!this.position.isEqual(t))throw new f.Yb("insertcontent-invalid-insertion-position",this);this.position=$t._createAt(t.nodeBefore,"end");const o=ei.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(t)&&(this._affectedEnd.detach(),this._affectedEnd=ei._createAt(t.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=t.nodeBefore,this._lastNode=t.nodeBefore),this.writer.merge(t),t.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=ei._createAt(t.nodeBefore,0,"toPrevious")),this.position=o.toPosition(),o.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_canMergeLeft(e){const t=e.previousSibling;return t instanceof Lt&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(t,e)}_canMergeRight(e){const t=e.nextSibling;return t instanceof Lt&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(e,t)}_insertAutoParagraph(){this._insertPartialFragment();const e=this.writer.createElement("paragraph");this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0)}_checkAndSplitToAllowedPosition(e){const t=this._getAllowedIn(this.position.parent,e);if(!t)return!1;for(t!=this.position.parent&&this._insertPartialFragment();t!=this.position.parent;)if(this.position.isAtStart){const e=this.position.parent;this.position=this.writer.createPositionBefore(e),e.isEmpty&&e.parent===t&&this.writer.remove(e)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const e=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=e,this.canMergeWith.add(this.position.nodeAfter)}return this.schema.checkChild(this.position.parent,e)||this._insertAutoParagraph(),!0}_getAllowedIn(e,t){return this.schema.checkChild(e,t)||this.schema.checkChild(e,"paragraph")&&this.schema.checkChild("paragraph",t)?e:this.schema.isLimit(e)?null:this._getAllowedIn(e.parent,t)}}function Vi(e,t,o,s={}){if(!e.schema.isObject(t))throw new f.Yb("insertobject-element-not-an-object",e,{object:t});const i=o||e.document.selection;let n=i;s.findOptimalPosition&&e.schema.isBlock(t)&&(n=e.createSelection(e.schema.findOptimalInsertionRange(i,s.findOptimalPosition)));const r=(0,f.$1)(i.getSelectedBlocks()),a={};return r&&Object.assign(a,e.schema.getAttributesWithProperty(r,"copyOnReplace",!0)),e.change((o=>{n.isCollapsed||e.deleteContent(n,{doNotAutoparagraph:!0});let i=t;const r=n.anchor.parent;!e.schema.checkChild(r,t)&&e.schema.checkChild(r,"paragraph")&&e.schema.checkChild("paragraph",t)&&(i=o.createElement("paragraph"),o.insert(t,i)),e.schema.setAllowedAttributes(i,a,o);const c=e.insertContent(i,n);return c.isCollapsed||s.setSelection&&function(e,t,o,s){const i=e.model;if("on"==o)return void e.setSelection(t,"on");if("after"!=o)throw new f.Yb("insertobject-invalid-place-parameter-value",i);let n=t.nextSibling;if(i.schema.isInline(t))return void e.setSelection(t,"after");const r=n&&i.schema.checkChild(n,"$text");!r&&i.schema.checkChild(t.parent,"paragraph")&&(n=e.createElement("paragraph"),i.schema.setAllowedAttributes(n,s,e),i.insertContent(n,e.createPositionAfter(t)));n&&e.setSelection(n,0)}(o,t,s.setSelection,a),c}))}function Ri(e,t){const{isForward:o,walker:s,unit:i,schema:n,treatEmojiAsSingleUnit:r}=e,{type:a,item:c,nextPosition:l}=t;if("text"==a)return"word"===e.unit?function(e,t){let o=e.position.textNode;o||(o=t?e.position.nodeAfter:e.position.nodeBefore);for(;o&&o.is("$text");){const s=e.position.offset-o.startOffset;if(Bi(o,s,t))o=t?e.position.nodeAfter:e.position.nodeBefore;else{if(Ii(o.data,s,t))break;e.next()}}return e.position}(s,o):function(e,t,o){const s=e.position.textNode;if(s){const i=s.data;let n=e.position.offset-s.startOffset;for(;(0,f.P5)(i,n)||"character"==t&&(0,f.Iw)(i,n)||o&&(0,f.SQ)(i,n);)e.next(),n=e.position.offset-s.startOffset}return e.position}(s,i,r);if(a==(o?"elementStart":"elementEnd")){if(n.isSelectable(c))return $t._createAt(c,o?"after":"before");if(n.checkChild(l,"$text"))return l}else{if(n.isLimit(c))return void s.skip((()=>!0));if(n.checkChild(l,"$text"))return l}}function ji(e,t){const o=e.root,s=$t._createAt(o,t?"end":0);return t?new Gt(e,s):new Gt(s,e)}function Ii(e,t,o){const s=t+(o?0:-1);return' ,.?!:;"-()'.includes(e.charAt(s))}function Bi(e,t,o){return t===(o?e.offsetSize:0)}class Ni extends((0,f.VM)()){constructor(){super(),this.markers=new pi,this.document=new ui(this),this.schema=new Xo,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach((e=>this.decorate(e))),this.on("applyOperation",((e,t)=>{t[0]._validate()}),{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck((()=>!0),"$marker"),Wo(this),this.document.registerPostFixer(jo),this.on("insertContent",((e,[t,o])=>{e.return=function(e,t,o){return e.change((s=>{const i=o||e.document.selection;i.isCollapsed||e.deleteContent(i,{doNotAutoparagraph:!0});const n=new Oi(e,s,i.anchor),r=[];let a;if(t.is("documentFragment")){if(t.markers.size){const e=[];for(const[o,s]of t.markers){const{start:t,end:i}=s,n=t.isEqual(i);e.push({position:t,name:o,isCollapsed:n},{position:i,name:o,isCollapsed:n})}e.sort((({position:e},{position:t})=>e.isBefore(t)?1:-1));for(const{position:o,name:i,isCollapsed:n}of e){let e=null,a=null;const c=o.parent===t&&o.isAtStart,l=o.parent===t&&o.isAtEnd;c||l?n&&(a=c?"start":"end"):(e=s.createElement("$marker"),s.insert(e,o)),r.push({name:i,element:e,collapsed:a})}}a=t.getChildren()}else a=[t];n.handleNodes(a);let c=n.getSelectionRange();if(t.is("documentFragment")&&r.length){const e=c?lo.fromRange(c):null,t={};for(let e=r.length-1;e>=0;e--){const{name:o,element:i,collapsed:a}=r[e],c=!t[o];if(c&&(t[o]=[]),i){const e=s.createPositionAt(i,"before");t[o].push(e),s.remove(i)}else{const e=n.getAffectedRange();if(!e){a&&t[o].push(n.position);continue}a?t[o].push(e[a]):t[o].push(c?e.start:e.end)}}for(const[e,[o,i]]of Object.entries(t))o&&i&&o.root===i.root&&o.root.document&&!s.model.markers.has(e)&&s.addMarker(e,{usingOperation:!0,affectsData:!0,range:new Gt(o,i)});e&&(c=e.toRange(),e.detach())}c&&(i instanceof po?s.setSelection(c):i.setTo(c));const l=n.getAffectedRange()||e.createRange(i.anchor);return n.destroy(),l}))}(this,t,o)})),this.on("insertObject",((e,[t,o,s])=>{e.return=Vi(this,t,o,s)})),this.on("canEditAt",(e=>{const t=!this.document.isReadOnly;e.return=t,t||e.stop()}))}change(e){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new si,callback:e}),this._runPendingChanges()[0]):e(this._currentWriter)}catch(e){f.Yb.rethrowUnexpectedError(e,this)}}enqueueChange(e,t){try{e?"function"==typeof e?(t=e,e=new si):e instanceof si||(e=new si(e)):e=new si,this._pendingChanges.push({batch:e,callback:t}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(e){f.Yb.rethrowUnexpectedError(e,this)}}applyOperation(e){e._execute()}insertContent(e,t,o,...s){const i=Di(t,o);return this.fire("insertContent",[e,i,o,...s])}insertObject(e,t,o,s,...i){const n=Di(t,o);return this.fire("insertObject",[e,n,s,s,...i])}deleteContent(e,t){xi(this,e,t)}modifySelection(e,t){!function(e,t,o={}){const s=e.schema,i="backward"!=o.direction,n=o.unit?o.unit:"character",r=!!o.treatEmojiAsSingleUnit,a=t.focus,c=new zt({boundaries:ji(a,i),singleCharacters:!0,direction:i?"forward":"backward"}),l={walker:c,schema:s,isForward:i,unit:n,treatEmojiAsSingleUnit:r};let d;for(;d=c.next();){if(d.done)return;const o=Ri(l,d.value);if(o)return void(t instanceof po?e.change((e=>{e.setSelectionFocus(o)})):t.setFocus(o))}}(this,e,t)}getSelectedContent(e){return function(e,t){return e.change((e=>{const o=e.createDocumentFragment(),s=t.getFirstRange();if(!s||s.isCollapsed)return o;const i=s.start.root,n=s.start.getCommonPath(s.end),r=i.getNodeByPath(n);let a;a=s.start.parent==s.end.parent?s:e.createRange(e.createPositionAt(r,s.start.path[n.length]),e.createPositionAt(r,s.end.path[n.length]+1));const c=a.end.offset-a.start.offset;for(const t of a.getItems({shallow:!0}))t.is("$textProxy")?e.appendText(t.data,t.getAttributes(),o):e.append(e.cloneElement(t,!0),o);if(a!=s){const t=s._getTransformedByMove(a.start,e.createPositionAt(o,0),c)[0],i=e.createRange(e.createPositionAt(o,0),t.start);Mi(e.createRange(t.end,e.createPositionAt(o,"end")),e),Mi(i,e)}return o}))}(this,e)}hasContent(e,t={}){const o=e instanceof Gt?e:Gt._createIn(e);if(o.isCollapsed)return!1;const{ignoreWhitespaces:s=!1,ignoreMarkers:i=!1}=t;if(!i)for(const e of this.markers.getMarkersIntersectingRange(o))if(e.affectsData)return!0;for(const e of o.getItems())if(this.schema.isContent(e)){if(!e.is("$textProxy"))return!0;if(!s)return!0;if(-1!==e.data.search(/\S/))return!0}return!1}canEditAt(e){const t=Di(e);return this.fire("canEditAt",[t])}createPositionFromPath(e,t,o){return new $t(e,t,o)}createPositionAt(e,t){return $t._createAt(e,t)}createPositionAfter(e){return $t._createAfter(e)}createPositionBefore(e){return $t._createBefore(e)}createRange(e,t){return new Gt(e,t)}createRangeIn(e){return Gt._createIn(e)}createRangeOn(e){return Gt._createOn(e)}createSelection(...e){return new oo(...e)}createBatch(e){return new si(e)}createOperationFromJSON(e){return zs.fromJSON(e,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const e=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const t=this._pendingChanges[0].batch;this._currentWriter=new bi(this,t);const o=this._pendingChanges[0].callback(this._currentWriter);e.push(o),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return e}}function Di(e,t){if(e)return e instanceof oo||e instanceof po?e:e instanceof Bt?t||0===t?new oo(e,t):e.is("rootElement")?new oo(e,"in"):new oo(e,"on"):new oo(e)}class Fi extends _t{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(e){this.fire(e.type,e)}}class Li extends _t{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(e){this.fire(e.type,e)}}class zi{constructor(e){this.document=e}createDocumentFragment(e){return new Ve(this.document,e)}createElement(e,t,o){return new te(this.document,e,t,o)}createText(e){return new M(this.document,e)}clone(e,t=!1){return e._clone(t)}appendChild(e,t){return t._appendChild(e)}insertChild(e,t,o){return o._insertChild(e,t)}removeChildren(e,t,o){return o._removeChildren(e,t)}remove(e){const t=e.parent;return t?this.removeChildren(t.getChildIndex(e),1,t):[]}replace(e,t){const o=e.parent;if(o){const s=o.getChildIndex(e);return this.removeChildren(s,1,o),this.insertChild(s,t,o),!0}return!1}unwrapElement(e){const t=e.parent;if(t){const o=t.getChildIndex(e);this.remove(e),this.insertChild(o,e.getChildren(),t)}}rename(e,t){const o=new te(this.document,e,t.getAttributes(),t.getChildren());return this.replace(t,o)?o:null}setAttribute(e,t,o){o._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,o){(0,V.A)(e)&&void 0===o?t._setStyle(e):o._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,o){o._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}createPositionAt(e,t){return le._createAt(e,t)}createPositionAfter(e){return le._createAfter(e)}createPositionBefore(e){return le._createBefore(e)}createRange(e,t){return new de(e,t)}createRangeOn(e){return de._createOn(e)}createRangeIn(e){return de._createIn(e)}createSelection(...e){return new ue(...e)}}const Hi=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,$i=/^rgb\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}[0-9]{1,3}[ %]?\)$/i,Wi=/^rgba\([ ]?([0-9]{1,3}[ %]?,[ ]?){3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,qi=/^hsl\([ ]?([0-9]{1,3}[ %]?[,]?[ ]*){3}(1|[0-9]+%|[0]?\.?[0-9]+)?\)$/i,Ui=/^hsla\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,Ki=/\w+\((?:[^()]|\([^()]*\))*\)|\S+/gi,Yi=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","orange","aliceblue","antiquewhite","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","magenta","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","oldlace","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext","rebeccapurple","currentcolor","transparent"]);function Gi(e){return e.startsWith("#")?Hi.test(e):e.startsWith("rgb")?$i.test(e)||Wi.test(e):e.startsWith("hsl")?qi.test(e)||Ui.test(e):Yi.has(e.toLowerCase())}const Zi=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function Ji(e){return Zi.includes(e)}const Xi=/^([+-]?[0-9]*([.][0-9]+)?(px|cm|mm|in|pc|pt|ch|em|ex|rem|vh|vw|vmin|vmax)|0)$/;function Qi(e){return Xi.test(e)}const en=/^[+-]?[0-9]*([.][0-9]+)?%$/;function tn(e){return en.test(e)}const on=["repeat-x","repeat-y","repeat","space","round","no-repeat"];function sn(e){return on.includes(e)}const nn=["center","top","bottom","left","right"];function rn(e){return nn.includes(e)}const an=["fixed","scroll","local"];function cn(e){return an.includes(e)}const ln=/^url\(/;function dn(e){return ln.test(e)}function hn(e=""){if(""===e)return{top:void 0,right:void 0,bottom:void 0,left:void 0};const t=fn(e),o=t[0],s=t[2]||o,i=t[1]||o;return{top:o,bottom:s,right:i,left:t[3]||i}}function un(e){return t=>{const{top:o,right:s,bottom:i,left:n}=t,r=[];return[o,s,n,i].every((e=>!!e))?r.push([e,mn(t)]):(o&&r.push([e+"-top",o]),s&&r.push([e+"-right",s]),i&&r.push([e+"-bottom",i]),n&&r.push([e+"-left",n])),r}}function mn({top:e,right:t,bottom:o,left:s}){const i=[];return s!==t?i.push(e,t,o,s):o!==e?i.push(e,t,o):t!==e?i.push(e,t):i.push(e),i.join(" ")}function pn(e){return t=>({path:e,value:hn(t)})}function fn(e){const t=e.trim().slice(0,1500).matchAll(Ki);return Array.from(t).map((e=>e[0]))}function gn(e){e.setNormalizer("background",(e=>{const t={},o=fn(e);for(const e of o)sn(e)?(t.repeat=t.repeat||[],t.repeat.push(e)):rn(e)?(t.position=t.position||[],t.position.push(e)):cn(e)?t.attachment=e:Gi(e)?t.color=e:dn(e)&&(t.image=e);return{path:"background",value:t}})),e.setNormalizer("background-color",(e=>({path:"background.color",value:e}))),e.setReducer("background",(e=>{const t=[];return t.push(["background-color",e.color]),t})),e.setStyleRelation("background",["background-color"])}function _n(e){e.setNormalizer("border",(e=>{const{color:t,style:o,width:s}=xn(e);return{path:"border",value:{color:hn(t),style:hn(o),width:hn(s)}}})),e.setNormalizer("border-top",bn("top")),e.setNormalizer("border-right",bn("right")),e.setNormalizer("border-bottom",bn("bottom")),e.setNormalizer("border-left",bn("left")),e.setNormalizer("border-color",kn("color")),e.setNormalizer("border-width",kn("width")),e.setNormalizer("border-style",kn("style")),e.setNormalizer("border-top-color",vn("color","top")),e.setNormalizer("border-top-style",vn("style","top")),e.setNormalizer("border-top-width",vn("width","top")),e.setNormalizer("border-right-color",vn("color","right")),e.setNormalizer("border-right-style",vn("style","right")),e.setNormalizer("border-right-width",vn("width","right")),e.setNormalizer("border-bottom-color",vn("color","bottom")),e.setNormalizer("border-bottom-style",vn("style","bottom")),e.setNormalizer("border-bottom-width",vn("width","bottom")),e.setNormalizer("border-left-color",vn("color","left")),e.setNormalizer("border-left-style",vn("style","left")),e.setNormalizer("border-left-width",vn("width","left")),e.setExtractor("border-top",yn("top")),e.setExtractor("border-right",yn("right")),e.setExtractor("border-bottom",yn("bottom")),e.setExtractor("border-left",yn("left")),e.setExtractor("border-top-color","border.color.top"),e.setExtractor("border-right-color","border.color.right"),e.setExtractor("border-bottom-color","border.color.bottom"),e.setExtractor("border-left-color","border.color.left"),e.setExtractor("border-top-width","border.width.top"),e.setExtractor("border-right-width","border.width.right"),e.setExtractor("border-bottom-width","border.width.bottom"),e.setExtractor("border-left-width","border.width.left"),e.setExtractor("border-top-style","border.style.top"),e.setExtractor("border-right-style","border.style.right"),e.setExtractor("border-bottom-style","border.style.bottom"),e.setExtractor("border-left-style","border.style.left"),e.setReducer("border-color",un("border-color")),e.setReducer("border-style",un("border-style")),e.setReducer("border-width",un("border-width")),e.setReducer("border-top",Cn("top")),e.setReducer("border-right",Cn("right")),e.setReducer("border-bottom",Cn("bottom")),e.setReducer("border-left",Cn("left")),e.setReducer("border",function(){return t=>{const o=An(t,"top"),s=An(t,"right"),i=An(t,"bottom"),n=An(t,"left"),r=[o,s,i,n],a={width:e(r,"width"),style:e(r,"style"),color:e(r,"color")},c=En(a,"all");if(c.length)return c;return[...Object.entries(a).reduce(((e,[t,o])=>(o&&(e.push([`border-${t}`,o]),r.forEach((e=>delete e[t]))),e)),[]),...En(o,"top"),...En(s,"right"),...En(i,"bottom"),...En(n,"left")]};function e(e,t){return e.map((e=>e[t])).reduce(((e,t)=>e==t?e:null))}}()),e.setStyleRelation("border",["border-color","border-style","border-width","border-top","border-right","border-bottom","border-left","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-width","border-right-width","border-bottom-width","border-left-width"]),e.setStyleRelation("border-color",["border-top-color","border-right-color","border-bottom-color","border-left-color"]),e.setStyleRelation("border-style",["border-top-style","border-right-style","border-bottom-style","border-left-style"]),e.setStyleRelation("border-width",["border-top-width","border-right-width","border-bottom-width","border-left-width"]),e.setStyleRelation("border-top",["border-top-color","border-top-style","border-top-width"]),e.setStyleRelation("border-right",["border-right-color","border-right-style","border-right-width"]),e.setStyleRelation("border-bottom",["border-bottom-color","border-bottom-style","border-bottom-width"]),e.setStyleRelation("border-left",["border-left-color","border-left-style","border-left-width"])}function bn(e){return t=>{const{color:o,style:s,width:i}=xn(t),n={};return void 0!==o&&(n.color={[e]:o}),void 0!==s&&(n.style={[e]:s}),void 0!==i&&(n.width={[e]:i}),{path:"border",value:n}}}function kn(e){return t=>({path:"border",value:wn(t,e)})}function wn(e,t){return{[t]:hn(e)}}function vn(e,t){return o=>({path:"border",value:{[e]:{[t]:o}}})}function yn(e){return(t,o)=>{if(o.border)return An(o.border,e)}}function An(e,t){const o={};return e.width&&e.width[t]&&(o.width=e.width[t]),e.style&&e.style[t]&&(o.style=e.style[t]),e.color&&e.color[t]&&(o.color=e.color[t]),o}function xn(e){const t={},o=fn(e);for(const e of o)Qi(e)||/thin|medium|thick/.test(e)?t.width=e:Ji(e)?t.style=e:t.color=e;return t}function Cn(e){return t=>En(t,e)}function En(e,t){const o=[];if(e&&e.width&&o.push("width"),e&&e.style&&o.push("style"),e&&e.color&&o.push("color"),3==o.length){const s=o.map((t=>e[t])).join(" ");return["all"==t?["border",s]:[`border-${t}`,s]]}return"all"==t?[]:o.map((o=>[`border-${t}-${o}`,e[o]]))}function Pn(e){e.setNormalizer("margin",pn("margin")),e.setNormalizer("margin-top",(e=>({path:"margin.top",value:e}))),e.setNormalizer("margin-right",(e=>({path:"margin.right",value:e}))),e.setNormalizer("margin-bottom",(e=>({path:"margin.bottom",value:e}))),e.setNormalizer("margin-left",(e=>({path:"margin.left",value:e}))),e.setReducer("margin",un("margin")),e.setStyleRelation("margin",["margin-top","margin-right","margin-bottom","margin-left"])}function Tn(e){e.setNormalizer("padding",pn("padding")),e.setNormalizer("padding-top",(e=>({path:"padding.top",value:e}))),e.setNormalizer("padding-right",(e=>({path:"padding.right",value:e}))),e.setNormalizer("padding-bottom",(e=>({path:"padding.bottom",value:e}))),e.setNormalizer("padding-left",(e=>({path:"padding.left",value:e}))),e.setReducer("padding",un("padding")),e.setStyleRelation("padding",["padding-top","padding-right","padding-bottom","padding-left"])}const Sn="[",Mn="]",On="{",Vn="}",Rn={container:se,attribute:ye,empty:Ce,ui:Pe,raw:Me},jn={setContentOf:(e,t)=>{e.innerHTML=t}};function In(e,t={}){if(!(e instanceof jt))throw new TypeError("View needs to be an instance of module:engine/view/view~View.");const o=e.document,s=!!t.withoutSelection,i=t.rootName||"main",n=o.getRoot(i),r={showType:t.showType,showPriority:t.showPriority,renderUIElements:t.renderUIElements,renderRawElements:t.renderRawElements,ignoreRoot:!0,domConverter:t.domConverter};return s?In._stringify(n,null,r):In._stringify(n,o.selection,r)}function Bn(e,t,o={}){if(!(e instanceof jt))throw new TypeError("View needs to be an instance of module:engine/view/view~View.");const s=e.document,i=o.rootName||"main",n=s.getRoot(i);e.change((e=>{const o=Bn._parse(t,{rootElement:n});o.view&&o.selection&&e.setSelection(o.selection)}))}function Nn(e,t=null,o={}){let s;s=t instanceof le||t instanceof de?new me(t):t;return new Ln(e,s,o).stringify()}function Dn(e,t={}){const o=new ve(new X);t.order=t.order||[];const s=new Fn({sameSelectionCharacters:t.sameSelectionCharacters}),i=new ws(o,{namespaces:Object.keys(Rn)});t.inlineObjectElements&&i.domConverter.inlineObjectElements.push(...t.inlineObjectElements);let n=i.toView(e);if(n=zn(n),t.rootElement){const e=t.rootElement,o=n._removeChildren(0,n.childCount);e._removeChildren(0,e.childCount),e._appendChild(o),n=e}const r=s.parse(n,t.order);if(n.is("documentFragment")&&1===n.childCount&&(n=n.getChild(0)),r.length){return{view:n,selection:new me(r,{backward:!!t.lastRangeBackward})}}return n.parent&&n._remove(),n}In._stringify=Nn,Bn._parse=Dn;class Fn{constructor(e){this.sameSelectionCharacters=!!e.sameSelectionCharacters}parse(e,t){this._positions=[],this._getPositions(e);let o=this._createRanges();if(t.length){if(t.length!=o.length)throw new Error(`Parse error - there are ${o.length} ranges found, but ranges order array contains ${t.length} elements.`);o=this._sortRanges(o,t)}return o}_getPositions(e){if(e.is("documentFragment")||e.is("element")){const t=[...e.getChildren()];for(const e of t)this._getPositions(e)}if(e.is("$text")){const t=new RegExp(`[${On}${Vn}\\${Mn}\\${Sn}]`,"g");let o,s=e.data,i=0;const n=[];for(;o=t.exec(s);){const e=o.index,t=o[0];n.push({bracket:t,textOffset:e-i}),i++}s=s.replace(t,""),e._data=s;const r=e.index,a=e.parent;s||e._remove();for(const t of n)if(s)if(this.sameSelectionCharacters||!this.sameSelectionCharacters&&(t.bracket==On||t.bracket==Vn))this._positions.push({bracket:t.bracket,position:new le(e,t.textOffset)});else{if(!this.sameSelectionCharacters&&0!==t.textOffset&&t.textOffset!==s.length)throw new Error(`Parse error - range delimiter '${t.bracket}' is placed inside text node.`);const e=0===t.textOffset?r:r+1;this._positions.push({bracket:t.bracket,position:new le(a,e)})}else{if(!this.sameSelectionCharacters&&t.bracket==On||t.bracket==Vn)throw new Error(`Parse error - text range delimiter '${t.bracket}' is placed inside empty text node. `);this._positions.push({bracket:t.bracket,position:new le(a,r)})}}}_sortRanges(e,t){const o=[];let s=0;for(const i of t){if(void 0===e[i-1])throw new Error("Parse error - provided ranges order is invalid.");o[i-1]=e[s],s++}return o}_createRanges(){const e=[];let t=null;for(const o of this._positions){if(!t&&(o.bracket==Mn||o.bracket==Vn))throw new Error(`Parse error - end of range was found '${o.bracket}' but range was not started before.`);if(t&&(o.bracket==Sn||o.bracket==On))throw new Error(`Parse error - start of range was found '${o.bracket}' but one range is already started.`);o.bracket==Sn||o.bracket==On?t=new de(o.position,o.position):(t.end=o.position,e.push(t),t=null)}if(null!==t)throw new Error("Parse error - range was started but no end delimiter was found.");return e}}class Ln{constructor(e,t,o){this.root=e,this.selection=t,this.ranges=[],t&&(this.ranges=[...t.getRanges()]),this.showType=!!o.showType,this.showPriority=!!o.showPriority,this.showAttributeElementId=!!o.showAttributeElementId,this.ignoreRoot=!!o.ignoreRoot,this.sameSelectionCharacters=!!o.sameSelectionCharacters,this.renderUIElements=!!o.renderUIElements,this.renderRawElements=!!o.renderRawElements,this.domConverter=o.domConverter||jn}stringify(){let e="";return this._walkView(this.root,(t=>{e+=t})),e}_walkView(e,t){const o=this.ignoreRoot&&this.root===e;if(e.is("element")||e.is("documentFragment")){if(e.is("element")&&!o&&t(this._stringifyElementOpen(e)),this.renderUIElements&&e.is("uiElement"))t(e.render(document,this.domConverter).innerHTML);else if(this.renderRawElements&&e.is("rawElement")){const o=document.createElement("div");e.render(o,this.domConverter),t(o.innerHTML)}else{let o=0;t(this._stringifyElementRanges(e,o));for(const s of e.getChildren())this._walkView(s,t),o++,t(this._stringifyElementRanges(e,o))}e.is("element")&&!o&&t(this._stringifyElementClose(e))}e.is("$text")&&t(this._stringifyTextRanges(e))}_stringifyElementRanges(e,t){let o="",s="",i="";for(const n of this.ranges)n.start.parent==e&&n.start.offset===t&&(n.isCollapsed?i+=Sn+Mn:o+=Sn),n.end.parent!==e||n.end.offset!==t||n.isCollapsed||(s+=Mn);return s+i+o}_stringifyTextRanges(e){const t=e.data.length,o=e.data.split("");let s,i;this.sameSelectionCharacters?(s=Sn,i=Mn):(s=On,i=Vn),o[t]="";const n=o.map((e=>({letter:e,start:"",end:"",collapsed:""})));for(const o of this.ranges){const r=o.start,a=o.end;r.parent==e&&r.offset>=0&&r.offset<=t&&(o.isCollapsed?n[a.offset].collapsed+=s+i:n[r.offset].start+=s),a.parent==e&&a.offset>=0&&a.offset<=t&&!o.isCollapsed&&(n[a.offset].end+=i)}return n.map((e=>e.end+e.collapsed+e.start+e.letter)).join("")}_stringifyElementOpen(e){const t=this._stringifyElementPriority(e),o=this._stringifyElementId(e);return`<${[[this._stringifyElementType(e),e.name].filter((e=>""!==e)).join(":"),t,o,this._stringifyElementAttributes(e)].filter((e=>""!==e)).join(" ")}>`}_stringifyElementClose(e){return`</${[this._stringifyElementType(e),e.name].filter((e=>""!==e)).join(":")}>`}_stringifyElementType(e){if(this.showType)for(const t in Rn)if(e instanceof Rn[t])return t;return""}_stringifyElementPriority(e){return this.showPriority&&e.is("attributeElement")?`view-priority="${e.priority}"`:""}_stringifyElementId(e){return this.showAttributeElementId&&e.is("attributeElement")&&e.id?`view-id="${e.id}"`:""}_stringifyElementAttributes(e){const t=[],o=[...e.getAttributeKeys()].sort();for(const s of o){let o;o="class"===s?[...e.getClassNames()].sort().join(" "):"style"===s?[...e.getStyleNames()].sort().map((t=>`${t}:${e.getStyle(t).replace(/"/g,""")}`)).join(";"):e.getAttribute(s),t.push(`${s}="${o}"`)}return t.join(" ")}}function zn(e){if(e.is("element")||e.is("documentFragment")){const t=e.is("documentFragment")?new Ve(e.document):function(e,t){const o=function(e){const t=e.name.split(":"),o=function(e){const t=parseInt(e,10);if(!isNaN(t))return t;return null}(e.getAttribute("view-priority")),s=e.hasAttribute("view-id")?e.getAttribute("view-id"):null;if(e._removeAttribute("view-priority"),e._removeAttribute("view-id"),1==t.length)return{name:t[0],type:null!==o?"attribute":null,priority:o,id:s};const i=function(e){return e in Rn?e:null}(t[0]);if(i)return{name:t[1],type:i,priority:o,id:s};throw new Error(`Parse error - cannot parse element's name: ${e.name}.`)}(t),s=Rn[o.type],i=s?new s(e,o.name):new te(e,o.name);i.is("attributeElement")&&(null!==o.priority&&(i._priority=o.priority),null!==o.id&&(i._id=o.id));for(const e of t.getAttributeKeys())i._setAttribute(e,t.getAttribute(e));return i}(e.document,e);for(const o of[...e.getChildren()]){if(t.is("emptyElement"))throw new Error("Parse error - cannot parse inside EmptyElement.");if(t.is("uiElement"))throw new Error("Parse error - cannot parse inside UIElement.");if(t.is("rawElement"))throw new Error("Parse error - cannot parse inside RawElement.");t._appendChild(zn(o))}return t}return e}function Hn(e,t={}){if(!(e instanceof Ni))throw new TypeError("Model needs to be an instance of module:engine/model/model~Model.");const o=t.rootName||"main",s=e.document.getRoot(o);return Hn._stringify(s,t.withoutSelection?null:e.document.selection,t.convertMarkers?e.markers:null)}function $n(e,t,o={}){if(!(e instanceof Ni))throw new TypeError("Model needs to be an instance of module:engine/model/model~Model.");let s,i=null;const n=e.document.getRoot(o.rootName||"main"),r=$n._parse(t,e.schema,{lastRangeBackward:o.lastRangeBackward,selectionAttributes:o.selectionAttributes,context:[n.name],inlineObjectElements:o.inlineObjectElements});function a(t){if(t.remove(t.createRangeIn(n)),t.insert(s,n),t.setSelection(null),t.removeSelectionAttribute(e.document.selection.getAttributeKeys()),i){const e=[];for(const t of i.getRanges()){const o=new $t(n,t.start.path),s=new $t(n,t.end.path);e.push(new Gt(o,s))}t.setSelection(e,{backward:i.isBackward}),o.selectionAttributes&&t.setSelectionAttribute(i.getAttributes())}}"model"in r?(s=r.model,i=r.selection):s=r,void 0!==o.batchType?e.enqueueChange(o.batchType,a):e.change(a)}function Wn(e,t=null,o=null){const s=new Ni,i=new Zt;let n,r=null;if(e instanceof di||e instanceof _i)n=s.createRangeIn(e);else if(e.parent)n=new Gt(s.createPositionBefore(e),s.createPositionAfter(e));else{const t=new _i(e);n=s.createRangeIn(t)}t instanceof oo||t instanceof po?r=t:(t instanceof Gt||t instanceof $t)&&(r=new oo(t));const a=new X,c=new jt(a),l=c.document,d=new ae(l,"div");d.rootName="main",l.roots.add(d);const h=new Qt({mapper:i,schema:s.schema});i.bindElements(e.root,d),h.on("insert:$text",((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const s=o.writer,i=o.mapper.toViewPosition(t.range.start),n=s.createText(t.item.data);s.insert(i,n)})),h.on("insert",((e,t,o)=>{o.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||o.convertChildren(t.item)}),{priority:"lowest"}),h.on("attribute",((e,t,o)=>{if(t.item instanceof oo||t.item instanceof po||t.item.is("$textProxy")){wo(((e,{writer:o})=>o.createAttributeElement("model-text-with-attributes",{[t.attributeKey]:Yn(e)})))(e,t,o)}})),h.on("insert",vo((e=>{const t=Gn(e.getAttributes(),Yn);return new se(l,e.name,t)}))),h.on("selection",((e,t,o)=>{const s=t.selection;if(s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=[];for(const e of s.getRanges())i.push(o.mapper.toViewRange(e));o.writer.setSelection(i,{backward:s.isBackward})})),h.on("selection",((e,t,o)=>{const s=t.selection;if(!s.isCollapsed)return;if(!o.consumable.consume(s,"selection"))return;const i=o.writer,n=s.getFirstPosition(),r=o.mapper.toViewPosition(n),a=i.breakAttributes(r);i.setSelection(a)})),h.on("addMarker",yo(((e,{writer:t})=>{const o=e.markerName+":"+(e.isOpening?"start":"end");return t.createUIElement(o)})));const u=new Map;if(o)for(const e of Array.from(o).sort(((e,t)=>e.name<t.name?1:-1)))u.set(e.name,e.getRange());const m=c._writer;h.convert(n,u,m),r&&h.convertSelection(r,o||s.markers,m);let p=Nn(d,l.selection,{sameSelectionCharacters:!0});return p=p.substr(5,p.length-11),c.destroy(),p.replace(new RegExp("model-text-with-attributes","g"),"$text")}function qn(e,t,o={}){const s=new Zt,i=Dn(e=e.replace(new RegExp("\\$text","g"),"model-text-with-attributes"),{sameSelectionCharacters:!0,lastRangeBackward:!!o.lastRangeBackward,inlineObjectElements:o.inlineObjectElements});let n,r=null,a=null;"view"in i&&"selection"in i?(n=i.view,r=i.selection):n=i;const c=new Ni,l=new ms({schema:t});l.on("documentFragment",function(e){return(t,o,s)=>{const i=s.convertChildren(o.viewItem,o.modelCursor);e.bindElements(o.modelCursor.parent,o.viewItem),o=Object.assign(o,i),t.stop()}}(s)),l.on("element:model-text-with-attributes",Un()),l.on("element",function(e){return(t,o,s)=>{const i=o.viewItem.name;if(!s.schema.checkChild(o.modelCursor,i))throw new Error(`Element '${i}' was not allowed in given position.`);const n=Gn(o.viewItem.getAttributes(),Kn),r=s.writer.createElement(o.viewItem.name,n);s.writer.insert(r,o.modelCursor),e.bindElements(r,o.viewItem),s.convertChildren(o.viewItem,r),o.modelRange=Gt._createOn(r),o.modelCursor=o.modelRange.end,t.stop()}}(s)),l.on("text",Un());let d=c.change((e=>l.convert(n.root,e,o.context||"$root")));if(s.bindElements(d,n.root),1==d.childCount&&(d=d.getChild(0)),r){const e=[];for(const t of r.getRanges())e.push(s.toModelRange(t));a=new oo(e,{backward:r.isBackward});for(const[e,t]of(0,f.av)(o.selectionAttributes||[]))a.setAttribute(e,t)}return a?{model:d,selection:a}:d}function Un(){return(e,t,o)=>{if(!o.schema.checkChild(t.modelCursor,"$text"))throw new Error("Text was not allowed in given position.");let s;if(t.viewItem.is("element")){const e=Gn(t.viewItem.getAttributes(),Kn),i=t.viewItem.getChild(0);s=o.writer.createText(i.data,e)}else s=o.writer.createText(t.viewItem.data);o.writer.insert(s,t.modelCursor),t.modelRange=Gt._createFromPositionAndShift(t.modelCursor,s.offsetSize),t.modelCursor=t.modelRange.end,e.stop()}}function Kn(e){try{return JSON.parse(e)}catch(t){return e}}function Yn(e){return(0,V.A)(e)?JSON.stringify(e):e}function*Gn(e,t){for(const[o,s]of e)yield[o,t(s)]}Hn._stringify=Wn,$n._parse=qn},"./packages/ckeditor5-enter/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{x:()=>h,D:()=>f});var s=o("./packages/ckeditor5-core/src/index.ts");function*i(e,t){for(const o of t)o&&e.getAttributeProperties(o[0]).copyOnEnter&&(yield o)}class n extends s.uB{execute(){this.editor.model.change((e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})}))}enterBlock(e){const t=this.editor.model,o=t.document.selection,s=t.schema,n=o.isCollapsed,a=o.getFirstRange(),c=a.start.parent,l=a.end.parent;if(s.isLimit(c)||s.isLimit(l))return n||c!=l||t.deleteContent(o),!1;if(n){const t=i(e.model.schema,o.getAttributes());return r(e,a.start),e.setSelectionAttribute(t),!0}{const s=!(a.start.isAtStart&&a.end.isAtEnd),i=c==l;if(t.deleteContent(o,{leaveUnmerged:s}),s){if(i)return r(e,o.focus),!0;e.setSelection(l,0)}}return!1}}function r(e,t){e.split(t),e.setSelection(t.parent.nextSibling,0)}var a=o("./packages/ckeditor5-engine/src/index.ts"),c=o("./packages/ckeditor5-utils/src/index.ts");const l={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class d extends a.nu{constructor(e){super(e);const t=this.document;let o=!1;t.on("keydown",((e,t)=>{o=t.shiftKey})),t.on("beforeinput",((s,i)=>{if(!this.isEnabled)return;let n=i.inputType;c._K.isSafari&&o&&"insertParagraph"==n&&(n="insertLineBreak");const r=i.domEvent,d=l[n];if(!d)return;const h=new a.cJ(t,"enter",i.targetRanges[0]);t.fire(h,new a.FY(e,r,{isSoft:d.isSoft})),h.stop.called&&s.stop()}))}observe(){}stopObserving(){}}class h extends s.k_{static get pluginName(){return"Enter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,o=t.document,s=this.editor.t;t.addObserver(d),e.commands.add("enter",new n(e)),this.listenTo(o,"enter",((s,i)=>{o.isComposing||i.preventDefault(),i.isSoft||(e.execute("enter"),t.scrollToTheSelection())}),{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:s("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class u extends s.uB{execute(){const e=this.editor.model,t=e.document;e.change((o=>{!function(e,t,o){const s=o.isCollapsed,n=o.getFirstRange(),r=n.start.parent,a=n.end.parent,c=r==a;if(s){const s=i(e.schema,o.getAttributes());m(e,t,n.end),t.removeSelectionAttribute(o.getAttributeKeys()),t.setSelectionAttribute(s)}else{const s=!(n.start.isAtStart&&n.end.isAtEnd);e.deleteContent(o,{leaveUnmerged:s}),c?m(e,t,o.focus):s&&t.setSelection(a,0)}}(e,o,t.selection),this.fire("afterExecute",{writer:o})}))}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=function(e,t){if(t.rangeCount>1)return!1;const o=t.anchor;if(!o||!e.checkChild(o,"softBreak"))return!1;const s=t.getFirstRange(),i=s.start.parent,n=s.end.parent;if((p(i,e)||p(n,e))&&i!==n)return!1;return!0}(e.schema,t.selection)}}function m(e,t,o){const s=t.createElement("softBreak");e.insertContent(s,o),t.setSelection(s,"after")}function p(e,t){return!e.is("rootElement")&&(t.isLimit(e)||p(e.parent,t))}class f extends s.k_{static get pluginName(){return"ShiftEnter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,o=e.conversion,s=e.editing.view,i=s.document,n=this.editor.t;t.register("softBreak",{allowWhere:"$text",isInline:!0}),o.for("upcast").elementToElement({model:"softBreak",view:"br"}),o.for("downcast").elementToElement({model:"softBreak",view:(e,{writer:t})=>t.createEmptyElement("br")}),s.addObserver(d),e.commands.add("shiftEnter",new u(e)),this.listenTo(i,"enter",((t,o)=>{i.isComposing||o.preventDefault(),o.isSoft&&(e.execute("shiftEnter"),s.scrollToTheSelection())}),{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:n("Insert a soft break (a <code><br></code> element)"),keystroke:"Shift+Enter"}]})}}},"./packages/ckeditor5-typing/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{ep:()=>A,pd:()=>u,Ki:()=>r,De:()=>D,qV:()=>E,Vp:()=>P,IG:()=>x,Py:()=>$,lO:()=>W,ex:()=>C,Il:()=>q});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n{constructor(e,t=20){this._batch=null,this.model=e,this._size=0,this.limit=t,this._isLocked=!1,this._changeCallback=(e,t)=>{t.isLocal&&t.isUndoable&&t!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._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)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(e){this._size+=e,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}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)}_reset(e=!1){this.isLocked&&!e||(this._batch=null,this._size=0)}}class r extends s.uB{constructor(e,t){super(e),this._buffer=new n(e.model,t),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const t=this.editor.model,o=t.document,s=e.text||"",i=s.length;let n=o.selection;if(e.selection?n=e.selection:e.range&&(n=t.createSelection(e.range)),!t.canEditAt(n))return;const r=e.resultRange;t.enqueueChange(this._buffer.batch,(e=>{this._buffer.lock();const a=Array.from(o.selection.getAttributes());t.deleteContent(n),s&&t.insertContent(e.createText(s,a),n),r?e.setSelection(r):n.is("documentSelection")||e.setSelection(n),this._buffer.unlock(),this._buffer.input(i)}))}}var a=o("./packages/ckeditor5-engine/src/index.ts");const c=["insertText","insertReplacementText"],l=[...c,"insertCompositionText"];class d extends a.nu{constructor(e){super(e),this.focusObserver=e.getObserver(a.vp);const t=i._K.isAndroid?l:c,o=e.document;o.on("beforeinput",((s,n)=>{if(!this.isEnabled)return;const{data:r,targetRanges:c,inputType:l,domEvent:d}=n;if(!t.includes(l))return;this.focusObserver.flush();const h=new i.vY(o,"insertText");o.fire(h,new a.FY(e,d,{text:r,selection:e.createSelection(c)})),h.stop.called&&s.stop()})),i._K.isAndroid||o.on("compositionend",((t,{data:s,domEvent:i})=>{this.isEnabled&&s&&o.fire("insertText",new a.FY(e,i,{text:s}))}),{priority:"lowest"})}observe(){}stopObserving(){}}var h=o("./node_modules/lodash-es/debounce.js");class u extends s.k_{static get pluginName(){return"Input"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model,o=e.editing.view,s=e.editing.mapper,n=t.document.selection;this._compositionQueue=new m(e),o.addObserver(d);const a=new r(e,e.config.get("typing.undoStep")||20);e.commands.add("insertText",a),e.commands.add("input",a),this.listenTo(o.document,"insertText",((r,a)=>{o.document.isComposing||a.preventDefault(),i._K.isAndroid&&o.document.isComposing&&this._compositionQueue.flush("next beforeinput");const{text:c,selection:l}=a;let d;d=l?Array.from(l.getRanges()).map((e=>s.toModelRange(e))):Array.from(n.getRanges());let h=c;if(i._K.isAndroid){const e=Array.from(d[0].getItems()).reduce(((e,t)=>e+(t.is("$textProxy")?t.data:"")),"");if(e&&(e.length<=h.length?h.startsWith(e)&&(h=h.substring(e.length),d[0].start=d[0].start.getShiftedBy(e.length)):e.startsWith(h)&&(d[0].start=d[0].start.getShiftedBy(h.length),h="")),0==h.length&&d[0].isCollapsed)return}const u={text:h,selection:t.createSelection(d)};i._K.isAndroid&&o.document.isComposing?this._compositionQueue.push(u):(e.execute("insertText",u),o.scrollToTheSelection())})),i._K.isAndroid?this.listenTo(o.document,"keydown",((e,s)=>{!n.isCollapsed&&229==s.keyCode&&o.document.isComposing&&p(t,a)})):this.listenTo(o.document,"compositionstart",(()=>{n.isCollapsed||p(t,a)})),i._K.isAndroid?(this.listenTo(o.document,"mutations",((e,{mutations:t})=>{if(o.document.isComposing)for(const{node:e}of t){const t=f(e,s),o=s.toModelElement(t);if(this._compositionQueue.isComposedElement(o))return void this._compositionQueue.flush("mutations")}})),this.listenTo(o.document,"compositionend",(()=>{this._compositionQueue.flush("composition end")})),this.listenTo(o.document,"compositionend",(()=>{const e=[];for(const t of this._compositionQueue.flushComposedElements()){const o=s.toViewElement(t);o&&e.push({type:"children",node:o})}e.length&&o.document.fire("mutations",{mutations:e})}),{priority:"lowest"})):this.listenTo(o.document,"compositionend",(()=>{o.document.fire("mutations",{mutations:[]})}),{priority:"lowest"})}destroy(){super.destroy(),this._compositionQueue.destroy()}}class m{constructor(e){this.flushDebounced=(0,h.A)((()=>this.flush("timeout")),50),this._queue=[],this._compositionElements=new Set,this.editor=e}destroy(){for(this.flushDebounced.cancel(),this._compositionElements.clear();this._queue.length;)this.shift()}get length(){return this._queue.length}push(e){const t={text:e.text};if(e.selection){t.selectionRanges=[];for(const o of e.selection.getRanges())t.selectionRanges.push(a.Oo.fromRange(o)),this._compositionElements.add(o.start.parent)}this._queue.push(t),this.flushDebounced()}shift(){const e=this._queue.shift(),t={text:e.text};if(e.selectionRanges){const o=e.selectionRanges.map((e=>function(e){const t=e.toRange();if(e.detach(),"$graveyard"==t.root.rootName)return null;return t}(e))).filter((e=>!!e));o.length&&(t.selection=this.editor.model.createSelection(o))}return t}flush(e){const t=this.editor,o=t.model,s=t.editing.view;if(this.flushDebounced.cancel(),!this._queue.length)return;const i=t.commands.get("insertText").buffer;o.enqueueChange(i.batch,(()=>{for(i.lock();this._queue.length;){const e=this.shift();t.execute("insertText",e)}i.unlock()})),s.scrollToTheSelection()}isComposedElement(e){return this._compositionElements.has(e)}flushComposedElements(){const e=Array.from(this._compositionElements);return this._compositionElements.clear(),e}}function p(e,t){if(!t.isEnabled)return;const o=t.buffer;o.lock(),e.enqueueChange(o.batch,(()=>{e.deleteContent(e.document.selection)})),o.unlock()}function f(e,t){let o=e.is("$text")?e.parent:e;for(;!t.toModelElement(o);)o=o.parent;return o}class g extends s.uB{constructor(e,t){super(e),this.direction=t,this._buffer=new n(e.model,e.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(e={}){const t=this.editor.model,o=t.document;t.enqueueChange(this._buffer.batch,(s=>{this._buffer.lock();const n=s.createSelection(e.selection||o.selection);if(!t.canEditAt(n))return;const r=e.sequence||1,a=n.isCollapsed;if(n.isCollapsed&&t.modifySelection(n,{direction:this.direction,unit:e.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r))return void this._replaceEntireContentWithParagraph(s);if(this._shouldReplaceFirstBlockWithParagraph(n,r))return void this.editor.execute("paragraph",{selection:n});if(n.isCollapsed)return;let c=0;n.getFirstRange().getMinimalFlatRanges().forEach((e=>{c+=(0,i.U9)(e.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),t.deleteContent(n,{doNotResetEntireContent:a,direction:this.direction}),this._buffer.input(c),s.setSelection(n),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const t=this.editor.model,o=t.document.selection,s=t.schema.getLimitElement(o);if(!(o.isCollapsed&&o.containsEntireContent(s)))return!1;if(!t.schema.checkChild(s,"paragraph"))return!1;const i=s.getChild(0);return!i||!i.is("element","paragraph")}_replaceEntireContentWithParagraph(e){const t=this.editor.model,o=t.document.selection,s=t.schema.getLimitElement(o),i=e.createElement("paragraph");e.remove(e.createRangeIn(s)),e.insert(i,s),e.setSelection(i,0)}_shouldReplaceFirstBlockWithParagraph(e,t){const o=this.editor.model;if(t>1||"backward"!=this.direction)return!1;if(!e.isCollapsed)return!1;const s=e.getFirstPosition(),i=o.schema.getLimitElement(s),n=i.getChild(0);return s.parent==n&&(!!e.containsEntireContent(n)&&(!!o.schema.checkChild(i,"paragraph")&&"paragraph"!=n.name))}}const _="word",b="selection",k="backward",w="forward",v={deleteContent:{unit:b,direction:k},deleteContentBackward:{unit:"codePoint",direction:k},deleteWordBackward:{unit:_,direction:k},deleteHardLineBackward:{unit:b,direction:k},deleteSoftLineBackward:{unit:b,direction:k},deleteContentForward:{unit:"character",direction:w},deleteWordForward:{unit:_,direction:w},deleteHardLineForward:{unit:b,direction:w},deleteSoftLineForward:{unit:b,direction:w}};class y extends a.nu{constructor(e){super(e);const t=e.document;let o=0;t.on("keydown",(()=>{o++})),t.on("keyup",(()=>{o=0})),t.on("beforeinput",((s,n)=>{if(!this.isEnabled)return;const{targetRanges:r,domEvent:c,inputType:l}=n,d=v[l];if(!d)return;const h={direction:d.direction,unit:d.unit,sequence:o};h.unit==b&&(h.selectionToRemove=e.createSelection(r[0])),"deleteContentBackward"===l&&(i._K.isAndroid&&(h.sequence=1),function(e){if(1!=e.length||e[0].isCollapsed)return!1;const t=e[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let o=0;for(const{nextPosition:e,item:s}of t){if(e.parent.is("$text")){const t=e.parent.data,s=e.offset;if((0,i.P5)(t,s)||(0,i.Iw)(t,s)||(0,i.SQ)(t,s))continue;o++}else(s.is("containerElement")||s.is("emptyElement"))&&o++;if(o>1)return!0}return!1}(r)&&(h.unit=b,h.selectionToRemove=e.createSelection(r)));const u=new a.cJ(t,"delete",r[0]);t.fire(u,new a.FY(e,c,h)),u.stop.called&&s.stop()})),i._K.isBlink&&function(e){const t=e.view,o=t.document;let s=null,n=!1;function r(e){return e==i.uP.backspace||e==i.uP.delete}function c(e){return e==i.uP.backspace?k:w}o.on("keydown",((e,{keyCode:t})=>{s=t,n=!1})),o.on("keyup",((i,{keyCode:l,domEvent:d})=>{const h=o.selection,u=e.isEnabled&&l==s&&r(l)&&!h.isCollapsed&&!n;if(s=null,u){const e=h.getFirstRange(),s=new a.cJ(o,"delete",e),i={unit:b,direction:c(l),selectionToRemove:h};o.fire(s,new a.FY(t,d,i))}})),o.on("beforeinput",((e,{inputType:t})=>{const o=v[t];r(s)&&o&&o.direction==c(s)&&(n=!0)}),{priority:"high"}),o.on("beforeinput",((e,{inputType:t,data:o})=>{s==i.uP.delete&&"insertText"==t&&""==o&&e.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class A extends s.k_{static get pluginName(){return"Delete"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,o=t.document,s=e.model.document;t.addObserver(y),this._undoOnBackspace=!1;const i=new g(e,"forward");e.commands.add("deleteForward",i),e.commands.add("forwardDelete",i),e.commands.add("delete",new g(e,"backward")),this.listenTo(o,"delete",((s,i)=>{o.isComposing||i.preventDefault();const{direction:n,sequence:r,selectionToRemove:a,unit:c}=i,l="forward"===n?"deleteForward":"delete",d={sequence:r};if("selection"==c){const t=Array.from(a.getRanges()).map((t=>e.editing.mapper.toModelRange(t)));d.selection=e.model.createSelection(t)}else d.unit=c;e.execute(l,d),t.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(o,"delete",((t,o)=>{this._undoOnBackspace&&"backward"==o.direction&&1==o.sequence&&"codePoint"==o.unit&&(this._undoOnBackspace=!1,e.execute("undo"),o.preventDefault(),t.stop())}),{context:"$capture"}),this.listenTo(s,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class x extends s.k_{static get requires(){return[u,A]}static get pluginName(){return"Typing"}static get isOfficialPlugin(){return!0}}function C(e,t){let o=e.start;return{text:Array.from(e.getWalker({ignoreElementEnd:!1})).reduce(((e,{item:s})=>s.is("$text")||s.is("$textProxy")?e+s.data:(o=t.createPositionAfter(s),"")),""),range:t.createRange(o,e.end)}}class E extends((0,i.VM)()){constructor(e,t){super(),this.model=e,this.testCallback=t,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",(()=>{this.isEnabled?this._startListening():(this.stopListening(e.document.selection),this.stopListening(e.document))})),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const e=this.model.document;this.listenTo(e.selection,"change:range",((t,{directChange:o})=>{o&&(e.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))})),this.listenTo(e,"change:data",((e,t)=>{!t.isUndo&&t.isLocal&&this._evaluateTextBeforeSelection("data",{batch:t})}))}_evaluateTextBeforeSelection(e,t={}){const o=this.model,s=o.document.selection,i=o.createRange(o.createPositionAt(s.focus.parent,0),s.focus),{text:n,range:r}=C(i,o),a=this.testCallback(n);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const o=Object.assign(t,{text:n,range:r});"object"==typeof a&&Object.assign(o,a),this.fire(`matched:${e}`,o)}}}class P extends s.k_{constructor(e){super(e),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model,o=e.editing.view,s=e.locale,n=t.document.selection;this.listenTo(o.document,"arrowKey",((e,t)=>{if(!n.isCollapsed)return;if(t.shiftKey||t.altKey||t.ctrlKey)return;const o=t.keyCode==i.uP.arrowright,r=t.keyCode==i.uP.arrowleft;if(!o&&!r)return;const a=s.contentLanguageDirection;let c=!1;c="ltr"===a&&o||"rtl"===a&&r?this._handleForwardMovement(t):this._handleBackwardMovement(t),!0===c&&e.stop()}),{context:"$text",priority:"highest"}),this.listenTo(n,"change:range",((e,t)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!t.directChange&&R(n.getFirstPosition(),this.attributes)||this._restoreGravity())})),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(e){this.attributes.add(e)}_handleForwardMovement(e){const t=this.attributes,o=this.editor.model,s=o.document.selection,i=s.getFirstPosition();return!this._isGravityOverridden&&((!i.isAtStart||!T(s,t))&&(!!R(i,t)&&(O(e),T(s,t)&&R(i,t,!0)?M(o,t):this._overrideGravity(),!0)))}_handleBackwardMovement(e){const t=this.attributes,o=this.editor.model,s=o.document.selection,i=s.getFirstPosition();return this._isGravityOverridden?(O(e),this._restoreGravity(),R(i,t,!0)?M(o,t):S(o,t,i),!0):i.isAtStart?!!T(s,t)&&(O(e),S(o,t,i),!0):!T(s,t)&&R(i,t,!0)?(O(e),S(o,t,i),!0):!!V(i,t)&&(i.isAtEnd&&!T(s,t)&&R(i,t)?(O(e),S(o,t,i),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const e=this.editor,t=e.model,o=t.document.selection,s=e.editing.view.document;e.editing.view.addObserver(a.q$);let i=!1;this.listenTo(s,"mousedown",(()=>{i=!0})),this.listenTo(s,"selectionChange",(()=>{const e=this.attributes;if(!i)return;if(i=!1,!o.isCollapsed)return;if(!T(o,e))return;const s=o.getFirstPosition();R(s,e)&&(s.isAtStart||R(s,e,!0)?M(t,e):this._isGravityOverridden||this._overrideGravity())}))}_enableInsertContentSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection,o=this.attributes;this.listenTo(e,"insertContent",(()=>{const s=t.getFirstPosition();T(t,o)&&R(s,o)&&M(e,o)}),{priority:"low"})}_handleDeleteContentAfterNode(){const e=this.editor,t=e.model,o=t.document.selection,s=e.editing.view;let i=!1,n=!1;this.listenTo(s.document,"delete",((e,t)=>{i="backward"===t.direction}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{if(!i)return;const e=o.getFirstPosition();n=T(o,this.attributes)&&!V(e,this.attributes)}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{i&&(i=!1,n||e.model.enqueueChange((()=>{const e=o.getFirstPosition();T(o,this.attributes)&&R(e,this.attributes)&&(e.isAtStart||R(e,this.attributes,!0)?M(t,this.attributes):this._isGravityOverridden||this._overrideGravity())})))}),{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change((e=>e.overrideSelectionGravity()))}_restoreGravity(){this.editor.model.change((e=>{e.restoreSelectionGravity(this._overrideUid),this._overrideUid=null}))}}function T(e,t){for(const o of t)if(e.hasAttribute(o))return!0;return!1}function S(e,t,o){const s=o.nodeBefore;e.change((o=>{if(s){const t=[],i=e.schema.isObject(s)&&e.schema.isInline(s);for(const[o,n]of s.getAttributes())!e.schema.checkAttribute("$text",o)||i&&!1===e.schema.getAttributeProperties(o).copyFromObject||t.push([o,n]);o.setSelectionAttribute(t)}else o.removeSelectionAttribute(t)}))}function M(e,t){e.change((e=>{e.removeSelectionAttribute(t)}))}function O(e){e.preventDefault()}function V(e,t){return R(e.getShiftedBy(-1),t)}function R(e,t,o=!1){const{nodeBefore:s,nodeAfter:i}=e;for(const e of t){const t=s?s.getAttribute(e):void 0,n=i?i.getAttribute(e):void 0;if((!o||void 0!==t&&void 0!==n)&&n!==t)return!0}return!1}var j=o("./node_modules/lodash-es/escapeRegExp.js");const I={copyright:{from:"(c)",to:"©"},registeredTrademark:{from:"(r)",to:"®"},trademark:{from:"(tm)",to:"â„¢"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"½",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"â…“",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"â…”",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"¼",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"¾",null]},lessThanOrEqual:{from:"<=",to:"≤"},greaterThanOrEqual:{from:">=",to:"≥"},notEqual:{from:"!=",to:"≠"},arrowLeft:{from:"<-",to:"â†"},arrowRight:{from:"->",to:"→"},horizontalEllipsis:{from:"...",to:"…"},enDash:{from:/(^| )(--)( )$/,to:[null,"–",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"—",null]},quotesPrimary:{from:H('"'),to:[null,"“",null,"â€"]},quotesSecondary:{from:H("'"),to:[null,"‘",null,"’"]},quotesPrimaryEnGb:{from:H("'"),to:[null,"‘",null,"’"]},quotesSecondaryEnGb:{from:H('"'),to:[null,"“",null,"â€"]},quotesPrimaryPl:{from:H('"'),to:[null,"„",null,"â€"]},quotesSecondaryPl:{from:H("'"),to:[null,"‚",null,"’"]}},B={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},N=["symbols","mathematical","typography","quotes"];class D extends s.k_{static get requires(){return["Delete","Input"]}static get pluginName(){return"TextTransformation"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("typing",{transformations:{include:N}})}init(){const e=this.editor.model.document.selection;e.on("change:range",(()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")})),this._enableTransformationWatchers()}_enableTransformationWatchers(){const e=this.editor,t=e.model,o=e.plugins.get("Delete"),s=function(e){const t=e.extra||[],o=e.remove||[],s=e=>!o.includes(e);return function(e){const t=new Set;for(const o of e)if("string"==typeof o&&B[o])for(const e of B[o])t.add(e);else t.add(o);return Array.from(t)}(e.include.concat(t).filter(s)).filter(s).map((e=>"string"==typeof e&&I[e]?I[e]:e)).filter((e=>"object"==typeof e)).map((e=>({from:F(e.from),to:L(e.to)})))}(e.config.get("typing.transformations")),i=new E(e.model,(e=>{for(const t of s){if(t.from.test(e))return{normalizedTransformation:t}}}));i.on("matched:data",((e,s)=>{if(!s.batch.isTyping)return;const{from:i,to:n}=s.normalizedTransformation,r=i.exec(s.text),a=n(r.slice(1)),c=s.range;let l=r.index;t.enqueueChange((e=>{for(let o=1;o<r.length;o++){const s=r[o],i=a[o-1];if(null==i){l+=s.length;continue}const n=c.start.getShiftedBy(l),d=t.createRange(n,n.getShiftedBy(s.length)),h=z(n);t.insertContent(e.createText(i,h),d),l+=i.length}t.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))})),i.bind("isEnabled").to(this)}}function F(e){return"string"==typeof e?new RegExp(`(${(0,j.A)(e)})$`):e}function L(e){return"string"==typeof e?()=>[e]:e instanceof Array?()=>e:e}function z(e){return(e.textNode?e.textNode:e.nodeAfter).getAttributes()}function H(e){return new RegExp(`(^|\\s)(${e})([^${e}]*)(${e})$`)}function $(e,t,o,s){return s.createRange(W(e,t,o,!0,s),W(e,t,o,!1,s))}function W(e,t,o,s,i){let n=e.textNode||(s?e.nodeBefore:e.nodeAfter),r=null;for(;n&&n.getAttribute(t)==o;)r=n,n=s?n.previousSibling:n.nextSibling;return r?i.createPositionAt(r,s?"before":"after"):e}function q(e,t,o,s){const i=e.editing.view,n=new Set;i.document.registerPostFixer((i=>{const r=e.model.document.selection;let a=!1;if(r.hasAttribute(t)){const c=$(r.getFirstPosition(),t,r.getAttribute(t),e.model),l=e.editing.mapper.toViewRange(c);for(const e of l.getItems())e.is("element",o)&&!e.hasClass(s)&&(i.addClass(s,e),n.add(e),a=!0)}return a})),e.conversion.for("editingDowncast").add((e=>{function t(){i.change((e=>{for(const t of n.values())e.removeClass(s,t),n.delete(t)}))}e.on("insert",t,{priority:"highest"}),e.on("remove",t,{priority:"highest"}),e.on("attribute",t,{priority:"highest"}),e.on("selection",t,{priority:"highest"})}))}},"./packages/ckeditor5-ui/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{KO:()=>je,uI:()=>Wi,Jr:()=>Gt,bQ:()=>an,Lz:()=>mn,v1:()=>Ie,Xt:()=>fi,e0:()=>Z,yX:()=>Qi,_:()=>Q,Kn:()=>Ue,pQ:()=>Qe,ph:()=>ms,oB:()=>xs,vF:()=>Ze,eH:()=>Cs,pU:()=>Ti,wi:()=>$,ep:()=>Js,lG:()=>be,_m:()=>_e,nu:()=>fe,lU:()=>xt,nN:()=>Pt,pg:()=>zt,MO:()=>Nt,Eg:()=>oo,XH:()=>Dt,A4:()=>so,Vz:()=>wt,BO:()=>At,Gn:()=>di,nc:()=>pi,eF:()=>Fe,L7:()=>Le,H:()=>ie,Dy:()=>se,MZ:()=>Xi,Ln:()=>G,WU:()=>bi,LU:()=>_i,Zz:()=>ft,hK:()=>pt,E6:()=>mt,y0:()=>Te,kq:()=>en,xE:()=>lt,$Y:()=>ve,m_:()=>Rt,BD:()=>Ot,Je:()=>Vt,uO:()=>Bt,kS:()=>Ce,GG:()=>Cn,I8:()=>Us,BY:()=>An,zj:()=>yn,yJ:()=>Sn,lV:()=>wi,wD:()=>Bi,b8:()=>zi,XE:()=>sn,AO:()=>_o,xw:()=>ji,Wm:()=>De,Bj:()=>a,OB:()=>bt,Cy:()=>no,IY:()=>io,X3:()=>ho,JV:()=>Ms,Ss:()=>L,s3:()=>i,Jc:()=>yi,l1:()=>q,O:()=>Po,H2:()=>Ao,fM:()=>Co,wy:()=>z,yu:()=>yo,By:()=>Io,F_:()=>Ro,Vr:()=>Vo,GR:()=>jo,UR:()=>ki,Zn:()=>So,b2:()=>Ke,I0:()=>H,tp:()=>re,eG:()=>ae,lF:()=>Ye,mB:()=>Xs,iv:()=>Ge,fl:()=>ro,Z5:()=>W});var s=o("./packages/ckeditor5-utils/src/index.ts");class i extends s.pM{constructor(e=[]){super(e,{idProperty:"viewUid"}),this.on("add",((e,t,o)=>{this._renderViewIntoCollectionParent(t,o)})),this.on("remove",((e,t)=>{t.element&&this._parentElement&&t.element.remove()})),this._parentElement=null}destroy(){this.map((e=>e.destroy()))}setParent(e){this._parentElement=e;for(const e of this)this._renderViewIntoCollectionParent(e)}delegate(...e){if(!e.length||!e.every((e=>"string"==typeof e)))throw new s.Yb("ui-viewcollection-delegate-wrong-events",this);return{to:t=>{for(const o of this)for(const s of e)o.delegate(s).to(t);this.on("add",((o,s)=>{for(const o of e)s.delegate(o).to(t)})),this.on("remove",((o,s)=>{for(const o of e)s.stopDelegating(o,t)}))}}}_renderViewIntoCollectionParent(e,t){e.isRendered||e.render(),e.element&&this._parentElement&&this._parentElement.insertBefore(e.element,this._parentElement.children[t])}remove(e){return super.remove(e)}}var n=o("./node_modules/lodash-es/cloneDeepWith.js"),r=o("./node_modules/lodash-es/isObject.js");class a extends((0,s.Mm)()){constructor(e){super(),Object.assign(this,_(g(e))),this._isRendered=!1,this._revertData=null}render(){const e=this._renderNode({intoFragment:!0});return this._isRendered=!0,e}apply(e){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:e,intoFragment:!1,isApplying:!0,revertData:this._revertData}),e}revert(e){if(!this._revertData)throw new s.Yb("ui-template-revert-not-applied",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){yield*function*e(t){if(t.children)for(const o of t.children)A(o)?yield o:x(o)&&(yield*e(o))}(this)}static bind(e,t){return{to:(o,s)=>new l({eventNameOrFunction:o,attribute:o,observable:e,emitter:t,callback:s}),if:(o,s,i)=>new d({observable:e,emitter:t,attribute:o,valueIfTrue:s,callback:i})}}static extend(e,t){if(e._isRendered)throw new s.Yb("template-extend-render",[this,e]);v(e,_(g(t)))}_renderNode(e){let t;if(t=e.node?this.tag&&this.text:this.tag?this.text:!this.text,t)throw new s.Yb("ui-template-wrong-syntax",this);return this.text?this._renderText(e):this._renderElement(e)}_renderElement(e){let t=e.node;return t||(t=e.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(e),this._renderElementChildren(e),this._setUpListeners(e),t}_renderText(e){let t=e.node;return t?e.revertData.text=t.textContent:t=e.node=document.createTextNode(""),h(this.text)?this._bindToObservable({schema:this.text,updater:m(t),data:e}):t.textContent=this.text.join(""),t}_renderAttributes(e){if(!this.attributes)return;const t=e.node,o=e.revertData;for(const s in this.attributes){const i=t.getAttribute(s),n=this.attributes[s];o&&(o.attributes[s]=i);const r=E(n)?n[0].ns:null;if(h(n)){const a=E(n)?n[0].value:n;o&&P(s)&&a.unshift(i),this._bindToObservable({schema:a,updater:p(t,s,r),data:e})}else if("style"==s&&"string"!=typeof n[0])this._renderStyleAttribute(n[0],e);else{o&&i&&P(s)&&n.unshift(i);const e=n.map((e=>e&&e.value||e)).reduce(((e,t)=>e.concat(t)),[]).reduce(k,"");y(e)||t.setAttributeNS(r,s,e)}}}_renderStyleAttribute(e,t){const o=t.node;for(const s in e){const i=e[s];h(i)?this._bindToObservable({schema:[i],updater:f(o,s),data:t}):o.style[s]=i}}_renderElementChildren(e){const t=e.node,o=e.intoFragment?document.createDocumentFragment():t,i=e.isApplying;let n=0;for(const r of this.children)if(C(r)){if(!i){r.setParent(t);for(const e of r)o.appendChild(e.element)}}else if(A(r))i||(r.isRendered||r.render(),o.appendChild(r.element));else if((0,s.Ll)(r))o.appendChild(r);else if(i){const t={children:[],bindings:[],attributes:{}};e.revertData.children.push(t),r._renderNode({intoFragment:!1,node:o.childNodes[n++],isApplying:!0,revertData:t})}else o.appendChild(r.render());e.intoFragment&&t.appendChild(o)}_setUpListeners(e){if(this.eventListeners)for(const t in this.eventListeners){const o=this.eventListeners[t].map((o=>{const[s,i]=t.split("@");return o.activateDomEventListener(s,i,e)}));e.revertData&&e.revertData.bindings.push(o)}}_bindToObservable({schema:e,updater:t,data:o}){const s=o.revertData;u(e,t,o);const i=e.filter((e=>!y(e))).filter((e=>e.observable)).map((s=>s.activateAttributeListener(e,t,o)));s&&s.bindings.push(i)}_revertTemplateFromNode(e,t){for(const e of t.bindings)for(const t of e)t();if(t.text)return void(e.textContent=t.text);const o=e;for(const e in t.attributes){const s=t.attributes[e];null===s?o.removeAttribute(e):o.setAttribute(e,s)}for(let e=0;e<t.children.length;++e)this._revertTemplateFromNode(o.childNodes[e],t.children[e])}}class c{constructor(e){this.attribute=e.attribute,this.observable=e.observable,this.emitter=e.emitter,this.callback=e.callback}getValue(e){const t=this.observable[this.attribute];return this.callback?this.callback(t,e):t}activateAttributeListener(e,t,o){const s=()=>u(e,t,o);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,s),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,s)}}}class l extends c{constructor(e){super(e),this.eventNameOrFunction=e.eventNameOrFunction}activateDomEventListener(e,t,o){const s=(e,o)=>{t&&!o.target.matches(t)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(o):this.observable.fire(this.eventNameOrFunction,o))};return this.emitter.listenTo(o.node,e,s),()=>{this.emitter.stopListening(o.node,e,s)}}}class d extends c{constructor(e){super(e),this.valueIfTrue=e.valueIfTrue}getValue(e){return!y(super.getValue(e))&&(this.valueIfTrue||!0)}}function h(e){return!!e&&(e.value&&(e=e.value),Array.isArray(e)?e.some(h):e instanceof c)}function u(e,t,{node:o}){const s=function(e,t){return e.map((e=>e instanceof c?e.getValue(t):e))}(e,o);let i;i=1==e.length&&e[0]instanceof d?s[0]:s.reduce(k,""),y(i)?t.remove():t.set(i)}function m(e){return{set(t){e.textContent=t},remove(){e.textContent=""}}}function p(e,t,o){return{set(s){e.setAttributeNS(o,t,s)},remove(){e.removeAttributeNS(o,t)}}}function f(e,t){return{set(o){e.style[t]=o},remove(){e.style[t]=null}}}function g(e){return(0,n.A)(e,(e=>{if(e&&(e instanceof c||x(e)||A(e)||C(e)))return e}))}function _(e){if("string"==typeof e?e=function(e){return{text:[e]}}(e):e.text&&function(e){e.text=(0,s.$r)(e.text)}(e),e.on&&(e.eventListeners=function(e){for(const t in e)b(e,t);return e}(e.on),delete e.on),!e.text){e.attributes&&function(e){for(const t in e)e[t].value&&(e[t].value=(0,s.$r)(e[t].value)),b(e,t)}(e.attributes);const t=[];if(e.children)if(C(e.children))t.push(e.children);else for(const o of e.children)x(o)||A(o)||(0,s.Ll)(o)?t.push(o):t.push(new a(o));e.children=t}return e}function b(e,t){e[t]=(0,s.$r)(e[t])}function k(e,t){return y(t)?e:y(e)?t:`${e} ${t}`}function w(e,t){for(const o in t)e[o]?e[o].push(...t[o]):e[o]=t[o]}function v(e,t){if(t.attributes&&(e.attributes||(e.attributes={}),w(e.attributes,t.attributes)),t.eventListeners&&(e.eventListeners||(e.eventListeners={}),w(e.eventListeners,t.eventListeners)),t.text&&e.text.push(...t.text),t.children&&t.children.length){if(e.children.length!=t.children.length)throw new s.Yb("ui-template-extend-children-mismatch",e);let o=0;for(const s of t.children)v(e.children[o++],s)}}function y(e){return!e&&0!==e}function A(e){return e instanceof L}function x(e){return e instanceof a}function C(e){return e instanceof i}function E(e){return(0,r.A)(e[0])&&e[0].ns}function P(e){return"class"==e||"style"==e}var T=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),S=o.n(T),M=o("./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),O=o.n(M),V=o("./node_modules/style-loader/dist/runtime/insertBySelector.js"),R=o.n(V),j=o("./node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),I=o.n(j),B=o("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),N=o.n(B),D=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/globals/globals.css"),F={attributes:{"data-cke":!0}};F.setAttributes=I(),F.insert=R().bind(null,"head"),F.domAPI=O(),F.insertStyleElement=N();S()(D.A,F);D.A&&D.A.locals&&D.A.locals;class L extends((0,s.c5)((0,s.VM)())){constructor(e){super(),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new s.pM,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((t,o)=>{o.locale=e,o.t=e&&e.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=a.bind(this,this)}createCollection(e){const t=new i(e);return this._viewCollections.add(t),t}registerChild(e){(0,s.xZ)(e)||(e=[e]);for(const t of e)this._unboundChildren.add(t)}deregisterChild(e){(0,s.xZ)(e)||(e=[e]);for(const t of e)this._unboundChildren.remove(t)}setTemplate(e){this.template=new a(e)}extendTemplate(e){a.extend(this.template,e)}render(){if(this.isRendered)throw new s.Yb("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map((e=>e.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}function z({emitter:e,activator:t,callback:o,contextElements:s,listenerOptions:i}){e.listenTo(document,"mousedown",((e,i)=>{if(!t())return;const n="function"==typeof i.composedPath?i.composedPath():[],r="function"==typeof s?s():s;for(const e of r)if(e.contains(i.target)||n.includes(e))return;o()}),i)}function H(e){const t=e;t.set("_isCssTransitionsDisabled",!1),t.disableCssTransitions=()=>{t._isCssTransitionsDisabled=!0},t.enableCssTransitions=()=>{t._isCssTransitionsDisabled=!1},t.extendTemplate({attributes:{class:[t.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}function $(e){return class extends e{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...e){super(...e),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function W({view:e}){e.listenTo(e.element,"submit",((t,o)=>{o.preventDefault(),e.fire("submit")}),{useCapture:!0})}function q({keystrokeHandler:e,focusTracker:t,gridItems:o,numberOfColumns:s,uiLanguageDirection:i}){const n="number"==typeof s?()=>s:s;function r(e){return s=>{const i=o.find((e=>e.element===t.focusedElement)),n=o.getIndex(i),r=e(n,o);o.get(r).focus(),s.stopPropagation(),s.preventDefault()}}function a(e,t){return e===t-1?0:e+1}function c(e,t){return 0===e?t-1:e-1}e.set("arrowright",r(((e,t)=>"rtl"===i?c(e,t.length):a(e,t.length)))),e.set("arrowleft",r(((e,t)=>"rtl"===i?a(e,t.length):c(e,t.length)))),e.set("arrowup",r(((e,t)=>{let o=e-n();return o<0&&(o=e+n()*Math.floor(t.length/n()),o>t.length-1&&(o-=n())),o}))),e.set("arrowdown",r(((e,t)=>{let o=e+n();return o>t.length-1&&(o=e%n()),o})))}var U=o("./packages/ckeditor5-core/src/index.ts"),K=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/icon/icon.css"),Y={attributes:{"data-cke":!0}};Y.setAttributes=I(),Y.insert=R().bind(null,"head"),Y.domAPI=O(),Y.insertStyleElement=N();S()(K.A,Y);K.A&&K.A.locals&&K.A.locals;class G extends L{static{this.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"]}constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",e.if("isVisible","ck-hidden",(e=>!e)),"ck-reset_all-excluded",e.if("isColorInherited","ck-icon_inherit-color")],viewBox:e.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",(()=>{this._updateXMLContent(),this._colorFillPaths()})),this.on("change:fillColor",(()=>{this._colorFillPaths()}))}_updateXMLContent(){if(this.content){const e=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),t=e.getAttribute("viewBox");t&&(this.viewBox=t);for(const{name:t,value:o}of Array.from(e.attributes))G.presentationalAttributeNames.includes(t)&&this.element.setAttribute(t,o);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;e.childNodes.length>0;)this.element.appendChild(e.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach((e=>{e.style.fill=this.fillColor}))}}class Z extends L{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:e.to("style"),id:e.to("id")},children:[{text:e.to("text")}]})}}var J=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/button.css"),X={attributes:{"data-cke":!0}};X.setAttributes=I(),X.insert=R().bind(null,"head"),X.domAPI=O(),X.insertStyleElement=N();S()(J.A,X);J.A&&J.A.locals&&J.A.locals;class Q extends L{constructor(e,t=new Z){super(e),this._focusDelayed=null;const o=this.bindTemplate,i=(0,s.Ld)();this.set("_ariaPressed",!1),this.set("_ariaChecked",!1),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${i}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(t),this.iconView=new G,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const n={tag:"button",attributes:{class:["ck","ck-button",o.to("class"),o.if("isEnabled","ck-disabled",(e=>!e)),o.if("isVisible","ck-hidden",(e=>!e)),o.to("isOn",(e=>e?"ck-on":"ck-off")),o.if("withText","ck-button_with-text"),o.if("withKeystroke","ck-button_with-keystroke")],role:o.to("role"),type:o.to("type",(e=>e||"button")),tabindex:o.to("tabindex"),"aria-checked":o.to("_ariaChecked"),"aria-pressed":o.to("_ariaPressed"),"aria-label":o.to("ariaLabel"),"aria-labelledby":o.to("ariaLabelledBy"),"aria-disabled":o.if("isEnabled",!0,(e=>!e)),"data-cke-tooltip-text":o.to("_tooltipString"),"data-cke-tooltip-position":o.to("tooltipPosition")},children:this.children,on:{click:o.to((e=>{this.isEnabled?this.fire("execute"):e.preventDefault()}))}};this.bind("_ariaPressed").to(this,"isOn",this,"isToggleable",this,"role",((e,t,o)=>!(!t||ee(o))&&String(!!e))),this.bind("_ariaChecked").to(this,"isOn",this,"isToggleable",this,"role",((e,t,o)=>!(!t||!ee(o))&&String(!!e))),s._K.isSafari&&(this._focusDelayed||(this._focusDelayed=(0,s.cb)((()=>this.focus()),0)),n.on.mousedown=o.to((()=>{this._focusDelayed()})),n.on.mouseup=o.to((()=>{this._focusDelayed.cancel()}))),this.setTemplate(n)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(e){return e.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),e}_createKeystrokeView(){const e=new L;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(e=>(0,s.YA)(e)))}]}),e}_getTooltipString(e,t,o){return e?"string"==typeof e?e:(o&&(o=(0,s.YA)(o)),e instanceof Function?e(t,o):`${t}${o?` (${o})`:""}`):""}}function ee(e){switch(e){case"radio":case"checkbox":case"option":case"switch":case"menuitemcheckbox":case"menuitemradio":return!0;default:return!1}}var te=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/formheader/formheader.css"),oe={attributes:{"data-cke":!0}};oe.setAttributes=I(),oe.insert=R().bind(null,"head"),oe.domAPI=O(),oe.insertStyleElement=N();S()(te.A,oe);te.A&&te.A.locals&&te.A.locals;class se extends L{constructor(e,t={}){super(e);const o=this.bindTemplate;this.set("label",t.label||""),this.set("class",t.class||null),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__header",o.to("class")]},children:this.children}),t.icon&&(this.iconView=new G,this.iconView.content=t.icon,this.children.add(this.iconView));const s=new L(e);s.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"],role:"presentation"},children:[{text:o.to("label")}]}),this.children.add(s)}}class ie extends((0,s.Mm)()){constructor(e){if(super(),this.focusables=e.focusables,this.focusTracker=e.focusTracker,this.keystrokeHandler=e.keystrokeHandler,this.actions=e.actions,e.actions&&e.keystrokeHandler)for(const t in e.actions){let o=e.actions[t];"string"==typeof o&&(o=[o]);for(const s of o)e.keystrokeHandler.set(s,((e,o)=>{this[t](),o()}),e.keystrokeHandlerOptions)}this.on("forwardCycle",(()=>this.focusFirst()),{priority:"low"}),this.on("backwardCycle",(()=>this.focusLast()),{priority:"low"})}get first(){return this.focusables.find(ne)||null}get last(){return this.focusables.filter(ne).slice(-1)[0]||null}get next(){return this._getDomFocusableItem(1)}get previous(){return this._getDomFocusableItem(-1)}get current(){let e=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((t,o)=>{const s=t.element===this.focusTracker.focusedElement;return s&&(e=o),s})),e)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const e=this.next;e&&this.focusables.getIndex(e)===this.current||e===this.first?this.fire("forwardCycle"):this._focus(e,1)}focusPrevious(){const e=this.previous;e&&this.focusables.getIndex(e)===this.current||e===this.last?this.fire("backwardCycle"):this._focus(e,-1)}chain(e){const t=()=>null===this.current?null:this.focusables.get(this.current);this.listenTo(e,"forwardCycle",(e=>{const o=t();this.focusNext(),o!==t()&&e.stop()}),{priority:"low"}),this.listenTo(e,"backwardCycle",(e=>{const o=t();this.focusPrevious(),o!==t()&&e.stop()}),{priority:"low"})}unchain(e){this.stopListening(e)}_focus(e,t){e&&this.focusTracker.focusedElement!==e.element&&e.focus(t)}_getDomFocusableItem(e){const t=this.focusables.length;if(!t)return null;const o=this.current;if(null===o)return this[1===e?"first":"last"];let s=this.focusables.get(o),i=(o+t+e)%t;do{const o=this.focusables.get(i);if(ne(o)){s=o;break}i=(i+t+e)%t}while(i!==o);return s}}function ne(e){return re(e)&&(0,s.zN)(e.element)}function re(e){return!(!("focus"in e)||"function"!=typeof e.focus)}function ae(e){return re(e)&&"focusCycler"in e&&e.focusCycler instanceof ie}function ce(e){return class extends e{constructor(...e){super(...e),this._onDragBound=this._onDrag.bind(this),this._onDragEndBound=this._onDragEnd.bind(this),this._lastDraggingCoordinates={x:0,y:0},this.on("render",(()=>{this._attachListeners()})),this.set("isDragging",!1)}_attachListeners(){this.listenTo(this.element,"mousedown",this._onDragStart.bind(this)),this.listenTo(this.element,"touchstart",this._onDragStart.bind(this))}_attachDragListeners(){this.listenTo(s.Sf.document,"mouseup",this._onDragEndBound),this.listenTo(s.Sf.document,"touchend",this._onDragEndBound),this.listenTo(s.Sf.document,"mousemove",this._onDragBound),this.listenTo(s.Sf.document,"touchmove",this._onDragBound)}_detachDragListeners(){this.stopListening(s.Sf.document,"mouseup",this._onDragEndBound),this.stopListening(s.Sf.document,"touchend",this._onDragEndBound),this.stopListening(s.Sf.document,"mousemove",this._onDragBound),this.stopListening(s.Sf.document,"touchmove",this._onDragBound)}_onDragStart(e,t){if(!this._isHandleElementPressed(t))return;this._attachDragListeners();let o=0,s=0;t instanceof MouseEvent?(o=t.clientX,s=t.clientY):(o=t.touches[0].clientX,s=t.touches[0].clientY),this._lastDraggingCoordinates={x:o,y:s},this.isDragging=!0}_onDrag(e,t){if(!this.isDragging)return void this._detachDragListeners();let o=0,s=0;t instanceof MouseEvent?(o=t.clientX,s=t.clientY):(o=t.touches[0].clientX,s=t.touches[0].clientY),t.preventDefault(),this.fire("drag",{deltaX:Math.round(o-this._lastDraggingCoordinates.x),deltaY:Math.round(s-this._lastDraggingCoordinates.y)}),this._lastDraggingCoordinates={x:o,y:s}}_onDragEnd(){this._detachDragListeners(),this.isDragging=!1}_isHandleElementPressed(e){return!!this.dragHandleElement&&(this.dragHandleElement===e.target||e.target instanceof HTMLElement&&this.dragHandleElement.contains(e.target))}}}var le=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialogactions.css"),de={attributes:{"data-cke":!0}};de.setAttributes=I(),de.insert=R().bind(null,"head"),de.domAPI=O(),de.insertStyleElement=N();S()(le.A,de);le.A&&le.A.locals&&le.A.locals;class he extends L{constructor(e){super(e),this.children=this.createCollection(),this.keystrokes=new s.EP,this._focusTracker=new s.$x,this._focusables=new i,this.focusCycler=new ie({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__actions"]},children:this.children})}render(){super.render(),this.keystrokes.listenTo(this.element)}setButtons(e){for(const t of e){const e=new Q(this.locale);let o;for(o in e.on("execute",(()=>t.onExecute())),t.onCreate&&t.onCreate(e),t)"onExecute"!=o&&"onCreate"!=o&&e.set(o,t[o]);this.children.add(e)}this._updateFocusCyclableItems()}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}_updateFocusCyclableItems(){Array.from(this.children).forEach((e=>{this._focusables.add(e),this._focusTracker.add(e.element)}))}}class ue extends L{constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__content"]},children:this.children})}reset(){for(;this.children.length;)this.children.remove(0)}}var me=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dialog/dialog.css"),pe={attributes:{"data-cke":!0}};pe.setAttributes=I(),pe.insert=R().bind(null,"head"),pe.domAPI=O(),pe.insertStyleElement=N();S()(me.A,pe);me.A&&me.A.locals&&me.A.locals;const fe={SCREEN_CENTER:"screen-center",EDITOR_CENTER:"editor-center",EDITOR_TOP_SIDE:"editor-top-side",EDITOR_TOP_CENTER:"editor-top-center",EDITOR_BOTTOM_CENTER:"editor-bottom-center",EDITOR_ABOVE_CENTER:"editor-above-center",EDITOR_BELOW_CENTER:"editor-below-center"},ge=(0,s.To)("px");class _e extends(ce(L)){constructor(e,{getCurrentDomRoot:t,getViewportOffset:o}){super(e),this.wasMoved=!1;const n=this.bindTemplate,r=e.t;this.set("className",""),this.set("ariaLabel",r("Editor dialog")),this.set("isModal",!1),this.set("position",fe.SCREEN_CENTER),this.set("_isVisible",!1),this.set("_isTransparent",!1),this.set("_top",0),this.set("_left",0),this._getCurrentDomRoot=t,this._getViewportOffset=o,this.decorate("moveTo"),this.parts=this.createCollection(),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this._focusables=new i,this._focusCycler=new ie({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog-overlay",n.if("isModal","ck-dialog-overlay__transparent",(e=>!e)),n.if("_isVisible","ck-hidden",(e=>!e))],tabindex:"-1"},children:[{tag:"div",attributes:{tabindex:"-1",class:["ck","ck-dialog",n.if("isModal","ck-dialog_modal"),n.to("className")],role:"dialog","aria-label":n.to("ariaLabel"),style:{top:n.to("_top",(e=>ge(e))),left:n.to("_left",(e=>ge(e))),visibility:n.if("_isTransparent","hidden")}},children:this.parts}]})}static{this.defaultOffset=15}render(){super.render(),this.keystrokes.set("Esc",((e,t)=>{this.fire("close",{source:"escKeyPress"}),t()})),this.on("drag",((e,{deltaX:t,deltaY:o})=>{this.wasMoved=!0,this.moveBy(t,o)})),this.listenTo(s.Sf.window,"resize",(()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()})),this.listenTo(s.Sf.document,"scroll",(()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()})),this.on("change:_isVisible",((e,t,o)=>{o&&(this._isTransparent=!0,setTimeout((()=>{this.updatePosition(),this._isTransparent=!1,this.focus()}),10))})),this.keystrokes.listenTo(this.element)}get dragHandleElement(){return this.headerView&&!this.isModal?this.headerView.element:null}setupParts({icon:e,title:t,hasCloseButton:o=!0,content:s,actionButtons:i}){t&&(this.headerView=new se(this.locale,{icon:e}),o&&(this.closeButtonView=this._createCloseButton(),this.headerView.children.add(this.closeButtonView)),this.headerView.label=t,this.ariaLabel=t,this.parts.add(this.headerView,0)),s&&(s instanceof L&&(s=[s]),this.contentView=new ue(this.locale),this.contentView.children.addMany(s),this.parts.add(this.contentView)),i&&(this.actionsView=new he(this.locale),this.actionsView.setButtons(i),this.parts.add(this.actionsView)),this._updateFocusCyclableItems()}focus(){this._focusCycler.focusFirst()}moveTo(e,t){const o=this._getViewportRect(),s=this._getDialogRect();e+s.width>o.right&&(e=o.right-s.width),e<o.left&&(e=o.left),t<o.top&&(t=o.top),this._moveTo(e,t)}_moveTo(e,t){this._left=e,this._top=t}moveBy(e,t){this.moveTo(this._left+e,this._top+t)}_moveOffScreen(){this._moveTo(-9999,-9999)}updatePosition(){if(!this.element||!this.element.parentNode)return;const e=this._getViewportRect();let t,o=this.position;this._getCurrentDomRoot()?t=this._getVisibleDomRootRect(e):o=fe.SCREEN_CENTER;const s=_e.defaultOffset,i=this._getDialogRect();switch(o){case fe.EDITOR_TOP_SIDE:if(t){const e="ltr"===this.locale.contentLanguageDirection?t.right-i.width-s:t.left+s;this.moveTo(e,t.top+s)}else this._moveOffScreen();break;case fe.EDITOR_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),Math.round(t.top+t.height/2-i.height/2)):this._moveOffScreen();break;case fe.SCREEN_CENTER:this.moveTo(Math.round((e.width-i.width)/2),Math.round((e.height-i.height)/2));break;case fe.EDITOR_TOP_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.top+s):this._moveOffScreen();break;case fe.EDITOR_BOTTOM_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.bottom-i.height-s):this._moveOffScreen();break;case fe.EDITOR_ABOVE_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.top-i.height-s):this._moveOffScreen();break;case fe.EDITOR_BELOW_CENTER:t?this.moveTo(Math.round(t.left+t.width/2-i.width/2),t.bottom+s):this._moveOffScreen()}}_getVisibleDomRootRect(e){let t=new s.rw(this._getCurrentDomRoot()).getVisible();return t?(t=e.getIntersection(t),t||null):null}_getDialogRect(){return new s.rw(this.element.firstElementChild)}_getViewportRect(){const e=new s.rw(s.Sf.window);if(this.isModal)return e;const t={top:0,bottom:0,left:0,right:0,...this._getViewportOffset()};return e.top+=t.top,e.height-=t.top,e.bottom-=t.bottom,e.height-=t.bottom,e.left+=t.left,e.right-=t.right,e.width-=t.left+t.right,e}_updateFocusCyclableItems(){const e=[];if(this.contentView)for(const t of this.contentView.children)re(t)&&e.push(t);this.actionsView&&e.push(this.actionsView),this.closeButtonView&&e.push(this.closeButtonView),e.forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element),ae(e)&&this._focusCycler.chain(e.focusCycler)}))}_createCloseButton(){const e=new Q(this.locale),t=this.locale.t;return e.set({label:t("Close"),tooltip:!0,icon:U.Pt.cancel}),e.on("execute",(()=>this.fire("close",{source:"closeButton"}))),e}}class be extends U.k_{static get pluginName(){return"Dialog"}static get isOfficialPlugin(){return!0}constructor(e){super(e);const t=e.t;this._initShowHideListeners(),this._initFocusToggler(),this._initMultiRootIntegration(),this.set({id:null,isOpen:!1}),e.accessibility.addKeystrokeInfos({categoryId:"navigation",keystrokes:[{label:t("Move focus in and out of an active dialog window"),keystroke:"Ctrl+F6",mayRequireFn:!0}]})}destroy(){super.destroy(),this._unlockBodyScroll()}_initShowHideListeners(){this.on("show",((e,t)=>{this._show(t)})),this.on("show",((e,t)=>{t.onShow&&t.onShow(this)}),{priority:"low"}),this.on("hide",(()=>{be._visibleDialogPlugin&&be._visibleDialogPlugin._hide()})),this.on("hide",(()=>{this._onHide&&(this._onHide(this),this._onHide=void 0)}),{priority:"low"})}_initFocusToggler(){const e=this.editor;e.keystrokes.set("Ctrl+F6",((t,o)=>{this.isOpen&&!this.view.isModal&&(this.view.focusTracker.isFocused?e.editing.view.focus():this.view.focus(),o())}))}_initMultiRootIntegration(){const e=this.editor.model;e.document.on("change:data",(()=>{if(!this.view)return;const t=e.document.differ.getChangedRoots();for(const e of t)e.state&&this.view.updatePosition()}))}show(e){this.hide(),this.fire(`show:${e.id}`,e)}_show({id:e,icon:t,title:o,hasCloseButton:s=!0,content:i,actionButtons:n,className:r,isModal:a,position:c,onHide:l}){const d=this.editor;this.view=new _e(d.locale,{getCurrentDomRoot:()=>d.editing.view.getDomRoot(d.model.document.selection.anchor.root.rootName),getViewportOffset:()=>d.ui.viewportOffset});const h=this.view;h.on("close",(()=>{this.hide()})),d.ui.view.body.add(h),d.keystrokes.listenTo(h.element),c||(c=a?fe.SCREEN_CENTER:fe.EDITOR_CENTER),a&&this._lockBodyScroll(),h.set({position:c,_isVisible:!0,className:r,isModal:a}),h.setupParts({icon:t,title:o,hasCloseButton:s,content:i,actionButtons:n}),this.id=e,l&&(this._onHide=l),this.isOpen=!0,be._visibleDialogPlugin=this}hide(){be._visibleDialogPlugin&&be._visibleDialogPlugin.fire(`hide:${be._visibleDialogPlugin.id}`)}_hide(){if(!this.view)return;const e=this.editor,t=this.view;t.isModal&&this._unlockBodyScroll(),t.contentView&&t.contentView.reset(),e.ui.view.body.remove(t),e.ui.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),t.destroy(),e.editing.view.focus(),this.id=null,this.isOpen=!1,be._visibleDialogPlugin=null}_lockBodyScroll(){document.documentElement.classList.add("ck-dialog-scroll-locked")}_unlockBodyScroll(){document.documentElement.classList.remove("ck-dialog-scroll-locked")}}var ke=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/listitembutton.css"),we={attributes:{"data-cke":!0}};we.setAttributes=I(),we.insert=R().bind(null,"head"),we.domAPI=O(),we.insertStyleElement=N();S()(ke.A,we);ke.A&&ke.A.locals&&ke.A.locals;class ve extends Q{constructor(e,t=new Z){super(e,t),this._checkIconHolderView=new ye,this.set({hasCheckSpace:!1,_hasCheck:this.isToggleable});const o=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-list-item-button",o.if("isToggleable","ck-list-item-button_toggleable")]}}),this.bind("_hasCheck").to(this,"hasCheckSpace",this,"isToggleable",((e,t)=>e||t))}render(){super.render(),this._hasCheck&&this.children.add(this._checkIconHolderView,0),this._watchCheckIconHolderMount()}_watchCheckIconHolderMount(){this._checkIconHolderView.bind("isOn").to(this,"isOn",(e=>this.isToggleable&&e)),this.on("change:_hasCheck",((e,t,o)=>{const{children:s,_checkIconHolderView:i}=this;o?s.add(i,0):s.remove(i)}))}}class ye extends L{constructor(){super(),this._checkIconView=this._createCheckIconView();const e=this.bindTemplate;this.children=this.createCollection(),this.set("isOn",!1),this.setTemplate({tag:"span",children:this.children,attributes:{class:["ck","ck-list-item-button__check-holder",e.to("isOn",(e=>e?"ck-on":"ck-off"))]}})}render(){super.render(),this.isOn&&this.children.add(this._checkIconView,0),this._watchCheckIconMount()}_watchCheckIconMount(){this.on("change:isOn",((e,t,o)=>{const{children:s,_checkIconView:i}=this;o&&!s.has(i)?s.add(i):!o&&s.has(i)&&s.remove(i)}))}_createCheckIconView(){const e=new G;return e.content=U.Pt.check,e.extendTemplate({attributes:{class:"ck-list-item-button__check-icon"}}),e}}var Ae=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitembutton.css"),xe={attributes:{"data-cke":!0}};xe.setAttributes=I(),xe.insert=R().bind(null,"head"),xe.domAPI=O(),xe.insertStyleElement=N();S()(Ae.A,xe);Ae.A&&Ae.A.locals&&Ae.A.locals;class Ce extends ve{constructor(e){super(e),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}var Ee=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/label/label.css"),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=I(),Pe.insert=R().bind(null,"head"),Pe.domAPI=O(),Pe.insertStyleElement=N();S()(Ee.A,Pe);Ee.A&&Ee.A.locals&&Ee.A.locals;class Te extends L{constructor(e){super(e),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${(0,s.Ld)()}`;const t=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:t.to("for")},children:[{text:t.to("text")}]})}}class Se extends L{constructor(e,t){super(e);const o=e.t,i=new Te;i.text=o("Help Contents. To close this dialog press ESC."),this.setTemplate({tag:"div",attributes:{class:["ck","ck-accessibility-help-dialog__content"],"aria-labelledby":i.id,role:"document",tabindex:-1},children:[(0,s.n)(document,"p",{},o("Below, you can find a list of keyboard shortcuts that can be used in the editor.")),...this._createCategories(Array.from(t.values())),i]})}focus(){this.element.focus()}_createCategories(e){return e.map((e=>{const t=[(0,s.n)(document,"h3",{},e.label),...Array.from(e.groups.values()).map((e=>this._createGroup(e))).flat()];return e.description&&t.splice(1,0,(0,s.n)(document,"p",{},e.description)),(0,s.n)(document,"section",{},t)}))}_createGroup(e){const t=e.keystrokes.sort(((e,t)=>e.label.localeCompare(t.label))).map((e=>this._createGroupRow(e))).flat(),o=[(0,s.n)(document,"dl",{},t)];return e.label&&o.unshift((0,s.n)(document,"h4",{},e.label)),o}_createGroupRow(e){const t=this.locale.t,o=(0,s.n)(document,"dt"),i=(0,s.n)(document,"dd"),n=function(e){if("string"==typeof e)return[[e]];if("string"==typeof e[0])return[e];return e}(e.keystroke),r=[];for(const e of n)r.push(e.map(Me).join(""));return o.innerHTML=e.label,i.innerHTML=r.join(", ")+(e.mayRequireFn&&s._K.isMac?` ${t("(may require <kbd>Fn</kbd>)")}`:""),[o,i]}}function Me(e){return(0,s.YA)(e).split("+").map((e=>`<kbd>${e}</kbd>`)).join("+")}const Oe='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 6.628a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M8.5 9.125a.3.3 0 0 0-.253-.296L5.11 8.327a.75.75 0 1 1 .388-1.449l4.04.716c.267.072.624.08.893.009l4.066-.724a.75.75 0 1 1 .388 1.45l-3.132.5a.3.3 0 0 0-.253.296v1.357a.3.3 0 0 0 .018.102l1.615 4.438a.75.75 0 0 1-1.41.513l-1.35-3.71a.3.3 0 0 0-.281-.197h-.209a.3.3 0 0 0-.282.198l-1.35 3.711a.75.75 0 0 1-1.41-.513l1.64-4.509a.3.3 0 0 0 .019-.103V9.125Z"/><path clip-rule="evenodd" d="M10 18.5a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17Zm0 1.5c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10Z"/></svg>';var Ve=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/accessibilityhelp.css"),Re={attributes:{"data-cke":!0}};Re.setAttributes=I(),Re.insert=R().bind(null,"head"),Re.domAPI=O(),Re.insertStyleElement=N();S()(Ve.A,Re);Ve.A&&Ve.A.locals&&Ve.A.locals;class je extends U.k_{constructor(){super(...arguments),this.contentView=null}static get requires(){return[be]}static get pluginName(){return"AccessibilityHelp"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t;e.ui.componentFactory.add("accessibilityHelp",(()=>{const e=this._createButton(Q);return e.set({tooltip:!0,withText:!1,label:t("Accessibility help")}),e})),e.ui.componentFactory.add("menuBar:accessibilityHelp",(()=>{const e=this._createButton(Ce);return e.label=t("Accessibility"),e})),e.keystrokes.set("Alt+0",((e,t)=>{this._toggleDialog(),t()})),this._setupRootLabels()}_createButton(e){const t=this.editor,o=t.plugins.get("Dialog"),s=new e(t.locale);return s.set({keystroke:"Alt+0",icon:Oe,isToggleable:!0}),s.on("execute",(()=>this._toggleDialog())),s.bind("isOn").to(o,"id",(e=>"accessibilityHelp"===e)),s}_setupRootLabels(){const e=this.editor,t=e.editing.view,o=e.t;function i(e,t){const i=[t.getAttribute("aria-label"),o("Press %0 for help.",[(0,s.YA)("Alt+0")])].filter((e=>e)).join(". ");e.setAttribute("aria-label",i,t)}e.ui.on("ready",(()=>{t.change((e=>{for(const o of t.document.roots)i(e,o)})),e.on("addRoot",((o,s)=>{const n=e.editing.view.document.getRoot(s.rootName);t.change((e=>i(e,n)))}),{priority:"low"})}))}_toggleDialog(){const e=this.editor,t=e.plugins.get("Dialog"),o=e.locale.t;this.contentView||(this.contentView=new Se(e.locale,e.accessibility.keystrokeInfos)),"accessibilityHelp"===t.id?t.hide():t.show({id:"accessibilityHelp",className:"ck-accessibility-help-dialog",title:o("Accessibility help"),icon:Oe,hasCloseButton:!0,content:this.contentView})}}class Ie extends i{constructor(e,t=[]){super(t),this.locale=e}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new a({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection,role:"application"},children:this}).render();let e=document.querySelector(".ck-body-wrapper");e||(e=(0,s.n)(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(e)),e.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const e=document.querySelector(".ck-body-wrapper");e&&0==e.childElementCount&&e.remove()}}var Be=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/button/switchbutton.css"),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=I(),Ne.insert=R().bind(null,"head"),Ne.domAPI=O(),Ne.insertStyleElement=N();S()(Be.A,Ne);Be.A&&Be.A.locals&&Be.A.locals;class De extends Q{constructor(e){super(e),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const e=new L;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}class Fe extends(ze(Q)){}class Le extends(ze(ve)){}function ze(e){return class extends e{constructor(...e){super(...e),this.buttonView=this,this._fileInputView=new He(this.locale),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",(()=>{this._fileInputView.open()})),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}}class He extends L{constructor(e){super(e),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:t.to("acceptedType"),multiple:t.to("allowMultipleFiles")},on:{change:t.to((()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""}))}})}open(){this.element.click()}}const $e='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/></svg>';var We=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/collapsible/collapsible.css"),qe={attributes:{"data-cke":!0}};qe.setAttributes=I(),qe.insert=R().bind(null,"head"),qe.domAPI=O(),qe.insertStyleElement=N();S()(We.A,qe);We.A&&We.A.locals&&We.A.locals;class Ue extends L{constructor(e,t){super(e);const o=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),t&&this.children.addMany(t),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",o.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:o.if("isCollapsed","hidden"),"aria-labelledby":o.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const e=new Q(this.locale),t=e.bindTemplate;return e.set({withText:!0,icon:$e}),e.extendTemplate({attributes:{"aria-expanded":t.to("isOn",(e=>String(e)))}}),e.bind("label").to(this),e.bind("isOn").to(this,"isCollapsed",(e=>!e)),e.on("execute",(()=>{this.isCollapsed=!this.isCollapsed})),e}}function Ke(e,t){const o=e.t,s={Black:o("Black"),"Dim grey":o("Dim grey"),Grey:o("Grey"),"Light grey":o("Light grey"),White:o("White"),Red:o("Red"),Orange:o("Orange"),Yellow:o("Yellow"),"Light green":o("Light green"),Green:o("Green"),Aquamarine:o("Aquamarine"),Turquoise:o("Turquoise"),"Light blue":o("Light blue"),Blue:o("Blue"),Purple:o("Purple")};return t.map((e=>{const t=s[e.label];return t&&t!=e.label&&(e.label=t),e}))}function Ye(e){return e.map(Ge).filter((e=>!!e))}function Ge(e){return"string"==typeof e?{model:e,label:e,hasBorder:!1,view:{name:"span",styles:{color:e}}}:{model:e.color,label:e.label||e.color,hasBorder:void 0!==e.hasBorder&&e.hasBorder,view:{name:"span",styles:{color:`${e.color}`}}}}class Ze extends Q{constructor(e){super(e);const t=this.bindTemplate;this.set("color",void 0),this.set("hasBorder",!1),this.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M16.935 5.328a2 2 0 0 1 0 2.829l-7.778 7.778a2 2 0 0 1-2.829 0L3.5 13.107a1.999 1.999 0 1 1 2.828-2.829l.707.707a1 1 0 0 0 1.414 0l5.658-5.657a2 2 0 0 1 2.828 0z"/><path d="M14.814 6.035 8.448 12.4a1 1 0 0 1-1.414 0l-1.413-1.415A1 1 0 1 0 4.207 12.4l2.829 2.829a1 1 0 0 0 1.414 0l7.778-7.778a1 1 0 1 0-1.414-1.415z"/></svg>',this.extendTemplate({attributes:{style:{backgroundColor:t.to("color",(e=>s._K.isMediaForcedColors?null:e))},class:["ck","ck-color-grid__tile",t.if("hasBorder","ck-color-selector__color-tile_bordered")]}})}render(){super.render(),this.iconView.fillColor="hsl(0, 0%, 100%)"}}var Je=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorgrid/colorgrid.css"),Xe={attributes:{"data-cke":!0}};Xe.setAttributes=I(),Xe.insert=R().bind(null,"head"),Xe.domAPI=O(),Xe.insertStyleElement=N();S()(Je.A,Xe);Je.A&&Je.A.locals&&Je.A.locals;class Qe extends L{constructor(e,t){super(e);const o=t&&t.colorDefinitions?t.colorDefinitions:[];this.columns=t&&t.columns?t.columns:5;const i={gridTemplateColumns:`repeat( ${this.columns}, 1fr)`};this.set("selectedColor",void 0),this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this.items.on("add",((e,t)=>{t.isOn=t.color===this.selectedColor})),o.forEach((e=>{const t=new Ze;t.set({color:e.color,label:e.label,tooltip:!0,hasBorder:e.options.hasBorder}),t.on("execute",(()=>{this.fire("execute",{value:e.color,hasBorder:e.options.hasBorder,label:e.label})})),this.items.add(t)})),this.setTemplate({tag:"div",children:this.items,attributes:{class:["ck","ck-color-grid"],style:i}}),this.on("change:selectedColor",((e,t,o)=>{for(const e of this.items)e.isOn=e.color===o}))}focus(){this.items.length&&this.items.first.focus()}focusLast(){this.items.length&&this.items.last.focus()}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",((e,t)=>{this.focusTracker.add(t.element)})),this.items.on("remove",((e,t)=>{this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element),q({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:this.columns,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}var et=o("./node_modules/color-name/index.js");const tt=function(e){var t,o,s=[],i=1;if("string"==typeof e)if(et[e])s=et[e].slice(),o="rgb";else if("transparent"===e)i=0,o="rgb",s=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);i=1,(c=n.length)<=4?(s=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===c&&(i=parseInt(n[3]+n[3],16)/255)):(s=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===c&&(i=parseInt(n[6]+n[7],16)/255)),s[0]||(s[0]=0),s[1]||(s[1]=0),s[2]||(s[2]=0),o="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var r=t[1],a="rgb"===r;o=n=r.replace(/a$/,"");var c="cmyk"===n?4:"gray"===n?1:3;s=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===c?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==ot[e])return ot[e]}return parseFloat(e)})),r===n&&s.push(1),i=a||void 0===s[c]?1:s[c],s=s.slice(0,c)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(s=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),o=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(s=[e[0],e[1],e[2]],o="rgb",i=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(o="rgb",s=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(o="hsl",s=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),i=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(i/=100)):(o="rgb",s=[e>>>16,(65280&e)>>>8,255&e]);return{space:o,values:s,alpha:i}};var ot={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};var st=o("./node_modules/color-convert/index.js");function it(e,t){if(!e)return"";const o=nt(e);if(!o)return"";if(o.space===t)return e;if(s=o,!Object.keys(st).includes(s.space))return"";var s;const i=st[o.space][t];if(!i)return"";return function(e,t){switch(t){case"hex":return`#${e}`;case"rgb":return`rgb( ${e[0]}, ${e[1]}, ${e[2]} )`;case"hsl":return`hsl( ${e[0]}, ${e[1]}%, ${e[2]}% )`;case"hwb":return`hwb( ${e[0]}, ${e[1]}, ${e[2]} )`;case"lab":return`lab( ${e[0]}% ${e[1]} ${e[2]} )`;case"lch":return`lch( ${e[0]}% ${e[1]} ${e[2]} )`;default:return""}}(i("hex"===o.space?o.hexValue:o.values),t)}function nt(e){if(e.startsWith("#")){const t=tt(e);return{space:"hex",values:t.values,hexValue:e,alpha:t.alpha}}const t=tt(e);return t.space?t:null}var rt=o("./node_modules/lodash-es/debounce.js"),at=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css"),ct={attributes:{"data-cke":!0}};ct.setAttributes=I(),ct.insert=R().bind(null,"head"),ct.domAPI=O(),ct.insertStyleElement=N();S()(at.A,ct);at.A&&at.A.locals&&at.A.locals;class lt extends L{constructor(e,t){super(e);const o=`ck-labeled-field-view-${(0,s.Ld)()}`,i=`ck-labeled-field-view-status-${(0,s.Ld)()}`;this.fieldView=t(this,o,i),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(o),this.statusView=this._createStatusView(i),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",((e,t)=>e||t));const n=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",n.to("class"),n.if("isEnabled","ck-disabled",(e=>!e)),n.if("isEmpty","ck-labeled-field-view_empty"),n.if("isFocused","ck-labeled-field-view_focused"),n.if("placeholder","ck-labeled-field-view_placeholder"),n.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(e){const t=new Te(this.locale);return t.for=e,t.bind("text").to(this,"label"),t}_createStatusView(e){const t=new L(this.locale),o=this.bindTemplate;return t.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",o.if("errorText","ck-labeled-field-view__status_error"),o.if("_statusText","ck-hidden",(e=>!e))],id:e,role:o.if("errorText","alert")},children:[{text:o.to("_statusText")}]}),t}focus(e){this.fieldView.focus(e)}}class dt extends L{constructor(e){super(e),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("tabIndex",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.set("ariaLabel",void 0),this.focusTracker=new s.$x,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",t.if("isFocused","ck-input_focused"),t.if("isEmpty","ck-input-text_empty"),t.if("hasError","ck-error")],id:t.to("id"),placeholder:t.to("placeholder"),tabindex:t.to("tabIndex"),readonly:t.to("isReadOnly"),"aria-invalid":t.if("hasError",!0),"aria-describedby":t.to("ariaDescribedById"),"aria-label":t.to("ariaLabel")},on:{input:t.to(((...e)=>{this.fire("input",...e),this._updateIsEmpty()})),change:t.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",((e,t,o)=>{this._setDomElementValue(o),this._updateIsEmpty()}))}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(e){this.element.value=e||0===e?e:""}}var ht=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/input/input.css"),ut={attributes:{"data-cke":!0}};ut.setAttributes=I(),ut.insert=R().bind(null,"head"),ut.domAPI=O(),ut.insertStyleElement=N();S()(ht.A,ut);ht.A&&ht.A.locals&&ht.A.locals;class mt extends dt{constructor(e){super(e),this.set("inputMode","text");const t=this.bindTemplate;this.extendTemplate({attributes:{inputmode:t.to("inputMode")}})}}class pt extends mt{constructor(e){super(e),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}class ft extends mt{constructor(e,{min:t,max:o,step:s}={}){super(e);const i=this.bindTemplate;this.set("min",t),this.set("max",o),this.set("step",s),this.extendTemplate({attributes:{type:"number",class:["ck-input-number"],min:i.to("min"),max:i.to("max"),step:i.to("step")}})}}var gt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/textarea/textarea.css"),_t={attributes:{"data-cke":!0}};_t.setAttributes=I(),_t.insert=R().bind(null,"head"),_t.domAPI=O(),_t.insertStyleElement=N();S()(gt.A,_t);gt.A&>.A.locals&>.A.locals;class bt extends dt{constructor(e){super(e),this._isUpdateAutoGrowHeightPending=!1;const t=(0,s.To)("px");this.set("minRows",2),this.set("maxRows",5),this.set("_height",null),this.set("resize","none"),this._resizeObserver=null,this.on("change:minRows",this._validateMinMaxRows.bind(this)),this.on("change:maxRows",this._validateMinMaxRows.bind(this));const o=this.bindTemplate;this.template.tag="textarea",this.extendTemplate({attributes:{class:["ck-textarea"],style:{height:o.to("_height",(e=>e?t(e):null)),resize:o.to("resize")},rows:o.to("minRows")}})}render(){super.render();let e=!1;this.on("input",(()=>{this._updateAutoGrowHeight(!0),this.fire("update")})),this.on("change:value",(()=>{s.Sf.window.requestAnimationFrame((()=>{(0,s.zN)(this.element)?(this._updateAutoGrowHeight(),this.fire("update")):this._isUpdateAutoGrowHeightPending=!0}))})),this._resizeObserver=new s.tb(this.element,(t=>{const o=!!t.contentRect.width&&!!t.contentRect.height;!e&&o&&this._isUpdateAutoGrowHeightPending&&s.Sf.window.requestAnimationFrame((()=>{this._updateAutoGrowHeight(),this.fire("update")})),e=o}))}destroy(){this._resizeObserver&&this._resizeObserver.destroy()}reset(){super.reset(),this._updateAutoGrowHeight(),this.fire("update")}_updateAutoGrowHeight(e){const t=this.element;if(!t.offsetParent)return void(this._isUpdateAutoGrowHeightPending=!0);this._isUpdateAutoGrowHeightPending=!1;const o=kt(t,"1"),i=kt(t,t.value),n=o.ownerDocument.defaultView.getComputedStyle(o),r=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),a=(0,s.Md)(o),c=parseFloat(n.lineHeight),l=a.top+a.bottom,d=new s.rw(o).height,h=Math.round((i.scrollHeight-r)/c),u=this.maxRows*c+r+l,m=1===h?d:this.minRows*c+r+l;this._height=Math.min(Math.max(Math.max(h,this.minRows)*c+r+l,m),u),e&&(t.scrollTop=t.scrollHeight),o.remove(),i.remove()}_validateMinMaxRows(){if(this.minRows>this.maxRows)throw new s.Yb("ui-textarea-view-min-rows-greater-than-max-rows",{textareaView:this,minRows:this.minRows,maxRows:this.maxRows})}}function kt(e,t){const o=e.cloneNode();return o.style.position="absolute",o.style.top="-99999px",o.style.left="-99999px",o.style.height="auto",o.style.overflow="hidden",o.style.width=e.ownerDocument.defaultView.getComputedStyle(e).width,o.tabIndex=-1,o.rows=1,o.value=t,e.parentNode.insertBefore(o,e),o}class wt extends L{constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",t.to("position",(e=>`ck-dropdown__panel_${e}`)),t.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:t.to((e=>{"input"!==e.target.tagName.toLocaleLowerCase()&&e.preventDefault()}))}})}focus(){if(this.children.length){const e=this.children.first;"function"==typeof e.focus?e.focus():(0,s.FF)("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const e=this.children.last;"function"==typeof e.focusLast?e.focusLast():e.focus()}}}var vt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/dropdown.css"),yt={attributes:{"data-cke":!0}};yt.setAttributes=I(),yt.insert=R().bind(null,"head"),yt.domAPI=O(),yt.insertStyleElement=N();S()(vt.A,yt);vt.A&&vt.A.locals&&vt.A.locals;class At extends L{constructor(e,t,o){super(e);const i=this.bindTemplate;this.buttonView=t,this.panelView=o,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",i.to("class"),i.if("isEnabled","ck-disabled",(e=>!e))],id:i.to("id"),"aria-describedby":i.to("ariaDescribedById")},children:[t,o]}),t.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":i.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",(()=>{this.isOpen=!this.isOpen})),this.on("change:isOpen",((e,t,o)=>{if(o)if("auto"===this.panelPosition){const e=At._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=e?e.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition})),this.keystrokes.listenTo(this.element);const e=(e,t)=>{this.isOpen&&(this.isOpen=!1,t())};this.keystrokes.set("arrowdown",((e,t)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,t())})),this.keystrokes.set("arrowright",((e,t)=>{this.isOpen&&t()})),this.keystrokes.set("arrowleft",e),this.keystrokes.set("esc",e)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:e,north:t,southEast:o,southWest:s,northEast:i,northWest:n,southMiddleEast:r,southMiddleWest:a,northMiddleEast:c,northMiddleWest:l}=At.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[o,s,r,a,e,i,n,c,l,t]:[s,o,a,r,e,n,i,l,c,t]}static{this.defaultPanelPositions={south:(e,t)=>({top:e.bottom,left:e.left-(t.width-e.width)/2,name:"s"}),southEast:e=>({top:e.bottom,left:e.left,name:"se"}),southWest:(e,t)=>({top:e.bottom,left:e.left-t.width+e.width,name:"sw"}),southMiddleEast:(e,t)=>({top:e.bottom,left:e.left-(t.width-e.width)/4,name:"sme"}),southMiddleWest:(e,t)=>({top:e.bottom,left:e.left-3*(t.width-e.width)/4,name:"smw"}),north:(e,t)=>({top:e.top-t.height,left:e.left-(t.width-e.width)/2,name:"n"}),northEast:(e,t)=>({top:e.top-t.height,left:e.left,name:"ne"}),northWest:(e,t)=>({top:e.top-t.height,left:e.left-t.width+e.width,name:"nw"}),northMiddleEast:(e,t)=>({top:e.top-t.height,left:e.left-(t.width-e.width)/4,name:"nme"}),northMiddleWest:(e,t)=>({top:e.top-t.height,left:e.left-3*(t.width-e.width)/4,name:"nmw"})}}static{this._getOptimalPosition=s.W}}class xt extends Q{constructor(e){super(e),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(e=>String(e)))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new G;return e.content=$e,e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}var Ct=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitembutton.css"),Et={attributes:{"data-cke":!0}};Et.setAttributes=I(),Et.insert=R().bind(null,"head"),Et.domAPI=O(),Et.insertStyleElement=N();S()(Ct.A,Et);Ct.A&&Ct.A.locals&&Ct.A.locals;class Pt extends Q{constructor(e,t,o){super(e),this.id=t,this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem",label:o}),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list__nested-menu__item__button"]}})}}var Tt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenubutton.css"),St={attributes:{"data-cke":!0}};St.setAttributes=I(),St.insert=R().bind(null,"head"),St.domAPI=O(),St.insertStyleElement=N();S()(Tt.A,St);Tt.A&&Tt.A.locals&&Tt.A.locals;class Mt extends ve{constructor(e){super(e);const t=this.bindTemplate;this.set({withText:!0,role:"menuitem"}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list__nested-menu__button"],"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(e=>String(e))),"data-cke-tooltip-disabled":t.to("isOn")},on:{mouseenter:t.to("mouseenter")}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new G;return e.content=$e,e.extendTemplate({attributes:{class:"ck-dropdown-menu-list__nested-menu__button__arrow"}}),e}}class Ot extends L{constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",t.if("isVisible","ck-hidden",(e=>!e))],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class Vt extends L{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class Rt extends L{constructor(e,t=new Te){super(e);const o=this.bindTemplate,s=new Bt(e);this.set({label:"",isVisible:!0}),this.labelView=t,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,s]),s.set({role:"group",ariaLabelledBy:t.id}),s.focusTracker.destroy(),s.keystrokes.destroy(),this.items=s.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",o.if("isVisible","ck-hidden",(e=>!e))]},children:this.children})}focus(){if(this.items){const e=this.items.find((e=>!(e instanceof Vt)));e&&e.focus()}}}var jt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/list/list.css"),It={attributes:{"data-cke":!0}};It.setAttributes=I(),It.insert=R().bind(null,"head"),It.domAPI=O(),It.insertStyleElement=N();S()(jt.A,It);jt.A&&jt.A.locals&&jt.A.locals;class Bt extends L{constructor(e){super(e),this._listItemGroupToChangeListeners=new WeakMap;const t=this.bindTemplate;this.focusables=new i,this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this._focusCycler=new ie({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:t.to("role"),"aria-label":t.to("ariaLabel"),"aria-labelledby":t.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const e of this.items)e instanceof Rt?this._registerFocusableItemsGroup(e):e instanceof Ot&&this._registerFocusableListItem(e);this.items.on("change",((e,t)=>{for(const e of t.removed)e instanceof Rt?this._deregisterFocusableItemsGroup(e):e instanceof Ot&&this._deregisterFocusableListItem(e);for(const e of Array.from(t.added).reverse())e instanceof Rt?this._registerFocusableItemsGroup(e,t.index):this._registerFocusableListItem(e,t.index)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(e,t){this.focusTracker.add(e.element),this.focusables.add(e,t)}_deregisterFocusableListItem(e){this.focusTracker.remove(e.element),this.focusables.remove(e)}_getOnGroupItemsChangeCallback(e){return(t,o)=>{for(const e of o.removed)this._deregisterFocusableListItem(e);for(const t of Array.from(o.added).reverse())this._registerFocusableListItem(t,this.items.getIndex(e)+o.index)}}_registerFocusableItemsGroup(e,t){Array.from(e.items).forEach(((e,o)=>{const s=void 0!==t?t+o:void 0;this._registerFocusableListItem(e,s)}));const o=this._getOnGroupItemsChangeCallback(e);this._listItemGroupToChangeListeners.set(e,o),e.items.on("change",o)}_deregisterFocusableItemsGroup(e){for(const t of e.items)this._deregisterFocusableListItem(t);e.items.off("change",this._listItemGroupToChangeListeners.get(e)),this._listItemGroupToChangeListeners.delete(e)}}class Nt extends Bt{constructor(e){super(e);const t=this.bindTemplate;this.role="menu",this.set("isVisible",!0),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list",t.if("isVisible","ck-hidden",(e=>!e))]}})}}const Dt={eastSouth:e=>({top:e.top,left:e.right-5,name:"es"}),eastNorth:(e,t)=>({top:e.top-t.height+e.height,left:e.right-5,name:"en"}),westSouth:(e,t)=>({top:e.top,left:e.left-t.width+5,name:"ws"}),westNorth:(e,t)=>({top:e.top-t.height+e.height,left:e.left-t.width+5,name:"wn"})};var Ft=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenulistitem.css"),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=I(),Lt.insert=R().bind(null,"head"),Lt.domAPI=O(),Lt.insertStyleElement=N();S()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;class zt extends Ot{constructor(e,t,o){super(e);const s=this.bindTemplate;this.childView=o,this.children.add(o),this.extendTemplate({attributes:{class:["ck-dropdown-menu-list__nested-menu__item"]},on:{mouseenter:s.to("mouseenter")}}),t&&(this.delegate("mouseenter").to(t),o instanceof Pt&&o.delegate("execute").to(t))}}const Ht={toggleMenusAndFocusItemsOnHover(e){e.on("menu:mouseenter",(t=>{const[o]=t.path;t.source.focus();for(const s of e.menus){const e=o instanceof zt&&o.childView===s;s.isOpen=(t.path.includes(s)||e)&&s.isEnabled}}))},closeMenuWhenAnotherOnTheSameLevelOpens(e){e.on("menu:change:isOpen",((t,o,s)=>{if(!s)return;const i=t.source;for(const t of e.menus)i.parentMenuView===t.parentMenuView&&i!==t&&(t.isOpen=!1)}))}},$t={openOnArrowRightKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowleft":"arrowright";e.keystrokes.set(t,((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&e.isEnabled&&(e.isOpen||(e.isOpen=!0),e.panelView.focus(),o())}))},openOnButtonClick(e){e.buttonView.on("execute",(()=>{e.isEnabled&&(e.isOpen=!0)}))},openAndFocusOnEnterKeyPress(e){e.keystrokes.set("enter",((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&(e.isOpen=!0,e.panelView.focus(),o())}))},closeOnArrowLeftKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowright":"arrowleft";e.keystrokes.set(t,((t,o)=>{e.isOpen&&(e.focus(),e.isOpen=!1,o())}))},closeOnEscKey(e){e.keystrokes.set("esc",((t,o)=>{e.isOpen&&(e.focus(),e.isOpen=!1,o())}))},closeOnParentClose(e,t){t.on("change:isOpen",((o,s,i)=>{i||o.source!==t||(e.isOpen=!1)}))}};var Wt=o("./node_modules/lodash-es/isElement.js"),qt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonpanel.css"),Ut={attributes:{"data-cke":!0}};Ut.setAttributes=I(),Ut.insert=R().bind(null,"head"),Ut.domAPI=O(),Ut.insertStyleElement=N();S()(qt.A,Ut);qt.A&&qt.A.locals&&qt.A.locals;const Kt=(0,s.To)("px"),Yt={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}};class Gt extends L{constructor(e){super(e);const t=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this._resizeObserver=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",t.to("position",(e=>`ck-balloon-panel_${e}`)),t.if("isVisible","ck-balloon-panel_visible"),t.if("withArrow","ck-balloon-panel_with-arrow"),t.to("class")],style:{top:t.to("top",Kt),left:t.to("left",Kt)}},children:this.content})}destroy(){this.hide(),super.destroy()}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){const t=Zt(e.target);if(t&&!(0,s.zN)(t))return!1;this.show();const o=Gt.defaultPositions,i=Object.assign({},{element:this.element,positions:[o.southArrowNorth,o.southArrowNorthMiddleWest,o.southArrowNorthMiddleEast,o.southArrowNorthWest,o.southArrowNorthEast,o.northArrowSouth,o.northArrowSouthMiddleWest,o.northArrowSouthMiddleEast,o.northArrowSouthWest,o.northArrowSouthEast,o.viewportStickyNorth],limiter:s.Sf.document.body,fitInViewport:!0},e),n=Gt._getOptimalPosition(i)||Yt,r=parseInt(n.left),a=parseInt(n.top),c=n.name,l=n.config||{},{withArrow:d=!0}=l;return this.top=a,this.left=r,this.position=c,this.withArrow=d,!0}pin(e){this.unpin(),this._startPinning(e)&&(this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback))}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(e){if(!this.attachTo(e))return!1;let t=Zt(e.target);const o=e.limiter?Zt(e.limiter):s.Sf.document.body;if(this.listenTo(s.Sf.document,"scroll",((s,i)=>{const n=i.target,r=t&&n.contains(t),a=o&&n.contains(o);!r&&!a&&t&&o||this.attachTo(e)}),{useCapture:!0}),this.listenTo(s.Sf.window,"resize",(()=>{this.attachTo(e)})),!this._resizeObserver&&(t&&(0,s.KH)(t)&&(t=t.parentElement),t)){const e=()=>{(0,s.zN)(t)||this.unpin()};this._resizeObserver=new s.tb(t,e)}return!0}_stopPinning(){this.stopListening(s.Sf.document,"scroll"),this.stopListening(s.Sf.window,"resize"),this._resizeObserver&&(this._resizeObserver.destroy(),this._resizeObserver=null)}static generatePositions(e={}){const{sideOffset:t=Gt.arrowSideOffset,heightOffset:o=Gt.arrowHeightOffset,stickyVerticalOffset:s=Gt.stickyVerticalOffset,config:i}=e;return{northWestArrowSouthWest:(e,o)=>({top:n(e,o),left:e.left-t,name:"arrow_sw",...i&&{config:i}}),northWestArrowSouthMiddleWest:(e,o)=>({top:n(e,o),left:e.left-.25*o.width-t,name:"arrow_smw",...i&&{config:i}}),northWestArrowSouth:(e,t)=>({top:n(e,t),left:e.left-t.width/2,name:"arrow_s",...i&&{config:i}}),northWestArrowSouthMiddleEast:(e,o)=>({top:n(e,o),left:e.left-.75*o.width+t,name:"arrow_sme",...i&&{config:i}}),northWestArrowSouthEast:(e,o)=>({top:n(e,o),left:e.left-o.width+t,name:"arrow_se",...i&&{config:i}}),northArrowSouthWest:(e,o)=>({top:n(e,o),left:e.left+e.width/2-t,name:"arrow_sw",...i&&{config:i}}),northArrowSouthMiddleWest:(e,o)=>({top:n(e,o),left:e.left+e.width/2-.25*o.width-t,name:"arrow_smw",...i&&{config:i}}),northArrowSouth:(e,t)=>({top:n(e,t),left:e.left+e.width/2-t.width/2,name:"arrow_s",...i&&{config:i}}),northArrowSouthMiddleEast:(e,o)=>({top:n(e,o),left:e.left+e.width/2-.75*o.width+t,name:"arrow_sme",...i&&{config:i}}),northArrowSouthEast:(e,o)=>({top:n(e,o),left:e.left+e.width/2-o.width+t,name:"arrow_se",...i&&{config:i}}),northEastArrowSouthWest:(e,o)=>({top:n(e,o),left:e.right-t,name:"arrow_sw",...i&&{config:i}}),northEastArrowSouthMiddleWest:(e,o)=>({top:n(e,o),left:e.right-.25*o.width-t,name:"arrow_smw",...i&&{config:i}}),northEastArrowSouth:(e,t)=>({top:n(e,t),left:e.right-t.width/2,name:"arrow_s",...i&&{config:i}}),northEastArrowSouthMiddleEast:(e,o)=>({top:n(e,o),left:e.right-.75*o.width+t,name:"arrow_sme",...i&&{config:i}}),northEastArrowSouthEast:(e,o)=>({top:n(e,o),left:e.right-o.width+t,name:"arrow_se",...i&&{config:i}}),southWestArrowNorthWest:e=>({top:r(e),left:e.left-t,name:"arrow_nw",...i&&{config:i}}),southWestArrowNorthMiddleWest:(e,o)=>({top:r(e),left:e.left-.25*o.width-t,name:"arrow_nmw",...i&&{config:i}}),southWestArrowNorth:(e,t)=>({top:r(e),left:e.left-t.width/2,name:"arrow_n",...i&&{config:i}}),southWestArrowNorthMiddleEast:(e,o)=>({top:r(e),left:e.left-.75*o.width+t,name:"arrow_nme",...i&&{config:i}}),southWestArrowNorthEast:(e,o)=>({top:r(e),left:e.left-o.width+t,name:"arrow_ne",...i&&{config:i}}),southArrowNorthWest:e=>({top:r(e),left:e.left+e.width/2-t,name:"arrow_nw",...i&&{config:i}}),southArrowNorthMiddleWest:(e,o)=>({top:r(e),left:e.left+e.width/2-.25*o.width-t,name:"arrow_nmw",...i&&{config:i}}),southArrowNorth:(e,t)=>({top:r(e),left:e.left+e.width/2-t.width/2,name:"arrow_n",...i&&{config:i}}),southArrowNorthMiddleEast:(e,o)=>({top:r(e),left:e.left+e.width/2-.75*o.width+t,name:"arrow_nme",...i&&{config:i}}),southArrowNorthEast:(e,o)=>({top:r(e),left:e.left+e.width/2-o.width+t,name:"arrow_ne",...i&&{config:i}}),southEastArrowNorthWest:e=>({top:r(e),left:e.right-t,name:"arrow_nw",...i&&{config:i}}),southEastArrowNorthMiddleWest:(e,o)=>({top:r(e),left:e.right-.25*o.width-t,name:"arrow_nmw",...i&&{config:i}}),southEastArrowNorth:(e,t)=>({top:r(e),left:e.right-t.width/2,name:"arrow_n",...i&&{config:i}}),southEastArrowNorthMiddleEast:(e,o)=>({top:r(e),left:e.right-.75*o.width+t,name:"arrow_nme",...i&&{config:i}}),southEastArrowNorthEast:(e,o)=>({top:r(e),left:e.right-o.width+t,name:"arrow_ne",...i&&{config:i}}),westArrowEast:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.left-t.width-o,name:"arrow_e",...i&&{config:i}}),eastArrowWest:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.right+o,name:"arrow_w",...i&&{config:i}}),viewportStickyNorth:(e,t,o,n)=>{const r=n||o;return e.getIntersection(r)?r.height-e.height>s?null:{top:r.top+s,left:e.left+e.width/2-t.width/2,name:"arrowless",config:{withArrow:!1,...i}}:null}};function n(e,t){return e.top-t.height-o}function r(e){return e.bottom+o}}static{this.arrowSideOffset=25}static{this.arrowHeightOffset=10}static{this.stickyVerticalOffset=20}static{this._getOptimalPosition=s.W}static{this.defaultPositions=Gt.generatePositions()}}function Zt(e){return(0,Wt.A)(e)?e:(0,s._Z)(e)?e.commonAncestorContainer:"function"==typeof e?Zt(e()):null}var Jt=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenupanel.css"),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=I(),Xt.insert=R().bind(null,"head"),Xt.domAPI=O(),Xt.insertStyleElement=N();S()(Jt.A,Xt);Jt.A&&Jt.A.locals&&Jt.A.locals;class Qt extends Gt{constructor(e){super(e);const t=this.bindTemplate;this.set({isVisible:!1,position:"se",class:null,top:0,left:0}),this.extendTemplate({tag:"div",attributes:{class:["ck-reset","ck-dropdown-menu__nested-menu__panel"],tabindex:"-1"},on:{selectstart:t.to((e=>{"input"!==e.target.tagName.toLocaleLowerCase()&&e.preventDefault()}))}})}focus(e=1){const{content:t}=this;t.length&&(1===e?t.first.focus():t.last.focus())}}var eo=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/menu/dropdownmenu.css"),to={attributes:{"data-cke":!0}};to.setAttributes=I(),to.insert=R().bind(null,"head"),to.domAPI=O(),to.insertStyleElement=N();S()(eo.A,to);eo.A&&eo.A.locals&&eo.A.locals;class oo extends L{static{this.DELEGATED_EVENTS=["mouseenter","execute","change:isOpen"]}constructor(e,t,o,i,n){super(e),this._bodyCollection=t,this.id=o,this.set({isOpen:!1,isEnabled:!0,panelPosition:"w",class:void 0,parentMenuView:null}),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.buttonView=new Mt(e),this.buttonView.delegate("mouseenter").to(this),this.buttonView.bind("isOn","isEnabled").to(this,"isOpen","isEnabled"),this.buttonView.label=i,this.panelView=new Qt(e),this.panelView.isVisible=!0,this.listView=new Nt(e),this.listView.bind("ariaLabel").to(this.buttonView,"label"),this.panelView.content.add(this.listView);const r=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown-menu-list__nested-menu",r.to("class"),r.if("isEnabled","ck-disabled",(e=>!e))],role:"presentation"},children:[this.buttonView]}),this.parentMenuView=n,this.parentMenuView&&this._handleParentMenuView(),this._attachBehaviors()}get _panelPositions(){const{westSouth:e,eastSouth:t,westNorth:o,eastNorth:s}=Dt;return"ltr"===this.locale.uiLanguageDirection?[t,s,e,o]:[e,o,t,s]}render(){super.render(),this.panelView.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.focusTracker.add(this.listView),this.keystrokes.listenTo(this.element),this._mountPanelOnOpen()}destroy(){this._removePanelFromBody(),this.panelView.destroy(),super.destroy()}focus(){this.buttonView.focus()}_handleParentMenuView(){this.delegate(...oo.DELEGATED_EVENTS).to(this.parentMenuView),$t.closeOnParentClose(this,this.parentMenuView)}_attachBehaviors(){$t.openOnButtonClick(this),$t.openAndFocusOnEnterKeyPress(this),$t.openOnArrowRightKey(this),$t.closeOnEscKey(this),$t.closeOnArrowLeftKey(this)}_mountPanelOnOpen(){const{panelView:e}=this;this.on("change:isOpen",((t,o,s)=>{t.source===this&&(s||!this._bodyCollection.has(e)?s&&!this._bodyCollection.has(e)&&this._addPanelToBody():this._removePanelFromBody())}))}_removePanelFromBody(){const{panelView:e,keystrokes:t}=this;this._bodyCollection.has(e)&&(this._bodyCollection.remove(e),t.stopListening(e.element))}_addPanelToBody(){const{panelView:e,buttonView:t,keystrokes:o}=this;this._bodyCollection.has(e)||(this._bodyCollection.add(e),o.listenTo(e.element),e.pin({positions:this._panelPositions,limiter:s.Sf.document.body,element:e.element,target:t.element,fitInViewport:!0}))}}class so extends Nt{constructor(e,t,o){super(e),this._cachedMenus=[],this._cachedButtons=[],this._bodyCollection=t,this._definition=o,this.set("menuPanelClass",void 0)}get menus(){return Array.from(this._cachedMenus.values())}get buttons(){return Array.from(this._cachedButtons.values())}render(){this._createStructure(this._definition,null),super.render(),Ht.toggleMenusAndFocusItemsOnHover(this),Ht.closeMenuWhenAnotherOnTheSameLevelOpens(this)}closeMenus(){this.menus.forEach((e=>{e.isOpen=!1}))}_createStructure(e,t){const o=[];for(const s of e){let e;"menu"in s?(e=new oo(this.locale,this._bodyCollection,s.id,s.menu,t),e.panelView.bind("class").to(this,"menuPanelClass"),t||e.delegate(...oo.DELEGATED_EVENTS).to(this,(e=>`menu:${e}`)),this._cachedMenus.push(e),this._createStructure(s.children,e)):(e=new Pt(this.locale,s.id,s.label),t||e.delegate("execute").to(this,"menu:execute"),this._cachedButtons.push(e));const i=new zt(this.locale,t,e);t||i.delegate("mouseenter").to(this,"menu:mouseenter"),o.push(i)}(t?t.listView:this).items.addMany(o)}}class io extends L{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class no extends L{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function ro(e){if(Array.isArray(e))return{items:e,removeItems:[]};const t={items:[],removeItems:[]};return e?{...t,...e}:t}var ao=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/toolbar.css"),co={attributes:{"data-cke":!0}};co.setAttributes=I(),co.insert=R().bind(null,"head"),co.domAPI=O(),co.insertStyleElement=N();S()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const lo=(()=>({alignLeft:U.Pt.alignLeft,bold:U.Pt.bold,importExport:U.Pt.importExport,paragraph:U.Pt.paragraph,plus:U.Pt.plus,text:U.Pt.text,threeVerticalDots:U.Pt.threeVerticalDots,pilcrow:U.Pt.pilcrow,dragIndicator:U.Pt.dragIndicator}))();class ho extends L{constructor(e,t){super(e);const o=this.bindTemplate,i=this.t;this.options=t||{},this.set("ariaLabel",i("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new uo(e),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const n="rtl"===e.uiLanguageDirection;this._focusCycler=new ie({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[n?"arrowright":"arrowleft","arrowup"],focusNext:[n?"arrowleft":"arrowright","arrowdown"]}});const r=["ck","ck-toolbar",o.to("class"),o.if("isCompact","ck-toolbar_compact")];var a;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":o.to("ariaLabel"),style:{maxWidth:o.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(a=this,a.bindTemplate.to((e=>{e.target===a.element&&e.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new po(this):new mo(this)}render(){super.render(),this.focusTracker.add(this.element);for(const e of this.items)this.focusTracker.add(e);this.items.on("add",((e,t)=>{this.focusTracker.add(t)})),this.items.on("remove",((e,t)=>{this.focusTracker.remove(t)})),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(e,t,o){this.items.addMany(this._buildItemsFromConfig(e,t,o))}_buildItemsFromConfig(e,t,o){const s=ro(e),i=o||s.removeItems;return this._cleanItemsConfiguration(s.items,t,i).map((e=>(0,r.A)(e)?this._createNestedToolbarDropdown(e,t,i):"|"===e?new io:"-"===e?new no:t.create(e))).filter((e=>!!e))}_cleanItemsConfiguration(e,t,o){const i=e.filter(((e,i,n)=>"|"===e||-1===o.indexOf(e)&&("-"===e?!this.options.shouldGroupWhenFull||((0,s.FF)("toolbarview-line-break-ignored-when-grouping-items",n),!1):!(!(0,r.A)(e)&&!t.has(e))||((0,s.FF)("toolbarview-item-unavailable",{item:e}),!1))));return this._cleanSeparatorsAndLineBreaks(i)}_cleanSeparatorsAndLineBreaks(e){const t=e=>"-"!==e&&"|"!==e,o=e.length,s=e.findIndex(t);if(-1===s)return[];const i=o-e.slice().reverse().findIndex(t);return e.slice(s,i).filter(((e,o,s)=>{if(t(e))return!0;return!(o>0&&s[o-1]===e)}))}_createNestedToolbarDropdown(e,t,o){let{label:i,icon:n,items:r,tooltip:a=!0,withText:c=!1}=e;if(r=this._cleanItemsConfiguration(r,t,o),!r.length)return null;const l=yo(this.locale);return i||(0,s.FF)("toolbarview-nested-toolbar-dropdown-missing-label",e),l.class="ck-toolbar__nested-toolbar-dropdown",l.buttonView.set({label:i,tooltip:a,withText:!!c}),!1!==n?l.buttonView.icon=lo[n]||n||U.Pt.threeVerticalDots:l.buttonView.withText=!0,Co(l,(()=>l.toolbarView._buildItemsFromConfig(r,t,o))),l}}class uo extends L{constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class mo{constructor(e){const t=e.bindTemplate;e.set("isVertical",!1),e.itemsView.children.bindTo(e.items).using((e=>e)),e.focusables.bindTo(e.items).using((e=>re(e)?e:null)),e.extendTemplate({attributes:{class:[t.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class po{constructor(e){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=e,this.viewChildren=e.children,this.viewFocusables=e.focusables,this.viewItemsView=e.itemsView,this.viewFocusTracker=e.focusTracker,this.viewLocale=e.locale,this.ungroupedItems=e.createCollection(),this.groupedItems=e.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),e.itemsView.children.bindTo(this.ungroupedItems).using((e=>e)),this.ungroupedItems.on("change",this._updateFocusCyclableItems.bind(this)),e.children.on("change",this._updateFocusCyclableItems.bind(this)),e.items.on("change",((e,t)=>{const o=t.index,s=Array.from(t.added);for(const e of t.removed)o>=this.ungroupedItems.length?this.groupedItems.remove(e):this.ungroupedItems.remove(e);for(let e=o;e<o+s.length;e++){const t=s[e-o];e>this.ungroupedItems.length?this.groupedItems.add(t,e-this.ungroupedItems.length):this.ungroupedItems.add(t,e)}this._updateGrouping()})),e.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(e){this.viewElement=e.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(e)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!(0,s.zN)(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const e=this.groupedItems.length;let t;for(;this._areItemsOverflowing;)this._groupLastItem(),t=!0;if(!t&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==e&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const e=this.viewElement,t=this.viewLocale.uiLanguageDirection,o=new s.rw(e.lastChild),i=new s.rw(e);if(!this.cachedPadding){const o=s.Sf.window.getComputedStyle(e),i="ltr"===t?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(o[i])}return"ltr"===t?o.right>i.right-this.cachedPadding:o.left<i.left+this.cachedPadding}_enableGroupingOnResize(){let e;this.resizeObserver=new s.tb(this.viewElement,(t=>{e&&e===t.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),e=t.contentRect.width)})),this._updateGrouping()}_enableGroupingOnMaxWidthChange(e){e.on("change:maxWidth",(()=>{this._updateGrouping()}))}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new io),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const e=this.viewLocale,t=e.t,o=yo(e);return o.class="ck-toolbar__grouped-dropdown",o.panelPosition="ltr"===e.uiLanguageDirection?"sw":"se",Co(o,this.groupedItems),o.buttonView.set({label:t("Show more items"),tooltip:!0,tooltipPosition:"rtl"===e.uiLanguageDirection?"se":"sw",icon:U.Pt.threeVerticalDots}),o}_updateFocusCyclableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((e=>{re(e)&&this.viewFocusables.add(e)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}var fo=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/splitbutton.css"),go={attributes:{"data-cke":!0}};go.setAttributes=I(),go.insert=R().bind(null,"head"),go.domAPI=O(),go.insertStyleElement=N();S()(fo.A,go);fo.A&&fo.A.locals&&fo.A.locals;class _o extends L{constructor(e,t){super(e);const o=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(t),this.arrowView=this._createArrowView(),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",o.to("class"),o.if("isVisible","ck-hidden",(e=>!e)),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",((e,t)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),t())})),this.keystrokes.set("arrowleft",((e,t)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),t())}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(e){const t=e||new Q;return e||t.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),t.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),t.delegate("execute").to(this),t}_createArrowView(){const e=new Q,t=e.bindTemplate;return e.icon=$e,e.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":t.to("isOn"),"aria-haspopup":!0,"aria-expanded":t.to("isOn",(e=>String(e)))}}),e.bind("isEnabled").to(this),e.bind("label").to(this),e.bind("tooltip").to(this),e.delegate("execute").to(this,"open"),e}}var bo=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/toolbardropdown.css"),ko={attributes:{"data-cke":!0}};ko.setAttributes=I(),ko.insert=R().bind(null,"head"),ko.domAPI=O(),ko.insertStyleElement=N();S()(bo.A,ko);bo.A&&bo.A.locals&&bo.A.locals;var wo=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/dropdown/listdropdown.css"),vo={attributes:{"data-cke":!0}};vo.setAttributes=I(),vo.insert=R().bind(null,"head"),vo.domAPI=O(),vo.insertStyleElement=N();S()(wo.A,vo);wo.A&&wo.A.locals&&wo.A.locals;function yo(e,t=xt){const o="function"==typeof t?new t(e):t,i=new wt(e),n=new At(e,o,i);return o.bind("isEnabled").to(n),o instanceof _o?o.arrowView.bind("isOn").to(n,"isOpen"):o.bind("isOn").to(n,"isOpen"),function(e){(function(e){z({emitter:e,activator:()=>e.isRendered&&e.isOpen,callback:()=>{e.isOpen=!1},contextElements:()=>[e.element,...Mo(e.focusTracker).filter((t=>!e.element.contains(t)))]})})(e),function(e){e.on("execute",(t=>{t.source instanceof De||(e.isOpen=!1)}))}(e),function(e){e.focusTracker.on("change:isFocused",((t,o,s)=>{!s&&e.isOpen&&(e.isOpen=!1)}))}(e),function(e){e.keystrokes.set("arrowdown",((t,o)=>{e.isOpen&&(e.panelView.focus(),o())})),e.keystrokes.set("arrowup",((t,o)=>{e.isOpen&&(e.panelView.focusLast(),o())}))}(e),function(e){e.on("change:isOpen",((t,o,i)=>{if(i)return;e.focusTracker.elements.some((e=>e.contains(s.Sf.document.activeElement)))&&e.buttonView.focus()}))}(e),function(e){e.on("change:isOpen",((t,o,s)=>{s&&e.panelView.focus()}),{priority:"low"})}(e)}(n),n}function Ao(e,t,o,s={}){e.menuView=new so(e.locale,t,o),e.focusTracker.add(e.menuView),e.isOpen?xo(e,s):e.once("change:isOpen",(()=>{xo(e,s)}),{priority:"highest"})}function xo(e,t){const o=e.menuView,s=e.locale.t;o.delegate("menu:execute").to(e,"execute"),o.listenTo(e,"change:isOpen",((e,t,s)=>{s||o.closeMenus()}),{priority:"low"}),e.panelView.children.add(o);for(const t of o.menus)e.focusTracker.add(t);o.ariaLabel=t.ariaLabel||s("Dropdown menu")}function Co(e,t,o={}){e.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.isOpen?Eo(e,t,o):e.once("change:isOpen",(()=>Eo(e,t,o)),{priority:"highest"}),o.enableActiveItemFocusOnDropdownOpen&&So(e,(()=>e.toolbarView.items.find((e=>e.isOn))))}function Eo(e,t,o){const s=e.locale,n=s.t,r=e.toolbarView=new ho(s),a="function"==typeof t?t():t;r.ariaLabel=o.ariaLabel||n("Dropdown toolbar"),o.maxWidth&&(r.maxWidth=o.maxWidth),o.class&&(r.class=o.class),o.isCompact&&(r.isCompact=o.isCompact),o.isVertical&&(r.isVertical=!0),a instanceof i?r.items.bindTo(a).using((e=>e)):r.items.addMany(a),e.panelView.children.add(r),e.focusTracker.add(r),r.items.delegate("execute").to(e)}function Po(e,t,o={}){e.isOpen?To(e,t,o):e.once("change:isOpen",(()=>To(e,t,o)),{priority:"highest"}),So(e,(()=>e.listView.items.find((e=>e instanceof Ot&&e.children.first.isOn))))}function To(e,t,o){const s=e.locale,i=e.listView=new Bt(s),n="function"==typeof t?t():t;i.ariaLabel=o.ariaLabel,i.role=o.role,Oo(e,i.items,n,s),e.panelView.children.add(i),i.items.delegate("execute").to(e)}function So(e,t){e.on("change:isOpen",(()=>{if(!e.isOpen)return;const o=t();o&&("function"==typeof o.focus?o.focus():(0,s.FF)("ui-dropdown-focus-child-on-open-child-missing-focus",{view:o}))}),{priority:s.vx.low-10})}function Mo(e){return[...e.elements,...e.externalViews.flatMap((e=>Mo(e.focusTracker)))]}function Oo(e,t,o,s){t.on("change",(()=>{const e=[...t].reduce(((e,t)=>(t instanceof Ot&&t.children.first instanceof ve&&e.push(t.children.first),e)),[]),o=e.some((e=>e.isToggleable));e.forEach((e=>{e.hasCheckSpace=o}))})),t.bindTo(o).using((t=>{if("separator"===t.type)return new Vt(s);if("group"===t.type){const o=new Rt(s);return o.set({label:t.label}),Oo(e,o.items,t.items,s),o.items.delegate("execute").to(e),o}if("button"===t.type||"switchbutton"===t.type){const e="menuitemcheckbox"===t.model.role||"menuitemradio"===t.model.role,o=new Ot(s);let i;return"button"===t.type?(i=new ve(s),i.set({isToggleable:e})):i=new De(s),i.bind(...Object.keys(t.model)).to(t.model),i.delegate("execute").to(o),o.children.add(i),o}return null}))}const Vo=(e,t,o)=>{const s=new pt(e.locale);return s.set({id:t,ariaDescribedById:o}),s.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),s.bind("hasError").to(e,"errorText",(e=>!!e)),s.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(s),s},Ro=(e,t,o)=>{const s=new ft(e.locale);return s.set({id:t,ariaDescribedById:o,inputMode:"numeric"}),s.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),s.bind("hasError").to(e,"errorText",(e=>!!e)),s.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(s),s},jo=(e,t,o)=>{const s=new bt(e.locale);return s.set({id:t,ariaDescribedById:o}),s.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),s.bind("hasError").to(e,"errorText",(e=>!!e)),s.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(s),s},Io=(e,t,o)=>{const s=yo(e.locale);return s.set({id:t,ariaDescribedById:o}),s.bind("isEnabled").to(e),s},Bo=(e,t=0,o=1)=>e>o?o:e<t?t:e,No=(e,t=0,o=Math.pow(10,t))=>Math.round(o*e)/o,Do=(Math.PI,e=>("#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?No(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?No(parseInt(e.substring(6,8),16)/255,2):1})),Fo=({h:e,s:t,v:o,a:s})=>{const i=(200-t)*o/100;return{h:No(e),s:No(i>0&&i<200?t*o/100/(i<=100?i:200-i)*100:0),l:No(i/2),a:No(s,2)}},Lo=e=>{const{h:t,s:o,l:s}=Fo(e);return`hsl(${t}, ${o}%, ${s}%)`},zo=({h:e,s:t,v:o,a:s})=>{e=e/360*6,t/=100,o/=100;const i=Math.floor(e),n=o*(1-t),r=o*(1-(e-i)*t),a=o*(1-(1-e+i)*t),c=i%6;return{r:No(255*[o,r,n,n,a,o][c]),g:No(255*[a,o,o,r,n,n][c]),b:No(255*[n,n,a,o,o,r][c]),a:No(s,2)}},Ho=e=>{const t=e.toString(16);return t.length<2?"0"+t:t},$o=({r:e,g:t,b:o,a:s})=>{const i=s<1?Ho(No(255*s)):"";return"#"+Ho(e)+Ho(t)+Ho(o)+i},Wo=({r:e,g:t,b:o,a:s})=>{const i=Math.max(e,t,o),n=i-Math.min(e,t,o),r=n?i===e?(t-o)/n:i===t?2+(o-e)/n:4+(e-t)/n:0;return{h:No(60*(r<0?r+6:r)),s:No(i?n/i*100:0),v:No(i/255*100),a:s}},qo=(e,t)=>{if(e===t)return!0;for(const o in e)if(e[o]!==t[o])return!1;return!0},Uo={},Ko=e=>{let t=Uo[e];return t||(t=document.createElement("template"),t.innerHTML=e,Uo[e]=t),t},Yo=(e,t,o)=>{e.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:o}))};let Go=!1;const Zo=e=>"touches"in e,Jo=(e,t)=>{const o=Zo(t)?t.touches[0]:t,s=e.el.getBoundingClientRect();Yo(e.el,"move",e.getMove({x:Bo((o.pageX-(s.left+window.pageXOffset))/s.width),y:Bo((o.pageY-(s.top+window.pageYOffset))/s.height)}))};class Xo{constructor(e,t,o,s){const i=Ko(`<div role="slider" tabindex="0" part="${t}" ${o}><div part="${t}-pointer"></div></div>`);e.appendChild(i.content.cloneNode(!0));const n=e.querySelector(`[part=${t}]`);n.addEventListener("mousedown",this),n.addEventListener("touchstart",this),n.addEventListener("keydown",this),this.el=n,this.xy=s,this.nodes=[n.firstChild,n]}set dragging(e){const t=e?document.addEventListener:document.removeEventListener;t(Go?"touchmove":"mousemove",this),t(Go?"touchend":"mouseup",this)}handleEvent(e){switch(e.type){case"mousedown":case"touchstart":if(e.preventDefault(),!(e=>!(Go&&!Zo(e)||(Go||(Go=Zo(e)),0)))(e)||!Go&&0!=e.button)return;this.el.focus(),Jo(this,e),this.dragging=!0;break;case"mousemove":case"touchmove":e.preventDefault(),Jo(this,e);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((e,t)=>{const o=t.keyCode;o>40||e.xy&&o<37||o<33||(t.preventDefault(),Yo(e.el,"move",e.getMove({x:39===o?.01:37===o?-.01:34===o?.05:33===o?-.05:35===o?1:36===o?-1:0,y:40===o?.01:38===o?-.01:0},!0)))})(this,e)}}style(e){e.forEach(((e,t)=>{for(const o in e)this.nodes[t].style.setProperty(o,e[o])}))}}class Qo extends Xo{constructor(e){super(e,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:e}){this.h=e,this.style([{left:e/360*100+"%",color:Lo({h:e,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${No(e)}`)}getMove(e,t){return{h:t?Bo(this.h+360*e.x,0,360):360*e.x}}}class es extends Xo{constructor(e){super(e,"saturation",'aria-label="Color"',!0)}update(e){this.hsva=e,this.style([{top:100-e.v+"%",left:`${e.s}%`,color:Lo(e)},{"background-color":Lo({h:e.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${No(e.s)}%, Brightness ${No(e.v)}%`)}getMove(e,t){return{s:t?Bo(this.hsva.s+100*e.x,0,100):100*e.x,v:t?Bo(this.hsva.v-100*e.y,0,100):Math.round(100-100*e.y)}}}const ts=Symbol("same"),os=Symbol("color"),ss=Symbol("hsva"),is=Symbol("update"),ns=Symbol("parts"),rs=Symbol("css"),as=Symbol("sliders");class cs extends HTMLElement{static get observedAttributes(){return["color"]}get[rs](){return[':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',"[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}","[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}"]}get[as](){return[es,Qo]}get color(){return this[os]}set color(e){if(!this[ts](e)){const t=this.colorModel.toHsva(e);this[is](t),this[os]=e}}constructor(){super();const e=Ko(`<style>${this[rs].join("")}</style>`),t=this.attachShadow({mode:"open"});t.appendChild(e.content.cloneNode(!0)),t.addEventListener("move",this),this[ns]=this[as].map((e=>new e(t)))}connectedCallback(){if(this.hasOwnProperty("color")){const e=this.color;delete this.color,this.color=e}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(e,t,o){const s=this.colorModel.fromAttr(o);this[ts](s)||(this.color=s)}handleEvent(e){const t=this[ss],o={...t,...e.detail};let s;this[is](o),qo(o,t)||this[ts](s=this.colorModel.fromHsva(o))||(this[os]=s,Yo(this,"color-changed",{value:s}))}[ts](e){return this.color&&this.colorModel.equal(e,this.color)}[is](e){this[ss]=e,this[ns].forEach((t=>t.update(e)))}}const ls={defaultColor:"#000",toHsva:e=>Wo(Do(e)),fromHsva:({h:e,s:t,v:o})=>$o(zo({h:e,s:t,v:o,a:1})),equal:(e,t)=>e.toLowerCase()===t.toLowerCase()||qo(Do(e),Do(t)),fromAttr:e=>e};class ds extends cs{get colorModel(){return ls}}var hs=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorpicker/colorpicker.css"),us={attributes:{"data-cke":!0}};us.setAttributes=I(),us.insert=R().bind(null,"head"),us.domAPI=O(),us.insertStyleElement=N();S()(hs.A,us);hs.A&&hs.A.locals&&hs.A.locals;class ms extends L{constructor(e,t={}){super(e),this.set({color:"",_hexColor:""}),this.hexInputRow=this._createInputRow();const o=this.createCollection();t.hideInput||o.add(this.hexInputRow),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker"],tabindex:-1},children:o}),this._config=t,this._debounceColorPickerEvent=(0,rt.A)((e=>{this.set("color",e),this.fire("colorSelected",{color:this.color})}),150,{leading:!0}),this.on("set:color",((e,t,o)=>{e.return=it(o,this._config.format||"hsl")})),this.on("change:color",(()=>{this._hexColor=ps(this.color)})),this.on("change:_hexColor",(()=>{document.activeElement!==this.picker&&this.picker.setAttribute("color",this._hexColor),ps(this.color)!=ps(this._hexColor)&&(this.color=this._hexColor)}))}render(){var e,t;if(super.render(),e="hex-color-picker",t=ds,void 0===customElements.get(e)&&customElements.define(e,t),this.picker=s.Sf.document.createElement("hex-color-picker"),this.picker.setAttribute("class","hex-color-picker"),this.picker.setAttribute("tabindex","-1"),this._createSlidersView(),this.element){this.hexInputRow.element?this.element.insertBefore(this.picker,this.hexInputRow.element):this.element.appendChild(this.picker);const e=document.createElement("style");e.textContent='[role="slider"]:focus [part$="pointer"] {border: 1px solid #fff;outline: 1px solid var(--ck-color-focus-border);box-shadow: 0 0 0 2px #fff;}',this.picker.shadowRoot.appendChild(e)}this.picker.addEventListener("color-changed",(e=>{const t=e.detail.value;this._debounceColorPickerEvent(t)}))}focus(){if(!this._config.hideInput&&(s._K.isGecko||s._K.isiOS||s._K.isSafari)){this.hexInputRow.children.get(1).focus()}this.slidersView.first.focus()}_createSlidersView(){const e=[...this.picker.shadowRoot.children].filter((e=>"slider"===e.getAttribute("role"))).map((e=>new fs(e)));this.slidersView=this.createCollection(),e.forEach((e=>{this.slidersView.add(e)}))}_createInputRow(){const e=this._createColorInput();return new _s(this.locale,e)}_createColorInput(){const e=new lt(this.locale,Vo),{t}=this.locale;return e.set({label:t("HEX"),class:"color-picker-hex-input"}),e.fieldView.bind("value").to(this,"_hexColor",(t=>e.isFocused?e.fieldView.value:t.startsWith("#")?t.substring(1):t)),e.fieldView.on("input",(()=>{const t=e.fieldView.element.value;if(t){const e=bs(t);e&&this._debounceColorPickerEvent(e)}})),e}isValid(){const{t:e}=this.locale;return!!this._config.hideInput||(this.resetValidationStatus(),!!this.hexInputRow.getParsedColor()||(this.hexInputRow.inputView.errorText=e('Please enter a valid color (e.g. "ff0000").'),!1))}resetValidationStatus(){this.hexInputRow.inputView.errorText=null}}function ps(e){let t=function(e){if(!e)return"";const t=nt(e);return t?"hex"===t.space?t.hexValue:it(e,"hex"):"#000"}(e);return t||(t="#000"),4===t.length&&(t="#"+[t[1],t[1],t[2],t[2],t[3],t[3]].join("")),t.toLowerCase()}class fs extends L{constructor(e){super(),this.element=e}focus(){this.element.focus()}}class gs extends L{constructor(e){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__hash-view"]},children:"#"})}}class _s extends L{constructor(e,t){super(e),this.inputView=t,this.children=this.createCollection([new gs,this.inputView]),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__row"]},children:this.children})}getParsedColor(){return bs(this.inputView.fieldView.element.value)}}function bs(e){if(!e)return null;const t=e.trim().replace(/^#/,"");return[3,4,6,8].includes(t.length)&&/^(([0-9a-fA-F]{2}){3,4}|([0-9a-fA-F]){3,4})$/.test(t)?`#${t}`:null}class ks extends((0,s.VM)(s.pM)){constructor(e){super(e),this.set("isEmpty",!0),this.on("change",(()=>{this.set("isEmpty",0===this.length)}))}add(e,t){return this.find((t=>t.color===e.color))?this:super.add(e,t)}hasColor(e){return!!this.find((t=>t.color===e))}}class ws extends L{constructor(e,{colors:t,columns:o,removeButtonLabel:s,documentColorsLabel:i,documentColorsCount:n,colorPickerLabel:r,focusTracker:a,focusables:c}){super(e);const l=this.bindTemplate;this.set("isVisible",!0),this.focusTracker=a,this.items=this.createCollection(),this.colorDefinitions=t,this.columns=o,this.documentColors=new ks,this.documentColorsCount=n,this._focusables=c,this._removeButtonLabel=s,this._colorPickerLabel=r,this._documentColorsLabel=i,this.setTemplate({tag:"div",attributes:{class:["ck-color-grids-fragment",l.if("isVisible","ck-hidden",(e=>!e))]},children:this.items}),this.removeColorButtonView=this._createRemoveColorButton(),this.items.add(this.removeColorButtonView)}updateDocumentColors(e,t){const o=e.document,s=this.documentColorsCount;this.documentColors.clear();for(const i of o.getRoots()){const o=e.createRangeIn(i);for(const e of o.getItems())if(e.is("$textProxy")&&e.hasAttribute(t)&&(this._addColorToDocumentColors(e.getAttribute(t)),this.documentColors.length>=s))return}}updateSelectedColors(){const e=this.documentColorsGrid,t=this.staticColorsGrid,o=this.selectedColor;t.selectedColor=o,e&&(e.selectedColor=o)}render(){if(super.render(),this.staticColorsGrid=this._createStaticColorsGrid(),this.items.add(this.staticColorsGrid),this.documentColorsCount){const e=a.bind(this.documentColors,this.documentColors),t=new L(this.locale);t.setTemplate({tag:"span",attributes:{class:["ck","ck-color-grid__label",e.if("isEmpty","ck-hidden")]},children:[{text:this._documentColorsLabel}]}),this.items.add(t),this.documentColorsGrid=this._createDocumentColorsGrid(),this.items.add(this.documentColorsGrid)}this._createColorPickerButton(),this._addColorSelectorElementsToFocusTracker()}focus(){this.removeColorButtonView.focus()}destroy(){super.destroy()}addColorPickerButton(){this.colorPickerButtonView&&(this.items.add(this.colorPickerButtonView),this.focusTracker.add(this.colorPickerButtonView.element),this._focusables.add(this.colorPickerButtonView))}_addColorSelectorElementsToFocusTracker(){this.focusTracker.add(this.removeColorButtonView.element),this._focusables.add(this.removeColorButtonView),this.staticColorsGrid&&(this.focusTracker.add(this.staticColorsGrid.element),this._focusables.add(this.staticColorsGrid)),this.documentColorsGrid&&(this.focusTracker.add(this.documentColorsGrid.element),this._focusables.add(this.documentColorsGrid))}_createColorPickerButton(){this.colorPickerButtonView=new Q,this.colorPickerButtonView.set({label:this._colorPickerLabel,withText:!0,icon:U.Pt.colorPalette,class:"ck-color-selector__color-picker"}),this.colorPickerButtonView.on("execute",(()=>{this.fire("colorPicker:show")}))}_createRemoveColorButton(){const e=new Q;return e.set({withText:!0,icon:U.Pt.eraser,label:this._removeButtonLabel}),e.class="ck-color-selector__remove-color",e.on("execute",(()=>{this.fire("execute",{value:null,source:"removeColorButton"})})),e.render(),e}_createStaticColorsGrid(){const e=new Qe(this.locale,{colorDefinitions:this.colorDefinitions,columns:this.columns});return e.on("execute",((e,t)=>{this.fire("execute",{value:t.value,source:"staticColorsGrid"})})),e}_createDocumentColorsGrid(){const e=a.bind(this.documentColors,this.documentColors),t=new Qe(this.locale,{columns:this.columns});return t.extendTemplate({attributes:{class:e.if("isEmpty","ck-hidden")}}),t.items.bindTo(this.documentColors).using((e=>{const t=new Ze;return t.set({color:e.color,hasBorder:e.options&&e.options.hasBorder}),e.label&&t.set({label:e.label,tooltip:!0}),t.on("execute",(()=>{this.fire("execute",{value:e.color,source:"documentColorsGrid"})})),t})),this.documentColors.on("change:isEmpty",((e,o,s)=>{s&&(t.selectedColor=null)})),t}_addColorToDocumentColors(e){const t=this.colorDefinitions.find((t=>t.color===e));t?this.documentColors.add(Object.assign({},t)):this.documentColors.add({color:e,label:e,options:{hasBorder:!1}})}}class vs extends L{constructor(e,{focusTracker:t,focusables:o,keystrokes:s,colorPickerViewConfig:i}){super(e),this.items=this.createCollection(),this.focusTracker=t,this.keystrokes=s,this.set("isVisible",!1),this.set("selectedColor",void 0),this._focusables=o,this._colorPickerViewConfig=i;const n=this.bindTemplate,{saveButtonView:r,cancelButtonView:a}=this._createActionButtons();this.saveButtonView=r,this.cancelButtonView=a,this.actionBarView=this._createActionBarView({saveButtonView:r,cancelButtonView:a}),this.setTemplate({tag:"div",attributes:{class:["ck-color-picker-fragment",n.if("isVisible","ck-hidden",(e=>!e))]},children:this.items})}render(){super.render();const e=new ms(this.locale,{...this._colorPickerViewConfig});this.colorPickerView=e,this.colorPickerView.render(),this.selectedColor&&(e.color=this.selectedColor),this.listenTo(this,"change:selectedColor",((t,o,s)=>{e.color=s})),this.items.add(this.colorPickerView),this.items.add(this.actionBarView),this._addColorPickersElementsToFocusTracker(),this._stopPropagationOnArrowsKeys(),this._executeOnEnterPress(),this._executeUponColorChange()}destroy(){super.destroy()}focus(){this.colorPickerView.focus()}resetValidationStatus(){this.colorPickerView.resetValidationStatus()}_executeOnEnterPress(){this.keystrokes.set("enter",(e=>{this.isVisible&&this.focusTracker.focusedElement!==this.cancelButtonView.element&&this.colorPickerView.isValid()&&(this.fire("execute",{value:this.selectedColor}),e.stopPropagation(),e.preventDefault())}))}_stopPropagationOnArrowsKeys(){const e=e=>e.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}_addColorPickersElementsToFocusTracker(){for(const e of this.colorPickerView.slidersView)this.focusTracker.add(e.element),this._focusables.add(e);const e=this.colorPickerView.hexInputRow.children.get(1);e.element&&(this.focusTracker.add(e.element),this._focusables.add(e)),this.focusTracker.add(this.saveButtonView.element),this._focusables.add(this.saveButtonView),this.focusTracker.add(this.cancelButtonView.element),this._focusables.add(this.cancelButtonView)}_createActionBarView({saveButtonView:e,cancelButtonView:t}){const o=new L,s=this.createCollection();return s.add(e),s.add(t),o.setTemplate({tag:"div",attributes:{class:["ck","ck-color-selector_action-bar"]},children:s}),o}_createActionButtons(){const e=this.locale,t=e.t,o=new Q(e),s=new Q(e);return o.set({icon:U.Pt.check,class:"ck-button-save",type:"button",withText:!1,label:t("Accept")}),s.set({icon:U.Pt.cancel,class:"ck-button-cancel",type:"button",withText:!1,label:t("Cancel")}),o.on("execute",(()=>{this.colorPickerView.isValid()&&this.fire("execute",{source:"colorPickerSaveButton",value:this.selectedColor})})),s.on("execute",(()=>{this.fire("colorPicker:cancel")})),{saveButtonView:o,cancelButtonView:s}}_executeUponColorChange(){this.colorPickerView.on("colorSelected",((e,t)=>{this.fire("execute",{value:t.color,source:"colorPicker"}),this.set("selectedColor",t.color)}))}}var ys=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/colorselector/colorselector.css"),As={attributes:{"data-cke":!0}};As.setAttributes=I(),As.insert=R().bind(null,"head"),As.domAPI=O(),As.insertStyleElement=N();S()(ys.A,As);ys.A&&ys.A.locals&&ys.A.locals;class xs extends L{constructor(e,{colors:t,columns:o,removeButtonLabel:n,documentColorsLabel:r,documentColorsCount:a,colorPickerLabel:c,colorPickerViewConfig:l}){super(e),this.items=this.createCollection(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this._focusables=new i,this._colorPickerViewConfig=l,this._focusCycler=new ie({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.colorGridsFragmentView=new ws(e,{colors:t,columns:o,removeButtonLabel:n,documentColorsLabel:r,documentColorsCount:a,colorPickerLabel:c,focusTracker:this.focusTracker,focusables:this._focusables}),this.colorPickerFragmentView=new vs(e,{focusables:this._focusables,focusTracker:this.focusTracker,keystrokes:this.keystrokes,colorPickerViewConfig:l}),this.set("_isColorGridsFragmentVisible",!0),this.set("_isColorPickerFragmentVisible",!1),this.set("selectedColor",void 0),this.colorGridsFragmentView.bind("isVisible").to(this,"_isColorGridsFragmentVisible"),this.colorPickerFragmentView.bind("isVisible").to(this,"_isColorPickerFragmentVisible"),this.on("change:selectedColor",((e,t,o)=>{this.colorGridsFragmentView.set("selectedColor",o),this.colorPickerFragmentView.set("selectedColor",o)})),this.colorGridsFragmentView.on("change:selectedColor",((e,t,o)=>{this.set("selectedColor",o)})),this.colorPickerFragmentView.on("change:selectedColor",((e,t,o)=>{this.set("selectedColor",o)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-selector"]},children:this.items})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}appendUI(){this._appendColorGridsFragment(),this._colorPickerViewConfig&&this._appendColorPickerFragment()}showColorPickerFragment(){this.colorPickerFragmentView.colorPickerView&&!this._isColorPickerFragmentVisible&&(this._isColorPickerFragmentVisible=!0,this.colorPickerFragmentView.focus(),this.colorPickerFragmentView.resetValidationStatus(),this._isColorGridsFragmentVisible=!1)}showColorGridsFragment(){this._isColorGridsFragmentVisible||(this._isColorGridsFragmentVisible=!0,this.colorGridsFragmentView.focus(),this._isColorPickerFragmentVisible=!1)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}updateDocumentColors(e,t){this.colorGridsFragmentView.updateDocumentColors(e,t)}updateSelectedColors(){this.colorGridsFragmentView.updateSelectedColors()}_appendColorGridsFragment(){this.items.length||(this.items.add(this.colorGridsFragmentView),this.colorGridsFragmentView.delegate("execute").to(this),this.colorGridsFragmentView.delegate("colorPicker:show").to(this))}_appendColorPickerFragment(){2!==this.items.length&&(this.items.add(this.colorPickerFragmentView),this.colorGridsFragmentView.colorPickerButtonView&&this.colorGridsFragmentView.colorPickerButtonView.on("execute",(()=>{this.showColorPickerFragment()})),this.colorGridsFragmentView.addColorPickerButton(),this.colorPickerFragmentView.delegate("execute").to(this),this.colorPickerFragmentView.delegate("colorPicker:cancel").to(this))}}class Cs{constructor(e){this._components=new Map,this.editor=e}*names(){for(const e of this._components.values())yield e.originalName}add(e,t){this._components.set(Es(e),{callback:t,originalName:e})}create(e){if(!this.has(e))throw new s.Yb("componentfactory-item-missing",this,{name:e});return this._components.get(Es(e)).callback(this.editor.locale)}has(e){return this._components.has(Es(e))}}function Es(e){return String(e).toLowerCase()}var Ps=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/tooltip/tooltip.css"),Ts={attributes:{"data-cke":!0}};Ts.setAttributes=I(),Ts.insert=R().bind(null,"head"),Ts.domAPI=O(),Ts.insertStyleElement=N();S()(Ps.A,Ts);Ps.A&&Ps.A.locals&&Ps.A.locals;const Ss="ck-tooltip";class Ms extends((0,s.c5)()){constructor(e){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._mutationObserver=null,Ms._editors.add(e),Ms._instance)return Ms._instance;Ms._instance=this,this.tooltipTextView=new L(e.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new Gt(e.locale),this.balloonPanelView.class=Ss,this.balloonPanelView.content.add(this.tooltipTextView),this._mutationObserver=function(e){const t=new MutationObserver((()=>{e()}));return{attach(e){t.observe(e,{attributes:!0,attributeFilter:["data-cke-tooltip-text","data-cke-tooltip-position"]})},detach(){t.disconnect()}}}((()=>{this._updateTooltipPosition()})),this._pinTooltipDebounced=(0,rt.A)(this._pinTooltip,600),this._unpinTooltipDebounced=(0,rt.A)(this._unpinTooltip,400),this.listenTo(s.Sf.document,"keydown",this._onKeyDown.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(s.Sf.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}static{this.defaultBalloonPositions=Gt.generatePositions({heightOffset:5,sideOffset:13})}static{this._editors=new Set}static{this._instance=null}destroy(e){const t=e.ui.view&&e.ui.view.body;Ms._editors.delete(e),this.stopListening(e.ui),t&&t.has(this.balloonPanelView)&&t.remove(this.balloonPanelView),Ms._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),Ms._instance=null)}static getPositioningFunctions(e){const t=Ms.defaultBalloonPositions;return{s:[t.southArrowNorth,t.southArrowNorthEast,t.southArrowNorthWest],n:[t.northArrowSouth],e:[t.eastArrowWest],w:[t.westArrowEast],sw:[t.southArrowNorthEast],se:[t.southArrowNorthWest]}[e]}_onKeyDown(e,t){"Escape"===t.key&&this._currentElementWithTooltip&&(this._unpinTooltip(),t.stopPropagation())}_onEnterOrFocus(e,{target:t}){const o=Os(t);o?o!==this._currentElementWithTooltip&&(this._unpinTooltip(),"focus"!==e.name||o.matches(":hover")?this._pinTooltipDebounced(o,Vs(o)):this._pinTooltip(o,Vs(o))):"focus"===e.name&&this._unpinTooltip()}_onLeaveOrBlur(e,{target:t,relatedTarget:o}){if("mouseleave"===e.name){if(!(0,Wt.A)(t))return;const e=this.balloonPanelView.element,s=e&&(e===o||e.contains(o)),i=!s&&t===e;if(s)return void this._unpinTooltipDebounced.cancel();if(!i&&this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;const n=Os(t),r=Os(o);(i||n&&n!==r)&&this._unpinTooltipDebounced()}else{if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;this._unpinTooltipDebounced()}}_onScroll(e,{target:t}){this._currentElementWithTooltip&&(t.contains(this.balloonPanelView.element)&&t.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(e,{text:t,position:o,cssClass:i}){this._unpinTooltip();const n=(0,s.$1)(Ms._editors.values()).ui.view.body;n.has(this.balloonPanelView)||n.add(this.balloonPanelView),this.tooltipTextView.text=t,this.balloonPanelView.class=[Ss,i].filter((e=>e)).join(" "),this.balloonPanelView.pin({target:e,positions:Ms.getPositioningFunctions(o)}),this._mutationObserver.attach(e);for(const e of Ms._editors)this.listenTo(e.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=e,this._currentTooltipPosition=o}_unpinTooltip(){this._unpinTooltipDebounced.cancel(),this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const e of Ms._editors)this.stopListening(e.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this.tooltipTextView.text="",this._mutationObserver.detach()}_updateTooltipPosition(){if(!this._currentElementWithTooltip)return;const e=Vs(this._currentElementWithTooltip);(0,s.zN)(this._currentElementWithTooltip)&&e.text?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:Ms.getPositioningFunctions(e.position)}):this._unpinTooltip()}}function Os(e){return(0,Wt.A)(e)?e.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}function Vs(e){return{text:e.dataset.ckeTooltipText,position:e.dataset.ckeTooltipPosition||"s",cssClass:e.dataset.ckeTooltipClass||""}}var Rs=o("./node_modules/lodash-es/throttle.js");class js extends((0,s.c5)()){constructor(e){super(),this.editor=e,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=(0,Rs.A)(this._showBalloon.bind(this),50,{leading:!0}),e.on("ready",this._handleEditorReady.bind(this))}destroy(){const e=this._balloonView;e&&(e.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const e=this.editor;(!!e.config.get("ui.poweredBy.forceVisible")||"VALID"!==(0,s.rQ)(e.config.get("licenseKey")))&&e.ui.view&&(e.ui.focusTracker.on("change:isFocused",((e,t,o)=>{this._updateLastFocusedEditableElement(),o?this._showBalloon():this._hideBalloon()})),e.ui.focusTracker.on("change:focusedElement",((e,t,o)=>{this._updateLastFocusedEditableElement(),o&&this._showBalloon()})),e.ui.on("update",(()=>{this._showBalloonThrottled()})))}_createBalloonView(){const e=this.editor,t=this._balloonView=new Gt,o=Ns(e),s=new Is(e.locale,o.label);t.content.add(s),t.set({class:"ck-powered-by-balloon"}),e.ui.view.body.add(t),this._balloonView=t}_showBalloon(){if(!this._lastFocusedEditableElement)return;const e=function(e,t){const o=Ns(e),s="right"===o.side?function(e,t){return Bs(e,t,((e,o)=>e.left+e.width-o.width-t.horizontalOffset))}(t,o):function(e,t){return Bs(e,t,(e=>e.left+t.horizontalOffset))}(t,o);return{target:t,positions:[s]}}(this.editor,this._lastFocusedEditableElement);e&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(e))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const e=this.editor,t=e.ui.focusTracker.isFocused,o=e.ui.focusTracker.focusedElement;if(!t||!o)return void(this._lastFocusedEditableElement=null);const s=Array.from(e.ui.getEditableElementsNames()).map((t=>e.ui.getEditableElement(t)));s.includes(o)?this._lastFocusedEditableElement=o:this._lastFocusedEditableElement=s[0]}}class Is extends L{constructor(e,t){super(e);const o=new G,s=this.bindTemplate;o.set({content:'<svg xmlns="http://www.w3.org/2000/svg" width="53" height="10" viewBox="0 0 53 10"><path fill="#1C2331" d="M31.724 1.492a15.139 15.139 0 0 0 .045 1.16 2.434 2.434 0 0 0-.687-.34 3.68 3.68 0 0 0-1.103-.166 2.332 2.332 0 0 0-1.14.255 1.549 1.549 0 0 0-.686.87c-.15.41-.225.98-.225 1.712 0 .939.148 1.659.444 2.161.297.503.792.754 1.487.754.452.015.9-.094 1.294-.316.296-.174.557-.4.771-.669l.14.852h1.282V.007h-1.623v1.485ZM31 6.496a1.77 1.77 0 0 1-.494.061.964.964 0 0 1-.521-.127.758.758 0 0 1-.296-.466 3.984 3.984 0 0 1-.093-.992 4.208 4.208 0 0 1 .098-1.052.753.753 0 0 1 .307-.477 1.08 1.08 0 0 1 .55-.122c.233-.004.466.026.69.089l.483.144v2.553c-.11.076-.213.143-.307.2a1.73 1.73 0 0 1-.417.189ZM35.68 0l-.702.004c-.322.002-.482.168-.48.497l.004.581c.002.33.164.493.486.49l.702-.004c.322-.002.481-.167.48-.496L36.165.49c-.002-.33-.164-.493-.486-.491ZM36.145 2.313l-1.612.01.034 5.482 1.613-.01-.035-5.482ZM39.623.79 37.989.8 38 2.306l-.946.056.006 1.009.949-.006.024 2.983c.003.476.143.844.419 1.106.275.26.658.39 1.148.387.132 0 .293-.01.483-.03.19-.02.38-.046.57-.08.163-.028.324-.068.482-.119l-.183-1.095-.702.004a.664.664 0 0 1-.456-.123.553.553 0 0 1-.14-.422l-.016-2.621 1.513-.01-.006-1.064-1.514.01-.01-1.503ZM46.226 2.388c-.41-.184-.956-.274-1.636-.27-.673.004-1.215.101-1.627.29-.402.179-.72.505-.888.91-.18.419-.268.979-.264 1.68.004.688.1 1.24.285 1.655.172.404.495.724.9.894.414.18.957.268 1.63.264.68-.004 1.224-.099 1.632-.284.4-.176.714-.501.878-.905.176-.418.263-.971.258-1.658-.004-.702-.097-1.261-.28-1.677a1.696 1.696 0 0 0-.888-.9Zm-.613 3.607a.77.77 0 0 1-.337.501 1.649 1.649 0 0 1-1.317.009.776.776 0 0 1-.343-.497 4.066 4.066 0 0 1-.105-1.02 4.136 4.136 0 0 1 .092-1.03.786.786 0 0 1 .337-.507 1.59 1.59 0 0 1 1.316-.008.79.79 0 0 1 .344.502c.078.337.113.683.105 1.03.012.343-.019.685-.092 1.02ZM52.114 2.07a2.67 2.67 0 0 0-1.128.278c-.39.191-.752.437-1.072.73l-.157-.846-1.273.008.036 5.572 1.623-.01-.024-3.78c.35-.124.646-.22.887-.286.26-.075.53-.114.8-.118l.45-.003.144-1.546-.286.001ZM22.083 7.426l-1.576-2.532a2.137 2.137 0 0 0-.172-.253 1.95 1.95 0 0 0-.304-.29.138.138 0 0 1 .042-.04 1.7 1.7 0 0 0 .328-.374l1.75-2.71c.01-.015.025-.028.024-.048-.01-.01-.021-.007-.031-.007L20.49 1.17a.078.078 0 0 0-.075.045l-.868 1.384c-.23.366-.46.732-.688 1.099a.108.108 0 0 1-.112.06c-.098-.005-.196-.001-.294-.002-.018 0-.038.006-.055-.007.002-.02.002-.039.005-.058a4.6 4.6 0 0 0 .046-.701V1.203c0-.02-.009-.032-.03-.03h-.033L16.93 1.17c-.084 0-.073-.01-.073.076v6.491c-.001.018.006.028.025.027h1.494c.083 0 .072.007.072-.071v-2.19c0-.055-.003-.11-.004-.166a3.366 3.366 0 0 0-.05-.417h.06c.104 0 .209.002.313-.002a.082.082 0 0 1 .084.05c.535.913 1.07 1.824 1.607 2.736a.104.104 0 0 0 .103.062c.554-.003 1.107-.002 1.66-.002l.069-.003-.019-.032-.188-.304ZM27.112 6.555c-.005-.08-.004-.08-.082-.08h-2.414c-.053 0-.106-.003-.159-.011a.279.279 0 0 1-.246-.209.558.558 0 0 1-.022-.15c0-.382 0-.762-.002-1.143 0-.032.007-.049.042-.044h2.504c.029.003.037-.012.034-.038V3.814c0-.089.013-.078-.076-.078h-2.44c-.07 0-.062.003-.062-.06v-.837c0-.047.004-.093.013-.14a.283.283 0 0 1 .241-.246.717.717 0 0 1 .146-.011h2.484c.024.002.035-.009.036-.033l.003-.038.03-.496c.01-.183.024-.365.034-.548.005-.085.003-.087-.082-.094-.218-.018-.437-.038-.655-.05a17.845 17.845 0 0 0-.657-.026 72.994 72.994 0 0 0-1.756-.016 1.7 1.7 0 0 0-.471.064 1.286 1.286 0 0 0-.817.655c-.099.196-.149.413-.145.633v3.875c0 .072.003.144.011.216a1.27 1.27 0 0 0 .711 1.029c.228.113.48.167.734.158.757-.005 1.515.002 2.272-.042.274-.016.548-.034.82-.053.03-.002.043-.008.04-.041-.008-.104-.012-.208-.019-.312a69.964 69.964 0 0 1-.05-.768ZM16.14 7.415l-.127-1.075c-.004-.03-.014-.04-.044-.037a13.125 13.125 0 0 1-.998.073c-.336.01-.672.02-1.008.016-.116-.001-.233-.014-.347-.039a.746.746 0 0 1-.45-.262c-.075-.1-.132-.211-.167-.33a3.324 3.324 0 0 1-.126-.773 9.113 9.113 0 0 1-.015-.749c0-.285.022-.57.065-.852.023-.158.066-.312.127-.46a.728.728 0 0 1 .518-.443 1.64 1.64 0 0 1 .397-.048c.628-.001 1.255.003 1.882.05.022.001.033-.006.036-.026l.003-.031.06-.55c.019-.177.036-.355.057-.532.004-.034-.005-.046-.04-.056a5.595 5.595 0 0 0-1.213-.21 10.783 10.783 0 0 0-.708-.02c-.24-.003-.48.01-.719.041a3.477 3.477 0 0 0-.625.14 1.912 1.912 0 0 0-.807.497c-.185.2-.33.433-.424.688a4.311 4.311 0 0 0-.24 1.096c-.031.286-.045.572-.042.86-.006.43.024.86.091 1.286.04.25.104.497.193.734.098.279.26.53.473.734.214.205.473.358.756.446.344.11.702.17 1.063.177a8.505 8.505 0 0 0 1.578-.083 6.11 6.11 0 0 0 .766-.18c.03-.008.047-.023.037-.057a.157.157 0 0 1-.003-.025Z"/><path fill="#AFE229" d="M6.016 6.69a1.592 1.592 0 0 0-.614.21c-.23.132-.422.32-.56.546-.044.072-.287.539-.287.539l-.836 1.528.009.006c.038.025.08.046.123.063.127.046.26.07.395.073.505.023 1.011-.007 1.517-.003.29.009.58.002.869-.022a.886.886 0 0 0 .395-.116.962.962 0 0 0 .312-.286c.056-.083.114-.163.164-.249.24-.408.48-.816.718-1.226.075-.128.148-.257.222-.386l.112-.192a1.07 1.07 0 0 0 .153-.518l-1.304.023s-1.258-.005-1.388.01Z"/><path fill="#771BFF" d="m2.848 9.044.76-1.39.184-.352c-.124-.067-.245-.14-.367-.21-.346-.204-.706-.384-1.045-.6a.984.984 0 0 1-.244-.207c-.108-.134-.136-.294-.144-.46-.021-.409-.002-.818-.009-1.227-.003-.195 0-.39.003-.585.004-.322.153-.553.427-.713l.833-.488c.22-.13.44-.257.662-.385.05-.029.105-.052.158-.077.272-.128.519-.047.76.085l.044.028c.123.06.242.125.358.196.318.178.635.357.952.537.095.056.187.117.275.184.194.144.254.35.266.578.016.284.007.569.006.853-.001.28.004.558 0 .838.592-.003 1.259 0 1.259 0l.723-.013c-.003-.292-.007-.584-.007-.876 0-.524.015-1.048-.016-1.571-.024-.42-.135-.8-.492-1.067a5.02 5.02 0 0 0-.506-.339A400.52 400.52 0 0 0 5.94.787C5.722.664 5.513.524 5.282.423 5.255.406 5.228.388 5.2.373 4.758.126 4.305-.026 3.807.21c-.097.046-.197.087-.29.14A699.896 699.896 0 0 0 .783 1.948c-.501.294-.773.717-.778 1.31-.004.36-.009.718-.001 1.077.016.754-.017 1.508.024 2.261.016.304.07.6.269.848.127.15.279.28.448.382.622.4 1.283.734 1.92 1.11l.183.109Z"/></svg>\n',isColorInherited:!1}),o.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/powered-by-ckeditor/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...t?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[t]}]:[],o],on:{dragstart:s.to((e=>e.preventDefault()))}}]})}}function Bs(e,t,o){return(i,n)=>{const r=new s.rw(e);if(r.width<350||r.height<50)return null;let a;a="inside"===t.position?r.bottom-n.height:r.bottom-n.height/2,a-=t.verticalOffset;const c=o(r,n),l=i.clone().moveTo(c,a).getIntersection(n.clone().moveTo(c,a)).getVisible();return!l||l.getArea()<n.getArea()?null:{top:a,left:c,name:`position_${t.position}-side_${t.side}`,config:{withArrow:!1}}}}function Ns(e){const t=e.config.get("ui.poweredBy"),o=t&&t.position||"border";return{position:o,label:"Powered by",verticalOffset:"inside"===o?5:0,horizontalOffset:5,side:"ltr"===e.locale.contentLanguageDirection?"right":"left",...t}}var Ds=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"),Fs={attributes:{"data-cke":!0}};Fs.setAttributes=I(),Fs.insert=R().bind(null,"head"),Fs.domAPI=O(),Fs.insertStyleElement=N();S()(Ds.A,Fs);Ds.A&&Ds.A.locals&&Ds.A.locals;const Ls={POLITE:"polite",ASSERTIVE:"assertive"};class zs{constructor(e){this.editor=e,e.once("ready",(()=>{for(const e of Object.values(Ls))this.announce("",e)}))}announce(e,t=Ls.POLITE){const o=this.editor;if(!o.ui.view)return;this.view||(this.view=new Hs(o.locale),o.ui.view.body.add(this.view));const{politeness:s,isUnsafeHTML:i}="string"==typeof t?{politeness:t}:t;let n=this.view.regionViews.find((e=>e.politeness===s));n||(n=new $s(o,s),this.view.regionViews.add(n)),n.announce({announcement:e,isUnsafeHTML:i})}}class Hs extends L{constructor(e){super(e),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class $s extends L{constructor(e,t){super(e.locale),this.setTemplate({tag:"div",attributes:{"aria-live":t,"aria-relevant":"additions"},children:[{tag:"ul",attributes:{class:["ck","ck-aria-live-region-list"]}}]}),e.on("destroy",(()=>{null!==this._pruneAnnouncementsInterval&&(clearInterval(this._pruneAnnouncementsInterval),this._pruneAnnouncementsInterval=null)})),this.politeness=t,this._domConverter=e.data.htmlProcessor.domConverter,this._pruneAnnouncementsInterval=setInterval((()=>{this.element&&this._listElement.firstChild&&this._listElement.firstChild.remove()}),5e3)}announce({announcement:e,isUnsafeHTML:t}){if(!e.trim().length)return;const o=document.createElement("li");t?this._domConverter.setContentOf(o,e):o.innerText=e,this._listElement.appendChild(o)}get _listElement(){return this.element.querySelector("ul")}}var Ws=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenulistitem.css"),qs={attributes:{"data-cke":!0}};qs.setAttributes=I(),qs.insert=R().bind(null,"head"),qs.domAPI=O(),qs.insertStyleElement=N();S()(Ws.A,qs);Ws.A&&Ws.A.locals&&Ws.A.locals;class Us extends Ot{constructor(e,t){super(e);const o=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item"]},on:{mouseenter:o.to("mouseenter")}}),this.delegate("mouseenter").to(t)}}var Ks=o("./node_modules/lodash-es/cloneDeep.js");const Ys={toggleMenusAndFocusItemsOnHover(e){e.on("menu:mouseenter",(t=>{if(e.isFocusBorderEnabled||e.isOpen){if(e.isOpen)for(const o of e.menus){const e=t.path[0],s=e instanceof Us&&e.children.first===o;o.isOpen=(t.path.includes(o)||s)&&o.isEnabled}t.source.focus()}}))},focusCycleMenusOnArrows(e){const t="rtl"===e.locale.uiLanguageDirection;function o(t,o){const s=e.children.getIndex(t),i=t.isOpen,n=e.children.length,r=e.children.get((s+n+o)%n);t.isOpen=!1,i&&(r.isOpen=!0),r.buttonView.focus()}e.on("menu:arrowright",(e=>{o(e.source,t?-1:1)})),e.on("menu:arrowleft",(e=>{o(e.source,t?1:-1)}))},closeMenusWhenTheBarCloses(e){e.on("change:isOpen",(()=>{e.isOpen||e.menus.forEach((e=>{e.isOpen=!1}))}))},closeMenuWhenAnotherOnTheSameLevelOpens(e){e.on("menu:change:isOpen",((t,o,s)=>{s&&e.menus.filter((e=>t.source.parentMenuView===e.parentMenuView&&t.source!==e&&e.isOpen)).forEach((e=>{e.isOpen=!1}))}))},closeOnClickOutside(e){z({emitter:e,activator:()=>e.isOpen,callback:()=>e.close(),contextElements:()=>e.children.map((e=>e.element))})},enableFocusHighlightOnInteraction(e){let t=!1;e.on("change:isOpen",((o,s,i)=>{i||(t||(e.isFocusBorderEnabled=!1),t=!1)})),e.listenTo(e.element,"keydown",(()=>{t=!0}),{useCapture:!0}),e.listenTo(e.element,"keyup",(()=>{t=!1}),{useCapture:!0}),e.listenTo(e.element,"focus",(()=>{t&&(e.isFocusBorderEnabled=!0)}),{useCapture:!0})}},Gs={openAndFocusPanelOnArrowDownKey(e){e.keystrokes.set("arrowdown",((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&(e.isOpen||(e.isOpen=!0),e.panelView.focus(),o())}))},openOnArrowRightKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowleft":"arrowright";e.keystrokes.set(t,((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&e.isEnabled&&(e.isOpen||(e.isOpen=!0),e.panelView.focus(),o())}))},openOnButtonClick(e){e.buttonView.on("execute",(()=>{e.isOpen=!0}))},toggleOnButtonClick(e){e.buttonView.on("execute",(()=>{e.isOpen=!e.isOpen}))},openAndFocusOnEnterKeyPress(e){e.keystrokes.set("enter",((t,o)=>{e.focusTracker.focusedElement===e.buttonView.element&&(e.isOpen=!0,e.panelView.focus(),o())}))},closeOnArrowLeftKey(e){const t="rtl"===e.locale.uiLanguageDirection?"arrowright":"arrowleft";e.keystrokes.set(t,((t,o)=>{e.isOpen&&(e.isOpen=!1,e.focus(),o())}))},closeOnEscKey(e){e.keystrokes.set("esc",((t,o)=>{e.isOpen&&(e.isOpen=!1,e.focus(),o())}))},closeOnParentClose(e){e.parentMenuView.on("change:isOpen",((t,o,s)=>{s||t.source!==e.parentMenuView||(e.isOpen=!1)}))}},Zs={southEast:e=>({top:e.bottom,left:e.left,name:"se"}),southWest:(e,t)=>({top:e.bottom,left:e.left-t.width+e.width,name:"sw"}),northEast:(e,t)=>({top:e.top-t.height,left:e.left,name:"ne"}),northWest:(e,t)=>({top:e.top-t.height,left:e.left-t.width+e.width,name:"nw"}),eastSouth:e=>({top:e.top,left:e.right-5,name:"es"}),eastNorth:(e,t)=>({top:e.top-t.height,left:e.right-5,name:"en"}),westSouth:(e,t)=>({top:e.top,left:e.left-t.width+5,name:"ws"}),westNorth:(e,t)=>({top:e.top-t.height,left:e.left-t.width+5,name:"wn"})},Js=[{menuId:"file",label:"File",groups:[{groupId:"export",items:["menuBar:exportPdf","menuBar:exportWord"]},{groupId:"import",items:["menuBar:importWord"]},{groupId:"revisionHistory",items:["menuBar:revisionHistory"]}]},{menuId:"edit",label:"Edit",groups:[{groupId:"undo",items:["menuBar:undo","menuBar:redo"]},{groupId:"selectAll",items:["menuBar:selectAll"]},{groupId:"findAndReplace",items:["menuBar:findAndReplace"]}]},{menuId:"view",label:"View",groups:[{groupId:"sourceEditing",items:["menuBar:sourceEditing"]},{groupId:"showBlocks",items:["menuBar:showBlocks"]},{groupId:"previewMergeFields",items:["menuBar:previewMergeFields"]},{groupId:"restrictedEditing",items:["menuBar:restrictedEditing"]}]},{menuId:"insert",label:"Insert",groups:[{groupId:"insertMainWidgets",items:["menuBar:insertImage","menuBar:ckbox","menuBar:ckfinder","menuBar:insertTable"]},{groupId:"insertInline",items:["menuBar:link","menuBar:comment","menuBar:insertMergeField"]},{groupId:"insertMinorWidgets",items:["menuBar:mediaEmbed","menuBar:insertTemplate","menuBar:specialCharacters","menuBar:blockQuote","menuBar:codeBlock","menuBar:htmlEmbed"]},{groupId:"insertStructureWidgets",items:["menuBar:horizontalLine","menuBar:pageBreak","menuBar:tableOfContents"]},{groupId:"restrictedEditingException",items:["menuBar:restrictedEditingException"]}]},{menuId:"format",label:"Format",groups:[{groupId:"textAndFont",items:[{menuId:"text",label:"Text",groups:[{groupId:"basicStyles",items:["menuBar:bold","menuBar:italic","menuBar:underline","menuBar:strikethrough","menuBar:superscript","menuBar:subscript","menuBar:code"]},{groupId:"textPartLanguage",items:["menuBar:textPartLanguage"]}]},{menuId:"font",label:"Font",groups:[{groupId:"fontProperties",items:["menuBar:fontSize","menuBar:fontFamily"]},{groupId:"fontColors",items:["menuBar:fontColor","menuBar:fontBackgroundColor"]},{groupId:"highlight",items:["menuBar:highlight"]}]},"menuBar:heading"]},{groupId:"list",items:["menuBar:bulletedList","menuBar:numberedList","menuBar:multiLevelList","menuBar:todoList"]},{groupId:"indent",items:["menuBar:alignment","menuBar:indent","menuBar:outdent"]},{groupId:"caseChange",items:["menuBar:caseChange"]},{groupId:"removeFormat",items:["menuBar:removeFormat"]}]},{menuId:"tools",label:"Tools",groups:[{groupId:"aiTools",items:["menuBar:aiAssistant","menuBar:aiCommands"]},{groupId:"tools",items:["menuBar:trackChanges","menuBar:commentsArchive"]}]},{menuId:"help",label:"Help",groups:[{groupId:"help",items:["menuBar:accessibilityHelp"]}]}];function Xs(e){let t;return t="items"in e&&e.items?{items:e.items,removeItems:[],addItems:[],isVisible:!0,isUsingDefaultConfig:!1,...e}:{items:(0,Ks.A)(Js),addItems:[],removeItems:[],isVisible:!0,isUsingDefaultConfig:!0,...e},t}function Qs({normalizedConfig:e,locale:t,componentFactory:o,extraItems:i}){const n=(0,Ks.A)(e);return ei(e,n,i),function(e,t){const o=t.removeItems,i=[];t.items=t.items.filter((({menuId:e})=>!o.includes(e)||(i.push(e),!1))),ii(t.items,(e=>{e.groups=e.groups.filter((({groupId:e})=>!o.includes(e)||(i.push(e),!1)));for(const t of e.groups)t.items=t.items.filter((e=>{const t=ci(e);return!o.includes(t)||(i.push(t),!1)}))}));for(const t of o)i.includes(t)||(0,s.FF)("menu-bar-item-could-not-be-removed",{menuBarConfig:e,itemName:t})}(e,n),ei(e,n,n.addItems),function(e,t,o){ii(t.items,(i=>{for(const n of i.groups)n.items=n.items.filter((n=>{const r="string"==typeof n&&!o.has(n);return r&&!t.isUsingDefaultConfig&&(0,s.FF)("menu-bar-item-unavailable",{menuBarConfig:e,parentMenuConfig:(0,Ks.A)(i),componentName:n}),!r}))}))}(e,n,o),oi(e,n),function(e,t){const o=t.t,s={File:o({string:"File",id:"MENU_BAR_MENU_FILE"}),Edit:o({string:"Edit",id:"MENU_BAR_MENU_EDIT"}),View:o({string:"View",id:"MENU_BAR_MENU_VIEW"}),Insert:o({string:"Insert",id:"MENU_BAR_MENU_INSERT"}),Format:o({string:"Format",id:"MENU_BAR_MENU_FORMAT"}),Tools:o({string:"Tools",id:"MENU_BAR_MENU_TOOLS"}),Help:o({string:"Help",id:"MENU_BAR_MENU_HELP"}),Text:o({string:"Text",id:"MENU_BAR_MENU_TEXT"}),Font:o({string:"Font",id:"MENU_BAR_MENU_FONT"})};ii(e.items,(e=>{e.label in s&&(e.label=s[e.label])}))}(n,t),n}function ei(e,t,o){const i=[];if(0!=o.length){for(const e of o){const o=ri(e.position),s=ai(e.position);if("object"==typeof(n=e)&&"menu"in n)if(s){const n=t.items.findIndex((e=>e.menuId===s));if(-1!=n)"before"===o?(t.items.splice(n,0,e.menu),i.push(e)):"after"===o&&(t.items.splice(n+1,0,e.menu),i.push(e));else{ti(t,e.menu,s,o)&&i.push(e)}}else"start"===o?(t.items.unshift(e.menu),i.push(e)):"end"===o&&(t.items.push(e.menu),i.push(e));else if(ni(e))ii(t.items,(t=>{if(t.menuId===s)"start"===o?(t.groups.unshift(e.group),i.push(e)):"end"===o&&(t.groups.push(e.group),i.push(e));else{const n=t.groups.findIndex((e=>e.groupId===s));-1!==n&&("before"===o?(t.groups.splice(n,0,e.group),i.push(e)):"after"===o&&(t.groups.splice(n+1,0,e.group),i.push(e)))}}));else{ti(t,e.item,s,o)&&i.push(e)}}var n;for(const t of o)i.includes(t)||(0,s.FF)("menu-bar-item-could-not-be-added",{menuBarConfig:e,addedItemConfig:t})}}function ti(e,t,o,s){let i=!1;return ii(e.items,(e=>{for(const{groupId:n,items:r}of e.groups){if(i)return;if(n===o)"start"===s?(r.unshift(t),i=!0):"end"===s&&(r.push(t),i=!0);else{const e=r.findIndex((e=>ci(e)===o));-1!==e&&("before"===s?(r.splice(e,0,t),i=!0):"after"===s&&(r.splice(e+1,0,t),i=!0))}}})),i}function oi(e,t){const o=t.isUsingDefaultConfig;let s=!1;t.items=t.items.filter((t=>!!t.groups.length||(si(e,t,o),!1))),t.items.length?(ii(t.items,(t=>{t.groups=t.groups.filter((e=>!!e.items.length||(s=!0,!1)));for(const i of t.groups)i.items=i.items.filter((t=>!(li(t)&&!t.groups.length)||(si(e,t,o),s=!0,!1)))})),s&&oi(e,t)):si(e,e,o)}function si(e,t,o){o||(0,s.FF)("menu-bar-menu-empty",{menuBarConfig:e,emptyMenuConfig:t})}function ii(e,t){if(Array.isArray(e))for(const t of e)o(t);function o(e){t(e);for(const t of e.groups)for(const e of t.items)li(e)&&o(e)}}function ni(e){return"object"==typeof e&&"group"in e}function ri(e){return e.startsWith("start")?"start":e.startsWith("end")?"end":e.startsWith("after")?"after":"before"}function ai(e){const t=e.match(/^[^:]+:(.+)/);return t?t[1]:null}function ci(e){return"string"==typeof e?e:e.menuId}function li(e){return"object"==typeof e&&"menuId"in e}class di extends((0,s.VM)()){constructor(e){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[],this._extraMenuBarElements=[],this._lastFocusedForeignElement=null;const t=e.editing.view;this.editor=e,this.componentFactory=new Cs(e),this.focusTracker=new s.$x,this.tooltipManager=new Ms(e),this.poweredBy=new js(e),this.ariaLiveAnnouncer=new zs(e),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{this._bindBodyCollectionWithFocusTracker(),this.isReady=!0})),this.listenTo(t.document,"layoutChanged",this.update.bind(this)),this.listenTo(t,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const e of this._editableElementsMap.values())e.ckeditorInstance=null,this.editor.keystrokes.stopListening(e);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(e,t){this._editableElementsMap.set(e,t),t.ckeditorInstance||(t.ckeditorInstance=this.editor),this.focusTracker.add(t);const o=()=>{this.editor.editing.view.getDomRoot(e)||this.editor.keystrokes.listenTo(t)};this.isReady?o():this.once("ready",o)}removeEditableElement(e){const t=this._editableElementsMap.get(e);t&&(this._editableElementsMap.delete(e),this.editor.keystrokes.stopListening(t),this.focusTracker.remove(t),t.ckeditorInstance=null)}getEditableElement(e="main"){return this._editableElementsMap.get(e)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(e,t={}){e.isRendered?(this.focusTracker.add(e),this.editor.keystrokes.listenTo(e.element)):e.once("render",(()=>{this.focusTracker.add(e),this.editor.keystrokes.listenTo(e.element)})),this._focusableToolbarDefinitions.push({toolbarView:e,options:t})}extendMenuBar(e){this._extraMenuBarElements.push(e)}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_initMenuBar(e){const t=e.element;this.focusTracker.add(t),this.editor.keystrokes.listenTo(t);const o=Xs(this.editor.config.get("menuBar")||{});e.fillFromConfig(o,this.componentFactory,this._extraMenuBarElements),this.editor.keystrokes.set("Esc",((e,o)=>{t.contains(this.editor.ui.focusTracker.focusedElement)&&(this._lastFocusedForeignElement?(this._lastFocusedForeignElement.focus(),this._lastFocusedForeignElement=null):this.editor.editing.view.focus(),o())})),this.editor.keystrokes.set("Alt+F9",((o,s)=>{t.contains(this.editor.ui.focusTracker.focusedElement)||(this._saveLastFocusedForeignElement(),e.isFocusBorderEnabled=!0,e.focus(),s())}))}_readViewportOffsetFromConfig(){const e=this.editor,t=e.config.get("ui.viewportOffset");if(t)return t;const o=e.config.get("toolbar.viewportTopOffset");return o?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:o}):{top:0}}_initFocusTracking(){const e=this.editor;let t;e.keystrokes.set("Alt+F10",((e,o)=>{this._saveLastFocusedForeignElement();const s=this._getCurrentFocusedToolbarDefinition();s&&t||(t=this._getFocusableCandidateToolbarDefinitions());for(let e=0;e<t.length;e++){const e=t.shift();if(t.push(e),e!==s&&this._focusFocusableCandidateToolbar(e)){s&&s.options.afterBlur&&s.options.afterBlur();break}}o()})),e.keystrokes.set("Esc",((t,o)=>{const s=this._getCurrentFocusedToolbarDefinition();s&&(this._lastFocusedForeignElement?(this._lastFocusedForeignElement.focus(),this._lastFocusedForeignElement=null):e.editing.view.focus(),s.options.afterBlur&&s.options.afterBlur(),o())}))}_saveLastFocusedForeignElement(){const e=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(e)&&!Array.from(this.editor.editing.view.domRoots.values()).includes(e)&&(this._lastFocusedForeignElement=e)}_getFocusableCandidateToolbarDefinitions(){const e=[];for(const t of this._focusableToolbarDefinitions){const{toolbarView:o,options:i}=t;((0,s.zN)(o.element)||i.beforeFocus)&&e.push(t)}return e.sort(((e,t)=>hi(e)-hi(t))),e}_getCurrentFocusedToolbarDefinition(){for(const e of this._focusableToolbarDefinitions)if(e.toolbarView.element&&e.toolbarView.element.contains(this.focusTracker.focusedElement))return e;return null}_focusFocusableCandidateToolbar(e){const{toolbarView:t,options:{beforeFocus:o}}=e;return o&&o(),!!(0,s.zN)(t.element)&&(t.focus(),!0)}_handleScrollToTheSelection(e,t){const o={top:0,bottom:0,left:0,right:0,...this.viewportOffset};t.viewportOffset.top+=o.top,t.viewportOffset.bottom+=o.bottom,t.viewportOffset.left+=o.left,t.viewportOffset.right+=o.right}_bindBodyCollectionWithFocusTracker(){const e=this.view.body;for(const t of e)this.focusTracker.add(t.element);e.on("add",((e,t)=>{this.focusTracker.add(t.element)})),e.on("remove",((e,t)=>{this.focusTracker.remove(t.element)}))}}function hi(e){const{toolbarView:t,options:o}=e;let i=10;return(0,s.zN)(t.element)&&i--,o.isContextual&&i--,i}var ui=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/editorui/editorui.css"),mi={attributes:{"data-cke":!0}};mi.setAttributes=I(),mi.insert=R().bind(null,"head"),mi.domAPI=O(),mi.insertStyleElement=N();S()(ui.A,mi);ui.A&&ui.A.locals&&ui.A.locals;class pi extends L{constructor(e){super(e),this.body=new Ie(e)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class fi extends pi{constructor(e){super(e),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:e.uiLanguageDirection,lang:e.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const e=this.t,t=new Te;return t.text=e("Rich Text Editor"),t.extendTemplate({attributes:{class:"ck-voice-label"}}),t}}class gi extends L{constructor(e,t,o){super(e),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:e.contentLanguage,dir:e.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=o,this._hasExternalElement=!!this._editableElement,this._editingView=t}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",(()=>this._updateIsFocusedClasses())),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const e=this._editingView;function t(t){e.change((o=>{const s=e.document.getRoot(t.name);o.addClass(t.isFocused?"ck-focused":"ck-blurred",s),o.removeClass(t.isFocused?"ck-blurred":"ck-focused",s)}))}e.isRenderingInProgress?function o(s){e.once("change:isRenderingInProgress",((e,i,n)=>{n?o(s):t(s)}))}(this):t(this)}}class _i extends gi{constructor(e,t,o,s={}){super(e,t,o),this._options=s,this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}})}render(){super.render();const e=this._editingView;e.change((t=>{const o=e.document.getRoot(this.name);t.setAttribute("aria-label",this.getEditableAriaLabel(),o)}))}getEditableAriaLabel(){const e=this.locale.t,t=this._options.label,o=this._editableElement,s=this.name;if("string"==typeof t)return t;if("object"==typeof t)return t[s];if("function"==typeof t)return t(this);if(o){const e=o.getAttribute("aria-label");if(e)return e}return e("Rich Text Editor. Editing area: %0",s)}}class bi extends L{constructor(e){super(e);const t=this.bindTemplate;this.setTemplate({tag:"iframe",attributes:{class:["ck","ck-reset_all"],sandbox:"allow-same-origin allow-scripts"},on:{load:t.to("loaded")}})}render(){return new Promise((e=>(this.on("loaded",e),super.render())))}}function ki(e,t){let o=0,s=0;for(const i of t){const t=i,n=t.items,r=e&&!!t.label.match(e);t.labelView.highlightText(r?e:null);for(const t of n){const o=t.children.first,s=o.labelView;if(e){const i=!!o.label.match(e);s.highlightText(i?e:null),t.isVisible=r||i}else t.isVisible=!0,s.highlightText(null)}const a=n.filter((e=>e.isVisible)).length;o+=t.items.length,s+=r?t.items.length:a,t.isVisible=r||!!a}return{resultsCount:s,totalItemsCount:o}}class wi extends U.HY{static get pluginName(){return"Notification"}static get isOfficialPlugin(){return!0}init(){this.on("show:warning",((e,t)=>{window.alert(t.message)}),{priority:"lowest"})}showSuccess(e,t={}){this._showNotification({message:e,type:"success",namespace:t.namespace,title:t.title})}showInfo(e,t={}){this._showNotification({message:e,type:"info",namespace:t.namespace,title:t.title})}showWarning(e,t={}){this._showNotification({message:e,type:"warning",namespace:t.namespace,title:t.title})}_showNotification(e){const t=e.namespace?`show:${e.type}:${e.namespace}`:`show:${e.type}`;this.fire(t,{message:e.message,type:e.type,title:e.title||""})}}var vi=o("./node_modules/lodash-es/assignIn.js");class yi extends((0,s.VM)()){constructor(e,t){super(),t&&(0,vi.A)(this,t),e&&this.set(e)}}var Ai=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/balloonrotator.css"),xi={attributes:{"data-cke":!0}};xi.setAttributes=I(),xi.insert=R().bind(null,"head"),xi.domAPI=O(),xi.insertStyleElement=N();S()(Ai.A,xi);Ai.A&&Ai.A.locals&&Ai.A.locals;var Ci=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/fakepanel.css"),Ei={attributes:{"data-cke":!0}};Ei.setAttributes=I(),Ei.insert=R().bind(null,"head"),Ei.domAPI=O(),Ei.insertStyleElement=N();S()(Ci.A,Ei);Ci.A&&Ci.A.locals&&Ci.A.locals;const Pi=(0,s.To)("px");class Ti extends U.k_{constructor(e){super(e),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const e=this.editor.editing.view,t=e.document.selection.editableElement;return t?e.domConverter.mapViewToDom(t.root):null},this.decorate("getPositionOptions"),this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}static get isOfficialPlugin(){return!0}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(e){return Array.from(this._viewToStack.keys()).includes(e)}add(e){if(this._view||this._createPanelView(),this.hasView(e.view))throw new s.Yb("contextualballoon-add-view-exist",[this,e]);const t=e.stackId||"main";if(!this._idToStack.has(t))return this._idToStack.set(t,new Map([[e.view,e]])),this._viewToStack.set(e.view,this._idToStack.get(t)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!e.singleViewMode||this.showStack(t));const o=this._idToStack.get(t);e.singleViewMode&&this.showStack(t),o.set(e.view,e),this._viewToStack.set(e.view,o),o===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new s.Yb("contextualballoon-remove-view-not-exist",[this,e]);const t=this._viewToStack.get(e);this._singleViewMode&&this.visibleView===e&&(this._singleViewMode=!1),this.visibleView===e&&(1===t.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(t.values())[t.size-2])),1===t.size?(this._idToStack.delete(this._getStackId(t)),this._numberOfStacks=this._idToStack.size):t.delete(e),this._viewToStack.delete(e)}updatePosition(e){e&&(this._visibleStack.get(this.visibleView).position=e),this.view.pin(this.getPositionOptions()),this._fakePanelsView.updatePosition()}getPositionOptions(){let e=Array.from(this._visibleStack.values()).pop().position;return e&&(e.limiter||(e=Object.assign({},e,{limiter:this.positionLimiter})),e=Object.assign({},e,{viewportOffsetConfig:this.editor.ui.viewportOffset})),e}showStack(e){this.visibleStack=e;const t=this._idToStack.get(e);if(!t)throw new s.Yb("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==t&&this._showView(Array.from(t.values()).pop())}_createPanelView(){this._view=new Gt(this.editor.locale),this.editor.ui.view.body.add(this._view),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(e){return Array.from(this._idToStack.entries()).find((t=>t[1]===e))[0]}_showNextStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)+1;e[t]||(t=0),this.showStack(this._getStackId(e[t]))}_showPrevStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)-1;e[t]||(t=e.length-1),this.showStack(this._getStackId(e[t]))}_createRotatorView(){const e=new Si(this.editor.locale),t=this.editor.locale.t;return this.view.content.add(e),e.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",((e,t)=>!t&&e>1)),e.on("change:isNavigationVisible",(()=>this.updatePosition()),{priority:"low"}),e.bind("counter").to(this,"visibleView",this,"_numberOfStacks",((e,o)=>{if(o<2)return"";const s=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return t("%0 of %1",[s,o])})),e.buttonNextView.on("execute",(()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()})),e.buttonPrevView.on("execute",(()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()})),e}_createFakePanelsView(){const e=new Mi(this.editor.locale,this.view);return e.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",((e,t)=>!t&&e>=2?Math.min(e-1,2):0)),e.listenTo(this.view,"change:top",(()=>e.updatePosition())),e.listenTo(this.view,"change:left",(()=>e.updatePosition())),this.editor.ui.view.body.add(e),e}_showView({view:e,balloonClassName:t="",withArrow:o=!0,singleViewMode:s=!1}){this.view.class=t,this.view.withArrow=o,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this.getPositionOptions()),this._fakePanelsView.updatePosition(),s&&(this._singleViewMode=!0)}}class Si extends L{constructor(e){super(e);const t=e.t,o=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new s.$x,this.buttonPrevView=this._createButtonView(t("Previous"),U.Pt.previousArrow),this.buttonNextView=this._createButtonView(t("Next"),U.Pt.nextArrow),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",o.to("isNavigationVisible",(e=>e?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:o.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(e){this.hideView(),this.content.add(e)}hideView(){this.content.clear()}_createButtonView(e,t){const o=new Q(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o}}class Mi extends L{constructor(e,t){super(e);const o=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=t,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",o.to("numberOfPanels",(e=>e?"":"ck-hidden"))],style:{top:o.to("top",Pi),left:o.to("left",Pi),width:o.to("width",Pi),height:o.to("height",Pi)}},children:this.content}),this.on("change:numberOfPanels",((e,t,o,s)=>{o>s?this._addPanels(o-s):this._removePanels(s-o),this.updatePosition()}))}_addPanels(e){for(;e--;){const e=new L;e.setTemplate({tag:"div"}),this.content.add(e),this.registerChild(e)}}_removePanels(e){for(;e--;){const e=this.content.last;this.content.remove(e),this.deregisterChild(e),e.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:e,left:t}=this._balloonPanelView,{width:o,height:i}=new s.rw(this._balloonPanelView.element);Object.assign(this,{top:e,left:t,width:o,height:i})}}}var Oi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/panel/stickypanel.css"),Vi={attributes:{"data-cke":!0}};Vi.setAttributes=I(),Vi.insert=R().bind(null,"head"),Vi.domAPI=O(),Vi.insertStyleElement=N();S()(Oi.A,Vi);Oi.A&&Oi.A.locals&&Oi.A.locals;const Ri=(0,s.To)("px");class ji extends L{constructor(e){super(e);const t=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new a({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:t.to("isSticky",(e=>e?"block":"none")),height:t.to("isSticky",(e=>e?Ri(this._contentPanelRect.height):null))}}}).render(),this.contentPanelElement=new a({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",t.if("isSticky","ck-sticky-panel__content_sticky"),t.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:t.to("isSticky",(e=>e?Ri(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:t.to("_stickyTopOffset",(e=>e?Ri(e):e)),bottom:t.to("_stickyBottomOffset",(e=>e?Ri(e):e)),marginLeft:t.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this.contentPanelElement]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(s.Sf.document,"scroll",(()=>{this.checkIfShouldBeSticky()}),{useCapture:!0}),this.listenTo(this,"change:isActive",(()=>{this.checkIfShouldBeSticky()}))}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const e=new s.rw(this.limiterElement);let t=e.getVisible();if(t){const e=new s.rw(s.Sf.window);e.top+=this.viewportTopOffset,e.height-=this.viewportTopOffset,t=t.getIntersection(e)}if(t&&e.top<t.top){const o=t.top;if(o+this._contentPanelRect.height+this.limiterBottomOffset>t.bottom){const o=Math.max(e.bottom-t.bottom,0)+this.limiterBottomOffset;e.bottom-o>e.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(o):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset<e.height?this._stickToTopOfAncestors(o):this._unstick()}else this._unstick()}_stickToTopOfAncestors(e){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=e,this._stickyBottomOffset=null,this._marginLeft=Ri(-s.Sf.window.scrollX)}_stickToBottomOfLimiter(e){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!0,this._stickyTopOffset=null,this._stickyBottomOffset=e,this._marginLeft=Ri(-s.Sf.window.scrollX)}_unstick(){this.isSticky=!1,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=null,this._stickyBottomOffset=null,this._marginLeft=null}get _contentPanelRect(){return new s.rw(this.contentPanelElement)}}class Ii extends lt{constructor(e,t){const o=e.t,s=Object.assign({},{showResetButton:!0,showIcon:!0,creator:Vo},t);super(e,s.creator),this.label=t.label,this._viewConfig=s,this._viewConfig.showIcon&&(this.iconView=new G,this.iconView.content=U.Pt.loupe,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})),this._viewConfig.showResetButton&&(this.resetButtonView=new Q(e),this.resetButtonView.set({label:o("Clear"),icon:U.Pt.cancel,class:"ck-search__reset",isVisible:!1,tooltip:!0}),this.resetButtonView.on("execute",(()=>{this.reset(),this.focus(),this.fire("reset")})),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",(e=>!e)),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class Bi extends L{constructor(){super();const e=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",e.if("isVisible","ck-hidden",(e=>!e))],tabindex:-1},children:[{tag:"span",children:[{text:[e.to("primaryText")]}]},{tag:"span",children:[{text:[e.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class Ni extends L{constructor(e){super(e),this.children=this.createCollection(),this.focusTracker=new s.$x,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new ie({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const e of this.children)this.focusTracker.add(e.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Di=o("./node_modules/lodash-es/escapeRegExp.js"),Fi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/search/search.css"),Li={attributes:{"data-cke":!0}};Li.setAttributes=I(),Li.insert=R().bind(null,"head"),Li.domAPI=O(),Li.insertStyleElement=N();S()(Fi.A,Li);Fi.A&&Fi.A.locals&&Fi.A.locals;class zi extends L{constructor(e,t){super(e),this._config=t,this.filteredView=t.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new s.$x,this.keystrokes=new s.EP,this.resultsView=new Ni(e),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),t.infoView&&t.infoView.instance?this.infoView=t.infoView.instance:(this.infoView=new Bi,this._enableDefaultInfoViewBehavior(),this.on("render",(()=>{this.search("")}))),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new ie({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",((e,{resultsCount:t,totalItemsCount:o})=>{this.resultsCount=t,this.totalItemsCount=o})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",t.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const e=e=>e.stopPropagation();for(const e of this.focusableChildren)this.focusTracker.add(e.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search(""),this.filteredView.element.scrollTo(0,0)}search(e){const t=e?new RegExp((0,Di.A)(e),"ig"):null,o=this.filteredView.filter(t);this.fire("search",{query:e,...o})}_createSearchTextQueryView(){const e=new Ii(this.locale,this._config.queryView);return this.listenTo(e.fieldView,"input",(()=>{this.search(e.fieldView.element.value)})),e.on("reset",(()=>this.reset())),e.bind("isEnabled").to(this),e}_enableDefaultInfoViewBehavior(){const e=this.locale.t,t=this.infoView;function o(e,{query:t,resultsCount:o,totalItemsCount:s}){return"function"==typeof e?e(t,o,s):e}this.on("search",((s,i)=>{if(i.resultsCount)t.set({isVisible:!1});else{const s=this._config.infoView&&this._config.infoView.text;let n,r;i.totalItemsCount?s&&s.notFound?(n=s.notFound.primary,r=s.notFound.secondary):(n=e("No results found"),r=""):s&&s.noSearchableItems?(n=s.noSearchableItems.primary,r=s.noSearchableItems.secondary):(n=e("No searchable items"),r=""),t.set({primaryText:o(n,i),secondaryText:o(r,i),isVisible:!0})}}))}}var Hi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/autocomplete/autocomplete.css"),$i={attributes:{"data-cke":!0}};$i.setAttributes=I(),$i.insert=R().bind(null,"head"),$i.domAPI=O(),$i.insertStyleElement=N();S()(Hi.A,$i);Hi.A&&Hi.A.locals&&Hi.A.locals;class Wi extends zi{constructor(e,t){super(e,t),this._config=t;const o=(0,s.To)("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const i=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[i.if("isVisible","ck-hidden",(e=>!e)),i.to("_position",(e=>`ck-search__results_${e}`))],style:{width:i.to("_width",o)}}}),this.focusTracker.on("change:isFocused",((e,o,s)=>{this._updateResultsVisibility(),s?this.resultsView.element.scrollTop=0:t.resetOnBlur&&this.queryView.reset()})),this.on("search",(()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()})),this.keystrokes.set("esc",((e,t)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,t())})),this.listenTo(s.Sf.document,"scroll",(()=>{this._updateResultsViewWidthAndPosition()})),this.on("change:isEnabled",(()=>{this._updateResultsVisibility()})),this.filteredView.on("execute",((e,{value:t})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=t,this.resultsView.isVisible=!1})),this.resultsView.on("change:isVisible",(()=>{this._updateResultsViewWidthAndPosition()}))}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new s.rw(this.queryView.fieldView.element).width;const e=Wi._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:Wi.defaultResultsPositions});this.resultsView._position=e?e.name:"s"}_updateResultsVisibility(){const e=void 0===this._config.queryMinChars?0:this._config.queryMinChars,t=this.queryView.fieldView.element.value.length;this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&t>=e}static{this.defaultResultsPositions=[e=>({top:e.bottom,left:e.left,name:"s"}),(e,t)=>({top:e.top-t.height,left:e.left,name:"n"})]}static{this._getOptimalPosition=s.W}}const qi=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&","<":"<",">":">",'"':""","'":"'"});var Ui=o("./node_modules/lodash-es/toString.js"),Ki=/[&<>"']/g,Yi=RegExp(Ki.source);const Gi=function(e){return(e=(0,Ui.A)(e))&&Yi.test(e)?e.replace(Ki,qi):e};var Zi=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"),Ji={attributes:{"data-cke":!0}};Ji.setAttributes=I(),Ji.insert=R().bind(null,"head"),Ji.domAPI=O(),Ji.insertStyleElement=N();S()(Zi.A,Ji);Zi.A&&Zi.A.locals&&Zi.A.locals;class Xi extends L{constructor(){super(),this.set("text",void 0),this.setTemplate({tag:"span",attributes:{class:["ck","ck-highlighted-text"]}}),this.on("render",(()=>{this.on("change:text",(()=>{this._updateInnerHTML(this.text)})),this._updateInnerHTML(this.text)}))}highlightText(e){this._updateInnerHTML(function(e,t){if(!t)return Gi(e);const o=[];let s=0,i=t.exec(e);for(;null!==i;){const n=i.index;n!==s&&o.push({text:e.substring(s,n),isMatch:!1}),o.push({text:i[0],isMatch:!0}),s=t.lastIndex,i=t.exec(e)}s!==e.length&&o.push({text:e.substring(s),isMatch:!1});return o.map((e=>(e.text=Gi(e.text),e))).map((e=>e.isMatch?`<mark>${e.text}</mark>`:e.text)).join("")}(this.text||"",e))}_updateInnerHTML(e){this.element.innerHTML=e||""}}class Qi extends Xi{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const e=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-button__label"],style:e.to("style"),id:e.to("id")}})}}class en extends Xi{constructor(){super(),this.set("for",void 0);const e=this.bindTemplate;this.id=`ck-editor__label_${(0,s.Ld)()}`,this.extendTemplate({attributes:{class:["ck","ck-label"],id:this.id,for:e.to("for")}})}}var tn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/spinner/spinner.css"),on={attributes:{"data-cke":!0}};on.setAttributes=I(),on.insert=R().bind(null,"head"),on.domAPI=O(),on.insertStyleElement=N();S()(tn.A,on);tn.A&&tn.A.locals&&tn.A.locals;class sn extends L{constructor(){super(),this.set("isVisible",!1);const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-spinner-container",e.if("isVisible","ck-hidden",(e=>!e))]},children:[{tag:"span",attributes:{class:["ck","ck-spinner"]}}]})}}var nn=o("./packages/ckeditor5-engine/src/index.ts");const rn=(0,s.To)("px");class an extends U.k_{constructor(e){super(e),this._resizeObserver=null,this._balloonConfig=ro(e.config.get("balloonToolbar")),this.toolbarView=this._createToolbarView(),this.focusTracker=new s.$x,this._trackFocusableEditableElements(),this.focusTracker.add(this.toolbarView),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this.show(!0),afterBlur:()=>this.hide(),isContextual:!0}),this._balloon=e.plugins.get(Ti),this._fireSelectionChangeDebounced=(0,rt.A)((()=>this.fire("_selectionChangeDebounced")),200),this.decorate("show")}static get pluginName(){return"BalloonToolbar"}static get isOfficialPlugin(){return!0}static get requires(){return[Ti]}init(){const e=this.editor,t=e.model.document.selection;this.listenTo(this.focusTracker,"change:isFocused",((e,t,o)=>{const s=this._balloon.visibleView===this.toolbarView;!o&&s?this.hide():o&&this.show()})),this.listenTo(t,"change:range",((e,o)=>{(o.directChange||t.isCollapsed)&&this.hide(),this._fireSelectionChangeDebounced()})),this.listenTo(this,"_selectionChangeDebounced",(()=>{this.editor.editing.view.document.isFocused&&this.show()})),this._balloonConfig.shouldNotGroupWhenFull||this.listenTo(e,"ready",(()=>{const t=e.ui.view.editable.element;this._resizeObserver=new s.tb(t,(e=>{this.toolbarView.maxWidth=rn(.9*e.contentRect.width)}))})),this.listenTo(this.toolbarView,"groupedItemsUpdate",(()=>{this._updatePosition()})),e.ui.once("ready",(()=>{this.toolbarView.fillFromConfig(this._balloonConfig,this.editor.ui.componentFactory)}))}_createToolbarView(){const e=this.editor.locale.t,t=!this._balloonConfig.shouldNotGroupWhenFull,o=new ho(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return o.ariaLabel=e("Editor contextual toolbar"),o.render(),o}show(e=!1){const t=this.editor,o=t.model.document.selection,s=t.model.schema;this._balloon.hasView(this.toolbarView)||o.isCollapsed&&!e||function(e,t){if(1===e.rangeCount)return!1;return[...e.getRanges()].every((e=>{const o=e.getContainedElement();return o&&t.isSelectable(o)}))}(o,s)||Array.from(this.toolbarView.items).every((e=>void 0!==e.isEnabled&&!e.isEnabled))||(this.listenTo(this.editor.ui,"update",(()=>{this._updatePosition()})),this._balloon.add({view:this.toolbarView,position:this._getBalloonPositionData(),balloonClassName:"ck-toolbar-container"}))}hide(){this._balloon.hasView(this.toolbarView)&&(this.stopListening(this.editor.ui,"update"),this._balloon.remove(this.toolbarView))}_trackFocusableEditableElements(){const{editor:e,focusTracker:t}=this,{editing:o}=e;o.view.addObserver(class extends nn.nu{observe(e){t.add(e)}stopObserving(e){t.remove(e)}})}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document,o=t.selection,i=t.selection.isBackward;return{target:()=>{const t=i?o.getFirstRange():o.getLastRange(),n=s.rw.getDomRangeRects(e.domConverter.viewRangeToDom(t));return i?n[0]:(n.length>1&&0===n[n.length-1].width&&n.pop(),n[n.length-1])},positions:this._getBalloonPositions(i)}}_updatePosition(){this._balloon.updatePosition(this._getBalloonPositionData())}destroy(){super.destroy(),this.stopListening(),this._fireSelectionChangeDebounced.cancel(),this.toolbarView.destroy(),this.focusTracker.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_getBalloonPositions(e){const t=s._K.isSafari&&s._K.isiOS?Gt.generatePositions({heightOffset:Math.max(Gt.arrowHeightOffset,Math.round(20/s.Sf.window.visualViewport.scale))}):Gt.defaultPositions;return e?[t.northWestArrowSouth,t.northWestArrowSouthWest,t.northWestArrowSouthEast,t.northWestArrowSouthMiddleEast,t.northWestArrowSouthMiddleWest,t.southWestArrowNorth,t.southWestArrowNorthWest,t.southWestArrowNorthEast,t.southWestArrowNorthMiddleWest,t.southWestArrowNorthMiddleEast]:[t.southEastArrowNorth,t.southEastArrowNorthEast,t.southEastArrowNorthWest,t.southEastArrowNorthMiddleEast,t.southEastArrowNorthMiddleWest,t.northEastArrowSouth,t.northEastArrowSouthEast,t.northEastArrowSouthWest,t.northEastArrowSouthMiddleEast,t.northEastArrowSouthMiddleWest]}}var cn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/toolbar/blocktoolbar.css"),ln={attributes:{"data-cke":!0}};ln.setAttributes=I(),ln.insert=R().bind(null,"head"),ln.domAPI=O(),ln.insertStyleElement=N();S()(cn.A,ln);cn.A&&cn.A.locals&&cn.A.locals;const dn=(0,s.To)("px");class hn extends Q{constructor(e){super(e);const t=this.bindTemplate;this.isVisible=!1,this.isToggleable=!0,this.set("top",0),this.set("left",0),this.extendTemplate({attributes:{class:"ck-block-toolbar-button",style:{top:t.to("top",(e=>dn(e))),left:t.to("left",(e=>dn(e)))}}})}}const un=(0,s.To)("px");class mn extends U.k_{constructor(e){super(e),this._resizeObserver=null,this._blockToolbarConfig=ro(this.editor.config.get("blockToolbar")),this.toolbarView=this._createToolbarView(),this.panelView=this._createPanelView(),this.buttonView=this._createButtonView(),z({emitter:this.panelView,contextElements:[this.panelView.element,this.buttonView.element],activator:()=>this.panelView.isVisible,callback:()=>this._hidePanel()})}static get pluginName(){return"BlockToolbar"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,o=t("Click to edit block"),s=t("Drag to move"),i=t("Edit block"),n=e.plugins.has("DragDropBlockToolbar"),r=n?`${o}\n${s}`:i;this.buttonView.label=r,n&&(this.buttonView.element.dataset.ckeTooltipClass="ck-tooltip_multi-line"),this.listenTo(e.model.document.selection,"change:range",((e,t)=>{t.directChange&&this._hidePanel()})),this.listenTo(e.ui,"update",(()=>this._updateButton())),this.listenTo(e,"change:isReadOnly",(()=>this._updateButton()),{priority:"low"}),this.listenTo(e.ui.focusTracker,"change:isFocused",(()=>this._updateButton())),this.listenTo(this.buttonView,"change:isVisible",((e,t,o)=>{o?this.buttonView.listenTo(window,"resize",(()=>this._updateButton())):(this.buttonView.stopListening(window,"resize"),this._hidePanel())})),this._repositionButtonOnScroll(),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this._showPanel(),afterBlur:()=>this._hidePanel()}),e.ui.once("ready",(()=>{this.toolbarView.fillFromConfig(this._blockToolbarConfig,this.editor.ui.componentFactory);for(const e of this.toolbarView.items)e.on("execute",(()=>this._hidePanel(!0)),{priority:"high"})}))}destroy(){super.destroy(),this.panelView.destroy(),this.buttonView.destroy(),this.toolbarView.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_createToolbarView(){const e=this.editor.locale.t,t=!this._blockToolbarConfig.shouldNotGroupWhenFull,o=new ho(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return o.ariaLabel=e("Editor block content toolbar"),o}_createPanelView(){const e=this.editor,t=new Gt(e.locale);return t.content.add(this.toolbarView),t.class="ck-toolbar-container",e.ui.view.body.add(t),this.toolbarView.keystrokes.set("Esc",((e,t)=>{this._hidePanel(!0),t()})),t}_createButtonView(){const e=this.editor,t=e.t,o=new hn(e.locale),s=this._blockToolbarConfig.icon,i=lo[s]||s||lo.dragIndicator;return o.set({label:t("Edit block"),icon:i,withText:!1}),o.bind("isOn").to(this.panelView,"isVisible"),o.bind("tooltip").to(this.panelView,"isVisible",(e=>!e)),this.listenTo(o,"execute",(()=>{this.panelView.isVisible?this._hidePanel(!0):this._showPanel()})),this.listenTo(o,"change:isEnabled",((e,t,o)=>{!o&&this.panelView.isVisible&&this._hidePanel(!1)})),e.ui.view.body.add(o),o}_updateButton(){const e=this.editor,t=e.model,o=e.editing.view;if(!e.ui.focusTracker.isFocused)return void this._hideButton();if(!e.model.canEditAt(e.model.document.selection))return void this._hideButton();const s=Array.from(t.document.selection.getSelectedBlocks())[0];if(!s||Array.from(this.toolbarView.items).every((e=>!e.isEnabled)))return void this._hideButton();const i=o.domConverter.mapViewToDom(e.editing.mapper.toViewElement(s));this.buttonView.isVisible=!0,this._setupToolbarResize(),this._attachButtonToElement(i),this.panelView.isVisible&&this._showPanel()}_hideButton(){this.buttonView.isVisible=!1}_showPanel(){if(!this.buttonView.isVisible)return;const e=this.panelView.isVisible;this.panelView.show();const t=this._getSelectedEditableElement();this.toolbarView.maxWidth=this._getToolbarMaxWidth(t),this.panelView.pin({target:this.buttonView.element,limiter:t}),e||this.toolbarView.items.get(0).focus()}_getSelectedEditableElement(){const e=this.editor.model.document.selection.getFirstRange().root.rootName;return this.editor.ui.getEditableElement(e)}_hidePanel(e){this.panelView.isVisible=!1,e&&this.editor.editing.view.focus()}_repositionButtonOnScroll(){const{buttonView:e}=this;let t=!1;const o=(e,o)=>{if(t)return;const i=this._getSelectedEditableElement();(o.target===s.Sf.document||(0,s.DS)(i).includes(o.target))&&(t=!0,s.Sf.window.requestAnimationFrame((()=>{this._updateButton(),t=!1})))};e.on("change:isVisible",((t,i,n)=>{n?e.listenTo(s.Sf.document,"scroll",o,{useCapture:!0,usePassive:!0}):e.stopListening(s.Sf.document,"scroll",o)}))}_attachButtonToElement(e){const t=this.buttonView.element,o=this._getSelectedEditableElement(),i=window.getComputedStyle(e),n=new s.rw(o),r=parseInt(i.paddingTop,10),a=parseInt(i.lineHeight,10)||1.2*parseInt(i.fontSize,10),c=new s.rw(t),l=new s.rw(e);let d;d="ltr"===this.editor.locale.uiLanguageDirection?n.left-c.width:n.right;const h=l.top+r+(a-c.height)/2;c.moveTo(d,h);const u=c.toAbsoluteRect();this.buttonView.top=u.top,this.buttonView.left=u.left,this._clipButtonToViewport(this.buttonView,o)}_clipButtonToViewport(e,t){const o=new s.rw(e.element),i=new s.rw(t).getVisible(),n=(...t)=>{e.element.style.clipPath=t.length?`polygon(${t.join(",")})`:""},r=t=>{e.isEnabled=!t,e.element.style.pointerEvents=t?"none":""};if(i&&i.bottom<o.bottom){const e=Math.min(o.height,o.bottom-i.bottom);r(e>=o.height),n("0 0","100% 0",`100% calc(100% - ${un(e)})`,`0 calc(100% - ${un(e)}`)}else if(i&&i.top>o.top){const e=Math.min(o.height,i.top-o.top);r(e>=o.height),n(`0 ${un(e)}`,`100% ${un(e)}`,"100% 100%","0 100%")}else r(!1),n()}_setupToolbarResize(){const e=this._getSelectedEditableElement();this._blockToolbarConfig.shouldNotGroupWhenFull||(this._resizeObserver&&this._resizeObserver.element!==e&&(this._resizeObserver.destroy(),this._resizeObserver=null),this._resizeObserver||(this._resizeObserver=new s.tb(e,(()=>{this.toolbarView.maxWidth=this._getToolbarMaxWidth(e)}))))}_getToolbarMaxWidth(e){const t=new s.rw(e),o=new s.rw(this.buttonView.element),i="rtl"===this.editor.locale.uiLanguageDirection?o.left-t.right+o.width:t.left-o.left;return un(t.width+i)}}var pn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenubutton.css"),fn={attributes:{"data-cke":!0}};fn.setAttributes=I(),fn.insert=R().bind(null,"head"),fn.domAPI=O(),fn.insertStyleElement=N();S()(pn.A,fn);pn.A&&pn.A.locals&&pn.A.locals;class gn extends ve{constructor(e){super(e);const t=this.bindTemplate;this.set({withText:!0,role:"menuitem"}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__button"],"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(e=>String(e))),"data-cke-tooltip-disabled":t.to("isOn")},on:{mouseenter:t.to("mouseenter")}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new G;return e.content=$e,e.extendTemplate({attributes:{class:"ck-menu-bar__menu__button__arrow"}}),e}}var _n=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenupanel.css"),bn={attributes:{"data-cke":!0}};bn.setAttributes=I(),bn.insert=R().bind(null,"head"),bn.domAPI=O(),bn.insertStyleElement=N();S()(_n.A,bn);_n.A&&_n.A.locals&&_n.A.locals;class kn extends L{constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-menu-bar__menu__panel",t.to("position",(e=>`ck-menu-bar__menu__panel_position_${e}`)),t.if("isVisible","ck-hidden",(e=>!e))],tabindex:"-1"},children:this.children,on:{selectstart:t.to((e=>{"input"!==e.target.tagName.toLocaleLowerCase()&&e.preventDefault()}))}})}focus(e=1){this.children.length&&(1===e?this.children.first.focus():this.children.last.focus())}}var wn=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubarmenu.css"),vn={attributes:{"data-cke":!0}};vn.setAttributes=I(),vn.insert=R().bind(null,"head"),vn.domAPI=O(),vn.insertStyleElement=N();S()(wn.A,vn);wn.A&&wn.A.locals&&wn.A.locals;class yn extends L{constructor(e){super(e);const t=this.bindTemplate;this.buttonView=new gn(e),this.buttonView.delegate("mouseenter").to(this),this.buttonView.bind("isOn","isEnabled").to(this,"isOpen","isEnabled"),this.panelView=new kn(e),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new s.EP,this.focusTracker=new s.$x,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("panelPosition","w"),this.set("class",void 0),this.set("parentMenuView",null),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar__menu",t.to("class"),t.if("isEnabled","ck-disabled",(e=>!e)),t.if("parentMenuView","ck-menu-bar__menu_top-level",(e=>!e))]},children:[this.buttonView,this.panelView]})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.keystrokes.listenTo(this.element),Gs.closeOnEscKey(this),this._repositionPanelOnOpen()}_attachBehaviors(){this.parentMenuView?(Gs.openOnButtonClick(this),Gs.openOnArrowRightKey(this),Gs.closeOnArrowLeftKey(this),Gs.openAndFocusOnEnterKeyPress(this),Gs.closeOnParentClose(this)):(this._propagateArrowKeystrokeEvents(),Gs.openAndFocusPanelOnArrowDownKey(this),Gs.toggleOnButtonClick(this))}_propagateArrowKeystrokeEvents(){this.keystrokes.set("arrowright",((e,t)=>{this.fire("arrowright"),t()})),this.keystrokes.set("arrowleft",((e,t)=>{this.fire("arrowleft"),t()}))}_repositionPanelOnOpen(){this.on("change:isOpen",((e,t,o)=>{if(!o)return;const s=yn._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=s?s.name:this._panelPositions[0].name}))}focus(){this.buttonView.focus()}get _panelPositions(){const{southEast:e,southWest:t,northEast:o,northWest:s,westSouth:i,eastSouth:n,westNorth:r,eastNorth:a}=Zs;return"ltr"===this.locale.uiLanguageDirection?this.parentMenuView?[n,a,i,r]:[e,t,o,s]:this.parentMenuView?[i,r,n,a]:[t,e,s,o]}static{this._getOptimalPosition=s.W}}class An extends Bt{constructor(e){super(e),this.role="menu",this.items.on("change",this._setItemsCheckSpace.bind(this))}_setItemsCheckSpace(){const e=Array.from(this.items).some((e=>{const t=xn(e);return t&&t.isToggleable}));this.items.forEach((t=>{const o=xn(t);o&&(o.hasCheckSpace=e)}))}}function xn(e){return e instanceof Ot?e.children.map((e=>function(e){return"object"==typeof e&&"buttonView"in e&&e.buttonView instanceof Q}(e)?e.buttonView:e)).find((e=>e instanceof ve)):null}class Cn extends Le{constructor(e){super(e),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}var En=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-ui/theme/components/menubar/menubar.css"),Pn={attributes:{"data-cke":!0}};Pn.setAttributes=I(),Pn.insert=R().bind(null,"head"),Pn.domAPI=O(),Pn.insertStyleElement=N();S()(En.A,Pn);En.A&&En.A.locals&&En.A.locals;const Tn=["mouseenter","arrowleft","arrowright","change:isOpen"];class Sn extends L{constructor(e){super(e),this.menus=[];const t=e.t,o=this.bindTemplate;this.set({isOpen:!1,isFocusBorderEnabled:!1}),this._setupIsOpenUpdater(),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar",o.if("isFocusBorderEnabled","ck-menu-bar_focus-border-enabled")],"aria-label":t("Editor menu bar"),role:"menubar"},children:this.children})}fillFromConfig(e,t,o=[]){const s=Qs({normalizedConfig:e,locale:this.locale,componentFactory:t,extraItems:o}).items.map((e=>this._createMenu({componentFactory:t,menuDefinition:e})));this.children.addMany(s)}render(){super.render(),Ys.toggleMenusAndFocusItemsOnHover(this),Ys.closeMenusWhenTheBarCloses(this),Ys.closeMenuWhenAnotherOnTheSameLevelOpens(this),Ys.focusCycleMenusOnArrows(this),Ys.closeOnClickOutside(this),Ys.enableFocusHighlightOnInteraction(this)}focus(){this.children.first&&this.children.first.focus()}close(){for(const e of this.children)e.isOpen=!1}registerMenu(e,t=null){t?(e.delegate(...Tn).to(t),e.parentMenuView=t):e.delegate(...Tn).to(this,(e=>"menu:"+e)),e._attachBehaviors(),this.menus.push(e)}_createMenu({componentFactory:e,menuDefinition:t,parentMenuView:o}){const s=this.locale,i=new yn(s);return this.registerMenu(i,o),i.buttonView.set({label:t.label}),i.once("change:isOpen",(()=>{const o=new An(s);o.ariaLabel=t.label,i.panelView.children.add(o),o.items.addMany(this._createMenuItems({menuDefinition:t,parentMenuView:i,componentFactory:e}))})),i}_createMenuItems({menuDefinition:e,parentMenuView:t,componentFactory:o}){const s=this.locale,i=[];for(const n of e.groups){for(const e of n.items){const n=new Us(s,t);if((0,r.A)(e))n.children.add(this._createMenu({componentFactory:o,menuDefinition:e,parentMenuView:t}));else{const s=this._createMenuItemContentFromFactory({componentName:e,componentFactory:o,parentMenuView:t});if(!s)continue;n.children.add(s)}i.push(n)}n!==e.groups[e.groups.length-1]&&i.push(new Vt(s))}return i}_createMenuItemContentFromFactory({componentName:e,parentMenuView:t,componentFactory:o}){const i=o.create(e);return i instanceof yn||i instanceof Ce||i instanceof Cn?(this._registerMenuTree(i,t),i.on("execute",(()=>{this.close()})),i):((0,s.FF)("menu-bar-component-unsupported",{componentName:e,componentView:i}),null)}_registerMenuTree(e,t){if(!(e instanceof yn))return void e.delegate("mouseenter").to(t);this.registerMenu(e,t);const o=e.panelView.children.filter((e=>e instanceof An))[0];if(!o)return void e.delegate("mouseenter").to(t);const s=o.items.filter((e=>e instanceof Ot));for(const t of s)this._registerMenuTree(t.children.get(0),e)}_setupIsOpenUpdater(){let e;this.on("menu:change:isOpen",((t,o,s)=>{clearTimeout(e),s?this.isOpen=!0:e=setTimeout((()=>{this.isOpen=Array.from(this.children).some((e=>e.isOpen))}),0)}))}}},"./packages/ckeditor5-utils/src/index.ts":(e,t,o)=>{"use strict";let s;o.d(t,{Yb:()=>S,pM:()=>Vt,TS:()=>ve,c5:()=>Pe,PZ:()=>ce,Mm:()=>z,vY:()=>A,$x:()=>jt,EP:()=>Dt,hT:()=>Ot,VM:()=>oe,rw:()=>Fe,tb:()=>We,KL:()=>le,ww:()=>he,U9:()=>de,n:()=>_e,cb:()=>qt,Ui:()=>k,q8:()=>w,_K:()=>a,Nv:()=>Ht,Mr:()=>g,j3:()=>Me,$1:()=>Rt,DS:()=>Oe,Md:()=>Re,QC:()=>kt,pG:()=>Ve,YA:()=>vt,iJ:()=>Pt,Kf:()=>At,W:()=>Qe,jr:()=>je,Sf:()=>i,qh:()=>Ke,PT:()=>Ye,Yy:()=>P,Yt:()=>yt,mY:()=>Kt,Cn:()=>Ge,HK:()=>xt,kv:()=>Yt,Iw:()=>Jt,SQ:()=>Qt,P5:()=>Zt,xZ:()=>ue,k$:()=>Gt,Ll:()=>xe,_Z:()=>Be,KH:()=>Ie,i8:()=>Ze,K8:()=>It,zN:()=>Je,uP:()=>_t,vV:()=>O,FF:()=>M,jh:()=>v,ZX:()=>wt,vx:()=>E,kM:()=>B,TF:()=>ot,L5:()=>zt,bi:()=>it,vK:()=>st,C_:()=>qe,eL:()=>Wt,$r:()=>Tt,av:()=>Ft,To:()=>Ue,Ld:()=>C,rQ:()=>Ut,rE:()=>I,uk:()=>Lt});try{s={window,document}}catch(e){s={window:{},document:{}}}const i=s;function n(){try{return navigator.userAgent.toLowerCase()}catch(e){return""}}const r=n(),a={isMac:c(r),isWindows:l(r),isGecko:d(r),isSafari:h(r),isiOS:u(r),isAndroid:m(r),isBlink:p(r),get isMediaForcedColors(){return!!i.window.matchMedia&&i.window.matchMedia("(forced-colors: active)").matches},get isMotionReduced(){return!!i.window.matchMedia&&i.window.matchMedia("(prefers-reduced-motion)").matches},features:{isRegExpUnicodePropertySupported:f()}};function c(e){return e.indexOf("macintosh")>-1}function l(e){return e.indexOf("windows")>-1}function d(e){return!!e.match(/gecko\/\d+/)}function h(e){return e.indexOf(" applewebkit/")>-1&&-1===e.indexOf("chrome")}function u(e){return!!e.match(/iphone|ipad/i)||c(e)&&navigator.maxTouchPoints>0}function m(e){return e.indexOf("android")>-1}function p(e){return e.indexOf("chrome/")>-1&&e.indexOf("edge/")<0}function f(){let e=!1;try{e=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(e){}return e}function g(e,t,o,s){o=o||function(e,t){return e===t};const i=Array.isArray(e)?e:Array.prototype.slice.call(e),n=Array.isArray(t)?t:Array.prototype.slice.call(t),r=function(e,t,o){const s=_(e,t,o);if(-1===s)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const i=b(e,s),n=b(t,s),r=_(i,n,o),a=e.length-r,c=t.length-r;return{firstIndex:s,lastIndexOld:a,lastIndexNew:c}}(i,n,o),a=s?function(e,t){const{firstIndex:o,lastIndexOld:s,lastIndexNew:i}=e;if(-1===o)return Array(t).fill("equal");let n=[];o>0&&(n=n.concat(Array(o).fill("equal")));i-o>0&&(n=n.concat(Array(i-o).fill("insert")));s-o>0&&(n=n.concat(Array(s-o).fill("delete")));i<t&&(n=n.concat(Array(t-i).fill("equal")));return n}(r,n.length):function(e,t){const o=[],{firstIndex:s,lastIndexOld:i,lastIndexNew:n}=t;n-s>0&&o.push({index:s,type:"insert",values:e.slice(s,n)});i-s>0&&o.push({index:s+(n-s),type:"delete",howMany:i-s});return o}(n,r);return a}function _(e,t,o){for(let s=0;s<Math.max(e.length,t.length);s++)if(void 0===e[s]||void 0===t[s]||!o(e[s],t[s]))return s;return-1}function b(e,t){return e.slice(t).reverse()}function k(e,t,o){o=o||function(e,t){return e===t};const s=e.length,i=t.length;if(s>200||i>200||s+i>300)return k.fastDiff(e,t,o,!0);let n,r;if(i<s){const o=e;e=t,t=o,n="delete",r="insert"}else n="insert",r="delete";const a=e.length,c=t.length,l=c-a,d={},h={};function u(s){const i=(void 0!==h[s-1]?h[s-1]:-1)+1,l=void 0!==h[s+1]?h[s+1]:-1,u=i>l?-1:1;d[s+u]&&(d[s]=d[s+u].slice(0)),d[s]||(d[s]=[]),d[s].push(i>l?n:r);let m=Math.max(i,l),p=m-s;for(;p<a&&m<c&&o(e[p],t[m]);)p++,m++,d[s].push("equal");return m}let m,p=0;do{for(m=-p;m<l;m++)h[m]=u(m);for(m=l+p;m>l;m--)h[m]=u(m);h[l]=u(l),p++}while(h[l]!==c);return d[l].slice(1)}function w(e,t){const o=[];let s=0,i=null;return e.forEach((e=>{"equal"==e?(n(),s++):"insert"==e?(i&&"insert"==i.type?i.values.push(t[s]):(n(),i={type:"insert",index:s,values:[t[s]]}),s++):i&&"delete"==i.type?i.howMany++:(n(),i={type:"delete",index:s,howMany:1})})),n(),o;function n(){i&&(o.push(i),i=null)}}function v(e,...t){t.forEach((t=>{const o=Object.getOwnPropertyNames(t),s=Object.getOwnPropertySymbols(t);o.concat(s).forEach((o=>{if(o in e.prototype)return;if("function"==typeof t&&("length"==o||"name"==o||"prototype"==o))return;const s=Object.getOwnPropertyDescriptor(t,o);s.enumerable=!1,Object.defineProperty(e.prototype,o,s)}))}))}k.fastDiff=g;const y=function(){return function e(){e.called=!0}};class A{constructor(e,t){this.source=e,this.name=t,this.path=[],this.stop=y(),this.off=y()}}const x=new Array(256).fill("").map(((e,t)=>("0"+t.toString(16)).slice(-2)));function C(){const[e,t,o,s]=crypto.getRandomValues(new Uint32Array(4));return"e"+x[255&e]+x[e>>8&255]+x[e>>16&255]+x[e>>24&255]+x[255&t]+x[t>>8&255]+x[t>>16&255]+x[t>>24&255]+x[255&o]+x[o>>8&255]+x[o>>16&255]+x[o>>24&255]+x[255&s]+x[s>>8&255]+x[s>>16&255]+x[s>>24&255]}const E={get(e="normal"){return"number"!=typeof e?this[e]||this.normal:e},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function P(e,t){const o=E.get(t.priority);for(let s=0;s<e.length;s++)if(E.get(e[s].priority)<o)return void e.splice(s,0,t);e.push(t)}const T="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class S extends Error{constructor(e,t,o){super(function(e,t){const o=new WeakSet,s=(e,t)=>{if("object"==typeof t&&null!==t){if(o.has(t))return`[object ${t.constructor.name}]`;o.add(t)}return t},i=t?` ${JSON.stringify(t,s)}`:"",n=V(e);return e+i+n}(e,o)),this.name="CKEditorError",this.context=t,this.data=o}is(e){return"CKEditorError"===e}static rethrowUnexpectedError(e,t){if(e.is&&e.is("CKEditorError"))throw e;const o=new S(e.message,t);throw o.stack=e.stack,o}}function M(e,t){console.warn(...R(e,t))}function O(e,t){console.error(...R(e,t))}function V(e){return`\nRead more: ${T}#error-${e}`}function R(e,t){const o=V(e);return t?[e,t,o]:[e,o]}const j="43.3.1",I=j,B=new Date(2024,10,6);if(globalThis.CKEDITOR_VERSION)throw new S("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=j;const N=Symbol("listeningTo"),D=Symbol("emitterId"),F=Symbol("delegations"),L=z(Object);function z(e){if(!e)return L;return class extends e{on(e,t,o){this.listenTo(this,e,t,o)}once(e,t,o){let s=!1;this.listenTo(this,e,((e,...o)=>{s||(s=!0,e.off(),t.call(this,e,...o))}),o)}off(e,t){this.stopListening(this,e,t)}listenTo(e,t,o,s={}){let i,n;this[N]||(this[N]={});const r=this[N];$(e)||H(e);const a=$(e);(i=r[a])||(i=r[a]={emitter:e,callbacks:{}}),(n=i.callbacks[t])||(n=i.callbacks[t]=[]),n.push(o),function(e,t,o,s,i){t._addEventListener?t._addEventListener(o,s,i):e._addEventListener.call(t,o,s,i)}(this,e,t,o,s)}stopListening(e,t,o){const s=this[N];let i=e&&$(e);const n=s&&i?s[i]:void 0,r=n&&t?n.callbacks[t]:void 0;if(!(!s||e&&!n||t&&!r))if(o){Y(this,e,t,o);-1!==r.indexOf(o)&&(1===r.length?delete n.callbacks[t]:Y(this,e,t,o))}else if(r){for(;o=r.pop();)Y(this,e,t,o);delete n.callbacks[t]}else if(n){for(t in n.callbacks)this.stopListening(e,t);delete s[i]}else{for(i in s)this.stopListening(s[i].emitter);delete this[N]}}fire(e,...t){try{const o=e instanceof A?e:new A(this,e),s=o.name;let i=U(this,s);if(o.path.push(this),i){const e=[o,...t];i=Array.from(i);for(let t=0;t<i.length&&(i[t].callback.apply(this,e),o.off.called&&(delete o.off.called,this._removeEventListener(s,i[t].callback)),!o.stop.called);t++);}const n=this[F];if(n){const e=n.get(s),i=n.get("*");e&&K(e,o,t),i&&K(i,o,t)}return o.return}catch(e){S.rethrowUnexpectedError(e,this)}}delegate(...e){return{to:(t,o)=>{this[F]||(this[F]=new Map),e.forEach((e=>{const s=this[F].get(e);s?s.set(t,o):this[F].set(e,new Map([[t,o]]))}))}}}stopDelegating(e,t){if(this[F])if(e)if(t){const o=this[F].get(e);o&&o.delete(t)}else this[F].delete(e);else this[F].clear()}_addEventListener(e,t,o){!function(e,t){const o=W(e);if(o[t])return;let s=t,i=null;const n=[];for(;""!==s&&!o[s];)o[s]={callbacks:[],childEvents:[]},n.push(o[s]),i&&o[s].childEvents.push(i),i=s,s=s.substr(0,s.lastIndexOf(":"));if(""!==s){for(const e of n)e.callbacks=o[s].callbacks.slice();o[s].childEvents.push(i)}}(this,e);const s=q(this,e),i={callback:t,priority:E.get(o.priority)};for(const e of s)P(e,i)}_removeEventListener(e,t){const o=q(this,e);for(const e of o)for(let o=0;o<e.length;o++)e[o].callback==t&&(e.splice(o,1),o--)}}}function H(e,t){e[D]||(e[D]=t||C())}function $(e){return e[D]}function W(e){return e._events||Object.defineProperty(e,"_events",{value:{}}),e._events}function q(e,t){const o=W(e)[t];if(!o)return[];let s=[o.callbacks];for(let t=0;t<o.childEvents.length;t++){const i=q(e,o.childEvents[t]);s=s.concat(i)}return s}function U(e,t){let o;return e._events&&(o=e._events[t])&&o.callbacks.length?o.callbacks:t.indexOf(":")>-1?U(e,t.substr(0,t.lastIndexOf(":"))):null}function K(e,t,o){for(let[s,i]of e){i?"function"==typeof i&&(i=i(t.name)):i=t.name;const e=new A(t.source,i);e.path=[...t.path],s.fire(e,...o)}}function Y(e,t,o,s){t._removeEventListener?t._removeEventListener(o,s):e._removeEventListener.call(t,o,s)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{z[e]=L.prototype[e]}));var G=o("./node_modules/lodash-es/isObject.js");const Z=Symbol("observableProperties"),J=Symbol("boundObservables"),X=Symbol("boundProperties"),Q=Symbol("decoratedMethods"),ee=Symbol("decoratedOriginal"),te=oe(z());function oe(e){var t;if(!e)return te;class o extends(t=e,t){set(e,t){if((0,G.A)(e))return void Object.keys(e).forEach((t=>{this.set(t,e[t])}),this);se(this);const o=this[Z];if(e in this&&!o.has(e))throw new S("observable-set-cannot-override",this);Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>o.get(e),set(t){const s=o.get(e);let i=this.fire(`set:${e}`,e,t,s);void 0===i&&(i=t),s===i&&o.has(e)||(o.set(e,i),this.fire(`change:${e}`,e,i,s))}}),this[e]=t}bind(...e){if(!e.length||!re(e))throw new S("observable-bind-wrong-properties",this);if(new Set(e).size!==e.length)throw new S("observable-bind-duplicate-properties",this);se(this);const t=this[X];e.forEach((e=>{if(t.has(e))throw new S("observable-bind-rebind",this)}));const o=new Map;return e.forEach((e=>{const s={property:e,to:[]};t.set(e,s),o.set(e,s)})),{to:ie,toMany:ne,_observable:this,_bindProperties:e,_to:[],_bindings:o}}unbind(...e){if(!this[Z])return;const t=this[X],o=this[J];if(e.length){if(!re(e))throw new S("observable-unbind-wrong-properties",this);e.forEach((e=>{const s=t.get(e);s&&(s.to.forEach((([e,t])=>{const i=o.get(e),n=i[t];n.delete(s),n.size||delete i[t],Object.keys(i).length||(o.delete(e),this.stopListening(e,"change"))})),t.delete(e))}))}else o.forEach(((e,t)=>{this.stopListening(t,"change")})),o.clear(),t.clear()}decorate(e){se(this);const t=this[e];if(!t)throw new S("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:e});this.on(e,((e,o)=>{e.return=t.apply(this,o)})),this[e]=function(...t){return this.fire(e,t)},this[e][ee]=t,this[Q]||(this[Q]=[]),this[Q].push(e)}stopListening(e,t,o){if(!e&&this[Q]){for(const e of this[Q])this[e]=this[e][ee];delete this[Q]}super.stopListening(e,t,o)}}return o}function se(e){e[Z]||(Object.defineProperty(e,Z,{value:new Map}),Object.defineProperty(e,J,{value:new Map}),Object.defineProperty(e,X,{value:new Map}))}function ie(...e){const t=function(...e){if(!e.length)throw new S("observable-bind-to-parse-error",null);const t={to:[]};let o;"function"==typeof e[e.length-1]&&(t.callback=e.pop());return e.forEach((e=>{if("string"==typeof e)o.properties.push(e);else{if("object"!=typeof e)throw new S("observable-bind-to-parse-error",null);o={observable:e,properties:[]},t.to.push(o)}})),t}(...e),o=Array.from(this._bindings.keys()),s=o.length;if(!t.callback&&t.to.length>1)throw new S("observable-bind-to-no-callback",this);if(s>1&&t.callback)throw new S("observable-bind-to-extra-callback",this);var i;t.to.forEach((e=>{if(e.properties.length&&e.properties.length!==s)throw new S("observable-bind-to-properties-length",this);e.properties.length||(e.properties=this._bindProperties)})),this._to=t.to,t.callback&&(this._bindings.get(o[0]).callback=t.callback),i=this._observable,this._to.forEach((e=>{const t=i[J];let o;t.get(e.observable)||i.listenTo(e.observable,"change",((s,n)=>{o=t.get(e.observable)[n],o&&o.forEach((e=>{ae(i,e.property)}))}))})),function(e){let t;e._bindings.forEach(((o,s)=>{e._to.forEach((i=>{t=i.properties[o.callback?0:e._bindProperties.indexOf(s)],o.to.push([i.observable,t]),function(e,t,o,s){const i=e[J],n=i.get(o),r=n||{};r[s]||(r[s]=new Set);r[s].add(t),n||i.set(o,r)}(e._observable,o,i.observable,t)}))}))}(this),this._bindProperties.forEach((e=>{ae(this._observable,e)}))}function ne(e,t,o){if(this._bindings.size>1)throw new S("observable-bind-to-many-not-one-binding",this);this.to(...function(e,t){const o=e.map((e=>[e,t]));return Array.prototype.concat.apply([],o)}(e,t),o)}function re(e){return e.every((e=>"string"==typeof e))}function ae(e,t){const o=e[X].get(t);let s;o.callback?s=o.callback.apply(e,o.to.map((e=>e[0][e[1]]))):(s=o.to[0],s=s[0][s[1]]),Object.prototype.hasOwnProperty.call(e,t)?e[t]=s:e.set(t,s)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{oe[e]=te.prototype[e]}));class ce{constructor(){this._replacedElements=[]}replace(e,t){this._replacedElements.push({element:e,newElement:t}),e.style.display="none",t&&e.parentNode.insertBefore(t,e.nextSibling)}restore(){this._replacedElements.forEach((({element:e,newElement:t})=>{e.style.display="",t&&t.remove()})),this._replacedElements=[]}}function le(e){let t=new AbortController;function o(...o){return t.abort(),t=new AbortController,e(t.signal,...o)}return o.abort=()=>t.abort(),o}function de(e){let t=0;for(const o of e)t++;return t}function he(e,t){const o=Math.min(e.length,t.length);for(let s=0;s<o;s++)if(e[s]!=t[s])return s;return e.length==t.length?"same":e.length<t.length?"prefix":"extension"}function ue(e){return!(!e||!e[Symbol.iterator])}var me=o("./node_modules/lodash-es/_baseGetTag.js"),pe=o("./node_modules/lodash-es/isArray.js"),fe=o("./node_modules/lodash-es/isObjectLike.js");const ge=function(e){return"string"==typeof e||!(0,pe.A)(e)&&(0,fe.A)(e)&&"[object String]"==(0,me.A)(e)};function _e(e,t,o={},s=[]){const i=o&&o.xmlns,n=i?e.createElementNS(i,t):e.createElement(t);for(const e in o)n.setAttribute(e,o[e]);!ge(s)&&ue(s)||(s=[s]);for(let t of s)ge(t)&&(t=e.createTextNode(t)),n.appendChild(t);return n}var be=o("./node_modules/lodash-es/isPlainObject.js"),ke=o("./node_modules/lodash-es/cloneDeepWith.js"),we=o("./node_modules/lodash-es/isElement.js");class ve{constructor(e,t){this._config=Object.create(null),t&&this.define(ye(t)),e&&this._setObjectToTarget(this._config,e)}set(e,t){this._setToTarget(this._config,e,t)}define(e,t){this._setToTarget(this._config,e,t,!0)}get(e){return this._getFromSource(this._config,e)}*names(){for(const e of Object.keys(this._config))yield e}_setToTarget(e,t,o,s=!1){if((0,be.A)(t))return void this._setObjectToTarget(e,t,s);const i=t.split(".");t=i.pop();for(const t of i)(0,be.A)(e[t])||(e[t]=Object.create(null)),e=e[t];if((0,be.A)(o))return(0,be.A)(e[t])||(e[t]=Object.create(null)),e=e[t],void this._setObjectToTarget(e,o,s);s&&void 0!==e[t]||(e[t]=o)}_getFromSource(e,t){const o=t.split(".");t=o.pop();for(const t of o){if(!(0,be.A)(e[t])){e=null;break}e=e[t]}return e?ye(e[t]):void 0}_setObjectToTarget(e,t,o){Object.keys(t).forEach((s=>{this._setToTarget(e,s,t[s],o)}))}}function ye(e){return(0,ke.A)(e,Ae)}function Ae(e){return(0,we.A)(e)||"function"==typeof e?e:void 0}function xe(e){if(e){if(e.defaultView)return e instanceof e.defaultView.Document;if(e.ownerDocument&&e.ownerDocument.defaultView)return e instanceof e.ownerDocument.defaultView.Node}return!1}function Ce(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}const Ee=Pe(z());function Pe(e){if(!e)return Ee;return class extends e{listenTo(e,t,o,s={}){if(xe(e)||Ce(e)){const i={capture:!!s.useCapture,passive:!!s.usePassive},n=this._getProxyEmitter(e,i)||new Te(e,i);this.listenTo(n,t,o,s)}else super.listenTo(e,t,o,s)}stopListening(e,t,o){if(xe(e)||Ce(e)){const s=this._getAllProxyEmitters(e);for(const e of s)this.stopListening(e,t,o)}else super.stopListening(e,t,o)}_getProxyEmitter(e,t){return function(e,t){const o=e[N];return o&&o[t]?o[t].emitter:null}(this,Se(e,t))}_getAllProxyEmitters(e){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((t=>this._getProxyEmitter(e,t))).filter((e=>!!e))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{Pe[e]=Ee.prototype[e]}));class Te extends(z()){constructor(e,t){super(),H(this,Se(e,t)),this._domNode=e,this._options=t}attach(e){if(this._domListeners&&this._domListeners[e])return;const t=this._createDomListener(e);this._domNode.addEventListener(e,t,this._options),this._domListeners||(this._domListeners={}),this._domListeners[e]=t}detach(e){let t;!this._domListeners[e]||(t=this._events[e])&&t.callbacks.length||this._domListeners[e].removeListener()}_addEventListener(e,t,o){this.attach(e),z().prototype._addEventListener.call(this,e,t,o)}_removeEventListener(e,t){z().prototype._removeEventListener.call(this,e,t),this.detach(e)}_createDomListener(e){const t=t=>{this.fire(e,t)};return t.removeListener=()=>{this._domNode.removeEventListener(e,t,this._options),delete this._domListeners[e]},t}}function Se(e,t){let o=function(e){return e["data-ck-expando"]||(e["data-ck-expando"]=C())}(e);for(const e of Object.keys(t).sort())t[e]&&(o+="-"+e);return o}function Me(e){let t=e.parentElement;if(!t)return null;for(;"BODY"!=t.tagName;){const e=t.style.overflowY||i.window.getComputedStyle(t).overflowY;if("auto"===e||"scroll"===e)break;if(t=t.parentElement,!t)return null}return t}function Oe(e){const t=[];let o=e;for(;o&&o.nodeType!=Node.DOCUMENT_NODE;)t.unshift(o),o=o.parentNode;return t}function Ve(e){return e instanceof HTMLTextAreaElement?e.value:e.innerHTML}function Re(e){const t=e.ownerDocument.defaultView.getComputedStyle(e);return{top:parseInt(t.borderTopWidth,10),right:parseInt(t.borderRightWidth,10),bottom:parseInt(t.borderBottomWidth,10),left:parseInt(t.borderLeftWidth,10)}}function je(e){if(!e.target)return null;const t=e.target.ownerDocument,o=e.clientX,s=e.clientY;let i=null;return t.caretRangeFromPoint&&t.caretRangeFromPoint(o,s)?i=t.caretRangeFromPoint(o,s):e.rangeParent&&(i=t.createRange(),i.setStart(e.rangeParent,e.rangeOffset),i.collapse(!0)),i}function Ie(e){return"[object Text]"==Object.prototype.toString.call(e)}function Be(e){return"[object Range]"==Object.prototype.toString.apply(e)}function Ne(e){return e&&e.parentNode?e.offsetParent===i.document.body?null:e.offsetParent:null}const De=["top","right","bottom","left","width","height"];class Fe{constructor(e){const t=Be(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),He(e)||t)if(t){const t=Fe.getDomRangeRects(e);Le(this,Fe.getBoundingRect(t))}else Le(this,e.getBoundingClientRect());else if(Ce(e)){const{innerWidth:t,innerHeight:o}=e;Le(this,{top:0,right:t,bottom:o,left:0,width:t,height:o})}else Le(this,e)}clone(){return new Fe(this)}moveTo(e,t){return this.top=t,this.right=e+this.width,this.bottom=t+this.height,this.left=e,this}moveBy(e,t){return this.top+=t,this.right+=e,this.left+=e,this.bottom+=t,this}getIntersection(e){const t={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left),width:0,height:0};if(t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0)return null;{const e=new Fe(t);return e._source=this._source,e}}getIntersectionArea(e){const t=this.getIntersection(e);return t?t.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let t=this.clone();if(ze(e))return t;let o,s=e,i=e.parentNode||e.commonAncestorContainer;for(;i&&!ze(i);){const e="visible"===((n=i)instanceof HTMLElement?n.ownerDocument.defaultView.getComputedStyle(n).overflow:"visible");s instanceof HTMLElement&&"absolute"===$e(s)&&(o=s);const r=$e(i);if(e||o&&("relative"===r&&e||"relative"!==r)){s=i,i=i.parentNode;continue}const a=new Fe(i),c=t.getIntersection(a);if(!c)return null;c.getArea()<t.getArea()&&(t=c),s=i,i=i.parentNode}var n;return t}isEqual(e){for(const t of De)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}toAbsoluteRect(){const{scrollX:e,scrollY:t}=i.window,o=this.clone().moveBy(e,t);if(He(o._source)){const e=Ne(o._source);e&&function(e,t){const o=new Fe(t),s=Re(t);let i=0,n=0;i-=o.left,n-=o.top,i+=t.scrollLeft,n+=t.scrollTop,i-=s.left,n-=s.top,e.moveBy(i,n)}(o,e)}return o}excludeScrollbarsAndBorders(){const e=this._source;let t,o,s;if(Ce(e))t=e.innerWidth-e.document.documentElement.clientWidth,o=e.innerHeight-e.document.documentElement.clientHeight,s=e.getComputedStyle(e.document.documentElement).direction;else{const i=Re(e);t=e.offsetWidth-e.clientWidth-i.left-i.right,o=e.offsetHeight-e.clientHeight-i.top-i.bottom,s=e.ownerDocument.defaultView.getComputedStyle(e).direction,this.left+=i.left,this.top+=i.top,this.right-=i.right,this.bottom-=i.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===s?this.right-=t:this.left+=t,this.height-=o,this.bottom-=o,this}static getDomRangeRects(e){const t=[],o=Array.from(e.getClientRects());if(o.length)for(const e of o)t.push(new Fe(e));else{let o=e.startContainer;Ie(o)&&(o=o.parentNode);const s=new Fe(o.getBoundingClientRect());s.right=s.left,s.width=0,t.push(s)}return t}static getBoundingRect(e){const t={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,width:0,height:0};let o=0;for(const s of e)o++,t.left=Math.min(t.left,s.left),t.top=Math.min(t.top,s.top),t.right=Math.max(t.right,s.right),t.bottom=Math.max(t.bottom,s.bottom);return 0==o?null:(t.width=t.right-t.left,t.height=t.bottom-t.top,new Fe(t))}}function Le(e,t){for(const o of De)e[o]=t[o]}function ze(e){return!!He(e)&&e===e.ownerDocument.body}function He(e){return null!==e&&"object"==typeof e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect}function $e(e){return e instanceof HTMLElement?e.ownerDocument.defaultView.getComputedStyle(e).position:"static"}class We{static{this._observerInstance=null}static{this._elementCallbacks=null}constructor(e,t){We._observerInstance||We._createObserver(),this._element=e,this._callback=t,We._addElementCallback(e,t),We._observerInstance.observe(e)}get element(){return this._element}destroy(){We._deleteElementCallback(this._element,this._callback)}static _addElementCallback(e,t){We._elementCallbacks||(We._elementCallbacks=new Map);let o=We._elementCallbacks.get(e);o||(o=new Set,We._elementCallbacks.set(e,o)),o.add(t)}static _deleteElementCallback(e,t){const o=We._getElementCallbacks(e);o&&(o.delete(t),o.size||(We._elementCallbacks.delete(e),We._observerInstance.unobserve(e))),We._elementCallbacks&&!We._elementCallbacks.size&&(We._observerInstance=null,We._elementCallbacks=null)}static _getElementCallbacks(e){return We._elementCallbacks?We._elementCallbacks.get(e):null}static _createObserver(){We._observerInstance=new i.window.ResizeObserver((e=>{for(const t of e){const e=We._getElementCallbacks(t.target);if(e)for(const o of e)o(t)}}))}}function qe(e,t){e instanceof HTMLTextAreaElement&&(e.value=t),e.innerHTML=t}function Ue(e){return t=>t+e}function Ke(e){let t=0;for(;e.previousSibling;)e=e.previousSibling,t++;return t}function Ye(e,t,o){e.insertBefore(o,e.childNodes[t]||null)}function Ge(e){return e&&e.nodeType===Node.COMMENT_NODE}function Ze(e){try{i.document.createAttribute(e)}catch(e){return!1}return!0}function Je(e){return!!e&&(Ie(e)?Je(e.parentElement):!!e.getClientRects&&!!e.getClientRects().length)}var Xe=o("./node_modules/lodash-es/isFunction.js");function Qe({element:e,target:t,positions:o,limiter:s,fitInViewport:n,viewportOffsetConfig:r}){(0,Xe.A)(t)&&(t=t()),(0,Xe.A)(s)&&(s=s());const a=Ne(e),c=function(e){e=Object.assign({top:0,bottom:0,left:0,right:0},e);const t=new Fe(i.window);return t.top+=e.top,t.height-=e.top,t.bottom-=e.bottom,t.height-=e.bottom,t}(r),l=new Fe(e),d=et(t,c);let h;if(!d||!c.getIntersection(d))return null;const u={targetRect:d,elementRect:l,positionedElementAncestor:a,viewportRect:c};if(s||n){if(s){const e=et(s,c);e&&(u.limiterRect=e)}h=function(e,t){const{elementRect:o}=t,s=o.getArea(),i=e.map((e=>new tt(e,t))).filter((e=>!!e.name));let n=0,r=null;for(const e of i){const{limiterIntersectionArea:t,viewportIntersectionArea:o}=e;if(t===s)return e;const i=o**2+t**2;i>n&&(n=i,r=e)}return r}(o,u)}else h=new tt(o[0],u);return h}function et(e,t){const o=new Fe(e).getVisible();return o?o.getIntersection(t):null}class tt{constructor(e,t){const o=e(t.targetRect,t.elementRect,t.viewportRect,t.limiterRect);if(!o)return;const{left:s,top:i,name:n,config:r}=o;this.name=n,this.config=r,this._positioningFunctionCoordinates={left:s,top:i},this._options=t}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const e=this._options.limiterRect;return e?e.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=this._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function ot(e){const t=e.parentNode;t&&t.removeChild(e)}function st({target:e,viewportOffset:t=0,ancestorOffset:o=0,alignToTop:s,forceScroll:i}){const n=ht(e);let r=n,a=null;for(t=function(e){if("number"==typeof e)return{top:e,bottom:e,left:e,right:e};return e}(t);r;){let c;c=ut(r==n?e:a),rt({parent:c,getRect:()=>mt(e,r),alignToTop:s,ancestorOffset:o,forceScroll:i});const l=mt(e,r);if(nt({window:r,rect:l,viewportOffset:t,alignToTop:s,forceScroll:i}),r.parent!=r){if(a=r.frameElement,r=r.parent,!a)return}else r=null}}function it(e,t,o){rt({parent:ut(e),getRect:()=>new Fe(e),ancestorOffset:t,limiterElement:o})}function nt({window:e,rect:t,alignToTop:o,forceScroll:s,viewportOffset:i}){const n=t.clone().moveBy(0,i.bottom),r=t.clone().moveBy(0,-i.top),a=new Fe(e).excludeScrollbarsAndBorders(),c=o&&s,l=[r,n].every((e=>a.contains(e)));let{scrollX:d,scrollY:h}=e;const u=d,m=h;c?h-=a.top-t.top+i.top:l||(ct(r,a)?h-=a.top-t.top+i.top:at(n,a)&&(h+=o?t.top-a.top-i.top:t.bottom-a.bottom+i.bottom)),l||(lt(t,a)?d-=a.left-t.left+i.left:dt(t,a)&&(d+=t.right-a.right+i.right)),d==u&&h===m||e.scrollTo(d,h)}function rt({parent:e,getRect:t,alignToTop:o,forceScroll:s,ancestorOffset:i=0,limiterElement:n}){const r=ht(e),a=o&&s;let c,l,d;const h=n||r.document.body;for(;e!=h;)l=t(),c=new Fe(e).excludeScrollbarsAndBorders(),d=c.contains(l),a?e.scrollTop-=c.top-l.top+i:d||(ct(l,c)?e.scrollTop-=c.top-l.top+i:at(l,c)&&(e.scrollTop+=o?l.top-c.top-i:l.bottom-c.bottom+i)),d||(lt(l,c)?e.scrollLeft-=c.left-l.left+i:dt(l,c)&&(e.scrollLeft+=l.right-c.right+i)),e=e.parentNode}function at(e,t){return e.bottom>t.bottom}function ct(e,t){return e.top<t.top}function lt(e,t){return e.left<t.left}function dt(e,t){return e.right>t.right}function ht(e){return Be(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function ut(e){if(Be(e)){let t=e.commonAncestorContainer;return Ie(t)&&(t=t.parentNode),t}return e.parentNode}function mt(e,t){const o=ht(e),s=new Fe(e);if(o===t)return s;{let e=o;for(;e!=t;){const t=e.frameElement,o=new Fe(t).excludeScrollbarsAndBorders();s.moveBy(o.left,o.top),e=e.parent}}return s}const pt={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},ft={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},gt={37:"â†",38:"↑",39:"→",40:"↓",9:"⇥",33:"Page Up",34:"Page Down"},_t=Ct(),bt=Object.fromEntries(Object.entries(_t).map((([e,t])=>{let o;return o=t in gt?gt[t]:e.charAt(0).toUpperCase()+e.slice(1),[t,o]})));function kt(e){let t;if("string"==typeof e){if(t=_t[e.toLowerCase()],!t)throw new S("keyboard-unknown-key",null,{key:e})}else t=e.keyCode+(e.altKey?_t.alt:0)+(e.ctrlKey?_t.ctrl:0)+(e.shiftKey?_t.shift:0)+(e.metaKey?_t.cmd:0);return t}function wt(e){return"string"==typeof e&&(e=function(e){return e.split("+").map((e=>e.trim()))}(e)),e.map((e=>"string"==typeof e?function(e){if(e.endsWith("!"))return kt(e.slice(0,-1));const t=kt(e);return(a.isMac||a.isiOS)&&t==_t.ctrl?_t.cmd:t}(e):e)).reduce(((e,t)=>t+e),0)}function vt(e){let t=wt(e);return Object.entries(a.isMac||a.isiOS?pt:ft).reduce(((e,[o,s])=>(t&_t[o]&&(t&=~_t[o],e+=s),e)),"")+(t?bt[t]:"")}function yt(e){return e==_t.arrowright||e==_t.arrowleft||e==_t.arrowup||e==_t.arrowdown}function At(e,t){const o="ltr"===t;switch(e){case _t.arrowleft:return o?"left":"right";case _t.arrowright:return o?"right":"left";case _t.arrowup:return"up";case _t.arrowdown:return"down"}}function xt(e,t){const o=At(e,t);return"down"===o||"right"===o}function Ct(){const e={pageup:33,pagedown:34,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let t=65;t<=90;t++){e[String.fromCharCode(t).toLowerCase()]=t}for(let t=48;t<=57;t++)e[t-48]=t;for(let t=112;t<=123;t++)e["f"+(t-111)]=t;return Object.assign(e,{"'":222,",":108,"-":109,".":110,"/":111,";":186,"=":187,"[":219,"\\":220,"]":221,"`":223}),e}const Et=["ar","ara","dv","div","fa","per","fas","he","heb","ku","kur","ug","uig"];function Pt(e){return Et.includes(e)?"rtl":"ltr"}function Tt(e){return Array.isArray(e)?e:[e]}var St=o("./node_modules/lodash-es/merge.js");function Mt(e,t,o=1,s){if("number"!=typeof o)throw new S("translation-service-quantity-not-a-number",null,{quantity:o});const n=s||i.window.CKEDITOR_TRANSLATIONS,r=function(e){return Object.keys(e).length}(n);1===r&&(e=Object.keys(n)[0]);const a=t.id||t.string;if(0===r||!function(e,t,o){return!!o[e]&&!!o[e].dictionary[t]}(e,a,n))return 1!==o?t.plural:t.string;const c=n[e].dictionary,l=n[e].getPluralForm||(e=>1===e?0:1),d=c[a];if("string"==typeof d)return d;return d[Number(l(o))]}i.window.CKEDITOR_TRANSLATIONS||(i.window.CKEDITOR_TRANSLATIONS={});class Ot{constructor({uiLanguage:e="en",contentLanguage:t,translations:o}={}){this.uiLanguage=e,this.contentLanguage=t||this.uiLanguage,this.uiLanguageDirection=Pt(this.uiLanguage),this.contentLanguageDirection=Pt(this.contentLanguage),this.translations=function(e){return Array.isArray(e)?e.reduce(((e,t)=>(0,St.A)(e,t))):e}(o),this.t=(e,t)=>this._t(e,t)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(e,t=[]){t=Tt(t),"string"==typeof e&&(e={string:e});const o=!!e.plural?t[0]:1;return function(e,t){return e.replace(/%(\d+)/g,((e,o)=>o<t.length?t[o]:e))}(Mt(this.uiLanguage,e,o,this.translations),t)}}class Vt extends(z()){constructor(e={},t={}){super();const o=ue(e);if(o||(t=e),this._items=[],this._itemMap=new Map,this._idProperty=t.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],o)for(const t of e)this._items.push(t),this._itemMap.set(this._getItemIdBeforeAdding(t),t)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(e,t){return this.addMany([e],t)}addMany(e,t){if(void 0===t)t=this._items.length;else if(t>this._items.length||t<0)throw new S("collection-add-item-invalid-index",this);let o=0;for(const s of e){const e=this._getItemIdBeforeAdding(s),i=t+o;this._items.splice(i,0,s),this._itemMap.set(e,s),this.fire("add",s,i),o++}return this.fire("change",{added:e,removed:[],index:t}),this}get(e){let t;if("string"==typeof e)t=this._itemMap.get(e);else{if("number"!=typeof e)throw new S("collection-get-invalid-arg",this);t=this._items[e]}return t||null}has(e){if("string"==typeof e)return this._itemMap.has(e);{const t=e[this._idProperty];return t&&this._itemMap.has(t)}}getIndex(e){let t;return t="string"==typeof e?this._itemMap.get(e):e,t?this._items.indexOf(t):-1}remove(e){const[t,o]=this._remove(e);return this.fire("change",{added:[],removed:[t],index:o}),t}map(e,t){return this._items.map(e,t)}forEach(e,t){this._items.forEach(e,t)}find(e,t){return this._items.find(e,t)}filter(e,t){return this._items.filter(e,t)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const e=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:e,index:0})}bindTo(e){if(this._bindToCollection)throw new S("collection-bind-to-rebind",this);return this._bindToCollection=e,{as:e=>{this._setUpBindToBinding((t=>new e(t)))},using:e=>{"function"==typeof e?this._setUpBindToBinding(e):this._setUpBindToBinding((t=>t[e]))}}}_setUpBindToBinding(e){const t=this._bindToCollection,o=(o,s,i)=>{const n=t._bindToCollection==this,r=t._bindToInternalToExternalMap.get(s);if(n&&r)this._bindToExternalToInternalMap.set(s,r),this._bindToInternalToExternalMap.set(r,s);else{const o=e(s);if(!o)return void this._skippedIndexesFromExternal.push(i);let n=i;for(const e of this._skippedIndexesFromExternal)i>e&&n--;for(const e of t._skippedIndexesFromExternal)n>=e&&n++;this._bindToExternalToInternalMap.set(s,o),this._bindToInternalToExternalMap.set(o,s),this.add(o,n);for(let e=0;e<t._skippedIndexesFromExternal.length;e++)n<=t._skippedIndexesFromExternal[e]&&t._skippedIndexesFromExternal[e]++}};for(const e of t)o(0,e,t.getIndex(e));this.listenTo(t,"add",o),this.listenTo(t,"remove",((e,t,o)=>{const s=this._bindToExternalToInternalMap.get(t);s&&this.remove(s),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((e,t)=>(o<t&&e.push(t-1),o>t&&e.push(t),e)),[])}))}_getItemIdBeforeAdding(e){const t=this._idProperty;let o;if(t in e){if(o=e[t],"string"!=typeof o)throw new S("collection-add-invalid-id",this);if(this.get(o))throw new S("collection-add-item-already-exists",this)}else e[t]=o=C();return o}_remove(e){let t,o,s,i=!1;const n=this._idProperty;if("string"==typeof e?(o=e,s=this._itemMap.get(o),i=!s,s&&(t=this._items.indexOf(s))):"number"==typeof e?(t=e,s=this._items[t],i=!s,s&&(o=s[n])):(s=e,o=s[n],t=this._items.indexOf(s),i=-1==t||!this._itemMap.get(o)),i)throw new S("collection-remove-404",this);this._items.splice(t,1),this._itemMap.delete(o);const r=this._bindToInternalToExternalMap.get(s);return this._bindToInternalToExternalMap.delete(s),this._bindToExternalToInternalMap.delete(r),this.fire("remove",s,t),[s,t]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function Rt(e){const t=e.next();return t.done?null:t.value}class jt extends(Pe(oe())){constructor(){super(),this._elements=new Set,this._externalViews=new Set,this._blurTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}get elements(){return Array.from(this._elements.values())}get externalViews(){return Array.from(this._externalViews.values())}add(e){if(Bt(e))this._addElement(e);else if(It(e))this._addView(e);else{if(!e.element)throw new S("focustracker-add-view-missing-element",{focusTracker:this,view:e});this._addElement(e.element)}}remove(e){Bt(e)?this._removeElement(e):It(e)?this._removeView(e):this._removeElement(e.element)}_addElement(e){if(this._elements.has(e))throw new S("focustracker-add-element-already-exist",this);this.listenTo(e,"focus",(()=>{const t=this.externalViews.find((t=>function(e,t){if(Nt(e,t))return!0;return!!t.focusTracker.externalViews.find((t=>Nt(e,t)))}(e,t)));t?this._focus(t.element):this._focus(e)}),{useCapture:!0}),this.listenTo(e,"blur",(()=>{this._blur()}),{useCapture:!0}),this._elements.add(e)}_removeElement(e){this._elements.has(e)&&(this.stopListening(e),this._elements.delete(e)),e===this.focusedElement&&this._blur()}_addView(e){e.element&&this._addElement(e.element),this.listenTo(e.focusTracker,"change:focusedElement",(()=>{e.focusTracker.focusedElement?e.element&&this._focus(e.element):this._blur()})),this._externalViews.add(e)}_removeView(e){e.element&&this._removeElement(e.element),this.stopListening(e.focusTracker),this._externalViews.delete(e)}destroy(){this.stopListening(),this._elements.clear(),this._externalViews.clear(),this.isFocused=!1,this.focusedElement=null}_focus(e){this._clearBlurTimeout(),this.focusedElement=e,this.isFocused=!0}_blur(){if(this.elements.find((e=>e.contains(document.activeElement))))return;this.externalViews.find((e=>e.focusTracker.isFocused&&!e.focusTracker._blurTimeout))||(this._clearBlurTimeout(),this._blurTimeout=setTimeout((()=>{this.focusedElement=null,this.isFocused=!1}),0))}_clearBlurTimeout(){clearTimeout(this._blurTimeout),this._blurTimeout=null}}function It(e){return"focusTracker"in e&&e.focusTracker instanceof jt}function Bt(e){return(0,we.A)(e)}function Nt(e,t){return!!t.element&&t.element.contains(document.activeElement)&&e.contains(t.element)}class Dt{constructor(){this._listener=new(Pe())}listenTo(e){this._listener.listenTo(e,"keydown",((e,t)=>{this._listener.fire("_keydown:"+kt(t),t)}))}set(e,t,o={}){const s=wt(e),i=o.priority;this._listener.listenTo(this._listener,"_keydown:"+s,((e,s)=>{o.filter&&!o.filter(s)||(t(s,(()=>{s.preventDefault(),s.stopPropagation(),e.stop()})),e.return=!0)}),{priority:i})}press(e){return!!this._listener.fire("_keydown:"+kt(e),e)}stopListening(e){this._listener.stopListening(e)}destroy(){this.stopListening()}}function Ft(e){return ue(e)?new Map(e):function(e){const t=new Map;for(const o in e)t.set(o,e[o]);return t}(e)}function Lt(e,t={}){return new Promise(((o,s)=>{const i=t.signal||(new AbortController).signal;i.throwIfAborted();const n=setTimeout((function(){i.removeEventListener("abort",r),o()}),e);function r(){clearTimeout(n),s(i.reason)}i.addEventListener("abort",r,{once:!0})}))}async function zt(e,t={}){const{maxAttempts:o=4,retryDelay:s=Ht(),signal:i=(new AbortController).signal}=t;i.throwIfAborted();for(let t=0;;t++){try{return await e()}catch(e){if(t+1>=o)throw e}await Lt(s(t),{signal:i})}}function Ht(e={}){const{delay:t=1e3,factor:o=2,maxDelay:s=1e4}=e;return e=>Math.min(o**e*t,s)}const $t=1e4;function Wt(e,t,o,s){if(Math.max(t.length,e.length)>$t)return e.slice(0,o).concat(t).concat(e.slice(o+s,e.length));{const i=Array.from(e);return i.splice(o,s,...t),i}}function qt(e,t){let o;function s(...i){s.cancel(),o=setTimeout((()=>e(...i)),t)}return s.cancel=()=>{clearTimeout(o)},s}function Ut(e){function t(e){return e.length>=40&&e.length<=255?"VALID":"INVALID"}if(!e)return"INVALID";let o="";try{o=atob(e)}catch(e){return"INVALID"}const s=o.split("-"),i=s[0],n=s[1];if(!n)return t(e);try{atob(n)}catch(o){try{if(atob(i),!atob(i).length)return t(e)}catch(o){return t(e)}}if(i.length<40||i.length>255)return"INVALID";let r="";try{atob(i),r=atob(n)}catch(e){return"INVALID"}if(8!==r.length)return"INVALID";const a=Number(r.substring(0,4)),c=Number(r.substring(4,6))-1,l=Number(r.substring(6,8)),d=new Date(a,c,l);return d<B||isNaN(Number(d))?"INVALID":"VALID"}function Kt(e){return!!e&&1==e.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(e)}function Yt(e){return!!e&&1==e.length&&/[\ud800-\udbff]/.test(e)}function Gt(e){return!!e&&1==e.length&&/[\udc00-\udfff]/.test(e)}function Zt(e,t){return Yt(e.charAt(t-1))&&Gt(e.charAt(t))}function Jt(e,t){return Kt(e.charAt(t))}const Xt=eo();function Qt(e,t){const o=String(e).matchAll(Xt);return Array.from(o).some((e=>e.index<t&&t<e.index+e[0].length))}function eo(){const e=/\p{Regional_Indicator}{2}/u.source,t="(?:"+[/\p{Emoji}[\u{E0020}-\u{E007E}]+\u{E007F}/u,/\p{Emoji}\u{FE0F}?\u{20E3}/u,/\p{Emoji}\u{FE0F}/u,/(?=\p{General_Category=Other_Symbol})\p{Emoji}\p{Emoji_Modifier}*/u].map((e=>e.source)).join("|")+")";return new RegExp(`${e}|${t}(?:â€${t})*`,"ug")}},"./packages/ckeditor5-watchdog/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{Zd:()=>m,VJ:()=>d,Io:()=>s});class s{constructor(e){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof e.crashNumberLimit?e.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof e.minimumNonErrorTimePeriod?e.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=e=>{const t="error"in e?e.error:e.reason;t instanceof Error&&this._handleError(t,e)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){this._listeners[e]=this._listeners[e].filter((e=>e!==t))}_fire(e,...t){const o=this._listeners[e]||[];for(const e of o)e.apply(this,[null,...t])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(e,t){if(this._shouldReactToError(e)){this.crashes.push({message:e.message,stack:e.stack,filename:t instanceof ErrorEvent?t.filename:void 0,lineno:t instanceof ErrorEvent?t.lineno:void 0,colno:t instanceof ErrorEvent?t.colno:void 0,date:this._now()});const o=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:e,causesRestart:o}),o?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(e){return e.is&&e.is("CKEditorError")&&void 0!==e.context&&null!==e.context&&"ready"===this.state&&this._isErrorComingFromThisItem(e)}_shouldRestart(){if(this.crashes.length<=this._crashNumberLimit)return!0;return(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function i(e,t=new Set){const o=[e],s=new Set;let i=0;for(;o.length>i;){const e=o[i++];if(!s.has(e)&&n(e)&&!t.has(e))if(s.add(e),Symbol.iterator in e)try{for(const t of e)o.push(t)}catch(e){}else for(const t in e)"defaultValue"!==t&&o.push(e[t])}return s}function n(e){const t=Object.prototype.toString.call(e),o=typeof e;return!("number"===o||"boolean"===o||"string"===o||"symbol"===o||"function"===o||"[object Date]"===t||"[object RegExp]"===t||"[object Module]"===t||null==e||e._watchdogExcluded||e instanceof EventTarget||e instanceof Event)}function r(e,t,o=new Set){if(e===t&&("object"==typeof(s=e)&&null!==s))return!0;var s;const n=i(e,o),r=i(t,o);for(const e of n)if(r.has(e))return!0;return!1}var a=o("./node_modules/lodash-es/throttle.js"),c=o("./node_modules/lodash-es/isElement.js"),l=o("./node_modules/lodash-es/cloneDeepWith.js");class d extends s{constructor(e,t={}){super(t),this._editor=null,this._lifecyclePromise=null,this._initUsingData=!0,this._editables={},this._throttledSave=(0,a.A)(this._save.bind(this),"number"==typeof t.saveInterval?t.saveInterval:5e3),e&&(this._creator=(t,o)=>e.create(t,o)),this._destructor=e=>e.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(e){this._creator=e}setDestructor(e){this._destructor=e}_restart(){return Promise.resolve().then((()=>(this.state="initializing",this._fire("stateChange"),this._destroy()))).catch((e=>{console.error("An error happened during the editor destroying.",e)})).then((()=>{const e={},t=[],o=this._config.rootsAttributes||{},s={};for(const[i,n]of Object.entries(this._data.roots))n.isLoaded?(e[i]="",s[i]=o[i]||{}):t.push(i);const i={...this._config,extraPlugins:this._config.extraPlugins||[],lazyRoots:t,rootsAttributes:s,_watchdogInitialData:this._data};return delete i.initialData,i.extraPlugins.push(h),this._initUsingData?this.create(e,i,i.context):(0,c.A)(this._elementOrData)?this.create(this._elementOrData,i,i.context):this.create(this._editables,i,i.context)})).then((()=>{this._fire("restart")}))}create(e=this._elementOrData,t=this._config,o){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then((()=>(super._startErrorHandling(),this._elementOrData=e,this._initUsingData="string"==typeof e||Object.keys(e).length>0&&"string"==typeof Object.values(e)[0],this._config=this._cloneEditorConfiguration(t)||{},this._config.context=o,this._creator(e,this._config)))).then((e=>{this._editor=e,e.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=e.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})).finally((()=>{this._lifecyclePromise=null})),this._lifecyclePromise}destroy(){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))).finally((()=>{this._lifecyclePromise=null})),this._lifecyclePromise}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.cancel();const e=this._editor;return this._editor=null,e.model.document.off("change:data",this._throttledSave),this._destructor(e)}))}_save(){const e=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=e}catch(e){console.error(e,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(e){this._excludedProps=e}_getData(){const e=this._editor,t=e.model.document.roots.filter((e=>e.isAttached()&&"$graveyard"!=e.rootName)),{plugins:o}=e,s=o.has("CommentsRepository")&&o.get("CommentsRepository"),i=o.has("TrackChanges")&&o.get("TrackChanges"),n={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};t.forEach((e=>{n.roots[e.rootName]={content:JSON.stringify(Array.from(e.getChildren())),attributes:JSON.stringify(Array.from(e.getAttributes())),isLoaded:e._isLoaded}}));for(const t of e.model.markers)t._affectsData&&(n.markers[t.name]={rangeJSON:t.getRange().toJSON(),usingOperation:t._managedUsingOperations,affectsData:t._affectsData});return s&&(n.commentThreads=JSON.stringify(s.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),i&&(n.suggestions=JSON.stringify(i.getSuggestions({toJSON:!0,skipNotAttached:!0}))),n}_getEditables(){const e={};for(const t of this.editor.model.document.getRootNames()){const o=this.editor.ui.getEditableElement(t);o&&(e[t]=o)}return e}_isErrorComingFromThisItem(e){return r(this._editor,e.context,this._excludedProps)}_cloneEditorConfiguration(e){return(0,l.A)(e,((e,t)=>(0,c.A)(e)||"context"===t?e:void 0))}}class h{constructor(e){this.editor=e,this._data=e.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",(e=>{e.stop(),this.editor.model.enqueueChange({isUndoable:!1},(e=>{this._restoreCollaborationData(),this._restoreEditorData(e)})),this.editor.data.fire("ready")}),{priority:999})}_createNode(e,t){if("name"in t){const o=e.createElement(t.name,t.attributes);if(t.children)for(const s of t.children)o._appendChild(this._createNode(e,s));return o}return e.createText(t.data,t.attributes)}_restoreEditorData(e){const t=this.editor;Object.entries(this._data.roots).forEach((([o,{content:s,attributes:i}])=>{const n=JSON.parse(s),r=JSON.parse(i),a=t.model.document.getRoot(o);for(const[t,o]of r)e.setAttribute(t,o,a);for(const t of n){const o=this._createNode(e,t);e.insert(o,a,"end")}})),Object.entries(this._data.markers).forEach((([o,s])=>{const{document:i}=t.model,{rangeJSON:{start:n,end:r},...a}=s,c=i.getRoot(n.root),l=e.createPositionFromPath(c,n.path,n.stickiness),d=e.createPositionFromPath(c,r.path,r.stickiness),h=e.createRange(l,d);e.addMarker(o,{range:h,...a})}))}_restoreCollaborationData(){const e=JSON.parse(this._data.commentThreads),t=JSON.parse(this._data.suggestions);e.forEach((e=>{const t=this.editor.config.get("collaboration.channelId"),o=this.editor.plugins.get("CommentsRepository");if(o.hasCommentThread(e.threadId)){o.getCommentThread(e.threadId).remove()}o.addCommentThread({channelId:t,...e})})),t.forEach((e=>{const t=this.editor.plugins.get("TrackChangesEditing");if(t.hasSuggestion(e.id)){t.getSuggestion(e.id).attributes=e.attributes}else t.addSuggestionData(e)}))}}const u=Symbol("MainQueueId");class m extends s{constructor(e,t={}){super(t),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new p,this._watchdogConfig=t,this._creator=t=>e.create(t),this._destructor=e=>e.destroy(),this._actionQueues.onEmpty((()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))}))}setCreator(e){this._creator=e}setDestructor(e){this._destructor=e}get context(){return this._context}create(e={}){return this._actionQueues.enqueue(u,(()=>(this._contextConfig=e,this._create())))}getItem(e){return this._getWatchdog(e)._item}getItemState(e){return this._getWatchdog(e).state}add(e){const t=f(e);return Promise.all(t.map((e=>this._actionQueues.enqueue(e.id,(()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let t;if(this._watchdogs.has(e.id))throw new Error(`Item with the given id is already added: '${e.id}'.`);if("editor"===e.type)return t=new d(null,this._watchdogConfig),t.setCreator(e.creator),t._setExcludedProperties(this._contextProps),e.destructor&&t.setDestructor(e.destructor),this._watchdogs.set(e.id,t),t.on("error",((o,{error:s,causesRestart:i})=>{this._fire("itemError",{itemId:e.id,error:s}),i&&this._actionQueues.enqueue(e.id,(()=>new Promise((o=>{const s=()=>{t.off("restart",s),this._fire("itemRestart",{itemId:e.id}),o()};t.on("restart",s)}))))})),t.create(e.sourceElementOrData,e.config,this._context);throw new Error(`Not supported item type: '${e.type}'.`)})))))}remove(e){const t=f(e);return Promise.all(t.map((e=>this._actionQueues.enqueue(e,(()=>{const t=this._getWatchdog(e);return this._watchdogs.delete(e),t.destroy()})))))}destroy(){return this._actionQueues.enqueue(u,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(u,(()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch((e=>{console.error("An error happened during destroying the context or items.",e)})).then((()=>this._create())).then((()=>this._fire("restart"))))))}_create(){return Promise.resolve().then((()=>(this._startErrorHandling(),this._creator(this._contextConfig)))).then((e=>(this._context=e,this._contextProps=i(this._context),Promise.all(Array.from(this._watchdogs.values()).map((e=>(e._setExcludedProperties(this._contextProps),e.create(void 0,void 0,this._context))))))))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling();const e=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map((e=>e.destroy()))).then((()=>this._destructor(e)))}))}_getWatchdog(e){const t=this._watchdogs.get(e);if(!t)throw new Error(`Item with the given id was not registered: ${e}.`);return t}_isErrorComingFromThisItem(e){for(const t of this._watchdogs.values())if(t._isErrorComingFromThisItem(e))return!1;return r(this._context,e.context)}}class p{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(e){this._onEmptyCallbacks.push(e)}enqueue(e,t){const o=e===u;this._activeActions++,this._queues.get(e)||this._queues.set(e,Promise.resolve());const s=(o?Promise.all(this._queues.values()):Promise.all([this._queues.get(u),this._queues.get(e)])).then(t),i=s.catch((()=>{}));return this._queues.set(e,i),s.finally((()=>{this._activeActions--,this._queues.get(e)===i&&0===this._activeActions&&this._onEmptyCallbacks.forEach((e=>e()))}))}}function f(e){return Array.isArray(e)?e:[e]}},"./packages/ckeditor5-widget/src/index.ts":(e,t,o)=>{"use strict";o.d(t,{iW:()=>p,w_:()=>f,x0:()=>Q,VE:()=>he,oP:()=>te,oT:()=>K,Wu:()=>P,Hq:()=>T,iB:()=>x,p9:()=>y,p4:()=>g,_s:()=>w,je:()=>v,Ex:()=>_,YN:()=>A,$u:()=>C});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-engine/src/index.ts"),n=o("./packages/ckeditor5-typing/src/index.ts"),r=o("./packages/ckeditor5-utils/src/index.ts"),a=o("./packages/ckeditor5-ui/src/index.ts"),c=o("./packages/ckeditor5-enter/src/index.ts");class l extends((0,r.Mm)()){constructor(){super(...arguments),this._stack=[]}add(e,t){const o=this._stack,s=o[0];this._insertDescriptor(e);const i=o[0];s===i||d(s,i)||this.fire("change:top",{oldDescriptor:s,newDescriptor:i,writer:t})}remove(e,t){const o=this._stack,s=o[0];this._removeDescriptor(e);const i=o[0];s===i||d(s,i)||this.fire("change:top",{oldDescriptor:s,newDescriptor:i,writer:t})}_insertDescriptor(e){const t=this._stack,o=t.findIndex((t=>t.id===e.id));if(d(e,t[o]))return;o>-1&&t.splice(o,1);let s=0;for(;t[s]&&h(t[s],e);)s++;t.splice(s,0,e)}_removeDescriptor(e){const t=this._stack,o=t.findIndex((t=>t.id===e));o>-1&&t.splice(o,1)}}function d(e,t){return e&&t&&e.priority==t.priority&&u(e.classes)==u(t.classes)}function h(e,t){return e.priority>t.priority||!(e.priority<t.priority)&&u(e.classes)>u(t.classes)}function u(e){return Array.isArray(e)?e.sort().join(","):e}const m='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 0v1H1v3H0V.5A.5.5 0 0 1 .5 0H4zm8 0h3.5a.5.5 0 0 1 .5.5V4h-1V1h-3V0zM4 16H.5a.5.5 0 0 1-.5-.5V12h1v3h3v1zm8 0v-1h3v-3h1v3.5a.5.5 0 0 1-.5.5H12z"/><path fill-opacity=".256" d="M1 1h14v14H1z"/><g class="ck-icon__selected-indicator"><path d="M7 0h2v1H7V0zM0 7h1v2H0V7zm15 0h1v2h-1V7zm-8 8h2v1H7v-1z"/><path fill-opacity=".254" d="M1 1h14v14H1z"/></g></svg>',p="ck-widget",f="ck-widget_selected";function g(e){return!!e.is("element")&&!!e.getCustomProperty("widget")}function _(e,t,o={}){if(!e.is("containerElement"))throw new r.Yb("widget-to-widget-wrong-element-type",null,{element:e});return t.setAttribute("contenteditable","false",e),t.addClass(p,e),t.setCustomProperty("widget",!0,e),e.getFillerOffset=E,t.setCustomProperty("widgetLabel",[],e),o.label&&v(e,o.label),o.hasSelectionHandle&&function(e,t){const o=t.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(e){const t=this.toDomElement(e),o=new a.Ln;return o.set("content",m),o.render(),t.appendChild(o.element),t}));t.insert(t.createPositionAt(e,0),o),t.addClass(["ck-widget_with-selection-handle"],e)}(e,t),w(e,t),e}function b(e,t,o){if(t.classes&&o.addClass((0,r.$r)(t.classes),e),t.attributes)for(const s in t.attributes)o.setAttribute(s,t.attributes[s],e)}function k(e,t,o){if(t.classes&&o.removeClass((0,r.$r)(t.classes),e),t.attributes)for(const s in t.attributes)o.removeAttribute(s,e)}function w(e,t,o=b,s=k){const i=new l;i.on("change:top",((t,i)=>{i.oldDescriptor&&s(e,i.oldDescriptor,i.writer),i.newDescriptor&&o(e,i.newDescriptor,i.writer)}));t.setCustomProperty("addHighlight",((e,t,o)=>i.add(t,o)),e),t.setCustomProperty("removeHighlight",((e,t,o)=>i.remove(t,o)),e)}function v(e,t){e.getCustomProperty("widgetLabel").push(t)}function y(e){return e.getCustomProperty("widgetLabel").reduce(((e,t)=>"function"==typeof t?e?e+". "+t():t():e?e+". "+t:t),"")}function A(e,t,o={}){return t.addClass(["ck-editor__editable","ck-editor__nested-editable"],e),t.setAttribute("role","textbox",e),t.setAttribute("tabindex","-1",e),o.label&&t.setAttribute("aria-label",o.label,e),t.setAttribute("contenteditable",e.isReadOnly?"false":"true",e),e.on("change:isReadOnly",((o,s,i)=>{t.setAttribute("contenteditable",i?"false":"true",e)})),e.on("change:isFocused",((o,s,i)=>{i?t.addClass("ck-editor__nested-editable_focused",e):t.removeClass("ck-editor__nested-editable_focused",e)})),w(e,t),e}function x(e,t){const o=e.getSelectedElement();if(o){const s=O(e);if(s)return t.createRange(t.createPositionAt(o,s))}return t.schema.findOptimalInsertionRange(e)}function C(e,t){return(o,s)=>{const{mapper:i,viewPosition:n}=s,r=i.findMappedViewAncestor(n);if(!t(r))return;const a=i.toModelElement(r);s.modelPosition=e.createPositionAt(a,n.isAtStart?"before":"after")}}function E(){return null}function P(e){const t=e=>{const{width:t,paddingLeft:o,paddingRight:s}=e.ownerDocument.defaultView.getComputedStyle(e);return parseFloat(t)-(parseFloat(o)||0)-(parseFloat(s)||0)},o=e.parentElement;if(!o)return 0;let s=t(o);let i=0,n=o;for(;isNaN(s);){if(n=n.parentElement,++i>5)return 0;s=t(n)}return s}function T(e,t=new r.rw(e)){const o=P(e);return o?t.width/o*100:0}const S="widget-type-around";function M(e,t,o){return!!e&&g(e)&&!o.isInline(t)}function O(e){return e.getAttribute(S)}var V=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),R=o.n(V),j=o("./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),I=o.n(j),B=o("./node_modules/style-loader/dist/runtime/insertBySelector.js"),N=o.n(B),D=o("./node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),F=o.n(D),L=o("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),z=o.n(L),H=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgettypearound.css"),$={attributes:{"data-cke":!0}};$.setAttributes=F(),$.insert=N().bind(null,"head"),$.domAPI=I(),$.insertStyleElement=z();R()(H.A,$);H.A&&H.A.locals&&H.A.locals;const W=["before","after"],q=(new DOMParser).parseFromString('<svg viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M9.055.263v3.972h-6.77M1 4.216l2-2.038m-2 2 2 2.038"/></svg>',"image/svg+xml").firstChild,U="ck-widget__type-around_disabled";class K extends s.k_{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get isOfficialPlugin(){return!0}static get requires(){return[c.x,n.ep]}init(){const e=this.editor,t=e.editing.view;this.on("change:isEnabled",((o,s,i)=>{t.change((e=>{for(const o of t.document.roots)i?e.removeClass(U,o):e.addClass(U,o)})),i||e.model.change((e=>{e.removeSelectionAttribute(S)}))})),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(e,t){const o=this.editor,s=o.editing.view,i=o.model.schema.getAttributesWithProperty(e,"copyOnReplace",!0);o.execute("insertParagraph",{position:o.model.createPositionAt(e,t),attributes:i}),s.focus(),s.scrollToTheSelection()}_listenToIfEnabled(e,t,o,s){this.listenTo(e,t,((...e)=>{this.isEnabled&&o(...e)}),s)}_insertParagraphAccordingToFakeCaretPosition(){const e=this.editor.model.document.selection,t=O(e);if(!t)return!1;const o=e.getSelectedElement();return this._insertParagraph(o,t),!0}_enableTypeAroundUIInjection(){const e=this.editor,t=e.model.schema,o=e.locale.t,s={before:o("Insert paragraph before block"),after:o("Insert paragraph after block")};e.editing.downcastDispatcher.on("insert",((e,i,n)=>{const r=n.mapper.toViewElement(i.item);if(r&&M(r,i.item,t)){!function(e,t,o){const s=e.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(e){const o=this.toDomElement(e);return function(e,t){for(const o of W){const s=new a.Bj({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${o}`],title:t[o],"aria-hidden":"true"},children:[e.ownerDocument.importNode(q,!0)]});e.appendChild(s.render())}}(o,t),function(e){const t=new a.Bj({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});e.appendChild(t.render())}(o),o}));e.insert(e.createPositionAt(o,"end"),s)}(n.writer,s,r);r.getCustomProperty("widgetLabel").push((()=>this.isEnabled?o("Press Enter to type after or press Shift + Enter to type before the widget"):""))}}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const e=this.editor,t=e.model,o=t.document.selection,s=t.schema,i=e.editing.view;function n(e){return`ck-widget_type-around_show-fake-caret_${e}`}this._listenToIfEnabled(i.document,"arrowKey",((e,t)=>{this._handleArrowKeyPress(e,t)}),{context:[g,"$text"],priority:"high"}),this._listenToIfEnabled(o,"change:range",((t,o)=>{o.directChange&&e.model.change((e=>{e.removeSelectionAttribute(S)}))})),this._listenToIfEnabled(t.document,"change:data",(()=>{const t=o.getSelectedElement();if(t){if(M(e.editing.mapper.toViewElement(t),t,s))return}e.model.change((e=>{e.removeSelectionAttribute(S)}))})),this._listenToIfEnabled(e.editing.downcastDispatcher,"selection",((e,t,o)=>{const i=o.writer;if(this._currentFakeCaretModelElement){const e=o.mapper.toViewElement(this._currentFakeCaretModelElement);e&&(i.removeClass(W.map(n),e),this._currentFakeCaretModelElement=null)}const r=t.selection.getSelectedElement();if(!r)return;const a=o.mapper.toViewElement(r);if(!M(a,r,s))return;const c=O(t.selection);c&&(i.addClass(n(c),a),this._currentFakeCaretModelElement=r)})),this._listenToIfEnabled(e.ui.focusTracker,"change:isFocused",((t,o,s)=>{s||e.model.change((e=>{e.removeSelectionAttribute(S)}))}))}_handleArrowKeyPress(e,t){const o=this.editor,s=o.model,i=s.document.selection,n=s.schema,a=o.editing.view,c=t.keyCode,l=(0,r.HK)(c,o.locale.contentLanguageDirection),d=a.document.selection.getSelectedElement();let h;M(d,o.editing.mapper.toModelElement(d),n)?h=this._handleArrowKeyPressOnSelectedWidget(l):i.isCollapsed?h=this._handleArrowKeyPressWhenSelectionNextToAWidget(l):t.shiftKey||(h=this._handleArrowKeyPressWhenNonCollapsedSelection(l)),h&&(t.preventDefault(),e.stop())}_handleArrowKeyPressOnSelectedWidget(e){const t=this.editor.model,o=O(t.document.selection);return t.change((t=>{if(!o)return t.setSelectionAttribute(S,e?"after":"before"),!0;if(!(o===(e?"after":"before")))return t.removeSelectionAttribute(S),!0;return!1}))}_handleArrowKeyPressWhenSelectionNextToAWidget(e){const t=this.editor,o=t.model,s=o.schema,i=t.plugins.get("Widget"),n=i._getObjectElementNextToSelection(e);return!!M(t.editing.mapper.toViewElement(n),n,s)&&(o.change((t=>{i._setSelectionOverElement(n),t.setSelectionAttribute(S,e?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(e){const t=this.editor,o=t.model,s=o.schema,i=t.editing.mapper,n=o.document.selection,r=e?n.getLastPosition().nodeBefore:n.getFirstPosition().nodeAfter;return!!M(i.toViewElement(r),r,s)&&(o.change((t=>{t.setSelection(r,"on"),t.setSelectionAttribute(S,e?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const e=this.editor,t=e.editing.view;this._listenToIfEnabled(t.document,"mousedown",((o,s)=>{const i=s.domTarget.closest(".ck-widget__type-around__button");if(!i)return;const n=function(e){return e.classList.contains("ck-widget__type-around__button_before")?"before":"after"}(i),r=function(e,t){const o=e.closest(".ck-widget");return t.mapDomToView(o)}(i,t.domConverter),a=e.editing.mapper.toModelElement(r);this._insertParagraph(a,n),s.preventDefault(),o.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const e=this.editor,t=e.model.document.selection,o=e.editing.view;this._listenToIfEnabled(o.document,"enter",((o,s)=>{if("atTarget"!=o.eventPhase)return;const i=t.getSelectedElement(),n=e.editing.mapper.toViewElement(i),r=e.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:M(n,i,r)&&(this._insertParagraph(i,s.isSoft?"before":"after"),a=!0),a&&(s.preventDefault(),o.stop())}),{context:g})}_enableInsertingParagraphsOnTypingKeystroke(){const e=this.editor.editing.view.document;this._listenToIfEnabled(e,"insertText",((t,o)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(o.selection=e.selection)}),{priority:"high"}),r._K.isAndroid?this._listenToIfEnabled(e,"keydown",((e,t)=>{229==t.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()})):this._listenToIfEnabled(e,"compositionstart",(()=>{this._insertParagraphAccordingToFakeCaretPosition()}),{priority:"high"})}_enableDeleteIntegration(){const e=this.editor,t=e.editing.view,o=e.model,s=o.schema;this._listenToIfEnabled(t.document,"delete",((t,i)=>{if("atTarget"!=t.eventPhase)return;const n=O(o.document.selection);if(!n)return;const r=i.direction,a=o.document.selection.getSelectedElement(),c="forward"==r;if("before"===n===c)e.execute("delete",{selection:o.createSelection(a,"on")});else{const t=s.getNearestSelectionRange(o.createPositionAt(a,n),r);if(t)if(t.isCollapsed){const i=o.createSelection(t.start);if(o.modifySelection(i,{direction:r}),i.focus.isEqual(t.start)){const e=function(e,t){let o=t;for(const s of t.getAncestors({parentFirst:!0})){if(s.childCount>1||e.isLimit(s))break;o=s}return o}(s,t.start.parent);o.deleteContent(o.createSelection(e,"on"),{doNotAutoparagraph:!0})}else o.change((o=>{o.setSelection(t),e.execute(c?"deleteForward":"delete")}))}else o.change((o=>{o.setSelection(t),e.execute(c?"deleteForward":"delete")}))}i.preventDefault(),t.stop()}),{context:g})}_enableInsertContentIntegration(){const e=this.editor,t=this.editor.model,o=t.document.selection;this._listenToIfEnabled(e.model,"insertContent",((e,[s,i])=>{if(i&&!i.is("documentSelection"))return;const n=O(o);return n?(e.stop(),t.change((e=>{const i=o.getSelectedElement(),r=t.createPositionAt(i,n),a=e.createSelection(r),c=t.insertContent(s,a);return e.setSelection(a),c}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"insertObject",((e,o)=>{const[,s,i={}]=o;if(s&&!s.is("documentSelection"))return;const n=O(t);n&&(i.findOptimalPosition=n,o[3]=i)}),{priority:"high"})}_enableDeleteContentIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"deleteContent",((e,[o])=>{if(o&&!o.is("documentSelection"))return;O(t)&&e.stop()}),{priority:"high"})}}function Y(e){const t=e.model;return(o,s)=>{const i=s.keyCode==r.uP.arrowup,n=s.keyCode==r.uP.arrowdown,a=s.shiftKey,c=t.document.selection;if(!i&&!n)return;const l=n;if(a&&function(e,t){return!e.isCollapsed&&e.isBackward==t}(c,l))return;const d=function(e,t,o){const s=e.model;if(o){const e=t.isCollapsed?t.focus:t.getLastPosition(),o=G(s,e,"forward");if(!o)return null;const i=s.createRange(e,o),n=Z(s.schema,i,"backward");return n?s.createRange(e,n):null}{const e=t.isCollapsed?t.focus:t.getFirstPosition(),o=G(s,e,"backward");if(!o)return null;const i=s.createRange(o,e),n=Z(s.schema,i,"forward");return n?s.createRange(n,e):null}}(e,c,l);if(d){if(d.isCollapsed){if(c.isCollapsed)return;if(a)return}(d.isCollapsed||function(e,t,o){const s=e.model,i=e.view.domConverter;if(o){const e=s.createSelection(t.start);s.modifySelection(e),e.focus.isAtEnd||t.start.isEqual(e.focus)||(t=s.createRange(e.focus,t.end))}const n=e.mapper.toViewRange(t),a=i.viewRangeToDom(n),c=r.rw.getDomRangeRects(a);let l;for(const e of c)if(void 0!==l){if(Math.round(e.top)>=l)return!1;l=Math.max(l,Math.round(e.bottom))}else l=Math.round(e.bottom);return!0}(e,d,l))&&(t.change((e=>{const o=l?d.end:d.start;if(a){const s=t.createSelection(c.anchor);s.setFocus(o),e.setSelection(s)}else e.setSelection(o)})),o.stop(),s.preventDefault(),s.stopPropagation())}}}function G(e,t,o){const s=e.schema,i=e.createRangeIn(t.root),n="forward"==o?"elementStart":"elementEnd";for(const{previousPosition:e,item:r,type:a}of i.getWalker({startPosition:t,direction:o})){if(s.isLimit(r)&&!s.isInline(r))return e;if(a==n&&s.isBlock(r))return null}return null}function Z(e,t,o){const s="backward"==o?t.end:t.start;if(e.checkChild(s,"$text"))return s;for(const{nextPosition:s}of t.getWalker({direction:o}))if(e.checkChild(s,"$text"))return s;return null}var J=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widget.css"),X={attributes:{"data-cke":!0}};X.setAttributes=F(),X.insert=N().bind(null,"head"),X.domAPI=I(),X.insertStyleElement=z();R()(J.A,X);J.A&&J.A.locals&&J.A.locals;class Q extends s.k_{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get isOfficialPlugin(){return!0}static get requires(){return[K,n.ep]}init(){const e=this.editor,t=e.editing.view,o=t.document,s=e.t;this.editor.editing.downcastDispatcher.on("selection",((t,o,s)=>{const i=s.writer,n=o.selection;if(n.isCollapsed)return;const r=n.getSelectedElement();if(!r)return;const a=e.editing.mapper.toViewElement(r);g(a)&&s.consumable.consume(n,"selection")&&i.setSelection(i.createRangeOn(a),{fake:!0,label:y(a)})})),this.editor.editing.downcastDispatcher.on("selection",((e,t,o)=>{this._clearPreviouslySelectedWidgets(o.writer);const s=o.writer,i=s.document.selection;let n=null;for(const e of i.getRanges())for(const t of e){const e=t.item;g(e)&&!ee(e,n)&&(s.addClass(f,e),this._previouslySelected.add(e),n=e)}}),{priority:"low"}),t.addObserver(i.q$),this.listenTo(o,"mousedown",((...e)=>this._onMousedown(...e))),this.listenTo(o,"arrowKey",((...e)=>{this._handleSelectionChangeOnArrowKeyPress(...e)}),{context:[g,"$text"]}),this.listenTo(o,"arrowKey",((...e)=>{this._preventDefaultOnArrowKeyPress(...e)}),{context:"$root"}),this.listenTo(o,"arrowKey",Y(this.editor.editing),{context:"$text"}),this.listenTo(o,"delete",((e,t)=>{this._handleDelete("forward"==t.direction)&&(t.preventDefault(),e.stop())}),{context:"$root"}),this.listenTo(o,"tab",((e,t)=>{"atTarget"==e.eventPhase&&(t.shiftKey||this._selectFirstNestedEditable()&&(t.preventDefault(),e.stop()))}),{context:g,priority:"low"}),this.listenTo(o,"tab",((e,t)=>{t.shiftKey&&this._selectAncestorWidget()&&(t.preventDefault(),e.stop())}),{priority:"low"}),this.listenTo(o,"keydown",((e,t)=>{t.keystroke==r.uP.esc&&this._selectAncestorWidget()&&(t.preventDefault(),e.stop())}),{priority:"low"}),e.accessibility.addKeystrokeInfoGroup({id:"widget",label:s("Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"),keystrokes:[{label:s("Move focus from an editable area back to the parent widget"),keystroke:"Esc"},{label:s("Insert a new paragraph directly after a widget"),keystroke:"Enter"},{label:s("Insert a new paragraph directly before a widget"),keystroke:"Shift+Enter"},{label:s("Move the caret to allow typing directly before a widget"),keystroke:[["arrowup"],["arrowleft"]]},{label:s("Move the caret to allow typing directly after a widget"),keystroke:[["arrowdown"],["arrowright"]]}]})}_onMousedown(e,t){const o=this.editor,s=o.editing.view,i=s.document;let n=t.target;if(!n)return;if(t.domEvent.detail>=3)return void(this._selectBlockContent(n)&&t.preventDefault());if(!g(n)){const e=function(e){let t=e;for(;t;){if(t.is("editableElement")||g(t))return t;t=t.parent}return null}(n);if(!e)return;if(g(e))n=e;else{const e=function(e,t){const o=(0,r.jr)(t.domEvent);let s=null;s=o?e.domConverter.domRangeToView(o):e.createRange(e.createPositionAt(t.target,0));if(!s)return null;const i=s.start;if(!i.parent)return null;let n=i.parent;i.parent.is("editableElement")&&(i.isAtEnd&&i.nodeBefore?n=i.nodeBefore:i.isAtStart&&i.nodeAfter&&(n=i.nodeAfter));if(n.is("$text"))return n.parent;return n}(s,t);if(!e||!g(e))return;n=e}}r._K.isAndroid&&t.preventDefault(),i.isFocused||s.focus();const a=o.editing.mapper.toModelElement(n);this._setSelectionOverElement(a)}_selectBlockContent(e){const t=this.editor,o=t.model,s=t.editing.mapper,n=o.schema,r=s.findMappedViewAncestor(this.editor.editing.view.createPositionAt(e,0)),a=function(e,t){for(const o of e.getAncestors({includeSelf:!0,parentFirst:!0})){if(t.checkChild(o,"$text"))return o;if(t.isLimit(o)&&!t.isObject(o))break}return null}(s.toModelElement(r),o.schema);return!!a&&(o.change((e=>{const t=n.isLimit(a)?null:function(e,t){const o=new i.rU({startPosition:e});for(const{item:e}of o){if(t.isLimit(e)||!e.is("element"))return null;if(t.checkChild(e,"$text"))return e}return null}(e.createPositionAfter(a),n),o=e.createPositionAt(a,0),s=t?e.createPositionAt(t,0):e.createPositionAt(a,"end");e.setSelection(e.createRange(o,s))})),!0)}_handleSelectionChangeOnArrowKeyPress(e,t){const o=t.keyCode,s=this.editor.model,i=s.schema,n=s.document.selection,a=n.getSelectedElement(),c=(0,r.Kf)(o,this.editor.locale.contentLanguageDirection),l="down"==c||"right"==c,d="up"==c||"down"==c;if(a&&i.isObject(a)){const o=l?n.getLastPosition():n.getFirstPosition(),r=i.getNearestSelectionRange(o,l?"forward":"backward");return void(r&&(s.change((e=>{e.setSelection(r)})),t.preventDefault(),e.stop()))}if(!n.isCollapsed&&!t.shiftKey){const o=n.getFirstPosition(),r=n.getLastPosition(),a=o.nodeAfter,c=r.nodeBefore;return void((a&&i.isObject(a)||c&&i.isObject(c))&&(s.change((e=>{e.setSelection(l?r:o)})),t.preventDefault(),e.stop()))}if(!n.isCollapsed)return;const h=this._getObjectElementNextToSelection(l);if(h&&i.isObject(h)){if(i.isInline(h)&&d)return;this._setSelectionOverElement(h),t.preventDefault(),e.stop()}}_preventDefaultOnArrowKeyPress(e,t){const o=this.editor.model,s=o.schema,i=o.document.selection.getSelectedElement();i&&s.isObject(i)&&(t.preventDefault(),e.stop())}_handleDelete(e){const t=this.editor.model.document.selection;if(!this.editor.model.canEditAt(t))return;if(!t.isCollapsed)return;const o=this._getObjectElementNextToSelection(e);return o?(this.editor.model.change((e=>{let s=t.anchor.parent;for(;s.isEmpty;){const t=s;s=t.parent,e.remove(t)}this._setSelectionOverElement(o)})),!0):void 0}_setSelectionOverElement(e){this.editor.model.change((t=>{t.setSelection(t.createRangeOn(e))}))}_getObjectElementNextToSelection(e){const t=this.editor.model,o=t.schema,s=t.document.selection,i=t.createSelection(s);if(t.modifySelection(i,{direction:e?"forward":"backward"}),i.isEqual(s))return null;const n=e?i.focus.nodeBefore:i.focus.nodeAfter;return n&&o.isObject(n)?n:null}_clearPreviouslySelectedWidgets(e){for(const t of this._previouslySelected)e.removeClass(f,t);this._previouslySelected.clear()}_selectFirstNestedEditable(){const e=this.editor,t=this.editor.editing.view.document;for(const o of t.selection.getFirstRange().getItems())if(o.is("editableElement")){const t=e.editing.mapper.toModelElement(o);if(!t)continue;const s=e.model.createPositionAt(t,0),i=e.model.schema.getNearestSelectionRange(s,"forward");return e.model.change((e=>{e.setSelection(i)})),!0}return!1}_selectAncestorWidget(){const e=this.editor,t=e.editing.mapper,o=e.editing.view.document.selection.getFirstPosition().parent,s=(o.is("$text")?o.parent:o).findAncestor(g);if(!s)return!1;const i=t.toModelElement(s);return!!i&&(e.model.change((e=>{e.setSelection(i,"on")})),!0)}}function ee(e,t){return!!t&&Array.from(e.getAncestors()).includes(t)}class te extends s.k_{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[a.pU]}static get pluginName(){return"WidgetToolbarRepository"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(e.plugins.has("BalloonToolbar")){const t=e.plugins.get("BalloonToolbar");this.listenTo(t,"show",(t=>{(function(e){const t=e.getSelectedElement();return!(!t||!g(t))})(e.editing.view.document.selection)&&t.stop()}),{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",(()=>{this._updateToolbarsVisibility()})),this.listenTo(e.ui,"update",(()=>{this._updateToolbarsVisibility()})),this.listenTo(e.ui.focusTracker,"change:isFocused",(()=>{this._updateToolbarsVisibility()}),{priority:"low"})}destroy(){super.destroy();for(const e of this._toolbarDefinitions.values())e.view.destroy()}register(e,{ariaLabel:t,items:o,getRelatedElement:s,balloonClassName:i="ck-toolbar-container"}){if(!o.length)return void(0,r.FF)("widget-toolbar-no-items",{toolbarId:e});const n=this.editor,c=n.t,l=new a.X3(n.locale);if(l.ariaLabel=t||c("Widget toolbar"),this._toolbarDefinitions.has(e))throw new r.Yb("widget-toolbar-duplicated",this,{toolbarId:e});const d={view:l,getRelatedElement:s,balloonClassName:i,itemsConfig:o,initialized:!1};n.ui.addToolbar(l,{isContextual:!0,beforeFocus:()=>{const e=s(n.editing.view.document.selection);e&&this._showToolbar(d,e)},afterBlur:()=>{this._hideToolbar(d)}}),this._toolbarDefinitions.set(e,d)}_updateToolbarsVisibility(){let e=0,t=null,o=null;for(const s of this._toolbarDefinitions.values()){const i=s.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&i)if(this.editor.ui.focusTracker.isFocused){const n=i.getAncestors().length;n>e&&(e=n,t=i,o=s)}else this._isToolbarVisible(s)&&this._hideToolbar(s);else this._isToolbarInBalloon(s)&&this._hideToolbar(s)}o&&this._showToolbar(o,t)}_hideToolbar(e){this._balloon.remove(e.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(e,t){this._isToolbarVisible(e)?oe(this.editor,t):this._isToolbarInBalloon(e)||(e.initialized||(e.initialized=!0,e.view.fillFromConfig(e.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:e.view,position:se(this.editor,t),balloonClassName:e.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",(()=>{for(const e of this._toolbarDefinitions.values())if(this._isToolbarVisible(e)){const t=e.getRelatedElement(this.editor.editing.view.document.selection);oe(this.editor,t)}})))}_isToolbarVisible(e){return this._balloon.visibleView===e.view}_isToolbarInBalloon(e){return this._balloon.hasView(e.view)}}function oe(e,t){const o=e.plugins.get("ContextualBalloon"),s=se(e,t);o.updatePosition(s)}function se(e,t){const o=e.editing.view,s=a.Jr.defaultPositions;return{target:o.domConverter.mapViewToDom(t),positions:[s.northArrowSouth,s.northArrowSouthWest,s.northArrowSouthEast,s.southArrowNorth,s.southArrowNorthWest,s.southArrowNorthEast,s.viewportStickyNorth]}}class ie extends((0,r.VM)()){constructor(e){super(),this.set("activeHandlePosition",null),this.set("proposedWidthPercents",null),this.set("proposedWidth",null),this.set("proposedHeight",null),this.set("proposedHandleHostWidth",null),this.set("proposedHandleHostHeight",null),this._options=e,this._referenceCoordinates=null}get originalWidth(){return this._originalWidth}get originalHeight(){return this._originalHeight}get originalWidthPercents(){return this._originalWidthPercents}get aspectRatio(){return this._aspectRatio}begin(e,t,o){const s=new r.rw(t);this.activeHandlePosition=function(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const o of t)if(e.classList.contains(ne(o)))return o}(e),this._referenceCoordinates=function(e,t){const o=new r.rw(e),s=t.split("-"),i={x:"right"==s[1]?o.right:o.left,y:"bottom"==s[0]?o.bottom:o.top};return i.x+=e.ownerDocument.defaultView.scrollX,i.y+=e.ownerDocument.defaultView.scrollY,i}(t,function(e){const t=e.split("-"),o={top:"bottom",bottom:"top",left:"right",right:"left"};return`${o[t[0]]}-${o[t[1]]}`}(this.activeHandlePosition)),this._originalWidth=s.width,this._originalHeight=s.height,this._aspectRatio=s.width/s.height;const i=o.style.width;i&&i.match(/^\d+(\.\d*)?%$/)?this._originalWidthPercents=parseFloat(i):this._originalWidthPercents=T(o,s)}update(e){this.proposedWidth=e.width,this.proposedHeight=e.height,this.proposedWidthPercents=e.widthPercents,this.proposedHandleHostWidth=e.handleHostWidth,this.proposedHandleHostHeight=e.handleHostHeight}}function ne(e){return`ck-widget__resizer__handle-${e}`}class re extends a.Ss{constructor(){super();const e=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-size-view",e.to("_viewPosition",(e=>e?`ck-orientation-${e}`:""))],style:{display:e.if("_isVisible","none",(e=>!e))}},children:[{text:e.to("_label")}]})}_bindToState(e,t){this.bind("_isVisible").to(t,"proposedWidth",t,"proposedHeight",((e,t)=>null!==e&&null!==t)),this.bind("_label").to(t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",t,"proposedWidthPercents",((t,o,s)=>"px"===e.unit?`${t}×${o}`:`${s}%`)),this.bind("_viewPosition").to(t,"activeHandlePosition",t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",((e,t,o)=>t<50||o<50?"above-center":e))}_dismiss(){this.unbind(),this._isVisible=!1}}class ae extends((0,r.VM)()){constructor(e){super(),this._viewResizerWrapper=null,this._options=e,this.set("isEnabled",!0),this.set("isSelected",!1),this.bind("isVisible").to(this,"isEnabled",this,"isSelected",((e,t)=>e&&t)),this.decorate("begin"),this.decorate("cancel"),this.decorate("commit"),this.decorate("updateSize"),this.on("commit",(e=>{this.state.proposedWidth||this.state.proposedWidthPercents||(this._cleanup(),e.stop())}),{priority:"high"})}get state(){return this._state}show(){this._options.editor.editing.view.change((e=>{e.removeClass("ck-hidden",this._viewResizerWrapper)}))}hide(){this._options.editor.editing.view.change((e=>{e.addClass("ck-hidden",this._viewResizerWrapper)}))}attach(){const e=this,t=this._options.viewElement;this._options.editor.editing.view.change((o=>{const s=o.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},(function(t){const o=this.toDomElement(t);return e._appendHandles(o),e._appendSizeUI(o),o}));o.insert(o.createPositionAt(t,"end"),s),o.addClass("ck-widget_with-resizer",t),this._viewResizerWrapper=s,this.isVisible||this.hide()})),this.on("change:isVisible",(()=>{this.isVisible?(this.show(),this.redraw()):this.hide()}))}begin(e){this._state=new ie(this._options),this._sizeView._bindToState(this._options,this.state),this._initialViewWidth=this._options.viewElement.getStyle("width"),this.state.begin(e,this._getHandleHost(),this._getResizeHost())}updateSize(e){const t=this._proposeNewSize(e);this._options.editor.editing.view.change((e=>{const o=this._options.unit||"%",s=("%"===o?t.widthPercents:t.width)+o;e.setStyle("width",s,this._options.viewElement)}));const o=this._getHandleHost(),s=new r.rw(o),i=Math.round(s.width),n=Math.round(s.height),a=new r.rw(o);t.width=Math.round(a.width),t.height=Math.round(a.height),this.redraw(s),this.state.update({...t,handleHostWidth:i,handleHostHeight:n})}commit(){const e=this._options.unit||"%",t=("%"===e?this.state.proposedWidthPercents:this.state.proposedWidth)+e;this._options.editor.editing.view.change((()=>{this._cleanup(),this._options.onCommit(t)}))}cancel(){this._cleanup()}destroy(){this.cancel()}redraw(e){const t=this._domResizerWrapper;if(!((o=t)&&o.ownerDocument&&o.ownerDocument.contains(o)))return;var o;const s=t.parentElement,i=this._getHandleHost(),n=this._viewResizerWrapper,a=[n.getStyle("width"),n.getStyle("height"),n.getStyle("left"),n.getStyle("top")];let c;if(s.isSameNode(i)){const t=e||new r.rw(i);c=[t.width+"px",t.height+"px",void 0,void 0]}else c=[i.offsetWidth+"px",i.offsetHeight+"px",i.offsetLeft+"px",i.offsetTop+"px"];"same"!==(0,r.ww)(a,c)&&this._options.editor.editing.view.change((e=>{e.setStyle({width:c[0],height:c[1],left:c[2],top:c[3]},n)}))}containsHandle(e){return this._domResizerWrapper.contains(e)}static isResizeHandle(e){return e.classList.contains("ck-widget__resizer__handle")}_cleanup(){this._sizeView._dismiss();this._options.editor.editing.view.change((e=>{e.setStyle("width",this._initialViewWidth,this._options.viewElement)}))}_proposeNewSize(e){const t=this.state,o={x:(s=e).pageX,y:s.pageY};var s;const i=!this._options.isCentered||this._options.isCentered(this),n={x:t._referenceCoordinates.x-(o.x+t.originalWidth),y:o.y-t.originalHeight-t._referenceCoordinates.y};i&&t.activeHandlePosition.endsWith("-right")&&(n.x=o.x-(t._referenceCoordinates.x+t.originalWidth)),i&&(n.x*=2);let r=Math.abs(t.originalWidth+n.x),a=Math.abs(t.originalHeight+n.y);return"width"==(r/t.aspectRatio>a?"width":"height")?a=r/t.aspectRatio:r=a*t.aspectRatio,{width:Math.round(r),height:Math.round(a),widthPercents:Math.min(Math.round(t.originalWidthPercents/t.originalWidth*r*100)/100,100)}}_getResizeHost(){const e=this._domResizerWrapper.parentElement;return this._options.getResizeHost(e)}_getHandleHost(){const e=this._domResizerWrapper.parentElement;return this._options.getHandleHost(e)}get _domResizerWrapper(){return this._options.editor.editing.view.domConverter.mapViewToDom(this._viewResizerWrapper)}_appendHandles(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const s of t)e.appendChild(new a.Bj({tag:"div",attributes:{class:"ck-widget__resizer__handle "+(o=s,`ck-widget__resizer__handle-${o}`)}}).render());var o}_appendSizeUI(e){this._sizeView=new re,this._sizeView.render(),e.appendChild(this._sizeView.element)}}var ce=o("./node_modules/lodash-es/throttle.js"),le=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-widget/theme/widgetresize.css"),de={attributes:{"data-cke":!0}};de.setAttributes=F(),de.insert=N().bind(null,"head"),de.domAPI=I(),de.insertStyleElement=z();R()(le.A,de);le.A&&le.A.locals&&le.A.locals;class he extends s.k_{constructor(){super(...arguments),this._resizers=new Map}static get pluginName(){return"WidgetResize"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.editing,t=r.Sf.window.document;this.set("selectedResizer",null),this.set("_activeResizer",null),e.view.addObserver(i.q$),this._observer=new((0,r.c5)()),this.listenTo(e.view.document,"mousedown",this._mouseDownListener.bind(this),{priority:"high"}),this._observer.listenTo(t,"mousemove",this._mouseMoveListener.bind(this)),this._observer.listenTo(t,"mouseup",this._mouseUpListener.bind(this)),this._redrawSelectedResizerThrottled=(0,ce.A)((()=>this.redrawSelectedResizer()),200),this.editor.ui.on("update",this._redrawSelectedResizerThrottled),this.editor.model.document.on("change",(()=>{for(const[e,t]of this._resizers)e.isAttached()||(this._resizers.delete(e),t.destroy())}),{priority:"lowest"}),this._observer.listenTo(r.Sf.window,"resize",this._redrawSelectedResizerThrottled);const o=this.editor.editing.view.document.selection;o.on("change",(()=>{const e=o.getSelectedElement(),t=this.getResizerByViewElement(e)||null;t?this.select(t):this.deselect()}))}redrawSelectedResizer(){this.selectedResizer&&this.selectedResizer.isVisible&&this.selectedResizer.redraw()}destroy(){super.destroy(),this._observer.stopListening();for(const e of this._resizers.values())e.destroy();this._redrawSelectedResizerThrottled.cancel()}select(e){this.deselect(),this.selectedResizer=e,this.selectedResizer.isSelected=!0}deselect(){this.selectedResizer&&(this.selectedResizer.isSelected=!1),this.selectedResizer=null}attachTo(e){const t=new ae(e),o=this.editor.plugins;if(t.attach(),o.has("WidgetToolbarRepository")){const e=o.get("WidgetToolbarRepository");t.on("begin",(()=>{e.forceDisabled("resize")}),{priority:"lowest"}),t.on("cancel",(()=>{e.clearForceDisabled("resize")}),{priority:"highest"}),t.on("commit",(()=>{e.clearForceDisabled("resize")}),{priority:"highest"})}this._resizers.set(e.viewElement,t);const s=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(s)==t&&this.select(t),t}getResizerByViewElement(e){return this._resizers.get(e)}_getResizerByHandle(e){for(const t of this._resizers.values())if(t.containsHandle(e))return t}_mouseDownListener(e,t){const o=t.domTarget;ae.isResizeHandle(o)&&(this._activeResizer=this._getResizerByHandle(o)||null,this._activeResizer&&(this._activeResizer.begin(o),e.stop(),t.preventDefault()))}_mouseMoveListener(e,t){this._activeResizer&&this._activeResizer.updateSize(t)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}}},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":e=>{"use strict";var t=[];function o(e){for(var o=-1,s=0;s<t.length;s++)if(t[s].identifier===e){o=s;break}return o}function s(e,s){for(var n={},r=[],a=0;a<e.length;a++){var c=e[a],l=s.base?c[0]+s.base:c[0],d=n[l]||0,h="".concat(l," ").concat(d);n[l]=d+1;var u=o(h),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=i(m,s);s.byIndex=a,t.splice(a,0,{identifier:h,updater:p,references:1})}r.push(h)}return r}function i(e,t){var o=t.domAPI(t);o.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,i){var n=s(e=e||[],i=i||{});return function(e){e=e||[];for(var r=0;r<n.length;r++){var a=o(n[r]);t[a].references--}for(var c=s(e,i),l=0;l<n.length;l++){var d=o(n[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}n=c}}},"./node_modules/style-loader/dist/runtime/insertBySelector.js":e=>{"use strict";var t={};e.exports=function(e,o){var s=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(o)}},"./node_modules/style-loader/dist/runtime/insertStyleElement.js":e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"./node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js":e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}},"./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js":e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function s(e,t,s,i){var n;if(s)n="";else{n="",i.supports&&(n+="@supports (".concat(i.supports,") {")),i.media&&(n+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(n+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),n+=i.css,r&&(n+="}"),i.media&&(n+="}"),i.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,n);else{var a=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var i={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=i.singletonCounter++,o=i.singleton||(i.singleton=e.insertStyleElement(e));return{update:function(e){s(o,t,!1,e)},remove:function(e){s(o,t,!0,e)}}}},"./src/clipboard.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Clipboard:()=>we,ClipboardMarkersUtils:()=>$,ClipboardPipeline:()=>W,DragDrop:()=>fe,DragDropBlockToolbar:()=>oe,DragDropTarget:()=>Z,PastePlainText:()=>ke,plainTextToHtml:()=>a});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts"),n=o("./packages/ckeditor5-engine/src/index.ts");class r extends n.$A{constructor(e){super(e),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const t=this.document;function o(e){return(o,s)=>{s.preventDefault();const n=s.dropRange?[s.dropRange]:null,r=new i.vY(t,e);t.fire(r,{dataTransfer:s.dataTransfer,method:o.name,targetRanges:n,target:s.target,domEvent:s.domEvent}),r.stop.called&&s.stopPropagation()}}this.listenTo(t,"paste",o("clipboardInput"),{priority:"low"}),this.listenTo(t,"drop",o("clipboardInput"),{priority:"low"}),this.listenTo(t,"dragover",o("dragging"),{priority:"low"})}onDomEvent(e){const t="clipboardData"in e?e.clipboardData:e.dataTransfer,o="drop"==e.type||"paste"==e.type,s={dataTransfer:new n._v(t,{cacheFiles:o})};if("drop"==e.type||"dragover"==e.type){const t=(0,i.jr)(e);s.dropRange=t&&this.view.domConverter.domRangeToView(t)}this.fire(e.type,e,s)}}function a(e){return((e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/\t/g," ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g," ")).includes("</p><p>")||e.includes("<br>"))&&(e=`<p>${e}</p>`),e}const c=["figcaption","li"],l=["ol","ul"];function d(e){if(e.is("$text")||e.is("$textProxy"))return e.data;if(e.is("element","img")&&e.hasAttribute("alt"))return e.getAttribute("alt");if(e.is("element","br"))return"\n";let t="",o=null;for(const s of e.getChildren())t+=h(s,o)+d(s),o=s;return t}function h(e,t){return t?e.is("element","li")&&!e.isEmpty&&e.getChild(0).is("containerElement")||l.includes(e.name)&&l.includes(t.name)?"\n\n":e.is("containerElement")||t.is("containerElement")?c.includes(e.name)||c.includes(t.name)?"\n":e.is("element")&&e.getCustomProperty("dataPipeline:transparentRendering")||t.is("element")&&t.getCustomProperty("dataPipeline:transparentRendering")?"":"\n\n":"":""}var u=o("./node_modules/lodash-es/_baseAssignValue.js"),m=o("./node_modules/lodash-es/_baseFor.js"),p=o("./node_modules/lodash-es/keys.js");const f=function(e,t){return e&&(0,m.A)(e,t,p.A)};var g=o("./node_modules/lodash-es/_Stack.js"),_=o("./node_modules/lodash-es/_baseIsEqual.js");const b=function(e,t,o,s){var i=o.length,n=i,r=!s;if(null==e)return!n;for(e=Object(e);i--;){var a=o[i];if(r&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<n;){var c=(a=o[i])[0],l=e[c],d=a[1];if(r&&a[2]){if(void 0===l&&!(c in e))return!1}else{var h=new g.A;if(s)var u=s(l,d,c,e,t,h);if(!(void 0===u?(0,_.A)(d,l,3,s,h):u))return!1}}return!0};var k=o("./node_modules/lodash-es/isObject.js");const w=function(e){return e==e&&!(0,k.A)(e)};const v=function(e){for(var t=(0,p.A)(e),o=t.length;o--;){var s=t[o],i=e[s];t[o]=[s,i,w(i)]}return t};const y=function(e,t){return function(o){return null!=o&&(o[e]===t&&(void 0!==t||e in Object(o)))}};const A=function(e){var t=v(e);return 1==t.length&&t[0][2]?y(t[0][0],t[0][1]):function(o){return o===e||b(o,e,t)}};var x=o("./node_modules/lodash-es/get.js");const C=function(e,t){return null!=e&&t in Object(e)};var E=o("./node_modules/lodash-es/_castPath.js"),P=o("./node_modules/lodash-es/isArguments.js"),T=o("./node_modules/lodash-es/isArray.js"),S=o("./node_modules/lodash-es/_isIndex.js"),M=o("./node_modules/lodash-es/isLength.js"),O=o("./node_modules/lodash-es/_toKey.js");const V=function(e,t,o){for(var s=-1,i=(t=(0,E.A)(t,e)).length,n=!1;++s<i;){var r=(0,O.A)(t[s]);if(!(n=null!=e&&o(e,r)))break;e=e[r]}return n||++s!=i?n:!!(i=null==e?0:e.length)&&(0,M.A)(i)&&(0,S.A)(r,i)&&((0,T.A)(e)||(0,P.A)(e))};const R=function(e,t){return null!=e&&V(e,t,C)};var j=o("./node_modules/lodash-es/_isKey.js");const I=function(e,t){return(0,j.A)(e)&&w(t)?y((0,O.A)(e),t):function(o){var s=(0,x.A)(o,e);return void 0===s&&s===t?R(o,e):(0,_.A)(t,s,3)}};var B=o("./node_modules/lodash-es/identity.js");const N=function(e){return function(t){return null==t?void 0:t[e]}};var D=o("./node_modules/lodash-es/_baseGet.js");const F=function(e){return function(t){return(0,D.A)(t,e)}};const L=function(e){return(0,j.A)(e)?N((0,O.A)(e)):F(e)};const z=function(e){return"function"==typeof e?e:null==e?B.A:"object"==typeof e?(0,T.A)(e)?I(e[0],e[1]):A(e):L(e)};const H=function(e,t){var o={};return t=z(t,3),f(e,(function(e,s,i){(0,u.A)(o,s,t(e,s,i))})),o};class $ extends s.k_{constructor(){super(...arguments),this._markersToCopy=new Map}static get pluginName(){return"ClipboardMarkersUtils"}static get isOfficialPlugin(){return!0}_registerMarkerToCopy(e,t){this._markersToCopy.set(e,t)}_copySelectedFragmentWithMarkers(e,t,o=e=>e.model.getSelectedContent(e.model.document.selection)){return this.editor.model.change((s=>{const i=s.model.document.selection;s.setSelection(t);const n=this._insertFakeMarkersIntoSelection(s,s.model.document.selection,e),r=o(s),a=this._removeFakeMarkersInsideElement(s,r);for(const[e,t]of Object.entries(n)){a[e]||=s.createRangeIn(r);for(const e of t)s.remove(e)}r.markers.clear();for(const[e,t]of Object.entries(a))r.markers.set(e,t);return s.setSelection(i),r}))}_pasteMarkersIntoTransformedElement(e,t){const o=this._getPasteMarkersFromRangeMap(e);return this.editor.model.change((e=>{const s=this._insertFakeMarkersElements(e,o),i=t(e),n=this._removeFakeMarkersInsideElement(e,i);for(const t of Object.values(s).flat())e.remove(t);for(const[t,o]of Object.entries(n))e.model.markers.has(t)||e.addMarker(t,{usingOperation:!0,affectsData:!0,range:o});return i}))}_pasteFragmentWithMarkers(e){const t=this._getPasteMarkersFromRangeMap(e.markers);e.markers.clear();for(const o of t)e.markers.set(o.name,o.range);return this.editor.model.insertContent(e)}_forceMarkersCopy(e,t,o={allowedActions:"all",copyPartiallySelected:!0,duplicateOnPaste:!0}){const s=this._markersToCopy.get(e);this._markersToCopy.set(e,o),t(),s?this._markersToCopy.set(e,s):this._markersToCopy.delete(e)}_isMarkerCopyable(e,t){const o=this._getMarkerClipboardConfig(e);if(!o)return!1;if(!t)return!0;const{allowedActions:s}=o;return"all"===s||s.includes(t)}_hasMarkerConfiguration(e){return!!this._getMarkerClipboardConfig(e)}_getMarkerClipboardConfig(e){const[t]=e.split(":");return this._markersToCopy.get(t)||null}_insertFakeMarkersIntoSelection(e,t,o){const s=this._getCopyableMarkersFromSelection(e,t,o);return this._insertFakeMarkersElements(e,s)}_getCopyableMarkersFromSelection(e,t,o){const s=Array.from(t.getRanges()),i=new Set(s.flatMap((t=>Array.from(e.model.markers.getMarkersIntersectingRange(t)))));return Array.from(i).filter((e=>{if(!this._isMarkerCopyable(e.name,o))return!1;const{copyPartiallySelected:t}=this._getMarkerClipboardConfig(e.name);if(!t){const t=e.getRange();return s.some((e=>e.containsRange(t,!0)))}return!0})).map((e=>({name:"dragstart"===o?this._getUniqueMarkerName(e.name):e.name,range:e.getRange()})))}_getPasteMarkersFromRangeMap(e,t=null){const{model:o}=this.editor;return(e instanceof Map?Array.from(e.entries()):Object.entries(e)).flatMap((([e,s])=>{if(!this._hasMarkerConfiguration(e))return[{name:e,range:s}];if(this._isMarkerCopyable(e,t)){const t=this._getMarkerClipboardConfig(e),i=o.markers.has(e)&&"$graveyard"===o.markers.get(e).getRange().root.rootName;return(t.duplicateOnPaste||i)&&(e=this._getUniqueMarkerName(e)),[{name:e,range:s}]}return[]}))}_insertFakeMarkersElements(e,t){const o={},s=t.flatMap((e=>{const{start:t,end:o}=e.range;return[{position:t,marker:e,type:"start"},{position:o,marker:e,type:"end"}]})).sort((({position:e},{position:t})=>e.isBefore(t)?1:-1));for(const{position:t,marker:i,type:n}of s){const s=e.createElement("$marker",{"data-name":i.name,"data-type":n});o[i.name]||(o[i.name]=[]),o[i.name].push(s),e.insert(s,t)}return o}_removeFakeMarkersInsideElement(e,t){const o=this._getAllFakeMarkersFromElement(e,t).reduce(((t,o)=>{const s=o.markerElement&&e.createPositionBefore(o.markerElement);let i=t[o.name],n=!1;if(i&&i.start&&i.end){this._getMarkerClipboardConfig(o.name).duplicateOnPaste?t[this._getUniqueMarkerName(o.name)]=t[o.name]:n=!0,i=null}return n||(t[o.name]={...i,[o.type]:s}),o.markerElement&&e.remove(o.markerElement),t}),{});return H(o,(o=>new n.Q6(o.start||e.createPositionFromPath(t,[0]),o.end||e.createPositionAt(t,"end"))))}_getAllFakeMarkersFromElement(e,t){const o=Array.from(e.createRangeIn(t)).flatMap((({item:e})=>{if(!e.is("element","$marker"))return[];const t=e.getAttribute("data-name"),o=e.getAttribute("data-type");return[{markerElement:e,name:t,type:o}]})),s=[],i=[];for(const e of o){if("end"===e.type){o.some((t=>t.name===e.name&&"start"===t.type))||s.push({markerElement:null,name:e.name,type:"start"})}if("start"===e.type){o.some((t=>t.name===e.name&&"end"===t.type))||i.unshift({markerElement:null,name:e.name,type:"end"})}}return[...s,...o,...i]}_getUniqueMarkerName(e){const t=e.split(":"),o=(0,i.Ld)().substring(1,6);return 3===t.length?`${t.slice(0,2).join(":")}:${o}`:`${t.join(":")}:${o}`}}class W extends s.k_{static get pluginName(){return"ClipboardPipeline"}static get isOfficialPlugin(){return!0}static get requires(){return[$]}init(){this.editor.editing.view.addObserver(r),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(e,t,o){const s=this.editor.plugins.get("ClipboardMarkersUtils");this.editor.model.enqueueChange({isUndoable:"cut"===o},(()=>{const i=s._copySelectedFragmentWithMarkers(o,t);this.fire("outputTransformation",{dataTransfer:e,content:i,method:o})}))}_setupPasteDrop(){const e=this.editor,t=e.model,o=e.editing.view,s=o.document,n=this.editor.plugins.get("ClipboardMarkersUtils");this.listenTo(s,"clipboardInput",((t,o)=>{"paste"!=o.method||e.model.canEditAt(e.model.document.selection)||t.stop()}),{priority:"highest"}),this.listenTo(s,"clipboardInput",((e,t)=>{const s=t.dataTransfer;let n;if(t.content)n=t.content;else{let e="";s.getData("text/html")?e=function(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,((e,t)=>1==t.length?" ":t)).replace(/<!--[\s\S]*?-->/g,"")}(s.getData("text/html")):s.getData("text/plain")&&(e=a(s.getData("text/plain"))),n=this.editor.data.htmlProcessor.toView(e)}const r=new i.vY(this,"inputTransformation");this.fire(r,{content:n,dataTransfer:s,targetRanges:t.targetRanges,method:t.method}),r.stop.called&&e.stop(),o.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((e,o)=>{if(o.content.isEmpty)return;const s=this.editor.data.toModel(o.content,"$clipboardHolder");0!=s.childCount&&(e.stop(),t.change((()=>{this.fire("contentInsertion",{content:s,method:o.method,dataTransfer:o.dataTransfer,targetRanges:o.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((e,t)=>{t.resultRange=n._pasteFragmentWithMarkers(t.content)}),{priority:"low"})}_setupCopyCut(){const e=this.editor,t=e.model.document,o=e.editing.view.document,s=(e,o)=>{const s=o.dataTransfer;o.preventDefault(),this._fireOutputTransformationEvent(s,t.selection,e.name)};this.listenTo(o,"copy",s,{priority:"low"}),this.listenTo(o,"cut",((t,o)=>{e.model.canEditAt(e.model.document.selection)?s(t,o):o.preventDefault()}),{priority:"low"}),this.listenTo(this,"outputTransformation",((t,s)=>{const i=e.data.toView(s.content);o.fire("clipboardOutput",{dataTransfer:s.dataTransfer,content:i,method:s.method})}),{priority:"low"}),this.listenTo(o,"clipboardOutput",((o,s)=>{s.content.isEmpty||(s.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(s.content)),s.dataTransfer.setData("text/plain",d(s.content))),"cut"==s.method&&e.model.deleteContent(t.selection)}),{priority:"low"})}}var q=o("./packages/ckeditor5-widget/src/index.ts"),U=o("./packages/ckeditor5-ui/src/index.ts");const K=(0,i.To)("px");class Y extends U.Ss{constructor(){super();const e=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",e.if("isVisible","ck-hidden",(e=>!e))],style:{left:e.to("left",(e=>K(e))),top:e.to("top",(e=>K(e))),width:e.to("width",(e=>K(e)))}}})}}var G=o("./node_modules/lodash-es/throttle.js");class Z extends s.k_{constructor(){super(...arguments),this.removeDropMarkerDelayed=(0,i.cb)((()=>this.removeDropMarker()),40),this._updateDropMarkerThrottled=(0,G.A)((e=>this._updateDropMarker(e)),40),this._reconvertMarkerThrottled=(0,G.A)((()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")}),0),this._dropTargetLineView=new Y,this._domEmitter=new((0,i.c5)()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}static get isOfficialPlugin(){return!0}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:e}of this._scrollables.values())e.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(e,t,o,s,i,n){this.removeDropMarkerDelayed.cancel();const r=J(this.editor,e,t,o,s,i,n);if(r)return n&&n.containsRange(r)?this.removeDropMarker():void this._updateDropMarkerThrottled(r)}getFinalDropRange(e,t,o,s,i,n){const r=J(this.editor,e,t,o,s,i,n);return this.removeDropMarker(),r}removeDropMarker(){const e=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,e.markers.has("drop-target")&&e.change((e=>{e.removeMarker("drop-target")}))}_setupDropMarker(){const e=this.editor;e.ui.view.body.add(this._dropTargetLineView),e.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),e.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(t,{writer:o})=>{if(e.model.schema.checkChild(t.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(o);t.markerRange.isCollapsed?this._updateDropTargetLine(t.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(e){const t=this.editor,o=t.model.markers;t.model.change((t=>{o.has("drop-target")?o.get("drop-target").getRange().isEqual(e)||t.updateMarker("drop-target",{range:e}):t.addMarker("drop-target",{range:e,usingOperation:!1,affectsData:!1})}))}_createDropTargetPosition(e){return e.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(e){const t=this.toDomElement(e);return t.append("â ",e.createElement("span"),"â "),t}))}_updateDropTargetLine(e){const t=this.editor.editing,o=e.start.nodeBefore,s=e.start.nodeAfter,n=e.start.parent,r=o?t.mapper.toViewElement(o):null,a=r?t.view.domConverter.mapViewToDom(r):null,c=s?t.mapper.toViewElement(s):null,l=c?t.view.domConverter.mapViewToDom(c):null,d=t.mapper.toViewElement(n);if(!d)return;const h=t.view.domConverter.mapViewToDom(d),u=this._getScrollableRect(d),{scrollX:m,scrollY:p}=i.Sf.window,f=a?new i.rw(a):null,g=l?new i.rw(l):null,_=new i.rw(h).excludeScrollbarsAndBorders(),b=f?f.bottom:_.top,k=g?g.top:_.bottom,w=i.Sf.window.getComputedStyle(h),v=b<=k?(b+k)/2:k;if(u.top<v&&v<u.bottom){const e=_.left+parseFloat(w.paddingLeft),t=_.right-parseFloat(w.paddingRight),o=Math.max(e+m,u.left),s=Math.min(t+m,u.right);this._dropTargetLineView.set({isVisible:!0,left:o,top:v+p,width:s-o})}else this._dropTargetLineView.isVisible=!1}_getScrollableRect(e){const t=e.root.rootName;let o;if(this._scrollables.has(t))o=this._scrollables.get(t).domElement;else{o=function(e){let t=e;do{t=t.parentElement;const e=i.Sf.window.getComputedStyle(t).overflowY;if("auto"==e||"scroll"==e)break}while("BODY"!=t.tagName);return t}(this.editor.editing.view.domConverter.mapViewToDom(e)),this._domEmitter.listenTo(o,"scroll",this._reconvertMarkerThrottled,{usePassive:!0});const s=new i.tb(o,this._reconvertMarkerThrottled);this._scrollables.set(t,{domElement:o,resizeObserver:s})}return new i.rw(o).excludeScrollbarsAndBorders()}}function J(e,t,o,s,i,n,r){const a=e.model,c=e.editing.mapper;let l=te(e,t);for(;l;){if(!n)if(a.schema.checkChild(l,"$text")){if(o){const t=o[0].start,n=c.toModelPosition(t);if(!r||Array.from(r.getItems()).every((e=>a.schema.checkChild(n,e)))){if(a.schema.checkChild(n,"$text"))return a.createRange(n);if(t)return Q(e,te(e,t.parent),s,i)}}}else if(a.schema.isInline(l))return Q(e,l,s,i);if(a.schema.isBlock(l))return Q(e,l,s,i);if(a.schema.checkChild(l,"$block")){const t=Array.from(l.getChildren()).filter((t=>t.is("element")&&!X(e,t)));let o=0,n=t.length;if(0==n)return a.createRange(a.createPositionAt(l,"end"));for(;o<n-1;){const r=Math.floor((o+n)/2);"before"==ee(e,t[r],s,i)?n=r:o=r}return Q(e,t[o],s,i)}l=l.parent}return null}function X(e,t){const o=e.editing.mapper,s=e.editing.view.domConverter,n=o.toViewElement(t);if(!n)return!0;const r=s.mapViewToDom(n);return"none"!=i.Sf.window.getComputedStyle(r).float}function Q(e,t,o,s){const i=e.model;return i.createRange(i.createPositionAt(t,ee(e,t,o,s)))}function ee(e,t,o,s){const n=e.editing.mapper,r=e.editing.view.domConverter,a=n.toViewElement(t),c=r.mapViewToDom(a),l=new i.rw(c);return e.model.schema.isInline(t)?o<(l.left+l.right)/2?"before":"after":s<(l.top+l.bottom)/2?"before":"after"}function te(e,t){const o=e.editing.mapper,s=e.editing.view,i=o.toModelElement(t);if(i)return i;const n=s.createPositionBefore(t),r=o.findMappedViewAncestor(n);return o.toModelElement(r)}class oe extends s.k_{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new((0,i.c5)())}static get pluginName(){return"DragDropBlockToolbar"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(this.listenTo(e,"change:isReadOnly",((e,t,o)=>{o?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")})),i._K.isAndroid&&this.forceDisabled("noAndroidSupport"),e.plugins.has("BlockToolbar")){const t=e.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(t,"dragstart",((e,t)=>this._handleBlockDragStart(t))),this._domEmitter.listenTo(i.Sf.document,"dragover",((e,t)=>this._handleBlockDragging(t))),this._domEmitter.listenTo(i.Sf.document,"drop",((e,t)=>this._handleBlockDragging(t))),this._domEmitter.listenTo(i.Sf.document,"dragend",(()=>this._handleBlockDragEnd()),{useCapture:!0}),this.isEnabled&&t.setAttribute("draggable","true"),this.on("change:isEnabled",((e,o,s)=>{t.setAttribute("draggable",s?"true":"false")}))}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(e){if(!this.isEnabled)return;const t=this.editor.model,o=t.document.selection,s=this.editor.editing.view,i=Array.from(o.getSelectedBlocks()),n=t.createRange(t.createPositionBefore(i[0]),t.createPositionAfter(i[i.length-1]));t.change((e=>e.setSelection(n))),this._isBlockDragging=!0,s.focus(),s.getObserver(r).onDomEvent(e)}_handleBlockDragging(e){if(!this.isEnabled||!this._isBlockDragging)return;const t=e.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),o=e.clientY,s=document.elementFromPoint(t,o),i=this.editor.editing.view;s&&s.closest(".ck-editor__editable")&&i.getObserver(r).onDomEvent({...e,type:e.type,dataTransfer:e.dataTransfer,target:s,clientX:t,clientY:o,preventDefault:()=>e.preventDefault(),stopPropagation:()=>e.stopPropagation()})}_handleBlockDragEnd(){this._isBlockDragging=!1}}var se=o("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),ie=o.n(se),ne=o("./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),re=o.n(ne),ae=o("./node_modules/style-loader/dist/runtime/insertBySelector.js"),ce=o.n(ae),le=o("./node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),de=o.n(le),he=o("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),ue=o.n(he),me=o("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./packages/ckeditor5-clipboard/theme/clipboard.css"),pe={attributes:{"data-cke":!0}};pe.setAttributes=de(),pe.insert=ce().bind(null,"head"),pe.domAPI=re(),pe.insertStyleElement=ue();ie()(me.A,pe);me.A&&me.A.locals&&me.A.locals;class fe extends s.k_{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=(0,i.cb)((()=>this._clearDraggableAttributes()),40),this._blockMode=!1,this._domEmitter=new((0,i.c5)())}static get pluginName(){return"DragDrop"}static get isOfficialPlugin(){return!0}static get requires(){return[W,q.x0,Z,oe]}init(){const e=this.editor,t=e.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,t.addObserver(r),t.addObserver(n.q$),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(e,"change:isReadOnly",((e,t,o)=>{o?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((e,t,o)=>{o||this._finalizeDragging(!1)})),i._K.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const e=this.editor,t=e.model,o=e.editing.view,s=o.document,n=e.plugins.get(Z);this.listenTo(s,"dragstart",((e,o)=>{if(o.target&&o.target.is("editableElement"))return void o.preventDefault();if(this._prepareDraggedRange(o.target),!this._draggedRange)return void o.preventDefault();this._draggingUid=(0,i.Ld)(),o.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",o.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const s=t.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(o.dataTransfer,s,"dragstart");const{dataTransfer:n,domTarget:r,domEvent:a}=o,{clientX:c}=a;this._updatePreview({dataTransfer:n,domTarget:r,clientX:c}),o.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")}),{priority:"low"}),this.listenTo(s,"dragend",((e,t)=>{this._finalizeDragging(!t.dataTransfer.isCanceled&&"move"==t.dataTransfer.dropEffect)}),{priority:"low"}),this._domEmitter.listenTo(i.Sf.document,"dragend",(()=>{this._blockMode=!1}),{useCapture:!0}),this.listenTo(s,"dragenter",(()=>{this.isEnabled&&o.focus()})),this.listenTo(s,"dragleave",(()=>{n.removeDropMarkerDelayed()})),this.listenTo(s,"dragging",((e,t)=>{if(!this.isEnabled)return void(t.dataTransfer.dropEffect="none");const{clientX:o,clientY:s}=t.domEvent;n.updateDropMarker(t.target,t.targetRanges,o,s,this._blockMode,this._draggedRange),this._draggedRange||(t.dataTransfer.dropEffect="copy"),i._K.isGecko||("copy"==t.dataTransfer.effectAllowed?t.dataTransfer.dropEffect="copy":["all","copyMove"].includes(t.dataTransfer.effectAllowed)&&(t.dataTransfer.dropEffect="move")),e.stop()}),{priority:"low"})}_setupClipboardInputIntegration(){const e=this.editor,t=e.editing.view.document,o=e.plugins.get(Z);this.listenTo(t,"clipboardInput",((t,s)=>{if("drop"!=s.method)return;const{clientX:i,clientY:n}=s.domEvent,r=o.getFinalDropRange(s.target,s.targetRanges,i,n,this._blockMode,this._draggedRange);if(!r)return this._finalizeDragging(!1),void t.stop();this._draggedRange&&this._draggingUid!=s.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="");if("move"==ge(s.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(r,!0))return this._finalizeDragging(!1),void t.stop();s.targetRanges=[e.editing.mapper.toViewRange(r)]}),{priority:"high"})}_setupContentInsertionIntegration(){const e=this.editor.plugins.get(W);e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const o=t.targetRanges.map((e=>this.editor.editing.mapper.toModelRange(e)));this.editor.model.change((e=>e.setSelection(o)))}),{priority:"high"}),e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const o="move"==ge(t.dataTransfer),s=!t.resultRange||!t.resultRange.isCollapsed;this._finalizeDragging(s&&o)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const e=this.editor,t=e.editing.view,o=t.document;this.listenTo(o,"mousedown",((s,n)=>{if(i._K.isAndroid||!n)return;this._clearDraggableAttributesDelayed.cancel();let r=_e(n.target);if(i._K.isBlink&&!e.isReadOnly&&!r&&!o.selection.isCollapsed){const e=o.selection.getSelectedElement();e&&(0,q.p4)(e)||(r=o.selection.editableElement)}r&&(t.change((e=>{e.setAttribute("draggable","true",r)})),this._draggableElement=e.editing.mapper.toModelElement(r))})),this.listenTo(o,"mouseup",(()=>{i._K.isAndroid||this._clearDraggableAttributesDelayed()}))}_clearDraggableAttributes(){const e=this.editor.editing;e.view.change((t=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&t.removeAttribute("draggable",e.mapper.toViewElement(this._draggableElement)),this._draggableElement=null}))}_finalizeDragging(e){const t=this.editor,o=t.model;if(t.plugins.get(Z).removeDropMarker(),this._clearDraggableAttributes(),t.plugins.has("WidgetToolbarRepository")){t.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop")}this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(e&&this.isEnabled&&o.change((e=>{const t=o.createSelection(this._draggedRange);o.deleteContent(t,{doNotAutoparagraph:!0});const s=t.getFirstPosition().parent;s.isEmpty&&!o.schema.checkChild(s,"$text")&&o.schema.checkChild(s,"paragraph")&&e.insertElement("paragraph",s,0)})),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(e){const t=this.editor,o=t.model,s=o.document.selection,i=e?_e(e):null;if(i){const e=t.editing.mapper.toModelElement(i);if(this._draggedRange=n.Oo.fromRange(o.createRangeOn(e)),this._blockMode=o.schema.isBlock(e),t.plugins.has("WidgetToolbarRepository")){t.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}return}if(s.isCollapsed&&!s.getFirstPosition().parent.isEmpty)return;const r=Array.from(s.getSelectedBlocks()),a=s.getFirstRange();if(0==r.length)return void(this._draggedRange=n.Oo.fromRange(a));const c=be(o,r);if(r.length>1)this._draggedRange=n.Oo.fromRange(c),this._blockMode=!0;else if(1==r.length){const e=a.start.isTouching(c.start)&&a.end.isTouching(c.end);this._draggedRange=n.Oo.fromRange(e?c:a),this._blockMode=e}o.change((e=>e.setSelection(this._draggedRange.toRange())))}_updatePreview({dataTransfer:e,domTarget:t,clientX:o}){const s=this.editor.editing.view,n=s.document.selection.editableElement,r=s.domConverter.mapViewToDom(n),a=i.Sf.window.getComputedStyle(r);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=(0,i.n)(i.Sf.document,"div",{style:"position: fixed; left: -999999px;"}),i.Sf.document.body.appendChild(this._previewContainer));const c=new i.rw(r);if(r.contains(t))return;const l=parseFloat(a.paddingLeft),d=(0,i.n)(i.Sf.document,"div");d.className="ck ck-content",d.style.width=a.width,d.style.paddingLeft=`${c.left-o+l}px`,i._K.isiOS&&(d.style.backgroundColor="white"),s.domConverter.setContentOf(d,e.getData("text/html")),e.setDragImage(d,0,0),this._previewContainer.appendChild(d)}}function ge(e){return i._K.isGecko?e.dropEffect:["all","copyMove"].includes(e.effectAllowed)?"move":"copy"}function _e(e){if(e.is("editableElement"))return null;if(e.hasClass("ck-widget__selection-handle"))return e.findAncestor(q.p4);if((0,q.p4)(e))return e;const t=e.findAncestor((e=>(0,q.p4)(e)||e.is("editableElement")));return(0,q.p4)(t)?t:null}function be(e,t){const o=t[0],s=t[t.length-1],i=o.getCommonAncestor(s),n=e.createPositionBefore(o),r=e.createPositionAfter(s);if(i&&i.is("element")&&!e.schema.isLimit(i)){const t=e.createRangeOn(i),o=n.isTouching(t.start),s=r.isTouching(t.end);if(o&&s)return be(e,[i])}return e.createRange(n,r)}class ke extends s.k_{static get pluginName(){return"PastePlainText"}static get isOfficialPlugin(){return!0}static get requires(){return[W]}init(){const e=this.editor,t=e.model,o=e.editing.view,s=t.document.selection;o.addObserver(r),e.plugins.get(W).on("contentInsertion",((e,o)=>{(function(e,t){let o=t.createRangeIn(e);if(1==e.childCount){const s=e.getChild(0);s.is("element")&&t.schema.isBlock(s)&&!t.schema.isObject(s)&&!t.schema.isLimit(s)&&(o=t.createRangeIn(s))}for(const e of o.getItems()){if(!t.schema.isInline(e))return!1;if(Array.from(e.getAttributeKeys()).find((e=>t.schema.getAttributeProperties(e).isFormatting)))return!1}return!0})(o.content,t)&&t.change((e=>{const i=Array.from(s.getAttributes()).filter((([e])=>t.schema.getAttributeProperties(e).isFormatting));s.isCollapsed||t.deleteContent(s,{doNotAutoparagraph:!0}),i.push(...s.getAttributes());const n=e.createRangeIn(o.content);for(const o of n.getItems())for(const s of i)t.schema.checkAttribute(o,s[0])&&e.setAttribute(s[0],s[1],o)}))}))}}class we extends s.k_{static get pluginName(){return"Clipboard"}static get isOfficialPlugin(){return!0}static get requires(){return[$,W,fe,ke]}init(){const e=this.editor,t=this.editor.t;e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Copy selected content"),keystroke:"CTRL+C"},{label:t("Paste content"),keystroke:"CTRL+V"},{label:t("Paste content as plain text"),keystroke:"CTRL+SHIFT+V"}]})}}},"./src/core.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Command:()=>s.uB,Context:()=>s.ob,ContextPlugin:()=>s.HY,DataApiMixin:()=>s.CC,Editor:()=>s.KE,ElementApiMixin:()=>s.mJ,MultiCommand:()=>s.fE,PendingActions:()=>s.TS,Plugin:()=>s.k_,attachToForm:()=>s.JF,icons:()=>s.Pt,secureSourceElement:()=>s.Jl});var s=o("./packages/ckeditor5-core/src/index.ts")},"./src/engine.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{AttributeElement:()=>s.Zq,AttributeOperation:()=>s.ML,BubblingEventInfo:()=>s.cJ,ClickObserver:()=>s.Re,Conversion:()=>s.dY,DataController:()=>s.P3,DataTransfer:()=>s._v,DocumentFragment:()=>s.kB,DocumentSelection:()=>s.oi,DomConverter:()=>s.P$,DomEventData:()=>s.FY,DomEventObserver:()=>s.$A,DowncastWriter:()=>s.zN,EditingController:()=>s.L_,EditingView:()=>s.gK,Element:()=>s.Hg,FocusObserver:()=>s.vp,History:()=>s.BZ,HtmlDataProcessor:()=>s.q6,InsertOperation:()=>s.ZG,LivePosition:()=>s.m8,LiveRange:()=>s.Oo,MarkerOperation:()=>s.m4,Matcher:()=>s.PN,MergeOperation:()=>s.GY,Model:()=>s.Kx,MouseObserver:()=>s.q$,MoveOperation:()=>s.hW,NoOperation:()=>s.fS,Observer:()=>s.nu,OperationFactory:()=>s.cr,Position:()=>s.yX,Range:()=>s.Q6,RenameOperation:()=>s.EZ,Renderer:()=>s.A4,RootAttributeOperation:()=>s.gf,RootOperation:()=>s.at,SplitOperation:()=>s._A,StylesMap:()=>s.DG,StylesProcessor:()=>s.tG,TabObserver:()=>s.Yi,Text:()=>s.EY,TextProxy:()=>s.Qo,TreeWalker:()=>s.rU,UpcastWriter:()=>s.Wq,ViewAttributeElement:()=>s.UJ,ViewContainerElement:()=>s.xQ,ViewDocument:()=>s.Vg,ViewDocumentFragment:()=>s.f5,ViewEditableElement:()=>s.OQ,ViewElement:()=>s.m2,ViewEmptyElement:()=>s.Vt,ViewRawElement:()=>s.aZ,ViewRootEditableElement:()=>s.Un,ViewText:()=>s.HQ,ViewTreeWalker:()=>s.u$,ViewUIElement:()=>s.cw,XmlDataProcessor:()=>s.ib,_getModelData:()=>s.XI,_getViewData:()=>s.vQ,_parseModel:()=>s.IG,_parseView:()=>s.kF,_setModelData:()=>s.je,_setViewData:()=>s.JV,_stringifyModel:()=>s.aU,_stringifyView:()=>s._$,addBackgroundRules:()=>s.D0,addBorderRules:()=>s.v7,addMarginRules:()=>s.vt,addPaddingRules:()=>s.mC,autoParagraphEmptyRoots:()=>s.YM,disablePlaceholder:()=>s.Kc,enablePlaceholder:()=>s.JT,getBoxSidesShorthandValue:()=>s.qE,getBoxSidesValueReducer:()=>s.rC,getBoxSidesValues:()=>s.QS,getFillerOffset:()=>s.SH,getPositionShorthandNormalizer:()=>s.gz,getShorthandValues:()=>s.M1,hidePlaceholder:()=>s.YU,isAttachment:()=>s.s5,isColor:()=>s._o,isLength:()=>s.Vq,isLineStyle:()=>s.ew,isParagraphable:()=>s.JS,isPercentage:()=>s.fp,isPosition:()=>s.E,isRepeat:()=>s.Cd,isURL:()=>s.mv,needsPlaceholder:()=>s.$0,showPlaceholder:()=>s.Zu,transformSets:()=>s._j,wrapInParagraph:()=>s.mm});var s=o("./packages/ckeditor5-engine/src/index.ts")},"./src/enter.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Enter:()=>s.x,ShiftEnter:()=>s.D});var s=o("./packages/ckeditor5-enter/src/index.ts")},"./src/paragraph.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Paragraph:()=>c,ParagraphButtonUI:()=>d});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n extends s.uB{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document,o=(0,i.$1)(t.selection.getSelectedBlocks());this.value=!!o&&o.is("element","paragraph"),this.isEnabled=!!o&&r(o,e.schema)}execute(e={}){const t=this.editor.model,o=t.document,s=e.selection||o.selection;t.canEditAt(s)&&t.change((e=>{const o=s.getSelectedBlocks();for(const s of o)!s.is("element","paragraph")&&r(s,t.schema)&&e.rename(s,"paragraph")}))}}function r(e,t){return t.checkChild(e.parent,"paragraph")&&!t.isObject(e)}class a extends s.uB{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}execute(e){const t=this.editor.model,o=e.attributes;let s=e.position;t.canEditAt(s)&&t.change((e=>{if(s=this._findPositionToInsertParagraph(s,e),!s)return;const i=e.createElement("paragraph");o&&t.schema.setAllowedAttributes(i,o,e),t.insertContent(i,s),e.setSelection(i,"in")}))}_findPositionToInsertParagraph(e,t){const o=this.editor.model;if(o.schema.checkChild(e,"paragraph"))return e;const s=o.schema.findAllowedParent(e,"paragraph");if(!s)return null;const i=e.parent,n=o.schema.checkChild(i,"$text");return i.isEmpty||n&&e.isAtEnd?o.createPositionAfter(i):!i.isEmpty&&n&&e.isAtStart?o.createPositionBefore(i):t.split(e,s).position}}class c extends s.k_{static get pluginName(){return"Paragraph"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model;e.commands.add("paragraph",new n(e)),e.commands.add("insertParagraph",new a(e)),t.schema.register("paragraph",{inheritAllFrom:"$block"}),e.conversion.elementToElement({model:"paragraph",view:"p"}),e.conversion.for("upcast").elementToElement({model:(e,{writer:t})=>c.paragraphLikeElements.has(e.name)?e.isEmpty?null:t.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}static{this.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"])}}var l=o("./packages/ckeditor5-ui/src/index.ts");class d extends s.k_{static get requires(){return[c]}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("paragraph",(o=>{const i=new l._(o),n=e.commands.get("paragraph");return i.label=t("Paragraph"),i.icon=s.Pt.paragraph,i.tooltip=!0,i.isToggleable=!0,i.bind("isEnabled").to(n),i.bind("isOn").to(n,"value"),i.on("execute",(()=>{e.execute("paragraph")})),i}))}}},"./src/select-all.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{SelectAll:()=>h,SelectAllEditing:()=>c,SelectAllUI:()=>d});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n extends s.uB{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,t=e.document.selection;let o=e.schema.getLimitElement(t);if(t.containsEntireContent(o)||!r(e.schema,o))do{if(o=o.parent,!o)return}while(!r(e.schema,o));e.change((e=>{e.setSelection(o,"in")}))}}function r(e,t){return e.isLimit(t)&&(e.checkChild(t,"$text")||e.checkChild(t,"paragraph"))}const a=(0,i.ZX)("Ctrl+A");class c extends s.k_{static get pluginName(){return"SelectAllEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,o=e.editing.view.document;e.commands.add("selectAll",new n(e)),this.listenTo(o,"keydown",((t,o)=>{(0,i.QC)(o)===a&&(e.execute("selectAll"),o.preventDefault())})),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Select all"),keystroke:"CTRL+A"}]})}}var l=o("./packages/ckeditor5-ui/src/index.ts");class d extends s.k_{static get pluginName(){return"SelectAllUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",(()=>{const e=this._createButton(l._);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:selectAll",(()=>this._createButton(l.kS)))}_createButton(e){const t=this.editor,o=t.locale,s=t.commands.get("selectAll"),i=new e(t.locale),n=o.t;return i.set({label:n("Select all"),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.75 15.5a.75.75 0 0 1 .75.75V18l.008.09A.5.5 0 0 0 2 18.5h1.75a.75.75 0 1 1 0 1.5H1.5l-.144-.007a1.5 1.5 0 0 1-1.35-1.349L0 18.5v-2.25a.75.75 0 0 1 .75-.75zm18.5 0a.75.75 0 0 1 .75.75v2.25l-.007.144a1.5 1.5 0 0 1-1.349 1.35L18.5 20h-2.25a.75.75 0 1 1 0-1.5H18a.5.5 0 0 0 .492-.41L18.5 18v-1.75a.75.75 0 0 1 .75-.75zm-10.45 3c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm.45-5.5a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5h8.5zM1.3 11c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM1.3 7c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5h-2.5a.75.75 0 1 1 0-1.5h2.5zm-5 0a.75.75 0 1 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5h5.5zm-6.5-5a.75.75 0 0 1 0 1.5H2a.5.5 0 0 0-.492.41L1.5 2v1.75a.75.75 0 0 1-1.5 0V1.5l.007-.144A1.5 1.5 0 0 1 1.356.006L1.5 0h2.25zM18.5 0l.144.007a1.5 1.5 0 0 1 1.35 1.349L20 1.5v2.25a.75.75 0 1 1-1.5 0V2l-.008-.09A.5.5 0 0 0 18 1.5h-1.75a.75.75 0 1 1 0-1.5h2.25zM8.8 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6z"/></svg>',keystroke:"Ctrl+A"}),i.bind("isEnabled").to(s,"isEnabled"),this.listenTo(i,"execute",(()=>{t.execute("selectAll"),t.editing.view.focus()})),i}}class h extends s.k_{static get requires(){return[c,d]}static get pluginName(){return"SelectAll"}static get isOfficialPlugin(){return!0}}},"./src/typing.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Delete:()=>s.ep,Input:()=>s.pd,InsertTextCommand:()=>s.Ki,TextTransformation:()=>s.De,TextWatcher:()=>s.qV,TwoStepCaretMovement:()=>s.Vp,Typing:()=>s.IG,findAttributeRange:()=>s.Py,findAttributeRangeBound:()=>s.lO,getLastTextLine:()=>s.ex,inlineHighlight:()=>s.Il});var s=o("./packages/ckeditor5-typing/src/index.ts")},"./src/ui.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{AccessibilityHelp:()=>s.KO,AutocompleteView:()=>s.uI,BalloonPanelView:()=>s.Jr,BalloonToolbar:()=>s.bQ,BlockToolbar:()=>s.Lz,BodyCollection:()=>s.v1,BoxedEditorUIView:()=>s.Xt,ButtonLabelView:()=>s.e0,ButtonLabelWithHighlightView:()=>s.yX,ButtonView:()=>s._,CollapsibleView:()=>s.Kn,ColorGridView:()=>s.pQ,ColorPickerView:()=>s.ph,ColorSelectorView:()=>s.oB,ColorTileView:()=>s.vF,ComponentFactory:()=>s.eH,ContextualBalloon:()=>s.pU,CssTransitionDisablerMixin:()=>s.wi,DefaultMenuBarItems:()=>s.ep,Dialog:()=>s.lG,DialogView:()=>s._m,DialogViewPosition:()=>s.nu,DropdownButtonView:()=>s.lU,DropdownMenuListItemButtonView:()=>s.nN,DropdownMenuListItemView:()=>s.pg,DropdownMenuListView:()=>s.MO,DropdownMenuNestedMenuView:()=>s.Eg,DropdownMenuPanelPositioningFunctions:()=>s.XH,DropdownMenuRootListView:()=>s.A4,DropdownPanelView:()=>s.Vz,DropdownView:()=>s.BO,EditorUI:()=>s.Gn,EditorUIView:()=>s.nc,FileDialogButtonView:()=>s.eF,FileDialogListItemButtonView:()=>s.L7,FocusCycler:()=>s.H,FormHeaderView:()=>s.Dy,HighlightedTextView:()=>s.MZ,IconView:()=>s.Ln,IframeView:()=>s.WU,InlineEditableUIView:()=>s.LU,InputNumberView:()=>s.Zz,InputTextView:()=>s.hK,InputView:()=>s.E6,LabelView:()=>s.y0,LabelWithHighlightView:()=>s.kq,LabeledFieldView:()=>s.xE,ListItemButtonView:()=>s.$Y,ListItemGroupView:()=>s.m_,ListItemView:()=>s.BD,ListSeparatorView:()=>s.Je,ListView:()=>s.uO,MenuBarMenuListItemButtonView:()=>s.kS,MenuBarMenuListItemFileDialogButtonView:()=>s.GG,MenuBarMenuListItemView:()=>s.I8,MenuBarMenuListView:()=>s.BY,MenuBarMenuView:()=>s.zj,MenuBarView:()=>s.yJ,Notification:()=>s.lV,SearchInfoView:()=>s.wD,SearchTextView:()=>s.b8,SpinnerView:()=>s.XE,SplitButtonView:()=>s.AO,StickyPanelView:()=>s.xw,SwitchButtonView:()=>s.Wm,Template:()=>s.Bj,TextareaView:()=>s.OB,ToolbarLineBreakView:()=>s.Cy,ToolbarSeparatorView:()=>s.IY,ToolbarView:()=>s.X3,TooltipManager:()=>s.JV,View:()=>s.Ss,ViewCollection:()=>s.s3,ViewModel:()=>s.Jc,addKeyboardHandlingForGrid:()=>s.l1,addListToDropdown:()=>s.O,addMenuToDropdown:()=>s.H2,addToolbarToDropdown:()=>s.fM,clickOutsideHandler:()=>s.wy,createDropdown:()=>s.yu,createLabeledDropdown:()=>s.By,createLabeledInputNumber:()=>s.F_,createLabeledInputText:()=>s.Vr,createLabeledTextarea:()=>s.GR,filterGroupAndItemNames:()=>s.UR,focusChildOnDropdownOpen:()=>s.Zn,getLocalizedColorOptions:()=>s.b2,injectCssTransitionDisabler:()=>s.I0,isFocusable:()=>s.tp,isViewWithFocusCycler:()=>s.eG,normalizeColorOptions:()=>s.lF,normalizeMenuBarConfig:()=>s.mB,normalizeSingleColorDefinition:()=>s.iv,normalizeToolbarConfig:()=>s.fl,submitHandler:()=>s.Z5});var s=o("./packages/ckeditor5-ui/src/index.ts")},"./src/undo.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Undo:()=>m,UndoEditing:()=>d,UndoUI:()=>u});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-engine/src/index.ts");class n extends s.uB{constructor(e){super(e),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(e.data,"set",((e,t)=>{t[1]={...t[1]};const o=t[1];o.batchType||(o.batchType={isUndoable:!1})}),{priority:"high"}),this.listenTo(e.data,"set",((e,t)=>{t[1].batchType.isUndoable||this.clearStack()}))}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(e){const t=this.editor.model.document.selection,o={ranges:t.hasOwnRange?Array.from(t.getRanges()):[],isBackward:t.isBackward};this._stack.push({batch:e,selection:o}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,t,o){const s=this.editor.model,i=s.document,n=[],c=e.map((e=>e.getTransformedByOperations(o))),l=c.flat();for(const e of c){const t=e.filter((e=>e.root!=i.graveyard)).filter((e=>!a(e,l)));t.length&&(r(t),n.push(t[0]))}n.length&&s.change((e=>{e.setSelection(n,{backward:t})}))}_undo(e,t){const o=this.editor.model,s=o.document;this._createdBatches.add(t);const n=e.operations.slice().filter((e=>e.isDocumentOperation));n.reverse();for(const e of n){const n=e.baseVersion+1,r=Array.from(s.history.getOperations(n)),a=(0,i._j)([e.getReversed()],r,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let n of a){const r=n.affectedSelectable;r&&!o.canEditAt(r)&&(n=new i.fS(n.baseVersion)),t.addOperation(n),o.applyOperation(n),s.history.setOperationAsUndone(e,n)}}}}function r(e){e.sort(((e,t)=>e.start.isBefore(t.start)?-1:1));for(let t=1;t<e.length;t++){const o=e[t-1].getJoined(e[t],!0);o&&(t--,e.splice(t,2,o))}}function a(e,t){return t.some((t=>t!==e&&t.containsRange(e,!0)))}class c extends n{execute(e=null){const t=e?this._stack.findIndex((t=>t.batch==e)):this._stack.length-1,o=this._stack.splice(t,1)[0],s=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(s,(()=>{this._undo(o.batch,s);const e=this.editor.model.document.history.getOperations(o.batch.baseVersion);this._restoreSelection(o.selection.ranges,o.selection.isBackward,e)})),this.fire("revert",o.batch,s),this.refresh()}}class l extends n{execute(){const e=this._stack.pop(),t=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(t,(()=>{const o=e.batch.operations[e.batch.operations.length-1].baseVersion+1,s=this.editor.model.document.history.getOperations(o);this._restoreSelection(e.selection.ranges,e.selection.isBackward,s),this._undo(e.batch,t)})),this.refresh()}}class d extends s.k_{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t;this._undoCommand=new c(e),this._redoCommand=new l(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",((e,t)=>{const o=t[0];if(!o.isDocumentOperation)return;const s=o.batch,i=this._redoCommand.createdBatches.has(s),n=this._undoCommand.createdBatches.has(s);this._batchRegistry.has(s)||(this._batchRegistry.add(s),s.isUndoable&&(i?this._undoCommand.addBatch(s):n||(this._undoCommand.addBatch(s),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((e,t,o)=>{this._redoCommand.addBatch(o)})),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Undo"),keystroke:"CTRL+Z"},{label:t("Redo"),keystroke:[["CTRL+Y"],["CTRL+SHIFT+Z"]]}]})}}var h=o("./packages/ckeditor5-ui/src/index.ts");class u extends s.k_{static get pluginName(){return"UndoUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale,o=e.t,i="ltr"==t.uiLanguageDirection?s.Pt.undo:s.Pt.redo,n="ltr"==t.uiLanguageDirection?s.Pt.redo:s.Pt.undo;this._addButtonsToFactory("undo",o("Undo"),"CTRL+Z",i),this._addButtonsToFactory("redo",o("Redo"),"CTRL+Y",n)}_addButtonsToFactory(e,t,o,s){const i=this.editor;i.ui.componentFactory.add(e,(()=>{const i=this._createButton(h._,e,t,o,s);return i.set({tooltip:!0}),i})),i.ui.componentFactory.add("menuBar:"+e,(()=>this._createButton(h.kS,e,t,o,s)))}_createButton(e,t,o,s,i){const n=this.editor,r=n.locale,a=n.commands.get(t),c=new e(r);return c.set({label:o,icon:i,keystroke:s}),c.bind("isEnabled").to(a,"isEnabled"),this.listenTo(c,"execute",(()=>{n.execute(t),n.editing.view.focus()})),c}}class m extends s.k_{static get requires(){return[d,u]}static get pluginName(){return"Undo"}static get isOfficialPlugin(){return!0}}},"./src/upload.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{Base64UploadAdapter:()=>c,FileRepository:()=>r,SimpleUploadAdapter:()=>d});var s=o("./packages/ckeditor5-core/src/index.ts"),i=o("./packages/ckeditor5-utils/src/index.ts");class n extends((0,i.VM)()){constructor(){super();const e=new window.FileReader;this._reader=e,this._data=void 0,this.set("loaded",0),e.onprogress=e=>{this.loaded=e.loaded}}get error(){return this._reader.error}get data(){return this._data}read(e){const t=this._reader;return this.total=e.size,new Promise(((o,s)=>{t.onload=()=>{const e=t.result;this._data=e,o(e)},t.onerror=()=>{s("error")},t.onabort=()=>{s("aborted")},this._reader.readAsDataURL(e)}))}abort(){this._reader.abort()}}class r extends s.k_{constructor(){super(...arguments),this.loaders=new i.pM,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get isOfficialPlugin(){return!0}static get requires(){return[s.TS]}init(){this.loaders.on("change",(()=>this._updatePendingAction())),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((e,t)=>t?e/t*100:0))}getLoader(e){return this._loadersMap.get(e)||null}createLoader(e){if(!this.createUploadAdapter)return(0,i.FF)("filerepository-no-upload-adapter"),null;const t=new a(Promise.resolve(e),this.createUploadAdapter);return this.loaders.add(t),this._loadersMap.set(e,t),e instanceof Promise&&t.file.then((e=>{this._loadersMap.set(e,t)})).catch((()=>{})),t.on("change:uploaded",(()=>{let e=0;for(const t of this.loaders)e+=t.uploaded;this.uploaded=e})),t.on("change:uploadTotal",(()=>{let e=0;for(const t of this.loaders)t.uploadTotal&&(e+=t.uploadTotal);this.uploadTotal=e})),t}destroyLoader(e){const t=e instanceof a?e:this.getLoader(e);t._destroy(),this.loaders.remove(t),this._loadersMap.forEach(((e,o)=>{e===t&&this._loadersMap.delete(o)}))}_updatePendingAction(){const e=this.editor.plugins.get(s.TS);if(this.loaders.length){if(!this._pendingAction){const t=this.editor.t,o=e=>`${t("Upload in progress")} ${parseInt(e)}%.`;this._pendingAction=e.add(o(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",o)}}else e.remove(this._pendingAction),this._pendingAction=null}}class a extends((0,i.VM)()){constructor(e,t){super(),this.id=(0,i.Ld)(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=t(this),this._reader=new n,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((e,t)=>t?e/t*100:0)),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then((e=>this._filePromiseWrapper?e:null)):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new i.Yb("filerepository-read-wrong-status",this);return this.status="reading",this.file.then((e=>this._reader.read(e))).then((e=>{if("reading"!==this.status)throw this.status;return this.status="idle",e})).catch((e=>{if("aborted"===e)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:e}))}upload(){if("idle"!=this.status)throw new i.Yb("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then((()=>this._adapter.upload())).then((e=>(this.uploadResponse=e,this.status="idle",e))).catch((e=>{if("aborted"===this.status)throw"aborted";throw this.status="error",e}))}abort(){const e=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==e?this._reader.abort():"uploading"==e&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch((()=>{})),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(e){const t={};return t.promise=new Promise(((o,s)=>{t.rejecter=s,t.isFulfilled=!1,e.then((e=>{t.isFulfilled=!0,o(e)})).catch((e=>{t.isFulfilled=!0,s(e)}))})),t}}class c extends s.k_{static get requires(){return[r]}static get pluginName(){return"Base64UploadAdapter"}static get isOfficialPlugin(){return!0}init(){this.editor.plugins.get(r).createUploadAdapter=e=>new l(e)}}class l{constructor(e){this.loader=e}upload(){return new Promise(((e,t)=>{const o=this.reader=new window.FileReader;o.addEventListener("load",(()=>{e({default:o.result})})),o.addEventListener("error",(e=>{t(e)})),o.addEventListener("abort",(()=>{t()})),this.loader.file.then((e=>{o.readAsDataURL(e)}))}))}abort(){this.reader.abort()}}class d extends s.k_{static get requires(){return[r]}static get pluginName(){return"SimpleUploadAdapter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.config.get("simpleUpload");e&&(e.uploadUrl?this.editor.plugins.get(r).createUploadAdapter=t=>new h(t,e):(0,i.FF)("simple-upload-adapter-missing-uploadurl"))}}class h{constructor(e,t){this.loader=e,this.options=t}upload(){return this.loader.file.then((e=>new Promise(((t,o)=>{this._initRequest(),this._initListeners(t,o,e),this._sendRequest(e)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.options.uploadUrl,!0),e.responseType="json"}_initListeners(e,t,o){const s=this.xhr,i=this.loader,n=`Couldn't upload file: ${o.name}.`;s.addEventListener("error",(()=>t(n))),s.addEventListener("abort",(()=>t())),s.addEventListener("load",(()=>{const o=s.response;if(!o||o.error)return t(o&&o.error&&o.error.message?o.error.message:n);const i=o.url?{default:o.url}:o.urls;e({...o,urls:i})})),s.upload&&s.upload.addEventListener("progress",(e=>{e.lengthComputable&&(i.uploadTotal=e.total,i.uploaded=e.loaded)}))}_sendRequest(e){const t=this.options.headers||{},o=this.options.withCredentials||!1;for(const e of Object.keys(t))this.xhr.setRequestHeader(e,t[e]);this.xhr.withCredentials=o;const s=new FormData;s.append("upload",e),this.xhr.send(s)}}},"./src/utils.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{CKEditorError:()=>s.Yb,Collection:()=>s.pM,Config:()=>s.TS,DomEmitterMixin:()=>s.c5,ElementReplacer:()=>s.PZ,EmitterMixin:()=>s.Mm,EventInfo:()=>s.vY,FocusTracker:()=>s.$x,KeystrokeHandler:()=>s.EP,Locale:()=>s.hT,ObservableMixin:()=>s.VM,Rect:()=>s.rw,ResizeObserver:()=>s.tb,abortableDebounce:()=>s.KL,compareArrays:()=>s.ww,count:()=>s.U9,createElement:()=>s.n,delay:()=>s.cb,diff:()=>s.Ui,diffToChanges:()=>s.q8,env:()=>s._K,exponentialDelay:()=>s.Nv,fastDiff:()=>s.Mr,findClosestScrollableAncestor:()=>s.j3,first:()=>s.$1,getAncestors:()=>s.DS,getBorderWidths:()=>s.Md,getCode:()=>s.QC,getDataFromElement:()=>s.pG,getEnvKeystrokeText:()=>s.YA,getLanguageDirection:()=>s.iJ,getLocalizedArrowKeyCodeDirection:()=>s.Kf,getOptimalPosition:()=>s.W,getRangeFromMouseEvent:()=>s.jr,global:()=>s.Sf,indexOf:()=>s.qh,insertAt:()=>s.PT,insertToPriorityArray:()=>s.Yy,isArrowKeyCode:()=>s.Yt,isCombiningMark:()=>s.mY,isComment:()=>s.Cn,isForwardArrowKeyCode:()=>s.HK,isHighSurrogateHalf:()=>s.kv,isInsideCombinedSymbol:()=>s.Iw,isInsideEmojiSequence:()=>s.SQ,isInsideSurrogatePair:()=>s.P5,isIterable:()=>s.xZ,isLowSurrogateHalf:()=>s.k$,isNode:()=>s.Ll,isRange:()=>s._Z,isText:()=>s.KH,isValidAttributeName:()=>s.i8,isViewWithFocusTracker:()=>s.K8,isVisible:()=>s.zN,keyCodes:()=>s.uP,logError:()=>s.vV,logWarning:()=>s.FF,mix:()=>s.jh,parseKeystroke:()=>s.ZX,priorities:()=>s.vx,releaseDate:()=>s.kM,remove:()=>s.TF,retry:()=>s.L5,scrollAncestorsToShowTarget:()=>s.bi,scrollViewportToShowTarget:()=>s.vK,setDataInElement:()=>s.C_,spliceArray:()=>s.eL,toArray:()=>s.$r,toMap:()=>s.av,toUnit:()=>s.To,uid:()=>s.Ld,verifyLicense:()=>s.rQ,version:()=>s.rE,wait:()=>s.uk});var s=o("./packages/ckeditor5-utils/src/index.ts")},"./src/watchdog.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{ContextWatchdog:()=>s.Zd,EditorWatchdog:()=>s.VJ,Watchdog:()=>s.Io});var s=o("./packages/ckeditor5-watchdog/src/index.ts")},"./src/widget.js":(e,t,o)=>{"use strict";o.r(t),o.d(t,{WIDGET_CLASS_NAME:()=>s.iW,WIDGET_SELECTED_CLASS_NAME:()=>s.w_,Widget:()=>s.x0,WidgetResize:()=>s.VE,WidgetToolbarRepository:()=>s.oP,WidgetTypeAround:()=>s.oT,calculateResizeHostAncestorWidth:()=>s.Wu,calculateResizeHostPercentageWidth:()=>s.Hq,findOptimalInsertionRange:()=>s.iB,getLabel:()=>s.p9,isWidget:()=>s.p4,setHighlightHandling:()=>s._s,setLabel:()=>s.je,toWidget:()=>s.Ex,toWidgetEditable:()=>s.YN,viewToModelPositionOutsideModelElement:()=>s.$u});var s=o("./packages/ckeditor5-widget/src/index.ts")},"?7cdd":(e,t,o)=>{e.exports=o},"./node_modules/lodash-es/_ListCache.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});const s=function(){this.__data__=[],this.size=0};var i=o("./node_modules/lodash-es/eq.js");const n=function(e,t){for(var o=e.length;o--;)if((0,i.A)(e[o][0],t))return o;return-1};var r=Array.prototype.splice;const a=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():r.call(t,o,1),--this.size,!0)};const c=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]};const l=function(e){return n(this.__data__,e)>-1};const d=function(e,t){var o=this.__data__,s=n(o,e);return s<0?(++this.size,o.push([e,t])):o[s][1]=t,this};function h(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}h.prototype.clear=s,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=l,h.prototype.set=d;const u=h},"./node_modules/lodash-es/_Map.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_getNative.js"),i=o("./node_modules/lodash-es/_root.js");const n=(0,s.A)(i.A,"Map")},"./node_modules/lodash-es/_MapCache.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>A});const s=(0,o("./node_modules/lodash-es/_getNative.js").A)(Object,"create");const i=function(){this.__data__=s?s(null):{},this.size=0};const n=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var r=Object.prototype.hasOwnProperty;const a=function(e){var t=this.__data__;if(s){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return r.call(t,e)?t[e]:void 0};var c=Object.prototype.hasOwnProperty;const l=function(e){var t=this.__data__;return s?void 0!==t[e]:c.call(t,e)};const d=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this};function h(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}h.prototype.clear=i,h.prototype.delete=n,h.prototype.get=a,h.prototype.has=l,h.prototype.set=d;const u=h;var m=o("./node_modules/lodash-es/_ListCache.js"),p=o("./node_modules/lodash-es/_Map.js");const f=function(){this.size=0,this.__data__={hash:new u,map:new(p.A||m.A),string:new u}};const g=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const _=function(e,t){var o=e.__data__;return g(t)?o["string"==typeof t?"string":"hash"]:o.map};const b=function(e){var t=_(this,e).delete(e);return this.size-=t?1:0,t};const k=function(e){return _(this,e).get(e)};const w=function(e){return _(this,e).has(e)};const v=function(e,t){var o=_(this,e),s=o.size;return o.set(e,t),this.size+=o.size==s?0:1,this};function y(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}y.prototype.clear=f,y.prototype.delete=b,y.prototype.get=k,y.prototype.has=w,y.prototype.set=v;const A=y},"./node_modules/lodash-es/_Stack.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o("./node_modules/lodash-es/_ListCache.js");const i=function(){this.__data__=new s.A,this.size=0};const n=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o};const r=function(e){return this.__data__.get(e)};const a=function(e){return this.__data__.has(e)};var c=o("./node_modules/lodash-es/_Map.js"),l=o("./node_modules/lodash-es/_MapCache.js");const d=function(e,t){var o=this.__data__;if(o instanceof s.A){var i=o.__data__;if(!c.A||i.length<199)return i.push([e,t]),this.size=++o.size,this;o=this.__data__=new l.A(i)}return o.set(e,t),this.size=o.size,this};function h(e){var t=this.__data__=new s.A(e);this.size=t.size}h.prototype.clear=i,h.prototype.delete=n,h.prototype.get=r,h.prototype.has=a,h.prototype.set=d;const u=h},"./node_modules/lodash-es/_Symbol.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=o("./node_modules/lodash-es/_root.js").A.Symbol},"./node_modules/lodash-es/_Uint8Array.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=o("./node_modules/lodash-es/_root.js").A.Uint8Array},"./node_modules/lodash-es/_arrayLikeKeys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>d});const s=function(e,t){for(var o=-1,s=Array(e);++o<e;)s[o]=t(o);return s};var i=o("./node_modules/lodash-es/isArguments.js"),n=o("./node_modules/lodash-es/isArray.js"),r=o("./node_modules/lodash-es/isBuffer.js"),a=o("./node_modules/lodash-es/_isIndex.js"),c=o("./node_modules/lodash-es/isTypedArray.js"),l=Object.prototype.hasOwnProperty;const d=function(e,t){var o=(0,n.A)(e),d=!o&&(0,i.A)(e),h=!o&&!d&&(0,r.A)(e),u=!o&&!d&&!h&&(0,c.A)(e),m=o||d||h||u,p=m?s(e.length,String):[],f=p.length;for(var g in e)!t&&!l.call(e,g)||m&&("length"==g||h&&("offset"==g||"parent"==g)||u&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,a.A)(g,f))||p.push(g);return p}},"./node_modules/lodash-es/_arrayPush.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){for(var o=-1,s=t.length,i=e.length;++o<s;)e[i+o]=t[o];return e}},"./node_modules/lodash-es/_assignValue.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/_baseAssignValue.js"),i=o("./node_modules/lodash-es/eq.js"),n=Object.prototype.hasOwnProperty;const r=function(e,t,o){var r=e[t];n.call(e,t)&&(0,i.A)(r,o)&&(void 0!==o||t in e)||(0,s.A)(e,t,o)}},"./node_modules/lodash-es/_baseAssignValue.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_defineProperty.js");const i=function(e,t,o){"__proto__"==t&&s.A?(0,s.A)(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}},"./node_modules/lodash-es/_baseClone.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>Q});var s=o("./node_modules/lodash-es/_Stack.js");const i=function(e,t){for(var o=-1,s=null==e?0:e.length;++o<s&&!1!==t(e[o],o,e););return e};var n=o("./node_modules/lodash-es/_assignValue.js"),r=o("./node_modules/lodash-es/_copyObject.js"),a=o("./node_modules/lodash-es/keys.js");const c=function(e,t){return e&&(0,r.A)(t,(0,a.A)(t),e)};var l=o("./node_modules/lodash-es/keysIn.js");const d=function(e,t){return e&&(0,r.A)(t,(0,l.A)(t),e)};var h=o("./node_modules/lodash-es/_cloneBuffer.js"),u=o("./node_modules/lodash-es/_copyArray.js"),m=o("./node_modules/lodash-es/_getSymbols.js");const p=function(e,t){return(0,r.A)(e,(0,m.A)(e),t)};var f=o("./node_modules/lodash-es/_arrayPush.js"),g=o("./node_modules/lodash-es/_getPrototype.js"),_=o("./node_modules/lodash-es/stubArray.js");const b=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,f.A)(t,(0,m.A)(e)),e=(0,g.A)(e);return t}:_.A;const k=function(e,t){return(0,r.A)(e,b(e),t)};var w=o("./node_modules/lodash-es/_getAllKeys.js"),v=o("./node_modules/lodash-es/_baseGetAllKeys.js");const y=function(e){return(0,v.A)(e,l.A,b)};var A=o("./node_modules/lodash-es/_getTag.js"),x=Object.prototype.hasOwnProperty;const C=function(e){var t=e.length,o=new e.constructor(t);return t&&"string"==typeof e[0]&&x.call(e,"index")&&(o.index=e.index,o.input=e.input),o};var E=o("./node_modules/lodash-es/_cloneArrayBuffer.js");const P=function(e,t){var o=t?(0,E.A)(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)};var T=/\w*$/;const S=function(e){var t=new e.constructor(e.source,T.exec(e));return t.lastIndex=e.lastIndex,t};var M=o("./node_modules/lodash-es/_Symbol.js"),O=M.A?M.A.prototype:void 0,V=O?O.valueOf:void 0;const R=function(e){return V?Object(V.call(e)):{}};var j=o("./node_modules/lodash-es/_cloneTypedArray.js");const I=function(e,t,o){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,E.A)(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return P(e,o);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,j.A)(e,o);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return S(e);case"[object Symbol]":return R(e)}};var B=o("./node_modules/lodash-es/_initCloneObject.js"),N=o("./node_modules/lodash-es/isArray.js"),D=o("./node_modules/lodash-es/isBuffer.js"),F=o("./node_modules/lodash-es/isObjectLike.js");const L=function(e){return(0,F.A)(e)&&"[object Map]"==(0,A.A)(e)};var z=o("./node_modules/lodash-es/_baseUnary.js"),H=o("./node_modules/lodash-es/_nodeUtil.js"),$=H.A&&H.A.isMap;const W=$?(0,z.A)($):L;var q=o("./node_modules/lodash-es/isObject.js");const U=function(e){return(0,F.A)(e)&&"[object Set]"==(0,A.A)(e)};var K=H.A&&H.A.isSet;const Y=K?(0,z.A)(K):U;var G="[object Arguments]",Z="[object Function]",J="[object Object]",X={};X[G]=X["[object Array]"]=X["[object ArrayBuffer]"]=X["[object DataView]"]=X["[object Boolean]"]=X["[object Date]"]=X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Map]"]=X["[object Number]"]=X[J]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object Symbol]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X["[object Error]"]=X[Z]=X["[object WeakMap]"]=!1;const Q=function e(t,o,r,m,f,g){var _,b=1&o,v=2&o,x=4&o;if(r&&(_=f?r(t,m,f,g):r(t)),void 0!==_)return _;if(!(0,q.A)(t))return t;var E=(0,N.A)(t);if(E){if(_=C(t),!b)return(0,u.A)(t,_)}else{var P=(0,A.A)(t),T=P==Z||"[object GeneratorFunction]"==P;if((0,D.A)(t))return(0,h.A)(t,b);if(P==J||P==G||T&&!f){if(_=v||T?{}:(0,B.A)(t),!b)return v?k(t,d(_,t)):p(t,c(_,t))}else{if(!X[P])return f?t:{};_=I(t,P,b)}}g||(g=new s.A);var S=g.get(t);if(S)return S;g.set(t,_),Y(t)?t.forEach((function(s){_.add(e(s,o,r,s,t,g))})):W(t)&&t.forEach((function(s,i){_.set(i,e(s,o,r,i,t,g))}));var M=x?v?y:w.A:v?l.A:a.A,O=E?void 0:M(t);return i(O||t,(function(s,i){O&&(s=t[i=s]),(0,n.A)(_,i,e(s,o,r,i,t,g))})),_}},"./node_modules/lodash-es/_baseFor.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return function(t,o,s){for(var i=-1,n=Object(t),r=s(t),a=r.length;a--;){var c=r[e?a:++i];if(!1===o(n[c],c,n))break}return t}}()},"./node_modules/lodash-es/_baseGet.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_castPath.js"),i=o("./node_modules/lodash-es/_toKey.js");const n=function(e,t){for(var o=0,n=(t=(0,s.A)(t,e)).length;null!=e&&o<n;)e=e[(0,i.A)(t[o++])];return o&&o==n?e:void 0}},"./node_modules/lodash-es/_baseGetAllKeys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_arrayPush.js"),i=o("./node_modules/lodash-es/isArray.js");const n=function(e,t,o){var n=t(e);return(0,i.A)(e)?n:(0,s.A)(n,o(e))}},"./node_modules/lodash-es/_baseGetTag.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o("./node_modules/lodash-es/_Symbol.js"),i=Object.prototype,n=i.hasOwnProperty,r=i.toString,a=s.A?s.A.toStringTag:void 0;const c=function(e){var t=n.call(e,a),o=e[a];try{e[a]=void 0;var s=!0}catch(e){}var i=r.call(e);return s&&(t?e[a]=o:delete e[a]),i};var l=Object.prototype.toString;const d=function(e){return l.call(e)};var h=s.A?s.A.toStringTag:void 0;const u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":h&&h in Object(e)?c(e):d(e)}},"./node_modules/lodash-es/_baseIsEqual.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>R});var s=o("./node_modules/lodash-es/_Stack.js"),i=o("./node_modules/lodash-es/_MapCache.js");const n=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const r=function(e){return this.__data__.has(e)};function a(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new i.A;++t<o;)this.add(e[t])}a.prototype.add=a.prototype.push=n,a.prototype.has=r;const c=a;const l=function(e,t){for(var o=-1,s=null==e?0:e.length;++o<s;)if(t(e[o],o,e))return!0;return!1};const d=function(e,t){return e.has(t)};const h=function(e,t,o,s,i,n){var r=1&o,a=e.length,h=t.length;if(a!=h&&!(r&&h>a))return!1;var u=n.get(e),m=n.get(t);if(u&&m)return u==t&&m==e;var p=-1,f=!0,g=2&o?new c:void 0;for(n.set(e,t),n.set(t,e);++p<a;){var _=e[p],b=t[p];if(s)var k=r?s(b,_,p,t,e,n):s(_,b,p,e,t,n);if(void 0!==k){if(k)continue;f=!1;break}if(g){if(!l(t,(function(e,t){if(!d(g,t)&&(_===e||i(_,e,o,s,n)))return g.push(t)}))){f=!1;break}}else if(_!==b&&!i(_,b,o,s,n)){f=!1;break}}return n.delete(e),n.delete(t),f};var u=o("./node_modules/lodash-es/_Symbol.js"),m=o("./node_modules/lodash-es/_Uint8Array.js"),p=o("./node_modules/lodash-es/eq.js");const f=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,s){o[++t]=[s,e]})),o};const g=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o};var _=u.A?u.A.prototype:void 0,b=_?_.valueOf:void 0;const k=function(e,t,o,s,i,n,r){switch(o){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!n(new m.A(e),new m.A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,p.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=f;case"[object Set]":var c=1&s;if(a||(a=g),e.size!=t.size&&!c)return!1;var l=r.get(e);if(l)return l==t;s|=2,r.set(e,t);var d=h(a(e),a(t),s,i,n,r);return r.delete(e),d;case"[object Symbol]":if(b)return b.call(e)==b.call(t)}return!1};var w=o("./node_modules/lodash-es/_getAllKeys.js"),v=Object.prototype.hasOwnProperty;const y=function(e,t,o,s,i,n){var r=1&o,a=(0,w.A)(e),c=a.length;if(c!=(0,w.A)(t).length&&!r)return!1;for(var l=c;l--;){var d=a[l];if(!(r?d in t:v.call(t,d)))return!1}var h=n.get(e),u=n.get(t);if(h&&u)return h==t&&u==e;var m=!0;n.set(e,t),n.set(t,e);for(var p=r;++l<c;){var f=e[d=a[l]],g=t[d];if(s)var _=r?s(g,f,d,t,e,n):s(f,g,d,e,t,n);if(!(void 0===_?f===g||i(f,g,o,s,n):_)){m=!1;break}p||(p="constructor"==d)}if(m&&!p){var b=e.constructor,k=t.constructor;b==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k||(m=!1)}return n.delete(e),n.delete(t),m};var A=o("./node_modules/lodash-es/_getTag.js"),x=o("./node_modules/lodash-es/isArray.js"),C=o("./node_modules/lodash-es/isBuffer.js"),E=o("./node_modules/lodash-es/isTypedArray.js"),P="[object Arguments]",T="[object Array]",S="[object Object]",M=Object.prototype.hasOwnProperty;const O=function(e,t,o,i,n,r){var a=(0,x.A)(e),c=(0,x.A)(t),l=a?T:(0,A.A)(e),d=c?T:(0,A.A)(t),u=(l=l==P?S:l)==S,m=(d=d==P?S:d)==S,p=l==d;if(p&&(0,C.A)(e)){if(!(0,C.A)(t))return!1;a=!0,u=!1}if(p&&!u)return r||(r=new s.A),a||(0,E.A)(e)?h(e,t,o,i,n,r):k(e,t,l,o,i,n,r);if(!(1&o)){var f=u&&M.call(e,"__wrapped__"),g=m&&M.call(t,"__wrapped__");if(f||g){var _=f?e.value():e,b=g?t.value():t;return r||(r=new s.A),n(_,b,o,i,r)}}return!!p&&(r||(r=new s.A),y(e,t,o,i,n,r))};var V=o("./node_modules/lodash-es/isObjectLike.js");const R=function e(t,o,s,i,n){return t===o||(null==t||null==o||!(0,V.A)(t)&&!(0,V.A)(o)?t!=t&&o!=o:O(t,o,s,i,e,n))}},"./node_modules/lodash-es/_baseUnary.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return function(t){return e(t)}}},"./node_modules/lodash-es/_castPath.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o("./node_modules/lodash-es/isArray.js"),i=o("./node_modules/lodash-es/_isKey.js"),n=o("./node_modules/lodash-es/_MapCache.js");function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var s=arguments,i=t?t.apply(this,s):s[0],n=o.cache;if(n.has(i))return n.get(i);var r=e.apply(this,s);return o.cache=n.set(i,r)||n,r};return o.cache=new(r.Cache||n.A),o}r.Cache=n.A;const a=r;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;const d=function(e){var t=a(e,(function(e){return 500===o.size&&o.clear(),e})),o=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,(function(e,o,s,i){t.push(s?i.replace(l,"$1"):o||e)})),t}));var h=o("./node_modules/lodash-es/toString.js");const u=function(e,t){return(0,s.A)(e)?e:(0,i.A)(e,t)?[e]:d((0,h.A)(e))}},"./node_modules/lodash-es/_cloneArrayBuffer.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_Uint8Array.js");const i=function(e){var t=new e.constructor(e.byteLength);return new s.A(t).set(new s.A(e)),t}},"./node_modules/lodash-es/_cloneBuffer.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var s=o("./node_modules/lodash-es/_root.js"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=i&&"object"==typeof module&&module&&!module.nodeType&&module,r=n&&n.exports===i?s.A.Buffer:void 0,a=r?r.allocUnsafe:void 0;const c=function(e,t){if(t)return e.slice();var o=e.length,s=a?a(o):new e.constructor(o);return e.copy(s),s}},"./node_modules/lodash-es/_cloneTypedArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_cloneArrayBuffer.js");const i=function(e,t){var o=t?(0,s.A)(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}},"./node_modules/lodash-es/_copyArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){var o=-1,s=e.length;for(t||(t=Array(s));++o<s;)t[o]=e[o];return t}},"./node_modules/lodash-es/_copyObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_assignValue.js"),i=o("./node_modules/lodash-es/_baseAssignValue.js");const n=function(e,t,o,n){var r=!o;o||(o={});for(var a=-1,c=t.length;++a<c;){var l=t[a],d=n?n(o[l],e[l],l,o,e):void 0;void 0===d&&(d=e[l]),r?(0,i.A)(o,l,d):(0,s.A)(o,l,d)}return o}},"./node_modules/lodash-es/_createAssigner.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>b});var s=o("./node_modules/lodash-es/identity.js");const i=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)};var n=Math.max;const r=function(e,t,o){return t=n(void 0===t?e.length-1:t,0),function(){for(var s=arguments,r=-1,a=n(s.length-t,0),c=Array(a);++r<a;)c[r]=s[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=s[r];return l[t]=o(c),i(e,this,l)}};const a=function(e){return function(){return e}};var c=o("./node_modules/lodash-es/_defineProperty.js");const l=c.A?function(e,t){return(0,c.A)(e,"toString",{configurable:!0,enumerable:!1,value:a(t),writable:!0})}:s.A;var d=Date.now;const h=function(e){var t=0,o=0;return function(){var s=d(),i=16-(s-o);if(o=s,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(l);const u=function(e,t){return h(r(e,t,s.A),e+"")};var m=o("./node_modules/lodash-es/eq.js"),p=o("./node_modules/lodash-es/isArrayLike.js"),f=o("./node_modules/lodash-es/_isIndex.js"),g=o("./node_modules/lodash-es/isObject.js");const _=function(e,t,o){if(!(0,g.A)(o))return!1;var s=typeof t;return!!("number"==s?(0,p.A)(o)&&(0,f.A)(t,o.length):"string"==s&&t in o)&&(0,m.A)(o[t],e)};const b=function(e){return u((function(t,o){var s=-1,i=o.length,n=i>1?o[i-1]:void 0,r=i>2?o[2]:void 0;for(n=e.length>3&&"function"==typeof n?(i--,n):void 0,r&&_(o[0],o[1],r)&&(n=i<3?void 0:n,i=1),t=Object(t);++s<i;){var a=o[s];a&&e(t,a,s,n)}return t}))}},"./node_modules/lodash-es/_defineProperty.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_getNative.js");const i=function(){try{var e=(0,s.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},"./node_modules/lodash-es/_freeGlobal.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s="object"==typeof global&&global&&global.Object===Object&&global},"./node_modules/lodash-es/_getAllKeys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/_baseGetAllKeys.js"),i=o("./node_modules/lodash-es/_getSymbols.js"),n=o("./node_modules/lodash-es/keys.js");const r=function(e){return(0,s.A)(e,n.A,i.A)}},"./node_modules/lodash-es/_getNative.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>b});var s=o("./node_modules/lodash-es/isFunction.js");const i=o("./node_modules/lodash-es/_root.js").A["__core-js_shared__"];var n,r=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";const a=function(e){return!!r&&r in e};var c=o("./node_modules/lodash-es/isObject.js"),l=o("./node_modules/lodash-es/_toSource.js"),d=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,m=h.toString,p=u.hasOwnProperty,f=RegExp("^"+m.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(e){return!(!(0,c.A)(e)||a(e))&&((0,s.A)(e)?f:d).test((0,l.A)(e))};const _=function(e,t){return null==e?void 0:e[t]};const b=function(e,t){var o=_(e,t);return g(o)?o:void 0}},"./node_modules/lodash-es/_getPrototype.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=(0,o("./node_modules/lodash-es/_overArg.js").A)(Object.getPrototypeOf,Object)},"./node_modules/lodash-es/_getSymbols.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});const s=function(e,t){for(var o=-1,s=null==e?0:e.length,i=0,n=[];++o<s;){var r=e[o];t(r,o,e)&&(n[i++]=r)}return n};var i=o("./node_modules/lodash-es/stubArray.js"),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;const a=r?function(e){return null==e?[]:(e=Object(e),s(r(e),(function(t){return n.call(e,t)})))}:i.A},"./node_modules/lodash-es/_getTag.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>A});var s=o("./node_modules/lodash-es/_getNative.js"),i=o("./node_modules/lodash-es/_root.js");const n=(0,s.A)(i.A,"DataView");var r=o("./node_modules/lodash-es/_Map.js");const a=(0,s.A)(i.A,"Promise");const c=(0,s.A)(i.A,"Set");const l=(0,s.A)(i.A,"WeakMap");var d=o("./node_modules/lodash-es/_baseGetTag.js"),h=o("./node_modules/lodash-es/_toSource.js"),u="[object Map]",m="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",_=(0,h.A)(n),b=(0,h.A)(r.A),k=(0,h.A)(a),w=(0,h.A)(c),v=(0,h.A)(l),y=d.A;(n&&y(new n(new ArrayBuffer(1)))!=g||r.A&&y(new r.A)!=u||a&&y(a.resolve())!=m||c&&y(new c)!=p||l&&y(new l)!=f)&&(y=function(e){var t=(0,d.A)(e),o="[object Object]"==t?e.constructor:void 0,s=o?(0,h.A)(o):"";if(s)switch(s){case _:return g;case b:return u;case k:return m;case w:return p;case v:return f}return t});const A=y},"./node_modules/lodash-es/_initCloneObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var s=o("./node_modules/lodash-es/isObject.js"),i=Object.create;const n=function(){function e(){}return function(t){if(!(0,s.A)(t))return{};if(i)return i(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();var r=o("./node_modules/lodash-es/_getPrototype.js"),a=o("./node_modules/lodash-es/_isPrototype.js");const c=function(e){return"function"!=typeof e.constructor||(0,a.A)(e)?{}:n((0,r.A)(e))}},"./node_modules/lodash-es/_isIndex.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=/^(?:0|[1-9]\d*)$/;const i=function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&s.test(e))&&e>-1&&e%1==0&&e<t}},"./node_modules/lodash-es/_isKey.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/lodash-es/isArray.js"),i=o("./node_modules/lodash-es/isSymbol.js"),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;const a=function(e,t){if((0,s.A)(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!(0,i.A)(e))||(r.test(e)||!n.test(e)||null!=t&&e in Object(t))}},"./node_modules/lodash-es/_isPrototype.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=Object.prototype;const i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||s)}},"./node_modules/lodash-es/_nodeUtil.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o("./node_modules/lodash-es/_freeGlobal.js"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=i&&"object"==typeof module&&module&&!module.nodeType&&module,r=n&&n.exports===i&&s.A.process;const a=function(){try{var e=n&&n.require&&n.require("util").types;return e||r&&r.binding&&r.binding("util")}catch(e){}}()},"./node_modules/lodash-es/_overArg.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){return function(o){return e(t(o))}}},"./node_modules/lodash-es/_root.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_freeGlobal.js"),i="object"==typeof self&&self&&self.Object===Object&&self;const n=s.A||i||Function("return this")()},"./node_modules/lodash-es/_toKey.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/isSymbol.js");const i=function(e){if("string"==typeof e||(0,s.A)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},"./node_modules/lodash-es/_toSource.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=Function.prototype.toString;const i=function(e){if(null!=e){try{return s.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},"./node_modules/lodash-es/assignIn.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/_copyObject.js"),i=o("./node_modules/lodash-es/_createAssigner.js"),n=o("./node_modules/lodash-es/keysIn.js");const r=(0,i.A)((function(e,t){(0,s.A)(t,(0,n.A)(t),e)}))},"./node_modules/lodash-es/cloneDeep.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_baseClone.js");const i=function(e){return(0,s.A)(e,5)}},"./node_modules/lodash-es/cloneDeepWith.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_baseClone.js");const i=function(e,t){return t="function"==typeof t?t:void 0,(0,s.A)(e,5,t)}},"./node_modules/lodash-es/debounce.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>b});var s=o("./node_modules/lodash-es/isObject.js"),i=o("./node_modules/lodash-es/_root.js");const n=function(){return i.A.Date.now()};var r=/\s/;const a=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var c=/^\s+/;const l=function(e){return e?e.slice(0,a(e)+1).replace(c,""):e};var d=o("./node_modules/lodash-es/isSymbol.js"),h=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,m=/^0o[0-7]+$/i,p=parseInt;const f=function(e){if("number"==typeof e)return e;if((0,d.A)(e))return NaN;if((0,s.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=l(e);var o=u.test(e);return o||m.test(e)?p(e.slice(2),o?2:8):h.test(e)?NaN:+e};var g=Math.max,_=Math.min;const b=function(e,t,o){var i,r,a,c,l,d,h=0,u=!1,m=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var o=i,s=r;return i=r=void 0,h=t,c=e.apply(s,o)}function k(e){var o=e-d;return void 0===d||o>=t||o<0||m&&e-h>=a}function w(){var e=n();if(k(e))return v(e);l=setTimeout(w,function(e){var o=t-(e-d);return m?_(o,a-(e-h)):o}(e))}function v(e){return l=void 0,p&&i?b(e):(i=r=void 0,c)}function y(){var e=n(),o=k(e);if(i=arguments,r=this,d=e,o){if(void 0===l)return function(e){return h=e,l=setTimeout(w,t),u?b(e):c}(d);if(m)return clearTimeout(l),l=setTimeout(w,t),b(d)}return void 0===l&&(l=setTimeout(w,t)),c}return t=f(t)||0,(0,s.A)(o)&&(u=!!o.leading,a=(m="maxWait"in o)?g(f(o.maxWait)||0,t):a,p="trailing"in o?!!o.trailing:p),y.cancel=function(){void 0!==l&&clearTimeout(l),h=0,i=d=r=l=void 0},y.flush=function(){return void 0===l?c:v(n())},y}},"./node_modules/lodash-es/eq.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e,t){return e===t||e!=e&&t!=t}},"./node_modules/lodash-es/escapeRegExp.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o("./node_modules/lodash-es/toString.js"),i=/[\\^$.*+?()[\]{}|]/g,n=RegExp(i.source);const r=function(e){return(e=(0,s.A)(e))&&n.test(e)?e.replace(i,"\\$&"):e}},"./node_modules/lodash-es/get.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o("./node_modules/lodash-es/_baseGet.js");const i=function(e,t,o){var i=null==e?void 0:(0,s.A)(e,t);return void 0===i?o:i}},"./node_modules/lodash-es/identity.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return e}},"./node_modules/lodash-es/isArguments.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isObjectLike.js");const n=function(e){return(0,i.A)(e)&&"[object Arguments]"==(0,s.A)(e)};var r=Object.prototype,a=r.hasOwnProperty,c=r.propertyIsEnumerable;const l=n(function(){return arguments}())?n:function(e){return(0,i.A)(e)&&a.call(e,"callee")&&!c.call(e,"callee")}},"./node_modules/lodash-es/isArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=Array.isArray},"./node_modules/lodash-es/isArrayLike.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/isFunction.js"),i=o("./node_modules/lodash-es/isLength.js");const n=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,s.A)(e)}},"./node_modules/lodash-es/isBuffer.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var s=o("./node_modules/lodash-es/_root.js");const i=function(){return!1};var n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=r&&r.exports===n?s.A.Buffer:void 0;const c=(a?a.isBuffer:void 0)||i},"./node_modules/lodash-es/isElement.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/isObjectLike.js"),i=o("./node_modules/lodash-es/isPlainObject.js");const n=function(e){return(0,s.A)(e)&&1===e.nodeType&&!(0,i.A)(e)}},"./node_modules/lodash-es/isFunction.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isObject.js");const n=function(e){if(!(0,i.A)(e))return!1;var t=(0,s.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},"./node_modules/lodash-es/isLength.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},"./node_modules/lodash-es/isObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"./node_modules/lodash-es/isObjectLike.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(e){return null!=e&&"object"==typeof e}},"./node_modules/lodash-es/isPlainObject.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/_getPrototype.js"),n=o("./node_modules/lodash-es/isObjectLike.js"),r=Function.prototype,a=Object.prototype,c=r.toString,l=a.hasOwnProperty,d=c.call(Object);const h=function(e){if(!(0,n.A)(e)||"[object Object]"!=(0,s.A)(e))return!1;var t=(0,i.A)(e);if(null===t)return!0;var o=l.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&c.call(o)==d}},"./node_modules/lodash-es/isSymbol.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isObjectLike.js");const n=function(e){return"symbol"==typeof e||(0,i.A)(e)&&"[object Symbol]"==(0,s.A)(e)}},"./node_modules/lodash-es/isTypedArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var s=o("./node_modules/lodash-es/_baseGetTag.js"),i=o("./node_modules/lodash-es/isLength.js"),n=o("./node_modules/lodash-es/isObjectLike.js"),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1;const a=function(e){return(0,n.A)(e)&&(0,i.A)(e.length)&&!!r[(0,s.A)(e)]};var c=o("./node_modules/lodash-es/_baseUnary.js"),l=o("./node_modules/lodash-es/_nodeUtil.js"),d=l.A&&l.A.isTypedArray;const h=d?(0,c.A)(d):a},"./node_modules/lodash-es/keys.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var s=o("./node_modules/lodash-es/_arrayLikeKeys.js"),i=o("./node_modules/lodash-es/_isPrototype.js");const n=(0,o("./node_modules/lodash-es/_overArg.js").A)(Object.keys,Object);var r=Object.prototype.hasOwnProperty;const a=function(e){if(!(0,i.A)(e))return n(e);var t=[];for(var o in Object(e))r.call(e,o)&&"constructor"!=o&&t.push(o);return t};var c=o("./node_modules/lodash-es/isArrayLike.js");const l=function(e){return(0,c.A)(e)?(0,s.A)(e):a(e)}},"./node_modules/lodash-es/keysIn.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var s=o("./node_modules/lodash-es/_arrayLikeKeys.js"),i=o("./node_modules/lodash-es/isObject.js"),n=o("./node_modules/lodash-es/_isPrototype.js");const r=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t};var a=Object.prototype.hasOwnProperty;const c=function(e){if(!(0,i.A)(e))return r(e);var t=(0,n.A)(e),o=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&o.push(s);return o};var l=o("./node_modules/lodash-es/isArrayLike.js");const d=function(e){return(0,l.A)(e)?(0,s.A)(e,!0):c(e)}},"./node_modules/lodash-es/merge.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>T});var s=o("./node_modules/lodash-es/_Stack.js"),i=o("./node_modules/lodash-es/_baseAssignValue.js"),n=o("./node_modules/lodash-es/eq.js");const r=function(e,t,o){(void 0!==o&&!(0,n.A)(e[t],o)||void 0===o&&!(t in e))&&(0,i.A)(e,t,o)};var a=o("./node_modules/lodash-es/_baseFor.js"),c=o("./node_modules/lodash-es/_cloneBuffer.js"),l=o("./node_modules/lodash-es/_cloneTypedArray.js"),d=o("./node_modules/lodash-es/_copyArray.js"),h=o("./node_modules/lodash-es/_initCloneObject.js"),u=o("./node_modules/lodash-es/isArguments.js"),m=o("./node_modules/lodash-es/isArray.js"),p=o("./node_modules/lodash-es/isArrayLike.js"),f=o("./node_modules/lodash-es/isObjectLike.js");const g=function(e){return(0,f.A)(e)&&(0,p.A)(e)};var _=o("./node_modules/lodash-es/isBuffer.js"),b=o("./node_modules/lodash-es/isFunction.js"),k=o("./node_modules/lodash-es/isObject.js"),w=o("./node_modules/lodash-es/isPlainObject.js"),v=o("./node_modules/lodash-es/isTypedArray.js");const y=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var A=o("./node_modules/lodash-es/_copyObject.js"),x=o("./node_modules/lodash-es/keysIn.js");const C=function(e){return(0,A.A)(e,(0,x.A)(e))};const E=function(e,t,o,s,i,n,a){var p=y(e,o),f=y(t,o),A=a.get(f);if(A)r(e,o,A);else{var x=n?n(p,f,o+"",e,t,a):void 0,E=void 0===x;if(E){var P=(0,m.A)(f),T=!P&&(0,_.A)(f),S=!P&&!T&&(0,v.A)(f);x=f,P||T||S?(0,m.A)(p)?x=p:g(p)?x=(0,d.A)(p):T?(E=!1,x=(0,c.A)(f,!0)):S?(E=!1,x=(0,l.A)(f,!0)):x=[]:(0,w.A)(f)||(0,u.A)(f)?(x=p,(0,u.A)(p)?x=C(p):(0,k.A)(p)&&!(0,b.A)(p)||(x=(0,h.A)(f))):E=!1}E&&(a.set(f,x),i(x,f,s,n,a),a.delete(f)),r(e,o,x)}};const P=function e(t,o,i,n,c){t!==o&&(0,a.A)(o,(function(a,l){if(c||(c=new s.A),(0,k.A)(a))E(t,o,l,i,e,n,c);else{var d=n?n(y(t,l),a,l+"",t,o,c):void 0;void 0===d&&(d=a),r(t,l,d)}}),x.A)};const T=(0,o("./node_modules/lodash-es/_createAssigner.js").A)((function(e,t,o){P(e,t,o)}))},"./node_modules/lodash-es/stubArray.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s=function(){return[]}},"./node_modules/lodash-es/throttle.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o("./node_modules/lodash-es/debounce.js"),i=o("./node_modules/lodash-es/isObject.js");const n=function(e,t,o){var n=!0,r=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,i.A)(o)&&(n="leading"in o?!!o.leading:n,r="trailing"in o?!!o.trailing:r),(0,s.A)(e,t,{leading:n,maxWait:t,trailing:r})}},"./node_modules/lodash-es/toString.js":(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var s=o("./node_modules/lodash-es/_Symbol.js");const i=function(e,t){for(var o=-1,s=null==e?0:e.length,i=Array(s);++o<s;)i[o]=t(e[o],o,e);return i};var n=o("./node_modules/lodash-es/isArray.js"),r=o("./node_modules/lodash-es/isSymbol.js"),a=s.A?s.A.prototype:void 0,c=a?a.toString:void 0;const l=function e(t){if("string"==typeof t)return t;if((0,n.A)(t))return i(t,e)+"";if((0,r.A)(t))return c?c.call(t):"";var o=t+"";return"0"==o&&1/t==-1/0?"-0":o};const d=function(e){return null==e?"":l(e)}}},t={};function o(s){var i=t[s];if(void 0!==i)return i.exports;var n=t[s]={id:s,exports:{}};return e[s](n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s=o("?7cdd");(window.CKEditor5=window.CKEditor5||{}).dll=s})(),function(e){e.CKEditor5=e.CKEditor5||{};const t=["utils","core","engine","ui","clipboard","enter","paragraph","select-all","typing","undo","upload","widget","watchdog"];for(const o of t){const t=o.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()));e.CKEditor5[t]=e.CKEditor5.dll(`./src/${o}.js`)}}(window); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/af.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/af.js index 1688f136f98b8b25d13b31cda75bfe3ca2057305..e7b358ccafc422639cc40025dc0661997de16c3e 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/af.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/af.js @@ -1 +1 @@ -!function(e){const t=e.af=e.af||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 van %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Kanselleer","Cannot upload file:":"Lêer nie opgelaai nie:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Wysig",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"","Remove color":"Verwyder kleur","Replace image with file manager":"","Replace with file manager":"","Restore default":"Herstel verstek","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Stoor","Show more items":"Wys meer items","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.af=e.af||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 van %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Kanselleer","Cannot upload file:":"Lêer nie opgelaai nie:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Wysig",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"Verwyder kleur","Replace image with file manager":"","Replace with file manager":"","Restore default":"Herstel verstek","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Stoor","Select all":"","Show more items":"Wys meer items","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ar.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ar.js index 1caf7568bbc84c5f314ada68db80a83644e6d98f..42b3ca717415d3c1406c1f69fdfa4daabd0b253d 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ar.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ar.js @@ -1 +1 @@ -!function(e){const t=e.ar=e.ar||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(قد يتطلب <kbd>Ù…ÙØªØ§Ø Fn</kbd>)","%0 of %1":"%0 من %1",Accept:"قبول",Accessibility:"إمكانية الوصول","Accessibility help":"تعليمات إمكانية الوصول",Aquamarine:"أخضر زبرجد","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ستجد أدناه قائمة باختصارات لوØØ© المÙØ§ØªÙŠØ Ø§Ù„ØªÙŠ يمكن استخدامها ÙÙŠ المØرّÙر.",Black:"أسود",Blue:"أزرق",Cancel:"إلغاء","Cannot upload file:":"لا يمكن رÙع الملÙ:",Clear:"مسØ","Click to edit block":"انقر لتØرير الوØدة التجميعية",Close:"إغلاق","Close contextual balloons, dropdowns, and dialogs":"أغلقْ البالونات السياقية والقوائم المنسدلة ومربعات الØوار","Content editing keystrokes":"ضغطة المÙØ§ØªÙŠØ Ù„ØªØرير المØتوى","Copy selected content":"انسخْ المØتوى المØدد","Dim grey":"رمادي خاÙت","Drag to move":"اسØب للنقل","Dropdown menu":"القائمة المنسدلة","Dropdown toolbar":"شريط أدوات القائمة المنسدلة","Edit block":"كتلة التØرير","Editor block content toolbar":"شريط المØرر لأدوات كتلة المØتوى","Editor contextual toolbar":"شريط المØرر للأدوات السياقية","Editor dialog":"Øوار المØرر","Editor menu bar":"شريط قائمة المØرّÙر","Editor toolbar":"شريط أدوات المØرر","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"قم بتنÙيذ الزر المركَّز Øالياً، Øيث أن تنÙيذ الأزرار المتÙاعلة مع Ù…Øتوى المØرّÙر يؤدي إلى إعادة التركيز إلى المØتوى.",File:"ملÙ",Green:"أخضر",Grey:"رمادي","Help Contents. To close this dialog press ESC.":"Ù…Øتويات التعليمات. لإغلاق هذا الØوار، اضغطْ على Ù…ÙØªØ§Ø ESC.",HEX:"لون سداسي عشري","Insert a hard break (a new paragraph)":"قمْ بإدراج Ùاصل ثابت (Ùقرة جديدة)","Insert a new paragraph directly after a widget":"قم بإدراج Ùقرة جديدة مباشرةً بعد الأداة","Insert a new paragraph directly before a widget":"قم بإدراج Ùقرة جديدة مباشرةً قبل الأداة","Insert a soft break (a <code><br></code> element)":"قمْ بإدراج Ùاصل بسيط (عنصر <code><br></code>)","Insert image with file manager":"إدراج صورة مع مدير الملÙات","Insert paragraph after block":"إدراج Ùقرة بعد الكتلة","Insert paragraph before block":"إدراج Ùقرة قبل الكتلة","Insert with file manager":"إدخال مع مدير الملÙات","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ضغطة المÙØ§ØªÙŠØ Ø§Ù„ØªÙŠ يمكن استخدامها عند اختيار الأداة (على سبيل المثال: الصورة والجدول وما إلى ذلك)","Light blue":"أزرق ÙاتØ","Light green":"أخضر ÙاتØ","Light grey":"رمادي ÙاتØ",MENU_BAR_MENU_EDIT:"تØرير",MENU_BAR_MENU_FILE:"ملÙ",MENU_BAR_MENU_FONT:"خط",MENU_BAR_MENU_FORMAT:"صيغة",MENU_BAR_MENU_HELP:"مساعدة",MENU_BAR_MENU_INSERT:"إدراج",MENU_BAR_MENU_TEXT:"نص",MENU_BAR_MENU_TOOLS:"أدوات",MENU_BAR_MENU_VIEW:"عرض","Move focus between form fields (inputs, buttons, etc.)":"انقلْ التركيز بين Øقول النموذج (المدخلات والأزرار وما إلى ذلك)","Move focus from an editable area back to the parent widget":"انقل التركيز من منطقة قابلة للتØرير لتعيده إلى الأداة الأصلية","Move focus in and out of an active dialog window":"انقلْ التركيز داخل وخارج ناÙذة الØوار النشطة","Move focus to the menu bar, navigate between menu bars":"انقلْ التركيز إلى شريط القائمة، وتَنقّلْ بين أشرطة القوائم","Move focus to the toolbar, navigate between toolbars":"انقلْ التركيز إلى شريط الأدوات، وتنقّلْ بين أشرطة الأدوات","Move the caret to allow typing directly after a widget":"Øرّكْ علامة الإقØام Ù„Ù„Ø³Ù…Ø§Ø Ø¨Ø§Ù„ÙƒØªØ§Ø¨Ø© مباشرةً بعد الأداة","Move the caret to allow typing directly before a widget":"Øرّكْ علامة الإقØام Ù„Ù„Ø³Ù…Ø§Ø Ø¨Ø§Ù„ÙƒØªØ§Ø¨Ø© مباشرةً قبل الأداة","Navigate through the toolbar or menu bar":"تنقّلْ عبر شريط الأدوات أو شريط القوائم",Next:"التالي","No results found":"لم يتم العثور على نتائج","No searchable items":"لا توجد عناصر قابلة للبØØ« متاØØ©","Open the accessibility help dialog":"اÙتØÙ’ مربع الØوار بشأن تعليمات إمكانية الوصول",Orange:"برتقالي","Paste content":"الصقْ المØتوى","Paste content as plain text":"الصقْ المØتوى كنص عادي",'Please enter a valid color (e.g. "ff0000").':'ÙŠÙرجى إدخال لون ØµØ§Ù„Ø (على سبيل المثال "ff0000").',"Press %0 for help.":"اضغط على %0 للØصول على التعليمات.","Press Enter to type after or press Shift + Enter to type before the widget":"اضغط على Enter للكتابة بعد ذلك أو اضغط على Shift + Enter للكتابة قبل الأداة",Previous:"السابق",Purple:"أرجواني",Red:"Ø£Øمر",Redo:"إعادة","Remove color":"إزالة اللون","Replace image with file manager":"استبدال الصورة بمدير الملÙات","Replace with file manager":"استبدال بمدير الملÙات","Restore default":"استعادة الاÙتراضي","Rich Text Editor":"معالج نصوص","Rich Text Editor. Editing area: %0":"Ù…Øرر النصوص المنسّقة. منطقة التØرير: %0",Save:"ØÙظ","Select all":"تØديد الكل","Show more items":"عرض المزيد من العناصر","These keyboard shortcuts allow for quick access to content editing features.":"ØªØ³Ù…Ø Ø§Ø®ØªØµØ§Ø±Ø§Øª لوØØ© المÙØ§ØªÙŠØ Ù‡Ø°Ù‡ بالوصول سريعاً إلى ميزات تØرير المØتوى.","Toggle caption off":"إخÙاء التسمية التوضيØية","Toggle caption on":"عرض التسمية التوضيØية",Turquoise:"Ùيروزي",Undo:"تراجع","Upload in progress":"جاري الرÙع","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"استخدمْ ضغطة المÙØ§ØªÙŠØ Ø§Ù„ØªØ§Ù„ÙŠØ© للتنقل بشكل أكثر ÙƒÙاءة ÙÙŠ واجهة مستخدم CKEditor 5.","User interface and content navigation keystrokes":"واجهة المستخدم وضغطة المÙØ§ØªÙŠØ Ù„Ù„ØªÙ†Ù‚Ù„ ÙÙŠ المØتوى",White:"أبيض","Widget toolbar":"شريط أدوات الواجهة","With file manager":"باستخدام مدير الملÙات",Yellow:"أصÙر"}),t.getPluralForm=function(e){return 0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ar=e.ar||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(قد يتطلب <kbd>Ù…ÙØªØ§Ø Fn</kbd>)","%0 of %1":"%0 من %1",Accept:"قبول",Accessibility:"إمكانية الوصول","Accessibility help":"تعليمات إمكانية الوصول",Aquamarine:"أخضر زبرجد","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ستجد أدناه قائمة باختصارات لوØØ© المÙØ§ØªÙŠØ Ø§Ù„ØªÙŠ يمكن استخدامها ÙÙŠ المØرّÙر.",Black:"أسود",Blue:"أزرق",Cancel:"إلغاء","Cannot upload file:":"لا يمكن رÙع الملÙ:",Clear:"مسØ","Click to edit block":"انقر لتØرير الوØدة التجميعية",Close:"إغلاق","Close contextual balloons, dropdowns, and dialogs":"أغلقْ البالونات السياقية والقوائم المنسدلة ومربعات الØوار","Color picker":"أداة انتقاء الألوان","Content editing keystrokes":"ضغطة المÙØ§ØªÙŠØ Ù„ØªØرير المØتوى","Copy selected content":"انسخْ المØتوى المØدد","Dim grey":"رمادي خاÙت","Drag to move":"اسØب للنقل","Dropdown menu":"القائمة المنسدلة","Dropdown toolbar":"شريط أدوات القائمة المنسدلة","Edit block":"كتلة التØرير","Editor block content toolbar":"شريط المØرر لأدوات كتلة المØتوى","Editor contextual toolbar":"شريط المØرر للأدوات السياقية","Editor dialog":"Øوار المØرر","Editor menu bar":"شريط قائمة المØرّÙر","Editor toolbar":"شريط أدوات المØرر","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"قم بتنÙيذ الزر المركَّز Øالياً، Øيث أن تنÙيذ الأزرار المتÙاعلة مع Ù…Øتوى المØرّÙر يؤدي إلى إعادة التركيز إلى المØتوى.",File:"ملÙ",Green:"أخضر",Grey:"رمادي","Help Contents. To close this dialog press ESC.":"Ù…Øتويات التعليمات. لإغلاق هذا الØوار، اضغطْ على Ù…ÙØªØ§Ø ESC.",HEX:"لون سداسي عشري","Insert a hard break (a new paragraph)":"قمْ بإدراج Ùاصل ثابت (Ùقرة جديدة)","Insert a new paragraph directly after a widget":"قم بإدراج Ùقرة جديدة مباشرةً بعد الأداة","Insert a new paragraph directly before a widget":"قم بإدراج Ùقرة جديدة مباشرةً قبل الأداة","Insert a soft break (a <code><br></code> element)":"قمْ بإدراج Ùاصل بسيط (عنصر <code><br></code>)","Insert image with file manager":"إدراج صورة مع مدير الملÙات","Insert paragraph after block":"إدراج Ùقرة بعد الكتلة","Insert paragraph before block":"إدراج Ùقرة قبل الكتلة","Insert with file manager":"إدخال مع مدير الملÙات","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ضغطة المÙØ§ØªÙŠØ Ø§Ù„ØªÙŠ يمكن استخدامها عند اختيار الأداة (على سبيل المثال: الصورة والجدول وما إلى ذلك)","Light blue":"أزرق ÙاتØ","Light green":"أخضر ÙاتØ","Light grey":"رمادي ÙاتØ",MENU_BAR_MENU_EDIT:"تØرير",MENU_BAR_MENU_FILE:"ملÙ",MENU_BAR_MENU_FONT:"خط",MENU_BAR_MENU_FORMAT:"صيغة",MENU_BAR_MENU_HELP:"مساعدة",MENU_BAR_MENU_INSERT:"إدراج",MENU_BAR_MENU_TEXT:"نص",MENU_BAR_MENU_TOOLS:"أدوات",MENU_BAR_MENU_VIEW:"عرض","Move focus between form fields (inputs, buttons, etc.)":"انقلْ التركيز بين Øقول النموذج (المدخلات والأزرار وما إلى ذلك)","Move focus from an editable area back to the parent widget":"انقل التركيز من منطقة قابلة للتØرير لتعيده إلى الأداة الأصلية","Move focus in and out of an active dialog window":"انقلْ التركيز داخل وخارج ناÙذة الØوار النشطة","Move focus to the menu bar, navigate between menu bars":"انقلْ التركيز إلى شريط القائمة، وتَنقّلْ بين أشرطة القوائم","Move focus to the toolbar, navigate between toolbars":"انقلْ التركيز إلى شريط الأدوات، وتنقّلْ بين أشرطة الأدوات","Move the caret to allow typing directly after a widget":"Øرّكْ علامة الإقØام Ù„Ù„Ø³Ù…Ø§Ø Ø¨Ø§Ù„ÙƒØªØ§Ø¨Ø© مباشرةً بعد الأداة","Move the caret to allow typing directly before a widget":"Øرّكْ علامة الإقØام Ù„Ù„Ø³Ù…Ø§Ø Ø¨Ø§Ù„ÙƒØªØ§Ø¨Ø© مباشرةً قبل الأداة","Navigate through the toolbar or menu bar":"تنقّلْ عبر شريط الأدوات أو شريط القوائم",Next:"التالي","No results found":"لم يتم العثور على نتائج","No searchable items":"لا توجد عناصر قابلة للبØØ« متاØØ©","Open the accessibility help dialog":"اÙتØÙ’ مربع الØوار بشأن تعليمات إمكانية الوصول",Orange:"برتقالي",Paragraph:"Ùقرة","Paste content":"الصقْ المØتوى","Paste content as plain text":"الصقْ المØتوى كنص عادي",'Please enter a valid color (e.g. "ff0000").':'ÙŠÙرجى إدخال لون ØµØ§Ù„Ø (على سبيل المثال "ff0000").',"Press %0 for help.":"اضغط على %0 للØصول على التعليمات.","Press Enter to type after or press Shift + Enter to type before the widget":"اضغط على Enter للكتابة بعد ذلك أو اضغط على Shift + Enter للكتابة قبل الأداة",Previous:"السابق",Purple:"أرجواني",Red:"Ø£Øمر",Redo:"إعادة","Remove color":"إزالة اللون","Replace image with file manager":"استبدال الصورة بمدير الملÙات","Replace with file manager":"استبدال بمدير الملÙات","Restore default":"استعادة الاÙتراضي","Rich Text Editor":"معالج نصوص","Rich Text Editor. Editing area: %0":"Ù…Øرر النصوص المنسّقة. منطقة التØرير: %0",Save:"ØÙظ","Select all":"تØديد الكل","Show more items":"عرض المزيد من العناصر","These keyboard shortcuts allow for quick access to content editing features.":"ØªØ³Ù…Ø Ø§Ø®ØªØµØ§Ø±Ø§Øª لوØØ© المÙØ§ØªÙŠØ Ù‡Ø°Ù‡ بالوصول سريعاً إلى ميزات تØرير المØتوى.","Toggle caption off":"إخÙاء التسمية التوضيØية","Toggle caption on":"عرض التسمية التوضيØية",Turquoise:"Ùيروزي",Undo:"تراجع","Upload in progress":"جاري الرÙع","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"استخدمْ ضغطة المÙØ§ØªÙŠØ Ø§Ù„ØªØ§Ù„ÙŠØ© للتنقل بشكل أكثر ÙƒÙاءة ÙÙŠ واجهة مستخدم CKEditor 5.","User interface and content navigation keystrokes":"واجهة المستخدم وضغطة المÙØ§ØªÙŠØ Ù„Ù„ØªÙ†Ù‚Ù„ ÙÙŠ المØتوى",White:"أبيض","Widget toolbar":"شريط أدوات الواجهة","With file manager":"باستخدام مدير الملÙات",Yellow:"أصÙر"}),t.getPluralForm=function(e){return 0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ast.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ast.js index 79e405d763b42c6dbf4f56f38cf7b7244b6c5eec..eb125dbd889770371a2469b698b91e22cbeba61d 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ast.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ast.js @@ -1 +1 @@ -!function(e){const t=e.ast=e.ast||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Encaboxar","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Refacer","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Editor de testu arriquecÃu","Rich Text Editor. Editing area: %0":"",Save:"Guardar","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Desfacer","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ast=e.ast||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Encaboxar","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"Refacer","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Editor de testu arriquecÃu","Rich Text Editor. Editing area: %0":"",Save:"Guardar","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Desfacer","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/az.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/az.js index 0511846f023d3a1a5ad17967c59d64f45258058b..5aa040ccad67a94fec4f0d50889f0cadc948ba3e 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/az.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/az.js @@ -1 +1 @@ -!function(e){const t=e.az=e.az||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%1-dÉ™n %0",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Qara",Blue:"Mavi",Cancel:"Ä°mtina et","Cannot upload file:":"Fayl yüklÉ™nÉ™ bilmir",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"Tünd boz","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Açılan paneli","Edit block":"RedaktÉ™ etmÉ™k bloku","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Redaktorun paneli","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Yaşıl",Grey:"Boz","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Açıq mavi","Light green":"Açıq yaşıl","Light grey":"Açıq boz",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"NövbÉ™ti","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Narıncı",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"ÆvvÉ™lki",Purple:"BÉ™növÅŸÉ™yi",Red:"Qırmızı",Redo:"TÉ™krar et","Remove color":"RÉ™ngi ləğv et","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rich Text Redaktoru","Rich Text Editor. Editing area: %0":"",Save:"Yadda saxla","Show more items":"Daha çox əşyanı göstÉ™rin","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"FiruzÉ™yi",Undo:"Ä°mtina et","Upload in progress":"YüklÉ™nir","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"AÄŸ","Widget toolbar":"Vidgetin paneli","With file manager":"",Yellow:"Sarı"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.az=e.az||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%1-dÉ™n %0",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Qara",Blue:"Mavi",Cancel:"Ä°mtina et","Cannot upload file:":"Fayl yüklÉ™nÉ™ bilmir",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"Tünd boz","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Açılan paneli","Edit block":"RedaktÉ™ etmÉ™k bloku","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Redaktorun paneli","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Yaşıl",Grey:"Boz","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Açıq mavi","Light green":"Açıq yaşıl","Light grey":"Açıq boz",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"NövbÉ™ti","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Narıncı",Paragraph:"Abzas","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"ÆvvÉ™lki",Purple:"BÉ™növÅŸÉ™yi",Red:"Qırmızı",Redo:"TÉ™krar et","Remove color":"RÉ™ngi ləğv et","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rich Text Redaktoru","Rich Text Editor. Editing area: %0":"",Save:"Yadda saxla","Select all":"","Show more items":"Daha çox əşyanı göstÉ™rin","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"FiruzÉ™yi",Undo:"Ä°mtina et","Upload in progress":"YüklÉ™nir","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"AÄŸ","Widget toolbar":"Vidgetin paneli","With file manager":"",Yellow:"Sarı"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bg.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bg.js index 3d05e6a0da49778c0abd6c9787f886abf8307608..69b5ab153841e600995e382d38209f222d825895 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bg.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bg.js @@ -1 +1 @@ -!function(e){const t=e.bg=e.bg||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(може да изиÑква <kbd>Fn</kbd>)","%0 of %1":"%0 от %1",Accept:"Приемане",Accessibility:"ДоÑтъпноÑÑ‚","Accessibility help":"Помощ за доÑтъпноÑÑ‚",Aquamarine:"Ðквамарин","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Долу можете да намерите ÑпиÑък от клавишни комбинации, които могат да Ñе използват в редактора.",Black:"Черен",Blue:"Син",Cancel:"Отказ","Cannot upload file:":"Ðе може да качи файл:",Clear:"ИзчиÑти","Click to edit block":"Кликнете, за да редактирате блок",Close:"Затвори","Close contextual balloons, dropdowns, and dialogs":"ЗатварÑне на балоните Ñ ÐºÐ¾Ð½Ñ‚ÐµÐºÑÑ‚, падащите менюта и диалогови прозорци","Content editing keystrokes":"Клавишни комбинации за редактиране на Ñъдържание","Copy selected content":"Копиране на избраното Ñъдържание","Dim grey":"Тъмно Ñив","Drag to move":"Плъзнете за премеÑтване","Dropdown menu":"Падащо меню","Dropdown toolbar":"Лента Ñ Ð¿Ð°Ð´Ð°Ñ‰Ð¾ меню","Edit block":"Редактирай блок","Editor block content toolbar":"Лента Ñ Ð¸Ð½Ñтрументи за блокиране на Ñъдържанието на редактора","Editor contextual toolbar":"КонтекÑтна лента Ñ Ð¸Ð½Ñтрументи на редактора","Editor dialog":"Диалогов прозорец на редактора","Editor menu bar":"Редактор на лентата Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°","Editor toolbar":"Лента за редакциÑ","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Изпълнете текущо фокуÑÐ¸Ñ€Ð°Ð½Ð¸Ñ Ð±ÑƒÑ‚Ð¾Ð½. Изпълнението на бутони, които взаимодейÑтват ÑÑŠÑ Ñъдържанието на редактора, премеÑтва фокуÑа обратно към Ñъдържанието.",File:"Файл",Green:"Зелен",Grey:"Сив","Help Contents. To close this dialog press ESC.":"Помощно Ñъдържание. За да затворите този прозорец, натиÑнете ESC.",HEX:"ÐЕХ","Insert a hard break (a new paragraph)":"Въвеждане на нов ред (нов параграф)","Insert a new paragraph directly after a widget":"Въвеждане на нов параграф директно Ñлед елемента","Insert a new paragraph directly before a widget":"Въвеждане на нов параграф директно преди елемента","Insert a soft break (a <code><br></code> element)":"Въвеждане на пауза ( <code><br></code> елемент)","Insert image with file manager":"Вмъкнете изображение Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Insert paragraph after block":"Въведи параграф Ñлед блока","Insert paragraph before block":"Въведи параграф преди блока","Insert with file manager":"Вмъкване Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Клавишни комбинации, които могат да Ñе използват при избран елемент (например: изображение, таблица и др.)","Light blue":"Светло Ñин","Light green":"Светло зелен","Light grey":"Светло Ñив",MENU_BAR_MENU_EDIT:"Редактирай",MENU_BAR_MENU_FILE:"Файл",MENU_BAR_MENU_FONT:"Шрифт",MENU_BAR_MENU_FORMAT:"Формат",MENU_BAR_MENU_HELP:"Помощ",MENU_BAR_MENU_INSERT:"Вмъкни",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"ИнÑтрументи",MENU_BAR_MENU_VIEW:"Преглед","Move focus between form fields (inputs, buttons, etc.)":"ПремеÑтване на фокуÑа между полетата (въвеждане, бутони и др.)","Move focus from an editable area back to the parent widget":"ПремеÑтване на фокуÑа от облаÑÑ‚ Ñ Ð²ÑŠÐ·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑ‚ за редактиране обратно към родителÑÐºÐ¸Ñ Ð¸Ð·Ð¿ÑŠÐ»Ð½Ð¸Ð¼ модукл","Move focus in and out of an active dialog window":"Приближаване и отдалечаване на фокуÑа в активен диалогов прозорец","Move focus to the menu bar, navigate between menu bars":"ПремеÑтете фокуÑа върху лентата Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°, навигирайте между лентите Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°","Move focus to the toolbar, navigate between toolbars":"ПремеÑтване на фокуÑа върху лентата Ñ Ð¸Ð½Ñтрументи, Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð¼ÐµÐ¶Ð´Ñƒ инÑтрументите","Move the caret to allow typing directly after a widget":"ПремеÑтване на карето за директно пиÑане Ñлед елемент","Move the caret to allow typing directly before a widget":"ПремеÑтване на карето за директно пиÑане преди елемент","Navigate through the toolbar or menu bar":"Ðавигирайте през лентата Ñ Ð¸Ð½Ñтрументи или лентата Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°",Next:"Следващ","No results found":"ÐÑма намерени резултати","No searchable items":"ÐÑма елементи за Ñ‚ÑŠÑ€Ñене","Open the accessibility help dialog":"ОтварÑне на диалогов прозорец Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ за доÑтъпноÑÑ‚",Orange:"Оранжев","Paste content":"ПоÑтавÑне на Ñъдържанието","Paste content as plain text":"ПоÑтавÑне на Ñъдържанието като обикновен текÑÑ‚",'Please enter a valid color (e.g. "ff0000").':'МолÑ, въведете валиден цвÑÑ‚ (напр. "ff0000").',"Press %0 for help.":"ÐатиÑнете %0 за помощ.","Press Enter to type after or press Shift + Enter to type before the widget":"ÐатиÑнете Enter за въвеждане или натиÑнете Shift + Enter за въвеждане преди Ð¸Ð·Ð¿ÑŠÐ»Ð½Ð¸Ð¼Ð¸Ñ Ð¼Ð¾Ð´ÑƒÐ»",Previous:"Предишен",Purple:"Лилав",Red:"Червен",Redo:"Повтори","Remove color":"Премахни цвÑÑ‚","Replace image with file manager":"Заменете изображението Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Replace with file manager":"Заменете Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Restore default":"ВъзÑтанови първоначалните наÑтройки","Rich Text Editor":"Богат текÑтов редактор","Rich Text Editor. Editing area: %0":"Rich Text Editor. Зона за редактиране: %0",Save:"Запазване","Select all":"Избери вÑички","Show more items":"Покажи повече единици","These keyboard shortcuts allow for quick access to content editing features.":"Тези клавишни комбинации позволÑват бърз доÑтъп до елементите за редактиране на Ñъдържание","Toggle caption off":"Превключи изключване на надпиÑи","Toggle caption on":"Превключи включване на надпиÑи",Turquoise:"Тюркоазен",Undo:"Отмени","Upload in progress":"Качването е в процеÑ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Използвайте Ñледните клавишни комбинации за по -леÑна Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð² потребителÑÐºÐ¸Ñ Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð½Ð° CKEditor 5.","User interface and content navigation keystrokes":"ПотребителÑки Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð¸ клавишни комбинации за Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð² Ñъдържанието",White:"БÑл","Widget toolbar":"Лента Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰Ð½Ð¸ ÑредÑтва","With file manager":"С файлов мениджър",Yellow:"Жълт"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.bg=e.bg||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(може да изиÑква <kbd>Fn</kbd>)","%0 of %1":"%0 от %1",Accept:"Приемане",Accessibility:"ДоÑтъпноÑÑ‚","Accessibility help":"Помощ за доÑтъпноÑÑ‚",Aquamarine:"Ðквамарин","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Долу можете да намерите ÑпиÑък от клавишни комбинации, които могат да Ñе използват в редактора.",Black:"Черен",Blue:"Син",Cancel:"Отказ","Cannot upload file:":"Ðе може да качи файл:",Clear:"ИзчиÑти","Click to edit block":"Кликнете, за да редактирате блок",Close:"Затвори","Close contextual balloons, dropdowns, and dialogs":"ЗатварÑне на балоните Ñ ÐºÐ¾Ð½Ñ‚ÐµÐºÑÑ‚, падащите менюта и диалогови прозорци","Color picker":"Избор на цвÑÑ‚","Content editing keystrokes":"Клавишни комбинации за редактиране на Ñъдържание","Copy selected content":"Копиране на избраното Ñъдържание","Dim grey":"Тъмно Ñив","Drag to move":"Плъзнете за премеÑтване","Dropdown menu":"Падащо меню","Dropdown toolbar":"Лента Ñ Ð¿Ð°Ð´Ð°Ñ‰Ð¾ меню","Edit block":"Редактирай блок","Editor block content toolbar":"Лента Ñ Ð¸Ð½Ñтрументи за блокиране на Ñъдържанието на редактора","Editor contextual toolbar":"КонтекÑтна лента Ñ Ð¸Ð½Ñтрументи на редактора","Editor dialog":"Диалогов прозорец на редактора","Editor menu bar":"Редактор на лентата Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°","Editor toolbar":"Лента за редакциÑ","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Изпълнете текущо фокуÑÐ¸Ñ€Ð°Ð½Ð¸Ñ Ð±ÑƒÑ‚Ð¾Ð½. Изпълнението на бутони, които взаимодейÑтват ÑÑŠÑ Ñъдържанието на редактора, премеÑтва фокуÑа обратно към Ñъдържанието.",File:"Файл",Green:"Зелен",Grey:"Сив","Help Contents. To close this dialog press ESC.":"Помощно Ñъдържание. За да затворите този прозорец, натиÑнете ESC.",HEX:"ÐЕХ","Insert a hard break (a new paragraph)":"Въвеждане на нов ред (нов параграф)","Insert a new paragraph directly after a widget":"Въвеждане на нов параграф директно Ñлед елемента","Insert a new paragraph directly before a widget":"Въвеждане на нов параграф директно преди елемента","Insert a soft break (a <code><br></code> element)":"Въвеждане на пауза ( <code><br></code> елемент)","Insert image with file manager":"Вмъкнете изображение Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Insert paragraph after block":"Въведи параграф Ñлед блока","Insert paragraph before block":"Въведи параграф преди блока","Insert with file manager":"Вмъкване Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Клавишни комбинации, които могат да Ñе използват при избран елемент (например: изображение, таблица и др.)","Light blue":"Светло Ñин","Light green":"Светло зелен","Light grey":"Светло Ñив",MENU_BAR_MENU_EDIT:"Редактирай",MENU_BAR_MENU_FILE:"Файл",MENU_BAR_MENU_FONT:"Шрифт",MENU_BAR_MENU_FORMAT:"Формат",MENU_BAR_MENU_HELP:"Помощ",MENU_BAR_MENU_INSERT:"Вмъкни",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"ИнÑтрументи",MENU_BAR_MENU_VIEW:"Преглед","Move focus between form fields (inputs, buttons, etc.)":"ПремеÑтване на фокуÑа между полетата (въвеждане, бутони и др.)","Move focus from an editable area back to the parent widget":"ПремеÑтване на фокуÑа от облаÑÑ‚ Ñ Ð²ÑŠÐ·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑ‚ за редактиране обратно към родителÑÐºÐ¸Ñ Ð¸Ð·Ð¿ÑŠÐ»Ð½Ð¸Ð¼ модукл","Move focus in and out of an active dialog window":"Приближаване и отдалечаване на фокуÑа в активен диалогов прозорец","Move focus to the menu bar, navigate between menu bars":"ПремеÑтете фокуÑа върху лентата Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°, навигирайте между лентите Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°","Move focus to the toolbar, navigate between toolbars":"ПремеÑтване на фокуÑа върху лентата Ñ Ð¸Ð½Ñтрументи, Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð¼ÐµÐ¶Ð´Ñƒ инÑтрументите","Move the caret to allow typing directly after a widget":"ПремеÑтване на карето за директно пиÑане Ñлед елемент","Move the caret to allow typing directly before a widget":"ПремеÑтване на карето за директно пиÑане преди елемент","Navigate through the toolbar or menu bar":"Ðавигирайте през лентата Ñ Ð¸Ð½Ñтрументи или лентата Ñ Ð¼ÐµÐ½ÑŽÑ‚Ð°",Next:"Следващ","No results found":"ÐÑма намерени резултати","No searchable items":"ÐÑма елементи за Ñ‚ÑŠÑ€Ñене","Open the accessibility help dialog":"ОтварÑне на диалогов прозорец Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ за доÑтъпноÑÑ‚",Orange:"Оранжев",Paragraph:"Параграф","Paste content":"ПоÑтавÑне на Ñъдържанието","Paste content as plain text":"ПоÑтавÑне на Ñъдържанието като обикновен текÑÑ‚",'Please enter a valid color (e.g. "ff0000").':'МолÑ, въведете валиден цвÑÑ‚ (напр. "ff0000").',"Press %0 for help.":"ÐатиÑнете %0 за помощ.","Press Enter to type after or press Shift + Enter to type before the widget":"ÐатиÑнете Enter за въвеждане или натиÑнете Shift + Enter за въвеждане преди Ð¸Ð·Ð¿ÑŠÐ»Ð½Ð¸Ð¼Ð¸Ñ Ð¼Ð¾Ð´ÑƒÐ»",Previous:"Предишен",Purple:"Лилав",Red:"Червен",Redo:"Повтори","Remove color":"Премахни цвÑÑ‚","Replace image with file manager":"Заменете изображението Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Replace with file manager":"Заменете Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð²Ð¸Ñ Ð¼ÐµÐ½Ð¸Ð´Ð¶ÑŠÑ€","Restore default":"ВъзÑтанови първоначалните наÑтройки","Rich Text Editor":"Богат текÑтов редактор","Rich Text Editor. Editing area: %0":"Rich Text Editor. Зона за редактиране: %0",Save:"Запазване","Select all":"Избери вÑички","Show more items":"Покажи повече единици","These keyboard shortcuts allow for quick access to content editing features.":"Тези клавишни комбинации позволÑват бърз доÑтъп до елементите за редактиране на Ñъдържание","Toggle caption off":"Превключи изключване на надпиÑи","Toggle caption on":"Превключи включване на надпиÑи",Turquoise:"Тюркоазен",Undo:"Отмени","Upload in progress":"Качването е в процеÑ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Използвайте Ñледните клавишни комбинации за по -леÑна Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð² потребителÑÐºÐ¸Ñ Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð½Ð° CKEditor 5.","User interface and content navigation keystrokes":"ПотребителÑки Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð¸ клавишни комбинации за Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð² Ñъдържанието",White:"БÑл","Widget toolbar":"Лента Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰Ð½Ð¸ ÑредÑтва","With file manager":"С файлов мениджър",Yellow:"Жълт"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bn.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bn.js index c5787674234be001e6150ab0c2840a30f3bb6cc0..81fd1ac318b426d80210a2b4695aabc9f336f8b3 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bn.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bn.js @@ -1 +1 @@ -!function(e){const t=e.bn=e.bn||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn[</kbd>] à¦à¦° পà§à¦°à¦¯à¦¼à§‹à¦œà¦¨ হতে পারে)","%0 of %1":"%0 à¦à¦° %1",Accept:"গà§à¦°à¦¹à¦£ করà§à¦¨",Accessibility:"পà§à¦°à¦¬à§‡à¦¶à¦¯à§‹à¦—à§à¦¯à¦¤à¦¾","Accessibility help":"পà§à¦°à¦¬à§‡à¦¶à¦¯à§‹à¦—à§à¦¯à¦¤à¦¾ জনà§à¦¯ সহায়তা",Aquamarine:"ফেকাশে সবà§à¦œà¦¬à¦°à§à¦£","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"à¦à¦¡à¦¿à¦Ÿà¦°à§‡ বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যেতে পারে à¦à¦®à¦¨ কীবোরà§à¦¡ শরà§à¦Ÿà¦•à¦¾à¦Ÿà¦—à§à¦²à¦¿à¦° à¦à¦•à¦Ÿà¦¿ তালিকা আপনি নিচে দেখতে পাবেন।",Black:"কালো",Blue:"নীল ",Cancel:"বাতিল করà§à¦¨","Cannot upload file:":"ফাইল আপলোড করা যাবে নাঃ",Clear:"পরিষà§à¦•à¦¾à¦° করà§à¦¨","Click to edit block":"বà§à¦²à¦• à¦à¦¡à¦¿à¦Ÿ করতে কà§à¦²à¦¿à¦• করà§à¦¨",Close:"বনà§à¦§ করà§à¦¨","Close contextual balloons, dropdowns, and dialogs":"কনà§à¦Ÿà§‡à¦•à§à¦¸à¦šà§à§Ÿà¦¾à¦² বেলà§à¦¨, ডà§à¦°à¦ªà¦¡à¦¾à¦‰à¦¨ à¦à¦¬à¦‚ ডায়ালগগà§à¦²à¦¿ বনà§à¦§ করà§à¦¨","Content editing keystrokes":"কনটেনà§à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦¿à¦‚য়ের কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿","Copy selected content":"সিলেকà§à¦Ÿ করা কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ কপি করà§à¦¨","Dim grey":"আবছা ধূসর","Drag to move":"সরানোর জনà§à¦¯ টেনে আনà§à¦¨","Dropdown menu":"ডà§à¦°à¦ªà¦¡à¦¾à¦‰à¦¨ মেনà§","Dropdown toolbar":"ডà§à¦°à¦ªà¦¡à¦¾à¦‰à¦¨ টà§à¦²à¦¬à¦¾à¦°","Edit block":"à¦à¦¡à¦¿à¦Ÿ বà§à¦²à¦•","Editor block content toolbar":"সমà§à¦ªà¦¾à¦¦à¦• বà§à¦²à¦• কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ টà§à¦²à¦¬à¦¾à¦°","Editor contextual toolbar":"সমà§à¦ªà¦¾à¦¦à¦• পà§à¦°à¦¾à¦¸à¦™à§à¦—িক টà§à¦²à¦¬à¦¾à¦°","Editor dialog":"ইডিটর ডায়ালগ","Editor menu bar":"ইডিটর মেনৠবার","Editor toolbar":"সমà§à¦ªà¦¾à¦¦à¦• টà§à¦²à¦¬à¦¾à¦°","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"বরà§à¦¤à¦®à¦¾à¦¨à§‡ ফোকাস করা বোতামটি কারà§à¦¯à¦•à¦° করà§à¦¨à¥¤ ইডিটর বিষয়বসà§à¦¤à§à¦° সাথে ইনà§à¦Ÿà¦¾à¦°à¦…à§à¦¯à¦¾à¦•à§à¦Ÿ করা বোতাম কারà§à¦¯à¦•à¦° করা ফোকাসকে বিষয়বসà§à¦¤à§à¦° দিকে ফিরিয়ে নেয়।",File:"ফাইল",Green:"সবà§à¦œ",Grey:"ধূসর","Help Contents. To close this dialog press ESC.":"সহায়তাকারী কনটেনà§à¦Ÿà¦—à§à¦²à¦¿à¥¤ à¦à¦‡ ডায়ালগটি বনà§à¦§ করতে ESC পà§à¦°à§‡à¦¸ করà§à¦¨à¥¤",HEX:"HEX","Insert a hard break (a new paragraph)":"à¦à¦•à¦Ÿà¦¿ হারà§à¦¡ বà§à¦°à§‡à¦• পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨ (à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ পà§à¦¯à¦¾à¦°à¦¾à¦—à§à¦°à¦¾à¦«)","Insert a new paragraph directly after a widget":"কোনো উইজেটের পরে সরাসরি à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ পà§à¦¯à¦¾à¦°à¦¾à¦—à§à¦°à¦¾à¦« পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨","Insert a new paragraph directly before a widget":"কোনো উইজেটের আগে সরাসরি à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ পà§à¦¯à¦¾à¦°à¦¾à¦—à§à¦°à¦¾à¦« পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨","Insert a soft break (a <code><br></code> element)":"à¦à¦•à¦Ÿà¦¿ সফট বà§à¦°à§‡à¦• পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨ (à¦à¦•à¦Ÿà¦¿ <code><br></code> উপাদান)","Insert image with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে ছবি পà§à¦°à¦¬à§‡à¦¶ করান","Insert paragraph after block":"বà§à¦²à¦•à§‡à¦° পর অনà§à¦šà§à¦›à§‡à¦¦ ঢোকান","Insert paragraph before block":"বà§à¦²à¦• করার আগে অনà§à¦šà§à¦›à§‡à¦¦ ঢোকান","Insert with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে পà§à¦°à¦¬à§‡à¦¶ করান","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"কোনো উইজেট সিলেকà§à¦Ÿ থাকা অবসà§à¦¥à¦¾à§Ÿ যে কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿ বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যেতে পারে (উদাহরণ: ছবি, টেবিল, ইতà§à¦¯à¦¾à¦¦à¦¿)","Light blue":"হালকা নীল","Light green":"হালকা সবà§à¦œ","Light grey":"হালকা ধূসর",MENU_BAR_MENU_EDIT:"à¦à¦¡à¦¿à¦Ÿ করà§à¦¨",MENU_BAR_MENU_FILE:"ফাইল",MENU_BAR_MENU_FONT:"ফনà§à¦Ÿ",MENU_BAR_MENU_FORMAT:"ফরমà§à¦¯à¦¾à¦Ÿ",MENU_BAR_MENU_HELP:"সাহাযà§à¦¯",MENU_BAR_MENU_INSERT:"ঢোকান",MENU_BAR_MENU_TEXT:"পাঠà§à¦¯",MENU_BAR_MENU_TOOLS:"টà§à¦²à¦¸",MENU_BAR_MENU_VIEW:"দেখà§à¦¨","Move focus between form fields (inputs, buttons, etc.)":"ফরà§à¦® ফিলà§à¦¡à§‡à¦° (ইনপà§à¦Ÿ, বাটন, ইতà§à¦¯à¦¾à¦¦à¦¿) মধà§à¦¯à§‡ ফোকাস সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Move focus from an editable area back to the parent widget":"à¦à¦¡à¦¿à¦Ÿà¦¯à§‹à¦—à§à¦¯ à¦à¦°à¦¿à§Ÿà¦¾ থেকে পà§à¦¯à¦¾à¦°à§‡à¦¨à§à¦Ÿ উইজেটে ফোকাসে সরিয়ে নিন","Move focus in and out of an active dialog window":"সকà§à¦°à¦¿à¦¯à¦¼ ডায়ালগ উইনà§à¦¡à§‹à¦° à¦à¦¿à¦¤à¦°à§‡ à¦à¦¬à¦‚ বাইরে ফোকাস সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Move focus to the menu bar, navigate between menu bars":"মেনৠবারে ফোকাস সরিয়ে নিন, মেনৠবারের মধà§à¦¯à§‡ নেà¦à¦¿à¦—েট করà§à¦¨","Move focus to the toolbar, navigate between toolbars":"টà§à¦²à¦¬à¦¾à¦°à§‡ ফোকাস সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨, টà§à¦²à¦¬à¦¾à¦°à¦—à§à¦²à¦¿à¦° মধà§à¦¯à§‡ নেà¦à¦¿à¦—েট করà§à¦¨","Move the caret to allow typing directly after a widget":"কোনো উইজেটের পরে সরাসরি টাইপ করতে দিতে কà§à¦¯à¦¾à¦°à§‡à¦Ÿà¦Ÿà¦¿ সরান","Move the caret to allow typing directly before a widget":"কোনো উইজেটের আগে সরাসরি টাইপ করতে দিতে কà§à¦¯à¦¾à¦°à§‡à¦Ÿà¦Ÿà¦¿ সরান","Navigate through the toolbar or menu bar":"টà§à¦²à¦¬à¦¾à¦° বা মেনৠবারের মাধà§à¦¯à¦®à§‡ নেà¦à¦¿à¦—েট করà§à¦¨",Next:"পরবরà§à¦¤à§€","No results found":"কোন ফলাফল পাওয়া যায়নি","No searchable items":"কোনো অনà§à¦¸à¦¨à§à¦§à¦¾à¦¨à¦¯à§‹à¦—à§à¦¯ আইটেম নেই","Open the accessibility help dialog":"পà§à¦°à¦¬à§‡à¦¶à¦¯à§‹à¦—à§à¦¯à¦¤à¦¾à¦° সহায়ক ডায়ালগ খà§à¦²à§à¦¨",Orange:"কমলা","Paste content":"কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ পেসà§à¦Ÿ করà§à¦¨","Paste content as plain text":"পà§à¦²à§‡à¦‡à¦¨ টেকà§à¦¸à¦Ÿ হিসেবে কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ পেসà§à¦Ÿ করà§à¦¨",'Please enter a valid color (e.g. "ff0000").':'অনà§à¦—à§à¦°à¦¹ করে à¦à¦•à¦Ÿà¦¿ à¦à§à¦¯à¦¾à¦²à¦¿à¦¡ কালার পà§à¦°à¦¬à§‡à¦¶ করান (e.g. "ff0000").',"Press %0 for help.":"সহায়তার জনà§à¦¯ %0 পà§à¦°à§‡à¦¸ করà§à¦¨à¥¤","Press Enter to type after or press Shift + Enter to type before the widget":"পরে টাইপ করতে à¦à¦¨à§à¦Ÿà¦¾à¦° চাপà§à¦¨ বা উইজেটের আগে টাইপ করতে Shift + à¦à¦¨à§à¦Ÿà¦¾à¦° চাপà§à¦¨",Previous:"পূরà§à¦¬à¦¬à¦°à§à¦¤à§€",Purple:"বেগà§à¦¨à¦¿",Red:"লাল",Redo:"রেডো","Remove color":"রং মà§à¦›à§‡ ফেলà§à¦¨","Replace image with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে ছবি পà§à¦°à¦¤à¦¿à¦¸à§à¦¥à¦¾à¦ªà¦¨ করà§à¦¨","Replace with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে পà§à¦°à¦¤à¦¿à¦¸à§à¦¥à¦¾à¦ªà¦¨ করà§à¦¨","Restore default":"পূরà§à¦¬à¦¾à¦¬à¦¸à§à¦¥à¦¾à¦¯à¦¼ ফিরিয়ে আনà§à¦¨","Rich Text Editor":"রিচ টেকà§à¦¸à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦°","Rich Text Editor. Editing area: %0":"রিচ টেকà§à¦¸à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦°à¥¤ সমà§à¦ªà¦¾à¦¦à¦¨à¦¾à¦° কà§à¦·à§‡à¦¤à§à¦°: %0",Save:"সংরকà§à¦·à¦£ করà§à¦¨","Select all":"সব নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨","Show more items":"আরও আইটেম দেখান","These keyboard shortcuts allow for quick access to content editing features.":"à¦à¦‡ কীবোরà§à¦¡ শরà§à¦Ÿà¦•à¦¾à¦Ÿà¦—à§à¦²à¦¿à¦° ফলে কনটেনà§à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦¿à¦‚য়ের বৈশিষà§à¦Ÿà§à¦¯à¦—à§à¦²à¦¿à¦° সà§à¦¬à¦¿à¦§à¦¾ দà§à¦°à§à¦¤ নেওয়া যায়।","Toggle caption off":"টগল কà§à¦¯à¦¾à¦ªà¦¶à¦¨ বনà§à¦§ করà§à¦¨","Toggle caption on":"টগল কà§à¦¯à¦¾à¦ªà¦¶à¦¨ চালৠকরà§à¦¨",Turquoise:"ফিরোজা",Undo:"পূরà§à¦¬à¦¾à¦¬à¦¸à§à¦¥à¦¾à¦¯à¦¼ ফেরান","Upload in progress":"আপলোড চলছে","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"CKEditor 5 ইউজার ইনà§à¦Ÿà¦¾à¦°à¦«à§‡à¦¸à§‡ আরও কারà§à¦¯à¦•à¦° নেà¦à¦¿à¦—েশনের জনà§à¦¯ নিমà§à¦¨à¦²à¦¿à¦–িত কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿ বà§à¦¯à¦¬à¦¹à¦¾à¦° করà§à¦¨à¥¤","User interface and content navigation keystrokes":"ইউজার ইনà§à¦Ÿà¦¾à¦°à¦«à§‡à¦¸ à¦à¦¬à¦‚ কনটেনà§à¦Ÿ নেà¦à¦¿à¦—েশনের কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿",White:"সাদা","Widget toolbar":"উইজেট টà§à¦²à¦¬à¦¾à¦°","With file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° সহ",Yellow:"হলà§à¦¦ "}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.bn=e.bn||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn[</kbd>] à¦à¦° পà§à¦°à¦¯à¦¼à§‹à¦œà¦¨ হতে পারে)","%0 of %1":"%0 à¦à¦° %1",Accept:"গà§à¦°à¦¹à¦£ করà§à¦¨",Accessibility:"পà§à¦°à¦¬à§‡à¦¶à¦¯à§‹à¦—à§à¦¯à¦¤à¦¾","Accessibility help":"পà§à¦°à¦¬à§‡à¦¶à¦¯à§‹à¦—à§à¦¯à¦¤à¦¾ জনà§à¦¯ সহায়তা",Aquamarine:"ফেকাশে সবà§à¦œà¦¬à¦°à§à¦£","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"à¦à¦¡à¦¿à¦Ÿà¦°à§‡ বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যেতে পারে à¦à¦®à¦¨ কীবোরà§à¦¡ শরà§à¦Ÿà¦•à¦¾à¦Ÿà¦—à§à¦²à¦¿à¦° à¦à¦•à¦Ÿà¦¿ তালিকা আপনি নিচে দেখতে পাবেন।",Black:"কালো",Blue:"নীল ",Cancel:"বাতিল করà§à¦¨","Cannot upload file:":"ফাইল আপলোড করা যাবে নাঃ",Clear:"পরিষà§à¦•à¦¾à¦° করà§à¦¨","Click to edit block":"বà§à¦²à¦• à¦à¦¡à¦¿à¦Ÿ করতে কà§à¦²à¦¿à¦• করà§à¦¨",Close:"বনà§à¦§ করà§à¦¨","Close contextual balloons, dropdowns, and dialogs":"কনà§à¦Ÿà§‡à¦•à§à¦¸à¦šà§à§Ÿà¦¾à¦² বেলà§à¦¨, ডà§à¦°à¦ªà¦¡à¦¾à¦‰à¦¨ à¦à¦¬à¦‚ ডায়ালগগà§à¦²à¦¿ বনà§à¦§ করà§à¦¨","Color picker":"রং বাছাইকারী","Content editing keystrokes":"কনটেনà§à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦¿à¦‚য়ের কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿","Copy selected content":"সিলেকà§à¦Ÿ করা কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ কপি করà§à¦¨","Dim grey":"আবছা ধূসর","Drag to move":"সরানোর জনà§à¦¯ টেনে আনà§à¦¨","Dropdown menu":"ডà§à¦°à¦ªà¦¡à¦¾à¦‰à¦¨ মেনà§","Dropdown toolbar":"ডà§à¦°à¦ªà¦¡à¦¾à¦‰à¦¨ টà§à¦²à¦¬à¦¾à¦°","Edit block":"à¦à¦¡à¦¿à¦Ÿ বà§à¦²à¦•","Editor block content toolbar":"সমà§à¦ªà¦¾à¦¦à¦• বà§à¦²à¦• কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ টà§à¦²à¦¬à¦¾à¦°","Editor contextual toolbar":"সমà§à¦ªà¦¾à¦¦à¦• পà§à¦°à¦¾à¦¸à¦™à§à¦—িক টà§à¦²à¦¬à¦¾à¦°","Editor dialog":"ইডিটর ডায়ালগ","Editor menu bar":"ইডিটর মেনৠবার","Editor toolbar":"সমà§à¦ªà¦¾à¦¦à¦• টà§à¦²à¦¬à¦¾à¦°","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"বরà§à¦¤à¦®à¦¾à¦¨à§‡ ফোকাস করা বোতামটি কারà§à¦¯à¦•à¦° করà§à¦¨à¥¤ ইডিটর বিষয়বসà§à¦¤à§à¦° সাথে ইনà§à¦Ÿà¦¾à¦°à¦…à§à¦¯à¦¾à¦•à§à¦Ÿ করা বোতাম কারà§à¦¯à¦•à¦° করা ফোকাসকে বিষয়বসà§à¦¤à§à¦° দিকে ফিরিয়ে নেয়।",File:"ফাইল",Green:"সবà§à¦œ",Grey:"ধূসর","Help Contents. To close this dialog press ESC.":"সহায়তাকারী কনটেনà§à¦Ÿà¦—à§à¦²à¦¿à¥¤ à¦à¦‡ ডায়ালগটি বনà§à¦§ করতে ESC পà§à¦°à§‡à¦¸ করà§à¦¨à¥¤",HEX:"HEX","Insert a hard break (a new paragraph)":"à¦à¦•à¦Ÿà¦¿ হারà§à¦¡ বà§à¦°à§‡à¦• পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨ (à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ পà§à¦¯à¦¾à¦°à¦¾à¦—à§à¦°à¦¾à¦«)","Insert a new paragraph directly after a widget":"কোনো উইজেটের পরে সরাসরি à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ পà§à¦¯à¦¾à¦°à¦¾à¦—à§à¦°à¦¾à¦« পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨","Insert a new paragraph directly before a widget":"কোনো উইজেটের আগে সরাসরি à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ পà§à¦¯à¦¾à¦°à¦¾à¦—à§à¦°à¦¾à¦« পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨","Insert a soft break (a <code><br></code> element)":"à¦à¦•à¦Ÿà¦¿ সফট বà§à¦°à§‡à¦• পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨ (à¦à¦•à¦Ÿà¦¿ <code><br></code> উপাদান)","Insert image with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে ছবি পà§à¦°à¦¬à§‡à¦¶ করান","Insert paragraph after block":"বà§à¦²à¦•à§‡à¦° পর অনà§à¦šà§à¦›à§‡à¦¦ ঢোকান","Insert paragraph before block":"বà§à¦²à¦• করার আগে অনà§à¦šà§à¦›à§‡à¦¦ ঢোকান","Insert with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে পà§à¦°à¦¬à§‡à¦¶ করান","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"কোনো উইজেট সিলেকà§à¦Ÿ থাকা অবসà§à¦¥à¦¾à§Ÿ যে কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿ বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যেতে পারে (উদাহরণ: ছবি, টেবিল, ইতà§à¦¯à¦¾à¦¦à¦¿)","Light blue":"হালকা নীল","Light green":"হালকা সবà§à¦œ","Light grey":"হালকা ধূসর",MENU_BAR_MENU_EDIT:"à¦à¦¡à¦¿à¦Ÿ করà§à¦¨",MENU_BAR_MENU_FILE:"ফাইল",MENU_BAR_MENU_FONT:"ফনà§à¦Ÿ",MENU_BAR_MENU_FORMAT:"ফরমà§à¦¯à¦¾à¦Ÿ",MENU_BAR_MENU_HELP:"সাহাযà§à¦¯",MENU_BAR_MENU_INSERT:"ঢোকান",MENU_BAR_MENU_TEXT:"পাঠà§à¦¯",MENU_BAR_MENU_TOOLS:"টà§à¦²à¦¸",MENU_BAR_MENU_VIEW:"দেখà§à¦¨","Move focus between form fields (inputs, buttons, etc.)":"ফরà§à¦® ফিলà§à¦¡à§‡à¦° (ইনপà§à¦Ÿ, বাটন, ইতà§à¦¯à¦¾à¦¦à¦¿) মধà§à¦¯à§‡ ফোকাস সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Move focus from an editable area back to the parent widget":"à¦à¦¡à¦¿à¦Ÿà¦¯à§‹à¦—à§à¦¯ à¦à¦°à¦¿à§Ÿà¦¾ থেকে পà§à¦¯à¦¾à¦°à§‡à¦¨à§à¦Ÿ উইজেটে ফোকাসে সরিয়ে নিন","Move focus in and out of an active dialog window":"সকà§à¦°à¦¿à¦¯à¦¼ ডায়ালগ উইনà§à¦¡à§‹à¦° à¦à¦¿à¦¤à¦°à§‡ à¦à¦¬à¦‚ বাইরে ফোকাস সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Move focus to the menu bar, navigate between menu bars":"মেনৠবারে ফোকাস সরিয়ে নিন, মেনৠবারের মধà§à¦¯à§‡ নেà¦à¦¿à¦—েট করà§à¦¨","Move focus to the toolbar, navigate between toolbars":"টà§à¦²à¦¬à¦¾à¦°à§‡ ফোকাস সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨, টà§à¦²à¦¬à¦¾à¦°à¦—à§à¦²à¦¿à¦° মধà§à¦¯à§‡ নেà¦à¦¿à¦—েট করà§à¦¨","Move the caret to allow typing directly after a widget":"কোনো উইজেটের পরে সরাসরি টাইপ করতে দিতে কà§à¦¯à¦¾à¦°à§‡à¦Ÿà¦Ÿà¦¿ সরান","Move the caret to allow typing directly before a widget":"কোনো উইজেটের আগে সরাসরি টাইপ করতে দিতে কà§à¦¯à¦¾à¦°à§‡à¦Ÿà¦Ÿà¦¿ সরান","Navigate through the toolbar or menu bar":"টà§à¦²à¦¬à¦¾à¦° বা মেনৠবারের মাধà§à¦¯à¦®à§‡ নেà¦à¦¿à¦—েট করà§à¦¨",Next:"পরবরà§à¦¤à§€","No results found":"কোন ফলাফল পাওয়া যায়নি","No searchable items":"কোনো অনà§à¦¸à¦¨à§à¦§à¦¾à¦¨à¦¯à§‹à¦—à§à¦¯ আইটেম নেই","Open the accessibility help dialog":"পà§à¦°à¦¬à§‡à¦¶à¦¯à§‹à¦—à§à¦¯à¦¤à¦¾à¦° সহায়ক ডায়ালগ খà§à¦²à§à¦¨",Orange:"কমলা",Paragraph:"অনà§à¦šà§à¦›à§‡à¦¦","Paste content":"কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ পেসà§à¦Ÿ করà§à¦¨","Paste content as plain text":"পà§à¦²à§‡à¦‡à¦¨ টেকà§à¦¸à¦Ÿ হিসেবে কনà§à¦Ÿà§‡à¦¨à§à¦Ÿ পেসà§à¦Ÿ করà§à¦¨",'Please enter a valid color (e.g. "ff0000").':'অনà§à¦—à§à¦°à¦¹ করে à¦à¦•à¦Ÿà¦¿ à¦à§à¦¯à¦¾à¦²à¦¿à¦¡ কালার পà§à¦°à¦¬à§‡à¦¶ করান (e.g. "ff0000").',"Press %0 for help.":"সহায়তার জনà§à¦¯ %0 পà§à¦°à§‡à¦¸ করà§à¦¨à¥¤","Press Enter to type after or press Shift + Enter to type before the widget":"পরে টাইপ করতে à¦à¦¨à§à¦Ÿà¦¾à¦° চাপà§à¦¨ বা উইজেটের আগে টাইপ করতে Shift + à¦à¦¨à§à¦Ÿà¦¾à¦° চাপà§à¦¨",Previous:"পূরà§à¦¬à¦¬à¦°à§à¦¤à§€",Purple:"বেগà§à¦¨à¦¿",Red:"লাল",Redo:"রেডো","Remove color":"রং মà§à¦›à§‡ ফেলà§à¦¨","Replace image with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে ছবি পà§à¦°à¦¤à¦¿à¦¸à§à¦¥à¦¾à¦ªà¦¨ করà§à¦¨","Replace with file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° দিয়ে পà§à¦°à¦¤à¦¿à¦¸à§à¦¥à¦¾à¦ªà¦¨ করà§à¦¨","Restore default":"পূরà§à¦¬à¦¾à¦¬à¦¸à§à¦¥à¦¾à¦¯à¦¼ ফিরিয়ে আনà§à¦¨","Rich Text Editor":"রিচ টেকà§à¦¸à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦°","Rich Text Editor. Editing area: %0":"রিচ টেকà§à¦¸à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦°à¥¤ সমà§à¦ªà¦¾à¦¦à¦¨à¦¾à¦° কà§à¦·à§‡à¦¤à§à¦°: %0",Save:"সংরকà§à¦·à¦£ করà§à¦¨","Select all":"সব নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨","Show more items":"আরও আইটেম দেখান","These keyboard shortcuts allow for quick access to content editing features.":"à¦à¦‡ কীবোরà§à¦¡ শরà§à¦Ÿà¦•à¦¾à¦Ÿà¦—à§à¦²à¦¿à¦° ফলে কনটেনà§à¦Ÿ à¦à¦¡à¦¿à¦Ÿà¦¿à¦‚য়ের বৈশিষà§à¦Ÿà§à¦¯à¦—à§à¦²à¦¿à¦° সà§à¦¬à¦¿à¦§à¦¾ দà§à¦°à§à¦¤ নেওয়া যায়।","Toggle caption off":"টগল কà§à¦¯à¦¾à¦ªà¦¶à¦¨ বনà§à¦§ করà§à¦¨","Toggle caption on":"টগল কà§à¦¯à¦¾à¦ªà¦¶à¦¨ চালৠকরà§à¦¨",Turquoise:"ফিরোজা",Undo:"পূরà§à¦¬à¦¾à¦¬à¦¸à§à¦¥à¦¾à¦¯à¦¼ ফেরান","Upload in progress":"আপলোড চলছে","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"CKEditor 5 ইউজার ইনà§à¦Ÿà¦¾à¦°à¦«à§‡à¦¸à§‡ আরও কারà§à¦¯à¦•à¦° নেà¦à¦¿à¦—েশনের জনà§à¦¯ নিমà§à¦¨à¦²à¦¿à¦–িত কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿ বà§à¦¯à¦¬à¦¹à¦¾à¦° করà§à¦¨à¥¤","User interface and content navigation keystrokes":"ইউজার ইনà§à¦Ÿà¦¾à¦°à¦«à§‡à¦¸ à¦à¦¬à¦‚ কনটেনà§à¦Ÿ নেà¦à¦¿à¦—েশনের কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿",White:"সাদা","Widget toolbar":"উইজেট টà§à¦²à¦¬à¦¾à¦°","With file manager":"ফাইল মà§à¦¯à¦¾à¦¨à§‡à¦œà¦¾à¦° সহ",Yellow:"হলà§à¦¦ "}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bs.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bs.js index 0208e6b1fabc340c4527122809909c58583606f2..858c11be3d84580d625631ac26e975c5c9f91064 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bs.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/bs.js @@ -1 +1 @@ -!function(e){const t=e.bs=e.bs||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 od %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"PoniÅ¡ti","Cannot upload file:":"Nije moguće uÄitati fajl:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Uredi",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Umetni",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"","Remove color":"Ukloni boju","Replace image with file manager":"","Replace with file manager":"","Restore default":"Vrati na zadano","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"SaÄuvaj","Show more items":"Prikaži viÅ¡e stavki","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.bs=e.bs||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 od %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"PoniÅ¡ti","Cannot upload file:":"Nije moguće uÄitati fajl:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Uredi",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Umetni",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"Paragraf","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"Ukloni boju","Replace image with file manager":"","Replace with file manager":"","Restore default":"Vrati na zadano","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"SaÄuvaj","Select all":"","Show more items":"Prikaži viÅ¡e stavki","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ca.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ca.js index 9283b2f2ea2aaf1ae66b257683a466f07a3acc17..78847b38bb9bb8a4210988a138f1c4f8c82023f7 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ca.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ca.js @@ -1 +1 @@ -!function(e){const t=e.ca=e.ca||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pot requerir <kbd>Fn</kbd>))","%0 of %1":"%0 de %1",Accept:"Accepta",Accessibility:"Accessibilitat","Accessibility help":"Ajuda d'accessibilitat",Aquamarine:"Aiguamarina","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Sota hi trobareu un llistat de dreceres del teclat que podeu emprar amb aquest editor.",Black:"Negre",Blue:"Blau",Cancel:"Cancel·lar","Cannot upload file:":"No es pot pujar l'arxiu:",Clear:"Esborra","Click to edit block":"Fes clic per editar el bloc",Close:"Tanca","Close contextual balloons, dropdowns, and dialogs":"Tanca finestres contextuals, desplegables i dià legs","Content editing keystrokes":"Tecles edició de contingut","Copy selected content":"Copia el contingut seleccionat","Dim grey":"Gris fosc","Drag to move":"Arrossega per moure","Dropdown menu":"Menú desplegable","Dropdown toolbar":"Barra d'eines desplegable","Edit block":"Editar bloc","Editor block content toolbar":"Barra d'eines de contingut del bloc de l'editor","Editor contextual toolbar":"Barra d'eines contextual de l'editor","Editor dialog":"Dià leg de l'editor","Editor menu bar":"Barra de menú del editor","Editor toolbar":"Barra d'eines de l'editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Activa el botó que està seleccionat. Quan s'activen els botons que interactuen amb el contingut de l'editor, el cursor torna al contingut.",File:"Arxiu",Green:"Verd",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Continguts d'Ajuda. Per a tancar aquesta finestra premeu ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Insereix un salt de lÃnia rÃgid (un parà graf nou)","Insert a new paragraph directly after a widget":"Insereix un parà graf nou immediatament després d'un giny","Insert a new paragraph directly before a widget":"Insereix un parà graf nou immediatament abans d'un giny","Insert a soft break (a <code><br></code> element)":"Insereix un salt de lÃnia tou (un element <code><br></code>)","Insert image with file manager":"Insereix la imatge amb el gestor de fitxers","Insert paragraph after block":"Inserir un parà graf després del bloc","Insert paragraph before block":"Inserir un parà graf abans del bloc","Insert with file manager":"Insereix-ho amb un gestor de fitxers","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tecles que es poden emprar en seleccionar un giny (com ara: imatge, taula, etc.)","Light blue":"Blau clar","Light green":"Verd clar","Light grey":"Gris clar",MENU_BAR_MENU_EDIT:"Edita",MENU_BAR_MENU_FILE:"Arxiu",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Ajuda",MENU_BAR_MENU_INSERT:"Introduir",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Eines",MENU_BAR_MENU_VIEW:"Visualitza","Move focus between form fields (inputs, buttons, etc.)":"Desplaça el focus entre els camps d'un formulari (entrades, botons, etc.)","Move focus from an editable area back to the parent widget":"Torna a moure el focus des d'una à rea editable al giny principal","Move focus in and out of an active dialog window":"Canvieu l'engrandiment d'una finestra activa","Move focus to the menu bar, navigate between menu bars":"Mou el cursor a la barra de menú, navega entre barres de menú","Move focus to the toolbar, navigate between toolbars":"Desplaça el focus a la barra d'eines, navega entre barres d'eines","Move the caret to allow typing directly after a widget":"Mou el punt d'inserció per a permetre l'escriptura immediatament després d'un giny","Move the caret to allow typing directly before a widget":"Mou el punt d'inserció per a permetre l'escriptura immediatament abans d'un giny","Navigate through the toolbar or menu bar":"Navega per la barra d'eines o de menú",Next:"Següent","No results found":"Sense resultats","No searchable items":"No hi ha elements de cerca","Open the accessibility help dialog":"Obre la finestra d'ajuda d'accessibilitat",Orange:"Taronja","Paste content":"Enganxa el contingut","Paste content as plain text":"Enganxa el contingut com a text pla",'Please enter a valid color (e.g. "ff0000").':'Introdueix un color và lid (p. ex. "ff0000").',"Press %0 for help.":"Premeu %0 per obtenir ajuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Premeu Retorn per escriure després o premeu Maj + Retorn per escriure abans del giny",Previous:"Anterior",Purple:"Lila",Red:"Vermell",Redo:"Refer","Remove color":"Eliminar el color","Replace image with file manager":"Substitueix la imatge amb un gestor de fitxers","Replace with file manager":"Substitueix-ho amb un gestor de fitxers","Restore default":"Restaurar el valor predeterminat","Rich Text Editor":"Editor de text enriquit","Rich Text Editor. Editing area: %0":"Editor de text enriquit. Àrea d'edició: %0",Save:"Desar","Select all":"Seleccionar-ho tot","Show more items":"Mostrar més elements","These keyboard shortcuts allow for quick access to content editing features.":"Aquestes dreceres del teclat permeten un accés rà pid a les accions d'edició de contingut.","Toggle caption off":"Desactivar el peu de foto","Toggle caption on":"Activar el peu de foto",Turquoise:"Turquesa",Undo:"Desfer","Upload in progress":"Carrega en curs","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Empreu les següents tecles per a una navegació més eficient en la interfÃcie de l'usuari de CKEditor 5.","User interface and content navigation keystrokes":"Tecles d'interfÃcie de l'usuari i navegació del contingut",White:"Blanc","Widget toolbar":"Barra d'eines de ginys","With file manager":"Amb el gestor de fitxers",Yellow:"Groc"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.ca=e.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pot requerir <kbd>Fn</kbd>))","%0 of %1":"%0 de %1",Accept:"Accepta",Accessibility:"Accessibilitat","Accessibility help":"Ajuda d'accessibilitat",Aquamarine:"Aiguamarina","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Sota hi trobareu un llistat de dreceres del teclat que podeu emprar amb aquest editor.",Black:"Negre",Blue:"Blau",Cancel:"Cancel·lar","Cannot upload file:":"No es pot pujar l'arxiu:",Clear:"Esborra","Click to edit block":"Fes clic per editar el bloc",Close:"Tanca","Close contextual balloons, dropdowns, and dialogs":"Tanca finestres contextuals, desplegables i dià legs","Color picker":"Selector de colors","Content editing keystrokes":"Tecles edició de contingut","Copy selected content":"Copia el contingut seleccionat","Dim grey":"Gris fosc","Drag to move":"Arrossega per moure","Dropdown menu":"Menú desplegable","Dropdown toolbar":"Barra d'eines desplegable","Edit block":"Editar bloc","Editor block content toolbar":"Barra d'eines de contingut del bloc de l'editor","Editor contextual toolbar":"Barra d'eines contextual de l'editor","Editor dialog":"Dià leg de l'editor","Editor menu bar":"Barra de menú del editor","Editor toolbar":"Barra d'eines de l'editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Activa el botó que està seleccionat. Quan s'activen els botons que interactuen amb el contingut de l'editor, el cursor torna al contingut.",File:"Arxiu",Green:"Verd",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Continguts d'Ajuda. Per a tancar aquesta finestra premeu ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Insereix un salt de lÃnia rÃgid (un parà graf nou)","Insert a new paragraph directly after a widget":"Insereix un parà graf nou immediatament després d'un giny","Insert a new paragraph directly before a widget":"Insereix un parà graf nou immediatament abans d'un giny","Insert a soft break (a <code><br></code> element)":"Insereix un salt de lÃnia tou (un element <code><br></code>)","Insert image with file manager":"Insereix la imatge amb el gestor de fitxers","Insert paragraph after block":"Inserir un parà graf després del bloc","Insert paragraph before block":"Inserir un parà graf abans del bloc","Insert with file manager":"Insereix-ho amb un gestor de fitxers","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tecles que es poden emprar en seleccionar un giny (com ara: imatge, taula, etc.)","Light blue":"Blau clar","Light green":"Verd clar","Light grey":"Gris clar",MENU_BAR_MENU_EDIT:"Edita",MENU_BAR_MENU_FILE:"Arxiu",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Ajuda",MENU_BAR_MENU_INSERT:"Introduir",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Eines",MENU_BAR_MENU_VIEW:"Visualitza","Move focus between form fields (inputs, buttons, etc.)":"Desplaça el focus entre els camps d'un formulari (entrades, botons, etc.)","Move focus from an editable area back to the parent widget":"Torna a moure el focus des d'una à rea editable al giny principal","Move focus in and out of an active dialog window":"Canvieu l'engrandiment d'una finestra activa","Move focus to the menu bar, navigate between menu bars":"Mou el cursor a la barra de menú, navega entre barres de menú","Move focus to the toolbar, navigate between toolbars":"Desplaça el focus a la barra d'eines, navega entre barres d'eines","Move the caret to allow typing directly after a widget":"Mou el punt d'inserció per a permetre l'escriptura immediatament després d'un giny","Move the caret to allow typing directly before a widget":"Mou el punt d'inserció per a permetre l'escriptura immediatament abans d'un giny","Navigate through the toolbar or menu bar":"Navega per la barra d'eines o de menú",Next:"Següent","No results found":"Sense resultats","No searchable items":"No hi ha elements de cerca","Open the accessibility help dialog":"Obre la finestra d'ajuda d'accessibilitat",Orange:"Taronja",Paragraph:"Parà graf","Paste content":"Enganxa el contingut","Paste content as plain text":"Enganxa el contingut com a text pla",'Please enter a valid color (e.g. "ff0000").':'Introdueix un color và lid (p. ex. "ff0000").',"Press %0 for help.":"Premeu %0 per obtenir ajuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Premeu Retorn per escriure després o premeu Maj + Retorn per escriure abans del giny",Previous:"Anterior",Purple:"Lila",Red:"Vermell",Redo:"Refer","Remove color":"Eliminar el color","Replace image with file manager":"Substitueix la imatge amb un gestor de fitxers","Replace with file manager":"Substitueix-ho amb un gestor de fitxers","Restore default":"Restaurar el valor predeterminat","Rich Text Editor":"Editor de text enriquit","Rich Text Editor. Editing area: %0":"Editor de text enriquit. Àrea d'edició: %0",Save:"Desar","Select all":"Seleccionar-ho tot","Show more items":"Mostrar més elements","These keyboard shortcuts allow for quick access to content editing features.":"Aquestes dreceres del teclat permeten un accés rà pid a les accions d'edició de contingut.","Toggle caption off":"Desactivar el peu de foto","Toggle caption on":"Activar el peu de foto",Turquoise:"Turquesa",Undo:"Desfer","Upload in progress":"Carrega en curs","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Empreu les següents tecles per a una navegació més eficient en la interfÃcie de l'usuari de CKEditor 5.","User interface and content navigation keystrokes":"Tecles d'interfÃcie de l'usuari i navegació del contingut",White:"Blanc","Widget toolbar":"Barra d'eines de ginys","With file manager":"Amb el gestor de fitxers",Yellow:"Groc"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/cs.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/cs.js index 8e8dc436eee4e77247c396dfd9c2d8152187dccd..24bc254a1a1140f178293d10f31c60f2ddf3e535 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/cs.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/cs.js @@ -1 +1 @@ -!function(e){const t=e.cs=e.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(může vyžadovat <kbd>Fn</kbd>)","%0 of %1":"%0 z %1",Accept:"PÅ™ijmout",Accessibility:"PÅ™Ãstupnost","Accessibility help":"Podpora pÅ™Ãstupnosti",Aquamarine:"AkvamarÃnová","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Seznam klávesových zkratek, které lze v editoru použÃt, můžete nalézt nÞe.",Black:"ÄŒerná",Blue:"Modrá",Cancel:"ZruÅ¡it","Cannot upload file:":"Soubor nelze nahrát:",Clear:"Smazat","Click to edit block":"KliknutÃm upravÃte blok",Close:"ZavÅ™Ãt","Close contextual balloons, dropdowns, and dialogs":"ZavÅ™Ãt kontextuálnà balóny, rozbalovacà menu a dialogy","Content editing keystrokes":"Klávesy na úpravu obsahu","Copy selected content":"ZkopÃrovat vybraný obsah","Dim grey":"TmavÄ› Å¡edá","Drag to move":"PÅ™esuňte potaženÃm","Dropdown menu":"Rozbalovacà nabÃdka","Dropdown toolbar":"Rozbalovacà panel nástrojů","Edit block":"Upravit blok","Editor block content toolbar":"Panel nástrojů obsahu bloku editoru","Editor contextual toolbar":"Kontextový panel nástrojů editoru","Editor dialog":"Dialog editoru","Editor menu bar":"Panel nabÃdek editoru","Editor toolbar":"Panel nástrojů editoru","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"SpusÅ¥te aktuálnÄ› zaměřené tlaÄÃtko. SpuÅ¡tÄ›nÃm tlaÄÃtek, která interagujà s obsahem editoru, se zaměřenà pÅ™esune zpÄ›t na obsah.",File:"Soubor",Green:"Zelená",Grey:"Å edá","Help Contents. To close this dialog press ESC.":"Obsah podpory. Pro zavÅ™enà tohoto dialogu stisknÄ›te ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Vložit tvrdou mezeru (nový odstavec)","Insert a new paragraph directly after a widget":"Vložte odstavec pÅ™Ãmo po widgetu","Insert a new paragraph directly before a widget":"Vložte nový odstavec pÅ™Ãmo pÅ™ed widget","Insert a soft break (a <code><br></code> element)":"Vložit mÄ›kkou mezeru (prvek <code><br></code>)","Insert image with file manager":"Vložit obrázek pomocà správce souborů","Insert paragraph after block":"Vložte odstavec za blok","Insert paragraph before block":"Vložte odstavec pÅ™ed blok","Insert with file manager":"Vložit pomocà správce souborů","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klávesy, které lze použÃt, když je vybraný widget (napÅ™: obrázek, tabulka atd.)","Light blue":"SvÄ›tle modrá","Light green":"SvÄ›tle zelená","Light grey":"SvÄ›tle Å¡edá",MENU_BAR_MENU_EDIT:"Upravit",MENU_BAR_MENU_FILE:"Soubor",MENU_BAR_MENU_FONT:"PÃsmo",MENU_BAR_MENU_FORMAT:"Formát",MENU_BAR_MENU_HELP:"NápovÄ›da",MENU_BAR_MENU_INSERT:"Vložit",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Nástroje",MENU_BAR_MENU_VIEW:"Zobrazit","Move focus between form fields (inputs, buttons, etc.)":"PÅ™esunout zaměřenà mezi poli formuláře (vstupy, tlaÄÃtka atd.)","Move focus from an editable area back to the parent widget":"PÅ™esunout zaměřenà z upravitelné oblasti zpÄ›t na nadÅ™azený widget","Move focus in and out of an active dialog window":"PÅ™esouvejte zaměřenà dovnitÅ™ a ven z aktivnÃho dialogového okna","Move focus to the menu bar, navigate between menu bars":"Zaměřte se na panel nabÃdek, procházejte mezi panely nabÃdek","Move focus to the toolbar, navigate between toolbars":"PÅ™esunout zaměřenà na liÅ¡tu nástrojů, navigace mezi liÅ¡tami nástrojů","Move the caret to allow typing directly after a widget":"PÅ™esuňte stÅ™ÃÅ¡ku pro umožnÄ›nà psanà pÅ™Ãmo pÅ™ed widget","Move the caret to allow typing directly before a widget":"PÅ™esuňte stÅ™ÃÅ¡ku pro umožnÄ›nà psanà pÅ™Ãmo pÅ™ed widget","Navigate through the toolbar or menu bar":"Procházenà panelu nástrojů nebo panelu nabÃdek",Next:"DalÅ¡Ã","No results found":"Nenalezeny žádné výsledky","No searchable items":"Žádné položky k vyhledánÃ","Open the accessibility help dialog":"OtevÅ™Ãt dialog podpory pÅ™Ãstupnosti",Orange:"Oranžová","Paste content":"Vložit obsah","Paste content as plain text":"Vyložit obsah jako prostý text",'Please enter a valid color (e.g. "ff0000").':"Zadejte platnou barvu (napÅ™. „ff0000“).","Press %0 for help.":"StisknÄ›te %0 pro podporu","Press Enter to type after or press Shift + Enter to type before the widget":"StisknutÃm klávesy Enter můžete psát za widgetem a stisknutÃm Shift + Enter pÅ™ed nÃm",Previous:"PÅ™edchozÃ",Purple:"Fialová",Red:"ÄŒervená",Redo:"Znovu","Remove color":"Odstranit barvu","Replace image with file manager":"Nahradit obrázek pomocà správce souborů","Replace with file manager":"Nahradit pomocà správce souborů","Restore default":"Obnovit výchozÃ","Rich Text Editor":"Textový editor","Rich Text Editor. Editing area: %0":"EditaÄnà oblast rich text editoru: %0",Save:"Uložit","Select all":"Vybrat vÅ¡e","Show more items":"Zobrazit dalÅ¡Ã položky","These keyboard shortcuts allow for quick access to content editing features.":"Tyto klávesové zkratky vám umožnà rychlý pÅ™Ãstup k funkcÃm úpravy obsahu.","Toggle caption off":"Vypnout titulek","Toggle caption on":"Zapnout titulek",Turquoise:"Tyrkysová",Undo:"ZpÄ›t","Upload in progress":"ProbÃhá nahrávánÃ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Pro efektivnà navigaci v uživatelském rozhranà CKEditor 5 použijte následujÃcà klávesy.","User interface and content navigation keystrokes":"Klávesy navigace v uživatelském rozhranà a obsahu",White:"BÃlá","Widget toolbar":"Panel nástrojů ovládacÃho prvku","With file manager":"Pomocà správce souborů",Yellow:"Žlutá"}),t.getPluralForm=function(e){return 1==e&&e%1==0?0:e>=2&&e<=4&&e%1==0?1:e%1!=0?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.cs=e.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(může vyžadovat <kbd>Fn</kbd>)","%0 of %1":"%0 z %1",Accept:"PÅ™ijmout",Accessibility:"PÅ™Ãstupnost","Accessibility help":"Podpora pÅ™Ãstupnosti",Aquamarine:"AkvamarÃnová","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Seznam klávesových zkratek, které lze v editoru použÃt, můžete nalézt nÞe.",Black:"ÄŒerná",Blue:"Modrá",Cancel:"ZruÅ¡it","Cannot upload file:":"Soubor nelze nahrát:",Clear:"Smazat","Click to edit block":"KliknutÃm upravÃte blok",Close:"ZavÅ™Ãt","Close contextual balloons, dropdowns, and dialogs":"ZavÅ™Ãt kontextuálnà balóny, rozbalovacà menu a dialogy","Color picker":"Vybrat barvu","Content editing keystrokes":"Klávesy na úpravu obsahu","Copy selected content":"ZkopÃrovat vybraný obsah","Dim grey":"TmavÄ› Å¡edá","Drag to move":"PÅ™esuňte potaženÃm","Dropdown menu":"Rozbalovacà nabÃdka","Dropdown toolbar":"Rozbalovacà panel nástrojů","Edit block":"Upravit blok","Editor block content toolbar":"Panel nástrojů obsahu bloku editoru","Editor contextual toolbar":"Kontextový panel nástrojů editoru","Editor dialog":"Dialog editoru","Editor menu bar":"Panel nabÃdek editoru","Editor toolbar":"Panel nástrojů editoru","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"SpusÅ¥te aktuálnÄ› zaměřené tlaÄÃtko. SpuÅ¡tÄ›nÃm tlaÄÃtek, která interagujà s obsahem editoru, se zaměřenà pÅ™esune zpÄ›t na obsah.",File:"Soubor",Green:"Zelená",Grey:"Å edá","Help Contents. To close this dialog press ESC.":"Obsah podpory. Pro zavÅ™enà tohoto dialogu stisknÄ›te ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Vložit tvrdou mezeru (nový odstavec)","Insert a new paragraph directly after a widget":"Vložte odstavec pÅ™Ãmo po widgetu","Insert a new paragraph directly before a widget":"Vložte nový odstavec pÅ™Ãmo pÅ™ed widget","Insert a soft break (a <code><br></code> element)":"Vložit mÄ›kkou mezeru (prvek <code><br></code>)","Insert image with file manager":"Vložit obrázek pomocà správce souborů","Insert paragraph after block":"Vložte odstavec za blok","Insert paragraph before block":"Vložte odstavec pÅ™ed blok","Insert with file manager":"Vložit pomocà správce souborů","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klávesy, které lze použÃt, když je vybraný widget (napÅ™: obrázek, tabulka atd.)","Light blue":"SvÄ›tle modrá","Light green":"SvÄ›tle zelená","Light grey":"SvÄ›tle Å¡edá",MENU_BAR_MENU_EDIT:"Upravit",MENU_BAR_MENU_FILE:"Soubor",MENU_BAR_MENU_FONT:"PÃsmo",MENU_BAR_MENU_FORMAT:"Formát",MENU_BAR_MENU_HELP:"NápovÄ›da",MENU_BAR_MENU_INSERT:"Vložit",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Nástroje",MENU_BAR_MENU_VIEW:"Zobrazit","Move focus between form fields (inputs, buttons, etc.)":"PÅ™esunout zaměřenà mezi poli formuláře (vstupy, tlaÄÃtka atd.)","Move focus from an editable area back to the parent widget":"PÅ™esunout zaměřenà z upravitelné oblasti zpÄ›t na nadÅ™azený widget","Move focus in and out of an active dialog window":"PÅ™esouvejte zaměřenà dovnitÅ™ a ven z aktivnÃho dialogového okna","Move focus to the menu bar, navigate between menu bars":"Zaměřte se na panel nabÃdek, procházejte mezi panely nabÃdek","Move focus to the toolbar, navigate between toolbars":"PÅ™esunout zaměřenà na liÅ¡tu nástrojů, navigace mezi liÅ¡tami nástrojů","Move the caret to allow typing directly after a widget":"PÅ™esuňte stÅ™ÃÅ¡ku pro umožnÄ›nà psanà pÅ™Ãmo pÅ™ed widget","Move the caret to allow typing directly before a widget":"PÅ™esuňte stÅ™ÃÅ¡ku pro umožnÄ›nà psanà pÅ™Ãmo pÅ™ed widget","Navigate through the toolbar or menu bar":"Procházenà panelu nástrojů nebo panelu nabÃdek",Next:"DalÅ¡Ã","No results found":"Nenalezeny žádné výsledky","No searchable items":"Žádné položky k vyhledánÃ","Open the accessibility help dialog":"OtevÅ™Ãt dialog podpory pÅ™Ãstupnosti",Orange:"Oranžová",Paragraph:"Odstavec","Paste content":"Vložit obsah","Paste content as plain text":"Vyložit obsah jako prostý text",'Please enter a valid color (e.g. "ff0000").':"Zadejte platnou barvu (napÅ™. „ff0000“).","Press %0 for help.":"StisknÄ›te %0 pro podporu","Press Enter to type after or press Shift + Enter to type before the widget":"StisknutÃm klávesy Enter můžete psát za widgetem a stisknutÃm Shift + Enter pÅ™ed nÃm",Previous:"PÅ™edchozÃ",Purple:"Fialová",Red:"ÄŒervená",Redo:"Znovu","Remove color":"Odstranit barvu","Replace image with file manager":"Nahradit obrázek pomocà správce souborů","Replace with file manager":"Nahradit pomocà správce souborů","Restore default":"Obnovit výchozÃ","Rich Text Editor":"Textový editor","Rich Text Editor. Editing area: %0":"EditaÄnà oblast rich text editoru: %0",Save:"Uložit","Select all":"Vybrat vÅ¡e","Show more items":"Zobrazit dalÅ¡Ã položky","These keyboard shortcuts allow for quick access to content editing features.":"Tyto klávesové zkratky vám umožnà rychlý pÅ™Ãstup k funkcÃm úpravy obsahu.","Toggle caption off":"Vypnout titulek","Toggle caption on":"Zapnout titulek",Turquoise:"Tyrkysová",Undo:"ZpÄ›t","Upload in progress":"ProbÃhá nahrávánÃ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Pro efektivnà navigaci v uživatelském rozhranà CKEditor 5 použijte následujÃcà klávesy.","User interface and content navigation keystrokes":"Klávesy navigace v uživatelském rozhranà a obsahu",White:"BÃlá","Widget toolbar":"Panel nástrojů ovládacÃho prvku","With file manager":"Pomocà správce souborů",Yellow:"Žlutá"}),t.getPluralForm=function(e){return 1==e?0:e>=2&&e<=4?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/da.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/da.js index 78914f42af78b51ff00f415c36012983687c240b..3d1db05be47dc26d33c5953cadf0a55706916ccd 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/da.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/da.js @@ -1 +1 @@ -!function(e){const t=e.da=e.da||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(kan kræve <kbd>Fn</kbd>)","%0 of %1":"%0 af %1",Accept:"Accepter",Accessibility:"Tilgængelighed","Accessibility help":"Tilgængelighedshjælp",Aquamarine:"MarineblÃ¥","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nedenfor kan du finde en liste over tastaturgenveje, der kan bruges i editoren.",Black:"Sort",Blue:"BlÃ¥",Cancel:"Annullér","Cannot upload file:":"Kan ikke uploade fil:",Clear:"Ryd","Click to edit block":"Klik for at redigere blok",Close:"Luk","Close contextual balloons, dropdowns, and dialogs":"Luk kontekstbetingede balloner, rullemenuer og dialoger","Content editing keystrokes":"Tastaturtryk til redigering af indhold","Copy selected content":"Kopier markeret indhold","Dim grey":"Dunkel grÃ¥","Drag to move":"Træk for at flytte","Dropdown menu":"Rullemenu","Dropdown toolbar":"Dropdown værktøjslinje","Edit block":"Redigér blok","Editor block content toolbar":"Redigeringskasse indholdsværktøjslinje","Editor contextual toolbar":"Kontekstuel værktøjslinje til redigeringsprogram","Editor dialog":"Editor-dialog","Editor menu bar":"Editor menulinje","Editor toolbar":"Editor værktøjslinje","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Udfør den aktuelt fokuserede knap. Udførelse af knapper, der interagerer med editorens indhold, flytter fokus tilbage til indholdet.",File:"Fil",Green:"Grøn",Grey:"GrÃ¥","Help Contents. To close this dialog press ESC.":"Hjælpeindhold. Tryk ESC for at lykke denne dialog.",HEX:"Hex","Insert a hard break (a new paragraph)":"Indsæt hÃ¥rdt linjeskift (en ny paragraf)","Insert a new paragraph directly after a widget":"Indsæt en ny paragraf direkte efter en widget","Insert a new paragraph directly before a widget":"Indsæt en ny paragraf direkte før en widget","Insert a soft break (a <code><br></code> element)":"Indsæt blødt linjeskift (et <code><br></code> element)","Insert image with file manager":"Indsæt billede med filhÃ¥ndtering","Insert paragraph after block":"Indsæt paragraf efter blok","Insert paragraph before block":"Indsæt paragraf før blok","Insert with file manager":"Indsæt med filhÃ¥ndtering","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tastaturtryk, der kan bruges nÃ¥r en widget er valgt (for eksempel: billede, tabel, osv.)","Light blue":"Lys blÃ¥","Light green":"Lys grøn","Light grey":"Lys grÃ¥",MENU_BAR_MENU_EDIT:"Rediger",MENU_BAR_MENU_FILE:"Fil",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hjælp",MENU_BAR_MENU_INSERT:"Indsæt",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Værktøjer",MENU_BAR_MENU_VIEW:"Vis","Move focus between form fields (inputs, buttons, etc.)":"Flyt fokus mellem formularfelter (input, knapper, osv.)","Move focus from an editable area back to the parent widget":"Flyt fokus fra et redigerbart omrÃ¥de tilbage til den overordnede widget","Move focus in and out of an active dialog window":"Flyt fokus ind og ud af et aktivt dialogvindue","Move focus to the menu bar, navigate between menu bars":"Flyt fokus til menulinjen, naviger mellem menulinjerne","Move focus to the toolbar, navigate between toolbars":"Flyt fokus til værktøjslinjen, naviger mellem værktøjslinjer","Move the caret to allow typing directly after a widget":"Flyt indsætningstegnet for at tillade skrift direkte efter en widget","Move the caret to allow typing directly before a widget":"Flyt indsætningstegnet for at tillade skrift direkte før en widget","Navigate through the toolbar or menu bar":"Naviger gennem værktøjslinjen eller menulinjen",Next:"Næste","No results found":"Ingen resultater blev fundet","No searchable items":"Ingen søgbare artikler","Open the accessibility help dialog":"Ã…bn hjælpedialogen om tilgængelighed",Orange:"Orange","Paste content":"Indsæt indhold","Paste content as plain text":"Indsæt indhold som ren tekst",'Please enter a valid color (e.g. "ff0000").':'Indtast venligst en gyldig farve (f.eks. "ff0000',"Press %0 for help.":"Tryk %0 for at fÃ¥ hjælp.","Press Enter to type after or press Shift + Enter to type before the widget":"Tryk pÃ¥ Enter for at skrive efter, eller tryk pÃ¥ Shift + Enter for at skrive før widgetten",Previous:"Forrige",Purple:"Lilla",Red:"Rød",Redo:"Gentag","Remove color":"Fjern farve","Replace image with file manager":"Udskift billede med filhÃ¥ndtering","Replace with file manager":"Udskift med filhÃ¥ndtering","Restore default":"Nulstil","Rich Text Editor":"Wysiwyg editor","Rich Text Editor. Editing area: %0":"Rich text redigering. RedigeringsomrÃ¥de: %0",Save:"Gem","Select all":"Vælg alt","Show more items":"Vis flere emner","These keyboard shortcuts allow for quick access to content editing features.":"Disse tastaturgenveje giver hurtigt adgang til funktioner til redigering af indhold.","Toggle caption off":"SlÃ¥ billedtekst fra","Toggle caption on":"SlÃ¥ billedtekst til",Turquoise:"Turkis",Undo:"Fortryd","Upload in progress":"Upload i gang","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Brug følgende tastaturtryk for mere effektiv navigering i CKEditor 5 brugerfladen.","User interface and content navigation keystrokes":"Tastatur tryk til brugerflade- og indholdsnavigering",White:"Hvid","Widget toolbar":"Widget værktøjslinje","With file manager":"Med filadministrator",Yellow:"Gyl"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.da=e.da||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(kan kræve <kbd>Fn</kbd>)","%0 of %1":"%0 af %1",Accept:"Accepter",Accessibility:"Tilgængelighed","Accessibility help":"Tilgængelighedshjælp",Aquamarine:"MarineblÃ¥","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nedenfor kan du finde en liste over tastaturgenveje, der kan bruges i editoren.",Black:"Sort",Blue:"BlÃ¥",Cancel:"Annullér","Cannot upload file:":"Kan ikke uploade fil:",Clear:"Ryd","Click to edit block":"Klik for at redigere blok",Close:"Luk","Close contextual balloons, dropdowns, and dialogs":"Luk kontekstbetingede balloner, rullemenuer og dialoger","Color picker":"Farvevælger","Content editing keystrokes":"Tastaturtryk til redigering af indhold","Copy selected content":"Kopier markeret indhold","Dim grey":"Dunkel grÃ¥","Drag to move":"Træk for at flytte","Dropdown menu":"Rullemenu","Dropdown toolbar":"Dropdown værktøjslinje","Edit block":"Redigér blok","Editor block content toolbar":"Redigeringskasse indholdsværktøjslinje","Editor contextual toolbar":"Kontekstuel værktøjslinje til redigeringsprogram","Editor dialog":"Editor-dialog","Editor menu bar":"Editor menulinje","Editor toolbar":"Editor værktøjslinje","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Udfør den aktuelt fokuserede knap. Udførelse af knapper, der interagerer med editorens indhold, flytter fokus tilbage til indholdet.",File:"Fil",Green:"Grøn",Grey:"GrÃ¥","Help Contents. To close this dialog press ESC.":"Hjælpeindhold. Tryk ESC for at lykke denne dialog.",HEX:"Hex","Insert a hard break (a new paragraph)":"Indsæt hÃ¥rdt linjeskift (en ny paragraf)","Insert a new paragraph directly after a widget":"Indsæt en ny paragraf direkte efter en widget","Insert a new paragraph directly before a widget":"Indsæt en ny paragraf direkte før en widget","Insert a soft break (a <code><br></code> element)":"Indsæt blødt linjeskift (et <code><br></code> element)","Insert image with file manager":"Indsæt billede med filhÃ¥ndtering","Insert paragraph after block":"Indsæt paragraf efter blok","Insert paragraph before block":"Indsæt paragraf før blok","Insert with file manager":"Indsæt med filhÃ¥ndtering","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tastaturtryk, der kan bruges nÃ¥r en widget er valgt (for eksempel: billede, tabel, osv.)","Light blue":"Lys blÃ¥","Light green":"Lys grøn","Light grey":"Lys grÃ¥",MENU_BAR_MENU_EDIT:"Rediger",MENU_BAR_MENU_FILE:"Fil",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hjælp",MENU_BAR_MENU_INSERT:"Indsæt",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Værktøjer",MENU_BAR_MENU_VIEW:"Vis","Move focus between form fields (inputs, buttons, etc.)":"Flyt fokus mellem formularfelter (input, knapper, osv.)","Move focus from an editable area back to the parent widget":"Flyt fokus fra et redigerbart omrÃ¥de tilbage til den overordnede widget","Move focus in and out of an active dialog window":"Flyt fokus ind og ud af et aktivt dialogvindue","Move focus to the menu bar, navigate between menu bars":"Flyt fokus til menulinjen, naviger mellem menulinjerne","Move focus to the toolbar, navigate between toolbars":"Flyt fokus til værktøjslinjen, naviger mellem værktøjslinjer","Move the caret to allow typing directly after a widget":"Flyt indsætningstegnet for at tillade skrift direkte efter en widget","Move the caret to allow typing directly before a widget":"Flyt indsætningstegnet for at tillade skrift direkte før en widget","Navigate through the toolbar or menu bar":"Naviger gennem værktøjslinjen eller menulinjen",Next:"Næste","No results found":"Ingen resultater blev fundet","No searchable items":"Ingen søgbare artikler","Open the accessibility help dialog":"Ã…bn hjælpedialogen om tilgængelighed",Orange:"Orange",Paragraph:"Afsnit","Paste content":"Indsæt indhold","Paste content as plain text":"Indsæt indhold som ren tekst",'Please enter a valid color (e.g. "ff0000").':'Indtast venligst en gyldig farve (f.eks. "ff0000',"Press %0 for help.":"Tryk %0 for at fÃ¥ hjælp.","Press Enter to type after or press Shift + Enter to type before the widget":"Tryk pÃ¥ Enter for at skrive efter, eller tryk pÃ¥ Shift + Enter for at skrive før widgetten",Previous:"Forrige",Purple:"Lilla",Red:"Rød",Redo:"Gentag","Remove color":"Fjern farve","Replace image with file manager":"Udskift billede med filhÃ¥ndtering","Replace with file manager":"Udskift med filhÃ¥ndtering","Restore default":"Nulstil","Rich Text Editor":"Wysiwyg editor","Rich Text Editor. Editing area: %0":"Rich text redigering. RedigeringsomrÃ¥de: %0",Save:"Gem","Select all":"Vælg alt","Show more items":"Vis flere emner","These keyboard shortcuts allow for quick access to content editing features.":"Disse tastaturgenveje giver hurtigt adgang til funktioner til redigering af indhold.","Toggle caption off":"SlÃ¥ billedtekst fra","Toggle caption on":"SlÃ¥ billedtekst til",Turquoise:"Turkis",Undo:"Fortryd","Upload in progress":"Upload i gang","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Brug følgende tastaturtryk for mere effektiv navigering i CKEditor 5 brugerfladen.","User interface and content navigation keystrokes":"Tastatur tryk til brugerflade- og indholdsnavigering",White:"Hvid","Widget toolbar":"Widget værktøjslinje","With file manager":"Med filadministrator",Yellow:"Gyl"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de-ch.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de-ch.js index 1514871dd82789fe5bf5a6555c49b701b0a6d768..b605fe0f3efad9f2ea07775b0fecae11d3b4781f 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de-ch.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de-ch.js @@ -1 +1 @@ -!function(e){const t=e["de-ch"]=e["de-ch"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Abbrechen","Cannot upload file:":"Datei kann nicht hochgeladen werden:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Bearbeiten",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Einfügen",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rich-Text-Edito","Rich Text Editor. Editing area: %0":"",Save:"Speichern","Select all":"Alles auswählen","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Rückgängig","Upload in progress":"Upload läuft","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"Widget Werkzeugleiste","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["de-ch"]=e["de-ch"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Abbrechen","Cannot upload file:":"Datei kann nicht hochgeladen werden:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Bearbeiten",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Einfügen",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"Absatz","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rich-Text-Edito","Rich Text Editor. Editing area: %0":"",Save:"Speichern","Select all":"Alles auswählen","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Rückgängig","Upload in progress":"Upload läuft","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"Widget Werkzeugleiste","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de.js index 7445294900ed3bf3a02c0671d82568a9220523c3..8a190252b3d2f6bd1e3f3b84e7a44d345678d667 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/de.js @@ -1 +1 @@ -!function(e){const n=e.de=e.de||{};n.dictionary=Object.assign(n.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(erfordert gegebenenfalls <kbd>Fn</kbd>)","%0 of %1":"%0 von %1",Accept:"Akzeptieren",Accessibility:"Bedienungshilfen","Accessibility help":"Hilfe zur Eingabe",Aquamarine:"Aquamarinblau","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Unten finden Sie eine Liste mit Tastenkombinationen, die im Editor benutzt werden können.",Black:"Schwarz",Blue:"Blau",Cancel:"Abbrechen","Cannot upload file:":"Die Datei kann nicht hochgeladen werden:",Clear:"Löschen","Click to edit block":"Zum Bearbeiten des Blocks klicken",Close:"Schließen","Close contextual balloons, dropdowns, and dialogs":"Kontextsprechblasen, Dropdown-Menü und Dialoge schließen","Content editing keystrokes":"Tastatureingaben zur Inhaltsverarbeitung","Copy selected content":"Markierten Inhalt kopieren","Dim grey":"Dunkelgrau","Drag to move":"Zum Verschieben ziehen","Dropdown menu":"Dropdown-Menü","Dropdown toolbar":"Dropdown-Liste Werkzeugleiste","Edit block":"Absatz bearbeiten","Editor block content toolbar":"Editor Blockinhalt-Toolbar","Editor contextual toolbar":"Editor kontextuelle Toolbar","Editor dialog":"Editor-Dialog","Editor menu bar":"Menüleiste des Editors","Editor toolbar":"Editor Werkzeugleiste","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ausführen der aktuell fokussierten Schaltfläche. Das Ausführen von Schaltflächen, die mit dem Inhalt des Editors interagieren, richtet den Fokus zurück auf den Inhalt.",File:"Datei",Green:"Grün",Grey:"Grau","Help Contents. To close this dialog press ESC.":"Hilfe zum Inhalt. Drücken Sie die Esc-Taste, um dieses Dialogfenster zu schließen.",HEX:"HEX","Insert a hard break (a new paragraph)":"Zeilenumbruch einfügen (einen neuen Abschnitt)","Insert a new paragraph directly after a widget":"Einen neuen Abschnitt direkt nach einem Widget einfügen","Insert a new paragraph directly before a widget":"Einen neuen Abschnitt direkt vor einem Widget einfügen","Insert a soft break (a <code><br></code> element)":"Einen weichen Zeilenumbruch einfügen (ein <code><br></code>-Element)","Insert image with file manager":"Bild mit dem Dateimanager einfügen","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert with file manager":"Mit Dateimanager einfügen","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tastatureingaben, die verwendet werden können, wenn ein Widget ausgewählt wurde (zum Beispiel: Bilder, Tabellen etc.)","Light blue":"Hellblau","Light green":"Hellgrün","Light grey":"Hellgrau",MENU_BAR_MENU_EDIT:"Bearbeiten",MENU_BAR_MENU_FILE:"Datei",MENU_BAR_MENU_FONT:"Schriftart",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hilfe",MENU_BAR_MENU_INSERT:"Einfügen",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Werkzeuge",MENU_BAR_MENU_VIEW:"Anzeigen","Move focus between form fields (inputs, buttons, etc.)":"Fokus zwischen Formularfeldern verschieben (Eingaben, Tastenfelder etc.)","Move focus from an editable area back to the parent widget":"Bewegen Sie den Fokus von einem bearbeitbaren Bereich zurück zum übergeordneten Widget","Move focus in and out of an active dialog window":"Fokus auf ein aktives Dialogfenster richten oder aufheben","Move focus to the menu bar, navigate between menu bars":"Fokus auf die Menüleiste richten, zwischen Menüleisten navigieren","Move focus to the toolbar, navigate between toolbars":"Fokus auf die Symbolleiste verschieben, zwischen den Symbolleisten navigieren","Move the caret to allow typing directly after a widget":"Verschieben Sie den Textcursor, um die direkte Eingabe nach dem Widget zu erlauben","Move the caret to allow typing directly before a widget":"Verschieben Sie den Textcursor, um die Eingabe direkt nach dem Widget zu erlauben","Navigate through the toolbar or menu bar":"Durch die Werkzeugleiste oder Menüleiste navigieren",Next:"Nächste","No results found":"Keine Ergebnisse gefunden","No searchable items":"Keine durchsuchbaren Elemente","Open the accessibility help dialog":"Den Dialog zur Eingabehilfe öffnen",Orange:"Orange","Paste content":"Inhalt einfügen","Paste content as plain text":"Inhalt als Klartext einfügen",'Please enter a valid color (e.g. "ff0000").':"Bitte geben Sie eine gültige Farbe ein (z. B. „ff0000“).","Press %0 for help.":"Drücken Sie %0 für Hilfe.","Press Enter to type after or press Shift + Enter to type before the widget":"Drücken Sie die Eingabetaste, um nach dem Widget zu tippen oder Shift + Eingabetaste, um vor dem Widget zu tippen.",Previous:"vorherige",Purple:"Violett",Red:"Rot",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Replace image with file manager":"Bild mittels Dateimanager ersetzen","Replace with file manager":"Mittels Dateimanager ersetzen","Restore default":"Standard wiederherstellen","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Bearbeitungsbereich: %0",Save:"Speichern","Select all":"Alles auswählen","Show more items":"Mehr anzeigen","These keyboard shortcuts allow for quick access to content editing features.":"Diese Tastenkombinationen ermöglichen einen schnellen Zugang zu den Inhaltsverarbeitungsfunktionen.","Toggle caption off":"Tabellenüberschrift deaktivieren","Toggle caption on":"Tabellenüberschrift aktivieren",Turquoise:"Türkis",Undo:"Rückgängig","Upload in progress":"Upload läuft","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Verwenden Sie die folgenden Tastatureingaben für eine effizientere Navigation auf der CKEditor-5-Benutzeroberfläche.","User interface and content navigation keystrokes":"Benutzeroberfläche und Inhaltsnavigationstasten",White:"Weiß","Widget toolbar":"Widget Werkzeugleiste","With file manager":"Mit dem Dateimanager",Yellow:"Gelb"}),n.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e.de=e.de||{};n.dictionary=Object.assign(n.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(erfordert gegebenenfalls <kbd>Fn</kbd>)","%0 of %1":"%0 von %1",Accept:"Akzeptieren",Accessibility:"Bedienungshilfen","Accessibility help":"Hilfe zur Eingabe",Aquamarine:"Aquamarinblau","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Unten finden Sie eine Liste mit Tastenkombinationen, die im Editor benutzt werden können.",Black:"Schwarz",Blue:"Blau",Cancel:"Abbrechen","Cannot upload file:":"Die Datei kann nicht hochgeladen werden:",Clear:"Löschen","Click to edit block":"Zum Bearbeiten des Blocks klicken",Close:"Schließen","Close contextual balloons, dropdowns, and dialogs":"Kontextsprechblasen, Dropdown-Menü und Dialoge schließen","Color picker":"Farbwähler","Content editing keystrokes":"Tastatureingaben zur Inhaltsverarbeitung","Copy selected content":"Markierten Inhalt kopieren","Dim grey":"Dunkelgrau","Drag to move":"Zum Verschieben ziehen","Dropdown menu":"Dropdown-Menü","Dropdown toolbar":"Dropdown-Liste Werkzeugleiste","Edit block":"Absatz bearbeiten","Editor block content toolbar":"Editor Blockinhalt-Toolbar","Editor contextual toolbar":"Editor kontextuelle Toolbar","Editor dialog":"Editor-Dialog","Editor menu bar":"Menüleiste des Editors","Editor toolbar":"Editor Werkzeugleiste","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ausführen der aktuell fokussierten Schaltfläche. Das Ausführen von Schaltflächen, die mit dem Inhalt des Editors interagieren, richtet den Fokus zurück auf den Inhalt.",File:"Datei",Green:"Grün",Grey:"Grau","Help Contents. To close this dialog press ESC.":"Hilfe zum Inhalt. Drücken Sie die Esc-Taste, um dieses Dialogfenster zu schließen.",HEX:"HEX","Insert a hard break (a new paragraph)":"Zeilenumbruch einfügen (einen neuen Abschnitt)","Insert a new paragraph directly after a widget":"Einen neuen Abschnitt direkt nach einem Widget einfügen","Insert a new paragraph directly before a widget":"Einen neuen Abschnitt direkt vor einem Widget einfügen","Insert a soft break (a <code><br></code> element)":"Einen weichen Zeilenumbruch einfügen (ein <code><br></code>-Element)","Insert image with file manager":"Bild mit dem Dateimanager einfügen","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert with file manager":"Mit Dateimanager einfügen","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tastatureingaben, die verwendet werden können, wenn ein Widget ausgewählt wurde (zum Beispiel: Bilder, Tabellen etc.)","Light blue":"Hellblau","Light green":"Hellgrün","Light grey":"Hellgrau",MENU_BAR_MENU_EDIT:"Bearbeiten",MENU_BAR_MENU_FILE:"Datei",MENU_BAR_MENU_FONT:"Schriftart",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hilfe",MENU_BAR_MENU_INSERT:"Einfügen",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Werkzeuge",MENU_BAR_MENU_VIEW:"Anzeigen","Move focus between form fields (inputs, buttons, etc.)":"Fokus zwischen Formularfeldern verschieben (Eingaben, Tastenfelder etc.)","Move focus from an editable area back to the parent widget":"Bewegen Sie den Fokus von einem bearbeitbaren Bereich zurück zum übergeordneten Widget","Move focus in and out of an active dialog window":"Fokus auf ein aktives Dialogfenster richten oder aufheben","Move focus to the menu bar, navigate between menu bars":"Fokus auf die Menüleiste richten, zwischen Menüleisten navigieren","Move focus to the toolbar, navigate between toolbars":"Fokus auf die Symbolleiste verschieben, zwischen den Symbolleisten navigieren","Move the caret to allow typing directly after a widget":"Verschieben Sie den Textcursor, um die direkte Eingabe nach dem Widget zu erlauben","Move the caret to allow typing directly before a widget":"Verschieben Sie den Textcursor, um die Eingabe direkt nach dem Widget zu erlauben","Navigate through the toolbar or menu bar":"Durch die Werkzeugleiste oder Menüleiste navigieren",Next:"Nächste","No results found":"Keine Ergebnisse gefunden","No searchable items":"Keine durchsuchbaren Elemente","Open the accessibility help dialog":"Den Dialog zur Eingabehilfe öffnen",Orange:"Orange",Paragraph:"Absatz","Paste content":"Inhalt einfügen","Paste content as plain text":"Inhalt als Klartext einfügen",'Please enter a valid color (e.g. "ff0000").':"Bitte geben Sie eine gültige Farbe ein (z. B. „ff0000“).","Press %0 for help.":"Drücken Sie %0 für Hilfe.","Press Enter to type after or press Shift + Enter to type before the widget":"Drücken Sie die Eingabetaste, um nach dem Widget zu tippen oder Shift + Eingabetaste, um vor dem Widget zu tippen.",Previous:"vorherige",Purple:"Violett",Red:"Rot",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Replace image with file manager":"Bild mittels Dateimanager ersetzen","Replace with file manager":"Mittels Dateimanager ersetzen","Restore default":"Standard wiederherstellen","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Bearbeitungsbereich: %0",Save:"Speichern","Select all":"Alles auswählen","Show more items":"Mehr anzeigen","These keyboard shortcuts allow for quick access to content editing features.":"Diese Tastenkombinationen ermöglichen einen schnellen Zugang zu den Inhaltsverarbeitungsfunktionen.","Toggle caption off":"Tabellenüberschrift deaktivieren","Toggle caption on":"Tabellenüberschrift aktivieren",Turquoise:"Türkis",Undo:"Rückgängig","Upload in progress":"Upload läuft","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Verwenden Sie die folgenden Tastatureingaben für eine effizientere Navigation auf der CKEditor-5-Benutzeroberfläche.","User interface and content navigation keystrokes":"Benutzeroberfläche und Inhaltsnavigationstasten",White:"Weiß","Widget toolbar":"Widget Werkzeugleiste","With file manager":"Mit dem Dateimanager",Yellow:"Gelb"}),n.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/el.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/el.js index c6bd642143569d681c6c75255141c3dc24b5e80f..70b343ec3e99f3cc86cbb3c476a7e6731f24ee18 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/el.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/el.js @@ -1 +1 @@ -!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(μποÏεί να απαιτείται το <kbd> Fn</kbd>)","%0 of %1":"%0 από %1",Accept:"Αποδοχή",Accessibility:"Î Ïοσβασιμότητα","Accessibility help":"Βοήθεια Ï€Ïοσβασιμότητας",Aquamarine:"ΑκουαμαÏίνα","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ΠαÏακάτω, μποÏείτε να βÏείτε μια λίστα με συντομεÏσεις πληκτÏολογίου που μποÏείτε να χÏησιμοποιήσετε στο εÏγαλείο επεξεÏγασίας.",Black:"ΜαÏÏο",Blue:"Μπλε",Cancel:"ΑκÏÏωση","Cannot upload file:":"ΑδÏνατη η αποστολή του αÏχείου:",Clear:"ΚαθαÏισμός","Click to edit block":"Κάντε κλικ για να επεξεÏγαστείτε το μπλοκ",Close:"Κλείσιμο","Close contextual balloons, dropdowns, and dialogs":"Κλείσιμο παÏαθÏÏων σχολίων, αναπτυσσόμενων Î¼ÎµÎ½Î¿Ï ÎºÎ±Î¹ παÏαθÏÏων διαλόγου","Content editing keystrokes":"ΠλήκτÏα επεξεÏγασίας πεÏιεχομÎνου","Copy selected content":"ΑντιγÏαφή επιλεγμÎνου πεÏιεχομÎνου","Dim grey":"Θολό γκÏι","Drag to move":"ΣÏÏετε για μετακίνηση","Dropdown menu":"Αναπτυσσόμενο μενοÏ","Dropdown toolbar":"ΓÏαμμή εÏγαλείων αναδυόμενου μενοÏ","Edit block":"ΕπεξεÏγασία τμήματος","Editor block content toolbar":"ΓÏαμμή εÏγαλείων επεξεÏγασίας πεÏιεχομÎνου αποκλεισμοÏ","Editor contextual toolbar":"ΓÏαμμή εÏγαλείων επεξεÏγασίας συμφÏαζομÎνων","Editor dialog":"ΠαÏάθυÏο διαλόγου επεξεÏγαστή","Editor menu bar":"ΓÏαμμή Î¼ÎµÎ½Î¿Ï ÎµÏ€ÎµÎ¾ÎµÏγαστή","Editor toolbar":"ΓÏαμμή εÏγαλείων επεξεÏγαστή","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"ΕκτÎλεση του Ï„ÏÎχοντος εστιασμÎνου κουμπιοÏ. Η εκτÎλεση κουμπιών που αλληλεπιδÏοÏν με το πεÏιεχόμενο του συντάκτη μετακινεί την εστίαση πίσω στο πεÏιεχόμενο.",File:"ΑÏχείο",Green:"Î Ïάσινο",Grey:"ΓκÏι","Help Contents. To close this dialog press ESC.":"ΠεÏιεχόμενα βοήθειας. Για να κλείσετε αυτό το παÏάθυÏο διαλόγου, πατήστε ESC.",HEX:"Δεκαεξαδική μοÏφή χÏωμάτων","Insert a hard break (a new paragraph)":"Εισαγωγή συμβόλου αλλαγής γÏαμμής (με νÎα παÏάγÏαφο)","Insert a new paragraph directly after a widget":"Εισαγωγή νÎας παÏαγÏάφου απευθείας μετά από Îνα widget","Insert a new paragraph directly before a widget":"Εισαγωγή νÎας παÏαγÏάφου απευθείας Ï€Ïιν από Îνα widget","Insert a soft break (a <code><br></code> element)":"Εισαγωγή συμβόλου αλλαγής γÏαμμής χωÏίς νÎα παÏάγÏαφο (Îνα στοιχείο <code><br></code>])","Insert image with file manager":"Εισαγωγή εικόνας με τη διαχείÏιση αÏχείων","Insert paragraph after block":"Εισαγωγή παÏαγÏάφου μετά το τμήμα","Insert paragraph before block":"Εισαγωγή παÏαγÏάφου Ï€Ïιν το τμήμα","Insert with file manager":"Εισαγωγή με τη διαχείÏιση αÏχείων","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ΠλήκτÏα που μποÏείτε να χÏησιμοποιήσετε όταν επιλÎγετε Îνα widget (για παÏάδειγμα: εικόνα, πίνακα κ.λπ.)","Light blue":"Φωτινό μπλε","Light green":"Φωτινό Ï€Ïάσινο","Light grey":"Φωτινό γκÏι",MENU_BAR_MENU_EDIT:"ΕπεξεÏγασία",MENU_BAR_MENU_FILE:"ΑÏχείο",MENU_BAR_MENU_FONT:"ΓÏαμματοσειÏά",MENU_BAR_MENU_FORMAT:"ΜοÏφή",MENU_BAR_MENU_HELP:"Βοήθεια",MENU_BAR_MENU_INSERT:"Εισαγωγή",MENU_BAR_MENU_TEXT:"Κείμενο",MENU_BAR_MENU_TOOLS:"ΕÏγαλεία",MENU_BAR_MENU_VIEW:"Î Ïοβολή","Move focus between form fields (inputs, buttons, etc.)":"Μετακίνηση της εστίασης Î¼ÎµÏ„Î±Î¾Ï Ï„Ï‰Î½ πεδίων φόÏμας (εισαγωγÎÏ‚, κουμπιά, κ.λπ.)","Move focus from an editable area back to the parent widget":"Μετακίνηση της εστίασης από μια επεξεÏγάσιμη πεÏιοχή πίσω στο αÏχικό widget","Move focus in and out of an active dialog window":"Μετακίνηση της εστίασης από Îνα ενεÏγό παÏάθυÏο διαλόγου","Move focus to the menu bar, navigate between menu bars":"Μετακίνηση της εστίασης στη γÏαμμή μενοÏ, πλοήγηση Î¼ÎµÏ„Î±Î¾Ï Ï„Ï‰Î½ γÏαμμών μενοÏ","Move focus to the toolbar, navigate between toolbars":"Μετακίνηση της εστίασης στη γÏαμμή εÏγαλείων, πλοήγηση Î¼ÎµÏ„Î±Î¾Ï Ï„Ï‰Î½ γÏαμμών εÏγαλείων","Move the caret to allow typing directly after a widget":"Μετακινήστε τον δÏομÎα caret για να είναι δυνατή η πληκτÏολόγηση απευθείας μετά από Îνα widget","Move the caret to allow typing directly before a widget":"Μετακινήστε τον δÏομÎα caret για να είναι δυνατή η πληκτÏολόγηση απευθείας Ï€Ïιν από Îνα widget","Navigate through the toolbar or menu bar":"Πλοήγηση μÎσω της γÏαμμής εÏγαλείων ή της γÏαμμής μενοÏ",Next:"Επόμενο","No results found":"Δεν βÏÎθηκαν αποτελÎσματα","No searchable items":"Δεν υπάÏχει δυνατότητα αναζήτησης στοιχείων","Open the accessibility help dialog":"Άνοιγμα του παÏαθÏÏου διαλόγου βοήθειας Ï€Ïοσβασιμότητας",Orange:"ΠοÏτοκαλί","Paste content":"Επικόλληση πεÏιεχομÎνου","Paste content as plain text":"Επικόλληση πεÏιεχομÎνου ως απλό κείμενο",'Please enter a valid color (e.g. "ff0000").':'ΠαÏακαλοÏμε να εισαγάγετε Îνα ÎγκυÏο χÏώμα (Ï€.χ. "ff0000").',"Press %0 for help.":"Πατήστε %0 για βοήθεια.","Press Enter to type after or press Shift + Enter to type before the widget":"Πατήστε Enter για να πληκτÏολογήσετε μετά ή πατήστε Shift + Enter για να πληκτÏολογήσετε Ï€Ïιν από το γÏαφικό στοιχείο",Previous:"Î ÏοηγοÏμενο",Purple:"ΠοÏφυÏÏŒ",Red:"Κόκκινο",Redo:"Επανάληψη","Remove color":"ΑπομάκÏυνση χÏώματος","Replace image with file manager":"Αντικατάσταση εικόνας με τη διαχείÏιση αÏχείων","Replace with file manager":"Αντικατάσταση με τη διαχείÏιση αÏχείων","Restore default":"ΕπαναφοÏά Ï€Ïοεπιλογής","Rich Text Editor":"ΕπεξεÏγαστής εμπλουτισμÎνου κειμÎνου","Rich Text Editor. Editing area: %0":"Î ÏόγÏαμμα επεξεÏγασίας εμπλουτισμÎνου κειμÎνου. ΠεÏιοχή επεξεÏγασίας: %0",Save:"Αποθήκευση","Select all":"Επιλογή όλων","Show more items":"Î Ïοβολή πεÏισσότεÏων αντικειμÎνων","These keyboard shortcuts allow for quick access to content editing features.":"ΑυτÎÏ‚ οι συντομεÏσεις πληκτÏολογίου επιτÏÎπουν τη γÏήγοÏη Ï€Ïόσβαση σε λειτουÏγίες επεξεÏγασίας πεÏιεχομÎνου.","Toggle caption off":"Εναλλαγή απόκÏυψης λεζάντας","Toggle caption on":"Εναλλαγής εμφάνισης λεζάντας",Turquoise:"ΤιÏκουάζ",Undo:"ΑναίÏεση","Upload in progress":"Αποστολή σε εξÎλιξη","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ΧÏησιμοποιήστε τα ακόλουθα πλήκτÏα για πιο αποτελεσματική πλοήγηση στο πεÏιβάλλον εÏγασίας χÏήστη του CKEditor 5.","User interface and content navigation keystrokes":"ΠλήκτÏα για πλοήγηση στο πεÏιβάλλον εÏγασίας χÏήστη και στο πεÏιεχόμενο",White:"Λευκό","Widget toolbar":"ΓÏαμμή εÏγαλείων γÏÎ±Ï†Î¹ÎºÎ¿Ï ÏƒÏ„Î¿Î¹Ï‡ÎµÎ¯Î¿Ï…","With file manager":"Με διαχειÏιστή φακÎλων",Yellow:"ΚίτÏινο"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(μποÏεί να απαιτείται το <kbd> Fn</kbd>)","%0 of %1":"%0 από %1",Accept:"Αποδοχή",Accessibility:"Î Ïοσβασιμότητα","Accessibility help":"Βοήθεια Ï€Ïοσβασιμότητας",Aquamarine:"ΑκουαμαÏίνα","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ΠαÏακάτω, μποÏείτε να βÏείτε μια λίστα με συντομεÏσεις πληκτÏολογίου που μποÏείτε να χÏησιμοποιήσετε στο εÏγαλείο επεξεÏγασίας.",Black:"ΜαÏÏο",Blue:"Μπλε",Cancel:"ΑκÏÏωση","Cannot upload file:":"ΑδÏνατη η αποστολή του αÏχείου:",Clear:"ΚαθαÏισμός","Click to edit block":"Κάντε κλικ για να επεξεÏγαστείτε το μπλοκ",Close:"Κλείσιμο","Close contextual balloons, dropdowns, and dialogs":"Κλείσιμο παÏαθÏÏων σχολίων, αναπτυσσόμενων Î¼ÎµÎ½Î¿Ï ÎºÎ±Î¹ παÏαθÏÏων διαλόγου","Color picker":"ΕπιλογÎας χÏώματος","Content editing keystrokes":"ΠλήκτÏα επεξεÏγασίας πεÏιεχομÎνου","Copy selected content":"ΑντιγÏαφή επιλεγμÎνου πεÏιεχομÎνου","Dim grey":"Θολό γκÏι","Drag to move":"ΣÏÏετε για μετακίνηση","Dropdown menu":"Αναπτυσσόμενο μενοÏ","Dropdown toolbar":"ΓÏαμμή εÏγαλείων αναδυόμενου μενοÏ","Edit block":"ΕπεξεÏγασία τμήματος","Editor block content toolbar":"ΓÏαμμή εÏγαλείων επεξεÏγασίας πεÏιεχομÎνου αποκλεισμοÏ","Editor contextual toolbar":"ΓÏαμμή εÏγαλείων επεξεÏγασίας συμφÏαζομÎνων","Editor dialog":"ΠαÏάθυÏο διαλόγου επεξεÏγαστή","Editor menu bar":"ΓÏαμμή Î¼ÎµÎ½Î¿Ï ÎµÏ€ÎµÎ¾ÎµÏγαστή","Editor toolbar":"ΓÏαμμή εÏγαλείων επεξεÏγαστή","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"ΕκτÎλεση του Ï„ÏÎχοντος εστιασμÎνου κουμπιοÏ. Η εκτÎλεση κουμπιών που αλληλεπιδÏοÏν με το πεÏιεχόμενο του συντάκτη μετακινεί την εστίαση πίσω στο πεÏιεχόμενο.",File:"ΑÏχείο",Green:"Î Ïάσινο",Grey:"ΓκÏι","Help Contents. To close this dialog press ESC.":"ΠεÏιεχόμενα βοήθειας. Για να κλείσετε αυτό το παÏάθυÏο διαλόγου, πατήστε ESC.",HEX:"Δεκαεξαδική μοÏφή χÏωμάτων","Insert a hard break (a new paragraph)":"Εισαγωγή συμβόλου αλλαγής γÏαμμής (με νÎα παÏάγÏαφο)","Insert a new paragraph directly after a widget":"Εισαγωγή νÎας παÏαγÏάφου απευθείας μετά από Îνα widget","Insert a new paragraph directly before a widget":"Εισαγωγή νÎας παÏαγÏάφου απευθείας Ï€Ïιν από Îνα widget","Insert a soft break (a <code><br></code> element)":"Εισαγωγή συμβόλου αλλαγής γÏαμμής χωÏίς νÎα παÏάγÏαφο (Îνα στοιχείο <code><br></code>])","Insert image with file manager":"Εισαγωγή εικόνας με τη διαχείÏιση αÏχείων","Insert paragraph after block":"Εισαγωγή παÏαγÏάφου μετά το τμήμα","Insert paragraph before block":"Εισαγωγή παÏαγÏάφου Ï€Ïιν το τμήμα","Insert with file manager":"Εισαγωγή με τη διαχείÏιση αÏχείων","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ΠλήκτÏα που μποÏείτε να χÏησιμοποιήσετε όταν επιλÎγετε Îνα widget (για παÏάδειγμα: εικόνα, πίνακα κ.λπ.)","Light blue":"Φωτινό μπλε","Light green":"Φωτινό Ï€Ïάσινο","Light grey":"Φωτινό γκÏι",MENU_BAR_MENU_EDIT:"ΕπεξεÏγασία",MENU_BAR_MENU_FILE:"ΑÏχείο",MENU_BAR_MENU_FONT:"ΓÏαμματοσειÏά",MENU_BAR_MENU_FORMAT:"ΜοÏφή",MENU_BAR_MENU_HELP:"Βοήθεια",MENU_BAR_MENU_INSERT:"Εισαγωγή",MENU_BAR_MENU_TEXT:"Κείμενο",MENU_BAR_MENU_TOOLS:"ΕÏγαλεία",MENU_BAR_MENU_VIEW:"Î Ïοβολή","Move focus between form fields (inputs, buttons, etc.)":"Μετακίνηση της εστίασης Î¼ÎµÏ„Î±Î¾Ï Ï„Ï‰Î½ πεδίων φόÏμας (εισαγωγÎÏ‚, κουμπιά, κ.λπ.)","Move focus from an editable area back to the parent widget":"Μετακίνηση της εστίασης από μια επεξεÏγάσιμη πεÏιοχή πίσω στο αÏχικό widget","Move focus in and out of an active dialog window":"Μετακίνηση της εστίασης από Îνα ενεÏγό παÏάθυÏο διαλόγου","Move focus to the menu bar, navigate between menu bars":"Μετακίνηση της εστίασης στη γÏαμμή μενοÏ, πλοήγηση Î¼ÎµÏ„Î±Î¾Ï Ï„Ï‰Î½ γÏαμμών μενοÏ","Move focus to the toolbar, navigate between toolbars":"Μετακίνηση της εστίασης στη γÏαμμή εÏγαλείων, πλοήγηση Î¼ÎµÏ„Î±Î¾Ï Ï„Ï‰Î½ γÏαμμών εÏγαλείων","Move the caret to allow typing directly after a widget":"Μετακινήστε τον δÏομÎα caret για να είναι δυνατή η πληκτÏολόγηση απευθείας μετά από Îνα widget","Move the caret to allow typing directly before a widget":"Μετακινήστε τον δÏομÎα caret για να είναι δυνατή η πληκτÏολόγηση απευθείας Ï€Ïιν από Îνα widget","Navigate through the toolbar or menu bar":"Πλοήγηση μÎσω της γÏαμμής εÏγαλείων ή της γÏαμμής μενοÏ",Next:"Επόμενο","No results found":"Δεν βÏÎθηκαν αποτελÎσματα","No searchable items":"Δεν υπάÏχει δυνατότητα αναζήτησης στοιχείων","Open the accessibility help dialog":"Άνοιγμα του παÏαθÏÏου διαλόγου βοήθειας Ï€Ïοσβασιμότητας",Orange:"ΠοÏτοκαλί",Paragraph:"ΠαÏάγÏαφος","Paste content":"Επικόλληση πεÏιεχομÎνου","Paste content as plain text":"Επικόλληση πεÏιεχομÎνου ως απλό κείμενο",'Please enter a valid color (e.g. "ff0000").':'ΠαÏακαλοÏμε να εισαγάγετε Îνα ÎγκυÏο χÏώμα (Ï€.χ. "ff0000").',"Press %0 for help.":"Πατήστε %0 για βοήθεια.","Press Enter to type after or press Shift + Enter to type before the widget":"Πατήστε Enter για να πληκτÏολογήσετε μετά ή πατήστε Shift + Enter για να πληκτÏολογήσετε Ï€Ïιν από το γÏαφικό στοιχείο",Previous:"Î ÏοηγοÏμενο",Purple:"ΠοÏφυÏÏŒ",Red:"Κόκκινο",Redo:"Επανάληψη","Remove color":"ΑπομάκÏυνση χÏώματος","Replace image with file manager":"Αντικατάσταση εικόνας με τη διαχείÏιση αÏχείων","Replace with file manager":"Αντικατάσταση με τη διαχείÏιση αÏχείων","Restore default":"ΕπαναφοÏά Ï€Ïοεπιλογής","Rich Text Editor":"ΕπεξεÏγαστής εμπλουτισμÎνου κειμÎνου","Rich Text Editor. Editing area: %0":"Î ÏόγÏαμμα επεξεÏγασίας εμπλουτισμÎνου κειμÎνου. ΠεÏιοχή επεξεÏγασίας: %0",Save:"Αποθήκευση","Select all":"Επιλογή όλων","Show more items":"Î Ïοβολή πεÏισσότεÏων αντικειμÎνων","These keyboard shortcuts allow for quick access to content editing features.":"ΑυτÎÏ‚ οι συντομεÏσεις πληκτÏολογίου επιτÏÎπουν τη γÏήγοÏη Ï€Ïόσβαση σε λειτουÏγίες επεξεÏγασίας πεÏιεχομÎνου.","Toggle caption off":"Εναλλαγή απόκÏυψης λεζάντας","Toggle caption on":"Εναλλαγής εμφάνισης λεζάντας",Turquoise:"ΤιÏκουάζ",Undo:"ΑναίÏεση","Upload in progress":"Αποστολή σε εξÎλιξη","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ΧÏησιμοποιήστε τα ακόλουθα πλήκτÏα για πιο αποτελεσματική πλοήγηση στο πεÏιβάλλον εÏγασίας χÏήστη του CKEditor 5.","User interface and content navigation keystrokes":"ΠλήκτÏα για πλοήγηση στο πεÏιβάλλον εÏγασίας χÏήστη και στο πεÏιεχόμενο",White:"Λευκό","Widget toolbar":"ΓÏαμμή εÏγαλείων γÏÎ±Ï†Î¹ÎºÎ¿Ï ÏƒÏ„Î¿Î¹Ï‡ÎµÎ¯Î¿Ï…","With file manager":"Με διαχειÏιστή φακÎλων",Yellow:"ΚίτÏινο"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-au.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-au.js index a56ed45c319433f094e4b26c02d5d1411185993b..4fd9f1ad13bcc83585e0a064855919470c42ed6f 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-au.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-au.js @@ -1 +1 @@ -!function(e){const t=e["en-au"]=e["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 of %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"Clear","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"Dim grey","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Editor toolbar","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Next","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Orange",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove colour","Replace image with file manager":"","Replace with file manager":"","Restore default":"Restore default","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Editing area: %0",Save:"Save","Select all":"Select all","Show more items":"Show more items","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"White","Widget toolbar":"Widget toolbar","With file manager":"",Yellow:"Yellow"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["en-au"]=e["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 of %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"Clear","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"Colour picker","Content editing keystrokes":"","Copy selected content":"","Dim grey":"Dim grey","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Editor toolbar","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Next","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Orange",Paragraph:"Paragraph","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove colour","Replace image with file manager":"","Replace with file manager":"","Restore default":"Restore default","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Editing area: %0",Save:"Save","Select all":"Select all","Show more items":"Show more items","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"White","Widget toolbar":"Widget toolbar","With file manager":"",Yellow:"Yellow"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-gb.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-gb.js index 8bf8b22da4649d06a4a0d63b789f3614abd89894..d6fdf8ffce64c52057890d5068ef6773b8c96c09 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-gb.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/en-gb.js @@ -1 +1 @@ -!function(e){const o=e["en-gb"]=e["en-gb"]||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 of %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"Dim grey","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"Edit block","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"Next","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Orange",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove colour","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"",Save:"Save","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"White","With file manager":"",Yellow:"Yellow"}),o.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["en-gb"]=e["en-gb"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 of %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"Dim grey","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"Edit block","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Next","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Orange",Paragraph:"Paragraph","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove colour","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"",Save:"Save","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"White","Widget toolbar":"","With file manager":"",Yellow:"Yellow"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eo.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eo.js index d8d339a8075b613ff92417d8ca9a0b34b0e0d6eb..701a86c686369e0b297b2038929e818085ebdc8c 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eo.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eo.js @@ -1 +1 @@ -!function(e){const o=e.eo=e.eo||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Nuligi","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Refari","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Redaktilo de Riĉa Teksto","Rich Text Editor. Editing area: %0":"",Save:"Konservi","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Malfari","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),o.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.eo=e.eo||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Nuligi","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"Paragrafo","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"Refari","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Redaktilo de Riĉa Teksto","Rich Text Editor. Editing area: %0":"",Save:"Konservi","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Malfari","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es-co.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es-co.js index 4b2c34c7c6f39267f8f933bcfd103da219a21c56..bbe58fb73deefc9559abbb67740ac32ad8280c48 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es-co.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es-co.js @@ -1 +1 @@ -!function(e){const o=e["es-co"]=e["es-co"]||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 de %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Cancelar","Cannot upload file:":"No se pudo cargar el archivo:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Copy selected content":"Copiar contenido seleccionado","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Insertar",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"","Paste content":"Pegar contenido","Paste content as plain text":"Pegar contenido como texto plano",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"","Remove color":"Quitar color","Replace image with file manager":"","Replace with file manager":"","Restore default":"Restaurar valores predeterminados","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"Editor de texto enriquecido. Ãrea de edición: %0",Save:"Guardar","Show more items":"Mostrar más elementos","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"","Upload in progress":"Carga en progreso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),o.getPluralForm=function(e){return 1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["es-co"]=e["es-co"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 de %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Cancelar","Cannot upload file:":"No se pudo cargar el archivo:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"Copiar contenido seleccionado","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Insertar",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"Pegar contenido","Paste content as plain text":"Pegar contenido como texto plano",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"Quitar color","Replace image with file manager":"","Replace with file manager":"","Restore default":"Restaurar valores predeterminados","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"Editor de texto enriquecido. Ãrea de edición: %0",Save:"Guardar","Select all":"","Show more items":"Mostrar más elementos","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"Carga en progreso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es.js index f480973cf88b29605ff8432433ea43c595a7fa18..3be000233195ffa7a8192d3b4abf099b95491af0 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/es.js @@ -1 +1 @@ -!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(puede requerir <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceptar",Accessibility:"Accesibilidad","Accessibility help":"Ayuda de accesibilidad",Aquamarine:"Aguamarina","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"A continuación, encontrará una lista de atajos de teclado que se pueden utilizar en el editor.",Black:"Negro",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"No se pudo cargar el archivo:",Clear:"Borrar","Click to edit block":"Haz clic para editar el bloque",Close:"Cerrar","Close contextual balloons, dropdowns, and dialogs":"Cierra globos contextuales, menús desplegables y cuadros de diálogo","Content editing keystrokes":"Teclas de edición de contenido","Copy selected content":"Copia el contenido seleccionado","Dim grey":"Gris oscuro","Drag to move":"Arrastra para mover","Dropdown menu":"Menú desplegable","Dropdown toolbar":"Barra de herramientas desplegable","Edit block":"Cuadro de edición","Editor block content toolbar":"Barra de herramientas de contenido del bloque del editor","Editor contextual toolbar":"Barra de herramientas contextual del editor","Editor dialog":"Diálogo del editor","Editor menu bar":"Barra de menú del editor","Editor toolbar":"Barra de herramientas de edición","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ejecutar el botón actualmente enfocado. Al ejecutar botones que interactúan con el contenido del editor, el foco vuelve al contenido.",File:"Archivo",Green:"Verde",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Contenidos de ayuda. Presione ESC para cerrar este cuadro de diálogo.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserta un salto de párrafo (un nuevo párrafo)","Insert a new paragraph directly after a widget":"Inserta un nuevo párrafo directamente después de un módulo interactivo","Insert a new paragraph directly before a widget":"Inserta un nuevo párrafo directamente antes de un módulo interactivo","Insert a soft break (a <code><br></code> element)":"Inserta un salto de lÃnea (un elemento <code><br></code>)","Insert image with file manager":"Insertar imagen con administrador de archivos","Insert paragraph after block":"Insertar párrafo después del bloque","Insert paragraph before block":"Insertar párrafo antes del bloque","Insert with file manager":"Insertar con administrador de archivos","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas que se pueden utilizar cuando se selecciona un módulo interactivo (por ejemplo: imagen, tabla, etc.)","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Gris claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Archivo",MENU_BAR_MENU_FONT:"Fuente",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Ayuda",MENU_BAR_MENU_INSERT:"Insertar",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Herramientas",MENU_BAR_MENU_VIEW:"Ver","Move focus between form fields (inputs, buttons, etc.)":"Mueve el foco entre campos de formulario (entradas, botones, etc.)","Move focus from an editable area back to the parent widget":"Cambiar el foco de un área editable al widget principal","Move focus in and out of an active dialog window":"Mueve el foco dentro y fuera de una ventana de diálogo activa","Move focus to the menu bar, navigate between menu bars":"Mover el foco a la barra de menú, navegar entre las barras de menú","Move focus to the toolbar, navigate between toolbars":"Mueve el foco a la barra de herramientas y navega entre barras de herramientas","Move the caret to allow typing directly after a widget":"Mueve el cursor para permitir escribir directamente después de un módulo interactivo","Move the caret to allow typing directly before a widget":"Mueve el cursor para permitir escribir directamente antes de un módulo interactivo","Navigate through the toolbar or menu bar":"Navegar por la barra de herramientas o la barra de menú",Next:"Siguiente","No results found":"No se han encontrado resultados","No searchable items":"No hay elementos que buscar","Open the accessibility help dialog":"Abre el cuadro de diálogo de ayuda de accesibilidad",Orange:"Naranja","Paste content":"Pega el contenido","Paste content as plain text":"Pega el contenido como texto sin formato",'Please enter a valid color (e.g. "ff0000").':'Introduzca un color válido (p. ej., "ff0000").',"Press %0 for help.":"Presione %0 para obtener ayuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Pulse Intro para escribir después o pulse Mayús + Intro para escribir antes del «widget».",Previous:"Anterior",Purple:"Morado",Red:"Rojo",Redo:"Rehacer","Remove color":"Quitar color","Replace image with file manager":"Reemplazar imagen con administrador de archivos","Replace with file manager":"Reemplazar con administrador de archivos","Restore default":"Restaurar valores predeterminados","Rich Text Editor":"Editor de Texto Enriquecido","Rich Text Editor. Editing area: %0":"Editor de texto enriquecido. Ãrea de edición: %0",Save:"Guardar","Select all":"Seleccionar todo","Show more items":"Mostrar más elementos","These keyboard shortcuts allow for quick access to content editing features.":"Estos atajos de teclado permiten acceder rápidamente a las funciones de edición de contenido.","Toggle caption off":"Desactivar tÃtulo","Toggle caption on":"Activar tÃtulo",Turquoise:"Turquesa",Undo:"Deshacer","Upload in progress":"Subida en progreso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Utilice las siguientes combinaciones de teclas para una navegación más eficiente en la interfaz de usuario de CKEditor 5.","User interface and content navigation keystrokes":"Teclas de navegación de contenido e interfaz de usuario",White:"Blanco","Widget toolbar":"Barra de herramientas del widget","With file manager":"Con el administrador de archivos",Yellow:"Amarillo"}),a.getPluralForm=function(e){return 1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(puede requerir <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceptar",Accessibility:"Accesibilidad","Accessibility help":"Ayuda de accesibilidad",Aquamarine:"Aguamarina","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"A continuación, encontrará una lista de atajos de teclado que se pueden utilizar en el editor.",Black:"Negro",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"No se pudo cargar el archivo:",Clear:"Borrar","Click to edit block":"Haz clic para editar el bloque",Close:"Cerrar","Close contextual balloons, dropdowns, and dialogs":"Cierra globos contextuales, menús desplegables y cuadros de diálogo","Color picker":"Selector de color","Content editing keystrokes":"Teclas de edición de contenido","Copy selected content":"Copia el contenido seleccionado","Dim grey":"Gris oscuro","Drag to move":"Arrastra para mover","Dropdown menu":"Menú desplegable","Dropdown toolbar":"Barra de herramientas desplegable","Edit block":"Cuadro de edición","Editor block content toolbar":"Barra de herramientas de contenido del bloque del editor","Editor contextual toolbar":"Barra de herramientas contextual del editor","Editor dialog":"Diálogo del editor","Editor menu bar":"Barra de menú del editor","Editor toolbar":"Barra de herramientas de edición","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ejecutar el botón actualmente enfocado. Al ejecutar botones que interactúan con el contenido del editor, el foco vuelve al contenido.",File:"Archivo",Green:"Verde",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Contenidos de ayuda. Presione ESC para cerrar este cuadro de diálogo.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserta un salto de párrafo (un nuevo párrafo)","Insert a new paragraph directly after a widget":"Inserta un nuevo párrafo directamente después de un módulo interactivo","Insert a new paragraph directly before a widget":"Inserta un nuevo párrafo directamente antes de un módulo interactivo","Insert a soft break (a <code><br></code> element)":"Inserta un salto de lÃnea (un elemento <code><br></code>)","Insert image with file manager":"Insertar imagen con administrador de archivos","Insert paragraph after block":"Insertar párrafo después del bloque","Insert paragraph before block":"Insertar párrafo antes del bloque","Insert with file manager":"Insertar con administrador de archivos","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas que se pueden utilizar cuando se selecciona un módulo interactivo (por ejemplo: imagen, tabla, etc.)","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Gris claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Archivo",MENU_BAR_MENU_FONT:"Fuente",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Ayuda",MENU_BAR_MENU_INSERT:"Insertar",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Herramientas",MENU_BAR_MENU_VIEW:"Ver","Move focus between form fields (inputs, buttons, etc.)":"Mueve el foco entre campos de formulario (entradas, botones, etc.)","Move focus from an editable area back to the parent widget":"Cambiar el foco de un área editable al widget principal","Move focus in and out of an active dialog window":"Mueve el foco dentro y fuera de una ventana de diálogo activa","Move focus to the menu bar, navigate between menu bars":"Mover el foco a la barra de menú, navegar entre las barras de menú","Move focus to the toolbar, navigate between toolbars":"Mueve el foco a la barra de herramientas y navega entre barras de herramientas","Move the caret to allow typing directly after a widget":"Mueve el cursor para permitir escribir directamente después de un módulo interactivo","Move the caret to allow typing directly before a widget":"Mueve el cursor para permitir escribir directamente antes de un módulo interactivo","Navigate through the toolbar or menu bar":"Navegar por la barra de herramientas o la barra de menú",Next:"Siguiente","No results found":"No se han encontrado resultados","No searchable items":"No hay elementos que buscar","Open the accessibility help dialog":"Abre el cuadro de diálogo de ayuda de accesibilidad",Orange:"Naranja",Paragraph:"Párrafo","Paste content":"Pega el contenido","Paste content as plain text":"Pega el contenido como texto sin formato",'Please enter a valid color (e.g. "ff0000").':'Introduzca un color válido (p. ej., "ff0000").',"Press %0 for help.":"Presione %0 para obtener ayuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Pulse Intro para escribir después o pulse Mayús + Intro para escribir antes del «widget».",Previous:"Anterior",Purple:"Morado",Red:"Rojo",Redo:"Rehacer","Remove color":"Quitar color","Replace image with file manager":"Reemplazar imagen con administrador de archivos","Replace with file manager":"Reemplazar con administrador de archivos","Restore default":"Restaurar valores predeterminados","Rich Text Editor":"Editor de Texto Enriquecido","Rich Text Editor. Editing area: %0":"Editor de texto enriquecido. Ãrea de edición: %0",Save:"Guardar","Select all":"Seleccionar todo","Show more items":"Mostrar más elementos","These keyboard shortcuts allow for quick access to content editing features.":"Estos atajos de teclado permiten acceder rápidamente a las funciones de edición de contenido.","Toggle caption off":"Desactivar tÃtulo","Toggle caption on":"Activar tÃtulo",Turquoise:"Turquesa",Undo:"Deshacer","Upload in progress":"Subida en progreso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Utilice las siguientes combinaciones de teclas para una navegación más eficiente en la interfaz de usuario de CKEditor 5.","User interface and content navigation keystrokes":"Teclas de navegación de contenido e interfaz de usuario",White:"Blanco","Widget toolbar":"Barra de herramientas del widget","With file manager":"Con el administrador de archivos",Yellow:"Amarillo"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/et.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/et.js index d60d97a91c9f87b4eba6b21bb6d21f6615d03d3d..75d86a1647c26572daa62a3911ef9021b2dd8992 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/et.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/et.js @@ -1 +1 @@ -!function(e){const i=e.et=e.et||{};i.dictionary=Object.assign(i.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(võib vajada klahvi <kbd>Fn</kbd>)","%0 of %1":"%0 / %1",Accept:"Nõustu",Accessibility:"Juurdepääsetavus","Accessibility help":"Juurdepääsu abi",Aquamarine:"Akvamariin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Altpoolt leiad redaktoris kasutatavad klahvikombinatsioonid.",Black:"Must",Blue:"Sinine",Cancel:"Loobu","Cannot upload file:":"Faili ei suudeta üles laadida:",Clear:"Selge","Click to edit block":"Ploki muutmiseks klõpsa",Close:"Sulge","Close contextual balloons, dropdowns, and dialogs":"Sulge konteksti mullid, rippmenüüd ja dialoogid","Content editing keystrokes":"Sisu muutmise klahvikombinatsioonid","Copy selected content":"Kopeeri valitud sisu","Dim grey":"Tumehall","Drag to move":"Liigutamiseks lohista","Dropdown menu":"Rippmenüü","Dropdown toolbar":"Avatav tööriistariba","Edit block":"Muuda plokki","Editor block content toolbar":"Redigeerija ploki sisu tööriistariba","Editor contextual toolbar":"Redigeerija kontekstuaalne tööriistariba","Editor dialog":"Muutja dialoog","Editor menu bar":"Redaktori menüüriba","Editor toolbar":"Redaktori tööriistariba","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Vajuta praegu aktiivset nuppu. Redaktori sisu muutvate nuppude vajutamine viib tähelepanu taas sisule.",File:"Fail",Green:"Roheline",Grey:"Hall","Help Contents. To close this dialog press ESC.":"Abistav materjal. Selle dialoogi sulgemiseks vajuta ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Sisesta hard break (uus lõik)","Insert a new paragraph directly after a widget":"Sisesta uus lõik kohe pärast vidinat","Insert a new paragraph directly before a widget":"Sisesta uus lõik kohe enne vidinat","Insert a soft break (a <code><br></code> element)":"Sisesta soft break (<code><br></code> element)","Insert image with file manager":"Sisesta pilt failihalduriga","Insert paragraph after block":"Sisesta lõik pärast plokki","Insert paragraph before block":"Sisesta lõik enne plokki","Insert with file manager":"Sisesta failihalduriga","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klahvikombinatsioonid, mida kasutada vidina (nt pildi, tabeli jne) valimisel","Light blue":"Helesinine","Light green":"Heleroheline","Light grey":"Helehall",MENU_BAR_MENU_EDIT:"Muuda",MENU_BAR_MENU_FILE:"Fail",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Vorming",MENU_BAR_MENU_HELP:"Abi",MENU_BAR_MENU_INSERT:"Sisesta",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Tööriistad",MENU_BAR_MENU_VIEW:"Kuva","Move focus between form fields (inputs, buttons, etc.)":"Vaheta ankeedi välju (sisendeid, nuppe jne)","Move focus from an editable area back to the parent widget":"Liiguta fookus redigeeritavalt alalt tagasi põhividinale","Move focus in and out of an active dialog window":"Vii kasutusel dialoogiaken fookuses või mitte","Move focus to the menu bar, navigate between menu bars":"Keskendu menüüribale, vaheta menüüribasid","Move focus to the toolbar, navigate between toolbars":"Keskendu tööriistaribale, vaheta tööriistaribasid","Move the caret to allow typing directly after a widget":"Kohe pärast vidinat kirjutamiseks liiguta katusemärki","Move the caret to allow typing directly before a widget":"Kohe enne vidinat kirjutamiseks liiguta katusesümbolit","Navigate through the toolbar or menu bar":"Liigu tööriistaribas või menüüribas",Next:"Järgmine","No results found":"Tulemusi ei leitud","No searchable items":"Tulemusi pole","Open the accessibility help dialog":"Ava juurdepääsu abidialoog",Orange:"Oranž","Paste content":"Kleebi sisu","Paste content as plain text":"Kleebi sisu lihttekstina",'Please enter a valid color (e.g. "ff0000").':"Sisestage õige värv (nt „ff0000â€).","Press %0 for help.":"Abi saamiseks vajuta %0.","Press Enter to type after or press Shift + Enter to type before the widget":"Vajutage Enter, et tippida pärast, või Shift + Enter, et tippida enne vidinat",Previous:"Eelmine",Purple:"Lilla",Red:"Punane",Redo:"Tee uuesti","Remove color":"Eemalda värv","Replace image with file manager":"Asenda pilt failihalduriga","Replace with file manager":"Asenda failihalduriga","Restore default":"Taasta algne","Rich Text Editor":"Tekstiredaktor","Rich Text Editor. Editing area: %0":"Rikastekstiredaktor. Redigeerimisala: %0",Save:"Salvesta","Select all":"Vali kõik","Show more items":"Näita veel","These keyboard shortcuts allow for quick access to content editing features.":"Nende klahvikombinatsioonidega pääseb kiiresti sisu muutmise võimaluste juurde.","Toggle caption off":"Lülita pealdis välja","Toggle caption on":"Lülita pealdis sisse",Turquoise:"Türkiis",Undo:"Võta tagasi","Upload in progress":"Ãœleslaadimine pooleli","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Järgmiste klahvikombinatsioonidega saab tõhusamalt liikuda redaktori CKEditor 5 kasutajaliideses.","User interface and content navigation keystrokes":"Kasutajaliidese ja sisus liikumise klahvikombinatsioonid",White:"Valge","Widget toolbar":"Vidinate tööriistariba","With file manager":"Failihalduriga",Yellow:"Kollane"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.et=e.et||{};i.dictionary=Object.assign(i.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(võib vajada klahvi <kbd>Fn</kbd>)","%0 of %1":"%0 / %1",Accept:"Nõustu",Accessibility:"Juurdepääsetavus","Accessibility help":"Juurdepääsu abi",Aquamarine:"Akvamariin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Altpoolt leiad redaktoris kasutatavad klahvikombinatsioonid.",Black:"Must",Blue:"Sinine",Cancel:"Loobu","Cannot upload file:":"Faili ei suudeta üles laadida:",Clear:"Selge","Click to edit block":"Ploki muutmiseks klõpsa",Close:"Sulge","Close contextual balloons, dropdowns, and dialogs":"Sulge konteksti mullid, rippmenüüd ja dialoogid","Color picker":"Värvi valija","Content editing keystrokes":"Sisu muutmise klahvikombinatsioonid","Copy selected content":"Kopeeri valitud sisu","Dim grey":"Tumehall","Drag to move":"Liigutamiseks lohista","Dropdown menu":"Rippmenüü","Dropdown toolbar":"Avatav tööriistariba","Edit block":"Muuda plokki","Editor block content toolbar":"Redigeerija ploki sisu tööriistariba","Editor contextual toolbar":"Redigeerija kontekstuaalne tööriistariba","Editor dialog":"Muutja dialoog","Editor menu bar":"Redaktori menüüriba","Editor toolbar":"Redaktori tööriistariba","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Vajuta praegu aktiivset nuppu. Redaktori sisu muutvate nuppude vajutamine viib tähelepanu taas sisule.",File:"Fail",Green:"Roheline",Grey:"Hall","Help Contents. To close this dialog press ESC.":"Abistav materjal. Selle dialoogi sulgemiseks vajuta ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Sisesta hard break (uus lõik)","Insert a new paragraph directly after a widget":"Sisesta uus lõik kohe pärast vidinat","Insert a new paragraph directly before a widget":"Sisesta uus lõik kohe enne vidinat","Insert a soft break (a <code><br></code> element)":"Sisesta soft break (<code><br></code> element)","Insert image with file manager":"Sisesta pilt failihalduriga","Insert paragraph after block":"Sisesta lõik pärast plokki","Insert paragraph before block":"Sisesta lõik enne plokki","Insert with file manager":"Sisesta failihalduriga","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klahvikombinatsioonid, mida kasutada vidina (nt pildi, tabeli jne) valimisel","Light blue":"Helesinine","Light green":"Heleroheline","Light grey":"Helehall",MENU_BAR_MENU_EDIT:"Muuda",MENU_BAR_MENU_FILE:"Fail",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Vorming",MENU_BAR_MENU_HELP:"Abi",MENU_BAR_MENU_INSERT:"Sisesta",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Tööriistad",MENU_BAR_MENU_VIEW:"Kuva","Move focus between form fields (inputs, buttons, etc.)":"Vaheta ankeedi välju (sisendeid, nuppe jne)","Move focus from an editable area back to the parent widget":"Liiguta fookus redigeeritavalt alalt tagasi põhividinale","Move focus in and out of an active dialog window":"Vii kasutusel dialoogiaken fookuses või mitte","Move focus to the menu bar, navigate between menu bars":"Keskendu menüüribale, vaheta menüüribasid","Move focus to the toolbar, navigate between toolbars":"Keskendu tööriistaribale, vaheta tööriistaribasid","Move the caret to allow typing directly after a widget":"Kohe pärast vidinat kirjutamiseks liiguta katusemärki","Move the caret to allow typing directly before a widget":"Kohe enne vidinat kirjutamiseks liiguta katusesümbolit","Navigate through the toolbar or menu bar":"Liigu tööriistaribas või menüüribas",Next:"Järgmine","No results found":"Tulemusi ei leitud","No searchable items":"Tulemusi pole","Open the accessibility help dialog":"Ava juurdepääsu abidialoog",Orange:"Oranž",Paragraph:"Lõik","Paste content":"Kleebi sisu","Paste content as plain text":"Kleebi sisu lihttekstina",'Please enter a valid color (e.g. "ff0000").':"Sisestage õige värv (nt „ff0000â€).","Press %0 for help.":"Abi saamiseks vajuta %0.","Press Enter to type after or press Shift + Enter to type before the widget":"Vajutage Enter, et tippida pärast, või Shift + Enter, et tippida enne vidinat",Previous:"Eelmine",Purple:"Lilla",Red:"Punane",Redo:"Tee uuesti","Remove color":"Eemalda värv","Replace image with file manager":"Asenda pilt failihalduriga","Replace with file manager":"Asenda failihalduriga","Restore default":"Taasta algne","Rich Text Editor":"Tekstiredaktor","Rich Text Editor. Editing area: %0":"Rikastekstiredaktor. Redigeerimisala: %0",Save:"Salvesta","Select all":"Vali kõik","Show more items":"Näita veel","These keyboard shortcuts allow for quick access to content editing features.":"Nende klahvikombinatsioonidega pääseb kiiresti sisu muutmise võimaluste juurde.","Toggle caption off":"Lülita pealdis välja","Toggle caption on":"Lülita pealdis sisse",Turquoise:"Türkiis",Undo:"Võta tagasi","Upload in progress":"Ãœleslaadimine pooleli","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Järgmiste klahvikombinatsioonidega saab tõhusamalt liikuda redaktori CKEditor 5 kasutajaliideses.","User interface and content navigation keystrokes":"Kasutajaliidese ja sisus liikumise klahvikombinatsioonid",White:"Valge","Widget toolbar":"Vidinate tööriistariba","With file manager":"Failihalduriga",Yellow:"Kollane"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eu.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eu.js index bb11540b343989696a7ae326fff3e38f3a25b89f..d3601c76b7e61bd231ea16b89c6bcc7af15d63be 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eu.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/eu.js @@ -1 +1 @@ -!function(e){const t=e.eu=e.eu||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Utzi","Cannot upload file:":"Ezin da fitxategia kargatu:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Berregin","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Testu aberastuaren editorea","Rich Text Editor. Editing area: %0":"",Save:"Gorde","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Desegin","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.eu=e.eu||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Utzi","Cannot upload file:":"Ezin da fitxategia kargatu:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"Paragrafoa","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"Berregin","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Testu aberastuaren editorea","Rich Text Editor. Editing area: %0":"",Save:"Gorde","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Desegin","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fa.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fa.js index 8eeefa28b87647cc97b4dca8c6eb38bc37b53636..edc915efd186ef4ef033ea0619f4531140ff2209 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fa.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fa.js @@ -1 +1 @@ -!function(e){const t=e.fa=e.fa||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 از %1",Accept:"پذیرÙتن",Accessibility:"دسترسی","Accessibility help":"",Aquamarine:"زمرد کبود","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"در زیر، Ù…ÛŒ توانید لیستی از میانبرهای صÙØÙ‡ کلید را Ú©Ù‡ Ù…ÛŒ توان در ویرایشگر استÙاده کرد، پیدا کنید.",Black:"سیاه",Blue:"آبی",Cancel:"لغو","Cannot upload file:":"Ùایل آپلود نمی‌شود:",Clear:"","Click to edit block":"برای ویرایش بلوک کلیک کنید",Close:"بستن","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"خاکستری تیره","Drag to move":"برای Øرکت دادن بکشید","Dropdown menu":"","Dropdown toolbar":"نوارابزار کشویی","Edit block":"ویرایش قطعه","Editor block content toolbar":"نوار ابزار Ù…Øتوای بلوک ویرایشگر","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"نوارابزار ویرایشگر","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"Ùایل",Green:"سبز",Grey:"خاکستری","Help Contents. To close this dialog press ESC.":"",HEX:"هگز","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"درج پاراگرا٠بعد از بلوک","Insert paragraph before block":"درج پاراگرا٠قبل از بلوک","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"آبی روشن","Light green":"سبز روشن","Light grey":"خاکستری روشن",MENU_BAR_MENU_EDIT:"ویرایش",MENU_BAR_MENU_FILE:"Ùایل",MENU_BAR_MENU_FONT:"Ùونت",MENU_BAR_MENU_FORMAT:"قالب",MENU_BAR_MENU_HELP:"Ú©Ù…Ú©",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"متن",MENU_BAR_MENU_TOOLS:"ابزار ها",MENU_BAR_MENU_VIEW:"نمایش","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"بعدی","No results found":"نتیجه ای یاÙت نشد","No searchable items":"موارد قابل جستجو وجود ندارد","Open the accessibility help dialog":"",Orange:"نارنجی",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"قبلی",Purple:"بنÙØ´",Red:"قرمز",Redo:"باز انجام","Remove color":"Øذ٠رنگ","Replace image with file manager":"جایگزینی تصویر با مدیریت کننده Ùایل","Replace with file manager":"","Restore default":"بازیابی پیش Ùرض","Rich Text Editor":"ویرایشگر متن غنی","Rich Text Editor. Editing area: %0":"ویرایشگر متن قوی. ویرایش بخش : 0%",Save:"ذخیره","Select all":"انتخاب همه","Show more items":"نمایش گزینه‌های بیشتر","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Ùیروزه ای",Undo:"بازگردانی","Upload in progress":"آپلود در Øال انجام","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"سÙید","Widget toolbar":"نوار ابزار ویجت","With file manager":"",Yellow:"زرد"}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.fa=e.fa||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 از %1",Accept:"پذیرÙتن",Accessibility:"دسترسی","Accessibility help":"",Aquamarine:"زمرد کبود","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"در زیر، Ù…ÛŒ توانید لیستی از میانبرهای صÙØÙ‡ کلید را Ú©Ù‡ Ù…ÛŒ توان در ویرایشگر استÙاده کرد، پیدا کنید.",Black:"سیاه",Blue:"آبی",Cancel:"لغو","Cannot upload file:":"Ùایل آپلود نمی‌شود:",Clear:"","Click to edit block":"برای ویرایش بلوک کلیک کنید",Close:"بستن","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"خاکستری تیره","Drag to move":"برای Øرکت دادن بکشید","Dropdown menu":"","Dropdown toolbar":"نوارابزار کشویی","Edit block":"ویرایش قطعه","Editor block content toolbar":"نوار ابزار Ù…Øتوای بلوک ویرایشگر","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"نوارابزار ویرایشگر","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"Ùایل",Green:"سبز",Grey:"خاکستری","Help Contents. To close this dialog press ESC.":"",HEX:"هگز","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"درج پاراگرا٠بعد از بلوک","Insert paragraph before block":"درج پاراگرا٠قبل از بلوک","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"آبی روشن","Light green":"سبز روشن","Light grey":"خاکستری روشن",MENU_BAR_MENU_EDIT:"ویرایش",MENU_BAR_MENU_FILE:"Ùایل",MENU_BAR_MENU_FONT:"Ùونت",MENU_BAR_MENU_FORMAT:"قالب",MENU_BAR_MENU_HELP:"Ú©Ù…Ú©",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"متن",MENU_BAR_MENU_TOOLS:"ابزار ها",MENU_BAR_MENU_VIEW:"نمایش","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"بعدی","No results found":"نتیجه ای یاÙت نشد","No searchable items":"موارد قابل جستجو وجود ندارد","Open the accessibility help dialog":"",Orange:"نارنجی",Paragraph:"پاراگراÙ","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"قبلی",Purple:"بنÙØ´",Red:"قرمز",Redo:"باز انجام","Remove color":"Øذ٠رنگ","Replace image with file manager":"جایگزینی تصویر با مدیریت کننده Ùایل","Replace with file manager":"","Restore default":"بازیابی پیش Ùرض","Rich Text Editor":"ویرایشگر متن غنی","Rich Text Editor. Editing area: %0":"ویرایشگر متن قوی. ویرایش بخش : 0%",Save:"ذخیره","Select all":"انتخاب همه","Show more items":"نمایش گزینه‌های بیشتر","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Ùیروزه ای",Undo:"بازگردانی","Upload in progress":"آپلود در Øال انجام","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"سÙید","Widget toolbar":"نوار ابزار ویجت","With file manager":"",Yellow:"زرد"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fi.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fi.js index 104743c5238c08b4162d205d3f3450d46553f752..1abea607e6e66ee531e59bef0193378593c6a42e 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fi.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fi.js @@ -1 +1 @@ -!function(e){const a=e.fi=e.fi||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(Saattaa vaatia <kbd>Fn</kbd>:n)","%0 of %1":"%0 / %1",Accept:"Hyväksy",Accessibility:"Käytettävyys","Accessibility help":"Esteettömyystuki",Aquamarine:"Akvamariini","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ohessa on tässä editointityökalussa käytettävien näppäinoikoteiden lista.",Black:"Musta",Blue:"Sininen",Cancel:"Peruuta","Cannot upload file:":"Tiedostoa ei voitu ladata:",Clear:"Tyhjennä","Click to edit block":"Muokkaa lohkoa klikkaamalla",Close:"Sulje","Close contextual balloons, dropdowns, and dialogs":"Sulje kontekstipallot, pudotusvalikot ja dialogit","Content editing keystrokes":"Sisällönmuokkauspainallukset","Copy selected content":"Kopioi valittu sisältö","Dim grey":"Vaaleanharmaa","Drag to move":"Siirrä raahamalla","Dropdown menu":"Pudotusvalikko","Dropdown toolbar":"Pudotusvalikon työkalupalkki","Edit block":"Muokkaa lohkoa","Editor block content toolbar":"Editorin lohkon sisällön työkalupalkki","Editor contextual toolbar":"Editorin kontekstuaalinen työkalupalkki","Editor dialog":"Editorin dialogi","Editor menu bar":"Muokkaustyökalun valikkopalkki","Editor toolbar":"Editorin työkalupalkki","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Suorita tällä hetkellä kohdennettuna olevan painikkeen toiminto. Muokkaustyökalun sisältöön vaikuttavien painikkeiden käyttö palauttaa kohdennuksen kyseiseen sisältöön.",File:"Tiedosto",Green:"Vihreä",Grey:"Harmaa","Help Contents. To close this dialog press ESC.":"Tukisisältö. Voit sulkea tämän dialogin painamalla ESC-näppäintä.",HEX:"HEX","Insert a hard break (a new paragraph)":"Lisää kappaleenvaihto (uusi kappale)","Insert a new paragraph directly after a widget":"Lisää uusi kappale suoraan widgetin jälkeen","Insert a new paragraph directly before a widget":"Lisää uusi kappale suoraan widgetin eteen","Insert a soft break (a <code><br></code> element)":"Lisää rivinvaihto (<code><br></code> -elementti)","Insert image with file manager":"Tuo kuva tiedostonhallinnalla","Insert paragraph after block":"Liitä kappale lohkon jälkeen","Insert paragraph before block":"Liitä kappale ennen lohkoa","Insert with file manager":"Tuo tiedostonhallinnalla","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Painallukset, joita voidaan käyttää widgetin valitsemisen yhteydessä (esimerkiksi: kuva, taulukko jne.)","Light blue":"Vaaleansininen","Light green":"Vaaleanvihreä","Light grey":"Vaaleanharmaa",MENU_BAR_MENU_EDIT:"Muokkaa",MENU_BAR_MENU_FILE:"Tiedosto",MENU_BAR_MENU_FONT:"Fontti",MENU_BAR_MENU_FORMAT:"Muoto",MENU_BAR_MENU_HELP:"Tuki",MENU_BAR_MENU_INSERT:"Liitä",MENU_BAR_MENU_TEXT:"Teksti",MENU_BAR_MENU_TOOLS:"Työkalut",MENU_BAR_MENU_VIEW:"Näytä","Move focus between form fields (inputs, buttons, etc.)":"Siirrä tarkennusta eri kaavakekenttien (syötteet, painikkeet yms.) välillä","Move focus from an editable area back to the parent widget":"Siirrä valinta muokattavasta alueesta takaisin pääpienoissovellukseen","Move focus in and out of an active dialog window":"Siirry lähemmäs ja kauemmas käytössä olevasta dialogi-ikkunasta","Move focus to the menu bar, navigate between menu bars":"Kohdenna valikkopalkkiin ja siirry palkista toiseen","Move focus to the toolbar, navigate between toolbars":"Siirrä tarkennus työkalupalkkiin, siirry työkalupalkista toiseen","Move the caret to allow typing directly after a widget":"Siirrä sirkumfleksimerkkiä voidaksesi kirjoittaa suoraan widgetin jälkeen","Move the caret to allow typing directly before a widget":"Siirrä sirkumfleksimerkkiä voidaksesi kirjoittaa suoraan ennen widgetiä","Navigate through the toolbar or menu bar":"Siirry työkalupalkkien tai valikkopalkkien välillä",Next:"Seuraava","No results found":"Tuloksia ei löytynyt","No searchable items":"Ei haettavia nimikkeitä","Open the accessibility help dialog":"Avaa esteettömyystuen dialogi",Orange:"Oranssi","Paste content":"Liitä sisältö","Paste content as plain text":"Liitä sisältö pelkkänä tekstinä",'Please enter a valid color (e.g. "ff0000").':'Syötäthän pätevän värin (esim. "ff0000").',"Press %0 for help.":"Paina %0 -näppäintä, jos tarvitset apua.","Press Enter to type after or press Shift + Enter to type before the widget":"Paina enter-näppäintä kirjoittaaksesi tai paina shift + enter kirjoittaaksesi ennen widget-sovellusta",Previous:"Edellinen",Purple:"Purppura",Red:"Punainen",Redo:"Tee uudelleen","Remove color":"Poista väri","Replace image with file manager":"Korvaa kuva tiedostonhallinnalla","Replace with file manager":"Korvaa tiedostonhallinnalla","Restore default":"Palauta oletus","Rich Text Editor":"Rikas tekstieditori","Rich Text Editor. Editing area: %0":"Tekstimuotoilueditori. Muokkausalue: %0",Save:"Tallenna","Select all":"Valitse kaikki","Show more items":"Näytä lisää toimintoja","These keyboard shortcuts allow for quick access to content editing features.":"Nämä avainoikotiet mahdollistavat sisällönmuokkausominaisuuksien nopean käytön.","Toggle caption off":"Poista taulukon kuvaus","Toggle caption on":"Lisää taulukon kuvaus",Turquoise:"Turkoosi",Undo:"Peru","Upload in progress":"Lähetys käynnissä","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Voit tehostaa CKEditor 5:n käyttöliittymässä siirtymistä seuraavilla painalluksilla.","User interface and content navigation keystrokes":"Käyttöliittymän ja sisällössä siirtymisen painallukset",White:"Valkoinen","Widget toolbar":"Widget-työkalupalkki","With file manager":"Tiedostonhallinnasta",Yellow:"Keltainen"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.fi=e.fi||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(Saattaa vaatia <kbd>Fn</kbd>:n)","%0 of %1":"%0 / %1",Accept:"Hyväksy",Accessibility:"Käytettävyys","Accessibility help":"Esteettömyystuki",Aquamarine:"Akvamariini","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ohessa on tässä editointityökalussa käytettävien näppäinoikoteiden lista.",Black:"Musta",Blue:"Sininen",Cancel:"Peruuta","Cannot upload file:":"Tiedostoa ei voitu ladata:",Clear:"Tyhjennä","Click to edit block":"Muokkaa lohkoa klikkaamalla",Close:"Sulje","Close contextual balloons, dropdowns, and dialogs":"Sulje kontekstipallot, pudotusvalikot ja dialogit","Color picker":"Värin valitsin","Content editing keystrokes":"Sisällönmuokkauspainallukset","Copy selected content":"Kopioi valittu sisältö","Dim grey":"Vaaleanharmaa","Drag to move":"Siirrä raahamalla","Dropdown menu":"Pudotusvalikko","Dropdown toolbar":"Pudotusvalikon työkalupalkki","Edit block":"Muokkaa lohkoa","Editor block content toolbar":"Editorin lohkon sisällön työkalupalkki","Editor contextual toolbar":"Editorin kontekstuaalinen työkalupalkki","Editor dialog":"Editorin dialogi","Editor menu bar":"Muokkaustyökalun valikkopalkki","Editor toolbar":"Editorin työkalupalkki","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Suorita tällä hetkellä kohdennettuna olevan painikkeen toiminto. Muokkaustyökalun sisältöön vaikuttavien painikkeiden käyttö palauttaa kohdennuksen kyseiseen sisältöön.",File:"Tiedosto",Green:"Vihreä",Grey:"Harmaa","Help Contents. To close this dialog press ESC.":"Tukisisältö. Voit sulkea tämän dialogin painamalla ESC-näppäintä.",HEX:"HEX","Insert a hard break (a new paragraph)":"Lisää kappaleenvaihto (uusi kappale)","Insert a new paragraph directly after a widget":"Lisää uusi kappale suoraan widgetin jälkeen","Insert a new paragraph directly before a widget":"Lisää uusi kappale suoraan widgetin eteen","Insert a soft break (a <code><br></code> element)":"Lisää rivinvaihto (<code><br></code> -elementti)","Insert image with file manager":"Tuo kuva tiedostonhallinnalla","Insert paragraph after block":"Liitä kappale lohkon jälkeen","Insert paragraph before block":"Liitä kappale ennen lohkoa","Insert with file manager":"Tuo tiedostonhallinnalla","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Painallukset, joita voidaan käyttää widgetin valitsemisen yhteydessä (esimerkiksi: kuva, taulukko jne.)","Light blue":"Vaaleansininen","Light green":"Vaaleanvihreä","Light grey":"Vaaleanharmaa",MENU_BAR_MENU_EDIT:"Muokkaa",MENU_BAR_MENU_FILE:"Tiedosto",MENU_BAR_MENU_FONT:"Fontti",MENU_BAR_MENU_FORMAT:"Muoto",MENU_BAR_MENU_HELP:"Tuki",MENU_BAR_MENU_INSERT:"Liitä",MENU_BAR_MENU_TEXT:"Teksti",MENU_BAR_MENU_TOOLS:"Työkalut",MENU_BAR_MENU_VIEW:"Näytä","Move focus between form fields (inputs, buttons, etc.)":"Siirrä tarkennusta eri kaavakekenttien (syötteet, painikkeet yms.) välillä","Move focus from an editable area back to the parent widget":"Siirrä valinta muokattavasta alueesta takaisin pääpienoissovellukseen","Move focus in and out of an active dialog window":"Siirry lähemmäs ja kauemmas käytössä olevasta dialogi-ikkunasta","Move focus to the menu bar, navigate between menu bars":"Kohdenna valikkopalkkiin ja siirry palkista toiseen","Move focus to the toolbar, navigate between toolbars":"Siirrä tarkennus työkalupalkkiin, siirry työkalupalkista toiseen","Move the caret to allow typing directly after a widget":"Siirrä sirkumfleksimerkkiä voidaksesi kirjoittaa suoraan widgetin jälkeen","Move the caret to allow typing directly before a widget":"Siirrä sirkumfleksimerkkiä voidaksesi kirjoittaa suoraan ennen widgetiä","Navigate through the toolbar or menu bar":"Siirry työkalupalkkien tai valikkopalkkien välillä",Next:"Seuraava","No results found":"Tuloksia ei löytynyt","No searchable items":"Ei haettavia nimikkeitä","Open the accessibility help dialog":"Avaa esteettömyystuen dialogi",Orange:"Oranssi",Paragraph:"Kappale","Paste content":"Liitä sisältö","Paste content as plain text":"Liitä sisältö pelkkänä tekstinä",'Please enter a valid color (e.g. "ff0000").':'Syötäthän pätevän värin (esim. "ff0000").',"Press %0 for help.":"Paina %0 -näppäintä, jos tarvitset apua.","Press Enter to type after or press Shift + Enter to type before the widget":"Paina enter-näppäintä kirjoittaaksesi tai paina shift + enter kirjoittaaksesi ennen widget-sovellusta",Previous:"Edellinen",Purple:"Purppura",Red:"Punainen",Redo:"Tee uudelleen","Remove color":"Poista väri","Replace image with file manager":"Korvaa kuva tiedostonhallinnalla","Replace with file manager":"Korvaa tiedostonhallinnalla","Restore default":"Palauta oletus","Rich Text Editor":"Rikas tekstieditori","Rich Text Editor. Editing area: %0":"Tekstimuotoilueditori. Muokkausalue: %0",Save:"Tallenna","Select all":"Valitse kaikki","Show more items":"Näytä lisää toimintoja","These keyboard shortcuts allow for quick access to content editing features.":"Nämä avainoikotiet mahdollistavat sisällönmuokkausominaisuuksien nopean käytön.","Toggle caption off":"Poista taulukon kuvaus","Toggle caption on":"Lisää taulukon kuvaus",Turquoise:"Turkoosi",Undo:"Peru","Upload in progress":"Lähetys käynnissä","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Voit tehostaa CKEditor 5:n käyttöliittymässä siirtymistä seuraavilla painalluksilla.","User interface and content navigation keystrokes":"Käyttöliittymän ja sisällössä siirtymisen painallukset",White:"Valkoinen","Widget toolbar":"Widget-työkalupalkki","With file manager":"Tiedostonhallinnasta",Yellow:"Keltainen"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fr.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fr.js index a19bfd341670b1021e16f3fd2e81e2bc4987e358..411a96644d03a830ae61f59ce1dd4e9e6716e839 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fr.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/fr.js @@ -1 +1 @@ -!function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(peut nécessiter <kbd> Fn </kbd> )","%0 of %1":"%0 sur %1",Accept:"Accepter",Accessibility:"Accessibilité","Accessibility help":"Aide à l'accessibilité",Aquamarine:"Bleu vert","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ci-dessous, vous trouverez une liste de raccourcis clavier pouvant être utilisés dans l’éditeur.",Black:"Noir",Blue:"Bleu",Cancel:"Annuler","Cannot upload file:":"Envoi du fichier échoué :",Clear:"Effacer","Click to edit block":"Cliquer pour modifier le bloc",Close:"Fermer","Close contextual balloons, dropdowns, and dialogs":"Fermer les bulles contextuelles, les listes déroulantes et les boîtes de dialogue","Content editing keystrokes":"Touches d'édition de contenu","Copy selected content":"Copier le contenu sélectionné","Dim grey":"Gris pâle","Drag to move":"Faire glisser pour déplacer","Dropdown menu":"Menu déroulant","Dropdown toolbar":"Barre d'outils dans un menu déroulant","Edit block":"Modifier le bloc","Editor block content toolbar":"Barre d'outils du contenu du bloc éditeur","Editor contextual toolbar":"Barre d'outils contextuelle de l'éditeur","Editor dialog":"Boîte de dialogue de l'éditeur","Editor menu bar":"Barre de menu de l'éditeur","Editor toolbar":"Barre d'outils de l'éditeur","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Exécuter le bouton sur lequel se trouve le focus. L'exécution de boutons qui interagissent avec le contenu de l'éditeur ramène le focus sur le contenu.",File:"Fichier",Green:"Vert",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Contenu de l'aide. Pour fermer cette boîte de dialogue, appuyez sur ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Insérer une pause (un nouveau paragraphe)","Insert a new paragraph directly after a widget":"Insérer un nouveau paragraphe directement après un widget","Insert a new paragraph directly before a widget":"Insérer un nouveau paragraphe directement avant un widget","Insert a soft break (a <code><br></code> element)":"Insérer un saut progressif (un élément <code> <br> </code> )","Insert image with file manager":"Insérer une image avec le gestionnaire de fichiers","Insert paragraph after block":"Insérer du texte après ce bloc","Insert paragraph before block":"Insérer du texte avant ce bloc","Insert with file manager":"Insérer avec le gestionnaire de fichiers","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Frappes de touches pouvant être utilisées lorsqu'un widget est sélectionné (par exemple : image, tableau, etc.)","Light blue":"Bleu clair","Light green":"Vert clair","Light grey":"Gris clair",MENU_BAR_MENU_EDIT:"Éditer",MENU_BAR_MENU_FILE:"Fichier",MENU_BAR_MENU_FONT:"Police de caractère",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Aide",MENU_BAR_MENU_INSERT:"Insérer",MENU_BAR_MENU_TEXT:"Texte",MENU_BAR_MENU_TOOLS:"Outils",MENU_BAR_MENU_VIEW:"Afficher","Move focus between form fields (inputs, buttons, etc.)":"Déplacer le focus entre les champs du formulaire (saisies, boutons, etc.)","Move focus from an editable area back to the parent widget":"Déplacer le focus d'une zone modifiable vers le widget parent","Move focus in and out of an active dialog window":"Déplacer le focus vers et hors d'une fenêtre de dialogue active","Move focus to the menu bar, navigate between menu bars":"Déplacer le focus sur la barre du menu, naviguer entre les barres de menu","Move focus to the toolbar, navigate between toolbars":"Déplacez le focus sur la barre d'outils, naviguez entre les barres d'outils","Move the caret to allow typing directly after a widget":"Déplacez le curseur pour permettre de taper directement après un widget","Move the caret to allow typing directly before a widget":"Déplacez le curseur pour permettre la saisie directement avant un widget","Navigate through the toolbar or menu bar":"Naviguer sur la barre d'outils ou la barre de menu",Next:"Suivant","No results found":"Aucun résultat trouvé","No searchable items":"Aucun élément consultable","Open the accessibility help dialog":"Ouvrir la boîte de dialogue d'aide sur l'accessibilité",Orange:"Orange","Paste content":"Coller le contenu","Paste content as plain text":"Coller le contenu sous forme de texte brut",'Please enter a valid color (e.g. "ff0000").':"Veuillez saisir une couleur valide (par exemple « ff0000 »).","Press %0 for help.":"Appuyez sur %0 pour obtenir de l'aide.","Press Enter to type after or press Shift + Enter to type before the widget":"Appuyez sur la touche Entrée pour taper après ou sur Maj + Entrée pour taper avant le widget.",Previous:"Précedent",Purple:"Violet",Red:"Rouge",Redo:"Restaurer","Remove color":"Enlever la couleur","Replace image with file manager":"Remplacer l'image avec le gestionnaire de fichiers","Replace with file manager":"Remplacer avec le gestionnaire de fichiers","Restore default":"Restaurer par défaut","Rich Text Editor":"Éditeur de texte enrichi","Rich Text Editor. Editing area: %0":"Éditeur de texte enrichi. Zone d'édition : %0",Save:"Enregistrer","Select all":"Sélectionner tout","Show more items":"Montrer plus d'éléments","These keyboard shortcuts allow for quick access to content editing features.":"Ces raccourcis clavier permettent un accès rapide aux fonctionnalités d'édition de contenu.","Toggle caption off":"Désactiver la légende","Toggle caption on":"Activer la légende",Turquoise:"Turquoise",Undo:"Annuler","Upload in progress":"Téléchargement en cours","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Utilisez les touches suivantes pour une navigation plus efficace dans l'interface utilisateur de CKEditor 5.","User interface and content navigation keystrokes":"Interface utilisateur et frappes de navigation dans le contenu",White:"Blanc","Widget toolbar":"Barre d'outils du widget","With file manager":"Avec le gestionnaire de fichiers",Yellow:"Jaune"}),t.getPluralForm=function(e){return 0==e||1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(peut nécessiter <kbd> Fn </kbd> )","%0 of %1":"%0 sur %1",Accept:"Accepter",Accessibility:"Accessibilité","Accessibility help":"Aide à l'accessibilité",Aquamarine:"Bleu vert","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ci-dessous, vous trouverez une liste de raccourcis clavier pouvant être utilisés dans l’éditeur.",Black:"Noir",Blue:"Bleu",Cancel:"Annuler","Cannot upload file:":"Envoi du fichier échoué :",Clear:"Effacer","Click to edit block":"Cliquer pour modifier le bloc",Close:"Fermer","Close contextual balloons, dropdowns, and dialogs":"Fermer les bulles contextuelles, les listes déroulantes et les boîtes de dialogue","Color picker":"Pipette à couleurs","Content editing keystrokes":"Touches d'édition de contenu","Copy selected content":"Copier le contenu sélectionné","Dim grey":"Gris pâle","Drag to move":"Faire glisser pour déplacer","Dropdown menu":"Menu déroulant","Dropdown toolbar":"Barre d'outils dans un menu déroulant","Edit block":"Modifier le bloc","Editor block content toolbar":"Barre d'outils du contenu du bloc éditeur","Editor contextual toolbar":"Barre d'outils contextuelle de l'éditeur","Editor dialog":"Boîte de dialogue de l'éditeur","Editor menu bar":"Barre de menu de l'éditeur","Editor toolbar":"Barre d'outils de l'éditeur","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Exécuter le bouton sur lequel se trouve le focus. L'exécution de boutons qui interagissent avec le contenu de l'éditeur ramène le focus sur le contenu.",File:"Fichier",Green:"Vert",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Contenu de l'aide. Pour fermer cette boîte de dialogue, appuyez sur ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Insérer une pause (un nouveau paragraphe)","Insert a new paragraph directly after a widget":"Insérer un nouveau paragraphe directement après un widget","Insert a new paragraph directly before a widget":"Insérer un nouveau paragraphe directement avant un widget","Insert a soft break (a <code><br></code> element)":"Insérer un saut progressif (un élément <code> <br> </code> )","Insert image with file manager":"Insérer une image avec le gestionnaire de fichiers","Insert paragraph after block":"Insérer du texte après ce bloc","Insert paragraph before block":"Insérer du texte avant ce bloc","Insert with file manager":"Insérer avec le gestionnaire de fichiers","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Frappes de touches pouvant être utilisées lorsqu'un widget est sélectionné (par exemple : image, tableau, etc.)","Light blue":"Bleu clair","Light green":"Vert clair","Light grey":"Gris clair",MENU_BAR_MENU_EDIT:"Éditer",MENU_BAR_MENU_FILE:"Fichier",MENU_BAR_MENU_FONT:"Police de caractère",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Aide",MENU_BAR_MENU_INSERT:"Insérer",MENU_BAR_MENU_TEXT:"Texte",MENU_BAR_MENU_TOOLS:"Outils",MENU_BAR_MENU_VIEW:"Afficher","Move focus between form fields (inputs, buttons, etc.)":"Déplacer le focus entre les champs du formulaire (saisies, boutons, etc.)","Move focus from an editable area back to the parent widget":"Déplacer le focus d'une zone modifiable vers le widget parent","Move focus in and out of an active dialog window":"Déplacer le focus vers et hors d'une fenêtre de dialogue active","Move focus to the menu bar, navigate between menu bars":"Déplacer le focus sur la barre du menu, naviguer entre les barres de menu","Move focus to the toolbar, navigate between toolbars":"Déplacez le focus sur la barre d'outils, naviguez entre les barres d'outils","Move the caret to allow typing directly after a widget":"Déplacez le curseur pour permettre de taper directement après un widget","Move the caret to allow typing directly before a widget":"Déplacez le curseur pour permettre la saisie directement avant un widget","Navigate through the toolbar or menu bar":"Naviguer sur la barre d'outils ou la barre de menu",Next:"Suivant","No results found":"Aucun résultat trouvé","No searchable items":"Aucun élément consultable","Open the accessibility help dialog":"Ouvrir la boîte de dialogue d'aide sur l'accessibilité",Orange:"Orange",Paragraph:"Paragraphe","Paste content":"Coller le contenu","Paste content as plain text":"Coller le contenu sous forme de texte brut",'Please enter a valid color (e.g. "ff0000").':"Veuillez saisir une couleur valide (par exemple « ff0000 »).","Press %0 for help.":"Appuyez sur %0 pour obtenir de l'aide.","Press Enter to type after or press Shift + Enter to type before the widget":"Appuyez sur la touche Entrée pour taper après ou sur Maj + Entrée pour taper avant le widget.",Previous:"Précedent",Purple:"Violet",Red:"Rouge",Redo:"Restaurer","Remove color":"Enlever la couleur","Replace image with file manager":"Remplacer l'image avec le gestionnaire de fichiers","Replace with file manager":"Remplacer avec le gestionnaire de fichiers","Restore default":"Restaurer par défaut","Rich Text Editor":"Éditeur de texte enrichi","Rich Text Editor. Editing area: %0":"Éditeur de texte enrichi. Zone d'édition : %0",Save:"Enregistrer","Select all":"Sélectionner tout","Show more items":"Montrer plus d'éléments","These keyboard shortcuts allow for quick access to content editing features.":"Ces raccourcis clavier permettent un accès rapide aux fonctionnalités d'édition de contenu.","Toggle caption off":"Désactiver la légende","Toggle caption on":"Activer la légende",Turquoise:"Turquoise",Undo:"Annuler","Upload in progress":"Téléchargement en cours","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Utilisez les touches suivantes pour une navigation plus efficace dans l'interface utilisateur de CKEditor 5.","User interface and content navigation keystrokes":"Interface utilisateur et frappes de navigation dans le contenu",White:"Blanc","Widget toolbar":"Barre d'outils du widget","With file manager":"Avec le gestionnaire de fichiers",Yellow:"Jaune"}),t.getPluralForm=function(e){return e<=-2||e>=2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gl.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gl.js index a485b7f30b890263a646bd050bc4b9e20128b989..6640a783e6ab96068983f66897692d13308ea1b9 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gl.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gl.js @@ -1 +1 @@ -!function(e){const o=e.gl=e.gl||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pode ser necesaria <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceptar",Accessibility:"Accesibilidade","Accessibility help":"Axuda de accesibilidade",Aquamarine:"Augamariña","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"A continuación, pode atopar unha lista de atallos de teclado que se poden usar no editor.",Black:"Negro",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"Non é posÃbel enviar o ficheiro:",Clear:"Limpar","Click to edit block":"Prema para editar o bloque",Close:"Pechar","Close contextual balloons, dropdowns, and dialogs":"Pechar os bocadillos contextuais, menús despregábeis e diálogos","Content editing keystrokes":"Teclas de atallo de edición de contido","Copy selected content":"Copiar o contido seleccionado","Dim grey":"Gris fume","Drag to move":"Arrastre para mover","Dropdown menu":"Menú despregábel","Dropdown toolbar":"Barra de ferramentas despregábel","Edit block":"Editar bloque","Editor block content toolbar":"Barra de ferramentas de contido do bloque do editor","Editor contextual toolbar":"Barra de ferramentas contextual do editor","Editor dialog":"Diálogo do editor","Editor menu bar":"Barra de menú do editor","Editor toolbar":"Barra de ferramentas do editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Executar o botón enfocado actualmente. Ao executar botóns que interactúan co contido do editor, o foco volve ao contido.",File:"Ficheiro",Green:"Verde",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Contidos de axuda. Para pechar este diálogo prema ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserir un salto duro (un novo parágrafo)","Insert a new paragraph directly after a widget":"Inserir directamente un novo parágrafo após un trebello","Insert a new paragraph directly before a widget":"Inserir directamente un novo parágrafo antes dun trebello","Insert a soft break (a <code><br></code> element)":"Inserir un salto suave (un elemento <code><br></code>)","Insert image with file manager":"Inserir imaxe co xestor de ficheiros","Insert paragraph after block":"Inserir parágrafo após o bloque","Insert paragraph before block":"Inserir parágrafo antes do bloque","Insert with file manager":"Inserir co xestor de ficheiros","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas de atallo que se poden usar cando se selecciona un trebello (por exemplo: imaxe, táboa, etc.)","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Gris claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Ficheiro",MENU_BAR_MENU_FONT:"Tipo de letra",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Axuda",MENU_BAR_MENU_INSERT:"Inserir",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Ferramentas",MENU_BAR_MENU_VIEW:"Ver","Move focus between form fields (inputs, buttons, etc.)":"Mover o foco entre os campos do formulario (entradas, botóns, etc.)","Move focus from an editable area back to the parent widget":"Mover o foco dunha área editábel de volta ao trebello principal","Move focus in and out of an active dialog window":"Move o foco dentro e fóra dunha xanela de diálogo activa","Move focus to the menu bar, navigate between menu bars":"Mover o foco á barra de menú, navegar entre as barras de menús","Move focus to the toolbar, navigate between toolbars":"Mover o foco á barra de ferramentas, navegar entre as barras de ferramentas","Move the caret to allow typing directly after a widget":"Mover o cursor para permitir escribir directamente após un trebello","Move the caret to allow typing directly before a widget":"Mover o cursor para permitir escribir directamente antes dun trebello","Navigate through the toolbar or menu bar":"Navegar pola barra de ferramentas ou barra de menú",Next:"Seguinte","No results found":"Non se atoparon resultados","No searchable items":"Non hai elementos que se poidan buscar","Open the accessibility help dialog":"Abrir o diálogo de axuda de accesibilidade",Orange:"Laranxa","Paste content":"Pegar contido","Paste content as plain text":"Pega o contido como texto simple",'Please enter a valid color (e.g. "ff0000").':"Introduza unha cor válida (p. ex., «ff0000»).","Press %0 for help.":"Prema %0 para obter axuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Prema Intro para escribir após ou prema Maiús + Intro para escribir antes do trebello",Previous:"Anterior",Purple:"Púrpura",Red:"Vermello",Redo:"Refacer","Remove color":"Retirar a cor","Replace image with file manager":"SubstituÃr imaxe co xestor de ficheiros","Replace with file manager":"SubstituÃr co xestor de ficheiros","Restore default":"Restaurar valores predeterminados","Rich Text Editor":"Editor de texto mellorado","Rich Text Editor. Editing area: %0":"Editor de texto mellorado. Ãrea de edición: %0",Save:"Gardar","Select all":"Seleccionar todo","Show more items":"Amosar máis elementos","These keyboard shortcuts allow for quick access to content editing features.":"Estes atallos de teclado permiten un acceso rápido ás funcións de edición de contido.","Toggle caption off":"Desactivar os subtÃtulos","Toggle caption on":"Activar os subtÃtulos",Turquoise:"Turquesa",Undo:"Desfacer","Upload in progress":"EnvÃo en proceso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use as seguintes teclas de atallo para unha navegación máis eficiente na interface de usuario de CKEditor 5.","User interface and content navigation keystrokes":"Interface de usuario e teclas de atallo de navegación de contido",White:"Branco","Widget toolbar":"Barra de ferramentas de trebellos","With file manager":"Co xestor de ficheiros",Yellow:"Amarelo"}),o.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const o=e.gl=e.gl||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pode ser necesaria <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceptar",Accessibility:"Accesibilidade","Accessibility help":"Axuda de accesibilidade",Aquamarine:"Augamariña","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"A continuación, pode atopar unha lista de atallos de teclado que se poden usar no editor.",Black:"Negro",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"Non é posÃbel enviar o ficheiro:",Clear:"Limpar","Click to edit block":"Prema para editar o bloque",Close:"Pechar","Close contextual balloons, dropdowns, and dialogs":"Pechar os bocadillos contextuais, menús despregábeis e diálogos","Color picker":"Selector de cores","Content editing keystrokes":"Teclas de atallo de edición de contido","Copy selected content":"Copiar o contido seleccionado","Dim grey":"Gris fume","Drag to move":"Arrastre para mover","Dropdown menu":"Menú despregábel","Dropdown toolbar":"Barra de ferramentas despregábel","Edit block":"Editar bloque","Editor block content toolbar":"Barra de ferramentas de contido do bloque do editor","Editor contextual toolbar":"Barra de ferramentas contextual do editor","Editor dialog":"Diálogo do editor","Editor menu bar":"Barra de menú do editor","Editor toolbar":"Barra de ferramentas do editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Executar o botón enfocado actualmente. Ao executar botóns que interactúan co contido do editor, o foco volve ao contido.",File:"Ficheiro",Green:"Verde",Grey:"Gris","Help Contents. To close this dialog press ESC.":"Contidos de axuda. Para pechar este diálogo prema ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserir un salto duro (un novo parágrafo)","Insert a new paragraph directly after a widget":"Inserir directamente un novo parágrafo após un trebello","Insert a new paragraph directly before a widget":"Inserir directamente un novo parágrafo antes dun trebello","Insert a soft break (a <code><br></code> element)":"Inserir un salto suave (un elemento <code><br></code>)","Insert image with file manager":"Inserir imaxe co xestor de ficheiros","Insert paragraph after block":"Inserir parágrafo após o bloque","Insert paragraph before block":"Inserir parágrafo antes do bloque","Insert with file manager":"Inserir co xestor de ficheiros","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas de atallo que se poden usar cando se selecciona un trebello (por exemplo: imaxe, táboa, etc.)","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Gris claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Ficheiro",MENU_BAR_MENU_FONT:"Tipo de letra",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Axuda",MENU_BAR_MENU_INSERT:"Inserir",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Ferramentas",MENU_BAR_MENU_VIEW:"Ver","Move focus between form fields (inputs, buttons, etc.)":"Mover o foco entre os campos do formulario (entradas, botóns, etc.)","Move focus from an editable area back to the parent widget":"Mover o foco dunha área editábel de volta ao trebello principal","Move focus in and out of an active dialog window":"Move o foco dentro e fóra dunha xanela de diálogo activa","Move focus to the menu bar, navigate between menu bars":"Mover o foco á barra de menú, navegar entre as barras de menús","Move focus to the toolbar, navigate between toolbars":"Mover o foco á barra de ferramentas, navegar entre as barras de ferramentas","Move the caret to allow typing directly after a widget":"Mover o cursor para permitir escribir directamente após un trebello","Move the caret to allow typing directly before a widget":"Mover o cursor para permitir escribir directamente antes dun trebello","Navigate through the toolbar or menu bar":"Navegar pola barra de ferramentas ou barra de menú",Next:"Seguinte","No results found":"Non se atoparon resultados","No searchable items":"Non hai elementos que se poidan buscar","Open the accessibility help dialog":"Abrir o diálogo de axuda de accesibilidade",Orange:"Laranxa",Paragraph:"Parágrafo","Paste content":"Pegar contido","Paste content as plain text":"Pega o contido como texto simple",'Please enter a valid color (e.g. "ff0000").':"Introduza unha cor válida (p. ex., «ff0000»).","Press %0 for help.":"Prema %0 para obter axuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Prema Intro para escribir após ou prema Maiús + Intro para escribir antes do trebello",Previous:"Anterior",Purple:"Púrpura",Red:"Vermello",Redo:"Refacer","Remove color":"Retirar a cor","Replace image with file manager":"SubstituÃr imaxe co xestor de ficheiros","Replace with file manager":"SubstituÃr co xestor de ficheiros","Restore default":"Restaurar valores predeterminados","Rich Text Editor":"Editor de texto mellorado","Rich Text Editor. Editing area: %0":"Editor de texto mellorado. Ãrea de edición: %0",Save:"Gardar","Select all":"Seleccionar todo","Show more items":"Amosar máis elementos","These keyboard shortcuts allow for quick access to content editing features.":"Estes atallos de teclado permiten un acceso rápido ás funcións de edición de contido.","Toggle caption off":"Desactivar os subtÃtulos","Toggle caption on":"Activar os subtÃtulos",Turquoise:"Turquesa",Undo:"Desfacer","Upload in progress":"EnvÃo en proceso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use as seguintes teclas de atallo para unha navegación máis eficiente na interface de usuario de CKEditor 5.","User interface and content navigation keystrokes":"Interface de usuario e teclas de atallo de navegación de contido",White:"Branco","Widget toolbar":"Barra de ferramentas de trebellos","With file manager":"Co xestor de ficheiros",Yellow:"Amarelo"}),o.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gu.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gu.js index 81ed7b311ea9de3f443ba65f45e29738e9529fa8..2b8f585aa95b0bf5650c71cf5ff9cdd73e08da3a 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gu.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/gu.js @@ -1 +1 @@ -!function(e){const t=e.gu=e.gu||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Accept:"",Cancel:"","Cannot upload file:":"ફાઇલ અપલોડ ન થઇ શકી",Clear:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"","Insert image with file manager":"","Insert with file manager":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"","Open the accessibility help dialog":"","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor. Editing area: %0":"",Save:"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","With file manager":""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.gu=e.gu||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"","Cannot upload file:":"ફાઇલ અપલોડ ન થઇ શકી",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/he.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/he.js index ddb8384c8fb56bfc6ea0e8dd832f3bfe15f7899d..a3903c85eee930788abc03b7f896bfdac0de7579 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/he.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/he.js @@ -1 +1 @@ -!function(e){const t=e.he=e.he||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(עשוי לדרוש <kbd>Fn</kbd>)","%0 of %1":"%0 מתוך %1",Accept:"קבל",Accessibility:"× ×’×™×©×•×ª","Accessibility help":"עזרה ×‘× ×•×©× × ×’×™×©×•×ª",Aquamarine:"ירוק-כחלחל","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"להלן, תוכלו ×œ×ž×¦×•× ×¨×©×™×ž×” של קיצורי ×ž×§×©×™× ×‘×”× × ×™×ª×Ÿ להשתמש בעורך.",Black:"שחור",Blue:"כחול",Cancel:"ביטול","Cannot upload file:":"×œ× × ×™×ª×Ÿ להעלות ×ת הקובץ הב×:",Clear:"×œ× ×§×•×ª","Click to edit block":"להקיש לעריכת בלוק",Close:"סגור","Close contextual balloons, dropdowns, and dialogs":"סגירת ×‘×œ×•× ×™ הקשר, ×ª×¤×¨×™×˜×™× × ×¤×ª×—×™× ×•×ª×™×‘×•×ª דו-שיח","Content editing keystrokes":"מקשי עריכת תוכן","Copy selected content":"העתקת התוכן ×©× ×‘×—×¨","Dim grey":"×פור עמו×","Drag to move":"לגרור כדי להזיז","Dropdown menu":"תפריט × ×¤×ª×—","Dropdown toolbar":"סרגל ×›×œ×™× × ×¤×ª×—","Edit block":"הגדרות בלוק","Editor block content toolbar":"סרגל ×›×œ×™× ×©×œ תוכן בלוק של העורך","Editor contextual toolbar":"סרגל ×›×œ×™× ×”×§×©×¨×™ של העורך","Editor dialog":"חלון דו-שיח של העורך","Editor menu bar":"שורת ×”×ª×¤×¨×™×˜×™× ×©×œ העורך","Editor toolbar":"סרגל הכלי×","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"הפעלת הלחצן שבמיקוד כעת. הפעלת ×œ×—×¦× ×™× ×”×ž×§×™×™×ž×™× ××™× ×˜×¨×קציה ×¢× ×ª×•×›×Ÿ העורך מחזירה ×ת המיקוד לתוכן.",File:"קובץ",Green:"ירוק",Grey:"×פור","Help Contents. To close this dialog press ESC.":"תוכן עזרה. כדי לסגור תיבת דו-שיח זו יש להקיש על ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"הוספת שבירה קשה (פסקה חדשה)","Insert a new paragraph directly after a widget":"הוספת פסקה חדשה ישירות ×חרי ווידג'ט","Insert a new paragraph directly before a widget":"הוספת פסקה חדשה ישירות ×œ×¤× ×™ ווידג'ט","Insert a soft break (a <code><br></code> element)":"הוספת שבירה רכה (××œ×ž× ×˜ <code><br></code>)","Insert image with file manager":"הוספת ×ª×ž×•× ×” ×¢× ×ž× ×”×œ הקבצי×","Insert paragraph after block":"הוספת פסקה מתחת","Insert paragraph before block":"הוספת פסקה מעל","Insert with file manager":"הוספה ×¢× ×ž× ×”×œ הקבצי×","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"×ž×§×©×™× ×‘×”× × ×™×ª×Ÿ להשתמש ×›×שר × ×‘×—×¨ ווידג'ט (לדוגמה: ×ª×ž×•× ×”, טבלה וכו')","Light blue":"כחול בהיר","Light green":"ירוק בהיר","Light grey":"×פור בהיר",MENU_BAR_MENU_EDIT:"ערוך",MENU_BAR_MENU_FILE:"קובץ",MENU_BAR_MENU_FONT:"גופן",MENU_BAR_MENU_FORMAT:"עיצוב",MENU_BAR_MENU_HELP:"עזרה",MENU_BAR_MENU_INSERT:"×”×›× ×¡",MENU_BAR_MENU_TEXT:"טקסט",MENU_BAR_MENU_TOOLS:"כלי×",MENU_BAR_MENU_VIEW:"תצוגה","Move focus between form fields (inputs, buttons, etc.)":"העברת המיקוד בין שדות בטופס (שדות קלט, ×œ×—×¦× ×™× ×•×›×•')","Move focus from an editable area back to the parent widget":"החזרת המיקוד מ×זור בר-עריכה לחפיץ ×”×ב","Move focus in and out of an active dialog window":"הזזת המיקוד ×¤× ×™×ž×” והחוצה מחלון דו-שיח פעיל","Move focus to the menu bar, navigate between menu bars":"העברת המיקוד לשורת התפריטי×, × ×™×•×•×˜ בין שורות התפריטי×","Move focus to the toolbar, navigate between toolbars":"העברת המיקוד לסרגל הכלי×, × ×™×•×•×˜ בין סרגלי כלי×","Move the caret to allow typing directly after a widget":"הזזת הסמן כדי ל×פשר הקלדה ישירות ×חרי ווידג'ט","Move the caret to allow typing directly before a widget":"הזזת הסמן כדי ל×פשר הקלדה ישירות ×œ×¤× ×™ ווידג'ט","Navigate through the toolbar or menu bar":"× ×™×•×•×˜ בסרגל ×”×›×œ×™× ×ו בשורת התפריטי×",Next:"הב×","No results found":"×œ× × ×ž×¦×ו תוצ×ות","No searchable items":"×ין ×¤×¨×™×˜×™× × ×™×ª× ×™× ×œ×—×™×¤×•×©","Open the accessibility help dialog":"פתיחת תיבת הדו-שיח של עזרה ×‘× ×•×©× × ×’×™×©×•×ª",Orange:"כתו×","Paste content":"הדבקת תוכן","Paste content as plain text":"הדבקת תוכן כטקסט רגיל",'Please enter a valid color (e.g. "ff0000").':'× × ×œ×”×–×™×Ÿ צבע חוקי (למשל "ff0000").',"Press %0 for help.":"לחצו על %0 לקבלת עזרה.","Press Enter to type after or press Shift + Enter to type before the widget":"לחץ Enter כדי להקליד ×œ×¤× ×™ היישומון ×ו Shift + Enter כדי להקליד ×חריו",Previous:"הקוד×",Purple:"סגול",Red:"×דו×",Redo:"ביצוע מחדש","Remove color":"מחיקת צבע","Replace image with file manager":"החלפת ×ª×ž×•× ×” ×¢× ×ž× ×”×œ הקבצי×","Replace with file manager":"החלפה ×¢× ×ž× ×”×œ הקבצי×","Restore default":"שחזור ברירת מחדל","Rich Text Editor":"עורך טקסט עשיר","Rich Text Editor. Editing area: %0":"עורך פורמט טקסט עשיר. ×זור עריכה: %0",Save:"שמירה","Select all":"בחר הכל","Show more items":"הצג ×¤×¨×™×˜×™× × ×•×¡×¤×™×","These keyboard shortcuts allow for quick access to content editing features.":"קיצורי ×ž×§×©×™× ×לה מ××¤×©×¨×™× ×’×™×©×” מהירה ×œ×ª×›×•× ×•×ª עריכת תוכן.","Toggle caption off":"כבה ×ת הכיתוב","Toggle caption on":"הפעל ×ת הכיתוב",Turquoise:"טורקיז",Undo:"ביטול","Upload in progress":"העל××” מתבצעת","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"השתמשו ×‘×ž×§×©×™× ×”×‘××™× ×œ× ×™×•×•×˜ יעיל יותר בממשק המשתמש של CKEditor 5.","User interface and content navigation keystrokes":"ממשק משתמש ×•×ž×§×©×™× ×œ× ×™×•×•×˜ בתוכן",White:"לבן","Widget toolbar":"סרגל יישומון","With file manager":"ב×מצעות ×ž× ×”×œ קבצי×",Yellow:"צהוב"}),t.getPluralForm=function(e){return 1==e&&e%1==0?0:2==e&&e%1==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.he=e.he||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(עשוי לדרוש <kbd>Fn</kbd>)","%0 of %1":"%0 מתוך %1",Accept:"קבל",Accessibility:"× ×’×™×©×•×ª","Accessibility help":"עזרה ×‘× ×•×©× × ×’×™×©×•×ª",Aquamarine:"ירוק-כחלחל","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"להלן, תוכלו ×œ×ž×¦×•× ×¨×©×™×ž×” של קיצורי ×ž×§×©×™× ×‘×”× × ×™×ª×Ÿ להשתמש בעורך.",Black:"שחור",Blue:"כחול",Cancel:"ביטול","Cannot upload file:":"×œ× × ×™×ª×Ÿ להעלות ×ת הקובץ הב×:",Clear:"×œ× ×§×•×ª","Click to edit block":"להקיש לעריכת בלוק",Close:"סגור","Close contextual balloons, dropdowns, and dialogs":"סגירת ×‘×œ×•× ×™ הקשר, ×ª×¤×¨×™×˜×™× × ×¤×ª×—×™× ×•×ª×™×‘×•×ª דו-שיח","Color picker":"בורר הצבעי×","Content editing keystrokes":"מקשי עריכת תוכן","Copy selected content":"העתקת התוכן ×©× ×‘×—×¨","Dim grey":"×פור עמו×","Drag to move":"לגרור כדי להזיז","Dropdown menu":"תפריט × ×¤×ª×—","Dropdown toolbar":"סרגל ×›×œ×™× × ×¤×ª×—","Edit block":"הגדרות בלוק","Editor block content toolbar":"סרגל ×›×œ×™× ×©×œ תוכן בלוק של העורך","Editor contextual toolbar":"סרגל ×›×œ×™× ×”×§×©×¨×™ של העורך","Editor dialog":"חלון דו-שיח של העורך","Editor menu bar":"שורת ×”×ª×¤×¨×™×˜×™× ×©×œ העורך","Editor toolbar":"סרגל הכלי×","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"הפעלת הלחצן שבמיקוד כעת. הפעלת ×œ×—×¦× ×™× ×”×ž×§×™×™×ž×™× ××™× ×˜×¨×קציה ×¢× ×ª×•×›×Ÿ העורך מחזירה ×ת המיקוד לתוכן.",File:"קובץ",Green:"ירוק",Grey:"×פור","Help Contents. To close this dialog press ESC.":"תוכן עזרה. כדי לסגור תיבת דו-שיח זו יש להקיש על ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"הוספת שבירה קשה (פסקה חדשה)","Insert a new paragraph directly after a widget":"הוספת פסקה חדשה ישירות ×חרי ווידג'ט","Insert a new paragraph directly before a widget":"הוספת פסקה חדשה ישירות ×œ×¤× ×™ ווידג'ט","Insert a soft break (a <code><br></code> element)":"הוספת שבירה רכה (××œ×ž× ×˜ <code><br></code>)","Insert image with file manager":"הוספת ×ª×ž×•× ×” ×¢× ×ž× ×”×œ הקבצי×","Insert paragraph after block":"הוספת פסקה מתחת","Insert paragraph before block":"הוספת פסקה מעל","Insert with file manager":"הוספה ×¢× ×ž× ×”×œ הקבצי×","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"×ž×§×©×™× ×‘×”× × ×™×ª×Ÿ להשתמש ×›×שר × ×‘×—×¨ ווידג'ט (לדוגמה: ×ª×ž×•× ×”, טבלה וכו')","Light blue":"כחול בהיר","Light green":"ירוק בהיר","Light grey":"×פור בהיר",MENU_BAR_MENU_EDIT:"ערוך",MENU_BAR_MENU_FILE:"קובץ",MENU_BAR_MENU_FONT:"גופן",MENU_BAR_MENU_FORMAT:"עיצוב",MENU_BAR_MENU_HELP:"עזרה",MENU_BAR_MENU_INSERT:"×”×›× ×¡",MENU_BAR_MENU_TEXT:"טקסט",MENU_BAR_MENU_TOOLS:"כלי×",MENU_BAR_MENU_VIEW:"תצוגה","Move focus between form fields (inputs, buttons, etc.)":"העברת המיקוד בין שדות בטופס (שדות קלט, ×œ×—×¦× ×™× ×•×›×•')","Move focus from an editable area back to the parent widget":"החזרת המיקוד מ×זור בר-עריכה לחפיץ ×”×ב","Move focus in and out of an active dialog window":"הזזת המיקוד ×¤× ×™×ž×” והחוצה מחלון דו-שיח פעיל","Move focus to the menu bar, navigate between menu bars":"העברת המיקוד לשורת התפריטי×, × ×™×•×•×˜ בין שורות התפריטי×","Move focus to the toolbar, navigate between toolbars":"העברת המיקוד לסרגל הכלי×, × ×™×•×•×˜ בין סרגלי כלי×","Move the caret to allow typing directly after a widget":"הזזת הסמן כדי ל×פשר הקלדה ישירות ×חרי ווידג'ט","Move the caret to allow typing directly before a widget":"הזזת הסמן כדי ל×פשר הקלדה ישירות ×œ×¤× ×™ ווידג'ט","Navigate through the toolbar or menu bar":"× ×™×•×•×˜ בסרגל ×”×›×œ×™× ×ו בשורת התפריטי×",Next:"הב×","No results found":"×œ× × ×ž×¦×ו תוצ×ות","No searchable items":"×ין ×¤×¨×™×˜×™× × ×™×ª× ×™× ×œ×—×™×¤×•×©","Open the accessibility help dialog":"פתיחת תיבת הדו-שיח של עזרה ×‘× ×•×©× × ×’×™×©×•×ª",Orange:"כתו×",Paragraph:"פיסקה","Paste content":"הדבקת תוכן","Paste content as plain text":"הדבקת תוכן כטקסט רגיל",'Please enter a valid color (e.g. "ff0000").':'× × ×œ×”×–×™×Ÿ צבע חוקי (למשל "ff0000").',"Press %0 for help.":"לחצו על %0 לקבלת עזרה.","Press Enter to type after or press Shift + Enter to type before the widget":"לחץ Enter כדי להקליד ×œ×¤× ×™ היישומון ×ו Shift + Enter כדי להקליד ×חריו",Previous:"הקוד×",Purple:"סגול",Red:"×דו×",Redo:"ביצוע מחדש","Remove color":"מחיקת צבע","Replace image with file manager":"החלפת ×ª×ž×•× ×” ×¢× ×ž× ×”×œ הקבצי×","Replace with file manager":"החלפה ×¢× ×ž× ×”×œ הקבצי×","Restore default":"שחזור ברירת מחדל","Rich Text Editor":"עורך טקסט עשיר","Rich Text Editor. Editing area: %0":"עורך פורמט טקסט עשיר. ×זור עריכה: %0",Save:"שמירה","Select all":"בחר הכל","Show more items":"הצג ×¤×¨×™×˜×™× × ×•×¡×¤×™×","These keyboard shortcuts allow for quick access to content editing features.":"קיצורי ×ž×§×©×™× ×לה מ××¤×©×¨×™× ×’×™×©×” מהירה ×œ×ª×›×•× ×•×ª עריכת תוכן.","Toggle caption off":"כבה ×ת הכיתוב","Toggle caption on":"הפעל ×ת הכיתוב",Turquoise:"טורקיז",Undo:"ביטול","Upload in progress":"העל××” מתבצעת","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"השתמשו ×‘×ž×§×©×™× ×”×‘××™× ×œ× ×™×•×•×˜ יעיל יותר בממשק המשתמש של CKEditor 5.","User interface and content navigation keystrokes":"ממשק משתמש ×•×ž×§×©×™× ×œ× ×™×•×•×˜ בתוכן",White:"לבן","Widget toolbar":"סרגל יישומון","With file manager":"ב×מצעות ×ž× ×”×œ קבצי×",Yellow:"צהוב"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hi.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hi.js index 65bbb6b35841eb4eebdb9612ddb49d7f427f9cd8..564742f8dfe32b5676bd35cec24f760c70889d34 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hi.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hi.js @@ -1 +1 @@ -!function(e){const t=e.hi=e.hi||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(इसके लिठ<kbd>Fn</kbd> की ज़रूरत हो सकती है)","%0 of %1":"%0 of %1",Accept:"सà¥à¤µà¥€à¤•à¤¾à¤° करें",Accessibility:"पहà¥à¤à¤š","Accessibility help":"à¤à¤•à¥à¤¸à¥‡à¤¸à¤¿à¤¬à¤¿à¤²à¤¿à¤Ÿà¥€ हेलà¥à¤ª",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"नीचे, आप उन कीबोरà¥à¤¡ शॉरà¥à¤Ÿà¤•à¤Ÿà¥à¤¸ की à¤à¤• लिसà¥à¤Ÿ देख सकते हैं जिनका इसà¥à¤¤à¥‡à¤®à¤¾à¤² à¤à¤¡à¤¿à¤Ÿà¤° में किया जा सकता है.",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"साफ़ करें","Click to edit block":"बà¥à¤²à¥‰à¤• à¤à¤¡à¤¿à¤Ÿ करने के लिठकà¥à¤²à¤¿à¤• करें",Close:"बंद करें","Close contextual balloons, dropdowns, and dialogs":"कॉनà¥à¤Ÿà¥‡à¤•à¥à¤¸à¤šà¥à¤…ल बलूनà¥à¤¸, डà¥à¤°à¥‰à¤ªà¤¡à¤¾à¤‰à¤¨à¥à¤¸ और डायलॉगà¥à¤¸ को बंद करें","Content editing keystrokes":"कॉनà¥à¤Ÿà¥‡à¤‚ट à¤à¤¡à¤¿à¤Ÿà¤¿à¤‚ग कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸","Copy selected content":"सेलेकà¥à¤Ÿ किठगठकॉनà¥à¤Ÿà¥‡à¤‚ट को कॉपी करें","Dim grey":"Dim grey","Drag to move":"मूव करने के लिठडà¥à¤°à¥ˆà¤— करें","Dropdown menu":"डà¥à¤°à¤¾à¤ªà¤¡à¤¾à¤‰à¤¨ मेनà¥à¤¯à¥‚","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Editor block content toolbar":"à¤à¤¡à¥€à¤Ÿà¤° बà¥à¤²à¥‰à¤• कंटेंट टूलबार","Editor contextual toolbar":"à¤à¤¡à¥€à¤Ÿà¤° कॉनà¥à¤Ÿà¥‡à¤•à¥à¤¸à¥à¤Ÿà¥‚अल टूलबार","Editor dialog":"à¤à¤¡à¤¿à¤Ÿà¤° डायलॉग","Editor menu bar":"à¤à¤¡à¤¿à¤Ÿà¤° मेनू बार","Editor toolbar":"Editor toolbar","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"वरà¥à¤¤à¤®à¤¾à¤¨ में फोकसà¥à¤¡ बटन दबाà¤à¤. à¤à¤¡à¤¿à¤Ÿà¤° के कंटेंट के साथ इंटरैकà¥à¤Ÿ करने वाले बटनों को दबाने से फोकस वापस कंटेंट पर आ जाता है.",File:"फाइल",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"हेलà¥à¤ª कॉनà¥à¤Ÿà¥‡à¤‚टà¥à¤¸. इस डायलॉग को बंद करने के लिठESC दबाà¤à¤.",HEX:"HEX","Insert a hard break (a new paragraph)":"à¤à¤• हारà¥à¤¡ बà¥à¤°à¥‡à¤• इंसरà¥à¤Ÿ करें (à¤à¤• नया पैरागà¥à¤°à¤¾à¥ž)","Insert a new paragraph directly after a widget":"किसी विजेट के ठीक आगे à¤à¤• नया पैरागà¥à¤°à¤¾à¥ž इंसरà¥à¤Ÿ करें","Insert a new paragraph directly before a widget":"किसी विजेट के ठीक पीछे à¤à¤• नया पैरागà¥à¤°à¤¾à¥ž इंसरà¥à¤Ÿ करें","Insert a soft break (a <code><br></code> element)":"à¤à¤• सॉफ़à¥à¤Ÿ बà¥à¤°à¥‡à¤• इंसरà¥à¤Ÿ करें (à¤à¤• <code><br></code> à¤à¤²à¤¿à¤®à¥‡à¤‚ट)","Insert image with file manager":"फ़ाइल मैनेजर से इमेज इनà¥à¤¸à¤°à¥à¤Ÿ करें","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert with file manager":"फ़ाइल मैनेजर से इनà¥à¤¸à¤°à¥à¤Ÿ करें","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"वे कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸ जिनका इसà¥à¤¤à¥‡à¤®à¤¾à¤² किसी विजेट के सेलेकà¥à¤Ÿ किठजाने पर किया जा सकता है (जैसे: इमेज, टेबल, आदि)","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"फाइल",MENU_BAR_MENU_FONT:"फ़ॉनà¥à¤Ÿ",MENU_BAR_MENU_FORMAT:"फॉरà¥à¤®à¥‡à¤Ÿ",MENU_BAR_MENU_HELP:"हेलà¥à¤ª",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"टेकà¥à¤¸à¥à¤Ÿ",MENU_BAR_MENU_TOOLS:"टूलà¥à¤¸",MENU_BAR_MENU_VIEW:"दृशà¥à¤¯","Move focus between form fields (inputs, buttons, etc.)":"फ़ॉरà¥à¤® फ़ीलà¥à¤¡à¥à¤¸ (इनपà¥à¤Ÿà¥à¤¸, बटनà¥à¤¸, आदि) के बीच फ़ोकस को मूव करें","Move focus from an editable area back to the parent widget":"à¤à¤• à¤à¤¡à¤¿à¤Ÿà¥‡à¤¬à¤² à¤à¤°à¤¿à¤¯à¤¾ से पेरेंट विजेट पर फ़ोकस वापिस लाà¤à¤","Move focus in and out of an active dialog window":"à¤à¤• à¤à¤•à¥à¤Ÿà¤¿à¤µ डायलॉग विंडो में फ़ोकस को अंदर और बाहर मूव करें","Move focus to the menu bar, navigate between menu bars":"फ़ोकस को मेनू बार पर ले जाà¤à¤, मेनू बार के बीच नेविगेट करें","Move focus to the toolbar, navigate between toolbars":"फ़ोकस को टूलबार पर ले जाà¤à¤, टूलबारà¥à¤¸ के बीच नैविगेट करें","Move the caret to allow typing directly after a widget":"किसी विजेट के ठीक आगे टाइप करने के लिठकैरेट को मूव करें","Move the caret to allow typing directly before a widget":"किसी विजेट के ठीक पीछे टाइप करने के लिठकैरेट को मूव करें","Navigate through the toolbar or menu bar":"टूलबार या मेनू बार के माधà¥à¤¯à¤® से नेविगेट करें",Next:"Next","No results found":"कोई रिजलà¥à¤Ÿ नहीं","No searchable items":"कोई खोजने लायक आइटम नहीं","Open the accessibility help dialog":"à¤à¤•à¥à¤¸à¥‡à¤¸à¤¿à¤¬à¤¿à¤²à¤¿à¤Ÿà¥€ हेलà¥à¤ª डायलॉग को खोलें",Orange:"Orange","Paste content":"कॉनà¥à¤Ÿà¥‡à¤‚ट पेसà¥à¤Ÿ करें","Paste content as plain text":"कॉनà¥à¤Ÿà¥‡à¤‚ट को पà¥à¤²à¥‡à¤¨ टेकà¥à¤¸à¥à¤Ÿ के रूप में पेसà¥à¤Ÿ करें",'Please enter a valid color (e.g. "ff0000").':'कृपया à¤à¤• वैध रंग दरà¥à¤œ करें (उदाहरण के लिठ"ff0000").',"Press %0 for help.":"हेलà¥à¤ª के लिठ%0 दबाà¤à¤.","Press Enter to type after or press Shift + Enter to type before the widget":"विजेट के बाद टाइप करने के लिठà¤à¤‚टर दबाà¤à¤‚ या पहले टाइप करने के लिठशिफà¥à¤Ÿ+à¤à¤‚टर दबाà¤à¤‚",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace image with file manager":"इमेज को फ़ाइल मैनेजर से बदलें","Replace with file manager":"फ़ाइल मैनेजर से बदलें","Restore default":"डिफ़ॉलà¥à¤Ÿ रिसà¥à¤Ÿà¥‹à¤° कर दें","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"रिच टेकà¥à¤¸à¥à¤Ÿ à¤à¤¡à¤¿à¤Ÿà¤°à¥¤ संपादन कà¥à¤·à¥‡à¤¤à¥à¤°: %0",Save:"Save","Select all":"Select all","Show more items":"Show more items","These keyboard shortcuts allow for quick access to content editing features.":"ये कीबोरà¥à¤¡ शॉरà¥à¤Ÿà¤•à¤Ÿà¥à¤¸ कॉनà¥à¤Ÿà¥‡à¤‚ट à¤à¤¡à¤¿à¤Ÿà¤¿à¤‚ग फ़ीचरà¥à¤¸ तक पहà¥à¤à¤šà¤¨à¤¾ आसान बनाते हैं.","Toggle caption off":"कैपà¥à¤¶à¤¨ को टॉगल बंद करें","Toggle caption on":"कैपà¥à¤¶à¤¨ का टॉगल ऑन करें",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"CKEditor 5 यूज़र इंटरफ़ेस में और बेहतरीन नैविगेशन के लिठइन कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸ का इसà¥à¤¤à¥‡à¤®à¤¾à¤² करें.","User interface and content navigation keystrokes":"यूज़र इंटरफ़ेस और कॉनà¥à¤Ÿà¥‡à¤‚ट नैविगेशन कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸",White:"White","Widget toolbar":"Widget toolbar","With file manager":"फ़ाइल मैनेजर के साथ",Yellow:"Yellow"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.hi=e.hi||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(इसके लिठ<kbd>Fn</kbd> की ज़रूरत हो सकती है)","%0 of %1":"%0 of %1",Accept:"सà¥à¤µà¥€à¤•à¤¾à¤° करें",Accessibility:"पहà¥à¤à¤š","Accessibility help":"à¤à¤•à¥à¤¸à¥‡à¤¸à¤¿à¤¬à¤¿à¤²à¤¿à¤Ÿà¥€ हेलà¥à¤ª",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"नीचे, आप उन कीबोरà¥à¤¡ शॉरà¥à¤Ÿà¤•à¤Ÿà¥à¤¸ की à¤à¤• लिसà¥à¤Ÿ देख सकते हैं जिनका इसà¥à¤¤à¥‡à¤®à¤¾à¤² à¤à¤¡à¤¿à¤Ÿà¤° में किया जा सकता है.",Black:"Black",Blue:"Blue",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:",Clear:"साफ़ करें","Click to edit block":"बà¥à¤²à¥‰à¤• à¤à¤¡à¤¿à¤Ÿ करने के लिठकà¥à¤²à¤¿à¤• करें",Close:"बंद करें","Close contextual balloons, dropdowns, and dialogs":"कॉनà¥à¤Ÿà¥‡à¤•à¥à¤¸à¤šà¥à¤…ल बलूनà¥à¤¸, डà¥à¤°à¥‰à¤ªà¤¡à¤¾à¤‰à¤¨à¥à¤¸ और डायलॉगà¥à¤¸ को बंद करें","Color picker":"Color picker","Content editing keystrokes":"कॉनà¥à¤Ÿà¥‡à¤‚ट à¤à¤¡à¤¿à¤Ÿà¤¿à¤‚ग कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸","Copy selected content":"सेलेकà¥à¤Ÿ किठगठकॉनà¥à¤Ÿà¥‡à¤‚ट को कॉपी करें","Dim grey":"Dim grey","Drag to move":"मूव करने के लिठडà¥à¤°à¥ˆà¤— करें","Dropdown menu":"डà¥à¤°à¤¾à¤ªà¤¡à¤¾à¤‰à¤¨ मेनà¥à¤¯à¥‚","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Editor block content toolbar":"à¤à¤¡à¥€à¤Ÿà¤° बà¥à¤²à¥‰à¤• कंटेंट टूलबार","Editor contextual toolbar":"à¤à¤¡à¥€à¤Ÿà¤° कॉनà¥à¤Ÿà¥‡à¤•à¥à¤¸à¥à¤Ÿà¥‚अल टूलबार","Editor dialog":"à¤à¤¡à¤¿à¤Ÿà¤° डायलॉग","Editor menu bar":"à¤à¤¡à¤¿à¤Ÿà¤° मेनू बार","Editor toolbar":"Editor toolbar","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"वरà¥à¤¤à¤®à¤¾à¤¨ में फोकसà¥à¤¡ बटन दबाà¤à¤. à¤à¤¡à¤¿à¤Ÿà¤° के कंटेंट के साथ इंटरैकà¥à¤Ÿ करने वाले बटनों को दबाने से फोकस वापस कंटेंट पर आ जाता है.",File:"फाइल",Green:"Green",Grey:"Grey","Help Contents. To close this dialog press ESC.":"हेलà¥à¤ª कॉनà¥à¤Ÿà¥‡à¤‚टà¥à¤¸. इस डायलॉग को बंद करने के लिठESC दबाà¤à¤.",HEX:"HEX","Insert a hard break (a new paragraph)":"à¤à¤• हारà¥à¤¡ बà¥à¤°à¥‡à¤• इंसरà¥à¤Ÿ करें (à¤à¤• नया पैरागà¥à¤°à¤¾à¥ž)","Insert a new paragraph directly after a widget":"किसी विजेट के ठीक आगे à¤à¤• नया पैरागà¥à¤°à¤¾à¥ž इंसरà¥à¤Ÿ करें","Insert a new paragraph directly before a widget":"किसी विजेट के ठीक पीछे à¤à¤• नया पैरागà¥à¤°à¤¾à¥ž इंसरà¥à¤Ÿ करें","Insert a soft break (a <code><br></code> element)":"à¤à¤• सॉफ़à¥à¤Ÿ बà¥à¤°à¥‡à¤• इंसरà¥à¤Ÿ करें (à¤à¤• <code><br></code> à¤à¤²à¤¿à¤®à¥‡à¤‚ट)","Insert image with file manager":"फ़ाइल मैनेजर से इमेज इनà¥à¤¸à¤°à¥à¤Ÿ करें","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert with file manager":"फ़ाइल मैनेजर से इनà¥à¤¸à¤°à¥à¤Ÿ करें","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"वे कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸ जिनका इसà¥à¤¤à¥‡à¤®à¤¾à¤² किसी विजेट के सेलेकà¥à¤Ÿ किठजाने पर किया जा सकता है (जैसे: इमेज, टेबल, आदि)","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"फाइल",MENU_BAR_MENU_FONT:"फ़ॉनà¥à¤Ÿ",MENU_BAR_MENU_FORMAT:"फॉरà¥à¤®à¥‡à¤Ÿ",MENU_BAR_MENU_HELP:"हेलà¥à¤ª",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"टेकà¥à¤¸à¥à¤Ÿ",MENU_BAR_MENU_TOOLS:"टूलà¥à¤¸",MENU_BAR_MENU_VIEW:"दृशà¥à¤¯","Move focus between form fields (inputs, buttons, etc.)":"फ़ॉरà¥à¤® फ़ीलà¥à¤¡à¥à¤¸ (इनपà¥à¤Ÿà¥à¤¸, बटनà¥à¤¸, आदि) के बीच फ़ोकस को मूव करें","Move focus from an editable area back to the parent widget":"à¤à¤• à¤à¤¡à¤¿à¤Ÿà¥‡à¤¬à¤² à¤à¤°à¤¿à¤¯à¤¾ से पेरेंट विजेट पर फ़ोकस वापिस लाà¤à¤","Move focus in and out of an active dialog window":"à¤à¤• à¤à¤•à¥à¤Ÿà¤¿à¤µ डायलॉग विंडो में फ़ोकस को अंदर और बाहर मूव करें","Move focus to the menu bar, navigate between menu bars":"फ़ोकस को मेनू बार पर ले जाà¤à¤, मेनू बार के बीच नेविगेट करें","Move focus to the toolbar, navigate between toolbars":"फ़ोकस को टूलबार पर ले जाà¤à¤, टूलबारà¥à¤¸ के बीच नैविगेट करें","Move the caret to allow typing directly after a widget":"किसी विजेट के ठीक आगे टाइप करने के लिठकैरेट को मूव करें","Move the caret to allow typing directly before a widget":"किसी विजेट के ठीक पीछे टाइप करने के लिठकैरेट को मूव करें","Navigate through the toolbar or menu bar":"टूलबार या मेनू बार के माधà¥à¤¯à¤® से नेविगेट करें",Next:"Next","No results found":"कोई रिजलà¥à¤Ÿ नहीं","No searchable items":"कोई खोजने लायक आइटम नहीं","Open the accessibility help dialog":"à¤à¤•à¥à¤¸à¥‡à¤¸à¤¿à¤¬à¤¿à¤²à¤¿à¤Ÿà¥€ हेलà¥à¤ª डायलॉग को खोलें",Orange:"Orange",Paragraph:"Paragraph","Paste content":"कॉनà¥à¤Ÿà¥‡à¤‚ट पेसà¥à¤Ÿ करें","Paste content as plain text":"कॉनà¥à¤Ÿà¥‡à¤‚ट को पà¥à¤²à¥‡à¤¨ टेकà¥à¤¸à¥à¤Ÿ के रूप में पेसà¥à¤Ÿ करें",'Please enter a valid color (e.g. "ff0000").':'कृपया à¤à¤• वैध रंग दरà¥à¤œ करें (उदाहरण के लिठ"ff0000").',"Press %0 for help.":"हेलà¥à¤ª के लिठ%0 दबाà¤à¤.","Press Enter to type after or press Shift + Enter to type before the widget":"विजेट के बाद टाइप करने के लिठà¤à¤‚टर दबाà¤à¤‚ या पहले टाइप करने के लिठशिफà¥à¤Ÿ+à¤à¤‚टर दबाà¤à¤‚",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace image with file manager":"इमेज को फ़ाइल मैनेजर से बदलें","Replace with file manager":"फ़ाइल मैनेजर से बदलें","Restore default":"डिफ़ॉलà¥à¤Ÿ रिसà¥à¤Ÿà¥‹à¤° कर दें","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"रिच टेकà¥à¤¸à¥à¤Ÿ à¤à¤¡à¤¿à¤Ÿà¤°à¥¤ संपादन कà¥à¤·à¥‡à¤¤à¥à¤°: %0",Save:"Save","Select all":"Select all","Show more items":"Show more items","These keyboard shortcuts allow for quick access to content editing features.":"ये कीबोरà¥à¤¡ शॉरà¥à¤Ÿà¤•à¤Ÿà¥à¤¸ कॉनà¥à¤Ÿà¥‡à¤‚ट à¤à¤¡à¤¿à¤Ÿà¤¿à¤‚ग फ़ीचरà¥à¤¸ तक पहà¥à¤à¤šà¤¨à¤¾ आसान बनाते हैं.","Toggle caption off":"कैपà¥à¤¶à¤¨ को टॉगल बंद करें","Toggle caption on":"कैपà¥à¤¶à¤¨ का टॉगल ऑन करें",Turquoise:"Turquoise",Undo:"Undo","Upload in progress":"Upload in progress","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"CKEditor 5 यूज़र इंटरफ़ेस में और बेहतरीन नैविगेशन के लिठइन कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸ का इसà¥à¤¤à¥‡à¤®à¤¾à¤² करें.","User interface and content navigation keystrokes":"यूज़र इंटरफ़ेस और कॉनà¥à¤Ÿà¥‡à¤‚ट नैविगेशन कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸",White:"White","Widget toolbar":"Widget toolbar","With file manager":"फ़ाइल मैनेजर के साथ",Yellow:"Yellow"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hr.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hr.js index 9447694f4c6b41bb19df4caff8c9b8caf3012bda..d9c3026475360d631dfd3ce562af14899c0c4d90 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hr.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hr.js @@ -1 +1 @@ -!function(e){const t=e.hr=e.hr||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 od %1",Accept:"Prihvati",Accessibility:"","Accessibility help":"",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Crna",Blue:"Plava",Cancel:"PoniÅ¡ti","Cannot upload file:":"Datoteku nije moguće poslati:",Clear:"ObriÅ¡i","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Copy selected content":"Kopiraj odabrani sadržaj","Dim grey":"Tamnosiva","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Traka padajućeg izbornika","Edit block":"Uredi blok","Editor block content toolbar":"Alatna traka sadržaja ureÄ‘ivaÄa blokova","Editor contextual toolbar":"Kontekstualna alatna traka ureÄ‘ivaÄa","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Traka ureÄ‘ivaÄa","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Zelena",Grey:"Siva","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"Umetni novi red (novi paragraf)","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"Umetni element za novi red (<code><br></code> element)","Insert image with file manager":"","Insert paragraph after block":"Umetni odlomak poslije bloka","Insert paragraph before block":"Umetni odlomak prije bloka","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Svijetloplava","Light green":"Svijetlozelena","Light grey":"Svijetlosiva",MENU_BAR_MENU_EDIT:"Promijeni",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Ubaci",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Sljedeći","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"NaranÄasta","Paste content":"Zalijepi sadržaj","Paste content as plain text":"Zalijepi sadržaj kao Äisti tekst",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"Pritisnite Enter za upisivanje nakon ili pritisnite Shift + Enter za upisivanje prije widgeta",Previous:"Prethodni",Purple:"LjubiÄasta",Red:"Crvena",Redo:"Ponovi","Remove color":"Ukloni boju","Replace image with file manager":"","Replace with file manager":"","Restore default":"Vrati tvorniÄke postavke","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"UreÄ‘ivaÄ obogaćenog teksta. PodruÄje za ureÄ‘ivanje: %0",Save:"Snimi","Select all":"Odaberi sve","Show more items":"Prikaži viÅ¡e stavaka","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"IskljuÄite natpis","Toggle caption on":"UkljuÄite natpis",Turquoise:"Tirkizna",Undo:"PoniÅ¡ti","Upload in progress":"Slanje u tijeku","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Bijela","Widget toolbar":"Traka sa spravicama","With file manager":"",Yellow:"Žuta"}),t.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.hr=e.hr||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 od %1",Accept:"Prihvati",Accessibility:"","Accessibility help":"",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Crna",Blue:"Plava",Cancel:"PoniÅ¡ti","Cannot upload file:":"Datoteku nije moguće poslati:",Clear:"ObriÅ¡i","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"BiraÄ boje","Content editing keystrokes":"","Copy selected content":"Kopiraj odabrani sadržaj","Dim grey":"Tamnosiva","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Traka padajućeg izbornika","Edit block":"Uredi blok","Editor block content toolbar":"Alatna traka sadržaja ureÄ‘ivaÄa blokova","Editor contextual toolbar":"Kontekstualna alatna traka ureÄ‘ivaÄa","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Traka ureÄ‘ivaÄa","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Zelena",Grey:"Siva","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"Umetni novi red (novi paragraf)","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"Umetni element za novi red (<code><br></code> element)","Insert image with file manager":"","Insert paragraph after block":"Umetni odlomak poslije bloka","Insert paragraph before block":"Umetni odlomak prije bloka","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Svijetloplava","Light green":"Svijetlozelena","Light grey":"Svijetlosiva",MENU_BAR_MENU_EDIT:"Promijeni",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Ubaci",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Sljedeći","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"NaranÄasta",Paragraph:"Paragraf","Paste content":"Zalijepi sadržaj","Paste content as plain text":"Zalijepi sadržaj kao Äisti tekst",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"Pritisnite Enter za upisivanje nakon ili pritisnite Shift + Enter za upisivanje prije widgeta",Previous:"Prethodni",Purple:"LjubiÄasta",Red:"Crvena",Redo:"Ponovi","Remove color":"Ukloni boju","Replace image with file manager":"","Replace with file manager":"","Restore default":"Vrati tvorniÄke postavke","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"UreÄ‘ivaÄ obogaćenog teksta. PodruÄje za ureÄ‘ivanje: %0",Save:"Snimi","Select all":"Odaberi sve","Show more items":"Prikaži viÅ¡e stavaka","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"IskljuÄite natpis","Toggle caption on":"UkljuÄite natpis",Turquoise:"Tirkizna",Undo:"PoniÅ¡ti","Upload in progress":"Slanje u tijeku","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Bijela","Widget toolbar":"Traka sa spravicama","With file manager":"",Yellow:"Žuta"}),a.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hu.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hu.js index ee5b8f72af08f26cabaccbef7119fb95fd1dd1db..b638e3752c0b6c853e448221bd26776d88ea0f10 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hu.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hu.js @@ -1 +1 @@ -!function(e){const t=e.hu=e.hu||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(szükség lehet a <kbd>Fn</kbd> használatára)","%0 of %1":"%0 / %1",Accept:"Elfogad",Accessibility:"ElérhetÅ‘ség","Accessibility help":"KisegÃtÅ‘ lehetÅ‘ségek",Aquamarine:"Kékeszöld","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Alább megtalálod a szerkesztéshez használható gyorsbillentyűk listáját.",Black:"Fekete",Blue:"Kék",Cancel:"Mégsem","Cannot upload file:":"Nem sikerült a fájl feltöltése:",Clear:"Törlés","Click to edit block":"Kattintson a blokk szerkesztéséhez",Close:"Bezárás","Close contextual balloons, dropdowns, and dialogs":"A környezetfüggÅ‘ buborékok, legördülÅ‘ listák és párbeszédpanelek bezárása","Content editing keystrokes":"Tartalom szerkesztési billentyűk","Copy selected content":"Kiválasztott tartalom másolása","Dim grey":"Halvány szürke","Drag to move":"Húzza a mozgatáshoz","Dropdown menu":"LegördülÅ‘ menü","Dropdown toolbar":"LenyÃló eszköztár","Edit block":"Blokk szerkesztése","Editor block content toolbar":"SzerkesztÅ‘ - tartalomblokk eszköztár","Editor contextual toolbar":"SzerkesztÅ‘ - szövegre vonatkozó eszköztár","Editor dialog":"SzerkesztÅ‘i párbeszédpanel","Editor menu bar":"SzerkesztÅ‘ menüsora","Editor toolbar":"SzerkesztÅ‘ eszköztár","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Az aktuálisan fókuszált gomb végrehajtása. A szerkesztÅ‘ tartalmával interakcióba lépÅ‘ gombok végrehajtása visszahelyezi a fókuszt a tartalomra.",File:"Fájl",Green:"Zöld",Grey:"Szürke","Help Contents. To close this dialog press ESC.":"Súgó tartalmak. A párbeszéd ablak bezárásához használd az ESC billentyűt.",HEX:"HEX szÃnkód","Insert a hard break (a new paragraph)":"Kemény sortörÅ‘ beszúrása (új bekezdés)","Insert a new paragraph directly after a widget":"Egy új bekezdés beszúrása közvetlenül a widget mögé","Insert a new paragraph directly before a widget":"Egy új bekezdés beszúrása közvetlenül a widget elé","Insert a soft break (a <code><br></code> element)":"Puha sortörÅ‘ beszúrása (egy <code><br></code> elem)","Insert image with file manager":"Illessze be a képet a fájlkezelÅ‘vel","Insert paragraph after block":"Bekezdés beszúrása utána","Insert paragraph before block":"Bekezdés beszúrása elé","Insert with file manager":"Beillesztés fájlkezelÅ‘vel","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Billentyűleütések, amelyek egy widget kiválasztásakor (például: kép, táblázat, stb.) használhatók","Light blue":"Világoskék","Light green":"Világoszöld","Light grey":"Világosszürke",MENU_BAR_MENU_EDIT:"Szerkesztés",MENU_BAR_MENU_FILE:"Fájl",MENU_BAR_MENU_FONT:"BetűtÃpus",MENU_BAR_MENU_FORMAT:"Formátum",MENU_BAR_MENU_HELP:"Súgó",MENU_BAR_MENU_INSERT:"Beszúrás",MENU_BAR_MENU_TEXT:"Szöveg",MENU_BAR_MENU_TOOLS:"Eszközök",MENU_BAR_MENU_VIEW:"MegjelenÃtés","Move focus between form fields (inputs, buttons, etc.)":"Fókusz mozgatása a mezÅ‘k között (inputok, gombok, stb.)","Move focus from an editable area back to the parent widget":"Helyezze vissza a fókuszt egy szerkeszthetÅ‘ területrÅ‘l a szülÅ‘ widgetre.","Move focus in and out of an active dialog window":"MozdÃtsd ki és be az aktÃv párbeszéd ablakot","Move focus to the menu bar, navigate between menu bars":"Fókusz áthelyezése a menüsorra, navigálás a menüsorok között","Move focus to the toolbar, navigate between toolbars":"Fókusz mozgatása az eszköztárhoz, navigáció az eszköztárak között","Move the caret to allow typing directly after a widget":"Mozgasd a kurzort, hogy közvetlenül a widget után tudj gépelni","Move the caret to allow typing directly before a widget":"Mozgasd a kurzort, hogy hogy közvetlenül a widget elé tudj gépelni","Navigate through the toolbar or menu bar":"Navigálás az eszköztáron vagy a menüsoron keresztül",Next:"KövetkezÅ‘","No results found":"Nincs találat","No searchable items":"Nincsenek kereshetÅ‘ elemek","Open the accessibility help dialog":"KisegÃtÅ‘ lehetÅ‘ségek súgó megnyitása",Orange:"Narancs","Paste content":"Tartalom beillesztése","Paste content as plain text":"Tartalom másolása egyszerű szövegként",'Please enter a valid color (e.g. "ff0000").':'Adjon meg egy érvényes szÃnt (pl. "ff0000").',"Press %0 for help.":"SegÃtségért nyomd le a %0 billentyűt.","Press Enter to type after or press Shift + Enter to type before the widget":"Az Enter billentyű megnyomásával a widget után, a Shift + Enter kombinációval pedig a widget elÅ‘tt Ãrhatja be a szöveget",Previous:"ElÅ‘zÅ‘",Purple:"Lila",Red:"Piros",Redo:"Újra","Remove color":"SzÃn eltávolÃtása","Replace image with file manager":"Cserélje ki a képet a fájlkezelÅ‘vel","Replace with file manager":"Kicserélés fájlkezelÅ‘vel","Restore default":"Alapértelmezés visszaállÃtása","Rich Text Editor":"BÅ‘vÃtett szövegszerkesztÅ‘","Rich Text Editor. Editing area: %0":"Rich text szerkesztÅ‘. Szerkesztési terület: %0",Save:"Mentés","Select all":"Mindet kijelöl","Show more items":"További elemek","These keyboard shortcuts allow for quick access to content editing features.":"Ezek a gyorsbillentyű parancsok lehetÅ‘vé teszik a tartalomszerkesztési funkciók gyors elérését.","Toggle caption off":"Felirat kikapcsolása","Toggle caption on":"Felirat bekapcsolása",Turquoise:"Türkiz",Undo:"Visszavonás","Upload in progress":"A feltöltés folyamatban","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Használd a következÅ‘ billentyűket a hatékonyabb navigációhoz a CKEditor 5 felhasználói felületen.","User interface and content navigation keystrokes":"Felhasználói felület és tartalom navigációs billentyűparancsok",White:"Fehér","Widget toolbar":"Widget eszköztár","With file manager":"FájlkezelÅ‘vel",Yellow:"Sárga"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.hu=e.hu||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(szükség lehet a <kbd>Fn</kbd> használatára)","%0 of %1":"%0 / %1",Accept:"Elfogad",Accessibility:"ElérhetÅ‘ség","Accessibility help":"KisegÃtÅ‘ lehetÅ‘ségek",Aquamarine:"Kékeszöld","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Alább megtalálod a szerkesztéshez használható gyorsbillentyűk listáját.",Black:"Fekete",Blue:"Kék",Cancel:"Mégsem","Cannot upload file:":"Nem sikerült a fájl feltöltése:",Clear:"Törlés","Click to edit block":"Kattintson a blokk szerkesztéséhez",Close:"Bezárás","Close contextual balloons, dropdowns, and dialogs":"A környezetfüggÅ‘ buborékok, legördülÅ‘ listák és párbeszédpanelek bezárása","Color picker":"SzÃn választása","Content editing keystrokes":"Tartalom szerkesztési billentyűk","Copy selected content":"Kiválasztott tartalom másolása","Dim grey":"Halvány szürke","Drag to move":"Húzza a mozgatáshoz","Dropdown menu":"LegördülÅ‘ menü","Dropdown toolbar":"LenyÃló eszköztár","Edit block":"Blokk szerkesztése","Editor block content toolbar":"SzerkesztÅ‘ - tartalomblokk eszköztár","Editor contextual toolbar":"SzerkesztÅ‘ - szövegre vonatkozó eszköztár","Editor dialog":"SzerkesztÅ‘i párbeszédpanel","Editor menu bar":"SzerkesztÅ‘ menüsora","Editor toolbar":"SzerkesztÅ‘ eszköztár","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Az aktuálisan fókuszált gomb végrehajtása. A szerkesztÅ‘ tartalmával interakcióba lépÅ‘ gombok végrehajtása visszahelyezi a fókuszt a tartalomra.",File:"Fájl",Green:"Zöld",Grey:"Szürke","Help Contents. To close this dialog press ESC.":"Súgó tartalmak. A párbeszéd ablak bezárásához használd az ESC billentyűt.",HEX:"HEX szÃnkód","Insert a hard break (a new paragraph)":"Kemény sortörÅ‘ beszúrása (új bekezdés)","Insert a new paragraph directly after a widget":"Egy új bekezdés beszúrása közvetlenül a widget mögé","Insert a new paragraph directly before a widget":"Egy új bekezdés beszúrása közvetlenül a widget elé","Insert a soft break (a <code><br></code> element)":"Puha sortörÅ‘ beszúrása (egy <code><br></code> elem)","Insert image with file manager":"Illessze be a képet a fájlkezelÅ‘vel","Insert paragraph after block":"Bekezdés beszúrása utána","Insert paragraph before block":"Bekezdés beszúrása elé","Insert with file manager":"Beillesztés fájlkezelÅ‘vel","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Billentyűleütések, amelyek egy widget kiválasztásakor (például: kép, táblázat, stb.) használhatók","Light blue":"Világoskék","Light green":"Világoszöld","Light grey":"Világosszürke",MENU_BAR_MENU_EDIT:"Szerkesztés",MENU_BAR_MENU_FILE:"Fájl",MENU_BAR_MENU_FONT:"BetűtÃpus",MENU_BAR_MENU_FORMAT:"Formátum",MENU_BAR_MENU_HELP:"Súgó",MENU_BAR_MENU_INSERT:"Beszúrás",MENU_BAR_MENU_TEXT:"Szöveg",MENU_BAR_MENU_TOOLS:"Eszközök",MENU_BAR_MENU_VIEW:"MegjelenÃtés","Move focus between form fields (inputs, buttons, etc.)":"Fókusz mozgatása a mezÅ‘k között (inputok, gombok, stb.)","Move focus from an editable area back to the parent widget":"Helyezze vissza a fókuszt egy szerkeszthetÅ‘ területrÅ‘l a szülÅ‘ widgetre.","Move focus in and out of an active dialog window":"MozdÃtsd ki és be az aktÃv párbeszéd ablakot","Move focus to the menu bar, navigate between menu bars":"Fókusz áthelyezése a menüsorra, navigálás a menüsorok között","Move focus to the toolbar, navigate between toolbars":"Fókusz mozgatása az eszköztárhoz, navigáció az eszköztárak között","Move the caret to allow typing directly after a widget":"Mozgasd a kurzort, hogy közvetlenül a widget után tudj gépelni","Move the caret to allow typing directly before a widget":"Mozgasd a kurzort, hogy hogy közvetlenül a widget elé tudj gépelni","Navigate through the toolbar or menu bar":"Navigálás az eszköztáron vagy a menüsoron keresztül",Next:"KövetkezÅ‘","No results found":"Nincs találat","No searchable items":"Nincsenek kereshetÅ‘ elemek","Open the accessibility help dialog":"KisegÃtÅ‘ lehetÅ‘ségek súgó megnyitása",Orange:"Narancs",Paragraph:"Bekezdés","Paste content":"Tartalom beillesztése","Paste content as plain text":"Tartalom másolása egyszerű szövegként",'Please enter a valid color (e.g. "ff0000").':'Adjon meg egy érvényes szÃnt (pl. "ff0000").',"Press %0 for help.":"SegÃtségért nyomd le a %0 billentyűt.","Press Enter to type after or press Shift + Enter to type before the widget":"Az Enter billentyű megnyomásával a widget után, a Shift + Enter kombinációval pedig a widget elÅ‘tt Ãrhatja be a szöveget",Previous:"ElÅ‘zÅ‘",Purple:"Lila",Red:"Piros",Redo:"Újra","Remove color":"SzÃn eltávolÃtása","Replace image with file manager":"Cserélje ki a képet a fájlkezelÅ‘vel","Replace with file manager":"Kicserélés fájlkezelÅ‘vel","Restore default":"Alapértelmezés visszaállÃtása","Rich Text Editor":"BÅ‘vÃtett szövegszerkesztÅ‘","Rich Text Editor. Editing area: %0":"Rich text szerkesztÅ‘. Szerkesztési terület: %0",Save:"Mentés","Select all":"Mindet kijelöl","Show more items":"További elemek","These keyboard shortcuts allow for quick access to content editing features.":"Ezek a gyorsbillentyű parancsok lehetÅ‘vé teszik a tartalomszerkesztési funkciók gyors elérését.","Toggle caption off":"Felirat kikapcsolása","Toggle caption on":"Felirat bekapcsolása",Turquoise:"Türkiz",Undo:"Visszavonás","Upload in progress":"A feltöltés folyamatban","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Használd a következÅ‘ billentyűket a hatékonyabb navigációhoz a CKEditor 5 felhasználói felületen.","User interface and content navigation keystrokes":"Felhasználói felület és tartalom navigációs billentyűparancsok",White:"Fehér","Widget toolbar":"Widget eszköztár","With file manager":"FájlkezelÅ‘vel",Yellow:"Sárga"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hy.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hy.js index 50bd3c67f186e8f1f14354e2b6e9f9b04b49961b..d21017d795ccf28e1ada1b819ccdcc9876b642ae 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hy.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/hy.js @@ -1 +1 @@ -!function(e){const t=e.hy=e.hy||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Accept:"",Cancel:"Õ‰Õ¥Õ²Õ¡Ö€Õ¯Õ¥Õ¬","Cannot upload file:":"",Clear:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"","Insert image with file manager":"","Insert with file manager":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"","Open the accessibility help dialog":"","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor. Editing area: %0":"",Save:"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","With file manager":""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.hy=e.hy||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Õ‰Õ¥Õ²Õ¡Ö€Õ¯Õ¥Õ¬","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/id.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/id.js index df43e867dcc46b3238470859fe2c3df96b44e6e4..60763867316a42f17614413c43876bf6dbe06e9a 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/id.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/id.js @@ -1 +1 @@ -!function(a){const e=a.id=a.id||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(mungkin memerlukan <kbd>Fn</kbd>)","%0 of %1":"%0 dari %1",Accept:"Setuju",Accessibility:"Aksesibilitas","Accessibility help":"Bantuan aksesibilitas",Aquamarine:"Biru laut","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Di bawah ini, Anda dapat menemukan daftar pintasan keyboard yang dapat digunakan di editor.",Black:"Hitam",Blue:"Biru",Cancel:"Batal","Cannot upload file:":"Tidak dapat mengunggah berkas:",Clear:"Kosongkan","Click to edit block":"Klik untuk mengedit blok",Close:"Tutup","Close contextual balloons, dropdowns, and dialogs":"Tutup balon kontekstual, menu tarik-turun, dan dialog","Content editing keystrokes":"Penekanan tombol untuk mengedit konten","Copy selected content":"Salin konten yang dipilih","Dim grey":"Kelabu gelap","Drag to move":"Seret untuk memindahkan","Dropdown menu":"Menu tarik-turun","Dropdown toolbar":"Alat dropdown","Edit block":"Sunting blok","Editor block content toolbar":"Bilah alat konten blok editor","Editor contextual toolbar":"Bilah alat kontekstual editor","Editor dialog":"Dialog editor","Editor menu bar":"Bilah menu editor","Editor toolbar":"Alat editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Jalankan tombol yang sedang difokuskan. Menjalankan tombol yang berinteraksi dengan konten editor akan memindahkan fokus kembali ke konten tersebut.",File:"File",Green:"Hijau",Grey:"Kelabu","Help Contents. To close this dialog press ESC.":"Konten Bantuan. Untuk menutup dialog ini, tekan ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Sisipkan hard break (paragraf baru)","Insert a new paragraph directly after a widget":"Sisipkan paragraf baru secara langsung setelah widget","Insert a new paragraph directly before a widget":"Sisipkan paragraf baru secara langsung sebelum widget","Insert a soft break (a <code><br></code> element)":"Sisipkan soft break (elemen <code><br></code> )","Insert image with file manager":"Sisipkan gambar dengan pengelola file","Insert paragraph after block":"Tambahkan paragraf setelah blok","Insert paragraph before block":"Tambahkan paragraf sebelum blok","Insert with file manager":"Sisipkan dengan pengelola file","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Penekanan tombol yang bisa dilakukan saat widget dipilih (contoh: gambar, tabel, dll.)","Light blue":"Biru terang","Light green":"Hijau terang","Light grey":"Kelabu terang",MENU_BAR_MENU_EDIT:"Ubah",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Fon",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Bantuan",MENU_BAR_MENU_INSERT:"Sisipkan",MENU_BAR_MENU_TEXT:"Teks",MENU_BAR_MENU_TOOLS:"Alat",MENU_BAR_MENU_VIEW:"Lihat","Move focus between form fields (inputs, buttons, etc.)":"Pindahkan fokus di antara bidang formulir (input, tombol, dll.)","Move focus from an editable area back to the parent widget":"Pindahkan fokus dari area yang dapat diedit kembali ke widget induk","Move focus in and out of an active dialog window":"Pindahkan fokus ke dalam dan ke luar jendela dialog yang aktif","Move focus to the menu bar, navigate between menu bars":"Pindahkan fokus ke bilah menu, telusuri di antara bilah-bilah menu","Move focus to the toolbar, navigate between toolbars":"Pindahkan fokus ke toolbar, jelajahi antar toolbar","Move the caret to allow typing directly after a widget":"Pindahkan tanda sisipan untuk memungkinkan mengetik langsung setelah widget","Move the caret to allow typing directly before a widget":"Pindahkan tanda sisipan untuk memungkinkan mengetik langsung setelah widget","Navigate through the toolbar or menu bar":"Telusuri bilah alat atau bilah menu",Next:"Berikutnya","No results found":"Hasil tidak ditemukan","No searchable items":"Tidak ada item yang dapat dicari","Open the accessibility help dialog":"Buka dialog bantuan aksesibilitas",Orange:"Jingga","Paste content":"Tempelkan konten","Paste content as plain text":"Tempelkan konten sebagai teks biasa",'Please enter a valid color (e.g. "ff0000").':"Silakan masukkan warna yang absah (e.g. “ff0000â€).","Press %0 for help.":"Tekan %0 untuk mendapatkan bantuan.","Press Enter to type after or press Shift + Enter to type before the widget":"Tekan Enter untuk mengetik setelah atau tekan Shift + Enter untuk mengetik sebelum widget",Previous:"Sebelumnya",Purple:"Ungu",Red:"Merah",Redo:"Lakukan lagi","Remove color":"Hapus warna","Replace image with file manager":"Ganti gambar dengan pengelola file","Replace with file manager":"Ganti dengan pengelola file","Restore default":"Pulihkan nilai baku","Rich Text Editor":"Editor Teks Kaya","Rich Text Editor. Editing area: %0":"Editor Teks Kaya. Area edit: %0",Save:"Simpan","Select all":"Pilih semua","Show more items":"Tampilkan lebih banyak item","These keyboard shortcuts allow for quick access to content editing features.":"Pintasan keyboard ini mengizinkan akses cepat ke fitur pengeditan konten.","Toggle caption off":"Sembunyikan keterangan","Toggle caption on":"Tampilkan keterangan",Turquoise:"Turkish",Undo:"Batal","Upload in progress":"Sedang mengunggah","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Gunakan penekanan tombol berikut untuk navigasi yang lebih efisien di antarmuka pengguna CKEditor 5.","User interface and content navigation keystrokes":"Antarmuka pengguna dan penekanan tombol navigasi konten",White:"Putih","Widget toolbar":"Alat widget","With file manager":"Dengan pengelola file",Yellow:"Kuning"}),e.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.id=a.id||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(mungkin memerlukan <kbd>Fn</kbd>)","%0 of %1":"%0 dari %1",Accept:"Setuju",Accessibility:"Aksesibilitas","Accessibility help":"Bantuan aksesibilitas",Aquamarine:"Biru laut","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Di bawah ini, Anda dapat menemukan daftar pintasan keyboard yang dapat digunakan di editor.",Black:"Hitam",Blue:"Biru",Cancel:"Batal","Cannot upload file:":"Tidak dapat mengunggah berkas:",Clear:"Kosongkan","Click to edit block":"Klik untuk mengedit blok",Close:"Tutup","Close contextual balloons, dropdowns, and dialogs":"Tutup balon kontekstual, menu tarik-turun, dan dialog","Color picker":"Pengambil warna","Content editing keystrokes":"Penekanan tombol untuk mengedit konten","Copy selected content":"Salin konten yang dipilih","Dim grey":"Kelabu gelap","Drag to move":"Seret untuk memindahkan","Dropdown menu":"Menu tarik-turun","Dropdown toolbar":"Alat dropdown","Edit block":"Sunting blok","Editor block content toolbar":"Bilah alat konten blok editor","Editor contextual toolbar":"Bilah alat kontekstual editor","Editor dialog":"Dialog editor","Editor menu bar":"Bilah menu editor","Editor toolbar":"Alat editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Jalankan tombol yang sedang difokuskan. Menjalankan tombol yang berinteraksi dengan konten editor akan memindahkan fokus kembali ke konten tersebut.",File:"File",Green:"Hijau",Grey:"Kelabu","Help Contents. To close this dialog press ESC.":"Konten Bantuan. Untuk menutup dialog ini, tekan ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Sisipkan hard break (paragraf baru)","Insert a new paragraph directly after a widget":"Sisipkan paragraf baru secara langsung setelah widget","Insert a new paragraph directly before a widget":"Sisipkan paragraf baru secara langsung sebelum widget","Insert a soft break (a <code><br></code> element)":"Sisipkan soft break (elemen <code><br></code> )","Insert image with file manager":"Sisipkan gambar dengan pengelola file","Insert paragraph after block":"Tambahkan paragraf setelah blok","Insert paragraph before block":"Tambahkan paragraf sebelum blok","Insert with file manager":"Sisipkan dengan pengelola file","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Penekanan tombol yang bisa dilakukan saat widget dipilih (contoh: gambar, tabel, dll.)","Light blue":"Biru terang","Light green":"Hijau terang","Light grey":"Kelabu terang",MENU_BAR_MENU_EDIT:"Ubah",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Fon",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Bantuan",MENU_BAR_MENU_INSERT:"Sisipkan",MENU_BAR_MENU_TEXT:"Teks",MENU_BAR_MENU_TOOLS:"Alat",MENU_BAR_MENU_VIEW:"Lihat","Move focus between form fields (inputs, buttons, etc.)":"Pindahkan fokus di antara bidang formulir (input, tombol, dll.)","Move focus from an editable area back to the parent widget":"Pindahkan fokus dari area yang dapat diedit kembali ke widget induk","Move focus in and out of an active dialog window":"Pindahkan fokus ke dalam dan ke luar jendela dialog yang aktif","Move focus to the menu bar, navigate between menu bars":"Pindahkan fokus ke bilah menu, telusuri di antara bilah-bilah menu","Move focus to the toolbar, navigate between toolbars":"Pindahkan fokus ke toolbar, jelajahi antar toolbar","Move the caret to allow typing directly after a widget":"Pindahkan tanda sisipan untuk memungkinkan mengetik langsung setelah widget","Move the caret to allow typing directly before a widget":"Pindahkan tanda sisipan untuk memungkinkan mengetik langsung setelah widget","Navigate through the toolbar or menu bar":"Telusuri bilah alat atau bilah menu",Next:"Berikutnya","No results found":"Hasil tidak ditemukan","No searchable items":"Tidak ada item yang dapat dicari","Open the accessibility help dialog":"Buka dialog bantuan aksesibilitas",Orange:"Jingga",Paragraph:"Paragraf","Paste content":"Tempelkan konten","Paste content as plain text":"Tempelkan konten sebagai teks biasa",'Please enter a valid color (e.g. "ff0000").':"Silakan masukkan warna yang absah (e.g. “ff0000â€).","Press %0 for help.":"Tekan %0 untuk mendapatkan bantuan.","Press Enter to type after or press Shift + Enter to type before the widget":"Tekan Enter untuk mengetik setelah atau tekan Shift + Enter untuk mengetik sebelum widget",Previous:"Sebelumnya",Purple:"Ungu",Red:"Merah",Redo:"Lakukan lagi","Remove color":"Hapus warna","Replace image with file manager":"Ganti gambar dengan pengelola file","Replace with file manager":"Ganti dengan pengelola file","Restore default":"Pulihkan nilai baku","Rich Text Editor":"Editor Teks Kaya","Rich Text Editor. Editing area: %0":"Editor Teks Kaya. Area edit: %0",Save:"Simpan","Select all":"Pilih semua","Show more items":"Tampilkan lebih banyak item","These keyboard shortcuts allow for quick access to content editing features.":"Pintasan keyboard ini mengizinkan akses cepat ke fitur pengeditan konten.","Toggle caption off":"Sembunyikan keterangan","Toggle caption on":"Tampilkan keterangan",Turquoise:"Turkish",Undo:"Batal","Upload in progress":"Sedang mengunggah","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Gunakan penekanan tombol berikut untuk navigasi yang lebih efisien di antarmuka pengguna CKEditor 5.","User interface and content navigation keystrokes":"Antarmuka pengguna dan penekanan tombol navigasi konten",White:"Putih","Widget toolbar":"Alat widget","With file manager":"Dengan pengelola file",Yellow:"Kuning"}),e.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/it.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/it.js index b0eeded6f3d24fc8df024ba3072aa6b03c89d296..73ae44e859b0b4efd835f40045e48961de637b8b 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/it.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/it.js @@ -1 +1 @@ -!function(e){const i=e.it=e.it||{};i.dictionary=Object.assign(i.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(può richiedere <kbd>Fn</kbd>)","%0 of %1":"%0 di %1",Accept:"Accetta",Accessibility:"Accessibilità ","Accessibility help":"Guida all'accessibilità ",Aquamarine:"Aquamarina","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Qui sotto puoi trovare un elenco di scorciatoie da tastiera che possono essere utilizzate nell'editor.",Black:"Nero",Blue:"Blu",Cancel:"Annulla","Cannot upload file:":"Impossibile caricare il file:",Clear:"Cancella","Click to edit block":"Clicca per modificare il blocco",Close:"Chiudi","Close contextual balloons, dropdowns, and dialogs":"Chiude menu a discesa, finestre di dialogo e callout contestuali","Content editing keystrokes":"Tasti per la modifica del contenuto","Copy selected content":"Copia il contenuto selezionato","Dim grey":"Grigio tenue","Drag to move":"Trascina per spostare","Dropdown menu":"Menu a discesa","Dropdown toolbar":"Barra degli strumenti del menu a discesa","Edit block":"Modifica blocco","Editor block content toolbar":"Barra degli strumenti contestuale dell'editor del blocco","Editor contextual toolbar":"Barra degli strumenti contestuale dell'editor","Editor dialog":"Finestra di dialogo dell'editor","Editor menu bar":"Barra dei menu dell'editor","Editor toolbar":"Barra degli strumenti dell'editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Esegui il pulsante attualmente selezionato. L'esecuzione dei pulsanti che interagiscono con il contenuto dell'editor riporta la selezione sul contenuto.",File:"File",Green:"Verde",Grey:"Grigio","Help Contents. To close this dialog press ESC.":"Sommario della guida. Per chiudere questa finestra di dialogo premi ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserisce un'interruzione di riga forzata (un nuovo paragrafo)","Insert a new paragraph directly after a widget":"Inserisce un nuovo paragrafo direttamente dopo un widget","Insert a new paragraph directly before a widget":"Inserisce un nuovo paragrafo direttamente prima di un widget","Insert a soft break (a <code><br></code> element)":"Inserisce un'interruzione di riga (un elemento <code><br></code>)","Insert image with file manager":"Inserisci l'immagine con il file manager","Insert paragraph after block":"Inserisci paragrafo dopo blocco","Insert paragraph before block":"Inserisci paragrafo prima di blocco","Insert with file manager":"Inserisci con file manager","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tasti che possono essere utilizzati quando viene selezionato un widget (ad esempio: immagine, tabella ecc.)","Light blue":"Azzurro","Light green":"Verde chiaro","Light grey":"Grigio chiaro",MENU_BAR_MENU_EDIT:"Modifica",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Carattere",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Aiuto",MENU_BAR_MENU_INSERT:"Inserisci",MENU_BAR_MENU_TEXT:"Testo",MENU_BAR_MENU_TOOLS:"Strumenti",MENU_BAR_MENU_VIEW:"Vista","Move focus between form fields (inputs, buttons, etc.)":"Seleziona/deseleziona i diversi campi del modulo (inserimenti, pulsanti ecc.)","Move focus from an editable area back to the parent widget":"Sposta lo stato attivo da un'area modificabile al widget principale","Move focus in and out of an active dialog window":"Seleziona/deseleziona una finestra di dialogo attiva","Move focus to the menu bar, navigate between menu bars":"Sposta la selezione sulla barra dei menu, naviga tra le barre dei menu","Move focus to the toolbar, navigate between toolbars":"Seleziona la barra degli strumenti, permette di spostarsi tra le barre degli strumenti","Move the caret to allow typing directly after a widget":"Sposta il cursore per consentire la digitazione direttamente dopo un widget","Move the caret to allow typing directly before a widget":"Sposta il cursore per consentire la digitazione direttamente prima di un widget","Navigate through the toolbar or menu bar":"Naviga nella barra degli strumenti o nella barra dei menu",Next:"Avanti","No results found":"Nessun risultato trovato","No searchable items":"Nessun elemento ricercabile","Open the accessibility help dialog":"Apre la finestra di dialogo della guida all'accessibilità ",Orange:"Arancio","Paste content":"Incolla il contenuto","Paste content as plain text":"Incolla il contenuto come testo normale",'Please enter a valid color (e.g. "ff0000").':'Inserisci un colore valido (ad esempio "ff0000").',"Press %0 for help.":"Premi %0 per aprire la guida.","Press Enter to type after or press Shift + Enter to type before the widget":"Premere Invio per inserire dopo il widget o premere Maiusc + Invio per inserire prima del widget",Previous:"Indietro",Purple:"Porpora",Red:"Rosso",Redo:"Ripristina","Remove color":"Rimuovi colore","Replace image with file manager":"Sostituisci l'immagine con il file manager","Replace with file manager":"Sostituisci con file manager","Restore default":"Ripristina predefinito","Rich Text Editor":"Editor di testo formattato","Rich Text Editor. Editing area: %0":"Editor Rich Text. Area di modifica: %0",Save:"Salva","Select all":"Seleziona tutto","Show more items":"Mostra più elementi","These keyboard shortcuts allow for quick access to content editing features.":"Queste scorciatoie da tastiera permettono di accedere velocemente alle funzionalità di modifica del contenuto.","Toggle caption off":"Disattiva didascalia","Toggle caption on":"Attiva didascalia",Turquoise:"Turchese",Undo:"Annulla","Upload in progress":"Caricamento in corso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Utilizza i seguenti tasti per una navigazione più efficiente nell'interfaccia utente di CKEditor 5.","User interface and content navigation keystrokes":"Tasti per la navigazione nell'interfaccia utente e nei contenuti",White:"Bianco","Widget toolbar":"Barra degli strumenti del widget","With file manager":"Con gestione file",Yellow:"Giallo"}),i.getPluralForm=function(e){return 1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.it=e.it||{};i.dictionary=Object.assign(i.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(può richiedere <kbd>Fn</kbd>)","%0 of %1":"%0 di %1",Accept:"Accetta",Accessibility:"Accessibilità ","Accessibility help":"Guida all'accessibilità ",Aquamarine:"Aquamarina","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Qui sotto puoi trovare un elenco di scorciatoie da tastiera che possono essere utilizzate nell'editor.",Black:"Nero",Blue:"Blu",Cancel:"Annulla","Cannot upload file:":"Impossibile caricare il file:",Clear:"Cancella","Click to edit block":"Clicca per modificare il blocco",Close:"Chiudi","Close contextual balloons, dropdowns, and dialogs":"Chiude menu a discesa, finestre di dialogo e callout contestuali","Color picker":"Selezione colore","Content editing keystrokes":"Tasti per la modifica del contenuto","Copy selected content":"Copia il contenuto selezionato","Dim grey":"Grigio tenue","Drag to move":"Trascina per spostare","Dropdown menu":"Menu a discesa","Dropdown toolbar":"Barra degli strumenti del menu a discesa","Edit block":"Modifica blocco","Editor block content toolbar":"Barra degli strumenti contestuale dell'editor del blocco","Editor contextual toolbar":"Barra degli strumenti contestuale dell'editor","Editor dialog":"Finestra di dialogo dell'editor","Editor menu bar":"Barra dei menu dell'editor","Editor toolbar":"Barra degli strumenti dell'editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Esegui il pulsante attualmente selezionato. L'esecuzione dei pulsanti che interagiscono con il contenuto dell'editor riporta la selezione sul contenuto.",File:"File",Green:"Verde",Grey:"Grigio","Help Contents. To close this dialog press ESC.":"Sommario della guida. Per chiudere questa finestra di dialogo premi ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserisce un'interruzione di riga forzata (un nuovo paragrafo)","Insert a new paragraph directly after a widget":"Inserisce un nuovo paragrafo direttamente dopo un widget","Insert a new paragraph directly before a widget":"Inserisce un nuovo paragrafo direttamente prima di un widget","Insert a soft break (a <code><br></code> element)":"Inserisce un'interruzione di riga (un elemento <code><br></code>)","Insert image with file manager":"Inserisci l'immagine con il file manager","Insert paragraph after block":"Inserisci paragrafo dopo blocco","Insert paragraph before block":"Inserisci paragrafo prima di blocco","Insert with file manager":"Inserisci con file manager","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tasti che possono essere utilizzati quando viene selezionato un widget (ad esempio: immagine, tabella ecc.)","Light blue":"Azzurro","Light green":"Verde chiaro","Light grey":"Grigio chiaro",MENU_BAR_MENU_EDIT:"Modifica",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Carattere",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Aiuto",MENU_BAR_MENU_INSERT:"Inserisci",MENU_BAR_MENU_TEXT:"Testo",MENU_BAR_MENU_TOOLS:"Strumenti",MENU_BAR_MENU_VIEW:"Vista","Move focus between form fields (inputs, buttons, etc.)":"Seleziona/deseleziona i diversi campi del modulo (inserimenti, pulsanti ecc.)","Move focus from an editable area back to the parent widget":"Sposta lo stato attivo da un'area modificabile al widget principale","Move focus in and out of an active dialog window":"Seleziona/deseleziona una finestra di dialogo attiva","Move focus to the menu bar, navigate between menu bars":"Sposta la selezione sulla barra dei menu, naviga tra le barre dei menu","Move focus to the toolbar, navigate between toolbars":"Seleziona la barra degli strumenti, permette di spostarsi tra le barre degli strumenti","Move the caret to allow typing directly after a widget":"Sposta il cursore per consentire la digitazione direttamente dopo un widget","Move the caret to allow typing directly before a widget":"Sposta il cursore per consentire la digitazione direttamente prima di un widget","Navigate through the toolbar or menu bar":"Naviga nella barra degli strumenti o nella barra dei menu",Next:"Avanti","No results found":"Nessun risultato trovato","No searchable items":"Nessun elemento ricercabile","Open the accessibility help dialog":"Apre la finestra di dialogo della guida all'accessibilità ",Orange:"Arancio",Paragraph:"Paragrafo","Paste content":"Incolla il contenuto","Paste content as plain text":"Incolla il contenuto come testo normale",'Please enter a valid color (e.g. "ff0000").':'Inserisci un colore valido (ad esempio "ff0000").',"Press %0 for help.":"Premi %0 per aprire la guida.","Press Enter to type after or press Shift + Enter to type before the widget":"Premere Invio per inserire dopo il widget o premere Maiusc + Invio per inserire prima del widget",Previous:"Indietro",Purple:"Porpora",Red:"Rosso",Redo:"Ripristina","Remove color":"Rimuovi colore","Replace image with file manager":"Sostituisci l'immagine con il file manager","Replace with file manager":"Sostituisci con file manager","Restore default":"Ripristina predefinito","Rich Text Editor":"Editor di testo formattato","Rich Text Editor. Editing area: %0":"Editor Rich Text. Area di modifica: %0",Save:"Salva","Select all":"Seleziona tutto","Show more items":"Mostra più elementi","These keyboard shortcuts allow for quick access to content editing features.":"Queste scorciatoie da tastiera permettono di accedere velocemente alle funzionalità di modifica del contenuto.","Toggle caption off":"Disattiva didascalia","Toggle caption on":"Attiva didascalia",Turquoise:"Turchese",Undo:"Annulla","Upload in progress":"Caricamento in corso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Utilizza i seguenti tasti per una navigazione più efficiente nell'interfaccia utente di CKEditor 5.","User interface and content navigation keystrokes":"Tasti per la navigazione nell'interfaccia utente e nei contenuti",White:"Bianco","Widget toolbar":"Barra degli strumenti del widget","With file manager":"Con gestione file",Yellow:"Giallo"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ja.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ja.js index 3fba5b7179773d742722e785e339fe1e9decdb14..fefa2d6999724b60c86b1e8309887c1c6d7ad5db 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ja.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ja.js @@ -1 +1 @@ -!function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd>ã‚ーãŒå¿…è¦ãªå ´åˆãŒã‚ã‚Šã¾ã™ï¼‰","%0 of %1":"%0/%1",Accept:"åŒæ„ã—ã¾ã™",Accessibility:"アクセシビリティ","Accessibility help":"アクセシビリティã«é–¢ã™ã‚‹ãƒ˜ãƒ«ãƒ—",Aquamarine:"è–„ã„é’ç·‘","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"エディターã§ä½¿ç”¨ã§ãã‚‹ã‚ーボードã®ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆä¸€è¦§ã‚’以下ã«ç¤ºã—ã¾ã™ã€‚",Black:"é»’",Blue:"é’",Cancel:"ã‚ャンセル","Cannot upload file:":"ファイルをアップãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“:",Clear:"消去","Click to edit block":"クリックã—ã¦ãƒ–ãƒãƒƒã‚¯ã‚’編集ã™ã‚‹",Close:"é–‰ã˜ã‚‹","Close contextual balloons, dropdowns, and dialogs":"コンテã‚ストãƒãƒ«ãƒ¼ãƒ³ã€ãƒ‰ãƒãƒƒãƒ—ダウンメニューã€ãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’é–‰ã˜ã‚‹","Content editing keystrokes":"コンテンツ編集ã®ã‚ーストãƒãƒ¼ã‚¯","Copy selected content":"é¸æŠžã—ãŸã‚³ãƒ³ãƒ†ãƒ³ãƒ„をコピーã™ã‚‹","Dim grey":"æš—ã„ç°è‰²","Drag to move":"ドラッグã—ã¦å‹•ã‹ã™","Dropdown menu":"ドãƒãƒƒãƒ—ダウンメニュー","Dropdown toolbar":"ドãƒãƒƒãƒ—ダウンツールãƒãƒ¼","Edit block":"ブãƒãƒƒã‚¯ã‚’編集","Editor block content toolbar":"エディター ブãƒãƒƒã‚¯ コンテンツ ツールãƒãƒ¼","Editor contextual toolbar":"エディター コンテクスト ツールãƒãƒ¼","Editor dialog":"エディタダイアãƒã‚°","Editor menu bar":"エディターメニューãƒãƒ¼","Editor toolbar":"エディタツールãƒãƒ¼","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"ç¾åœ¨ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã—ã¦ã„るボタンを実行。エディターコンテンツã«ä½œç”¨ã™ã‚‹ãƒœã‚¿ãƒ³ã‚’実行ã™ã‚‹ã¨ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã¯ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã«æˆ»ã‚Šã¾ã™ã€‚",File:"ファイル",Green:"ç·‘",Grey:"ç°è‰²","Help Contents. To close this dialog press ESC.":"ヘルプコンテンツã§ã™ã€‚ã“ã®ãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’é–‰ã˜ã‚‹ã«ã¯ã€Escã‚ーを押ã—ã¦ãã ã•ã„。",HEX:"HEX","Insert a hard break (a new paragraph)":"ãƒãƒ¼ãƒ‰ãƒ–レークを挿入ã™ã‚‹ï¼ˆæ–°ã—ã„パラグラフ)","Insert a new paragraph directly after a widget":"ウィジェットã®ç›´å¾Œã«æ–°ã—ã„パラグラフを挿入ã™ã‚‹","Insert a new paragraph directly before a widget":"ウィジェットã®ç›´å‰ã«æ–°ã—ã„パラグラフを挿入ã™ã‚‹","Insert a soft break (a <code><br></code> element)":"ソフトブレークを挿入ã™ã‚‹ï¼ˆ<code><br></code>è¦ç´ )","Insert image with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§ç”»åƒã‚’挿入","Insert paragraph after block":"ブãƒãƒƒã‚¯ã®å¾Œã«ãƒ‘ラグラフを挿入","Insert paragraph before block":"ブãƒãƒƒã‚¯ã®å‰ã«ãƒ‘ラグラフを挿入","Insert with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§æŒ¿å…¥","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ウィジェットãŒé¸æŠžã•ã‚Œã¦ã„る時ã«ä½¿ç”¨ã§ãã‚‹ã‚ーストãƒãƒ¼ã‚¯ï¼ˆä¾‹ï¼šç”»åƒã€ãƒ†ãƒ¼ãƒ–ルãªã©ï¼‰","Light blue":"明るã„é’","Light green":"明るã„ç·‘","Light grey":"明るã„ç°è‰²",MENU_BAR_MENU_EDIT:"編集",MENU_BAR_MENU_FILE:"ファイル",MENU_BAR_MENU_FONT:"フォント",MENU_BAR_MENU_FORMAT:"å½¢å¼",MENU_BAR_MENU_HELP:"ヘルプ",MENU_BAR_MENU_INSERT:"挿入",MENU_BAR_MENU_TEXT:"テã‚スト",MENU_BAR_MENU_TOOLS:"ツール",MENU_BAR_MENU_VIEW:"表示","Move focus between form fields (inputs, buttons, etc.)":"フォーカスをフォームフィールド(入力欄ã€ãƒœã‚¿ãƒ³ãªã©ï¼‰é–“ã§ç§»å‹•ã•ã›ã‚‹","Move focus from an editable area back to the parent widget":"編集å¯èƒ½ã‚¨ãƒªã‚¢ã‹ã‚‰è¦ªã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã¸ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚’戻ã™","Move focus in and out of an active dialog window":"フォーカスをアクティブãªãƒ€ã‚¤ã‚¢ãƒã‚°ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å†…外ã«ç§»å‹•ã•ã›ã‚‹","Move focus to the menu bar, navigate between menu bars":"フォーカスをメニューãƒãƒ¼ã«ç§»ã—ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼é–“ã§ç§»å‹•","Move focus to the toolbar, navigate between toolbars":"フォーカスをツールãƒãƒ¼ã¸ç§»å‹•ã•ã›ã¦ã€ãƒ„ールãƒãƒ¼ã‚’æ“作ã™ã‚‹","Move the caret to allow typing directly after a widget":"ã‚ャレットを移動ã•ã›ã¦ã€ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®ç›´å¾Œã‹ã‚‰å…¥åŠ›ã§ãるよã†ã«ã™ã‚‹","Move the caret to allow typing directly before a widget":"ã‚ャレットを移動ã•ã›ã¦ã€ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®ç›´å‰ã‹ã‚‰å…¥åŠ›ã§ãるよã†ã«ã™ã‚‹","Navigate through the toolbar or menu bar":"ツールãƒãƒ¼ã¾ãŸã¯ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼å†…を移動",Next:"次ã¸","No results found":"çµæžœã¯è¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸ","No searchable items":"検索å¯èƒ½ãªã‚¢ã‚¤ãƒ†ãƒ ãŒã‚ã‚Šã¾ã›ã‚“","Open the accessibility help dialog":"アクセシビリティã«é–¢ã™ã‚‹ãƒ˜ãƒ«ãƒ—ã®ãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’é–‹ã",Orange:"オレンジ","Paste content":"コンテンツを貼り付ã‘ã‚‹","Paste content as plain text":"コンテンツをプレーンテã‚ストã¨ã—ã¦è²¼ã‚Šä»˜ã‘ã‚‹",'Please enter a valid color (e.g. "ff0000").':'有効ãªè‰²ã‚’入力ã—ã¦ãã ã•ã„(例 "ff0000")。',"Press %0 for help.":"ヘルプを表示ã™ã‚‹ã«ã¯%0を押ã—ã¾ã™ã€‚","Press Enter to type after or press Shift + Enter to type before the widget":"Enterを押ã—ã¦ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®å¾Œã«å…¥åŠ›ã™ã‚‹ã‹ã€Shift + Enterを押ã—ã¦ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®å‰ã«å…¥åŠ›ã—ã¦ãã ã•ã„",Previous:"å‰ã¸",Purple:"ç´«",Red:"赤",Redo:"ã‚„ã‚Šç›´ã—","Remove color":"カラーを削除","Replace image with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§ç”»åƒã‚’ç½®æ›","Replace with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§ç½®æ›","Restore default":"åˆæœŸå€¤ã«æˆ»ã™","Rich Text Editor":"リッãƒãƒ†ã‚ストエディター","Rich Text Editor. Editing area: %0":"リッãƒãƒ†ã‚ストエディタ。編集エリア:%0",Save:"ä¿å˜","Select all":"ã™ã¹ã¦é¸æŠž","Show more items":"ä»–ã®é …目を表示","These keyboard shortcuts allow for quick access to content editing features.":"ã“れらã®ã‚ーボードショートカットを使用ã™ã‚‹ã¨ã€ã‚³ãƒ³ãƒ†ãƒ³ãƒ„編集機能ã«é€Ÿã‚„ã‹ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã™ã€‚","Toggle caption off":"ã‚ャプションをオフã«ã™ã‚‹","Toggle caption on":"ã‚ャプションをオンã«ã™ã‚‹",Turquoise:"水色",Undo:"å…ƒã«æˆ»ã™","Upload in progress":"アップãƒãƒ¼ãƒ‰ä¸","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"以下ã®ã‚ーストãƒãƒ¼ã‚¯ã‚’使用ã™ã‚‹ã¨ã€CKEditor 5ユーザーインターフェースをより効率的ã«æ“作ã§ãã¾ã™ã€‚","User interface and content navigation keystrokes":"ユーザーインターフェースã¨ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ナビゲーションã®ã‚ーストãƒãƒ¼ã‚¯",White:"白","Widget toolbar":"ウィジェットツールãƒãƒ¼","With file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ãƒ¼ä»˜ã",Yellow:"黄"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd>ã‚ーãŒå¿…è¦ãªå ´åˆãŒã‚ã‚Šã¾ã™ï¼‰","%0 of %1":"%0/%1",Accept:"åŒæ„ã—ã¾ã™",Accessibility:"アクセシビリティ","Accessibility help":"アクセシビリティã«é–¢ã™ã‚‹ãƒ˜ãƒ«ãƒ—",Aquamarine:"è–„ã„é’ç·‘","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"エディターã§ä½¿ç”¨ã§ãã‚‹ã‚ーボードã®ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆä¸€è¦§ã‚’以下ã«ç¤ºã—ã¾ã™ã€‚",Black:"é»’",Blue:"é’",Cancel:"ã‚ャンセル","Cannot upload file:":"ファイルをアップãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“:",Clear:"消去","Click to edit block":"クリックã—ã¦ãƒ–ãƒãƒƒã‚¯ã‚’編集ã™ã‚‹",Close:"é–‰ã˜ã‚‹","Close contextual balloons, dropdowns, and dialogs":"コンテã‚ストãƒãƒ«ãƒ¼ãƒ³ã€ãƒ‰ãƒãƒƒãƒ—ダウンメニューã€ãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’é–‰ã˜ã‚‹","Color picker":"カラーピッカー","Content editing keystrokes":"コンテンツ編集ã®ã‚ーストãƒãƒ¼ã‚¯","Copy selected content":"é¸æŠžã—ãŸã‚³ãƒ³ãƒ†ãƒ³ãƒ„をコピーã™ã‚‹","Dim grey":"æš—ã„ç°è‰²","Drag to move":"ドラッグã—ã¦å‹•ã‹ã™","Dropdown menu":"ドãƒãƒƒãƒ—ダウンメニュー","Dropdown toolbar":"ドãƒãƒƒãƒ—ダウンツールãƒãƒ¼","Edit block":"ブãƒãƒƒã‚¯ã‚’編集","Editor block content toolbar":"エディター ブãƒãƒƒã‚¯ コンテンツ ツールãƒãƒ¼","Editor contextual toolbar":"エディター コンテクスト ツールãƒãƒ¼","Editor dialog":"エディタダイアãƒã‚°","Editor menu bar":"エディターメニューãƒãƒ¼","Editor toolbar":"エディタツールãƒãƒ¼","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"ç¾åœ¨ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã—ã¦ã„るボタンを実行。エディターコンテンツã«ä½œç”¨ã™ã‚‹ãƒœã‚¿ãƒ³ã‚’実行ã™ã‚‹ã¨ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã¯ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã«æˆ»ã‚Šã¾ã™ã€‚",File:"ファイル",Green:"ç·‘",Grey:"ç°è‰²","Help Contents. To close this dialog press ESC.":"ヘルプコンテンツã§ã™ã€‚ã“ã®ãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’é–‰ã˜ã‚‹ã«ã¯ã€Escã‚ーを押ã—ã¦ãã ã•ã„。",HEX:"HEX","Insert a hard break (a new paragraph)":"ãƒãƒ¼ãƒ‰ãƒ–レークを挿入ã™ã‚‹ï¼ˆæ–°ã—ã„パラグラフ)","Insert a new paragraph directly after a widget":"ウィジェットã®ç›´å¾Œã«æ–°ã—ã„パラグラフを挿入ã™ã‚‹","Insert a new paragraph directly before a widget":"ウィジェットã®ç›´å‰ã«æ–°ã—ã„パラグラフを挿入ã™ã‚‹","Insert a soft break (a <code><br></code> element)":"ソフトブレークを挿入ã™ã‚‹ï¼ˆ<code><br></code>è¦ç´ )","Insert image with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§ç”»åƒã‚’挿入","Insert paragraph after block":"ブãƒãƒƒã‚¯ã®å¾Œã«ãƒ‘ラグラフを挿入","Insert paragraph before block":"ブãƒãƒƒã‚¯ã®å‰ã«ãƒ‘ラグラフを挿入","Insert with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§æŒ¿å…¥","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ウィジェットãŒé¸æŠžã•ã‚Œã¦ã„る時ã«ä½¿ç”¨ã§ãã‚‹ã‚ーストãƒãƒ¼ã‚¯ï¼ˆä¾‹ï¼šç”»åƒã€ãƒ†ãƒ¼ãƒ–ルãªã©ï¼‰","Light blue":"明るã„é’","Light green":"明るã„ç·‘","Light grey":"明るã„ç°è‰²",MENU_BAR_MENU_EDIT:"編集",MENU_BAR_MENU_FILE:"ファイル",MENU_BAR_MENU_FONT:"フォント",MENU_BAR_MENU_FORMAT:"å½¢å¼",MENU_BAR_MENU_HELP:"ヘルプ",MENU_BAR_MENU_INSERT:"挿入",MENU_BAR_MENU_TEXT:"テã‚スト",MENU_BAR_MENU_TOOLS:"ツール",MENU_BAR_MENU_VIEW:"表示","Move focus between form fields (inputs, buttons, etc.)":"フォーカスをフォームフィールド(入力欄ã€ãƒœã‚¿ãƒ³ãªã©ï¼‰é–“ã§ç§»å‹•ã•ã›ã‚‹","Move focus from an editable area back to the parent widget":"編集å¯èƒ½ã‚¨ãƒªã‚¢ã‹ã‚‰è¦ªã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã¸ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚’戻ã™","Move focus in and out of an active dialog window":"フォーカスをアクティブãªãƒ€ã‚¤ã‚¢ãƒã‚°ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å†…外ã«ç§»å‹•ã•ã›ã‚‹","Move focus to the menu bar, navigate between menu bars":"フォーカスをメニューãƒãƒ¼ã«ç§»ã—ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼é–“ã§ç§»å‹•","Move focus to the toolbar, navigate between toolbars":"フォーカスをツールãƒãƒ¼ã¸ç§»å‹•ã•ã›ã¦ã€ãƒ„ールãƒãƒ¼ã‚’æ“作ã™ã‚‹","Move the caret to allow typing directly after a widget":"ã‚ャレットを移動ã•ã›ã¦ã€ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®ç›´å¾Œã‹ã‚‰å…¥åŠ›ã§ãるよã†ã«ã™ã‚‹","Move the caret to allow typing directly before a widget":"ã‚ャレットを移動ã•ã›ã¦ã€ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®ç›´å‰ã‹ã‚‰å…¥åŠ›ã§ãるよã†ã«ã™ã‚‹","Navigate through the toolbar or menu bar":"ツールãƒãƒ¼ã¾ãŸã¯ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼å†…を移動",Next:"次ã¸","No results found":"çµæžœã¯è¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸ","No searchable items":"検索å¯èƒ½ãªã‚¢ã‚¤ãƒ†ãƒ ãŒã‚ã‚Šã¾ã›ã‚“","Open the accessibility help dialog":"アクセシビリティã«é–¢ã™ã‚‹ãƒ˜ãƒ«ãƒ—ã®ãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’é–‹ã",Orange:"オレンジ",Paragraph:"段è½","Paste content":"コンテンツを貼り付ã‘ã‚‹","Paste content as plain text":"コンテンツをプレーンテã‚ストã¨ã—ã¦è²¼ã‚Šä»˜ã‘ã‚‹",'Please enter a valid color (e.g. "ff0000").':'有効ãªè‰²ã‚’入力ã—ã¦ãã ã•ã„(例 "ff0000")。',"Press %0 for help.":"ヘルプを表示ã™ã‚‹ã«ã¯%0を押ã—ã¾ã™ã€‚","Press Enter to type after or press Shift + Enter to type before the widget":"Enterを押ã—ã¦ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®å¾Œã«å…¥åŠ›ã™ã‚‹ã‹ã€Shift + Enterを押ã—ã¦ã‚¦ã‚£ã‚¸ã‚§ãƒƒãƒˆã®å‰ã«å…¥åŠ›ã—ã¦ãã ã•ã„",Previous:"å‰ã¸",Purple:"ç´«",Red:"赤",Redo:"ã‚„ã‚Šç›´ã—","Remove color":"カラーを削除","Replace image with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§ç”»åƒã‚’ç½®æ›","Replace with file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ã§ç½®æ›","Restore default":"åˆæœŸå€¤ã«æˆ»ã™","Rich Text Editor":"リッãƒãƒ†ã‚ストエディター","Rich Text Editor. Editing area: %0":"リッãƒãƒ†ã‚ストエディタ。編集エリア:%0",Save:"ä¿å˜","Select all":"ã™ã¹ã¦é¸æŠž","Show more items":"ä»–ã®é …目を表示","These keyboard shortcuts allow for quick access to content editing features.":"ã“れらã®ã‚ーボードショートカットを使用ã™ã‚‹ã¨ã€ã‚³ãƒ³ãƒ†ãƒ³ãƒ„編集機能ã«é€Ÿã‚„ã‹ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã™ã€‚","Toggle caption off":"ã‚ャプションをオフã«ã™ã‚‹","Toggle caption on":"ã‚ャプションをオンã«ã™ã‚‹",Turquoise:"水色",Undo:"å…ƒã«æˆ»ã™","Upload in progress":"アップãƒãƒ¼ãƒ‰ä¸","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"以下ã®ã‚ーストãƒãƒ¼ã‚¯ã‚’使用ã™ã‚‹ã¨ã€CKEditor 5ユーザーインターフェースをより効率的ã«æ“作ã§ãã¾ã™ã€‚","User interface and content navigation keystrokes":"ユーザーインターフェースã¨ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ナビゲーションã®ã‚ーストãƒãƒ¼ã‚¯",White:"白","Widget toolbar":"ウィジェットツールãƒãƒ¼","With file manager":"ファイルマãƒãƒ¼ã‚¸ãƒ£ãƒ¼ä»˜ã",Yellow:"黄"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/jv.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/jv.js index 522f56dd4dae8ba0ea32f5ea1d4384f4916d4b97..c79c174fa9baaf09da7c686d597a821b2b65d392 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/jv.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/jv.js @@ -1 +1 @@ -!function(e){const t=e.jv=e.jv||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 saking %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Batal","Cannot upload file:":"Mboden saged ngirim berkas:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Ebah",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Tambah",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"","Remove color":"Busek warni","Replace image with file manager":"","Replace with file manager":"","Restore default":"Mangsulaken default","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Rimat","Show more items":"Tampilaken langkung kathah","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.jv=e.jv||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 saking %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Batal","Cannot upload file:":"Mboden saged ngirim berkas:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"Ebah",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Tambah",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"Busek warni","Replace image with file manager":"","Replace with file manager":"","Restore default":"Mangsulaken default","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Rimat","Select all":"","Show more items":"Tampilaken langkung kathah","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 0!==e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/km.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/km.js index 0bcdc2622705881087ffb23b2c0e3192a97778d0..9c5e895eebefd0f5004869bdd61250337a9b15d3 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/km.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/km.js @@ -1 +1 @@ -!function(e){const t=e.km=e.km||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"បោះបង់","Cannot upload file:":"មិនអាច​អាប់ឡូážâ€‹áž¯áž€ážŸáž¶ážšáŸ–",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"ធ្វើ​វិញ","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"កម្មវិធី​កែសម្រួល​អážáŸ’ážáž”ទ​សម្បូរបែប","Rich Text Editor. Editing area: %0":"",Save:"រក្សាទុ","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"លែង​ធ្វើ​វិញ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.km=e.km||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"បោះបង់","Cannot upload file:":"មិនអាច​អាប់ឡូážâ€‹áž¯áž€ážŸáž¶ážšáŸ–",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"កážáž¶ážážŽáŸ’ឌ","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"ធ្វើ​វិញ","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"កម្មវិធី​កែសម្រួល​អážáŸ’ážáž”ទ​សម្បូរបែប","Rich Text Editor. Editing area: %0":"",Save:"រក្សាទុ","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"លែង​ធ្វើ​វិញ","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/kn.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/kn.js index a6a2f5ac77135d392a44c163bb93ef5be17d3865..efaf6a223abfd71606abdf2ec8acf62f55133149 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/kn.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/kn.js @@ -1 +1 @@ -!function(e){const t=e.kn=e.kn||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"ರದà³à²¦à³à²®à²¾à²¡à³","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"â€à²®à²¤à³à²¤à³† ಮಾಡà³","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"â€à²¸à²®à³ƒà²¦à³à²§ ಪಠà³à²¯ ಸಂಪಾದಕâ€â€","Rich Text Editor. Editing area: %0":"",Save:"ಉಳಿಸà³","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"â€â€à²°à²¦à³à²¦à³","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.kn=e.kn||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"ರದà³à²¦à³à²®à²¾à²¡à³","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"ಪà³à²¯à²¾à²°à²¾à²—à³à²°à²¾à²«à³","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"â€à²®à²¤à³à²¤à³† ಮಾಡà³","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"â€à²¸à²®à³ƒà²¦à³à²§ ಪಠà³à²¯ ಸಂಪಾದಕâ€â€","Rich Text Editor. Editing area: %0":"",Save:"ಉಳಿಸà³","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"â€â€à²°à²¦à³à²¦à³","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ko.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ko.js index dccf8b88df05bfc3a6f1aa0fdb41ea9b6114cfc8..673cabb08fc68563ec3d8d5126ef73f4019fe9f9 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ko.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ko.js @@ -1 +1 @@ -!function(e){const t=e.ko=e.ko||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd> 키가 í•„ìš”í• ìˆ˜ 있ìŒ)","%0 of %1":"%0 / %1",Accept:"수ë½",Accessibility:"ì ‘ê·¼ì„±","Accessibility help":"ì ‘ê·¼ì„± ë„움ë§",Aquamarine:"ì—°í•œ ì²ë¡ìƒ‰","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"편집기ì—ì„œ ì‚¬ìš©í• ìˆ˜ 있는 키보드 단축키 목ë¡ì„ 아래ì—ì„œ 확ì¸í• 수 있습니다.",Black:"ê²€ì€ìƒ‰",Blue:"파랑색",Cancel:"취소","Cannot upload file:":"íŒŒì¼ ì—…ë¡œë“œí• ìˆ˜ ì—†ìŒ: ",Clear:"지우기","Click to edit block":"í´ë¦í•˜ì—¬ ë¸”ë¡ íŽ¸ì§‘",Close:"닫기","Close contextual balloons, dropdowns, and dialogs":"ìƒí™©ë³„ í’ì„ , ë“œë¡ë‹¤ìš´, 대화 ìƒìž 닫기","Content editing keystrokes":"콘í…ì¸ íŽ¸ì§‘ 키 ìž…ë ¥","Copy selected content":"ì„ íƒëœ 콘í…ì¸ ë³µì‚¬","Dim grey":"진한 회색","Drag to move":"드래그하여 ì´ë™","Dropdown menu":"ë“œë¡ë‹¤ìš´ 메뉴","Dropdown toolbar":"ë“œë¡ë‹¤ìš´ 툴바","Edit block":"편집 ì˜ì—","Editor block content toolbar":"편집기 ì˜ì— ë‚´ìš© 툴바","Editor contextual toolbar":"편집기 문맥 툴바","Editor dialog":"편집기 대화ìƒìž","Editor menu bar":"편집기 메뉴 표시줄","Editor toolbar":"편집기 툴바","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"현재 í¬ì»¤ìŠ¤ê°€ 맞춰진 ë²„íŠ¼ì„ ì‹¤í–‰í•©ë‹ˆë‹¤. 편집기 콘í…ì¸ ì™€ ìƒí˜¸ 작용하는 ë²„íŠ¼ì„ ì‹¤í–‰í•˜ë©´ í¬ì»¤ìŠ¤ê°€ 다시 콘í…ì¸ ë¡œ ì´ë™í•©ë‹ˆë‹¤.",File:"파ì¼",Green:"ì´ˆë¡ìƒ‰",Grey:"회색","Help Contents. To close this dialog press ESC.":"ë„ì›€ë§ ë‚´ìš©ìž…ë‹ˆë‹¤. ì´ ëŒ€í™” ìƒìžë¥¼ ë‹«ìœ¼ë ¤ë©´ ESC 키를 누르세요.",HEX:"HEX","Insert a hard break (a new paragraph)":"ë‹¨ë½ ë°”ê¿ˆ 삽입(새 단ë½)","Insert a new paragraph directly after a widget":"ìœ„ì ¯ 바로 ë’¤ì— ìƒˆ ë‹¨ë½ ì‚½ìž…","Insert a new paragraph directly before a widget":"ìœ„ì ¯ 바로 ì•žì— ìƒˆ ë‹¨ë½ ì‚½ìž…","Insert a soft break (a <code><br></code> element)":"줄 바꿈 삽입(<code><br></code> 요소)","Insert image with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 ì´ë¯¸ì§€ 삽입","Insert paragraph after block":"ë¸”ë¡ ë’¤ì— ë‹¨ë½ ì‚½ìž…","Insert paragraph before block":"ë¸”ë¡ ì•žì— ë‹¨ë½ ì‚½ìž…","Insert with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 삽입","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ìœ„ì ¯ì´ ì„ íƒë˜ì—ˆì„ ë•Œ ì‚¬ìš©í• ìˆ˜ 있는 키 ìž…ë ¥(예: ì´ë¯¸ì§€, í‘œ 등)","Light blue":"ì—°í•œ 파랑색","Light green":"ì—°í•œ ì´ˆë¡ìƒ‰","Light grey":"ë°ì€ 회색",MENU_BAR_MENU_EDIT:"ìˆ˜ì •",MENU_BAR_MENU_FILE:"파ì¼",MENU_BAR_MENU_FONT:"글꼴",MENU_BAR_MENU_FORMAT:"ì„œì‹",MENU_BAR_MENU_HELP:"ë„움ë§",MENU_BAR_MENU_INSERT:"삽입",MENU_BAR_MENU_TEXT:"í…스트",MENU_BAR_MENU_TOOLS:"ë„구",MENU_BAR_MENU_VIEW:"보기","Move focus between form fields (inputs, buttons, etc.)":"ì–‘ì‹ í•„ë“œ(ìž…ë ¥, 버튼 등) ê°„ì— í¬ì»¤ìŠ¤ ì´ë™","Move focus from an editable area back to the parent widget":"í¬ì»¤ìŠ¤ë¥¼ 편집 가능 ì˜ì—ì—ì„œ ë¶€ëª¨ìœ„ì ¯ìœ¼ë¡œ 옮기기","Move focus in and out of an active dialog window":"í™œì„±í™”ëœ ëŒ€í™” ì°½ 안팎으로 í¬ì»¤ìŠ¤ ì´ë™","Move focus to the menu bar, navigate between menu bars":"메뉴 표시줄로 í¬ì»¤ìŠ¤ ì´ë™, 메뉴 표시줄 íƒìƒ‰","Move focus to the toolbar, navigate between toolbars":"ë„구 모ìŒìœ¼ë¡œ í¬ì»¤ìŠ¤ ì´ë™, ë„구 ëª¨ìŒ ê°„ íƒìƒ‰","Move the caret to allow typing directly after a widget":"ìœ„ì ¯ 바로 ë’¤ì— ìž…ë ¥í• ìˆ˜ 있ë„ë¡ ì‚½ìž… 기호 ì´ë™","Move the caret to allow typing directly before a widget":"ìœ„ì ¯ 바로 ì•žì— ìž…ë ¥í• ìˆ˜ 있ë„ë¡ ì‚½ìž… 기호 ì´ë™","Navigate through the toolbar or menu bar":"ë„구 ëª¨ìŒ ë˜ëŠ” 메뉴 표시줄 íƒìƒ‰",Next:"다ìŒ","No results found":"ê²°ê³¼ ì°¾ì„ ìˆ˜ ì—†ìŒ","No searchable items":"검색 가능한 í•ëª© ì—†ìŒ","Open the accessibility help dialog":"ì ‘ê·¼ì„± ë„ì›€ë§ ëŒ€í™” ìƒìž 열기",Orange:"주황색","Paste content":"콘í…ì¸ ë¶™ì—¬ë„£ê¸°","Paste content as plain text":"콘í…ì¸ ë¥¼ ì¼ë°˜ í…스트로 붙여넣기",'Please enter a valid color (e.g. "ff0000").':'ìœ íš¨í•œ 색ìƒì„ ìž…ë ¥í•´ 주세요(예를 들어, "ff0000").',"Press %0 for help.":"ë„움ë§ì„ ë³´ë ¤ë©´ %0 키를 누르세요.","Press Enter to type after or press Shift + Enter to type before the widget":"엔터를 눌러서 ìœ„ì ¯ ë’¤ì— ìž…ë ¥í•˜ê±°ë‚˜ 시프트 + 엔터를 눌러서 ìœ„ì ¯ ì•žì— ìž…ë ¥í•˜ì„¸ìš”",Previous:"ì´ì „",Purple:"ë³´ë¼ìƒ‰",Red:"빨간색",Redo:"다시 실행","Remove color":"색깔 ì œê±°","Replace image with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 ì´ë¯¸ì§€ êµì²´","Replace with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 êµì²´","Restore default":"기본값 ë³µì›","Rich Text Editor":"ì„œì‹ ìžˆëŠ” í…스트 편집기","Rich Text Editor. Editing area: %0":"리치 í…스트 편집기. 편집 ì˜ì—: %0",Save:"ì €ìž¥","Select all":"ì „ì²´ ì„ íƒ","Show more items":"ë”보기","These keyboard shortcuts allow for quick access to content editing features.":"ì´ëŸ¬í•œ 키보드 단축키를 사용하면 콘í…ì¸ íŽ¸ì§‘ ê¸°ëŠ¥ì„ ë¹ ë¥´ê²Œ ì‚¬ìš©í• ìˆ˜ 있습니다.","Toggle caption off":"캡션 지우기","Toggle caption on":"캡션 넣기",Turquoise:"ì²ë¡ìƒ‰",Undo:"실행 취소","Upload in progress":"업로드 진행 중","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ë‹¤ìŒ í‚¤ ìž…ë ¥ì„ ì‚¬ìš©í•˜ì—¬ CKEditor 5 ì‚¬ìš©ìž ì¸í„°íŽ˜ì´ìŠ¤ë¥¼ ë” íš¨ìœ¨ì 으로 íƒìƒ‰í•˜ì„¸ìš”.","User interface and content navigation keystrokes":"ì‚¬ìš©ìž ì¸í„°íŽ˜ì´ìŠ¤ ë° ì½˜í…ì¸ íƒìƒ‰ 키 ìž…ë ¥",White:"í°ìƒ‰","Widget toolbar":"ìœ„ì ¯ 툴바","With file manager":"íŒŒì¼ ê´€ë¦¬ 버튼으로 ì´ë¯¸ì§€ 삽입",Yellow:"노랑색"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ko=e.ko||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd> 키가 í•„ìš”í• ìˆ˜ 있ìŒ)","%0 of %1":"%0 / %1",Accept:"수ë½",Accessibility:"ì ‘ê·¼ì„±","Accessibility help":"ì ‘ê·¼ì„± ë„움ë§",Aquamarine:"ì—°í•œ ì²ë¡ìƒ‰","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"편집기ì—ì„œ ì‚¬ìš©í• ìˆ˜ 있는 키보드 단축키 목ë¡ì„ 아래ì—ì„œ 확ì¸í• 수 있습니다.",Black:"ê²€ì€ìƒ‰",Blue:"파랑색",Cancel:"취소","Cannot upload file:":"íŒŒì¼ ì—…ë¡œë“œí• ìˆ˜ ì—†ìŒ: ",Clear:"지우기","Click to edit block":"í´ë¦í•˜ì—¬ ë¸”ë¡ íŽ¸ì§‘",Close:"닫기","Close contextual balloons, dropdowns, and dialogs":"ìƒí™©ë³„ í’ì„ , ë“œë¡ë‹¤ìš´, 대화 ìƒìž 닫기","Color picker":"ìƒ‰ìƒ ì„ íƒê¸°","Content editing keystrokes":"콘í…ì¸ íŽ¸ì§‘ 키 ìž…ë ¥","Copy selected content":"ì„ íƒëœ 콘í…ì¸ ë³µì‚¬","Dim grey":"진한 회색","Drag to move":"드래그하여 ì´ë™","Dropdown menu":"ë“œë¡ë‹¤ìš´ 메뉴","Dropdown toolbar":"ë“œë¡ë‹¤ìš´ 툴바","Edit block":"편집 ì˜ì—","Editor block content toolbar":"편집기 ì˜ì— ë‚´ìš© 툴바","Editor contextual toolbar":"편집기 문맥 툴바","Editor dialog":"편집기 대화ìƒìž","Editor menu bar":"편집기 메뉴 표시줄","Editor toolbar":"편집기 툴바","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"현재 í¬ì»¤ìŠ¤ê°€ 맞춰진 ë²„íŠ¼ì„ ì‹¤í–‰í•©ë‹ˆë‹¤. 편집기 콘í…ì¸ ì™€ ìƒí˜¸ 작용하는 ë²„íŠ¼ì„ ì‹¤í–‰í•˜ë©´ í¬ì»¤ìŠ¤ê°€ 다시 콘í…ì¸ ë¡œ ì´ë™í•©ë‹ˆë‹¤.",File:"파ì¼",Green:"ì´ˆë¡ìƒ‰",Grey:"회색","Help Contents. To close this dialog press ESC.":"ë„ì›€ë§ ë‚´ìš©ìž…ë‹ˆë‹¤. ì´ ëŒ€í™” ìƒìžë¥¼ ë‹«ìœ¼ë ¤ë©´ ESC 키를 누르세요.",HEX:"HEX","Insert a hard break (a new paragraph)":"ë‹¨ë½ ë°”ê¿ˆ 삽입(새 단ë½)","Insert a new paragraph directly after a widget":"ìœ„ì ¯ 바로 ë’¤ì— ìƒˆ ë‹¨ë½ ì‚½ìž…","Insert a new paragraph directly before a widget":"ìœ„ì ¯ 바로 ì•žì— ìƒˆ ë‹¨ë½ ì‚½ìž…","Insert a soft break (a <code><br></code> element)":"줄 바꿈 삽입(<code><br></code> 요소)","Insert image with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 ì´ë¯¸ì§€ 삽입","Insert paragraph after block":"ë¸”ë¡ ë’¤ì— ë‹¨ë½ ì‚½ìž…","Insert paragraph before block":"ë¸”ë¡ ì•žì— ë‹¨ë½ ì‚½ìž…","Insert with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 삽입","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ìœ„ì ¯ì´ ì„ íƒë˜ì—ˆì„ ë•Œ ì‚¬ìš©í• ìˆ˜ 있는 키 ìž…ë ¥(예: ì´ë¯¸ì§€, í‘œ 등)","Light blue":"ì—°í•œ 파랑색","Light green":"ì—°í•œ ì´ˆë¡ìƒ‰","Light grey":"ë°ì€ 회색",MENU_BAR_MENU_EDIT:"ìˆ˜ì •",MENU_BAR_MENU_FILE:"파ì¼",MENU_BAR_MENU_FONT:"글꼴",MENU_BAR_MENU_FORMAT:"ì„œì‹",MENU_BAR_MENU_HELP:"ë„움ë§",MENU_BAR_MENU_INSERT:"삽입",MENU_BAR_MENU_TEXT:"í…스트",MENU_BAR_MENU_TOOLS:"ë„구",MENU_BAR_MENU_VIEW:"보기","Move focus between form fields (inputs, buttons, etc.)":"ì–‘ì‹ í•„ë“œ(ìž…ë ¥, 버튼 등) ê°„ì— í¬ì»¤ìŠ¤ ì´ë™","Move focus from an editable area back to the parent widget":"í¬ì»¤ìŠ¤ë¥¼ 편집 가능 ì˜ì—ì—ì„œ ë¶€ëª¨ìœ„ì ¯ìœ¼ë¡œ 옮기기","Move focus in and out of an active dialog window":"í™œì„±í™”ëœ ëŒ€í™” ì°½ 안팎으로 í¬ì»¤ìŠ¤ ì´ë™","Move focus to the menu bar, navigate between menu bars":"메뉴 표시줄로 í¬ì»¤ìŠ¤ ì´ë™, 메뉴 표시줄 íƒìƒ‰","Move focus to the toolbar, navigate between toolbars":"ë„구 모ìŒìœ¼ë¡œ í¬ì»¤ìŠ¤ ì´ë™, ë„구 ëª¨ìŒ ê°„ íƒìƒ‰","Move the caret to allow typing directly after a widget":"ìœ„ì ¯ 바로 ë’¤ì— ìž…ë ¥í• ìˆ˜ 있ë„ë¡ ì‚½ìž… 기호 ì´ë™","Move the caret to allow typing directly before a widget":"ìœ„ì ¯ 바로 ì•žì— ìž…ë ¥í• ìˆ˜ 있ë„ë¡ ì‚½ìž… 기호 ì´ë™","Navigate through the toolbar or menu bar":"ë„구 ëª¨ìŒ ë˜ëŠ” 메뉴 표시줄 íƒìƒ‰",Next:"다ìŒ","No results found":"ê²°ê³¼ ì°¾ì„ ìˆ˜ ì—†ìŒ","No searchable items":"검색 가능한 í•ëª© ì—†ìŒ","Open the accessibility help dialog":"ì ‘ê·¼ì„± ë„ì›€ë§ ëŒ€í™” ìƒìž 열기",Orange:"주황색",Paragraph:"문단","Paste content":"콘í…ì¸ ë¶™ì—¬ë„£ê¸°","Paste content as plain text":"콘í…ì¸ ë¥¼ ì¼ë°˜ í…스트로 붙여넣기",'Please enter a valid color (e.g. "ff0000").':'ìœ íš¨í•œ 색ìƒì„ ìž…ë ¥í•´ 주세요(예를 들어, "ff0000").',"Press %0 for help.":"ë„움ë§ì„ ë³´ë ¤ë©´ %0 키를 누르세요.","Press Enter to type after or press Shift + Enter to type before the widget":"엔터를 눌러서 ìœ„ì ¯ ë’¤ì— ìž…ë ¥í•˜ê±°ë‚˜ 시프트 + 엔터를 눌러서 ìœ„ì ¯ ì•žì— ìž…ë ¥í•˜ì„¸ìš”",Previous:"ì´ì „",Purple:"ë³´ë¼ìƒ‰",Red:"빨간색",Redo:"다시 실행","Remove color":"색깔 ì œê±°","Replace image with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 ì´ë¯¸ì§€ êµì²´","Replace with file manager":"íŒŒì¼ ê´€ë¦¬ìžë¥¼ 사용하여 êµì²´","Restore default":"기본값 ë³µì›","Rich Text Editor":"ì„œì‹ ìžˆëŠ” í…스트 편집기","Rich Text Editor. Editing area: %0":"리치 í…스트 편집기. 편집 ì˜ì—: %0",Save:"ì €ìž¥","Select all":"ì „ì²´ ì„ íƒ","Show more items":"ë”보기","These keyboard shortcuts allow for quick access to content editing features.":"ì´ëŸ¬í•œ 키보드 단축키를 사용하면 콘í…ì¸ íŽ¸ì§‘ ê¸°ëŠ¥ì„ ë¹ ë¥´ê²Œ ì‚¬ìš©í• ìˆ˜ 있습니다.","Toggle caption off":"캡션 지우기","Toggle caption on":"캡션 넣기",Turquoise:"ì²ë¡ìƒ‰",Undo:"실행 취소","Upload in progress":"업로드 진행 중","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ë‹¤ìŒ í‚¤ ìž…ë ¥ì„ ì‚¬ìš©í•˜ì—¬ CKEditor 5 ì‚¬ìš©ìž ì¸í„°íŽ˜ì´ìŠ¤ë¥¼ ë” íš¨ìœ¨ì 으로 íƒìƒ‰í•˜ì„¸ìš”.","User interface and content navigation keystrokes":"ì‚¬ìš©ìž ì¸í„°íŽ˜ì´ìŠ¤ ë° ì½˜í…ì¸ íƒìƒ‰ 키 ìž…ë ¥",White:"í°ìƒ‰","Widget toolbar":"ìœ„ì ¯ 툴바","With file manager":"íŒŒì¼ ê´€ë¦¬ 버튼으로 ì´ë¯¸ì§€ 삽입",Yellow:"노랑색"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ku.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ku.js index f3e60c8afcd3788cbfbbc1f3763f5af61d6e4fe2..aefa2baa20a55c49e6ce50a5526425c62feddf16 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ku.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ku.js @@ -1 +1 @@ -!function(e){const t=e.ku=e.ku||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 Ù„Û• %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"شینی دەریایی","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Ú•Û•Ø´",Blue:"شین",Cancel:"هەڵوەشاندنەوە","Cannot upload file:":"Ù¾Û•Ú•Ú¯Û•Ú©Û• ناتوانرێت باربکرێت:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"ڕەساسی تاریک","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"تووڵامرازی لیستەیی","Edit block":"دەستکاری بلۆک","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"تووڵامرازی دەسکاریکەر","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"سەوز",Grey:"ڕەساسی","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"شینی ڕووناک","Light green":"سەوزی ڕووناک","Light grey":"ڕەساسی ڕووناک",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"دواتر","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"پرتەقاڵی",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پێشتر",Purple:"مۆر",Red:"سور",Redo:"هەلگەڕاندنەوە","Remove color":"لابردنی Ú•Û•Ù†Ú¯","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"سەرنوسەری دەقی بەپیت","Rich Text Editor. Editing area: %0":"",Save:"پاشکەوتکردن","Show more items":"بڕگەی زیاتر نیشانبدە","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"شینی ئاسمانی",Undo:"ÙˆÛ•Ú© خۆی Ù„ÛŽ بکەوە","Upload in progress":"بارکردنەکە Ù„Û• جێبەجێکردن دایە","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"سپی","Widget toolbar":"تووڵامرازی ویدجێت","With file manager":"",Yellow:"زەرد"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ku=e.ku||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 Ù„Û• %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"شینی دەریایی","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Ú•Û•Ø´",Blue:"شین",Cancel:"هەڵوەشاندنەوە","Cannot upload file:":"Ù¾Û•Ú•Ú¯Û•Ú©Û• ناتوانرێت باربکرێت:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"ڕەساسی تاریک","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"تووڵامرازی لیستەیی","Edit block":"دەستکاری بلۆک","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"تووڵامرازی دەسکاریکەر","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"سەوز",Grey:"ڕەساسی","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"شینی ڕووناک","Light green":"سەوزی ڕووناک","Light grey":"ڕەساسی ڕووناک",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"دواتر","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"پرتەقاڵی",Paragraph:"پەراگراÙ","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پێشتر",Purple:"مۆر",Red:"سور",Redo:"هەلگەڕاندنەوە","Remove color":"لابردنی Ú•Û•Ù†Ú¯","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"سەرنوسەری دەقی بەپیت","Rich Text Editor. Editing area: %0":"",Save:"پاشکەوتکردن","Select all":"","Show more items":"بڕگەی زیاتر نیشانبدە","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"شینی ئاسمانی",Undo:"ÙˆÛ•Ú© خۆی Ù„ÛŽ بکەوە","Upload in progress":"بارکردنەکە Ù„Û• جێبەجێکردن دایە","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"سپی","Widget toolbar":"تووڵامرازی ویدجێت","With file manager":"",Yellow:"زەرد"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lt.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lt.js index b3de6e7d66152fabffdf7cb65aee5d67476a4a5c..4f214e4befcf2f575229b7e0f1b99b0c7d3296a4 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lt.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lt.js @@ -1 +1 @@ -!function(a){const i=a.lt=a.lt||{};i.dictionary=Object.assign(i.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(gali reikalauti <kbd>Fn</kbd>)","%0 of %1":"%0 iÅ¡ %1",Accept:"Priimti",Accessibility:"Prieinamumas","Accessibility help":"Prieinamumo pagalba",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Žemiau galite rasti sparÄiųjų klavišų, kuriuos galima naudoti redaktoriuje, sÄ…raÅ¡Ä….",Black:"Juoda",Blue:"MÄ—lyna",Cancel:"AtÅ¡aukti","Cannot upload file:":"Negalima įkelti failo:",Clear:"IÅ¡valyti","Click to edit block":"SpustelÄ—kite norÄ—dami redaguoti blokÄ…",Close:"Uždaryti","Close contextual balloons, dropdowns, and dialogs":"Uždaryti kontekstinius praneÅ¡imus, iÅ¡skleidžiamuosius meniu ir dialogo langus","Content editing keystrokes":"Turinio redagavimo klavišų paspaudimai","Copy selected content":"Kopijuoti pasirinktÄ… turinį","Dim grey":"PilkÅ¡va","Drag to move":"Vilkite, kad perkeltumÄ—te","Dropdown menu":"IÅ¡skleidžiamasis meniu","Dropdown toolbar":"Ä®rankių juosta pasirenkamajame sÄ…raÅ¡e","Edit block":"Redaguoti blokÄ…","Editor block content toolbar":"Redaktoriaus bloko turinio įrankių juosta","Editor contextual toolbar":"Redaktoriaus kontekstinÄ— įrankių juosta","Editor dialog":"Redaktoriaus dialogo langas","Editor menu bar":"Redaktoriaus meniu juosta","Editor toolbar":"Redaktoriaus įrankių juosta","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Vykdyti Å¡iuo metu sufokusuotÄ… mygtukÄ…. Vykdant su redaktoriaus turiniu sÄ…veikaujanÄius mygtukus, fokusas yra perkeliamas atgal į turinį.",File:"Failas",Green:"Žalia",Grey:"Pilka","Help Contents. To close this dialog press ESC.":"Pagalbos turinys. NorÄ—dami uždaryti šį dialogo langÄ…, spauskite „ESC“.",HEX:"Å eÅ¡ioliktainÄ— reikÅ¡mÄ— (angl. HEX)","Insert a hard break (a new paragraph)":"Ä®terpti naujÄ… pastraipÄ…","Insert a new paragraph directly after a widget":"Ä®terpti naujÄ… pastraipÄ… iÅ¡kart po valdiklio","Insert a new paragraph directly before a widget":"Ä®terpti naujÄ… pastraipÄ… iÅ¡kart prieÅ¡ valdiklį","Insert a soft break (a <code><br></code> element)":"Ä®terpti eilutÄ—s lūžį (<code><br></code> elementas)","Insert image with file manager":"Ä®terpti paveikslÄ—lį naudojant failų tvarkyklÄ™","Insert paragraph after block":"Ä®kelti pastraipÄ… po bloko","Insert paragraph before block":"Ä®kelti pastraipÄ… prieÅ¡ blokÄ…","Insert with file manager":"Ä®terpti naudojant failų tvarkyklÄ™","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klavišų paspaudimai, kuriuos galima naudoti pasirinkus valdiklį (pavyzdžiui, vaizdÄ…, lentelÄ™ ir t. t.)","Light blue":"Å viesiai mÄ—lyna","Light green":"Å viesiai žalia","Light grey":"Å viesiai pilka",MENU_BAR_MENU_EDIT:"Redaguoti",MENU_BAR_MENU_FILE:"Failas",MENU_BAR_MENU_FONT:"Å riftas",MENU_BAR_MENU_FORMAT:"Formatuoti",MENU_BAR_MENU_HELP:"Pagalba",MENU_BAR_MENU_INSERT:"Ä®kelti",MENU_BAR_MENU_TEXT:"Tekstas",MENU_BAR_MENU_TOOLS:"Ä®rankiai",MENU_BAR_MENU_VIEW:"ŽiÅ«rÄ—ti","Move focus between form fields (inputs, buttons, etc.)":"Perkelti fokusÄ… tarp formos laukų (įvesÄių, klavišų ir t. t.)","Move focus from an editable area back to the parent widget":"Perkelti fokusÄ… iÅ¡ redaguojamos srities atgal į pagrindinį valdiklį","Move focus in and out of an active dialog window":"Perkelti fokusÄ… į ir iÅ¡ aktyvaus dialogo lango","Move focus to the menu bar, navigate between menu bars":"Perkelti žymeklį į meniu juostÄ…, narÅ¡yti tarp meniu juostų","Move focus to the toolbar, navigate between toolbars":"Perkelti fokusÄ… į įrankių juostÄ…, narÅ¡yti tarp įrankių juostų","Move the caret to allow typing directly after a widget":"Perkelkite žymeklį, kad bÅ«tų galima raÅ¡yti iÅ¡kart po valdiklio","Move the caret to allow typing directly before a widget":"Perkelkite žymeklį, kad bÅ«tų galima raÅ¡yti iÅ¡kart prieÅ¡ valdiklį","Navigate through the toolbar or menu bar":"NarÅ¡ykite po įrankių juostÄ… arba meniu juostÄ…",Next:"Kitas","No results found":"Nieko nerasta","No searchable items":"NÄ—ra paieÅ¡kos elementų","Open the accessibility help dialog":"Atidaryti prieinamumo pagalbos dialogo langÄ…",Orange:"OranžinÄ—","Paste content":"Ä®klijuoti turinį","Paste content as plain text":"Ä®klijuoti turinį kaip paprastÄ… tekstÄ…",'Please enter a valid color (e.g. "ff0000").':"Ä®veskite teisingÄ… spalvos formatÄ… (pvz., „ff0000“).","Press %0 for help.":"Spauskite %0, norÄ—dami gauti pagalbÄ….","Press Enter to type after or press Shift + Enter to type before the widget":"Paspauskite Enter, jei norite raÅ¡yti po valdiklio, arba paspauskite Shift + Enter, jei norite raÅ¡yti prieÅ¡ valdiklį.",Previous:"BuvÄ™s",Purple:"VioletinÄ—",Red:"Raudona",Redo:"Pirmyn","Remove color":"PaÅ¡alinti spalvÄ…","Replace image with file manager":"Pakeisti paveikslÄ—lį failų tvarkytuve","Replace with file manager":"Pakeisti failų tvarkykle","Restore default":"Atkurti numatytuosius","Rich Text Editor":"RaiÅ¡kiojo teksto redaktorius","Rich Text Editor. Editing area: %0":"RaiÅ¡kiojo teksto redaktorius. Redagavimo sritis: %0",Save:"IÅ¡saugoti","Select all":"Pasirinkti viskÄ…","Show more items":"Rodyti daugiau elementų","These keyboard shortcuts allow for quick access to content editing features.":"Å ie spartieji klaviÅ¡ai leidžia greitai pasiekti turinio redagavimo funkcijas.","Toggle caption off":"IÅ¡jungti antraÅ¡tÄ™","Toggle caption on":"Ä®jungti antraÅ¡tÄ™",Turquoise:"Turkio",Undo:"Atgal","Upload in progress":"Ä®kelima","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"NorÄ—dami efektyviau narÅ¡yti po „CKEditor 5“ naudotojo sÄ…sajÄ…, naudokite toliau nurodytus klavišų paspaudimus.","User interface and content navigation keystrokes":"Naudotojo sÄ…sajos ir turinio navigacijos klavišų paspaudimai",White:"Balta","Widget toolbar":"Valdiklių įrankių juosta","With file manager":"Naudojant failų tvarkyklÄ™",Yellow:"Geltona"}),i.getPluralForm=function(a){return a%10==1&&(a%100>19||a%100<11)?0:a%10>=2&&a%10<=9&&(a%100>19||a%100<11)?1:a%1!=0?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const i=a.lt=a.lt||{};i.dictionary=Object.assign(i.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(gali reikalauti <kbd>Fn</kbd>)","%0 of %1":"%0 iÅ¡ %1",Accept:"Priimti",Accessibility:"Prieinamumas","Accessibility help":"Prieinamumo pagalba",Aquamarine:"Aquamarine","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Žemiau galite rasti sparÄiųjų klavišų, kuriuos galima naudoti redaktoriuje, sÄ…raÅ¡Ä….",Black:"Juoda",Blue:"MÄ—lyna",Cancel:"AtÅ¡aukti","Cannot upload file:":"Negalima įkelti failo:",Clear:"IÅ¡valyti","Click to edit block":"SpustelÄ—kite norÄ—dami redaguoti blokÄ…",Close:"Uždaryti","Close contextual balloons, dropdowns, and dialogs":"Uždaryti kontekstinius praneÅ¡imus, iÅ¡skleidžiamuosius meniu ir dialogo langus","Color picker":"Spalvos ieÅ¡kiklis","Content editing keystrokes":"Turinio redagavimo klavišų paspaudimai","Copy selected content":"Kopijuoti pasirinktÄ… turinį","Dim grey":"PilkÅ¡va","Drag to move":"Vilkite, kad perkeltumÄ—te","Dropdown menu":"IÅ¡skleidžiamasis meniu","Dropdown toolbar":"Ä®rankių juosta pasirenkamajame sÄ…raÅ¡e","Edit block":"Redaguoti blokÄ…","Editor block content toolbar":"Redaktoriaus bloko turinio įrankių juosta","Editor contextual toolbar":"Redaktoriaus kontekstinÄ— įrankių juosta","Editor dialog":"Redaktoriaus dialogo langas","Editor menu bar":"Redaktoriaus meniu juosta","Editor toolbar":"Redaktoriaus įrankių juosta","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Vykdyti Å¡iuo metu sufokusuotÄ… mygtukÄ…. Vykdant su redaktoriaus turiniu sÄ…veikaujanÄius mygtukus, fokusas yra perkeliamas atgal į turinį.",File:"Failas",Green:"Žalia",Grey:"Pilka","Help Contents. To close this dialog press ESC.":"Pagalbos turinys. NorÄ—dami uždaryti šį dialogo langÄ…, spauskite „ESC“.",HEX:"Å eÅ¡ioliktainÄ— reikÅ¡mÄ— (angl. HEX)","Insert a hard break (a new paragraph)":"Ä®terpti naujÄ… pastraipÄ…","Insert a new paragraph directly after a widget":"Ä®terpti naujÄ… pastraipÄ… iÅ¡kart po valdiklio","Insert a new paragraph directly before a widget":"Ä®terpti naujÄ… pastraipÄ… iÅ¡kart prieÅ¡ valdiklį","Insert a soft break (a <code><br></code> element)":"Ä®terpti eilutÄ—s lūžį (<code><br></code> elementas)","Insert image with file manager":"Ä®terpti paveikslÄ—lį naudojant failų tvarkyklÄ™","Insert paragraph after block":"Ä®kelti pastraipÄ… po bloko","Insert paragraph before block":"Ä®kelti pastraipÄ… prieÅ¡ blokÄ…","Insert with file manager":"Ä®terpti naudojant failų tvarkyklÄ™","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klavišų paspaudimai, kuriuos galima naudoti pasirinkus valdiklį (pavyzdžiui, vaizdÄ…, lentelÄ™ ir t. t.)","Light blue":"Å viesiai mÄ—lyna","Light green":"Å viesiai žalia","Light grey":"Å viesiai pilka",MENU_BAR_MENU_EDIT:"Redaguoti",MENU_BAR_MENU_FILE:"Failas",MENU_BAR_MENU_FONT:"Å riftas",MENU_BAR_MENU_FORMAT:"Formatuoti",MENU_BAR_MENU_HELP:"Pagalba",MENU_BAR_MENU_INSERT:"Ä®kelti",MENU_BAR_MENU_TEXT:"Tekstas",MENU_BAR_MENU_TOOLS:"Ä®rankiai",MENU_BAR_MENU_VIEW:"ŽiÅ«rÄ—ti","Move focus between form fields (inputs, buttons, etc.)":"Perkelti fokusÄ… tarp formos laukų (įvesÄių, klavišų ir t. t.)","Move focus from an editable area back to the parent widget":"Perkelti fokusÄ… iÅ¡ redaguojamos srities atgal į pagrindinį valdiklį","Move focus in and out of an active dialog window":"Perkelti fokusÄ… į ir iÅ¡ aktyvaus dialogo lango","Move focus to the menu bar, navigate between menu bars":"Perkelti žymeklį į meniu juostÄ…, narÅ¡yti tarp meniu juostų","Move focus to the toolbar, navigate between toolbars":"Perkelti fokusÄ… į įrankių juostÄ…, narÅ¡yti tarp įrankių juostų","Move the caret to allow typing directly after a widget":"Perkelkite žymeklį, kad bÅ«tų galima raÅ¡yti iÅ¡kart po valdiklio","Move the caret to allow typing directly before a widget":"Perkelkite žymeklį, kad bÅ«tų galima raÅ¡yti iÅ¡kart prieÅ¡ valdiklį","Navigate through the toolbar or menu bar":"NarÅ¡ykite po įrankių juostÄ… arba meniu juostÄ…",Next:"Kitas","No results found":"Nieko nerasta","No searchable items":"NÄ—ra paieÅ¡kos elementų","Open the accessibility help dialog":"Atidaryti prieinamumo pagalbos dialogo langÄ…",Orange:"OranžinÄ—",Paragraph:"Paragrafas","Paste content":"Ä®klijuoti turinį","Paste content as plain text":"Ä®klijuoti turinį kaip paprastÄ… tekstÄ…",'Please enter a valid color (e.g. "ff0000").':"Ä®veskite teisingÄ… spalvos formatÄ… (pvz., „ff0000“).","Press %0 for help.":"Spauskite %0, norÄ—dami gauti pagalbÄ….","Press Enter to type after or press Shift + Enter to type before the widget":"Paspauskite Enter, jei norite raÅ¡yti po valdiklio, arba paspauskite Shift + Enter, jei norite raÅ¡yti prieÅ¡ valdiklį.",Previous:"BuvÄ™s",Purple:"VioletinÄ—",Red:"Raudona",Redo:"Pirmyn","Remove color":"PaÅ¡alinti spalvÄ…","Replace image with file manager":"Pakeisti paveikslÄ—lį failų tvarkytuve","Replace with file manager":"Pakeisti failų tvarkykle","Restore default":"Atkurti numatytuosius","Rich Text Editor":"RaiÅ¡kiojo teksto redaktorius","Rich Text Editor. Editing area: %0":"RaiÅ¡kiojo teksto redaktorius. Redagavimo sritis: %0",Save:"IÅ¡saugoti","Select all":"Pasirinkti viskÄ…","Show more items":"Rodyti daugiau elementų","These keyboard shortcuts allow for quick access to content editing features.":"Å ie spartieji klaviÅ¡ai leidžia greitai pasiekti turinio redagavimo funkcijas.","Toggle caption off":"IÅ¡jungti antraÅ¡tÄ™","Toggle caption on":"Ä®jungti antraÅ¡tÄ™",Turquoise:"Turkio",Undo:"Atgal","Upload in progress":"Ä®kelima","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"NorÄ—dami efektyviau narÅ¡yti po „CKEditor 5“ naudotojo sÄ…sajÄ…, naudokite toliau nurodytus klavišų paspaudimus.","User interface and content navigation keystrokes":"Naudotojo sÄ…sajos ir turinio navigacijos klavišų paspaudimai",White:"Balta","Widget toolbar":"Valdiklių įrankių juosta","With file manager":"Naudojant failų tvarkyklÄ™",Yellow:"Geltona"}),i.getPluralForm=function(a){return a%10==1&&a%100!=11?0:a%10>=2&&(a%100<10||a%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lv.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lv.js index 7cb1e3d892594a22a65f33ff2f776b0dd96b6f56..172b936a9523d3364ca257d7001b6e13febb5ed6 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lv.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/lv.js @@ -1 +1 @@ -!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(var bÅ«t nepiecieÅ¡ams <kbd>Fn</kbd>)","%0 of %1":"%0 no %1",Accept:"ApstiprinÄt",Accessibility:"PieejamÄ«ba","Accessibility help":"PiekļūstamÄ«bas palÄ«dzÄ«ba",Aquamarine:"AkvamarÄ«ns","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ZemÄk skatÄ«t Ä«sinÄjumtaustiņu sarakstu, ko var izmantot redaktorÄ.",Black:"Melns",Blue:"Zils",Cancel:"Atcelt","Cannot upload file:":"Nevar augÅ¡upielÄdÄ“t failu:",Clear:"NotÄ«rÄ«t","Click to edit block":"NoklikÅ¡Ä·iniet, lai rediģētu sadaļu",Close:"AizvÄ“rt","Close contextual balloons, dropdowns, and dialogs":"AizvÄ“rt kontekstuÄlÄs joslas, nolaižamÄs izvÄ“lnes un dialoglodziņus","Content editing keystrokes":"Satura rediģēšanas taustiņsitieni","Copy selected content":"KopÄ“t atlasÄ«to saturu","Dim grey":"BlÄvi pelÄ“ks","Drag to move":"Velciet, lai pÄrvietotu","Dropdown menu":"NolaižamÄ izvÄ“lne","Dropdown toolbar":"Papildus izvÄ“lnes rÄ«kjosla","Edit block":"Labot bloku","Editor block content toolbar":"Rediģēšanas bloka satura rÄ«kjosla","Editor contextual toolbar":"Redaktora konteksta rÄ«kjosla","Editor dialog":"Redaktora dialoglodziņš","Editor menu bar":"Redaktora izvÄ“lņu josla","Editor toolbar":"Redaktora rÄ«kjosla","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Izpildiet paÅ¡laik fokusÄ“to pogu. Izpildot pogas, kas mijiedarbojas ar redaktora saturu, fokuss tiek pÄrvietots atpakaļ uz saturu.",File:"Fails",Green:"Zaļš",Grey:"PelÄ“ks","Help Contents. To close this dialog press ESC.":"PalÄ«dzÄ«bas saturs. Lai aizvÄ“rtu Å¡o dialoglodziņu, nospiest ESC.",HEX:"HEX KrÄsu kods","Insert a hard break (a new paragraph)":"Ievietot stingro rindiņas pÄrtraukumu (jaunu rindkopu)","Insert a new paragraph directly after a widget":"Ievietot jaunu rindkopu tieÅ¡i aiz logrÄ«ka","Insert a new paragraph directly before a widget":"Ievietot jaunu rindkopu tieÅ¡i pirms logrÄ«ka","Insert a soft break (a <code><br></code> element)":"Ievietot rindiņas pÄrtraukumu (<code><br></code> elements)","Insert image with file manager":"Ievietojiet attÄ“lu, izmantojot failu pÄrvaldnieku","Insert paragraph after block":"Ievietot paragrÄfu aiz bloka","Insert paragraph before block":"Ievietot paragrÄfu pirms bloka","Insert with file manager":"Ievietot, izmantojot failu pÄrvaldnieku","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Taustiņsitieni, kurus var izmantot, kad ir atlasÄ«ts logrÄ«ks (piemÄ“ram, attÄ“ls, tabula utt.)","Light blue":"GaiÅ¡i zils","Light green":"GaiÅ¡i zaļš","Light grey":"GaiÅ¡i pelÄ“ks",MENU_BAR_MENU_EDIT:"Labot",MENU_BAR_MENU_FILE:"Fails",MENU_BAR_MENU_FONT:"Fonts",MENU_BAR_MENU_FORMAT:"FormÄts",MENU_BAR_MENU_HELP:"PalÄ«dzÄ«ba",MENU_BAR_MENU_INSERT:"Ievietot",MENU_BAR_MENU_TEXT:"Teksts",MENU_BAR_MENU_TOOLS:"RÄ«ki",MENU_BAR_MENU_VIEW:"SkatÄ«t","Move focus between form fields (inputs, buttons, etc.)":"PÄrvietot fokusu starp laukiem (ievades, pogas u.tml.)","Move focus from an editable area back to the parent widget":"Mainiet fokusu no rediģējamÄ apgabala uz pamatrÄ«ku","Move focus in and out of an active dialog window":"PÄrvietot fokusu aktÄ«vajÄ dialoglodziÅ†Ä un no tÄ","Move focus to the menu bar, navigate between menu bars":"PÄrvietot fokusu uz izvēļņu joslu, pÄrvietoties starp izvēļņu joslÄm","Move focus to the toolbar, navigate between toolbars":"PÄrvietot fokusu uz rÄ«kjoslu, pÄrvietoties starp rÄ«kjoslÄm","Move the caret to allow typing directly after a widget":"PÄrvietot kursoru, lai rakstÄ«tu tieÅ¡i aiz logrÄ«ka","Move the caret to allow typing directly before a widget":"PÄrvietot kursoru, lai rakstÄ«tu tieÅ¡i pirms logrÄ«ka","Navigate through the toolbar or menu bar":"PÄrvietojieties rÄ«kjoslÄ vai izvÄ“lņu joslÄ",Next:"NÄkamÄ","No results found":"Nekas nav atrasts","No searchable items":"Nav meklÄ“jamu vienumu","Open the accessibility help dialog":"AtvÄ“rt piekļūstamÄ«bas palÄ«dzÄ«bas dialoglodziņu",Orange:"Oranžs","Paste content":"IelÄ«mÄ“t saturu","Paste content as plain text":"IelÄ«mÄ“t saturu kÄ tekstu",'Please enter a valid color (e.g. "ff0000").':'LÅ«dzu, ievadiet derÄ«gu krÄsu (piemÄ“ram, "ff0000").',"Press %0 for help.":"Lai saņemtu palÄ«dzÄ«bu, nospiest %0.","Press Enter to type after or press Shift + Enter to type before the widget":"Nospiediet taustiņu Enter, lai rakstÄ«tu aiz logrÄ«ka, vai nospiediet taustiņu Shift + Enter, lai rakstÄ«tu pirms logrÄ«ka",Previous:"IepriekÅ¡Ä“jÄ",Purple:"Violets",Red:"Sarkans",Redo:"Uz priekÅ¡u","Remove color":"Noņemt krÄsu","Replace image with file manager":"AizstÄt attÄ“lu, izmantojot failu pÄrvaldnieku","Replace with file manager":"AizstÄt, izmantojot failu pÄrvaldnieku","Restore default":"Atgriezt noklusÄ“jumu","Rich Text Editor":"BagÄtinÄtais Teksta Redaktors","Rich Text Editor. Editing area: %0":"BagÄtÄ«ga Teksta Redaktors. Rediģēšanas zona: %0",Save:"SaglabÄt","Select all":"IzvÄ“lÄ“ties visu","Show more items":"ParÄdÄ«t vairÄk vienumus","These keyboard shortcuts allow for quick access to content editing features.":"Å ie Ä«sinÄjumtaustiņi ļauj Ätri piekļūt satura rediģēšanas funkcijÄm.","Toggle caption off":"IzslÄ“gt tabulas parakstu","Toggle caption on":"IeslÄ“gt tabulas parakstu",Turquoise:"TirkÄ«za",Undo:"Atsaukt","Upload in progress":"Notiek augÅ¡upielÄde","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Izmantot tÄlÄk norÄdÄ«tos taustiņsitienus, lai nodroÅ¡inÄtu efektÄ«vÄku navigÄciju CKEditor 5 lietotÄja saskarnÄ“.","User interface and content navigation keystrokes":"LietotÄja interfeisa un satura navigÄcijas taustiņsitieni",White:"Balts","Widget toolbar":"SÄ«krÄ«ku rÄ«kjosla","With file manager":"Izmantojot failu pÄrvaldnieku",Yellow:"Dzeltens"}),e.getPluralForm=function(t){return t%10==1&&t%100!=11?0:0!=t?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(var bÅ«t nepiecieÅ¡ams <kbd>Fn</kbd>)","%0 of %1":"%0 no %1",Accept:"ApstiprinÄt",Accessibility:"PieejamÄ«ba","Accessibility help":"PiekļūstamÄ«bas palÄ«dzÄ«ba",Aquamarine:"AkvamarÄ«ns","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ZemÄk skatÄ«t Ä«sinÄjumtaustiņu sarakstu, ko var izmantot redaktorÄ.",Black:"Melns",Blue:"Zils",Cancel:"Atcelt","Cannot upload file:":"Nevar augÅ¡upielÄdÄ“t failu:",Clear:"NotÄ«rÄ«t","Click to edit block":"NoklikÅ¡Ä·iniet, lai rediģētu sadaļu",Close:"AizvÄ“rt","Close contextual balloons, dropdowns, and dialogs":"AizvÄ“rt kontekstuÄlÄs joslas, nolaižamÄs izvÄ“lnes un dialoglodziņus","Color picker":"KrÄsu palete","Content editing keystrokes":"Satura rediģēšanas taustiņsitieni","Copy selected content":"KopÄ“t atlasÄ«to saturu","Dim grey":"BlÄvi pelÄ“ks","Drag to move":"Velciet, lai pÄrvietotu","Dropdown menu":"NolaižamÄ izvÄ“lne","Dropdown toolbar":"Papildus izvÄ“lnes rÄ«kjosla","Edit block":"Labot bloku","Editor block content toolbar":"Rediģēšanas bloka satura rÄ«kjosla","Editor contextual toolbar":"Redaktora konteksta rÄ«kjosla","Editor dialog":"Redaktora dialoglodziņš","Editor menu bar":"Redaktora izvÄ“lņu josla","Editor toolbar":"Redaktora rÄ«kjosla","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Izpildiet paÅ¡laik fokusÄ“to pogu. Izpildot pogas, kas mijiedarbojas ar redaktora saturu, fokuss tiek pÄrvietots atpakaļ uz saturu.",File:"Fails",Green:"Zaļš",Grey:"PelÄ“ks","Help Contents. To close this dialog press ESC.":"PalÄ«dzÄ«bas saturs. Lai aizvÄ“rtu Å¡o dialoglodziņu, nospiest ESC.",HEX:"HEX KrÄsu kods","Insert a hard break (a new paragraph)":"Ievietot stingro rindiņas pÄrtraukumu (jaunu rindkopu)","Insert a new paragraph directly after a widget":"Ievietot jaunu rindkopu tieÅ¡i aiz logrÄ«ka","Insert a new paragraph directly before a widget":"Ievietot jaunu rindkopu tieÅ¡i pirms logrÄ«ka","Insert a soft break (a <code><br></code> element)":"Ievietot rindiņas pÄrtraukumu (<code><br></code> elements)","Insert image with file manager":"Ievietojiet attÄ“lu, izmantojot failu pÄrvaldnieku","Insert paragraph after block":"Ievietot paragrÄfu aiz bloka","Insert paragraph before block":"Ievietot paragrÄfu pirms bloka","Insert with file manager":"Ievietot, izmantojot failu pÄrvaldnieku","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Taustiņsitieni, kurus var izmantot, kad ir atlasÄ«ts logrÄ«ks (piemÄ“ram, attÄ“ls, tabula utt.)","Light blue":"GaiÅ¡i zils","Light green":"GaiÅ¡i zaļš","Light grey":"GaiÅ¡i pelÄ“ks",MENU_BAR_MENU_EDIT:"Labot",MENU_BAR_MENU_FILE:"Fails",MENU_BAR_MENU_FONT:"Fonts",MENU_BAR_MENU_FORMAT:"FormÄts",MENU_BAR_MENU_HELP:"PalÄ«dzÄ«ba",MENU_BAR_MENU_INSERT:"Ievietot",MENU_BAR_MENU_TEXT:"Teksts",MENU_BAR_MENU_TOOLS:"RÄ«ki",MENU_BAR_MENU_VIEW:"SkatÄ«t","Move focus between form fields (inputs, buttons, etc.)":"PÄrvietot fokusu starp laukiem (ievades, pogas u.tml.)","Move focus from an editable area back to the parent widget":"Mainiet fokusu no rediģējamÄ apgabala uz pamatrÄ«ku","Move focus in and out of an active dialog window":"PÄrvietot fokusu aktÄ«vajÄ dialoglodziÅ†Ä un no tÄ","Move focus to the menu bar, navigate between menu bars":"PÄrvietot fokusu uz izvēļņu joslu, pÄrvietoties starp izvēļņu joslÄm","Move focus to the toolbar, navigate between toolbars":"PÄrvietot fokusu uz rÄ«kjoslu, pÄrvietoties starp rÄ«kjoslÄm","Move the caret to allow typing directly after a widget":"PÄrvietot kursoru, lai rakstÄ«tu tieÅ¡i aiz logrÄ«ka","Move the caret to allow typing directly before a widget":"PÄrvietot kursoru, lai rakstÄ«tu tieÅ¡i pirms logrÄ«ka","Navigate through the toolbar or menu bar":"PÄrvietojieties rÄ«kjoslÄ vai izvÄ“lņu joslÄ",Next:"NÄkamÄ","No results found":"Nekas nav atrasts","No searchable items":"Nav meklÄ“jamu vienumu","Open the accessibility help dialog":"AtvÄ“rt piekļūstamÄ«bas palÄ«dzÄ«bas dialoglodziņu",Orange:"Oranžs",Paragraph:"ParagrÄfs","Paste content":"IelÄ«mÄ“t saturu","Paste content as plain text":"IelÄ«mÄ“t saturu kÄ tekstu",'Please enter a valid color (e.g. "ff0000").':'LÅ«dzu, ievadiet derÄ«gu krÄsu (piemÄ“ram, "ff0000").',"Press %0 for help.":"Lai saņemtu palÄ«dzÄ«bu, nospiest %0.","Press Enter to type after or press Shift + Enter to type before the widget":"Nospiediet taustiņu Enter, lai rakstÄ«tu aiz logrÄ«ka, vai nospiediet taustiņu Shift + Enter, lai rakstÄ«tu pirms logrÄ«ka",Previous:"IepriekÅ¡Ä“jÄ",Purple:"Violets",Red:"Sarkans",Redo:"Uz priekÅ¡u","Remove color":"Noņemt krÄsu","Replace image with file manager":"AizstÄt attÄ“lu, izmantojot failu pÄrvaldnieku","Replace with file manager":"AizstÄt, izmantojot failu pÄrvaldnieku","Restore default":"Atgriezt noklusÄ“jumu","Rich Text Editor":"BagÄtinÄtais Teksta Redaktors","Rich Text Editor. Editing area: %0":"BagÄtÄ«ga Teksta Redaktors. Rediģēšanas zona: %0",Save:"SaglabÄt","Select all":"IzvÄ“lÄ“ties visu","Show more items":"ParÄdÄ«t vairÄk vienumus","These keyboard shortcuts allow for quick access to content editing features.":"Å ie Ä«sinÄjumtaustiņi ļauj Ätri piekļūt satura rediģēšanas funkcijÄm.","Toggle caption off":"IzslÄ“gt tabulas parakstu","Toggle caption on":"IeslÄ“gt tabulas parakstu",Turquoise:"TirkÄ«za",Undo:"Atsaukt","Upload in progress":"Notiek augÅ¡upielÄde","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Izmantot tÄlÄk norÄdÄ«tos taustiņsitienus, lai nodroÅ¡inÄtu efektÄ«vÄku navigÄciju CKEditor 5 lietotÄja saskarnÄ“.","User interface and content navigation keystrokes":"LietotÄja interfeisa un satura navigÄcijas taustiņsitieni",White:"Balts","Widget toolbar":"SÄ«krÄ«ku rÄ«kjosla","With file manager":"Izmantojot failu pÄrvaldnieku",Yellow:"Dzeltens"}),e.getPluralForm=function(t){return t%10==1&&t%100!=11?0:0!=t?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ms.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ms.js index e0e604460b88982cc3dab2473800724b4fc39255..59f56e3b83f20fb2b6b0028c7580444cb535a287 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ms.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ms.js @@ -1 +1 @@ -!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(mungkin memerlukan <kbd>Fn</kbd>)","%0 of %1":"%0 daripada %1",Accept:"Terima",Accessibility:"Kebolehaksesan","Accessibility help":"Bantuan kebolehaksesan",Aquamarine:"Akuamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Anda boleh menemui senarai pintasan papan kekunci yang boleh digunakan dalam penyunting di bawah.",Black:"Hitam",Blue:"Biru",Cancel:"Batal","Cannot upload file:":"Gagal memuat naik fail",Clear:"Kosongkan","Click to edit block":"Klik untuk menyunting sekatan",Close:"Tutup","Close contextual balloons, dropdowns, and dialogs":"Tutup belon konteks, senarai juntai bawah dan dialog","Content editing keystrokes":"Ketukan kekunci penyuntingan kandungan","Copy selected content":"Salin kandungan yang dipilih","Dim grey":"Kelabu malap","Drag to move":"Seret untuk menggerakkan","Dropdown menu":"Menu lungsur turun","Dropdown toolbar":"Bar alat capaian tetingkap","Edit block":"Sunting blok","Editor block content toolbar":"Bar alat sekat kandungan editor","Editor contextual toolbar":"Bar alat kontekstual editor","Editor dialog":"Dialog editor","Editor menu bar":"Bar menu penyunting","Editor toolbar":"Bar alat capaian suntingan","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Laksanakan butang yang sedang difokuskan. Melaksanakan butang yang berinteraksi dengan kandungan penyunting mengalihkan fokus kembali ke kandungan.",File:"Fail",Green:"Hijau",Grey:"Kelabu","Help Contents. To close this dialog press ESC.":"Kandungan Bantuan. Untuk menutup dialog ini tekan ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Masukkan perenggan baharu (perenggan baharu)","Insert a new paragraph directly after a widget":"Masukkan perenggan baharu secara langsung selepas widget","Insert a new paragraph directly before a widget":"Masukkan perenggan baharu secara langsung sebelum widget","Insert a soft break (a <code><br></code> element)":"Masukkan baris baharu (elemen <code><br></code>)","Insert image with file manager":"Masukkan imej dengan pengurus fail","Insert paragraph after block":"Masukkan perenggan sebelum blok","Insert paragraph before block":"Masukkan perenggan sebelum blok","Insert with file manager":"Masukkan dengan pengurus fail","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Ketukan kekunci yang boleh digunakan semasa widget dipilih (contohnya: imej, jadual, dsb.)","Light blue":"Biru cerah","Light green":"Hijau cerah","Light grey":"Kelabu cerah",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"Fail",MENU_BAR_MENU_FONT:"Fon",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Bantuan",MENU_BAR_MENU_INSERT:"Masukkan",MENU_BAR_MENU_TEXT:"Teks",MENU_BAR_MENU_TOOLS:"Alatan",MENU_BAR_MENU_VIEW:"Paparan","Move focus between form fields (inputs, buttons, etc.)":"Alihkan fokus antara medan borang (input, butang, dll.)","Move focus from an editable area back to the parent widget":"Alihkan fokus dari kawasan yang boleh diedit kembali ke widget induk","Move focus in and out of an active dialog window":"Alihkan fokus masuk atau keluar daripada tetingkap dialog aktif","Move focus to the menu bar, navigate between menu bars":"Alihkan fokus ke bar menu, navigasi antara bar menu","Move focus to the toolbar, navigate between toolbars":"Alihkan fokus ke bar alat, navigasi antara bar alat","Move the caret to allow typing directly after a widget":"Alihkan karet untuk membenarkan penaipan secara langsung selepas widget","Move the caret to allow typing directly before a widget":"Alihkan karet untuk membenarkan penaipan secara langsung sebelum widget","Navigate through the toolbar or menu bar":"Navigasi melalui bar alat atau bar menu",Next:"Seterusnya","No results found":"Tiada keputusan ditemui","No searchable items":"Tiada item untuk dicari","Open the accessibility help dialog":"Buka dialog bantuan kebolehaksesan",Orange:"Oren","Paste content":"Tampal kandungan","Paste content as plain text":"Tampal kandungan sebagai teks kosong",'Please enter a valid color (e.g. "ff0000").':'Sila masukkan warna yang sah (contohnya, "ff0000").',"Press %0 for help.":"Tekan %0 untuk bantuan.","Press Enter to type after or press Shift + Enter to type before the widget":"Tekan Enter untuk menaip selepas atau tekan Shift + Enter untuk menaip sebelum widget",Previous:"Sebelumnya",Purple:"Ungu",Red:"Merah",Redo:"Buat semula","Remove color":"Buang warna","Replace image with file manager":"Gantikan imej dengan pengurus fail","Replace with file manager":"Gantikan dengan pengurus fail","Restore default":"Pulihkan lalai","Rich Text Editor":"Penyunting Teks Kaya","Rich Text Editor. Editing area: %0":"Editor Teks Kaya. Ruang suntingan: %0",Save:"Simpan","Select all":"Pilih seterusnya","Show more items":"Tunjukkan item lain","These keyboard shortcuts allow for quick access to content editing features.":"Pintasan papan kekunci ini membenarkan akses pantas kepada ciri-ciri penyuntingan kandungan.","Toggle caption off":"Tutup kapsyen","Toggle caption on":"Buka kapsyen",Turquoise:"Firus",Undo:"Buat asal","Upload in progress":"Muat naik sedang berlangsung","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Guna ketukan kekunci berikut untuk menavigasi dengan lebih cekap dalam antara muka pengguna CKEditor 5.","User interface and content navigation keystrokes":"Antara muka pengguna dan ketukan kekunci navigasi kandungan",White:"Putih","Widget toolbar":"Bar alat capaian widget","With file manager":"Dengan pengurus fail",Yellow:"Kuning"}),e.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(mungkin memerlukan <kbd>Fn</kbd>)","%0 of %1":"%0 daripada %1",Accept:"Terima",Accessibility:"Kebolehaksesan","Accessibility help":"Bantuan kebolehaksesan",Aquamarine:"Akuamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Anda boleh menemui senarai pintasan papan kekunci yang boleh digunakan dalam penyunting di bawah.",Black:"Hitam",Blue:"Biru",Cancel:"Batal","Cannot upload file:":"Gagal memuat naik fail",Clear:"Kosongkan","Click to edit block":"Klik untuk menyunting sekatan",Close:"Tutup","Close contextual balloons, dropdowns, and dialogs":"Tutup belon konteks, senarai juntai bawah dan dialog","Color picker":"Pemilih warna","Content editing keystrokes":"Ketukan kekunci penyuntingan kandungan","Copy selected content":"Salin kandungan yang dipilih","Dim grey":"Kelabu malap","Drag to move":"Seret untuk menggerakkan","Dropdown menu":"Menu lungsur turun","Dropdown toolbar":"Bar alat capaian tetingkap","Edit block":"Sunting blok","Editor block content toolbar":"Bar alat sekat kandungan editor","Editor contextual toolbar":"Bar alat kontekstual editor","Editor dialog":"Dialog editor","Editor menu bar":"Bar menu penyunting","Editor toolbar":"Bar alat capaian suntingan","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Laksanakan butang yang sedang difokuskan. Melaksanakan butang yang berinteraksi dengan kandungan penyunting mengalihkan fokus kembali ke kandungan.",File:"Fail",Green:"Hijau",Grey:"Kelabu","Help Contents. To close this dialog press ESC.":"Kandungan Bantuan. Untuk menutup dialog ini tekan ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Masukkan perenggan baharu (perenggan baharu)","Insert a new paragraph directly after a widget":"Masukkan perenggan baharu secara langsung selepas widget","Insert a new paragraph directly before a widget":"Masukkan perenggan baharu secara langsung sebelum widget","Insert a soft break (a <code><br></code> element)":"Masukkan baris baharu (elemen <code><br></code>)","Insert image with file manager":"Masukkan imej dengan pengurus fail","Insert paragraph after block":"Masukkan perenggan sebelum blok","Insert paragraph before block":"Masukkan perenggan sebelum blok","Insert with file manager":"Masukkan dengan pengurus fail","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Ketukan kekunci yang boleh digunakan semasa widget dipilih (contohnya: imej, jadual, dsb.)","Light blue":"Biru cerah","Light green":"Hijau cerah","Light grey":"Kelabu cerah",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"Fail",MENU_BAR_MENU_FONT:"Fon",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Bantuan",MENU_BAR_MENU_INSERT:"Masukkan",MENU_BAR_MENU_TEXT:"Teks",MENU_BAR_MENU_TOOLS:"Alatan",MENU_BAR_MENU_VIEW:"Paparan","Move focus between form fields (inputs, buttons, etc.)":"Alihkan fokus antara medan borang (input, butang, dll.)","Move focus from an editable area back to the parent widget":"Alihkan fokus dari kawasan yang boleh diedit kembali ke widget induk","Move focus in and out of an active dialog window":"Alihkan fokus masuk atau keluar daripada tetingkap dialog aktif","Move focus to the menu bar, navigate between menu bars":"Alihkan fokus ke bar menu, navigasi antara bar menu","Move focus to the toolbar, navigate between toolbars":"Alihkan fokus ke bar alat, navigasi antara bar alat","Move the caret to allow typing directly after a widget":"Alihkan karet untuk membenarkan penaipan secara langsung selepas widget","Move the caret to allow typing directly before a widget":"Alihkan karet untuk membenarkan penaipan secara langsung sebelum widget","Navigate through the toolbar or menu bar":"Navigasi melalui bar alat atau bar menu",Next:"Seterusnya","No results found":"Tiada keputusan ditemui","No searchable items":"Tiada item untuk dicari","Open the accessibility help dialog":"Buka dialog bantuan kebolehaksesan",Orange:"Oren",Paragraph:"Perenggan","Paste content":"Tampal kandungan","Paste content as plain text":"Tampal kandungan sebagai teks kosong",'Please enter a valid color (e.g. "ff0000").':'Sila masukkan warna yang sah (contohnya, "ff0000").',"Press %0 for help.":"Tekan %0 untuk bantuan.","Press Enter to type after or press Shift + Enter to type before the widget":"Tekan Enter untuk menaip selepas atau tekan Shift + Enter untuk menaip sebelum widget",Previous:"Sebelumnya",Purple:"Ungu",Red:"Merah",Redo:"Buat semula","Remove color":"Buang warna","Replace image with file manager":"Gantikan imej dengan pengurus fail","Replace with file manager":"Gantikan dengan pengurus fail","Restore default":"Pulihkan lalai","Rich Text Editor":"Penyunting Teks Kaya","Rich Text Editor. Editing area: %0":"Editor Teks Kaya. Ruang suntingan: %0",Save:"Simpan","Select all":"Pilih seterusnya","Show more items":"Tunjukkan item lain","These keyboard shortcuts allow for quick access to content editing features.":"Pintasan papan kekunci ini membenarkan akses pantas kepada ciri-ciri penyuntingan kandungan.","Toggle caption off":"Tutup kapsyen","Toggle caption on":"Buka kapsyen",Turquoise:"Firus",Undo:"Buat asal","Upload in progress":"Muat naik sedang berlangsung","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Guna ketukan kekunci berikut untuk menavigasi dengan lebih cekap dalam antara muka pengguna CKEditor 5.","User interface and content navigation keystrokes":"Antara muka pengguna dan ketukan kekunci navigasi kandungan",White:"Putih","Widget toolbar":"Bar alat capaian widget","With file manager":"Dengan pengurus fail",Yellow:"Kuning"}),e.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nb.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nb.js index 3a9467ad57b1cb1819f07648f82f99ac3f7df8e1..3ac9b499eab06f8b89e9f51fc96ca8020dffe877 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nb.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nb.js @@ -1 +1 @@ -!function(e){const t=e.nb=e.nb||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Avbryt","Cannot upload file:":"Kan ikke laste opp fil:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Gjør om","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rikteksteditor","Rich Text Editor. Editing area: %0":"",Save:"Lagre","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Angre","Upload in progress":"Opplasting pÃ¥gÃ¥r","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.nb=e.nb||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Avbryt","Cannot upload file:":"Kan ikke laste opp fil:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"Avsnitt","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"Gjør om","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Rikteksteditor","Rich Text Editor. Editing area: %0":"",Save:"Lagre","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Angre","Upload in progress":"Opplasting pÃ¥gÃ¥r","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ne.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ne.js index 400497dea31fa00284ece64400db4da45d64e69d..0189ebcafdfe61c0ca97ecb0a4a95d6d6a6b5be8 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ne.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ne.js @@ -1 +1 @@ -!function(e){const o=e.ne=e.ne||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 मधà¥à¤¯à¥‡ %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"अवà¥à¤•à¤µà¤¾à¤®à¤°à¤¿à¤¨","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"कालो",Blue:"निलो",Cancel:"रदà¥à¤¦ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Cannot upload file:":"फाइल अपलोड गरà¥à¤¨ मिलà¥à¤¦à¥ˆà¤¨",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"धमिलो खैरो","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"बà¥à¤²à¤• समà¥à¤ªà¤¾à¤¦à¤¨ गरà¥à¤¨","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"हरियो",Grey:"खैरो","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"हलà¥à¤•à¤¾ निलो","Light green":"हलà¥à¤•à¤¾ हरियो","Light grey":"हलà¥à¤•à¤¾ खैरो",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"अरà¥à¤•à¥‹","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"सà¥à¤¨à¥à¤¤à¤²à¤¾ रंग",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"अघिलà¥à¤²à¥‹",Purple:"बैंगनी रंग",Red:"रातो",Redo:"रिडà¥","Remove color":"रंग हटाउन","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"धनी पाठसमà¥à¤ªà¤¾à¤¦à¤•","Rich Text Editor. Editing area: %0":"",Save:"सà¥à¤°à¤•à¥à¤·à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"तà¥à¤°à¤•à¥‹à¤‡à¤¸",Undo:"पूरà¥à¤µà¤µà¤¤","Upload in progress":"अपलोड हà¥à¤¦à¥ˆà¤›","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"सेतो","With file manager":"",Yellow:"पहेंलो"}),o.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ne=e.ne||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 मधà¥à¤¯à¥‡ %1",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"अवà¥à¤•à¤µà¤¾à¤®à¤°à¤¿à¤¨","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"कालो",Blue:"निलो",Cancel:"रदà¥à¤¦ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Cannot upload file:":"फाइल अपलोड गरà¥à¤¨ मिलà¥à¤¦à¥ˆà¤¨",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"धमिलो खैरो","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"बà¥à¤²à¤• समà¥à¤ªà¤¾à¤¦à¤¨ गरà¥à¤¨","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"हरियो",Grey:"खैरो","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"हलà¥à¤•à¤¾ निलो","Light green":"हलà¥à¤•à¤¾ हरियो","Light grey":"हलà¥à¤•à¤¾ खैरो",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"अरà¥à¤•à¥‹","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"सà¥à¤¨à¥à¤¤à¤²à¤¾ रंग",Paragraph:"अनà¥à¤šà¥à¤›à¥‡à¤¦","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"अघिलà¥à¤²à¥‹",Purple:"बैंगनी रंग",Red:"रातो",Redo:"रिडà¥","Remove color":"रंग हटाउन","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"धनी पाठसमà¥à¤ªà¤¾à¤¦à¤•","Rich Text Editor. Editing area: %0":"",Save:"सà¥à¤°à¤•à¥à¤·à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"तà¥à¤°à¤•à¥‹à¤‡à¤¸",Undo:"पूरà¥à¤µà¤µà¤¤","Upload in progress":"अपलोड हà¥à¤¦à¥ˆà¤›","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"सेतो","Widget toolbar":"","With file manager":"",Yellow:"पहेंलो"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nl.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nl.js index 589ee17314cb0421fb49a7ad2e2767a8faf11ae7..bbbebec9197cf23f2e0dcf83e6637231498157be 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nl.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/nl.js @@ -1 +1 @@ -!function(e){const t=e.nl=e.nl||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd>-toets is mogelijk vereist)","%0 of %1":"%0 van %1",Accept:"Accepteren",Accessibility:"Toegankelijkheid","Accessibility help":"Hulp bij toegankelijkheid",Aquamarine:"Aquamarijn","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Hieronder vindt u een lijst met sneltoetsen die in de editor gebruikt kunnen worden.",Black:"Zwart",Blue:"Blauw",Cancel:"Annuleren","Cannot upload file:":"Kan bestand niet uploaden:",Clear:"Wissen","Click to edit block":"Klik om blok te bewerken",Close:"Sluiten","Close contextual balloons, dropdowns, and dialogs":"Sluit contextvensters, dropdown vensters, en dialoogvensters","Content editing keystrokes":"Toetsaanslagen om inhoud aan te passen","Copy selected content":"Kopieer geselecteerde inhoud","Dim grey":"Gedimd grijs","Drag to move":"Sleep om te verplaatsen","Dropdown menu":"Keuzemenu","Dropdown toolbar":"Drop-down werkbalk","Edit block":"Blok aanpassen","Editor block content toolbar":"Inhoud werkbalk voor editorblok","Editor contextual toolbar":"Contextuele werkbalk van editor","Editor dialog":"Dialoog bewerker","Editor menu bar":"Menubalk editor","Editor toolbar":"Editor welkbalk","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"De momenteel gefocuste knop gebruiken. Door knoppen te gebruiken die interactie hebben met de inhoud van de editor, wordt de focus terug naar de inhoud verplaatst.",File:"Bestand",Green:"Groen",Grey:"Grijs","Help Contents. To close this dialog press ESC.":"Inhoud Hulp. Druk op ESC om dit dialoogvenster te sluiten.",HEX:"HEX","Insert a hard break (a new paragraph)":"Voer een harde enter in (een nieuwe paragraaf)","Insert a new paragraph directly after a widget":"Voeg direct na een widget een nieuwe paragraaf in","Insert a new paragraph directly before a widget":"Voeg direct voor een widget een nieuwe paragraaf in","Insert a soft break (a <code><br></code> element)":"Voer een zachte enter in (een <code><br></code> element)","Insert image with file manager":"Afbeelding invoegen met bestandsbeheer","Insert paragraph after block":"Voeg paragraaf toe na blok","Insert paragraph before block":"Voeg paragraaf toe voor blok","Insert with file manager":"Invoegen met bestandsbeheer","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Toetsaanslagen die gebruikt kunnen worden wanneer een widget geselecteerd is (bijvoorbeeld: een afbeelding, tabel, enz.)","Light blue":"Lichtblauw","Light green":"Lichtgroen","Light grey":"Lichtgrijs",MENU_BAR_MENU_EDIT:"Wijzigen",MENU_BAR_MENU_FILE:"Bestand",MENU_BAR_MENU_FONT:"Lettertype",MENU_BAR_MENU_FORMAT:"Formaat",MENU_BAR_MENU_HELP:"Hulp",MENU_BAR_MENU_INSERT:"Invoegen",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Gereedschap",MENU_BAR_MENU_VIEW:"Bekijk","Move focus between form fields (inputs, buttons, etc.)":"Beweeg de focus tussen velden in een formulier (invoervensters, knoppen, enz.)","Move focus from an editable area back to the parent widget":"De focus van een bewerkbaar gebied terug naar de bovenliggende widget verplaatsen","Move focus in and out of an active dialog window":"Beweeg de focus naar een actief dialoogvenster of er vandaan","Move focus to the menu bar, navigate between menu bars":"Focus naar de menubalk verplaatsen, tussen menubalken navigeren","Move focus to the toolbar, navigate between toolbars":"Beweeg focus naar de werkbalk, navigeer tussen werkbalken","Move the caret to allow typing directly after a widget":"Beweeg het invoerteken om het mogelijk te maken direct achter een widget te typen","Move the caret to allow typing directly before a widget":"Beweeg het invoerteken om het mogelijk te maken direct voor een widget te typen","Navigate through the toolbar or menu bar":"Door de werkbalk of menubalk navigeren",Next:"Volgende","No results found":"Geen zoekresultaten","No searchable items":"Geen zoekbare items","Open the accessibility help dialog":"Open het hulpvenster voor toegankelijkheid",Orange:"Oranje","Paste content":"Plak inhoud","Paste content as plain text":"Plak inhoud als onbewerkte tekst",'Please enter a valid color (e.g. "ff0000").':'Voer een geldige kleur in (bijvoorbeeld "ff0000").',"Press %0 for help.":"Druk op %0 voor hulp.","Press Enter to type after or press Shift + Enter to type before the widget":"Druk op Enter om na de widget te typen of druk op Shift + Enter om vóór de widget te typen",Previous:"Vorige",Purple:"Paars",Red:"Rood",Redo:"Opnieuw","Remove color":"Verwijder kleur","Replace image with file manager":"Afbeelding vervangen met bestandsbeheerder","Replace with file manager":"Vervangen met bestandsbeheerder","Restore default":"Standaardinstellingen terugzetten","Rich Text Editor":"Tekstbewerker","Rich Text Editor. Editing area: %0":"Rich Text Editor. Bewerkingsgebied: %0",Save:"Opslaan","Select all":"Selecteer alles","Show more items":"Meer items weergeven","These keyboard shortcuts allow for quick access to content editing features.":"Deze sneltoetsen geven snel toegang tot functies om inhoud aan te passen","Toggle caption off":"Bijschrift uitzetten","Toggle caption on":"Bijschrift aanzetten",Turquoise:"Turquoise",Undo:"Ongedaan maken","Upload in progress":"Bezig met uploaden","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Gebruik de volgende toetsaanslagen om efficiënter door de gebruikersinterface van CKEditor 5 te navigeren.","User interface and content navigation keystrokes":"Toetsaanslagen voor het navigeren door de gebruikersinterface en inhoud",White:"Wit","Widget toolbar":"Widget werkbalk","With file manager":"Met bestandsbeheer",Yellow:"Geel"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.nl=e.nl||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd>-toets is mogelijk vereist)","%0 of %1":"%0 van %1",Accept:"Accepteren",Accessibility:"Toegankelijkheid","Accessibility help":"Hulp bij toegankelijkheid",Aquamarine:"Aquamarijn","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Hieronder vindt u een lijst met sneltoetsen die in de editor gebruikt kunnen worden.",Black:"Zwart",Blue:"Blauw",Cancel:"Annuleren","Cannot upload file:":"Kan bestand niet uploaden:",Clear:"Wissen","Click to edit block":"Klik om blok te bewerken",Close:"Sluiten","Close contextual balloons, dropdowns, and dialogs":"Sluit contextvensters, dropdown vensters, en dialoogvensters","Color picker":"Kleurkiezer","Content editing keystrokes":"Toetsaanslagen om inhoud aan te passen","Copy selected content":"Kopieer geselecteerde inhoud","Dim grey":"Gedimd grijs","Drag to move":"Sleep om te verplaatsen","Dropdown menu":"Keuzemenu","Dropdown toolbar":"Drop-down werkbalk","Edit block":"Blok aanpassen","Editor block content toolbar":"Inhoud werkbalk voor editorblok","Editor contextual toolbar":"Contextuele werkbalk van editor","Editor dialog":"Dialoog bewerker","Editor menu bar":"Menubalk editor","Editor toolbar":"Editor welkbalk","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"De momenteel gefocuste knop gebruiken. Door knoppen te gebruiken die interactie hebben met de inhoud van de editor, wordt de focus terug naar de inhoud verplaatst.",File:"Bestand",Green:"Groen",Grey:"Grijs","Help Contents. To close this dialog press ESC.":"Inhoud Hulp. Druk op ESC om dit dialoogvenster te sluiten.",HEX:"HEX","Insert a hard break (a new paragraph)":"Voer een harde enter in (een nieuwe paragraaf)","Insert a new paragraph directly after a widget":"Voeg direct na een widget een nieuwe paragraaf in","Insert a new paragraph directly before a widget":"Voeg direct voor een widget een nieuwe paragraaf in","Insert a soft break (a <code><br></code> element)":"Voer een zachte enter in (een <code><br></code> element)","Insert image with file manager":"Afbeelding invoegen met bestandsbeheer","Insert paragraph after block":"Voeg paragraaf toe na blok","Insert paragraph before block":"Voeg paragraaf toe voor blok","Insert with file manager":"Invoegen met bestandsbeheer","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Toetsaanslagen die gebruikt kunnen worden wanneer een widget geselecteerd is (bijvoorbeeld: een afbeelding, tabel, enz.)","Light blue":"Lichtblauw","Light green":"Lichtgroen","Light grey":"Lichtgrijs",MENU_BAR_MENU_EDIT:"Wijzigen",MENU_BAR_MENU_FILE:"Bestand",MENU_BAR_MENU_FONT:"Lettertype",MENU_BAR_MENU_FORMAT:"Formaat",MENU_BAR_MENU_HELP:"Hulp",MENU_BAR_MENU_INSERT:"Invoegen",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Gereedschap",MENU_BAR_MENU_VIEW:"Bekijk","Move focus between form fields (inputs, buttons, etc.)":"Beweeg de focus tussen velden in een formulier (invoervensters, knoppen, enz.)","Move focus from an editable area back to the parent widget":"De focus van een bewerkbaar gebied terug naar de bovenliggende widget verplaatsen","Move focus in and out of an active dialog window":"Beweeg de focus naar een actief dialoogvenster of er vandaan","Move focus to the menu bar, navigate between menu bars":"Focus naar de menubalk verplaatsen, tussen menubalken navigeren","Move focus to the toolbar, navigate between toolbars":"Beweeg focus naar de werkbalk, navigeer tussen werkbalken","Move the caret to allow typing directly after a widget":"Beweeg het invoerteken om het mogelijk te maken direct achter een widget te typen","Move the caret to allow typing directly before a widget":"Beweeg het invoerteken om het mogelijk te maken direct voor een widget te typen","Navigate through the toolbar or menu bar":"Door de werkbalk of menubalk navigeren",Next:"Volgende","No results found":"Geen zoekresultaten","No searchable items":"Geen zoekbare items","Open the accessibility help dialog":"Open het hulpvenster voor toegankelijkheid",Orange:"Oranje",Paragraph:"Paragraaf","Paste content":"Plak inhoud","Paste content as plain text":"Plak inhoud als onbewerkte tekst",'Please enter a valid color (e.g. "ff0000").':'Voer een geldige kleur in (bijvoorbeeld "ff0000").',"Press %0 for help.":"Druk op %0 voor hulp.","Press Enter to type after or press Shift + Enter to type before the widget":"Druk op Enter om na de widget te typen of druk op Shift + Enter om vóór de widget te typen",Previous:"Vorige",Purple:"Paars",Red:"Rood",Redo:"Opnieuw","Remove color":"Verwijder kleur","Replace image with file manager":"Afbeelding vervangen met bestandsbeheerder","Replace with file manager":"Vervangen met bestandsbeheerder","Restore default":"Standaardinstellingen terugzetten","Rich Text Editor":"Tekstbewerker","Rich Text Editor. Editing area: %0":"Rich Text Editor. Bewerkingsgebied: %0",Save:"Opslaan","Select all":"Selecteer alles","Show more items":"Meer items weergeven","These keyboard shortcuts allow for quick access to content editing features.":"Deze sneltoetsen geven snel toegang tot functies om inhoud aan te passen","Toggle caption off":"Bijschrift uitzetten","Toggle caption on":"Bijschrift aanzetten",Turquoise:"Turquoise",Undo:"Ongedaan maken","Upload in progress":"Bezig met uploaden","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Gebruik de volgende toetsaanslagen om efficiënter door de gebruikersinterface van CKEditor 5 te navigeren.","User interface and content navigation keystrokes":"Toetsaanslagen voor het navigeren door de gebruikersinterface en inhoud",White:"Wit","Widget toolbar":"Widget werkbalk","With file manager":"Met bestandsbeheer",Yellow:"Geel"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/no.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/no.js index 9bf70410131dd5ff94e2c2dc6aef18a55978cc35..22b7184cbab726419508f9bf6e452ea49474ebc0 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/no.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/no.js @@ -1 +1 @@ -!function(e){const t=e.no=e.no||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(trenger kanskje <kbd>Fn</kbd>)","%0 of %1":"%0 av %1",Accept:"Godta",Accessibility:"Tilgjengelighet","Accessibility help":"Tilgjengelighetshjelp",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nedenfor finner du en liste over hurtigtaster som kan brukes i redigeringsverktøyet.",Black:"Svart",Blue:"BlÃ¥",Cancel:"Avbryt","Cannot upload file:":"Kan ikke laste opp fil:",Clear:"Slett","Click to edit block":"Klikk for Ã¥ redigere blokk",Close:"Lukk","Close contextual balloons, dropdowns, and dialogs":"Lukk hjelpebobler, nedtrekkslister og dialoger","Content editing keystrokes":"Tastetrykk for innholdsredigering","Copy selected content":"Kopier valgt innhold","Dim grey":"Svak grÃ¥","Drag to move":"Dra for Ã¥ flytte","Dropdown menu":"Nedtrekksmeny","Dropdown toolbar":"Verktøylinje for nedtrekksliste","Edit block":"Rediger blokk","Editor block content toolbar":"Verktøylinje for blokkinnhold i redigeringsverktøy","Editor contextual toolbar":"Verktøylinje for kontekst i redigeringsverktøy","Editor dialog":"Dialogboks for redigering","Editor menu bar":"Menylinje for redigering","Editor toolbar":"Verktøylinje for redigeringsverktøy","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Utløs knappen som nÃ¥ er i fokus. Utløsing av knapper som pÃ¥virker innholdet som redigeres, flytter fokuset tilbake til innholdet.",File:"Fil",Green:"Grønn",Grey:"GrÃ¥","Help Contents. To close this dialog press ESC.":"Hjelpeinnhold. Trykk pÃ¥ ESC for Ã¥ lukke denne dialogen.",HEX:"HEX","Insert a hard break (a new paragraph)":"Sett inn et hardt linjeskift (et nytt avsnitt)","Insert a new paragraph directly after a widget":"Legg inn et nytt avsnitt rett etter en widget","Insert a new paragraph directly before a widget":"Legg inn et nytt avsnitt rett før en widget","Insert a soft break (a <code><br></code> element)":"Sett inn et mykt linjeskift (et <code><br></code>-element)","Insert image with file manager":"Sett inn bilde med filbehandling","Insert paragraph after block":"Sett inn paragraf etter blokk","Insert paragraph before block":"Sett inn paragraf foran blokk","Insert with file manager":"Sett inn med filbehandling","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tastetrykk som kan brukes nÃ¥r en widget er valgt (for eksempel: bilde, tabell osv.)","Light blue":"LyseblÃ¥","Light green":"Lysegrønn","Light grey":"LysegrÃ¥",MENU_BAR_MENU_EDIT:"Rediger",MENU_BAR_MENU_FILE:"Fil",MENU_BAR_MENU_FONT:"Skrifttype",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hjelp",MENU_BAR_MENU_INSERT:"Sett inn",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Verktøy",MENU_BAR_MENU_VIEW:"Vis","Move focus between form fields (inputs, buttons, etc.)":"Flytt fokus mellom skjemafelt (inputer, knapper osv.)","Move focus from an editable area back to the parent widget":"Flytt fokus fra et redigerbart omrÃ¥de tilbake til foreldre-widgeten","Move focus in and out of an active dialog window":"Flytt fokus inn og ut av et aktivt dialogvindu","Move focus to the menu bar, navigate between menu bars":"Flytt fokus til menylinjen, naviger mellom menylinjer","Move focus to the toolbar, navigate between toolbars":"Flytt fokus til verktøylinjen, naviger mellom verktøylinjer","Move the caret to allow typing directly after a widget":"Flytt markøren for Ã¥ kunne taste rett etter en widget","Move the caret to allow typing directly before a widget":"Flytt markøren for Ã¥ kunne taste rett før en widget","Navigate through the toolbar or menu bar":"Naviger gjennom verktøylinjen eller menylinjen",Next:"Neste","No results found":"Ingen resultater","No searchable items":"Ingen søkbare elementer","Open the accessibility help dialog":"Ã…pne dialogen for tilgjengelighetshjelp",Orange:"Oransje","Paste content":"Lim inn innhold","Paste content as plain text":"Lim inn innhold som vanlig tekst",'Please enter a valid color (e.g. "ff0000").':'Angi en gyldig farge (f.eks. "ff0000").',"Press %0 for help.":"Trykk pÃ¥ %0 for hjelp.","Press Enter to type after or press Shift + Enter to type before the widget":"Trykk Enter for Ã¥ skrive etter eller trykk Shift + Enter for Ã¥ skrive før widgeten",Previous:"Forrige",Purple:"Lilla",Red:"Rød",Redo:"Gjør om","Remove color":"Fjern farge","Replace image with file manager":"Erstatt bilde med filbehandling","Replace with file manager":"Erstatt med filbehandling","Restore default":"Tilbakestill til standard","Rich Text Editor":"Tekstredigeringsverktøy for rik tekst","Rich Text Editor. Editing area: %0":"Redigeringsverktøy for rik tekst. RedigeringsomrÃ¥de: %0",Save:"Lagre","Select all":"Velg alt ","Show more items":"Vis flere elementer","These keyboard shortcuts allow for quick access to content editing features.":"Disse hurtigtastene gir rask tilgang til funksjonene for innholdsredigering.","Toggle caption off":"Veksle tabelltekst av","Toggle caption on":"Veksle tabelltekst pÃ¥",Turquoise:"Turkis",Undo:"Angre","Upload in progress":"Laster opp fil","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Bruk følgende tastetrykk for mer effektiv navigering i grensesnittet for 5-brukerversjonen av CKEditor.","User interface and content navigation keystrokes":"Brukergrensesnitt og tastetrykk for navigering i innhold",White:"Hvit","Widget toolbar":"Widget verktøylinje ","With file manager":"Med filadministrator",Yellow:"Gul"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.no=e.no||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(trenger kanskje <kbd>Fn</kbd>)","%0 of %1":"%0 av %1",Accept:"Godta",Accessibility:"Tilgjengelighet","Accessibility help":"Tilgjengelighetshjelp",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nedenfor finner du en liste over hurtigtaster som kan brukes i redigeringsverktøyet.",Black:"Svart",Blue:"BlÃ¥",Cancel:"Avbryt","Cannot upload file:":"Kan ikke laste opp fil:",Clear:"Slett","Click to edit block":"Klikk for Ã¥ redigere blokk",Close:"Lukk","Close contextual balloons, dropdowns, and dialogs":"Lukk hjelpebobler, nedtrekkslister og dialoger","Color picker":"Fargevalg ","Content editing keystrokes":"Tastetrykk for innholdsredigering","Copy selected content":"Kopier valgt innhold","Dim grey":"Svak grÃ¥","Drag to move":"Dra for Ã¥ flytte","Dropdown menu":"Nedtrekksmeny","Dropdown toolbar":"Verktøylinje for nedtrekksliste","Edit block":"Rediger blokk","Editor block content toolbar":"Verktøylinje for blokkinnhold i redigeringsverktøy","Editor contextual toolbar":"Verktøylinje for kontekst i redigeringsverktøy","Editor dialog":"Dialogboks for redigering","Editor menu bar":"Menylinje for redigering","Editor toolbar":"Verktøylinje for redigeringsverktøy","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Utløs knappen som nÃ¥ er i fokus. Utløsing av knapper som pÃ¥virker innholdet som redigeres, flytter fokuset tilbake til innholdet.",File:"Fil",Green:"Grønn",Grey:"GrÃ¥","Help Contents. To close this dialog press ESC.":"Hjelpeinnhold. Trykk pÃ¥ ESC for Ã¥ lukke denne dialogen.",HEX:"HEX","Insert a hard break (a new paragraph)":"Sett inn et hardt linjeskift (et nytt avsnitt)","Insert a new paragraph directly after a widget":"Legg inn et nytt avsnitt rett etter en widget","Insert a new paragraph directly before a widget":"Legg inn et nytt avsnitt rett før en widget","Insert a soft break (a <code><br></code> element)":"Sett inn et mykt linjeskift (et <code><br></code>-element)","Insert image with file manager":"Sett inn bilde med filbehandling","Insert paragraph after block":"Sett inn paragraf etter blokk","Insert paragraph before block":"Sett inn paragraf foran blokk","Insert with file manager":"Sett inn med filbehandling","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tastetrykk som kan brukes nÃ¥r en widget er valgt (for eksempel: bilde, tabell osv.)","Light blue":"LyseblÃ¥","Light green":"Lysegrønn","Light grey":"LysegrÃ¥",MENU_BAR_MENU_EDIT:"Rediger",MENU_BAR_MENU_FILE:"Fil",MENU_BAR_MENU_FONT:"Skrifttype",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hjelp",MENU_BAR_MENU_INSERT:"Sett inn",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Verktøy",MENU_BAR_MENU_VIEW:"Vis","Move focus between form fields (inputs, buttons, etc.)":"Flytt fokus mellom skjemafelt (inputer, knapper osv.)","Move focus from an editable area back to the parent widget":"Flytt fokus fra et redigerbart omrÃ¥de tilbake til foreldre-widgeten","Move focus in and out of an active dialog window":"Flytt fokus inn og ut av et aktivt dialogvindu","Move focus to the menu bar, navigate between menu bars":"Flytt fokus til menylinjen, naviger mellom menylinjer","Move focus to the toolbar, navigate between toolbars":"Flytt fokus til verktøylinjen, naviger mellom verktøylinjer","Move the caret to allow typing directly after a widget":"Flytt markøren for Ã¥ kunne taste rett etter en widget","Move the caret to allow typing directly before a widget":"Flytt markøren for Ã¥ kunne taste rett før en widget","Navigate through the toolbar or menu bar":"Naviger gjennom verktøylinjen eller menylinjen",Next:"Neste","No results found":"Ingen resultater","No searchable items":"Ingen søkbare elementer","Open the accessibility help dialog":"Ã…pne dialogen for tilgjengelighetshjelp",Orange:"Oransje",Paragraph:"Avsnitt","Paste content":"Lim inn innhold","Paste content as plain text":"Lim inn innhold som vanlig tekst",'Please enter a valid color (e.g. "ff0000").':'Angi en gyldig farge (f.eks. "ff0000").',"Press %0 for help.":"Trykk pÃ¥ %0 for hjelp.","Press Enter to type after or press Shift + Enter to type before the widget":"Trykk Enter for Ã¥ skrive etter eller trykk Shift + Enter for Ã¥ skrive før widgeten",Previous:"Forrige",Purple:"Lilla",Red:"Rød",Redo:"Gjør om","Remove color":"Fjern farge","Replace image with file manager":"Erstatt bilde med filbehandling","Replace with file manager":"Erstatt med filbehandling","Restore default":"Tilbakestill til standard","Rich Text Editor":"Tekstredigeringsverktøy for rik tekst","Rich Text Editor. Editing area: %0":"Redigeringsverktøy for rik tekst. RedigeringsomrÃ¥de: %0",Save:"Lagre","Select all":"Velg alt ","Show more items":"Vis flere elementer","These keyboard shortcuts allow for quick access to content editing features.":"Disse hurtigtastene gir rask tilgang til funksjonene for innholdsredigering.","Toggle caption off":"Veksle tabelltekst av","Toggle caption on":"Veksle tabelltekst pÃ¥",Turquoise:"Turkis",Undo:"Angre","Upload in progress":"Laster opp fil","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Bruk følgende tastetrykk for mer effektiv navigering i grensesnittet for 5-brukerversjonen av CKEditor.","User interface and content navigation keystrokes":"Brukergrensesnitt og tastetrykk for navigering i innhold",White:"Hvit","Widget toolbar":"Widget verktøylinje ","With file manager":"Med filadministrator",Yellow:"Gul"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/oc.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/oc.js index 19790833d1303f01cdddbe479676cc4b25f7ee67..d1d3eff3cb201c8c7fb88afd6b95c41695cbe431 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/oc.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/oc.js @@ -1 +1 @@ -!function(e){const t=e.oc=e.oc||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Accept:"",Cancel:"Anullar","Cannot upload file:":"",Clear:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"","Insert image with file manager":"","Insert with file manager":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"","Open the accessibility help dialog":"","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor. Editing area: %0":"",Save:"Enregistrar","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","With file manager":""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.oc=e.oc||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"Anullar","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Enregistrar","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pl.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pl.js index 69fce01eb5c2548a473f850fa013c039bb25d5d8..0bf1c2d354b1a012ed073dd43fe0be7161bbac37 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pl.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pl.js @@ -1 +1 @@ -!function(e){const a=e.pl=e.pl||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(może wymagać użycia klawisza <kbd>Fn</kbd>)","%0 of %1":"%0 z %1",Accept:"Zaakceptuj",Accessibility:"DostÄ™pność","Accessibility help":"Pomoc dotyczÄ…ca dostÄ™pnoÅ›ci",Aquamarine:"Akwamaryna","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Poniżej znajdziesz listÄ™ skrótów klawiszowych, których można używać w edytorze.",Black:"Czarny",Blue:"Niebieski",Cancel:"Anuluj","Cannot upload file:":"Nie można przesÅ‚ać pliku:",Clear:"Wyczyść","Click to edit block":"Kliknij, aby edytować blok",Close:"Zamknij","Close contextual balloons, dropdowns, and dialogs":"Zamyka podpowiedzi kontekstowe, menu rozwijane i okna dialogowe","Content editing keystrokes":"Klawisze edycji zawartoÅ›ci","Copy selected content":"Kopiuje zaznaczonÄ… zawartość","Dim grey":"Ciemnoszary","Drag to move":"PrzeciÄ…gnij, aby przenieść","Dropdown menu":"Menu rozwijane","Dropdown toolbar":"Rozwijany pasek narzÄ™dzi","Edit block":"Edytuj blok","Editor block content toolbar":"Pasek zadaÅ„ treÅ›ci blokowej edytora","Editor contextual toolbar":"Kontekstowy pasek zadaÅ„ edytora","Editor dialog":"Okno edytora","Editor menu bar":"Pasek menu edytora","Editor toolbar":"Pasek narzÄ™dzi edytora","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Uruchom aktualnie aktywny przycisk. Uruchomienie przycisków wchodzÄ…cych w interakcjÄ™ z zawartoÅ›ciÄ… edytora przywraca ukierunkowanie na zawartość.",File:"Plik",Green:"Zielony",Grey:"Szary","Help Contents. To close this dialog press ESC.":"Zawartość pomocy. Aby zamknąć to okno dialogowe, naciÅ›nij klawisz ESC.",HEX:"SZESNASTKOWY","Insert a hard break (a new paragraph)":"Wstawia twardÄ… spacjÄ™ (nowy akapit)","Insert a new paragraph directly after a widget":"Wstawia nowy akapit bezpoÅ›rednio po widżecie","Insert a new paragraph directly before a widget":"Wstawia nowy akapit bezpoÅ›rednio przed widżetem","Insert a soft break (a <code><br></code> element)":"Wstawia miÄ™kki enter (element <code><br></code>","Insert image with file manager":"Wstaw obraz za pomocÄ… menedżera plików","Insert paragraph after block":"Wstaw akapit po bloku","Insert paragraph before block":"Wstaw akapit przed blokiem","Insert with file manager":"Wstaw za pomocÄ… menedżera plików","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klawisze, których można używać po wybraniu widżetu (na przykÅ‚ad: obraz, tabela itd.)","Light blue":"Jasnoniebieski","Light green":"Jasnozielony","Light grey":"Jasnoszary",MENU_BAR_MENU_EDIT:"Zmiana",MENU_BAR_MENU_FILE:"Plik",MENU_BAR_MENU_FONT:"Czcionka",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Pomoc",MENU_BAR_MENU_INSERT:"Wstaw",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"NarzÄ™dzia",MENU_BAR_MENU_VIEW:"Zobacz","Move focus between form fields (inputs, buttons, etc.)":"Przenosi fokus pomiÄ™dzy polami formularza (polami wprowadzania, przyciskami itd.)","Move focus from an editable area back to the parent widget":"PrzenieÅ› skupienie z edytowalnego obszaru z powrotem do widżetu nadrzÄ™dnego","Move focus in and out of an active dialog window":"Przenosi fokus do i z aktywnego okna dialogowego","Move focus to the menu bar, navigate between menu bars":"ZmieÅ„ ukierunkowanie na pasek menu, nawiguj miÄ™dzy paskami menu","Move focus to the toolbar, navigate between toolbars":"Przenosi fokus na pasek narzÄ™dzi, umożliwia poruszanie siÄ™ pomiÄ™dzy paskami narzÄ™dzi","Move the caret to allow typing directly after a widget":"Przenosi kursor, aby umożliwić pisanie bezpoÅ›rednio za widżetem","Move the caret to allow typing directly before a widget":"Przenosi kursor, aby umożliwić pisanie bezpoÅ›rednio przed widżetem","Navigate through the toolbar or menu bar":"Nawiguj za pomocÄ… paska narzÄ™dzi lub paska menu",Next:"NastÄ™pny","No results found":"Nie znaleziono wyników","No searchable items":"Brak elementów do wyszukania","Open the accessibility help dialog":"Otwiera okno pomocy dotyczÄ…cej dostÄ™pnoÅ›ci",Orange:"PomaraÅ„czowy","Paste content":"Wkleja zawartość","Paste content as plain text":"Wkleja zawartość jako zwykÅ‚y tekst",'Please enter a valid color (e.g. "ff0000").':"Wprowadź prawidÅ‚owy kolor (np. „ff0000â€).","Press %0 for help.":"NaciÅ›nij %0, aby uzyskać pomoc.","Press Enter to type after or press Shift + Enter to type before the widget":"NaciÅ›nij Enter, aby pisać po widżecie, lub Shift + Enter, aby pisać przed widżetem",Previous:"Poprzedni",Purple:"Purpurowy",Red:"Czerwony",Redo:"Ponów","Remove color":"UsuÅ„ kolor","Replace image with file manager":"ZastÄ…p obraz za pomocÄ… menedżera plików","Replace with file manager":"ZastÄ…p za pomocÄ… menedżera plików","Restore default":"Przywróć domyÅ›lne","Rich Text Editor":"Edytor tekstu sformatowanego","Rich Text Editor. Editing area: %0":"Edytor tekstu. Obszar edycji: %0",Save:"Zapisz","Select all":"Zaznacz wszystko","Show more items":"Pokaż wiÄ™cej","These keyboard shortcuts allow for quick access to content editing features.":"Te skróty klawiszowe umożliwiajÄ… szybki dostÄ™p do funkcji edycji zawartoÅ›ci.","Toggle caption off":"Ukryj podpis tabeli","Toggle caption on":"Pokaż podpis tabeli",Turquoise:"Turkusowy",Undo:"Cofnij","Upload in progress":"Trwa przesyÅ‚anie","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Aby Å‚atwiej poruszać siÄ™ po interfejsie użytkownika CKEditor 5, użyj nastÄ™pujÄ…cych skrótów klawiszowych.","User interface and content navigation keystrokes":"Klawisze umożliwiajÄ…ce poruszanie się po interfejsie użytkownika i zawartoÅ›ci",White:"BiaÅ‚y","Widget toolbar":"Pasek widgetów","With file manager":"Przez menedżer plików",Yellow:"Żółty"}),a.getPluralForm=function(e){return 1==e?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:1!=e&&e%10>=0&&e%10<=1||e%10>=5&&e%10<=9||e%100>=12&&e%100<=14?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.pl=e.pl||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(może wymagać użycia klawisza <kbd>Fn</kbd>)","%0 of %1":"%0 z %1",Accept:"Zaakceptuj",Accessibility:"DostÄ™pność","Accessibility help":"Pomoc dotyczÄ…ca dostÄ™pnoÅ›ci",Aquamarine:"Akwamaryna","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Poniżej znajdziesz listÄ™ skrótów klawiszowych, których można używać w edytorze.",Black:"Czarny",Blue:"Niebieski",Cancel:"Anuluj","Cannot upload file:":"Nie można przesÅ‚ać pliku:",Clear:"Wyczyść","Click to edit block":"Kliknij, aby edytować blok",Close:"Zamknij","Close contextual balloons, dropdowns, and dialogs":"Zamyka podpowiedzi kontekstowe, menu rozwijane i okna dialogowe","Color picker":"Wybór koloru","Content editing keystrokes":"Klawisze edycji zawartoÅ›ci","Copy selected content":"Kopiuje zaznaczonÄ… zawartość","Dim grey":"Ciemnoszary","Drag to move":"PrzeciÄ…gnij, aby przenieść","Dropdown menu":"Menu rozwijane","Dropdown toolbar":"Rozwijany pasek narzÄ™dzi","Edit block":"Edytuj blok","Editor block content toolbar":"Pasek zadaÅ„ treÅ›ci blokowej edytora","Editor contextual toolbar":"Kontekstowy pasek zadaÅ„ edytora","Editor dialog":"Okno edytora","Editor menu bar":"Pasek menu edytora","Editor toolbar":"Pasek narzÄ™dzi edytora","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Uruchom aktualnie aktywny przycisk. Uruchomienie przycisków wchodzÄ…cych w interakcjÄ™ z zawartoÅ›ciÄ… edytora przywraca ukierunkowanie na zawartość.",File:"Plik",Green:"Zielony",Grey:"Szary","Help Contents. To close this dialog press ESC.":"Zawartość pomocy. Aby zamknąć to okno dialogowe, naciÅ›nij klawisz ESC.",HEX:"SZESNASTKOWY","Insert a hard break (a new paragraph)":"Wstawia twardÄ… spacjÄ™ (nowy akapit)","Insert a new paragraph directly after a widget":"Wstawia nowy akapit bezpoÅ›rednio po widżecie","Insert a new paragraph directly before a widget":"Wstawia nowy akapit bezpoÅ›rednio przed widżetem","Insert a soft break (a <code><br></code> element)":"Wstawia miÄ™kki enter (element <code><br></code>","Insert image with file manager":"Wstaw obraz za pomocÄ… menedżera plików","Insert paragraph after block":"Wstaw akapit po bloku","Insert paragraph before block":"Wstaw akapit przed blokiem","Insert with file manager":"Wstaw za pomocÄ… menedżera plików","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klawisze, których można używać po wybraniu widżetu (na przykÅ‚ad: obraz, tabela itd.)","Light blue":"Jasnoniebieski","Light green":"Jasnozielony","Light grey":"Jasnoszary",MENU_BAR_MENU_EDIT:"Zmiana",MENU_BAR_MENU_FILE:"Plik",MENU_BAR_MENU_FONT:"Czcionka",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Pomoc",MENU_BAR_MENU_INSERT:"Wstaw",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"NarzÄ™dzia",MENU_BAR_MENU_VIEW:"Zobacz","Move focus between form fields (inputs, buttons, etc.)":"Przenosi fokus pomiÄ™dzy polami formularza (polami wprowadzania, przyciskami itd.)","Move focus from an editable area back to the parent widget":"PrzenieÅ› skupienie z edytowalnego obszaru z powrotem do widżetu nadrzÄ™dnego","Move focus in and out of an active dialog window":"Przenosi fokus do i z aktywnego okna dialogowego","Move focus to the menu bar, navigate between menu bars":"ZmieÅ„ ukierunkowanie na pasek menu, nawiguj miÄ™dzy paskami menu","Move focus to the toolbar, navigate between toolbars":"Przenosi fokus na pasek narzÄ™dzi, umożliwia poruszanie siÄ™ pomiÄ™dzy paskami narzÄ™dzi","Move the caret to allow typing directly after a widget":"Przenosi kursor, aby umożliwić pisanie bezpoÅ›rednio za widżetem","Move the caret to allow typing directly before a widget":"Przenosi kursor, aby umożliwić pisanie bezpoÅ›rednio przed widżetem","Navigate through the toolbar or menu bar":"Nawiguj za pomocÄ… paska narzÄ™dzi lub paska menu",Next:"NastÄ™pny","No results found":"Nie znaleziono wyników","No searchable items":"Brak elementów do wyszukania","Open the accessibility help dialog":"Otwiera okno pomocy dotyczÄ…cej dostÄ™pnoÅ›ci",Orange:"PomaraÅ„czowy",Paragraph:"Akapit","Paste content":"Wkleja zawartość","Paste content as plain text":"Wkleja zawartość jako zwykÅ‚y tekst",'Please enter a valid color (e.g. "ff0000").':"Wprowadź prawidÅ‚owy kolor (np. „ff0000â€).","Press %0 for help.":"NaciÅ›nij %0, aby uzyskać pomoc.","Press Enter to type after or press Shift + Enter to type before the widget":"NaciÅ›nij Enter, aby pisać po widżecie, lub Shift + Enter, aby pisać przed widżetem",Previous:"Poprzedni",Purple:"Purpurowy",Red:"Czerwony",Redo:"Ponów","Remove color":"UsuÅ„ kolor","Replace image with file manager":"ZastÄ…p obraz za pomocÄ… menedżera plików","Replace with file manager":"ZastÄ…p za pomocÄ… menedżera plików","Restore default":"Przywróć domyÅ›lne","Rich Text Editor":"Edytor tekstu sformatowanego","Rich Text Editor. Editing area: %0":"Edytor tekstu. Obszar edycji: %0",Save:"Zapisz","Select all":"Zaznacz wszystko","Show more items":"Pokaż wiÄ™cej","These keyboard shortcuts allow for quick access to content editing features.":"Te skróty klawiszowe umożliwiajÄ… szybki dostÄ™p do funkcji edycji zawartoÅ›ci.","Toggle caption off":"Ukryj podpis tabeli","Toggle caption on":"Pokaż podpis tabeli",Turquoise:"Turkusowy",Undo:"Cofnij","Upload in progress":"Trwa przesyÅ‚anie","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Aby Å‚atwiej poruszać siÄ™ po interfejsie użytkownika CKEditor 5, użyj nastÄ™pujÄ…cych skrótów klawiszowych.","User interface and content navigation keystrokes":"Klawisze umożliwiajÄ…ce poruszanie się po interfejsie użytkownika i zawartoÅ›ci",White:"BiaÅ‚y","Widget toolbar":"Pasek widgetów","With file manager":"Przez menedżer plików",Yellow:"Żółty"}),a.getPluralForm=function(e){return 1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt-br.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt-br.js index e2d239816efde1f22b8d1a4b709d377170096a71..f3ac89f874eecb6ee219519f71d108d30edb105b 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt-br.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt-br.js @@ -1 +1 @@ -!function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pode requerer <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceitar",Accessibility:"Acessibilidade","Accessibility help":"Ajuda de acessibilidade",Aquamarine:"Ãgua-marinha","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Abaixo, você pode encontrar uma lista de atalhos de teclado que podem ser usados no editor.",Black:"Preto",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"Não foi possÃvel enviar o arquivo:",Clear:"Limpar","Click to edit block":"Clicar para editar o bloco",Close:"Fechar","Close contextual balloons, dropdowns, and dialogs":"Fechar balões contextuais, dropdowns e diálogos","Content editing keystrokes":"Teclas de edição de conteúdo","Copy selected content":"Copiar conteúdo selecionado","Dim grey":"Cinza escuro","Drag to move":"Arrastar para mover","Dropdown menu":"Menu suspenso","Dropdown toolbar":"Barra de Ferramentas da Lista Suspensa","Edit block":"Editor de bloco","Editor block content toolbar":"Barra de ferramentas de bloco do Editor","Editor contextual toolbar":"Barra de ferramentas contextual do Editor","Editor dialog":"Diálogo do editor","Editor menu bar":"Barra de menu do editor","Editor toolbar":"Ferramentas do Editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute o botão com o foco atual. Executar botões que interajam com o conteúdo do editor retorna o foco para o conteúdo.",File:"Arquivo",Green:"Verde",Grey:"Cinza","Help Contents. To close this dialog press ESC.":"Conteúdo de Ajuda. Para fechar este diálogo pressione ESC.",HEX:"Hexadecimal","Insert a hard break (a new paragraph)":"Inserir uma quebra dura (um novo parágrafo)","Insert a new paragraph directly after a widget":"Inserir um novo parágrafo diretamente após um widget","Insert a new paragraph directly before a widget":"Inserir um novo parágrafo diretamente antes de um widget","Insert a soft break (a <code><br></code> element)":"Inserir uma quebra suave (um elemento <code><br></code>)","Insert image with file manager":"Inserir imagem com o gerenciador de arquivos","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert with file manager":"Inserir com gerenciador de arquivos","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas que podem ser usadas quando um widget está selecionado (por exemplo: imagem, tabela, etc.)","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Cinza claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Arquivo",MENU_BAR_MENU_FONT:"Fonte",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Ajuda",MENU_BAR_MENU_INSERT:"Inserir",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Ferramentas",MENU_BAR_MENU_VIEW:"Visualizar","Move focus between form fields (inputs, buttons, etc.)":"Mover o foco entre campos de formulário (entradas, botões, etc.)","Move focus from an editable area back to the parent widget":"Mova o foco de uma área editável de volta para o widget-pai","Move focus in and out of an active dialog window":"Mover o foco para dentro e fora de uma janela de diálogo ativa","Move focus to the menu bar, navigate between menu bars":"Mova o foco para a barra de menu, navegue entre as barras de menu","Move focus to the toolbar, navigate between toolbars":"Mover o foco para a barra de ferramentas, navegar entre barras de ferramentas","Move the caret to allow typing directly after a widget":"Mova o cursor para permitir a digitação diretamente após um widget","Move the caret to allow typing directly before a widget":"Mova o cursor para permitir a digitação diretamente antes de um widget","Navigate through the toolbar or menu bar":"Navegue pela barra de ferramentas ou pela barra de menu",Next:"Próximo","No results found":"Nenhum resultado encontrado","No searchable items":"Sem itens pesquisáveis","Open the accessibility help dialog":"Abrir o diálogo de ajuda de acessibilidade",Orange:"Laranja","Paste content":"Colar conteúdo","Paste content as plain text":"Colar conteúdo como texto simples",'Please enter a valid color (e.g. "ff0000").':'Digite uma cor válida (por exemplo, "ff0000").',"Press %0 for help.":"Pressione %0 para ajuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Pressione Enter para digitar depois ou pressione Shift + Enter para digitar antes do widget",Previous:"Anterior",Purple:"Púrpura",Red:"Vermelho",Redo:"Refazer","Remove color":"Remover cor","Replace image with file manager":"Substituir imagem pelo gerenciador de arquivos","Replace with file manager":"Substituir pelo gerenciador de arquivos","Restore default":"Restaurar padrão","Rich Text Editor":"Editor de Formatação","Rich Text Editor. Editing area: %0":"Editor de Texto Valioso. Ãrea de edição: %0",Save:"Salvar","Select all":"Selecionar tudo","Show more items":"Exibir mais itens","These keyboard shortcuts allow for quick access to content editing features.":"Estes atalhos de teclado permitem um rápido acesso à s funcionalidades de edição de conteúdo.","Toggle caption off":"Desabilitar legenda","Toggle caption on":"Habilitar legenda",Turquoise:"Turquesa",Undo:"Desfazer","Upload in progress":"Enviando dados","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use as seguintes teclas para uma navegação mais eficiente na interface do usuário do CKEditor 5.","User interface and content navigation keystrokes":"Teclas de navegação da interface do usuário e do conteúdo",White:"Branco","Widget toolbar":"Ferramentas de Widgets","With file manager":"Com o gerenciador de arquivos",Yellow:"Amarelo"}),a.getPluralForm=function(e){return 0==e||1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pode requerer <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceitar",Accessibility:"Acessibilidade","Accessibility help":"Ajuda de acessibilidade",Aquamarine:"Ãgua-marinha","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Abaixo, você pode encontrar uma lista de atalhos de teclado que podem ser usados no editor.",Black:"Preto",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"Não foi possÃvel enviar o arquivo:",Clear:"Limpar","Click to edit block":"Clicar para editar o bloco",Close:"Fechar","Close contextual balloons, dropdowns, and dialogs":"Fechar balões contextuais, dropdowns e diálogos","Color picker":"Seletor de cor","Content editing keystrokes":"Teclas de edição de conteúdo","Copy selected content":"Copiar conteúdo selecionado","Dim grey":"Cinza escuro","Drag to move":"Arrastar para mover","Dropdown menu":"Menu suspenso","Dropdown toolbar":"Barra de Ferramentas da Lista Suspensa","Edit block":"Editor de bloco","Editor block content toolbar":"Barra de ferramentas de bloco do Editor","Editor contextual toolbar":"Barra de ferramentas contextual do Editor","Editor dialog":"Diálogo do editor","Editor menu bar":"Barra de menu do editor","Editor toolbar":"Ferramentas do Editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute o botão com o foco atual. Executar botões que interajam com o conteúdo do editor retorna o foco para o conteúdo.",File:"Arquivo",Green:"Verde",Grey:"Cinza","Help Contents. To close this dialog press ESC.":"Conteúdo de Ajuda. Para fechar este diálogo pressione ESC.",HEX:"Hexadecimal","Insert a hard break (a new paragraph)":"Inserir uma quebra dura (um novo parágrafo)","Insert a new paragraph directly after a widget":"Inserir um novo parágrafo diretamente após um widget","Insert a new paragraph directly before a widget":"Inserir um novo parágrafo diretamente antes de um widget","Insert a soft break (a <code><br></code> element)":"Inserir uma quebra suave (um elemento <code><br></code>)","Insert image with file manager":"Inserir imagem com o gerenciador de arquivos","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert with file manager":"Inserir com gerenciador de arquivos","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas que podem ser usadas quando um widget está selecionado (por exemplo: imagem, tabela, etc.)","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Cinza claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Arquivo",MENU_BAR_MENU_FONT:"Fonte",MENU_BAR_MENU_FORMAT:"Formato",MENU_BAR_MENU_HELP:"Ajuda",MENU_BAR_MENU_INSERT:"Inserir",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Ferramentas",MENU_BAR_MENU_VIEW:"Visualizar","Move focus between form fields (inputs, buttons, etc.)":"Mover o foco entre campos de formulário (entradas, botões, etc.)","Move focus from an editable area back to the parent widget":"Mova o foco de uma área editável de volta para o widget-pai","Move focus in and out of an active dialog window":"Mover o foco para dentro e fora de uma janela de diálogo ativa","Move focus to the menu bar, navigate between menu bars":"Mova o foco para a barra de menu, navegue entre as barras de menu","Move focus to the toolbar, navigate between toolbars":"Mover o foco para a barra de ferramentas, navegar entre barras de ferramentas","Move the caret to allow typing directly after a widget":"Mova o cursor para permitir a digitação diretamente após um widget","Move the caret to allow typing directly before a widget":"Mova o cursor para permitir a digitação diretamente antes de um widget","Navigate through the toolbar or menu bar":"Navegue pela barra de ferramentas ou pela barra de menu",Next:"Próximo","No results found":"Nenhum resultado encontrado","No searchable items":"Sem itens pesquisáveis","Open the accessibility help dialog":"Abrir o diálogo de ajuda de acessibilidade",Orange:"Laranja",Paragraph:"Parágrafo","Paste content":"Colar conteúdo","Paste content as plain text":"Colar conteúdo como texto simples",'Please enter a valid color (e.g. "ff0000").':'Digite uma cor válida (por exemplo, "ff0000").',"Press %0 for help.":"Pressione %0 para ajuda.","Press Enter to type after or press Shift + Enter to type before the widget":"Pressione Enter para digitar depois ou pressione Shift + Enter para digitar antes do widget",Previous:"Anterior",Purple:"Púrpura",Red:"Vermelho",Redo:"Refazer","Remove color":"Remover cor","Replace image with file manager":"Substituir imagem pelo gerenciador de arquivos","Replace with file manager":"Substituir pelo gerenciador de arquivos","Restore default":"Restaurar padrão","Rich Text Editor":"Editor de Formatação","Rich Text Editor. Editing area: %0":"Editor de Texto Valioso. Ãrea de edição: %0",Save:"Salvar","Select all":"Selecionar tudo","Show more items":"Exibir mais itens","These keyboard shortcuts allow for quick access to content editing features.":"Estes atalhos de teclado permitem um rápido acesso à s funcionalidades de edição de conteúdo.","Toggle caption off":"Desabilitar legenda","Toggle caption on":"Habilitar legenda",Turquoise:"Turquesa",Undo:"Desfazer","Upload in progress":"Enviando dados","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use as seguintes teclas para uma navegação mais eficiente na interface do usuário do CKEditor 5.","User interface and content navigation keystrokes":"Teclas de navegação da interface do usuário e do conteúdo",White:"Branco","Widget toolbar":"Ferramentas de Widgets","With file manager":"Com o gerenciador de arquivos",Yellow:"Amarelo"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt.js index 48d94a45c07ae8802763c34b264ec63e6888da32..f1d92241154d2273b8e98bb2e4f3f334f7e21bbb 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/pt.js @@ -1 +1 @@ -!function(e){const o=e.pt=e.pt||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pode exigir <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceitar",Accessibility:"Acessibilidade","Accessibility help":"Ajuda de acessibilidade",Aquamarine:"Verde-azulado","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Abaixo, encontra-se uma lista de atalhos de teclado que podem ser utilizados no editor.",Black:"Preto",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"Não foi possÃvel carregar o ficheiro:",Clear:"Limpar","Click to edit block":"Clique para editar o bloco",Close:"Fechar","Close contextual balloons, dropdowns, and dialogs":"Fechar balões contextuais, menus suspensos e caixas de diálogo","Content editing keystrokes":"Batimentos de teclas para editar o conteúdo","Copy selected content":"Copiar o conteúdo selecionado","Dim grey":"Cinzento-escuro","Drag to move":"Arraste para mover","Dropdown menu":"Menu suspenso","Dropdown toolbar":"Barra de ferramentas do menu pendente","Edit block":"Editar bloco","Editor block content toolbar":"Barra de ferramentas de edição do conteúdo de blocos","Editor contextual toolbar":"Barra de ferramentas contextual de edição","Editor dialog":"Diálogo do editor","Editor menu bar":"Barra de menu do editor","Editor toolbar":"Barra de ferramentas do editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Executar o botão atualmente em foco. A execução de botões que interagem com o conteúdo do editor coloca novamente o foco sobre o conteúdo.",File:"Ficheiro",Green:"Verde",Grey:"Cinzento","Help Contents. To close this dialog press ESC.":"Conteúdos de ajuda. Para fechar esta caixa de diálogo, prima ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserir uma quebra brusca (um novo parágrafo)","Insert a new paragraph directly after a widget":"Inserir um novo parágrafo diretamente após um widget","Insert a new paragraph directly before a widget":"Inserir um novo parágrafo diretamente antes de um widget","Insert a soft break (a <code><br></code> element)":"Inserir uma quebra suave (um elemento <code><br></code>)","Insert image with file manager":"Inserir imagem com o gestor de ficheiros","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert with file manager":"Inserir com o gestor de ficheiros","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Batimentos de teclas que podem ser utilizados quando um widget é selecionado (por exemplo: imagem, tabela, etc.)","Light blue":"Azul-claro","Light green":"Verde-claro","Light grey":"Cinzento-claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Ficheiro",MENU_BAR_MENU_FONT:"Tipo de letra",MENU_BAR_MENU_FORMAT:"Formatação",MENU_BAR_MENU_HELP:"Ajuda",MENU_BAR_MENU_INSERT:"Inserir",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Ferramentas",MENU_BAR_MENU_VIEW:"Visualizar","Move focus between form fields (inputs, buttons, etc.)":"Mover o foco entre os campos do formulário (entradas, botões, etc.)","Move focus from an editable area back to the parent widget":"Deslocar o foco de uma área editável de volta para o widget principal","Move focus in and out of an active dialog window":"Mover o foco para dentro e para fora de uma janela de diálogo ativa","Move focus to the menu bar, navigate between menu bars":"Mover o foco para a barra de menu, navegar entre as barras de menu","Move focus to the toolbar, navigate between toolbars":"Mover o foco para a barra de ferramentas, navegar entre barras de ferramentas","Move the caret to allow typing directly after a widget":"Mover o ponto de inserção para permitir escrever diretamente após um widget","Move the caret to allow typing directly before a widget":"Mover o ponto de inserção para permitir escrever diretamente antes de um widget","Navigate through the toolbar or menu bar":"Navegar pela barra de ferramentas ou pela barra de menu",Next:"Seguinte","No results found":"Nenhum resultado encontrado","No searchable items":"Nenhum item pesquisável","Open the accessibility help dialog":"Abrir a caixa de diálogo de ajuda de acessibilidade",Orange:"Laranja","Paste content":"Colar o conteúdo","Paste content as plain text":"Colar o conteúdo como texto sem formatação",'Please enter a valid color (e.g. "ff0000").':'Introduza uma cor válida (por ex. "ff0000").',"Press %0 for help.":"Para obter ajuda, pressione %0.","Press Enter to type after or press Shift + Enter to type before the widget":"Prima Enter para escrever depois ou Shift + Enter para escrever antes do widget",Previous:"Anterior",Purple:"Roxo",Red:"Vermelho",Redo:"Refazer","Remove color":"Remover cor","Replace image with file manager":"Substituir imagem com o gestor de ficheiros","Replace with file manager":"Substituir com o gestor de ficheiros","Restore default":"Restaurar predefinição","Rich Text Editor":"Editor de texto avançado","Rich Text Editor. Editing area: %0":"Editor de Texto Formatado. Ãrea de edição: %0",Save:"Guardar","Select all":"Selecionar todos","Show more items":"Mostrar mais itens","These keyboard shortcuts allow for quick access to content editing features.":"Estes atalhos de teclado permitem aceder rapidamente à s funcionalidades de edição de conteúdo.","Toggle caption off":"Desativar legenda","Toggle caption on":"Ativar legenda",Turquoise:"Turquesa",Undo:"Desfazer","Upload in progress":"Carregamento em progresso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Para navegar de forma mais eficiente pela interface de utilizador do CKEditor 5, utilize os seguintes batimentos de teclas.","User interface and content navigation keystrokes":"Batimentos de teclas para navegar pela interface de utilizador e pelo conteúdo",White:"Branco","Widget toolbar":"Barra de ferramentas do widget","With file manager":"Com o gestor de ficheiros",Yellow:"Amarelo"}),o.getPluralForm=function(e){return 0==e||1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const o=e.pt=e.pt||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(pode exigir <kbd>Fn</kbd>)","%0 of %1":"%0 de %1",Accept:"Aceitar",Accessibility:"Acessibilidade","Accessibility help":"Ajuda de acessibilidade",Aquamarine:"Verde-azulado","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Abaixo, encontra-se uma lista de atalhos de teclado que podem ser utilizados no editor.",Black:"Preto",Blue:"Azul",Cancel:"Cancelar","Cannot upload file:":"Não foi possÃvel carregar o ficheiro:",Clear:"Limpar","Click to edit block":"Clique para editar o bloco",Close:"Fechar","Close contextual balloons, dropdowns, and dialogs":"Fechar balões contextuais, menus suspensos e caixas de diálogo","Color picker":"Seletor de cor","Content editing keystrokes":"Batimentos de teclas para editar o conteúdo","Copy selected content":"Copiar o conteúdo selecionado","Dim grey":"Cinzento-escuro","Drag to move":"Arraste para mover","Dropdown menu":"Menu suspenso","Dropdown toolbar":"Barra de ferramentas do menu pendente","Edit block":"Editar bloco","Editor block content toolbar":"Barra de ferramentas de edição do conteúdo de blocos","Editor contextual toolbar":"Barra de ferramentas contextual de edição","Editor dialog":"Diálogo do editor","Editor menu bar":"Barra de menu do editor","Editor toolbar":"Barra de ferramentas do editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Executar o botão atualmente em foco. A execução de botões que interagem com o conteúdo do editor coloca novamente o foco sobre o conteúdo.",File:"Ficheiro",Green:"Verde",Grey:"Cinzento","Help Contents. To close this dialog press ESC.":"Conteúdos de ajuda. Para fechar esta caixa de diálogo, prima ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Inserir uma quebra brusca (um novo parágrafo)","Insert a new paragraph directly after a widget":"Inserir um novo parágrafo diretamente após um widget","Insert a new paragraph directly before a widget":"Inserir um novo parágrafo diretamente antes de um widget","Insert a soft break (a <code><br></code> element)":"Inserir uma quebra suave (um elemento <code><br></code>)","Insert image with file manager":"Inserir imagem com o gestor de ficheiros","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert with file manager":"Inserir com o gestor de ficheiros","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Batimentos de teclas que podem ser utilizados quando um widget é selecionado (por exemplo: imagem, tabela, etc.)","Light blue":"Azul-claro","Light green":"Verde-claro","Light grey":"Cinzento-claro",MENU_BAR_MENU_EDIT:"Editar",MENU_BAR_MENU_FILE:"Ficheiro",MENU_BAR_MENU_FONT:"Tipo de letra",MENU_BAR_MENU_FORMAT:"Formatação",MENU_BAR_MENU_HELP:"Ajuda",MENU_BAR_MENU_INSERT:"Inserir",MENU_BAR_MENU_TEXT:"Texto",MENU_BAR_MENU_TOOLS:"Ferramentas",MENU_BAR_MENU_VIEW:"Visualizar","Move focus between form fields (inputs, buttons, etc.)":"Mover o foco entre os campos do formulário (entradas, botões, etc.)","Move focus from an editable area back to the parent widget":"Deslocar o foco de uma área editável de volta para o widget principal","Move focus in and out of an active dialog window":"Mover o foco para dentro e para fora de uma janela de diálogo ativa","Move focus to the menu bar, navigate between menu bars":"Mover o foco para a barra de menu, navegar entre as barras de menu","Move focus to the toolbar, navigate between toolbars":"Mover o foco para a barra de ferramentas, navegar entre barras de ferramentas","Move the caret to allow typing directly after a widget":"Mover o ponto de inserção para permitir escrever diretamente após um widget","Move the caret to allow typing directly before a widget":"Mover o ponto de inserção para permitir escrever diretamente antes de um widget","Navigate through the toolbar or menu bar":"Navegar pela barra de ferramentas ou pela barra de menu",Next:"Seguinte","No results found":"Nenhum resultado encontrado","No searchable items":"Nenhum item pesquisável","Open the accessibility help dialog":"Abrir a caixa de diálogo de ajuda de acessibilidade",Orange:"Laranja",Paragraph:"Parágrafo","Paste content":"Colar o conteúdo","Paste content as plain text":"Colar o conteúdo como texto sem formatação",'Please enter a valid color (e.g. "ff0000").':'Introduza uma cor válida (por ex. "ff0000").',"Press %0 for help.":"Para obter ajuda, pressione %0.","Press Enter to type after or press Shift + Enter to type before the widget":"Prima Enter para escrever depois ou Shift + Enter para escrever antes do widget",Previous:"Anterior",Purple:"Roxo",Red:"Vermelho",Redo:"Refazer","Remove color":"Remover cor","Replace image with file manager":"Substituir imagem com o gestor de ficheiros","Replace with file manager":"Substituir com o gestor de ficheiros","Restore default":"Restaurar predefinição","Rich Text Editor":"Editor de texto avançado","Rich Text Editor. Editing area: %0":"Editor de Texto Formatado. Ãrea de edição: %0",Save:"Guardar","Select all":"Selecionar todos","Show more items":"Mostrar mais itens","These keyboard shortcuts allow for quick access to content editing features.":"Estes atalhos de teclado permitem aceder rapidamente à s funcionalidades de edição de conteúdo.","Toggle caption off":"Desativar legenda","Toggle caption on":"Ativar legenda",Turquoise:"Turquesa",Undo:"Desfazer","Upload in progress":"Carregamento em progresso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Para navegar de forma mais eficiente pela interface de utilizador do CKEditor 5, utilize os seguintes batimentos de teclas.","User interface and content navigation keystrokes":"Batimentos de teclas para navegar pela interface de utilizador e pelo conteúdo",White:"Branco","Widget toolbar":"Barra de ferramentas do widget","With file manager":"Com o gestor de ficheiros",Yellow:"Amarelo"}),o.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ro.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ro.js index 4dbb0bf6101fe72cb4e77f29d3d5d4665fa55813..f4f72c6f39288d64cc21eabaf1d135580a3b4fac 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ro.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ro.js @@ -1 +1 @@ -!function(e){const t=e.ro=e.ro||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(poate fi necesar să apăsaÈ›i <kbd>Fn</kbd>)","%0 of %1":"%0 din %1",Accept:"Acceptă",Accessibility:"Accesibilitate","Accessibility help":"Ajutor pentru accesibilitate",Aquamarine:"Acvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Mai jos puteÈ›i găsi o listă de comenzi rapide de tastatură care pot fi utilizate în editor.",Black:"Negru",Blue:"Albastru",Cancel:"Anulare","Cannot upload file:":"Nu se poate încărca fiÈ™ierul:",Clear:"Ștergere","Click to edit block":"FaceÈ›i clic pentru a edita întreg blocul",Close:"ÃŽnchideÈ›i","Close contextual balloons, dropdowns, and dialogs":"ÃŽnchide baloanele contextuale, ferestrele derulante È™i ferestrele de dialog","Content editing keystrokes":"Comenzi din tastatură pentru editarea conÈ›inutului","Copy selected content":"Copiază conÈ›inutul selectat","Dim grey":"Gri slab","Drag to move":"GlisaÈ›i pentru a muta","Dropdown menu":"Meniu derulant","Dropdown toolbar":"Bară listă opÈ›iuni","Edit block":"Editează bloc","Editor block content toolbar":"Bară de instrumente editor pentru blocuri de conÈ›inut","Editor contextual toolbar":"Bară contextuală de instrumente editor","Editor dialog":"Dialog editor","Editor menu bar":"Bara de meniuri a editorului","Editor toolbar":"Bară editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execută butonul focalizat în prezent. Executarea butoanelor care interacÈ›ionează cu conÈ›inutul editorului mută focalizarea înapoi pe conÈ›inut.",File:"FiÈ™ier",Green:"Verde",Grey:"Gri","Help Contents. To close this dialog press ESC.":"ConÈ›inutul de asistență. ApăsaÈ›i ESC pentru a închide acest dialog.",HEX:"HEX","Insert a hard break (a new paragraph)":"Introduce un capăt de rând obligatoriu (alineat nou)","Insert a new paragraph directly after a widget":"Inserează un nou paragraf direct după un widget","Insert a new paragraph directly before a widget":"Inserează un nou paragraf direct înaintea unui widget","Insert a soft break (a <code><br></code> element)":"Introduce capăt de rând opÈ›ional (un element <code><br></code>)","Insert image with file manager":"Inserare imagine cu managerul de fiÈ™iere","Insert paragraph after block":"Inserează un paragraf după bloc","Insert paragraph before block":"Inserează un paragraf înaintea blocului","Insert with file manager":"Inserare cu managerul de fiÈ™iere","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Comenzi din tastatură care pot fi utilizate atunci când este selectat un widget (de exemplu: imagine, tabel etc.)","Light blue":"Albastru deschis","Light green":"Verde deschis","Light grey":"Gri deschis",MENU_BAR_MENU_EDIT:"Editează",MENU_BAR_MENU_FILE:"FiÈ™ier",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Formatare",MENU_BAR_MENU_HELP:"Ajutor",MENU_BAR_MENU_INSERT:"Inserează",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Instrumente",MENU_BAR_MENU_VIEW:"Vizualizare","Move focus between form fields (inputs, buttons, etc.)":"Schimbă elementul activ între câmpurile unui formular (câmpuri de introducere text, butoane etc.)","Move focus from an editable area back to the parent widget":"MutaÈ›i centrul de interes dintr-o zonă editabilă înapoi la widgetul părinte","Move focus in and out of an active dialog window":"Comutează focalizarea într-o fereastră de dialog activă È™i în afara acesteia","Move focus to the menu bar, navigate between menu bars":"Transferarea focusului pe bara de meniu, navigarea între barele de meniu","Move focus to the toolbar, navigate between toolbars":"Mută focalizarea pe bara de instrumente, navighează prin barele de instrumente","Move the caret to allow typing directly after a widget":"Mută cursorul pentru a permite tastarea direct după un widget","Move the caret to allow typing directly before a widget":"Mută cursorul pentru a permite tastarea direct înaintea unui widget","Navigate through the toolbar or menu bar":"Navigare prin bara de instrumente sau bara de meniuri",Next:"ÃŽnainte","No results found":"Nu au fost găsite rezultate","No searchable items":"Nu există elemente ce pot fi căutate","Open the accessibility help dialog":"Deschide fereastra de ajutor pentru accesibilitate",Orange:"Portocaliu","Paste content":"LipeÈ™te conÈ›inut","Paste content as plain text":"LipeÈ™te conÈ›inutul ca text simplu",'Please enter a valid color (e.g. "ff0000").':"Vă rugăm să introduceÈ›i un cod de culoare valid (de ex., „ff0000â€).","Press %0 for help.":"ApăsaÈ›i %0] pentru ajutor.","Press Enter to type after or press Shift + Enter to type before the widget":"ApăsaÈ›i Enter pentru a scrie după widget sau Shift+Enter pentru a scrie înaintea acestuia",Previous:"ÃŽnapoi",Purple:"Violet",Red:"RoÈ™u",Redo:"Revenire","Remove color":"Șterge culoare","Replace image with file manager":"ÃŽnlocuire imagine cu managerul de fiÈ™iere","Replace with file manager":"ÃŽnlocuire cu managerul de fiÈ™iere","Restore default":"Reface la default","Rich Text Editor":"Editor de text","Rich Text Editor. Editing area: %0":"Editor Rich Text. Zonă editare: %0",Save:"Salvare","Select all":"Selectează-le pe toate","Show more items":"Arată mai multe elemente","These keyboard shortcuts allow for quick access to content editing features.":"Aceste comenzi rapide din tastatură permit accesul rapid la funcÈ›iile de editare a conÈ›inutului.","Toggle caption off":"DezactivaÈ›i subtitlul","Toggle caption on":"ActivaÈ›i subtitlul",Turquoise:"Turcoaz",Undo:"Anulare","Upload in progress":"ÃŽncărcare în curs","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"UtilizaÈ›i următoarele comenzi din tastatură pentru o navigare mai eficientă în interfaÈ›a cu utilizatorul CKEditor 5.","User interface and content navigation keystrokes":"InterfaÈ›a cu utilizatorul È™i comenzi din tastatură pentru navigare în conÈ›inut",White:"Alb","Widget toolbar":"Bară widget","With file manager":"Cu managerul de fiÈ™iere",Yellow:"Galben"}),t.getPluralForm=function(e){return 1==e?0:e%100>19||e%100==0&&0!=e?2:1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ro=e.ro||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(poate fi necesar să apăsaÈ›i <kbd>Fn</kbd>)","%0 of %1":"%0 din %1",Accept:"Acceptă",Accessibility:"Accesibilitate","Accessibility help":"Ajutor pentru accesibilitate",Aquamarine:"Acvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Mai jos puteÈ›i găsi o listă de comenzi rapide de tastatură care pot fi utilizate în editor.",Black:"Negru",Blue:"Albastru",Cancel:"Anulare","Cannot upload file:":"Nu se poate încărca fiÈ™ierul:",Clear:"Ștergere","Click to edit block":"FaceÈ›i clic pentru a edita întreg blocul",Close:"ÃŽnchideÈ›i","Close contextual balloons, dropdowns, and dialogs":"ÃŽnchide baloanele contextuale, ferestrele derulante È™i ferestrele de dialog","Color picker":"Alegere culoare","Content editing keystrokes":"Comenzi din tastatură pentru editarea conÈ›inutului","Copy selected content":"Copiază conÈ›inutul selectat","Dim grey":"Gri slab","Drag to move":"GlisaÈ›i pentru a muta","Dropdown menu":"Meniu derulant","Dropdown toolbar":"Bară listă opÈ›iuni","Edit block":"Editează bloc","Editor block content toolbar":"Bară de instrumente editor pentru blocuri de conÈ›inut","Editor contextual toolbar":"Bară contextuală de instrumente editor","Editor dialog":"Dialog editor","Editor menu bar":"Bara de meniuri a editorului","Editor toolbar":"Bară editor","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execută butonul focalizat în prezent. Executarea butoanelor care interacÈ›ionează cu conÈ›inutul editorului mută focalizarea înapoi pe conÈ›inut.",File:"FiÈ™ier",Green:"Verde",Grey:"Gri","Help Contents. To close this dialog press ESC.":"ConÈ›inutul de asistență. ApăsaÈ›i ESC pentru a închide acest dialog.",HEX:"HEX","Insert a hard break (a new paragraph)":"Introduce un capăt de rând obligatoriu (alineat nou)","Insert a new paragraph directly after a widget":"Inserează un nou paragraf direct după un widget","Insert a new paragraph directly before a widget":"Inserează un nou paragraf direct înaintea unui widget","Insert a soft break (a <code><br></code> element)":"Introduce capăt de rând opÈ›ional (un element <code><br></code>)","Insert image with file manager":"Inserare imagine cu managerul de fiÈ™iere","Insert paragraph after block":"Inserează un paragraf după bloc","Insert paragraph before block":"Inserează un paragraf înaintea blocului","Insert with file manager":"Inserare cu managerul de fiÈ™iere","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Comenzi din tastatură care pot fi utilizate atunci când este selectat un widget (de exemplu: imagine, tabel etc.)","Light blue":"Albastru deschis","Light green":"Verde deschis","Light grey":"Gri deschis",MENU_BAR_MENU_EDIT:"Editează",MENU_BAR_MENU_FILE:"FiÈ™ier",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Formatare",MENU_BAR_MENU_HELP:"Ajutor",MENU_BAR_MENU_INSERT:"Inserează",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Instrumente",MENU_BAR_MENU_VIEW:"Vizualizare","Move focus between form fields (inputs, buttons, etc.)":"Schimbă elementul activ între câmpurile unui formular (câmpuri de introducere text, butoane etc.)","Move focus from an editable area back to the parent widget":"MutaÈ›i centrul de interes dintr-o zonă editabilă înapoi la widgetul părinte","Move focus in and out of an active dialog window":"Comutează focalizarea într-o fereastră de dialog activă È™i în afara acesteia","Move focus to the menu bar, navigate between menu bars":"Transferarea focusului pe bara de meniu, navigarea între barele de meniu","Move focus to the toolbar, navigate between toolbars":"Mută focalizarea pe bara de instrumente, navighează prin barele de instrumente","Move the caret to allow typing directly after a widget":"Mută cursorul pentru a permite tastarea direct după un widget","Move the caret to allow typing directly before a widget":"Mută cursorul pentru a permite tastarea direct înaintea unui widget","Navigate through the toolbar or menu bar":"Navigare prin bara de instrumente sau bara de meniuri",Next:"ÃŽnainte","No results found":"Nu au fost găsite rezultate","No searchable items":"Nu există elemente ce pot fi căutate","Open the accessibility help dialog":"Deschide fereastra de ajutor pentru accesibilitate",Orange:"Portocaliu",Paragraph:"Paragraf","Paste content":"LipeÈ™te conÈ›inut","Paste content as plain text":"LipeÈ™te conÈ›inutul ca text simplu",'Please enter a valid color (e.g. "ff0000").':"Vă rugăm să introduceÈ›i un cod de culoare valid (de ex., „ff0000â€).","Press %0 for help.":"ApăsaÈ›i %0] pentru ajutor.","Press Enter to type after or press Shift + Enter to type before the widget":"ApăsaÈ›i Enter pentru a scrie după widget sau Shift+Enter pentru a scrie înaintea acestuia",Previous:"ÃŽnapoi",Purple:"Violet",Red:"RoÈ™u",Redo:"Revenire","Remove color":"Șterge culoare","Replace image with file manager":"ÃŽnlocuire imagine cu managerul de fiÈ™iere","Replace with file manager":"ÃŽnlocuire cu managerul de fiÈ™iere","Restore default":"Reface la default","Rich Text Editor":"Editor de text","Rich Text Editor. Editing area: %0":"Editor Rich Text. Zonă editare: %0",Save:"Salvare","Select all":"Selectează-le pe toate","Show more items":"Arată mai multe elemente","These keyboard shortcuts allow for quick access to content editing features.":"Aceste comenzi rapide din tastatură permit accesul rapid la funcÈ›iile de editare a conÈ›inutului.","Toggle caption off":"DezactivaÈ›i subtitlul","Toggle caption on":"ActivaÈ›i subtitlul",Turquoise:"Turcoaz",Undo:"Anulare","Upload in progress":"ÃŽncărcare în curs","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"UtilizaÈ›i următoarele comenzi din tastatură pentru o navigare mai eficientă în interfaÈ›a cu utilizatorul CKEditor 5.","User interface and content navigation keystrokes":"InterfaÈ›a cu utilizatorul È™i comenzi din tastatură pentru navigare în conÈ›inut",White:"Alb","Widget toolbar":"Bară widget","With file manager":"Cu managerul de fiÈ™iere",Yellow:"Galben"}),t.getPluralForm=function(e){return 1==e?0:0==e||e%100>0&&e%100<20?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ru.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ru.js index 64bad156e12e9903a80ffacf4fc5fa1c2143d7ba..69334310b92567778af500f82e8a55f7e61b7c71 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ru.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ru.js @@ -1 +1 @@ -!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(может требовать <kbd>Fn</kbd>)","%0 of %1":"%0 из %1",Accept:"ПринÑÑ‚ÑŒ",Accessibility:"ДоÑтупноÑÑ‚ÑŒ","Accessibility help":"Помощь по Ñпециальным возможноÑÑ‚Ñм",Aquamarine:"Ðквамариновый","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ðиже вы можете найти ÑпиÑок Ñочетаний клавиш, которые можно иÑпользовать в редакторе.",Black:"Чёрный",Blue:"Синий",Cancel:"Отмена","Cannot upload file:":"Ðевозможно загрузить файл",Clear:"ОчиÑтить","Click to edit block":"Ðажмите, чтобы редактировать блок",Close:"Закрыть","Close contextual balloons, dropdowns, and dialogs":"Закрыть контекÑтные вÑплывающие окна, раÑкрывающиеÑÑ ÑпиÑки и диалоговые окна.","Content editing keystrokes":"Клавиши Ð´Ð»Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½Ñ‚ÐµÐ½Ñ‚Ð°","Copy selected content":"Копировать выбранное Ñодержание","Dim grey":"Тёмно-Ñерый","Drag to move":"Перетащить","Dropdown menu":"РаÑкрывающееÑÑ Ð¼ÐµÐ½ÑŽ","Dropdown toolbar":"Ð’Ñ‹Ð¿Ð°Ð´Ð°ÑŽÑ‰Ð°Ñ Ð¿Ð°Ð½ÐµÐ»ÑŒ инÑтрументов","Edit block":"Редактировать блок","Editor block content toolbar":"Панель инÑтрументов редактора","Editor contextual toolbar":"КонтекÑÑ‚ÑƒÐ°Ð»ÑŒÐ½Ð°Ñ Ð¿Ð°Ð½ÐµÐ»ÑŒ инÑтрументов редактора","Editor dialog":"Диалоговое окно редактора","Editor menu bar":"Панель меню редактора","Editor toolbar":"Панель инÑтрументов редактора","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ðктивировать кнопку, находÑщуюÑÑ Ð² фокуÑе. Ðктивирование кнопок, которые взаимодейÑтвуют Ñ Ñодержимым редактора, перемещает Ñ„Ð¾ÐºÑƒÑ Ð¾Ð±Ñ€Ð°Ñ‚Ð½Ð¾ на Ñодержимое.",File:"Файл",Green:"Зелёный",Grey:"Серый","Help Contents. To close this dialog press ESC.":"Содержание Ñправки. Чтобы закрыть Ñто диалоговое окно, нажмите ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Ð’Ñтавить жеÑткий разрыв (новый абзац)","Insert a new paragraph directly after a widget":"Ð’Ñтавить новый абзац непоÑредÑтвенно поÑле виджета.","Insert a new paragraph directly before a widget":"Ð’Ñтавить новый абзац непоÑредÑтвенно перед виджетом.","Insert a soft break (a <code><br></code> element)":"Ð’Ñтавить мÑгкий разрыв (Ñлемент <code><br></code>)","Insert image with file manager":"Ð’Ñтавить изображение Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Insert paragraph after block":"Ð’Ñтавить параграф поÑле блока","Insert paragraph before block":"Ð’Ñтавить параграф перед блоком","Insert with file manager":"Ð’Ñтавка Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ÐÐ°Ð¶Ð°Ñ‚Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ, которые можно иÑпользовать при выборе виджета (например: изображение, таблица и Ñ‚. д.)","Light blue":"Голубой","Light green":"Салатовый","Light grey":"Светло-Ñерый",MENU_BAR_MENU_EDIT:"Редактировать",MENU_BAR_MENU_FILE:"Файл",MENU_BAR_MENU_FONT:"Шрифт",MENU_BAR_MENU_FORMAT:"Формат",MENU_BAR_MENU_HELP:"Помощь",MENU_BAR_MENU_INSERT:"Ð’Ñтавить",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"ИнÑтрументы",MENU_BAR_MENU_VIEW:"ПоÑмотреть","Move focus between form fields (inputs, buttons, etc.)":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð¼ÐµÐ¶Ð´Ñƒ полÑми формы (вводы, кнопки и Ñ‚. д.)","Move focus from an editable area back to the parent widget":"ПеремеÑтите Ñ„Ð¾ÐºÑƒÑ Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¸Ñ€ÑƒÐµÐ¼Ð¾Ð¹ облаÑти обратно на родительÑкий виджет","Move focus in and out of an active dialog window":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð² активное диалоговое окно и обратно.","Move focus to the menu bar, navigate between menu bars":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð½Ð° панель меню, перемещатьÑÑ Ð¼ÐµÐ¶Ð´Ñƒ панелÑми меню","Move focus to the toolbar, navigate between toolbars":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð½Ð° панель инÑтрументов, перемещатьÑÑ Ð¼ÐµÐ¶Ð´Ñƒ панелÑми инÑтрументов","Move the caret to allow typing directly after a widget":"ПеремеÑтить курÑор, чтобы можно было вводить текÑÑ‚ Ñразу поÑле виджета.","Move the caret to allow typing directly before a widget":"ПеремеÑтите курÑор, чтобы можно было вводить текÑÑ‚ непоÑредÑтвенно перед виджетом.","Navigate through the toolbar or menu bar":"Перемещение по панели инÑтрументов или панели меню",Next:"Следующий","No results found":"Результаты не найдены","No searchable items":"Ðет Ñлементов Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñка","Open the accessibility help dialog":"Открыть диалоговое окно Ñправки по Ñпециальным возможноÑÑ‚Ñм",Orange:"Оранжевый","Paste content":"Ð’Ñтавить Ñодержание","Paste content as plain text":"Ð’Ñтавить Ñодержанрие в виде обычного текÑта",'Please enter a valid color (e.g. "ff0000").':'Введите дейÑтвительный цвет (например, "ff0000").',"Press %0 for help.":"Ðажмите %0 Ð´Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰Ð¸.","Press Enter to type after or press Shift + Enter to type before the widget":"Ðажмите Enter Ð´Ð»Ñ Ð²Ð²Ð¾Ð´Ð° текÑта поÑле виджета или нажмите Shift + Enter Ð´Ð»Ñ Ð²Ð²Ð¾Ð´Ð° текÑта перед виджетом",Previous:"Предыдущий",Purple:"Фиолетовый",Red:"КраÑный",Redo:"Повторить","Remove color":"Убрать цвет","Replace image with file manager":"Заменить изображение Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Replace with file manager":"Заменить Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Restore default":"По умолчанию","Rich Text Editor":"Редактор","Rich Text Editor. Editing area: %0":"Редактор форматированного текÑта. ОблаÑÑ‚ÑŒ редактированиÑ: %0",Save:"Сохранить","Select all":"Выбрать вÑе","Show more items":"Другие инÑтрументы","These keyboard shortcuts allow for quick access to content editing features.":"Ðти ÑÐ¾Ñ‡ÐµÑ‚Ð°Ð½Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ обеÑпечивают быÑтрый доÑтуп к функциÑм Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½Ñ‚ÐµÐ½Ñ‚Ð°.","Toggle caption off":"Выключить опиÑание","Toggle caption on":"Включить опиÑание",Turquoise:"Бирюзовый",Undo:"Отменить","Upload in progress":"Идёт загрузка","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ИÑпользовать Ñледующие ÑÐ¾Ñ‡ÐµÑ‚Ð°Ð½Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ Ð´Ð»Ñ Ð±Ð¾Ð»ÐµÐµ Ñффективной навигации в пользовательÑком интерфейÑе CKEditor 5.","User interface and content navigation keystrokes":"ПользовательÑкий Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð¸ клавиши навигации по контенту",White:"Белый","Widget toolbar":"Панель инÑтрументов виджета","With file manager":"Из менеджера файлов",Yellow:"Жёлтый"}),t.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:e%10==0||e%10>=5&&e%10<=9||e%100>=11&&e%100<=14?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(может требовать <kbd>Fn</kbd>)","%0 of %1":"%0 из %1",Accept:"ПринÑÑ‚ÑŒ",Accessibility:"ДоÑтупноÑÑ‚ÑŒ","Accessibility help":"Помощь по Ñпециальным возможноÑÑ‚Ñм",Aquamarine:"Ðквамариновый","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ðиже вы можете найти ÑпиÑок Ñочетаний клавиш, которые можно иÑпользовать в редакторе.",Black:"Чёрный",Blue:"Синий",Cancel:"Отмена","Cannot upload file:":"Ðевозможно загрузить файл",Clear:"ОчиÑтить","Click to edit block":"Ðажмите, чтобы редактировать блок",Close:"Закрыть","Close contextual balloons, dropdowns, and dialogs":"Закрыть контекÑтные вÑплывающие окна, раÑкрывающиеÑÑ ÑпиÑки и диалоговые окна.","Color picker":"Выбор цвета","Content editing keystrokes":"Клавиши Ð´Ð»Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½Ñ‚ÐµÐ½Ñ‚Ð°","Copy selected content":"Копировать выбранное Ñодержание","Dim grey":"Тёмно-Ñерый","Drag to move":"Перетащить","Dropdown menu":"РаÑкрывающееÑÑ Ð¼ÐµÐ½ÑŽ","Dropdown toolbar":"Ð’Ñ‹Ð¿Ð°Ð´Ð°ÑŽÑ‰Ð°Ñ Ð¿Ð°Ð½ÐµÐ»ÑŒ инÑтрументов","Edit block":"Редактировать блок","Editor block content toolbar":"Панель инÑтрументов редактора","Editor contextual toolbar":"КонтекÑÑ‚ÑƒÐ°Ð»ÑŒÐ½Ð°Ñ Ð¿Ð°Ð½ÐµÐ»ÑŒ инÑтрументов редактора","Editor dialog":"Диалоговое окно редактора","Editor menu bar":"Панель меню редактора","Editor toolbar":"Панель инÑтрументов редактора","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ðктивировать кнопку, находÑщуюÑÑ Ð² фокуÑе. Ðктивирование кнопок, которые взаимодейÑтвуют Ñ Ñодержимым редактора, перемещает Ñ„Ð¾ÐºÑƒÑ Ð¾Ð±Ñ€Ð°Ñ‚Ð½Ð¾ на Ñодержимое.",File:"Файл",Green:"Зелёный",Grey:"Серый","Help Contents. To close this dialog press ESC.":"Содержание Ñправки. Чтобы закрыть Ñто диалоговое окно, нажмите ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Ð’Ñтавить жеÑткий разрыв (новый абзац)","Insert a new paragraph directly after a widget":"Ð’Ñтавить новый абзац непоÑредÑтвенно поÑле виджета.","Insert a new paragraph directly before a widget":"Ð’Ñтавить новый абзац непоÑредÑтвенно перед виджетом.","Insert a soft break (a <code><br></code> element)":"Ð’Ñтавить мÑгкий разрыв (Ñлемент <code><br></code>)","Insert image with file manager":"Ð’Ñтавить изображение Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Insert paragraph after block":"Ð’Ñтавить параграф поÑле блока","Insert paragraph before block":"Ð’Ñтавить параграф перед блоком","Insert with file manager":"Ð’Ñтавка Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ÐÐ°Ð¶Ð°Ñ‚Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ, которые можно иÑпользовать при выборе виджета (например: изображение, таблица и Ñ‚. д.)","Light blue":"Голубой","Light green":"Салатовый","Light grey":"Светло-Ñерый",MENU_BAR_MENU_EDIT:"Редактировать",MENU_BAR_MENU_FILE:"Файл",MENU_BAR_MENU_FONT:"Шрифт",MENU_BAR_MENU_FORMAT:"Формат",MENU_BAR_MENU_HELP:"Помощь",MENU_BAR_MENU_INSERT:"Ð’Ñтавить",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"ИнÑтрументы",MENU_BAR_MENU_VIEW:"ПоÑмотреть","Move focus between form fields (inputs, buttons, etc.)":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð¼ÐµÐ¶Ð´Ñƒ полÑми формы (вводы, кнопки и Ñ‚. д.)","Move focus from an editable area back to the parent widget":"ПеремеÑтите Ñ„Ð¾ÐºÑƒÑ Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¸Ñ€ÑƒÐµÐ¼Ð¾Ð¹ облаÑти обратно на родительÑкий виджет","Move focus in and out of an active dialog window":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð² активное диалоговое окно и обратно.","Move focus to the menu bar, navigate between menu bars":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð½Ð° панель меню, перемещатьÑÑ Ð¼ÐµÐ¶Ð´Ñƒ панелÑми меню","Move focus to the toolbar, navigate between toolbars":"ПеремеÑтить Ñ„Ð¾ÐºÑƒÑ Ð½Ð° панель инÑтрументов, перемещатьÑÑ Ð¼ÐµÐ¶Ð´Ñƒ панелÑми инÑтрументов","Move the caret to allow typing directly after a widget":"ПеремеÑтить курÑор, чтобы можно было вводить текÑÑ‚ Ñразу поÑле виджета.","Move the caret to allow typing directly before a widget":"ПеремеÑтите курÑор, чтобы можно было вводить текÑÑ‚ непоÑредÑтвенно перед виджетом.","Navigate through the toolbar or menu bar":"Перемещение по панели инÑтрументов или панели меню",Next:"Следующий","No results found":"Результаты не найдены","No searchable items":"Ðет Ñлементов Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñка","Open the accessibility help dialog":"Открыть диалоговое окно Ñправки по Ñпециальным возможноÑÑ‚Ñм",Orange:"Оранжевый",Paragraph:"Параграф","Paste content":"Ð’Ñтавить Ñодержание","Paste content as plain text":"Ð’Ñтавить Ñодержанрие в виде обычного текÑта",'Please enter a valid color (e.g. "ff0000").':'Введите дейÑтвительный цвет (например, "ff0000").',"Press %0 for help.":"Ðажмите %0 Ð´Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰Ð¸.","Press Enter to type after or press Shift + Enter to type before the widget":"Ðажмите Enter Ð´Ð»Ñ Ð²Ð²Ð¾Ð´Ð° текÑта поÑле виджета или нажмите Shift + Enter Ð´Ð»Ñ Ð²Ð²Ð¾Ð´Ð° текÑта перед виджетом",Previous:"Предыдущий",Purple:"Фиолетовый",Red:"КраÑный",Redo:"Повторить","Remove color":"Убрать цвет","Replace image with file manager":"Заменить изображение Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Replace with file manager":"Заменить Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ файлового менеджера","Restore default":"По умолчанию","Rich Text Editor":"Редактор","Rich Text Editor. Editing area: %0":"Редактор форматированного текÑта. ОблаÑÑ‚ÑŒ редактированиÑ: %0",Save:"Сохранить","Select all":"Выбрать вÑе","Show more items":"Другие инÑтрументы","These keyboard shortcuts allow for quick access to content editing features.":"Ðти ÑÐ¾Ñ‡ÐµÑ‚Ð°Ð½Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ обеÑпечивают быÑтрый доÑтуп к функциÑм Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½Ñ‚ÐµÐ½Ñ‚Ð°.","Toggle caption off":"Выключить опиÑание","Toggle caption on":"Включить опиÑание",Turquoise:"Бирюзовый",Undo:"Отменить","Upload in progress":"Идёт загрузка","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ИÑпользовать Ñледующие ÑÐ¾Ñ‡ÐµÑ‚Ð°Ð½Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ Ð´Ð»Ñ Ð±Ð¾Ð»ÐµÐµ Ñффективной навигации в пользовательÑком интерфейÑе CKEditor 5.","User interface and content navigation keystrokes":"ПользовательÑкий Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð¸ клавиши навигации по контенту",White:"Белый","Widget toolbar":"Панель инÑтрументов виджета","With file manager":"Из менеджера файлов",Yellow:"Жёлтый"}),t.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/si.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/si.js index d6b40bee5c534f56a77290237fabba7615706b8e..5be13767e96b6e9b23ec92f3c192cf42d6149d3a 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/si.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/si.js @@ -1 +1 @@ -!function(e){const t=e.si=e.si||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Accept:"",Cancel:"","Cannot upload file:":"ගොනුව යà·à·€à¶à·Šà¶šà·à¶½à·“න කළ නොහà·à¶š:",Clear:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"","Insert image with file manager":"","Insert with file manager":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"","Open the accessibility help dialog":"",Redo:"නà·à·€à¶ කරන්න","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor. Editing area: %0":"",Save:"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Undo:"අහà·à·ƒà·’ කරන්න","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","With file manager":""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.si=e.si||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"","Cannot upload file:":"ගොනුව යà·à·€à¶à·Šà¶šà·à¶½à·“න කළ නොහà·à¶š:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"",Redo:"නà·à·€à¶ කරන්න","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"අහà·à·ƒà·’ කරන්න","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sk.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sk.js index 48dc3e859233b14d81e7c97f1cb10ec0a0c23654..79dc2fb73c7008f46fd364cb470931612dcd02eb 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sk.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sk.js @@ -1 +1 @@ -!function(e){const o=e.sk=e.sk||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(môže si vyžadovaÅ¥ stlaÄenie klávesu <kbd>Fn</kbd>)","%0 of %1":"%0 z %1",Accept:"PotvrdiÅ¥",Accessibility:"DostupnosÅ¥","Accessibility help":"Pomoc so zjednoduÅ¡enÃm ovládania",Aquamarine:"AkvamarÃnová","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nižšie nájdete zoznam klávesových skratiek, ktoré môžete použÃvaÅ¥ v editore.",Black:"ÄŒierna",Blue:"Modrá",Cancel:"ZruÅ¡iÅ¥","Cannot upload file:":"Nie je možné nahraÅ¥ súbor:",Clear:"VyÄistiÅ¥","Click to edit block":"Úprava bloku kliknutÃm",Close:"ZatvoriÅ¥","Close contextual balloons, dropdowns, and dialogs":"ZatvoriÅ¥ kontextové bubliny, rozbaľovacie ponuky a dialógové okná","Content editing keystrokes":"Klávesy na úpravu obsahu","Copy selected content":"SkopÃrovaÅ¥ vybraný obsah","Dim grey":"Tmavosivá","Drag to move":"PotiahnuÅ¥ a presunúť","Dropdown menu":"Rozbaľovacia ponuka","Dropdown toolbar":"Panel nástrojov roletového menu","Edit block":"UpraviÅ¥ odsek","Editor block content toolbar":"Panel s nástrojmi obsahu bloku editora","Editor contextual toolbar":"Kontextový panel nástrojov editora","Editor dialog":"Dialóg editora","Editor menu bar":"LiÅ¡ta ponuky editora","Editor toolbar":"Panel nástrojov editora","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Vykonajte aktuálne zaostrené tlaÄidlo. Spustenie tlaÄidiel, ktoré interagujú s obsahom editora, presunie zameranie späť na obsah.",File:"Súbor",Green:"Zelená",Grey:"Sivá","Help Contents. To close this dialog press ESC.":"Obsah pomocnÃka. Toto dialógové okno zavriete klávesom Esc.",HEX:"HEX","Insert a hard break (a new paragraph)":"VložiÅ¥ pevnú medzeru (nový odsek)","Insert a new paragraph directly after a widget":"VložiÅ¥ nový odsek priamo za widgetom","Insert a new paragraph directly before a widget":"VložiÅ¥ nový odsek priamo pred widgetom","Insert a soft break (a <code><br></code> element)":"VložiÅ¥ mäkkú medzeru (prvok <code><br></code>)","Insert image with file manager":"VložiÅ¥ obrázok pomocou správcu súborov","Insert paragraph after block":"VložiÅ¥ odstavec za blok","Insert paragraph before block":"VložiÅ¥ odstavec pred blok","Insert with file manager":"VložiÅ¥ pomocou správcu súborov","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klávesy, ktoré sa dajú použiÅ¥, keÄ je vybratý widget (naprÃklad obrázok alebo tabuľka)","Light blue":"Bledomodrá","Light green":"Bledozelená","Light grey":"Bledosivá",MENU_BAR_MENU_EDIT:"UpraviÅ¥",MENU_BAR_MENU_FILE:"Súbor",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Formát",MENU_BAR_MENU_HELP:"Pomoc",MENU_BAR_MENU_INSERT:"VložiÅ¥",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Nástroje",MENU_BAR_MENU_VIEW:"ZobraziÅ¥","Move focus between form fields (inputs, buttons, etc.)":"Presunúť zameranie do ÄalÅ¡ieho prvku na zadávanie údajov (naprÃklad textové pole alebo tlaÄidlo)","Move focus from an editable area back to the parent widget":"Presuňte zameranie z upraviteľnej oblasti späť na rodiÄovskú miniaplikáciu","Move focus in and out of an active dialog window":"Presunúť zameranie z/do aktÃvneho dialógového okna","Move focus to the menu bar, navigate between menu bars":"Presuňte pozornosÅ¥ na panel ponuky, prechádzajte medzi panelmi ponuky","Move focus to the toolbar, navigate between toolbars":"Presunúť zameranie do panela nástrojov, presúvaÅ¥ sa medzi panelmi nástrojov","Move the caret to allow typing directly after a widget":"Presunúť strieÅ¡ku priamo za widget, aby ste tam mohli pÃsaÅ¥","Move the caret to allow typing directly before a widget":"Presunúť strieÅ¡ku priamo pred widget, aby ste tam mohli pÃsaÅ¥","Navigate through the toolbar or menu bar":"Prechádzajte cpanelom nástrojov alebo panelom ponúk",Next:"ÄŽalÅ¡ie","No results found":"Neboli nájdené žiadne výsledky","No searchable items":"Žiadne vyhľadávateľné položky","Open the accessibility help dialog":"OtvoriÅ¥ dialógové okno o zjednoduÅ¡enà ovládania",Orange:"Oranžová","Paste content":"PrilepiÅ¥ obsah","Paste content as plain text":"PrilepiÅ¥ obsah iba ako text",'Please enter a valid color (e.g. "ff0000").':"Zadajte platnú farbu (napr. „ff0000“).","Press %0 for help.":"Ak potrebujete pomoc, stlaÄte %0.","Press Enter to type after or press Shift + Enter to type before the widget":"StlaÄte Enter, ak chcete pÃsaÅ¥ po miniaplikácii, alebo stlaÄte Shift + Enter, ak chcete pÃsaÅ¥ pred miniaplikáciou",Previous:"Predchádzajúce",Purple:"Fialová",Red:"ÄŒervená",Redo:"Znova","Remove color":"ZruÅ¡iÅ¥ farbu","Replace image with file manager":"NahradiÅ¥ obrázok pomocou správcu súborov","Replace with file manager":"NahradiÅ¥ správcom súborov","Restore default":"ObnoviÅ¥ predvolené","Rich Text Editor":"Editor s formátovanÃm","Rich Text Editor. Editing area: %0":"Rich Text Editor. OblasÅ¥ úprav: %0",Save:"UložiÅ¥","Select all":"OznaÄiÅ¥ vÅ¡etko","Show more items":"ZobraziÅ¥ viac položiek","These keyboard shortcuts allow for quick access to content editing features.":"Tieto klávesové skratky vám poskytnú rýchly prÃstup k funkciám na úpravu obsahu.","Toggle caption off":"Vypnúť titulok","Toggle caption on":"Zapnúť titulok",Turquoise:"Tyrkysová",Undo:"Späť","Upload in progress":"Prebieha nahrávanie","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Nasledujúce klávesy vám umožnia jednoduchÅ¡ie použÃvanie použÃvateľského rozhrania programu CKEditor 5.","User interface and content navigation keystrokes":"PoužÃvateľské rozhranie a klávesy na prechádzanie obsahom",White:"Biela","Widget toolbar":"Panel nástrojov ovládacieho prvku","With file manager":"So správcom súborov",Yellow:"Žltá"}),o.getPluralForm=function(e){return e%1==0&&1==e?0:e%1==0&&e>=2&&e<=4?1:e%1!=0?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const o=e.sk=e.sk||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(môže si vyžadovaÅ¥ stlaÄenie klávesu <kbd>Fn</kbd>)","%0 of %1":"%0 z %1",Accept:"PotvrdiÅ¥",Accessibility:"DostupnosÅ¥","Accessibility help":"Pomoc so zjednoduÅ¡enÃm ovládania",Aquamarine:"AkvamarÃnová","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nižšie nájdete zoznam klávesových skratiek, ktoré môžete použÃvaÅ¥ v editore.",Black:"ÄŒierna",Blue:"Modrá",Cancel:"ZruÅ¡iÅ¥","Cannot upload file:":"Nie je možné nahraÅ¥ súbor:",Clear:"VyÄistiÅ¥","Click to edit block":"Úprava bloku kliknutÃm",Close:"ZatvoriÅ¥","Close contextual balloons, dropdowns, and dialogs":"ZatvoriÅ¥ kontextové bubliny, rozbaľovacie ponuky a dialógové okná","Color picker":"VybraÅ¥ farbu","Content editing keystrokes":"Klávesy na úpravu obsahu","Copy selected content":"SkopÃrovaÅ¥ vybraný obsah","Dim grey":"Tmavosivá","Drag to move":"PotiahnuÅ¥ a presunúť","Dropdown menu":"Rozbaľovacia ponuka","Dropdown toolbar":"Panel nástrojov roletového menu","Edit block":"UpraviÅ¥ odsek","Editor block content toolbar":"Panel s nástrojmi obsahu bloku editora","Editor contextual toolbar":"Kontextový panel nástrojov editora","Editor dialog":"Dialóg editora","Editor menu bar":"LiÅ¡ta ponuky editora","Editor toolbar":"Panel nástrojov editora","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Vykonajte aktuálne zaostrené tlaÄidlo. Spustenie tlaÄidiel, ktoré interagujú s obsahom editora, presunie zameranie späť na obsah.",File:"Súbor",Green:"Zelená",Grey:"Sivá","Help Contents. To close this dialog press ESC.":"Obsah pomocnÃka. Toto dialógové okno zavriete klávesom Esc.",HEX:"HEX","Insert a hard break (a new paragraph)":"VložiÅ¥ pevnú medzeru (nový odsek)","Insert a new paragraph directly after a widget":"VložiÅ¥ nový odsek priamo za widgetom","Insert a new paragraph directly before a widget":"VložiÅ¥ nový odsek priamo pred widgetom","Insert a soft break (a <code><br></code> element)":"VložiÅ¥ mäkkú medzeru (prvok <code><br></code>)","Insert image with file manager":"VložiÅ¥ obrázok pomocou správcu súborov","Insert paragraph after block":"VložiÅ¥ odstavec za blok","Insert paragraph before block":"VložiÅ¥ odstavec pred blok","Insert with file manager":"VložiÅ¥ pomocou správcu súborov","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klávesy, ktoré sa dajú použiÅ¥, keÄ je vybratý widget (naprÃklad obrázok alebo tabuľka)","Light blue":"Bledomodrá","Light green":"Bledozelená","Light grey":"Bledosivá",MENU_BAR_MENU_EDIT:"UpraviÅ¥",MENU_BAR_MENU_FILE:"Súbor",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Formát",MENU_BAR_MENU_HELP:"Pomoc",MENU_BAR_MENU_INSERT:"VložiÅ¥",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Nástroje",MENU_BAR_MENU_VIEW:"ZobraziÅ¥","Move focus between form fields (inputs, buttons, etc.)":"Presunúť zameranie do ÄalÅ¡ieho prvku na zadávanie údajov (naprÃklad textové pole alebo tlaÄidlo)","Move focus from an editable area back to the parent widget":"Presuňte zameranie z upraviteľnej oblasti späť na rodiÄovskú miniaplikáciu","Move focus in and out of an active dialog window":"Presunúť zameranie z/do aktÃvneho dialógového okna","Move focus to the menu bar, navigate between menu bars":"Presuňte pozornosÅ¥ na panel ponuky, prechádzajte medzi panelmi ponuky","Move focus to the toolbar, navigate between toolbars":"Presunúť zameranie do panela nástrojov, presúvaÅ¥ sa medzi panelmi nástrojov","Move the caret to allow typing directly after a widget":"Presunúť strieÅ¡ku priamo za widget, aby ste tam mohli pÃsaÅ¥","Move the caret to allow typing directly before a widget":"Presunúť strieÅ¡ku priamo pred widget, aby ste tam mohli pÃsaÅ¥","Navigate through the toolbar or menu bar":"Prechádzajte cpanelom nástrojov alebo panelom ponúk",Next:"ÄŽalÅ¡ie","No results found":"Neboli nájdené žiadne výsledky","No searchable items":"Žiadne vyhľadávateľné položky","Open the accessibility help dialog":"OtvoriÅ¥ dialógové okno o zjednoduÅ¡enà ovládania",Orange:"Oranžová",Paragraph:"Odsek","Paste content":"PrilepiÅ¥ obsah","Paste content as plain text":"PrilepiÅ¥ obsah iba ako text",'Please enter a valid color (e.g. "ff0000").':"Zadajte platnú farbu (napr. „ff0000“).","Press %0 for help.":"Ak potrebujete pomoc, stlaÄte %0.","Press Enter to type after or press Shift + Enter to type before the widget":"StlaÄte Enter, ak chcete pÃsaÅ¥ po miniaplikácii, alebo stlaÄte Shift + Enter, ak chcete pÃsaÅ¥ pred miniaplikáciou",Previous:"Predchádzajúce",Purple:"Fialová",Red:"ÄŒervená",Redo:"Znova","Remove color":"ZruÅ¡iÅ¥ farbu","Replace image with file manager":"NahradiÅ¥ obrázok pomocou správcu súborov","Replace with file manager":"NahradiÅ¥ správcom súborov","Restore default":"ObnoviÅ¥ predvolené","Rich Text Editor":"Editor s formátovanÃm","Rich Text Editor. Editing area: %0":"Rich Text Editor. OblasÅ¥ úprav: %0",Save:"UložiÅ¥","Select all":"OznaÄiÅ¥ vÅ¡etko","Show more items":"ZobraziÅ¥ viac položiek","These keyboard shortcuts allow for quick access to content editing features.":"Tieto klávesové skratky vám poskytnú rýchly prÃstup k funkciám na úpravu obsahu.","Toggle caption off":"Vypnúť titulok","Toggle caption on":"Zapnúť titulok",Turquoise:"Tyrkysová",Undo:"Späť","Upload in progress":"Prebieha nahrávanie","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Nasledujúce klávesy vám umožnia jednoduchÅ¡ie použÃvanie použÃvateľského rozhrania programu CKEditor 5.","User interface and content navigation keystrokes":"PoužÃvateľské rozhranie a klávesy na prechádzanie obsahom",White:"Biela","Widget toolbar":"Panel nástrojov ovládacieho prvku","With file manager":"So správcom súborov",Yellow:"Žltá"}),o.getPluralForm=function(e){return 1==e?0:e>=2&&e<=4?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sl.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sl.js index d668ad1513aaa340e1e39350a9d5e46f9d590f69..f6a3aa6a23dc88a4529b56c3220a182af6da16fd 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sl.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sl.js @@ -1 +1 @@ -!function(e){const o=e.sl=e.sl||{};o.dictionary=Object.assign(o.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"ÄŒrna",Blue:"Modra",Cancel:"PrekliÄi","Cannot upload file:":"Ni možno naložiti datoteke:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"Temno siva","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Zelena",Grey:"Siva","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"Svetlo modra","Light green":"Svetlo zelena","Light grey":"Svetlo siva",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Oranžna",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"VijoliÄna",Red:"RdeÄa","Remove color":"Odstrani barvo","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Shrani","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkizna","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Bela","With file manager":"",Yellow:"Rumena"}),o.getPluralForm=function(e){return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.sl=e.sl||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"ÄŒrna",Blue:"Modra",Cancel:"PrekliÄi","Cannot upload file:":"Ni možno naložiti datoteke:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"Temno siva","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Zelena",Grey:"Siva","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Svetlo modra","Light green":"Svetlo zelena","Light grey":"Svetlo siva",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Oranžna",Paragraph:"Odstavek","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"VijoliÄna",Red:"RdeÄa",Redo:"","Remove color":"Odstrani barvo","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Shrani","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkizna",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Bela","Widget toolbar":"","With file manager":"",Yellow:"Rumena"}),t.getPluralForm=function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sq.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sq.js index 470bddce1d3171d9a013936f18f702342cb0562e..284a67e09b72ff9ef7bafdbd10336bd891184a23 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sq.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sq.js @@ -1 +1 @@ -!function(e){const t=e.sq=e.sq||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"E zezë",Blue:"E kaltër",Cancel:"Anulo","Cannot upload file:":"Nuk mund të ngarkojë skedën:",Clear:"Pastro","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Zgjero kokështrirjen","Edit block":"Redakto bllokun","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Kokështrirja e redaktuesit","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"E gjelbër",Grey:"Ngjyrë hiri","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"E radhës","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Ngjyrë portokalli",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Paraprake",Purple:"",Red:"E kuqe",Redo:"Ribëj","Remove color":"Largo ngjyrën","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Redaktues i Tekstit të Pasur","Rich Text Editor. Editing area: %0":"",Save:"Ruaj","Select all":"Përzgjidh të gjitha","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Rikthe","Upload in progress":"Duke ngarkuar","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"E bardhë","Widget toolbar":"Kokështrirja e shtesës","With file manager":"",Yellow:"E verdhë"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.sq=e.sq||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"E zezë",Blue:"E kaltër",Cancel:"Anulo","Cannot upload file:":"Nuk mund të ngarkojë skedën:",Clear:"Pastro","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Zgjero kokështrirjen","Edit block":"Redakto bllokun","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Kokështrirja e redaktuesit","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"E gjelbër",Grey:"Ngjyrë hiri","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"E radhës","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Ngjyrë portokalli",Paragraph:"Paragrafi","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Paraprake",Purple:"",Red:"E kuqe",Redo:"Ribëj","Remove color":"Largo ngjyrën","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Redaktues i Tekstit të Pasur","Rich Text Editor. Editing area: %0":"",Save:"Ruaj","Select all":"Përzgjidh të gjitha","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"Rikthe","Upload in progress":"Duke ngarkuar","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"E bardhë","Widget toolbar":"Kokështrirja e shtesës","With file manager":"",Yellow:"E verdhë"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr-latn.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr-latn.js index 9c78883dc1ae148b1bd879f586bb964c995caed4..2d33e3f2d54a33496604cc2abfb72b65be15165b 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr-latn.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr-latn.js @@ -1 +1 @@ -!function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(možda zahteva Fn)","%0 of %1":"%0 of %1",Accept:"Prihvati",Accessibility:"PristupaÄnost","Accessibility help":"PomocÌ za pristupaÄnost",Aquamarine:"Zelenkastoplava","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ispod možete pronacÌi listu preÄica na tastaturi koje se mogu koristiti u ureÄ‘ivaÄu.",Black:"Crna",Blue:"Plava",Cancel:"Odustani","Cannot upload file:":"Postavljanje fajla je neuspeÅ¡no:",Clear:"ObriÅ¡i","Click to edit block":"Kliknite da biste uredili blok",Close:"Blizu","Close contextual balloons, dropdowns, and dialogs":"Zatvorite kontekstualne balone, padajucÌe menije i dijaloge","Content editing keystrokes":"Pritisci na tastere za ureÄ‘ivanje sadržaja","Copy selected content":"Kopirajte izabrani sadržaj","Dim grey":"Bledo siva","Drag to move":"Prevucite da biste premestili","Dropdown menu":"","Dropdown toolbar":"Padajuća traka sa alatkama","Edit block":"Blok ureÄ‘ivaÄ","Editor block content toolbar":"Traka sa alatkama za blokiranje sadržaja ureÄ‘ivaÄa","Editor contextual toolbar":"Kontekstualna traka sa alatkama Editor","Editor dialog":"Editor dijalog","Editor menu bar":"Traka menija ureÄ‘ivaÄa","Editor toolbar":"UreÄ‘ivaÄ traka sa alatkama","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"IzvrÅ¡ite trenutno fokusirano dugme. IzvrÅ¡avanje dugmadi koja su u interakciji sa sadržajem ureÄ‘ivaÄa pomera fokus nazad na sadržaj.",File:"File",Green:"Zelena",Grey:"Siva","Help Contents. To close this dialog press ESC.":"Sadržaj pomocÌi. Da biste zatvorili ovaj dijalog, pritisnite ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Ubacite Ävrstu pauzu (novi pasus)  ","Insert a new paragraph directly after a widget":"Umetnite novi pasus direktno posle vidžeta","Insert a new paragraph directly before a widget":"Umetnite novi pasus direktno ispred vidžeta","Insert a soft break (a <code><br></code> element)":"Umetnite meku pauzu (element <br>)","Insert image with file manager":"Umetnite sliku pomocÌu menadžera datoteka","Insert paragraph after block":"Уметните одломак поÑле блока","Insert paragraph before block":"Уметните одломак пре блока","Insert with file manager":"Ubacite pomocÌu menadžera datoteka","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Pritisci na tastere koji se mogu koristiti kada je vidžet izabran (na primer: slika, tabela, itd.)  ","Light blue":"Svetloplava","Light green":"Svetlo zelena","Light grey":"Svetlo siva",MENU_BAR_MENU_EDIT:"Uredi",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"PomocÌ",MENU_BAR_MENU_INSERT:"Ubaci",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Alati",MENU_BAR_MENU_VIEW:"View","Move focus between form fields (inputs, buttons, etc.)":"Pomerite fokus izmeÄ‘u polja obrasca (unosi, dugmad, itd.)","Move focus from an editable area back to the parent widget":"Pomerite fokus sa oblasti za ureÄ‘ivanje nazad na roditeljski vidžet","Move focus in and out of an active dialog window":"Pomeranje fokusa u i van aktivnog prozora dijaloga","Move focus to the menu bar, navigate between menu bars":"Premestite fokus na traku menija, navigirajte izmeÄ‘u traka menija","Move focus to the toolbar, navigate between toolbars":"Premestite fokus na traku sa alatkama, navigirajte izmeÄ‘u traka sa alatkama","Move the caret to allow typing directly after a widget":"Pomerite kursor da biste omogucÌili kucanje direktno posle vidžeta","Move the caret to allow typing directly before a widget":"Pomerite kursor da biste omogucÌili kucanje direktno pre vidžeta","Navigate through the toolbar or menu bar":"KrecÌite se kroz traku sa alatkama ili traku menija",Next:"Sledeći","No results found":"Nije pronaÄ‘en nijedan rezultat","No searchable items":"Nema stavki koje se mogu pretražiti","Open the accessibility help dialog":"Otvorite dijalog pomocÌi za pristupaÄnost",Orange:"Narandžasta","Paste content":"Nalepite sadržaj","Paste content as plain text":"Nalepite sadržaj kao obiÄan tekst",'Please enter a valid color (e.g. "ff0000").':"Unesite važecÌu boju (npr. „ff0000“).","Press %0 for help.":"Pritisnite %0 za pomocÌ.","Press Enter to type after or press Shift + Enter to type before the widget":"Pritisnite Enter da kucate posle ili pritisnite Shift + Enter da kucate pre vidžeta",Previous:"Prethodni",Purple:"LjubiÄasta",Red:"Crvena",Redo:"Ponovo","Remove color":"Otkloni boju","Replace image with file manager":"Zamenite sliku menadžerom datoteka","Replace with file manager":"Zamenite menadžerom datoteka","Restore default":"Vrati podrazumevano","Rich Text Editor":"ProÅ¡ireni ureÄ‘ivaÄ teksta","Rich Text Editor. Editing area: %0":"UreÄ‘ivaÄ bogatijeg teksta. Prostor za ureÄ‘ivanje: %0",Save:"SaÄuvaj","Select all":"OznaÄi sve","Show more items":"Prikaži joÅ¡ stavki","These keyboard shortcuts allow for quick access to content editing features.":"Ove preÄice na tastaturi omogucÌavaju brz pristup funkcijama za ureÄ‘ivanje sadržaja.","Toggle caption off":"IskljuÄivanje natpisa","Toggle caption on":"UkljuÄite naslov",Turquoise:"Tirkizna",Undo:"PovlaÄenje","Upload in progress":"Postavljanje u toku","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Koristite sledecÌe tastere za efikasniju navigaciju u korisniÄkom interfejsu CKEditor 5.","User interface and content navigation keystrokes":"KorisniÄki interfejs i tasteri za navigaciju sadržaja  ",White:"Bela","Widget toolbar":"Видгет трака Ñа алаткама","With file manager":"Sa menadžerom datoteka",Yellow:"Žuta"}),a.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(možda zahteva Fn)","%0 of %1":"%0 of %1",Accept:"Prihvati",Accessibility:"PristupaÄnost","Accessibility help":"PomocÌ za pristupaÄnost",Aquamarine:"Zelenkastoplava","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ispod možete pronacÌi listu preÄica na tastaturi koje se mogu koristiti u ureÄ‘ivaÄu.",Black:"Crna",Blue:"Plava",Cancel:"Odustani","Cannot upload file:":"Postavljanje fajla je neuspeÅ¡no:",Clear:"ObriÅ¡i","Click to edit block":"Kliknite da biste uredili blok",Close:"Blizu","Close contextual balloons, dropdowns, and dialogs":"Zatvorite kontekstualne balone, padajucÌe menije i dijaloge","Color picker":"BiraÄ boja","Content editing keystrokes":"Pritisci na tastere za ureÄ‘ivanje sadržaja","Copy selected content":"Kopirajte izabrani sadržaj","Dim grey":"Bledo siva","Drag to move":"Prevucite da biste premestili","Dropdown menu":"","Dropdown toolbar":"Padajuća traka sa alatkama","Edit block":"Blok ureÄ‘ivaÄ","Editor block content toolbar":"Traka sa alatkama za blokiranje sadržaja ureÄ‘ivaÄa","Editor contextual toolbar":"Kontekstualna traka sa alatkama Editor","Editor dialog":"Editor dijalog","Editor menu bar":"Traka menija ureÄ‘ivaÄa","Editor toolbar":"UreÄ‘ivaÄ traka sa alatkama","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"IzvrÅ¡ite trenutno fokusirano dugme. IzvrÅ¡avanje dugmadi koja su u interakciji sa sadržajem ureÄ‘ivaÄa pomera fokus nazad na sadržaj.",File:"File",Green:"Zelena",Grey:"Siva","Help Contents. To close this dialog press ESC.":"Sadržaj pomocÌi. Da biste zatvorili ovaj dijalog, pritisnite ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Ubacite Ävrstu pauzu (novi pasus)  ","Insert a new paragraph directly after a widget":"Umetnite novi pasus direktno posle vidžeta","Insert a new paragraph directly before a widget":"Umetnite novi pasus direktno ispred vidžeta","Insert a soft break (a <code><br></code> element)":"Umetnite meku pauzu (element <br>)","Insert image with file manager":"Umetnite sliku pomocÌu menadžera datoteka","Insert paragraph after block":"Уметните одломак поÑле блока","Insert paragraph before block":"Уметните одломак пре блока","Insert with file manager":"Ubacite pomocÌu menadžera datoteka","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Pritisci na tastere koji se mogu koristiti kada je vidžet izabran (na primer: slika, tabela, itd.)  ","Light blue":"Svetloplava","Light green":"Svetlo zelena","Light grey":"Svetlo siva",MENU_BAR_MENU_EDIT:"Uredi",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"PomocÌ",MENU_BAR_MENU_INSERT:"Ubaci",MENU_BAR_MENU_TEXT:"Tekst",MENU_BAR_MENU_TOOLS:"Alati",MENU_BAR_MENU_VIEW:"View","Move focus between form fields (inputs, buttons, etc.)":"Pomerite fokus izmeÄ‘u polja obrasca (unosi, dugmad, itd.)","Move focus from an editable area back to the parent widget":"Pomerite fokus sa oblasti za ureÄ‘ivanje nazad na roditeljski vidžet","Move focus in and out of an active dialog window":"Pomeranje fokusa u i van aktivnog prozora dijaloga","Move focus to the menu bar, navigate between menu bars":"Premestite fokus na traku menija, navigirajte izmeÄ‘u traka menija","Move focus to the toolbar, navigate between toolbars":"Premestite fokus na traku sa alatkama, navigirajte izmeÄ‘u traka sa alatkama","Move the caret to allow typing directly after a widget":"Pomerite kursor da biste omogucÌili kucanje direktno posle vidžeta","Move the caret to allow typing directly before a widget":"Pomerite kursor da biste omogucÌili kucanje direktno pre vidžeta","Navigate through the toolbar or menu bar":"KrecÌite se kroz traku sa alatkama ili traku menija",Next:"Sledeći","No results found":"Nije pronaÄ‘en nijedan rezultat","No searchable items":"Nema stavki koje se mogu pretražiti","Open the accessibility help dialog":"Otvorite dijalog pomocÌi za pristupaÄnost",Orange:"Narandžasta",Paragraph:"Pasus","Paste content":"Nalepite sadržaj","Paste content as plain text":"Nalepite sadržaj kao obiÄan tekst",'Please enter a valid color (e.g. "ff0000").':"Unesite važecÌu boju (npr. „ff0000“).","Press %0 for help.":"Pritisnite %0 za pomocÌ.","Press Enter to type after or press Shift + Enter to type before the widget":"Pritisnite Enter da kucate posle ili pritisnite Shift + Enter da kucate pre vidžeta",Previous:"Prethodni",Purple:"LjubiÄasta",Red:"Crvena",Redo:"Ponovo","Remove color":"Otkloni boju","Replace image with file manager":"Zamenite sliku menadžerom datoteka","Replace with file manager":"Zamenite menadžerom datoteka","Restore default":"Vrati podrazumevano","Rich Text Editor":"ProÅ¡ireni ureÄ‘ivaÄ teksta","Rich Text Editor. Editing area: %0":"UreÄ‘ivaÄ bogatijeg teksta. Prostor za ureÄ‘ivanje: %0",Save:"SaÄuvaj","Select all":"OznaÄi sve","Show more items":"Prikaži joÅ¡ stavki","These keyboard shortcuts allow for quick access to content editing features.":"Ove preÄice na tastaturi omogucÌavaju brz pristup funkcijama za ureÄ‘ivanje sadržaja.","Toggle caption off":"IskljuÄivanje natpisa","Toggle caption on":"UkljuÄite naslov",Turquoise:"Tirkizna",Undo:"PovlaÄenje","Upload in progress":"Postavljanje u toku","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Koristite sledecÌe tastere za efikasniju navigaciju u korisniÄkom interfejsu CKEditor 5.","User interface and content navigation keystrokes":"KorisniÄki interfejs i tasteri za navigaciju sadržaja  ",White:"Bela","Widget toolbar":"Видгет трака Ñа алаткама","With file manager":"Sa menadžerom datoteka",Yellow:"Žuta"}),a.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr.js index 98a0ae6bae829b03df2fddb7b18019e1513ee146..ead1d27ef6337b91465733259364563a302f986c 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sr.js @@ -1 +1 @@ -!function(e){const a=e.sr=e.sr||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(možda će biti neophodan <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Prihvati",Accessibility:"PristupaÄnost","Accessibility help":"Pomoć oko pristupaÄnosti",Aquamarine:"ЗеленкаÑтоплава","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ispod možete pronacÌi listu preÄica na tastaturi koje se mogu koristiti u ureÄ‘ivaÄu.",Black:"Црна",Blue:"Плава",Cancel:"ОдуÑтани","Cannot upload file:":"ПоÑтављање фајла је неуÑпешно:",Clear:"ObriÅ¡i","Click to edit block":"Kliknite da biste uredili blok",Close:"Zatvori","Close contextual balloons, dropdowns, and dialogs":"Zatvori kontekstualne prozore, padajucÌe menije i dijaloge","Content editing keystrokes":"Tasteri za ureÄ‘ivanje sadržaja","Copy selected content":"Kopiraj odabrani sadržaj","Dim grey":"Бледо Ñива","Drag to move":"Prevucite da biste premestili","Dropdown menu":"Padajući meni","Dropdown toolbar":"Падајућа трака Ñа алаткама","Edit block":"Блок уређивач","Editor block content toolbar":"Трака Ñа алаткама за блокирање Ñадржаја уређивача","Editor contextual toolbar":"КонтекÑтуална трака Ñа алаткама Едитор","Editor dialog":"Dijalog za ureÄ‘ivanje","Editor menu bar":"Traka menija ureÄ‘ivaÄa","Editor toolbar":"Уређивач трака Ñа алаткама","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"IzvrÅ¡ite trenutno fokusirano dugme. IzvrÅ¡avanje dugmadi koja su u interakciji sa sadržajem ureÄ‘ivaÄa pomera fokus nazad na sadržaj.",File:"Datoteka",Green:"Зелена",Grey:"Сива","Help Contents. To close this dialog press ESC.":"Sadržaji za pomoć. Kako biste zatvorili ovaj dijalog pritisnite taster ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Umetni jaÄi prekid (novi pasus)","Insert a new paragraph directly after a widget":"Umetni novi pasus direktno posle vidžeta","Insert a new paragraph directly before a widget":"Umetni novi pasus direktno pre vidžeta","Insert a soft break (a <code><br></code> element)":"Umetni blagi prekid (<code><br></code> element)","Insert image with file manager":"Ubaci sliku pomoću menadžera datoteka","Insert paragraph after block":"Umetnite odlomak posle bloka","Insert paragraph before block":"Umetnite odlomak pre bloka","Insert with file manager":"Ubaci pomoću menadžera datoteka","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tasteri koji se mogu koristiti kada je vidžet izabran (na primer: slika, tabela, itd.)","Light blue":"Светлоплава","Light green":"Светлозелена","Light grey":"Светло Ñива",MENU_BAR_MENU_EDIT:"Уреди",MENU_BAR_MENU_FILE:"Datoteka",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Pomoć",MENU_BAR_MENU_INSERT:"Убаци",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"Alati",MENU_BAR_MENU_VIEW:"Prikaži","Move focus between form fields (inputs, buttons, etc.)":"Pomeraj fokus izmeÄ‘u polja za tekst (unosi, tasteri, itd.)","Move focus from an editable area back to the parent widget":"Vratite fokus sa oblasti koja se može ureÄ‘ivati na matiÄni vidžet","Move focus in and out of an active dialog window":"Pomeri fokus u i van aktivnog prozora dijaloga","Move focus to the menu bar, navigate between menu bars":"Pomerite fokus na traku menija, navigirajte izmeÄ‘u traka menija","Move focus to the toolbar, navigate between toolbars":"Pomeri fokus na traku sa alatkama, kreći se kroz traku sa alatkama","Move the caret to allow typing directly after a widget":"Pomeri kursor kako bi se omogucÌilo kucanje direktno posle vidžeta","Move the caret to allow typing directly before a widget":"Pomeri kursor kako bi se omogucÌilo kucanje direktno pre vidžeta","Navigate through the toolbar or menu bar":"KrecÌite se kroz traku sa alatkama ili traku menija",Next:"Следећи","No results found":"Nije pronaÄ‘en nijedan rezultat","No searchable items":"Nema stavki koje se mogu pretražiti","Open the accessibility help dialog":"Otvori dijalog za pomoć oko pristupaÄnosti",Orange:"ÐараџаÑта","Paste content":"Nalepi sadržaj","Paste content as plain text":"Nalepi sadržaj kao obiÄan tekst",'Please enter a valid color (e.g. "ff0000").':"Unesite važecÌu boju (npr. „ff0000“).","Press %0 for help.":"Pritisni %0 za pomoć.","Press Enter to type after or press Shift + Enter to type before the widget":"ПритиÑните Ентер да куцате поÑле или притиÑните Схифт + Ентер да куцате пре виџета",Previous:"Претходни",Purple:"ЉубичаÑта",Red:"Црвена",Redo:"Поново","Remove color":"Отклони боју","Replace image with file manager":"Zameni sliku pomoću menadžera datoteka","Replace with file manager":"Zameni pomoću menadžera datoteka","Restore default":"Врати подразумевано","Rich Text Editor":"Проширен уређивач текÑта","Rich Text Editor. Editing area: %0":"Уређивач обогаћеног текÑта.ПроÑтор за уређивање: %0",Save:"Сачувај","Select all":"Означи Ñве.","Show more items":"Прикажи још Ñтавки","These keyboard shortcuts allow for quick access to content editing features.":"Ove preÄice na tastaturi omogucÌavaju brz pristup funkcijama za ureÄ‘ivanje sadržaja.","Toggle caption off":"ИÑкључивање натпиÑа ","Toggle caption on":"Укључите наÑлов ",Turquoise:"Тиркизна",Undo:"Повлачење","Upload in progress":"ПоÑтављање у току","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Koristite sledecÌe tastere za efikasniju navigaciju u korisniÄkom interfejsu CKEditor 5.","User interface and content navigation keystrokes":"KorisniÄki interfejs i tasteri za navigaciju sadržaja",White:"Бела","Widget toolbar":"Widget traka sa alatkama","With file manager":"Putem menadžera datoteka",Yellow:"Жута"}),a.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.sr=e.sr||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(možda će biti neophodan <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Prihvati",Accessibility:"PristupaÄnost","Accessibility help":"Pomoć oko pristupaÄnosti",Aquamarine:"ЗеленкаÑтоплава","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ispod možete pronacÌi listu preÄica na tastaturi koje se mogu koristiti u ureÄ‘ivaÄu.",Black:"Црна",Blue:"Плава",Cancel:"ОдуÑтани","Cannot upload file:":"ПоÑтављање фајла је неуÑпешно:",Clear:"ObriÅ¡i","Click to edit block":"Kliknite da biste uredili blok",Close:"Zatvori","Close contextual balloons, dropdowns, and dialogs":"Zatvori kontekstualne prozore, padajucÌe menije i dijaloge","Color picker":"Бирач боја","Content editing keystrokes":"Tasteri za ureÄ‘ivanje sadržaja","Copy selected content":"Kopiraj odabrani sadržaj","Dim grey":"Бледо Ñива","Drag to move":"Prevucite da biste premestili","Dropdown menu":"Padajući meni","Dropdown toolbar":"Падајућа трака Ñа алаткама","Edit block":"Блок уређивач","Editor block content toolbar":"Трака Ñа алаткама за блокирање Ñадржаја уређивача","Editor contextual toolbar":"КонтекÑтуална трака Ñа алаткама Едитор","Editor dialog":"Dijalog za ureÄ‘ivanje","Editor menu bar":"Traka menija ureÄ‘ivaÄa","Editor toolbar":"Уређивач трака Ñа алаткама","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"IzvrÅ¡ite trenutno fokusirano dugme. IzvrÅ¡avanje dugmadi koja su u interakciji sa sadržajem ureÄ‘ivaÄa pomera fokus nazad na sadržaj.",File:"Datoteka",Green:"Зелена",Grey:"Сива","Help Contents. To close this dialog press ESC.":"Sadržaji za pomoć. Kako biste zatvorili ovaj dijalog pritisnite taster ESC.",HEX:"HEX","Insert a hard break (a new paragraph)":"Umetni jaÄi prekid (novi pasus)","Insert a new paragraph directly after a widget":"Umetni novi pasus direktno posle vidžeta","Insert a new paragraph directly before a widget":"Umetni novi pasus direktno pre vidžeta","Insert a soft break (a <code><br></code> element)":"Umetni blagi prekid (<code><br></code> element)","Insert image with file manager":"Ubaci sliku pomoću menadžera datoteka","Insert paragraph after block":"Umetnite odlomak posle bloka","Insert paragraph before block":"Umetnite odlomak pre bloka","Insert with file manager":"Ubaci pomoću menadžera datoteka","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tasteri koji se mogu koristiti kada je vidžet izabran (na primer: slika, tabela, itd.)","Light blue":"Светлоплава","Light green":"Светлозелена","Light grey":"Светло Ñива",MENU_BAR_MENU_EDIT:"Уреди",MENU_BAR_MENU_FILE:"Datoteka",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Pomoć",MENU_BAR_MENU_INSERT:"Убаци",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"Alati",MENU_BAR_MENU_VIEW:"Prikaži","Move focus between form fields (inputs, buttons, etc.)":"Pomeraj fokus izmeÄ‘u polja za tekst (unosi, tasteri, itd.)","Move focus from an editable area back to the parent widget":"Vratite fokus sa oblasti koja se može ureÄ‘ivati na matiÄni vidžet","Move focus in and out of an active dialog window":"Pomeri fokus u i van aktivnog prozora dijaloga","Move focus to the menu bar, navigate between menu bars":"Pomerite fokus na traku menija, navigirajte izmeÄ‘u traka menija","Move focus to the toolbar, navigate between toolbars":"Pomeri fokus na traku sa alatkama, kreći se kroz traku sa alatkama","Move the caret to allow typing directly after a widget":"Pomeri kursor kako bi se omogucÌilo kucanje direktno posle vidžeta","Move the caret to allow typing directly before a widget":"Pomeri kursor kako bi se omogucÌilo kucanje direktno pre vidžeta","Navigate through the toolbar or menu bar":"KrecÌite se kroz traku sa alatkama ili traku menija",Next:"Следећи","No results found":"Nije pronaÄ‘en nijedan rezultat","No searchable items":"Nema stavki koje se mogu pretražiti","Open the accessibility help dialog":"Otvori dijalog za pomoć oko pristupaÄnosti",Orange:"ÐараџаÑта",Paragraph:"ПаÑуÑ","Paste content":"Nalepi sadržaj","Paste content as plain text":"Nalepi sadržaj kao obiÄan tekst",'Please enter a valid color (e.g. "ff0000").':"Unesite važecÌu boju (npr. „ff0000“).","Press %0 for help.":"Pritisni %0 za pomoć.","Press Enter to type after or press Shift + Enter to type before the widget":"ПритиÑните Ентер да куцате поÑле или притиÑните Схифт + Ентер да куцате пре виџета",Previous:"Претходни",Purple:"ЉубичаÑта",Red:"Црвена",Redo:"Поново","Remove color":"Отклони боју","Replace image with file manager":"Zameni sliku pomoću menadžera datoteka","Replace with file manager":"Zameni pomoću menadžera datoteka","Restore default":"Врати подразумевано","Rich Text Editor":"Проширен уређивач текÑта","Rich Text Editor. Editing area: %0":"Уређивач обогаћеног текÑта.ПроÑтор за уређивање: %0",Save:"Сачувај","Select all":"Означи Ñве.","Show more items":"Прикажи још Ñтавки","These keyboard shortcuts allow for quick access to content editing features.":"Ove preÄice na tastaturi omogucÌavaju brz pristup funkcijama za ureÄ‘ivanje sadržaja.","Toggle caption off":"ИÑкључивање натпиÑа ","Toggle caption on":"Укључите наÑлов ",Turquoise:"Тиркизна",Undo:"Повлачење","Upload in progress":"ПоÑтављање у току","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Koristite sledecÌe tastere za efikasniju navigaciju u korisniÄkom interfejsu CKEditor 5.","User interface and content navigation keystrokes":"KorisniÄki interfejs i tasteri za navigaciju sadržaja",White:"Бела","Widget toolbar":"Widget traka sa alatkama","With file manager":"Putem menadžera datoteka",Yellow:"Жута"}),a.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sv.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sv.js index cc1ec8d92c71eb176cafbbac06634d491874dcec..b86014e6d3877718db39d5e4865f43af95ae9163 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sv.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/sv.js @@ -1 +1 @@ -!function(e){const t=e.sv=e.sv||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(kan kräva <kbd>Fn</kbd>)","%0 of %1":"%0 av %1",Accept:"Acceptera",Accessibility:"Tillgänglighet","Accessibility help":"Hjälp med tillgänglighet",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nedan hittar du en lista med kortkommandon som kan användas i redigeraren.",Black:"Svart",Blue:"BlÃ¥",Cancel:"Avbryt","Cannot upload file:":"Kan inte ladda upp fil:",Clear:"Rensa","Click to edit block":"Klicka för att redigera blocket",Close:"Stäng","Close contextual balloons, dropdowns, and dialogs":"Stäng kontextballonger, rullgardinsmenyer och dialogrutor","Content editing keystrokes":"Tangenter för innehÃ¥llsredigering","Copy selected content":"Kopiera markerat innehÃ¥ll","Dim grey":"DunkelgrÃ¥","Drag to move":"Dra för att flytta","Dropdown menu":"Rullgardinsmeny","Dropdown toolbar":"Rullgardinsverktygsfält","Edit block":"Redigera block","Editor block content toolbar":"Verktygsfält vid block av innehÃ¥ll","Editor contextual toolbar":"Ordbehandlarens kontextuella verktygsfält","Editor dialog":"Ordbehandlardialog","Editor menu bar":"Menyfält för redigeraren","Editor toolbar":"Redigeringsverktygsfält","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Kör den knapp som för närvarande är i fokus. När du aktiverar knappar som interagerar med innehÃ¥llet i redigeraren flyttas fokus tillbaka till innehÃ¥llet.",File:"Fil",Green:"Grön",Grey:"GrÃ¥","Help Contents. To close this dialog press ESC.":"HjälpinnehÃ¥ll. Tryck pÃ¥ ESC för att stänga dialogrutan.",HEX:"HEX","Insert a hard break (a new paragraph)":"Infoga blankrad (nytt stycke)","Insert a new paragraph directly after a widget":"PÃ¥börja nytt stycke direkt efter en widget","Insert a new paragraph directly before a widget":"PÃ¥börja nytt stycke direkt före en widget","Insert a soft break (a <code><br></code> element)":"Infoga radbrytning (a <code><br></code>-element)","Insert image with file manager":"Infoga bild genom filhanteraren","Insert paragraph after block":"Infoga stycke efter block","Insert paragraph before block":"Infoga stycke före block","Insert with file manager":"Infoga genom filhanteraren","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tangenter som kan användas när en widget är vald (till exempel: bild, tabell m.m.)","Light blue":"LjusblÃ¥","Light green":"Ljusgrön","Light grey":"LjusgrÃ¥",MENU_BAR_MENU_EDIT:"Ändra",MENU_BAR_MENU_FILE:"Fil",MENU_BAR_MENU_FONT:"Teckensnitt",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hjälp",MENU_BAR_MENU_INSERT:"Infoga",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Verktyg",MENU_BAR_MENU_VIEW:"Visa","Move focus between form fields (inputs, buttons, etc.)":"Flytta fokus mellan formulärfält (inmatningar, knappar m.m.)","Move focus from an editable area back to the parent widget":"Flytta fokus frÃ¥n ett redigerbart omrÃ¥de tillbaka till moderswidgeten","Move focus in and out of an active dialog window":"Flytta fokus till och frÃ¥n en aktiv dialogruta","Move focus to the menu bar, navigate between menu bars":"Flytta fokus till menyfältet, navigera mellan menyfält","Move focus to the toolbar, navigate between toolbars":"Flytta fokus till verktygsfältet, navigera mellan verktygsfält","Move the caret to allow typing directly after a widget":"Flytta textmarkören för att kunna skriva direkt efter en widget","Move the caret to allow typing directly before a widget":"Flytta textmarkören för att kunna skriva direkt före en widget","Navigate through the toolbar or menu bar":"Navigera genom verktygsfältet eller menyfältet",Next:"Nästa","No results found":"Inga resultat hittades","No searchable items":"Inga sökbara objekt","Open the accessibility help dialog":"Öppna dialogrutan för hjälp med tillgänglighet",Orange:"Orange","Paste content":"Klistra in innehÃ¥ll","Paste content as plain text":"Klistra in innehÃ¥ll som vanlig text",'Please enter a valid color (e.g. "ff0000").':'Ange en giltig färg (t.ex. "ff0000").',"Press %0 for help.":"Tryck pÃ¥ %0 för hjälp.","Press Enter to type after or press Shift + Enter to type before the widget":"Tryck pÃ¥ retur för att skriva efter eller pÃ¥ skift + retur för att skriva före widgeten.",Previous:"FöregÃ¥ende",Purple:"Lila",Red:"Röd",Redo:"Gör om","Remove color":"Ta bort färg","Replace image with file manager":"Ersätt bild genom filhanteraren","Replace with file manager":"Ersätt genom filhanteraren","Restore default":"Ã…terställ standard","Rich Text Editor":"Rich Text-editor","Rich Text Editor. Editing area: %0":"RTF-redigerare. RedigeringsomrÃ¥de: %0",Save:"Spara","Select all":"Välj alla","Show more items":"Visa fler objekt","These keyboard shortcuts allow for quick access to content editing features.":"Dessa kortkommandon möjliggör snabb innehÃ¥llsredigering.","Toggle caption off":"SlÃ¥ av rubrik","Toggle caption on":"SlÃ¥ pÃ¥ rubrik",Turquoise:"Turkos",Undo:"Ã…ngra","Upload in progress":"Uppladdning pÃ¥gÃ¥r","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Navigera effektivt i CKEditor 5:s användargränssnitt med följande tangenter.","User interface and content navigation keystrokes":"Tangenter för användargränssnitt och navigation i innehÃ¥ll",White:"Vit","Widget toolbar":"Widgetverktygsfält","With file manager":"Med filhanteraren",Yellow:"Gul"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.sv=e.sv||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(kan kräva <kbd>Fn</kbd>)","%0 of %1":"%0 av %1",Accept:"Acceptera",Accessibility:"Tillgänglighet","Accessibility help":"Hjälp med tillgänglighet",Aquamarine:"Akvamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Nedan hittar du en lista med kortkommandon som kan användas i redigeraren.",Black:"Svart",Blue:"BlÃ¥",Cancel:"Avbryt","Cannot upload file:":"Kan inte ladda upp fil:",Clear:"Rensa","Click to edit block":"Klicka för att redigera blocket",Close:"Stäng","Close contextual balloons, dropdowns, and dialogs":"Stäng kontextballonger, rullgardinsmenyer och dialogrutor","Color picker":"Färgväljare","Content editing keystrokes":"Tangenter för innehÃ¥llsredigering","Copy selected content":"Kopiera markerat innehÃ¥ll","Dim grey":"DunkelgrÃ¥","Drag to move":"Dra för att flytta","Dropdown menu":"Rullgardinsmeny","Dropdown toolbar":"Rullgardinsverktygsfält","Edit block":"Redigera block","Editor block content toolbar":"Verktygsfält vid block av innehÃ¥ll","Editor contextual toolbar":"Ordbehandlarens kontextuella verktygsfält","Editor dialog":"Ordbehandlardialog","Editor menu bar":"Menyfält för redigeraren","Editor toolbar":"Redigeringsverktygsfält","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Kör den knapp som för närvarande är i fokus. När du aktiverar knappar som interagerar med innehÃ¥llet i redigeraren flyttas fokus tillbaka till innehÃ¥llet.",File:"Fil",Green:"Grön",Grey:"GrÃ¥","Help Contents. To close this dialog press ESC.":"HjälpinnehÃ¥ll. Tryck pÃ¥ ESC för att stänga dialogrutan.",HEX:"HEX","Insert a hard break (a new paragraph)":"Infoga blankrad (nytt stycke)","Insert a new paragraph directly after a widget":"PÃ¥börja nytt stycke direkt efter en widget","Insert a new paragraph directly before a widget":"PÃ¥börja nytt stycke direkt före en widget","Insert a soft break (a <code><br></code> element)":"Infoga radbrytning (a <code><br></code>-element)","Insert image with file manager":"Infoga bild genom filhanteraren","Insert paragraph after block":"Infoga stycke efter block","Insert paragraph before block":"Infoga stycke före block","Insert with file manager":"Infoga genom filhanteraren","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tangenter som kan användas när en widget är vald (till exempel: bild, tabell m.m.)","Light blue":"LjusblÃ¥","Light green":"Ljusgrön","Light grey":"LjusgrÃ¥",MENU_BAR_MENU_EDIT:"Ändra",MENU_BAR_MENU_FILE:"Fil",MENU_BAR_MENU_FONT:"Teckensnitt",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Hjälp",MENU_BAR_MENU_INSERT:"Infoga",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Verktyg",MENU_BAR_MENU_VIEW:"Visa","Move focus between form fields (inputs, buttons, etc.)":"Flytta fokus mellan formulärfält (inmatningar, knappar m.m.)","Move focus from an editable area back to the parent widget":"Flytta fokus frÃ¥n ett redigerbart omrÃ¥de tillbaka till moderswidgeten","Move focus in and out of an active dialog window":"Flytta fokus till och frÃ¥n en aktiv dialogruta","Move focus to the menu bar, navigate between menu bars":"Flytta fokus till menyfältet, navigera mellan menyfält","Move focus to the toolbar, navigate between toolbars":"Flytta fokus till verktygsfältet, navigera mellan verktygsfält","Move the caret to allow typing directly after a widget":"Flytta textmarkören för att kunna skriva direkt efter en widget","Move the caret to allow typing directly before a widget":"Flytta textmarkören för att kunna skriva direkt före en widget","Navigate through the toolbar or menu bar":"Navigera genom verktygsfältet eller menyfältet",Next:"Nästa","No results found":"Inga resultat hittades","No searchable items":"Inga sökbara objekt","Open the accessibility help dialog":"Öppna dialogrutan för hjälp med tillgänglighet",Orange:"Orange",Paragraph:"Paragraf","Paste content":"Klistra in innehÃ¥ll","Paste content as plain text":"Klistra in innehÃ¥ll som vanlig text",'Please enter a valid color (e.g. "ff0000").':'Ange en giltig färg (t.ex. "ff0000").',"Press %0 for help.":"Tryck pÃ¥ %0 för hjälp.","Press Enter to type after or press Shift + Enter to type before the widget":"Tryck pÃ¥ retur för att skriva efter eller pÃ¥ skift + retur för att skriva före widgeten.",Previous:"FöregÃ¥ende",Purple:"Lila",Red:"Röd",Redo:"Gör om","Remove color":"Ta bort färg","Replace image with file manager":"Ersätt bild genom filhanteraren","Replace with file manager":"Ersätt genom filhanteraren","Restore default":"Ã…terställ standard","Rich Text Editor":"Rich Text-editor","Rich Text Editor. Editing area: %0":"RTF-redigerare. RedigeringsomrÃ¥de: %0",Save:"Spara","Select all":"Välj alla","Show more items":"Visa fler objekt","These keyboard shortcuts allow for quick access to content editing features.":"Dessa kortkommandon möjliggör snabb innehÃ¥llsredigering.","Toggle caption off":"SlÃ¥ av rubrik","Toggle caption on":"SlÃ¥ pÃ¥ rubrik",Turquoise:"Turkos",Undo:"Ã…ngra","Upload in progress":"Uppladdning pÃ¥gÃ¥r","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Navigera effektivt i CKEditor 5:s användargränssnitt med följande tangenter.","User interface and content navigation keystrokes":"Tangenter för användargränssnitt och navigation i innehÃ¥ll",White:"Vit","Widget toolbar":"Widgetverktygsfält","With file manager":"Med filhanteraren",Yellow:"Gul"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/th.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/th.js index ad028cb1e8b94e71503568eafbef3ed39d3a9dcf..d1c4f6ceb613a4ae6cbc6bc3dee52be9d92f4f9f 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/th.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/th.js @@ -1 +1 @@ -!function(e){const t=e.th=e.th||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(à¸à¸²à¸ˆà¸ˆà¸³à¹€à¸›à¹‡à¸™à¸•à¹‰à¸à¸‡à¸¡à¸µ <kbd>Fn</kbd>)","%0 of %1":"%0 จาภ%1",Accept:"ยà¸à¸¡à¸£à¸±à¸š",Accessibility:"à¸à¸²à¸£à¹€à¸‚้าถึง","Accessibility help":"ความช่วยเหลืà¸à¸à¸²à¸£à¹€à¸‚้าถึง",Aquamarine:"พลà¸à¸¢à¸ªà¸µà¸Ÿà¹‰à¸²","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ด้านล่างนี้ คุณจะพบà¸à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ที่สามารถใช้ในตัวà¹à¸à¹‰à¹„ขได้",Black:"สีดำ",Blue:"สีน้ำเงิน",Cancel:"ยà¸à¹€à¸¥à¸´à¸","Cannot upload file:":"ไม่สามารถà¸à¸±à¸›à¹‚หลดไฟล์ได้:",Clear:"ล้าง","Click to edit block":"คลิà¸à¹€à¸žà¸·à¹ˆà¸à¹à¸à¹‰à¹„ขบล็à¸à¸",Close:"ปิด","Close contextual balloons, dropdowns, and dialogs":"ปิดลูà¸à¹‚ป่งบริบท, รายà¸à¸²à¸£à¸”รà¸à¸›à¸”าวน์, à¹à¸¥à¸°à¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸š","Content editing keystrokes":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”เพื่à¸à¹à¸à¹‰à¹„ขเนื้à¸à¸«à¸²","Copy selected content":"คัดลà¸à¸à¹€à¸™à¸·à¹‰à¸à¸«à¸²à¸—ี่เลืà¸à¸à¹€à¸à¸²à¹„ว้","Dim grey":"สีเทาเข้ม","Drag to move":"ลาà¸à¹€à¸žà¸·à¹ˆà¸à¸¢à¹‰à¸²à¸¢","Dropdown menu":"เมนูà¹à¸šà¸šà¹€à¸¥à¸·à¹ˆà¸à¸™à¸¥à¸‡","Dropdown toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸šà¸šà¹€à¸¥à¸·à¹ˆà¸à¸™à¸¥à¸‡","Edit block":"à¹à¸à¹‰à¹„ขบล็à¸à¸","Editor block content toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸à¹‰à¹„ขบล็à¸à¸à¹€à¸™à¸·à¹‰à¸à¸«à¸²","Editor contextual toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸à¹‰à¹„ขข้à¸à¸„วาม","Editor dialog":"à¸à¸²à¸£à¸ªà¸™à¸—นาขà¸à¸‡à¸šà¸£à¸£à¸“าธิà¸à¸²à¸£","Editor menu bar":"à¹à¸–บเมนูตัวà¹à¸à¹‰à¹„ข","Editor toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸à¹‰à¹„ข","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"ปà¸à¸´à¸šà¸±à¸•à¸´à¸•à¸²à¸¡à¸›à¸¸à¹ˆà¸¡à¸—ี่โฟà¸à¸±à¸ªà¹ƒà¸™à¸‚ณะนี้ à¸à¸²à¸£à¸›à¸à¸´à¸šà¸±à¸•à¸´à¸•à¸²à¸¡à¸›à¸¸à¹ˆà¸¡à¸—ี่โต้ตà¸à¸šà¸à¸±à¸šà¹€à¸™à¸·à¹‰à¸à¸«à¸²à¸‚à¸à¸‡à¸•à¸±à¸§à¹à¸à¹‰à¹„ขจะย้ายโฟà¸à¸±à¸ªà¸à¸¥à¸±à¸šà¹„ปยังเนื้à¸à¸«à¸²",File:"ไฟล์",Green:"สีเขียว",Grey:"สีเทา","Help Contents. To close this dialog press ESC.":"เนื้à¸à¸«à¸²à¸„วามช่วยเหลืภหาà¸à¸•à¹‰à¸à¸‡à¸à¸²à¸£à¸›à¸´à¸”à¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸šà¸™à¸µà¹‰ ให้à¸à¸”ปุ่ม ESC",HEX:"HEX","Insert a hard break (a new paragraph)":"à¹à¸—รà¸à¸à¸²à¸£à¸‚ึ้นบรรทัดใหม่à¹à¸šà¸š Hard Break (ย่à¸à¸«à¸™à¹‰à¸²à¹ƒà¸«à¸¡à¹ˆ)","Insert a new paragraph directly after a widget":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¹ƒà¸«à¸¡à¹ˆà¸«à¸¥à¸±à¸‡à¸§à¸´à¸”เจ็ตโดยตรง","Insert a new paragraph directly before a widget":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¹ƒà¸«à¸¡à¹ˆà¸«à¸™à¹‰à¸²à¸§à¸´à¸”เจ็ตโดยตรง","Insert a soft break (a <code><br></code> element)":"à¹à¸—รà¸à¸à¸²à¸£à¸‚ึ้นบรรทัดใหม่à¹à¸šà¸š Soft Break (<code><br></code> element)","Insert image with file manager":"à¹à¸—รà¸à¸ าพด้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Insert paragraph after block":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¸«à¸¥à¸±à¸‡à¸šà¸¥à¹‡à¸à¸","Insert paragraph before block":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¸à¹ˆà¸à¸™à¸šà¸¥à¹‡à¸à¸","Insert with file manager":"à¹à¸—รà¸à¸”้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ที่สามารถใช้ได้เมื่à¸à¹€à¸¥à¸·à¸à¸à¸§à¸´à¸”เจ็ต (ยà¸à¸•à¸±à¸§à¸à¸¢à¹ˆà¸²à¸‡: รูปภาพ, ตาราง, ฯลฯ)","Light blue":"สีฟ้า","Light green":"สีเขียวà¸à¹ˆà¸à¸™","Light grey":"สีเทาà¸à¹ˆà¸à¸™",MENU_BAR_MENU_EDIT:"à¹à¸à¹‰à¹„ข",MENU_BAR_MENU_FILE:"ไฟล์",MENU_BAR_MENU_FONT:"à¹à¸šà¸šà¸à¸±à¸à¸©à¸£",MENU_BAR_MENU_FORMAT:"รูปà¹à¸šà¸š",MENU_BAR_MENU_HELP:"ช่วยเหลืà¸",MENU_BAR_MENU_INSERT:"à¹à¸—รà¸",MENU_BAR_MENU_TEXT:"ข้à¸à¸„วาม",MENU_BAR_MENU_TOOLS:"เครื่à¸à¸‡à¸¡à¸·à¸",MENU_BAR_MENU_VIEW:"ดู","Move focus between form fields (inputs, buttons, etc.)":"ย้ายโฟà¸à¸±à¸ªà¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸Šà¹ˆà¸à¸‡à¸Ÿà¸à¸£à¹Œà¸¡ (รับข้à¸à¸¡à¸¹à¸¥, ปุ่ม, ฯลฯ)","Move focus from an editable area back to the parent widget":"ย้ายโฟà¸à¸±à¸ªà¸ˆà¸²à¸à¸šà¸£à¸´à¹€à¸§à¸“ที่à¹à¸à¹‰à¹„ขได้à¸à¸¥à¸±à¸šà¹„ปยังวิดเจ็ตà¹à¸¡à¹ˆ","Move focus in and out of an active dialog window":"ย้ายโฟà¸à¸±à¸ªà¹€à¸‚้าà¹à¸¥à¸°à¸à¸à¸à¸ˆà¸²à¸à¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸šà¸—ี่ใช้งานà¸à¸¢à¸¹à¹ˆ","Move focus to the menu bar, navigate between menu bars":"ย้ายโฟà¸à¸±à¸ªà¹„ปที่à¹à¸–บเมนู นำทางระหว่างà¹à¸–บเมนูต่างๆ","Move focus to the toolbar, navigate between toolbars":"ย้ายโฟà¸à¸±à¸ªà¹„ปยังà¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸, นำทางภายในà¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸","Move the caret to allow typing directly after a widget":"ย้ายสัà¸à¸¥à¸±à¸à¸©à¸“์คาเร็ตเพื่à¸à¹ƒà¸«à¹‰à¸ªà¸²à¸¡à¸²à¸£à¸–พิมพ์ได้ไปà¸à¸¢à¸¹à¹ˆà¸«à¸¥à¸±à¸‡à¸§à¸´à¸”เจ็ตโดยตรง","Move the caret to allow typing directly before a widget":"ย้ายสัà¸à¸¥à¸±à¸à¸©à¸“์คาเร็ตเพื่à¸à¹ƒà¸«à¹‰à¸ªà¸²à¸¡à¸²à¸£à¸–พิมพ์ได้ไปà¸à¸¢à¸¹à¹ˆà¸«à¸™à¹‰à¸²à¸§à¸´à¸”เจ็ตโดยตรง","Navigate through the toolbar or menu bar":"นำทางในà¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸«à¸£à¸·à¸à¹à¸–บเมนู",Next:"ถัดไป","No results found":"ไม่พบผลลัพธ์","No searchable items":"ไม่มีรายà¸à¸²à¸£à¸—ี่สามารถค้นหาได้","Open the accessibility help dialog":"เปิดà¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸šà¸„วามช่วยเหลืà¸à¸à¸²à¸£à¹€à¸‚้าถึง",Orange:"สีส้ม","Paste content":"วางเนื้à¸à¸«à¸²","Paste content as plain text":"วางเนื้à¸à¸«à¸²à¹€à¸›à¹‡à¸™à¸‚้à¸à¸„วามธรรมดา",'Please enter a valid color (e.g. "ff0000").':'โปรดป้à¸à¸™à¸ªà¸µà¸—ี่ถูà¸à¸•à¹‰à¸à¸‡ (เช่น "ff0000")',"Press %0 for help.":"à¸à¸” %0 เพื่à¸à¸„วามช่วยเหลืà¸","Press Enter to type after or press Shift + Enter to type before the widget":"à¸à¸” Enter เพื่à¸à¸žà¸´à¸¡à¸žà¹Œà¸«à¸¥à¸±à¸‡à¸ˆà¸²à¸ หรืà¸à¸à¸” Shift + Enter เพื่à¸à¸žà¸´à¸¡à¸žà¹Œà¸à¹ˆà¸à¸™à¸«à¸™à¹‰à¸²à¸§à¸´à¸”เจ็ต",Previous:"à¸à¹ˆà¸à¸™à¸«à¸™à¹‰à¸²",Purple:"สีม่วง",Red:"สีà¹à¸”ง",Redo:"ทำซ้ำ","Remove color":"ลบสี","Replace image with file manager":"à¹à¸—นที่ภาพด้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Replace with file manager":"à¹à¸—นที่ด้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Restore default":"คืนค่าเริ่มต้น","Rich Text Editor":"โปรà¹à¸à¸£à¸¡à¹à¸à¹‰à¹„ข Rich Text","Rich Text Editor. Editing area: %0":"ตัวà¹à¸à¹‰à¹„ข Rich Text พื้นที่à¹à¸à¹‰à¹„ข: %0",Save:"บันทึà¸","Select all":"เลืà¸à¸à¸—ั้งหมด","Show more items":"à¹à¸ªà¸”งรายà¸à¸²à¸£à¹€à¸žà¸´à¹ˆà¸¡à¹€à¸•à¸´à¸¡","These keyboard shortcuts allow for quick access to content editing features.":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”เหล่านี้จะทำให้สามารถเข้าถึงฟีเจà¸à¸£à¹Œà¹€à¸žà¸·à¹ˆà¸à¸à¸²à¸£à¹à¸à¹‰à¹„ขเนื้à¸à¸«à¸²à¹„ด้à¸à¸¢à¹ˆà¸²à¸‡à¸£à¸§à¸”เร็ว","Toggle caption off":"ปิดคำà¸à¸˜à¸´à¸šà¸²à¸¢à¸ าพ","Toggle caption on":"เปิดคำà¸à¸˜à¸´à¸šà¸²à¸¢à¸ าพ",Turquoise:"สีเขียวขุ่น",Undo:"ย้à¸à¸™à¸à¸¥à¸±à¸š","Upload in progress":"à¸à¸³à¸¥à¸±à¸‡à¸”ำเนินà¸à¸²à¸£à¸à¸±à¸›à¹‚หลด","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ใช้à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ต่à¸à¹„ปนี้เพื่à¸à¸à¸²à¸£à¸™à¸³à¸—างที่มีประสิทธิภาพยิ่งขึ้นในà¸à¸´à¸™à¹€à¸•à¸à¸£à¹Œà¹€à¸Ÿà¸ªà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰ CKEditor 5","User interface and content navigation keystrokes":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ในà¸à¸´à¸™à¹€à¸•à¸à¸£à¹Œà¹€à¸Ÿà¸ªà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¹à¸¥à¸°à¸à¸²à¸£à¸™à¸³à¸—างเนื้à¸à¸«à¸²",White:"สีขาว","Widget toolbar":"à¹à¸–มเครื่à¸à¸‡à¸¡à¸·à¸à¸§à¸´à¸”เจ็ต","With file manager":"ด้วยโปรà¹à¸à¸£à¸¡à¸ˆà¸±à¸”à¸à¸²à¸£à¹„ฟล์",Yellow:"สีเหลืà¸à¸‡"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.th=e.th||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(à¸à¸²à¸ˆà¸ˆà¸³à¹€à¸›à¹‡à¸™à¸•à¹‰à¸à¸‡à¸¡à¸µ <kbd>Fn</kbd>)","%0 of %1":"%0 จาภ%1",Accept:"ยà¸à¸¡à¸£à¸±à¸š",Accessibility:"à¸à¸²à¸£à¹€à¸‚้าถึง","Accessibility help":"ความช่วยเหลืà¸à¸à¸²à¸£à¹€à¸‚้าถึง",Aquamarine:"พลà¸à¸¢à¸ªà¸µà¸Ÿà¹‰à¸²","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"ด้านล่างนี้ คุณจะพบà¸à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ที่สามารถใช้ในตัวà¹à¸à¹‰à¹„ขได้",Black:"สีดำ",Blue:"สีน้ำเงิน",Cancel:"ยà¸à¹€à¸¥à¸´à¸","Cannot upload file:":"ไม่สามารถà¸à¸±à¸›à¹‚หลดไฟล์ได้:",Clear:"ล้าง","Click to edit block":"คลิà¸à¹€à¸žà¸·à¹ˆà¸à¹à¸à¹‰à¹„ขบล็à¸à¸",Close:"ปิด","Close contextual balloons, dropdowns, and dialogs":"ปิดลูà¸à¹‚ป่งบริบท, รายà¸à¸²à¸£à¸”รà¸à¸›à¸”าวน์, à¹à¸¥à¸°à¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸š","Color picker":"เครื่à¸à¸‡à¸¡à¸·à¸à¹€à¸¥à¸·à¸à¸à¸ªà¸µ","Content editing keystrokes":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”เพื่à¸à¹à¸à¹‰à¹„ขเนื้à¸à¸«à¸²","Copy selected content":"คัดลà¸à¸à¹€à¸™à¸·à¹‰à¸à¸«à¸²à¸—ี่เลืà¸à¸à¹€à¸à¸²à¹„ว้","Dim grey":"สีเทาเข้ม","Drag to move":"ลาà¸à¹€à¸žà¸·à¹ˆà¸à¸¢à¹‰à¸²à¸¢","Dropdown menu":"เมนูà¹à¸šà¸šà¹€à¸¥à¸·à¹ˆà¸à¸™à¸¥à¸‡","Dropdown toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸šà¸šà¹€à¸¥à¸·à¹ˆà¸à¸™à¸¥à¸‡","Edit block":"à¹à¸à¹‰à¹„ขบล็à¸à¸","Editor block content toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸à¹‰à¹„ขบล็à¸à¸à¹€à¸™à¸·à¹‰à¸à¸«à¸²","Editor contextual toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸à¹‰à¹„ขข้à¸à¸„วาม","Editor dialog":"à¸à¸²à¸£à¸ªà¸™à¸—นาขà¸à¸‡à¸šà¸£à¸£à¸“าธิà¸à¸²à¸£","Editor menu bar":"à¹à¸–บเมนูตัวà¹à¸à¹‰à¹„ข","Editor toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¹à¸à¹‰à¹„ข","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"ปà¸à¸´à¸šà¸±à¸•à¸´à¸•à¸²à¸¡à¸›à¸¸à¹ˆà¸¡à¸—ี่โฟà¸à¸±à¸ªà¹ƒà¸™à¸‚ณะนี้ à¸à¸²à¸£à¸›à¸à¸´à¸šà¸±à¸•à¸´à¸•à¸²à¸¡à¸›à¸¸à¹ˆà¸¡à¸—ี่โต้ตà¸à¸šà¸à¸±à¸šà¹€à¸™à¸·à¹‰à¸à¸«à¸²à¸‚à¸à¸‡à¸•à¸±à¸§à¹à¸à¹‰à¹„ขจะย้ายโฟà¸à¸±à¸ªà¸à¸¥à¸±à¸šà¹„ปยังเนื้à¸à¸«à¸²",File:"ไฟล์",Green:"สีเขียว",Grey:"สีเทา","Help Contents. To close this dialog press ESC.":"เนื้à¸à¸«à¸²à¸„วามช่วยเหลืภหาà¸à¸•à¹‰à¸à¸‡à¸à¸²à¸£à¸›à¸´à¸”à¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸šà¸™à¸µà¹‰ ให้à¸à¸”ปุ่ม ESC",HEX:"HEX","Insert a hard break (a new paragraph)":"à¹à¸—รà¸à¸à¸²à¸£à¸‚ึ้นบรรทัดใหม่à¹à¸šà¸š Hard Break (ย่à¸à¸«à¸™à¹‰à¸²à¹ƒà¸«à¸¡à¹ˆ)","Insert a new paragraph directly after a widget":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¹ƒà¸«à¸¡à¹ˆà¸«à¸¥à¸±à¸‡à¸§à¸´à¸”เจ็ตโดยตรง","Insert a new paragraph directly before a widget":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¹ƒà¸«à¸¡à¹ˆà¸«à¸™à¹‰à¸²à¸§à¸´à¸”เจ็ตโดยตรง","Insert a soft break (a <code><br></code> element)":"à¹à¸—รà¸à¸à¸²à¸£à¸‚ึ้นบรรทัดใหม่à¹à¸šà¸š Soft Break (<code><br></code> element)","Insert image with file manager":"à¹à¸—รà¸à¸ าพด้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Insert paragraph after block":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¸«à¸¥à¸±à¸‡à¸šà¸¥à¹‡à¸à¸","Insert paragraph before block":"à¹à¸—รà¸à¸¢à¹ˆà¸à¸«à¸™à¹‰à¸²à¸à¹ˆà¸à¸™à¸šà¸¥à¹‡à¸à¸","Insert with file manager":"à¹à¸—รà¸à¸”้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ที่สามารถใช้ได้เมื่à¸à¹€à¸¥à¸·à¸à¸à¸§à¸´à¸”เจ็ต (ยà¸à¸•à¸±à¸§à¸à¸¢à¹ˆà¸²à¸‡: รูปภาพ, ตาราง, ฯลฯ)","Light blue":"สีฟ้า","Light green":"สีเขียวà¸à¹ˆà¸à¸™","Light grey":"สีเทาà¸à¹ˆà¸à¸™",MENU_BAR_MENU_EDIT:"à¹à¸à¹‰à¹„ข",MENU_BAR_MENU_FILE:"ไฟล์",MENU_BAR_MENU_FONT:"à¹à¸šà¸šà¸à¸±à¸à¸©à¸£",MENU_BAR_MENU_FORMAT:"รูปà¹à¸šà¸š",MENU_BAR_MENU_HELP:"ช่วยเหลืà¸",MENU_BAR_MENU_INSERT:"à¹à¸—รà¸",MENU_BAR_MENU_TEXT:"ข้à¸à¸„วาม",MENU_BAR_MENU_TOOLS:"เครื่à¸à¸‡à¸¡à¸·à¸",MENU_BAR_MENU_VIEW:"ดู","Move focus between form fields (inputs, buttons, etc.)":"ย้ายโฟà¸à¸±à¸ªà¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸Šà¹ˆà¸à¸‡à¸Ÿà¸à¸£à¹Œà¸¡ (รับข้à¸à¸¡à¸¹à¸¥, ปุ่ม, ฯลฯ)","Move focus from an editable area back to the parent widget":"ย้ายโฟà¸à¸±à¸ªà¸ˆà¸²à¸à¸šà¸£à¸´à¹€à¸§à¸“ที่à¹à¸à¹‰à¹„ขได้à¸à¸¥à¸±à¸šà¹„ปยังวิดเจ็ตà¹à¸¡à¹ˆ","Move focus in and out of an active dialog window":"ย้ายโฟà¸à¸±à¸ªà¹€à¸‚้าà¹à¸¥à¸°à¸à¸à¸à¸ˆà¸²à¸à¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸šà¸—ี่ใช้งานà¸à¸¢à¸¹à¹ˆ","Move focus to the menu bar, navigate between menu bars":"ย้ายโฟà¸à¸±à¸ªà¹„ปที่à¹à¸–บเมนู นำทางระหว่างà¹à¸–บเมนูต่างๆ","Move focus to the toolbar, navigate between toolbars":"ย้ายโฟà¸à¸±à¸ªà¹„ปยังà¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸, นำทางภายในà¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸","Move the caret to allow typing directly after a widget":"ย้ายสัà¸à¸¥à¸±à¸à¸©à¸“์คาเร็ตเพื่à¸à¹ƒà¸«à¹‰à¸ªà¸²à¸¡à¸²à¸£à¸–พิมพ์ได้ไปà¸à¸¢à¸¹à¹ˆà¸«à¸¥à¸±à¸‡à¸§à¸´à¸”เจ็ตโดยตรง","Move the caret to allow typing directly before a widget":"ย้ายสัà¸à¸¥à¸±à¸à¸©à¸“์คาเร็ตเพื่à¸à¹ƒà¸«à¹‰à¸ªà¸²à¸¡à¸²à¸£à¸–พิมพ์ได้ไปà¸à¸¢à¸¹à¹ˆà¸«à¸™à¹‰à¸²à¸§à¸´à¸”เจ็ตโดยตรง","Navigate through the toolbar or menu bar":"นำทางในà¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸«à¸£à¸·à¸à¹à¸–บเมนู",Next:"ถัดไป","No results found":"ไม่พบผลลัพธ์","No searchable items":"ไม่มีรายà¸à¸²à¸£à¸—ี่สามารถค้นหาได้","Open the accessibility help dialog":"เปิดà¸à¸¥à¹ˆà¸à¸‡à¹‚ต้ตà¸à¸šà¸„วามช่วยเหลืà¸à¸à¸²à¸£à¹€à¸‚้าถึง",Orange:"สีส้ม",Paragraph:"ย่à¸à¸«à¸™à¹‰à¸²","Paste content":"วางเนื้à¸à¸«à¸²","Paste content as plain text":"วางเนื้à¸à¸«à¸²à¹€à¸›à¹‡à¸™à¸‚้à¸à¸„วามธรรมดา",'Please enter a valid color (e.g. "ff0000").':'โปรดป้à¸à¸™à¸ªà¸µà¸—ี่ถูà¸à¸•à¹‰à¸à¸‡ (เช่น "ff0000")',"Press %0 for help.":"à¸à¸” %0 เพื่à¸à¸„วามช่วยเหลืà¸","Press Enter to type after or press Shift + Enter to type before the widget":"à¸à¸” Enter เพื่à¸à¸žà¸´à¸¡à¸žà¹Œà¸«à¸¥à¸±à¸‡à¸ˆà¸²à¸ หรืà¸à¸à¸” Shift + Enter เพื่à¸à¸žà¸´à¸¡à¸žà¹Œà¸à¹ˆà¸à¸™à¸«à¸™à¹‰à¸²à¸§à¸´à¸”เจ็ต",Previous:"à¸à¹ˆà¸à¸™à¸«à¸™à¹‰à¸²",Purple:"สีม่วง",Red:"สีà¹à¸”ง",Redo:"ทำซ้ำ","Remove color":"ลบสี","Replace image with file manager":"à¹à¸—นที่ภาพด้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Replace with file manager":"à¹à¸—นที่ด้วยตัวจัดà¸à¸²à¸£à¹„ฟล์","Restore default":"คืนค่าเริ่มต้น","Rich Text Editor":"โปรà¹à¸à¸£à¸¡à¹à¸à¹‰à¹„ข Rich Text","Rich Text Editor. Editing area: %0":"ตัวà¹à¸à¹‰à¹„ข Rich Text พื้นที่à¹à¸à¹‰à¹„ข: %0",Save:"บันทึà¸","Select all":"เลืà¸à¸à¸—ั้งหมด","Show more items":"à¹à¸ªà¸”งรายà¸à¸²à¸£à¹€à¸žà¸´à¹ˆà¸¡à¹€à¸•à¸´à¸¡","These keyboard shortcuts allow for quick access to content editing features.":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”เหล่านี้จะทำให้สามารถเข้าถึงฟีเจà¸à¸£à¹Œà¹€à¸žà¸·à¹ˆà¸à¸à¸²à¸£à¹à¸à¹‰à¹„ขเนื้à¸à¸«à¸²à¹„ด้à¸à¸¢à¹ˆà¸²à¸‡à¸£à¸§à¸”เร็ว","Toggle caption off":"ปิดคำà¸à¸˜à¸´à¸šà¸²à¸¢à¸ าพ","Toggle caption on":"เปิดคำà¸à¸˜à¸´à¸šà¸²à¸¢à¸ าพ",Turquoise:"สีเขียวขุ่น",Undo:"ย้à¸à¸™à¸à¸¥à¸±à¸š","Upload in progress":"à¸à¸³à¸¥à¸±à¸‡à¸”ำเนินà¸à¸²à¸£à¸à¸±à¸›à¹‚หลด","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ใช้à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ต่à¸à¹„ปนี้เพื่à¸à¸à¸²à¸£à¸™à¸³à¸—างที่มีประสิทธิภาพยิ่งขึ้นในà¸à¸´à¸™à¹€à¸•à¸à¸£à¹Œà¹€à¸Ÿà¸ªà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰ CKEditor 5","User interface and content navigation keystrokes":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ในà¸à¸´à¸™à¹€à¸•à¸à¸£à¹Œà¹€à¸Ÿà¸ªà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¹à¸¥à¸°à¸à¸²à¸£à¸™à¸³à¸—างเนื้à¸à¸«à¸²",White:"สีขาว","Widget toolbar":"à¹à¸–มเครื่à¸à¸‡à¸¡à¸·à¸à¸§à¸´à¸”เจ็ต","With file manager":"ด้วยโปรà¹à¸à¸£à¸¡à¸ˆà¸±à¸”à¸à¸²à¸£à¹„ฟล์",Yellow:"สีเหลืà¸à¸‡"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ti.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ti.js index b806eef0c349818207fa03a538fbd7e381df277b..735e4d0e5d5a326d4c2f1bb7e92eb45540d9afc6 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ti.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ti.js @@ -1 +1 @@ -!function(e){const t=e.ti=e.ti||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"ንጸáŒ","Cannot upload file:":"á‹á‹áˆ áˆá‹µá‹«á‰¥ ኣá‹á‰°áŠ¸áŠ£áˆˆáŠ•",Clear:"á‹°áˆáˆµáˆµ","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"á‹á‹áˆ",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"ኣáˆáˆ",MENU_BAR_MENU_FILE:"á‹á‹áˆ",MENU_BAR_MENU_FONT:"áŽáŠ•á‰µ",MENU_BAR_MENU_FORMAT:"áŽáˆáˆ›á‰µ",MENU_BAR_MENU_HELP:"ሓገá‹",MENU_BAR_MENU_INSERT:"የእትá‹",MENU_BAR_MENU_TEXT:"ቴáŠáˆµá‰µ",MENU_BAR_MENU_TOOLS:"መኸወንቲ",MENU_BAR_MENU_VIEW:"ተመáˆáŠ¨á‰µ","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"ቀጻሊ","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"ሕሉá",Purple:"",Red:"",Redo:"ደጊáˆáŠ« ከá‹áŠ•","Remove color":"ሕብሪ ኣወáŒá‹µ","Replace image with file manager":"","Replace with file manager":"á‹á‹áˆ ማናጀሠብáˆáŒ¥á‰ƒáˆ ተáŠáŠ¥","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"ጠá‰á‰¥","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"á‹á‰°áŠ¸á‹ˆáŠ áˆáˆˆáˆµ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ti=e.ti||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Cancel:"ንጸáŒ","Cannot upload file:":"á‹á‹áˆ áˆá‹µá‹«á‰¥ ኣá‹á‰°áŠ¸áŠ£áˆˆáŠ•",Clear:"á‹°áˆáˆµáˆµ","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"á‹á‹áˆ",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"","Light green":"","Light grey":"",MENU_BAR_MENU_EDIT:"ኣáˆáˆ",MENU_BAR_MENU_FILE:"á‹á‹áˆ",MENU_BAR_MENU_FONT:"áŽáŠ•á‰µ",MENU_BAR_MENU_FORMAT:"áŽáˆáˆ›á‰µ",MENU_BAR_MENU_HELP:"ሓገá‹",MENU_BAR_MENU_INSERT:"የእትá‹",MENU_BAR_MENU_TEXT:"ቴáŠáˆµá‰µ",MENU_BAR_MENU_TOOLS:"መኸወንቲ",MENU_BAR_MENU_VIEW:"ተመáˆáŠ¨á‰µ","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"ቀጻሊ","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"",Paragraph:"ዓንቀጽ","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"ሕሉá",Purple:"",Red:"",Redo:"ደጊáˆáŠ« ከá‹áŠ•","Remove color":"ሕብሪ ኣወáŒá‹µ","Replace image with file manager":"","Replace with file manager":"á‹á‹áˆ ማናጀሠብáˆáŒ¥á‰ƒáˆ ተáŠáŠ¥","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"ጠá‰á‰¥","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"á‹á‰°áŠ¸á‹ˆáŠ áˆáˆˆáˆµ","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Widget toolbar":"","With file manager":"",Yellow:""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tk.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tk.js index 5c7d09d54a3cd577d355547d5146cfa9dd40d78d..2ec23d4e71f30c582f7966b14fda309f73c7e133 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tk.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tk.js @@ -1 +1 @@ -!function(e){const t=e.tk=e.tk||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%1-iň %0-i",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akuamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Gara",Blue:"Gök",Cancel:"Ãatyr","Cannot upload file:":"Faýl ýükläp bolmady:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"Goýy çal","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Açylýan gurallar paneli","Edit block":"Bloky redaktirläň","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Redaktor gurallar paneli","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"ÃaÅŸyl",Grey:"Çal","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"Blokdan soň abzas goýuň","Insert paragraph before block":"Blokdan öň abzas goýuň","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Açyk gök","Light green":"Açyk ýaÅŸyl","Light grey":"Açyk çal",MENU_BAR_MENU_EDIT:"Redaktirläň",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Indiki","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"MämiÅŸi",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Öňki",Purple:"Gyrmyzy",Red:"Gyzyl",Redo:"Öňe gaýtar","Remove color":"Reňki aýyryň","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Baý Tekst Redaktory","Rich Text Editor. Editing area: %0":"",Save:"Saklaň","Select all":"Ählisini saýla","Show more items":"Has köp zady görkeziň","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkuaz",Undo:"Yza gaýtar","Upload in progress":"Ãüklemek dowam edýär","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Ak","Widget toolbar":"Widget gurallar paneli","With file manager":"",Yellow:"Sary"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.tk=e.tk||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%1-iň %0-i",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akuamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Gara",Blue:"Gök",Cancel:"Ãatyr","Cannot upload file:":"Faýl ýükläp bolmady:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"Reňk saýlaýjy","Content editing keystrokes":"","Copy selected content":"","Dim grey":"Goýy çal","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Açylýan gurallar paneli","Edit block":"Bloky redaktirläň","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Redaktor gurallar paneli","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"ÃaÅŸyl",Grey:"Çal","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"Blokdan soň abzas goýuň","Insert paragraph before block":"Blokdan öň abzas goýuň","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Açyk gök","Light green":"Açyk ýaÅŸyl","Light grey":"Açyk çal",MENU_BAR_MENU_EDIT:"Redaktirläň",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Indiki","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"MämiÅŸi",Paragraph:"Abzas","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Öňki",Purple:"Gyrmyzy",Red:"Gyzyl",Redo:"Öňe gaýtar","Remove color":"Reňki aýyryň","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Baý Tekst Redaktory","Rich Text Editor. Editing area: %0":"",Save:"Saklaň","Select all":"Ählisini saýla","Show more items":"Has köp zady görkeziň","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkuaz",Undo:"Yza gaýtar","Upload in progress":"Ãüklemek dowam edýär","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Ak","Widget toolbar":"Widget gurallar paneli","With file manager":"",Yellow:"Sary"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tr.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tr.js index 9b94081449fe73a579f211969d53d016a5b3b7d8..1733447ee72debdc477296b135850a3bc14ada7e 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tr.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tr.js @@ -1 +1 @@ -!function(e){const a=e.tr=e.tr||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd> gerekebilir)","%0 of %1":"%0/%1",Accept:"Kabul et",Accessibility:"EriÅŸilebilirlik","Accessibility help":"EriÅŸilebilirlik yardımı",Aquamarine:"Su YeÅŸili","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"AÅŸağıda editörde kullanılabilecek klavye kısayollarının bir listesini bulabilirsiniz.",Black:"Siyah",Blue:"Mavi",Cancel:"Ä°ptal","Cannot upload file:":"Dosya yüklenemedi:",Clear:"Temizle","Click to edit block":"BloÄŸu düzenlemek için tıkla",Close:"Kapat","Close contextual balloons, dropdowns, and dialogs":"BaÄŸlamsal balonları, açılır menüleri ve iletiÅŸim kutularını kapat","Content editing keystrokes":"İçerik düzenleme tuÅŸ vuruÅŸları","Copy selected content":"Seçilen içeriÄŸi kopyala","Dim grey":"Koyu Gri","Drag to move":"Taşımak için sürükle","Dropdown menu":"AÅŸağı açılır menü","Dropdown toolbar":"Açılır araç çubuÄŸu","Edit block":"BloÄŸu Düzenle","Editor block content toolbar":"Düzenleyici engelleme içerik araç çubuÄŸu","Editor contextual toolbar":"Düzenleyici içeriksel araç çubuÄŸu","Editor dialog":"Düzenleyici iletiÅŸim kutusu","Editor menu bar":"Düzenleyici menü çubuÄŸu","Editor toolbar":"Düzenleme araç çubuÄŸu","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"O anda odaklanılan düğmeyi çalıştırın. Düzenleyici içeriÄŸiyle etkileÅŸime giren düğmelerin çalıştırılması, odağı içeriÄŸe geri taşır.",File:"Dosya",Green:"YeÅŸil",Grey:"Gri","Help Contents. To close this dialog press ESC.":"Yardım İçerikleri. Bu iletiÅŸim kutusunu kapatmak için ESC tuÅŸuna basın.",HEX:"ONALTILIK","Insert a hard break (a new paragraph)":"DeÄŸiÅŸmez sayfa sonu ekle (yeni bir paragraf)","Insert a new paragraph directly after a widget":"Araç takımının hemen sonrasına yeni bir paragraf ekle","Insert a new paragraph directly before a widget":"Araç takımının hemen öncesine yeni bir paragraf ekle","Insert a soft break (a <code><br></code> element)":"DeÄŸiÅŸebilir sayfa sonu ekle (bir <code><br></code> ögesi)","Insert image with file manager":"Dosya yöneticisiyle görüntü ekleyin","Insert paragraph after block":"Bloktan sonra paragraf ekle","Insert paragraph before block":"Bloktan önce paragraf ekle","Insert with file manager":"Dosya yöneticisiyle ekle","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Bir araç takımı seçildiÄŸinde kullanılabilecek tuÅŸ vuruÅŸları (örnek: resim, tablo vb.)","Light blue":"Açık Mavi","Light green":"Açık YeÅŸil","Light grey":"Açık Gri",MENU_BAR_MENU_EDIT:"Düzenle",MENU_BAR_MENU_FILE:"Dosya",MENU_BAR_MENU_FONT:"Yazı Tipi",MENU_BAR_MENU_FORMAT:"Biçim",MENU_BAR_MENU_HELP:"Yardım",MENU_BAR_MENU_INSERT:"Ekle",MENU_BAR_MENU_TEXT:"Metin",MENU_BAR_MENU_TOOLS:"Araçlar",MENU_BAR_MENU_VIEW:"Görüntüle","Move focus between form fields (inputs, buttons, etc.)":"Odağı, form alanları (girdiler, düğmeler vb.) arasında taşı","Move focus from an editable area back to the parent widget":"Odağı düzenlenebilir bir alandan üst pencere öğesine geri taşıyın","Move focus in and out of an active dialog window":"Odağı etkin iletiÅŸim penceresinin içine ve dışına taşı","Move focus to the menu bar, navigate between menu bars":"Odağı menü çubuÄŸuna taşıyın, menü çubukları arasında gezinin","Move focus to the toolbar, navigate between toolbars":"Odağı araç çubuÄŸuna taşı, araç çubukları arasında gezin","Move the caret to allow typing directly after a widget":"Bir araç takımından hemen sonra yazmaya izin vermek için ekleme noktasını taşı","Move the caret to allow typing directly before a widget":"Bir araç takımından hemen önce yazmaya izin vermek için ekleme noktasını taşı","Navigate through the toolbar or menu bar":"Araç çubuÄŸu veya menü çubuÄŸunda gezinme",Next:"Sonraki","No results found":"Sonuç bulunamadı","No searchable items":"Aranabilir öge yok","Open the accessibility help dialog":"EriÅŸilebilirlik yardımı iletiÅŸim kutusunu aç",Orange:"Turuncu","Paste content":"İçeriÄŸi yapıştır","Paste content as plain text":"İçeriÄŸi düz metin olarak yapıştır",'Please enter a valid color (e.g. "ff0000").':'Lütfen geçerli bir renk girin (ör. "ff0000").',"Press %0 for help.":"Yardım için %0 tuÅŸuna basın.","Press Enter to type after or press Shift + Enter to type before the widget":"Görsel bileÅŸenden sonra yazmak için Enter'a basın ya da görsel bileÅŸenden önce yazmak için Shift + Enter'a basın",Previous:"Önceki",Purple:"Mor",Red:"Kırmızı",Redo:"Tekrar yap","Remove color":"Rengi Sil","Replace image with file manager":"Resmi dosya yöneticisiyle deÄŸiÅŸtir","Replace with file manager":"Dosya yöneticisiyle deÄŸiÅŸtirin","Restore default":"Varsayılanı geri yükle","Rich Text Editor":"Zengin İçerik Editörü","Rich Text Editor. Editing area: %0":"Zengin Metin Editörü.Düzenleme alanı: %0",Save:"Kaydet","Select all":"Hepsini seç","Show more items":"Daha fazla öğe göster","These keyboard shortcuts allow for quick access to content editing features.":"Bu klavye kısayolları içerik düzenleme özelliklerine hızlı eriÅŸim saÄŸlar.","Toggle caption off":"Açıklamayı kapat","Toggle caption on":"Açıklamayı aç",Turquoise:"Turkuaz",Undo:"Geri al","Upload in progress":"Yükleme iÅŸlemi devam ediyor","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"CKEditor 5 kullanıcı arayüzünde daha etkili gezinti için aÅŸağıdaki tuÅŸ vuruÅŸlarını kullanın.","User interface and content navigation keystrokes":"Kullanıcı arayüzü ve içerik gezinme tuÅŸ vuruÅŸları",White:"Beyaz","Widget toolbar":"BileÅŸen araç çubuÄŸu","With file manager":"Dosya yöneticisi ile",Yellow:"Sarı"}),a.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.tr=e.tr||{};a.dictionary=Object.assign(a.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd> gerekebilir)","%0 of %1":"%0/%1",Accept:"Kabul et",Accessibility:"EriÅŸilebilirlik","Accessibility help":"EriÅŸilebilirlik yardımı",Aquamarine:"Su YeÅŸili","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"AÅŸağıda editörde kullanılabilecek klavye kısayollarının bir listesini bulabilirsiniz.",Black:"Siyah",Blue:"Mavi",Cancel:"Ä°ptal","Cannot upload file:":"Dosya yüklenemedi:",Clear:"Temizle","Click to edit block":"BloÄŸu düzenlemek için tıkla",Close:"Kapat","Close contextual balloons, dropdowns, and dialogs":"BaÄŸlamsal balonları, açılır menüleri ve iletiÅŸim kutularını kapat","Color picker":"Renk seçici","Content editing keystrokes":"İçerik düzenleme tuÅŸ vuruÅŸları","Copy selected content":"Seçilen içeriÄŸi kopyala","Dim grey":"Koyu Gri","Drag to move":"Taşımak için sürükle","Dropdown menu":"AÅŸağı açılır menü","Dropdown toolbar":"Açılır araç çubuÄŸu","Edit block":"BloÄŸu Düzenle","Editor block content toolbar":"Düzenleyici engelleme içerik araç çubuÄŸu","Editor contextual toolbar":"Düzenleyici içeriksel araç çubuÄŸu","Editor dialog":"Düzenleyici iletiÅŸim kutusu","Editor menu bar":"Düzenleyici menü çubuÄŸu","Editor toolbar":"Düzenleme araç çubuÄŸu","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"O anda odaklanılan düğmeyi çalıştırın. Düzenleyici içeriÄŸiyle etkileÅŸime giren düğmelerin çalıştırılması, odağı içeriÄŸe geri taşır.",File:"Dosya",Green:"YeÅŸil",Grey:"Gri","Help Contents. To close this dialog press ESC.":"Yardım İçerikleri. Bu iletiÅŸim kutusunu kapatmak için ESC tuÅŸuna basın.",HEX:"ONALTILIK","Insert a hard break (a new paragraph)":"DeÄŸiÅŸmez sayfa sonu ekle (yeni bir paragraf)","Insert a new paragraph directly after a widget":"Araç takımının hemen sonrasına yeni bir paragraf ekle","Insert a new paragraph directly before a widget":"Araç takımının hemen öncesine yeni bir paragraf ekle","Insert a soft break (a <code><br></code> element)":"DeÄŸiÅŸebilir sayfa sonu ekle (bir <code><br></code> ögesi)","Insert image with file manager":"Dosya yöneticisiyle görüntü ekleyin","Insert paragraph after block":"Bloktan sonra paragraf ekle","Insert paragraph before block":"Bloktan önce paragraf ekle","Insert with file manager":"Dosya yöneticisiyle ekle","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Bir araç takımı seçildiÄŸinde kullanılabilecek tuÅŸ vuruÅŸları (örnek: resim, tablo vb.)","Light blue":"Açık Mavi","Light green":"Açık YeÅŸil","Light grey":"Açık Gri",MENU_BAR_MENU_EDIT:"Düzenle",MENU_BAR_MENU_FILE:"Dosya",MENU_BAR_MENU_FONT:"Yazı Tipi",MENU_BAR_MENU_FORMAT:"Biçim",MENU_BAR_MENU_HELP:"Yardım",MENU_BAR_MENU_INSERT:"Ekle",MENU_BAR_MENU_TEXT:"Metin",MENU_BAR_MENU_TOOLS:"Araçlar",MENU_BAR_MENU_VIEW:"Görüntüle","Move focus between form fields (inputs, buttons, etc.)":"Odağı, form alanları (girdiler, düğmeler vb.) arasında taşı","Move focus from an editable area back to the parent widget":"Odağı düzenlenebilir bir alandan üst pencere öğesine geri taşıyın","Move focus in and out of an active dialog window":"Odağı etkin iletiÅŸim penceresinin içine ve dışına taşı","Move focus to the menu bar, navigate between menu bars":"Odağı menü çubuÄŸuna taşıyın, menü çubukları arasında gezinin","Move focus to the toolbar, navigate between toolbars":"Odağı araç çubuÄŸuna taşı, araç çubukları arasında gezin","Move the caret to allow typing directly after a widget":"Bir araç takımından hemen sonra yazmaya izin vermek için ekleme noktasını taşı","Move the caret to allow typing directly before a widget":"Bir araç takımından hemen önce yazmaya izin vermek için ekleme noktasını taşı","Navigate through the toolbar or menu bar":"Araç çubuÄŸu veya menü çubuÄŸunda gezinme",Next:"Sonraki","No results found":"Sonuç bulunamadı","No searchable items":"Aranabilir öge yok","Open the accessibility help dialog":"EriÅŸilebilirlik yardımı iletiÅŸim kutusunu aç",Orange:"Turuncu",Paragraph:"Paragraf","Paste content":"İçeriÄŸi yapıştır","Paste content as plain text":"İçeriÄŸi düz metin olarak yapıştır",'Please enter a valid color (e.g. "ff0000").':'Lütfen geçerli bir renk girin (ör. "ff0000").',"Press %0 for help.":"Yardım için %0 tuÅŸuna basın.","Press Enter to type after or press Shift + Enter to type before the widget":"Görsel bileÅŸenden sonra yazmak için Enter'a basın ya da görsel bileÅŸenden önce yazmak için Shift + Enter'a basın",Previous:"Önceki",Purple:"Mor",Red:"Kırmızı",Redo:"Tekrar yap","Remove color":"Rengi Sil","Replace image with file manager":"Resmi dosya yöneticisiyle deÄŸiÅŸtir","Replace with file manager":"Dosya yöneticisiyle deÄŸiÅŸtirin","Restore default":"Varsayılanı geri yükle","Rich Text Editor":"Zengin İçerik Editörü","Rich Text Editor. Editing area: %0":"Zengin Metin Editörü.Düzenleme alanı: %0",Save:"Kaydet","Select all":"Hepsini seç","Show more items":"Daha fazla öğe göster","These keyboard shortcuts allow for quick access to content editing features.":"Bu klavye kısayolları içerik düzenleme özelliklerine hızlı eriÅŸim saÄŸlar.","Toggle caption off":"Açıklamayı kapat","Toggle caption on":"Açıklamayı aç",Turquoise:"Turkuaz",Undo:"Geri al","Upload in progress":"Yükleme iÅŸlemi devam ediyor","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"CKEditor 5 kullanıcı arayüzünde daha etkili gezinti için aÅŸağıdaki tuÅŸ vuruÅŸlarını kullanın.","User interface and content navigation keystrokes":"Kullanıcı arayüzü ve içerik gezinme tuÅŸ vuruÅŸları",White:"Beyaz","Widget toolbar":"BileÅŸen araç çubuÄŸu","With file manager":"Dosya yöneticisi ile",Yellow:"Sarı"}),a.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tt.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tt.js index a940b56e6d8997be5e8e4524266faac0baee6580..2402c14b858c2e5f0a025a56a5b443b02b80b194 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tt.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/tt.js @@ -1 +1 @@ -!function(e){const t=e.tt=e.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Ðквамарин","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Кара",Blue:"Зәңгәр",Cancel:"Баш тарт","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Яшел",Grey:"Соры","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"Ðчык зәңгәр","Light green":"Ðчык Ñшел","Light grey":"Ðчык Ñоры",MENU_BAR_MENU_EDIT:"РедакциÑләү",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Кызгылт",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"",Purple:"Шәмәхә",Red:"Кызыл",Redo:"Кабатла","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Сакла","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Фервоз",Undo:"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Ðк","With file manager":"",Yellow:"Сары"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.tt=e.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Ðквамарин","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Кара",Blue:"Зәңгәр",Cancel:"Баш тарт","Cannot upload file:":"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Яшел",Grey:"Соры","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Ðчык зәңгәр","Light green":"Ðчык Ñшел","Light grey":"Ðчык Ñоры",MENU_BAR_MENU_EDIT:"РедакциÑләү",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Керт",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"Кызгылт",Paragraph:"","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"Шәмәхә",Red:"Кызыл",Redo:"Кабатла","Remove color":"","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"","Rich Text Editor. Editing area: %0":"",Save:"Сакла","Select all":"","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Фервоз",Undo:"","Upload in progress":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Ðк","Widget toolbar":"","With file manager":"",Yellow:"Сары"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ug.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ug.js index 7862380158d199a49a13f5de888707789308236c..0482fdbda7aae7b2509d2e207221e155d7d7c8ff 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ug.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ug.js @@ -1 +1 @@ -!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"%0 / %1",Accept:"قوشۇل",Accessibility:"","Accessibility help":"",Aquamarine:"دÛÚىز كۆكى","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"قارا",Blue:"ÙƒÛ†Ùƒ",Cancel:"ۋاز ÙƒÛ•Ú†","Cannot upload file:":"يۈكلەشكە بولمايدىغان ھۆججەت:",Clear:"تازىلا","Click to edit block":"Ú†Ûكىلسە بۆلەك تەھرىرلىنىدۇ",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"سۇس كۈلرەÚ","Drag to move":"يۆتكەشتە سۆرىلىدۇ","Dropdown menu":"","Dropdown toolbar":"سىرىلما قورال بالداق","Edit block":"بۆلەك تەھرىر","Editor block content toolbar":"تەھرىرلىگۈچ بۆلىكى مەزمۇن قورال بالداق","Editor contextual toolbar":"تەھرىرلىگۈچ مەزمۇن قورال بالداق","Editor dialog":"","Editor menu bar":"","Editor toolbar":"تەھرىرلىگۈچ قورال بالداق","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"ÙŠÛشىل",Grey:"كۈلرەÚ","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert image with file manager":"","Insert with file manager":"","Light blue":"ئوچۇق ÙƒÛ†Ùƒ","Light green":"ئوچۇق ÙŠÛشىل","Light grey":"ئوچۇق كۈلرەÚ",MENU_BAR_MENU_EDIT:"تەھرىرلەش",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"قىستۇر",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar or menu bar":"",Next:"ÙƒÛيىنكى","No results found":"Ú¾Ûچقانداق نەتىجە تÛپىلمىدى","No searchable items":"ئىزدىگۈدەك تۈر يوق","Open the accessibility help dialog":"",Orange:"قىزغۇچ سÛرىق",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"",Previous:"ئالدىنقى",Purple:"بىنەپشە",Red:"قىزىل",Redo:"تەكرارلاش","Remove color":"رەÚنى چىقىرىۋەت","Replace image with file manager":"","Replace with file manager":"","Restore default":"ÙƒÛ†Úۈلدىكىگە قايتۇر","Rich Text Editor":"تÛكىست تەھرىرلىگۈچ","Rich Text Editor. Editing area: %0":"مول تÛكىست تەھرىرلىگۈچ. تەھرىرلەش رايونى: %0",Save:"ساقلا","Select all":"ھەممىنى تاللا","Show more items":"تÛخىمۇ ÙƒÛ†Ù¾ تۈرنى كۆرسەت","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"",Undo:"ÙŠÛنىۋÛلىش","Upload in progress":"يۈكلىنىۋاتىدۇ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"ئاق","With file manager":"",Yellow:"سÛرىق"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(<kbd>Fn</kbd> ئىشلىتىش ÙƒÛرەك بولۇشى مۇمكىن)","%0 of %1":"%0 / %1",Accept:"قوشۇل",Accessibility:"زىيارەتچانلىق","Accessibility help":"زىيارەتچانلىق يارەم",Aquamarine:"دÛÚىز كۆكى","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"تۆۋەندە تەھرىرلىگۈچتە ئىشلىتىلىدىغان ھەرپتاختا تÛزلەتمە تىزىمىنى تاپالايسىز.",Black:"قارا",Blue:"ÙƒÛ†Ùƒ",Cancel:"ۋاز ÙƒÛ•Ú†","Cannot upload file:":"يۈكلەشكە بولمايدىغان ھۆججەت:",Clear:"تازىلا","Click to edit block":"Ú†Ûكىلسە بۆلەك تەھرىرلىنىدۇ",Close:"تاقا","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"Ø±Û•Ú ØªØ§Ù„Ù„Ù‰ØºÛ‡Ú†","Content editing keystrokes":"مەزمۇن تەھرىرلەش كۇنۇپكا بÛسىلىشى","Copy selected content":"","Dim grey":"سۇس كۈلرەÚ","Drag to move":"يۆتكەشتە سۆرىلىدۇ","Dropdown menu":"سىرىلما تىزىملىك","Dropdown toolbar":"سىرىلما قورال بالداق","Edit block":"بۆلەك تەھرىر","Editor block content toolbar":"تەھرىرلىگۈچ بۆلىكى مەزمۇن قورال بالداق","Editor contextual toolbar":"تەھرىرلىگۈچ مەزمۇن قورال بالداق","Editor dialog":"تەھرىر سۆزلەشكۈ","Editor menu bar":"تەھرىرلىگۈچ قورال بالداق","Editor toolbar":"تەھرىرلىگۈچ قورال بالداق","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"ھۆججەت",Green:"ÙŠÛشىل",Grey:"كۈلرەÚ","Help Contents. To close this dialog press ESC.":"ياردەم مەزمۇنى. بۇ سۆزلەشكۈنى تاقاشتا ESC بÛسىلىدۇ.",HEX:"ئون ئالتىلىك","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"سۈرەتنى ھۆججەت باشقۇرغۇچ بىلەن قىستۇرىدۇ","Insert paragraph after block":"","Insert paragraph before block":"","Insert with file manager":"ھۆججەت باشقۇرغۇچ بىلەن قىستۇر","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"ئوچۇق ÙƒÛ†Ùƒ","Light green":"ئوچۇق ÙŠÛشىل","Light grey":"ئوچۇق كۈلرەÚ",MENU_BAR_MENU_EDIT:"تەھرىرلەش",MENU_BAR_MENU_FILE:"ھۆججەت",MENU_BAR_MENU_FONT:"خەت نۇسخا",MENU_BAR_MENU_FORMAT:"پىچىم",MENU_BAR_MENU_HELP:"ياردەم",MENU_BAR_MENU_INSERT:"قىستۇر",MENU_BAR_MENU_TEXT:"تÛكىست",MENU_BAR_MENU_TOOLS:"قورال",MENU_BAR_MENU_VIEW:"كۆرۈنۈش","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"Ùوكۇس نۇقتىسىنى سۆزلەشكۈ كۆزنىكىگە يۆتكەيدۇ ياكى چىقىرىۋÛتىدۇ","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"ÙƒÛيىنكى","No results found":"Ú¾Ûچقانداق نەتىجە تÛپىلمىدى","No searchable items":"ئىزدىگۈدەك تۈر يوق","Open the accessibility help dialog":"",Orange:"قىزغۇچ سÛرىق",Paragraph:"ئابزاس","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"ئىناۋەتلىك Ø±Û•Ú ÙƒÙˆØ¯Ù‰Ù†Ù‰ ÙƒÙ‰Ø±Ú¯ÛˆØ²ÛˆÚ (مەسىلەن، «ff0000»)","Press %0 for help.":"ياردەم ئۈچۈن %0 بÛسىلىدۇ","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"ئالدىنقى",Purple:"بىنەپشە",Red:"قىزىل",Redo:"تەكرارلاش","Remove color":"رەÚنى چىقىرىۋەت","Replace image with file manager":"سۈرەتنى ھۆججەت باشقۇرغۇچ بىلەن ئالماشتۇرىدۇ","Replace with file manager":"ھۆججەت باشقۇرغۇچتا ئالماشتۇر","Restore default":"ÙƒÛ†Úۈلدىكىگە قايتۇر","Rich Text Editor":"تÛكىست تەھرىرلىگۈچ","Rich Text Editor. Editing area: %0":"مول تÛكىست تەھرىرلىگۈچ. تەھرىرلەش رايونى: %0",Save:"ساقلا","Select all":"ھەممىنى تاللا","Show more items":"تÛخىمۇ ÙƒÛ†Ù¾ تۈرنى كۆرسەت","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"جەدۋەل ماۋزۇسى تاقاق","Toggle caption on":"جەدۋەل ماۋزۇسى ئوچۇق",Turquoise:"",Undo:"ÙŠÛنىۋÛلىش","Upload in progress":"يۈكلىنىۋاتىدۇ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"ئاق","Widget toolbar":"","With file manager":"ھۆججەت باشقۇرغۇچ بىلەن",Yellow:"سÛرىق"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uk.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uk.js index 3db199b1ee6177d0d155da03a09e6c5db6d169aa..e72d8bdbac17ee6e4caf65f60320bc677507c526 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uk.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uk.js @@ -1 +1 @@ -!function(e){const t=e.uk=e.uk||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(може вимагати <kbd>Fn</kbd>)","%0 of %1":"%0 із %1",Accept:"ПрийнÑти",Accessibility:"ДоÑтупніÑÑ‚ÑŒ","Accessibility help":"Довідка щодо доÑтупноÑÑ‚Ñ–",Aquamarine:"Ðквамариновий","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ðижче ви можете знайти ÑпиÑок комбінацій клавіш, Ñкі можна викориÑтовувати в редакторі.",Black:"Чорний",Blue:"Синій",Cancel:"Відміна","Cannot upload file:":"Ðеможливо завантажити файл:",Clear:"ОчиÑтити","Click to edit block":"Клацніть, щоб редагувати блок",Close:"Закрити","Close contextual balloons, dropdowns, and dialogs":"Закрити контекÑтні виноÑки, Ñпадні ÑпиÑки та діалогові вікна","Content editing keystrokes":"ÐатиÑÐºÐ°Ð½Ð½Ñ ÐºÐ»Ð°Ð²Ñ–Ñˆ Ð´Ð»Ñ Ñ€ÐµÐ´Ð°Ð³ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ð¼Ñ–Ñту","Copy selected content":"Копіювати вибраний вміÑÑ‚","Dim grey":"Темно-Ñірий","Drag to move":"ПотÑгніть, щоб переміÑтити","Dropdown menu":"Випадаюче меню","Dropdown toolbar":"Випадаюча панель інÑтрументів","Edit block":"Редагувати блок","Editor block content toolbar":"Панель інÑтрументів вміÑту блоку редактора","Editor contextual toolbar":"КонтекÑтна панель інÑтрументів редактора","Editor dialog":"Діалогове вікно редактора","Editor menu bar":"Ð Ñдок меню редагуваннÑ","Editor toolbar":"Панель інÑтрументів редактора","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ðктивуйте кнопку, на Ñкій знаходитьÑÑ Ñ„Ð¾ÐºÑƒÑ. ÐÐºÑ‚Ð¸Ð²Ð°Ñ†Ñ–Ñ ÐºÐ½Ð¾Ð¿Ð¾Ðº, Ñкі взаємодіють з редакторÑьким контентом переміщує Ñ„Ð¾ÐºÑƒÑ Ð½Ð°Ð·Ð°Ð´ на контент.",File:"Файл",Green:"Зелений",Grey:"Сірий","Help Contents. To close this dialog press ESC.":"ЗміÑÑ‚ довідки. Щоб закрити це діалогове вікно, натиÑніть ESC.",HEX:"ШіÑтнадцÑтковий","Insert a hard break (a new paragraph)":"Ð’Ñтавити жорÑткий розрив (новий абзац)","Insert a new paragraph directly after a widget":"Ð’Ñтавити новий абзац безпоÑередньо піÑÐ»Ñ Ð²Ñ–Ð´Ð¶ÐµÑ‚Ð°","Insert a new paragraph directly before a widget":"Ð’Ñтавити новий абзац безпоÑередньо перед віджетом","Insert a soft break (a <code><br></code> element)":"Ð’Ñтавити м’Ñкий розрив (елемент <code><br></code>)","Insert image with file manager":"Ð’Ñтавити Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð½Ñ Ð·Ð° допомогою файлового менеджера","Insert paragraph after block":"Додати абзац піÑÐ»Ñ Ð±Ð»Ð¾ÐºÐ°","Insert paragraph before block":"Додати абзац перед блоком","Insert with file manager":"Ð’Ñтавити за допомогою файлового менеджера","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ÐатиÑÐºÐ°Ð½Ð½Ñ ÐºÐ»Ð°Ð²Ñ–Ñˆ, Ñкі можна викориÑтовувати, коли вибрано віджет (наприклад: зображеннÑ, Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ Ñ‚Ð¾Ñ‰Ð¾)","Light blue":"Світло-Ñиній","Light green":"Світло-зелений","Light grey":"Світло-Ñірий",MENU_BAR_MENU_EDIT:"Редагувати",MENU_BAR_MENU_FILE:"Файл",MENU_BAR_MENU_FONT:"Шрифт",MENU_BAR_MENU_FORMAT:"Формат",MENU_BAR_MENU_HELP:"Допомога",MENU_BAR_MENU_INSERT:"Ð’Ñтавити",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"ІнÑтрументи",MENU_BAR_MENU_VIEW:"ПредÑтавленнÑ","Move focus between form fields (inputs, buttons, etc.)":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑа між полÑми форми (введеннÑ, кнопки тощо)","Move focus from an editable area back to the parent widget":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑу з облаÑÑ‚Ñ– Ñ€ÐµÐ´Ð°Ð³ÑƒÐ²Ð°Ð½Ð½Ñ Ð½Ð°Ð·Ð°Ð´ до батьківÑького віджета","Move focus in and out of an active dialog window":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑа в активному діалоговому вікні та з нього","Move focus to the menu bar, navigate between menu bars":"ПереміÑÑ‚Ñ–Ñ‚ÑŒ Ñ„Ð¾ÐºÑƒÑ Ð½Ð° Ñ€Ñдок меню, переміщуйтеÑÑŒ між Ñ€Ñдками меню","Move focus to the toolbar, navigate between toolbars":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑа на панель інÑтрументів, Ð½Ð°Ð²Ñ–Ð³Ð°Ñ†Ñ–Ñ Ð¼Ñ–Ð¶ панелÑми інÑтрументів","Move the caret to allow typing directly after a widget":"ПереміÑÑ‚Ñ–Ñ‚ÑŒ курÑор, щоб дозволити Ð²Ð²ÐµÐ´ÐµÐ½Ð½Ñ Ð±ÐµÐ·Ð¿Ð¾Ñередньо піÑÐ»Ñ Ð²Ñ–Ð´Ð¶ÐµÑ‚Ð°","Move the caret to allow typing directly before a widget":"ПереміÑÑ‚Ñ–Ñ‚ÑŒ курÑор, щоб дозволити Ð²Ð²ÐµÐ´ÐµÐ½Ð½Ñ Ð±ÐµÐ·Ð¿Ð¾Ñередньо перед віджетом","Navigate through the toolbar or menu bar":"ПереміщуйтеÑÑŒ панеллю інÑтрументів або Ñ€Ñдком меню",Next:"ÐаÑтупний","No results found":"Ðічого не знайдено","No searchable items":"Ðемає шуканих об'єктів","Open the accessibility help dialog":"Відкрийте діалогове вікно довідки Ð´Ð»Ñ Ð´Ð¾ÑтупноÑÑ‚Ñ–",Orange:"Помаранчевий","Paste content":"Ð’Ñтавити вміÑÑ‚","Paste content as plain text":"Ð’Ñтавити вміÑÑ‚ Ñк проÑтий текÑÑ‚",'Please enter a valid color (e.g. "ff0000").':'Будь лаÑка, введіть дійÑний колір (напр. "ff0000").',"Press %0 for help.":"ÐатиÑніть %0 Ð´Ð»Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸.","Press Enter to type after or press Shift + Enter to type before the widget":"ÐатиÑніть Enter, щоб друкувати піÑÐ»Ñ Ð°Ð±Ð¾ натиÑніть Shift + Enter, щоб друкувати перед віджетом",Previous:"Попередній",Purple:"Фіолетовий",Red:"Червоний",Redo:"Повтор","Remove color":"Видалити колір","Replace image with file manager":"Замінити Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð½Ñ Ð·Ð° допомогою файлового менеджера","Replace with file manager":"Замінити за допомогою файлового менеджера","Restore default":"Відновити за замовчуваннÑм","Rich Text Editor":"Розширений текÑтовий редактор","Rich Text Editor. Editing area: %0":"Редактор Rich Text. ОблаÑÑ‚ÑŒ редагуваннÑ: %0",Save:"Зберегти","Select all":"Вибрати вÑе","Show more items":"Показати більше","These keyboard shortcuts allow for quick access to content editing features.":"Ці комбінації клавіш забезпечують швидкий доÑтуп до функцій Ñ€ÐµÐ´Ð°Ð³ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ð¼Ñ–Ñту.","Toggle caption off":"Вимкнути підпиÑ","Toggle caption on":"Увімкнути підпиÑ",Turquoise:"Бірюзовий",Undo:"Відміна","Upload in progress":"ВиконуєтьÑÑ Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶ÐµÐ½Ð½Ñ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ВикориÑтовуйте наведені нижче комбінації клавіш Ð´Ð»Ñ Ð±Ñ–Ð»ÑŒÑˆ ефективної навігації в інтерфейÑÑ– кориÑтувача CKEditor 5.","User interface and content navigation keystrokes":"Ð†Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ ÐºÐ¾Ñ€Ð¸Ñтувача та клавіші навігації вміÑтом",White:"Білий","Widget toolbar":"Панель інÑтрументів віджетів","With file manager":"Менеджер файлів",Yellow:"Жовтий"}),t.getPluralForm=function(e){return e%1==0&&e%10==1&&e%100!=11?0:e%1==0&&e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:e%1==0&&(e%10==0||e%10>=5&&e%10<=9||e%100>=11&&e%100<=14)?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.uk=e.uk||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(може вимагати <kbd>Fn</kbd>)","%0 of %1":"%0 із %1",Accept:"ПрийнÑти",Accessibility:"ДоÑтупніÑÑ‚ÑŒ","Accessibility help":"Довідка щодо доÑтупноÑÑ‚Ñ–",Aquamarine:"Ðквамариновий","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Ðижче ви можете знайти ÑпиÑок комбінацій клавіш, Ñкі можна викориÑтовувати в редакторі.",Black:"Чорний",Blue:"Синій",Cancel:"Відміна","Cannot upload file:":"Ðеможливо завантажити файл:",Clear:"ОчиÑтити","Click to edit block":"Клацніть, щоб редагувати блок",Close:"Закрити","Close contextual balloons, dropdowns, and dialogs":"Закрити контекÑтні виноÑки, Ñпадні ÑпиÑки та діалогові вікна","Color picker":"Вибір кольору","Content editing keystrokes":"ÐатиÑÐºÐ°Ð½Ð½Ñ ÐºÐ»Ð°Ð²Ñ–Ñˆ Ð´Ð»Ñ Ñ€ÐµÐ´Ð°Ð³ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ð¼Ñ–Ñту","Copy selected content":"Копіювати вибраний вміÑÑ‚","Dim grey":"Темно-Ñірий","Drag to move":"ПотÑгніть, щоб переміÑтити","Dropdown menu":"Випадаюче меню","Dropdown toolbar":"Випадаюча панель інÑтрументів","Edit block":"Редагувати блок","Editor block content toolbar":"Панель інÑтрументів вміÑту блоку редактора","Editor contextual toolbar":"КонтекÑтна панель інÑтрументів редактора","Editor dialog":"Діалогове вікно редактора","Editor menu bar":"Ð Ñдок меню редагуваннÑ","Editor toolbar":"Панель інÑтрументів редактора","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Ðктивуйте кнопку, на Ñкій знаходитьÑÑ Ñ„Ð¾ÐºÑƒÑ. ÐÐºÑ‚Ð¸Ð²Ð°Ñ†Ñ–Ñ ÐºÐ½Ð¾Ð¿Ð¾Ðº, Ñкі взаємодіють з редакторÑьким контентом переміщує Ñ„Ð¾ÐºÑƒÑ Ð½Ð°Ð·Ð°Ð´ на контент.",File:"Файл",Green:"Зелений",Grey:"Сірий","Help Contents. To close this dialog press ESC.":"ЗміÑÑ‚ довідки. Щоб закрити це діалогове вікно, натиÑніть ESC.",HEX:"ШіÑтнадцÑтковий","Insert a hard break (a new paragraph)":"Ð’Ñтавити жорÑткий розрив (новий абзац)","Insert a new paragraph directly after a widget":"Ð’Ñтавити новий абзац безпоÑередньо піÑÐ»Ñ Ð²Ñ–Ð´Ð¶ÐµÑ‚Ð°","Insert a new paragraph directly before a widget":"Ð’Ñтавити новий абзац безпоÑередньо перед віджетом","Insert a soft break (a <code><br></code> element)":"Ð’Ñтавити м’Ñкий розрив (елемент <code><br></code>)","Insert image with file manager":"Ð’Ñтавити Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð½Ñ Ð·Ð° допомогою файлового менеджера","Insert paragraph after block":"Додати абзац піÑÐ»Ñ Ð±Ð»Ð¾ÐºÐ°","Insert paragraph before block":"Додати абзац перед блоком","Insert with file manager":"Ð’Ñтавити за допомогою файлового менеджера","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ÐатиÑÐºÐ°Ð½Ð½Ñ ÐºÐ»Ð°Ð²Ñ–Ñˆ, Ñкі можна викориÑтовувати, коли вибрано віджет (наприклад: зображеннÑ, Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ Ñ‚Ð¾Ñ‰Ð¾)","Light blue":"Світло-Ñиній","Light green":"Світло-зелений","Light grey":"Світло-Ñірий",MENU_BAR_MENU_EDIT:"Редагувати",MENU_BAR_MENU_FILE:"Файл",MENU_BAR_MENU_FONT:"Шрифт",MENU_BAR_MENU_FORMAT:"Формат",MENU_BAR_MENU_HELP:"Допомога",MENU_BAR_MENU_INSERT:"Ð’Ñтавити",MENU_BAR_MENU_TEXT:"ТекÑÑ‚",MENU_BAR_MENU_TOOLS:"ІнÑтрументи",MENU_BAR_MENU_VIEW:"ПредÑтавленнÑ","Move focus between form fields (inputs, buttons, etc.)":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑа між полÑми форми (введеннÑ, кнопки тощо)","Move focus from an editable area back to the parent widget":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑу з облаÑÑ‚Ñ– Ñ€ÐµÐ´Ð°Ð³ÑƒÐ²Ð°Ð½Ð½Ñ Ð½Ð°Ð·Ð°Ð´ до батьківÑького віджета","Move focus in and out of an active dialog window":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑа в активному діалоговому вікні та з нього","Move focus to the menu bar, navigate between menu bars":"ПереміÑÑ‚Ñ–Ñ‚ÑŒ Ñ„Ð¾ÐºÑƒÑ Ð½Ð° Ñ€Ñдок меню, переміщуйтеÑÑŒ між Ñ€Ñдками меню","Move focus to the toolbar, navigate between toolbars":"ÐŸÐµÑ€ÐµÐ¼Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑа на панель інÑтрументів, Ð½Ð°Ð²Ñ–Ð³Ð°Ñ†Ñ–Ñ Ð¼Ñ–Ð¶ панелÑми інÑтрументів","Move the caret to allow typing directly after a widget":"ПереміÑÑ‚Ñ–Ñ‚ÑŒ курÑор, щоб дозволити Ð²Ð²ÐµÐ´ÐµÐ½Ð½Ñ Ð±ÐµÐ·Ð¿Ð¾Ñередньо піÑÐ»Ñ Ð²Ñ–Ð´Ð¶ÐµÑ‚Ð°","Move the caret to allow typing directly before a widget":"ПереміÑÑ‚Ñ–Ñ‚ÑŒ курÑор, щоб дозволити Ð²Ð²ÐµÐ´ÐµÐ½Ð½Ñ Ð±ÐµÐ·Ð¿Ð¾Ñередньо перед віджетом","Navigate through the toolbar or menu bar":"ПереміщуйтеÑÑŒ панеллю інÑтрументів або Ñ€Ñдком меню",Next:"ÐаÑтупний","No results found":"Ðічого не знайдено","No searchable items":"Ðемає шуканих об'єктів","Open the accessibility help dialog":"Відкрийте діалогове вікно довідки Ð´Ð»Ñ Ð´Ð¾ÑтупноÑÑ‚Ñ–",Orange:"Помаранчевий",Paragraph:"Параграф","Paste content":"Ð’Ñтавити вміÑÑ‚","Paste content as plain text":"Ð’Ñтавити вміÑÑ‚ Ñк проÑтий текÑÑ‚",'Please enter a valid color (e.g. "ff0000").':'Будь лаÑка, введіть дійÑний колір (напр. "ff0000").',"Press %0 for help.":"ÐатиÑніть %0 Ð´Ð»Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸.","Press Enter to type after or press Shift + Enter to type before the widget":"ÐатиÑніть Enter, щоб друкувати піÑÐ»Ñ Ð°Ð±Ð¾ натиÑніть Shift + Enter, щоб друкувати перед віджетом",Previous:"Попередній",Purple:"Фіолетовий",Red:"Червоний",Redo:"Повтор","Remove color":"Видалити колір","Replace image with file manager":"Замінити Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð½Ñ Ð·Ð° допомогою файлового менеджера","Replace with file manager":"Замінити за допомогою файлового менеджера","Restore default":"Відновити за замовчуваннÑм","Rich Text Editor":"Розширений текÑтовий редактор","Rich Text Editor. Editing area: %0":"Редактор Rich Text. ОблаÑÑ‚ÑŒ редагуваннÑ: %0",Save:"Зберегти","Select all":"Вибрати вÑе","Show more items":"Показати більше","These keyboard shortcuts allow for quick access to content editing features.":"Ці комбінації клавіш забезпечують швидкий доÑтуп до функцій Ñ€ÐµÐ´Ð°Ð³ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ð¼Ñ–Ñту.","Toggle caption off":"Вимкнути підпиÑ","Toggle caption on":"Увімкнути підпиÑ",Turquoise:"Бірюзовий",Undo:"Відміна","Upload in progress":"ВиконуєтьÑÑ Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶ÐµÐ½Ð½Ñ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"ВикориÑтовуйте наведені нижче комбінації клавіш Ð´Ð»Ñ Ð±Ñ–Ð»ÑŒÑˆ ефективної навігації в інтерфейÑÑ– кориÑтувача CKEditor 5.","User interface and content navigation keystrokes":"Ð†Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ ÐºÐ¾Ñ€Ð¸Ñтувача та клавіші навігації вміÑтом",White:"Білий","Widget toolbar":"Панель інÑтрументів віджетів","With file manager":"Менеджер файлів",Yellow:"Жовтий"}),t.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ur.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ur.js index 036beb3f47d29e9651496dca12163a82d12bc2bc..615051d53e4240bfb6a049a5ffb0bd804c50ab93 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ur.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/ur.js @@ -1 +1 @@ -!function(e){const t=e.ur=e.ur||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"0% میں سے 1%",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"نیلگوں بلور","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"سیاÛ",Blue:"نیلا",Cancel:"منسوخ","Cannot upload file:":"Ùائل اپلوڈ Ù†Ûیں ÛÙˆ سکی:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"پھیکا سرمئی","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Ø¢Ù„Û Ø¬Ø§Øª برائے ÙÛرست ","Edit block":"Ø®Ø§Ù†Û Ú©ÛŒ تدوین","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"ایڈیٹر Ø¢Ù„Û Ø¬Ø§Øª","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"سبز",Grey:"سرمئی","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"پیراگرا٠کے بعد Ú©ÙˆÚˆ Ø®Ø§Ù†Û Ù†ØµØ¨ کریں","Insert paragraph before block":"پیراگرا٠سے Ù¾ÛÙ„Û’ Ú©ÙˆÚˆ Ø®Ø§Ù†Û Ù†ØµØ¨ کریں","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Ûلکا نیلا","Light green":"Ûلکا سبز","Light grey":"Ûلکا سرمئی",MENU_BAR_MENU_EDIT:"ترمیم",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"اگلا","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"نارنجی",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پچھلا",Purple:"ارغوانی",Red:"سرخ",Redo:"پھر سے کریں","Remove color":"رنگ Øذ٠کریں","Replace image with file manager":"","Replace with file manager":"","Restore default":"Ø·Û’ Ø´Ø¯Û Ø¨Øال","Rich Text Editor":"خانۂ ترمیم","Rich Text Editor. Editing area: %0":"خانۂ ترمیم۔ علاقۂ ترمیم 0%",Save:"Ù…ØÙوظ","Select all":"سب منتخب کریں","Show more items":"مزید مواد Ú©ÛŒ نمائش کریں","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Ùیروزی",Undo:"رد ترمیم","Upload in progress":"آپلوڈ جاری ÛÛ’","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"سÙید","Widget toolbar":"Ø¢Ù„Û Ø¬Ø§Øª برائے وجٹ","With file manager":"",Yellow:"پیلا"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ur=e.ur||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"0% میں سے 1%",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"نیلگوں بلور","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"سیاÛ",Blue:"نیلا",Cancel:"منسوخ","Cannot upload file:":"Ùائل اپلوڈ Ù†Ûیں ÛÙˆ سکی:",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"","Content editing keystrokes":"","Copy selected content":"","Dim grey":"پھیکا سرمئی","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Ø¢Ù„Û Ø¬Ø§Øª برائے ÙÛرست ","Edit block":"Ø®Ø§Ù†Û Ú©ÛŒ تدوین","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"ایڈیٹر Ø¢Ù„Û Ø¬Ø§Øª","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"سبز",Grey:"سرمئی","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"پیراگرا٠کے بعد Ú©ÙˆÚˆ Ø®Ø§Ù†Û Ù†ØµØ¨ کریں","Insert paragraph before block":"پیراگرا٠سے Ù¾ÛÙ„Û’ Ú©ÙˆÚˆ Ø®Ø§Ù†Û Ù†ØµØ¨ کریں","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Ûلکا نیلا","Light green":"Ûلکا سبز","Light grey":"Ûلکا سرمئی",MENU_BAR_MENU_EDIT:"ترمیم",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"اگلا","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"نارنجی",Paragraph:"پیرا","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پچھلا",Purple:"ارغوانی",Red:"سرخ",Redo:"پھر سے کریں","Remove color":"رنگ Øذ٠کریں","Replace image with file manager":"","Replace with file manager":"","Restore default":"Ø·Û’ Ø´Ø¯Û Ø¨Øال","Rich Text Editor":"خانۂ ترمیم","Rich Text Editor. Editing area: %0":"خانۂ ترمیم۔ علاقۂ ترمیم 0%",Save:"Ù…ØÙوظ","Select all":"سب منتخب کریں","Show more items":"مزید مواد Ú©ÛŒ نمائش کریں","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Ùیروزی",Undo:"رد ترمیم","Upload in progress":"آپلوڈ جاری ÛÛ’","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"سÙید","Widget toolbar":"Ø¢Ù„Û Ø¬Ø§Øª برائے وجٹ","With file manager":"",Yellow:"پیلا"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uz.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uz.js index e40102dac7ccc119cb805b6ca05ab4060e3abdd2..eeec33e4a9c2683c67f65468d85b5bd2f749d56d 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uz.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/uz.js @@ -1 +1 @@ -!function(e){const t=e.uz=e.uz||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akuamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Qora",Blue:"Ko'k",Cancel:"Bekor qilish","Cannot upload file:":"",Clear:"O'chirish","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Content editing keystrokes":"","Dim grey":"To'q kulrang","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Ochiladigan asboblar paneli","Edit block":"Blokni tahrirlash","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Tahrirlovchi asboblar paneli","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Yashil",Grey:"Kulrang","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert image with file manager":"","Insert paragraph after block":"Ð’blokdan keyin paragraf qo'yish","Insert paragraph before block":"Blokdan oldin paragrafni kiritish","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Moviy","Light green":"Och yashil","Light grey":"Och kulrang",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Kiritish",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Keyingi","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"To'q sariq",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Oldingi",Purple:"Siyohrang",Red:"Qizil",Redo:"Takrorlash","Remove color":"Rangni olib tashlash","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Tahrirlovchi","Rich Text Editor. Editing area: %0":"",Save:"Saqlash","Select all":"Hammasini tanlash","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkuaz",Undo:"Bekor qilish","Upload in progress":"Yuklanmoqda","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Oq","Widget toolbar":"Vidjet asboblar paneli","With file manager":"",Yellow:"Sariq"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.uz=e.uz||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"",Accessibility:"","Accessibility help":"",Aquamarine:"Akuamarin","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"Qora",Blue:"Ko'k",Cancel:"Bekor qilish","Cannot upload file:":"",Clear:"O'chirish","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"","Color picker":"Rang tanlash","Content editing keystrokes":"","Copy selected content":"","Dim grey":"To'q kulrang","Drag to move":"","Dropdown menu":"","Dropdown toolbar":"Ochiladigan asboblar paneli","Edit block":"Blokni tahrirlash","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor menu bar":"","Editor toolbar":"Tahrirlovchi asboblar paneli","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"",File:"",Green:"Yashil",Grey:"Kulrang","Help Contents. To close this dialog press ESC.":"",HEX:"","Insert a hard break (a new paragraph)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Insert a soft break (a <code><br></code> element)":"","Insert image with file manager":"","Insert paragraph after block":"Ð’blokdan keyin paragraf qo'yish","Insert paragraph before block":"Blokdan oldin paragrafni kiritish","Insert with file manager":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Light blue":"Moviy","Light green":"Och yashil","Light grey":"Och kulrang",MENU_BAR_MENU_EDIT:"",MENU_BAR_MENU_FILE:"",MENU_BAR_MENU_FONT:"",MENU_BAR_MENU_FORMAT:"",MENU_BAR_MENU_HELP:"",MENU_BAR_MENU_INSERT:"Kiritish",MENU_BAR_MENU_TEXT:"",MENU_BAR_MENU_TOOLS:"",MENU_BAR_MENU_VIEW:"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus from an editable area back to the parent widget":"","Move focus in and out of an active dialog window":"","Move focus to the menu bar, navigate between menu bars":"","Move focus to the toolbar, navigate between toolbars":"","Move the caret to allow typing directly after a widget":"","Move the caret to allow typing directly before a widget":"","Navigate through the toolbar or menu bar":"",Next:"Keyingi","No results found":"","No searchable items":"","Open the accessibility help dialog":"",Orange:"To'q sariq",Paragraph:"Paragraf","Paste content":"","Paste content as plain text":"",'Please enter a valid color (e.g. "ff0000").':"","Press %0 for help.":"","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Oldingi",Purple:"Siyohrang",Red:"Qizil",Redo:"Takrorlash","Remove color":"Rangni olib tashlash","Replace image with file manager":"","Replace with file manager":"","Restore default":"","Rich Text Editor":"Tahrirlovchi","Rich Text Editor. Editing area: %0":"",Save:"Saqlash","Select all":"Hammasini tanlash","Show more items":"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkuaz",Undo:"Bekor qilish","Upload in progress":"Yuklanmoqda","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"Oq","Widget toolbar":"Vidjet asboblar paneli","With file manager":"",Yellow:"Sariq"}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/vi.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/vi.js index 662631ea6a9c131539cbc46045e8aa48e0a0b890..468a8ad7df43cbd422d8709b98d1e292971b1424 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/vi.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/vi.js @@ -1 +1 @@ -!function(n){const t=n.vi=n.vi||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(có thể cần nhấn phÃm <kbd>Fn</kbd>)","%0 of %1":"%0 đến %1",Accept:"Chấp nháºn",Accessibility:"Trợ năng","Accessibility help":"Trợ giúp vá» khả năng truy cáºp",Aquamarine:"Xanh ngá»c biển","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"DÆ°á»›i đây, bạn có thể tìm thấy danh sách các phÃm tắt mà bạn có thể dùng trong trình biên táºp nà y.",Black:"Äen",Blue:"Xanh biển",Cancel:"Hủy","Cannot upload file:":"Không thể tải file:",Clear:"Xóa","Click to edit block":"Nhấp để sá»a khối",Close:"Äóng","Close contextual balloons, dropdowns, and dialogs":"Äóng bong bóng theo ngữ cảnh, menu thả xuống và há»™p thoại","Content editing keystrokes":"Tổ hợp phÃm chỉnh sá»a ná»™i dung","Copy selected content":"Sao chép ná»™i dung đã chá»n","Dim grey":"Xám má»","Drag to move":"Kéo để di chuyển","Dropdown menu":"Trình Ä‘Æ¡n thả xuống","Dropdown toolbar":"Thanh công cụ danh mục","Edit block":"Chỉnh sá»a Ä‘oạn","Editor block content toolbar":"Thanh công cụ chỉnh sá»a khối ná»™i dung","Editor contextual toolbar":"Thanh công cụ chỉnh sá»a theo ngữ cảnh","Editor dialog":"Há»™p thoại trình biên táºp","Editor menu bar":"Thanh menu Trình soạn thảo","Editor toolbar":"Thanh công cụ biên táºp","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Thá»±c thi nút hiện Ä‘ang Æ°u tiên. Việc thá»±c thi các nút tÆ°Æ¡ng tác vá»›i ná»™i dung soạn thảo sẽ là m di chuyển tiêu Ä‘iểm trở lại phần ná»™i dung.",File:"Tệp",Green:"Xanh lá",Grey:"Xám","Help Contents. To close this dialog press ESC.":"Ná»™i dung Trợ giúp. Nhấn phÃm ESC để đóng há»™p thoại nà y.",HEX:"HEX","Insert a hard break (a new paragraph)":"Chèn dấu ngắt cứng (Ä‘oạn văn má»›i)","Insert a new paragraph directly after a widget":"Chèn Ä‘oạn văn má»›i ngay sau tiện Ãch","Insert a new paragraph directly before a widget":"Chèn Ä‘oạn văn má»›i ngay trÆ°á»›c tiện Ãch","Insert a soft break (a <code><br></code> element)":"Chèn dấu ngắt má»m (phần tá» <code><br></code>)","Insert image with file manager":"Chèn hình ảnh bằng trình quản lý táºp tin","Insert paragraph after block":"Chèn Ä‘oạn sau khối","Insert paragraph before block":"Chèn Ä‘oạn trÆ°á»›c khối","Insert with file manager":"Chèn bằng trình quản lý táºp tin","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tổ hợp phÃm mà bạn có thể dùng khi má»™t tiện Ãch được chá»n (và dụ: hình ảnh, bảng, v.v.)","Light blue":"Xanh dÆ°Æ¡ng","Light green":"Xanh lá nhạt","Light grey":"Xám nhạt",MENU_BAR_MENU_EDIT:"Chỉnh sá»a",MENU_BAR_MENU_FILE:"Tệp",MENU_BAR_MENU_FONT:"Phông chữ",MENU_BAR_MENU_FORMAT:"Äịnh dạng",MENU_BAR_MENU_HELP:"Trợ giúp",MENU_BAR_MENU_INSERT:"Chèn",MENU_BAR_MENU_TEXT:"Văn bản",MENU_BAR_MENU_TOOLS:"Công cụ",MENU_BAR_MENU_VIEW:"Xem","Move focus between form fields (inputs, buttons, etc.)":"Di chuyển tiêu Ä‘iểm giữa các trÆ°á»ng biểu mẫu (ná»™i dung nháºp, nút, v.v.)","Move focus from an editable area back to the parent widget":"Di chuyển tiêu Ä‘iểm từ vùng có thể chỉnh sá»a trở lại tiện Ãch gốc","Move focus in and out of an active dialog window":"Di chuyển tiêu Ä‘iểm và o và ra khá»i cá»a sổ há»™p thoại Ä‘ang kÃch hoạt","Move focus to the menu bar, navigate between menu bars":"Di chuyển tiêu Ä‘iểm đến thanh menu, Ä‘iá»u hÆ°á»›ng giữa các thanh menu","Move focus to the toolbar, navigate between toolbars":"Di chuyển tiêu Ä‘iểm đến thanh công cụ, Ä‘iá»u hÆ°á»›ng giữa các thanh công cụ","Move the caret to allow typing directly after a widget":"Di chuyển dấu sót để cho phép nháºp ngay sau má»™t tiện Ãch","Move the caret to allow typing directly before a widget":"Di chuyển dấu sót để cho phép nháºp ngay trÆ°á»›c má»™t tiện Ãch","Navigate through the toolbar or menu bar":"Äiá»u hÆ°á»›ng trên thanh công cụ hoặc thanh menu",Next:"Tiếp theo","No results found":"Không tìm thấy kết quả","No searchable items":"Không có mục nà o tìm kiếm được","Open the accessibility help dialog":"Mở há»™p thoại trợ giúp vá» khả năng tiếp cáºn",Orange:"Cam","Paste content":"Dán ná»™i dung","Paste content as plain text":"Dán ná»™i dung dÆ°á»›i dạng văn bản thuần túy",'Please enter a valid color (e.g. "ff0000").':'Vui lòng nháºp má»™t mà u sắc hợp lệ (và dụ: "ff0000").',"Press %0 for help.":"Nhấn %0 để được trợ giúp.","Press Enter to type after or press Shift + Enter to type before the widget":"Nhấn Enter để nháºp và o sau hoặc nhấn Shift + Enter để nháºp và o trÆ°á»›c tiện Ãch",Previous:"Quay lại",Purple:"TÃm",Red:"Äá»",Redo:"Tiếp tục","Remove color":"Xóa mà u","Replace image with file manager":"Thay thế hình ảnh bằng trình quản lý táºp tin","Replace with file manager":"Thay thế bằng trình quản lý táºp tin","Restore default":"Khôi phục giá trị mặc định","Rich Text Editor":"Trình soạn thảo văn bản","Rich Text Editor. Editing area: %0":"Trình chỉnh sá»a Văn bản dạng RTF. Vùng chỉnh sá»a: %0",Save:"LÆ°u","Select all":"Chá»n tất cả","Show more items":"Xem thêm","These keyboard shortcuts allow for quick access to content editing features.":"Những phÃm tắt nà y giúp bạn truy cáºp nhanh và o các tÃnh năng chỉnh sá»a ná»™i dung.","Toggle caption off":"Ẩn chú thÃch","Toggle caption on":"Hiện chú thÃch",Turquoise:"Xanh ngá»c bÃch",Undo:"Hoà n tác","Upload in progress":"Äang tải lên","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Sá» dụng các tổ hợp phÃm sau đây để Ä‘iá»u hÆ°á»›ng hiệu quả hÆ¡n trong giao diện ngÆ°á»i dùng CKEditor 5.","User interface and content navigation keystrokes":"Giao diện ngÆ°á»i dùng và tổ hợp phÃm Ä‘iá»u hÆ°á»›ng ná»™i dung",White:"Trắng","Widget toolbar":"Thanh công cụ tiện Ãch","With file manager":"Vá»›i trình quản lý tệp",Yellow:"Và ng"}),t.getPluralForm=function(n){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const t=n.vi=n.vi||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(có thể cần nhấn phÃm <kbd>Fn</kbd>)","%0 of %1":"%0 đến %1",Accept:"Chấp nháºn",Accessibility:"Trợ năng","Accessibility help":"Trợ giúp vá» khả năng truy cáºp",Aquamarine:"Xanh ngá»c biển","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"DÆ°á»›i đây, bạn có thể tìm thấy danh sách các phÃm tắt mà bạn có thể dùng trong trình biên táºp nà y.",Black:"Äen",Blue:"Xanh biển",Cancel:"Hủy","Cannot upload file:":"Không thể tải file:",Clear:"Xóa","Click to edit block":"Nhấp để sá»a khối",Close:"Äóng","Close contextual balloons, dropdowns, and dialogs":"Äóng bong bóng theo ngữ cảnh, menu thả xuống và há»™p thoại","Color picker":"Bá»™ chá»n mà u","Content editing keystrokes":"Tổ hợp phÃm chỉnh sá»a ná»™i dung","Copy selected content":"Sao chép ná»™i dung đã chá»n","Dim grey":"Xám má»","Drag to move":"Kéo để di chuyển","Dropdown menu":"Trình Ä‘Æ¡n thả xuống","Dropdown toolbar":"Thanh công cụ danh mục","Edit block":"Chỉnh sá»a Ä‘oạn","Editor block content toolbar":"Thanh công cụ chỉnh sá»a khối ná»™i dung","Editor contextual toolbar":"Thanh công cụ chỉnh sá»a theo ngữ cảnh","Editor dialog":"Há»™p thoại trình biên táºp","Editor menu bar":"Thanh menu Trình soạn thảo","Editor toolbar":"Thanh công cụ biên táºp","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Thá»±c thi nút hiện Ä‘ang Æ°u tiên. Việc thá»±c thi các nút tÆ°Æ¡ng tác vá»›i ná»™i dung soạn thảo sẽ là m di chuyển tiêu Ä‘iểm trở lại phần ná»™i dung.",File:"Tệp",Green:"Xanh lá",Grey:"Xám","Help Contents. To close this dialog press ESC.":"Ná»™i dung Trợ giúp. Nhấn phÃm ESC để đóng há»™p thoại nà y.",HEX:"HEX","Insert a hard break (a new paragraph)":"Chèn dấu ngắt cứng (Ä‘oạn văn má»›i)","Insert a new paragraph directly after a widget":"Chèn Ä‘oạn văn má»›i ngay sau tiện Ãch","Insert a new paragraph directly before a widget":"Chèn Ä‘oạn văn má»›i ngay trÆ°á»›c tiện Ãch","Insert a soft break (a <code><br></code> element)":"Chèn dấu ngắt má»m (phần tá» <code><br></code>)","Insert image with file manager":"Chèn hình ảnh bằng trình quản lý táºp tin","Insert paragraph after block":"Chèn Ä‘oạn sau khối","Insert paragraph before block":"Chèn Ä‘oạn trÆ°á»›c khối","Insert with file manager":"Chèn bằng trình quản lý táºp tin","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tổ hợp phÃm mà bạn có thể dùng khi má»™t tiện Ãch được chá»n (và dụ: hình ảnh, bảng, v.v.)","Light blue":"Xanh dÆ°Æ¡ng","Light green":"Xanh lá nhạt","Light grey":"Xám nhạt",MENU_BAR_MENU_EDIT:"Chỉnh sá»a",MENU_BAR_MENU_FILE:"Tệp",MENU_BAR_MENU_FONT:"Phông chữ",MENU_BAR_MENU_FORMAT:"Äịnh dạng",MENU_BAR_MENU_HELP:"Trợ giúp",MENU_BAR_MENU_INSERT:"Chèn",MENU_BAR_MENU_TEXT:"Văn bản",MENU_BAR_MENU_TOOLS:"Công cụ",MENU_BAR_MENU_VIEW:"Xem","Move focus between form fields (inputs, buttons, etc.)":"Di chuyển tiêu Ä‘iểm giữa các trÆ°á»ng biểu mẫu (ná»™i dung nháºp, nút, v.v.)","Move focus from an editable area back to the parent widget":"Di chuyển tiêu Ä‘iểm từ vùng có thể chỉnh sá»a trở lại tiện Ãch gốc","Move focus in and out of an active dialog window":"Di chuyển tiêu Ä‘iểm và o và ra khá»i cá»a sổ há»™p thoại Ä‘ang kÃch hoạt","Move focus to the menu bar, navigate between menu bars":"Di chuyển tiêu Ä‘iểm đến thanh menu, Ä‘iá»u hÆ°á»›ng giữa các thanh menu","Move focus to the toolbar, navigate between toolbars":"Di chuyển tiêu Ä‘iểm đến thanh công cụ, Ä‘iá»u hÆ°á»›ng giữa các thanh công cụ","Move the caret to allow typing directly after a widget":"Di chuyển dấu sót để cho phép nháºp ngay sau má»™t tiện Ãch","Move the caret to allow typing directly before a widget":"Di chuyển dấu sót để cho phép nháºp ngay trÆ°á»›c má»™t tiện Ãch","Navigate through the toolbar or menu bar":"Äiá»u hÆ°á»›ng trên thanh công cụ hoặc thanh menu",Next:"Tiếp theo","No results found":"Không tìm thấy kết quả","No searchable items":"Không có mục nà o tìm kiếm được","Open the accessibility help dialog":"Mở há»™p thoại trợ giúp vá» khả năng tiếp cáºn",Orange:"Cam",Paragraph:"Äoạn văn","Paste content":"Dán ná»™i dung","Paste content as plain text":"Dán ná»™i dung dÆ°á»›i dạng văn bản thuần túy",'Please enter a valid color (e.g. "ff0000").':'Vui lòng nháºp má»™t mà u sắc hợp lệ (và dụ: "ff0000").',"Press %0 for help.":"Nhấn %0 để được trợ giúp.","Press Enter to type after or press Shift + Enter to type before the widget":"Nhấn Enter để nháºp và o sau hoặc nhấn Shift + Enter để nháºp và o trÆ°á»›c tiện Ãch",Previous:"Quay lại",Purple:"TÃm",Red:"Äá»",Redo:"Tiếp tục","Remove color":"Xóa mà u","Replace image with file manager":"Thay thế hình ảnh bằng trình quản lý táºp tin","Replace with file manager":"Thay thế bằng trình quản lý táºp tin","Restore default":"Khôi phục giá trị mặc định","Rich Text Editor":"Trình soạn thảo văn bản","Rich Text Editor. Editing area: %0":"Trình chỉnh sá»a Văn bản dạng RTF. Vùng chỉnh sá»a: %0",Save:"LÆ°u","Select all":"Chá»n tất cả","Show more items":"Xem thêm","These keyboard shortcuts allow for quick access to content editing features.":"Những phÃm tắt nà y giúp bạn truy cáºp nhanh và o các tÃnh năng chỉnh sá»a ná»™i dung.","Toggle caption off":"Ẩn chú thÃch","Toggle caption on":"Hiện chú thÃch",Turquoise:"Xanh ngá»c bÃch",Undo:"Hoà n tác","Upload in progress":"Äang tải lên","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Sá» dụng các tổ hợp phÃm sau đây để Ä‘iá»u hÆ°á»›ng hiệu quả hÆ¡n trong giao diện ngÆ°á»i dùng CKEditor 5.","User interface and content navigation keystrokes":"Giao diện ngÆ°á»i dùng và tổ hợp phÃm Ä‘iá»u hÆ°á»›ng ná»™i dung",White:"Trắng","Widget toolbar":"Thanh công cụ tiện Ãch","With file manager":"Vá»›i trình quản lý tệp",Yellow:"Và ng"}),t.getPluralForm=function(n){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh-cn.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh-cn.js index f09330c2c72e5b640cccdd5dd6da062e448e5997..26d99191fe8d0d3ab70393139050a7c554fb607c 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh-cn.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh-cn.js @@ -1 +1 @@ -!function(e){const t=e["zh-cn"]=e["zh-cn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(å¯èƒ½éœ€è¦ç”¨åˆ° <kbd>Fn</kbd>键)","%0 of %1":"第 %0 æ¥ï¼Œå…± %1 æ¥",Accept:"接å—",Accessibility:"å¯è®¿é—®æ€§","Accessibility help":"æ— éšœç¢è¾…助功能帮助",Aquamarine:"æµ·è“色","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"您å¯ä»¥åœ¨ä¸‹æ–¹æ‰¾åˆ°å¯åœ¨ç¼–辑器ä¸ä½¿ç”¨çš„键盘快æ·é”®åˆ—表。",Black:"黑色",Blue:"è“色",Cancel:"å–消","Cannot upload file:":"æ— æ³•ä¸Šä¼ çš„æ–‡ä»¶ï¼š",Clear:"清除","Click to edit block":"å•å‡»ä»¥ç¼–辑å—",Close:"å…³é—","Close contextual balloons, dropdowns, and dialogs":"å…³é—上下文气泡框ã€ä¸‹æ‹‰èœå•å’Œå¯¹è¯æ¡†","Content editing keystrokes":"内容编辑按键","Copy selected content":"å¤åˆ¶é€‰å®šçš„内容","Dim grey":"æš—ç°è‰²","Drag to move":"拖拽以移动","Dropdown menu":"下拉èœå•","Dropdown toolbar":"下拉工具æ ","Edit block":"编辑框","Editor block content toolbar":"编辑器å—内容工具æ ","Editor contextual toolbar":"编辑器上下文工具æ ","Editor dialog":"编辑器对è¯æ¡†","Editor menu bar":"编辑器èœå•æ ","Editor toolbar":"编辑器工具æ ","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"执行当å‰èšç„¦çš„按钮。执行与编辑器内容交互的按钮将焦点返回到内容。",File:"文件",Green:"绿色",Grey:"ç°è‰²","Help Contents. To close this dialog press ESC.":"帮助内容。è¦å…³é—æ¤å¯¹è¯æ¡†ï¼Œè¯·æŒ‰ ESC 键。",HEX:"åå…进制","Insert a hard break (a new paragraph)":"æ’入硬æ¢è¡Œï¼ˆæ–°æ®µè½ï¼‰","Insert a new paragraph directly after a widget":"直接在å°ç»„件之åŽæ’入新段è½","Insert a new paragraph directly before a widget":"直接在å°ç»„件之å‰æ’入新段è½","Insert a soft break (a <code><br></code> element)":"æ’入软æ¢è¡Œï¼ˆä¸€ä¸ª<code><br></code> å…ƒç´ ï¼‰","Insert image with file manager":"使用文件管ç†å™¨æ’入图片","Insert paragraph after block":"在åŽé¢æ’入段è½","Insert paragraph before block":"在å‰é¢æ’入段è½","Insert with file manager":"使用文件管ç†å™¨æ’å…¥","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"当å°ç»„件被选ä¸æ—¶ï¼ˆä¾‹å¦‚:图片ã€è¡¨æ ¼ç‰ï¼‰å¯ä»¥ä½¿ç”¨çš„按键","Light blue":"æµ…è“色","Light green":"浅绿色","Light grey":"æµ…ç°è‰²",MENU_BAR_MENU_EDIT:"编辑",MENU_BAR_MENU_FILE:"文件",MENU_BAR_MENU_FONT:"å—体",MENU_BAR_MENU_FORMAT:"æ ¼å¼",MENU_BAR_MENU_HELP:"帮助",MENU_BAR_MENU_INSERT:"æ’å…¥",MENU_BAR_MENU_TEXT:"文本",MENU_BAR_MENU_TOOLS:"工具",MENU_BAR_MENU_VIEW:"查看","Move focus between form fields (inputs, buttons, etc.)":"在表å•å—段(输入ã€æŒ‰é’®ç‰ï¼‰ä¹‹é—´ç§»åŠ¨ç„¦ç‚¹","Move focus from an editable area back to the parent widget":"将焦点从å¯ç¼–辑区域移回父窗å£å°ç»„件","Move focus in and out of an active dialog window":"将焦点移入或移出活跃的对è¯æ¡†çª—å£","Move focus to the menu bar, navigate between menu bars":"将焦点移到èœå•æ ,在èœå•æ 之间导航","Move focus to the toolbar, navigate between toolbars":"将焦点移至工具æ ,在工具æ 之间导览","Move the caret to allow typing directly after a widget":"移动æ’入符,以å…许在å°ç»„件之åŽç›´æŽ¥è¾“入文å—","Move the caret to allow typing directly before a widget":"移动æ’入符,以å…许在å°ç»„件之å‰ç›´æŽ¥è¾“入文å—","Navigate through the toolbar or menu bar":"通过工具æ 或èœå•æ 进行导航",Next:"下一æ¥","No results found":"未找到结果","No searchable items":"没有å¯æœç´¢çš„项目","Open the accessibility help dialog":"æ‰“å¼€â€œæ— éšœç¢è¾…助功能帮助â€å¯¹è¯æ¡†",Orange:"橙色","Paste content":"粘贴内容","Paste content as plain text":"将内容粘贴为纯文本",'Please enter a valid color (e.g. "ff0000").':"请输入有效的颜色(例如“ff0000â€ï¼‰ã€‚","Press %0 for help.":"按 %0 获å–帮助。","Press Enter to type after or press Shift + Enter to type before the widget":"按下“Enterâ€é”®ï¼Œåœ¨å°ç»„件åŽè¾“入;按下“Shift+Enterâ€é”®ï¼Œåœ¨å°ç»„件å‰è¾“å…¥",Previous:"上一æ¥",Purple:"紫色",Red:"红色",Redo:"é‡åš","Remove color":"移除颜色","Replace image with file manager":"使用文件管ç†å™¨æ›¿æ¢å›¾ç‰‡","Replace with file manager":"使用文件管ç†å™¨æ›¿æ¢","Restore default":"æ¢å¤é»˜è®¤","Rich Text Editor":"富文本编辑器","Rich Text Editor. Editing area: %0":"富文本编辑器。编辑区域:%0",Save:"ä¿å˜","Select all":"全选","Show more items":"显示更多","These keyboard shortcuts allow for quick access to content editing features.":"这些键盘快æ·é”®å…许快速访问内容编辑功能。","Toggle caption off":"å…³é—è¡¨æ ‡é¢˜","Toggle caption on":"æ‰“å¼€è¡¨æ ‡é¢˜",Turquoise:"é’色",Undo:"撤销","Upload in progress":"æ£åœ¨ä¸Šä¼ ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"使用以下按键å¯ä»¥åœ¨ CKEditor 5 用户界é¢ä¸è¿›è¡Œæ›´æœ‰æ•ˆåœ°å¯¼è§ˆã€‚","User interface and content navigation keystrokes":"用户界é¢å’Œå†…容导航按键",White:"白色","Widget toolbar":"å°éƒ¨ä»¶å·¥å…·æ ","With file manager":"通过文件管ç†å™¨",Yellow:"黄色"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["zh-cn"]=e["zh-cn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(å¯èƒ½éœ€è¦ç”¨åˆ° <kbd>Fn</kbd>键)","%0 of %1":"第 %0 æ¥ï¼Œå…± %1 æ¥",Accept:"接å—",Accessibility:"å¯è®¿é—®æ€§","Accessibility help":"æ— éšœç¢è¾…助功能帮助",Aquamarine:"æµ·è“色","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"您å¯ä»¥åœ¨ä¸‹æ–¹æ‰¾åˆ°å¯åœ¨ç¼–辑器ä¸ä½¿ç”¨çš„键盘快æ·é”®åˆ—表。",Black:"黑色",Blue:"è“色",Cancel:"å–消","Cannot upload file:":"æ— æ³•ä¸Šä¼ çš„æ–‡ä»¶ï¼š",Clear:"清除","Click to edit block":"å•å‡»ä»¥ç¼–辑å—",Close:"å…³é—","Close contextual balloons, dropdowns, and dialogs":"å…³é—上下文气泡框ã€ä¸‹æ‹‰èœå•å’Œå¯¹è¯æ¡†","Color picker":"颜色选择器","Content editing keystrokes":"内容编辑按键","Copy selected content":"å¤åˆ¶é€‰å®šçš„内容","Dim grey":"æš—ç°è‰²","Drag to move":"拖拽以移动","Dropdown menu":"下拉èœå•","Dropdown toolbar":"下拉工具æ ","Edit block":"编辑框","Editor block content toolbar":"编辑器å—内容工具æ ","Editor contextual toolbar":"编辑器上下文工具æ ","Editor dialog":"编辑器对è¯æ¡†","Editor menu bar":"编辑器èœå•æ ","Editor toolbar":"编辑器工具æ ","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"执行当å‰èšç„¦çš„按钮。执行与编辑器内容交互的按钮将焦点返回到内容。",File:"文件",Green:"绿色",Grey:"ç°è‰²","Help Contents. To close this dialog press ESC.":"帮助内容。è¦å…³é—æ¤å¯¹è¯æ¡†ï¼Œè¯·æŒ‰ ESC 键。",HEX:"åå…进制","Insert a hard break (a new paragraph)":"æ’入硬æ¢è¡Œï¼ˆæ–°æ®µè½ï¼‰","Insert a new paragraph directly after a widget":"直接在å°ç»„件之åŽæ’入新段è½","Insert a new paragraph directly before a widget":"直接在å°ç»„件之å‰æ’入新段è½","Insert a soft break (a <code><br></code> element)":"æ’入软æ¢è¡Œï¼ˆä¸€ä¸ª<code><br></code> å…ƒç´ ï¼‰","Insert image with file manager":"使用文件管ç†å™¨æ’入图片","Insert paragraph after block":"在åŽé¢æ’入段è½","Insert paragraph before block":"在å‰é¢æ’入段è½","Insert with file manager":"使用文件管ç†å™¨æ’å…¥","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"当å°ç»„件被选ä¸æ—¶ï¼ˆä¾‹å¦‚:图片ã€è¡¨æ ¼ç‰ï¼‰å¯ä»¥ä½¿ç”¨çš„按键","Light blue":"æµ…è“色","Light green":"浅绿色","Light grey":"æµ…ç°è‰²",MENU_BAR_MENU_EDIT:"编辑",MENU_BAR_MENU_FILE:"文件",MENU_BAR_MENU_FONT:"å—体",MENU_BAR_MENU_FORMAT:"æ ¼å¼",MENU_BAR_MENU_HELP:"帮助",MENU_BAR_MENU_INSERT:"æ’å…¥",MENU_BAR_MENU_TEXT:"文本",MENU_BAR_MENU_TOOLS:"工具",MENU_BAR_MENU_VIEW:"查看","Move focus between form fields (inputs, buttons, etc.)":"在表å•å—段(输入ã€æŒ‰é’®ç‰ï¼‰ä¹‹é—´ç§»åŠ¨ç„¦ç‚¹","Move focus from an editable area back to the parent widget":"将焦点从å¯ç¼–辑区域移回父窗å£å°ç»„件","Move focus in and out of an active dialog window":"将焦点移入或移出活跃的对è¯æ¡†çª—å£","Move focus to the menu bar, navigate between menu bars":"将焦点移到èœå•æ ,在èœå•æ 之间导航","Move focus to the toolbar, navigate between toolbars":"将焦点移至工具æ ,在工具æ 之间导览","Move the caret to allow typing directly after a widget":"移动æ’入符,以å…许在å°ç»„件之åŽç›´æŽ¥è¾“入文å—","Move the caret to allow typing directly before a widget":"移动æ’入符,以å…许在å°ç»„件之å‰ç›´æŽ¥è¾“入文å—","Navigate through the toolbar or menu bar":"通过工具æ 或èœå•æ 进行导航",Next:"下一æ¥","No results found":"未找到结果","No searchable items":"没有å¯æœç´¢çš„项目","Open the accessibility help dialog":"æ‰“å¼€â€œæ— éšœç¢è¾…助功能帮助â€å¯¹è¯æ¡†",Orange:"橙色",Paragraph:"段è½","Paste content":"粘贴内容","Paste content as plain text":"将内容粘贴为纯文本",'Please enter a valid color (e.g. "ff0000").':"请输入有效的颜色(例如“ff0000â€ï¼‰ã€‚","Press %0 for help.":"按 %0 获å–帮助。","Press Enter to type after or press Shift + Enter to type before the widget":"按下“Enterâ€é”®ï¼Œåœ¨å°ç»„件åŽè¾“入;按下“Shift+Enterâ€é”®ï¼Œåœ¨å°ç»„件å‰è¾“å…¥",Previous:"上一æ¥",Purple:"紫色",Red:"红色",Redo:"é‡åš","Remove color":"移除颜色","Replace image with file manager":"使用文件管ç†å™¨æ›¿æ¢å›¾ç‰‡","Replace with file manager":"使用文件管ç†å™¨æ›¿æ¢","Restore default":"æ¢å¤é»˜è®¤","Rich Text Editor":"富文本编辑器","Rich Text Editor. Editing area: %0":"富文本编辑器。编辑区域:%0",Save:"ä¿å˜","Select all":"全选","Show more items":"显示更多","These keyboard shortcuts allow for quick access to content editing features.":"这些键盘快æ·é”®å…许快速访问内容编辑功能。","Toggle caption off":"å…³é—è¡¨æ ‡é¢˜","Toggle caption on":"æ‰“å¼€è¡¨æ ‡é¢˜",Turquoise:"é’色",Undo:"撤销","Upload in progress":"æ£åœ¨ä¸Šä¼ ","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"使用以下按键å¯ä»¥åœ¨ CKEditor 5 用户界é¢ä¸è¿›è¡Œæ›´æœ‰æ•ˆåœ°å¯¼è§ˆã€‚","User interface and content navigation keystrokes":"用户界é¢å’Œå†…容导航按键",White:"白色","Widget toolbar":"å°éƒ¨ä»¶å·¥å…·æ ","With file manager":"通过文件管ç†å™¨",Yellow:"黄色"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh.js b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh.js index d09ed0ec41856d546f4feb0423616ed987ce252a..ab0cd1c1f431e751174f11d6eb46c264074127cd 100644 --- a/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh.js +++ b/core/assets/vendor/ckeditor5/ckeditor5-dll/translations/zh.js @@ -1 +1 @@ -!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(å¯èƒ½éœ€è¦ <kbd>Fn</kbd>)","%0 of %1":"%0/%1",Accept:"接å—",Accessibility:"å”助工具","Accessibility help":"無障礙å”助",Aquamarine:"æ·ºç¶ è‰²","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"下方是å¯åœ¨ç·¨è¼¯å™¨ä¸ä½¿ç”¨çš„éµç›¤å¿«æ·éµåˆ—表。",Black:"黑色",Blue:"è—色",Cancel:"å–消","Cannot upload file:":"無法上傳檔案:",Clear:"清除","Click to edit block":"點擊來編輯å€å¡Š",Close:"關閉","Close contextual balloons, dropdowns, and dialogs":"關閉é¸å–®æ示ã€ä¸‹æ‹‰å¼é¸å–®å’Œå°è©±æ¡†","Content editing keystrokes":"內容編輯按éµ","Copy selected content":"複製所é¸å…§å®¹","Dim grey":"æ·¡ç°è‰²","Drag to move":"拖曳來移動","Dropdown menu":"下拉å¼é¸å–®","Dropdown toolbar":"下拉é¸å–®","Edit block":"編輯å€å¡Š","Editor block content toolbar":"編輯器å€å¡Šå…§å®¹å·¥å…·åˆ—","Editor contextual toolbar":"編輯器關è¯å¼å·¥å…·åˆ—","Editor dialog":"編輯工具å°è©±æ¡†","Editor menu bar":"編輯器é¸å–®åˆ—","Editor toolbar":"編輯器工具","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"執行目å‰æ‰€èšç„¦çš„按鈕。執行與編輯器內容互動的按鈕後,系統會將焦點移回內容。",File:"檔案",Green:"ç¶ è‰²",Grey:"ç°è‰²","Help Contents. To close this dialog press ESC.":"å”助內容。想關閉æ¤å°è©±æ¡†ï¼Œè«‹æŒ‰ ESC éµã€‚",HEX:"åå…進ä½","Insert a hard break (a new paragraph)":"æ’入強制斷行(新段è½ï¼‰","Insert a new paragraph directly after a widget":"在å°å·¥å…·å¾Œç›´æŽ¥æ’入新段è½","Insert a new paragraph directly before a widget":"在å°å·¥å…·å‰ç›´æŽ¥æ’入新段è½","Insert a soft break (a <code><br></code> element)":"æ’å…¥éžå¼·åˆ¶æ–·è¡Œï¼ˆ<code><br></code> 元件)","Insert image with file manager":"使用檔案管ç†å“¡æ’入圖片","Insert paragraph after block":"在這個å€å¡Šå¾Œé¢æ’入一個段è½","Insert paragraph before block":"在這個å€å¡Šå‰é¢æ’入一個段è½","Insert with file manager":"使用檔案管ç†å“¡æ’å…¥","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"å°å·¥å…·é¸å–時å¯ä½¿ç”¨çš„按éµï¼ˆä¾‹å¦‚:圖片ã€è¡¨æ ¼ç‰ï¼‰","Light blue":"亮è—色","Light green":"äº®ç¶ è‰²","Light grey":"亮ç°è‰²",MENU_BAR_MENU_EDIT:"編輯",MENU_BAR_MENU_FILE:"檔案",MENU_BAR_MENU_FONT:"å—åž‹",MENU_BAR_MENU_FORMAT:"æ ¼å¼",MENU_BAR_MENU_HELP:"說明",MENU_BAR_MENU_INSERT:"æ’å…¥",MENU_BAR_MENU_TEXT:"æ–‡å—",MENU_BAR_MENU_TOOLS:"工具",MENU_BAR_MENU_VIEW:"檢視","Move focus between form fields (inputs, buttons, etc.)":"在表單欄ä½ï¼ˆè¼¸å…¥ã€æŒ‰éˆ•ç‰ï¼‰ä¹‹é–“移動焦點","Move focus from an editable area back to the parent widget":"將焦點從å¯ç·¨è¼¯å€åŸŸç§»å›žä¸Šå±¤å°å·¥å…·","Move focus in and out of an active dialog window":"將焦點移入或移出啟用ä¸çš„å°è©±è¦–窗","Move focus to the menu bar, navigate between menu bars":"將焦點移至é¸å–®åˆ—,ç€è¦½ä¸åŒçš„é¸å–®åˆ—","Move focus to the toolbar, navigate between toolbars":"將焦點移動至工具列,在工具列間移動","Move the caret to allow typing directly after a widget":"移動æ’入符號,以便在å°å·¥å…·å¾Œç›´æŽ¥è¼¸å…¥","Move the caret to allow typing directly before a widget":"移動æ’入符號,以便在å°å·¥å…·å‰ç›´æŽ¥è¼¸å…¥","Navigate through the toolbar or menu bar":"ç€è¦½å·¥å…·åˆ—或é¸å–®åˆ—",Next:"下一","No results found":"找ä¸åˆ°çµæžœ","No searchable items":"沒有å¯æœå°‹çš„é …ç›®","Open the accessibility help dialog":"開啟無障礙å”助å°è©±æ¡†",Orange:"橘色","Paste content":"貼上內容","Paste content as plain text":"將內容貼上為純文å—",'Please enter a valid color (e.g. "ff0000").':"請輸入有效的é¡è‰²ï¼ˆä¾‹å¦‚「ff0000ã€ï¼‰ã€‚","Press %0 for help.":"按下 %0 來å–å¾—å”助。","Press Enter to type after or press Shift + Enter to type before the widget":"按下 Enter 在å°å·¥å…·å¾Œè¼¸å…¥ï¼Œæˆ–按下 Shift + Enter 在å°å·¥å…·å‰è¼¸å…¥",Previous:"上一",Purple:"紫色",Red:"紅色",Redo:"é‡åš","Remove color":"移除é¡è‰²","Replace image with file manager":"使用檔案管ç†å“¡æ›¿æ›åœ–片","Replace with file manager":"使用檔案管ç†å“¡æ›¿æ›","Restore default":"é‡è¨è‡³é è¨å€¼","Rich Text Editor":"富文本編輯器","Rich Text Editor. Editing area: %0":"RTF 編輯器。編輯å€ï¼š%0",Save:"儲å˜","Select all":"é¸å–全部","Show more items":"顯示更多","These keyboard shortcuts allow for quick access to content editing features.":"é‹ç”¨é€™äº›éµç›¤å¿«æ·éµå¯å¿«é€Ÿä½¿ç”¨å…§å®¹ç·¨è¼¯åŠŸèƒ½ã€‚","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題",Turquoise:"è—ç¶ è‰²",Undo:"å–消","Upload in progress":"æ£åœ¨ä¸Šå‚³","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"使用以下按éµå¯æ›´æœ‰æ•ˆçŽ‡åœ°åœ¨ CKEditor 5 使用者介é¢ä¸ç§»å‹•ã€‚","User interface and content navigation keystrokes":"使用者介é¢å’Œå…§å®¹ç€è¦½æŒ‰éµ",White:"白色","Widget toolbar":"å°å·¥å…·","With file manager":"使用檔案管ç†å“¡",Yellow:"黃色"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(å¯èƒ½éœ€è¦ <kbd>Fn</kbd>)","%0 of %1":"%0/%1",Accept:"接å—",Accessibility:"å”助工具","Accessibility help":"無障礙å”助",Aquamarine:"æ·ºç¶ è‰²","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"下方是å¯åœ¨ç·¨è¼¯å™¨ä¸ä½¿ç”¨çš„éµç›¤å¿«æ·éµåˆ—表。",Black:"黑色",Blue:"è—色",Cancel:"å–消","Cannot upload file:":"無法上傳檔案:",Clear:"清除","Click to edit block":"點擊來編輯å€å¡Š",Close:"關閉","Close contextual balloons, dropdowns, and dialogs":"關閉é¸å–®æ示ã€ä¸‹æ‹‰å¼é¸å–®å’Œå°è©±æ¡†","Color picker":"é¡è‰²é¸æ“‡","Content editing keystrokes":"內容編輯按éµ","Copy selected content":"複製所é¸å…§å®¹","Dim grey":"æ·¡ç°è‰²","Drag to move":"拖曳來移動","Dropdown menu":"下拉å¼é¸å–®","Dropdown toolbar":"下拉é¸å–®","Edit block":"編輯å€å¡Š","Editor block content toolbar":"編輯器å€å¡Šå…§å®¹å·¥å…·åˆ—","Editor contextual toolbar":"編輯器關è¯å¼å·¥å…·åˆ—","Editor dialog":"編輯工具å°è©±æ¡†","Editor menu bar":"編輯器é¸å–®åˆ—","Editor toolbar":"編輯器工具","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"執行目å‰æ‰€èšç„¦çš„按鈕。執行與編輯器內容互動的按鈕後,系統會將焦點移回內容。",File:"檔案",Green:"ç¶ è‰²",Grey:"ç°è‰²","Help Contents. To close this dialog press ESC.":"å”助內容。想關閉æ¤å°è©±æ¡†ï¼Œè«‹æŒ‰ ESC éµã€‚",HEX:"åå…進ä½","Insert a hard break (a new paragraph)":"æ’入強制斷行(新段è½ï¼‰","Insert a new paragraph directly after a widget":"在å°å·¥å…·å¾Œç›´æŽ¥æ’入新段è½","Insert a new paragraph directly before a widget":"在å°å·¥å…·å‰ç›´æŽ¥æ’入新段è½","Insert a soft break (a <code><br></code> element)":"æ’å…¥éžå¼·åˆ¶æ–·è¡Œï¼ˆ<code><br></code> 元件)","Insert image with file manager":"使用檔案管ç†å“¡æ’入圖片","Insert paragraph after block":"在這個å€å¡Šå¾Œé¢æ’入一個段è½","Insert paragraph before block":"在這個å€å¡Šå‰é¢æ’入一個段è½","Insert with file manager":"使用檔案管ç†å“¡æ’å…¥","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"å°å·¥å…·é¸å–時å¯ä½¿ç”¨çš„按éµï¼ˆä¾‹å¦‚:圖片ã€è¡¨æ ¼ç‰ï¼‰","Light blue":"亮è—色","Light green":"äº®ç¶ è‰²","Light grey":"亮ç°è‰²",MENU_BAR_MENU_EDIT:"編輯",MENU_BAR_MENU_FILE:"檔案",MENU_BAR_MENU_FONT:"å—åž‹",MENU_BAR_MENU_FORMAT:"æ ¼å¼",MENU_BAR_MENU_HELP:"說明",MENU_BAR_MENU_INSERT:"æ’å…¥",MENU_BAR_MENU_TEXT:"æ–‡å—",MENU_BAR_MENU_TOOLS:"工具",MENU_BAR_MENU_VIEW:"檢視","Move focus between form fields (inputs, buttons, etc.)":"在表單欄ä½ï¼ˆè¼¸å…¥ã€æŒ‰éˆ•ç‰ï¼‰ä¹‹é–“移動焦點","Move focus from an editable area back to the parent widget":"將焦點從å¯ç·¨è¼¯å€åŸŸç§»å›žä¸Šå±¤å°å·¥å…·","Move focus in and out of an active dialog window":"將焦點移入或移出啟用ä¸çš„å°è©±è¦–窗","Move focus to the menu bar, navigate between menu bars":"將焦點移至é¸å–®åˆ—,ç€è¦½ä¸åŒçš„é¸å–®åˆ—","Move focus to the toolbar, navigate between toolbars":"將焦點移動至工具列,在工具列間移動","Move the caret to allow typing directly after a widget":"移動æ’入符號,以便在å°å·¥å…·å¾Œç›´æŽ¥è¼¸å…¥","Move the caret to allow typing directly before a widget":"移動æ’入符號,以便在å°å·¥å…·å‰ç›´æŽ¥è¼¸å…¥","Navigate through the toolbar or menu bar":"ç€è¦½å·¥å…·åˆ—或é¸å–®åˆ—",Next:"下一","No results found":"找ä¸åˆ°çµæžœ","No searchable items":"沒有å¯æœå°‹çš„é …ç›®","Open the accessibility help dialog":"開啟無障礙å”助å°è©±æ¡†",Orange:"橘色",Paragraph:"段è½","Paste content":"貼上內容","Paste content as plain text":"將內容貼上為純文å—",'Please enter a valid color (e.g. "ff0000").':"請輸入有效的é¡è‰²ï¼ˆä¾‹å¦‚「ff0000ã€ï¼‰ã€‚","Press %0 for help.":"按下 %0 來å–å¾—å”助。","Press Enter to type after or press Shift + Enter to type before the widget":"按下 Enter 在å°å·¥å…·å¾Œè¼¸å…¥ï¼Œæˆ–按下 Shift + Enter 在å°å·¥å…·å‰è¼¸å…¥",Previous:"上一",Purple:"紫色",Red:"紅色",Redo:"é‡åš","Remove color":"移除é¡è‰²","Replace image with file manager":"使用檔案管ç†å“¡æ›¿æ›åœ–片","Replace with file manager":"使用檔案管ç†å“¡æ›¿æ›","Restore default":"é‡è¨è‡³é è¨å€¼","Rich Text Editor":"富文本編輯器","Rich Text Editor. Editing area: %0":"RTF 編輯器。編輯å€ï¼š%0",Save:"儲å˜","Select all":"é¸å–全部","Show more items":"顯示更多","These keyboard shortcuts allow for quick access to content editing features.":"é‹ç”¨é€™äº›éµç›¤å¿«æ·éµå¯å¿«é€Ÿä½¿ç”¨å…§å®¹ç·¨è¼¯åŠŸèƒ½ã€‚","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題",Turquoise:"è—ç¶ è‰²",Undo:"å–消","Upload in progress":"æ£åœ¨ä¸Šå‚³","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"使用以下按éµå¯æ›´æœ‰æ•ˆçŽ‡åœ°åœ¨ CKEditor 5 使用者介é¢ä¸ç§»å‹•ã€‚","User interface and content navigation keystrokes":"使用者介é¢å’Œå…§å®¹ç€è¦½æŒ‰éµ",White:"白色","Widget toolbar":"å°å·¥å…·","With file manager":"使用檔案管ç†å“¡",Yellow:"黃色"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/ckfinder/ckfinder.js b/core/assets/vendor/ckeditor5/ckfinder/ckfinder.js index d10dbe62029d6998c3022772d473ca2878eb23f9..8233785432cbc87e62d0a0f2a8e1f74f72fcb487 100644 --- a/core/assets/vendor/ckeditor5/ckfinder/ckfinder.js +++ b/core/assets/vendor/ckeditor5/ckfinder/ckfinder.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{CKFinder:()=>l,CKFinderEditing:()=>c,CKFinderUI:()=>o});var e=i(782),t=i(311);class o extends e.Plugin{static get pluginName(){return"CKFinderUI"}init(){const e=this.editor;e.ui.componentFactory.add("ckfinder",(()=>this._createFileToolbarButton())),e.ui.componentFactory.add("menuBar:ckfinder",(()=>this._createFileMenuBarButton())),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"assetManager",observable:()=>e.commands.get("ckfinder"),buttonViewCreator:()=>this._createImageToolbarButton(),formViewCreator:()=>this._createImageDropdownButton(),menuBarButtonViewCreator:e=>this._createImageMenuBarButton(e?"insertOnly":"insertNested")})}_createButton(e){const t=this.editor,i=new e(t.locale),n=t.commands.get("ckfinder");return i.bind("isEnabled").to(n),i.on("execute",(()=>{t.execute("ckfinder"),t.editing.view.focus()})),i}_createFileToolbarButton(){const i=this.editor.locale.t,n=this._createButton(t.ButtonView);return n.icon=e.icons.browseFiles,n.label=i("Insert image or file"),n.tooltip=!0,n}_createImageToolbarButton(){const i=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),o=this._createButton(t.ButtonView);return o.icon=e.icons.imageAssetManager,o.bind("label").to(n,"isImageSelected",(e=>i(e?"Replace image with file manager":"Insert image with file manager"))),o.tooltip=!0,o}_createImageDropdownButton(){const i=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),o=this._createButton(t.ButtonView);return o.icon=e.icons.imageAssetManager,o.withText=!0,o.bind("label").to(n,"isImageSelected",(e=>i(e?"Replace with file manager":"Insert with file manager"))),o.on("execute",(()=>{n.dropdownView.isOpen=!1})),o}_createFileMenuBarButton(){const i=this.editor.locale.t,n=this._createButton(t.MenuBarMenuListItemButtonView);return n.icon=e.icons.browseFiles,n.withText=!0,n.label=i("File"),n}_createImageMenuBarButton(i){const n=this.editor.locale.t,o=this._createButton(t.MenuBarMenuListItemButtonView);switch(o.icon=e.icons.imageAssetManager,o.withText=!0,i){case"insertOnly":o.label=n("Image");break;case"insertNested":o.label=n("With file manager")}return o}}var r=i(584);class s extends e.Command{constructor(e){super(e),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",(()=>this.refresh()),{priority:"low"})}refresh(){const e=this.editor.commands.get("insertImage"),t=this.editor.commands.get("link");this.isEnabled=e.isEnabled||t.isEnabled}execute(){const e=this.editor,t=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=t&&"modal"!=t)throw new r.CKEditorError("ckfinder-unknown-openermethod",e);const i=this.editor.config.get("ckfinder.options")||{};i.chooseFiles=!0;const n=i.onInit;i.language||(i.language=e.locale.uiLanguage),i.onInit=t=>{n&&n(t),t.on("files:choose",(i=>{const n=i.data.files.toArray(),o=n.filter((e=>!e.isImage())),r=n.filter((e=>e.isImage()));for(const t of o)e.execute("link",t.getUrl());const s=[];for(const e of r){const i=e.getUrl();s.push(i||t.request("file:getProxyUrl",{file:e}))}s.length&&a(e,s)})),t.on("file:choose:resizedImage",(t=>{const i=t.data.resizedUrl;if(i)a(e,[i]);else{const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("Could not obtain resized image URL."),{title:i("Selecting resized image failed"),namespace:"ckfinder"})}}))},window.CKFinder[t](i)}}function a(e,t){if(e.commands.get("insertImage").isEnabled)e.execute("insertImage",{source:t});else{const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("Could not insert image at the current position."),{title:i("Inserting image failed"),namespace:"ckfinder"})}}class c extends e.Plugin{static get pluginName(){return"CKFinderEditing"}static get requires(){return[t.Notification,"LinkEditing"]}init(){const e=this.editor;if(!e.plugins.has("ImageBlockEditing")&&!e.plugins.has("ImageInlineEditing"))throw new r.CKEditorError("ckfinder-missing-image-plugin",e);e.commands.add("ckfinder",new s(e))}}class l extends e.Plugin{static get pluginName(){return"CKFinder"}static get requires(){return["Link","CKFinderUploadAdapter",c,o]}}})(),(window.CKEditor5=window.CKEditor5||{}).ckfinder=n})(); \ No newline at end of file + */(()=>{var e={782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{CKFinder:()=>l,CKFinderEditing:()=>c,CKFinderUI:()=>r});var e=i(782),t=i(311);class r extends e.Plugin{static get pluginName(){return"CKFinderUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("ckfinder",(()=>this._createFileToolbarButton())),e.ui.componentFactory.add("menuBar:ckfinder",(()=>this._createFileMenuBarButton())),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"assetManager",observable:()=>e.commands.get("ckfinder"),buttonViewCreator:()=>this._createImageToolbarButton(),formViewCreator:()=>this._createImageDropdownButton(),menuBarButtonViewCreator:e=>this._createImageMenuBarButton(e?"insertOnly":"insertNested")})}_createButton(e){const t=this.editor,i=new e(t.locale),n=t.commands.get("ckfinder");return i.bind("isEnabled").to(n),i.on("execute",(()=>{t.execute("ckfinder"),t.editing.view.focus()})),i}_createFileToolbarButton(){const i=this.editor.locale.t,n=this._createButton(t.ButtonView);return n.icon=e.icons.browseFiles,n.label=i("Insert image or file"),n.tooltip=!0,n}_createImageToolbarButton(){const i=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),r=this._createButton(t.ButtonView);return r.icon=e.icons.imageAssetManager,r.bind("label").to(n,"isImageSelected",(e=>i(e?"Replace image with file manager":"Insert image with file manager"))),r.tooltip=!0,r}_createImageDropdownButton(){const i=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),r=this._createButton(t.ButtonView);return r.icon=e.icons.imageAssetManager,r.withText=!0,r.bind("label").to(n,"isImageSelected",(e=>i(e?"Replace with file manager":"Insert with file manager"))),r.on("execute",(()=>{n.dropdownView.isOpen=!1})),r}_createFileMenuBarButton(){const i=this.editor.locale.t,n=this._createButton(t.MenuBarMenuListItemButtonView);return n.icon=e.icons.browseFiles,n.withText=!0,n.label=i("File"),n}_createImageMenuBarButton(i){const n=this.editor.locale.t,r=this.editor.locale.t,o=this._createButton(t.MenuBarMenuListItemButtonView);switch(o.icon=e.icons.imageAssetManager,o.withText=!0,i){case"insertOnly":o.label=n("Image");break;case"insertNested":o.label=r("With file manager")}return o}}var o=i(584);class s extends e.Command{constructor(e){super(e),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",(()=>this.refresh()),{priority:"low"})}refresh(){const e=this.editor.commands.get("insertImage"),t=this.editor.commands.get("link");this.isEnabled=e.isEnabled||t.isEnabled}execute(){const e=this.editor,t=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=t&&"modal"!=t)throw new o.CKEditorError("ckfinder-unknown-openermethod",e);const i=this.editor.config.get("ckfinder.options")||{};i.chooseFiles=!0;const n=i.onInit;i.language||(i.language=e.locale.uiLanguage),i.onInit=t=>{n&&n(t),t.on("files:choose",(i=>{const n=i.data.files.toArray(),r=n.filter((e=>!e.isImage())),o=n.filter((e=>e.isImage()));for(const t of r)e.execute("link",t.getUrl());const s=[];for(const e of o){const i=e.getUrl();s.push(i||t.request("file:getProxyUrl",{file:e}))}s.length&&a(e,s)})),t.on("file:choose:resizedImage",(t=>{const i=t.data.resizedUrl;if(i)a(e,[i]);else{const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("Could not obtain resized image URL."),{title:i("Selecting resized image failed"),namespace:"ckfinder"})}}))},window.CKFinder[t](i)}}function a(e,t){if(e.commands.get("insertImage").isEnabled)e.execute("insertImage",{source:t});else{const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("Could not insert image at the current position."),{title:i("Inserting image failed"),namespace:"ckfinder"})}}class c extends e.Plugin{static get pluginName(){return"CKFinderEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.Notification,"LinkEditing"]}init(){const e=this.editor;if(!e.plugins.has("ImageBlockEditing")&&!e.plugins.has("ImageInlineEditing"))throw new o.CKEditorError("ckfinder-missing-image-plugin",e);e.commands.add("ckfinder",new s(e))}}class l extends e.Plugin{static get pluginName(){return"CKFinder"}static get isOfficialPlugin(){return!0}static get requires(){return["Link","CKFinderUploadAdapter",c,r]}}})(),(window.CKEditor5=window.CKEditor5||{}).ckfinder=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/cloud-services/cloud-services.js b/core/assets/vendor/ckeditor5/cloud-services/cloud-services.js index 3802add333fc9cb2bc11f5235fc1d3b4fcabea0b..e5672edcc4acebc50270923b8a74a701648d2b20 100644 --- a/core/assets/vendor/ckeditor5/cloud-services/cloud-services.js +++ b/core/assets/vendor/ckeditor5/cloud-services/cloud-services.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,r),n.exports}r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";r.r(s),r.d(s,{CloudServices:()=>d,CloudServicesCore:()=>l});var e=r(782),t=r(584);const o={autoRefresh:!0},n=36e5;class i extends((0,t.ObservableMixin)()){constructor(e,r={}){if(super(),!e)throw new t.CKEditorError("token-missing-token-url",this);r.initValue&&this._validateTokenValue(r.initValue),this.set("value",r.initValue),this._refresh="function"==typeof e?e:()=>{return r=e,new Promise(((e,s)=>{const o=new XMLHttpRequest;o.open("GET",r),o.addEventListener("load",(()=>{const r=o.status,n=o.response;return r<200||r>299?s(new t.CKEditorError("token-cannot-download-new-token",null)):e(n)})),o.addEventListener("error",(()=>s(new Error("Network Error")))),o.addEventListener("abort",(()=>s(new Error("Abort")))),o.send()}));var r},this._options={...o,...r}}init(){return new Promise(((e,t)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),e(this)):this.refreshToken().then(e).catch(t)}))}refreshToken(){const e=this._options.autoRefresh;return this._refresh().then((t=>(this._validateTokenValue(t),this.set("value",t),e&&this._registerRefreshTokenTimeout(),this))).catch((r=>{throw(0,t.logWarning)("token-refresh-failed",{autoRefresh:e}),e&&this._registerRefreshTokenTimeout(5e3),r}))}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(e){const r="string"==typeof e,s=!/^".*"$/.test(e),o=r&&3===e.split(".").length;if(!s||!o)throw new t.CKEditorError("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(e){const t=e||this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout((()=>{this.refreshToken()}),t)}_getTokenRefreshTimeoutTime(){try{const[,e]=this.value.split("."),{exp:t}=JSON.parse(atob(e));if(!t)return n;return Math.floor((1e3*t-Date.now())/2)}catch(e){return n}}static create(e,t={}){return new i(e,t).init()}}const a=/^data:(\S*?);base64,/;class u extends((0,t.EmitterMixin)()){constructor(e,r,s){if(super(),!e)throw new t.CKEditorError("fileuploader-missing-file",null);if(!r)throw new t.CKEditorError("fileuploader-missing-token",null);if(!s)throw new t.CKEditorError("fileuploader-missing-api-address",null);this.file=function(e){if("string"!=typeof e)return!1;const t=e.match(a);return!(!t||!t.length)}(e)?function(e,r=512){try{const t=e.match(a)[1],s=atob(e.replace(a,"")),o=[];for(let e=0;e<s.length;e+=r){const t=s.slice(e,e+r),n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);o.push(new Uint8Array(n))}return new Blob(o,{type:t})}catch(e){throw new t.CKEditorError("fileuploader-decoding-image-data-error",null)}}(e):e,this._token=r,this._apiAddress=s}onProgress(e){return this.on("progress",((t,r)=>e(r))),this}onError(e){return this.once("error",((t,r)=>e(r))),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const e=new XMLHttpRequest;e.open("POST",this._apiAddress),e.setRequestHeader("Authorization",this._token.value),e.responseType="json",this.xhr=e}_attachXHRListeners(){const e=this.xhr,t=e=>()=>this.fire("error",e);e.addEventListener("error",t("Network Error")),e.addEventListener("abort",t("Abort")),e.upload&&e.upload.addEventListener("progress",(e=>{e.lengthComputable&&this.fire("progress",{total:e.total,uploaded:e.loaded})})),e.addEventListener("load",(()=>{const t=e.status,r=e.response;if(t<200||t>299)return this.fire("error",r.message||r.error)}))}_sendRequest(){const e=new FormData,r=this.xhr;return e.append("file",this.file),new Promise(((s,o)=>{r.addEventListener("load",(()=>{const e=r.status,n=r.response;return e<200||e>299?n.message?o(new t.CKEditorError("fileuploader-uploading-data-failed",this,{message:n.message})):o(n.error):s(n)})),r.addEventListener("error",(()=>o(new Error("Network Error")))),r.addEventListener("abort",(()=>o(new Error("Abort")))),r.send(e)}))}}class h{constructor(e,r){if(!e)throw new t.CKEditorError("uploadgateway-missing-token",null);if(!r)throw new t.CKEditorError("uploadgateway-missing-api-address",null);this._token=e,this._apiAddress=r}upload(e){return new u(e,this._token,this._apiAddress)}}class l extends e.ContextPlugin{static get pluginName(){return"CloudServicesCore"}createToken(e,t){return new i(e,t)}createUploadGateway(e,t){return new h(e,t)}}class d extends e.ContextPlugin{constructor(){super(...arguments),this.token=null,this._tokens=new Map}static get pluginName(){return"CloudServices"}static get requires(){return[l]}async init(){const e=this.context.config.get("cloudServices")||{};for(const[t,r]of Object.entries(e))this[t]=r;if(!this.tokenUrl)return void(this.token=null);const t=this.context.plugins.get("CloudServicesCore");this.token=await t.createToken(this.tokenUrl).init(),this._tokens.set(this.tokenUrl,this.token)}async registerTokenUrl(e){if(this._tokens.has(e))return this.getTokenFor(e);const t=this.context.plugins.get("CloudServicesCore"),r=await t.createToken(e).init();return this._tokens.set(e,r),r}getTokenFor(e){const r=this._tokens.get(e);if(!r)throw new t.CKEditorError("cloudservices-token-not-registered",this);return r}destroy(){super.destroy();for(const e of this._tokens.values())e.destroy()}}})(),(window.CKEditor5=window.CKEditor5||{}).cloudServices=s})(); \ No newline at end of file + */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,r),n.exports}r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";r.r(s),r.d(s,{CloudServices:()=>d,CloudServicesCore:()=>h,Token:()=>i});var e=r(782),t=r(584);const o={autoRefresh:!0},n=36e5;class i extends((0,t.ObservableMixin)()){constructor(e,r={}){if(super(),!e)throw new t.CKEditorError("token-missing-token-url",this);r.initValue&&this._validateTokenValue(r.initValue),this.set("value",r.initValue),this._refresh="function"==typeof e?e:()=>{return r=e,new Promise(((e,s)=>{const o=new XMLHttpRequest;o.open("GET",r),o.addEventListener("load",(()=>{const r=o.status,n=o.response;return r<200||r>299?s(new t.CKEditorError("token-cannot-download-new-token",null)):e(n)})),o.addEventListener("error",(()=>s(new Error("Network Error")))),o.addEventListener("abort",(()=>s(new Error("Abort")))),o.send()}));var r},this._options={...o,...r}}init(){return new Promise(((e,t)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),e(this)):this.refreshToken().then(e).catch(t)}))}refreshToken(){const e=this._options.autoRefresh;return this._refresh().then((t=>(this._validateTokenValue(t),this.set("value",t),e&&this._registerRefreshTokenTimeout(),this))).catch((r=>{throw(0,t.logWarning)("token-refresh-failed",{autoRefresh:e}),e&&this._registerRefreshTokenTimeout(5e3),r}))}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(e){const r="string"==typeof e,s=!/^".*"$/.test(e),o=r&&3===e.split(".").length;if(!s||!o)throw new t.CKEditorError("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(e){const t=e||this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout((()=>{this.refreshToken()}),t)}_getTokenRefreshTimeoutTime(){try{const[,e]=this.value.split("."),{exp:t}=JSON.parse(atob(e));if(!t)return n;return Math.floor((1e3*t-Date.now())/2)}catch(e){return n}}static create(e,t={}){return new i(e,t).init()}}const a=/^data:(\S*?);base64,/;class u extends((0,t.EmitterMixin)()){constructor(e,r,s){if(super(),!e)throw new t.CKEditorError("fileuploader-missing-file",null);if(!r)throw new t.CKEditorError("fileuploader-missing-token",null);if(!s)throw new t.CKEditorError("fileuploader-missing-api-address",null);this.file=function(e){if("string"!=typeof e)return!1;const t=e.match(a);return!(!t||!t.length)}(e)?function(e,r=512){try{const t=e.match(a)[1],s=atob(e.replace(a,"")),o=[];for(let e=0;e<s.length;e+=r){const t=s.slice(e,e+r),n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);o.push(new Uint8Array(n))}return new Blob(o,{type:t})}catch(e){throw new t.CKEditorError("fileuploader-decoding-image-data-error",null)}}(e):e,this._token=r,this._apiAddress=s}onProgress(e){return this.on("progress",((t,r)=>e(r))),this}onError(e){return this.once("error",((t,r)=>e(r))),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const e=new XMLHttpRequest;e.open("POST",this._apiAddress),e.setRequestHeader("Authorization",this._token.value),e.responseType="json",this.xhr=e}_attachXHRListeners(){const e=this.xhr,t=e=>()=>this.fire("error",e);e.addEventListener("error",t("Network Error")),e.addEventListener("abort",t("Abort")),e.upload&&e.upload.addEventListener("progress",(e=>{e.lengthComputable&&this.fire("progress",{total:e.total,uploaded:e.loaded})})),e.addEventListener("load",(()=>{const t=e.status,r=e.response;if(t<200||t>299)return this.fire("error",r.message||r.error)}))}_sendRequest(){const e=new FormData,r=this.xhr;return e.append("file",this.file),new Promise(((s,o)=>{r.addEventListener("load",(()=>{const e=r.status,n=r.response;return e<200||e>299?n.message?o(new t.CKEditorError("fileuploader-uploading-data-failed",this,{message:n.message})):o(n.error):s(n)})),r.addEventListener("error",(()=>o(new Error("Network Error")))),r.addEventListener("abort",(()=>o(new Error("Abort")))),r.send(e)}))}}class l{constructor(e,r){if(!e)throw new t.CKEditorError("uploadgateway-missing-token",null);if(!r)throw new t.CKEditorError("uploadgateway-missing-api-address",null);this._token=e,this._apiAddress=r}upload(e){return new u(e,this._token,this._apiAddress)}}class h extends e.ContextPlugin{static get pluginName(){return"CloudServicesCore"}static get isOfficialPlugin(){return!0}createToken(e,t){return new i(e,t)}createUploadGateway(e,t){return new l(e,t)}}class d extends e.ContextPlugin{constructor(){super(...arguments),this.token=null,this._tokens=new Map}static get pluginName(){return"CloudServices"}static get isOfficialPlugin(){return!0}static get requires(){return[h]}async init(){const e=this.context.config.get("cloudServices")||{};for(const[t,r]of Object.entries(e))this[t]=r;if(!this.tokenUrl)return void(this.token=null);const t=this.context.plugins.get("CloudServicesCore");this.token=await t.createToken(this.tokenUrl).init(),this._tokens.set(this.tokenUrl,this.token)}async registerTokenUrl(e){if(this._tokens.has(e))return this.getTokenFor(e);const t=this.context.plugins.get("CloudServicesCore"),r=await t.createToken(e).init();return this._tokens.set(e,r),r}getTokenFor(e){const r=this._tokens.get(e);if(!r)throw new t.CKEditorError("cloudservices-token-not-registered",this);return r}destroy(){super.destroy();for(const e of this._tokens.values())e.destroy()}}})(),(window.CKEditor5=window.CKEditor5||{}).cloudServices=s})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/code-block/code-block.js b/core/assets/vendor/ckeditor5/code-block/code-block.js index 719375c5cf0bf3b811e9ce2219fe2899c899c38e..f89141c8a7e22f38ab3f00f23b6a5343266a94f8 100644 --- a/core/assets/vendor/ckeditor5/code-block/code-block.js +++ b/core/assets/vendor/ckeditor5/code-block/code-block.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={535:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(935),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,".ck-content pre{background:hsla(0,0%,78%,.3);border:1px solid #c4c4c4;border-radius:2px;color:#353535;direction:ltr;font-style:normal;min-width:200px;padding:1em;tab-size:4;text-align:left;white-space:pre-wrap}.ck-content pre code{background:unset;border-radius:0;padding:0}.ck.ck-editor__editable pre{position:relative}.ck.ck-editor__editable pre[data-language]:after{content:attr(data-language);position:absolute}:root{--ck-color-code-block-label-background:#757575}.ck.ck-editor__editable pre[data-language]:after{background:var(--ck-color-code-block-label-background);color:#fff;font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);right:10px;top:-1px;white-space:nowrap}.ck.ck-code-block-dropdown .ck-dropdown__panel{max-height:250px;overflow-x:hidden;overflow-y:auto}",""]);const r=i},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var r=0;r<this.length;r++){var c=this[r][0];null!=c&&(i[c]=!0)}for(var a=0;a<e.length;a++){var s=[].concat(e[a]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},591:(e,t,n)=>{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),c=[];function a(e){for(var t=-1,n=0;n<c.length;n++)if(c[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},o=[],i=0;i<e.length;i++){var r=e[i],s=t.base?r[0]+t.base:r[0],l=n[s]||0,d="".concat(s," ").concat(l);n[s]=l+1;var u=a(d),g={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(c[u].references++,c[u].updater(g)):c.push({identifier:d,updater:h(g,t),references:1}),o.push(d)}return o}function l(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var c=r(e.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function g(e,t,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var r=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(r,c[t]):e.appendChild(r)}}function f(e,t,n){var o=n.css,i=n.media,r=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var p=null,m=0;function h(e,t){var n,o,i;if(t.singleton){var r=m++;n=p||(p=l(t)),o=g.bind(null,n,r,!1),i=g.bind(null,n,r,!0)}else n=l(t),o=f.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var i=a(n[o]);c[i].references--}for(var r=s(e,t),l=0;l<n.length;l++){var d=a(n[l]);0===c[d].references&&(c[d].updater(),c.splice(d,1))}n=r}}}},331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},507:(e,t,n)=>{e.exports=n(237)("./src/enter.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};(()=>{"use strict";n.r(o),n.d(o,{CodeBlock:()=>L,CodeBlockEditing:()=>w,CodeBlockUI:()=>_});var e=n(782),t=n(507),i=n(783),r=n(331),c=n(584);function a(e){const t=e.t,n=e.config.get("codeBlock.languages");for(const e of n)"Plain text"===e.label&&(e.label=t("Plain text")),void 0===e.class&&(e.class=`language-${e.language}`);return n}function s(e,t,n){const o={};for(const i of e)if("class"===t){o[i[t].split(" ").shift()]=i[n]}else o[i[t]]=i[n];return o}function l(e){return e.data.match(/^(\s*)/)[0]}function d(e){const t=e.document.selection,n=[];if(t.isCollapsed)return[t.anchor];const o=t.getFirstRange().getWalker({ignoreElementEnd:!0,direction:"backward"});for(const{item:t}of o){let o=t.is("$textProxy")?t.textNode:t;const i=o.parent;if(!i.is("element","codeBlock")||o.is("element","softBreak"))continue;for(;o.previousSibling&&!o.previousSibling.is("element","softBreak");)o=o.previousSibling;const r=o.is("$text")?o.startOffset+l(o).length:o.startOffset,c=e.createPositionAt(i,r);n.every((e=>!e.isEqual(c)))&&n.push(c)}return n}function u(e){const t=(0,c.first)(e.getSelectedBlocks());return!!t&&t.is("element","codeBlock")}function g(e,t){return!t.is("rootElement")&&!e.isLimit(t)&&e.checkChild(t.parent,"codeBlock")}function f(e,t,n,o){const i=s(t,"language","label"),r=n.getAttribute("language");if(r in i){const t=i[r];return e("enter"===o?"Entering %0 code snippet":"Leaving %0 code snippet",t)}return e("enter"===o?"Entering code snippet":"Leaving code snippet")}function p(e,t){for(e.textNode&&(e=t.createPositionBefore(e.textNode));e.nodeBefore&&!e.nodeBefore.is("element","softBreak");)e=t.createPositionBefore(e.nodeBefore);const n=e.nodeAfter;return n&&n.is("$text")?n:null}class m extends e.Command{constructor(e){super(e),this._lastLanguage=null}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor,n=t.model,o=n.document.selection,i=a(t)[0],r=Array.from(o.getSelectedBlocks()),c=null==e.forceValue?!this.value:e.forceValue,s=function(e,t,n){if(e.language)return e.language;if(e.usePreviousLanguageChoice&&t)return t;return n}(e,this._lastLanguage,i.language);n.change((e=>{c?this._applyCodeBlock(e,r,s):this._removeCodeBlock(e,r)}))}_getValue(){const e=this.editor.model.document.selection,t=(0,c.first)(e.getSelectedBlocks());return!!!(!t||!t.is("element","codeBlock"))&&t.getAttribute("language")}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,n=(0,c.first)(e.getSelectedBlocks());return!!n&&g(t,n)}_applyCodeBlock(e,t,n){this._lastLanguage=n;const o=this.editor.model.schema,i=t.filter((e=>g(o,e)));for(const t of i)e.rename(t,"codeBlock"),e.setAttribute("language",n,t),o.removeDisallowedAttributes([t],e),Array.from(t.getChildren()).filter((e=>!o.checkChild(t,e))).forEach((t=>e.remove(t)));i.reverse().forEach(((t,n)=>{const o=i[n+1];t.previousSibling===o&&(e.appendElement("softBreak",o),e.merge(e.createPositionBefore(t)))}))}_removeCodeBlock(e,t){const n=t.filter((e=>e.is("element","codeBlock")));for(const t of n){const n=e.createRangeOn(t);for(const t of Array.from(n.getItems()).reverse())if(t.is("element","softBreak")&&t.parent.is("element","codeBlock")){const{position:n}=e.split(e.createPositionBefore(t)),o=n.nodeAfter;e.rename(o,"paragraph"),e.removeAttribute("language",o),e.remove(t)}e.rename(t,"paragraph"),e.removeAttribute("language",t)}}}class h extends e.Command{constructor(e){super(e),this._indentSequence=e.config.get("codeBlock.indentSequence")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model;e.change((t=>{const n=d(e);for(const o of n){const n=t.createText(this._indentSequence);e.insertContent(n,o)}}))}_checkEnabled(){return!!this._indentSequence&&u(this.editor.model.document.selection)}}class b extends e.Command{constructor(e){super(e),this._indentSequence=e.config.get("codeBlock.indentSequence")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model;e.change((()=>{const t=d(e);for(const n of t){const t=v(e,n,this._indentSequence);t&&e.deleteContent(e.createSelection(t))}}))}_checkEnabled(){if(!this._indentSequence)return!1;const e=this.editor.model;return!!u(e.document.selection)&&d(e).some((t=>v(e,t,this._indentSequence)))}}function v(e,t,n){const o=p(t,e);if(!o)return null;const i=l(o),r=i.lastIndexOf(n);if(r+n.length!==i.length)return null;if(-1===r)return null;const{parent:c,startOffset:a}=o;return e.createRange(e.createPositionAt(c,a+r),e.createPositionAt(c,a+r+n.length))}function k(e,t,n=!1){const o=s(t,"language","class"),i=s(t,"language","label");return(t,r,c)=>{const{writer:a,mapper:s,consumable:l}=c;if(!l.consume(r.item,"insert"))return;const d=r.item.getAttribute("language"),u=s.toViewPosition(e.createPositionBefore(r.item)),g={};n&&(g["data-language"]=i[d],g.spellcheck="false");const f=o[d]?{class:o[d]}:void 0,p=a.createContainerElement("code",f),m=a.createContainerElement("pre",g,p);a.insert(u,m),s.bindElements(r.item,p)}}const B="paragraph";class w extends e.Plugin{static get pluginName(){return"CodeBlockEditing"}static get requires(){return[t.ShiftEnter]}constructor(e){super(e),e.config.define("codeBlock",{languages:[{language:"plaintext",label:"Plain text"},{language:"c",label:"C"},{language:"cs",label:"C#"},{language:"cpp",label:"C++"},{language:"css",label:"CSS"},{language:"diff",label:"Diff"},{language:"html",label:"HTML"},{language:"java",label:"Java"},{language:"javascript",label:"JavaScript"},{language:"php",label:"PHP"},{language:"python",label:"Python"},{language:"ruby",label:"Ruby"},{language:"typescript",label:"TypeScript"},{language:"xml",label:"XML"}],indentSequence:"\t"})}init(){const e=this.editor,t=e.model.schema,n=e.model,o=e.editing.view,c=a(e);e.commands.add("codeBlock",new m(e)),e.commands.add("indentCodeBlock",new h(e)),e.commands.add("outdentCodeBlock",new b(e)),this.listenTo(o.document,"tab",((t,n)=>{const o=n.shiftKey?"outdentCodeBlock":"indentCodeBlock";e.commands.get(o).isEnabled&&(e.execute(o),n.stopPropagation(),n.preventDefault(),t.stop())}),{context:"pre"}),t.register("codeBlock",{allowWhere:"$block",allowChildren:"$text",disallowChildren:"$inlineObject",allowAttributes:["language"],allowAttributesOf:"$listItem",isBlock:!0}),t.addAttributeCheck(((e,n)=>{const o=e.getItem(e.length-2);if(t.getAttributeProperties(n).isFormatting&&o&&"codeBlock"==o.name)return!1})),e.editing.downcastDispatcher.on("insert:codeBlock",k(n,c,!0)),e.data.downcastDispatcher.on("insert:codeBlock",k(n,c)),e.data.downcastDispatcher.on("insert:softBreak",function(e){return(t,n,o)=>{if("codeBlock"!==n.item.parent.name)return;const{writer:i,mapper:r,consumable:c}=o;if(!c.consume(n.item,"insert"))return;const a=r.toViewPosition(e.createPositionBefore(n.item));i.insert(a,i.createText("\n"))}}(n),{priority:"high"}),e.data.upcastDispatcher.on("element:code",function(e,t){const n=s(t,"class","language"),o=t[0].language;return(e,t,i)=>{const r=t.viewItem,c=r.parent;if(!c||!c.is("element","pre"))return;if(t.modelCursor.findAncestor("codeBlock"))return;const{consumable:a,writer:s}=i;if(!a.test(r,{name:!0}))return;const l=s.createElement("codeBlock"),d=[...r.getClassNames()];d.length||d.push("");for(const e of d){const t=n[e];if(t){s.setAttribute("language",t,l);break}}l.hasAttribute("language")||s.setAttribute("language",o,l),i.convertChildren(r,l),i.safeInsert(l,t.modelCursor)&&(a.consume(r,{name:!0}),i.updateConversionResult(l,t))}}(0,c)),e.data.upcastDispatcher.on("text",((e,t,{consumable:n,writer:o})=>{let i=t.modelCursor;if(!n.test(t.viewItem))return;if(!i.findAncestor("codeBlock"))return;n.consume(t.viewItem);const r=t.viewItem.data.split("\n").map((e=>o.createText(e))),c=r[r.length-1];for(const e of r)if(o.insert(e,i),i=i.getShiftedBy(e.offsetSize),e!==c){const e=o.createElement("softBreak");o.insert(e,i),i=o.createPositionAfter(e)}t.modelRange=o.createRange(t.modelCursor,i),t.modelCursor=i})),e.data.upcastDispatcher.on("element:pre",((e,t,{consumable:n})=>{const o=t.viewItem;if(o.findAncestor("pre"))return;const i=Array.from(o.getChildren()),r=i.find((e=>e.is("element","code")));if(r)for(const e of i)e!==r&&e.is("$text")&&n.consume(e,{name:!0})}),{priority:"high"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,o)=>{let r=n.createRange(n.document.selection.anchor);if(o.targetRanges&&(r=e.editing.mapper.toModelRange(o.targetRanges[0])),!r.start.parent.is("element","codeBlock"))return;const c=o.dataTransfer.getData("text/plain"),a=new i.UpcastWriter(e.editing.view.document);o.content=function(e,t){const n=e.createDocumentFragment(),o=t.split("\n"),i=o.reduce(((t,n,i)=>(t.push(n),i<o.length-1&&t.push(e.createElement("br")),t)),[]);return e.appendChild(i,n),n}(a,c)})),e.plugins.has("ClipboardPipeline")&&e.plugins.get(r.ClipboardPipeline).on("contentInsertion",((n,o)=>{const i=e.model,r=i.document.selection;r.anchor.parent.is("element","codeBlock")&&i.change((e=>{const n=e.createRangeIn(o.content);for(const o of[...n.getItems()])o.is("node")&&!t.checkChild(r.anchor,o)&&e.remove(o)}))})),this.listenTo(n,"getSelectedContent",((e,[o])=>{const i=o.anchor;!o.isCollapsed&&i.parent.is("element","codeBlock")&&i.hasSameParentAs(o.focus)&&n.change((n=>{const r=e.return;if(i.parent.is("element")&&(r.childCount>1||o.containsEntireContent(i.parent))){const t=n.createElement("codeBlock",i.parent.getAttributes());n.append(r,t);const o=n.createDocumentFragment();return n.append(t,o),void(e.return=o)}const c=r.getChild(0);t.checkAttribute(c,"code")&&n.setAttribute("code",!0,c)}))}))}afterInit(){const e=this.editor,t=e.commands,n=t.get("indent"),o=t.get("outdent");n&&n.registerChildCommand(t.get("indentCodeBlock"),{priority:"highest"}),o&&o.registerChildCommand(t.get("outdentCodeBlock")),this.listenTo(e.editing.view.document,"enter",((t,n)=>{e.model.document.selection.getLastPosition().parent.is("element","codeBlock")&&(function(e,t){const n=e.model,o=n.document,i=e.editing.view,r=o.selection.getLastPosition(),c=r.nodeAfter;if(t||!o.selection.isCollapsed||!r.isAtStart)return!1;if(!x(c))return!1;return e.model.change((t=>{e.execute("enter");const n=o.selection.anchor.parent.previousSibling;t.rename(n,B),t.setSelection(n,"in"),e.model.schema.removeDisallowedAttributes([n],t),t.remove(c)})),i.scrollToTheSelection(),!0}(e,n.isSoft)||function(e,t){const n=e.model,o=n.document,i=e.editing.view,r=o.selection.getLastPosition(),c=r.nodeBefore;let a;if(t||!o.selection.isCollapsed||!r.isAtEnd||!c||!c.previousSibling)return!1;if(x(c)&&x(c.previousSibling))a=n.createRange(n.createPositionBefore(c.previousSibling),n.createPositionAfter(c));else if(C(c)&&x(c.previousSibling)&&x(c.previousSibling.previousSibling))a=n.createRange(n.createPositionBefore(c.previousSibling.previousSibling),n.createPositionAfter(c));else{if(!(C(c)&&x(c.previousSibling)&&C(c.previousSibling.previousSibling)&&c.previousSibling.previousSibling&&x(c.previousSibling.previousSibling.previousSibling)))return!1;a=n.createRange(n.createPositionBefore(c.previousSibling.previousSibling.previousSibling),n.createPositionAfter(c))}return e.model.change((t=>{t.remove(a),e.execute("enter");const n=o.selection.anchor.parent;t.rename(n,B),e.model.schema.removeDisallowedAttributes([n],t)})),i.scrollToTheSelection(),!0}(e,n.isSoft)||function(e){const t=e.model,n=t.document;let o;const i=p(n.selection.getLastPosition(),t);i&&i.is("$text")&&(o=l(i));e.model.change((t=>{e.execute("shiftEnter"),o&&t.insertText(o,n.selection.anchor)}))}(e),n.preventDefault(),t.stop())}),{context:"pre"}),this._initAriaAnnouncements()}_initAriaAnnouncements(){const{model:e,ui:t,t:n}=this.editor,o=a(this.editor);let i=null;e.document.selection.on("change:range",(()=>{const r=e.document.selection.focus.parent;t&&i!==r&&r.is("element")&&(i&&i.is("element","codeBlock")&&t.ariaLiveAnnouncer.announce(f(n,o,i,"leave")),r.is("element","codeBlock")&&t.ariaLiveAnnouncer.announce(f(n,o,r,"enter")),i=r)}))}}function C(e){return e&&e.is("$text")&&!e.data.match(/\S/)}function x(e){return e&&e.is("element","softBreak")}var S=n(311),y=n(591),A=n.n(y),E=n(535),P={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};A()(E.A,P);E.A.locals;class _ extends e.Plugin{static get pluginName(){return"CodeBlockUI"}init(){const t=this.editor,n=t.t,o=t.ui.componentFactory,i=a(t),r=this._getLanguageListItemDefinitions(i),c=t.commands.get("codeBlock");o.add("codeBlock",(o=>{const i=(0,S.createDropdown)(o,S.SplitButtonView),a=i.buttonView,s=n("Insert code block");return a.set({label:s,tooltip:!0,icon:e.icons.codeBlock,isToggleable:!0}),a.bind("isOn").to(c,"value",(e=>!!e)),a.on("execute",(()=>{t.execute("codeBlock",{usePreviousLanguageChoice:!0}),t.editing.view.focus()})),i.on("execute",(e=>{t.execute("codeBlock",{language:e.source._codeBlockLanguage,forceValue:!0}),t.editing.view.focus()})),i.class="ck-code-block-dropdown",i.bind("isEnabled").to(c),(0,S.addListToDropdown)(i,r,{role:"menu",ariaLabel:s}),i})),o.add("menuBar:codeBlock",(o=>{const i=new S.MenuBarMenuView(o);i.buttonView.set({role:"menuitem",label:n("Code block"),icon:e.icons.codeBlock}),i.bind("isEnabled").to(c);const a=new S.MenuBarMenuListView(o);a.set({ariaLabel:n("Insert code block")});for(const e of r){const n=new S.MenuBarMenuListItemView(o,i),r=new S.MenuBarMenuListItemButtonView(o);r.bind(...Object.keys(e.model)).to(e.model),r.set({isToggleable:!0,role:"menuitemcheckbox"}),r.delegate("execute").to(i),r.on("execute",(()=>{t.execute("codeBlock",{language:e.model._codeBlockLanguage,forceValue:c.value!=e.model._codeBlockLanguage}),t.editing.view.focus()})),n.children.add(r),a.items.add(n)}return i.panelView.children.add(a),i}))}_getLanguageListItemDefinitions(e){const t=this.editor.commands.get("codeBlock"),n=new c.Collection;for(const o of e){const e={type:"button",model:new S.ViewModel({_codeBlockLanguage:o.language,label:o.label,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(t=>t===e.model._codeBlockLanguage)),n.add(e)}return n}}class L extends e.Plugin{static get requires(){return[w,_]}static get pluginName(){return"CodeBlock"}}})(),(window.CKEditor5=window.CKEditor5||{}).codeBlock=o})(); \ No newline at end of file + */(()=>{var e={535:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(758),i=n.n(o),r=n(935),c=n.n(r)()(i());c.push([e.id,".ck-content pre{background:hsla(0,0%,78%,.3);border:1px solid #c4c4c4;border-radius:2px;color:#353535;direction:ltr;font-style:normal;min-width:200px;padding:1em;tab-size:4;text-align:left;white-space:pre-wrap}.ck-content pre code{background:unset;border-radius:0;padding:0}.ck.ck-editor__editable pre{position:relative}.ck.ck-editor__editable pre[data-language]:after{content:attr(data-language);position:absolute}:root{--ck-color-code-block-label-background:#757575}.ck.ck-editor__editable pre[data-language]:after{background:var(--ck-color-code-block-label-background);color:#fff;font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);right:10px;top:-1px;white-space:nowrap}.ck.ck-code-block-dropdown .ck-dropdown__panel{max-height:250px;overflow-x:hidden;overflow-y:auto}",""]);const s=c},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(o)for(var s=0;s<this.length;s++){var a=this[s][0];null!=a&&(c[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);o&&c[u[0]]||(void 0!==r&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var r={},c=[],s=0;s<e.length;s++){var a=e[s],l=o.base?a[0]+o.base:a[0],u=r[l]||0,d="".concat(l," ").concat(u);r[l]=u+1;var g=n(d),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==g)t[g].references++,t[g].updater(p);else{var f=i(p,o);o.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}c.push(d)}return c}function i(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var r=o(e=e||[],i=i||{});return function(e){e=e||[];for(var c=0;c<r.length;c++){var s=n(r[c]);t[s].references--}for(var a=o(e,i),l=0;l<r.length;l++){var u=n(r[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}r=a}}},128:e=>{"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},639:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function o(e,t,o,i){var r;if(o)r="";else{r="",i.supports&&(r+="@supports (".concat(i.supports,") {")),i.media&&(r+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(r+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),r+=i.css,c&&(r+="}"),i.media&&(r+="}"),i.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,r);else{var s=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}var i={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=i.singletonCounter++,n=i.singleton||(i.singleton=e.insertStyleElement(e));return{update:function(e){o(n,t,!1,e)},remove:function(e){o(n,t,!0,e)}}}},331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},507:(e,t,n)=>{e.exports=n(237)("./src/enter.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{CodeBlock:()=>V,CodeBlockEditing:()=>x,CodeBlockUI:()=>j});var e=n(782),t=n(507),i=n(783),r=n(331),c=n(584);function s(e){const t=e.t,n=e.config.get("codeBlock.languages");for(const e of n)"Plain text"===e.label&&(e.label=t("Plain text")),void 0===e.class&&(e.class=`language-${e.language}`);return n}function a(e,t,n){const o={};for(const i of e)if("class"===t){o[i[t].split(" ").shift()]=i[n]}else o[i[t]]=i[n];return o}function l(e){return e.data.match(/^(\s*)/)[0]}function u(e){const t=e.document.selection,n=[];if(t.isCollapsed)return[t.anchor];const o=t.getFirstRange().getWalker({ignoreElementEnd:!0,direction:"backward"});for(const{item:t}of o){let o=t.is("$textProxy")?t.textNode:t;const i=o.parent;if(!i.is("element","codeBlock")||o.is("element","softBreak"))continue;for(;o.previousSibling&&!o.previousSibling.is("element","softBreak");)o=o.previousSibling;const r=o.is("$text")?o.startOffset+l(o).length:o.startOffset,c=e.createPositionAt(i,r);n.every((e=>!e.isEqual(c)))&&n.push(c)}return n}function d(e){const t=(0,c.first)(e.getSelectedBlocks());return!!t&&t.is("element","codeBlock")}function g(e,t){return!t.is("rootElement")&&!e.isLimit(t)&&e.checkChild(t.parent,"codeBlock")}function p(e,t,n,o){const i=a(t,"language","label"),r=n.getAttribute("language");if(r in i){const t=i[r];return e("enter"===o?"Entering %0 code snippet":"Leaving %0 code snippet",t)}return e("enter"===o?"Entering code snippet":"Leaving code snippet")}function f(e,t){for(e.textNode&&(e=t.createPositionBefore(e.textNode));e.nodeBefore&&!e.nodeBefore.is("element","softBreak");)e=t.createPositionBefore(e.nodeBefore);const n=e.nodeAfter;return n&&n.is("$text")?n:null}class m extends e.Command{constructor(e){super(e),this._lastLanguage=null}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor,n=t.model,o=n.document.selection,i=s(t)[0],r=Array.from(o.getSelectedBlocks()),c=null==e.forceValue?!this.value:e.forceValue,a=function(e,t,n){if(e.language)return e.language;if(e.usePreviousLanguageChoice&&t)return t;return n}(e,this._lastLanguage,i.language);n.change((e=>{c?this._applyCodeBlock(e,r,a):this._removeCodeBlock(e,r)}))}_getValue(){const e=this.editor.model.document.selection,t=(0,c.first)(e.getSelectedBlocks());return!!!(!t||!t.is("element","codeBlock"))&&t.getAttribute("language")}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,n=(0,c.first)(e.getSelectedBlocks());return!!n&&g(t,n)}_applyCodeBlock(e,t,n){this._lastLanguage=n;const o=this.editor.model.schema,i=t.filter((e=>g(o,e)));for(const t of i)e.rename(t,"codeBlock"),e.setAttribute("language",n,t),o.removeDisallowedAttributes([t],e),Array.from(t.getChildren()).filter((e=>!o.checkChild(t,e))).forEach((t=>e.remove(t)));i.reverse().forEach(((t,n)=>{const o=i[n+1];t.previousSibling===o&&(e.appendElement("softBreak",o),e.merge(e.createPositionBefore(t)))}))}_removeCodeBlock(e,t){const n=t.filter((e=>e.is("element","codeBlock")));for(const t of n){const n=e.createRangeOn(t);for(const t of Array.from(n.getItems()).reverse())if(t.is("element","softBreak")&&t.parent.is("element","codeBlock")){const{position:n}=e.split(e.createPositionBefore(t)),o=n.nodeAfter;e.rename(o,"paragraph"),e.removeAttribute("language",o),e.remove(t)}e.rename(t,"paragraph"),e.removeAttribute("language",t)}}}class h extends e.Command{constructor(e){super(e),this._indentSequence=e.config.get("codeBlock.indentSequence")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model;e.change((t=>{const n=u(e);for(const o of n){const n=t.createText(this._indentSequence);e.insertContent(n,o)}}))}_checkEnabled(){return!!this._indentSequence&&d(this.editor.model.document.selection)}}class b extends e.Command{constructor(e){super(e),this._indentSequence=e.config.get("codeBlock.indentSequence")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model;e.change((()=>{const t=u(e);for(const n of t){const t=v(e,n,this._indentSequence);t&&e.deleteContent(e.createSelection(t))}}))}_checkEnabled(){if(!this._indentSequence)return!1;const e=this.editor.model;return!!d(e.document.selection)&&u(e).some((t=>v(e,t,this._indentSequence)))}}function v(e,t,n){const o=f(t,e);if(!o)return null;const i=l(o),r=i.lastIndexOf(n);if(r+n.length!==i.length)return null;if(-1===r)return null;const{parent:c,startOffset:s}=o;return e.createRange(e.createPositionAt(c,s+r),e.createPositionAt(c,s+r+n.length))}function k(e,t,n=!1){const o=a(t,"language","class"),i=a(t,"language","label");return(t,r,c)=>{const{writer:s,mapper:a,consumable:l}=c;if(!l.consume(r.item,"insert"))return;const u=r.item.getAttribute("language"),d=a.toViewPosition(e.createPositionBefore(r.item)),g={};n&&(g["data-language"]=i[u],g.spellcheck="false");const p=o[u]?{class:o[u]}:void 0,f=s.createContainerElement("code",p),m=s.createContainerElement("pre",g,f);s.insert(d,m),a.bindElements(r.item,f)}}const B="paragraph";class x extends e.Plugin{static get pluginName(){return"CodeBlockEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.ShiftEnter]}constructor(e){super(e),e.config.define("codeBlock",{languages:[{language:"plaintext",label:"Plain text"},{language:"c",label:"C"},{language:"cs",label:"C#"},{language:"cpp",label:"C++"},{language:"css",label:"CSS"},{language:"diff",label:"Diff"},{language:"html",label:"HTML"},{language:"java",label:"Java"},{language:"javascript",label:"JavaScript"},{language:"php",label:"PHP"},{language:"python",label:"Python"},{language:"ruby",label:"Ruby"},{language:"typescript",label:"TypeScript"},{language:"xml",label:"XML"}],indentSequence:"\t"})}init(){const e=this.editor,t=e.model.schema,n=e.model,o=e.editing.view,c=s(e);e.commands.add("codeBlock",new m(e)),e.commands.add("indentCodeBlock",new h(e)),e.commands.add("outdentCodeBlock",new b(e)),this.listenTo(o.document,"tab",((t,n)=>{const o=n.shiftKey?"outdentCodeBlock":"indentCodeBlock";e.commands.get(o).isEnabled&&(e.execute(o),n.stopPropagation(),n.preventDefault(),t.stop())}),{context:"pre"}),t.register("codeBlock",{allowWhere:"$block",allowChildren:"$text",disallowChildren:"$inlineObject",allowAttributes:["language"],allowAttributesOf:"$listItem",isBlock:!0}),t.addAttributeCheck(((e,n)=>{const o=e.getItem(e.length-2);if(t.getAttributeProperties(n).isFormatting&&o&&"codeBlock"==o.name)return!1})),e.editing.downcastDispatcher.on("insert:codeBlock",k(n,c,!0)),e.data.downcastDispatcher.on("insert:codeBlock",k(n,c)),e.data.downcastDispatcher.on("insert:softBreak",function(e){return(t,n,o)=>{if("codeBlock"!==n.item.parent.name)return;const{writer:i,mapper:r,consumable:c}=o;if(!c.consume(n.item,"insert"))return;const s=r.toViewPosition(e.createPositionBefore(n.item));i.insert(s,i.createText("\n"))}}(n),{priority:"high"}),e.data.upcastDispatcher.on("element:code",function(e,t){const n=a(t,"class","language"),o=t[0].language;return(e,t,i)=>{const r=t.viewItem,c=r.parent;if(!c||!c.is("element","pre"))return;if(t.modelCursor.findAncestor("codeBlock"))return;const{consumable:s,writer:a}=i;if(!s.test(r,{name:!0}))return;const l=a.createElement("codeBlock"),u=[...r.getClassNames()];u.length||u.push("");for(const e of u){const t=n[e];if(t){a.setAttribute("language",t,l);break}}l.hasAttribute("language")||a.setAttribute("language",o,l),i.convertChildren(r,l),i.safeInsert(l,t.modelCursor)&&(s.consume(r,{name:!0}),i.updateConversionResult(l,t))}}(0,c)),e.data.upcastDispatcher.on("text",((e,t,{consumable:n,writer:o})=>{let i=t.modelCursor;if(!n.test(t.viewItem))return;if(!i.findAncestor("codeBlock"))return;n.consume(t.viewItem);const r=t.viewItem.data.split("\n").map((e=>o.createText(e))),c=r[r.length-1];for(const e of r)if(o.insert(e,i),i=i.getShiftedBy(e.offsetSize),e!==c){const e=o.createElement("softBreak");o.insert(e,i),i=o.createPositionAfter(e)}t.modelRange=o.createRange(t.modelCursor,i),t.modelCursor=i})),e.data.upcastDispatcher.on("element:pre",((e,t,{consumable:n})=>{const o=t.viewItem;if(o.findAncestor("pre"))return;const i=Array.from(o.getChildren()),r=i.find((e=>e.is("element","code")));if(r)for(const e of i)e!==r&&e.is("$text")&&n.consume(e,{name:!0})}),{priority:"high"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,o)=>{let r=n.createRange(n.document.selection.anchor);if(o.targetRanges&&(r=e.editing.mapper.toModelRange(o.targetRanges[0])),!r.start.parent.is("element","codeBlock"))return;const c=o.dataTransfer.getData("text/plain"),s=new i.UpcastWriter(e.editing.view.document);o.content=function(e,t){const n=e.createDocumentFragment(),o=t.split("\n"),i=o.reduce(((t,n,i)=>(t.push(n),i<o.length-1&&t.push(e.createElement("br")),t)),[]);return e.appendChild(i,n),n}(s,c)})),e.plugins.has("ClipboardPipeline")&&e.plugins.get(r.ClipboardPipeline).on("contentInsertion",((n,o)=>{const i=e.model,r=i.document.selection;r.anchor.parent.is("element","codeBlock")&&i.change((e=>{const n=e.createRangeIn(o.content);for(const o of[...n.getItems()])o.is("node")&&!t.checkChild(r.anchor,o)&&e.remove(o)}))})),this.listenTo(n,"getSelectedContent",((e,[o])=>{const i=o.anchor;!o.isCollapsed&&i.parent.is("element","codeBlock")&&i.hasSameParentAs(o.focus)&&n.change((n=>{const r=e.return;if(i.parent.is("element")&&(r.childCount>1||o.containsEntireContent(i.parent))){const t=n.createElement("codeBlock",i.parent.getAttributes());n.append(r,t);const o=n.createDocumentFragment();return n.append(t,o),void(e.return=o)}const c=r.getChild(0);t.checkAttribute(c,"code")&&n.setAttribute("code",!0,c)}))}))}afterInit(){const e=this.editor,t=e.commands,n=t.get("indent"),o=t.get("outdent");n&&n.registerChildCommand(t.get("indentCodeBlock"),{priority:"highest"}),o&&o.registerChildCommand(t.get("outdentCodeBlock")),this.listenTo(e.editing.view.document,"enter",((t,n)=>{e.model.document.selection.getLastPosition().parent.is("element","codeBlock")&&(function(e,t){const n=e.model,o=n.document,i=e.editing.view,r=o.selection.getLastPosition(),c=r.nodeAfter;if(t||!o.selection.isCollapsed||!r.isAtStart)return!1;if(!C(c))return!1;return e.model.change((t=>{e.execute("enter");const n=o.selection.anchor.parent.previousSibling;t.rename(n,B),t.setSelection(n,"in"),e.model.schema.removeDisallowedAttributes([n],t),t.remove(c)})),i.scrollToTheSelection(),!0}(e,n.isSoft)||function(e,t){const n=e.model,o=n.document,i=e.editing.view,r=o.selection.getLastPosition(),c=r.nodeBefore;let s;if(t||!o.selection.isCollapsed||!r.isAtEnd||!c||!c.previousSibling)return!1;if(C(c)&&C(c.previousSibling))s=n.createRange(n.createPositionBefore(c.previousSibling),n.createPositionAfter(c));else if(w(c)&&C(c.previousSibling)&&C(c.previousSibling.previousSibling))s=n.createRange(n.createPositionBefore(c.previousSibling.previousSibling),n.createPositionAfter(c));else{if(!(w(c)&&C(c.previousSibling)&&w(c.previousSibling.previousSibling)&&c.previousSibling.previousSibling&&C(c.previousSibling.previousSibling.previousSibling)))return!1;s=n.createRange(n.createPositionBefore(c.previousSibling.previousSibling.previousSibling),n.createPositionAfter(c))}return e.model.change((t=>{t.remove(s),e.execute("enter");const n=o.selection.anchor.parent;t.rename(n,B),e.model.schema.removeDisallowedAttributes([n],t)})),i.scrollToTheSelection(),!0}(e,n.isSoft)||function(e){const t=e.model,n=t.document;let o;const i=f(n.selection.getLastPosition(),t);i&&i.is("$text")&&(o=l(i));e.model.change((t=>{e.execute("shiftEnter"),o&&t.insertText(o,n.selection.anchor)}))}(e),n.preventDefault(),t.stop())}),{context:"pre"}),this._initAriaAnnouncements()}_initAriaAnnouncements(){const{model:e,ui:t,t:n}=this.editor,o=s(this.editor);let i=null;e.document.selection.on("change:range",(()=>{const r=e.document.selection.focus.parent;t&&i!==r&&r.is("element")&&(i&&i.is("element","codeBlock")&&t.ariaLiveAnnouncer.announce(p(n,o,i,"leave")),r.is("element","codeBlock")&&t.ariaLiveAnnouncer.announce(p(n,o,r,"enter")),i=r)}))}}function w(e){return e&&e.is("$text")&&!e.data.match(/\S/)}function C(e){return e&&e.is("element","softBreak")}var S=n(311),y=n(591),A=n.n(y),E=n(639),P=n.n(E),_=n(128),L=n.n(_),I=n(21),T=n.n(I),O=n(51),D=n.n(O),M=n(535),R={attributes:{"data-cke":!0}};R.setAttributes=T(),R.insert=L().bind(null,"head"),R.domAPI=P(),R.insertStyleElement=D();A()(M.A,R);M.A&&M.A.locals&&M.A.locals;class j extends e.Plugin{static get pluginName(){return"CodeBlockUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,n=t.t,o=t.ui.componentFactory,i=s(t),r=this._getLanguageListItemDefinitions(i),c=t.commands.get("codeBlock");o.add("codeBlock",(o=>{const i=(0,S.createDropdown)(o,S.SplitButtonView),s=i.buttonView,a=n("Insert code block");return s.set({label:a,tooltip:!0,icon:e.icons.codeBlock,isToggleable:!0}),s.bind("isOn").to(c,"value",(e=>!!e)),s.on("execute",(()=>{t.execute("codeBlock",{usePreviousLanguageChoice:!0}),t.editing.view.focus()})),i.on("execute",(e=>{t.execute("codeBlock",{language:e.source._codeBlockLanguage,forceValue:!0}),t.editing.view.focus()})),i.class="ck-code-block-dropdown",i.bind("isEnabled").to(c),(0,S.addListToDropdown)(i,r,{role:"menu",ariaLabel:a}),i})),o.add("menuBar:codeBlock",(o=>{const i=new S.MenuBarMenuView(o);i.buttonView.set({role:"menuitem",label:n("Code block"),icon:e.icons.codeBlock}),i.bind("isEnabled").to(c);const s=new S.MenuBarMenuListView(o);s.set({ariaLabel:n("Insert code block")});for(const e of r){const n=new S.MenuBarMenuListItemView(o,i),r=new S.MenuBarMenuListItemButtonView(o);r.bind(...Object.keys(e.model)).to(e.model),r.set({isToggleable:!0,role:"menuitemcheckbox"}),r.delegate("execute").to(i),r.on("execute",(()=>{t.execute("codeBlock",{language:e.model._codeBlockLanguage,forceValue:c.value!=e.model._codeBlockLanguage}),t.editing.view.focus()})),n.children.add(r),s.items.add(n)}return i.panelView.children.add(s),i}))}_getLanguageListItemDefinitions(e){const t=this.editor.commands.get("codeBlock"),n=new c.Collection;for(const o of e){const e={type:"button",model:new S.ViewModel({_codeBlockLanguage:o.language,label:o.label,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(t=>t===e.model._codeBlockLanguage)),n.add(e)}return n}}class V extends e.Plugin{static get requires(){return[x,j]}static get pluginName(){return"CodeBlock"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).codeBlock=o})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/easy-image/easy-image.js b/core/assets/vendor/ckeditor5/easy-image/easy-image.js index c5a25dd70fdeec675566894f14cb201c6d9db81b..58fc26bc7a3c9878dfae6326b7f1f15e4680c25a 100644 --- a/core/assets/vendor/ckeditor5/easy-image/easy-image.js +++ b/core/assets/vendor/ckeditor5/easy-image/easy-image.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},260:(e,t,r)=>{e.exports=r(237)("./src/upload.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{CloudServicesUploadAdapter:()=>i,EasyImage:()=>l});var e=r(782),t=r(584),a=r(260);class i extends e.Plugin{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",a.FileRepository]}init(){const e=this.editor,t=e.plugins.get("CloudServices"),r=t.token,o=t.uploadUrl;if(!r)return;const i=e.plugins.get("CloudServicesCore");this._uploadGateway=i.createUploadGateway(r,o),e.plugins.get(a.FileRepository).createUploadAdapter=e=>new s(this._uploadGateway,e)}}class s{constructor(e,t){this.uploadGateway=e,this.loader=t}upload(){return this.loader.file.then((e=>(this.fileUploader=this.uploadGateway.upload(e),this.fileUploader.on("progress",((e,t)=>{this.loader.uploadTotal=t.total,this.loader.uploaded=t.uploaded})),this.fileUploader.send())))}abort(){this.fileUploader.abort()}}class l extends e.Plugin{static get pluginName(){return"EasyImage"}static get requires(){return[i,"ImageUpload"]}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")||e.plugins.has("ImageInlineEditing")||(0,t.logWarning)("easy-image-image-feature-missing",e)}}})(),(window.CKEditor5=window.CKEditor5||{}).easyImage=o})(); \ No newline at end of file + */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},260:(e,t,r)=>{e.exports=r(237)("./src/upload.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";r.r(i),r.d(i,{CloudServicesUploadAdapter:()=>o,EasyImage:()=>l});var e=r(782),t=r(584),a=r(260);class o extends e.Plugin{static get pluginName(){return"CloudServicesUploadAdapter"}static get isOfficialPlugin(){return!0}static get requires(){return["CloudServices",a.FileRepository]}init(){const e=this.editor,t=e.plugins.get("CloudServices"),r=t.token,i=t.uploadUrl;if(!r)return;const o=e.plugins.get("CloudServicesCore");this._uploadGateway=o.createUploadGateway(r,i),e.plugins.get(a.FileRepository).createUploadAdapter=e=>new s(this._uploadGateway,e)}}class s{constructor(e,t){this.uploadGateway=e,this.loader=t}upload(){return this.loader.file.then((e=>(this.fileUploader=this.uploadGateway.upload(e),this.fileUploader.on("progress",((e,t)=>{this.loader.uploadTotal=t.total,this.loader.uploaded=t.uploaded})),this.fileUploader.send())))}abort(){this.fileUploader.abort()}}class l extends e.Plugin{static get pluginName(){return"EasyImage"}static get isOfficialPlugin(){return!0}static get requires(){return[o,"ImageUpload"]}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")||e.plugins.has("ImageInlineEditing")||(0,t.logWarning)("easy-image-image-feature-missing",e)}}})(),(window.CKEditor5=window.CKEditor5||{}).easyImage=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/editor-balloon/editor-balloon.js b/core/assets/vendor/ckeditor5/editor-balloon/editor-balloon.js index 28ff9d2d8c8ea87b3deea8080a75021d1104d8ba..bdad31e604d88cf94590290585e88b734b98eb26 100644 --- a/core/assets/vendor/ckeditor5/editor-balloon/editor-balloon.js +++ b/core/assets/vendor/ckeditor5/editor-balloon/editor-balloon.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var r=e[i];if(void 0!==r)return r.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{BalloonEditor:()=>B});var t=o(782),e=o(311),r=o(584),n=o(783);class s extends e.EditorUI{constructor(t,e){super(t),this.view=e}get element(){return this.view.editable.element}init(){const t=this.editor,e=this.view,o=t.editing.view,i=e.editable,r=o.document.getRoot();i.name=r.rootName,e.render();const n=i.element;this.setEditableElement(i.name,n),i.bind("isFocused").to(this.focusTracker),o.attachDomRoot(n),this._initPlaceholder(),this._initMenuBar(this.view.menuBarView),this.fire("ready")}destroy(){super.destroy();const t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy()}_initPlaceholder(){const t=this.editor,e=t.editing.view,o=e.document.getRoot(),i=t.config.get("placeholder");if(i){const t="string"==typeof i?i:i[o.rootName];t&&(o.placeholder=t)}(0,n.enablePlaceholder)({view:e,element:o,isDirectHost:!1,keepOnFocus:!0})}}class c extends e.EditorUIView{constructor(t,o,i,r){super(t),this.editable=new e.InlineEditableUIView(t,o,i,{label:r}),this.menuBarView=new e.MenuBarView(t),this.menuBarView.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:t.uiLanguageDirection}})}render(){super.render(),this.registerChild(this.editable),this.registerChild(this.menuBarView)}}const a=function(t){return null!=t&&"object"==typeof t};const l="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=(l||u||Function("return this")()).Symbol;var h=Object.prototype,g=h.hasOwnProperty,f=h.toString,p=d?d.toStringTag:void 0;const b=function(t){var e=g.call(t,p),o=t[p];try{t[p]=void 0;var i=!0}catch(t){}var r=f.call(t);return i&&(e?t[p]=o:delete t[p]),r};var m=Object.prototype.toString;const v=function(t){return m.call(t)};var w=d?d.toStringTag:void 0;const y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?b(t):v(t)};const j=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var E=Function.prototype,O=Object.prototype,x=E.toString,S=O.hasOwnProperty,P=x.call(Object);const T=function(t){if(!a(t)||"[object Object]"!=y(t))return!1;var e=j(t);if(null===e)return!0;var o=S.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&x.call(o)==P};const D=function(t){return a(t)&&1===t.nodeType&&!T(t)};class B extends((0,t.ElementApiMixin)(t.Editor)){constructor(o,i={}){if(!C(o)&&void 0!==i.initialData)throw new r.CKEditorError("editor-create-initial-data",null);super(i),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return C(t)?(0,r.getDataFromElement)(t):t}(o)),C(o)&&(this.sourceElement=o,(0,t.secureSourceElement)(this,o));const n=this.config.get("plugins");n.push(e.BalloonToolbar),this.config.set("plugins",n),this.config.define("balloonToolbar",this.config.get("toolbar")),this.model.document.createRoot();const a=new c(this.locale,this.editing.view,this.sourceElement,this.config.get("label"));this.ui=new s(this,a),(0,t.attachToForm)(this)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(t)}))}static create(t,e={}){return new Promise((o=>{if(C(t)&&"TEXTAREA"===t.tagName)throw new r.CKEditorError("editor-wrong-element",null);const i=new this(t,e);o(i.initPlugins().then((()=>i.ui.init())).then((()=>i.data.init(i.config.get("initialData")))).then((()=>i.fire("ready"))).then((()=>i)))}))}}function C(t){return D(t)}})(),(window.CKEditor5=window.CKEditor5||{}).editorBalloon=i})(); \ No newline at end of file + */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var r=e[i];if(void 0!==r)return r.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{BalloonEditor:()=>B});var t=o(782),e=o(311),r=o(584),n=o(783);class s extends e.EditorUI{constructor(t,e){super(t),this.view=e}get element(){return this.view.editable.element}init(){const t=this.editor,e=this.view,o=t.editing.view,i=e.editable,r=o.document.getRoot();i.name=r.rootName,e.render();const n=i.element;this.setEditableElement(i.name,n),i.bind("isFocused").to(this.focusTracker),o.attachDomRoot(n),this._initPlaceholder(),this._initMenuBar(this.view.menuBarView),this.fire("ready")}destroy(){super.destroy();const t=this.view,e=this.editor.editing.view;e.getDomRoot(t.editable.name)&&e.detachDomRoot(t.editable.name),t.destroy()}_initPlaceholder(){const t=this.editor,e=t.editing.view,o=e.document.getRoot(),i=t.config.get("placeholder");if(i){const t="string"==typeof i?i:i[o.rootName];t&&(o.placeholder=t)}(0,n.enablePlaceholder)({view:e,element:o,isDirectHost:!1,keepOnFocus:!0})}}class c extends e.EditorUIView{constructor(t,o,i,r){super(t),this.editable=new e.InlineEditableUIView(t,o,i,{label:r}),this.menuBarView=new e.MenuBarView(t),this.menuBarView.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:t.uiLanguageDirection}})}render(){super.render(),this.registerChild(this.editable),this.registerChild(this.menuBarView)}}const a=function(t){return null!=t&&"object"==typeof t};const l="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=(l||u||Function("return this")()).Symbol;var h=Object.prototype,g=h.hasOwnProperty,f=h.toString,b=d?d.toStringTag:void 0;const p=function(t){var e=g.call(t,b),o=t[b];try{t[b]=void 0;var i=!0}catch(t){}var r=f.call(t);return i&&(e?t[b]=o:delete t[b]),r};var m=Object.prototype.toString;const v=function(t){return m.call(t)};var w=d?d.toStringTag:void 0;const y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?p(t):v(t)};const j=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var E=Function.prototype,O=Object.prototype,x=E.toString,S=O.hasOwnProperty,P=x.call(Object);const T=function(t){if(!a(t)||"[object Object]"!=y(t))return!1;var e=j(t);if(null===e)return!0;var o=S.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&x.call(o)==P};const D=function(t){return a(t)&&1===t.nodeType&&!T(t)};class B extends((0,t.ElementApiMixin)(t.Editor)){constructor(o,i={}){if(!C(o)&&void 0!==i.initialData)throw new r.CKEditorError("editor-create-initial-data",null);super(i),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return C(t)?(0,r.getDataFromElement)(t):t}(o)),C(o)&&(this.sourceElement=o,(0,t.secureSourceElement)(this,o));const n=this.config.get("plugins");n.push(e.BalloonToolbar),this.config.set("plugins",n),this.config.define("balloonToolbar",this.config.get("toolbar")),this.model.document.createRoot();const a=new c(this.locale,this.editing.view,this.sourceElement,this.config.get("label"));this.ui=new s(this,a),(0,t.attachToForm)(this)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(t)}))}static create(t,e={}){return new Promise((o=>{if(C(t)&&"TEXTAREA"===t.tagName)throw new r.CKEditorError("editor-wrong-element",null);const i=new this(t,e);o(i.initPlugins().then((()=>i.ui.init())).then((()=>i.data.init(i.config.get("initialData")))).then((()=>i.fire("ready"))).then((()=>i)))}))}}function C(t){return D(t)}})(),(window.CKEditor5=window.CKEditor5||{}).editorBalloon=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js b/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js index 166cff809a04aed824fb7005f5e5bd4a8f1f9ef7..37cb171e9674f31d668bc379305be6ea4ddb5495 100644 --- a/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js +++ b/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={662:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var o=i(935),n=i.n(o)()((function(e){return e[1]}));n.push([e.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.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-sticky-panel__content{border:solid var(--ck-color-base-border);border-width:1px 1px 0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border: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)}",""]);const r=n},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var r=0;r<this.length;r++){var c=this[r][0];null!=c&&(n[c]=!0)}for(var s=0;s<e.length;s++){var a=[].concat(e[s]);o&&n[a[0]]||(i&&(a[2]?a[2]="".concat(i," and ").concat(a[2]):a[2]=i),t.push(a))}},t}},591:(e,t,i)=>{"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),c=[];function s(e){for(var t=-1,i=0;i<c.length;i++)if(c[i].identifier===e){t=i;break}return t}function a(e,t){for(var i={},o=[],n=0;n<e.length;n++){var r=e[n],a=t.base?r[0]+t.base:r[0],l=i[a]||0,d="".concat(a," ").concat(l);i[a]=l+1;var u=s(d),h={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(c[u].references++,c[u].updater(h)):c.push({identifier:d,updater:g(h,t),references:1}),o.push(d)}return o}function l(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var n=i.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var c=r(e.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function h(e,t,i,o){var n=i?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,n);else{var r=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(r,c[t]):e.appendChild(r)}}function f(e,t,i){var o=i.css,n=i.media,r=i.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var p=null,b=0;function g(e,t){var i,o,n;if(t.singleton){var r=b++;i=p||(p=l(t)),o=h.bind(null,i,r,!1),n=h.bind(null,i,r,!0)}else i=l(t),o=f.bind(null,i,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<i.length;o++){var n=s(i[o]);c[n].references--}for(var r=a(e,t),l=0;l<i.length;l++){var d=s(i[l]);0===c[d].references&&(c[d].updater(),c.splice(d,1))}i=r}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var o={};(()=>{"use strict";i.r(o),i.d(o,{ClassicEditor:()=>R});var e=i(311),t=i(783),n=i(584);class r extends e.EditorUI{constructor(t,i){super(t),this.view=i,this._toolbarConfig=(0,e.normalizeToolbarConfig)(t.config.get("toolbar")),this._elementReplacer=new n.ElementReplacer,this.listenTo(t.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(e){const t=this.editor,i=this.view,o=t.editing.view,n=i.editable,r=o.document.getRoot();n.name=r.rootName,i.render();const c=n.element;this.setEditableElement(n.name,c),i.editable.bind("isFocused").to(this.focusTracker),o.attachDomRoot(c),e&&this._elementReplacer.replace(e,this.element),this._initPlaceholder(),this._initToolbar(),i.menuBarView&&this._initMenuBar(i.menuBarView),this._initDialogPluginIntegration(),this._initContextualBalloonIntegration(),this.fire("ready")}destroy(){super.destroy();const e=this.view,t=this.editor.editing.view;this._elementReplacer.restore(),t.detachDomRoot(e.editable.name),e.destroy()}_initToolbar(){const e=this.view;e.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),e.stickyPanel.limiterElement=e.element,e.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",(({top:e})=>e||0)),e.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(e.toolbar)}_initPlaceholder(){const e=this.editor,i=e.editing.view,o=i.document.getRoot(),n=e.sourceElement;let r;const c=e.config.get("placeholder");c&&(r="string"==typeof c?c:c[this.view.editable.name]),!r&&n&&"textarea"===n.tagName.toLowerCase()&&(r=n.getAttribute("placeholder")),r&&(o.placeholder=r),(0,t.enablePlaceholder)({view:i,element:o,isDirectHost:!1,keepOnFocus:!0})}_initContextualBalloonIntegration(){if(!this.editor.plugins.has("ContextualBalloon"))return;const{stickyPanel:e}=this.view,t=this.editor.plugins.get("ContextualBalloon");t.on("getPositionOptions",(t=>{const i=t.return;if(!i||!e.isSticky||!e.element)return;const o=new n.Rect(e.element).height,r="function"==typeof i.target?i.target():i.target,c="function"==typeof i.limiter?i.limiter():i.limiter;if(r&&c&&new n.Rect(r).height>=new n.Rect(c).height-o)return;const s={...i.viewportOffsetConfig},a=(s.top||0)+o;t.return={...i,viewportOffsetConfig:{...s,top:a}}}),{priority:"low"});const i=()=>{t.visibleView&&t.updatePosition()};this.listenTo(e,"change:isSticky",i),this.listenTo(this.editor.ui,"change:viewportOffset",i)}_handleScrollToTheSelectionWithStickyPanel(e,t,i){const o=this.view.stickyPanel;if(o.isSticky){const e=new n.Rect(o.element).height;t.viewportOffset.top+=e}else{const e=()=>{this.editor.editing.view.scrollToTheSelection(i)};this.listenTo(o,"change:isSticky",e),setTimeout((()=>{this.stopListening(o,"change:isSticky",e)}),20)}}_initDialogPluginIntegration(){if(!this.editor.plugins.has("Dialog"))return;const t=this.view.stickyPanel,i=this.editor.plugins.get("Dialog");i.on("show",(()=>{const o=i.view;o.on("moveTo",((i,r)=>{if(!t.isSticky||o.wasMoved)return;const c=new n.Rect(t.contentPanelElement);r[1]<c.bottom+e.DialogView.defaultOffset&&(r[1]=c.bottom+e.DialogView.defaultOffset)}),{priority:"high"})}),{priority:"low"})}}var c=i(591),s=i.n(c),a=i(662),l={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(a.A,l);a.A.locals;class d extends e.BoxedEditorUIView{constructor(t,i,o={}){super(t),this.stickyPanel=new e.StickyPanelView(t),this.toolbar=new e.ToolbarView(t,{shouldGroupWhenFull:o.shouldToolbarGroupWhenFull}),o.useMenuBar&&(this.menuBarView=new e.MenuBarView(t)),this.editable=new e.InlineEditableUIView(t,i,void 0,{label:o.label})}render(){super.render(),this.menuBarView?this.stickyPanel.content.addMany([this.menuBarView,this.toolbar]):this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}var u=i(782);const h=function(e){return null!=e&&"object"==typeof e};const f="object"==typeof global&&global&&global.Object===Object&&global;var p="object"==typeof self&&self&&self.Object===Object&&self;const b=(f||p||Function("return this")()).Symbol;var g=Object.prototype,k=g.hasOwnProperty,v=g.toString,m=b?b.toStringTag:void 0;const y=function(e){var t=k.call(e,m),i=e[m];try{e[m]=void 0;var o=!0}catch(e){}var n=v.call(e);return o&&(t?e[m]=i:delete e[m]),n};var w=Object.prototype.toString;const _=function(e){return w.call(e)};var T=b?b.toStringTag:void 0;const S=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":T&&T in Object(e)?y(e):_(e)};const j=function(e,t){return function(i){return e(t(i))}}(Object.getPrototypeOf,Object);var O=Function.prototype,x=Object.prototype,P=O.toString,C=x.hasOwnProperty,E=P.call(Object);const B=function(e){if(!h(e)||"[object Object]"!=S(e))return!1;var t=j(e);if(null===t)return!0;var i=C.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&P.call(i)==E};const M=function(e){return h(e)&&1===e.nodeType&&!B(e)};class R extends((0,u.ElementApiMixin)(u.Editor)){constructor(e,t={}){if(!D(e)&&void 0!==t.initialData)throw new n.CKEditorError("editor-create-initial-data",null);super(t),this.config.define("menuBar.isVisible",!1),void 0===this.config.get("initialData")&&this.config.set("initialData",function(e){return D(e)?(0,n.getDataFromElement)(e):e}(e)),D(e)&&(this.sourceElement=e),this.model.document.createRoot();const i=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=this.config.get("menuBar"),c=new d(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:i,useMenuBar:o.isVisible,label:this.config.get("label")});this.ui=new r(this,c),(0,u.attachToForm)(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(e,t={}){return new Promise((i=>{const o=new this(e,t);i(o.initPlugins().then((()=>o.ui.init(D(e)?e:null))).then((()=>o.data.init(o.config.get("initialData")))).then((()=>o.fire("ready"))).then((()=>o)))}))}}function D(e){return M(e)}})(),(window.CKEditor5=window.CKEditor5||{}).editorClassic=o})(); \ No newline at end of file + */(()=>{var t={662:(t,e,o)=>{"use strict";o.d(e,{A:()=>c});var i=o(758),n=o.n(i),r=o(935),s=o.n(r)()(n());s.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.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-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border: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)}",""]);const c=s},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o="",i=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),i&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=t(e),i&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(t,o,i,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(s[a]=!0)}for(var l=0;l<t.length;l++){var d=[].concat(t[l]);i&&s[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),o&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=o):d[2]=o),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),e.push(d))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function o(t){for(var o=-1,i=0;i<e.length;i++)if(e[i].identifier===t){o=i;break}return o}function i(t,i){for(var r={},s=[],c=0;c<t.length;c++){var a=t[c],l=i.base?a[0]+i.base:a[0],d=r[l]||0,u="".concat(l," ").concat(d);r[l]=d+1;var h=o(u),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==h)e[h].references++,e[h].updater(p);else{var f=n(p,i);i.byIndex=c,e.splice(c,0,{identifier:u,updater:f,references:1})}s.push(u)}return s}function n(t,e){var o=e.domAPI(e);o.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;o.update(t=e)}else o.remove()}}t.exports=function(t,n){var r=i(t=t||[],n=n||{});return function(t){t=t||[];for(var s=0;s<r.length;s++){var c=o(r[s]);e[c].references--}for(var a=i(t,n),l=0;l<r.length;l++){var d=o(r[l]);0===e[d].references&&(e[d].updater(),e.splice(d,1))}r=a}}},747:t=>{"use strict";var e={};t.exports=function(t,o){var i=function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[t]=o}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(o)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}},639:t=>{"use strict";var e,o=(e=[],function(t,o){return e[t]=o,e.filter(Boolean).join("\n")});function i(t,e,i,n){var r;if(i)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=o(e,r);else{var c=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[e]):t.appendChild(c)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,o=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){i(o,e,!1,t)},remove:function(t){i(o,e,!0,t)}}}},782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var n=e[i];if(void 0!==n)return n.exports;var r=e[i]={id:i,exports:{}};return t[i](r,r.exports,o),r.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{ClassicEditor:()=>G});var t=o(311),e=o(783),n=o(584);class r extends t.EditorUI{constructor(e,o){super(e),this.view=o,this._toolbarConfig=(0,t.normalizeToolbarConfig)(e.config.get("toolbar")),this._elementReplacer=new n.ElementReplacer,this.listenTo(e.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(t){const e=this.editor,o=this.view,i=e.editing.view,n=o.editable,r=i.document.getRoot();n.name=r.rootName,o.render();const s=n.element;this.setEditableElement(n.name,s),o.editable.bind("isFocused").to(this.focusTracker),i.attachDomRoot(s),t&&this._elementReplacer.replace(t,this.element),this._initPlaceholder(),this._initToolbar(),o.menuBarView&&this._initMenuBar(o.menuBarView),this._initDialogPluginIntegration(),this._initContextualBalloonIntegration(),this.fire("ready")}destroy(){super.destroy();const t=this.view,e=this.editor.editing.view;this._elementReplacer.restore(),e.getDomRoot(t.editable.name)&&e.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.view;t.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),t.stickyPanel.limiterElement=t.element,t.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",(({top:t})=>t||0)),t.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(t.toolbar)}_initPlaceholder(){const t=this.editor,o=t.editing.view,i=o.document.getRoot(),n=t.sourceElement;let r;const s=t.config.get("placeholder");s&&(r="string"==typeof s?s:s[this.view.editable.name]),!r&&n&&"textarea"===n.tagName.toLowerCase()&&(r=n.getAttribute("placeholder")),r&&(i.placeholder=r),(0,e.enablePlaceholder)({view:o,element:i,isDirectHost:!1,keepOnFocus:!0})}_initContextualBalloonIntegration(){if(!this.editor.plugins.has("ContextualBalloon"))return;const{stickyPanel:t}=this.view,e=this.editor.plugins.get("ContextualBalloon");e.on("getPositionOptions",(e=>{const o=e.return;if(!o||!t.isSticky||!t.element)return;const i=new n.Rect(t.element).height,r="function"==typeof o.target?o.target():o.target,s="function"==typeof o.limiter?o.limiter():o.limiter;if(r&&s&&new n.Rect(r).height>=new n.Rect(s).height-i)return;const c={...o.viewportOffsetConfig},a=(c.top||0)+i;e.return={...o,viewportOffsetConfig:{...c,top:a}}}),{priority:"low"});const o=()=>{e.visibleView&&e.updatePosition()};this.listenTo(t,"change:isSticky",o),this.listenTo(this.editor.ui,"change:viewportOffset",o)}_handleScrollToTheSelectionWithStickyPanel(t,e,o){const i=this.view.stickyPanel;if(i.isSticky){const t=new n.Rect(i.element).height;e.viewportOffset.top+=t}else{const t=()=>{this.editor.editing.view.scrollToTheSelection(o)};this.listenTo(i,"change:isSticky",t),setTimeout((()=>{this.stopListening(i,"change:isSticky",t)}),20)}}_initDialogPluginIntegration(){if(!this.editor.plugins.has("Dialog"))return;const e=this.view.stickyPanel,o=this.editor.plugins.get("Dialog");o.on("show",(()=>{const i=o.view;i.on("moveTo",((o,r)=>{if(!e.isSticky||i.wasMoved)return;const s=new n.Rect(e.contentPanelElement);r[1]<s.bottom+t.DialogView.defaultOffset&&(r[1]=s.bottom+t.DialogView.defaultOffset)}),{priority:"high"})}),{priority:"low"})}}var s=o(591),c=o.n(s),a=o(639),l=o.n(a),d=o(747),u=o.n(d),h=o(21),p=o.n(h),f=o(51),b=o.n(f),g=o(662),v={attributes:{"data-cke":!0}};v.setAttributes=p(),v.insert=u().bind(null,"head"),v.domAPI=l(),v.insertStyleElement=b();c()(g.A,v);g.A&&g.A.locals&&g.A.locals;class m extends t.BoxedEditorUIView{constructor(e,o,i={}){super(e),this.stickyPanel=new t.StickyPanelView(e),this.toolbar=new t.ToolbarView(e,{shouldGroupWhenFull:i.shouldToolbarGroupWhenFull}),i.useMenuBar&&(this.menuBarView=new t.MenuBarView(e)),this.editable=new t.InlineEditableUIView(e,o,void 0,{label:i.label})}render(){super.render(),this.menuBarView?this.stickyPanel.content.addMany([this.menuBarView,this.toolbar]):this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}var k=o(782);const y=function(t){return null!=t&&"object"==typeof t};const w="object"==typeof global&&global&&global.Object===Object&&global;var _="object"==typeof self&&self&&self.Object===Object&&self;const T=(w||_||Function("return this")()).Symbol;var x=Object.prototype,S=x.hasOwnProperty,P=x.toString,O=T?T.toStringTag:void 0;const j=function(t){var e=S.call(t,O),o=t[O];try{t[O]=void 0;var i=!0}catch(t){}var n=P.call(t);return i&&(e?t[O]=o:delete t[O]),n};var E=Object.prototype.toString;const C=function(t){return E.call(t)};var B=T?T.toStringTag:void 0;const D=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":B&&B in Object(t)?j(t):C(t)};const F=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var M=Function.prototype,R=Object.prototype,V=M.toString,A=R.hasOwnProperty,I=V.call(Object);const N=function(t){if(!y(t)||"[object Object]"!=D(t))return!1;var e=F(t);if(null===e)return!0;var o=A.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&V.call(o)==I};const W=function(t){return y(t)&&1===t.nodeType&&!N(t)};class G extends((0,k.ElementApiMixin)(k.Editor)){constructor(t,e={}){if(!K(t)&&void 0!==e.initialData)throw new n.CKEditorError("editor-create-initial-data",null);super(e),this.config.define("menuBar.isVisible",!1),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return K(t)?(0,n.getDataFromElement)(t):t}(t)),K(t)&&(this.sourceElement=t),this.model.document.createRoot();const o=!this.config.get("toolbar.shouldNotGroupWhenFull"),i=this.config.get("menuBar"),s=new m(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:o,useMenuBar:i.isVisible,label:this.config.get("label")});this.ui=new r(this,s),(0,k.attachToForm)(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(t,e={}){return new Promise((o=>{const i=new this(t,e);o(i.initPlugins().then((()=>i.ui.init(K(t)?t:null))).then((()=>i.data.init(i.config.get("initialData")))).then((()=>i.fire("ready"))).then((()=>i)))}))}}function K(t){return W(t)}})(),(window.CKEditor5=window.CKEditor5||{}).editorClassic=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js b/core/assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js index d9f25529b9cb2e2ead2d44c41e2db2c0d2d68beb..18b278c3e47145377a875bcd4840d1800a04a5d3 100644 --- a/core/assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js +++ b/core/assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(r){var i=e[r];if(void 0!==i)return i.exports;var n=e[r]={exports:{}};return t[r](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";o.r(r),o.d(r,{DecoupledEditor:()=>F});var t=o(782),e=o(584),i=o(311),n=o(783);class s extends i.EditorUI{constructor(t,e){super(t),this.view=e}init(){const t=this.editor,e=this.view,o=t.editing.view,r=e.editable,i=o.document.getRoot();r.name=i.rootName,e.render();const n=r.element;this.setEditableElement(r.name,n),e.editable.bind("isFocused").to(this.focusTracker),o.attachDomRoot(n),this._initPlaceholder(),this._initToolbar(),this._initMenuBar(this.view.menuBarView),this.fire("ready")}destroy(){super.destroy();const t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.editor,e=this.view;e.toolbar.fillFromConfig(t.config.get("toolbar"),this.componentFactory),this.addToolbar(e.toolbar)}_initPlaceholder(){const t=this.editor,e=t.editing.view,o=e.document.getRoot(),r=t.config.get("placeholder");if(r){const t="string"==typeof r?r:r[o.rootName];t&&(o.placeholder=t)}(0,n.enablePlaceholder)({view:e,element:o,isDirectHost:!1,keepOnFocus:!0})}}class l extends i.EditorUIView{constructor(t,e,o={}){super(t),this.toolbar=new i.ToolbarView(t,{shouldGroupWhenFull:o.shouldToolbarGroupWhenFull}),this.menuBarView=new i.MenuBarView(t),this.editable=new i.InlineEditableUIView(t,e,o.editableElement,{label:o.label}),this.toolbar.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:t.uiLanguageDirection}}),this.menuBarView.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:t.uiLanguageDirection}})}render(){super.render(),this.registerChild([this.menuBarView,this.toolbar,this.editable])}}const a=function(t){return null!=t&&"object"==typeof t};const c="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=(c||u||Function("return this")()).Symbol;var h=Object.prototype,b=h.hasOwnProperty,p=h.toString,g=d?d.toStringTag:void 0;const f=function(t){var e=b.call(t,g),o=t[g];try{t[g]=void 0;var r=!0}catch(t){}var i=p.call(t);return r&&(e?t[g]=o:delete t[g]),i};var m=Object.prototype.toString;const w=function(t){return m.call(t)};var v=d?d.toStringTag:void 0;const y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":v&&v in Object(t)?f(t):w(t)};const j=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var E=Function.prototype,O=Object.prototype,T=E.toString,x=O.hasOwnProperty,D=T.call(Object);const S=function(t){if(!a(t)||"[object Object]"!=y(t))return!1;var e=j(t);if(null===e)return!0;var o=x.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&T.call(o)==D};const P=function(t){return a(t)&&1===t.nodeType&&!S(t)};class F extends((0,t.ElementApiMixin)(t.Editor)){constructor(o,r={}){if(!_(o)&&void 0!==r.initialData)throw new e.CKEditorError("editor-create-initial-data",null);super(r),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return _(t)?(0,e.getDataFromElement)(t):t}(o)),_(o)&&(this.sourceElement=o,(0,t.secureSourceElement)(this,o)),this.model.document.createRoot();const i=!this.config.get("toolbar.shouldNotGroupWhenFull"),n=new l(this.locale,this.editing.view,{editableElement:this.sourceElement,shouldToolbarGroupWhenFull:i,label:this.config.get("label")});this.ui=new s(this,n)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(t)}))}static create(t,o={}){return new Promise((r=>{if(_(t)&&"TEXTAREA"===t.tagName)throw new e.CKEditorError("editor-wrong-element",null);const i=new this(t,o);r(i.initPlugins().then((()=>i.ui.init())).then((()=>i.data.init(i.config.get("initialData")))).then((()=>i.fire("ready"))).then((()=>i)))}))}}function _(t){return P(t)}})(),(window.CKEditor5=window.CKEditor5||{}).editorDecoupled=r})(); \ No newline at end of file + */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var r=e[i];if(void 0!==r)return r.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{DecoupledEditor:()=>F});var t=o(782),e=o(584),r=o(311),n=o(783);class s extends r.EditorUI{constructor(t,e){super(t),this.view=e}init(){const t=this.editor,e=this.view,o=t.editing.view,i=e.editable,r=o.document.getRoot();i.name=r.rootName,e.render();const n=i.element;this.setEditableElement(i.name,n),e.editable.bind("isFocused").to(this.focusTracker),o.attachDomRoot(n),this._initPlaceholder(),this._initToolbar(),this._initMenuBar(this.view.menuBarView),this.fire("ready")}destroy(){super.destroy();const t=this.view,e=this.editor.editing.view;e.getDomRoot(t.editable.name)&&e.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.editor,e=this.view;e.toolbar.fillFromConfig(t.config.get("toolbar"),this.componentFactory),this.addToolbar(e.toolbar)}_initPlaceholder(){const t=this.editor,e=t.editing.view,o=e.document.getRoot(),i=t.config.get("placeholder");if(i){const t="string"==typeof i?i:i[o.rootName];t&&(o.placeholder=t)}(0,n.enablePlaceholder)({view:e,element:o,isDirectHost:!1,keepOnFocus:!0})}}class l extends r.EditorUIView{constructor(t,e,o={}){super(t),this.toolbar=new r.ToolbarView(t,{shouldGroupWhenFull:o.shouldToolbarGroupWhenFull}),this.menuBarView=new r.MenuBarView(t),this.editable=new r.InlineEditableUIView(t,e,o.editableElement,{label:o.label}),this.toolbar.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:t.uiLanguageDirection}}),this.menuBarView.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:t.uiLanguageDirection}})}render(){super.render(),this.registerChild([this.menuBarView,this.toolbar,this.editable])}}const a=function(t){return null!=t&&"object"==typeof t};const c="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=(c||u||Function("return this")()).Symbol;var h=Object.prototype,b=h.hasOwnProperty,p=h.toString,g=d?d.toStringTag:void 0;const f=function(t){var e=b.call(t,g),o=t[g];try{t[g]=void 0;var i=!0}catch(t){}var r=p.call(t);return i&&(e?t[g]=o:delete t[g]),r};var m=Object.prototype.toString;const w=function(t){return m.call(t)};var v=d?d.toStringTag:void 0;const y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":v&&v in Object(t)?f(t):w(t)};const j=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var E=Function.prototype,O=Object.prototype,T=E.toString,x=O.hasOwnProperty,D=T.call(Object);const S=function(t){if(!a(t)||"[object Object]"!=y(t))return!1;var e=j(t);if(null===e)return!0;var o=x.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&T.call(o)==D};const P=function(t){return a(t)&&1===t.nodeType&&!S(t)};class F extends((0,t.ElementApiMixin)(t.Editor)){constructor(o,i={}){if(!_(o)&&void 0!==i.initialData)throw new e.CKEditorError("editor-create-initial-data",null);super(i),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return _(t)?(0,e.getDataFromElement)(t):t}(o)),_(o)&&(this.sourceElement=o,(0,t.secureSourceElement)(this,o)),this.model.document.createRoot();const r=!this.config.get("toolbar.shouldNotGroupWhenFull"),n=new l(this.locale,this.editing.view,{editableElement:this.sourceElement,shouldToolbarGroupWhenFull:r,label:this.config.get("label")});this.ui=new s(this,n)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(t)}))}static create(t,o={}){return new Promise((i=>{if(_(t)&&"TEXTAREA"===t.tagName)throw new e.CKEditorError("editor-wrong-element",null);const r=new this(t,o);i(r.initPlugins().then((()=>r.ui.init())).then((()=>r.data.init(r.config.get("initialData")))).then((()=>r.fire("ready"))).then((()=>r)))}))}}function _(t){return P(t)}})(),(window.CKEditor5=window.CKEditor5||{}).editorDecoupled=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/editor-inline/editor-inline.js b/core/assets/vendor/ckeditor5/editor-inline/editor-inline.js index 81ae00c42ee9ad0c281ea02551e33d5e2cc941a1..ff5986a9d6ad759e1ab68b4d3bc42fab8b0ff0d1 100644 --- a/core/assets/vendor/ckeditor5/editor-inline/editor-inline.js +++ b/core/assets/vendor/ckeditor5/editor-inline/editor-inline.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={693:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck.ck-menu-bar{border:none;border-bottom:1px solid var(--ck-color-toolbar-border)}",""]);const r=i},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(i[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);n&&i[l[0]]||(o&&(l[2]?l[2]="".concat(o," and ").concat(l[2]):l[2]=o),t.push(l))}},t}},591:(e,t,o)=>{"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),s=[];function a(e){for(var t=-1,o=0;o<s.length;o++)if(s[o].identifier===e){t=o;break}return t}function l(e,t){for(var o={},n=[],i=0;i<e.length;i++){var r=e[i],l=t.base?r[0]+t.base:r[0],c=o[l]||0,u="".concat(l," ").concat(c);o[l]=c+1;var d=a(u),h={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(s[d].references++,s[d].updater(h)):s.push({identifier:u,updater:v(h,t),references:1}),n.push(u)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var i=o.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=r(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function h(e,t,o,n){var i=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,i);else{var r=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function f(e,t,o){var n=o.css,i=o.media,r=o.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,b=0;function v(e,t){var o,n,i;if(t.singleton){var r=b++;o=p||(p=c(t)),n=h.bind(null,o,r,!1),i=h.bind(null,o,r,!0)}else o=c(t),n=f.bind(null,o,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var o=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<o.length;n++){var i=a(o[n]);s[i].references--}for(var r=l(e,t),c=0;c<o.length;c++){var u=a(o[c]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}o=r}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},783:(e,t,o)=>{e.exports=o(237)("./src/engine.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{InlineEditor:()=>A});var e=o(782),t=o(584),i=o(311),r=o(783);class s extends i.EditorUI{constructor(e,t){super(e),this.view=t,this._toolbarConfig=(0,i.normalizeToolbarConfig)(e.config.get("toolbar"))}get element(){return this.view.editable.element}init(){const e=this.editor,t=this.view,o=e.editing.view,n=t.editable,i=o.document.getRoot();n.name=i.rootName,t.render();const r=n.element;this.setEditableElement(n.name,r),n.bind("isFocused").to(this.focusTracker),o.attachDomRoot(r),this._initPlaceholder(),this._initToolbar(),t.menuBarView&&this._initMenuBar(t.menuBarView),this.fire("ready")}destroy(){super.destroy();const e=this.view;this.editor.editing.view.detachDomRoot(e.editable.name),e.destroy()}_initToolbar(){const e=this.editor,t=this.view,o=t.editable.element,n=t.toolbar;t.panel.bind("isVisible").to(this.focusTracker,"isFocused"),t.bind("viewportTopOffset").to(this,"viewportOffset",(({top:e})=>e||0)),t.listenTo(e.ui,"update",(()=>{t.panel.isVisible&&t.panel.pin({target:o,positions:t.panelPositions})})),n.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(n)}_initPlaceholder(){const e=this.editor,t=e.editing.view,o=t.document.getRoot(),n=e.config.get("placeholder");if(n){const e="string"==typeof n?n:n[o.rootName];e&&(o.placeholder=e)}(0,r.enablePlaceholder)({view:t,element:o,isDirectHost:!1,keepOnFocus:!0})}}var a=o(591),l=o.n(a),c=o(693),u={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};l()(c.A,u);c.A.locals;const d=(0,t.toUnit)("px");class h extends i.EditorUIView{constructor(e,t,o,n={}){super(e),this.toolbar=new i.ToolbarView(e,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull,isFloating:!0}),n.useMenuBar&&(this.menuBarView=new i.MenuBarView(e)),this.set("viewportTopOffset",0),this.panel=new i.BalloonPanelView(e),this.panelPositions=this._getPanelPositions(),this.panel.extendTemplate({attributes:{class:"ck-toolbar-container"}}),this.editable=new i.InlineEditableUIView(e,t,o,{label:n.label}),this._resizeObserver=null}render(){super.render(),this.body.add(this.panel),this.registerChild(this.editable),this.menuBarView?this.panel.content.addMany([this.menuBarView,this.toolbar]):this.panel.content.add(this.toolbar);if(this.toolbar.options.shouldGroupWhenFull){const e=this.editable.element;this._resizeObserver=new t.ResizeObserver(e,(()=>{this.toolbar.maxWidth=d(new t.Rect(e).width)}))}}destroy(){super.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_getPanelPositionTop(e,t){let o;return o=e.top>t.height+this.viewportTopOffset?e.top-t.height:e.bottom>t.height+this.viewportTopOffset+50?this.viewportTopOffset:e.bottom,o}_getPanelPositions(){const e=[(e,t)=>({top:this._getPanelPositionTop(e,t),left:e.left,name:"toolbar_west",config:{withArrow:!1}}),(e,t)=>({top:this._getPanelPositionTop(e,t),left:e.left+e.width-t.width,name:"toolbar_east",config:{withArrow:!1}})];return"ltr"===this.locale.uiLanguageDirection?e:e.reverse()}}const f=function(e){return null!=e&&"object"==typeof e};const p="object"==typeof global&&global&&global.Object===Object&&global;var b="object"==typeof self&&self&&self.Object===Object&&self;const v=(p||b||Function("return this")()).Symbol;var g=Object.prototype,m=g.hasOwnProperty,w=g.toString,y=v?v.toStringTag:void 0;const T=function(e){var t=m.call(e,y),o=e[y];try{e[y]=void 0;var n=!0}catch(e){}var i=w.call(e);return n&&(t?e[y]=o:delete e[y]),i};var O=Object.prototype.toString;const j=function(e){return O.call(e)};var E=v?v.toStringTag:void 0;const P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":E&&E in Object(e)?T(e):j(e)};const x=function(e,t){return function(o){return e(t(o))}}(Object.getPrototypeOf,Object);var S=Function.prototype,_=Object.prototype,C=S.toString,F=_.hasOwnProperty,M=C.call(Object);const B=function(e){if(!f(e)||"[object Object]"!=P(e))return!1;var t=x(e);if(null===t)return!0;var o=F.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&C.call(o)==M};const V=function(e){return f(e)&&1===e.nodeType&&!B(e)};class A extends((0,e.ElementApiMixin)(e.Editor)){constructor(o,n={}){if(!D(o)&&void 0!==n.initialData)throw new t.CKEditorError("editor-create-initial-data",null);super(n),this.config.define("menuBar.isVisible",!1),void 0===this.config.get("initialData")&&this.config.set("initialData",function(e){return D(e)?(0,t.getDataFromElement)(e):e}(o)),this.model.document.createRoot(),D(o)&&(this.sourceElement=o,(0,e.secureSourceElement)(this,o));const i=!this.config.get("toolbar.shouldNotGroupWhenFull"),r=this.config.get("menuBar"),a=new h(this.locale,this.editing.view,this.sourceElement,{shouldToolbarGroupWhenFull:i,useMenuBar:r.isVisible,label:this.config.get("label")});this.ui=new s(this,a),(0,e.attachToForm)(this)}destroy(){const e=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(e)}))}static create(e,o={}){return new Promise((n=>{if(D(e)&&"TEXTAREA"===e.tagName)throw new t.CKEditorError("editor-wrong-element",null);const i=new this(e,o);n(i.initPlugins().then((()=>i.ui.init())).then((()=>i.data.init(i.config.get("initialData")))).then((()=>i.fire("ready"))).then((()=>i)))}))}}function D(e){return V(e)}})(),(window.CKEditor5=window.CKEditor5||{}).editorInline=n})(); \ No newline at end of file + */(()=>{var t={693:(t,e,o)=>{"use strict";o.d(e,{A:()=>a});var n=o(758),r=o.n(n),i=o(935),s=o.n(i)()(r());s.push([t.id,".ck.ck-menu-bar{border:none;border-bottom:1px solid var(--ck-color-toolbar-border)}",""]);const a=s},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o="",n=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),n&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=t(e),n&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(t,o,n,r,i){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);n&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function o(t){for(var o=-1,n=0;n<e.length;n++)if(e[n].identifier===t){o=n;break}return o}function n(t,n){for(var i={},s=[],a=0;a<t.length;a++){var l=t[a],c=n.base?l[0]+n.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var h=o(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)e[h].references++,e[h].updater(p);else{var f=r(p,n);n.byIndex=a,e.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(t,e){var o=e.domAPI(e);o.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;o.update(t=e)}else o.remove()}}t.exports=function(t,r){var i=n(t=t||[],r=r||{});return function(t){t=t||[];for(var s=0;s<i.length;s++){var a=o(i[s]);e[a].references--}for(var l=n(t,r),c=0;c<i.length;c++){var u=o(i[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}i=l}}},128:t=>{"use strict";var e={};t.exports=function(t,o){var n=function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[t]=o}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}},639:t=>{"use strict";var e,o=(e=[],function(t,o){return e[t]=o,e.filter(Boolean).join("\n")});function n(t,e,n,r){var i;if(n)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,s&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(t.styleSheet)t.styleSheet.cssText=o(e,i);else{var a=document.createTextNode(i),l=t.childNodes;l[e]&&t.removeChild(l[e]),l.length?t.insertBefore(a,l[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,o=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(o,e,!1,t)},remove:function(t){n(o,e,!0,t)}}}},782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(n){var r=e[n];if(void 0!==r)return r.exports;var i=e[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{InlineEditor:()=>G});var t=o(782),e=o(584),r=o(311),i=o(783);class s extends r.EditorUI{constructor(t,e){super(t),this.view=e,this._toolbarConfig=(0,r.normalizeToolbarConfig)(t.config.get("toolbar"))}get element(){return this.view.editable.element}init(){const t=this.editor,e=this.view,o=t.editing.view,n=e.editable,r=o.document.getRoot();n.name=r.rootName,e.render();const i=n.element;this.setEditableElement(n.name,i),n.bind("isFocused").to(this.focusTracker),o.attachDomRoot(i),this._initPlaceholder(),this._initToolbar(),e.menuBarView&&this._initMenuBar(e.menuBarView),this.fire("ready")}destroy(){super.destroy();const t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.editor,e=this.view,o=e.editable.element,n=e.toolbar;e.panel.bind("isVisible").to(this.focusTracker,"isFocused"),e.bind("viewportTopOffset").to(this,"viewportOffset",(({top:t})=>t||0)),e.listenTo(t.ui,"update",(()=>{e.panel.isVisible&&e.panel.pin({target:o,positions:e.panelPositions})})),n.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(n)}_initPlaceholder(){const t=this.editor,e=t.editing.view,o=e.document.getRoot(),n=t.config.get("placeholder");if(n){const t="string"==typeof n?n:n[o.rootName];t&&(o.placeholder=t)}(0,i.enablePlaceholder)({view:e,element:o,isDirectHost:!1,keepOnFocus:!0})}}var a=o(591),l=o.n(a),c=o(639),u=o.n(c),d=o(128),h=o.n(d),p=o(21),f=o.n(p),b=o(51),v=o.n(b),g=o(693),m={attributes:{"data-cke":!0}};m.setAttributes=f(),m.insert=h().bind(null,"head"),m.domAPI=u(),m.insertStyleElement=v();l()(g.A,m);g.A&&g.A.locals&&g.A.locals;const w=(0,e.toUnit)("px");class y extends r.EditorUIView{constructor(t,e,o,n={}){super(t),this.toolbar=new r.ToolbarView(t,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull,isFloating:!0}),n.useMenuBar&&(this.menuBarView=new r.MenuBarView(t)),this.set("viewportTopOffset",0),this.panel=new r.BalloonPanelView(t),this.panelPositions=this._getPanelPositions(),this.panel.extendTemplate({attributes:{class:"ck-toolbar-container"}}),this.editable=new r.InlineEditableUIView(t,e,o,{label:n.label}),this._resizeObserver=null}render(){super.render(),this.body.add(this.panel),this.registerChild(this.editable),this.menuBarView?this.panel.content.addMany([this.menuBarView,this.toolbar]):this.panel.content.add(this.toolbar);if(this.toolbar.options.shouldGroupWhenFull){const t=this.editable.element;this._resizeObserver=new e.ResizeObserver(t,(()=>{this.toolbar.maxWidth=w(new e.Rect(t).width)}))}}destroy(){super.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_getPanelPositionTop(t,e){let o;return o=t.top>e.height+this.viewportTopOffset?t.top-e.height:t.bottom>e.height+this.viewportTopOffset+50?this.viewportTopOffset:t.bottom,o}_getPanelPositions(){const t=[(t,e)=>({top:this._getPanelPositionTop(t,e),left:t.left,name:"toolbar_west",config:{withArrow:!1}}),(t,e)=>({top:this._getPanelPositionTop(t,e),left:t.left+t.width-e.width,name:"toolbar_east",config:{withArrow:!1}})];return"ltr"===this.locale.uiLanguageDirection?t:t.reverse()}}const O=function(t){return null!=t&&"object"==typeof t};const T="object"==typeof global&&global&&global.Object===Object&&global;var E="object"==typeof self&&self&&self.Object===Object&&self;const j=(T||E||Function("return this")()).Symbol;var x=Object.prototype,P=x.hasOwnProperty,_=x.toString,S=j?j.toStringTag:void 0;const F=function(t){var e=P.call(t,S),o=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=_.call(t);return n&&(e?t[S]=o:delete t[S]),r};var C=Object.prototype.toString;const A=function(t){return C.call(t)};var B=j?j.toStringTag:void 0;const M=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":B&&B in Object(t)?F(t):A(t)};const V=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var D=Function.prototype,I=Object.prototype,k=D.toString,R=I.hasOwnProperty,N=k.call(Object);const z=function(t){if(!O(t)||"[object Object]"!=M(t))return!1;var e=V(t);if(null===e)return!0;var o=R.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&k.call(o)==N};const W=function(t){return O(t)&&1===t.nodeType&&!z(t)};class G extends((0,t.ElementApiMixin)(t.Editor)){constructor(o,n={}){if(!K(o)&&void 0!==n.initialData)throw new e.CKEditorError("editor-create-initial-data",null);super(n),this.config.define("menuBar.isVisible",!1),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return K(t)?(0,e.getDataFromElement)(t):t}(o)),this.model.document.createRoot(),K(o)&&(this.sourceElement=o,(0,t.secureSourceElement)(this,o));const r=!this.config.get("toolbar.shouldNotGroupWhenFull"),i=this.config.get("menuBar"),a=new y(this.locale,this.editing.view,this.sourceElement,{shouldToolbarGroupWhenFull:r,useMenuBar:i.isVisible,label:this.config.get("label")});this.ui=new s(this,a),(0,t.attachToForm)(this)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(t)}))}static create(t,o={}){return new Promise((n=>{if(K(t)&&"TEXTAREA"===t.tagName)throw new e.CKEditorError("editor-wrong-element",null);const r=new this(t,o);n(r.initPlugins().then((()=>r.ui.init())).then((()=>r.data.init(r.config.get("initialData")))).then((()=>r.fire("ready"))).then((()=>r)))}))}}function K(t){return W(t)}})(),(window.CKEditor5=window.CKEditor5||{}).editorInline=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/essentials/essentials.js b/core/assets/vendor/ckeditor5/essentials/essentials.js index 7a66063510a4d27fd2e5e967364efd790293c7d9..c5197d43594512174016a6e10b76dede41f31e0b 100644 --- a/core/assets/vendor/ckeditor5/essentials/essentials.js +++ b/core/assets/vendor/ckeditor5/essentials/essentials.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={331:(e,r,t)=>{e.exports=t(237)("./src/clipboard.js")},782:(e,r,t)=>{e.exports=t(237)("./src/core.js")},507:(e,r,t)=>{e.exports=t(237)("./src/enter.js")},727:(e,r,t)=>{e.exports=t(237)("./src/select-all.js")},834:(e,r,t)=>{e.exports=t(237)("./src/typing.js")},311:(e,r,t)=>{e.exports=t(237)("./src/ui.js")},251:(e,r,t)=>{e.exports=t(237)("./src/undo.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},r={};function t(s){var o=r[s];if(void 0!==o)return o.exports;var i=r[s]={exports:{}};return e[s](i,i.exports,t),i.exports}t.d=(e,r)=>{for(var s in r)t.o(r,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:r[s]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";t.r(s),t.d(s,{Essentials:()=>c});var e=t(782),r=t(331),o=t(507),i=t(727),n=t(834),l=t(251),p=t(311);class c extends e.Plugin{static get requires(){return[p.AccessibilityHelp,r.Clipboard,o.Enter,i.SelectAll,o.ShiftEnter,n.Typing,l.Undo]}static get pluginName(){return"Essentials"}}})(),(window.CKEditor5=window.CKEditor5||{}).essentials=s})(); \ No newline at end of file + */(()=>{var e={331:(e,r,t)=>{e.exports=t(237)("./src/clipboard.js")},782:(e,r,t)=>{e.exports=t(237)("./src/core.js")},507:(e,r,t)=>{e.exports=t(237)("./src/enter.js")},727:(e,r,t)=>{e.exports=t(237)("./src/select-all.js")},834:(e,r,t)=>{e.exports=t(237)("./src/typing.js")},311:(e,r,t)=>{e.exports=t(237)("./src/ui.js")},251:(e,r,t)=>{e.exports=t(237)("./src/undo.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},r={};function t(s){var o=r[s];if(void 0!==o)return o.exports;var i=r[s]={exports:{}};return e[s](i,i.exports,t),i.exports}t.d=(e,r)=>{for(var s in r)t.o(r,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:r[s]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";t.r(s),t.d(s,{Essentials:()=>a});var e=t(782),r=t(331),o=t(507),i=t(727),n=t(834),l=t(251),c=t(311);class a extends e.Plugin{static get requires(){return[c.AccessibilityHelp,r.Clipboard,o.Enter,i.SelectAll,o.ShiftEnter,n.Typing,l.Undo]}static get pluginName(){return"Essentials"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).essentials=s})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/find-and-replace/find-and-replace.js b/core/assets/vendor/ckeditor5/find-and-replace/find-and-replace.js index 365d4bbb855ef125c37b0c51b8d0ec95f72c5597..661ed7be676bc64935b852be3d3df175db87bf13 100644 --- a/core/assets/vendor/ckeditor5/find-and-replace/find-and-replace.js +++ b/core/assets/vendor/ckeditor5/find-and-replace/find-and-replace.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const s=r},629:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-find-result{background:var(--ck-color-highlight-background);color:var(--ck-color-text)}.ck-find-result_selected{background:#ff9633}",""]);const s=r},979:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-find-and-replace-form{max-width:100%;& .ck-find-and-replace-form__inputs,.ck-find-and-replace-form__actions{display:flex}& .ck-find-and-replace-form__inputs.ck-find-and-replace-form__inputs .ck-results-counter,.ck-find-and-replace-form__actions.ck-find-and-replace-form__inputs .ck-results-counter{position:absolute}}.ck.ck-find-and-replace-form{width:400px}.ck.ck-find-and-replace-form:focus{outline:none}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{align-content:stretch;align-items:center;flex:1 1 auto;flex-direction:row;flex-wrap:wrap;margin:0;padding:var(--ck-spacing-large)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button{flex:0 0 auto}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>*+*,[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>*+*{margin-left:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>*+*,[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>*+*{margin-right:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view{flex:1 1 auto}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view .ck-input,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view .ck-input{min-width:50px;width:100%}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{align-items:flex-start}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button-prev>.ck-icon{transform:rotate(90deg)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button-next>.ck-icon{transform:rotate(-90deg)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{left:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{color:var(--ck-color-base-border)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{flex:0 0 100%;padding-top:var(--ck-spacing-standard)}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{margin-right:0}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions{flex-wrap:wrap;justify-content:flex-end;margin-top:calc(var(--ck-spacing-large)*-1)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button-find{font-weight:700}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button-find .ck-button__label{padding-left:var(--ck-spacing-large);padding-right:var(--ck-spacing-large)}.ck.ck-find-and-replace-form .ck-switchbutton{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%}@media screen and (max-width:600px){.ck.ck-find-and-replace-form{max-width:100%;width:300px}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input{flex-wrap:wrap}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input .ck-labeled-field-view{flex:1 0 auto;margin-bottom:var(--ck-spacing-standard);width:100%}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button{text-align:center}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type .ck-button__label{text-align:center;width:100%}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view){flex:1 1 auto;flex-wrap:wrap}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button{text-align:center}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button .ck-button__label{text-align:center;width:100%}}",""]);const s=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var s=0;s<this.length;s++){var a=this[s][0];null!=a&&(r[a]=!0)}for(var o=0;o<e.length;o++){var c=[].concat(e[o]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},591:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),a=[];function o(e){for(var t=-1,i=0;i<a.length;i++)if(a[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var s=e[r],c=t.base?s[0]+t.base:s[0],l=i[c]||0,d="".concat(c," ").concat(l);i[c]=l+1;var h=o(d),u={css:s[1],media:s[2],sourceMap:s[3]};-1!==h?(a[h].references++,a[h].updater(u)):a.push({identifier:d,updater:g(u,t),references:1}),n.push(d)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=s(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var d,h=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function u(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=h(t,r);else{var s=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}function f(e,t,i){var n=i.css,r=i.media,s=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,m=0;function g(e,t){var i,n,r;if(t.singleton){var s=m++;i=p||(p=l(t)),n=u.bind(null,i,s,!1),r=u.bind(null,i,s,!0)}else i=l(t),n=f.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=o(i[n]);a[r].references--}for(var s=c(e,t),l=0;l<i.length;l++){var d=o(i[l]);0===a[d].references&&(a[d].updater(),a.splice(d,1))}i=s}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{FindAndReplace:()=>de,FindAndReplaceEditing:()=>le,FindAndReplaceUI:()=>f,FindAndReplaceUtils:()=>K,FindCommand:()=>p,FindNextCommand:()=>_,FindPreviousCommand:()=>w,ReplaceAllCommand:()=>k,ReplaceCommand:()=>g});var e=i(782),t=i(311),r=i(584),s=i(591),a=i.n(s),o=i(501),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(o.A,c);o.A.locals;var l=i(979),d={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(l.A,d);l.A.locals;class h extends t.View{constructor(i){super(i);const n=i.t;this.children=this.createCollection(),this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",((e,t)=>e>0&&!t)),this._findInputView=this._createInputField(n("Find in text…")),this._findPrevButtonView=this._createButton({label:n("Previous result"),class:"ck-button-prev",icon:e.icons.previousArrow,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:n("Next result"),class:"ck-button-next",icon:e.icons.previousArrow,keystroke:"F3",tooltip:!0}),this._replaceInputView=this._createInputField(n("Replace with…"),"ck-labeled-field-replace"),this._inputsDivView=this._createInputsDiv(),this._matchCaseSwitchView=this._createMatchCaseSwitch(),this._wholeWordsOnlySwitchView=this._createWholeWordsOnlySwitch(),this._advancedOptionsCollapsibleView=this._createAdvancedOptionsCollapsible(),this._replaceAllButtonView=this._createButton({label:n("Replace all"),class:"ck-button-replaceall",withText:!0}),this._replaceButtonView=this._createButton({label:n("Replace"),class:"ck-button-replace",withText:!0}),this._findButtonView=this._createButton({label:n("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._actionButtonsDivView=this._createActionButtonsDiv(),this._focusTracker=new r.FocusTracker,this._keystrokes=new r.KeystrokeHandler,this._focusables=new t.ViewCollection,this.focusCycler=new t.FocusCycler({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.addMany([this._inputsDivView,this._advancedOptionsCollapsibleView,this._actionButtonsDivView]),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,t.submitHandler)({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createInputsDiv(){const e=this.locale,i=e.t,n=new t.View(e);return this._findInputView.fieldView.on("input",(()=>{this.isDirty=!0})),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findPrevious:e})=>e)),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findNext:e})=>e)),this._injectFindResultsCounter(),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",((e,t)=>e||!t?"":i("Tip: Find some text first in order to replace it."))),n.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__inputs"]},children:[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView]}),n}_onFindButtonExecute(){if(this._textToFind)this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly});else{const e=this.t;this._findInputView.errorText=e("Text to find must not be empty.")}}_injectFindResultsCounter(){const e=this.locale,i=e.t,n=this.bindTemplate,s=new t.View(this.locale);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",((e,t)=>i("%0 of %1",[e,t]))),s.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",n.if("isDirty","ck-hidden")]},children:[{text:n.to("_resultsCounterText")}]});const a=()=>{const t=this._findInputView.fieldView.element;if(!t||!(0,r.isVisible)(t))return;const i=new r.Rect(s.element).width,n="ltr"===e.uiLanguageDirection?"paddingRight":"paddingLeft";t.style[n]=i?`calc( 2 * var(--ck-spacing-standard) + ${i}px )`:""};this.on("change:_resultsCounterText",a,{priority:"low"}),this.on("change:isDirty",a,{priority:"low"}),this._findInputView.template.children[0].children.push(s)}_createAdvancedOptionsCollapsible(){const e=this.locale.t,i=new t.CollapsibleView(this.locale,[this._matchCaseSwitchView,this._wholeWordsOnlySwitchView]);return i.set({label:e("Advanced options"),isCollapsed:!0}),i}_createActionButtonsDiv(){const e=new t.View(this.locale);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replaceAll:e},t)=>e&&t)),this._replaceButtonView.on("execute",(()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})})),this._replaceAllButtonView.on("execute",(()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()})),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),e.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__actions"]},children:[this._replaceAllButtonView,this._replaceButtonView,this._findButtonView]}),e}_createMatchCaseSwitch(){const e=this.locale.t,i=new t.SwitchButtonView(this.locale);return i.set({label:e("Match case"),withText:!0}),i.bind("isOn").to(this,"_matchCase"),i.on("execute",(()=>{this._matchCase=!this._matchCase,this.isDirty=!0})),i}_createWholeWordsOnlySwitch(){const e=this.locale.t,i=new t.SwitchButtonView(this.locale);return i.set({label:e("Whole words only"),withText:!0}),i.bind("isOn").to(this,"_wholeWordsOnly"),i.on("execute",(()=>{this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0})),i}_initFocusCycling(){[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._advancedOptionsCollapsibleView.buttonView,this._matchCaseSwitchView,this._wholeWordsOnlySwitchView,this._replaceAllButtonView,this._replaceButtonView,this._findButtonView].forEach((e=>{this._focusables.add(e),this._focusTracker.add(e.element)}))}_initKeystrokeHandling(){const e=e=>e.stopPropagation(),t=e=>{e.stopPropagation(),e.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",(e=>{t(e),this._findNextButtonView.fire("execute")})),this._keystrokes.set("shift+f3",(e=>{t(e),this._findPrevButtonView.fire("execute")})),this._keystrokes.set("enter",(e=>{const i=e.target;i===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e)):i!==this._replaceInputView.fieldView.element||this.isDirty||(this._replaceButtonView.fire("execute"),t(e))})),this._keystrokes.set("shift+enter",(e=>{e.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e))})),this._keystrokes.set("arrowright",e),this._keystrokes.set("arrowleft",e),this._keystrokes.set("arrowup",e),this._keystrokes.set("arrowdown",e)}_createButton(e){const i=new t.ButtonView(this.locale);return i.set(e),i}_createInputField(e,i){const n=new t.LabeledFieldView(this.locale,t.createLabeledInputText);return n.label=e,n.class=i,n}}const u='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.87 13.786 1.532-1.286 3.857 4.596a1 1 0 1 1-1.532 1.286l-3.857-4.596z"/><path d="M16.004 8.5a6.5 6.5 0 0 1-9.216 5.905c-1.154-.53-.863-1.415-.663-1.615.194-.194.564-.592 1.635-.141a4.5 4.5 0 0 0 5.89-5.904l-.104-.227 1.332-1.331c.045-.046.196-.041.224.007a6.47 6.47 0 0 1 .902 3.306zm-3.4-5.715c.562.305.742 1.106.354 1.494-.388.388-.995.414-1.476.178a4.5 4.5 0 0 0-6.086 5.882l.114.236-1.348 1.349c-.038.037-.17.022-.198-.023a6.5 6.5 0 0 1 5.54-9.9 6.469 6.469 0 0 1 3.1.784z"/><path d="M4.001 11.93.948 8.877a.2.2 0 0 1 .141-.341h6.106a.2.2 0 0 1 .141.341L4.283 11.93a.2.2 0 0 1-.282 0zm11.083-6.789 3.053 3.053a.2.2 0 0 1-.14.342H11.89a.2.2 0 0 1-.14-.342l3.052-3.053a.2.2 0 0 1 .282 0z"/></svg>';class f extends e.Plugin{static get requires(){return[t.Dialog]}static get pluginName(){return"FindAndReplaceUI"}constructor(e){super(e),e.config.define("findAndReplace.uiType","dialog"),this.formView=null}init(){const e=this.editor,i="dropdown"===e.config.get("findAndReplace.uiType"),n=e.commands.get("find"),r=this.editor.t;e.ui.componentFactory.add("findAndReplace",(()=>{let r;return i?(r=this._createDropdown(),r.bind("isEnabled").to(n)):r=this._createDialogButtonForToolbar(),e.keystrokes.set("Ctrl+F",((i,s)=>{if(n.isEnabled){if(r instanceof t.DropdownView){const e=r.buttonView;e.isOn||e.fire("execute")}else r.isOn?e.plugins.get("Dialog").view.focus():r.fire("execute");s()}})),r})),i||e.ui.componentFactory.add("menuBar:findAndReplace",(()=>this._createDialogButtonForMenuBar())),e.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Find in the document"),keystroke:"CTRL+F"}]})}_createDropdown(){const e=this.editor,i=e.locale.t,n=(0,t.createDropdown)(e.locale);return n.once("change:isOpen",(()=>{this.formView=this._createFormView(),this.formView.children.add(new t.FormHeaderView(e.locale,{label:i("Find and replace")}),0),n.panelView.children.add(this.formView)})),n.on("change:isOpen",((e,t,i)=>{i?this._setupFormView():this.fire("searchReseted")}),{priority:"low"}),n.buttonView.set({icon:u,label:i("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),n}_createDialogButtonForToolbar(){const e=this.editor,i=this._createButton(t.ButtonView),n=e.plugins.get("Dialog");return i.set({tooltip:!0}),i.bind("isOn").to(n,"id",(e=>"findAndReplace"===e)),i.on("execute",(()=>{i.isOn?n.hide():this._showDialog()})),i}_createDialogButtonForMenuBar(){const e=this._createButton(t.MenuBarMenuListItemButtonView),i=this.editor.plugins.get("Dialog"),n=this.editor.plugins.get("Dialog");return e.set({role:"menuitemcheckbox",isToggleable:!0}),e.bind("isOn").to(n,"id",(e=>"findAndReplace"===e)),e.on("execute",(()=>{"findAndReplace"!==i.id?this._showDialog():i.hide()})),e}_createButton(e){const t=this.editor,i=t.commands.get("find"),n=new e(t.locale),r=t.locale.t;return n.bind("isEnabled").to(i),n.set({icon:u,label:r("Find and replace"),keystroke:"CTRL+F"}),n}_showDialog(){const e=this.editor,i=e.plugins.get("Dialog"),n=e.locale.t;this.formView||(this.formView=this._createFormView()),i.show({id:"findAndReplace",title:n("Find and replace"),content:this.formView,position:t.DialogViewPosition.EDITOR_TOP_SIDE,onShow:()=>{this._setupFormView()},onHide:()=>{this.fire("searchReseted")}})}_createFormView(){const e=this.editor,i=new((0,t.CssTransitionDisablerMixin)(h))(e.locale),n=e.commands,r=this.editor.plugins.get("FindAndReplaceEditing").state;i.bind("highlightOffset").to(r,"highlightedOffset"),i.listenTo(r.results,"change",(()=>{i.matchCount=r.results.length}));const s=n.get("findNext"),a=n.get("findPrevious"),o=n.get("replace"),c=n.get("replaceAll");return i.bind("_areCommandsEnabled").to(s,"isEnabled",a,"isEnabled",o,"isEnabled",c,"isEnabled",((e,t,i,n)=>({findNext:e,findPrevious:t,replace:i,replaceAll:n}))),i.delegate("findNext","findPrevious","replace","replaceAll").to(this),i.on("change:isDirty",((e,t,i)=>{i&&this.fire("searchReseted")})),i}_setupFormView(){this.formView.disableCssTransitions(),this.formView.reset(),this.formView._findInputView.fieldView.select(),this.formView.enableCssTransitions()}}class p extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this.affectsData=!1,this._state=t}execute(e,{matchCase:t,wholeWords:i}={}){const{editor:n}=this,{model:r}=n,s=n.plugins.get("FindAndReplaceUtils");let a,o="";a="string"==typeof e?(...n)=>({results:s.findByTextCallback(e,{matchCase:t,wholeWords:i})(...n),searchText:e}):e;const c=a;a=(...e)=>{const t=c(...e);return t&&"searchText"in t&&(o=t.searchText),t};const l=r.document.getRootNames().reduce(((e,t)=>s.updateFindResultFromRange(r.createRangeIn(r.document.getRoot(t)),r,a,e)),null);return this._state.clear(r),this._state.results.addMany(l),this._state.highlightedResult=l.get(0),this._state.searchText=o,a&&(this._state.lastSearchCallback=a),this._state.matchCase=!!t,this._state.matchWholeWords=!!i,{results:l,findCallback:a}}}class m extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this._state=t,this._isEnabledBasedOnSelection=!1}_replace(e,t){const{model:i}=this.editor,n=t.marker.getRange();i.canEditAt(n)&&i.change((r=>{if("$graveyard"===n.root.rootName)return void this._state.results.remove(t);let s={};for(const e of n.getItems())if(e.is("$text")||e.is("$textProxy")){s=e.getAttributes();break}i.insertContent(r.createText(e,s),n),this._state.results.has(t)&&this._state.results.remove(t)}))}}class g extends m{execute(e,t){this._replace(e,t)}}class k extends m{execute(e,t){const{editor:i}=this,{model:n}=i,s=i.plugins.get("FindAndReplaceUtils"),a=t instanceof r.Collection?t:n.document.getRootNames().reduce(((e,i)=>s.updateFindResultFromRange(n.createRangeIn(n.document.getRoot(i)),n,s.findByTextCallback(t,this._state),e)),null);a.length&&n.change((()=>{[...a].forEach((t=>{this._replace(e,t)}))}))}}class _ extends e.Command{constructor(e,t){super(e),this.affectsData=!1,this._state=t,this.isEnabled=!1,this.listenTo(this._state.results,"change",(()=>{this.isEnabled=this._state.results.length>1}))}refresh(){this.isEnabled=this._state.results.length>1}execute(){const e=this._state.results,t=e.getIndex(this._state.highlightedResult),i=t+1>=e.length?0:t+1;this._state.highlightedResult=this._state.results.get(i)}}class w extends _{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),t=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(t)}}class b extends((0,r.ObservableMixin)()){constructor(e){super(),this.set("results",new r.Collection),this.set("highlightedResult",null),this.set("highlightedOffset",0),this.set("searchText",""),this.set("replaceText",""),this.set("lastSearchCallback",null),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",((t,{removed:i,index:n})=>{if(Array.from(i).length){let t=!1;if(e.change((n=>{for(const r of i)this.highlightedResult===r&&(t=!0),e.markers.has(r.marker.name)&&n.removeMarker(r.marker)})),t){const e=n>=this.results.length?0:n;this.highlightedResult=this.results.get(e)}}})),this.on("change:highlightedResult",(()=>{this.refreshHighlightOffset()}))}clear(e){this.searchText="",e.change((t=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],n=e.markers.get(`findResultHighlighted:${i}`);n&&t.removeMarker(n)}[...this.results].forEach((({marker:e})=>{t.removeMarker(e)}))})),this.results.clear()}refreshHighlightOffset(){const{highlightedResult:e,results:t}=this,i={before:-1,same:0,after:1,different:1};this.highlightedOffset=e?Array.from(t).sort(((e,t)=>i[e.marker.getStart().compareWith(t.marker.getStart())])).indexOf(e)+1:0}}const v="object"==typeof global&&global&&global.Object===Object&&global;var x="object"==typeof self&&self&&self.Object===Object&&self;const y=v||x||Function("return this")();const T=y.Symbol;const R=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r};const V=Array.isArray;var C=Object.prototype,F=C.hasOwnProperty,A=C.toString,B=T?T.toStringTag:void 0;const E=function(e){var t=F.call(e,B),i=e[B];try{e[B]=void 0;var n=!0}catch(e){}var r=A.call(e);return n&&(t?e[B]=i:delete e[B]),r};var O=Object.prototype.toString;const S=function(e){return O.call(e)};var D=T?T.toStringTag:void 0;const I=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":D&&D in Object(e)?E(e):S(e)};const N=function(e){return null!=e&&"object"==typeof e};const P=function(e){return"symbol"==typeof e||N(e)&&"[object Symbol]"==I(e)};var M=T?T.prototype:void 0,j=M?M.toString:void 0;const W=function e(t){if("string"==typeof t)return t;if(V(t))return R(t,e)+"";if(P(t))return j?j.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i};const $=function(e){return null==e?"":W(e)};var H=/[\\^$.*+?()[\]{}|]/g,L=RegExp(H.source);const U=function(e){return(e=$(e))&&L.test(e)?e.replace(H,"\\$&"):e};class K extends e.Plugin{static get pluginName(){return"FindAndReplaceUtils"}updateFindResultFromRange(e,t,i,n){const s=n||new r.Collection;return t.change((n=>{[...e].forEach((({type:e,item:a})=>{if("elementStart"===e&&t.schema.checkChild(a,"$text")){let e=i({item:a,text:this.rangeToText(t.createRangeIn(a))});if(!e)return;"results"in e&&(e=e.results),e.forEach((e=>{const t=`findResult:${(0,r.uid)()}`,i=n.addMarker(t,{usingOperation:!1,affectsData:!1,range:n.createRange(n.createPositionAt(a,e.start),n.createPositionAt(a,e.end))}),o=function(e,t){const i=e.find((({marker:e})=>t.getStart().isBefore(e.getStart())));return i?e.getIndex(i):e.length}(s,i);(e=>s.find((t=>{const{marker:i}=t,n=i.getRange(),r=e.getRange();return n.isEqual(r)})))(i)||s.add({id:t,label:e.label,marker:i},o)}))}}))})),s}rangeToText(e){return Array.from(e.getItems()).reduce(((e,t)=>t.is("$text")||t.is("$textProxy")?e+t.data:`${e}\n`),"")}findByTextCallback(e,t){let i="gu";t.matchCase||(i+="i");let n=`(${U(e)})`;if(t.wholeWords){const t="[^a-zA-ZÀ-ÉḀ-ỿ]";new RegExp("^"+t).test(e)||(n=`(^|${t}|_)${n}`),new RegExp(t+"$").test(e)||(n=`${n}(?=_|${t}|$)`)}const r=new RegExp(n,i);return function({text:e}){return[...e.matchAll(r)].map(z)}}}function z(e){const t=e.length-1;let i=e.index;return 3===e.length&&(i+=e[1].length),{label:e[t],start:i,end:i+e[t].length}}const q=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const J=function(){return y.Date.now()};var Y=/\s/;const Z=function(e){for(var t=e.length;t--&&Y.test(e.charAt(t)););return t};var G=/^\s+/;const Q=function(e){return e?e.slice(0,Z(e)+1).replace(G,""):e};var X=/^[-+]0x[0-9a-f]+$/i,ee=/^0b[01]+$/i,te=/^0o[0-7]+$/i,ie=parseInt;const ne=function(e){if("number"==typeof e)return e;if(P(e))return NaN;if(q(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=q(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Q(e);var i=ee.test(e);return i||te.test(e)?ie(e.slice(2),i?2:8):X.test(e)?NaN:+e};var re=Math.max,se=Math.min;const ae=function(e,t,i){var n,r,s,a,o,c,l=0,d=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var i=n,s=r;return n=r=void 0,l=t,a=e.apply(s,i)}function p(e){var i=e-c;return void 0===c||i>=t||i<0||h&&e-l>=s}function m(){var e=J();if(p(e))return g(e);o=setTimeout(m,function(e){var i=t-(e-c);return h?se(i,s-(e-l)):i}(e))}function g(e){return o=void 0,u&&n?f(e):(n=r=void 0,a)}function k(){var e=J(),i=p(e);if(n=arguments,r=this,c=e,i){if(void 0===o)return function(e){return l=e,o=setTimeout(m,t),d?f(e):a}(c);if(h)return clearTimeout(o),o=setTimeout(m,t),f(c)}return void 0===o&&(o=setTimeout(m,t)),a}return t=ne(t)||0,q(i)&&(d=!!i.leading,s=(h="maxWait"in i)?re(ne(i.maxWait)||0,t):s,u="trailing"in i?!!i.trailing:u),k.cancel=function(){void 0!==o&&clearTimeout(o),l=0,n=c=r=o=void 0},k.flush=function(){return void 0===o?a:g(J())},k};var oe=i(629),ce={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(oe.A,ce);oe.A.locals;class le extends e.Plugin{constructor(){super(...arguments),this._onDocumentChange=()=>{const e=new Set,t=new Set,i=this.editor.model,{results:n}=this.state,r=i.document.differ.getChanges(),s=i.document.differ.getChangedMarkers();r.forEach((n=>{n.position&&("$text"===n.name||n.position.nodeAfter&&i.schema.isInline(n.position.nodeAfter)?(e.add(n.position.parent),[...i.markers.getMarkersAtPosition(n.position)].forEach((e=>{t.add(e.name)}))):"insert"===n.type&&n.position.nodeAfter&&e.add(n.position.nodeAfter))})),s.forEach((({name:e,data:{newRange:i}})=>{i&&"$graveyard"===i.start.root.rootName&&t.add(e)})),e.forEach((e=>{[...i.markers.getMarkersIntersectingRange(i.createRangeIn(e))].forEach((e=>t.add(e.name)))})),t.forEach((e=>{n.has(e)&&(n.get(e)===this.state.highlightedResult&&(this.state.highlightedResult=null),n.remove(e))}));const a=[],o=this.editor.plugins.get("FindAndReplaceUtils");e.forEach((e=>{const t=o.updateFindResultFromRange(i.createRangeOn(e),i,this.state.lastSearchCallback,n);a.push(...t)})),s.forEach((e=>{if(e.data.newRange){const t=o.updateFindResultFromRange(e.data.newRange,i,this.state.lastSearchCallback,n);a.push(...t)}})),!this.state.highlightedResult&&a.length?this.state.highlightedResult=a[0]:this.state.refreshHighlightOffset()}}static get requires(){return[K]}static get pluginName(){return"FindAndReplaceEditing"}init(){this.state=new b(this.editor.model),this.set("_isSearchActive",!1),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",((e,t,i,n)=>{const{model:r}=this.editor;r.change((e=>{if(n){const t=n.marker.name.split(":")[1],i=r.markers.get(`findResultHighlighted:${t}`);i&&e.removeMarker(i)}if(i){const t=i.marker.name.split(":")[1];e.addMarker(`findResultHighlighted:${t}`,{usingOperation:!1,affectsData:!1,range:i.marker.getRange()})}}))}));const e=ae(((e,t,i)=>{if(i){const e=this.editor.editing.view.domConverter,t=this.editor.editing.mapper.toViewRange(i.marker.getRange());(0,r.scrollViewportToShowTarget)({target:e.viewRangeToDom(t),viewportOffset:40})}}).bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel),this.on("change:_isSearchActive",((e,t,i)=>{i?this.listenTo(this.editor.model.document,"change:data",this._onDocumentChange):this.stopListening(this.editor.model.document,"change:data",this._onDocumentChange)}))}find(e,t){return this._isSearchActive=!0,this.editor.execute("find",e,t),this.state.results}stop(){this.state.clear(this.editor.model),this._isSearchActive=!1}_defineCommands(){this.editor.commands.add("find",new p(this.editor,this.state)),this.editor.commands.add("findNext",new _(this.editor,this.state)),this.editor.commands.add("findPrevious",new w(this.editor,this.state)),this.editor.commands.add("replace",new g(this.editor,this.state)),this.editor.commands.add("replaceAll",new k(this.editor,this.state))}_defineConverters(){const{editor:e}=this;e.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":t}}}}),e.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result_selected"],attributes:{"data-find-result":t}}}})}}class de extends e.Plugin{static get requires(){return[le,f]}static get pluginName(){return"FindAndReplace"}init(){const e=this.editor.plugins.get("FindAndReplaceUI"),t=this.editor.plugins.get("FindAndReplaceEditing"),i=t.state;e.on("findNext",((e,n)=>{n?(i.searchText=n.searchText,t.find(n.searchText,n)):this.editor.execute("findNext")})),e.on("findPrevious",((e,n)=>{n&&i.searchText!==n.searchText?t.find(n.searchText):this.editor.execute("findPrevious")})),e.on("replace",((e,n)=>{i.searchText!==n.searchText&&t.find(n.searchText);const r=i.highlightedResult;r&&this.editor.execute("replace",n.replaceText,r)})),e.on("replaceAll",((e,n)=>{i.searchText!==n.searchText&&t.find(n.searchText),this.editor.execute("replaceAll",n.replaceText,i.results)})),e.on("searchReseted",(()=>{i.clear(this.editor.model),t.stop()}))}}})(),(window.CKEditor5=window.CKEditor5||{}).findAndReplace=n})(); \ No newline at end of file + */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(758),r=i.n(n),s=i(935),a=i.n(s)()(r());a.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const o=a},629:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(758),r=i.n(n),s=i(935),a=i.n(s)()(r());a.push([e.id,".ck-find-result{background:var(--ck-color-highlight-background);color:var(--ck-color-text)}.ck-find-result_selected{background:#ff9633}",""]);const o=a},979:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(758),r=i.n(n),s=i(935),a=i.n(s)()(r());a.push([e.id,".ck.ck-find-and-replace-form{max-width:100%}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{display:flex}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions.ck-find-and-replace-form__inputs .ck-results-counter,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs.ck-find-and-replace-form__inputs .ck-results-counter{position:absolute}.ck.ck-find-and-replace-form{width:400px}.ck.ck-find-and-replace-form:focus{outline:none}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{align-content:stretch;align-items:center;flex:1 1 auto;flex-direction:row;flex-wrap:wrap;margin:0;padding:var(--ck-spacing-large)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button{flex:0 0 auto}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>*+*,[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>*+*{margin-left:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>*+*,[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>*+*{margin-right:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view{flex:1 1 auto}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view .ck-input,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view .ck-input{min-width:50px;width:100%}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{align-items:flex-start}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button-prev>.ck-icon{transform:rotate(90deg)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button-next>.ck-icon{transform:rotate(-90deg)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{color:var(--ck-color-base-border);top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{left:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{flex:0 0 100%;padding-top:var(--ck-spacing-standard)}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{margin-right:0}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions{flex-wrap:wrap;justify-content:flex-end;margin-top:calc(var(--ck-spacing-large)*-1)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button-find{font-weight:700}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button-find .ck-button__label{padding-left:var(--ck-spacing-large);padding-right:var(--ck-spacing-large)}.ck.ck-find-and-replace-form .ck-switchbutton{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%}@media screen and (max-width:600px){.ck.ck-find-and-replace-form{max-width:100%;width:300px}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input{flex-wrap:wrap}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input .ck-labeled-field-view{flex:1 0 auto;margin-bottom:var(--ck-spacing-standard);width:100%}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button{text-align:center}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type .ck-button__label{text-align:center;width:100%}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view){flex:1 1 auto;flex-wrap:wrap}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button{text-align:center}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button .ck-button__label{text-align:center;width:100%}}",""]);const o=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,s){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);n&&a[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var s={},a=[],o=0;o<e.length;o++){var c=e[o],l=n.base?c[0]+n.base:c[0],d=s[l]||0,h="".concat(l," ").concat(d);s[l]=d+1;var u=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(f);else{var p=r(f,n);n.byIndex=o,t.splice(o,0,{identifier:h,updater:p,references:1})}a.push(h)}return a}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var s=n(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<s.length;a++){var o=i(s[a]);t[o].references--}for(var c=n(e,r),l=0;l<s.length;l++){var d=i(s[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}s=c}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var a=void 0!==r.layer;a&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,a&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,s);else{var o=document.createTextNode(s),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(o,c[t]):e.appendChild(o)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{FindAndReplace:()=>_e,FindAndReplaceEditing:()=>ke,FindAndReplaceUI:()=>v,FindAndReplaceUtils:()=>X,FindCommand:()=>x,FindNextCommand:()=>V,FindPreviousCommand:()=>C,ReplaceAllCommand:()=>R,ReplaceCommand:()=>T});var e=i(782),t=i(311),r=i(584),s=i(591),a=i.n(s),o=i(639),c=i.n(o),l=i(128),d=i.n(l),h=i(21),u=i.n(h),f=i(51),p=i.n(f),m=i(501),g={attributes:{"data-cke":!0}};g.setAttributes=u(),g.insert=d().bind(null,"head"),g.domAPI=c(),g.insertStyleElement=p();a()(m.A,g);m.A&&m.A.locals&&m.A.locals;var k=i(979),_={attributes:{"data-cke":!0}};_.setAttributes=u(),_.insert=d().bind(null,"head"),_.domAPI=c(),_.insertStyleElement=p();a()(k.A,_);k.A&&k.A.locals&&k.A.locals;class w extends t.View{constructor(i){super(i);const n=i.t;this.children=this.createCollection(),this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",((e,t)=>e>0&&!t)),this._findInputView=this._createInputField(n("Find in text…")),this._findPrevButtonView=this._createButton({label:n("Previous result"),class:"ck-button-prev",icon:e.icons.previousArrow,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:n("Next result"),class:"ck-button-next",icon:e.icons.previousArrow,keystroke:"F3",tooltip:!0}),this._replaceInputView=this._createInputField(n("Replace with…"),"ck-labeled-field-replace"),this._inputsDivView=this._createInputsDiv(),this._matchCaseSwitchView=this._createMatchCaseSwitch(),this._wholeWordsOnlySwitchView=this._createWholeWordsOnlySwitch(),this._advancedOptionsCollapsibleView=this._createAdvancedOptionsCollapsible(),this._replaceAllButtonView=this._createButton({label:n("Replace all"),class:"ck-button-replaceall",withText:!0}),this._replaceButtonView=this._createButton({label:n("Replace"),class:"ck-button-replace",withText:!0}),this._findButtonView=this._createButton({label:n("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._actionButtonsDivView=this._createActionButtonsDiv(),this._focusTracker=new r.FocusTracker,this._keystrokes=new r.KeystrokeHandler,this._focusables=new t.ViewCollection,this.focusCycler=new t.FocusCycler({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.addMany([this._inputsDivView,this._advancedOptionsCollapsibleView,this._actionButtonsDivView]),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,t.submitHandler)({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createInputsDiv(){const e=this.locale,i=e.t,n=new t.View(e);return this._findInputView.fieldView.on("input",(()=>{this.isDirty=!0})),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findPrevious:e})=>e)),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findNext:e})=>e)),this._injectFindResultsCounter(),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",((e,t)=>e||!t?"":i("Tip: Find some text first in order to replace it."))),n.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__inputs"]},children:[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView]}),n}_onFindButtonExecute(){if(this._textToFind)this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly});else{const e=this.t;this._findInputView.errorText=e("Text to find must not be empty.")}}_injectFindResultsCounter(){const e=this.locale,i=e.t,n=this.bindTemplate,s=new t.View(this.locale);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",((e,t)=>i("%0 of %1",[e,t]))),s.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",n.if("isDirty","ck-hidden")]},children:[{text:n.to("_resultsCounterText")}]});const a=()=>{const t=this._findInputView.fieldView.element;if(!t||!(0,r.isVisible)(t))return;const i=new r.Rect(s.element).width,n="ltr"===e.uiLanguageDirection?"paddingRight":"paddingLeft";t.style[n]=i?`calc( 2 * var(--ck-spacing-standard) + ${i}px )`:""};this.on("change:_resultsCounterText",a,{priority:"low"}),this.on("change:isDirty",a,{priority:"low"}),this._findInputView.template.children[0].children.push(s)}_createAdvancedOptionsCollapsible(){const e=this.locale.t,i=new t.CollapsibleView(this.locale,[this._matchCaseSwitchView,this._wholeWordsOnlySwitchView]);return i.set({label:e("Advanced options"),isCollapsed:!0}),i}_createActionButtonsDiv(){const e=new t.View(this.locale);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replaceAll:e},t)=>e&&t)),this._replaceButtonView.on("execute",(()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})})),this._replaceAllButtonView.on("execute",(()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()})),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),e.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__actions"]},children:[this._replaceAllButtonView,this._replaceButtonView,this._findButtonView]}),e}_createMatchCaseSwitch(){const e=this.locale.t,i=new t.SwitchButtonView(this.locale);return i.set({label:e("Match case"),withText:!0}),i.bind("isOn").to(this,"_matchCase"),i.on("execute",(()=>{this._matchCase=!this._matchCase,this.isDirty=!0})),i}_createWholeWordsOnlySwitch(){const e=this.locale.t,i=new t.SwitchButtonView(this.locale);return i.set({label:e("Whole words only"),withText:!0}),i.bind("isOn").to(this,"_wholeWordsOnly"),i.on("execute",(()=>{this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0})),i}_initFocusCycling(){[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._advancedOptionsCollapsibleView.buttonView,this._matchCaseSwitchView,this._wholeWordsOnlySwitchView,this._replaceAllButtonView,this._replaceButtonView,this._findButtonView].forEach((e=>{this._focusables.add(e),this._focusTracker.add(e.element)}))}_initKeystrokeHandling(){const e=e=>e.stopPropagation(),t=e=>{e.stopPropagation(),e.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",(e=>{t(e),this._findNextButtonView.fire("execute")})),this._keystrokes.set("shift+f3",(e=>{t(e),this._findPrevButtonView.fire("execute")})),this._keystrokes.set("enter",(e=>{const i=e.target;i===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e)):i!==this._replaceInputView.fieldView.element||this.isDirty||(this._replaceButtonView.fire("execute"),t(e))})),this._keystrokes.set("shift+enter",(e=>{e.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e))})),this._keystrokes.set("arrowright",e),this._keystrokes.set("arrowleft",e),this._keystrokes.set("arrowup",e),this._keystrokes.set("arrowdown",e)}_createButton(e){const i=new t.ButtonView(this.locale);return i.set(e),i}_createInputField(e,i){const n=new t.LabeledFieldView(this.locale,t.createLabeledInputText);return n.label=e,n.class=i,n}}const b='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.87 13.786 1.532-1.286 3.857 4.596a1 1 0 1 1-1.532 1.286l-3.857-4.596z"/><path d="M16.004 8.5a6.5 6.5 0 0 1-9.216 5.905c-1.154-.53-.863-1.415-.663-1.615.194-.194.564-.592 1.635-.141a4.5 4.5 0 0 0 5.89-5.904l-.104-.227 1.332-1.331c.045-.046.196-.041.224.007a6.47 6.47 0 0 1 .902 3.306zm-3.4-5.715c.562.305.742 1.106.354 1.494-.388.388-.995.414-1.476.178a4.5 4.5 0 0 0-6.086 5.882l.114.236-1.348 1.349c-.038.037-.17.022-.198-.023a6.5 6.5 0 0 1 5.54-9.9 6.469 6.469 0 0 1 3.1.784z"/><path d="M4.001 11.93.948 8.877a.2.2 0 0 1 .141-.341h6.106a.2.2 0 0 1 .141.341L4.283 11.93a.2.2 0 0 1-.282 0zm11.083-6.789 3.053 3.053a.2.2 0 0 1-.14.342H11.89a.2.2 0 0 1-.14-.342l3.052-3.053a.2.2 0 0 1 .282 0z"/></svg>';class v extends e.Plugin{static get requires(){return[t.Dialog]}static get pluginName(){return"FindAndReplaceUI"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("findAndReplace.uiType","dialog"),this.formView=null}init(){const e=this.editor,i="dropdown"===e.config.get("findAndReplace.uiType"),n=e.commands.get("find"),r=this.editor.t;e.ui.componentFactory.add("findAndReplace",(()=>{let r;return i?(r=this._createDropdown(),r.bind("isEnabled").to(n)):r=this._createDialogButtonForToolbar(),e.keystrokes.set("Ctrl+F",((i,s)=>{if(n.isEnabled){if(r instanceof t.DropdownView){const e=r.buttonView;e.isOn||e.fire("execute")}else r.isOn?e.plugins.get("Dialog").view.focus():r.fire("execute");s()}})),r})),i||e.ui.componentFactory.add("menuBar:findAndReplace",(()=>this._createDialogButtonForMenuBar())),e.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Find in the document"),keystroke:"CTRL+F"}]})}_createDropdown(){const e=this.editor,i=e.locale.t,n=(0,t.createDropdown)(e.locale);return n.once("change:isOpen",(()=>{this.formView=this._createFormView(),this.formView.children.add(new t.FormHeaderView(e.locale,{label:i("Find and replace")}),0),n.panelView.children.add(this.formView)})),n.on("change:isOpen",((e,t,i)=>{i?this._setupFormView():this.fire("searchReseted")}),{priority:"low"}),n.buttonView.set({icon:b,label:i("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),n}_createDialogButtonForToolbar(){const e=this.editor,i=this._createButton(t.ButtonView),n=e.plugins.get("Dialog");return i.set({tooltip:!0}),i.bind("isOn").to(n,"id",(e=>"findAndReplace"===e)),i.on("execute",(()=>{i.isOn?n.hide():this._showDialog()})),i}_createDialogButtonForMenuBar(){const e=this._createButton(t.MenuBarMenuListItemButtonView),i=this.editor.plugins.get("Dialog"),n=this.editor.plugins.get("Dialog");return e.set({role:"menuitemcheckbox",isToggleable:!0}),e.bind("isOn").to(n,"id",(e=>"findAndReplace"===e)),e.on("execute",(()=>{"findAndReplace"!==i.id?this._showDialog():i.hide()})),e}_createButton(e){const t=this.editor,i=t.commands.get("find"),n=new e(t.locale),r=t.locale.t;return n.bind("isEnabled").to(i),n.set({icon:b,label:r("Find and replace"),keystroke:"CTRL+F"}),n}_showDialog(){const e=this.editor,i=e.plugins.get("Dialog"),n=e.locale.t;this.formView||(this.formView=this._createFormView()),i.show({id:"findAndReplace",title:n("Find and replace"),content:this.formView,position:t.DialogViewPosition.EDITOR_TOP_SIDE,onShow:()=>{this._setupFormView()},onHide:()=>{this.fire("searchReseted")}})}_createFormView(){const e=this.editor,i=new((0,t.CssTransitionDisablerMixin)(w))(e.locale),n=e.commands,r=this.editor.plugins.get("FindAndReplaceEditing").state;i.bind("highlightOffset").to(r,"highlightedOffset"),i.listenTo(r.results,"change",(()=>{i.matchCount=r.results.length}));const s=n.get("findNext"),a=n.get("findPrevious"),o=n.get("replace"),c=n.get("replaceAll");return i.bind("_areCommandsEnabled").to(s,"isEnabled",a,"isEnabled",o,"isEnabled",c,"isEnabled",((e,t,i,n)=>({findNext:e,findPrevious:t,replace:i,replaceAll:n}))),i.delegate("findNext","findPrevious","replace","replaceAll").to(this),i.on("change:isDirty",((e,t,i)=>{i&&this.fire("searchReseted")})),i}_setupFormView(){this.formView.disableCssTransitions(),this.formView.reset(),this.formView._findInputView.fieldView.select(),this.formView.enableCssTransitions()}}class x extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this.affectsData=!1,this._state=t}execute(e,{matchCase:t,wholeWords:i}={}){const{editor:n}=this,{model:r}=n,s=n.plugins.get("FindAndReplaceUtils");let a,o="";a="string"==typeof e?(...n)=>({results:s.findByTextCallback(e,{matchCase:t,wholeWords:i})(...n),searchText:e}):e;const c=a;a=(...e)=>{const t=c(...e);return t&&"searchText"in t&&(o=t.searchText),t};const l=r.document.getRootNames().reduce(((e,t)=>s.updateFindResultFromRange(r.createRangeIn(r.document.getRoot(t)),r,a,e)),null);return this._state.clear(r),this._state.results.addMany(l),this._state.highlightedResult=l.get(0),this._state.searchText=o,a&&(this._state.lastSearchCallback=a),this._state.matchCase=!!t,this._state.matchWholeWords=!!i,{results:l,findCallback:a}}}class y extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this._state=t,this._isEnabledBasedOnSelection=!1}_replace(e,t){const{model:i}=this.editor,n=t.marker.getRange();i.canEditAt(n)&&i.change((r=>{if("$graveyard"===n.root.rootName)return void this._state.results.remove(t);let s={};for(const e of n.getItems())if(e.is("$text")||e.is("$textProxy")){s=e.getAttributes();break}i.insertContent(r.createText(e,s),n),this._state.results.has(t)&&this._state.results.remove(t)}))}}class T extends y{execute(e,t){this._replace(e,t)}}class R extends y{execute(e,t){const{editor:i}=this,{model:n}=i,s=i.plugins.get("FindAndReplaceUtils"),a=t instanceof r.Collection?t:n.document.getRootNames().reduce(((e,i)=>s.updateFindResultFromRange(n.createRangeIn(n.document.getRoot(i)),n,s.findByTextCallback(t,this._state),e)),null);a.length&&n.change((()=>{[...a].forEach((t=>{this._replace(e,t)}))}))}}class V extends e.Command{constructor(e,t){super(e),this.affectsData=!1,this._state=t,this.isEnabled=!1,this.listenTo(this._state.results,"change",(()=>{this.isEnabled=this._state.results.length>1}))}refresh(){this.isEnabled=this._state.results.length>1}execute(){const e=this._state.results,t=e.getIndex(this._state.highlightedResult),i=t+1>=e.length?0:t+1;this._state.highlightedResult=this._state.results.get(i)}}class C extends V{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),t=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(t)}}class A extends((0,r.ObservableMixin)()){constructor(e){super(),this.set("results",new r.Collection),this.set("highlightedResult",null),this.set("highlightedOffset",0),this.set("searchText",""),this.set("replaceText",""),this.set("lastSearchCallback",null),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",((t,{removed:i,index:n})=>{if(Array.from(i).length){let t=!1;if(e.change((n=>{for(const r of i)this.highlightedResult===r&&(t=!0),e.markers.has(r.marker.name)&&n.removeMarker(r.marker)})),t){const e=n>=this.results.length?0:n;this.highlightedResult=this.results.get(e)}}})),this.on("change:highlightedResult",(()=>{this.refreshHighlightOffset()}))}clear(e){this.searchText="",e.change((t=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],n=e.markers.get(`findResultHighlighted:${i}`);n&&t.removeMarker(n)}[...this.results].forEach((({marker:e})=>{t.removeMarker(e)}))})),this.results.clear()}refreshHighlightOffset(){const{highlightedResult:e,results:t}=this,i={before:-1,same:0,after:1,different:1};this.highlightedOffset=e?Array.from(t).sort(((e,t)=>i[e.marker.getStart().compareWith(t.marker.getStart())])).indexOf(e)+1:0}}const F="object"==typeof global&&global&&global.Object===Object&&global;var E="object"==typeof self&&self&&self.Object===Object&&self;const B=F||E||Function("return this")();const O=B.Symbol;const I=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r};const D=Array.isArray;var S=Object.prototype,P=S.hasOwnProperty,N=S.toString,M=O?O.toStringTag:void 0;const j=function(e){var t=P.call(e,M),i=e[M];try{e[M]=void 0;var n=!0}catch(e){}var r=N.call(e);return n&&(t?e[M]=i:delete e[M]),r};var W=Object.prototype.toString;const $=function(e){return W.call(e)};var H=O?O.toStringTag:void 0;const L=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?j(e):$(e)};const K=function(e){return null!=e&&"object"==typeof e};const U=function(e){return"symbol"==typeof e||K(e)&&"[object Symbol]"==L(e)};var z=O?O.prototype:void 0,q=z?z.toString:void 0;const Y=function e(t){if("string"==typeof t)return t;if(D(t))return I(t,e)+"";if(U(t))return q?q.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i};const Z=function(e){return null==e?"":Y(e)};var G=/[\\^$.*+?()[\]{}|]/g,J=RegExp(G.source);const Q=function(e){return(e=Z(e))&&J.test(e)?e.replace(G,"\\$&"):e};class X extends e.Plugin{static get pluginName(){return"FindAndReplaceUtils"}static get isOfficialPlugin(){return!0}updateFindResultFromRange(e,t,i,n){const s=n||new r.Collection;return t.change((n=>{[...e].forEach((({type:e,item:a})=>{if("elementStart"===e&&t.schema.checkChild(a,"$text")){let e=i({item:a,text:this.rangeToText(t.createRangeIn(a))});if(!e)return;"results"in e&&(e=e.results),e.forEach((e=>{const t=`findResult:${(0,r.uid)()}`,i=n.addMarker(t,{usingOperation:!1,affectsData:!1,range:n.createRange(n.createPositionAt(a,e.start),n.createPositionAt(a,e.end))}),o=function(e,t){const i=e.find((({marker:e})=>t.getStart().isBefore(e.getStart())));return i?e.getIndex(i):e.length}(s,i);(e=>s.find((t=>{const{marker:i}=t,n=i.getRange(),r=e.getRange();return n.isEqual(r)})))(i)||s.add({id:t,label:e.label,marker:i},o)}))}}))})),s}rangeToText(e){return Array.from(e.getItems()).reduce(((e,t)=>t.is("$text")||t.is("$textProxy")?e+t.data:`${e}\n`),"")}findByTextCallback(e,t){let i="gu";t.matchCase||(i+="i");let n=`(${Q(e)})`;if(t.wholeWords){const t="[^a-zA-ZÀ-ÉḀ-ỿ]";new RegExp("^"+t).test(e)||(n=`(^|${t}|_)${n}`),new RegExp(t+"$").test(e)||(n=`${n}(?=_|${t}|$)`)}const r=new RegExp(n,i);return function({text:e}){return[...e.matchAll(r)].map(ee)}}}function ee(e){const t=e.length-1;let i=e.index;return 3===e.length&&(i+=e[1].length),{label:e[t],start:i,end:i+e[t].length}}const te=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const ie=function(){return B.Date.now()};var ne=/\s/;const re=function(e){for(var t=e.length;t--&&ne.test(e.charAt(t)););return t};var se=/^\s+/;const ae=function(e){return e?e.slice(0,re(e)+1).replace(se,""):e};var oe=/^[-+]0x[0-9a-f]+$/i,ce=/^0b[01]+$/i,le=/^0o[0-7]+$/i,de=parseInt;const he=function(e){if("number"==typeof e)return e;if(U(e))return NaN;if(te(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=te(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=ae(e);var i=ce.test(e);return i||le.test(e)?de(e.slice(2),i?2:8):oe.test(e)?NaN:+e};var ue=Math.max,fe=Math.min;const pe=function(e,t,i){var n,r,s,a,o,c,l=0,d=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var i=n,s=r;return n=r=void 0,l=t,a=e.apply(s,i)}function p(e){var i=e-c;return void 0===c||i>=t||i<0||h&&e-l>=s}function m(){var e=ie();if(p(e))return g(e);o=setTimeout(m,function(e){var i=t-(e-c);return h?fe(i,s-(e-l)):i}(e))}function g(e){return o=void 0,u&&n?f(e):(n=r=void 0,a)}function k(){var e=ie(),i=p(e);if(n=arguments,r=this,c=e,i){if(void 0===o)return function(e){return l=e,o=setTimeout(m,t),d?f(e):a}(c);if(h)return clearTimeout(o),o=setTimeout(m,t),f(c)}return void 0===o&&(o=setTimeout(m,t)),a}return t=he(t)||0,te(i)&&(d=!!i.leading,s=(h="maxWait"in i)?ue(he(i.maxWait)||0,t):s,u="trailing"in i?!!i.trailing:u),k.cancel=function(){void 0!==o&&clearTimeout(o),l=0,n=c=r=o=void 0},k.flush=function(){return void 0===o?a:g(ie())},k};var me=i(629),ge={attributes:{"data-cke":!0}};ge.setAttributes=u(),ge.insert=d().bind(null,"head"),ge.domAPI=c(),ge.insertStyleElement=p();a()(me.A,ge);me.A&&me.A.locals&&me.A.locals;class ke extends e.Plugin{constructor(){super(...arguments),this._onDocumentChange=()=>{const e=new Set,t=new Set,i=this.editor.model,{results:n}=this.state,r=i.document.differ.getChanges(),s=i.document.differ.getChangedMarkers();r.forEach((n=>{n.position&&("$text"===n.name||n.position.nodeAfter&&i.schema.isInline(n.position.nodeAfter)?(e.add(n.position.parent),[...i.markers.getMarkersAtPosition(n.position)].forEach((e=>{t.add(e.name)}))):"insert"===n.type&&n.position.nodeAfter&&e.add(n.position.nodeAfter))})),s.forEach((({name:e,data:{newRange:i}})=>{i&&"$graveyard"===i.start.root.rootName&&t.add(e)})),e.forEach((e=>{[...i.markers.getMarkersIntersectingRange(i.createRangeIn(e))].forEach((e=>t.add(e.name)))})),t.forEach((e=>{n.has(e)&&(n.get(e)===this.state.highlightedResult&&(this.state.highlightedResult=null),n.remove(e))}));const a=[],o=this.editor.plugins.get("FindAndReplaceUtils");e.forEach((e=>{const t=o.updateFindResultFromRange(i.createRangeOn(e),i,this.state.lastSearchCallback,n);a.push(...t)})),s.forEach((e=>{if(e.data.newRange){const t=o.updateFindResultFromRange(e.data.newRange,i,this.state.lastSearchCallback,n);a.push(...t)}})),!this.state.highlightedResult&&a.length?this.state.highlightedResult=a[0]:this.state.refreshHighlightOffset()}}static get requires(){return[X]}static get pluginName(){return"FindAndReplaceEditing"}static get isOfficialPlugin(){return!0}init(){this.state=new A(this.editor.model),this.set("_isSearchActive",!1),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",((e,t,i,n)=>{const{model:r}=this.editor;r.change((e=>{if(n){const t=n.marker.name.split(":")[1],i=r.markers.get(`findResultHighlighted:${t}`);i&&e.removeMarker(i)}if(i){const t=i.marker.name.split(":")[1];e.addMarker(`findResultHighlighted:${t}`,{usingOperation:!1,affectsData:!1,range:i.marker.getRange()})}}))}));const e=pe(((e,t,i)=>{if(i){const e=this.editor.editing.view.domConverter,t=this.editor.editing.mapper.toViewRange(i.marker.getRange());(0,r.scrollViewportToShowTarget)({target:e.viewRangeToDom(t),viewportOffset:40})}}).bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel),this.on("change:_isSearchActive",((e,t,i)=>{i?this.listenTo(this.editor.model.document,"change:data",this._onDocumentChange):this.stopListening(this.editor.model.document,"change:data",this._onDocumentChange)}))}find(e,t){return this._isSearchActive=!0,this.editor.execute("find",e,t),this.state.results}stop(){this.state.clear(this.editor.model),this._isSearchActive=!1}_defineCommands(){this.editor.commands.add("find",new x(this.editor,this.state)),this.editor.commands.add("findNext",new V(this.editor,this.state)),this.editor.commands.add("findPrevious",new C(this.editor,this.state)),this.editor.commands.add("replace",new T(this.editor,this.state)),this.editor.commands.add("replaceAll",new R(this.editor,this.state))}_defineConverters(){const{editor:e}=this;e.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":t}}}}),e.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result_selected"],attributes:{"data-find-result":t}}}})}}class _e extends e.Plugin{static get requires(){return[ke,v]}static get pluginName(){return"FindAndReplace"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get("FindAndReplaceUI"),t=this.editor.plugins.get("FindAndReplaceEditing"),i=t.state;e.on("findNext",((e,n)=>{n?(i.searchText=n.searchText,t.find(n.searchText,n)):this.editor.execute("findNext")})),e.on("findPrevious",((e,n)=>{n&&i.searchText!==n.searchText?t.find(n.searchText):this.editor.execute("findPrevious")})),e.on("replace",((e,n)=>{i.searchText!==n.searchText&&t.find(n.searchText);const r=i.highlightedResult;r&&this.editor.execute("replace",n.replaceText,r)})),e.on("replaceAll",((e,n)=>{i.searchText!==n.searchText&&t.find(n.searchText),this.editor.execute("replaceAll",n.replaceText,i.results)})),e.on("searchReseted",(()=>{i.clear(this.editor.model),t.stop()}))}}})(),(window.CKEditor5=window.CKEditor5||{}).findAndReplace=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/find-and-replace/translations/tt.js b/core/assets/vendor/ckeditor5/find-and-replace/translations/tt.js index 4f6aaa31b82c51f97c25e174e71c7a2fbf32269f..b2da1ccfc2cdd7f76ee06adec1c82c697124a72b 100644 --- a/core/assets/vendor/ckeditor5/find-and-replace/translations/tt.js +++ b/core/assets/vendor/ckeditor5/find-and-replace/translations/tt.js @@ -1 +1 @@ -!function(t){const e=t.tt=t.tt||{};e.dictionary=Object.assign(e.dictionary||{},{"Advanced options":"",Find:"Таб","Find and replace":"","Find in text…":"ТекÑтта таб...","Find in the document":"","Match case":"","Next result":"","Previous result":"",Replace:"","Replace all":"","Replace with…":"","Text to find must not be empty.":"","Tip: Find some text first in order to replace it.":"","Whole words only":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const e=t.tt=t.tt||{};e.dictionary=Object.assign(e.dictionary||{},{"Advanced options":"",Find:"Таб","Find and replace":"","Find in text…":"ТекÑтта таб...","Find in the document":"","Match case":"","Next result":"","Previous result":"",Replace:"Ðлмаштыр","Replace all":"","Replace with…":"","Text to find must not be empty.":"","Tip: Find some text first in order to replace it.":"","Whole words only":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/font/font.js b/core/assets/vendor/ckeditor5/font/font.js index 2124964270dd3fa8072e4e2c6815d671d4d00477..6cae838bf7ab028ad9626d55b52383cd8d995156 100644 --- a/core/assets/vendor/ckeditor5/font/font.js +++ b/core/assets/vendor/ckeditor5/font/font.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={485:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(935),r=o.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-content .text-tiny{font-size:.7em}.ck-content .text-small{font-size:.85em}.ck-content .text-big{font-size:1.4em}.ck-content .text-huge{font-size:1.8em}",""]);const i=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(r[l]=!0)}for(var s=0;s<e.length;s++){var a=[].concat(e[s]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},591:(e,t,o)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),l=[];function s(e){for(var t=-1,o=0;o<l.length;o++)if(l[o].identifier===e){t=o;break}return t}function a(e,t){for(var o={},n=[],r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],c=o[a]||0,u="".concat(a," ").concat(c);o[a]=c+1;var d=s(u),m={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(l[d].references++,l[d].updater(m)):l.push({identifier:u,updater:h(m,t),references:1}),n.push(u)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=o.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=i(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,o,n){var r=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var i=document.createTextNode(r),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(i,l[t]):e.appendChild(i)}}function p(e,t,o){var n=o.css,r=o.media,i=o.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var g=null,f=0;function h(e,t){var o,n,r;if(t.singleton){var i=f++;o=g||(g=c(t)),n=m.bind(null,o,i,!1),r=m.bind(null,o,i,!0)}else o=c(t),n=p.bind(null,o,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var o=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<o.length;n++){var r=s(o[n]);l[r].references--}for(var i=a(e,t),c=0;c<o.length;c++){var u=s(o[c]);0===l[u].references&&(l[u].updater(),l.splice(u,1))}o=i}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},783:(e,t,o)=>{e.exports=o(237)("./src/engine.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{Font:()=>R,FontBackgroundColor:()=>K,FontBackgroundColorEditing:()=>H,FontBackgroundColorUI:()=>$,FontColor:()=>I,FontColorEditing:()=>M,FontColorUI:()=>j,FontFamily:()=>y,FontFamilyEditing:()=>h,FontFamilyUI:()=>w,FontSize:()=>E,FontSizeEditing:()=>k,FontSizeUI:()=>P});var e=o(782);class t extends e.Command{constructor(e,t){super(e),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,o=t.document.selection,n=e.value,r=e.batch,i=e=>{if(o.isCollapsed)n?e.setSelectionAttribute(this.attributeKey,n):e.removeSelectionAttribute(this.attributeKey);else{const r=t.schema.getValidRanges(o.getRanges(),this.attributeKey);for(const t of r)n?e.setAttribute(this.attributeKey,n,t):e.removeAttribute(this.attributeKey,t)}};r?t.enqueueChange(r,(e=>{i(e)})):t.change((e=>{i(e)}))}}var r=o(311);const i="fontSize",l="fontFamily",s="fontColor",a="fontBackgroundColor";function c(e,t){const o={model:{key:e,values:[]},view:{},upcastAlso:{}};for(const e of t)o.model.values.push(e.model),o.view[e.model]=e.view,e.upcastAlso&&(o.upcastAlso[e.model]=e.upcastAlso);return o}function u(e){return t=>t.getStyle(e).replace(/\s/g,"")}function d(e){return(t,{writer:o})=>o.createAttributeElement("span",{style:`${e}:${t}`},{priority:7})}class m extends t{constructor(e){super(e,l)}}function p(e){return e.map(g).filter((e=>void 0!==e))}function g(e){return"object"==typeof e?e:"default"===e?{title:"Default",model:void 0}:"string"==typeof e?function(e){const t=e.replace(/"|'/g,"").split(","),o=t[0],n=t.map(f).join(", ");return{title:o,model:n,view:{name:"span",styles:{"font-family":n},priority:7}}}(e):void 0}function f(e){return(e=e.trim()).indexOf(" ")>0&&(e=`'${e}'`),e}class h extends e.Plugin{static get pluginName(){return"FontFamilyEditing"}constructor(e){super(e),e.config.define(l,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:l}),e.model.schema.setAttributeProperties(l,{isFormatting:!0,copyOnEnter:!0});const t=p(e.config.get("fontFamily.options")).filter((e=>e.model)),o=c(l,t);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(o),e.commands.add(l,new m(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:l,view:(e,{writer:t})=>t.createAttributeElement("span",{style:"font-family:"+e},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:l,value:e=>e.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:l,value:e=>e.getAttribute("face")}})}}var b=o(584);const v='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.03 3h6.149a.75.75 0 1 1 0 1.5h-5.514L11.03 3zm1.27 3h4.879a.75.75 0 1 1 0 1.5h-4.244L12.3 6zm1.27 3h3.609a.75.75 0 1 1 0 1.5h-2.973L13.57 9zm-2.754 2.5L8.038 4.785 5.261 11.5h5.555zm.62 1.5H4.641l-1.666 4.028H1.312l5.789-14h1.875l5.789 14h-1.663L11.436 13z"/></svg>';class w extends e.Plugin{static get pluginName(){return"FontFamilyUI"}init(){const e=this.editor,t=e.t,o=this._getLocalizedOptions(),n=e.commands.get(l),i=t("Font Family"),s=function(e,t){const o=new b.Collection;for(const n of e){const e={type:"button",model:new r.ViewModel({commandName:l,commandParam:n.model,label:n.title,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(e=>e===n.model||!(!e||!n.model)&&e.split(",")[0].replace(/'/g,"").toLowerCase()===n.model.toLowerCase())),n.view&&"string"!=typeof n.view&&n.view.styles&&e.model.set("labelStyle",`font-family: ${n.view.styles["font-family"]}`),o.add(e)}return o}(o,n);e.ui.componentFactory.add(l,(t=>{const o=(0,r.createDropdown)(t);return(0,r.addListToDropdown)(o,s,{role:"menu",ariaLabel:i}),o.buttonView.set({label:i,icon:v,tooltip:!0}),o.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),o.bind("isEnabled").to(n),this.listenTo(o,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),o})),e.ui.componentFactory.add(`menuBar:${l}`,(t=>{const o=new r.MenuBarMenuView(t);o.buttonView.set({label:i,icon:v}),o.bind("isEnabled").to(n);const l=new r.MenuBarMenuListView(t);for(const n of s){const i=new r.MenuBarMenuListItemView(t,o),s=new r.MenuBarMenuListItemButtonView(t);s.set({role:"menuitemradio",isToggleable:!0}),s.bind(...Object.keys(n.model)).to(n.model),s.delegate("execute").to(o),s.on("execute",(()=>{e.execute(n.model.commandName,{value:n.model.commandParam}),e.editing.view.focus()})),i.children.add(s),l.items.add(i)}return o.panelView.children.add(l),o}))}_getLocalizedOptions(){const e=this.editor,t=e.t;return p(e.config.get(l).options).map((e=>("Default"===e.title&&(e.title=t("Default")),e)))}}class y extends e.Plugin{static get requires(){return[h,w]}static get pluginName(){return"FontFamily"}}var x=o(783);class C extends t{constructor(e){super(e,i)}}function F(e){return e.map((e=>function(e){"number"==typeof e&&(e=String(e));if("object"==typeof e&&(t=e,t.title&&t.model&&t.view))return L(e);var t;const o=function(e){return"string"==typeof e?S[e]:S[e.model]}(e);if(o)return L(o);if("default"===e)return{model:void 0,title:"Default"};if(function(e){let t;if("object"==typeof e){if(!e.model)throw new b.CKEditorError("font-size-invalid-definition",null,e);t=parseFloat(e.model)}else t=parseFloat(e);return isNaN(t)}(e))return;return function(e){"string"==typeof e&&(e={title:e,model:`${parseFloat(e)}px`});return e.view={name:"span",styles:{"font-size":e.model}},L(e)}(e)}(e))).filter((e=>void 0!==e))}const S={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function L(e){return e.view&&"string"!=typeof e.view&&!e.view.priority&&(e.view.priority=7),e}const B=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class k extends e.Plugin{static get pluginName(){return"FontSizeEditing"}constructor(e){super(e),e.config.define(i,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:i}),e.model.schema.setAttributeProperties(i,{isFormatting:!0,copyOnEnter:!0});const t=e.config.get("fontSize.supportAllValues"),o=F(this.editor.config.get("fontSize.options")).filter((e=>e.model)),n=c(i,o);t?(this._prepareAnyValueConverters(n),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(n),e.commands.add(i,new C(e))}_prepareAnyValueConverters(e){const t=this.editor,o=e.model.values.filter((e=>!(0,x.isLength)(String(e))&&!(0,x.isPercentage)(String(e))));if(o.length)throw new b.CKEditorError("font-size-invalid-use-of-named-presets",null,{presets:o});t.conversion.for("downcast").attributeToElement({model:i,view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{style:"font-size:"+e},{priority:7})}}),t.conversion.for("upcast").elementToAttribute({model:{key:i,value:e=>e.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:i,value:e=>{const t=e.getAttribute("size"),o="-"===t[0]||"+"===t[0];let n=parseInt(t,10);o&&(n=3+n);const r=B.length-1,i=Math.min(Math.max(n,0),r);return B[i]}}})}}var A=o(591),T=o.n(A),z=o(485),N={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};T()(z.A,N);z.A.locals;const V='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.816 11.5 7.038 4.785 4.261 11.5h5.555zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13zm7.55 2.279.779-.779.707.707-2.265 2.265-2.193-2.265.707-.707.765.765V4.825c0-.042 0-.083.002-.123l-.77.77-.707-.707L17.207 2.5l2.265 2.265-.707.707-.782-.782c.002.043.003.089.003.135v10.454z"/></svg>';class P extends e.Plugin{static get pluginName(){return"FontSizeUI"}init(){const e=this.editor,t=e.t,o=this._getLocalizedOptions(),n=e.commands.get(i),l=t("Font Size"),s=function(e,t){const o=new b.Collection;for(const n of e){const e={type:"button",model:new r.ViewModel({commandName:i,commandParam:n.model,label:n.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};n.view&&"string"!=typeof n.view&&(n.view.styles&&e.model.set("labelStyle",`font-size:${n.view.styles["font-size"]}`),n.view.classes&&e.model.set("class",`${e.model.class} ${n.view.classes}`)),e.model.bind("isOn").to(t,"value",(e=>e===n.model)),o.add(e)}return o}(o,n);e.ui.componentFactory.add(i,(t=>{const o=(0,r.createDropdown)(t);return(0,r.addListToDropdown)(o,s,{role:"menu",ariaLabel:l}),o.buttonView.set({label:l,icon:V,tooltip:!0}),o.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),o.bind("isEnabled").to(n),this.listenTo(o,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),o})),e.ui.componentFactory.add(`menuBar:${i}`,(t=>{const o=new r.MenuBarMenuView(t);o.buttonView.set({label:l,icon:V}),o.bind("isEnabled").to(n);const i=new r.MenuBarMenuListView(t);for(const n of s){const l=new r.MenuBarMenuListItemView(t,o),s=new r.MenuBarMenuListItemButtonView(t);s.set({role:"menuitemradio",isToggleable:!0}),s.bind(...Object.keys(n.model)).to(n.model),s.delegate("execute").to(o),s.on("execute",(()=>{e.execute(n.model.commandName,{value:n.model.commandParam}),e.editing.view.focus()})),l.children.add(s),i.items.add(l)}return o.panelView.children.add(i),o}))}_getLocalizedOptions(){const e=this.editor,t=e.t,o={Default:t("Default"),Tiny:t("Tiny"),Small:t("Small"),Big:t("Big"),Huge:t("Huge")};return F(e.config.get(i).options).map((e=>{const t=o[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e}))}}class E extends e.Plugin{static get requires(){return[k,P]}static get pluginName(){return"FontSize"}normalizeSizeOptions(e){return F(e)}}class O extends t{constructor(e){super(e,s)}}class M extends e.Plugin{static get pluginName(){return"FontColorEditing"}constructor(e){super(e),e.config.define(s,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:s,value:u("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:s,value:e=>e.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:s,view:d("color")}),e.commands.add(s,new O(e)),e.model.schema.extend("$text",{allowAttributes:s}),e.model.schema.setAttributeProperties(s,{isFormatting:!0,copyOnEnter:!0})}}class D extends e.Plugin{constructor(e,{commandName:t,componentName:o,icon:n,dropdownLabel:r}){super(e),this.commandName=t,this.componentName=o,this.icon=n,this.dropdownLabel=r,this.columns=e.config.get(`${this.componentName}.columns`)}init(){const e=this.editor,t=e.locale,o=t.t,n=e.commands.get(this.commandName),i=e.config.get(this.componentName),l=(0,r.normalizeColorOptions)(i.colors),s=(0,r.getLocalizedColorOptions)(t,l),a=i.documentColors,c=!1!==i.colorPicker;e.ui.componentFactory.add(this.componentName,(t=>{const l=(0,r.createDropdown)(t);let u=!1;const d=function({dropdownView:e,colors:t,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:l,documentColorsCount:s,colorPickerViewConfig:a}){const c=e.locale,u=new r.ColorSelectorView(c,{colors:t,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:l,documentColorsCount:s,colorPickerViewConfig:a});return e.colorSelectorView=u,e.panelView.children.add(u),u}({dropdownView:l,colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:o("Remove color"),colorPickerLabel:o("Color picker"),documentColorsLabel:0!==a?o("Document colors"):"",documentColorsCount:void 0===a?this.columns:a,colorPickerViewConfig:!!c&&(i.colorPicker||{})});return d.bind("selectedColor").to(n,"value"),l.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),l.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),l.bind("isEnabled").to(n),d.on("execute",((t,o)=>{l.isOpen&&e.execute(this.commandName,{value:o.value,batch:this._undoStepBatch}),"colorPicker"!==o.source&&e.editing.view.focus(),"colorPickerSaveButton"===o.source&&(l.isOpen=!1)})),d.on("colorPicker:show",(()=>{this._undoStepBatch=e.model.createBatch()})),d.on("colorPicker:cancel",(()=>{this._undoStepBatch.operations.length&&(l.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()})),l.on("change:isOpen",((t,o,n)=>{u||(u=!0,l.colorSelectorView.appendUI()),n&&(0!==a&&d.updateDocumentColors(e.model,this.componentName),d.updateSelectedColors(),d.showColorGridsFragment())})),(0,r.focusChildOnDropdownOpen)(l,(()=>l.colorSelectorView.colorGridsFragmentView.staticColorsGrid.items.find((e=>e.isOn)))),l})),e.ui.componentFactory.add(`menuBar:${this.componentName}`,(t=>{const i=new r.MenuBarMenuView(t);i.buttonView.set({label:this.dropdownLabel,icon:this.icon}),i.bind("isEnabled").to(n);let l=!1;const c=new r.ColorSelectorView(t,{colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:o("Remove color"),colorPickerLabel:o("Color picker"),documentColorsLabel:0!==a?o("Document colors"):"",documentColorsCount:void 0===a?this.columns:a,colorPickerViewConfig:!1});return c.bind("selectedColor").to(n,"value"),c.delegate("execute").to(i),c.on("execute",((t,o)=>{e.execute(this.commandName,{value:o.value,batch:this._undoStepBatch}),e.editing.view.focus()})),i.on("change:isOpen",((t,o,n)=>{l||(l=!0,c.appendUI()),n&&(0!==a&&c.updateDocumentColors(e.model,this.componentName),c.updateSelectedColors(),c.showColorGridsFragment())})),i.panelView.children.add(c),i}))}}class j extends D{constructor(e){const t=e.locale.t;super(e,{commandName:s,componentName:s,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.4 10.3 10 4.5l-2.4 5.8h4.8zm.5 1.2H7.1L5.7 15H4.2l5-12h1.6l5 12h-1.5L13 11.5zm3.1 7H4a1 1 0 0 1 0-2h12a1 1 0 0 1 0 2z"/></svg>',dropdownLabel:t("Font Color")})}static get pluginName(){return"FontColorUI"}}class I extends e.Plugin{static get requires(){return[M,j]}static get pluginName(){return"FontColor"}}class _ extends t{constructor(e){super(e,a)}}class H extends e.Plugin{static get pluginName(){return"FontBackgroundColorEditing"}constructor(e){super(e),e.config.define(a,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(x.addBackgroundRules),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:a,value:u("background-color")}}),e.conversion.for("downcast").attributeToElement({model:a,view:d("background-color")}),e.commands.add(a,new _(e)),e.model.schema.extend("$text",{allowAttributes:a}),e.model.schema.setAttributeProperties(a,{isFormatting:!0,copyOnEnter:!0})}}class $ extends D{constructor(e){const t=e.locale.t;super(e,{commandName:a,componentName:a,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8.38 9.262H7.62L10 5.506l2.38 5.756zm.532 1.285L14.34 16h1.426L10.804 4H9.196L4.234 16H5.66l1.428-3.453h5.824z"/></svg>',dropdownLabel:t("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}class K extends e.Plugin{static get requires(){return[H,$]}static get pluginName(){return"FontBackgroundColor"}}class R extends e.Plugin{static get requires(){return[y,E,I,K]}static get pluginName(){return"Font"}}})(),(window.CKEditor5=window.CKEditor5||{}).font=n})(); \ No newline at end of file + */(()=>{var e={485:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),r=o.n(n),i=o(935),l=o.n(i)()(r());l.push([e.id,".ck-content .text-tiny{font-size:.7em}.ck-content .text-small{font-size:.85em}.ck-content .text-big{font-size:1.4em}.ck-content .text-huge{font-size:1.8em}",""]);const s=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var s=0;s<this.length;s++){var a=this[s][0];null!=a&&(l[a]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&l[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},l=[],s=0;s<e.length;s++){var a=e[s],c=n.base?a[0]+n.base:a[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var m=o(d),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==m)t[m].references++,t[m].updater(p);else{var g=r(p,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:g,references:1})}l.push(d)}return l}function r(e,t){var o=t.domAPI(t);o.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<i.length;l++){var s=o(i[l]);t[s].references--}for(var a=n(e,r),c=0;c<i.length;c++){var u=o(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=a}}},128:e=>{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}},639:e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function n(e,t,n,r){var i;if(n)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var l=void 0!==r.layer;l&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,l&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,i);else{var s=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,o=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(o,t,!1,e)},remove:function(e){n(o,t,!0,e)}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},783:(e,t,o)=>{e.exports=o(237)("./src/engine.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{Font:()=>X,FontBackgroundColor:()=>Q,FontBackgroundColorEditing:()=>Y,FontBackgroundColorUI:()=>J,FontColor:()=>U,FontColorEditing:()=>R,FontColorUI:()=>q,FontFamily:()=>y,FontFamilyEditing:()=>h,FontFamilyUI:()=>w,FontSize:()=>$,FontSizeEditing:()=>P,FontSizeUI:()=>j});var e=o(782);class t extends e.Command{constructor(e,t){super(e),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,o=t.document.selection,n=e.value,r=e.batch,i=e=>{if(o.isCollapsed)n?e.setSelectionAttribute(this.attributeKey,n):e.removeSelectionAttribute(this.attributeKey);else{const r=t.schema.getValidRanges(o.getRanges(),this.attributeKey);for(const t of r)n?e.setAttribute(this.attributeKey,n,t):e.removeAttribute(this.attributeKey,t)}};r?t.enqueueChange(r,(e=>{i(e)})):t.change((e=>{i(e)}))}}var r=o(311);const i="fontSize",l="fontFamily",s="fontColor",a="fontBackgroundColor";function c(e,t){const o={model:{key:e,values:[]},view:{},upcastAlso:{}};for(const e of t)o.model.values.push(e.model),o.view[e.model]=e.view,e.upcastAlso&&(o.upcastAlso[e.model]=e.upcastAlso);return o}function u(e){return t=>t.getStyle(e).replace(/\s/g,"")}function d(e){return(t,{writer:o})=>o.createAttributeElement("span",{style:`${e}:${t}`},{priority:7})}class m extends t{constructor(e){super(e,l)}}function p(e){return e.map(g).filter((e=>void 0!==e))}function g(e){return"object"==typeof e?e:"default"===e?{title:"Default",model:void 0}:"string"==typeof e?function(e){const t=e.replace(/"|'/g,"").split(","),o=t[0],n=t.map(f).join(", ");return{title:o,model:n,view:{name:"span",styles:{"font-family":n},priority:7}}}(e):void 0}function f(e){return(e=e.trim()).indexOf(" ")>0&&(e=`'${e}'`),e}class h extends e.Plugin{static get pluginName(){return"FontFamilyEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(l,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:l}),e.model.schema.setAttributeProperties(l,{isFormatting:!0,copyOnEnter:!0});const t=p(e.config.get("fontFamily.options")).filter((e=>e.model)),o=c(l,t);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(o),e.commands.add(l,new m(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:l,view:(e,{writer:t})=>t.createAttributeElement("span",{style:"font-family:"+e},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:l,value:e=>e.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:l,value:e=>e.getAttribute("face")}})}}var b=o(584);const v='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.03 3h6.149a.75.75 0 1 1 0 1.5h-5.514L11.03 3zm1.27 3h4.879a.75.75 0 1 1 0 1.5h-4.244L12.3 6zm1.27 3h3.609a.75.75 0 1 1 0 1.5h-2.973L13.57 9zm-2.754 2.5L8.038 4.785 5.261 11.5h5.555zm.62 1.5H4.641l-1.666 4.028H1.312l5.789-14h1.875l5.789 14h-1.663L11.436 13z"/></svg>';class w extends e.Plugin{static get pluginName(){return"FontFamilyUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,o=this._getLocalizedOptions(),n=e.commands.get(l),i=t("Font Family"),s=function(e,t){const o=new b.Collection;for(const n of e){const e={type:"button",model:new r.ViewModel({commandName:l,commandParam:n.model,label:n.title,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(e=>e===n.model||!(!e||!n.model)&&e.split(",")[0].replace(/'/g,"").toLowerCase()===n.model.toLowerCase())),n.view&&"string"!=typeof n.view&&n.view.styles&&e.model.set("labelStyle",`font-family: ${n.view.styles["font-family"]}`),o.add(e)}return o}(o,n);e.ui.componentFactory.add(l,(t=>{const o=(0,r.createDropdown)(t);return(0,r.addListToDropdown)(o,s,{role:"menu",ariaLabel:i}),o.buttonView.set({label:i,icon:v,tooltip:!0}),o.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),o.bind("isEnabled").to(n),this.listenTo(o,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),o})),e.ui.componentFactory.add(`menuBar:${l}`,(t=>{const o=new r.MenuBarMenuView(t);o.buttonView.set({label:i,icon:v}),o.bind("isEnabled").to(n);const l=new r.MenuBarMenuListView(t);for(const n of s){const i=new r.MenuBarMenuListItemView(t,o),s=new r.MenuBarMenuListItemButtonView(t);s.set({role:"menuitemradio",isToggleable:!0}),s.bind(...Object.keys(n.model)).to(n.model),s.delegate("execute").to(o),s.on("execute",(()=>{e.execute(n.model.commandName,{value:n.model.commandParam}),e.editing.view.focus()})),i.children.add(s),l.items.add(i)}return o.panelView.children.add(l),o}))}_getLocalizedOptions(){const e=this.editor,t=e.t;return p(e.config.get(l).options).map((e=>("Default"===e.title&&(e.title=t("Default")),e)))}}class y extends e.Plugin{static get requires(){return[h,w]}static get pluginName(){return"FontFamily"}static get isOfficialPlugin(){return!0}}var x=o(783);class C extends t{constructor(e){super(e,i)}}function F(e){return e.map((e=>function(e){"number"==typeof e&&(e=String(e));if("object"==typeof e&&(t=e,t.title&&t.model&&t.view))return L(e);var t;const o=function(e){return"string"==typeof e?S[e]:S[e.model]}(e);if(o)return L(o);if("default"===e)return{model:void 0,title:"Default"};if(function(e){let t;if("object"==typeof e){if(!e.model)throw new b.CKEditorError("font-size-invalid-definition",null,e);t=parseFloat(e.model)}else t=parseFloat(e);return isNaN(t)}(e))return;return function(e){"string"==typeof e&&(e={title:e,model:`${parseFloat(e)}px`});return e.view={name:"span",styles:{"font-size":e.model}},L(e)}(e)}(e))).filter((e=>void 0!==e))}const S={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function L(e){return e.view&&"string"!=typeof e.view&&!e.view.priority&&(e.view.priority=7),e}const B=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class P extends e.Plugin{static get pluginName(){return"FontSizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(i,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:i}),e.model.schema.setAttributeProperties(i,{isFormatting:!0,copyOnEnter:!0});const t=e.config.get("fontSize.supportAllValues"),o=F(this.editor.config.get("fontSize.options")).filter((e=>e.model)),n=c(i,o);t?(this._prepareAnyValueConverters(n),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(n),e.commands.add(i,new C(e))}_prepareAnyValueConverters(e){const t=this.editor,o=e.model.values.filter((e=>!(0,x.isLength)(String(e))&&!(0,x.isPercentage)(String(e))));if(o.length)throw new b.CKEditorError("font-size-invalid-use-of-named-presets",null,{presets:o});t.conversion.for("downcast").attributeToElement({model:i,view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{style:"font-size:"+e},{priority:7})}}),t.conversion.for("upcast").elementToAttribute({model:{key:i,value:e=>e.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:i,value:e=>{const t=e.getAttribute("size"),o="-"===t[0]||"+"===t[0];let n=parseInt(t,10);o&&(n=3+n);const r=B.length-1,i=Math.min(Math.max(n,0),r);return B[i]}}})}}var A=o(591),k=o.n(A),z=o(639),O=o.n(z),T=o(128),N=o.n(T),V=o(21),E=o.n(V),M=o(51),D=o.n(M),I=o(485),_={attributes:{"data-cke":!0}};_.setAttributes=E(),_.insert=N().bind(null,"head"),_.domAPI=O(),_.insertStyleElement=D();k()(I.A,_);I.A&&I.A.locals&&I.A.locals;const H='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.816 11.5 7.038 4.785 4.261 11.5h5.555zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13zm7.55 2.279.779-.779.707.707-2.265 2.265-2.193-2.265.707-.707.765.765V4.825c0-.042 0-.083.002-.123l-.77.77-.707-.707L17.207 2.5l2.265 2.265-.707.707-.782-.782c.002.043.003.089.003.135v10.454z"/></svg>';class j extends e.Plugin{static get pluginName(){return"FontSizeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,o=this._getLocalizedOptions(),n=e.commands.get(i),l=t("Font Size"),s=function(e,t){const o=new b.Collection;for(const n of e){const e={type:"button",model:new r.ViewModel({commandName:i,commandParam:n.model,label:n.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};n.view&&"string"!=typeof n.view&&(n.view.styles&&e.model.set("labelStyle",`font-size:${n.view.styles["font-size"]}`),n.view.classes&&e.model.set("class",`${e.model.class} ${n.view.classes}`)),e.model.bind("isOn").to(t,"value",(e=>e===n.model)),o.add(e)}return o}(o,n);e.ui.componentFactory.add(i,(t=>{const o=(0,r.createDropdown)(t);return(0,r.addListToDropdown)(o,s,{role:"menu",ariaLabel:l}),o.buttonView.set({label:l,icon:H,tooltip:!0}),o.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),o.bind("isEnabled").to(n),this.listenTo(o,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),o})),e.ui.componentFactory.add(`menuBar:${i}`,(t=>{const o=new r.MenuBarMenuView(t);o.buttonView.set({label:l,icon:H}),o.bind("isEnabled").to(n);const i=new r.MenuBarMenuListView(t);for(const n of s){const l=new r.MenuBarMenuListItemView(t,o),s=new r.MenuBarMenuListItemButtonView(t);s.set({role:"menuitemradio",isToggleable:!0}),s.bind(...Object.keys(n.model)).to(n.model),s.delegate("execute").to(o),s.on("execute",(()=>{e.execute(n.model.commandName,{value:n.model.commandParam}),e.editing.view.focus()})),l.children.add(s),i.items.add(l)}return o.panelView.children.add(i),o}))}_getLocalizedOptions(){const e=this.editor,t=e.t,o={Default:t("Default"),Tiny:t("Tiny"),Small:t("Small"),Big:t("Big"),Huge:t("Huge")};return F(e.config.get(i).options).map((e=>{const t=o[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e}))}}class $ extends e.Plugin{static get requires(){return[P,j]}static get pluginName(){return"FontSize"}static get isOfficialPlugin(){return!0}normalizeSizeOptions(e){return F(e)}}class K extends t{constructor(e){super(e,s)}}class R extends e.Plugin{static get pluginName(){return"FontColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(s,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:s,value:u("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:s,value:e=>e.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:s,view:d("color")}),e.commands.add(s,new K(e)),e.model.schema.extend("$text",{allowAttributes:s}),e.model.schema.setAttributeProperties(s,{isFormatting:!0,copyOnEnter:!0})}}class G extends e.Plugin{constructor(e,{commandName:t,componentName:o,icon:n,dropdownLabel:r}){super(e),this.commandName=t,this.componentName=o,this.icon=n,this.dropdownLabel=r,this.columns=e.config.get(`${this.componentName}.columns`)}init(){const e=this.editor,t=e.locale,o=t.t,n=e.commands.get(this.commandName),i=e.config.get(this.componentName),l=(0,r.normalizeColorOptions)(i.colors),s=(0,r.getLocalizedColorOptions)(t,l),a=i.documentColors,c=!1!==i.colorPicker;e.ui.componentFactory.add(this.componentName,(t=>{const l=(0,r.createDropdown)(t);let u=!1;const d=function({dropdownView:e,colors:t,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:l,documentColorsCount:s,colorPickerViewConfig:a}){const c=e.locale,u=new r.ColorSelectorView(c,{colors:t,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:l,documentColorsCount:s,colorPickerViewConfig:a});return e.colorSelectorView=u,e.panelView.children.add(u),u}({dropdownView:l,colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:o("Remove color"),colorPickerLabel:o("Color picker"),documentColorsLabel:0!==a?o("Document colors"):"",documentColorsCount:void 0===a?this.columns:a,colorPickerViewConfig:!!c&&(i.colorPicker||{})});return d.bind("selectedColor").to(n,"value"),l.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),l.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),l.bind("isEnabled").to(n),d.on("execute",((t,o)=>{l.isOpen&&e.execute(this.commandName,{value:o.value,batch:this._undoStepBatch}),"colorPicker"!==o.source&&e.editing.view.focus(),"colorPickerSaveButton"===o.source&&(l.isOpen=!1)})),d.on("colorPicker:show",(()=>{this._undoStepBatch=e.model.createBatch()})),d.on("colorPicker:cancel",(()=>{this._undoStepBatch.operations.length&&(l.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()})),l.on("change:isOpen",((t,o,n)=>{u||(u=!0,l.colorSelectorView.appendUI()),n&&(0!==a&&d.updateDocumentColors(e.model,this.componentName),d.updateSelectedColors(),d.showColorGridsFragment())})),(0,r.focusChildOnDropdownOpen)(l,(()=>l.colorSelectorView.colorGridsFragmentView.staticColorsGrid.items.find((e=>e.isOn)))),l})),e.ui.componentFactory.add(`menuBar:${this.componentName}`,(t=>{const i=new r.MenuBarMenuView(t);i.buttonView.set({label:this.dropdownLabel,icon:this.icon}),i.bind("isEnabled").to(n);let l=!1;const c=new r.ColorSelectorView(t,{colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:o("Remove color"),colorPickerLabel:o("Color picker"),documentColorsLabel:0!==a?o("Document colors"):"",documentColorsCount:void 0===a?this.columns:a,colorPickerViewConfig:!1});return c.bind("selectedColor").to(n,"value"),c.delegate("execute").to(i),c.on("execute",((t,o)=>{e.execute(this.commandName,{value:o.value,batch:this._undoStepBatch}),e.editing.view.focus()})),i.on("change:isOpen",((t,o,n)=>{l||(l=!0,c.appendUI()),n&&(0!==a&&c.updateDocumentColors(e.model,this.componentName),c.updateSelectedColors(),c.showColorGridsFragment())})),i.panelView.children.add(c),i}))}}class q extends G{constructor(e){const t=e.locale.t;super(e,{commandName:s,componentName:s,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.4 10.3 10 4.5l-2.4 5.8h4.8zm.5 1.2H7.1L5.7 15H4.2l5-12h1.6l5 12h-1.5L13 11.5zm3.1 7H4a1 1 0 0 1 0-2h12a1 1 0 0 1 0 2z"/></svg>',dropdownLabel:t("Font Color")})}static get pluginName(){return"FontColorUI"}}class U extends e.Plugin{static get requires(){return[R,q]}static get pluginName(){return"FontColor"}static get isOfficialPlugin(){return!0}}class W extends t{constructor(e){super(e,a)}}class Y extends e.Plugin{static get pluginName(){return"FontBackgroundColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(a,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(x.addBackgroundRules),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:a,value:u("background-color")}}),e.conversion.for("downcast").attributeToElement({model:a,view:d("background-color")}),e.commands.add(a,new W(e)),e.model.schema.extend("$text",{allowAttributes:a}),e.model.schema.setAttributeProperties(a,{isFormatting:!0,copyOnEnter:!0})}}class J extends G{constructor(e){const t=e.locale.t;super(e,{commandName:a,componentName:a,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8.38 9.262H7.62L10 5.506l2.38 5.756zm.532 1.285L14.34 16h1.426L10.804 4H9.196L4.234 16H5.66l1.428-3.453h5.824z"/></svg>',dropdownLabel:t("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}class Q extends e.Plugin{static get requires(){return[Y,J]}static get pluginName(){return"FontBackgroundColor"}static get isOfficialPlugin(){return!0}}class X extends e.Plugin{static get requires(){return[y,$,U,Q]}static get pluginName(){return"Font"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).font=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/heading.js b/core/assets/vendor/ckeditor5/heading/heading.js index 7062c2efece83116472eb5c805150c050622502a..93a6240b446ab93d3a100c5d7d251e2fad9fafcd 100644 --- a/core/assets/vendor/ckeditor5/heading/heading.js +++ b/core/assets/vendor/ckeditor5/heading/heading.js @@ -1,5 +1,5 @@ -!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Paragraph:"Paragraph","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={707:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(935),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,".ck.ck-heading_heading1 .ck-button__label{font-size:20px}.ck.ck-heading_heading2 .ck-button__label{font-size:17px}.ck.ck-heading_heading3 .ck-button__label{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}",""]);const a=i},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var a=0;a<this.length;a++){var r=this[a][0];null!=r&&(i[r]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(n&&(d[2]?d[2]="".concat(n," and ").concat(d[2]):d[2]=n),t.push(d))}},t}},591:(e,t,n)=>{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function s(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function d(e,t){for(var n={},o=[],i=0;i<e.length;i++){var a=e[i],d=t.base?a[0]+t.base:a[0],c=n[d]||0,l="".concat(d," ").concat(c);n[d]=c+1;var u=s(l),g={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(r[u].references++,r[u].updater(g)):r.push({identifier:l,updater:f(g,t),references:1}),o.push(l)}return o}function c(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var r=a(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var l,u=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function g(e,t,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var a=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(a,r[t]):e.appendChild(a)}}function m(e,t,n){var o=n.css,i=n.media,a=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var h=null,p=0;function f(e,t){var n,o,i;if(t.singleton){var a=p++;n=h||(h=c(t)),o=g.bind(null,n,a,!1),i=g.bind(null,n,a,!0)}else n=c(t),o=m.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=d(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var i=s(n[o]);r[i].references--}for(var a=d(e,t),c=0;c<n.length;c++){var l=s(n[c]);0===r[l].references&&(r[l].updater(),r.splice(l,1))}n=a}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},179:(e,t,n)=>{e.exports=n(237)("./src/paragraph.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={id:o,exports:{}};return e[o](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};(()=>{"use strict";n.r(o),n.d(o,{Heading:()=>f,HeadingButtonsUI:()=>b,HeadingEditing:()=>d,HeadingUI:()=>p,Title:()=>x});var e=n(782),t=n(179),i=n(584);class a extends e.Command{constructor(e,t){super(e),this.modelElements=t}refresh(){const e=(0,i.first)(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some((t=>r(e,t,this.editor.model.schema)))}execute(e){const t=this.editor.model,n=t.document,o=e.value;t.change((e=>{const i=Array.from(n.selection.getSelectedBlocks()).filter((e=>r(e,o,t.schema)));for(const t of i)t.is("element",o)||e.rename(t,o)}))}}function r(e,t,n){return n.checkChild(e.parent,t)&&!n.isObject(e)}const s="paragraph";class d extends e.Plugin{static get pluginName(){return"HeadingEditing"}constructor(e){super(e),e.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"}]})}static get requires(){return[t.Paragraph]}init(){const e=this.editor,t=e.config.get("heading.options"),n=[];for(const o of t)"paragraph"!==o.model&&(e.model.schema.register(o.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(o),n.push(o.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new a(e,n))}afterInit(){const e=this.editor,t=e.commands.get("enter"),n=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",((t,o)=>{const i=e.model.document.selection.getFirstPosition().parent;n.some((e=>i.is("element",e.model)))&&!i.is("element",s)&&0===i.childCount&&o.writer.rename(i,s)}))}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:i.priorities.low+1})}}var c=n(311);function l(e){const t=e.t,n={Paragraph:t("Paragraph"),"Heading 1":t("Heading 1"),"Heading 2":t("Heading 2"),"Heading 3":t("Heading 3"),"Heading 4":t("Heading 4"),"Heading 5":t("Heading 5"),"Heading 6":t("Heading 6")};return e.config.get("heading.options").map((e=>{const t=n[e.title];return t&&t!=e.title&&(e.title=t),e}))}var u=n(591),g=n.n(u),m=n(707),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};g()(m.A,h);m.A.locals;class p extends e.Plugin{static get pluginName(){return"HeadingUI"}init(){const e=this.editor,t=e.t,n=l(e),o=t("Choose heading"),a=t("Heading");e.ui.componentFactory.add("heading",(t=>{const r={},s=new i.Collection,d=e.commands.get("heading"),l=e.commands.get("paragraph"),u=[d];for(const e of n){const t={type:"button",model:new c.ViewModel({label:e.title,class:e.class,role:"menuitemradio",withText:!0})};"paragraph"===e.model?(t.model.bind("isOn").to(l,"value"),t.model.set("commandName","paragraph"),u.push(l)):(t.model.bind("isOn").to(d,"value",(t=>t===e.model)),t.model.set({commandName:"heading",commandValue:e.model})),s.add(t),r[e.model]=e.title}const g=(0,c.createDropdown)(t);return(0,c.addListToDropdown)(g,s,{ariaLabel:a,role:"menu"}),g.buttonView.set({ariaLabel:a,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:a}),g.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),g.bind("isEnabled").toMany(u,"isEnabled",((...e)=>e.some((e=>e)))),g.buttonView.bind("label").to(d,"value",l,"value",((e,t)=>{const n=t?"paragraph":e;return"boolean"==typeof n?o:r[n]?r[n]:o})),g.buttonView.bind("ariaLabel").to(d,"value",l,"value",((e,t)=>{const n=t?"paragraph":e;return"boolean"==typeof n?a:r[n]?`${r[n]}, ${a}`:a})),this.listenTo(g,"execute",(t=>{const{commandName:n,commandValue:o}=t.source;e.execute(n,o?{value:o}:void 0),e.editing.view.focus()})),g})),e.ui.componentFactory.add("menuBar:heading",(o=>{const i=new c.MenuBarMenuView(o),a=e.commands.get("heading"),r=e.commands.get("paragraph"),s=[a],d=new c.MenuBarMenuListView(o);i.set({class:"ck-heading-dropdown"}),d.set({ariaLabel:t("Heading"),role:"menu"}),i.buttonView.set({label:t("Heading")}),i.panelView.children.add(d);for(const t of n){const n=new c.MenuBarMenuListItemView(o,i),l=new c.MenuBarMenuListItemButtonView(o);n.children.add(l),d.items.add(n),l.set({isToggleable:!0,label:t.title,role:"menuitemradio",class:t.class}),l.delegate("execute").to(i),l.on("execute",(()=>{const n="paragraph"===t.model?"paragraph":"heading";e.execute(n,{value:t.model}),e.editing.view.focus()})),"paragraph"===t.model?(l.bind("isOn").to(r,"value"),s.push(r)):l.bind("isOn").to(a,"value",(e=>e===t.model))}return i.bind("isEnabled").toMany(s,"isEnabled",((...e)=>e.some((e=>e)))),i}))}}class f extends e.Plugin{static get requires(){return[d,p]}static get pluginName(){return"Heading"}}const v=(()=>({heading1:e.icons.heading1,heading2:e.icons.heading2,heading3:e.icons.heading3,heading4:e.icons.heading4,heading5:e.icons.heading5,heading6:e.icons.heading6}))();class b extends e.Plugin{init(){l(this.editor).filter((e=>"paragraph"!==e.model)).map((e=>this._createButton(e)))}_createButton(e){const t=this.editor;t.ui.componentFactory.add(e.model,(n=>{const o=new c.ButtonView(n),i=t.commands.get("heading");return o.label=e.title,o.icon=e.icon||v[e.model],o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(i),o.bind("isOn").to(i,"value",(t=>t==e.model)),o.on("execute",(()=>{t.execute("heading",{value:e.model}),t.editing.view.focus()})),o}))}}var w=n(783);const y=new Set(["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"]);class x extends e.Plugin{constructor(){super(...arguments),this._bodyPlaceholder=new Map}static get pluginName(){return"Title"}static get requires(){return["Paragraph"]}init(){const e=this.editor,t=e.model;t.schema.register("title",{isBlock:!0,allowIn:"$root"}),t.schema.register("title-content",{isBlock:!0,allowIn:"title",allowAttributes:["alignment"]}),t.schema.extend("$text",{allowIn:"title-content"}),t.schema.addAttributeCheck((e=>{if(e.endsWith("title-content $text"))return!1})),e.editing.mapper.on("modelToViewPosition",T(e.editing.view)),e.data.mapper.on("modelToViewPosition",T(e.editing.view)),e.conversion.for("downcast").elementToElement({model:"title-content",view:"h1"}),e.conversion.for("downcast").add((e=>e.on("insert:title",((e,t,n)=>{n.consumable.consume(t.item,e.name)})))),e.data.upcastDispatcher.on("element:h1",C,{priority:"high"}),e.data.upcastDispatcher.on("element:h2",C,{priority:"high"}),e.data.upcastDispatcher.on("element:h3",C,{priority:"high"}),t.document.registerPostFixer((e=>this._fixTitleContent(e))),t.document.registerPostFixer((e=>this._fixTitleElement(e))),t.document.registerPostFixer((e=>this._fixBodyElement(e))),t.document.registerPostFixer((e=>this._fixExtraParagraph(e))),this._attachPlaceholders(),this._attachTabPressHandling()}getTitle(e={}){const t=e.rootName?e.rootName:void 0,n=this._getTitleElement(t).getChild(0);return this.editor.data.stringify(n,e)}getBody(e={}){const t=this.editor,n=t.data,o=t.model,i=e.rootName?e.rootName:void 0,a=t.model.document.getRoot(i),r=t.editing.view,s=new w.DowncastWriter(r.document),d=o.createRangeIn(a),c=s.createDocumentFragment(),l=o.createPositionAfter(a.getChild(0)),u=o.createRange(l,o.createPositionAt(a,"end")),g=new Map;for(const e of o.markers){const t=u.getIntersection(e.getRange());t&&g.set(e.name,t)}return n.mapper.clearBindings(),n.mapper.bindElements(a,c),n.downcastDispatcher.convert(d,g,s,e),s.remove(s.createRangeOn(c.getChild(0))),t.data.processor.toData(c)}_getTitleElement(e){const t=this.editor.model.document.getRoot(e);for(const e of t.getChildren())if(_(e))return e}_fixTitleContent(e){let t=!1;for(const n of this.editor.model.document.getRootNames()){const o=this._getTitleElement(n);if(!o||1===o.maxOffset)continue;const i=Array.from(o.getChildren());i.shift();for(const t of i)e.move(e.createRangeOn(t),o,"after"),e.rename(t,"paragraph");t=!0}return t}_fixTitleElement(e){let t=!1;const n=this.editor.model;for(const o of this.editor.model.document.getRoots()){const i=Array.from(o.getChildren()).filter(_),a=i[0],r=o.getChild(0);if(r.is("element","title"))i.length>1&&(E(i,e,n),t=!0);else if(a||y.has(r.name))y.has(r.name)?P(r,e,n):e.move(e.createRangeOn(a),o,0),E(i,e,n),t=!0;else{const n=e.createElement("title");e.insert(n,o),e.insertElement("title-content",n),t=!0}}return t}_fixBodyElement(e){let t=!1;for(const n of this.editor.model.document.getRootNames()){const o=this.editor.model.document.getRoot(n);if(o.childCount<2){const i=e.createElement("paragraph");e.insert(i,o,1),this._bodyPlaceholder.set(n,i),t=!0}}return t}_fixExtraParagraph(e){let t=!1;for(const n of this.editor.model.document.getRootNames()){const o=this.editor.model.document.getRoot(n),i=this._bodyPlaceholder.get(n);k(i,o)&&(this._bodyPlaceholder.delete(n),e.remove(i),t=!0)}return t}_attachPlaceholders(){const e=this.editor,t=e.t,n=e.editing.view,o=e.sourceElement,i=e.config.get("title.placeholder")||t("Type your title"),a=e.config.get("placeholder")||o&&"textarea"===o.tagName.toLowerCase()&&o.getAttribute("placeholder")||t("Type or paste your content here.");e.editing.downcastDispatcher.on("insert:title-content",((e,t,o)=>{const a=o.mapper.toViewElement(t.item);a.placeholder=i,(0,w.enablePlaceholder)({view:n,element:a,keepOnFocus:!0})}));const r=new Map;n.document.registerPostFixer((e=>{let t=!1;for(const o of n.document.roots){if(o.isEmpty)continue;const n=o.getChild(1),i=r.get(o.rootName);n!==i&&(i&&((0,w.hidePlaceholder)(e,i),e.removeAttribute("data-placeholder",i)),e.setAttribute("data-placeholder",a,n),r.set(o.rootName,n),t=!0),t=(0,w.needsPlaceholder)(n,!0)&&2===o.childCount&&"p"===n.name?!!(0,w.showPlaceholder)(e,n)||t:!!(0,w.hidePlaceholder)(e,n)||t}return t}))}_attachTabPressHandling(){const e=this.editor,t=e.model;e.keystrokes.set("TAB",((e,n)=>{t.change((e=>{const o=t.document.selection,i=Array.from(o.getSelectedBlocks());if(1===i.length&&i[0].is("element","title-content")){const t=o.getFirstPosition().root.getChild(1);e.setSelection(t,0),n()}}))})),e.keystrokes.set("SHIFT + TAB",((n,o)=>{t.change((n=>{const a=t.document.selection;if(!a.isCollapsed)return;const r=(0,i.first)(a.getSelectedBlocks()),s=a.getFirstPosition(),d=e.model.document.getRoot(s.root.rootName),c=d.getChild(0);r===d.getChild(1)&&s.isAtStart&&(n.setSelection(c.getChild(0),0),o())}))}))}}function C(e,t,n){const o=t.modelCursor,i=t.viewItem;if(!o.isAtStart||!o.parent.is("element","$root"))return;if(!n.consumable.consume(i,{name:!0}))return;const a=n.writer,r=a.createElement("title"),s=a.createElement("title-content");a.append(s,r),a.insert(r,o),n.convertChildren(i,s),n.updateConversionResult(r,t)}function T(e){return(t,n)=>{const o=n.modelPosition.parent;if(!o.is("element","title"))return;const i=o.parent,a=n.mapper.toViewElement(i);n.viewPosition=e.createPositionAt(a,0),t.stop()}}function _(e){return e.is("element","title")}function P(e,t,n){const o=t.createElement("title");t.insert(o,e,"before"),t.insert(e,o,0),t.rename(e,"title-content"),n.schema.removeDisallowedAttributes([e],t)}function E(e,t,n){let o=!1;for(const i of e)0!==i.index&&(H(i,t,n),o=!0);return o}function H(e,t,n){const o=e.getChild(0);o.isEmpty?t.remove(e):(t.move(t.createRangeOn(o),e,"before"),t.rename(o,"paragraph"),t.remove(e),n.schema.removeDisallowedAttributes([o],t))}function k(e,t){return!(!e||!e.is("element","paragraph")||e.childCount)&&!(t.childCount<=2||t.getChild(t.childCount-1)!==e)}})(),(window.CKEditor5=window.CKEditor5||{}).heading=o})(); \ No newline at end of file + */(()=>{var e={707:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(758),i=n.n(o),r=n(935),a=n.n(r)()(i());a.push([e.id,".ck.ck-heading_heading1 .ck-button__label{font-size:20px}.ck.ck-heading_heading2 .ck-button__label{font-size:17px}.ck.ck-heading_heading3 .ck-button__label{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}",""]);const s=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var s=0;s<this.length;s++){var d=this[s][0];null!=d&&(a[d]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);o&&a[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var r={},a=[],s=0;s<e.length;s++){var d=e[s],c=o.base?d[0]+o.base:d[0],l=r[c]||0,u="".concat(c," ").concat(l);r[c]=l+1;var g=n(u),m={css:d[1],media:d[2],sourceMap:d[3],supports:d[4],layer:d[5]};if(-1!==g)t[g].references++,t[g].updater(m);else{var h=i(m,o);o.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function i(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var r=o(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<r.length;a++){var s=n(r[a]);t[s].references--}for(var d=o(e,i),c=0;c<r.length;c++){var l=n(r[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}r=d}}},128:e=>{"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},639:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function o(e,t,o,i){var r;if(o)r="";else{r="",i.supports&&(r+="@supports (".concat(i.supports,") {")),i.media&&(r+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(r+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),r+=i.css,a&&(r+="}"),i.media&&(r+="}"),i.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,r);else{var s=document.createTextNode(r),d=e.childNodes;d[t]&&e.removeChild(d[t]),d.length?e.insertBefore(s,d[t]):e.appendChild(s)}}var i={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=i.singletonCounter++,n=i.singleton||(i.singleton=e.insertStyleElement(e));return{update:function(e){o(n,t,!1,e)},remove:function(e){o(n,t,!0,e)}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},179:(e,t,n)=>{e.exports=n(237)("./src/paragraph.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{Heading:()=>E,HeadingButtonsUI:()=>T,HeadingEditing:()=>d,HeadingUI:()=>_,Title:()=>A});var e=n(782),t=n(179),i=n(584);class r extends e.Command{constructor(e,t){super(e),this.modelElements=t}refresh(){const e=(0,i.first)(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some((t=>a(e,t,this.editor.model.schema)))}execute(e){const t=this.editor.model,n=t.document,o=e.value;t.change((e=>{const i=Array.from(n.selection.getSelectedBlocks()).filter((e=>a(e,o,t.schema)));for(const t of i)t.is("element",o)||e.rename(t,o)}))}}function a(e,t,n){return n.checkChild(e.parent,t)&&!n.isObject(e)}const s="paragraph";class d extends e.Plugin{static get pluginName(){return"HeadingEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.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"}]})}static get requires(){return[t.Paragraph]}init(){const e=this.editor,t=e.config.get("heading.options"),n=[];for(const o of t)"paragraph"!==o.model&&(e.model.schema.register(o.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(o),n.push(o.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new r(e,n))}afterInit(){const e=this.editor,t=e.commands.get("enter"),n=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",((t,o)=>{const i=e.model.document.selection.getFirstPosition().parent;n.some((e=>i.is("element",e.model)))&&!i.is("element",s)&&0===i.childCount&&o.writer.rename(i,s)}))}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:i.priorities.low+1})}}var c=n(311);function l(e){const t=e.t,n={Paragraph:t("Paragraph"),"Heading 1":t("Heading 1"),"Heading 2":t("Heading 2"),"Heading 3":t("Heading 3"),"Heading 4":t("Heading 4"),"Heading 5":t("Heading 5"),"Heading 6":t("Heading 6")};return e.config.get("heading.options").map((e=>{const t=n[e.title];return t&&t!=e.title&&(e.title=t),e}))}var u=n(591),g=n.n(u),m=n(639),h=n.n(m),p=n(128),f=n.n(p),v=n(21),w=n.n(v),b=n(51),y=n.n(b),x=n(707),P={attributes:{"data-cke":!0}};P.setAttributes=w(),P.insert=f().bind(null,"head"),P.domAPI=h(),P.insertStyleElement=y();g()(x.A,P);x.A&&x.A.locals&&x.A.locals;class _ extends e.Plugin{static get pluginName(){return"HeadingUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,n=l(e),o=t("Choose heading"),r=t("Heading");e.ui.componentFactory.add("heading",(t=>{const a={},s=new i.Collection,d=e.commands.get("heading"),l=e.commands.get("paragraph"),u=[d];for(const e of n){const t={type:"button",model:new c.ViewModel({label:e.title,class:e.class,role:"menuitemradio",withText:!0})};"paragraph"===e.model?(t.model.bind("isOn").to(l,"value"),t.model.set("commandName","paragraph"),u.push(l)):(t.model.bind("isOn").to(d,"value",(t=>t===e.model)),t.model.set({commandName:"heading",commandValue:e.model})),s.add(t),a[e.model]=e.title}const g=(0,c.createDropdown)(t);return(0,c.addListToDropdown)(g,s,{ariaLabel:r,role:"menu"}),g.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),g.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),g.bind("isEnabled").toMany(u,"isEnabled",((...e)=>e.some((e=>e)))),g.buttonView.bind("label").to(d,"value",l,"value",((e,t)=>{const n=t?"paragraph":e;return"boolean"==typeof n?o:a[n]?a[n]:o})),g.buttonView.bind("ariaLabel").to(d,"value",l,"value",((e,t)=>{const n=t?"paragraph":e;return"boolean"==typeof n?r:a[n]?`${a[n]}, ${r}`:r})),this.listenTo(g,"execute",(t=>{const{commandName:n,commandValue:o}=t.source;e.execute(n,o?{value:o}:void 0),e.editing.view.focus()})),g})),e.ui.componentFactory.add("menuBar:heading",(o=>{const i=new c.MenuBarMenuView(o),r=e.commands.get("heading"),a=e.commands.get("paragraph"),s=[r],d=new c.MenuBarMenuListView(o);i.set({class:"ck-heading-dropdown"}),d.set({ariaLabel:t("Heading"),role:"menu"}),i.buttonView.set({label:t("Heading")}),i.panelView.children.add(d);for(const t of n){const n=new c.MenuBarMenuListItemView(o,i),l=new c.MenuBarMenuListItemButtonView(o);n.children.add(l),d.items.add(n),l.set({isToggleable:!0,label:t.title,role:"menuitemradio",class:t.class}),l.delegate("execute").to(i),l.on("execute",(()=>{const n="paragraph"===t.model?"paragraph":"heading";e.execute(n,{value:t.model}),e.editing.view.focus()})),"paragraph"===t.model?(l.bind("isOn").to(a,"value"),s.push(a)):l.bind("isOn").to(r,"value",(e=>e===t.model))}return i.bind("isEnabled").toMany(s,"isEnabled",((...e)=>e.some((e=>e)))),i}))}}class E extends e.Plugin{static get requires(){return[d,_]}static get pluginName(){return"Heading"}static get isOfficialPlugin(){return!0}}const C=(()=>({heading1:e.icons.heading1,heading2:e.icons.heading2,heading3:e.icons.heading3,heading4:e.icons.heading4,heading5:e.icons.heading5,heading6:e.icons.heading6}))();class T extends e.Plugin{init(){l(this.editor).filter((e=>"paragraph"!==e.model)).map((e=>this._createButton(e)))}_createButton(e){const t=this.editor;t.ui.componentFactory.add(e.model,(n=>{const o=new c.ButtonView(n),i=t.commands.get("heading");return o.label=e.title,o.icon=e.icon||C[e.model],o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(i),o.bind("isOn").to(i,"value",(t=>t==e.model)),o.on("execute",(()=>{t.execute("heading",{value:e.model}),t.editing.view.focus()})),o}))}}var H=n(783);const k=new Set(["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"]);class A extends e.Plugin{constructor(){super(...arguments),this._bodyPlaceholder=new Map}static get pluginName(){return"Title"}static get isOfficialPlugin(){return!0}static get requires(){return["Paragraph"]}init(){const e=this.editor,t=e.model;t.schema.register("title",{isBlock:!0,allowIn:"$root"}),t.schema.register("title-content",{isBlock:!0,allowIn:"title",allowAttributes:["alignment"]}),t.schema.extend("$text",{allowIn:"title-content"}),t.schema.addAttributeCheck((e=>{if(e.endsWith("title-content $text"))return!1})),e.editing.mapper.on("modelToViewPosition",B(e.editing.view)),e.data.mapper.on("modelToViewPosition",B(e.editing.view)),e.conversion.for("downcast").elementToElement({model:"title-content",view:"h1"}),e.conversion.for("downcast").add((e=>e.on("insert:title",((e,t,n)=>{n.consumable.consume(t.item,e.name)})))),e.data.upcastDispatcher.on("element:h1",O,{priority:"high"}),e.data.upcastDispatcher.on("element:h2",O,{priority:"high"}),e.data.upcastDispatcher.on("element:h3",O,{priority:"high"}),t.document.registerPostFixer((e=>this._fixTitleContent(e))),t.document.registerPostFixer((e=>this._fixTitleElement(e))),t.document.registerPostFixer((e=>this._fixBodyElement(e))),t.document.registerPostFixer((e=>this._fixExtraParagraph(e))),this._attachPlaceholders(),this._attachTabPressHandling()}getTitle(e={}){const t=e.rootName?e.rootName:void 0,n=this._getTitleElement(t).getChild(0);return this.editor.data.stringify(n,e)}getBody(e={}){const t=this.editor,n=t.data,o=t.model,i=e.rootName?e.rootName:void 0,r=t.model.document.getRoot(i),a=t.editing.view,s=new H.DowncastWriter(a.document),d=o.createRangeIn(r),c=s.createDocumentFragment(),l=o.createPositionAfter(r.getChild(0)),u=o.createRange(l,o.createPositionAt(r,"end")),g=new Map;for(const e of o.markers){const t=u.getIntersection(e.getRange());t&&g.set(e.name,t)}return n.mapper.clearBindings(),n.mapper.bindElements(r,c),n.downcastDispatcher.convert(d,g,s,e),s.remove(s.createRangeOn(c.getChild(0))),t.data.processor.toData(c)}_getTitleElement(e){const t=this.editor.model.document.getRoot(e);for(const e of t.getChildren())if(S(e))return e}_fixTitleContent(e){let t=!1;for(const n of this.editor.model.document.getRootNames()){const o=this._getTitleElement(n);if(!o||1===o.maxOffset)continue;const i=Array.from(o.getChildren());i.shift();for(const t of i)e.move(e.createRangeOn(t),o,"after"),e.rename(t,"paragraph");t=!0}return t}_fixTitleElement(e){let t=!1;const n=this.editor.model;for(const o of this.editor.model.document.getRoots()){const i=Array.from(o.getChildren()).filter(S),r=i[0],a=o.getChild(0);if(a.is("element","title"))i.length>1&&(I(i,e,n),t=!0);else if(r||k.has(a.name))k.has(a.name)?N(a,e,n):e.move(e.createRangeOn(r),o,0),I(i,e,n),t=!0;else{const n=e.createElement("title");e.insert(n,o),e.insertElement("title-content",n),t=!0}}return t}_fixBodyElement(e){let t=!1;for(const n of this.editor.model.document.getRootNames()){const o=this.editor.model.document.getRoot(n);if(o.childCount<2){const i=e.createElement("paragraph");e.insert(i,o,1),this._bodyPlaceholder.set(n,i),t=!0}}return t}_fixExtraParagraph(e){let t=!1;for(const n of this.editor.model.document.getRootNames()){const o=this.editor.model.document.getRoot(n),i=this._bodyPlaceholder.get(n);R(i,o)&&(this._bodyPlaceholder.delete(n),e.remove(i),t=!0)}return t}_attachPlaceholders(){const e=this.editor,t=e.t,n=e.editing.view,o=e.sourceElement,i=e.config.get("title.placeholder")||t("Type your title"),r=e.config.get("placeholder")||o&&"textarea"===o.tagName.toLowerCase()&&o.getAttribute("placeholder")||t("Type or paste your content here.");e.editing.downcastDispatcher.on("insert:title-content",((e,t,o)=>{const r=o.mapper.toViewElement(t.item);r.placeholder=i,(0,H.enablePlaceholder)({view:n,element:r,keepOnFocus:!0})}));const a=new Map;n.document.registerPostFixer((e=>{let t=!1;for(const o of n.document.roots){if(o.isEmpty)continue;const n=o.getChild(1),i=a.get(o.rootName);n!==i&&(i&&((0,H.hidePlaceholder)(e,i),e.removeAttribute("data-placeholder",i)),e.setAttribute("data-placeholder",r,n),a.set(o.rootName,n),t=!0),t=(0,H.needsPlaceholder)(n,!0)&&2===o.childCount&&"p"===n.name?!!(0,H.showPlaceholder)(e,n)||t:!!(0,H.hidePlaceholder)(e,n)||t}return t}))}_attachTabPressHandling(){const e=this.editor,t=e.model;e.keystrokes.set("TAB",((e,n)=>{t.change((e=>{const o=t.document.selection,i=Array.from(o.getSelectedBlocks());if(1===i.length&&i[0].is("element","title-content")){const t=o.getFirstPosition().root.getChild(1);e.setSelection(t,0),n()}}))})),e.keystrokes.set("SHIFT + TAB",((n,o)=>{t.change((n=>{const r=t.document.selection;if(!r.isCollapsed)return;const a=(0,i.first)(r.getSelectedBlocks()),s=r.getFirstPosition(),d=e.model.document.getRoot(s.root.rootName),c=d.getChild(0);a===d.getChild(1)&&s.isAtStart&&(n.setSelection(c.getChild(0),0),o())}))}))}}function O(e,t,n){const o=t.modelCursor,i=t.viewItem;if(!o.isAtStart||!o.parent.is("element","$root"))return;if(!n.consumable.consume(i,{name:!0}))return;const r=n.writer,a=r.createElement("title"),s=r.createElement("title-content");r.append(s,a),r.insert(a,o),n.convertChildren(i,s),n.updateConversionResult(a,t)}function B(e){return(t,n)=>{const o=n.modelPosition.parent;if(!o.is("element","title"))return;const i=o.parent,r=n.mapper.toViewElement(i);n.viewPosition=e.createPositionAt(r,0),t.stop()}}function S(e){return e.is("element","title")}function N(e,t,n){const o=t.createElement("title");t.insert(o,e,"before"),t.insert(e,o,0),t.rename(e,"title-content"),n.schema.removeDisallowedAttributes([e],t)}function I(e,t,n){let o=!1;for(const i of e)0!==i.index&&(M(i,t,n),o=!0);return o}function M(e,t,n){const o=e.getChild(0);o.isEmpty?t.remove(e):(t.move(t.createRangeOn(o),e,"before"),t.rename(o,"paragraph"),t.remove(e),n.schema.removeDisallowedAttributes([o],t))}function R(e,t){return!(!e||!e.is("element","paragraph")||e.childCount)&&!(t.childCount<=2||t.getChild(t.childCount-1)!==e)}})(),(window.CKEditor5=window.CKEditor5||{}).heading=o})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ar.js b/core/assets/vendor/ckeditor5/heading/translations/ar.js index f6ec4ef30007e4009c5e6cd047df9c695314b1ce..fb4358144df23a0be05ea829d3410f56120a7cb1 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ar.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ar.js @@ -1 +1 @@ -!function(n){const a=n.ar=n.ar||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"اختر عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6",Paragraph:"Ùقرة","Type or paste your content here.":"أكتب المØتوى أو ألصقه هنا.","Type your title":"أدخل العنوان"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ar=n.ar||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"اختر عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6","Type or paste your content here.":"أكتب المØتوى أو ألصقه هنا.","Type your title":"أدخل العنوان"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/az.js b/core/assets/vendor/ckeditor5/heading/translations/az.js index 941d1188a0bd897c81b6cdd18da5d619b6dd1748..9f8ec806c64624c08bd45062d353b6af8671d9c0 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/az.js +++ b/core/assets/vendor/ckeditor5/heading/translations/az.js @@ -1 +1 @@ -!function(a){const n=a.az=a.az||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"BaÅŸlıqı seç",Heading:"BaÅŸlıq","Heading 1":"BaÅŸlıq 1","Heading 2":"BaÅŸlıq 2","Heading 3":"BaÅŸlıq 3","Heading 4":"BaÅŸlıq 4","Heading 5":"BaÅŸlıq 5","Heading 6":"BaÅŸlıq 6",Paragraph:"Abzas","Type or paste your content here.":"","Type your title":"BaÅŸlığınızı yazın"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const n=a.az=a.az||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"BaÅŸlıqı seç",Heading:"BaÅŸlıq","Heading 1":"BaÅŸlıq 1","Heading 2":"BaÅŸlıq 2","Heading 3":"BaÅŸlıq 3","Heading 4":"BaÅŸlıq 4","Heading 5":"BaÅŸlıq 5","Heading 6":"BaÅŸlıq 6","Type or paste your content here.":"","Type your title":"BaÅŸlığınızı yazın"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/bg.js b/core/assets/vendor/ckeditor5/heading/translations/bg.js index 31c263c04e03d6007087786e49965173ae1113a3..d6c9355784641db702d823d7f8ff54cf31f7a710 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/bg.js +++ b/core/assets/vendor/ckeditor5/heading/translations/bg.js @@ -1 +1 @@ -!function(n){const e=n.bg=n.bg||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Избери заглавие",Heading:"Заглавие","Heading 1":"Заглавие 1","Heading 2":"Заглавие 2","Heading 3":"Заглавие 3","Heading 4":"Заглавие 4","Heading 5":"Заглавие 5","Heading 6":"Заглавие 6",Paragraph:"Параграф","Type or paste your content here.":"Ðапишете или поÑтавете Ñъдържанието Ñи тук.","Type your title":"Ðапишете заглавието Ñи"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.bg=n.bg||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Избери заглавие",Heading:"Заглавие","Heading 1":"Заглавие 1","Heading 2":"Заглавие 2","Heading 3":"Заглавие 3","Heading 4":"Заглавие 4","Heading 5":"Заглавие 5","Heading 6":"Заглавие 6","Type or paste your content here.":"Ðапишете или поÑтавете Ñъдържанието Ñи тук.","Type your title":"Ðапишете заглавието Ñи"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/bn.js b/core/assets/vendor/ckeditor5/heading/translations/bn.js index 05f6f4b57ce07e5e0e56c0fc69e175b309129d45..2f100c46225ca5291aa5ba688d16f7f21e1bdd08 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/bn.js +++ b/core/assets/vendor/ckeditor5/heading/translations/bn.js @@ -1 +1 @@ -!function(n){const e=n.bn=n.bn||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"শিরোনাম নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨",Heading:"শিরোনাম","Heading 1":"শিরোনাম 1","Heading 2":"শিরোনাম 2","Heading 3":"শিরোনাম 3","Heading 4":"শিরোনাম 4","Heading 5":"শিরোনাম 5","Heading 6":"শিরোনাম 6",Paragraph:"অনà§à¦šà§à¦›à§‡à¦¦","Type or paste your content here.":"আপনার বিষয়বসà§à¦¤à§ à¦à¦–ানে টাইপ অথবা পেসà§à¦Ÿ করà§à¦¨à¥¤","Type your title":"আপনার শিরোনাম টাইপ করà§à¦¨"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.bn=n.bn||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"শিরোনাম নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨",Heading:"শিরোনাম","Heading 1":"শিরোনাম 1","Heading 2":"শিরোনাম 2","Heading 3":"শিরোনাম 3","Heading 4":"শিরোনাম 4","Heading 5":"শিরোনাম 5","Heading 6":"শিরোনাম 6","Type or paste your content here.":"আপনার বিষয়বসà§à¦¤à§ à¦à¦–ানে টাইপ অথবা পেসà§à¦Ÿ করà§à¦¨à¥¤","Type your title":"আপনার শিরোনাম টাইপ করà§à¦¨"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/bs.js b/core/assets/vendor/ckeditor5/heading/translations/bs.js index d802d98b0502ec581694964230dccd25c39e4a0c..fdfad59bdcf6da0ef6db8051c1d3fb776d9a720e 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/bs.js +++ b/core/assets/vendor/ckeditor5/heading/translations/bs.js @@ -1 +1 @@ -!function(a){const e=a.bs=a.bs||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Odaberi naslov",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6",Paragraph:"Paragraf","Type or paste your content here.":"Unesite ili zalijepite vaÅ¡ sadržaj ovdje","Type your title":"Unesite naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.bs=a.bs||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Odaberi naslov",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6","Type or paste your content here.":"Unesite ili zalijepite vaÅ¡ sadržaj ovdje","Type your title":"Unesite naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ca.js b/core/assets/vendor/ckeditor5/heading/translations/ca.js index 499bf995dd0ba80126e9ce587e20ca06d147c05e..728334ba338fff8cc11de314a6c42a0c1a17899e 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ca.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ca.js @@ -1 +1 @@ -!function(a){const e=a.ca=a.ca||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Escull capçalera",Heading:"Capçalera","Heading 1":"Capçalera 1","Heading 2":"Capçalera 2","Heading 3":"Capçalera 3","Heading 4":"Encapçalament 4","Heading 5":"Encapçalament 5","Heading 6":"Encapçalament 6",Paragraph:"Pà rraf","Type or paste your content here.":"Escriu o enganxa el teu contingut aquÃ.","Type your title":"Escriu el teu tÃtol"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const n=a.ca=a.ca||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Trieu l'encapçalament",Heading:"Encapçalament","Heading 1":"Encapçalament 1","Heading 2":"Encapçalament 2","Heading 3":"Encapçalament 3","Heading 4":"Encapçalament 4","Heading 5":"Encapçalament 5","Heading 6":"Encapçalament 6","Type or paste your content here.":"Escriviu o enganxeu el contingut aquÃ.","Type your title":"Escriviu el tÃtol"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/cs.js b/core/assets/vendor/ckeditor5/heading/translations/cs.js index 2fa3e3515ab923266140505e8c8eb9c8b89b4f20..0d79a54c3db80553868a10d9f48b1394a67c0171 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/cs.js +++ b/core/assets/vendor/ckeditor5/heading/translations/cs.js @@ -1 +1 @@ -!function(e){const a=e.cs=e.cs||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Zvolte nadpis",Heading:"Nadpis","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4","Heading 5":"Nadpis 5","Heading 6":"Nadpis 6",Paragraph:"Odstavec","Type or paste your content here.":"Zde zadejte nebo vložte obsah.","Type your title":"Sem zadejte název"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.cs=e.cs||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Zvolte nadpis",Heading:"Nadpis","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4","Heading 5":"Nadpis 5","Heading 6":"Nadpis 6","Type or paste your content here.":"Zde zadejte nebo vložte obsah.","Type your title":"Sem zadejte název"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/da.js b/core/assets/vendor/ckeditor5/heading/translations/da.js index 8595dff15bede4ffe1e7f5f63aaa50fed0df5919..0d7b8f6fbefaee7613fd5166a3970c6b6f828715 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/da.js +++ b/core/assets/vendor/ckeditor5/heading/translations/da.js @@ -1 +1 @@ -!function(i){const e=i.da=i.da||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Vælg overskrift",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4","Heading 5":"Overskrift 5","Heading 6":"Overskrift 6",Paragraph:"Afsnit","Type or paste your content here.":"Skriv eller indsæt dit indhold her.","Type your title":"Skriv din titel"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const e=i.da=i.da||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Vælg overskrift",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4","Heading 5":"Overskrift 5","Heading 6":"Overskrift 6","Type or paste your content here.":"Skriv eller indsæt dit indhold her.","Type your title":"Skriv din titel"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/de-ch.js b/core/assets/vendor/ckeditor5/heading/translations/de-ch.js index 3a31c29a479170b70e5ec9639cded74b8e8dd75d..c48eca00daca459512bbcdbd3d737d85d6b745bb 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/de-ch.js +++ b/core/assets/vendor/ckeditor5/heading/translations/de-ch.js @@ -1 +1 @@ -!function(e){const i=e["de-ch"]=e["de-ch"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Ãœberschrift auswählen",Heading:"Ãœberschrift","Heading 1":"Ãœberschrift 1","Heading 2":"Ãœberschrift 2","Heading 3":"Ãœberschrift 3","Heading 4":"Ãœberschrift 4","Heading 5":"Ãœberschrift 5","Heading 6":"Ãœberschrift 6",Paragraph:"Absatz","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e["de-ch"]=e["de-ch"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Ãœberschrift auswählen",Heading:"Ãœberschrift","Heading 1":"Ãœberschrift 1","Heading 2":"Ãœberschrift 2","Heading 3":"Ãœberschrift 3","Heading 4":"Ãœberschrift 4","Heading 5":"Ãœberschrift 5","Heading 6":"Ãœberschrift 6","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/de.js b/core/assets/vendor/ckeditor5/heading/translations/de.js index 398067acc33530735b64c28e6d585af400d9a913..a5172120adabf4a5933296e0f0e6e784a4d945ec 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/de.js +++ b/core/assets/vendor/ckeditor5/heading/translations/de.js @@ -1 +1 @@ -!function(e){const i=e.de=e.de||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Ãœberschrift auswählen",Heading:"Ãœberschrift","Heading 1":"Ãœberschrift 1","Heading 2":"Ãœberschrift 2","Heading 3":"Ãœberschrift 3","Heading 4":"Ãœberschrift 4","Heading 5":"Ãœberschrift 5","Heading 6":"Ãœberschrift 6",Paragraph:"Absatz","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.de=e.de||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Ãœberschrift auswählen",Heading:"Ãœberschrift","Heading 1":"Ãœberschrift 1","Heading 2":"Ãœberschrift 2","Heading 3":"Ãœberschrift 3","Heading 4":"Ãœberschrift 4","Heading 5":"Ãœberschrift 5","Heading 6":"Ãœberschrift 6","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/el.js b/core/assets/vendor/ckeditor5/heading/translations/el.js index cdc996404d69b14d434764d8be70621eed96af5f..2fa94e10359c8a764811942daa240f6be4b548a9 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/el.js +++ b/core/assets/vendor/ckeditor5/heading/translations/el.js @@ -1 +1 @@ -!function(e){const n=e.el=e.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"ΕπιλÎξτε κεφαλίδα",Heading:"Κεφαλίδα","Heading 1":"Κεφαλίδα 1","Heading 2":"Κεφαλίδα 2","Heading 3":"Κεφαλίδα 3","Heading 4":"Κεφαλίδα 4","Heading 5":"Κεφαλίδα 5","Heading 6":"Κεφαλίδα 6",Paragraph:"ΠαÏάγÏαφος","Type or paste your content here.":"ΓÏάψτε ή επικολλήστε τα πεÏιεχόμενά σας εδώ.","Type your title":"ΓÏάψτε τον τίτλο σας εδώ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e.el=e.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"ΕπιλÎξτε κεφαλίδα",Heading:"Κεφαλίδα","Heading 1":"Κεφαλίδα 1","Heading 2":"Κεφαλίδα 2","Heading 3":"Κεφαλίδα 3","Heading 4":"Κεφαλίδα 4","Heading 5":"Κεφαλίδα 5","Heading 6":"Κεφαλίδα 6","Type or paste your content here.":"ΓÏάψτε ή επικολλήστε τα πεÏιεχόμενά σας εδώ.","Type your title":"ΓÏάψτε τον τίτλο σας εδώ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/en-au.js b/core/assets/vendor/ckeditor5/heading/translations/en-au.js index 8fc62daa65a20be31accef53565e4a79b3aab685..e81e80c356464a79decb1f8fff03dbc146d610ad 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/en-au.js +++ b/core/assets/vendor/ckeditor5/heading/translations/en-au.js @@ -1 +1 @@ -!function(e){const n=e["en-au"]=e["en-au"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Paragraph:"Paragraph","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e["en-au"]=e["en-au"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/en-gb.js b/core/assets/vendor/ckeditor5/heading/translations/en-gb.js index eb79ba4d0d1256ce6b03a3f499ff4d51997f1431..b085faad448faa09eba56057b0a5aa35c56955a0 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/en-gb.js +++ b/core/assets/vendor/ckeditor5/heading/translations/en-gb.js @@ -1 +1 @@ -!function(e){const n=e["en-gb"]=e["en-gb"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Paragraph:"Paragraph","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e["en-gb"]=e["en-gb"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/eo.js b/core/assets/vendor/ckeditor5/heading/translations/eo.js index d10e7581a64e53f5f51c1a5d635f8d7b31cc1f12..822a95253a2e0a919f7fdc2c6bf84f53498f0e88 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/eo.js +++ b/core/assets/vendor/ckeditor5/heading/translations/eo.js @@ -1 +1 @@ -!function(a){const e=a.eo=a.eo||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Elektu ĉapon",Heading:"Ĉapo","Heading 1":"Ĉapo 1","Heading 2":"Ĉapo 2","Heading 3":"Ĉapo 3","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"Paragrafo","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e.eo=e.eo||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Elektu ĉapon",Heading:"Ĉapo","Heading 1":"Ĉapo 1","Heading 2":"Ĉapo 2","Heading 3":"Ĉapo 3","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/es.js b/core/assets/vendor/ckeditor5/heading/translations/es.js index 23c50b4d6c94b44c6d5e4de96b9b14a8d66bb129..afcf1530bd6f773748af97e5a5a77fe89764b2f9 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/es.js +++ b/core/assets/vendor/ckeditor5/heading/translations/es.js @@ -1 +1 @@ -!function(a){const e=a.es=a.es||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Elegir Encabezado",Heading:"Encabezado","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4","Heading 5":"Encabezado 5","Heading 6":"Encabezado 6",Paragraph:"Párrafo","Type or paste your content here.":"Introduce o pega tu contenido aquÃ","Type your title":"Introduce tu tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Elegir Encabezado",Heading:"Encabezado","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4","Heading 5":"Encabezado 5","Heading 6":"Encabezado 6","Type or paste your content here.":"Introduce o pega tu contenido aquÃ","Type your title":"Introduce tu tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/et.js b/core/assets/vendor/ckeditor5/heading/translations/et.js index 007397f08b6038b0bf19dc5e9f337458620a0be3..0e51c81fec78d94f6291878583aa25992731b676 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/et.js +++ b/core/assets/vendor/ckeditor5/heading/translations/et.js @@ -1 +1 @@ -!function(i){const e=i.et=i.et||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Vali pealkiri",Heading:"Pealkiri","Heading 1":"Pealkiri 1","Heading 2":"Pealkiri 2","Heading 3":"Pealkiri 3","Heading 4":"Pealkiri 4","Heading 5":"Pealkiri 5","Heading 6":"Pealkiri 6",Paragraph:"Lõik","Type or paste your content here.":"Siia tipi või kopeeri tekst.","Type your title":"Sisesta pealkiri"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const e=i.et=i.et||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Vali pealkiri",Heading:"Pealkiri","Heading 1":"Pealkiri 1","Heading 2":"Pealkiri 2","Heading 3":"Pealkiri 3","Heading 4":"Pealkiri 4","Heading 5":"Pealkiri 5","Heading 6":"Pealkiri 6","Type or paste your content here.":"Siia tipi või kopeeri tekst.","Type your title":"Sisesta pealkiri"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/eu.js b/core/assets/vendor/ckeditor5/heading/translations/eu.js index 1e5aafd7968df8e9db7e174dae086fadc7c6a045..78a7dc9f0970dadf03d4cfce18e8de601ae17a19 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/eu.js +++ b/core/assets/vendor/ckeditor5/heading/translations/eu.js @@ -1 +1 @@ -!function(a){const e=a.eu=a.eu||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Aukeratu izenburua",Heading:"Izenburua","Heading 1":"Izenburua 1","Heading 2":"Izenburua 2","Heading 3":"Izenburua 3","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"Paragrafoa","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e.eu=e.eu||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Aukeratu izenburua",Heading:"Izenburua","Heading 1":"Izenburua 1","Heading 2":"Izenburua 2","Heading 3":"Izenburua 3","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/fa.js b/core/assets/vendor/ckeditor5/heading/translations/fa.js index 50f93b68b6a8be9bc65f3bacfede80e7b93d4f82..4025bd8a91985b25fdc6c3a80c3f75fdbd789d2a 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/fa.js +++ b/core/assets/vendor/ckeditor5/heading/translations/fa.js @@ -1 +1 @@ -!function(n){const a=n.fa=n.fa||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"انتخاب عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6",Paragraph:"پاراگراÙ","Type or paste your content here.":"Ù…Øتوای خود را در اینجا تایپ یا پیست کنید.","Type your title":"عنوان خود را تایپ کنید"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.fa=n.fa||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"انتخاب عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6","Type or paste your content here.":"Ù…Øتوای خود را در اینجا تایپ یا پیست کنید.","Type your title":"عنوان خود را تایپ کنید"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/fi.js b/core/assets/vendor/ckeditor5/heading/translations/fi.js index d61112594af4cca25934e7b5497678f20abe7425..ba9567c39cafdb1ce40ce34f22052cf32c5c6b4e 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/fi.js +++ b/core/assets/vendor/ckeditor5/heading/translations/fi.js @@ -1 +1 @@ -!function(i){const t=i.fi=i.fi||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Valitse otsikko",Heading:"Otsikkotyyli","Heading 1":"Otsikko 1","Heading 2":"Otsikko 2","Heading 3":"Otsikko 3","Heading 4":"Otsikko 4","Heading 5":"Otsikko 5","Heading 6":"Otsikko 6",Paragraph:"Kappale","Type or paste your content here.":"Kirjoita tai liitä sisältösi tänne.","Type your title":"Kirjoita otsikkosi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const t=i.fi=i.fi||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Valitse otsikko",Heading:"Otsikkotyyli","Heading 1":"Otsikko 1","Heading 2":"Otsikko 2","Heading 3":"Otsikko 3","Heading 4":"Otsikko 4","Heading 5":"Otsikko 5","Heading 6":"Otsikko 6","Type or paste your content here.":"Kirjoita tai liitä sisältösi tänne.","Type your title":"Kirjoita otsikkosi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/fr.js b/core/assets/vendor/ckeditor5/heading/translations/fr.js index c28965c1d40997d7581c694e28efd0e7e6dc830a..22dc0db80db85e36836971599179dc92e485f99e 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/fr.js +++ b/core/assets/vendor/ckeditor5/heading/translations/fr.js @@ -1 +1 @@ -!function(e){const i=e.fr=e.fr||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Choisir l'en-tête",Heading:"En-tête","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4","Heading 5":"Titre 5","Heading 6":"Titre 6",Paragraph:"Paragraphe","Type or paste your content here.":"Noter ou coller votre contenu ici","Type your title":"Rentrer votre titre"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.fr=e.fr||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Choisir l'en-tête",Heading:"En-tête","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4","Heading 5":"Titre 5","Heading 6":"Titre 6","Type or paste your content here.":"Noter ou coller votre contenu ici","Type your title":"Rentrer votre titre"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/gl.js b/core/assets/vendor/ckeditor5/heading/translations/gl.js index 191e1905ccdb955a96a0f4cefc039a9cd8d2ba2e..267e31f40d8f4ce06eb3af34e68c3eb3169893f3 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/gl.js +++ b/core/assets/vendor/ckeditor5/heading/translations/gl.js @@ -1 +1 @@ -!function(o){const t=o.gl=o.gl||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Escolla o tÃtulo",Heading:"TÃtulo","Heading 1":"TÃtulo 1","Heading 2":"TÃtulo 2","Heading 3":"TÃtulo 3","Heading 4":"TÃtulo 4","Heading 5":"TÃtulo 5","Heading 6":"TÃtulo 6",Paragraph:"Parágrafo","Type or paste your content here.":"Escriba ou pegue o seu contido aquÃ.","Type your title":"Escriba o seu tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(o){const t=o.gl=o.gl||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Escolla o tÃtulo",Heading:"TÃtulo","Heading 1":"TÃtulo 1","Heading 2":"TÃtulo 2","Heading 3":"TÃtulo 3","Heading 4":"TÃtulo 4","Heading 5":"TÃtulo 5","Heading 6":"TÃtulo 6","Type or paste your content here.":"Escriba ou pegue o seu contido aquÃ.","Type your title":"Escriba o seu tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/he.js b/core/assets/vendor/ckeditor5/heading/translations/he.js index 7a0a30dfc618f880d7fd8b7b90d784ab61462d2a..29273a01d6132d1783471c819bca37d332211b8f 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/he.js +++ b/core/assets/vendor/ckeditor5/heading/translations/he.js @@ -1 +1 @@ -!function(e){const n=e.he=e.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"בחר סוג כותרת",Heading:"כותרת","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4","Heading 5":"כותרת 5","Heading 6":"כותרת 6",Paragraph:"פיסקה","Type or paste your content here.":"הזן ×ו הדבק ×ת התוכן ×›×ן","Type your title":"הזן כותרת"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e.he=e.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"בחר סוג כותרת",Heading:"כותרת","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4","Heading 5":"כותרת 5","Heading 6":"כותרת 6","Type or paste your content here.":"הזן ×ו הדבק ×ת התוכן ×›×ן","Type your title":"הזן כותרת"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/hi.js b/core/assets/vendor/ckeditor5/heading/translations/hi.js index 5bdb92e980b3ca3d5c6a31b5e0283b8bd0631f11..aab899f9d7ebf0ac99657e31896e47ef54df40e7 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/hi.js +++ b/core/assets/vendor/ckeditor5/heading/translations/hi.js @@ -1 +1 @@ -!function(e){const i=e.hi=e.hi||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Paragraph:"Paragraph","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.hi=e.hi||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Choose heading",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/hr.js b/core/assets/vendor/ckeditor5/heading/translations/hr.js index 5bff489c8474e1aad25be36174828691e71a0c87..b19e8cac3cf18ff476ab9bc7d43b8209334dcd6c 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/hr.js +++ b/core/assets/vendor/ckeditor5/heading/translations/hr.js @@ -1 +1 @@ -!function(a){const e=a.hr=a.hr||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Odaberite naslov",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6",Paragraph:"Paragraf","Type or paste your content here.":"Utipkajte ili zalijepite VaÅ¡ sadržaj ovdje.","Type your title":"Utipkajte naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.hr=a.hr||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Odaberite naslov",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6","Type or paste your content here.":"Utipkajte ili zalijepite VaÅ¡ sadržaj ovdje.","Type your title":"Utipkajte naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/hu.js b/core/assets/vendor/ckeditor5/heading/translations/hu.js index 4795c30d2c816c22247ac2e7c57d6c3334e1dc45..2b4c56fbbf1fe3c5b8ecae833399011b36fc25ec 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/hu.js +++ b/core/assets/vendor/ckeditor5/heading/translations/hu.js @@ -1 +1 @@ -!function(e){const a=e.hu=e.hu||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"StÃlus megadása",Heading:"StÃlusok","Heading 1":"CÃmsor 1","Heading 2":"CÃmsor 2","Heading 3":"CÃmsor 3","Heading 4":"CÃmsor 4","Heading 5":"CÃmsor 5","Heading 6":"CÃmsor 6",Paragraph:"Bekezdés","Type or paste your content here.":"Ãrja be, vagy illessze be a tartalmat.","Type your title":"Adja meg a cÃmet"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.hu=e.hu||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"StÃlus megadása",Heading:"StÃlusok","Heading 1":"CÃmsor 1","Heading 2":"CÃmsor 2","Heading 3":"CÃmsor 3","Heading 4":"CÃmsor 4","Heading 5":"CÃmsor 5","Heading 6":"CÃmsor 6","Type or paste your content here.":"Ãrja be, vagy illessze be a tartalmat.","Type your title":"Adja meg a cÃmet"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/hy.js b/core/assets/vendor/ckeditor5/heading/translations/hy.js index 2e503c51cb6e2f0e0946206992bafb8b66b4d9db..d71964d2c148b6c435817aafcdffd2ee6c58cf37 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/hy.js +++ b/core/assets/vendor/ckeditor5/heading/translations/hy.js @@ -1 +1 @@ -!function(n){const e=n.hy=n.hy||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"",Heading:"","Heading 1":"ÕŽÕ¥Ö€Õ¶Õ¡Õ£Õ«Ö€ 1","Heading 2":"ÕŽÕ¥Ö€Õ¶Õ¡Õ£Õ«Ö€ 2","Heading 3":"ÕŽÕ¥Ö€Õ¶Õ¡Õ£Õ«Ö€ 3","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.hy=n.hy||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"",Heading:"","Heading 1":"ÕŽÕ¥Ö€Õ¶Õ¡Õ£Õ«Ö€ 1","Heading 2":"ÕŽÕ¥Ö€Õ¶Õ¡Õ£Õ«Ö€ 2","Heading 3":"ÕŽÕ¥Ö€Õ¶Õ¡Õ£Õ«Ö€ 3","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/id.js b/core/assets/vendor/ckeditor5/heading/translations/id.js index 50afffc6e638485115d7a5285e5dd1ec07a30f0d..75475f3083618a0cf327635819ba9f968fa6a135 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/id.js +++ b/core/assets/vendor/ckeditor5/heading/translations/id.js @@ -1 +1 @@ -!function(a){const i=a.id=a.id||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Pilih tajuk",Heading:"Tajuk","Heading 1":"Tajuk 1","Heading 2":"Tajuk 2","Heading 3":"Tajuk 3","Heading 4":"Tajuk 4","Heading 5":"Tajuk 5","Heading 6":"Tajuk 6",Paragraph:"Paragraf","Type or paste your content here.":"Ketik atau tempel konten Anda di sini.","Type your title":"Ketik judul Anda"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const a=i.id=i.id||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Pilih tajuk",Heading:"Tajuk","Heading 1":"Tajuk 1","Heading 2":"Tajuk 2","Heading 3":"Tajuk 3","Heading 4":"Tajuk 4","Heading 5":"Tajuk 5","Heading 6":"Tajuk 6","Type or paste your content here.":"Ketik atau tempel konten Anda di sini.","Type your title":"Ketik judul Anda"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/it.js b/core/assets/vendor/ckeditor5/heading/translations/it.js index 623941735f1ff3bb819fce4a9f954e7b519aa9b0..1a62094a4f6a182f2930dfa5e7dbae4710386602 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/it.js +++ b/core/assets/vendor/ckeditor5/heading/translations/it.js @@ -1 +1 @@ -!function(e){const n=e.it=e.it||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Seleziona intestazione",Heading:"Intestazione","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4","Heading 5":"Intestazione 5","Heading 6":"Intestazione 6",Paragraph:"Paragrafo","Type or paste your content here.":"Inserire o incollare qui il proprio contenuto.","Type your title":"Inserire il proprio titolo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const n=e.it=e.it||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Seleziona intestazione",Heading:"Intestazione","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4","Heading 5":"Intestazione 5","Heading 6":"Intestazione 6","Type or paste your content here.":"Inserire o incollare qui il proprio contenuto.","Type your title":"Inserire il proprio titolo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ja.js b/core/assets/vendor/ckeditor5/heading/translations/ja.js index 8fab6d51cf2a39c31bbb8d787e4c643054e2c5f7..2a40e7143164a3696a0b7b5313ba12439b7c3163 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ja.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ja.js @@ -1 +1 @@ -!function(n){const a=n.ja=n.ja||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"見出ã—ã‚’é¸æŠž",Heading:"見出ã—","Heading 1":"見出ã—1","Heading 2":"見出ã—2","Heading 3":"見出ã—3 ","Heading 4":"見出ã—4","Heading 5":"見出ã—5","Heading 6":"見出ã—6",Paragraph:"段è½","Type or paste your content here.":"コンテンツをã“ã“ã«å…¥åŠ›ã¾ãŸã¯è²¼ã‚Šä»˜ã‘ã—ã¦ãã ã•ã„。","Type your title":"タイトルを入力"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ja=n.ja||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"見出ã—ã‚’é¸æŠž",Heading:"見出ã—","Heading 1":"見出ã—1","Heading 2":"見出ã—2","Heading 3":"見出ã—3 ","Heading 4":"見出ã—4","Heading 5":"見出ã—5","Heading 6":"見出ã—6","Type or paste your content here.":"コンテンツをã“ã“ã«å…¥åŠ›ã¾ãŸã¯è²¼ã‚Šä»˜ã‘ã—ã¦ãã ã•ã„。","Type your title":"タイトルを入力"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/jv.js b/core/assets/vendor/ckeditor5/heading/translations/jv.js index 70ce695e8d2b89584a8f6f6459629858055f7eab..047efcfbb68aeb866328cc5d43b86a627169a1a7 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/jv.js +++ b/core/assets/vendor/ckeditor5/heading/translations/jv.js @@ -1 +1 @@ -!function(a){const n=a.jv=a.jv||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"",Heading:"","Heading 1":"","Heading 2":"","Heading 3":"","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"","Type or paste your content here.":"Serataken utawi nyukani babagan ing ngriki","Type your title":"Serataken irah-irahan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const a=n.jv=n.jv||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"",Heading:"","Heading 1":"","Heading 2":"","Heading 3":"","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"Serataken utawi nyukani babagan ing ngriki","Type your title":"Serataken irah-irahan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/km.js b/core/assets/vendor/ckeditor5/heading/translations/km.js index 502fd61abe3231e2d6c3ffc21922567b55d314f1..71d7efafc44407d4c49a344d91f3db74391cd711 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/km.js +++ b/core/assets/vendor/ckeditor5/heading/translations/km.js @@ -1 +1 @@ -!function(n){const e=n.km=n.km||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ជ្រើសរើស​ក្បាលអážáŸ’ážáž”áž‘",Heading:"ក្បាលអážáŸ’ážáž”áž‘","Heading 1":"ក្បាលអážáŸ’ážáž”áž‘ 1","Heading 2":"ក្បាលអážáŸ’ážáž”áž‘ 2","Heading 3":"ក្បាលអážáŸ’ážáž”áž‘ 3","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"កážáž¶ážážŽáŸ’ឌ","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.km=n.km||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ជ្រើសរើស​ក្បាលអážáŸ’ážáž”áž‘",Heading:"ក្បាលអážáŸ’ážáž”áž‘","Heading 1":"ក្បាលអážáŸ’ážáž”áž‘ 1","Heading 2":"ក្បាលអážáŸ’ážáž”áž‘ 2","Heading 3":"ក្បាលអážáŸ’ážáž”áž‘ 3","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/kn.js b/core/assets/vendor/ckeditor5/heading/translations/kn.js index dc3d17ada73e0e8abc1f3b682bc77b20fbc399bb..859dc00f3722037bfc073669e431a10ece6e7dc9 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/kn.js +++ b/core/assets/vendor/ckeditor5/heading/translations/kn.js @@ -1 +1 @@ -!function(n){const e=n.kn=n.kn||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ಶೀರà³à²·à²¿à²•à³† ಆಯà³à²•à³†à²®à²¾à²¡à³",Heading:"ಶೀರà³à²·à²¿à²•à³†","Heading 1":"ಶೀರà³à²·à²¿à²•à³† 1","Heading 2":"ಶೀರà³à²·à²¿à²•à³† 2","Heading 3":"ಶೀರà³à²·à²¿à²•à³† 3","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"ಪà³à²¯à²¾à²°à²¾à²—à³à²°à²¾à²«à³","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.kn=n.kn||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ಶೀರà³à²·à²¿à²•à³† ಆಯà³à²•à³†à²®à²¾à²¡à³",Heading:"ಶೀರà³à²·à²¿à²•à³†","Heading 1":"ಶೀರà³à²·à²¿à²•à³† 1","Heading 2":"ಶೀರà³à²·à²¿à²•à³† 2","Heading 3":"ಶೀರà³à²·à²¿à²•à³† 3","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ko.js b/core/assets/vendor/ckeditor5/heading/translations/ko.js index 8ef688a6be3de89be316bbf3172e7ac45edba439..f2e50f2eeba74c6abcce3b75142fe33ac4ca5e8d 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ko.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ko.js @@ -1 +1 @@ -!function(n){const e=n.ko=n.ko||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ì œëª© ì„ íƒ",Heading:"ì œëª©","Heading 1":"ì œëª© 1","Heading 2":"ì œëª© 2","Heading 3":"ì œëª© 3","Heading 4":"ì œëª© 4","Heading 5":"ì œëª© 5","Heading 6":"ì œëª© 6",Paragraph:"문단","Type or paste your content here.":"ì—¬ê¸°ì— ë‚´ìš©ì„ ìž…ë ¥í•˜ê±°ë‚˜ 붙여넣으세요.","Type your title":"ì œëª©ì„ ìž…ë ¥í•´ì£¼ì„¸ìš”"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ko=n.ko||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ì œëª© ì„ íƒ",Heading:"ì œëª©","Heading 1":"ì œëª© 1","Heading 2":"ì œëª© 2","Heading 3":"ì œëª© 3","Heading 4":"ì œëª© 4","Heading 5":"ì œëª© 5","Heading 6":"ì œëª© 6","Type or paste your content here.":"ì—¬ê¸°ì— ë‚´ìš©ì„ ìž…ë ¥í•˜ê±°ë‚˜ 붙여넣으세요.","Type your title":"ì œëª©ì„ ìž…ë ¥í•´ì£¼ì„¸ìš”"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ku.js b/core/assets/vendor/ckeditor5/heading/translations/ku.js index 8307b654aa892675d18f0fd1c843abd9c5bc0d9e..40069348a0f89e8ec8ecf805525b0ef46f5e4963 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ku.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ku.js @@ -1 +1 @@ -!function(n){const e=n.ku=n.ku||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"سەرنووسە هەڵبژێرە",Heading:"سەرنووسە","Heading 1":"سەرنووسەی 1","Heading 2":"سەرنووسەی 2","Heading 3":"سەرنووسەی 3","Heading 4":"سەرنووسەی 4","Heading 5":"سەرنووسەی 5","Heading 6":"سەرنووسەی 6",Paragraph:"پەراگراÙ","Type or paste your content here.":"بنووسە یاخوود ناوەڕۆکی کۆپیکراو لیڕە بلکێنە","Type your title":"نوسینی ناونیشان"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ku=n.ku||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"سەرنووسە هەڵبژێرە",Heading:"سەرنووسە","Heading 1":"سەرنووسەی 1","Heading 2":"سەرنووسەی 2","Heading 3":"سەرنووسەی 3","Heading 4":"سەرنووسەی 4","Heading 5":"سەرنووسەی 5","Heading 6":"سەرنووسەی 6","Type or paste your content here.":"بنووسە یاخوود ناوەڕۆکی کۆپیکراو لیڕە بلکێنە","Type your title":"نوسینی ناونیشان"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/lt.js b/core/assets/vendor/ckeditor5/heading/translations/lt.js index daa3a21bad9bbda737c64367b88646e193425dd0..86558dd624c83dbc8d2377582da15ab3aa8e9436 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/lt.js +++ b/core/assets/vendor/ckeditor5/heading/translations/lt.js @@ -1 +1 @@ -!function(a){const t=a.lt=a.lt||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Pasirinkite antraÅ¡tÄ™",Heading:"AntraÅ¡tÄ—","Heading 1":"AntraÅ¡tÄ— 1","Heading 2":"AntraÅ¡tÄ— 2","Heading 3":"AntraÅ¡tÄ— 3","Heading 4":"AntraÅ¡tÄ— 4","Heading 5":"AntraÅ¡tÄ— 5","Heading 6":"AntraÅ¡tÄ— 6",Paragraph:"Paragrafas","Type or paste your content here.":"RaÅ¡ykite ar įkopijuokite turinį Äia.","Type your title":"Ä®veskite savo pavadinimÄ…"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const n=t.lt=t.lt||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Pasirinkite antraÅ¡tÄ™",Heading:"AntraÅ¡tÄ—","Heading 1":"AntraÅ¡tÄ— 1","Heading 2":"AntraÅ¡tÄ— 2","Heading 3":"AntraÅ¡tÄ— 3","Heading 4":"AntraÅ¡tÄ— 4","Heading 5":"AntraÅ¡tÄ— 5","Heading 6":"AntraÅ¡tÄ— 6","Type or paste your content here.":"RaÅ¡ykite ar įkopijuokite turinį Äia.","Type your title":"Ä®veskite savo pavadinimÄ…"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/lv.js b/core/assets/vendor/ckeditor5/heading/translations/lv.js index f4e8fa0dd81a2f78a85ae136521690eb6e14269e..9baf5bd6f4e836f41cfca8d0000d67324b723aee 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/lv.js +++ b/core/assets/vendor/ckeditor5/heading/translations/lv.js @@ -1 +1 @@ -!function(s){const i=s.lv=s.lv||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"IzvÄ“lÄ“ties virsrakstu",Heading:"Virsraksts","Heading 1":"Virsraksts 1","Heading 2":"Virsraksts 2","Heading 3":"Virsraksts 3","Heading 4":"Virsraksts 4","Heading 5":"Virsraksts 5","Heading 6":"Virsraksts 6",Paragraph:"ParagrÄfs","Type or paste your content here.":"Rakstiet vai ielÄ«mÄ“jiet saturu Å¡eit.","Type your title":"Ievadiet virsrakstu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const s=i.lv=i.lv||{};s.dictionary=Object.assign(s.dictionary||{},{"Choose heading":"IzvÄ“lÄ“ties virsrakstu",Heading:"Virsraksts","Heading 1":"Virsraksts 1","Heading 2":"Virsraksts 2","Heading 3":"Virsraksts 3","Heading 4":"Virsraksts 4","Heading 5":"Virsraksts 5","Heading 6":"Virsraksts 6","Type or paste your content here.":"Rakstiet vai ielÄ«mÄ“jiet saturu Å¡eit.","Type your title":"Ievadiet virsrakstu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ms.js b/core/assets/vendor/ckeditor5/heading/translations/ms.js index 2afc6532cf3e379b9146609c6d7a37aa8389690f..84e23d357a0a6e42699286e986ba06efd812b9be 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ms.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ms.js @@ -1 +1 @@ -!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Pilih pengepala",Heading:"Pengepala","Heading 1":"Pengepala 1","Heading 2":"Pengepala 2","Heading 3":"Pengepala 3","Heading 4":"Pengepala 4","Heading 5":"Pengepala 5","Heading 6":"Pengepala 6",Paragraph:"Perenggan","Type or paste your content here.":"Taip atau tampal kandungan anda disini.","Type your title":"Taip tajuk anda"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Pilih pengepala",Heading:"Pengepala","Heading 1":"Pengepala 1","Heading 2":"Pengepala 2","Heading 3":"Pengepala 3","Heading 4":"Pengepala 4","Heading 5":"Pengepala 5","Heading 6":"Pengepala 6","Type or paste your content here.":"Taip atau tampal kandungan anda disini.","Type your title":"Taip tajuk anda"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/nb.js b/core/assets/vendor/ckeditor5/heading/translations/nb.js index e366ac33c8afc39fd472b8ada4f196e7db1dcebc..5a08ca625991f61ed156da7d4233716014750665 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/nb.js +++ b/core/assets/vendor/ckeditor5/heading/translations/nb.js @@ -1 +1 @@ -!function(e){const i=e.nb=e.nb||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Velg overskrift",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"","Heading 5":"","Heading 6":"",Paragraph:"Avsnitt","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.nb=e.nb||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Velg overskrift",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"","Heading 5":"","Heading 6":"","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ne.js b/core/assets/vendor/ckeditor5/heading/translations/ne.js index 7626a31b068208af5b24b3853269d881916a31db..c8bce0d4cc7c87758793c104219698db5e2b9f66 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ne.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ne.js @@ -1 +1 @@ -!function(n){const e=n.ne=n.ne||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"शीरà¥à¤·à¤• छनौट गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥",Heading:"शीरà¥à¤·à¤•","Heading 1":"शीरà¥à¤·à¤•-à¤à¤•","Heading 2":"शीरà¥à¤·à¤• २","Heading 3":"शीरà¥à¤·à¤• ३","Heading 4":"शीरà¥à¤·à¤• ४","Heading 5":"शीरà¥à¤·à¤• ५","Heading 6":"शीरà¥à¤·à¤• ६",Paragraph:"अनà¥à¤šà¥à¤›à¥‡à¤¦","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ne=n.ne||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"शीरà¥à¤·à¤• छनौट गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥",Heading:"शीरà¥à¤·à¤•","Heading 1":"शीरà¥à¤·à¤•-à¤à¤•","Heading 2":"शीरà¥à¤·à¤• २","Heading 3":"शीरà¥à¤·à¤• ३","Heading 4":"शीरà¥à¤·à¤• ४","Heading 5":"शीरà¥à¤·à¤• ५","Heading 6":"शीरà¥à¤·à¤• ६","Type or paste your content here.":"","Type your title":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/nl.js b/core/assets/vendor/ckeditor5/heading/translations/nl.js index da1550e42558b5d002f9eeaa8bbb3fbcb32ae7ba..07efc2cbeb2e8fb6b70c0289bc46e39b4c73784c 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/nl.js +++ b/core/assets/vendor/ckeditor5/heading/translations/nl.js @@ -1 +1 @@ -!function(o){const n=o.nl=o.nl||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Kies kop",Heading:"Koppen","Heading 1":"Kop 1","Heading 2":"Kop 2","Heading 3":"Kop 3","Heading 4":"Kop 4","Heading 5":"Kop 5","Heading 6":"Kop 6",Paragraph:"Paragraaf","Type or paste your content here.":"Voer of plak uw inhoud in.","Type your title":"Voor uw titel in"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(o){const n=o.nl=o.nl||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Kies kop",Heading:"Koppen","Heading 1":"Kop 1","Heading 2":"Kop 2","Heading 3":"Kop 3","Heading 4":"Kop 4","Heading 5":"Kop 5","Heading 6":"Kop 6","Type or paste your content here.":"Voer of plak uw inhoud in.","Type your title":"Voor uw titel in"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/no.js b/core/assets/vendor/ckeditor5/heading/translations/no.js index e5f23bbd14d5d8341444474e2518b79141d1ed78..9e055b0320c78e7aeb4bbf9bacb7b77f947cdbdb 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/no.js +++ b/core/assets/vendor/ckeditor5/heading/translations/no.js @@ -1 +1 @@ -!function(i){const e=i.no=i.no||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Velg overskrift",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4","Heading 5":"Overskrift 5","Heading 6":"Overskrift 6",Paragraph:"Avsnitt","Type or paste your content here.":"Skriv eller lim inn ditt innhold her","Type your title":"Skriv inn tittel"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const e=i.no=i.no||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Velg overskrift",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4","Heading 5":"Overskrift 5","Heading 6":"Overskrift 6","Type or paste your content here.":"Skriv eller lim inn ditt innhold her","Type your title":"Skriv inn tittel"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/pl.js b/core/assets/vendor/ckeditor5/heading/translations/pl.js index a5137762b063c7adadb93eef2dac90e9c7d0eb77..910762243d5219991c787ceebba23f4240e8bd38 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/pl.js +++ b/core/assets/vendor/ckeditor5/heading/translations/pl.js @@ -1 +1 @@ -!function(e){const a=e.pl=e.pl||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Wybierz nagłówek",Heading:"Nagłówek","Heading 1":"Nagłówek 1","Heading 2":"Nagłówek 2","Heading 3":"Nagłówek 3","Heading 4":"Nagłówek 4","Heading 5":"Nagłówek 5","Heading 6":"Nagłówek 6",Paragraph:"Akapit","Type or paste your content here.":"Wpisz lub wklej tutaj treść dokumentu.","Type your title":"Podaj tytuÅ‚"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.pl=e.pl||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Wybierz nagłówek",Heading:"Nagłówek","Heading 1":"Nagłówek 1","Heading 2":"Nagłówek 2","Heading 3":"Nagłówek 3","Heading 4":"Nagłówek 4","Heading 5":"Nagłówek 5","Heading 6":"Nagłówek 6","Type or paste your content here.":"Wpisz lub wklej tutaj treść dokumentu.","Type your title":"Podaj tytuÅ‚"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/pt-br.js b/core/assets/vendor/ckeditor5/heading/translations/pt-br.js index aa73a301d7b7012737f8c147305b3133819bf69c..286d4cc29940120b6375b6c4fb282f10e01209bd 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/pt-br.js +++ b/core/assets/vendor/ckeditor5/heading/translations/pt-br.js @@ -1 +1 @@ -!function(o){const t=o["pt-br"]=o["pt-br"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Escolha o tÃtulo",Heading:"Titulo","Heading 1":"TÃtulo 1","Heading 2":"TÃtulo 2","Heading 3":"TÃtulo 3","Heading 4":"TÃtulo 4","Heading 5":"TÃtulo 5","Heading 6":"TÃtulo 6",Paragraph:"Parágrafo","Type or paste your content here.":"Digite ou cole o conteúdo aqui.","Type your title":"Digite o tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(o){const t=o["pt-br"]=o["pt-br"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Escolha o tÃtulo",Heading:"Titulo","Heading 1":"TÃtulo 1","Heading 2":"TÃtulo 2","Heading 3":"TÃtulo 3","Heading 4":"TÃtulo 4","Heading 5":"TÃtulo 5","Heading 6":"TÃtulo 6","Type or paste your content here.":"Digite ou cole o conteúdo aqui.","Type your title":"Digite o tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/pt.js b/core/assets/vendor/ckeditor5/heading/translations/pt.js index 86428f0b7787b8fa98135968a7640dc116fd2c5a..8968e40280d741fe136c902fe22d974d8edfbf8c 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/pt.js +++ b/core/assets/vendor/ckeditor5/heading/translations/pt.js @@ -1 +1 @@ -!function(a){const e=a.pt=a.pt||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Escolher cabeçalho",Heading:"Cabeçalho","Heading 1":"Cabeçalho 1","Heading 2":"Cabeçalho 2","Heading 3":"Cabeçalho 3","Heading 4":"Cabeçalho 4","Heading 5":"Cabeçalho 5","Heading 6":"Cabeçalho 6",Paragraph:"Parágrafo","Type or paste your content here.":"Digite ou cole o seu conteúdo aqui.","Type your title":"Introduza o seu tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.pt=e.pt||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Escolher cabeçalho",Heading:"Cabeçalho","Heading 1":"Cabeçalho 1","Heading 2":"Cabeçalho 2","Heading 3":"Cabeçalho 3","Heading 4":"Cabeçalho 4","Heading 5":"Cabeçalho 5","Heading 6":"Cabeçalho 6","Type or paste your content here.":"Digite ou cole o seu conteúdo aqui.","Type your title":"Introduza o seu tÃtulo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ro.js b/core/assets/vendor/ckeditor5/heading/translations/ro.js index 35d1945ae2674285e35a2d63f4b0e343507f7133..8fcec0b780bfca1d89382de33fb7705708b900c1 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ro.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ro.js @@ -1 +1 @@ -!function(i){const t=i.ro=i.ro||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Alege titlu",Heading:"Titlu","Heading 1":"Titlu 1","Heading 2":"Titlu 2","Heading 3":"Titlu 3","Heading 4":"Titlu 4","Heading 5":"Titlu 5","Heading 6":"Titlu 6",Paragraph:"Paragraf","Type or paste your content here.":"Scrie sau inserează aici conÈ›inutul tău","Type your title":"Scrie titlul tău"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const t=i.ro=i.ro||{};t.dictionary=Object.assign(t.dictionary||{},{"Choose heading":"Alege titlu",Heading:"Titlu","Heading 1":"Titlu 1","Heading 2":"Titlu 2","Heading 3":"Titlu 3","Heading 4":"Titlu 4","Heading 5":"Titlu 5","Heading 6":"Titlu 6","Type or paste your content here.":"Scrie sau inserează aici conÈ›inutul tău","Type your title":"Scrie titlul tău"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ru.js b/core/assets/vendor/ckeditor5/heading/translations/ru.js index 1ecc949eb0424151cf0c6f070db55b6c83d53961..9a49a725c11823f018a3bc76bcb25d863488fa07 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ru.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ru.js @@ -1 +1 @@ -!function(n){const e=n.ru=n.ru||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Выбор ÑтилÑ",Heading:"Стиль","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6",Paragraph:"Параграф","Type or paste your content here.":"Введите или вÑтавьте Ñюда ваш текÑÑ‚","Type your title":"Введите заголовок"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ru=n.ru||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Выбор ÑтилÑ",Heading:"Стиль","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6","Type or paste your content here.":"Введите или вÑтавьте Ñюда ваш текÑÑ‚","Type your title":"Введите заголовок"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/sk.js b/core/assets/vendor/ckeditor5/heading/translations/sk.js index 9db4cd8cae143c8d221ef0e0bae4b4f232157355..3dcc437793530258dba50903a08a23d28e1f5665 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/sk.js +++ b/core/assets/vendor/ckeditor5/heading/translations/sk.js @@ -1 +1 @@ -!function(i){const a=i.sk=i.sk||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Vyberte nadpis",Heading:"Nadpis","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4","Heading 5":"Nadpis 5","Heading 6":"Nadpis 6",Paragraph:"Odsek","Type or paste your content here.":"Vložte obsah","Type your title":"Vložte nadpis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const a=i.sk=i.sk||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Vyberte nadpis",Heading:"Nadpis","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4","Heading 5":"Nadpis 5","Heading 6":"Nadpis 6","Type or paste your content here.":"Vložte obsah","Type your title":"Vložte nadpis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/sl.js b/core/assets/vendor/ckeditor5/heading/translations/sl.js index 1ef503e6d4403ffb0d645234b11dc0ef99d340f9..158085002e1ab5f713e40d423e56ca81583acb56 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/sl.js +++ b/core/assets/vendor/ckeditor5/heading/translations/sl.js @@ -1 +1 @@ -!function(a){const i=a.sl=a.sl||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Izberi naslov",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6",Paragraph:"Odstavek","Type or paste your content here.":"Vnesi ali prilepi vsebino","Type your title":"Vnesi naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const n=i.sl=i.sl||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Izberi naslov",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6","Type or paste your content here.":"Vnesi ali prilepi vsebino","Type your title":"Vnesi naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/sq.js b/core/assets/vendor/ckeditor5/heading/translations/sq.js index 036db1fdc5d80b35b757b12714271c9de0d115fe..31acd964f289300e1039979ccf3a578ab45827e6 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/sq.js +++ b/core/assets/vendor/ckeditor5/heading/translations/sq.js @@ -1 +1 @@ -!function(i){const n=i.sq=i.sq||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Përzgjidh nëntitullin",Heading:"Nëntitulli","Heading 1":"Nëntitulli 1","Heading 2":"Nëntitulli 2","Heading 3":"Nëntitulli 3","Heading 4":"Titulli 4","Heading 5":"Titulli 5","Heading 6":"Titulli 6",Paragraph:"Paragrafi","Type or paste your content here.":"Shkruaj ose kopjo përmbajtjen këtu.","Type your title":"Shkruani titullin tuaj"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const n=i.sq=i.sq||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Përzgjidh nëntitullin",Heading:"Nëntitulli","Heading 1":"Nëntitulli 1","Heading 2":"Nëntitulli 2","Heading 3":"Nëntitulli 3","Heading 4":"Titulli 4","Heading 5":"Titulli 5","Heading 6":"Titulli 6","Type or paste your content here.":"Shkruaj ose kopjo përmbajtjen këtu.","Type your title":"Shkruani titullin tuaj"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/sr-latn.js b/core/assets/vendor/ckeditor5/heading/translations/sr-latn.js index eb54019b2c341c84191288556bc8264b64ad847b..2b1a8dc4a45c672f7bd9db28706e521003f07c90 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/sr-latn.js +++ b/core/assets/vendor/ckeditor5/heading/translations/sr-latn.js @@ -1 +1 @@ -!function(a){const i=a["sr-latn"]=a["sr-latn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Odredi stil",Heading:"Stilovi","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6",Paragraph:"Pasus","Type or paste your content here.":"UpiÅ¡ite ili nalepite naslov","Type your title":"Odredite naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const a=i["sr-latn"]=i["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose heading":"Odredi stil",Heading:"Stilovi","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6","Type or paste your content here.":"UpiÅ¡ite ili nalepite naslov","Type your title":"Odredite naslov"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/sr.js b/core/assets/vendor/ckeditor5/heading/translations/sr.js index e1077b2f5d0457b5a1064978150034de7baaf91c..b973cfa23a032fbd1a2e87dfbf3d0bebfbd40037 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/sr.js +++ b/core/assets/vendor/ckeditor5/heading/translations/sr.js @@ -1 +1 @@ -!function(n){const e=n.sr=n.sr||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Одреди Ñтил",Heading:"Стилови","Heading 1":"ÐаÑлов 1","Heading 2":"ÐаÑлов 2","Heading 3":"ÐаÑлов 3","Heading 4":"ÐаÑлов 4","Heading 5":"ÐаÑлов 5","Heading 6":"ÐаÑлов 6",Paragraph:"ПаÑуÑ","Type or paste your content here.":"Упишите или налепите наÑлов","Type your title":"Одредите наÑлов"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.sr=n.sr||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Одреди Ñтил",Heading:"Стилови","Heading 1":"ÐаÑлов 1","Heading 2":"ÐаÑлов 2","Heading 3":"ÐаÑлов 3","Heading 4":"ÐаÑлов 4","Heading 5":"ÐаÑлов 5","Heading 6":"ÐаÑлов 6","Type or paste your content here.":"Упишите или налепите наÑлов","Type your title":"Одредите наÑлов"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/sv.js b/core/assets/vendor/ckeditor5/heading/translations/sv.js index 5fa0b568d7d4446a36ab1980d5da91a865871f87..09d9e81463c9040a50ae1fb0b7698e06cace0018 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/sv.js +++ b/core/assets/vendor/ckeditor5/heading/translations/sv.js @@ -1 +1 @@ -!function(i){const r=i.sv=i.sv||{};r.dictionary=Object.assign(r.dictionary||{},{"Choose heading":"Välj rubrik",Heading:"Rubrik","Heading 1":"Rubrik 1","Heading 2":"Rubrik 2","Heading 3":"Rubrik 3","Heading 4":"Rubrik 4","Heading 5":"Rubrik 5","Heading 6":"Rubrik 6",Paragraph:"Paragraf","Type or paste your content here.":"Skriv eller klistra in ditt innehÃ¥ll här.","Type your title":"Skriv in rubriken"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const n=i.sv=i.sv||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Välj rubrik",Heading:"Rubrik","Heading 1":"Rubrik 1","Heading 2":"Rubrik 2","Heading 3":"Rubrik 3","Heading 4":"Rubrik 4","Heading 5":"Rubrik 5","Heading 6":"Rubrik 6","Type or paste your content here.":"Skriv eller klistra in ditt innehÃ¥ll här.","Type your title":"Skriv in rubriken"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/th.js b/core/assets/vendor/ckeditor5/heading/translations/th.js index 722ab01922a585b084f7dc444df78afbbdf25a58..ee2d3425b6e76c1ecf73ec48e8b3427d0a4e7e9c 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/th.js +++ b/core/assets/vendor/ckeditor5/heading/translations/th.js @@ -1 +1 @@ -!function(n){const e=n.th=n.th||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"เลืà¸à¸à¸‚นาดหัวข้à¸",Heading:"หัวข้à¸","Heading 1":"หัวข้à¸à¸‚นาด 1","Heading 2":"หัวข้ภ2","Heading 3":"หัวข้ภ3","Heading 4":"หัวข้ภ4","Heading 5":"หัวข้ภ5","Heading 6":"หัวข้ภ6",Paragraph:"ย่à¸à¸«à¸™à¹‰à¸²","Type or paste your content here.":"พิมพ์หรืà¸à¸§à¸²à¸‡à¹€à¸™à¸·à¹‰à¸à¸«à¸²à¸‚à¸à¸‡à¸„ุณที่นี่","Type your title":"พิมพ์ชื่à¸à¹€à¸£à¸·à¹ˆà¸à¸‡à¸‚à¸à¸‡à¸„ุณ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.th=n.th||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"เลืà¸à¸à¸‚นาดหัวข้à¸",Heading:"หัวข้à¸","Heading 1":"หัวข้à¸à¸‚นาด 1","Heading 2":"หัวข้ภ2","Heading 3":"หัวข้ภ3","Heading 4":"หัวข้ภ4","Heading 5":"หัวข้ภ5","Heading 6":"หัวข้ภ6","Type or paste your content here.":"พิมพ์หรืà¸à¸§à¸²à¸‡à¹€à¸™à¸·à¹‰à¸à¸«à¸²à¸‚à¸à¸‡à¸„ุณที่นี่","Type your title":"พิมพ์ชื่à¸à¹€à¸£à¸·à¹ˆà¸à¸‡à¸‚à¸à¸‡à¸„ุณ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ti.js b/core/assets/vendor/ckeditor5/heading/translations/ti.js index 7fdb817f010f6fdf101054bba507cb5ad0837ccc..d976b4402d4ff45240e20ce151e1e1fe640d52c1 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ti.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ti.js @@ -1 +1 @@ -!function(i){const n=i.ti=i.ti||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"áˆáŠ¥áˆ² áˆáˆ¨áŒ½",Heading:"áˆáŠ¥áˆ²","Heading 1":"áˆáŠ¥áˆ² 1","Heading 2":"áˆáŠ¥áˆ² 2","Heading 3":"áˆáŠ¥áˆ² 3","Heading 4":"áˆáŠ¥áˆ² 4","Heading 5":"áˆáŠ¥áˆ² 5","Heading 6":"áˆáŠ¥áˆ² 6",Paragraph:"ዓንቀጽ","Type or paste your content here.":"ኣብዚ ቦታ ጽሑáካ ጸሓá ወዠጠቅዕ","Type your title":"áˆáŠ¥áˆ² ጽሑáካ ጸሓá"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const n=i.ti=i.ti||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"áˆáŠ¥áˆ² áˆáˆ¨áŒ½",Heading:"áˆáŠ¥áˆ²","Heading 1":"áˆáŠ¥áˆ² 1","Heading 2":"áˆáŠ¥áˆ² 2","Heading 3":"áˆáŠ¥áˆ² 3","Heading 4":"áˆáŠ¥áˆ² 4","Heading 5":"áˆáŠ¥áˆ² 5","Heading 6":"áˆáŠ¥áˆ² 6","Type or paste your content here.":"ኣብዚ ቦታ ጽሑáካ ጸሓá ወዠጠቅዕ","Type your title":"áˆáŠ¥áˆ² ጽሑáካ ጸሓá"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/tk.js b/core/assets/vendor/ckeditor5/heading/translations/tk.js index a6c695569ad415a1d2e32d2d01335faf1be5ac45..6473a75898e1922c4ed43d8a28fb0b41dd690c75 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/tk.js +++ b/core/assets/vendor/ckeditor5/heading/translations/tk.js @@ -1 +1 @@ -!function(a){const y=a.tk=a.tk||{};y.dictionary=Object.assign(y.dictionary||{},{"Choose heading":"SözbaÅŸy saýlaň",Heading:"SözbaÅŸy","Heading 1":"SözbaÅŸy 1","Heading 2":"SözbaÅŸy 2","Heading 3":"SözbaÅŸy 3","Heading 4":"SözbaÅŸy 4","Heading 5":"SözbaÅŸy 5","Heading 6":"SözbaÅŸy 6",Paragraph:"Abzas","Type or paste your content here.":"Mazmunyňyzy ÅŸu ýere ýazyň ýa-da goýuň.","Type your title":"SözbaÅŸyny ýazyň"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const y=a.tk=a.tk||{};y.dictionary=Object.assign(y.dictionary||{},{"Choose heading":"SözbaÅŸy saýlaň",Heading:"SözbaÅŸy","Heading 1":"SözbaÅŸy 1","Heading 2":"SözbaÅŸy 2","Heading 3":"SözbaÅŸy 3","Heading 4":"SözbaÅŸy 4","Heading 5":"SözbaÅŸy 5","Heading 6":"SözbaÅŸy 6","Type or paste your content here.":"Mazmunyňyzy ÅŸu ýere ýazyň ýa-da goýuň.","Type your title":"SözbaÅŸyny ýazyň"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/tr.js b/core/assets/vendor/ckeditor5/heading/translations/tr.js index a2114db4c31b86b64bd2256692121a0db4a89314..a5fd0c5be1b188b55ef0f5d9fad9b2e32c59cc97 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/tr.js +++ b/core/assets/vendor/ckeditor5/heading/translations/tr.js @@ -1 +1 @@ -!function(a){const e=a.tr=a.tr||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"BaÅŸlık tipi seç",Heading:"BaÅŸlık","Heading 1":"1. Seviye BaÅŸlık","Heading 2":"2. Seviye BaÅŸlık","Heading 3":"3. Seviye BaÅŸlık","Heading 4":"4. Seviye BaÅŸlık","Heading 5":"5. Seviye BaÅŸlık","Heading 6":"6. Seviye BaÅŸlık",Paragraph:"Paragraf","Type or paste your content here.":"İçeriÄŸinizi buraya yapıştırın yada yazın.","Type your title":"BaÅŸlığınızı yazınız"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const i=e.tr=e.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"BaÅŸlık tipi seç",Heading:"BaÅŸlık","Heading 1":"1. Seviye BaÅŸlık","Heading 2":"2. Seviye BaÅŸlık","Heading 3":"3. Seviye BaÅŸlık","Heading 4":"4. Seviye BaÅŸlık","Heading 5":"5. Seviye BaÅŸlık","Heading 6":"6. Seviye BaÅŸlık","Type or paste your content here.":"İçeriÄŸinizi buraya yapıştırın yada yazın.","Type your title":"BaÅŸlığınızı yazınız"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ug.js b/core/assets/vendor/ckeditor5/heading/translations/ug.js index d5f8aa4bfdfe6ee50db002b07d3ae73e1ee6663b..59a6c523755ecdc6798faebaa8268a47394d75db 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ug.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ug.js @@ -1 +1 @@ -!function(n){const e=n.ug=n.ug||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ماۋزۇ تاللاش",Heading:"ماۋزۇ","Heading 1":"ماۋزۇ 1","Heading 2":"ماۋزۇ 2","Heading 3":"ماۋزۇ 3","Heading 4":"ماۋزۇ 4","Heading 5":"ماۋزۇ 5","Heading 6":"ماۋزۇ 6",Paragraph:"ئابزاس","Type or paste your content here.":"مەزمۇن بۇ جايغا كىرگۈزۈلىدۇ ياكى چاپلىنىدۇ.","Type your title":"ماۋزۇ كىرگۈزۈلىدۇ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ug=n.ug||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"ماۋزۇ تاللاش",Heading:"ماۋزۇ","Heading 1":"ماۋزۇ 1","Heading 2":"ماۋزۇ 2","Heading 3":"ماۋزۇ 3","Heading 4":"ماۋزۇ 4","Heading 5":"ماۋزۇ 5","Heading 6":"ماۋزۇ 6","Type or paste your content here.":"مەزمۇن بۇ جايغا كىرگۈزۈلىدۇ ياكى چاپلىنىدۇ.","Type your title":"ماۋزۇ كىرگۈزۈلىدۇ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/uk.js b/core/assets/vendor/ckeditor5/heading/translations/uk.js index c6cb5920b31c20f43b517d95f7632d416f24f881..5890137a94e360c68113552f7ffa2ce1a79d2725 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/uk.js +++ b/core/assets/vendor/ckeditor5/heading/translations/uk.js @@ -1 +1 @@ -!function(n){const e=n.uk=n.uk||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Оберіть заголовок",Heading:"Заголовок","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6",Paragraph:"Параграф","Type or paste your content here.":"Введіть або вÑтавте Ñвій вміÑÑ‚ тут.","Type your title":"Введіть назву"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.uk=n.uk||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"Оберіть заголовок",Heading:"Заголовок","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6","Type or paste your content here.":"Введіть або вÑтавте Ñвій вміÑÑ‚ тут.","Type your title":"Введіть назву"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/ur.js b/core/assets/vendor/ckeditor5/heading/translations/ur.js index 55999d1eec3120002a8d326d8e705c4fa701392e..0932988dad804baecfae42a86e7d60410b9db78f 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/ur.js +++ b/core/assets/vendor/ckeditor5/heading/translations/ur.js @@ -1 +1 @@ -!function(n){const e=n.ur=n.ur||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"سرخی منتخب کریں",Heading:"سرخی","Heading 1":"سرخی 1","Heading 2":"سرخی 2","Heading 3":"سرخی 3","Heading 4":"سرخی 4","Heading 5":"سرخی 5","Heading 6":"سرخی 6",Paragraph:"پیرا","Type or paste your content here.":"اپنا مواد ÛŒÛاں ٹایپ یا چسپاں کریں.","Type your title":"عنوان ٹایپ کریں"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.ur=n.ur||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"سرخی منتخب کریں",Heading:"سرخی","Heading 1":"سرخی 1","Heading 2":"سرخی 2","Heading 3":"سرخی 3","Heading 4":"سرخی 4","Heading 5":"سرخی 5","Heading 6":"سرخی 6","Type or paste your content here.":"اپنا مواد ÛŒÛاں ٹایپ یا چسپاں کریں.","Type your title":"عنوان ٹایپ کریں"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/uz.js b/core/assets/vendor/ckeditor5/heading/translations/uz.js index 419d1182b28cde10b5a034a1d51d0b6daa8f1953..15403d559c4ca5b4f68606fd5200f1aa279d009f 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/uz.js +++ b/core/assets/vendor/ckeditor5/heading/translations/uz.js @@ -1 +1 @@ -!function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Uslubni tanlash",Heading:"Uslub","Heading 1":"Sarlavha 1","Heading 2":"Sarlavha 2","Heading 3":"Sarlavha 3","Heading 4":"Sarlavha 4","Heading 5":"Sarlavha 5","Heading 6":"Sarlavha 6",Paragraph:"Paragraf","Type or paste your content here.":"Matningizni shu yerga kiriting yoki joylashtiring","Type your title":"Sarlavhani kiriting"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Choose heading":"Uslubni tanlash",Heading:"Uslub","Heading 1":"Sarlavha 1","Heading 2":"Sarlavha 2","Heading 3":"Sarlavha 3","Heading 4":"Sarlavha 4","Heading 5":"Sarlavha 5","Heading 6":"Sarlavha 6","Type or paste your content here.":"Matningizni shu yerga kiriting yoki joylashtiring","Type your title":"Sarlavhani kiriting"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/vi.js b/core/assets/vendor/ckeditor5/heading/translations/vi.js index e862e89ebd7f683d9f95831782903e4196dd1bda..1c668e50d9b14347e945615c4b5a5622d37ece94 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/vi.js +++ b/core/assets/vendor/ckeditor5/heading/translations/vi.js @@ -1 +1 @@ -!function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Chá»n tiêu Ä‘á»",Heading:"Tiêu Ä‘á»","Heading 1":"Tiêu Ä‘á» 1","Heading 2":"Tiêu Ä‘á» 2","Heading 3":"Tiêu Ä‘á» 3","Heading 4":"Tiêu Ä‘á» 4","Heading 5":"Tiêu Ä‘á» 5","Heading 6":"Tiêu Ä‘á» 6",Paragraph:"Äoạn văn","Type or paste your content here.":"Nháºp hoặc dán ná»™i dung tại đây","Type your title":"Nháºp tá»±a Ä‘á»"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Choose heading":"Chá»n tiêu Ä‘á»",Heading:"Tiêu Ä‘á»","Heading 1":"Tiêu Ä‘á» 1","Heading 2":"Tiêu Ä‘á» 2","Heading 3":"Tiêu Ä‘á» 3","Heading 4":"Tiêu Ä‘á» 4","Heading 5":"Tiêu Ä‘á» 5","Heading 6":"Tiêu Ä‘á» 6","Type or paste your content here.":"Nháºp hoặc dán ná»™i dung tại đây","Type your title":"Nháºp tá»±a Ä‘á»"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/zh-cn.js b/core/assets/vendor/ckeditor5/heading/translations/zh-cn.js index 7fcc8ed78e50d503ddffd59399283ab585da36a7..4b52ac78bc308adfa47a09a58c84ee4d7a851825 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/zh-cn.js +++ b/core/assets/vendor/ckeditor5/heading/translations/zh-cn.js @@ -1 +1 @@ -!function(n){const e=n["zh-cn"]=n["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"æ ‡é¢˜ç±»åž‹",Heading:"æ ‡é¢˜","Heading 1":"æ ‡é¢˜ 1","Heading 2":"æ ‡é¢˜ 2","Heading 3":"æ ‡é¢˜ 3","Heading 4":"æ ‡é¢˜ 4","Heading 5":"æ ‡é¢˜ 5","Heading 6":"æ ‡é¢˜ 6",Paragraph:"段è½","Type or paste your content here.":"在这里输入或粘贴内容","Type your title":"è¾“å…¥æ ‡é¢˜"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n["zh-cn"]=n["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"æ ‡é¢˜ç±»åž‹",Heading:"æ ‡é¢˜","Heading 1":"æ ‡é¢˜ 1","Heading 2":"æ ‡é¢˜ 2","Heading 3":"æ ‡é¢˜ 3","Heading 4":"æ ‡é¢˜ 4","Heading 5":"æ ‡é¢˜ 5","Heading 6":"æ ‡é¢˜ 6","Type or paste your content here.":"在这里输入或粘贴内容","Type your title":"è¾“å…¥æ ‡é¢˜"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/heading/translations/zh.js b/core/assets/vendor/ckeditor5/heading/translations/zh.js index 81c11f1fe393fd54f59ed73f2b4e8f759720ecc6..d4c60b59ea6da38e50eaacb9e093d4ca9ce7c4b6 100644 --- a/core/assets/vendor/ckeditor5/heading/translations/zh.js +++ b/core/assets/vendor/ckeditor5/heading/translations/zh.js @@ -1 +1 @@ -!function(n){const e=n.zh=n.zh||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"é¸å–標題",Heading:"標題","Heading 1":"標題 1","Heading 2":"標題 2","Heading 3":"標題 3","Heading 4":"標題 4","Heading 5":"標題 5","Heading 6":"標題 6",Paragraph:"段è½","Type or paste your content here.":"在æ¤è¼¸å…¥æˆ–è²¼ä¸Šä½ çš„å…§å®¹ã€‚","Type your title":"è¼¸å…¥ä½ çš„æ¨™é¡Œ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const e=n.zh=n.zh||{};e.dictionary=Object.assign(e.dictionary||{},{"Choose heading":"é¸å–標題",Heading:"標題","Heading 1":"標題 1","Heading 2":"標題 2","Heading 3":"標題 3","Heading 4":"標題 4","Heading 5":"標題 5","Heading 6":"標題 6","Type or paste your content here.":"在æ¤è¼¸å…¥æˆ–è²¼ä¸Šä½ çš„å…§å®¹ã€‚","Type your title":"è¼¸å…¥ä½ çš„æ¨™é¡Œ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/highlight/highlight.js b/core/assets/vendor/ckeditor5/highlight/highlight.js index ea1c4ed6f26c494c569d5c06ce7ec7c30005e153..1ca02ccdf357f0f3881d25e2ddd5c00e1f9e61bd 100644 --- a/core/assets/vendor/ckeditor5/highlight/highlight.js +++ b/core/assets/vendor/ckeditor5/highlight/highlight.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={809:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(935),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const o=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(r[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},591:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var o=e[r],c=t.base?o[0]+t.base:o[0],s=i[c]||0,h="".concat(c," ").concat(s);i[c]=s+1;var d=a(h),g={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(l[d].references++,l[d].updater(g)):l.push({identifier:h,updater:v(g,t),references:1}),n.push(h)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=o(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var h,d=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function g(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var o=document.createTextNode(r),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(o,l[t]):e.appendChild(o)}}function u(e,t,i){var n=i.css,r=i.media,o=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,p=0;function v(e,t){var i,n,r;if(t.singleton){var o=p++;i=m||(m=s(t)),n=g.bind(null,i,o,!1),r=g.bind(null,i,o,!0)}else i=s(t),n=u.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);l[r].references--}for(var o=c(e,t),s=0;s<i.length;s++){var h=a(i[s]);0===l[h].references&&(l[h].updater(),l.splice(h,1))}i=o}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{Highlight:()=>g,HighlightEditing:()=>r,HighlightUI:()=>h});var e=i(782);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,n=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,r=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(r,o);n&&this.value!==n?(t.isEqual(o)||e.setAttribute("highlight",n,l),e.setSelectionAttribute("highlight",n)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else n&&e.setSelectionAttribute("highlight",n)}else{const r=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of r)n?e.setAttribute("highlight",n,t):e.removeAttribute("highlight",t)}}))}}class r extends e.Plugin{static get pluginName(){return"HighlightEditing"}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(311);var l=i(591),a=i.n(l),c=i(809),s={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(c.A,s);c.A.locals;class h extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e),this._addMenuBarButton(e)}_addRemoveHighlightButton(){const t=this.editor.t,i=this.editor.commands.get("highlight");this._addButton("removeHighlight",t("Remove highlight"),e.icons.eraser,null,(e=>{e.bind("isEnabled").to(i,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,d(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,n,r){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:n}),l.editing.view.focus()})),r(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,n=t.ui.componentFactory,r=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});n.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({label:i("Highlight"),tooltip:!0,lastExecuted:r.model,commandValue:r.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>d(g(e,"type")))),h.bind("color").to(c,"value",(e=>g(e,"color"))),h.bind("commandValue").to(c,"value",(e=>g(e,"model"))),h.bind("isOn").to(c,"value",(e=>!!e)),h.delegate("execute").to(s);function g(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,o.addToolbarToDropdown)(s,(()=>{const t=e.map((e=>{const t=n.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{s.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new o.ToolbarSeparatorView),t.push(n.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){const t=e.buttonView.actionView;t.iconView.bind("fillColor").to(e.buttonView,"color")}(s),h.on("execute",(()=>{t.execute("highlight",{value:h.commandValue})})),this.listenTo(s,"execute",(()=>{t.editing.view.focus()})),s}))}_addMenuBarButton(t){const i=this.editor,n=i.t,r=i.commands.get("highlight");i.ui.componentFactory.add("menuBar:highlight",(l=>{const a=new o.MenuBarMenuView(l);a.buttonView.set({label:n("Highlight"),icon:d("marker")}),a.bind("isEnabled").to(r),a.buttonView.iconView.fillColor="transparent";const c=new o.MenuBarMenuListView(l);for(const e of t){const t=new o.MenuBarMenuListItemView(l,a),n=new o.MenuBarMenuListItemButtonView(l);n.set({label:e.title,icon:d(e.type),role:"menuitemradio",isToggleable:!0}),n.iconView.fillColor=e.color,n.delegate("execute").to(a),n.bind("isOn").to(r,"value",(t=>t===e.model)),n.on("execute",(()=>{i.execute("highlight",{value:e.model}),i.editing.view.focus()})),t.children.add(n),c.items.add(t)}c.items.add(new o.ListSeparatorView(l));const s=new o.MenuBarMenuListItemView(l,a),h=new o.MenuBarMenuListItemButtonView(l);return h.set({label:n("Remove highlight"),icon:e.icons.eraser}),h.delegate("execute").to(a),h.on("execute",(()=>{i.execute("highlight",{value:null}),i.editing.view.focus()})),s.children.add(h),c.items.add(s),a.panelView.children.add(c),a}))}}function d(e){return"marker"===e?'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z"/><path d="m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z"/><path d="m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z"/></svg>'}class g extends e.Plugin{static get requires(){return[r,h]}static get pluginName(){return"Highlight"}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=n})(); \ No newline at end of file + */(()=>{var e={809:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),r=i.n(n),o=i(935),l=i.n(o)()(r());l.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const a=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(l[c]=!0)}for(var s=0;s<e.length;s++){var h=[].concat(e[s]);n&&l[h[0]]||(void 0!==o&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=o),i&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=i):h[2]=i),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),t.push(h))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},l=[],a=0;a<e.length;a++){var c=e[a],s=n.base?c[0]+n.base:c[0],h=o[s]||0,u="".concat(s," ").concat(h);o[s]=h+1;var g=i(u),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)t[g].references++,t[g].updater(d);else{var m=r(d,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:m,references:1})}l.push(u)}return l}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<o.length;l++){var a=i(o[l]);t[a].references--}for(var c=n(e,r),s=0;s<o.length;s++){var h=i(o[s]);0===t[h].references&&(t[h].updater(),t.splice(h,1))}o=c}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var o;if(n)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var l=void 0!==r.layer;l&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,l&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Highlight:()=>w,HighlightEditing:()=>r,HighlightUI:()=>k});var e=i(782);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,n=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,r=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(r,o);n&&this.value!==n?(t.isEqual(o)||e.setAttribute("highlight",n,l),e.setSelectionAttribute("highlight",n)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else n&&e.setSelectionAttribute("highlight",n)}else{const r=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of r)n?e.setAttribute("highlight",n,t):e.removeAttribute("highlight",t)}}))}}class r extends e.Plugin{static get pluginName(){return"HighlightEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(311);var l=i(591),a=i.n(l),c=i(639),s=i.n(c),h=i(128),u=i.n(h),g=i(21),d=i.n(g),m=i(51),p=i.n(m),v=i(809),f={attributes:{"data-cke":!0}};f.setAttributes=d(),f.insert=u().bind(null,"head"),f.domAPI=s(),f.insertStyleElement=p();a()(v.A,f);v.A&&v.A.locals&&v.A.locals;class k extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e),this._addMenuBarButton(e)}_addRemoveHighlightButton(){const t=this.editor.t,i=this.editor.commands.get("highlight");this._addButton("removeHighlight",t("Remove highlight"),e.icons.eraser,null,(e=>{e.bind("isEnabled").to(i,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,b(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,n,r){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:n}),l.editing.view.focus()})),r(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,n=t.ui.componentFactory,r=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});n.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({label:i("Highlight"),tooltip:!0,lastExecuted:r.model,commandValue:r.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>b(u(e,"type")))),h.bind("color").to(c,"value",(e=>u(e,"color"))),h.bind("commandValue").to(c,"value",(e=>u(e,"model"))),h.bind("isOn").to(c,"value",(e=>!!e)),h.delegate("execute").to(s);function u(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,o.addToolbarToDropdown)(s,(()=>{const t=e.map((e=>{const t=n.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{s.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new o.ToolbarSeparatorView),t.push(n.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){const t=e.buttonView.actionView;t.iconView.bind("fillColor").to(e.buttonView,"color")}(s),h.on("execute",(()=>{t.execute("highlight",{value:h.commandValue})})),this.listenTo(s,"execute",(()=>{t.editing.view.focus()})),s}))}_addMenuBarButton(t){const i=this.editor,n=i.t,r=i.commands.get("highlight");i.ui.componentFactory.add("menuBar:highlight",(l=>{const a=new o.MenuBarMenuView(l);a.buttonView.set({label:n("Highlight"),icon:b("marker")}),a.bind("isEnabled").to(r),a.buttonView.iconView.fillColor="transparent";const c=new o.MenuBarMenuListView(l);for(const e of t){const t=new o.MenuBarMenuListItemView(l,a),n=new o.MenuBarMenuListItemButtonView(l);n.set({label:e.title,icon:b(e.type),role:"menuitemradio",isToggleable:!0}),n.iconView.fillColor=e.color,n.delegate("execute").to(a),n.bind("isOn").to(r,"value",(t=>t===e.model)),n.on("execute",(()=>{i.execute("highlight",{value:e.model}),i.editing.view.focus()})),t.children.add(n),c.items.add(t)}c.items.add(new o.ListSeparatorView(l));const s=new o.MenuBarMenuListItemView(l,a),h=new o.MenuBarMenuListItemButtonView(l);return h.set({label:n("Remove highlight"),icon:e.icons.eraser}),h.delegate("execute").to(a),h.on("execute",(()=>{i.execute("highlight",{value:null}),i.editing.view.focus()})),s.children.add(h),c.items.add(s),a.panelView.children.add(c),a}))}}function b(e){return"marker"===e?'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z"/><path d="m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z"/><path d="m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z"/></svg>'}class w extends e.Plugin{static get requires(){return[r,k]}static get pluginName(){return"Highlight"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/horizontal-line/horizontal-line.js b/core/assets/vendor/ckeditor5/horizontal-line/horizontal-line.js index 4275f0a1b391de34b06694aa2bd587bc951d15b8..46806f1a27b617d78507d4b071a0342fb1ed6b1a 100644 --- a/core/assets/vendor/ckeditor5/horizontal-line/horizontal-line.js +++ b/core/assets/vendor/ckeditor5/horizontal-line/horizontal-line.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(935),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".ck-editor__editable .ck-horizontal-line{display:flow-root}.ck-content hr{background:#dedede;border:0;height:4px;margin:15px 0}",""]);const i=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},591:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:u,updater:v(f,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function h(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,p=0;function v(e,t){var n,r,o;if(t.singleton){var i=p++;n=m||(m=l(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=l(t),r=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=c(e,t),l=0;l<n.length;l++){var u=s(n[l]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},901:(e,t,n)=>{e.exports=n(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";n.r(r),n.d(r,{HorizontalLine:()=>f,HorizontalLineEditing:()=>l,HorizontalLineUI:()=>d});var e=n(782),t=n(901);class o extends e.Command{refresh(){const e=this.editor.model,n=e.schema,r=e.document.selection;this.isEnabled=function(e,n,r){const o=function(e,n){const r=(0,t.findOptimalInsertionRange)(e,n),o=r.start.parent;if(o.isEmpty&&!o.is("element","$root"))return o.parent;return o}(e,r);return n.checkChild(o,"horizontalLine")}(r,n,e)}execute(){const e=this.editor.model;e.change((t=>{const n=t.createElement("horizontalLine");e.insertObject(n,null,null,{setSelection:"after"})}))}}var i=n(591),a=n.n(i),s=n(427),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(s.A,c);s.A.locals;class l extends e.Plugin{static get pluginName(){return"HorizontalLineEditing"}init(){const e=this.editor,n=e.model.schema,r=e.t,i=e.conversion;n.register("horizontalLine",{inheritAllFrom:"$blockObject"}),i.for("dataDowncast").elementToElement({model:"horizontalLine",view:(e,{writer:t})=>t.createEmptyElement("hr")}),i.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(e,{writer:n})=>{const o=r("Horizontal line"),i=n.createContainerElement("div",null,n.createEmptyElement("hr"));return n.addClass("ck-horizontal-line",i),n.setCustomProperty("hr",!0,i),function(e,n,r){return n.setCustomProperty("horizontalLine",!0,e),(0,t.toWidget)(e,n,{label:r})}(i,n,o)}}),i.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),e.commands.add("horizontalLine",new o(e))}}var u=n(311);class d extends e.Plugin{static get pluginName(){return"HorizontalLineUI"}init(){const e=this.editor;e.ui.componentFactory.add("horizontalLine",(()=>{const e=this._createButton(u.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:horizontalLine",(()=>this._createButton(u.MenuBarMenuListItemButtonView)))}_createButton(t){const n=this.editor,r=n.locale,o=n.commands.get("horizontalLine"),i=new t(n.locale),a=r.t;return i.set({label:a("Horizontal line"),icon:e.icons.horizontalLine}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>{n.execute("horizontalLine"),n.editing.view.focus()})),i}}class f extends e.Plugin{static get requires(){return[l,d,t.Widget]}static get pluginName(){return"HorizontalLine"}}})(),(window.CKEditor5=window.CKEditor5||{}).horizontalLine=r})(); \ No newline at end of file + */(()=>{var e={427:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,".ck-editor__editable .ck-horizontal-line{display:flow-root}.ck-content hr{background:#dedede;border:0;height:4px;margin:15px 0}",""]);const s=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var c=e[s],l=r.base?c[0]+r.base:c[0],u=i[l]||0,d="".concat(l," ").concat(u);i[l]=u+1;var f=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:m,references:1})}a.push(d)}return a}function o(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var c=r(e,o),l=0;l<i.length;l++){var u=n(i[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=c}}},128:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},639:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function r(e,t,r,o){var i;if(r)i="";else{i="",o.supports&&(i+="@supports (".concat(o.supports,") {")),o.media&&(i+="@media ".concat(o.media," {"));var a=void 0!==o.layer;a&&(i+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),i+=o.css,a&&(i+="}"),o.media&&(i+="}"),o.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,i);else{var s=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(s,c[t]):e.appendChild(s)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,n=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){r(n,t,!1,e)},remove:function(e){r(n,t,!0,e)}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},901:(e,t,n)=>{e.exports=n(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{HorizontalLine:()=>w,HorizontalLineEditing:()=>g,HorizontalLineUI:()=>b});var e=n(782),t=n(901);class o extends e.Command{refresh(){const e=this.editor.model,n=e.schema,r=e.document.selection;this.isEnabled=function(e,n,r){const o=function(e,n){const r=(0,t.findOptimalInsertionRange)(e,n),o=r.start.parent;if(o.isEmpty&&!o.is("element","$root"))return o.parent;return o}(e,r);return n.checkChild(o,"horizontalLine")}(r,n,e)}execute(){const e=this.editor.model;e.change((t=>{const n=t.createElement("horizontalLine");e.insertObject(n,null,null,{setSelection:"after"})}))}}var i=n(591),a=n.n(i),s=n(639),c=n.n(s),l=n(128),u=n.n(l),d=n(21),f=n.n(d),p=n(51),m=n.n(p),h=n(427),v={attributes:{"data-cke":!0}};v.setAttributes=f(),v.insert=u().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=m();a()(h.A,v);h.A&&h.A.locals&&h.A.locals;class g extends e.Plugin{static get pluginName(){return"HorizontalLineEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,n=e.model.schema,r=e.t,i=e.conversion;n.register("horizontalLine",{inheritAllFrom:"$blockObject"}),i.for("dataDowncast").elementToElement({model:"horizontalLine",view:(e,{writer:t})=>t.createEmptyElement("hr")}),i.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(e,{writer:n})=>{const o=r("Horizontal line"),i=n.createContainerElement("div",null,n.createEmptyElement("hr"));return n.addClass("ck-horizontal-line",i),n.setCustomProperty("hr",!0,i),function(e,n,r){return n.setCustomProperty("horizontalLine",!0,e),(0,t.toWidget)(e,n,{label:r})}(i,n,o)}}),i.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),e.commands.add("horizontalLine",new o(e))}}var y=n(311);class b extends e.Plugin{static get pluginName(){return"HorizontalLineUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("horizontalLine",(()=>{const e=this._createButton(y.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:horizontalLine",(()=>this._createButton(y.MenuBarMenuListItemButtonView)))}_createButton(t){const n=this.editor,r=n.locale,o=n.commands.get("horizontalLine"),i=new t(n.locale),a=r.t;return i.set({label:a("Horizontal line"),icon:e.icons.horizontalLine}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>{n.execute("horizontalLine"),n.editing.view.focus()})),i}}class w extends e.Plugin{static get requires(){return[g,b,t.Widget]}static get pluginName(){return"HorizontalLine"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).horizontalLine=r})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/html-embed/html-embed.js b/core/assets/vendor/ckeditor5/html-embed/html-embed.js index 24591f946d4f88cad613e11bb4e38adbf6f57f35..5171b90b37654c5839115b57afb2f0fefab9c420 100644 --- a/core/assets/vendor/ckeditor5/html-embed/html-embed.js +++ b/core/assets/vendor/ckeditor5/html-embed/html-embed.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={199:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(935),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,".ck-widget.raw-html-embed{display:flow-root;font-style:normal;margin:.9em auto;min-width:15em;position:relative}.ck-widget.raw-html-embed:before{position:absolute;z-index:1}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper{display:flex;flex-direction:column;position:absolute}.ck-widget.raw-html-embed .raw-html-embed__preview{display:flex;overflow:hidden;position:relative}.ck-widget.raw-html-embed .raw-html-embed__preview-content{border-collapse:separate;border-spacing:7px;display:table;margin:auto;position:relative;width:100%}.ck-widget.raw-html-embed .raw-html-embed__preview-placeholder{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}:root{--ck-html-embed-content-width:calc(100% - var(--ck-icon-size)*1.5);--ck-html-embed-source-height:10em;--ck-html-embed-unfocused-outline-width:1px;--ck-html-embed-content-min-height:calc(var(--ck-icon-size) + var(--ck-spacing-standard));--ck-html-embed-source-disabled-background:var(--ck-color-base-foreground);--ck-html-embed-source-disabled-color:#737373}.ck-widget.raw-html-embed{background-color:var(--ck-color-base-foreground);font-size:var(--ck-font-size-base)}.ck-widget.raw-html-embed:not(.ck-widget_selected):not(:hover){outline:var(--ck-html-embed-unfocused-outline-width) dashed var(--ck-color-widget-blurred-border)}.ck-widget.raw-html-embed[dir=ltr]{text-align:left}.ck-widget.raw-html-embed[dir=rtl]{text-align:right}.ck-widget.raw-html-embed:before{background:#999;border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius);color:var(--ck-color-base-background);content:attr(data-html-embed-label);font-family:var(--ck-font-face);font-size:var(--ck-font-size-tiny);left:var(--ck-spacing-standard);padding:calc(var(--ck-spacing-tiny) + var(--ck-html-embed-unfocused-outline-width)) var(--ck-spacing-small) var(--ck-spacing-tiny);top:calc(var(--ck-html-embed-unfocused-outline-width)*-1);transition:background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck-widget.raw-html-embed[dir=rtl]:before{left:auto;right:var(--ck-spacing-standard)}.ck-widget.raw-html-embed[dir=ltr] .ck-widget__type-around .ck-widget__type-around__button.ck-widget__type-around__button_before{margin-left:50px}.ck.ck-editor__editable.ck-blurred .ck-widget.raw-html-embed.ck-widget_selected:before{padding:var(--ck-spacing-tiny) var(--ck-spacing-small);top:0}.ck.ck-editor__editable:not(.ck-blurred) .ck-widget.raw-html-embed.ck-widget_selected:before{background:var(--ck-color-focus-border);padding:var(--ck-spacing-tiny) var(--ck-spacing-small);top:0}.ck.ck-editor__editable .ck-widget.raw-html-embed:not(.ck-widget_selected):hover:before{padding:var(--ck-spacing-tiny) var(--ck-spacing-small);top:0}.ck-widget.raw-html-embed .raw-html-embed__content-wrapper{padding:var(--ck-spacing-standard)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper{right:var(--ck-spacing-standard);top:var(--ck-spacing-standard)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__save-button{color:var(--ck-color-button-save)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__cancel-button{color:var(--ck-color-button-cancel)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button:not(:first-child){margin-top:var(--ck-spacing-small)}.ck-widget.raw-html-embed[dir=rtl] .raw-html-embed__buttons-wrapper{left:var(--ck-spacing-standard);right:auto}.ck-widget.raw-html-embed .raw-html-embed__source{box-sizing:border-box;direction:ltr;font-family:monospace;font-size:var(--ck-font-size-base);height:var(--ck-html-embed-source-height);min-width:0;padding:var(--ck-spacing-standard);resize:none;tab-size:4;text-align:left;white-space:pre-wrap;width:var(--ck-html-embed-content-width)}.ck-widget.raw-html-embed .raw-html-embed__source[disabled]{background:var(--ck-html-embed-source-disabled-background);color:var(--ck-html-embed-source-disabled-color);-webkit-text-fill-color:var(--ck-html-embed-source-disabled-color);opacity:1}.ck-widget.raw-html-embed .raw-html-embed__preview{min-height:var(--ck-html-embed-content-min-height);width:var(--ck-html-embed-content-width)}.ck-editor__editable:not(.ck-read-only) .ck-widget.raw-html-embed .raw-html-embed__preview{pointer-events:none}.ck-widget.raw-html-embed .raw-html-embed__preview-content{background-color:var(--ck-color-base-foreground);box-sizing:border-box}.ck-widget.raw-html-embed .raw-html-embed__preview-content>*{margin-left:auto;margin-right:auto}.ck-widget.raw-html-embed .raw-html-embed__preview-placeholder{color:var(--ck-html-embed-source-disabled-color)}",""]);const i=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&a[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},591:(e,t,n)=>{"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function c(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],a=0;a<e.length;a++){var i=e[a],l=t.base?i[0]+t.base:i[0],d=n[l]||0,s="".concat(l," ").concat(d);n[l]=d+1;var m=c(s),u={css:i[1],media:i[2],sourceMap:i[3]};-1!==m?(o[m].references++,o[m].updater(u)):o.push({identifier:s,updater:w(u,t),references:1}),r.push(s)}return r}function d(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var s,m=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function u(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function b(e,t,n){var r=n.css,a=n.media,i=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,h=0;function w(e,t){var n,r,a;if(t.singleton){var i=h++;n=p||(p=d(t)),r=u.bind(null,n,i,!1),a=u.bind(null,n,i,!0)}else n=d(t),r=b.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var a=c(n[r]);o[a].references--}for(var i=l(e,t),d=0;d<n.length;d++){var s=c(n[d]);0===o[s].references&&(o[s].updater(),o.splice(s,1))}n=i}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},901:(e,t,n)=>{e.exports=n(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";n.r(r),n.d(r,{HtmlEmbed:()=>h,HtmlEmbedEditing:()=>u,HtmlEmbedUI:()=>p});var e=n(782),t=n(901),a=n(311),i=n(584);class o extends e.Command{refresh(){const e=this.editor.model,n=e.schema,r=e.document.selection,a=c(r);this.isEnabled=function(e,n,r){const a=function(e,n){const r=(0,t.findOptimalInsertionRange)(e,n),a=r.start.parent;if(a.isEmpty&&!a.is("rootElement"))return a.parent;return a}(e,r);return n.checkChild(a,"rawHtml")}(r,n,e),this.value=a?a.getAttribute("value")||"":null}execute(e){const t=this.editor.model,n=t.document.selection;t.change((r=>{let a;null!==this.value?a=c(n):(a=r.createElement("rawHtml"),t.insertObject(a,null,null,{setSelection:"on"})),r.setAttribute("value",e,a)}))}}function c(e){const t=e.getSelectedElement();return t&&t.is("element","rawHtml")?t:null}var l=n(591),d=n.n(l),s=n(199),m={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};d()(s.A,m);s.A.locals;class u extends e.Plugin{static get pluginName(){return"HtmlEmbedEditing"}constructor(e){super(e),this._widgetButtonViewReferences=new Set,e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:e=>((0,i.logWarning)("html-embed-provide-sanitize-function"),{html:e,hasChanged:!1})})}init(){const e=this.editor;e.model.schema.register("rawHtml",{inheritAllFrom:"$blockObject",allowAttributes:["value"]}),e.commands.add("htmlEmbed",new o(e)),this._setupConversion()}_setupConversion(){const e=this.editor,n=e.t,r=e.editing.view,a=this._widgetButtonViewReferences,o=e.config.get("htmlEmbed");function c({editor:e,domElement:t,state:r,props:o}){t.textContent="";const c=t.ownerDocument;let d;if(r.isEditable){const e={isDisabled:!1,placeholder:o.textareaPlaceholder};d=l({domDocument:c,state:r,props:e}),t.append(d)}else if(r.showPreviews){const a={sanitizeHtml:o.sanitizeHtml};t.append(function({editor:e,domDocument:t,state:r,props:a}){const o=a.sanitizeHtml(r.getRawHtmlValue()),c=r.getRawHtmlValue().length>0?n("No preview available"):n("Empty snippet content"),l=(0,i.createElement)(t,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},c),d=(0,i.createElement)(t,"div",{class:"raw-html-embed__preview-content",dir:e.locale.contentLanguageDirection}),s=t.createRange(),m=s.createContextualFragment(o.html);d.appendChild(m);const u=(0,i.createElement)(t,"div",{class:"raw-html-embed__preview"},[l,d]);return u}({domDocument:c,state:r,props:a,editor:e}))}else{const e={isDisabled:!0,placeholder:o.textareaPlaceholder};t.append(l({domDocument:c,state:r,props:e}))}const s={onEditClick:o.onEditClick,onSaveClick:()=>{o.onSaveClick(d.value)},onCancelClick:o.onCancelClick};t.prepend(function({editor:e,domDocument:t,state:n,props:r}){const o=(0,i.createElement)(t,"div",{class:"raw-html-embed__buttons-wrapper"});if(n.isEditable){const t=b(e,"save",r.onSaveClick),n=b(e,"cancel",r.onCancelClick);o.append(t.element,n.element),a.add(t).add(n)}else{const t=b(e,"edit",r.onEditClick);o.append(t.element),a.add(t)}return o}({editor:e,domDocument:c,state:r,props:s}))}function l({domDocument:e,state:t,props:n}){const r=(0,i.createElement)(e,"textarea",{placeholder:n.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return r.disabled=n.isDisabled,r.value=t.getRawHtmlValue(),r}this.editor.editing.view.on("render",(()=>{for(const e of a){if(e.element&&e.element.isConnected)return;e.destroy(),a.delete(e)}}),{priority:"lowest"}),e.data.registerRawContentMatcher({name:"div",classes:"raw-html-embed"}),e.conversion.for("upcast").elementToElement({view:{name:"div",classes:"raw-html-embed"},model:(e,{writer:t})=>t.createElement("rawHtml",{value:e.getCustomProperty("$rawContent")})}),e.conversion.for("dataDowncast").elementToElement({model:"rawHtml",view:(e,{writer:t})=>t.createRawElement("div",{class:"raw-html-embed"},(function(t){t.innerHTML=e.getAttribute("value")||""}))}),e.conversion.for("editingDowncast").elementToStructure({model:{name:"rawHtml",attributes:["value"]},view:(a,{writer:i})=>{let l,d,s;const m=i.createRawElement("div",{class:"raw-html-embed__content-wrapper"},(function(t){l=t,c({editor:e,domElement:t,state:d,props:s}),l.addEventListener("mousedown",(()=>{if(d.isEditable){const t=e.model;t.document.selection.getSelectedElement()!==a&&t.change((e=>e.setSelection(a,"on")))}}),!0)})),u={makeEditable(){d=Object.assign({},d,{isEditable:!0}),c({domElement:l,editor:e,state:d,props:s}),r.change((e=>{e.setAttribute("data-cke-ignore-events","true",m)})),l.querySelector("textarea").focus()},save(t){t!==d.getRawHtmlValue()?(e.execute("htmlEmbed",t),e.editing.view.focus()):this.cancel()},cancel(){d=Object.assign({},d,{isEditable:!1}),c({domElement:l,editor:e,state:d,props:s}),e.editing.view.focus(),r.change((e=>{e.removeAttribute("data-cke-ignore-events",m)}))}};d={showPreviews:o.showPreviews,isEditable:!1,getRawHtmlValue:()=>a.getAttribute("value")||""},s={sanitizeHtml:o.sanitizeHtml,textareaPlaceholder:n("Paste raw HTML here..."),onEditClick(){u.makeEditable()},onSaveClick(e){u.save(e)},onCancelClick(){u.cancel()}};const b=i.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":n("HTML snippet"),dir:e.locale.uiLanguageDirection},m);return i.setCustomProperty("rawHtmlApi",u,b),i.setCustomProperty("rawHtml",!0,b),(0,t.toWidget)(b,i,{label:n("HTML snippet"),hasSelectionHandle:!0})}})}}function b(t,n,r){const{t:i}=t.locale,o=new a.ButtonView(t.locale),c=t.commands.get("htmlEmbed");return o.set({class:`raw-html-embed__${n}-button`,icon:e.icons.pencil,tooltip:!0,tooltipPosition:"rtl"===t.locale.uiLanguageDirection?"e":"w"}),o.render(),"edit"===n?(o.set({icon:e.icons.pencil,label:i("Edit source")}),o.bind("isEnabled").to(c)):"save"===n?(o.set({icon:e.icons.check,label:i("Save changes")}),o.bind("isEnabled").to(c)):o.set({icon:e.icons.cancel,label:i("Cancel")}),o.on("execute",r),o}class p extends e.Plugin{static get pluginName(){return"HtmlEmbedUI"}init(){const e=this.editor,t=e.locale.t;e.ui.componentFactory.add("htmlEmbed",(()=>{const e=this._createButton(a.ButtonView);return e.set({tooltip:!0,label:t("Insert HTML")}),e})),e.ui.componentFactory.add("menuBar:htmlEmbed",(()=>{const e=this._createButton(a.MenuBarMenuListItemButtonView);return e.set({label:t("HTML snippet")}),e}))}_createButton(t){const n=this.editor,r=n.commands.get("htmlEmbed"),a=new t(n.locale);return a.set({icon:e.icons.html}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",(()=>{n.execute("htmlEmbed"),n.editing.view.focus();n.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()})),a}}class h extends e.Plugin{static get requires(){return[u,p,t.Widget]}static get pluginName(){return"HtmlEmbed"}}})(),(window.CKEditor5=window.CKEditor5||{}).htmlEmbed=r})(); \ No newline at end of file + */(()=>{var e={199:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(758),a=r.n(n),i=r(935),o=r.n(i)()(a());o.push([e.id,".ck-widget.raw-html-embed{display:flow-root;font-style:normal;margin:.9em auto;min-width:15em;position:relative}.ck-widget.raw-html-embed:before{position:absolute;z-index:1}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper{display:flex;flex-direction:column;position:absolute}.ck-widget.raw-html-embed .raw-html-embed__preview{display:flex;overflow:hidden;position:relative}.ck-widget.raw-html-embed .raw-html-embed__preview-content{border-collapse:separate;border-spacing:7px;display:table;margin:auto;position:relative;width:100%}.ck-widget.raw-html-embed .raw-html-embed__preview-placeholder{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}:root{--ck-html-embed-content-width:calc(100% - var(--ck-icon-size)*1.5);--ck-html-embed-source-height:10em;--ck-html-embed-unfocused-outline-width:1px;--ck-html-embed-content-min-height:calc(var(--ck-icon-size) + var(--ck-spacing-standard));--ck-html-embed-source-disabled-background:var(--ck-color-base-foreground);--ck-html-embed-source-disabled-color:#737373}.ck-widget.raw-html-embed{background-color:var(--ck-color-base-foreground);font-size:var(--ck-font-size-base)}.ck-widget.raw-html-embed:not(.ck-widget_selected):not(:hover){outline:var(--ck-html-embed-unfocused-outline-width) dashed var(--ck-color-widget-blurred-border)}.ck-widget.raw-html-embed[dir=ltr]{text-align:left}.ck-widget.raw-html-embed[dir=rtl]{text-align:right}.ck-widget.raw-html-embed:before{background:#999;border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius);color:var(--ck-color-base-background);content:attr(data-html-embed-label);font-family:var(--ck-font-face);font-size:var(--ck-font-size-tiny);left:var(--ck-spacing-standard);padding:calc(var(--ck-spacing-tiny) + var(--ck-html-embed-unfocused-outline-width)) var(--ck-spacing-small) var(--ck-spacing-tiny);top:calc(var(--ck-html-embed-unfocused-outline-width)*-1);transition:background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck-widget.raw-html-embed[dir=rtl]:before{left:auto;right:var(--ck-spacing-standard)}.ck-widget.raw-html-embed[dir=ltr] .ck-widget__type-around .ck-widget__type-around__button.ck-widget__type-around__button_before{margin-left:50px}.ck.ck-editor__editable.ck-blurred .ck-widget.raw-html-embed.ck-widget_selected:before{padding:var(--ck-spacing-tiny) var(--ck-spacing-small);top:0}.ck.ck-editor__editable:not(.ck-blurred) .ck-widget.raw-html-embed.ck-widget_selected:before{background:var(--ck-color-focus-border);padding:var(--ck-spacing-tiny) var(--ck-spacing-small);top:0}.ck.ck-editor__editable .ck-widget.raw-html-embed:not(.ck-widget_selected):hover:before{padding:var(--ck-spacing-tiny) var(--ck-spacing-small);top:0}.ck-widget.raw-html-embed .raw-html-embed__content-wrapper{padding:var(--ck-spacing-standard)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper{right:var(--ck-spacing-standard);top:var(--ck-spacing-standard)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__save-button{color:var(--ck-color-button-save)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__cancel-button{color:var(--ck-color-button-cancel)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button:not(:first-child){margin-top:var(--ck-spacing-small)}.ck-widget.raw-html-embed[dir=rtl] .raw-html-embed__buttons-wrapper{left:var(--ck-spacing-standard);right:auto}.ck-widget.raw-html-embed .raw-html-embed__source{box-sizing:border-box;direction:ltr;font-family:monospace;font-size:var(--ck-font-size-base);height:var(--ck-html-embed-source-height);min-width:0;padding:var(--ck-spacing-standard);resize:none;tab-size:4;text-align:left;white-space:pre-wrap;width:var(--ck-html-embed-content-width)}.ck-widget.raw-html-embed .raw-html-embed__source[disabled]{background:var(--ck-html-embed-source-disabled-background);color:var(--ck-html-embed-source-disabled-color);-webkit-text-fill-color:var(--ck-html-embed-source-disabled-color);opacity:1}.ck-widget.raw-html-embed .raw-html-embed__preview{min-height:var(--ck-html-embed-content-min-height);width:var(--ck-html-embed-content-width)}.ck-editor__editable:not(.ck-read-only) .ck-widget.raw-html-embed .raw-html-embed__preview{pointer-events:none}.ck-widget.raw-html-embed .raw-html-embed__preview-content{background-color:var(--ck-color-base-foreground);box-sizing:border-box}.ck-widget.raw-html-embed .raw-html-embed__preview-content>*{margin-left:auto;margin-right:auto}.ck-widget.raw-html-embed .raw-html-embed__preview-placeholder{color:var(--ck-html-embed-source-disabled-color)}",""]);const c=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,a,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(o[l]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);n&&o[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),a&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=a):d[4]="".concat(a)),t.push(d))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},o=[],c=0;c<e.length;c++){var l=e[c],s=n.base?l[0]+n.base:l[0],d=i[s]||0,m="".concat(s," ").concat(d);i[s]=d+1;var u=r(m),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==u)t[u].references++,t[u].updater(p);else{var b=a(p,n);n.byIndex=c,t.splice(c,0,{identifier:m,updater:b,references:1})}o.push(m)}return o}function a(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,a){var i=n(e=e||[],a=a||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var c=r(i[o]);t[c].references--}for(var l=n(e,a),s=0;s<i.length;s++){var d=r(i[s]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},128:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}},639:e=>{"use strict";var t,r=(t=[],function(e,r){return t[e]=r,t.filter(Boolean).join("\n")});function n(e,t,n,a){var i;if(n)i="";else{i="",a.supports&&(i+="@supports (".concat(a.supports,") {")),a.media&&(i+="@media ".concat(a.media," {"));var o=void 0!==a.layer;o&&(i+="@layer".concat(a.layer.length>0?" ".concat(a.layer):""," {")),i+=a.css,o&&(i+="}"),a.media&&(i+="}"),a.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=r(t,i);else{var c=document.createTextNode(i),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(c,l[t]):e.appendChild(c)}}var a={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=a.singletonCounter++,r=a.singleton||(a.singleton=e.insertStyleElement(e));return{update:function(e){n(r,t,!1,e)},remove:function(e){n(r,t,!0,e)}}}},782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},311:(e,t,r)=>{e.exports=r(237)("./src/ui.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},901:(e,t,r)=>{e.exports=r(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{HtmlEmbed:()=>y,HtmlEmbedEditing:()=>k,HtmlEmbedUI:()=>E});var e=r(782),t=r(901),a=r(311),i=r(584);class o extends e.Command{refresh(){const e=this.editor.model,r=e.schema,n=e.document.selection,a=c(n);this.isEnabled=function(e,r,n){const a=function(e,r){const n=(0,t.findOptimalInsertionRange)(e,r),a=n.start.parent;if(a.isEmpty&&!a.is("rootElement"))return a.parent;return a}(e,n);return r.checkChild(a,"rawHtml")}(n,r,e),this.value=a?a.getAttribute("value")||"":null}execute(e){const t=this.editor.model,r=t.document.selection;t.change((n=>{let a;null!==this.value?a=c(r):(a=n.createElement("rawHtml"),t.insertObject(a,null,null,{setSelection:"on"})),n.setAttribute("value",e,a)}))}}function c(e){const t=e.getSelectedElement();return t&&t.is("element","rawHtml")?t:null}var l=r(591),s=r.n(l),d=r(639),m=r.n(d),u=r(128),p=r.n(u),b=r(21),h=r.n(b),w=r(51),g=r.n(w),v=r(199),f={attributes:{"data-cke":!0}};f.setAttributes=h(),f.insert=p().bind(null,"head"),f.domAPI=m(),f.insertStyleElement=g();s()(v.A,f);v.A&&v.A.locals&&v.A.locals;class k extends e.Plugin{static get pluginName(){return"HtmlEmbedEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._widgetButtonViewReferences=new Set,e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:e=>((0,i.logWarning)("html-embed-provide-sanitize-function"),{html:e,hasChanged:!1})})}init(){const e=this.editor;e.model.schema.register("rawHtml",{inheritAllFrom:"$blockObject",allowAttributes:["value"]}),e.commands.add("htmlEmbed",new o(e)),this._setupConversion()}_setupConversion(){const e=this.editor,r=e.t,n=e.editing.view,a=this._widgetButtonViewReferences,o=e.config.get("htmlEmbed");function c({editor:e,domElement:t,state:n,props:o}){t.textContent="";const c=t.ownerDocument;let s;if(n.isEditable){const e={isDisabled:!1,placeholder:o.textareaPlaceholder};s=l({domDocument:c,state:n,props:e}),t.append(s)}else if(n.showPreviews){const a={sanitizeHtml:o.sanitizeHtml};t.append(function({editor:e,domDocument:t,state:n,props:a}){const o=a.sanitizeHtml(n.getRawHtmlValue()),c=n.getRawHtmlValue().length>0?r("No preview available"):r("Empty snippet content"),l=(0,i.createElement)(t,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},c),s=(0,i.createElement)(t,"div",{class:"raw-html-embed__preview-content",dir:e.locale.contentLanguageDirection}),d=t.createRange(),m=d.createContextualFragment(o.html);s.appendChild(m);const u=(0,i.createElement)(t,"div",{class:"raw-html-embed__preview"},[l,s]);return u}({domDocument:c,state:n,props:a,editor:e}))}else{const e={isDisabled:!0,placeholder:o.textareaPlaceholder};t.append(l({domDocument:c,state:n,props:e}))}const d={onEditClick:o.onEditClick,onSaveClick:()=>{o.onSaveClick(s.value)},onCancelClick:o.onCancelClick};t.prepend(function({editor:e,domDocument:t,state:r,props:n}){const o=(0,i.createElement)(t,"div",{class:"raw-html-embed__buttons-wrapper"});if(r.isEditable){const t=_(e,"save",n.onSaveClick),r=_(e,"cancel",n.onCancelClick);o.append(t.element,r.element),a.add(t).add(r)}else{const t=_(e,"edit",n.onEditClick);o.append(t.element),a.add(t)}return o}({editor:e,domDocument:c,state:n,props:d}))}function l({domDocument:e,state:t,props:r}){const n=(0,i.createElement)(e,"textarea",{placeholder:r.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return n.disabled=r.isDisabled,n.value=t.getRawHtmlValue(),n}this.editor.editing.view.on("render",(()=>{for(const e of a){if(e.element&&e.element.isConnected)return;e.destroy(),a.delete(e)}}),{priority:"lowest"}),e.data.registerRawContentMatcher({name:"div",classes:"raw-html-embed"}),e.conversion.for("upcast").elementToElement({view:{name:"div",classes:"raw-html-embed"},model:(e,{writer:t})=>t.createElement("rawHtml",{value:e.getCustomProperty("$rawContent")})}),e.conversion.for("dataDowncast").elementToElement({model:"rawHtml",view:(e,{writer:t})=>t.createRawElement("div",{class:"raw-html-embed"},(function(t){t.innerHTML=e.getAttribute("value")||""}))}),e.conversion.for("editingDowncast").elementToStructure({model:{name:"rawHtml",attributes:["value"]},view:(a,{writer:i})=>{let l,s,d;const m=i.createRawElement("div",{class:"raw-html-embed__content-wrapper"},(function(t){l=t,c({editor:e,domElement:t,state:s,props:d}),l.addEventListener("mousedown",(()=>{if(s.isEditable){const t=e.model;t.document.selection.getSelectedElement()!==a&&t.change((e=>e.setSelection(a,"on")))}}),!0)})),u={makeEditable(){s=Object.assign({},s,{isEditable:!0}),c({domElement:l,editor:e,state:s,props:d}),n.change((e=>{e.setAttribute("data-cke-ignore-events","true",m)})),l.querySelector("textarea").focus()},save(t){t!==s.getRawHtmlValue()?(e.execute("htmlEmbed",t),e.editing.view.focus()):this.cancel()},cancel(){s=Object.assign({},s,{isEditable:!1}),c({domElement:l,editor:e,state:s,props:d}),e.editing.view.focus(),n.change((e=>{e.removeAttribute("data-cke-ignore-events",m)}))}};s={showPreviews:o.showPreviews,isEditable:!1,getRawHtmlValue:()=>a.getAttribute("value")||""},d={sanitizeHtml:o.sanitizeHtml,textareaPlaceholder:r("Paste raw HTML here..."),onEditClick(){u.makeEditable()},onSaveClick(e){u.save(e)},onCancelClick(){u.cancel()}};const p=i.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":r("HTML snippet"),dir:e.locale.uiLanguageDirection},m);return i.setCustomProperty("rawHtmlApi",u,p),i.setCustomProperty("rawHtml",!0,p),(0,t.toWidget)(p,i,{label:r("HTML snippet"),hasSelectionHandle:!0})}})}}function _(t,r,n){const{t:i}=t.locale,o=new a.ButtonView(t.locale),c=t.commands.get("htmlEmbed");return o.set({class:`raw-html-embed__${r}-button`,icon:e.icons.pencil,tooltip:!0,tooltipPosition:"rtl"===t.locale.uiLanguageDirection?"e":"w"}),o.render(),"edit"===r?(o.set({icon:e.icons.pencil,label:i("Edit source")}),o.bind("isEnabled").to(c)):"save"===r?(o.set({icon:e.icons.check,label:i("Save changes")}),o.bind("isEnabled").to(c)):o.set({icon:e.icons.cancel,label:i("Cancel")}),o.on("execute",n),o}class E extends e.Plugin{static get pluginName(){return"HtmlEmbedUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t;e.ui.componentFactory.add("htmlEmbed",(()=>{const e=this._createButton(a.ButtonView);return e.set({tooltip:!0,label:t("Insert HTML")}),e})),e.ui.componentFactory.add("menuBar:htmlEmbed",(()=>{const e=this._createButton(a.MenuBarMenuListItemButtonView);return e.set({label:t("HTML snippet")}),e}))}_createButton(t){const r=this.editor,n=r.commands.get("htmlEmbed"),a=new t(r.locale);return a.set({icon:e.icons.html}),a.bind("isEnabled").to(n,"isEnabled"),this.listenTo(a,"execute",(()=>{r.execute("htmlEmbed"),r.editing.view.focus();r.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()})),a}}class y extends e.Plugin{static get requires(){return[k,E,t.Widget]}static get pluginName(){return"HtmlEmbed"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).htmlEmbed=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/html-embed/translations/ca.js b/core/assets/vendor/ckeditor5/html-embed/translations/ca.js index 0964c800f747109ea1dbc7ca38bd79c3578ee66c..8c3cd002b40fc1f37ad70c6dd570aedc71b01137 100644 --- a/core/assets/vendor/ckeditor5/html-embed/translations/ca.js +++ b/core/assets/vendor/ckeditor5/html-embed/translations/ca.js @@ -1 +1 @@ -!function(a){const n=a.ca=a.ca||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Editar la font","Empty snippet content":"Contingut del fragment buit","HTML snippet":"Fragment de HTML","Insert HTML":"Introduir HTML","No preview available":"No hi ha cap vista prèvia disponible","Paste raw HTML here...":"Enganxa HTML en brut aquÃ...","Save changes":"Desar els canvis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const n=a.ca=a.ca||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Editar la font","Empty snippet content":"Contingut del fragment buit","HTML snippet":"Fragment HTML","Insert HTML":"Insereix HTML","No preview available":"No hi ha cap vista prèvia disponible","Paste raw HTML here...":"Enganxa HTML en brut aquÃ...","Save changes":"Desar els canvis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/html-support/html-support.js b/core/assets/vendor/ckeditor5/html-support/html-support.js index c8b510655a6dc7115b7f58772a1b846a9860538b..b68ef9cca00e05c3643a3838a98495e12c99cd5c 100644 --- a/core/assets/vendor/ckeditor5/html-support/html-support.js +++ b/core/assets/vendor/ckeditor5/html-support/html-support.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={275:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(935),n=r.n(o)()((function(t){return t[1]}));n.push([t.id,":root{--ck-html-object-embed-unfocused-outline-width:1px}.ck-widget.html-object-embed{background-color:var(--ck-color-base-foreground);font-size:var(--ck-font-size-base);min-width:calc(76px + var(--ck-spacing-standard));padding:var(--ck-spacing-small);padding-top:calc(var(--ck-font-size-tiny) + var(--ck-spacing-large))}.ck-widget.html-object-embed:not(.ck-widget_selected):not(:hover){outline:var(--ck-html-object-embed-unfocused-outline-width) dashed var(--ck-color-widget-blurred-border)}.ck-widget.html-object-embed:before{background:#999;border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius);color:var(--ck-color-base-background);content:attr(data-html-object-embed-label);font-family:var(--ck-font-face);font-size:var(--ck-font-size-tiny);font-style:normal;font-weight:400;left:var(--ck-spacing-standard);padding:calc(var(--ck-spacing-tiny) + var(--ck-html-object-embed-unfocused-outline-width)) var(--ck-spacing-small) var(--ck-spacing-tiny);position:absolute;top:0;transition:background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck-widget.html-object-embed .ck-widget__type-around .ck-widget__type-around__button.ck-widget__type-around__button_before{margin-left:50px}.ck-widget.html-object-embed .html-object-embed__content{pointer-events:none}div.ck-widget.html-object-embed{margin:1em auto}span.ck-widget.html-object-embed{display:inline-block}",""]);const i=n},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=t(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,o){"string"==typeof t&&(t=[[null,t,""]]);var n={};if(o)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(n[s]=!0)}for(var l=0;l<t.length;l++){var a=[].concat(t[l]);o&&n[a[0]]||(r&&(a[2]?a[2]="".concat(r," and ").concat(a[2]):a[2]=r),e.push(a))}},e}},591:(t,e,r)=>{"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var t={};return function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}t[e]=r}return t[e]}}(),s=[];function l(t){for(var e=-1,r=0;r<s.length;r++)if(s[r].identifier===t){e=r;break}return e}function a(t,e){for(var r={},o=[],n=0;n<t.length;n++){var i=t[n],a=e.base?i[0]+e.base:i[0],c=r[a]||0,u="".concat(a," ").concat(c);r[a]=c+1;var m=l(u),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==m?(s[m].references++,s[m].updater(d)):s.push({identifier:u,updater:p(d,e),references:1}),o.push(u)}return o}function c(t){var e=document.createElement("style"),o=t.attributes||{};if(void 0===o.nonce){var n=r.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(t){e.setAttribute(t,o[t])})),"function"==typeof t.insert)t.insert(e);else{var s=i(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var u,m=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function d(t,e,r,o){var n=r?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(t.styleSheet)t.styleSheet.cssText=m(e,n);else{var i=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function f(t,e,r){var o=r.css,n=r.media,i=r.sourceMap;if(n?t.setAttribute("media",n):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var h=null,b=0;function p(t,e){var r,o,n;if(e.singleton){var i=b++;r=h||(h=c(e)),o=d.bind(null,r,i,!1),n=d.bind(null,r,i,!0)}else r=c(e),o=f.bind(null,r,e),n=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)};return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else n()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=n());var r=a(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var o=0;o<r.length;o++){var n=l(r[o]);s[n].references--}for(var i=a(t,e),c=0;c<r.length;c++){var u=l(r[c]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}r=i}}}},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},507:(t,e,r)=>{t.exports=r(237)("./src/enter.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},901:(t,e,r)=>{t.exports=r(237)("./src/widget.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={id:o,exports:{}};return t[o](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nc=void 0;var o={};(()=>{"use strict";r.r(o),r.d(o,{DataFilter:()=>vn,DataSchema:()=>hn,FullPage:()=>ui,GeneralHtmlSupport:()=>si,HtmlComment:()=>ai,HtmlPageDataProcessor:()=>ci});var t=r(782),e=r(584),n=r(783),i=r(901);const s=function(){this.__data__=[],this.size=0};const l=function(t,e){return t===e||t!=t&&e!=e};const a=function(t,e){for(var r=t.length;r--;)if(l(t[r][0],e))return r;return-1};var c=Array.prototype.splice;const u=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():c.call(e,r,1),--this.size,!0)};const m=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]};const d=function(t){return a(this.__data__,t)>-1};const f=function(t,e){var r=this.__data__,o=a(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}h.prototype.clear=s,h.prototype.delete=u,h.prototype.get=m,h.prototype.has=d,h.prototype.set=f;const b=h;const p=function(){this.__data__=new b,this.size=0};const g=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const w=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var A="object"==typeof self&&self&&self.Object===Object&&self;const j=y||A||Function("return this")();const E=j.Symbol;var _=Object.prototype,S=_.hasOwnProperty,k=_.toString,O=E?E.toStringTag:void 0;const C=function(t){var e=S.call(t,O),r=t[O];try{t[O]=void 0;var o=!0}catch(t){}var n=k.call(t);return o&&(e?t[O]=r:delete t[O]),n};var x=Object.prototype.toString;const F=function(t){return x.call(t)};var P=E?E.toStringTag:void 0;const I=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":P&&P in Object(t)?C(t):F(t)};const $=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const T=function(t){if(!$(t))return!1;var e=I(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const D=j["__core-js_shared__"];var B,R=(B=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"";const N=function(t){return!!R&&R in t};var M=Function.prototype.toString;const L=function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var H=/^\[object .+?Constructor\]$/,V=Function.prototype,z=Object.prototype,U=V.toString,W=z.hasOwnProperty,q=RegExp("^"+U.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const G=function(t){return!(!$(t)||N(t))&&(T(t)?q:H).test(L(t))};const K=function(t,e){return null==t?void 0:t[e]};const Z=function(t,e){var r=K(t,e);return G(r)?r:void 0};const Y=Z(j,"Map");const J=Z(Object,"create");const X=function(){this.__data__=J?J(null):{},this.size=0};const Q=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var tt=Object.prototype.hasOwnProperty;const et=function(t){var e=this.__data__;if(J){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return tt.call(e,t)?e[t]:void 0};var rt=Object.prototype.hasOwnProperty;const ot=function(t){var e=this.__data__;return J?void 0!==e[t]:rt.call(e,t)};const nt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=J&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}it.prototype.clear=X,it.prototype.delete=Q,it.prototype.get=et,it.prototype.has=ot,it.prototype.set=nt;const st=it;const lt=function(){this.size=0,this.__data__={hash:new st,map:new(Y||b),string:new st}};const at=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ct=function(t,e){var r=t.__data__;return at(e)?r["string"==typeof e?"string":"hash"]:r.map};const ut=function(t){var e=ct(this,t).delete(t);return this.size-=e?1:0,e};const mt=function(t){return ct(this,t).get(t)};const dt=function(t){return ct(this,t).has(t)};const ft=function(t,e){var r=ct(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};function ht(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}ht.prototype.clear=lt,ht.prototype.delete=ut,ht.prototype.get=mt,ht.prototype.has=dt,ht.prototype.set=ft;const bt=ht;const pt=function(t,e){var r=this.__data__;if(r instanceof b){var o=r.__data__;if(!Y||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new bt(o)}return r.set(t,e),this.size=r.size,this};function gt(t){var e=this.__data__=new b(t);this.size=e.size}gt.prototype.clear=p,gt.prototype.delete=g,gt.prototype.get=w,gt.prototype.has=v,gt.prototype.set=pt;const wt=gt;const vt=function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););return t};const yt=function(){try{var t=Z(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const At=function(t,e,r){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var jt=Object.prototype.hasOwnProperty;const Et=function(t,e,r){var o=t[e];jt.call(t,e)&&l(o,r)&&(void 0!==r||e in t)||At(t,e,r)};const _t=function(t,e,r,o){var n=!r;r||(r={});for(var i=-1,s=e.length;++i<s;){var l=e[i],a=o?o(r[l],t[l],l,r,t):void 0;void 0===a&&(a=t[l]),n?At(r,l,a):Et(r,l,a)}return r};const St=function(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o};const kt=function(t){return null!=t&&"object"==typeof t};const Ot=function(t){return kt(t)&&"[object Arguments]"==I(t)};var Ct=Object.prototype,xt=Ct.hasOwnProperty,Ft=Ct.propertyIsEnumerable;const Pt=Ot(function(){return arguments}())?Ot:function(t){return kt(t)&&xt.call(t,"callee")&&!Ft.call(t,"callee")};const It=Array.isArray;const $t=function(){return!1};var Tt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Dt=Tt&&"object"==typeof module&&module&&!module.nodeType&&module,Bt=Dt&&Dt.exports===Tt?j.Buffer:void 0;const Rt=(Bt?Bt.isBuffer:void 0)||$t;var Nt=/^(?:0|[1-9]\d*)$/;const Mt=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Nt.test(t))&&t>-1&&t%1==0&&t<e};const Lt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Ht={};Ht["[object Float32Array]"]=Ht["[object Float64Array]"]=Ht["[object Int8Array]"]=Ht["[object Int16Array]"]=Ht["[object Int32Array]"]=Ht["[object Uint8Array]"]=Ht["[object Uint8ClampedArray]"]=Ht["[object Uint16Array]"]=Ht["[object Uint32Array]"]=!0,Ht["[object Arguments]"]=Ht["[object Array]"]=Ht["[object ArrayBuffer]"]=Ht["[object Boolean]"]=Ht["[object DataView]"]=Ht["[object Date]"]=Ht["[object Error]"]=Ht["[object Function]"]=Ht["[object Map]"]=Ht["[object Number]"]=Ht["[object Object]"]=Ht["[object RegExp]"]=Ht["[object Set]"]=Ht["[object String]"]=Ht["[object WeakMap]"]=!1;const Vt=function(t){return kt(t)&&Lt(t.length)&&!!Ht[I(t)]};const zt=function(t){return function(e){return t(e)}};var Ut="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wt=Ut&&"object"==typeof module&&module&&!module.nodeType&&module,qt=Wt&&Wt.exports===Ut&&y.process;const Gt=function(){try{var t=Wt&&Wt.require&&Wt.require("util").types;return t||qt&&qt.binding&&qt.binding("util")}catch(t){}}();var Kt=Gt&&Gt.isTypedArray;const Zt=Kt?zt(Kt):Vt;var Yt=Object.prototype.hasOwnProperty;const Jt=function(t,e){var r=It(t),o=!r&&Pt(t),n=!r&&!o&&Rt(t),i=!r&&!o&&!n&&Zt(t),s=r||o||n||i,l=s?St(t.length,String):[],a=l.length;for(var c in t)!e&&!Yt.call(t,c)||s&&("length"==c||n&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Mt(c,a))||l.push(c);return l};var Xt=Object.prototype;const Qt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Xt)};const te=function(t,e){return function(r){return t(e(r))}};const ee=te(Object.keys,Object);var re=Object.prototype.hasOwnProperty;const oe=function(t){if(!Qt(t))return ee(t);var e=[];for(var r in Object(t))re.call(t,r)&&"constructor"!=r&&e.push(r);return e};const ne=function(t){return null!=t&&Lt(t.length)&&!T(t)};const ie=function(t){return ne(t)?Jt(t):oe(t)};const se=function(t,e){return t&&_t(e,ie(e),t)};const le=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var ae=Object.prototype.hasOwnProperty;const ce=function(t){if(!$(t))return le(t);var e=Qt(t),r=[];for(var o in t)("constructor"!=o||!e&&ae.call(t,o))&&r.push(o);return r};const ue=function(t){return ne(t)?Jt(t,!0):ce(t)};const me=function(t,e){return t&&_t(e,ue(e),t)};var de="object"==typeof exports&&exports&&!exports.nodeType&&exports,fe=de&&"object"==typeof module&&module&&!module.nodeType&&module,he=fe&&fe.exports===de?j.Buffer:void 0,be=he?he.allocUnsafe:void 0;const pe=function(t,e){if(e)return t.slice();var r=t.length,o=be?be(r):new t.constructor(r);return t.copy(o),o};const ge=function(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e};const we=function(t,e){for(var r=-1,o=null==t?0:t.length,n=0,i=[];++r<o;){var s=t[r];e(s,r,t)&&(i[n++]=s)}return i};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,Ae=Object.getOwnPropertySymbols;const je=Ae?function(t){return null==t?[]:(t=Object(t),we(Ae(t),(function(e){return ye.call(t,e)})))}:ve;const Ee=function(t,e){return _t(t,je(t),e)};const _e=function(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t};const Se=te(Object.getPrototypeOf,Object);const ke=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)_e(e,je(t)),t=Se(t);return e}:ve;const Oe=function(t,e){return _t(t,ke(t),e)};const Ce=function(t,e,r){var o=e(t);return It(t)?o:_e(o,r(t))};const xe=function(t){return Ce(t,ie,je)};const Fe=function(t){return Ce(t,ue,ke)};const Pe=Z(j,"DataView");const Ie=Z(j,"Promise");const $e=Z(j,"Set");const Te=Z(j,"WeakMap");var De="[object Map]",Be="[object Promise]",Re="[object Set]",Ne="[object WeakMap]",Me="[object DataView]",Le=L(Pe),He=L(Y),Ve=L(Ie),ze=L($e),Ue=L(Te),We=I;(Pe&&We(new Pe(new ArrayBuffer(1)))!=Me||Y&&We(new Y)!=De||Ie&&We(Ie.resolve())!=Be||$e&&We(new $e)!=Re||Te&&We(new Te)!=Ne)&&(We=function(t){var e=I(t),r="[object Object]"==e?t.constructor:void 0,o=r?L(r):"";if(o)switch(o){case Le:return Me;case He:return De;case Ve:return Be;case ze:return Re;case Ue:return Ne}return e});const qe=We;var Ge=Object.prototype.hasOwnProperty;const Ke=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&Ge.call(t,"index")&&(r.index=t.index,r.input=t.input),r};const Ze=j.Uint8Array;const Ye=function(t){var e=new t.constructor(t.byteLength);return new Ze(e).set(new Ze(t)),e};const Je=function(t,e){var r=e?Ye(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var Xe=/\w*$/;const Qe=function(t){var e=new t.constructor(t.source,Xe.exec(t));return e.lastIndex=t.lastIndex,e};var tr=E?E.prototype:void 0,er=tr?tr.valueOf:void 0;const rr=function(t){return er?Object(er.call(t)):{}};const or=function(t,e){var r=e?Ye(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};const nr=function(t,e,r){var o=t.constructor;switch(e){case"[object ArrayBuffer]":return Ye(t);case"[object Boolean]":case"[object Date]":return new o(+t);case"[object DataView]":return Je(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return or(t,r);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(t);case"[object RegExp]":return Qe(t);case"[object Symbol]":return rr(t)}};var ir=Object.create;const sr=function(){function t(){}return function(e){if(!$(e))return{};if(ir)return ir(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const lr=function(t){return"function"!=typeof t.constructor||Qt(t)?{}:sr(Se(t))};const ar=function(t){return kt(t)&&"[object Map]"==qe(t)};var cr=Gt&&Gt.isMap;const ur=cr?zt(cr):ar;const mr=function(t){return kt(t)&&"[object Set]"==qe(t)};var dr=Gt&&Gt.isSet;const fr=dr?zt(dr):mr;var hr="[object Arguments]",br="[object Function]",pr="[object Object]",gr={};gr[hr]=gr["[object Array]"]=gr["[object ArrayBuffer]"]=gr["[object DataView]"]=gr["[object Boolean]"]=gr["[object Date]"]=gr["[object Float32Array]"]=gr["[object Float64Array]"]=gr["[object Int8Array]"]=gr["[object Int16Array]"]=gr["[object Int32Array]"]=gr["[object Map]"]=gr["[object Number]"]=gr[pr]=gr["[object RegExp]"]=gr["[object Set]"]=gr["[object String]"]=gr["[object Symbol]"]=gr["[object Uint8Array]"]=gr["[object Uint8ClampedArray]"]=gr["[object Uint16Array]"]=gr["[object Uint32Array]"]=!0,gr["[object Error]"]=gr[br]=gr["[object WeakMap]"]=!1;const wr=function t(e,r,o,n,i,s){var l,a=1&r,c=2&r,u=4&r;if(o&&(l=i?o(e,n,i,s):o(e)),void 0!==l)return l;if(!$(e))return e;var m=It(e);if(m){if(l=Ke(e),!a)return ge(e,l)}else{var d=qe(e),f=d==br||"[object GeneratorFunction]"==d;if(Rt(e))return pe(e,a);if(d==pr||d==hr||f&&!i){if(l=c||f?{}:lr(e),!a)return c?Oe(e,me(l,e)):Ee(e,se(l,e))}else{if(!gr[d])return i?e:{};l=nr(e,d,a)}}s||(s=new wt);var h=s.get(e);if(h)return h;s.set(e,l),fr(e)?e.forEach((function(n){l.add(t(n,r,o,n,e,s))})):ur(e)&&e.forEach((function(n,i){l.set(i,t(n,r,o,i,e,s))}));var b=m?void 0:(u?c?Fe:xe:c?ue:ie)(e);return vt(b||e,(function(n,i){b&&(n=e[i=n]),Et(l,i,t(n,r,o,i,e,s))})),l};const vr=function(t){return wr(t,5)};const yr=function(t,e,r,o){var n=-1,i=null==t?0:t.length;for(o&&i&&(r=t[++n]);++n<i;)r=e(r,t[n],n,t);return r};const Ar=function(t){return function(e){return null==t?void 0:t[e]}}({À:"A",Ã:"A",Â:"A",Ã:"A",Ä:"A",Ã…:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ç:"C",ç:"c",Ã:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",ÃŒ:"I",Ã:"I",ÃŽ:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ã’:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ãœ:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ä€:"A",Ä‚:"A",Ä„:"A",Ä:"a",ă:"a",Ä…:"a",Ć:"C",Ĉ:"C",ÄŠ:"C",ÄŒ:"C",ć:"c",ĉ:"c",Ä‹:"c",Ä:"c",ÄŽ:"D",Ä:"D",Ä:"d",Ä‘:"d",Ä’:"E",Ä”:"E",Ä–:"E",Ę:"E",Äš:"E",Ä“:"e",Ä•:"e",Ä—:"e",Ä™:"e",Ä›:"e",Äœ:"G",Äž:"G",Ä :"G",Ä¢:"G",Ä:"g",ÄŸ:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",Ä°:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å€:"l",Å‚:"l",Ń:"N",Å…:"N",Ň:"N",ÅŠ:"N",Å„:"n",ņ:"n",ň:"n",Å‹:"n",ÅŒ:"O",ÅŽ:"O",Å:"O",Å:"o",Å:"o",Å‘:"o",Å”:"R",Å–:"R",Ř:"R",Å•:"r",Å—:"r",Å™:"r",Åš:"S",Åœ:"S",Åž:"S",Å :"S",Å›:"s",Å:"s",ÅŸ:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Å°:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å’:"Oe",Å“:"oe",ʼn:"'n",Å¿:"s"});const jr=function(t,e){for(var r=-1,o=null==t?0:t.length,n=Array(o);++r<o;)n[r]=e(t[r],r,t);return n};const Er=function(t){return"symbol"==typeof t||kt(t)&&"[object Symbol]"==I(t)};var _r=E?E.prototype:void 0,Sr=_r?_r.toString:void 0;const kr=function t(e){if("string"==typeof e)return e;if(It(e))return jr(e,t)+"";if(Er(e))return Sr?Sr.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};const Or=function(t){return null==t?"":kr(t)};var Cr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xr=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");const Fr=function(t){return(t=Or(t))&&t.replace(Cr,Ar).replace(xr,"")};var Pr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;const Ir=function(t){return t.match(Pr)||[]};var $r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;const Tr=function(t){return $r.test(t)};var Dr="\\ud800-\\udfff",Br="\\u2700-\\u27bf",Rr="a-z\\xdf-\\xf6\\xf8-\\xff",Nr="A-Z\\xc0-\\xd6\\xd8-\\xde",Mr="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Lr="["+Mr+"]",Hr="\\d+",Vr="["+Br+"]",zr="["+Rr+"]",Ur="[^"+Dr+Mr+Hr+Br+Rr+Nr+"]",Wr="(?:\\ud83c[\\udde6-\\uddff]){2}",qr="[\\ud800-\\udbff][\\udc00-\\udfff]",Gr="["+Nr+"]",Kr="(?:"+zr+"|"+Ur+")",Zr="(?:"+Gr+"|"+Ur+")",Yr="(?:['’](?:d|ll|m|re|s|t|ve))?",Jr="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xr="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Qr="[\\ufe0e\\ufe0f]?",to=Qr+Xr+("(?:\\u200d(?:"+["[^"+Dr+"]",Wr,qr].join("|")+")"+Qr+Xr+")*"),eo="(?:"+[Vr,Wr,qr].join("|")+")"+to,ro=RegExp([Gr+"?"+zr+"+"+Yr+"(?="+[Lr,Gr,"$"].join("|")+")",Zr+"+"+Jr+"(?="+[Lr,Gr+Kr,"$"].join("|")+")",Gr+"?"+Kr+"+"+Yr,Gr+"+"+Jr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hr,eo].join("|"),"g");const oo=function(t){return t.match(ro)||[]};const no=function(t,e,r){return t=Or(t),void 0===(e=r?void 0:e)?Tr(t)?oo(t):Ir(t):t.match(e)||[]};var io=RegExp("['’]","g");const so=function(t){return function(e){return yr(no(Fr(e).replace(io,"")),t,"")}};const lo=function(t,e,r){var o=-1,n=t.length;e<0&&(e=-e>n?0:n+e),(r=r>n?n:r)<0&&(r+=n),n=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(n);++o<n;)i[o]=t[o+e];return i};const ao=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:lo(t,e,r)};var co=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const uo=function(t){return co.test(t)};const mo=function(t){return t.split("")};var fo="\\ud800-\\udfff",ho="["+fo+"]",bo="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",po="\\ud83c[\\udffb-\\udfff]",go="[^"+fo+"]",wo="(?:\\ud83c[\\udde6-\\uddff]){2}",vo="[\\ud800-\\udbff][\\udc00-\\udfff]",yo="(?:"+bo+"|"+po+")"+"?",Ao="[\\ufe0e\\ufe0f]?",jo=Ao+yo+("(?:\\u200d(?:"+[go,wo,vo].join("|")+")"+Ao+yo+")*"),Eo="(?:"+[go+bo+"?",bo,wo,vo,ho].join("|")+")",_o=RegExp(po+"(?="+po+")|"+Eo+jo,"g");const So=function(t){return t.match(_o)||[]};const ko=function(t){return uo(t)?So(t):mo(t)};const Oo=function(t){return function(e){e=Or(e);var r=uo(e)?ko(e):void 0,o=r?r[0]:e.charAt(0),n=r?ao(r,1).join(""):e.slice(1);return o[t]()+n}}("toUpperCase");const Co=so((function(t,e,r){return t+(r?" ":"")+Oo(e)}));function xo(t,e,r,o){e&&function(t,e,r){if(e.attributes)for(const[o]of Object.entries(e.attributes))t.removeAttribute(o,r);if(e.styles)for(const o of Object.keys(e.styles))t.removeStyle(o,r);e.classes&&t.removeClass(e.classes,r)}(t,e,o),r&&Fo(t,r,o)}function Fo(t,e,r){if(e.attributes)for(const[o,n]of Object.entries(e.attributes))t.setAttribute(o,n,r);e.styles&&t.setStyle(e.styles,r),e.classes&&t.addClass(e.classes,r)}function Po(t,e,r,o,n){const i=e.getAttribute(r),s={};for(const t of["attributes","styles","classes"]){if(t!=o){i&&i[t]&&(s[t]=i[t]);continue}if("classes"==o){const e=new Set(i&&i.classes||[]);n(e),e.size&&(s[t]=Array.from(e));continue}const e=new Map(Object.entries(i&&i[t]||{}));n(e),e.size&&(s[t]=Object.fromEntries(e))}Object.keys(s).length?e.is("documentSelection")?t.setSelectionAttribute(r,s):t.setAttribute(r,s,e):i&&(e.is("documentSelection")?t.removeSelectionAttribute(r):t.removeAttribute(r,e))}function Io(t){return`html${e=t,Co(e).replace(/ /g,"")}Attributes`;var e}function $o({model:t}){return(e,r)=>r.writer.createElement(t,{htmlContent:e.getCustomProperty("$rawContent")})}function To(t,{view:e,isInline:r}){const o=t.t;return(t,{writer:n})=>{const s=o("HTML object"),l=Do(e,t,n),a=t.getAttribute(Io(e));n.addClass("html-object-embed__content",l),a&&Fo(n,a,l);const c=n.createContainerElement(r?"span":"div",{class:"html-object-embed","data-html-object-embed-label":s},l);return(0,i.toWidget)(c,n,{label:s})}}function Do(t,e,r){return r.createRawElement(t,null,((t,r)=>{r.setContentOf(t,e.getAttribute("htmlContent"))}))}function Bo({view:t,model:e,allowEmpty:r},o){return e=>{e.on(`element:${t}`,((t,e,i)=>{let s=o.processViewAttributes(e.viewItem,i);if(s||i.consumable.test(e.viewItem,{name:!0})){if(s=s||{},i.consumable.consume(e.viewItem,{name:!0}),e.modelRange||(e=Object.assign(e,i.convertChildren(e.viewItem,e.modelCursor))),r&&e.modelRange.isCollapsed&&Object.keys(s).length){const t=i.writer.createElement("htmlEmptyElement");if(!i.safeInsert(t,e.modelCursor))return;const r=i.getSplitParts(t);return e.modelRange=i.writer.createRange(e.modelRange.start,i.writer.createPositionAfter(r[r.length-1])),i.updateConversionResult(t,e),void n(t,s,i)}for(const t of e.modelRange.getItems())n(t,s,i)}}),{priority:"low"})};function n(t,r,o){if(o.schema.checkAttribute(t,e)){const n=function(t,e){const r=vr(t);let o="attributes";for(o in e)r[o]="classes"==o?Array.from(new Set([...t[o]||[],...e[o]])):{...t[o],...e[o]};return r}(r,t.getAttribute(e)||{});o.writer.setAttribute(e,n,t)}}}function Ro({model:t,view:e},r){return(o,{writer:n,consumable:s})=>{if(!o.hasAttribute(t))return null;const l=n.createContainerElement(e),a=o.getAttribute(t);return s.consume(o,`attribute:${t}`),Fo(n,a,l),l.getFillerOffset=()=>null,r?(0,i.toWidget)(l,n):l}}function No({priority:t,view:e}){return(r,o)=>{if(!r)return;const{writer:n}=o,i=n.createAttributeElement(e,null,{priority:t});return Fo(n,r,i),i}}function Mo({view:t},e){return r=>{r.on(`element:${t}`,((t,r,o)=>{if(!r.modelRange||r.modelRange.isCollapsed)return;const n=e.processViewAttributes(r.viewItem,o);n&&o.writer.setAttribute(Io(r.viewItem.name),n,r.modelRange)}),{priority:"low"})}}function Lo({view:t,model:e}){return r=>{r.on(`attribute:${Io(t)}:${e}`,((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e;xo(r.writer,o,n,r.mapper.toViewElement(e.item))}))}}const Ho=[{model:"codeBlock",view:"pre"},{model:"paragraph",view:"p"},{model:"blockQuote",view:"blockquote"},{model:"listItem",view:"li"},{model:"pageBreak",view:"div"},{model:"rawHtml",view:"div"},{model:"table",view:"table"},{model:"tableRow",view:"tr"},{model:"tableCell",view:"td"},{model:"tableCell",view:"th"},{model:"tableColumnGroup",view:"colgroup"},{model:"tableColumn",view:"col"},{model:"caption",view:"caption"},{model:"caption",view:"figcaption"},{model:"imageBlock",view:"img"},{model:"imageInline",view:"img"},{model:"htmlP",view:"p",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlBlockquote",view:"blockquote",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlTable",view:"table",modelSchema:{allowWhere:"$block",isBlock:!0}},{model:"htmlTbody",view:"tbody",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlThead",view:"thead",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlTfoot",view:"tfoot",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlCaption",view:"caption",modelSchema:{allowIn:"htmlTable",allowChildren:"$text",isBlock:!1}},{model:"htmlColgroup",view:"colgroup",modelSchema:{allowIn:"htmlTable",allowChildren:"col",isBlock:!1}},{model:"htmlCol",view:"col",modelSchema:{allowIn:"htmlColgroup",isBlock:!1}},{model:"htmlTr",view:"tr",modelSchema:{allowIn:["htmlTable","htmlThead","htmlTbody"],isLimit:!0}},{model:"htmlTd",view:"td",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlTh",view:"th",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlFigure",view:"figure",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFigcaption",view:"figcaption",modelSchema:{allowIn:"htmlFigure",allowChildren:"$text",isBlock:!1}},{model:"htmlAddress",view:"address",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlAside",view:"aside",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlMain",view:"main",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDetails",view:"details",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSummary",view:"summary",modelSchema:{allowChildren:["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6","$text"],allowIn:"htmlDetails",isBlock:!1}},{model:"htmlDiv",view:"div",paragraphLikeModel:"htmlDivParagraph",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlFieldset",view:"fieldset",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlLegend",view:"legend",modelSchema:{allowIn:"htmlFieldset",allowChildren:"$text"}},{model:"htmlHeader",view:"header",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFooter",view:"footer",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlForm",view:"form",modelSchema:{inheritAllFrom:"$container",isBlock:!0}},{model:"htmlHgroup",view:"hgroup",modelSchema:{allowIn:["$root","$container"],allowChildren:["paragraph","htmlP","htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"],isBlock:!1}},{model:"htmlH1",view:"h1",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH2",view:"h2",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH3",view:"h3",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH4",view:"h4",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH5",view:"h5",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH6",view:"h6",modelSchema:{inheritAllFrom:"$block"}},{model:"$htmlList",modelSchema:{allowWhere:"$container",allowChildren:["$htmlList","htmlLi"],isBlock:!1}},{model:"htmlDir",view:"dir",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlMenu",view:"menu",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlUl",view:"ul",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlOl",view:"ol",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlLi",view:"li",modelSchema:{allowIn:"$htmlList",allowChildren:"$text",isBlock:!1}},{model:"htmlPre",view:"pre",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlArticle",view:"article",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSection",view:"section",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlNav",view:"nav",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDivDl",view:"div",modelSchema:{allowChildren:["htmlDt","htmlDd"],allowIn:"htmlDl"}},{model:"htmlDl",view:"dl",modelSchema:{allowWhere:"$container",allowChildren:["htmlDt","htmlDd","htmlDivDl"],isBlock:!1}},{model:"htmlDt",view:"dt",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlDd",view:"dd",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlCenter",view:"center",modelSchema:{inheritAllFrom:"$container",isBlock:!1}}],Vo=[{model:"htmlLiAttributes",view:"li",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlOlAttributes",view:"ol",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlUlAttributes",view:"ul",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"table"},{model:"htmlTheadAttributes",view:"thead",appliesToBlock:"table"},{model:"htmlTbodyAttributes",view:"tbody",appliesToBlock:"table"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"imageBlock"},{model:"htmlAcronym",view:"acronym",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTt",view:"tt",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlFont",view:"font",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTime",view:"time",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlVar",view:"var",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBig",view:"big",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSmall",view:"small",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSamp",view:"samp",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlQ",view:"q",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlOutput",view:"output",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlKbd",view:"kbd",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdi",view:"bdi",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdo",view:"bdo",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlAbbr",view:"abbr",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlA",view:"a",priority:5,coupledAttribute:"linkHref"},{model:"htmlStrong",view:"strong",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlB",view:"b",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlI",view:"i",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlEm",view:"em",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlS",view:"s",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDel",view:"del",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlIns",view:"ins",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlU",view:"u",coupledAttribute:"underline",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSub",view:"sub",coupledAttribute:"subscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSup",view:"sup",coupledAttribute:"superscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCode",view:"code",coupledAttribute:"code",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlMark",view:"mark",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSpan",view:"span",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCite",view:"cite",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlLabel",view:"label",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDfn",view:"dfn",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlObject",view:"object",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlIframe",view:"iframe",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlInput",view:"input",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlButton",view:"button",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlTextarea",view:"textarea",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlSelect",view:"select",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlVideo",view:"video",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlEmbed",view:"embed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlOembed",view:"oembed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlAudio",view:"audio",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlImg",view:"img",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlCanvas",view:"canvas",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlMeter",view:"meter",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlProgress",view:"progress",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlScript",view:"script",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlStyle",view:"style",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlCustomElement",view:"$customElement",modelSchema:{allowWhere:["$text","$block"],allowAttributesOf:"$inlineObject",isInline:!0}}];const zo=function(t,e,r){(void 0!==r&&!l(t[e],r)||void 0===r&&!(e in t))&&At(t,e,r)};const Uo=function(t){return function(e,r,o){for(var n=-1,i=Object(e),s=o(e),l=s.length;l--;){var a=s[t?l:++n];if(!1===r(i[a],a,i))break}return e}}();const Wo=function(t){return kt(t)&&ne(t)};var qo=Function.prototype,Go=Object.prototype,Ko=qo.toString,Zo=Go.hasOwnProperty,Yo=Ko.call(Object);const Jo=function(t){if(!kt(t)||"[object Object]"!=I(t))return!1;var e=Se(t);if(null===e)return!0;var r=Zo.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&Ko.call(r)==Yo};const Xo=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};const Qo=function(t){return _t(t,ue(t))};const tn=function(t,e,r,o,n,i,s){var l=Xo(t,r),a=Xo(e,r),c=s.get(a);if(c)zo(t,r,c);else{var u=i?i(l,a,r+"",t,e,s):void 0,m=void 0===u;if(m){var d=It(a),f=!d&&Rt(a),h=!d&&!f&&Zt(a);u=a,d||f||h?It(l)?u=l:Wo(l)?u=ge(l):f?(m=!1,u=pe(a,!0)):h?(m=!1,u=or(a,!0)):u=[]:Jo(a)||Pt(a)?(u=l,Pt(l)?u=Qo(l):$(l)&&!T(l)||(u=lr(a))):m=!1}m&&(s.set(a,u),n(u,a,o,i,s),s.delete(a)),zo(t,r,u)}};const en=function t(e,r,o,n,i){e!==r&&Uo(r,(function(s,l){if(i||(i=new wt),$(s))tn(e,r,l,o,t,n,i);else{var a=n?n(Xo(e,l),s,l+"",e,r,i):void 0;void 0===a&&(a=s),zo(e,l,a)}}),ue)};const rn=function(t){return t};const on=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var nn=Math.max;const sn=function(t,e,r){return e=nn(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,i=nn(o.length-e,0),s=Array(i);++n<i;)s[n]=o[e+n];n=-1;for(var l=Array(e+1);++n<e;)l[n]=o[n];return l[e]=r(s),on(t,this,l)}};const ln=function(t){return function(){return t}};const an=yt?function(t,e){return yt(t,"toString",{configurable:!0,enumerable:!1,value:ln(e),writable:!0})}:rn;var cn=Date.now;const un=function(t){var e=0,r=0;return function(){var o=cn(),n=16-(o-r);if(r=o,n>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(an);const mn=function(t,e){return un(sn(t,e,rn),t+"")};const dn=function(t,e,r){if(!$(r))return!1;var o=typeof e;return!!("number"==o?ne(r)&&Mt(e,r.length):"string"==o&&e in r)&&l(r[e],t)};const fn=function(t){return mn((function(e,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,s=n>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(n--,i):void 0,s&&dn(r[0],r[1],s)&&(i=n<3?void 0:i,n=1),e=Object(e);++o<n;){var l=r[o];l&&t(e,l,o,i)}return e}))}((function(t,e,r,o){en(t,e,r,o)}));class hn extends t.Plugin{constructor(){super(...arguments),this._definitions=[]}static get pluginName(){return"DataSchema"}init(){for(const t of Ho)this.registerBlockElement(t);for(const t of Vo)this.registerInlineElement(t)}registerBlockElement(t){this._definitions.push({...t,isBlock:!0})}registerInlineElement(t){this._definitions.push({...t,isInline:!0})}extendBlockElement(t){this._extendDefinition({...t,isBlock:!0})}extendInlineElement(t){this._extendDefinition({...t,isInline:!0})}getDefinitionsForView(t,e=!1){const r=new Set;for(const o of this._getMatchingViewDefinitions(t)){if(e)for(const t of this._getReferences(o.model))r.add(t);r.add(o)}return r}getDefinitionsForModel(t){return this._definitions.filter((e=>e.model==t))}_getMatchingViewDefinitions(t){return this._definitions.filter((e=>e.view&&function(t,e){if("string"==typeof t)return t===e;if(t instanceof RegExp)return t.test(e);return!1}(t,e.view)))}*_getReferences(t){const r=["inheritAllFrom","inheritTypesFrom","allowWhere","allowContentOf","allowAttributesOf"],o=this._definitions.filter((e=>e.model==t));for(const{modelSchema:n}of o)if(n)for(const o of r)for(const r of(0,e.toArray)(n[o]||[])){const e=this._definitions.filter((t=>t.model==r));for(const o of e)r!==t&&(yield*this._getReferences(o.model),yield o)}}_extendDefinition(t){const e=Array.from(this._definitions.entries()).filter((([,e])=>e.model==t.model));if(0!=e.length)for(const[r,o]of e)this._definitions[r]=fn({},o,t,((t,e)=>Array.isArray(t)?t.concat(e):void 0));else this._definitions.push(t)}}var bn=r(591),pn=r.n(bn),gn=r(275),wn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};pn()(gn.A,wn);gn.A.locals;class vn extends t.Plugin{constructor(t){super(t),this._dataSchema=t.plugins.get("DataSchema"),this._allowedAttributes=new n.Matcher,this._disallowedAttributes=new n.Matcher,this._allowedElements=new Set,this._disallowedElements=new Set,this._dataInitialized=!1,this._coupledAttributes=null,this._registerElementsAfterInit(),this._registerElementHandlers(),this._registerCoupledAttributesPostFixer(),this._registerAssociatedHtmlAttributesPostFixer()}static get pluginName(){return"DataFilter"}static get requires(){return[hn,i.Widget]}loadAllowedConfig(t){for(const e of t){const t=e.name||/[\s\S]+/,r=_n(e);this.allowElement(t),r.forEach((t=>this.allowAttributes(t)))}}loadDisallowedConfig(t){for(const e of t){const t=e.name||/[\s\S]+/,r=_n(e);0==r.length?this.disallowElement(t):r.forEach((t=>this.disallowAttributes(t)))}}loadAllowedEmptyElementsConfig(t){for(const e of t)this.allowEmptyElement(e)}allowElement(t){for(const e of this._dataSchema.getDefinitionsForView(t,!0))this._addAllowedElement(e),this._coupledAttributes=null}disallowElement(t){for(const e of this._dataSchema.getDefinitionsForView(t,!1))this._disallowedElements.add(e.view)}allowEmptyElement(t){for(const e of this._dataSchema.getDefinitionsForView(t,!0))e.isInline&&this._dataSchema.extendInlineElement({...e,allowEmpty:!0})}allowAttributes(t){this._allowedAttributes.add(t)}disallowAttributes(t){this._disallowedAttributes.add(t)}processViewAttributes(t,e){const{consumable:r}=e;return yn(t,this._disallowedAttributes,r),function(t,{attributes:e,classes:r,styles:o}){if(!e.length&&!r.length&&!o.length)return null;return{...e.length&&{attributes:An(t,e)},...o.length&&{styles:jn(t,o)},...r.length&&{classes:r}}}(t,yn(t,this._allowedAttributes,r))}_addAllowedElement(t){if(!this._allowedElements.has(t)){if(this._allowedElements.add(t),"appliesToBlock"in t&&"string"==typeof t.appliesToBlock)for(const e of this._dataSchema.getDefinitionsForModel(t.appliesToBlock))e.isBlock&&this._addAllowedElement(e);this._dataInitialized&&this.editor.data.once("set",(()=>{this._fireRegisterEvent(t)}),{priority:e.priorities.highest+1})}}_registerElementsAfterInit(){this.editor.data.on("init",(()=>{this._dataInitialized=!0;for(const t of this._allowedElements)this._fireRegisterEvent(t)}),{priority:e.priorities.highest+1})}_registerElementHandlers(){this.on("register",((t,r)=>{const o=this.editor.model.schema;if(r.isObject&&!o.isRegistered(r.model))this._registerObjectElement(r);else if(r.isBlock)this._registerBlockElement(r);else{if(!r.isInline)throw new e.CKEditorError("data-filter-invalid-definition",null,r);this._registerInlineElement(r)}t.stop()}),{priority:"lowest"})}_registerCoupledAttributesPostFixer(){const t=this.editor.model,e=t.document.selection;t.document.registerPostFixer((e=>{const r=t.document.differ.getChanges();let o=!1;const n=this._getCoupledAttributesMap();for(const t of r){if("attribute"!=t.type||null!==t.attributeNewValue)continue;const r=n.get(t.attributeKey);if(r)for(const{item:n}of t.range.getWalker())for(const t of r)n.hasAttribute(t)&&(e.removeAttribute(t,n),o=!0)}return o})),this.listenTo(e,"change:attribute",((r,{attributeKeys:o})=>{const n=new Set,i=this._getCoupledAttributesMap();for(const t of o){if(e.hasAttribute(t))continue;const r=i.get(t);if(r)for(const t of r)e.hasAttribute(t)&&n.add(t)}0!=n.size&&t.change((t=>{for(const e of n)t.removeSelectionAttribute(e)}))}))}_registerAssociatedHtmlAttributesPostFixer(){const t=this.editor.model;t.document.registerPostFixer((e=>{const r=t.document.differ.getChanges();let o=!1;for(const n of r)if("insert"===n.type&&"$text"!==n.name)for(const r of n.attributes.keys())r.startsWith("html")&&r.endsWith("Attributes")&&(t.schema.checkAttribute(n.name,r)||(e.removeAttribute(r,n.position.nodeAfter),o=!0));return o}))}_getCoupledAttributesMap(){if(this._coupledAttributes)return this._coupledAttributes;this._coupledAttributes=new Map;for(const t of this._allowedElements)if(t.coupledAttribute&&t.model){const e=this._coupledAttributes.get(t.coupledAttribute);e?e.push(t.model):this._coupledAttributes.set(t.coupledAttribute,[t.model])}return this._coupledAttributes}_fireRegisterEvent(t){t.view&&this._disallowedElements.has(t.view)||this.fire(t.view?`register:${t.view}`:"register",t)}_registerObjectElement(t){const r=this.editor,o=r.model.schema,n=r.conversion,{view:i,model:s}=t;o.register(s,t.modelSchema),i&&(o.extend(t.model,{allowAttributes:[Io(i),"htmlContent"]}),r.data.registerRawContentMatcher({name:i}),n.for("upcast").elementToElement({view:i,model:$o(t),converterPriority:e.priorities.low+2}),n.for("upcast").add(Mo(t,this)),n.for("editingDowncast").elementToStructure({model:{name:s,attributes:[Io(i)]},view:To(r,t)}),n.for("dataDowncast").elementToElement({model:s,view:(t,{writer:e})=>Do(i,t,e)}),n.for("dataDowncast").add(Lo(t)))}_registerBlockElement(t){const r=this.editor,o=r.model.schema,n=r.conversion,{view:i,model:s}=t;if(!o.isRegistered(t.model)){if(o.register(t.model,t.modelSchema),!i)return;n.for("upcast").elementToElement({model:s,view:i,converterPriority:e.priorities.low+2}),n.for("downcast").elementToElement({model:s,view:i})}i&&(o.extend(t.model,{allowAttributes:Io(i)}),n.for("upcast").add(Mo(t,this)),n.for("downcast").add(Lo(t)))}_registerInlineElement(t){const e=this.editor,r=e.model.schema,o=e.conversion,n=t.model;t.appliesToBlock||(r.extend("$text",{allowAttributes:n}),t.attributeProperties&&r.setAttributeProperties(n,t.attributeProperties),o.for("upcast").add(Bo(t,this)),o.for("downcast").attributeToElement({model:n,view:No(t)}),t.allowEmpty&&(r.setAttributeProperties(n,{copyFromObject:!1}),r.isRegistered("htmlEmptyElement")||r.register("htmlEmptyElement",{inheritAllFrom:"$inlineObject"}),e.data.htmlProcessor.domConverter.registerInlineObjectMatcher((e=>e.name==t.view&&e.isEmpty&&Array.from(e.getAttributeKeys()).length?{name:!0}:null)),o.for("editingDowncast").elementToElement({model:"htmlEmptyElement",view:Ro(t,!0)}),o.for("dataDowncast").elementToElement({model:"htmlEmptyElement",view:Ro(t)})))}}function yn(t,e,r){const o=e.matchAll(t)||[],n=t.document.stylesProcessor;return o.reduce(((e,{match:o})=>{for(const i of o.styles||[]){const o=n.getRelatedStyles(i).filter((t=>t.split("-").length>i.split("-").length)).sort(((t,e)=>e.split("-").length-t.split("-").length));for(const n of o)r.consume(t,{styles:[n]})&&e.styles.push(n);r.consume(t,{styles:[i]})&&e.styles.push(i)}for(const n of o.classes||[])r.consume(t,{classes:[n]})&&e.classes.push(n);for(const n of o.attributes||[])r.consume(t,{attributes:[n]})&&e.attributes.push(n);return e}),{attributes:[],classes:[],styles:[]})}function An(t,r){const o={};for(const n of r){const r=t.getAttribute(n);void 0!==r&&(0,e.isValidAttributeName)(n)&&(o[n]=r)}return o}function jn(t,e){const r=new n.StylesMap(t.document.stylesProcessor);for(const o of e){const e=t.getStyle(o);void 0!==e&&r.set(o,e)}return Object.fromEntries(r.getStylesEntries())}function En(t,e){const{name:r}=t,o=t[e];return Jo(o)?Object.entries(o).map((([t,o])=>({name:r,[e]:{[t]:o}}))):Array.isArray(o)?o.map((t=>({name:r,[e]:[t]}))):[t]}function _n(t){const{name:e,attributes:r,classes:o,styles:n}=t,i=[];return r&&i.push(...En({name:e,attributes:r},"attributes")),o&&i.push(...En({name:e,classes:o},"classes")),n&&i.push(...En({name:e,styles:n},"styles")),i}class Sn extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"CodeBlockElementSupport"}init(){if(!this.editor.plugins.has("CodeBlockEditing"))return;const t=this.editor.plugins.get(vn);t.on("register:pre",((e,r)=>{if("codeBlock"!==r.model)return;const o=this.editor,n=o.model.schema,i=o.conversion;n.extend("codeBlock",{allowAttributes:["htmlPreAttributes","htmlContentAttributes"]}),i.for("upcast").add(function(t){return e=>{e.on("element:code",((e,r,o)=>{const n=r.viewItem,i=n.parent;function s(e,n){const i=t.processViewAttributes(e,o);i&&o.writer.setAttribute(n,i,r.modelRange)}i&&i.is("element","pre")&&(s(i,"htmlPreAttributes"),s(n,"htmlContentAttributes"))}),{priority:"low"})}}(t)),i.for("downcast").add((t=>{t.on("attribute:htmlPreAttributes:codeBlock",((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e,i=r.mapper.toViewElement(e.item).parent;xo(r.writer,o,n,i)})),t.on("attribute:htmlContentAttributes:codeBlock",((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e,i=r.mapper.toViewElement(e.item);xo(r.writer,o,n,i)}))})),e.stop()}))}}class kn extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"DualContentModelElementSupport"}init(){this.editor.plugins.get(vn).on("register",((t,r)=>{const o=r,n=this.editor,i=n.model.schema,s=n.conversion;if(!o.paragraphLikeModel)return;if(i.isRegistered(o.model)||i.isRegistered(o.paragraphLikeModel))return;const l={model:o.paragraphLikeModel,view:o.view};i.register(o.model,o.modelSchema),i.register(l.model,{inheritAllFrom:"$block"}),s.for("upcast").elementToElement({view:o.view,model:(t,{writer:e})=>this._hasBlockContent(t)?e.createElement(o.model):e.createElement(l.model),converterPriority:e.priorities.low+.5}),s.for("downcast").elementToElement({view:o.view,model:o.model}),this._addAttributeConversion(o),s.for("downcast").elementToElement({view:l.view,model:l.model}),this._addAttributeConversion(l),t.stop()}))}_hasBlockContent(t){const e=this.editor.editing.view,r=e.domConverter.blockElements;for(const o of e.createRangeIn(t).getItems())if(o.is("element")&&r.includes(o.name))return!0;return!1}_addAttributeConversion(t){const e=this.editor,r=e.conversion,o=e.plugins.get(vn);e.model.schema.extend(t.model,{allowAttributes:Io(t.view)}),r.for("upcast").add(Mo(t,o)),r.for("downcast").add(Lo(t))}}var On=r(507);class Cn extends t.Plugin{static get requires(){return[hn,On.Enter]}static get pluginName(){return"HeadingElementSupport"}init(){const t=this.editor;if(!t.plugins.has("HeadingEditing"))return;const e=t.config.get("heading.options");this.registerHeadingElements(t,e)}registerHeadingElements(t,e){const r=t.plugins.get(hn),o=[];for(const t of e)"model"in t&&"view"in t&&(r.registerBlockElement({view:t.view,model:t.model}),o.push(t.model));r.extendBlockElement({model:"htmlHgroup",modelSchema:{allowChildren:o}}),r.extendBlockElement({model:"htmlSummary",modelSchema:{allowChildren:o}})}}function xn(t,e,r){const o=t.createRangeOn(e);for(const{item:t}of o.getWalker())if(t.is("element",r))return t}class Fn extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"ImageElementSupport"}init(){const t=this.editor;if(!t.plugins.has("ImageInlineEditing")&&!t.plugins.has("ImageBlockEditing"))return;const e=t.model.schema,r=t.conversion,o=t.plugins.get(vn);o.on("register:figure",(()=>{r.for("upcast").add(function(t){return e=>{e.on("element:figure",((e,r,o)=>{const n=r.viewItem;if(!r.modelRange||!n.hasClass("image"))return;const i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlFigureAttributes",i,r.modelRange)}),{priority:"low"})}}(o))})),o.on("register:img",((n,i)=>{"imageBlock"!==i.model&&"imageInline"!==i.model||(e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["htmlImgAttributes","htmlFigureAttributes","htmlLinkAttributes"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["htmlA","htmlImgAttributes"]}),r.for("upcast").add(function(t){return e=>{e.on("element:img",((e,r,o)=>{if(!r.modelRange)return;const n=r.viewItem,i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlImgAttributes",i,r.modelRange)}),{priority:"low"})}}(o)),r.for("downcast").add((t=>{function e(e){t.on(`attribute:${e}:imageInline`,((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e,i=r.mapper.toViewElement(e.item);xo(r.writer,o,n,i)}),{priority:"low"})}function r(e,r){t.on(`attribute:${r}:imageBlock`,((t,r,o)=>{if(!o.consumable.test(r.item,t.name))return;const{attributeOldValue:n,attributeNewValue:i}=r,s=o.mapper.toViewElement(r.item),l=xn(o.writer,s,e);l&&(xo(o.writer,n,i,l),o.consumable.consume(r.item,t.name))}),{priority:"low"}),"a"===e&&t.on("attribute:linkHref:imageBlock",((t,e,r)=>{if(!r.consumable.consume(e.item,"attribute:htmlLinkAttributes:imageBlock"))return;const o=r.mapper.toViewElement(e.item),n=xn(r.writer,o,"a");Fo(r.writer,e.item.getAttribute("htmlLinkAttributes"),n)}),{priority:"low"})}e("htmlImgAttributes"),r("img","htmlImgAttributes"),r("figure","htmlFigureAttributes"),r("a","htmlLinkAttributes")})),t.plugins.has("LinkImage")&&r.for("upcast").add(function(t,e){const r=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,o,n)=>{const i=o.viewItem;if(!r.findViewImgElement(i))return;const s=o.modelCursor.parent;if(!s.is("element","imageBlock"))return;const l=t.processViewAttributes(i,n);l&&n.writer.setAttribute("htmlLinkAttributes",l,s)}),{priority:"low"})}}(o,t)),n.stop())}))}}class Pn extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"MediaEmbedElementSupport"}init(){const t=this.editor;if(!t.plugins.has("MediaEmbed")||t.config.get("mediaEmbed.previewsInData"))return;const e=t.model.schema,r=t.conversion,o=this.editor.plugins.get(vn),n=this.editor.plugins.get(hn),i=t.config.get("mediaEmbed.elementName");n.registerBlockElement({model:"media",view:i}),o.on("register:figure",(()=>{r.for("upcast").add(function(t){return e=>{e.on("element:figure",((e,r,o)=>{const n=r.viewItem;if(!r.modelRange||!n.hasClass("media"))return;const i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlFigureAttributes",i,r.modelRange)}),{priority:"low"})}}(o))})),o.on(`register:${i}`,((t,n)=>{"media"===n.model&&(e.extend("media",{allowAttributes:[Io(i),"htmlFigureAttributes"]}),r.for("upcast").add(function(t,e){const r=(r,o,n)=>{function i(e,r){const i=t.processViewAttributes(e,n);i&&n.writer.setAttribute(r,i,o.modelRange)}i(o.viewItem,Io(e))};return t=>{t.on(`element:${e}`,r,{priority:"low"})}}(o,i)),r.for("dataDowncast").add(function(t){return e=>{function r(t,r){e.on(`attribute:${r}:media`,((e,r,o)=>{if(!o.consumable.consume(r.item,e.name))return;const{attributeOldValue:n,attributeNewValue:i}=r,s=o.mapper.toViewElement(r.item),l=xn(o.writer,s,t);xo(o.writer,n,i,l)}))}r(t,Io(t)),r("figure","htmlFigureAttributes")}}(i)),t.stop())}))}}class In extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"ScriptElementSupport"}init(){const t=this.editor.plugins.get(vn);t.on("register:script",((e,r)=>{const o=this.editor,n=o.model.schema,i=o.conversion;n.register("htmlScript",r.modelSchema),n.extend("htmlScript",{allowAttributes:["htmlScriptAttributes","htmlContent"],isContent:!0}),o.data.registerRawContentMatcher({name:"script"}),i.for("upcast").elementToElement({view:"script",model:$o(r)}),i.for("upcast").add(Mo(r,t)),i.for("downcast").elementToElement({model:"htmlScript",view:(t,{writer:e})=>Do("script",t,e)}),i.for("downcast").add(Lo(r)),e.stop()}))}}class $n extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"TableElementSupport"}init(){const t=this.editor;if(!t.plugins.has("TableEditing"))return;const e=t.model.schema,r=t.conversion,o=t.plugins.get(vn),n=t.plugins.get("TableUtils");o.on("register:figure",(()=>{r.for("upcast").add(function(t){return e=>{e.on("element:figure",((e,r,o)=>{const n=r.viewItem;if(!r.modelRange||!n.hasClass("table"))return;const i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlFigureAttributes",i,r.modelRange)}),{priority:"low"})}}(o))})),o.on("register:table",((i,s)=>{"table"===s.model&&(e.extend("table",{allowAttributes:["htmlTableAttributes","htmlFigureAttributes","htmlTheadAttributes","htmlTbodyAttributes"]}),r.for("upcast").add(function(t){return e=>{e.on("element:table",((e,r,o)=>{if(!r.modelRange)return;const n=r.viewItem;i(n,"htmlTableAttributes");for(const t of n.getChildren())t.is("element","thead")&&i(t,"htmlTheadAttributes"),t.is("element","tbody")&&i(t,"htmlTbodyAttributes");function i(e,n){const i=t.processViewAttributes(e,o);i&&o.writer.setAttribute(n,i,r.modelRange)}}),{priority:"low"})}}(o)),r.for("downcast").add((t=>{function e(e,r){t.on(`attribute:${r}:table`,((t,r,o)=>{if(!o.consumable.test(r.item,t.name))return;const n=o.mapper.toViewElement(r.item),i=xn(o.writer,n,e);i&&(o.consumable.consume(r.item,t.name),xo(o.writer,r.attributeOldValue,r.attributeNewValue,i))}))}e("table","htmlTableAttributes"),e("figure","htmlFigureAttributes"),e("thead","htmlTheadAttributes"),e("tbody","htmlTbodyAttributes")})),t.model.document.registerPostFixer(function(t,e){return r=>{const o=t.document.differ.getChanges();let n=!1;for(const t of o){if("attribute"!=t.type||"headingRows"!=t.attributeKey)continue;const o=t.range.start.nodeAfter,i=o.getAttribute("htmlTheadAttributes"),s=o.getAttribute("htmlTbodyAttributes");i&&!t.attributeNewValue?(r.removeAttribute("htmlTheadAttributes",o),n=!0):s&&t.attributeNewValue==e.getRows(o)&&(r.removeAttribute("htmlTbodyAttributes",o),n=!0)}return n}}(t.model,n)),i.stop())}))}}class Tn extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"StyleElementSupport"}init(){const t=this.editor.plugins.get(vn);t.on("register:style",((e,r)=>{const o=this.editor,n=o.model.schema,i=o.conversion;n.register("htmlStyle",r.modelSchema),n.extend("htmlStyle",{allowAttributes:["htmlStyleAttributes","htmlContent"],isContent:!0}),o.data.registerRawContentMatcher({name:"style"}),i.for("upcast").elementToElement({view:"style",model:$o(r)}),i.for("upcast").add(Mo(r,t)),i.for("downcast").elementToElement({model:"htmlStyle",view:(t,{writer:e})=>Do("style",t,e)}),i.for("downcast").add(Lo(r)),e.stop()}))}}const Dn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Bn=function(t){return this.__data__.has(t)};function Rn(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new bt;++e<r;)this.add(t[e])}Rn.prototype.add=Rn.prototype.push=Dn,Rn.prototype.has=Bn;const Nn=Rn;const Mn=function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(t[r],r,t))return!0;return!1};const Ln=function(t,e){return t.has(e)};const Hn=function(t,e,r,o,n,i){var s=1&r,l=t.length,a=e.length;if(l!=a&&!(s&&a>l))return!1;var c=i.get(t),u=i.get(e);if(c&&u)return c==e&&u==t;var m=-1,d=!0,f=2&r?new Nn:void 0;for(i.set(t,e),i.set(e,t);++m<l;){var h=t[m],b=e[m];if(o)var p=s?o(b,h,m,e,t,i):o(h,b,m,t,e,i);if(void 0!==p){if(p)continue;d=!1;break}if(f){if(!Mn(e,(function(t,e){if(!Ln(f,e)&&(h===t||n(h,t,r,o,i)))return f.push(e)}))){d=!1;break}}else if(h!==b&&!n(h,b,r,o,i)){d=!1;break}}return i.delete(t),i.delete(e),d};const Vn=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,o){r[++e]=[o,t]})),r};const zn=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Un=E?E.prototype:void 0,Wn=Un?Un.valueOf:void 0;const qn=function(t,e,r,o,n,i,s){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!i(new Ze(t),new Ze(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return l(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=Vn;case"[object Set]":var c=1&o;if(a||(a=zn),t.size!=e.size&&!c)return!1;var u=s.get(t);if(u)return u==e;o|=2,s.set(t,e);var m=Hn(a(t),a(e),o,n,i,s);return s.delete(t),m;case"[object Symbol]":if(Wn)return Wn.call(t)==Wn.call(e)}return!1};var Gn=Object.prototype.hasOwnProperty;const Kn=function(t,e,r,o,n,i){var s=1&r,l=xe(t),a=l.length;if(a!=xe(e).length&&!s)return!1;for(var c=a;c--;){var u=l[c];if(!(s?u in e:Gn.call(e,u)))return!1}var m=i.get(t),d=i.get(e);if(m&&d)return m==e&&d==t;var f=!0;i.set(t,e),i.set(e,t);for(var h=s;++c<a;){var b=t[u=l[c]],p=e[u];if(o)var g=s?o(p,b,u,e,t,i):o(b,p,u,t,e,i);if(!(void 0===g?b===p||n(b,p,r,o,i):g)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var w=t.constructor,v=e.constructor;w==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof v&&v instanceof v||(f=!1)}return i.delete(t),i.delete(e),f};var Zn="[object Arguments]",Yn="[object Array]",Jn="[object Object]",Xn=Object.prototype.hasOwnProperty;const Qn=function(t,e,r,o,n,i){var s=It(t),l=It(e),a=s?Yn:qe(t),c=l?Yn:qe(e),u=(a=a==Zn?Jn:a)==Jn,m=(c=c==Zn?Jn:c)==Jn,d=a==c;if(d&&Rt(t)){if(!Rt(e))return!1;s=!0,u=!1}if(d&&!u)return i||(i=new wt),s||Zt(t)?Hn(t,e,r,o,n,i):qn(t,e,a,r,o,n,i);if(!(1&r)){var f=u&&Xn.call(t,"__wrapped__"),h=m&&Xn.call(e,"__wrapped__");if(f||h){var b=f?t.value():t,p=h?e.value():e;return i||(i=new wt),n(b,p,r,o,i)}}return!!d&&(i||(i=new wt),Kn(t,e,r,o,n,i))};const ti=function t(e,r,o,n,i){return e===r||(null==e||null==r||!kt(e)&&!kt(r)?e!=e&&r!=r:Qn(e,r,o,n,t,i))};const ei=function(t,e){return ti(t,e)};class ri extends t.Plugin{static get requires(){return[vn]}static get pluginName(){return"ListElementSupport"}init(){const t=this.editor;if(!t.plugins.has("ListEditing"))return;const e=t.model.schema,r=t.conversion,o=t.plugins.get(vn),n=t.plugins.get("ListEditing"),i=t.plugins.get("ListUtils"),s=["ul","ol","li"];n.registerDowncastStrategy({scope:"item",attributeName:"htmlLiAttributes",setAttributeOnDowncast:Fo}),n.registerDowncastStrategy({scope:"list",attributeName:"htmlUlAttributes",setAttributeOnDowncast:Fo}),n.registerDowncastStrategy({scope:"list",attributeName:"htmlOlAttributes",setAttributeOnDowncast:Fo}),o.on("register",((t,n)=>{if(!s.includes(n.view))return;if(t.stop(),e.checkAttribute("$block","htmlLiAttributes"))return;const i=s.map((t=>Io(t)));e.extend("$listItem",{allowAttributes:i}),r.for("upcast").add((t=>{t.on("element:ul",oi("htmlUlAttributes",o),{priority:"low"}),t.on("element:ol",oi("htmlOlAttributes",o),{priority:"low"}),t.on("element:li",oi("htmlLiAttributes",o),{priority:"low"})}))})),n.on("postFixer",((t,{listNodes:e,writer:r})=>{for(const{node:o,previousNodeInList:n}of e)if(n){if(n.getAttribute("listType")==o.getAttribute("listType")){const e=ni(n.getAttribute("listType")),i=n.getAttribute(e);!ei(o.getAttribute(e),i)&&r.model.schema.checkAttribute(o,e)&&(r.setAttribute(e,i,o),t.return=!0)}if(n.getAttribute("listItemId")==o.getAttribute("listItemId")){const e=n.getAttribute("htmlLiAttributes");!ei(o.getAttribute("htmlLiAttributes"),e)&&r.model.schema.checkAttribute(o,"htmlLiAttributes")&&(r.setAttribute("htmlLiAttributes",e,o),t.return=!0)}}})),n.on("postFixer",((t,{listNodes:e,writer:r})=>{for(const{node:o}of e){const e=o.getAttribute("listType");!i.isNumberedListType(e)&&o.getAttribute("htmlOlAttributes")&&(r.removeAttribute("htmlOlAttributes",o),t.return=!0),i.isNumberedListType(e)&&o.getAttribute("htmlUlAttributes")&&(r.removeAttribute("htmlUlAttributes",o),t.return=!0)}}))}afterInit(){const t=this.editor;if(!t.commands.get("indentList"))return;const e=t.commands.get("indentList");this.listenTo(e,"afterExecute",((e,r)=>{t.model.change((e=>{for(const o of r){const r=ni(o.getAttribute("listType"));t.model.schema.checkAttribute(o,r)&&e.setAttribute(r,{},o)}}))}))}}function oi(t,e){return(r,o,n)=>{const i=o.viewItem;o.modelRange||Object.assign(o,n.convertChildren(o.viewItem,o.modelCursor));const s=e.processViewAttributes(i,n);for(const e of o.modelRange.getItems({shallow:!0}))e.hasAttribute("listItemId")&&(e.hasAttribute("htmlUlAttributes")||e.hasAttribute("htmlOlAttributes")||n.writer.model.schema.checkAttribute(e,t)&&n.writer.setAttribute(t,s||{},e))}}function ni(t){return"numbered"===t||"customNumbered"==t?"htmlOlAttributes":"htmlUlAttributes"}class ii extends t.Plugin{static get requires(){return[vn,hn]}static get pluginName(){return"CustomElementSupport"}init(){const t=this.editor.plugins.get(vn),e=this.editor.plugins.get(hn);t.on("register:$customElement",((r,o)=>{r.stop();const i=this.editor,s=i.model.schema,l=i.conversion,a=i.editing.view.domConverter.unsafeElements,c=i.data.htmlProcessor.domConverter.preElements;s.register(o.model,o.modelSchema),s.extend(o.model,{allowAttributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"],isContent:!0}),i.data.htmlProcessor.domConverter.registerRawContentMatcher({name:"template"}),l.for("upcast").elementToElement({view:/.*/,model:(r,s)=>{if("$comment"==r.name)return null;if(!function(t){try{document.createElement(t)}catch(t){return!1}return!0}(r.name))return null;if(e.getDefinitionsForView(r.name).size)return null;a.includes(r.name)||a.push(r.name),c.includes(r.name)||c.push(r.name);const l=s.writer.createElement(o.model,{htmlElementName:r.name}),u=t.processViewAttributes(r,s);let m;if(u&&s.writer.setAttribute("htmlCustomElementAttributes",u,l),r.is("element","template")&&r.getCustomProperty("$rawContent"))m=r.getCustomProperty("$rawContent");else{const t=new n.UpcastWriter(r.document).createDocumentFragment(r),e=i.data.htmlProcessor.domConverter.viewToDom(t),o=e.firstChild;for(;o.firstChild;)e.appendChild(o.firstChild);o.remove(),m=i.data.htmlProcessor.htmlWriter.getHtml(e)}s.writer.setAttribute("htmlContent",m,l);for(const{item:t}of i.editing.view.createRangeIn(r))s.consumable.consume(t,{name:!0});return l},converterPriority:"low"}),l.for("editingDowncast").elementToElement({model:{name:o.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(t,{writer:e})=>{const r=t.getAttribute("htmlElementName"),o=e.createRawElement(r);return t.hasAttribute("htmlCustomElementAttributes")&&Fo(e,t.getAttribute("htmlCustomElementAttributes"),o),o}}),l.for("dataDowncast").elementToElement({model:{name:o.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(t,{writer:e})=>{const r=t.getAttribute("htmlElementName"),o=t.getAttribute("htmlContent"),n=e.createRawElement(r,null,((t,e)=>{e.setContentOf(t,o)}));return t.hasAttribute("htmlCustomElementAttributes")&&Fo(e,t.getAttribute("htmlCustomElementAttributes"),n),n}})}))}}class si extends t.Plugin{static get pluginName(){return"GeneralHtmlSupport"}static get requires(){return[vn,Sn,kn,Cn,Fn,Pn,In,$n,Tn,ri,ii]}init(){const t=this.editor,e=t.plugins.get(vn);e.loadAllowedEmptyElementsConfig(t.config.get("htmlSupport.allowEmpty")||[]),e.loadAllowedConfig(t.config.get("htmlSupport.allow")||[]),e.loadDisallowedConfig(t.config.get("htmlSupport.disallow")||[])}getGhsAttributeNameForElement(t){const e=this.editor.plugins.get("DataSchema"),r=Array.from(e.getDefinitionsForView(t,!1)),o=r.find((t=>t.isInline&&!r[0].isObject));return o?o.model:Io(t)}addModelHtmlClass(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of li(n,o,i))Po(t,s,i,"classes",(t=>{for(const o of(0,e.toArray)(r))t.add(o)}))}))}removeModelHtmlClass(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of li(n,o,i))Po(t,s,i,"classes",(t=>{for(const o of(0,e.toArray)(r))t.delete(o)}))}))}setModelHtmlAttributes(t,e,r){const o=this.editor.model,n=this.getGhsAttributeNameForElement(t);o.change((t=>{for(const i of li(o,r,n))Po(t,i,n,"attributes",(t=>{for(const[r,o]of Object.entries(e))t.set(r,o)}))}))}removeModelHtmlAttributes(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of li(n,o,i))Po(t,s,i,"attributes",(t=>{for(const o of(0,e.toArray)(r))t.delete(o)}))}))}setModelHtmlStyles(t,e,r){const o=this.editor.model,n=this.getGhsAttributeNameForElement(t);o.change((t=>{for(const i of li(o,r,n))Po(t,i,n,"styles",(t=>{for(const[r,o]of Object.entries(e))t.set(r,o)}))}))}removeModelHtmlStyles(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of li(n,o,i))Po(t,s,i,"styles",(t=>{for(const o of(0,e.toArray)(r))t.delete(o)}))}))}}function*li(t,e,r){if(e)if(!(Symbol.iterator in e)&&e.is("documentSelection")&&e.isCollapsed)t.schema.checkAttributeInSelection(e,r)&&(yield e);else for(const o of function(t,e,r){return!(Symbol.iterator in e)&&(e.is("node")||e.is("$text")||e.is("$textProxy"))?t.schema.checkAttribute(e,r)?[t.createRangeOn(e)]:[]:t.schema.getValidRanges(t.createSelection(e).getRanges(),r)}(t,e,r))yield*o.getItems({shallow:!0})}class ai extends t.Plugin{static get pluginName(){return"HtmlComment"}init(){const t=this.editor,r=new Map;t.data.processor.skipComments=!1,t.model.schema.addAttributeCheck(((t,e)=>{if(t.endsWith("$root")&&e.startsWith("$comment"))return!0})),t.conversion.for("upcast").elementToMarker({view:"$comment",model:t=>{const o=`$comment:${(0,e.uid)()}`,n=t.getCustomProperty("$rawContent");return r.set(o,n),o}}),t.conversion.for("dataDowncast").markerToElement({model:"$comment",view:(t,{writer:e})=>{let r;for(const e of this.editor.model.document.getRootNames())if(r=this.editor.model.document.getRoot(e),r.hasAttribute(t.markerName))break;const o=t.markerName,n=r.getAttribute(o),i=e.createUIElement("$comment");return e.setCustomProperty("$rawContent",n,i),i}}),t.model.document.registerPostFixer((e=>{let o=!1;const n=t.model.document.differ.getChangedMarkers().filter((t=>t.name.startsWith("$comment:")));for(const t of n){const{oldRange:n,newRange:i}=t.data;if(!n||!i||n.root!=i.root){if(n){const r=n.root;r.hasAttribute(t.name)&&(e.removeAttribute(t.name,r),o=!0)}if(i){const n=i.root;"$graveyard"==n.rootName?(e.removeMarker(t.name),o=!0):n.hasAttribute(t.name)||(e.setAttribute(t.name,r.get(t.name)||"",n),o=!0)}}}return o})),t.data.on("set",(()=>{for(const e of t.model.markers.getMarkersGroup("$comment"))this.removeHtmlComment(e.name)}),{priority:"high"}),t.model.on("deleteContent",((e,[r])=>{for(const e of r.getRanges()){const r=t.model.schema.getLimitElement(e),o=t.model.createPositionAt(r,0),n=t.model.createPositionAt(r,"end");let i;i=o.isTouching(e.start)&&n.isTouching(e.end)?this.getHtmlCommentsInRange(t.model.createRange(o,n)):this.getHtmlCommentsInRange(e,{skipBoundaries:!0});for(const t of i)this.removeHtmlComment(t)}}),{priority:"high"})}createHtmlComment(t,r){const o=(0,e.uid)(),n=this.editor.model,i=n.document.getRoot(t.root.rootName),s=`$comment:${o}`;return n.change((e=>{const o=e.createRange(t);return e.addMarker(s,{usingOperation:!0,affectsData:!0,range:o}),e.setAttribute(s,r,i),s}))}removeHtmlComment(t){const e=this.editor,r=e.model.markers.get(t);return!!r&&(e.model.change((t=>{t.removeMarker(r)})),!0)}getHtmlCommentData(t){const e=this.editor.model.markers.get(t);if(!e)return null;let r="";for(const e of this.editor.model.document.getRoots())if(e.hasAttribute(t)){r=e.getAttribute(t);break}return{content:r,position:e.getStart()}}getHtmlCommentsInRange(t,{skipBoundaries:e=!1}={}){const r=!e;return Array.from(this.editor.model.markers.getMarkersGroup("$comment")).filter((e=>function(t,e){const o=t.getRange().start;return(o.isAfter(e.start)||r&&o.isEqual(e.start))&&(o.isBefore(e.end)||r&&o.isEqual(e.end))}(e,t))).map((t=>t.name))}}class ci extends n.HtmlDataProcessor{toView(t){if(!/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(t.trim().slice(0,1e4)))return super.toView(t);let e="",r="";t=(t=t.trim().replace(/<\?xml\s[^?]*\?>/i,(t=>(r=t,"")))).trim().replace(/^<!DOCTYPE\s[^>]*?>/i,(t=>(e=t,"")));const o=this._toDom(t),i=this.domConverter.domToView(o,{skipComments:this.skipComments}),s=new n.UpcastWriter(i.document);return s.setCustomProperty("$fullPageDocument",o.ownerDocument.documentElement.outerHTML,i),e&&s.setCustomProperty("$fullPageDocType",e,i),r&&s.setCustomProperty("$fullPageXmlDeclaration",r,i),i}toData(t){let e=super.toData(t);const r=t.getCustomProperty("$fullPageDocument"),o=t.getCustomProperty("$fullPageDocType"),n=t.getCustomProperty("$fullPageXmlDeclaration");return r&&(e=r.replace(/<\/body\s*>/,e+"$&"),o&&(e=o+"\n"+e),n&&(e=n+"\n"+e)),e}}class ui extends t.Plugin{static get pluginName(){return"FullPage"}init(){const t=this.editor,e=["$fullPageDocument","$fullPageDocType","$fullPageXmlDeclaration"];t.data.processor=new ci(t.data.viewDocument),t.model.schema.extend("$root",{allowAttributes:e}),t.data.on("toModel",((r,[o])=>{const n=t.model.document.getRoot();t.model.change((t=>{for(const r of e){const e=o.getCustomProperty(r);e&&t.setAttribute(r,e,n)}}))}),{priority:"low"}),t.data.on("toView",((t,[r])=>{if(!r.is("rootElement"))return;const o=r,i=t.return;if(!o.hasAttribute("$fullPageDocument"))return;const s=new n.UpcastWriter(i.document);for(const t of e){const e=o.getAttribute(t);e&&s.setCustomProperty(t,e,i)}}),{priority:"low"}),t.data.on("set",(()=>{const r=t.model.document.getRoot();t.model.change((t=>{for(const o of e)r.hasAttribute(o)&&t.removeAttribute(o,r)}))}),{priority:"high"}),t.data.on("get",((t,e)=>{e[0]||(e[0]={}),e[0].trim=!1}),{priority:"high"})}}})(),(window.CKEditor5=window.CKEditor5||{}).htmlSupport=o})(); \ No newline at end of file + */(()=>{var t={275:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var o=r(758),n=r.n(o),i=r(935),s=r.n(i)()(n());s.push([t.id,":root{--ck-html-object-embed-unfocused-outline-width:1px}.ck-widget.html-object-embed{background-color:var(--ck-color-base-foreground);font-size:var(--ck-font-size-base);min-width:calc(76px + var(--ck-spacing-standard));padding:var(--ck-spacing-small);padding-top:calc(var(--ck-font-size-tiny) + var(--ck-spacing-large))}.ck-widget.html-object-embed:not(.ck-widget_selected):not(:hover){outline:var(--ck-html-object-embed-unfocused-outline-width) dashed var(--ck-color-widget-blurred-border)}.ck-widget.html-object-embed:before{background:#999;border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius);color:var(--ck-color-base-background);content:attr(data-html-object-embed-label);font-family:var(--ck-font-face);font-size:var(--ck-font-size-tiny);font-style:normal;font-weight:400;left:var(--ck-spacing-standard);padding:calc(var(--ck-spacing-tiny) + var(--ck-html-object-embed-unfocused-outline-width)) var(--ck-spacing-small) var(--ck-spacing-tiny);position:absolute;top:0;transition:background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck-widget.html-object-embed .ck-widget__type-around .ck-widget__type-around__button.ck-widget__type-around__button_before{margin-left:50px}.ck-widget.html-object-embed .html-object-embed__content{pointer-events:none}div.ck-widget.html-object-embed{margin:1em auto}span.ck-widget.html-object-embed{display:inline-block}",""]);const l=s},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",o=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),o&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),o&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,o,n,i){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(o)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(s[a]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);o&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),e.push(u))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function r(t){for(var r=-1,o=0;o<e.length;o++)if(e[o].identifier===t){r=o;break}return r}function o(t,o){for(var i={},s=[],l=0;l<t.length;l++){var a=t[l],c=o.base?a[0]+o.base:a[0],u=i[c]||0,m="".concat(c," ").concat(u);i[c]=u+1;var d=r(m),f={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var h=n(f,o);o.byIndex=l,e.splice(l,0,{identifier:m,updater:h,references:1})}s.push(m)}return s}function n(t,e){var r=e.domAPI(e);r.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,n){var i=o(t=t||[],n=n||{});return function(t){t=t||[];for(var s=0;s<i.length;s++){var l=r(i[s]);e[l].references--}for(var a=o(t,n),c=0;c<i.length;c++){var u=r(i[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}i=a}}},128:t=>{"use strict";var e={};t.exports=function(t,r){var o=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(r){t.setAttribute(r,e[r])}))}},639:t=>{"use strict";var e,r=(e=[],function(t,r){return e[t]=r,e.filter(Boolean).join("\n")});function o(t,e,o,n){var i;if(o)i="";else{i="",n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,s&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}")}if(t.styleSheet)t.styleSheet.cssText=r(e,i);else{var l=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(l,a[e]):t.appendChild(l)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,r=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){o(r,e,!1,t)},remove:function(t){o(r,e,!0,t)}}}},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},507:(t,e,r)=>{t.exports=r(237)("./src/enter.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},901:(t,e,r)=>{t.exports=r(237)("./src/widget.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={id:o,exports:{}};return t[o](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{DataFilter:()=>kn,DataSchema:()=>hn,FullPage:()=>vi,GeneralHtmlSupport:()=>hi,HtmlComment:()=>pi,HtmlPageDataProcessor:()=>gi});var t=r(782),e=r(584),n=r(783),i=r(901);const s=function(){this.__data__=[],this.size=0};const l=function(t,e){return t===e||t!=t&&e!=e};const a=function(t,e){for(var r=t.length;r--;)if(l(t[r][0],e))return r;return-1};var c=Array.prototype.splice;const u=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():c.call(e,r,1),--this.size,!0)};const m=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]};const d=function(t){return a(this.__data__,t)>-1};const f=function(t,e){var r=this.__data__,o=a(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}h.prototype.clear=s,h.prototype.delete=u,h.prototype.get=m,h.prototype.has=d,h.prototype.set=f;const b=h;const p=function(){this.__data__=new b,this.size=0};const g=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const v=function(t){return this.__data__.get(t)};const w=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var A="object"==typeof self&&self&&self.Object===Object&&self;const j=y||A||Function("return this")();const E=j.Symbol;var _=Object.prototype,O=_.hasOwnProperty,S=_.toString,k=E?E.toStringTag:void 0;const C=function(t){var e=O.call(t,k),r=t[k];try{t[k]=void 0;var o=!0}catch(t){}var n=S.call(t);return o&&(e?t[k]=r:delete t[k]),n};var x=Object.prototype.toString;const P=function(t){return x.call(t)};var F=E?E.toStringTag:void 0;const I=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":F&&F in Object(t)?C(t):P(t)};const $=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const T=function(t){if(!$(t))return!1;var e=I(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const D=j["__core-js_shared__"];var B,R=(B=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"";const N=function(t){return!!R&&R in t};var M=Function.prototype.toString;const L=function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var H=/^\[object .+?Constructor\]$/,V=Function.prototype,z=Object.prototype,U=V.toString,W=z.hasOwnProperty,q=RegExp("^"+U.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const G=function(t){return!(!$(t)||N(t))&&(T(t)?q:H).test(L(t))};const K=function(t,e){return null==t?void 0:t[e]};const Z=function(t,e){var r=K(t,e);return G(r)?r:void 0};const Y=Z(j,"Map");const X=Z(Object,"create");const J=function(){this.__data__=X?X(null):{},this.size=0};const Q=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var tt=Object.prototype.hasOwnProperty;const et=function(t){var e=this.__data__;if(X){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return tt.call(e,t)?e[t]:void 0};var rt=Object.prototype.hasOwnProperty;const ot=function(t){var e=this.__data__;return X?void 0!==e[t]:rt.call(e,t)};const nt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=X&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}it.prototype.clear=J,it.prototype.delete=Q,it.prototype.get=et,it.prototype.has=ot,it.prototype.set=nt;const st=it;const lt=function(){this.size=0,this.__data__={hash:new st,map:new(Y||b),string:new st}};const at=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ct=function(t,e){var r=t.__data__;return at(e)?r["string"==typeof e?"string":"hash"]:r.map};const ut=function(t){var e=ct(this,t).delete(t);return this.size-=e?1:0,e};const mt=function(t){return ct(this,t).get(t)};const dt=function(t){return ct(this,t).has(t)};const ft=function(t,e){var r=ct(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};function ht(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}ht.prototype.clear=lt,ht.prototype.delete=ut,ht.prototype.get=mt,ht.prototype.has=dt,ht.prototype.set=ft;const bt=ht;const pt=function(t,e){var r=this.__data__;if(r instanceof b){var o=r.__data__;if(!Y||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new bt(o)}return r.set(t,e),this.size=r.size,this};function gt(t){var e=this.__data__=new b(t);this.size=e.size}gt.prototype.clear=p,gt.prototype.delete=g,gt.prototype.get=v,gt.prototype.has=w,gt.prototype.set=pt;const vt=gt;const wt=function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););return t};const yt=function(){try{var t=Z(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const At=function(t,e,r){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var jt=Object.prototype.hasOwnProperty;const Et=function(t,e,r){var o=t[e];jt.call(t,e)&&l(o,r)&&(void 0!==r||e in t)||At(t,e,r)};const _t=function(t,e,r,o){var n=!r;r||(r={});for(var i=-1,s=e.length;++i<s;){var l=e[i],a=o?o(r[l],t[l],l,r,t):void 0;void 0===a&&(a=t[l]),n?At(r,l,a):Et(r,l,a)}return r};const Ot=function(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o};const St=function(t){return null!=t&&"object"==typeof t};const kt=function(t){return St(t)&&"[object Arguments]"==I(t)};var Ct=Object.prototype,xt=Ct.hasOwnProperty,Pt=Ct.propertyIsEnumerable;const Ft=kt(function(){return arguments}())?kt:function(t){return St(t)&&xt.call(t,"callee")&&!Pt.call(t,"callee")};const It=Array.isArray;const $t=function(){return!1};var Tt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Dt=Tt&&"object"==typeof module&&module&&!module.nodeType&&module,Bt=Dt&&Dt.exports===Tt?j.Buffer:void 0;const Rt=(Bt?Bt.isBuffer:void 0)||$t;var Nt=/^(?:0|[1-9]\d*)$/;const Mt=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Nt.test(t))&&t>-1&&t%1==0&&t<e};const Lt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Ht={};Ht["[object Float32Array]"]=Ht["[object Float64Array]"]=Ht["[object Int8Array]"]=Ht["[object Int16Array]"]=Ht["[object Int32Array]"]=Ht["[object Uint8Array]"]=Ht["[object Uint8ClampedArray]"]=Ht["[object Uint16Array]"]=Ht["[object Uint32Array]"]=!0,Ht["[object Arguments]"]=Ht["[object Array]"]=Ht["[object ArrayBuffer]"]=Ht["[object Boolean]"]=Ht["[object DataView]"]=Ht["[object Date]"]=Ht["[object Error]"]=Ht["[object Function]"]=Ht["[object Map]"]=Ht["[object Number]"]=Ht["[object Object]"]=Ht["[object RegExp]"]=Ht["[object Set]"]=Ht["[object String]"]=Ht["[object WeakMap]"]=!1;const Vt=function(t){return St(t)&&Lt(t.length)&&!!Ht[I(t)]};const zt=function(t){return function(e){return t(e)}};var Ut="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wt=Ut&&"object"==typeof module&&module&&!module.nodeType&&module,qt=Wt&&Wt.exports===Ut&&y.process;const Gt=function(){try{var t=Wt&&Wt.require&&Wt.require("util").types;return t||qt&&qt.binding&&qt.binding("util")}catch(t){}}();var Kt=Gt&&Gt.isTypedArray;const Zt=Kt?zt(Kt):Vt;var Yt=Object.prototype.hasOwnProperty;const Xt=function(t,e){var r=It(t),o=!r&&Ft(t),n=!r&&!o&&Rt(t),i=!r&&!o&&!n&&Zt(t),s=r||o||n||i,l=s?Ot(t.length,String):[],a=l.length;for(var c in t)!e&&!Yt.call(t,c)||s&&("length"==c||n&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Mt(c,a))||l.push(c);return l};var Jt=Object.prototype;const Qt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const te=function(t,e){return function(r){return t(e(r))}};const ee=te(Object.keys,Object);var re=Object.prototype.hasOwnProperty;const oe=function(t){if(!Qt(t))return ee(t);var e=[];for(var r in Object(t))re.call(t,r)&&"constructor"!=r&&e.push(r);return e};const ne=function(t){return null!=t&&Lt(t.length)&&!T(t)};const ie=function(t){return ne(t)?Xt(t):oe(t)};const se=function(t,e){return t&&_t(e,ie(e),t)};const le=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var ae=Object.prototype.hasOwnProperty;const ce=function(t){if(!$(t))return le(t);var e=Qt(t),r=[];for(var o in t)("constructor"!=o||!e&&ae.call(t,o))&&r.push(o);return r};const ue=function(t){return ne(t)?Xt(t,!0):ce(t)};const me=function(t,e){return t&&_t(e,ue(e),t)};var de="object"==typeof exports&&exports&&!exports.nodeType&&exports,fe=de&&"object"==typeof module&&module&&!module.nodeType&&module,he=fe&&fe.exports===de?j.Buffer:void 0,be=he?he.allocUnsafe:void 0;const pe=function(t,e){if(e)return t.slice();var r=t.length,o=be?be(r):new t.constructor(r);return t.copy(o),o};const ge=function(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e};const ve=function(t,e){for(var r=-1,o=null==t?0:t.length,n=0,i=[];++r<o;){var s=t[r];e(s,r,t)&&(i[n++]=s)}return i};const we=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,Ae=Object.getOwnPropertySymbols;const je=Ae?function(t){return null==t?[]:(t=Object(t),ve(Ae(t),(function(e){return ye.call(t,e)})))}:we;const Ee=function(t,e){return _t(t,je(t),e)};const _e=function(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t};const Oe=te(Object.getPrototypeOf,Object);const Se=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)_e(e,je(t)),t=Oe(t);return e}:we;const ke=function(t,e){return _t(t,Se(t),e)};const Ce=function(t,e,r){var o=e(t);return It(t)?o:_e(o,r(t))};const xe=function(t){return Ce(t,ie,je)};const Pe=function(t){return Ce(t,ue,Se)};const Fe=Z(j,"DataView");const Ie=Z(j,"Promise");const $e=Z(j,"Set");const Te=Z(j,"WeakMap");var De="[object Map]",Be="[object Promise]",Re="[object Set]",Ne="[object WeakMap]",Me="[object DataView]",Le=L(Fe),He=L(Y),Ve=L(Ie),ze=L($e),Ue=L(Te),We=I;(Fe&&We(new Fe(new ArrayBuffer(1)))!=Me||Y&&We(new Y)!=De||Ie&&We(Ie.resolve())!=Be||$e&&We(new $e)!=Re||Te&&We(new Te)!=Ne)&&(We=function(t){var e=I(t),r="[object Object]"==e?t.constructor:void 0,o=r?L(r):"";if(o)switch(o){case Le:return Me;case He:return De;case Ve:return Be;case ze:return Re;case Ue:return Ne}return e});const qe=We;var Ge=Object.prototype.hasOwnProperty;const Ke=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&Ge.call(t,"index")&&(r.index=t.index,r.input=t.input),r};const Ze=j.Uint8Array;const Ye=function(t){var e=new t.constructor(t.byteLength);return new Ze(e).set(new Ze(t)),e};const Xe=function(t,e){var r=e?Ye(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Qe=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var tr=E?E.prototype:void 0,er=tr?tr.valueOf:void 0;const rr=function(t){return er?Object(er.call(t)):{}};const or=function(t,e){var r=e?Ye(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};const nr=function(t,e,r){var o=t.constructor;switch(e){case"[object ArrayBuffer]":return Ye(t);case"[object Boolean]":case"[object Date]":return new o(+t);case"[object DataView]":return Xe(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return or(t,r);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(t);case"[object RegExp]":return Qe(t);case"[object Symbol]":return rr(t)}};var ir=Object.create;const sr=function(){function t(){}return function(e){if(!$(e))return{};if(ir)return ir(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const lr=function(t){return"function"!=typeof t.constructor||Qt(t)?{}:sr(Oe(t))};const ar=function(t){return St(t)&&"[object Map]"==qe(t)};var cr=Gt&&Gt.isMap;const ur=cr?zt(cr):ar;const mr=function(t){return St(t)&&"[object Set]"==qe(t)};var dr=Gt&&Gt.isSet;const fr=dr?zt(dr):mr;var hr="[object Arguments]",br="[object Function]",pr="[object Object]",gr={};gr[hr]=gr["[object Array]"]=gr["[object ArrayBuffer]"]=gr["[object DataView]"]=gr["[object Boolean]"]=gr["[object Date]"]=gr["[object Float32Array]"]=gr["[object Float64Array]"]=gr["[object Int8Array]"]=gr["[object Int16Array]"]=gr["[object Int32Array]"]=gr["[object Map]"]=gr["[object Number]"]=gr[pr]=gr["[object RegExp]"]=gr["[object Set]"]=gr["[object String]"]=gr["[object Symbol]"]=gr["[object Uint8Array]"]=gr["[object Uint8ClampedArray]"]=gr["[object Uint16Array]"]=gr["[object Uint32Array]"]=!0,gr["[object Error]"]=gr[br]=gr["[object WeakMap]"]=!1;const vr=function t(e,r,o,n,i,s){var l,a=1&r,c=2&r,u=4&r;if(o&&(l=i?o(e,n,i,s):o(e)),void 0!==l)return l;if(!$(e))return e;var m=It(e);if(m){if(l=Ke(e),!a)return ge(e,l)}else{var d=qe(e),f=d==br||"[object GeneratorFunction]"==d;if(Rt(e))return pe(e,a);if(d==pr||d==hr||f&&!i){if(l=c||f?{}:lr(e),!a)return c?ke(e,me(l,e)):Ee(e,se(l,e))}else{if(!gr[d])return i?e:{};l=nr(e,d,a)}}s||(s=new vt);var h=s.get(e);if(h)return h;s.set(e,l),fr(e)?e.forEach((function(n){l.add(t(n,r,o,n,e,s))})):ur(e)&&e.forEach((function(n,i){l.set(i,t(n,r,o,i,e,s))}));var b=m?void 0:(u?c?Pe:xe:c?ue:ie)(e);return wt(b||e,(function(n,i){b&&(n=e[i=n]),Et(l,i,t(n,r,o,i,e,s))})),l};const wr=function(t){return vr(t,5)};const yr=function(t,e,r,o){var n=-1,i=null==t?0:t.length;for(o&&i&&(r=t[++n]);++n<i;)r=e(r,t[n],n,t);return r};const Ar=function(t){return function(e){return null==t?void 0:t[e]}}({À:"A",Ã:"A",Â:"A",Ã:"A",Ä:"A",Ã…:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ç:"C",ç:"c",Ã:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",ÃŒ:"I",Ã:"I",ÃŽ:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ã’:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ãœ:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ä€:"A",Ä‚:"A",Ä„:"A",Ä:"a",ă:"a",Ä…:"a",Ć:"C",Ĉ:"C",ÄŠ:"C",ÄŒ:"C",ć:"c",ĉ:"c",Ä‹:"c",Ä:"c",ÄŽ:"D",Ä:"D",Ä:"d",Ä‘:"d",Ä’:"E",Ä”:"E",Ä–:"E",Ę:"E",Äš:"E",Ä“:"e",Ä•:"e",Ä—:"e",Ä™:"e",Ä›:"e",Äœ:"G",Äž:"G",Ä :"G",Ä¢:"G",Ä:"g",ÄŸ:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",Ä°:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å€:"l",Å‚:"l",Ń:"N",Å…:"N",Ň:"N",ÅŠ:"N",Å„:"n",ņ:"n",ň:"n",Å‹:"n",ÅŒ:"O",ÅŽ:"O",Å:"O",Å:"o",Å:"o",Å‘:"o",Å”:"R",Å–:"R",Ř:"R",Å•:"r",Å—:"r",Å™:"r",Åš:"S",Åœ:"S",Åž:"S",Å :"S",Å›:"s",Å:"s",ÅŸ:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Å°:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å’:"Oe",Å“:"oe",ʼn:"'n",Å¿:"s"});const jr=function(t,e){for(var r=-1,o=null==t?0:t.length,n=Array(o);++r<o;)n[r]=e(t[r],r,t);return n};const Er=function(t){return"symbol"==typeof t||St(t)&&"[object Symbol]"==I(t)};var _r=E?E.prototype:void 0,Or=_r?_r.toString:void 0;const Sr=function t(e){if("string"==typeof e)return e;if(It(e))return jr(e,t)+"";if(Er(e))return Or?Or.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};const kr=function(t){return null==t?"":Sr(t)};var Cr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xr=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");const Pr=function(t){return(t=kr(t))&&t.replace(Cr,Ar).replace(xr,"")};var Fr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;const Ir=function(t){return t.match(Fr)||[]};var $r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;const Tr=function(t){return $r.test(t)};var Dr="\\ud800-\\udfff",Br="\\u2700-\\u27bf",Rr="a-z\\xdf-\\xf6\\xf8-\\xff",Nr="A-Z\\xc0-\\xd6\\xd8-\\xde",Mr="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Lr="["+Mr+"]",Hr="\\d+",Vr="["+Br+"]",zr="["+Rr+"]",Ur="[^"+Dr+Mr+Hr+Br+Rr+Nr+"]",Wr="(?:\\ud83c[\\udde6-\\uddff]){2}",qr="[\\ud800-\\udbff][\\udc00-\\udfff]",Gr="["+Nr+"]",Kr="(?:"+zr+"|"+Ur+")",Zr="(?:"+Gr+"|"+Ur+")",Yr="(?:['’](?:d|ll|m|re|s|t|ve))?",Xr="(?:['’](?:D|LL|M|RE|S|T|VE))?",Jr="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Qr="[\\ufe0e\\ufe0f]?",to=Qr+Jr+("(?:\\u200d(?:"+["[^"+Dr+"]",Wr,qr].join("|")+")"+Qr+Jr+")*"),eo="(?:"+[Vr,Wr,qr].join("|")+")"+to,ro=RegExp([Gr+"?"+zr+"+"+Yr+"(?="+[Lr,Gr,"$"].join("|")+")",Zr+"+"+Xr+"(?="+[Lr,Gr+Kr,"$"].join("|")+")",Gr+"?"+Kr+"+"+Yr,Gr+"+"+Xr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hr,eo].join("|"),"g");const oo=function(t){return t.match(ro)||[]};const no=function(t,e,r){return t=kr(t),void 0===(e=r?void 0:e)?Tr(t)?oo(t):Ir(t):t.match(e)||[]};var io=RegExp("['’]","g");const so=function(t){return function(e){return yr(no(Pr(e).replace(io,"")),t,"")}};const lo=function(t,e,r){var o=-1,n=t.length;e<0&&(e=-e>n?0:n+e),(r=r>n?n:r)<0&&(r+=n),n=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(n);++o<n;)i[o]=t[o+e];return i};const ao=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:lo(t,e,r)};var co=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const uo=function(t){return co.test(t)};const mo=function(t){return t.split("")};var fo="\\ud800-\\udfff",ho="["+fo+"]",bo="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",po="\\ud83c[\\udffb-\\udfff]",go="[^"+fo+"]",vo="(?:\\ud83c[\\udde6-\\uddff]){2}",wo="[\\ud800-\\udbff][\\udc00-\\udfff]",yo="(?:"+bo+"|"+po+")"+"?",Ao="[\\ufe0e\\ufe0f]?",jo=Ao+yo+("(?:\\u200d(?:"+[go,vo,wo].join("|")+")"+Ao+yo+")*"),Eo="(?:"+[go+bo+"?",bo,vo,wo,ho].join("|")+")",_o=RegExp(po+"(?="+po+")|"+Eo+jo,"g");const Oo=function(t){return t.match(_o)||[]};const So=function(t){return uo(t)?Oo(t):mo(t)};const ko=function(t){return function(e){e=kr(e);var r=uo(e)?So(e):void 0,o=r?r[0]:e.charAt(0),n=r?ao(r,1).join(""):e.slice(1);return o[t]()+n}}("toUpperCase");const Co=so((function(t,e,r){return t+(r?" ":"")+ko(e)}));function xo(t,e,r,o){e&&function(t,e,r){if(e.attributes)for(const[o]of Object.entries(e.attributes))t.removeAttribute(o,r);if(e.styles)for(const o of Object.keys(e.styles))t.removeStyle(o,r);e.classes&&t.removeClass(e.classes,r)}(t,e,o),r&&Po(t,r,o)}function Po(t,e,r){if(e.attributes)for(const[o,n]of Object.entries(e.attributes))t.setAttribute(o,n,r);e.styles&&t.setStyle(e.styles,r),e.classes&&t.addClass(e.classes,r)}function Fo(t,e,r,o,n){const i=e.getAttribute(r),s={};for(const t of["attributes","styles","classes"]){if(t!=o){i&&i[t]&&(s[t]=i[t]);continue}if("classes"==o){const e=new Set(i&&i.classes||[]);n(e),e.size&&(s[t]=Array.from(e));continue}const e=new Map(Object.entries(i&&i[t]||{}));n(e),e.size&&(s[t]=Object.fromEntries(e))}Object.keys(s).length?e.is("documentSelection")?t.setSelectionAttribute(r,s):t.setAttribute(r,s,e):i&&(e.is("documentSelection")?t.removeSelectionAttribute(r):t.removeAttribute(r,e))}function Io(t){return`html${e=t,Co(e).replace(/ /g,"")}Attributes`;var e}function $o({model:t}){return(e,r)=>r.writer.createElement(t,{htmlContent:e.getCustomProperty("$rawContent")})}function To(t,{view:e,isInline:r}){const o=t.t;return(t,{writer:n})=>{const s=o("HTML object"),l=Do(e,t,n),a=t.getAttribute(Io(e));n.addClass("html-object-embed__content",l),a&&Po(n,a,l);const c=n.createContainerElement(r?"span":"div",{class:"html-object-embed","data-html-object-embed-label":s},l);return(0,i.toWidget)(c,n,{label:s})}}function Do(t,e,r){return r.createRawElement(t,null,((t,r)=>{r.setContentOf(t,e.getAttribute("htmlContent"))}))}function Bo({view:t,model:e,allowEmpty:r},o){return e=>{e.on(`element:${t}`,((t,e,i)=>{let s=o.processViewAttributes(e.viewItem,i);if(s||i.consumable.test(e.viewItem,{name:!0})){if(s=s||{},i.consumable.consume(e.viewItem,{name:!0}),e.modelRange||(e=Object.assign(e,i.convertChildren(e.viewItem,e.modelCursor))),r&&e.modelRange.isCollapsed&&Object.keys(s).length){const t=i.writer.createElement("htmlEmptyElement");if(!i.safeInsert(t,e.modelCursor))return;const r=i.getSplitParts(t);return e.modelRange=i.writer.createRange(e.modelRange.start,i.writer.createPositionAfter(r[r.length-1])),i.updateConversionResult(t,e),void n(t,s,i)}for(const t of e.modelRange.getItems())n(t,s,i)}}),{priority:"low"})};function n(t,r,o){if(o.schema.checkAttribute(t,e)){const n=function(t,e){const r=wr(t);let o="attributes";for(o in e)r[o]="classes"==o?Array.from(new Set([...t[o]||[],...e[o]])):{...t[o],...e[o]};return r}(r,t.getAttribute(e)||{});o.writer.setAttribute(e,n,t)}}}function Ro({model:t,view:e},r){return(o,{writer:n,consumable:s})=>{if(!o.hasAttribute(t))return null;const l=n.createContainerElement(e),a=o.getAttribute(t);return s.consume(o,`attribute:${t}`),Po(n,a,l),l.getFillerOffset=()=>null,r?(0,i.toWidget)(l,n):l}}function No({priority:t,view:e}){return(r,o)=>{if(!r)return;const{writer:n}=o,i=n.createAttributeElement(e,null,{priority:t});return Po(n,r,i),i}}function Mo({view:t},e){return r=>{r.on(`element:${t}`,((t,r,o)=>{if(!r.modelRange||r.modelRange.isCollapsed)return;const n=e.processViewAttributes(r.viewItem,o);n&&o.writer.setAttribute(Io(r.viewItem.name),n,r.modelRange)}),{priority:"low"})}}function Lo({view:t,model:e}){return r=>{r.on(`attribute:${Io(t)}:${e}`,((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e;xo(r.writer,o,n,r.mapper.toViewElement(e.item))}))}}const Ho=[{model:"codeBlock",view:"pre"},{model:"paragraph",view:"p"},{model:"blockQuote",view:"blockquote"},{model:"listItem",view:"li"},{model:"pageBreak",view:"div"},{model:"rawHtml",view:"div"},{model:"table",view:"table"},{model:"tableRow",view:"tr"},{model:"tableCell",view:"td"},{model:"tableCell",view:"th"},{model:"tableColumnGroup",view:"colgroup"},{model:"tableColumn",view:"col"},{model:"caption",view:"caption"},{model:"caption",view:"figcaption"},{model:"imageBlock",view:"img"},{model:"imageInline",view:"img"},{model:"htmlP",view:"p",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlBlockquote",view:"blockquote",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlTable",view:"table",modelSchema:{allowWhere:"$block",isBlock:!0}},{model:"htmlTbody",view:"tbody",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlThead",view:"thead",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlTfoot",view:"tfoot",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlCaption",view:"caption",modelSchema:{allowIn:"htmlTable",allowChildren:"$text",isBlock:!1}},{model:"htmlColgroup",view:"colgroup",modelSchema:{allowIn:"htmlTable",allowChildren:"col",isBlock:!1}},{model:"htmlCol",view:"col",modelSchema:{allowIn:"htmlColgroup",isBlock:!1}},{model:"htmlTr",view:"tr",modelSchema:{allowIn:["htmlTable","htmlThead","htmlTbody"],isLimit:!0}},{model:"htmlTd",view:"td",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlTh",view:"th",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlFigure",view:"figure",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFigcaption",view:"figcaption",modelSchema:{allowIn:"htmlFigure",allowChildren:"$text",isBlock:!1}},{model:"htmlAddress",view:"address",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlAside",view:"aside",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlMain",view:"main",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDetails",view:"details",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSummary",view:"summary",modelSchema:{allowChildren:["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6","$text"],allowIn:"htmlDetails",isBlock:!1}},{model:"htmlDiv",view:"div",paragraphLikeModel:"htmlDivParagraph",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlFieldset",view:"fieldset",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlLegend",view:"legend",modelSchema:{allowIn:"htmlFieldset",allowChildren:"$text"}},{model:"htmlHeader",view:"header",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFooter",view:"footer",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlForm",view:"form",modelSchema:{inheritAllFrom:"$container",isBlock:!0}},{model:"htmlHgroup",view:"hgroup",modelSchema:{allowIn:["$root","$container"],allowChildren:["paragraph","htmlP","htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"],isBlock:!1}},{model:"htmlH1",view:"h1",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH2",view:"h2",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH3",view:"h3",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH4",view:"h4",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH5",view:"h5",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH6",view:"h6",modelSchema:{inheritAllFrom:"$block"}},{model:"$htmlList",modelSchema:{allowWhere:"$container",allowChildren:["$htmlList","htmlLi"],isBlock:!1}},{model:"htmlDir",view:"dir",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlMenu",view:"menu",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlUl",view:"ul",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlOl",view:"ol",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlLi",view:"li",modelSchema:{allowIn:"$htmlList",allowChildren:"$text",isBlock:!1}},{model:"htmlPre",view:"pre",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlArticle",view:"article",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSection",view:"section",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlNav",view:"nav",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDivDl",view:"div",modelSchema:{allowChildren:["htmlDt","htmlDd"],allowIn:"htmlDl"}},{model:"htmlDl",view:"dl",modelSchema:{allowWhere:"$container",allowChildren:["htmlDt","htmlDd","htmlDivDl"],isBlock:!1}},{model:"htmlDt",view:"dt",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlDd",view:"dd",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlCenter",view:"center",modelSchema:{inheritAllFrom:"$container",isBlock:!1}}],Vo=[{model:"htmlLiAttributes",view:"li",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlOlAttributes",view:"ol",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlUlAttributes",view:"ul",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"table"},{model:"htmlTheadAttributes",view:"thead",appliesToBlock:"table"},{model:"htmlTbodyAttributes",view:"tbody",appliesToBlock:"table"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"imageBlock"},{model:"htmlAcronym",view:"acronym",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTt",view:"tt",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlFont",view:"font",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTime",view:"time",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlVar",view:"var",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBig",view:"big",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSmall",view:"small",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSamp",view:"samp",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlQ",view:"q",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlOutput",view:"output",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlKbd",view:"kbd",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdi",view:"bdi",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdo",view:"bdo",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlAbbr",view:"abbr",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlA",view:"a",priority:5,coupledAttribute:"linkHref"},{model:"htmlStrong",view:"strong",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlB",view:"b",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlI",view:"i",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlEm",view:"em",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlS",view:"s",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDel",view:"del",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlIns",view:"ins",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlU",view:"u",coupledAttribute:"underline",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSub",view:"sub",coupledAttribute:"subscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSup",view:"sup",coupledAttribute:"superscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCode",view:"code",coupledAttribute:"code",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlMark",view:"mark",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSpan",view:"span",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCite",view:"cite",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlLabel",view:"label",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDfn",view:"dfn",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlObject",view:"object",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlIframe",view:"iframe",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlInput",view:"input",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlButton",view:"button",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlTextarea",view:"textarea",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlSelect",view:"select",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlVideo",view:"video",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlEmbed",view:"embed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlOembed",view:"oembed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlAudio",view:"audio",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlImg",view:"img",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlCanvas",view:"canvas",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlMeter",view:"meter",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlProgress",view:"progress",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlScript",view:"script",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlStyle",view:"style",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlCustomElement",view:"$customElement",modelSchema:{allowWhere:["$text","$block"],allowAttributesOf:"$inlineObject",isInline:!0}}];const zo=function(t,e,r){(void 0!==r&&!l(t[e],r)||void 0===r&&!(e in t))&&At(t,e,r)};const Uo=function(t){return function(e,r,o){for(var n=-1,i=Object(e),s=o(e),l=s.length;l--;){var a=s[t?l:++n];if(!1===r(i[a],a,i))break}return e}}();const Wo=function(t){return St(t)&&ne(t)};var qo=Function.prototype,Go=Object.prototype,Ko=qo.toString,Zo=Go.hasOwnProperty,Yo=Ko.call(Object);const Xo=function(t){if(!St(t)||"[object Object]"!=I(t))return!1;var e=Oe(t);if(null===e)return!0;var r=Zo.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&Ko.call(r)==Yo};const Jo=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};const Qo=function(t){return _t(t,ue(t))};const tn=function(t,e,r,o,n,i,s){var l=Jo(t,r),a=Jo(e,r),c=s.get(a);if(c)zo(t,r,c);else{var u=i?i(l,a,r+"",t,e,s):void 0,m=void 0===u;if(m){var d=It(a),f=!d&&Rt(a),h=!d&&!f&&Zt(a);u=a,d||f||h?It(l)?u=l:Wo(l)?u=ge(l):f?(m=!1,u=pe(a,!0)):h?(m=!1,u=or(a,!0)):u=[]:Xo(a)||Ft(a)?(u=l,Ft(l)?u=Qo(l):$(l)&&!T(l)||(u=lr(a))):m=!1}m&&(s.set(a,u),n(u,a,o,i,s),s.delete(a)),zo(t,r,u)}};const en=function t(e,r,o,n,i){e!==r&&Uo(r,(function(s,l){if(i||(i=new vt),$(s))tn(e,r,l,o,t,n,i);else{var a=n?n(Jo(e,l),s,l+"",e,r,i):void 0;void 0===a&&(a=s),zo(e,l,a)}}),ue)};const rn=function(t){return t};const on=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var nn=Math.max;const sn=function(t,e,r){return e=nn(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,i=nn(o.length-e,0),s=Array(i);++n<i;)s[n]=o[e+n];n=-1;for(var l=Array(e+1);++n<e;)l[n]=o[n];return l[e]=r(s),on(t,this,l)}};const ln=function(t){return function(){return t}};const an=yt?function(t,e){return yt(t,"toString",{configurable:!0,enumerable:!1,value:ln(e),writable:!0})}:rn;var cn=Date.now;const un=function(t){var e=0,r=0;return function(){var o=cn(),n=16-(o-r);if(r=o,n>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(an);const mn=function(t,e){return un(sn(t,e,rn),t+"")};const dn=function(t,e,r){if(!$(r))return!1;var o=typeof e;return!!("number"==o?ne(r)&&Mt(e,r.length):"string"==o&&e in r)&&l(r[e],t)};const fn=function(t){return mn((function(e,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,s=n>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(n--,i):void 0,s&&dn(r[0],r[1],s)&&(i=n<3?void 0:i,n=1),e=Object(e);++o<n;){var l=r[o];l&&t(e,l,o,i)}return e}))}((function(t,e,r,o){en(t,e,r,o)}));class hn extends t.Plugin{constructor(){super(...arguments),this._definitions=[]}static get pluginName(){return"DataSchema"}static get isOfficialPlugin(){return!0}init(){for(const t of Ho)this.registerBlockElement(t);for(const t of Vo)this.registerInlineElement(t)}registerBlockElement(t){this._definitions.push({...t,isBlock:!0})}registerInlineElement(t){this._definitions.push({...t,isInline:!0})}extendBlockElement(t){this._extendDefinition({...t,isBlock:!0})}extendInlineElement(t){this._extendDefinition({...t,isInline:!0})}getDefinitionsForView(t,e=!1){const r=new Set;for(const o of this._getMatchingViewDefinitions(t)){if(e)for(const t of this._getReferences(o.model))r.add(t);r.add(o)}return r}getDefinitionsForModel(t){return this._definitions.filter((e=>e.model==t))}_getMatchingViewDefinitions(t){return this._definitions.filter((e=>e.view&&function(t,e){if("string"==typeof t)return t===e;if(t instanceof RegExp)return t.test(e);return!1}(t,e.view)))}*_getReferences(t){const r=["inheritAllFrom","inheritTypesFrom","allowWhere","allowContentOf","allowAttributesOf"],o=this._definitions.filter((e=>e.model==t));for(const{modelSchema:n}of o)if(n)for(const o of r)for(const r of(0,e.toArray)(n[o]||[])){const e=this._definitions.filter((t=>t.model==r));for(const o of e)r!==t&&(yield*this._getReferences(o.model),yield o)}}_extendDefinition(t){const e=Array.from(this._definitions.entries()).filter((([,e])=>e.model==t.model));if(0!=e.length)for(const[r,o]of e)this._definitions[r]=fn({},o,t,((t,e)=>Array.isArray(t)?t.concat(e):void 0));else this._definitions.push(t)}}var bn=r(591),pn=r.n(bn),gn=r(639),vn=r.n(gn),wn=r(128),yn=r.n(wn),An=r(21),jn=r.n(An),En=r(51),_n=r.n(En),On=r(275),Sn={attributes:{"data-cke":!0}};Sn.setAttributes=jn(),Sn.insert=yn().bind(null,"head"),Sn.domAPI=vn(),Sn.insertStyleElement=_n();pn()(On.A,Sn);On.A&&On.A.locals&&On.A.locals;class kn extends t.Plugin{constructor(t){super(t),this._dataSchema=t.plugins.get("DataSchema"),this._allowedAttributes=new n.Matcher,this._disallowedAttributes=new n.Matcher,this._allowedElements=new Set,this._disallowedElements=new Set,this._dataInitialized=!1,this._coupledAttributes=null,this._registerElementsAfterInit(),this._registerElementHandlers(),this._registerCoupledAttributesPostFixer(),this._registerAssociatedHtmlAttributesPostFixer()}static get pluginName(){return"DataFilter"}static get isOfficialPlugin(){return!0}static get requires(){return[hn,i.Widget]}loadAllowedConfig(t){for(const e of t){const t=e.name||/[\s\S]+/,r=In(e);this.allowElement(t),r.forEach((t=>this.allowAttributes(t)))}}loadDisallowedConfig(t){for(const e of t){const t=e.name||/[\s\S]+/,r=In(e);0==r.length?this.disallowElement(t):r.forEach((t=>this.disallowAttributes(t)))}}loadAllowedEmptyElementsConfig(t){for(const e of t)this.allowEmptyElement(e)}allowElement(t){for(const e of this._dataSchema.getDefinitionsForView(t,!0))this._addAllowedElement(e),this._coupledAttributes=null}disallowElement(t){for(const e of this._dataSchema.getDefinitionsForView(t,!1))this._disallowedElements.add(e.view)}allowEmptyElement(t){for(const e of this._dataSchema.getDefinitionsForView(t,!0))e.isInline&&this._dataSchema.extendInlineElement({...e,allowEmpty:!0})}allowAttributes(t){this._allowedAttributes.add(t)}disallowAttributes(t){this._disallowedAttributes.add(t)}processViewAttributes(t,e){const{consumable:r}=e;return Cn(t,this._disallowedAttributes,r),function(t,{attributes:e,classes:r,styles:o}){if(!e.length&&!r.length&&!o.length)return null;return{...e.length&&{attributes:xn(t,e)},...o.length&&{styles:Pn(t,o)},...r.length&&{classes:r}}}(t,Cn(t,this._allowedAttributes,r))}_addAllowedElement(t){if(!this._allowedElements.has(t)){if(this._allowedElements.add(t),"appliesToBlock"in t&&"string"==typeof t.appliesToBlock)for(const e of this._dataSchema.getDefinitionsForModel(t.appliesToBlock))e.isBlock&&this._addAllowedElement(e);this._dataInitialized&&this.editor.data.once("set",(()=>{this._fireRegisterEvent(t)}),{priority:e.priorities.highest+1})}}_registerElementsAfterInit(){this.editor.data.on("init",(()=>{this._dataInitialized=!0;for(const t of this._allowedElements)this._fireRegisterEvent(t)}),{priority:e.priorities.highest+1})}_registerElementHandlers(){this.on("register",((t,r)=>{const o=this.editor.model.schema;if(r.isObject&&!o.isRegistered(r.model))this._registerObjectElement(r);else if(r.isBlock)this._registerBlockElement(r);else{if(!r.isInline)throw new e.CKEditorError("data-filter-invalid-definition",null,r);this._registerInlineElement(r)}t.stop()}),{priority:"lowest"})}_registerCoupledAttributesPostFixer(){const t=this.editor.model,e=t.document.selection;t.document.registerPostFixer((e=>{const r=t.document.differ.getChanges();let o=!1;const n=this._getCoupledAttributesMap();for(const t of r){if("attribute"!=t.type||null!==t.attributeNewValue)continue;const r=n.get(t.attributeKey);if(r)for(const{item:n}of t.range.getWalker())for(const t of r)n.hasAttribute(t)&&(e.removeAttribute(t,n),o=!0)}return o})),this.listenTo(e,"change:attribute",((r,{attributeKeys:o})=>{const n=new Set,i=this._getCoupledAttributesMap();for(const t of o){if(e.hasAttribute(t))continue;const r=i.get(t);if(r)for(const t of r)e.hasAttribute(t)&&n.add(t)}0!=n.size&&t.change((t=>{for(const e of n)t.removeSelectionAttribute(e)}))}))}_registerAssociatedHtmlAttributesPostFixer(){const t=this.editor.model;t.document.registerPostFixer((e=>{const r=t.document.differ.getChanges();let o=!1;for(const n of r)if("insert"===n.type&&"$text"!==n.name)for(const r of n.attributes.keys())r.startsWith("html")&&r.endsWith("Attributes")&&(t.schema.checkAttribute(n.name,r)||(e.removeAttribute(r,n.position.nodeAfter),o=!0));return o}))}_getCoupledAttributesMap(){if(this._coupledAttributes)return this._coupledAttributes;this._coupledAttributes=new Map;for(const t of this._allowedElements)if(t.coupledAttribute&&t.model){const e=this._coupledAttributes.get(t.coupledAttribute);e?e.push(t.model):this._coupledAttributes.set(t.coupledAttribute,[t.model])}return this._coupledAttributes}_fireRegisterEvent(t){t.view&&this._disallowedElements.has(t.view)||this.fire(t.view?`register:${t.view}`:"register",t)}_registerObjectElement(t){const r=this.editor,o=r.model.schema,n=r.conversion,{view:i,model:s}=t;o.register(s,t.modelSchema),i&&(o.extend(t.model,{allowAttributes:[Io(i),"htmlContent"]}),r.data.registerRawContentMatcher({name:i}),n.for("upcast").elementToElement({view:i,model:$o(t),converterPriority:e.priorities.low+2}),n.for("upcast").add(Mo(t,this)),n.for("editingDowncast").elementToStructure({model:{name:s,attributes:[Io(i)]},view:To(r,t)}),n.for("dataDowncast").elementToElement({model:s,view:(t,{writer:e})=>Do(i,t,e)}),n.for("dataDowncast").add(Lo(t)))}_registerBlockElement(t){const r=this.editor,o=r.model.schema,n=r.conversion,{view:i,model:s}=t;if(!o.isRegistered(t.model)){if(o.register(t.model,t.modelSchema),!i)return;n.for("upcast").elementToElement({model:s,view:i,converterPriority:e.priorities.low+2}),n.for("downcast").elementToElement({model:s,view:i})}i&&(o.extend(t.model,{allowAttributes:Io(i)}),n.for("upcast").add(Mo(t,this)),n.for("downcast").add(Lo(t)))}_registerInlineElement(t){const e=this.editor,r=e.model.schema,o=e.conversion,n=t.model;t.appliesToBlock||(r.extend("$text",{allowAttributes:n}),t.attributeProperties&&r.setAttributeProperties(n,t.attributeProperties),o.for("upcast").add(Bo(t,this)),o.for("downcast").attributeToElement({model:n,view:No(t)}),t.allowEmpty&&(r.setAttributeProperties(n,{copyFromObject:!1}),r.isRegistered("htmlEmptyElement")||r.register("htmlEmptyElement",{inheritAllFrom:"$inlineObject"}),e.data.htmlProcessor.domConverter.registerInlineObjectMatcher((e=>e.name==t.view&&e.isEmpty&&Array.from(e.getAttributeKeys()).length?{name:!0}:null)),o.for("editingDowncast").elementToElement({model:"htmlEmptyElement",view:Ro(t,!0)}),o.for("dataDowncast").elementToElement({model:"htmlEmptyElement",view:Ro(t)})))}}function Cn(t,e,r){const o=e.matchAll(t)||[],n=t.document.stylesProcessor;return o.reduce(((e,{match:o})=>{for(const i of o.styles||[]){const o=n.getRelatedStyles(i).filter((t=>t.split("-").length>i.split("-").length)).sort(((t,e)=>e.split("-").length-t.split("-").length));for(const n of o)r.consume(t,{styles:[n]})&&e.styles.push(n);r.consume(t,{styles:[i]})&&e.styles.push(i)}for(const n of o.classes||[])r.consume(t,{classes:[n]})&&e.classes.push(n);for(const n of o.attributes||[])r.consume(t,{attributes:[n]})&&e.attributes.push(n);return e}),{attributes:[],classes:[],styles:[]})}function xn(t,r){const o={};for(const n of r){const r=t.getAttribute(n);void 0!==r&&(0,e.isValidAttributeName)(n)&&(o[n]=r)}return o}function Pn(t,e){const r=new n.StylesMap(t.document.stylesProcessor);for(const o of e){const e=t.getStyle(o);void 0!==e&&r.set(o,e)}return Object.fromEntries(r.getStylesEntries())}function Fn(t,e){const{name:r}=t,o=t[e];return Xo(o)?Object.entries(o).map((([t,o])=>({name:r,[e]:{[t]:o}}))):Array.isArray(o)?o.map((t=>({name:r,[e]:[t]}))):[t]}function In(t){const{name:e,attributes:r,classes:o,styles:n}=t,i=[];return r&&i.push(...Fn({name:e,attributes:r},"attributes")),o&&i.push(...Fn({name:e,classes:o},"classes")),n&&i.push(...Fn({name:e,styles:n},"styles")),i}class $n extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"CodeBlockElementSupport"}static get isOfficialPlugin(){return!0}init(){if(!this.editor.plugins.has("CodeBlockEditing"))return;const t=this.editor.plugins.get(kn);t.on("register:pre",((e,r)=>{if("codeBlock"!==r.model)return;const o=this.editor,n=o.model.schema,i=o.conversion;n.extend("codeBlock",{allowAttributes:["htmlPreAttributes","htmlContentAttributes"]}),i.for("upcast").add(function(t){return e=>{e.on("element:code",((e,r,o)=>{const n=r.viewItem,i=n.parent;function s(e,n){const i=t.processViewAttributes(e,o);i&&o.writer.setAttribute(n,i,r.modelRange)}i&&i.is("element","pre")&&(s(i,"htmlPreAttributes"),s(n,"htmlContentAttributes"))}),{priority:"low"})}}(t)),i.for("downcast").add((t=>{t.on("attribute:htmlPreAttributes:codeBlock",((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e,i=r.mapper.toViewElement(e.item).parent;xo(r.writer,o,n,i)})),t.on("attribute:htmlContentAttributes:codeBlock",((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e,i=r.mapper.toViewElement(e.item);xo(r.writer,o,n,i)}))})),e.stop()}))}}class Tn extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"DualContentModelElementSupport"}static get isOfficialPlugin(){return!0}init(){this.editor.plugins.get(kn).on("register",((t,r)=>{const o=r,n=this.editor,i=n.model.schema,s=n.conversion;if(!o.paragraphLikeModel)return;if(i.isRegistered(o.model)||i.isRegistered(o.paragraphLikeModel))return;const l={model:o.paragraphLikeModel,view:o.view};i.register(o.model,o.modelSchema),i.register(l.model,{inheritAllFrom:"$block"}),s.for("upcast").elementToElement({view:o.view,model:(t,{writer:e})=>this._hasBlockContent(t)?e.createElement(o.model):e.createElement(l.model),converterPriority:e.priorities.low+.5}),s.for("downcast").elementToElement({view:o.view,model:o.model}),this._addAttributeConversion(o),s.for("downcast").elementToElement({view:l.view,model:l.model}),this._addAttributeConversion(l),t.stop()}))}_hasBlockContent(t){const e=this.editor.editing.view,r=e.domConverter.blockElements;for(const o of e.createRangeIn(t).getItems())if(o.is("element")&&r.includes(o.name))return!0;return!1}_addAttributeConversion(t){const e=this.editor,r=e.conversion,o=e.plugins.get(kn);e.model.schema.extend(t.model,{allowAttributes:Io(t.view)}),r.for("upcast").add(Mo(t,o)),r.for("downcast").add(Lo(t))}}var Dn=r(507);class Bn extends t.Plugin{static get requires(){return[hn,Dn.Enter]}static get pluginName(){return"HeadingElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;if(!t.plugins.has("HeadingEditing"))return;const e=t.config.get("heading.options");this.registerHeadingElements(t,e)}registerHeadingElements(t,e){const r=t.plugins.get(hn),o=[];for(const t of e)"model"in t&&"view"in t&&(r.registerBlockElement({view:t.view,model:t.model}),o.push(t.model));r.extendBlockElement({model:"htmlHgroup",modelSchema:{allowChildren:o}}),r.extendBlockElement({model:"htmlSummary",modelSchema:{allowChildren:o}})}}function Rn(t,e,r){const o=t.createRangeOn(e);for(const{item:t}of o.getWalker())if(t.is("element",r))return t}class Nn extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"ImageElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;if(!t.plugins.has("ImageInlineEditing")&&!t.plugins.has("ImageBlockEditing"))return;const e=t.model.schema,r=t.conversion,o=t.plugins.get(kn);o.on("register:figure",(()=>{r.for("upcast").add(function(t){return e=>{e.on("element:figure",((e,r,o)=>{const n=r.viewItem;if(!r.modelRange||!n.hasClass("image"))return;const i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlFigureAttributes",i,r.modelRange)}),{priority:"low"})}}(o))})),o.on("register:img",((n,i)=>{"imageBlock"!==i.model&&"imageInline"!==i.model||(e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["htmlImgAttributes","htmlFigureAttributes","htmlLinkAttributes"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["htmlA","htmlImgAttributes"]}),r.for("upcast").add(function(t){return e=>{e.on("element:img",((e,r,o)=>{if(!r.modelRange)return;const n=r.viewItem,i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlImgAttributes",i,r.modelRange)}),{priority:"low"})}}(o)),r.for("downcast").add((t=>{function e(e){t.on(`attribute:${e}:imageInline`,((t,e,r)=>{if(!r.consumable.consume(e.item,t.name))return;const{attributeOldValue:o,attributeNewValue:n}=e,i=r.mapper.toViewElement(e.item);xo(r.writer,o,n,i)}),{priority:"low"})}function r(e,r){t.on(`attribute:${r}:imageBlock`,((t,r,o)=>{if(!o.consumable.test(r.item,t.name))return;const{attributeOldValue:n,attributeNewValue:i}=r,s=o.mapper.toViewElement(r.item),l=Rn(o.writer,s,e);l&&(xo(o.writer,n,i,l),o.consumable.consume(r.item,t.name))}),{priority:"low"}),"a"===e&&t.on("attribute:linkHref:imageBlock",((t,e,r)=>{if(!r.consumable.consume(e.item,"attribute:htmlLinkAttributes:imageBlock"))return;const o=r.mapper.toViewElement(e.item),n=Rn(r.writer,o,"a");Po(r.writer,e.item.getAttribute("htmlLinkAttributes"),n)}),{priority:"low"})}e("htmlImgAttributes"),r("img","htmlImgAttributes"),r("figure","htmlFigureAttributes"),r("a","htmlLinkAttributes")})),t.plugins.has("LinkImage")&&r.for("upcast").add(function(t,e){const r=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,o,n)=>{const i=o.viewItem;if(!r.findViewImgElement(i))return;const s=o.modelCursor.parent;if(!s.is("element","imageBlock"))return;const l=t.processViewAttributes(i,n);l&&n.writer.setAttribute("htmlLinkAttributes",l,s)}),{priority:"low"})}}(o,t)),n.stop())}))}}class Mn extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"MediaEmbedElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;if(!t.plugins.has("MediaEmbed")||t.config.get("mediaEmbed.previewsInData"))return;const e=t.model.schema,r=t.conversion,o=this.editor.plugins.get(kn),n=this.editor.plugins.get(hn),i=t.config.get("mediaEmbed.elementName");n.registerBlockElement({model:"media",view:i}),o.on("register:figure",(()=>{r.for("upcast").add(function(t){return e=>{e.on("element:figure",((e,r,o)=>{const n=r.viewItem;if(!r.modelRange||!n.hasClass("media"))return;const i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlFigureAttributes",i,r.modelRange)}),{priority:"low"})}}(o))})),o.on(`register:${i}`,((t,n)=>{"media"===n.model&&(e.extend("media",{allowAttributes:[Io(i),"htmlFigureAttributes"]}),r.for("upcast").add(function(t,e){const r=(r,o,n)=>{function i(e,r){const i=t.processViewAttributes(e,n);i&&n.writer.setAttribute(r,i,o.modelRange)}i(o.viewItem,Io(e))};return t=>{t.on(`element:${e}`,r,{priority:"low"})}}(o,i)),r.for("dataDowncast").add(function(t){return e=>{function r(t,r){e.on(`attribute:${r}:media`,((e,r,o)=>{if(!o.consumable.consume(r.item,e.name))return;const{attributeOldValue:n,attributeNewValue:i}=r,s=o.mapper.toViewElement(r.item),l=Rn(o.writer,s,t);xo(o.writer,n,i,l)}))}r(t,Io(t)),r("figure","htmlFigureAttributes")}}(i)),t.stop())}))}}class Ln extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"ScriptElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor.plugins.get(kn);t.on("register:script",((e,r)=>{const o=this.editor,n=o.model.schema,i=o.conversion;n.register("htmlScript",r.modelSchema),n.extend("htmlScript",{allowAttributes:["htmlScriptAttributes","htmlContent"],isContent:!0}),o.data.registerRawContentMatcher({name:"script"}),i.for("upcast").elementToElement({view:"script",model:$o(r)}),i.for("upcast").add(Mo(r,t)),i.for("downcast").elementToElement({model:"htmlScript",view:(t,{writer:e})=>Do("script",t,e)}),i.for("downcast").add(Lo(r)),e.stop()}))}}class Hn extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"TableElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;if(!t.plugins.has("TableEditing"))return;const e=t.model.schema,r=t.conversion,o=t.plugins.get(kn),n=t.plugins.get("TableUtils");o.on("register:figure",(()=>{r.for("upcast").add(function(t){return e=>{e.on("element:figure",((e,r,o)=>{const n=r.viewItem;if(!r.modelRange||!n.hasClass("table"))return;const i=t.processViewAttributes(n,o);i&&o.writer.setAttribute("htmlFigureAttributes",i,r.modelRange)}),{priority:"low"})}}(o))})),o.on("register:table",((i,s)=>{"table"===s.model&&(e.extend("table",{allowAttributes:["htmlTableAttributes","htmlFigureAttributes","htmlTheadAttributes","htmlTbodyAttributes"]}),r.for("upcast").add(function(t){return e=>{e.on("element:table",((e,r,o)=>{if(!r.modelRange)return;const n=r.viewItem;i(n,"htmlTableAttributes");for(const t of n.getChildren())t.is("element","thead")&&i(t,"htmlTheadAttributes"),t.is("element","tbody")&&i(t,"htmlTbodyAttributes");function i(e,n){const i=t.processViewAttributes(e,o);i&&o.writer.setAttribute(n,i,r.modelRange)}}),{priority:"low"})}}(o)),r.for("downcast").add((t=>{function e(e,r){t.on(`attribute:${r}:table`,((t,r,o)=>{if(!o.consumable.test(r.item,t.name))return;const n=o.mapper.toViewElement(r.item),i=Rn(o.writer,n,e);i&&(o.consumable.consume(r.item,t.name),xo(o.writer,r.attributeOldValue,r.attributeNewValue,i))}))}e("table","htmlTableAttributes"),e("figure","htmlFigureAttributes"),e("thead","htmlTheadAttributes"),e("tbody","htmlTbodyAttributes")})),t.model.document.registerPostFixer(function(t,e){return r=>{const o=t.document.differ.getChanges();let n=!1;for(const t of o){if("attribute"!=t.type||"headingRows"!=t.attributeKey)continue;const o=t.range.start.nodeAfter,i=o.getAttribute("htmlTheadAttributes"),s=o.getAttribute("htmlTbodyAttributes");i&&!t.attributeNewValue?(r.removeAttribute("htmlTheadAttributes",o),n=!0):s&&t.attributeNewValue==e.getRows(o)&&(r.removeAttribute("htmlTbodyAttributes",o),n=!0)}return n}}(t.model,n)),i.stop())}))}}class Vn extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"StyleElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor.plugins.get(kn);t.on("register:style",((e,r)=>{const o=this.editor,n=o.model.schema,i=o.conversion;n.register("htmlStyle",r.modelSchema),n.extend("htmlStyle",{allowAttributes:["htmlStyleAttributes","htmlContent"],isContent:!0}),o.data.registerRawContentMatcher({name:"style"}),i.for("upcast").elementToElement({view:"style",model:$o(r)}),i.for("upcast").add(Mo(r,t)),i.for("downcast").elementToElement({model:"htmlStyle",view:(t,{writer:e})=>Do("style",t,e)}),i.for("downcast").add(Lo(r)),e.stop()}))}}const zn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Un=function(t){return this.__data__.has(t)};function Wn(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new bt;++e<r;)this.add(t[e])}Wn.prototype.add=Wn.prototype.push=zn,Wn.prototype.has=Un;const qn=Wn;const Gn=function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(t[r],r,t))return!0;return!1};const Kn=function(t,e){return t.has(e)};const Zn=function(t,e,r,o,n,i){var s=1&r,l=t.length,a=e.length;if(l!=a&&!(s&&a>l))return!1;var c=i.get(t),u=i.get(e);if(c&&u)return c==e&&u==t;var m=-1,d=!0,f=2&r?new qn:void 0;for(i.set(t,e),i.set(e,t);++m<l;){var h=t[m],b=e[m];if(o)var p=s?o(b,h,m,e,t,i):o(h,b,m,t,e,i);if(void 0!==p){if(p)continue;d=!1;break}if(f){if(!Gn(e,(function(t,e){if(!Kn(f,e)&&(h===t||n(h,t,r,o,i)))return f.push(e)}))){d=!1;break}}else if(h!==b&&!n(h,b,r,o,i)){d=!1;break}}return i.delete(t),i.delete(e),d};const Yn=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,o){r[++e]=[o,t]})),r};const Xn=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Jn=E?E.prototype:void 0,Qn=Jn?Jn.valueOf:void 0;const ti=function(t,e,r,o,n,i,s){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!i(new Ze(t),new Ze(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return l(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=Yn;case"[object Set]":var c=1&o;if(a||(a=Xn),t.size!=e.size&&!c)return!1;var u=s.get(t);if(u)return u==e;o|=2,s.set(t,e);var m=Zn(a(t),a(e),o,n,i,s);return s.delete(t),m;case"[object Symbol]":if(Qn)return Qn.call(t)==Qn.call(e)}return!1};var ei=Object.prototype.hasOwnProperty;const ri=function(t,e,r,o,n,i){var s=1&r,l=xe(t),a=l.length;if(a!=xe(e).length&&!s)return!1;for(var c=a;c--;){var u=l[c];if(!(s?u in e:ei.call(e,u)))return!1}var m=i.get(t),d=i.get(e);if(m&&d)return m==e&&d==t;var f=!0;i.set(t,e),i.set(e,t);for(var h=s;++c<a;){var b=t[u=l[c]],p=e[u];if(o)var g=s?o(p,b,u,e,t,i):o(b,p,u,t,e,i);if(!(void 0===g?b===p||n(b,p,r,o,i):g)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var v=t.constructor,w=e.constructor;v==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(f=!1)}return i.delete(t),i.delete(e),f};var oi="[object Arguments]",ni="[object Array]",ii="[object Object]",si=Object.prototype.hasOwnProperty;const li=function(t,e,r,o,n,i){var s=It(t),l=It(e),a=s?ni:qe(t),c=l?ni:qe(e),u=(a=a==oi?ii:a)==ii,m=(c=c==oi?ii:c)==ii,d=a==c;if(d&&Rt(t)){if(!Rt(e))return!1;s=!0,u=!1}if(d&&!u)return i||(i=new vt),s||Zt(t)?Zn(t,e,r,o,n,i):ti(t,e,a,r,o,n,i);if(!(1&r)){var f=u&&si.call(t,"__wrapped__"),h=m&&si.call(e,"__wrapped__");if(f||h){var b=f?t.value():t,p=h?e.value():e;return i||(i=new vt),n(b,p,r,o,i)}}return!!d&&(i||(i=new vt),ri(t,e,r,o,n,i))};const ai=function t(e,r,o,n,i){return e===r||(null==e||null==r||!St(e)&&!St(r)?e!=e&&r!=r:li(e,r,o,n,t,i))};const ci=function(t,e){return ai(t,e)};class ui extends t.Plugin{static get requires(){return[kn]}static get pluginName(){return"ListElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;if(!t.plugins.has("ListEditing"))return;const e=t.model.schema,r=t.conversion,o=t.plugins.get(kn),n=t.plugins.get("ListEditing"),i=t.plugins.get("ListUtils"),s=["ul","ol","li"];n.registerDowncastStrategy({scope:"item",attributeName:"htmlLiAttributes",setAttributeOnDowncast:Po}),n.registerDowncastStrategy({scope:"list",attributeName:"htmlUlAttributes",setAttributeOnDowncast:Po}),n.registerDowncastStrategy({scope:"list",attributeName:"htmlOlAttributes",setAttributeOnDowncast:Po}),o.on("register",((t,n)=>{if(!s.includes(n.view))return;if(t.stop(),e.checkAttribute("$block","htmlLiAttributes"))return;const i=s.map((t=>Io(t)));e.extend("$listItem",{allowAttributes:i}),r.for("upcast").add((t=>{t.on("element:ul",mi("htmlUlAttributes",o),{priority:"low"}),t.on("element:ol",mi("htmlOlAttributes",o),{priority:"low"}),t.on("element:li",mi("htmlLiAttributes",o),{priority:"low"})}))})),n.on("postFixer",((t,{listNodes:e,writer:r})=>{for(const{node:o,previousNodeInList:n}of e)if(n){if(n.getAttribute("listType")==o.getAttribute("listType")){const e=di(n.getAttribute("listType")),i=n.getAttribute(e);!ci(o.getAttribute(e),i)&&r.model.schema.checkAttribute(o,e)&&(r.setAttribute(e,i,o),t.return=!0)}if(n.getAttribute("listItemId")==o.getAttribute("listItemId")){const e=n.getAttribute("htmlLiAttributes");!ci(o.getAttribute("htmlLiAttributes"),e)&&r.model.schema.checkAttribute(o,"htmlLiAttributes")&&(r.setAttribute("htmlLiAttributes",e,o),t.return=!0)}}})),n.on("postFixer",((t,{listNodes:e,writer:r})=>{for(const{node:o}of e){const e=o.getAttribute("listType");!i.isNumberedListType(e)&&o.getAttribute("htmlOlAttributes")&&(r.removeAttribute("htmlOlAttributes",o),t.return=!0),i.isNumberedListType(e)&&o.getAttribute("htmlUlAttributes")&&(r.removeAttribute("htmlUlAttributes",o),t.return=!0)}}))}afterInit(){const t=this.editor;if(!t.commands.get("indentList"))return;const e=t.commands.get("indentList");this.listenTo(e,"afterExecute",((e,r)=>{t.model.change((e=>{for(const o of r){const r=di(o.getAttribute("listType"));t.model.schema.checkAttribute(o,r)&&e.setAttribute(r,{},o)}}))}))}}function mi(t,e){return(r,o,n)=>{const i=o.viewItem;o.modelRange||Object.assign(o,n.convertChildren(o.viewItem,o.modelCursor));const s=e.processViewAttributes(i,n);for(const e of o.modelRange.getItems({shallow:!0}))e.hasAttribute("listItemId")&&(e.hasAttribute("htmlUlAttributes")||e.hasAttribute("htmlOlAttributes")||n.writer.model.schema.checkAttribute(e,t)&&n.writer.setAttribute(t,s||{},e))}}function di(t){return"numbered"===t||"customNumbered"==t?"htmlOlAttributes":"htmlUlAttributes"}class fi extends t.Plugin{static get requires(){return[kn,hn]}static get pluginName(){return"CustomElementSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor.plugins.get(kn),e=this.editor.plugins.get(hn);t.on("register:$customElement",((r,o)=>{r.stop();const i=this.editor,s=i.model.schema,l=i.conversion,a=i.editing.view.domConverter.unsafeElements,c=i.data.htmlProcessor.domConverter.preElements;s.register(o.model,o.modelSchema),s.extend(o.model,{allowAttributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"],isContent:!0}),i.data.htmlProcessor.domConverter.registerRawContentMatcher({name:"template"}),l.for("upcast").elementToElement({view:/.*/,model:(r,s)=>{if("$comment"==r.name)return null;if(!function(t){try{document.createElement(t)}catch(t){return!1}return!0}(r.name))return null;if(e.getDefinitionsForView(r.name).size)return null;a.includes(r.name)||a.push(r.name),c.includes(r.name)||c.push(r.name);const l=s.writer.createElement(o.model,{htmlElementName:r.name}),u=t.processViewAttributes(r,s);let m;if(u&&s.writer.setAttribute("htmlCustomElementAttributes",u,l),r.is("element","template")&&r.getCustomProperty("$rawContent"))m=r.getCustomProperty("$rawContent");else{const t=new n.UpcastWriter(r.document).createDocumentFragment(r),e=i.data.htmlProcessor.domConverter.viewToDom(t),o=e.firstChild;for(;o.firstChild;)e.appendChild(o.firstChild);o.remove(),m=i.data.htmlProcessor.htmlWriter.getHtml(e)}s.writer.setAttribute("htmlContent",m,l);for(const{item:t}of i.editing.view.createRangeIn(r))s.consumable.consume(t,{name:!0});return l},converterPriority:"low"}),l.for("editingDowncast").elementToElement({model:{name:o.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(t,{writer:e})=>{const r=t.getAttribute("htmlElementName"),o=e.createRawElement(r);return t.hasAttribute("htmlCustomElementAttributes")&&Po(e,t.getAttribute("htmlCustomElementAttributes"),o),o}}),l.for("dataDowncast").elementToElement({model:{name:o.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(t,{writer:e})=>{const r=t.getAttribute("htmlElementName"),o=t.getAttribute("htmlContent"),n=e.createRawElement(r,null,((t,e)=>{e.setContentOf(t,o)}));return t.hasAttribute("htmlCustomElementAttributes")&&Po(e,t.getAttribute("htmlCustomElementAttributes"),n),n}})}))}}class hi extends t.Plugin{static get pluginName(){return"GeneralHtmlSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[kn,$n,Tn,Bn,Nn,Mn,Ln,Hn,Vn,ui,fi]}init(){const t=this.editor,e=t.plugins.get(kn);e.loadAllowedEmptyElementsConfig(t.config.get("htmlSupport.allowEmpty")||[]),e.loadAllowedConfig(t.config.get("htmlSupport.allow")||[]),e.loadDisallowedConfig(t.config.get("htmlSupport.disallow")||[])}getGhsAttributeNameForElement(t){const e=this.editor.plugins.get("DataSchema"),r=Array.from(e.getDefinitionsForView(t,!1)),o=r.find((t=>t.isInline&&!r[0].isObject));return o?o.model:Io(t)}addModelHtmlClass(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of bi(n,o,i))Fo(t,s,i,"classes",(t=>{for(const o of(0,e.toArray)(r))t.add(o)}))}))}removeModelHtmlClass(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of bi(n,o,i))Fo(t,s,i,"classes",(t=>{for(const o of(0,e.toArray)(r))t.delete(o)}))}))}setModelHtmlAttributes(t,e,r){const o=this.editor.model,n=this.getGhsAttributeNameForElement(t);o.change((t=>{for(const i of bi(o,r,n))Fo(t,i,n,"attributes",(t=>{for(const[r,o]of Object.entries(e))t.set(r,o)}))}))}removeModelHtmlAttributes(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of bi(n,o,i))Fo(t,s,i,"attributes",(t=>{for(const o of(0,e.toArray)(r))t.delete(o)}))}))}setModelHtmlStyles(t,e,r){const o=this.editor.model,n=this.getGhsAttributeNameForElement(t);o.change((t=>{for(const i of bi(o,r,n))Fo(t,i,n,"styles",(t=>{for(const[r,o]of Object.entries(e))t.set(r,o)}))}))}removeModelHtmlStyles(t,r,o){const n=this.editor.model,i=this.getGhsAttributeNameForElement(t);n.change((t=>{for(const s of bi(n,o,i))Fo(t,s,i,"styles",(t=>{for(const o of(0,e.toArray)(r))t.delete(o)}))}))}}function*bi(t,e,r){if(e)if(!(Symbol.iterator in e)&&e.is("documentSelection")&&e.isCollapsed)t.schema.checkAttributeInSelection(e,r)&&(yield e);else for(const o of function(t,e,r){return!(Symbol.iterator in e)&&(e.is("node")||e.is("$text")||e.is("$textProxy"))?t.schema.checkAttribute(e,r)?[t.createRangeOn(e)]:[]:t.schema.getValidRanges(t.createSelection(e).getRanges(),r)}(t,e,r))yield*o.getItems({shallow:!0})}class pi extends t.Plugin{static get pluginName(){return"HtmlComment"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,r=new Map;t.data.processor.skipComments=!1,t.model.schema.addAttributeCheck(((t,e)=>{if(t.endsWith("$root")&&e.startsWith("$comment"))return!0})),t.conversion.for("upcast").elementToMarker({view:"$comment",model:t=>{const o=`$comment:${(0,e.uid)()}`,n=t.getCustomProperty("$rawContent");return r.set(o,n),o}}),t.conversion.for("dataDowncast").markerToElement({model:"$comment",view:(t,{writer:e})=>{let r;for(const e of this.editor.model.document.getRootNames())if(r=this.editor.model.document.getRoot(e),r.hasAttribute(t.markerName))break;const o=t.markerName,n=r.getAttribute(o),i=e.createUIElement("$comment");return e.setCustomProperty("$rawContent",n,i),i}}),t.model.document.registerPostFixer((e=>{let o=!1;const n=t.model.document.differ.getChangedMarkers().filter((t=>t.name.startsWith("$comment:")));for(const t of n){const{oldRange:n,newRange:i}=t.data;if(!n||!i||n.root!=i.root){if(n){const r=n.root;r.hasAttribute(t.name)&&(e.removeAttribute(t.name,r),o=!0)}if(i){const n=i.root;"$graveyard"==n.rootName?(e.removeMarker(t.name),o=!0):n.hasAttribute(t.name)||(e.setAttribute(t.name,r.get(t.name)||"",n),o=!0)}}}return o})),t.data.on("set",(()=>{for(const e of t.model.markers.getMarkersGroup("$comment"))this.removeHtmlComment(e.name)}),{priority:"high"}),t.model.on("deleteContent",((e,[r])=>{for(const e of r.getRanges()){const r=t.model.schema.getLimitElement(e),o=t.model.createPositionAt(r,0),n=t.model.createPositionAt(r,"end");let i;i=o.isTouching(e.start)&&n.isTouching(e.end)?this.getHtmlCommentsInRange(t.model.createRange(o,n)):this.getHtmlCommentsInRange(e,{skipBoundaries:!0});for(const t of i)this.removeHtmlComment(t)}}),{priority:"high"})}createHtmlComment(t,r){const o=(0,e.uid)(),n=this.editor.model,i=n.document.getRoot(t.root.rootName),s=`$comment:${o}`;return n.change((e=>{const o=e.createRange(t);return e.addMarker(s,{usingOperation:!0,affectsData:!0,range:o}),e.setAttribute(s,r,i),s}))}removeHtmlComment(t){const e=this.editor,r=e.model.markers.get(t);return!!r&&(e.model.change((t=>{t.removeMarker(r)})),!0)}getHtmlCommentData(t){const e=this.editor.model.markers.get(t);if(!e)return null;let r="";for(const e of this.editor.model.document.getRoots())if(e.hasAttribute(t)){r=e.getAttribute(t);break}return{content:r,position:e.getStart()}}getHtmlCommentsInRange(t,{skipBoundaries:e=!1}={}){const r=!e;return Array.from(this.editor.model.markers.getMarkersGroup("$comment")).filter((e=>function(t,e){const o=t.getRange().start;return(o.isAfter(e.start)||r&&o.isEqual(e.start))&&(o.isBefore(e.end)||r&&o.isEqual(e.end))}(e,t))).map((t=>t.name))}}class gi extends n.HtmlDataProcessor{toView(t){if(!/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(t.trim().slice(0,1e4)))return super.toView(t);let e="",r="";t=(t=t.trim().replace(/<\?xml\s[^?]*\?>/i,(t=>(r=t,"")))).trim().replace(/^<!DOCTYPE\s[^>]*?>/i,(t=>(e=t,"")));const o=this._toDom(t),i=this.domConverter.domToView(o,{skipComments:this.skipComments}),s=new n.UpcastWriter(i.document);return s.setCustomProperty("$fullPageDocument",o.ownerDocument.documentElement.outerHTML,i),e&&s.setCustomProperty("$fullPageDocType",e,i),r&&s.setCustomProperty("$fullPageXmlDeclaration",r,i),i}toData(t){let e=super.toData(t);const r=t.getCustomProperty("$fullPageDocument"),o=t.getCustomProperty("$fullPageDocType"),n=t.getCustomProperty("$fullPageXmlDeclaration");return r&&(e=r.replace(/<\/body\s*>/,e+"$&"),o&&(e=o+"\n"+e),n&&(e=n+"\n"+e)),e}}class vi extends t.Plugin{static get pluginName(){return"FullPage"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=["$fullPageDocument","$fullPageDocType","$fullPageXmlDeclaration"];t.data.processor=new gi(t.data.viewDocument),t.model.schema.extend("$root",{allowAttributes:e}),t.data.on("toModel",((r,[o])=>{const n=t.model.document.getRoot();t.model.change((t=>{for(const r of e){const e=o.getCustomProperty(r);e&&t.setAttribute(r,e,n)}}))}),{priority:"low"}),t.data.on("toView",((t,[r])=>{if(!r.is("rootElement"))return;const o=r,i=t.return;if(!o.hasAttribute("$fullPageDocument"))return;const s=new n.UpcastWriter(i.document);for(const t of e){const e=o.getAttribute(t);e&&s.setCustomProperty(t,e,i)}}),{priority:"low"}),t.data.on("set",(()=>{const r=t.model.document.getRoot();t.model.change((t=>{for(const o of e)r.hasAttribute(o)&&t.removeAttribute(o,r)}))}),{priority:"high"}),t.data.on("get",((t,e)=>{e[0]||(e[0]={}),e[0].trim=!1}),{priority:"high"})}}})(),(window.CKEditor5=window.CKEditor5||{}).htmlSupport=o})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/image/image.js b/core/assets/vendor/ckeditor5/image/image.js index 7cf41405df82452d351f9dda45897b2fe8723b13..5d6c108b1b3122973fa3dd69ff45edac7a5d7bc1 100644 --- a/core/assets/vendor/ckeditor5/image/image.js +++ b/core/assets/vendor/ckeditor5/image/image.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const r=o},934:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}",""]);const r=o},406:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highlighted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}@media (forced-colors:active){.ck-content .image>figcaption{background-color:unset;color:unset}}@media (forced-colors:none){.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:none}}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highlighted-background)}to{background-color:var(--ck-color-image-caption-background)}}",""]);const r=o},429:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-image-custom-resize-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-image-custom-resize-form .ck-labeled-field-view{display:inline-block}.ck.ck-image-custom-resize-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-image-custom-resize-form{flex-wrap:wrap}.ck.ck-image-custom-resize-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-image-custom-resize-form .ck-button{flex-basis:50%}}",""]);const r=o},489:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-image-insert-url{padding:var(--ck-spacing-large) var(--ck-spacing-large) 0;width:400px}.ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}",""]);const r=o},571:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}",""]);const r=o},278:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}",""]);const r=o},895:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image.image-style-block-align-left,.ck-content .image.image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image.image-style-align-left,.ck-content .image.image-style-align-right{clear:none}.ck-content .image.image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image.image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image.image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image.image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image.image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content p+.image.image-style-align-left,.ck-content p+.image.image-style-align-right,.ck-content p+.image.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}",""]);const r=o},854:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.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:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@media (prefers-reduced-motion:reduce){.ck-image-upload-complete-icon{animation-duration:0ms}.ck-image-upload-complete-icon:after{animation:none;height:.45em;opacity:1;width:.3em}}@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%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',""]);const r=o},424:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',""]);const r=o},184:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:none;opacity:1}}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}",""]);const r=o},285:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{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-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}",""]);const r=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&o[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},591:(e,t,i)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),a=[];function s(e){for(var t=-1,i=0;i<a.length;i++)if(a[i].identifier===e){t=i;break}return t}function l(e,t){for(var i={},n=[],o=0;o<e.length;o++){var r=e[o],l=t.base?r[0]+t.base:r[0],c=i[l]||0,u="".concat(l," ").concat(c);i[l]=c+1;var g=s(u),m={css:r[1],media:r[2],sourceMap:r[3]};-1!==g?(a[g].references++,a[g].updater(m)):a.push({identifier:u,updater:f(m,t),references:1}),n.push(u)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=r(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,g=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function d(e,t,i){var n=i.css,o=i.media,r=i.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,h=0;function f(e,t){var i,n,o;if(t.singleton){var r=h++;i=p||(p=c(t)),n=m.bind(null,i,r,!1),o=m.bind(null,i,r,!0)}else i=c(t),n=d.bind(null,i,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var i=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var o=s(i[n]);a[o].references--}for(var r=l(e,t),c=0;c<i.length;c++){var u=s(i[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}i=r}}}},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},251:(e,t,i)=>{e.exports=i(237)("./src/undo.js")},260:(e,t,i)=>{e.exports=i(237)("./src/upload.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{AutoImage:()=>k,Image:()=>Z,ImageBlock:()=>Y,ImageBlockEditing:()=>W,ImageCaption:()=>ae,ImageCaptionEditing:()=>ie,ImageCaptionUI:()=>ne,ImageCaptionUtils:()=>ee,ImageCustomResizeUI:()=>ho,ImageEditing:()=>P,ImageInline:()=>X,ImageInsert:()=>Ve,ImageInsertUI:()=>K,ImageInsertViaUrl:()=>Te,ImageResize:()=>ko,ImageResizeButtons:()=>io,ImageResizeEditing:()=>eo,ImageResizeHandles:()=>so,ImageSizeAttributes:()=>N,ImageStyle:()=>Uo,ImageStyleEditing:()=>Ao,ImageStyleUI:()=>Bo,ImageTextAlternative:()=>V,ImageTextAlternativeEditing:()=>w,ImageTextAlternativeUI:()=>T,ImageToolbar:()=>jo,ImageUpload:()=>Ee,ImageUploadEditing:()=>Ce,ImageUploadProgress:()=>ke,ImageUploadUI:()=>ue,ImageUtils:()=>h,PictureEditing:()=>Ro});var e=i(782),t=i(331),o=i(783),r=i(251),a=i(834),s=i(584),l=i(901);function c(e){return e.createContainerElement("figure",{class:"image"},[e.createEmptyElement("img"),e.createSlot("children")])}function u(e,t){const i=e.plugins.get("ImageUtils"),n=e.plugins.has("ImageInlineEditing")&&e.plugins.has("ImageBlockEditing");return e=>{if(!i.isInlineImageView(e))return null;if(!n)return o(e);return("block"==e.getStyle("display")||e.findAncestor(i.isBlockImageView)?"imageBlock":"imageInline")!==t?null:o(e)};function o(e){const t={name:!0};return e.hasAttribute("src")&&(t.attributes=["src"]),t}}function g(e,t){const i=(0,s.first)(t.getSelectedBlocks());return!i||e.isObject(i)||i.isEmpty&&"listItem"!=i.name?"imageBlock":"imageInline"}function m(e){return e&&e.endsWith("px")?parseInt(e):null}function d(e){const t=m(e.getStyle("width")),i=m(e.getStyle("height"));return!(!t||!i)}const p=/^(image|image-inline)$/;class h extends e.Plugin{constructor(){super(...arguments),this._domEmitter=new((0,s.DomEmitterMixin)())}static get pluginName(){return"ImageUtils"}isImage(e){return this.isInlineImage(e)||this.isBlockImage(e)}isInlineImageView(e){return!!e&&e.is("element","img")}isBlockImageView(e){return!!e&&e.is("element","figure")&&e.hasClass("image")}insertImage(e={},t=null,i=null,n={}){const o=this.editor,r=o.model,a=r.document.selection,s=f(o,t||a,i);e={...Object.fromEntries(a.getAttributes()),...e};for(const t in e)r.schema.checkAttribute(s,t)||delete e[t];return r.change((i=>{const{setImageSizes:o=!0}=n,a=i.createElement(s,e);return r.insertObject(a,t,null,{setSelection:"on",findOptimalPosition:t||"imageInline"==s?void 0:"auto"}),a.parent?(o&&this.setImageNaturalSizeAttributes(a),a):null}))}setImageNaturalSizeAttributes(e){const t=e.getAttribute("src");t&&(e.getAttribute("width")||e.getAttribute("height")||this.editor.model.change((i=>{const n=new s.global.window.Image;this._domEmitter.listenTo(n,"load",(()=>{e.getAttribute("width")||e.getAttribute("height")||this.editor.model.enqueueChange(i.batch,(t=>{t.setAttribute("width",n.naturalWidth,e),t.setAttribute("height",n.naturalHeight,e)})),this._domEmitter.stopListening(n,"load")})),n.src=t})))}getClosestSelectedImageWidget(e){const t=e.getFirstPosition();if(!t)return null;const i=e.getSelectedElement();if(i&&this.isImageWidget(i))return i;let n=t.parent;for(;n;){if(n.is("element")&&this.isImageWidget(n))return n;n=n.parent}return null}getClosestSelectedImageElement(e){const t=e.getSelectedElement();return this.isImage(t)?t:e.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(e){return e.findAncestor({classes:p})}isImageAllowed(){const e=this.editor.model.document.selection;return function(e,t){const i=f(e,t,null);if("imageBlock"==i){const i=function(e,t){const i=(0,l.findOptimalInsertionRange)(e,t),n=i.start.parent;if(n.isEmpty&&!n.is("element","$root"))return n.parent;return n}(t,e.model);if(e.model.schema.checkChild(i,"imageBlock"))return!0}else if(e.model.schema.checkChild(t.focus,"imageInline"))return!0;return!1}(this.editor,e)&&function(e){return[...e.focus.getAncestors()].every((e=>!e.is("element","imageBlock")))}(e)}toImageWidget(e,t,i){t.setCustomProperty("image",!0,e);return(0,l.toWidget)(e,t,{label:()=>{const t=this.findViewImgElement(e).getAttribute("alt");return t?`${t} ${i}`:i}})}isImageWidget(e){return!!e.getCustomProperty("image")&&(0,l.isWidget)(e)}isBlockImage(e){return!!e&&e.is("element","imageBlock")}isInlineImage(e){return!!e&&e.is("element","imageInline")}findViewImgElement(e){if(this.isInlineImageView(e))return e;const t=this.editor.editing.view;for(const{item:i}of t.createRangeIn(e))if(this.isInlineImageView(i))return i}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function f(e,t,i){const n=e.model.schema,o=e.config.get("image.insert.type");return e.plugins.has("ImageBlockEditing")?e.plugins.has("ImageInlineEditing")?i||("inline"===o?"imageInline":"auto"!==o?"imageBlock":t.is("selection")?g(n,t):n.checkChild(t,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}const b=new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class k extends e.Plugin{static get requires(){return[t.Clipboard,h,r.Undo,a.Delete]}static get pluginName(){return"AutoImage"}constructor(e){super(e),this._timeoutId=null,this._positionToInsert=null}init(){const e=this.editor,t=e.model.document,i=e.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",(()=>{const e=t.selection.getFirstRange(),i=o.LivePosition.fromPosition(e.start);i.stickiness="toPrevious";const n=o.LivePosition.fromPosition(e.end);n.stickiness="toNext",t.once("change:data",(()=>{this._embedImageBetweenPositions(i,n),i.detach(),n.detach()}),{priority:"high"})})),e.commands.get("undo").on("execute",(()=>{this._timeoutId&&(s.global.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedImageBetweenPositions(e,t){const i=this.editor,n=new o.LiveRange(e,t),r=n.getWalker({ignoreElementEnd:!0}),a=Object.fromEntries(i.model.document.selection.getAttributes()),s=this.editor.plugins.get("ImageUtils");let l="";for(const e of r)e.item.is("$textProxy")&&(l+=e.item.data);l=l.trim(),l.match(b)?(this._positionToInsert=o.LivePosition.fromPosition(e),this._timeoutId=setTimeout((()=>{if(!i.commands.get("insertImage").isEnabled)return void n.detach();i.model.change((e=>{let t;this._timeoutId=null,e.remove(n),n.detach(),"$graveyard"!==this._positionToInsert.root.rootName&&(t=this._positionToInsert.toPosition()),s.insertImage({...a,src:l},t),this._positionToInsert.detach(),this._positionToInsert=null}));i.plugins.get("Delete").requestUndoOnBackspace()}),100)):n.detach()}}class v extends e.Command{refresh(){const e=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled&&e.hasAttribute("alt")?this.value=e.getAttribute("alt"):this.value=!1}execute(e){const t=this.editor,i=t.plugins.get("ImageUtils"),n=t.model,o=i.getClosestSelectedImageElement(n.document.selection);n.change((t=>{t.setAttribute("alt",e.newValue,o)}))}}class w extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new v(this.editor))}}var I=i(311),_=i(591),y=i.n(_),x=i(285),C={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(x.A,C);x.A.locals;var A=i(501),E={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(A.A,E);A.A.locals;class S extends I.View{constructor(t){super(t);const i=this.locale.t;this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(i("Save"),e.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(i("Cancel"),e.icons.cancel,"ck-button-cancel","cancel"),this._focusables=new I.ViewCollection,this._focusCycler=new I.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),(0,I.submitHandler)({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(e,t,i,n){const o=new I.ButtonView(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:i}}),n&&o.delegate("execute").to(this,n),o}_createLabeledInputView(){const e=this.locale.t,t=new I.LabeledFieldView(this.locale,I.createLabeledInputText);return t.label=e("Text alternative"),t}}function B(e){const t=e.editing.view,i=I.BalloonPanelView.defaultPositions,n=e.plugins.get("ImageUtils");return{target:t.domConverter.mapViewToDom(n.getClosestSelectedImageWidget(t.document.selection)),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast,i.viewportStickyNorth]}}class T extends e.Plugin{static get requires(){return[I.ContextualBalloon]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const t=this.editor,i=t.t;t.ui.componentFactory.add("imageTextAlternative",(n=>{const o=t.commands.get("imageTextAlternative"),r=new I.ButtonView(n);return r.set({label:i("Change image text alternative"),icon:e.icons.textAlternative,tooltip:!0}),r.bind("isEnabled").to(o,"isEnabled"),r.bind("isOn").to(o,"value",(e=>!!e)),this.listenTo(r,"execute",(()=>{this._showForm()})),r}))}_createForm(){const e=this.editor,t=e.editing.view.document,i=e.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new((0,I.CssTransitionDisablerMixin)(S))(e.locale),this._form.render(),this.listenTo(this._form,"submit",(()=>{e.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((e,t)=>{this._hideForm(!0),t()})),this.listenTo(e.ui,"update",(()=>{i.getClosestSelectedImageWidget(t.selection)?this._isVisible&&function(e){const t=e.plugins.get("ContextualBalloon");if(e.plugins.get("ImageUtils").getClosestSelectedImageWidget(e.editing.view.document.selection)){const i=B(e);t.updatePosition(i)}}(e):this._hideForm(!0)})),(0,I.clickOutsideHandler)({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const e=this.editor,t=e.commands.get("imageTextAlternative"),i=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:B(e)}),i.fieldView.value=i.fieldView.element.value=t.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class V extends e.Plugin{static get requires(){return[w,T]}static get pluginName(){return"ImageTextAlternative"}}function z(e,t){const i=(t,i,n)=>{if(!n.consumable.consume(i.item,t.name))return;const o=n.writer,r=n.mapper.toViewElement(i.item),a=e.findViewImgElement(r);null===i.attributeNewValue?(o.removeAttribute("srcset",a),o.removeAttribute("sizes",a)):i.attributeNewValue&&(o.setAttribute("srcset",i.attributeNewValue,a),o.setAttribute("sizes","100vw",a))};return e=>{e.on(`attribute:srcset:${t}`,i)}}function U(e,t,i){const n=(t,i,n)=>{if(!n.consumable.consume(i.item,t.name))return;const o=n.writer,r=n.mapper.toViewElement(i.item),a=e.findViewImgElement(r);o.setAttribute(i.attributeKey,i.attributeNewValue||"",a)};return e=>{e.on(`attribute:${i}:${t}`,n)}}class j extends o.Observer{observe(e){this.listenTo(e,"load",((e,t)=>{const i=t.target;this.checkShouldIgnoreEventFromTarget(i)||"IMG"==i.tagName&&this._fireEvents(t)}),{useCapture:!0})}stopObserving(e){this.stopListening(e)}_fireEvents(e){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",e))}}class R extends e.Command{constructor(e){super(e);const t=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||"block"===t&&(0,s.logWarning)("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||"inline"===t&&(0,s.logWarning)("image-inline-plugin-required")}refresh(){const e=this.editor.plugins.get("ImageUtils");this.isEnabled=e.isImageAllowed()}execute(e){const t=(0,s.toArray)(e.source),i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageUtils"),o=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if("string"==typeof e&&(e={src:e}),t&&r&&n.isImage(r)){const t=this.editor.model.createPositionAfter(r);n.insertImage({...e,...o},t)}else n.insertImage({...e,...o})}))}}class O extends e.Command{constructor(e){super(e),this.decorate("cleanupImage")}refresh(){const e=this.editor.plugins.get("ImageUtils"),t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=e.isImage(t),this.value=this.isEnabled?t.getAttribute("src"):null}execute(e){const t=this.editor.model.document.selection.getSelectedElement(),i=this.editor.plugins.get("ImageUtils");this.editor.model.change((n=>{n.setAttribute("src",e.source,t),this.cleanupImage(n,t),i.setImageNaturalSizeAttributes(t)}))}cleanupImage(e,t){e.removeAttribute("srcset",t),e.removeAttribute("sizes",t),e.removeAttribute("sources",t),e.removeAttribute("width",t),e.removeAttribute("height",t),e.removeAttribute("alt",t)}}class P extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageEditing"}init(){const e=this.editor,t=e.conversion;e.editing.view.addObserver(j),t.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const i=new R(e),n=new O(e);e.commands.add("insertImage",i),e.commands.add("replaceImageSource",n),e.commands.add("imageInsert",i)}}class N extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageSizeAttributes"}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils"),n="imageBlock"===e?"figure":"img";function o(t,n,o,r){t.on(`attribute:${n}:${e}`,((t,n,a)=>{if(!a.consumable.consume(n.item,t.name))return;const s=a.writer,l=a.mapper.toViewElement(n.item),c=i.findViewImgElement(l);if(null!==n.attributeNewValue?s.setAttribute(o,n.attributeNewValue,c):s.removeAttribute(o,c),n.item.hasAttribute("sources"))return;const u=n.item.hasAttribute("resizedWidth");if("imageInline"===e&&!u&&!r)return;const g=n.item.getAttribute("width"),m=n.item.getAttribute("height");g&&m&&s.setStyle("aspect-ratio",`${g}/${m}`,c)}))}t.conversion.for("upcast").attributeToAttribute({view:{name:n,styles:{width:/.+/}},model:{key:"width",value:e=>d(e)?m(e.getStyle("width")):null}}).attributeToAttribute({view:{name:n,key:"width"},model:"width"}).attributeToAttribute({view:{name:n,styles:{height:/.+/}},model:{key:"height",value:e=>d(e)?m(e.getStyle("height")):null}}).attributeToAttribute({view:{name:n,key:"height"},model:"height"}),t.conversion.for("editingDowncast").add((e=>{o(e,"width","width",!0),o(e,"height","height",!0)})),t.conversion.for("dataDowncast").add((e=>{o(e,"width","width",!1),o(e,"height","height",!1)}))}}class F extends e.Command{constructor(e,t){super(e),this._modelElementName=t}refresh(){const e=this.editor.plugins.get("ImageUtils"),t=e.getClosestSelectedImageElement(this.editor.model.document.selection);"imageBlock"===this._modelElementName?this.isEnabled=e.isInlineImage(t):this.isEnabled=e.isBlockImage(t)}execute(e={}){const t=this.editor,i=this.editor.model,n=t.plugins.get("ImageUtils"),o=n.getClosestSelectedImageElement(i.document.selection),r=Object.fromEntries(o.getAttributes());return r.src||r.uploadId?i.change((t=>{const{setImageSizes:a=!0}=e,s=Array.from(i.markers).filter((e=>e.getRange().containsItem(o))),l=n.insertImage(r,i.createSelection(o,"on"),this._modelElementName,{setImageSizes:a});if(!l)return null;const c=t.createRangeOn(l);for(const e of s){const i=e.getRange(),n="$graveyard"!=i.root.rootName?i.getJoined(c,!0):c;t.updateMarker(e,{range:n})}return{oldElement:o,newElement:l}})):null}}var L=i(571),D={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(L.A,D);L.A.locals;class M extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const e=this.editor.model.schema;e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["placeholder"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("editingDowncast").add((e=>{e.on("attribute:placeholder",((e,t,n)=>{if(!n.consumable.test(t.item,e.name))return;if(!t.item.is("element","imageBlock")&&!t.item.is("element","imageInline"))return;n.consumable.consume(t.item,e.name);const o=n.writer,r=n.mapper.toViewElement(t.item),a=i.findViewImgElement(r);t.attributeNewValue?(o.addClass("image_placeholder",a),o.setStyle("background-image",`url(${t.attributeNewValue})`,a),o.setCustomProperty("editingPipeline:doNotReuseOnce",!0,a)):(o.removeClass("image_placeholder",a),o.removeStyle("background-image",a))}))}))}_setupLoadListener(){const e=this.editor,t=e.model,i=e.editing,n=i.view,o=e.plugins.get("ImageUtils");n.addObserver(j),this.listenTo(n.document,"imageLoaded",((e,r)=>{const a=n.domConverter.mapDomToView(r.target);if(!a)return;const s=o.getImageWidgetFromImageView(a);if(!s)return;const l=i.mapper.toModelElement(s);l&&l.hasAttribute("placeholder")&&t.enqueueChange({isUndoable:!1},(e=>{e.removeAttribute("placeholder",l)}))}))}}class W extends e.Plugin{static get requires(){return[P,N,h,M,t.ClipboardPipeline]}static get pluginName(){return"ImageBlockEditing"}init(){const e=this.editor;e.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),e.plugins.has("ImageInlineEditing")&&(e.commands.add("imageTypeBlock",new F(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,n=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:t})=>c(t)}),i.for("editingDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:i})=>n.toImageWidget(c(i),i,t("image widget"))}),i.for("downcast").add(U(n,"imageBlock","src")).add(U(n,"imageBlock","alt")).add(z(n,"imageBlock")),i.for("upcast").elementToElement({view:u(e,"imageBlock"),model:(e,{writer:t})=>t.createElement("imageBlock",e.hasAttribute("src")?{src:e.getAttribute("src")}:void 0)}).add(function(e){const t=(t,i,n)=>{if(!n.consumable.test(i.viewItem,{name:!0,classes:"image"}))return;const o=e.findViewImgElement(i.viewItem);if(!o||!n.consumable.test(o,{name:!0}))return;n.consumable.consume(i.viewItem,{name:!0,classes:"image"});const r=n.convertItem(o,i.modelCursor),a=(0,s.first)(r.modelRange.getItems());a?(n.convertChildren(i.viewItem,a),n.updateConversionResult(a,i)):n.consumable.revert(i.viewItem,{name:!0,classes:"image"})};return e=>{e.on("element:figure",t)}}(n))}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,n=e.plugins.get("ImageUtils"),r=e.plugins.get("ClipboardPipeline");this.listenTo(r,"inputTransformation",((r,a)=>{const s=Array.from(a.content.getChildren());let l;if(!s.every(n.isInlineImageView))return;l=a.targetRanges?e.editing.mapper.toModelRange(a.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageBlock"===g(t.schema,c)){const e=new o.UpcastWriter(i.document),t=s.map((t=>e.createElement("figure",{class:"image"},t)));a.content=e.createDocumentFragment(t)}})),this.listenTo(r,"contentInsertion",((e,i)=>{"paste"===i.method&&t.change((e=>{const t=e.createRangeIn(i.content);for(const e of t.getItems())e.is("element","imageBlock")&&n.setImageNaturalSizeAttributes(e)}))}))}}var q=i(489),$={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(q.A,$);q.A.locals;class H extends I.View{constructor(e,t=[]){super(e),this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this._focusables=new I.ViewCollection,this.children=this.createCollection(),this._focusCycler=new I.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const e of t)this.children.add(e),this._focusables.add(e),e instanceof I.CollapsibleView&&this._focusables.addMany(e.children);this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),(0,I.submitHandler)({view:this});for(const e of this._focusables)this.focusTracker.add(e.element);this.keystrokes.listenTo(this.element);const e=e=>e.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}class K extends e.Plugin{static get pluginName(){return"ImageInsertUI"}static get requires(){return[h]}constructor(e){super(e),this._integrations=new Map,e.config.define("image.insert.integrations",["upload","assetManager","url"])}init(){const e=this.editor,t=e.model.document.selection,i=e.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(e.model.document,"change",(()=>{this.isImageSelected=i.isImage(t.getSelectedElement())}));const n=e=>this._createToolbarComponent(e);e.ui.componentFactory.add("insertImage",n),e.ui.componentFactory.add("imageInsert",n),e.ui.componentFactory.add("menuBar:insertImage",(e=>this._createMenuBarComponent(e)))}registerIntegration({name:e,observable:t,buttonViewCreator:i,formViewCreator:n,menuBarButtonViewCreator:o,requiresForm:r=!1}){this._integrations.has(e)&&(0,s.logWarning)("image-insert-integration-exists",{name:e}),this._integrations.set(e,{observable:t,buttonViewCreator:i,menuBarButtonViewCreator:o,formViewCreator:n,requiresForm:r})}_createToolbarComponent(e){const t=this.editor,i=e.t,n=this._prepareIntegrations();if(!n.length)return null;let o;const r=n[0];if(1==n.length){if(!r.requiresForm)return r.buttonViewCreator(!0);o=r.buttonViewCreator(!0)}else{const t=r.buttonViewCreator(!1);o=new I.SplitButtonView(e,t),o.tooltip=!0,o.bind("label").to(this,"isImageSelected",(e=>i(e?"Replace image":"Insert image")))}const a=this.dropdownView=(0,I.createDropdown)(e,o),s=n.map((({observable:e})=>"function"==typeof e?e():e));return a.bind("isEnabled").toMany(s,"isEnabled",((...e)=>e.some((e=>e)))),a.once("change:isOpen",(()=>{const e=n.map((({formViewCreator:e})=>e(1==n.length))),i=new H(t.locale,e);a.panelView.children.add(i)})),a}_createMenuBarComponent(t){const i=t.t,n=this._prepareIntegrations();if(!n.length)return null;let o;const r=n[0];if(1==n.length)o=r.menuBarButtonViewCreator(!0);else{o=new I.MenuBarMenuView(t);const r=new I.MenuBarMenuListView(t);o.panelView.children.add(r),o.buttonView.set({icon:e.icons.image,label:i("Image")});for(const e of n){const i=new I.MenuBarMenuListItemView(t,o),n=e.menuBarButtonViewCreator(!1);i.children.add(n),r.items.add(i)}}return o}_prepareIntegrations(){const e=this.editor.config.get("image.insert.integrations"),t=[];if(!e.length)return(0,s.logWarning)("image-insert-integrations-not-specified"),t;for(const i of e)this._integrations.has(i)?t.push(this._integrations.get(i)):["upload","assetManager","url"].includes(i)||(0,s.logWarning)("image-insert-unknown-integration",{item:i});return t.length||(0,s.logWarning)("image-insert-integrations-not-registered"),t}}var G=i(934),J={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(G.A,J);G.A.locals;class Y extends e.Plugin{static get requires(){return[W,l.Widget,V,K]}static get pluginName(){return"ImageBlock"}}class Q extends e.Plugin{static get requires(){return[P,N,h,M,t.ClipboardPipeline]}static get pluginName(){return"ImageInlineEditing"}init(){const e=this.editor;e.model.schema.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"],disallowIn:["caption"]}),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new F(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,n=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToElement({model:"imageInline",view:(e,{writer:t})=>t.createEmptyElement("img")}),i.for("editingDowncast").elementToStructure({model:"imageInline",view:(e,{writer:i})=>n.toImageWidget(function(e){return e.createContainerElement("span",{class:"image-inline"},e.createEmptyElement("img"))}(i),i,t("image widget"))}),i.for("downcast").add(U(n,"imageInline","src")).add(U(n,"imageInline","alt")).add(z(n,"imageInline")),i.for("upcast").elementToElement({view:u(e,"imageInline"),model:(e,{writer:t})=>t.createElement("imageInline",e.hasAttribute("src")?{src:e.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,n=e.plugins.get("ImageUtils"),r=e.plugins.get("ClipboardPipeline");this.listenTo(r,"inputTransformation",((r,a)=>{const s=Array.from(a.content.getChildren());let l;if(!s.every(n.isBlockImageView))return;l=a.targetRanges?e.editing.mapper.toModelRange(a.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageInline"===g(t.schema,c)){const e=new o.UpcastWriter(i.document),t=s.map((t=>1===t.childCount?(Array.from(t.getAttributes()).forEach((i=>e.setAttribute(...i,n.findViewImgElement(t)))),t.getChild(0)):t));a.content=e.createDocumentFragment(t)}})),this.listenTo(r,"contentInsertion",((e,i)=>{"paste"===i.method&&t.change((e=>{const t=e.createRangeIn(i.content);for(const e of t.getItems())e.is("element","imageInline")&&n.setImageNaturalSizeAttributes(e)}))}))}}class X extends e.Plugin{static get requires(){return[Q,l.Widget,V,K]}static get pluginName(){return"ImageInline"}}class Z extends e.Plugin{static get requires(){return[Y,X]}static get pluginName(){return"Image"}}class ee extends e.Plugin{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[h]}getCaptionFromImageModelElement(e){for(const t of e.getChildren())if(t&&t.is("element","caption"))return t;return null}getCaptionFromModelSelection(e){const t=this.editor.plugins.get("ImageUtils"),i=e.getFirstPosition().findAncestor("caption");return i&&t.isBlockImage(i.parent)?i:null}matchImageCaptionViewElement(e){const t=this.editor.plugins.get("ImageUtils");return"figcaption"==e.name&&t.isBlockImageView(e.parent)?{name:!0}:null}}class te extends e.Command{refresh(){const e=this.editor,t=e.plugins.get("ImageCaptionUtils"),i=e.plugins.get("ImageUtils");if(!e.plugins.has(W))return this.isEnabled=!1,void(this.value=!1);const n=e.model.document.selection,o=n.getSelectedElement();if(!o){const e=t.getCaptionFromModelSelection(n);return this.isEnabled=!!e,void(this.value=!!e)}this.isEnabled=i.isImage(o),this.isEnabled?this.value=!!t.getCaptionFromImageModelElement(o):this.value=!1}execute(e={}){const{focusCaptionOnShow:t}=e;this.editor.model.change((e=>{this.value?this._hideImageCaption(e):this._showImageCaption(e,t)}))}_showImageCaption(e,t){const i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageCaptionEditing"),o=this.editor.plugins.get("ImageUtils");let r=i.getSelectedElement();const a=n._getSavedCaption(r);o.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=i.getSelectedElement());const s=a||e.createElement("caption");e.append(s,r),t&&e.setSelection(s,"in")}_hideImageCaption(e){const t=this.editor,i=t.model.document.selection,n=t.plugins.get("ImageCaptionEditing"),o=t.plugins.get("ImageCaptionUtils");let r,a=i.getSelectedElement();a?r=o.getCaptionFromImageModelElement(a):(r=o.getCaptionFromModelSelection(i),a=r.parent),n._saveCaption(a,r),e.setSelection(a,"on"),e.remove(r)}}class ie extends e.Plugin{static get requires(){return[h,ee]}static get pluginName(){return"ImageCaptionEditing"}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,t=e.model.schema;t.isRegistered("caption")?t.extend("caption",{allowIn:"imageBlock"}):t.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleImageCaption",new te(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils"),n=e.plugins.get("ImageCaptionUtils"),r=e.t;e.conversion.for("upcast").elementToElement({view:e=>n.matchImageCaptionViewElement(e),model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>i.isBlockImage(e.parent)?t.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(e,{writer:n})=>{if(!i.isBlockImage(e.parent))return null;const a=n.createEditableElement("figcaption");n.setCustomProperty("imageCaption",!0,a),a.placeholder=r("Enter image caption"),(0,o.enablePlaceholder)({view:t,element:a,keepOnFocus:!0});const s=e.parent.getAttribute("alt"),c=s?r("Caption for image: %0",[s]):r("Caption for the image");return(0,l.toWidgetEditable)(a,n,{label:c})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),n=e.commands.get("imageTypeInline"),o=e.commands.get("imageTypeBlock"),r=e=>{if(!e.return)return;const{oldElement:n,newElement:o}=e.return;if(!n)return;if(t.isBlockImage(n)){const e=i.getCaptionFromImageModelElement(n);if(e)return void this._saveCaption(o,e)}const r=this._getSavedCaption(n);r&&this._saveCaption(o,r)};n&&this.listenTo(n,"execute",r,{priority:"low"}),o&&this.listenTo(o,"execute",r,{priority:"low"})}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?o.Element.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}_registerCaptionReconversion(){const e=this.editor,t=e.model,i=e.plugins.get("ImageUtils"),n=e.plugins.get("ImageCaptionUtils");t.document.on("change:data",(()=>{const o=t.document.differ.getChanges();for(const t of o){if("alt"!==t.attributeKey)continue;const o=t.range.start.nodeAfter;if(i.isBlockImage(o)){const t=n.getCaptionFromImageModelElement(o);if(!t)return;e.editing.reconvertItem(t)}}}))}}class ne extends e.Plugin{static get requires(){return[ee]}static get pluginName(){return"ImageCaptionUI"}init(){const t=this.editor,i=t.editing.view,n=t.plugins.get("ImageCaptionUtils"),o=t.t;t.ui.componentFactory.add("toggleImageCaption",(r=>{const a=t.commands.get("toggleImageCaption"),s=new I.ButtonView(r);return s.set({icon:e.icons.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(a,"value","isEnabled"),s.bind("label").to(a,"value",(e=>o(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{t.execute("toggleImageCaption",{focusCaptionOnShow:!0});const e=n.getCaptionFromModelSelection(t.model.document.selection);if(e){const n=t.editing.mapper.toViewElement(e);i.scrollToTheSelection(),i.change((e=>{e.addClass("image__caption_highlighted",n)}))}t.editing.view.focus()})),s}))}}var oe=i(406),re={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(oe.A,re);oe.A.locals;class ae extends e.Plugin{static get requires(){return[ie,ne]}static get pluginName(){return"ImageCaption"}}function se(e){const t=e.map((e=>e.replace("+","\\+")));return new RegExp(`^image\\/(${t.join("|")})$`)}function le(e){return new Promise(((t,i)=>{const n=e.getAttribute("src");fetch(n).then((e=>e.blob())).then((e=>{const i=ce(e,n),o=i.replace("image/",""),r=new File([e],`image.${o}`,{type:i});t(r)})).catch((e=>e&&"TypeError"===e.name?function(e){return function(e){return new Promise(((t,i)=>{const n=s.global.document.createElement("img");n.addEventListener("load",(()=>{const e=s.global.document.createElement("canvas");e.width=n.width,e.height=n.height;e.getContext("2d").drawImage(n,0,0),e.toBlob((e=>e?t(e):i()))})),n.addEventListener("error",(()=>i())),n.src=e}))}(e).then((t=>{const i=ce(t,e),n=i.replace("image/","");return new File([t],`image.${n}`,{type:i})}))}(n).then(t).catch(i):i(e)))}))}function ce(e,t){return e.type?e.type:t.match(/data:(image\/\w+);base64/)?t.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class ue extends e.Plugin{static get pluginName(){return"ImageUploadUI"}init(){const e=this.editor;e.ui.componentFactory.add("uploadImage",(()=>this._createToolbarButton())),e.ui.componentFactory.add("imageUpload",(()=>this._createToolbarButton())),e.ui.componentFactory.add("menuBar:uploadImage",(()=>this._createMenuBarButton("standalone"))),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"upload",observable:()=>e.commands.get("uploadImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:e=>this._createMenuBarButton(e?"insertOnly":"insertNested")})}_createButton(t){const i=this.editor,n=i.locale,o=i.commands.get("uploadImage"),r=i.config.get("image.upload.types"),a=se(r),s=new t(i.locale),l=n.t;return s.set({acceptedType:r.map((e=>`image/${e}`)).join(","),allowMultipleFiles:!0,label:l("Upload from computer"),icon:e.icons.imageUpload}),s.bind("isEnabled").to(o),s.on("done",((e,t)=>{const n=Array.from(t).filter((e=>a.test(e.type)));n.length&&(i.execute("uploadImage",{file:n}),i.editing.view.focus())})),s}_createToolbarButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this.editor.commands.get("uploadImage"),n=this._createButton(I.FileDialogButtonView);return n.tooltip=!0,n.bind("label").to(t,"isImageSelected",i,"isAccessAllowed",((t,i)=>e(i?t?"Replace image from computer":"Upload image from computer":"You have no image upload permissions."))),n}_createDropdownButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this._createButton(I.FileDialogButtonView);return i.withText=!0,i.bind("label").to(t,"isImageSelected",(t=>e(t?"Replace from computer":"Upload from computer"))),i.on("execute",(()=>{t.dropdownView.isOpen=!1})),i}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createButton(I.MenuBarMenuListItemFileDialogButtonView);switch(i.withText=!0,e){case"standalone":i.label=t("Image from computer");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("From computer")}return i}}var ge=i(260),me=i(184),de={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(me.A,de);me.A.locals;var pe=i(854),he={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(pe.A,he);pe.A.locals;var fe=i(424),be={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(fe.A,be);fe.A.locals;class ke extends e.Plugin{static get pluginName(){return"ImageUploadProgress"}constructor(e){super(e),this.uploadStatusChange=(e,t,i)=>{const n=this.editor,o=t.item,r=o.getAttribute("uploadId");if(!i.consumable.consume(t.item,e.name))return;const a=n.plugins.get("ImageUtils"),s=n.plugins.get(ge.FileRepository),l=r?t.attributeNewValue:null,c=this.placeholder,u=n.editing.mapper.toViewElement(o),g=i.writer;if("reading"==l)return ve(u,g),void we(a,c,u,g);if("uploading"==l){const e=s.loaders.get(r);return ve(u,g),void(e?(Ie(u,g),function(e,t,i,n){const o=function(e){const t=e.createUIElement("div",{class:"ck-progress-bar"});return e.setCustomProperty("progressBar",!0,t),t}(t);t.insert(t.createPositionAt(e,"end"),o),i.on("change:uploadedPercent",((e,t,i)=>{n.change((e=>{e.setStyle("width",i+"%",o)}))}))}(u,g,e,n.editing.view),function(e,t,i,n){if(n.data){const o=e.findViewImgElement(t);i.setAttribute("src",n.data,o)}}(a,u,g,e)):we(a,c,u,g))}"complete"==l&&s.loaders.get(r)&&function(e,t,i){const n=t.createUIElement("div",{class:"ck-image-upload-complete-icon"});t.insert(t.createPositionAt(e,"end"),n),setTimeout((()=>{i.change((e=>e.remove(e.createRangeOn(n))))}),3e3)}(u,g,n.editing.view),function(e,t){ye(e,t,"progressBar")}(u,g),Ie(u,g),function(e,t){t.removeClass("ck-appear",e)}(u,g)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),e.plugins.has("ImageInlineEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function ve(e,t){e.hasClass("ck-appear")||t.addClass("ck-appear",e)}function we(e,t,i,n){i.hasClass("ck-image-upload-placeholder")||n.addClass("ck-image-upload-placeholder",i);const o=e.findViewImgElement(i);o.getAttribute("src")!==t&&n.setAttribute("src",t,o),_e(i,"placeholder")||n.insert(n.createPositionAfter(o),function(e){const t=e.createUIElement("div",{class:"ck-upload-placeholder-loader"});return e.setCustomProperty("placeholder",!0,t),t}(n))}function Ie(e,t){e.hasClass("ck-image-upload-placeholder")&&t.removeClass("ck-image-upload-placeholder",e),ye(e,t,"placeholder")}function _e(e,t){for(const i of e.getChildren())if(i.getCustomProperty(t))return i}function ye(e,t,i){const n=_e(e,i);n&&t.remove(t.createRangeOn(n))}class xe extends e.Command{constructor(e){super(e),this.set("isAccessAllowed",!0)}refresh(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.model.document.selection.getSelectedElement();this.isEnabled=t.isImageAllowed()||t.isImage(i)}execute(e){const t=(0,s.toArray)(e.file),i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageUtils"),o=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if(t&&r&&n.isImage(r)){const t=this.editor.model.createPositionAfter(r);this._uploadImage(e,o,t)}else this._uploadImage(e,o)}))}_uploadImage(e,t,i){const n=this.editor,o=n.plugins.get(ge.FileRepository).createLoader(e),r=n.plugins.get("ImageUtils");o&&r.insertImage({...t,uploadId:o.id},i)}}class Ce extends e.Plugin{static get requires(){return[ge.FileRepository,I.Notification,t.ClipboardPipeline,h]}static get pluginName(){return"ImageUploadEditing"}constructor(e){super(e),e.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}init(){const e=this.editor,t=e.model.document,i=e.conversion,n=e.plugins.get(ge.FileRepository),r=e.plugins.get("ImageUtils"),a=e.plugins.get("ClipboardPipeline"),s=se(e.config.get("image.upload.types")),l=new xe(e);e.commands.add("uploadImage",l),e.commands.add("imageUpload",l),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,i)=>{if(n=i.dataTransfer,Array.from(n.types).includes("text/html")&&""!==n.getData("text/html"))return;var n;const o=Array.from(i.dataTransfer.files).filter((e=>!!e&&s.test(e.type)));if(!o.length)return;t.stop(),e.model.change((t=>{i.targetRanges&&t.setSelection(i.targetRanges.map((t=>e.editing.mapper.toModelRange(t)))),e.execute("uploadImage",{file:o})}));if(!e.commands.get("uploadImage").isAccessAllowed){const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("You have no image upload permissions."),{namespace:"image"})}})),this.listenTo(a,"inputTransformation",((t,i)=>{const a=Array.from(e.editing.view.createRangeIn(i.content)).map((e=>e.item)).filter((e=>function(e,t){return!(!e.isInlineImageView(t)||!t.getAttribute("src")||!t.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!t.getAttribute("src").match(/^blob:/g))}(r,e)&&!e.getAttribute("uploadProcessed"))).map((e=>({promise:le(e),imageElement:e})));if(!a.length)return;const s=new o.UpcastWriter(e.editing.view.document);for(const e of a){s.setAttribute("uploadProcessed",!0,e.imageElement);const t=n.createLoader(e.promise);t&&(s.setAttribute("src","",e.imageElement),s.setAttribute("uploadId",t.id,e.imageElement))}})),e.editing.view.document.on("dragover",((e,t)=>{t.preventDefault()})),t.on("change",(()=>{const i=t.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),o=new Set;for(const t of i)if("insert"==t.type&&"$text"!=t.name){const i=t.position.nodeAfter,r="$graveyard"==t.position.root.rootName;for(const t of Ae(e,i)){const e=t.getAttribute("uploadId");if(!e)continue;const i=n.loaders.get(e);i&&(r?o.has(e)||i.abort():(o.add(e),this._uploadImageElements.set(e,t),"idle"==i.status&&this._readAndUpload(i)))}}})),this.on("uploadComplete",((e,{imageElement:t,data:i})=>{const n=i.urls?i.urls:i;this.editor.model.change((e=>{e.setAttribute("src",n.default,t),this._parseAndSetSrcsetAttributeOnImage(n,t,e),r.setImageNaturalSizeAttributes(t)}))}),{priority:"low"})}afterInit(){const e=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&e.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&e.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(e){const t=this.editor,i=t.model,n=t.locale.t,o=t.plugins.get(ge.FileRepository),r=t.plugins.get(I.Notification),a=t.plugins.get("ImageUtils"),l=this._uploadImageElements;return i.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","reading",l.get(e.id))})),e.read().then((()=>{const o=e.upload(),r=l.get(e.id);if(s.env.isSafari){const e=t.editing.mapper.toViewElement(r),i=a.findViewImgElement(e);t.editing.view.once("render",(()=>{if(!i.parent)return;const e=t.editing.view.domConverter.mapViewToDom(i.parent);if(!e)return;const n=e.style.display;e.style.display="none",e._ckHack=e.offsetHeight,e.style.display=n}))}return t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Uploading image")),i.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","uploading",r)})),o})).then((o=>{i.enqueueChange({isUndoable:!1},(i=>{const r=l.get(e.id);i.setAttribute("uploadStatus","complete",r),t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Image upload complete")),this.fire("uploadComplete",{data:o,imageElement:r})})),c()})).catch((o=>{if(t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Error during image upload")),"error"!==e.status&&"aborted"!==e.status)throw o;"error"==e.status&&o&&r.showWarning(o,{title:n("Upload failed"),namespace:"upload"}),i.enqueueChange({isUndoable:!1},(t=>{t.remove(l.get(e.id))})),c()}));function c(){i.enqueueChange({isUndoable:!1},(t=>{const i=l.get(e.id);t.removeAttribute("uploadId",i),t.removeAttribute("uploadStatus",i),l.delete(e.id)})),o.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,i){let n=0;const o=Object.keys(e).filter((e=>{const t=parseInt(e,10);if(!isNaN(t))return n=Math.max(n,t),!0})).map((t=>`${e[t]} ${t}w`)).join(", ");if(""!=o){const e={srcset:o};t.hasAttribute("width")||t.hasAttribute("height")||(e.width=n),i.setAttributes(e,t)}}}function Ae(e,t){const i=e.plugins.get("ImageUtils");return Array.from(e.model.createRangeOn(t)).filter((e=>i.isImage(e.item))).map((e=>e.item))}class Ee extends e.Plugin{static get pluginName(){return"ImageUpload"}static get requires(){return[Ce,ue,ke]}}class Se extends I.View{constructor(e){super(e),this.set("imageURLInputValue",""),this.set("isImageSelected",!1),this.set("isEnabled",!0),this.keystrokes=new s.KeystrokeHandler,this.urlInputView=this._createUrlInputView(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-image-insert-url"]},children:[this.urlInputView,{tag:"div",attributes:{class:["ck","ck-image-insert-url__action-row"]}}]})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}_createUrlInputView(){const e=this.locale,t=e.t,i=new I.LabeledFieldView(e,I.createLabeledInputText);return i.bind("label").to(this,"isImageSelected",(e=>t(e?"Update image URL":"Insert image via URL"))),i.bind("isEnabled").to(this),i.fieldView.inputMode="url",i.fieldView.placeholder="https://example.com/image.png",i.fieldView.bind("value").to(this,"imageURLInputValue",(e=>e||"")),i.fieldView.on("input",(()=>{this.imageURLInputValue=i.fieldView.element.value.trim()})),i}focus(){this.urlInputView.focus()}}class Be extends e.Plugin{static get pluginName(){return"ImageInsertViaUrlUI"}static get requires(){return[K,I.Dialog]}init(){this.editor.ui.componentFactory.add("insertImageViaUrl",(()=>this._createToolbarButton())),this.editor.ui.componentFactory.add("menuBar:insertImageViaUrl",(()=>this._createMenuBarButton("standalone")))}afterInit(){this._imageInsertUI=this.editor.plugins.get("ImageInsertUI"),this._imageInsertUI.registerIntegration({name:"url",observable:()=>this.editor.commands.get("insertImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:e=>this._createMenuBarButton(e?"insertOnly":"insertNested")})}_createInsertUrlButton(t){const i=new t(this.editor.locale);return i.icon=e.icons.imageUrl,i.on("execute",(()=>{this._showModal()})),i}_createToolbarButton(){const e=this.editor.locale.t,t=this._createInsertUrlButton(I.ButtonView);return t.tooltip=!0,t.bind("label").to(this._imageInsertUI,"isImageSelected",(t=>e(t?"Update image URL":"Insert image via URL"))),t}_createDropdownButton(){const e=this.editor.locale.t,t=this._createInsertUrlButton(I.ButtonView);return t.withText=!0,t.bind("label").to(this._imageInsertUI,"isImageSelected",(t=>e(t?"Update image URL":"Insert via URL"))),t}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createInsertUrlButton(I.MenuBarMenuListItemButtonView);switch(i.withText=!0,e){case"standalone":i.label=t("Image via URL");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("Via URL")}return i}_createInsertUrlView(){const e=this.editor,t=e.locale,i=e.commands.get("replaceImageSource"),n=e.commands.get("insertImage"),o=new Se(t);return o.bind("isImageSelected").to(this._imageInsertUI),o.bind("isEnabled").toMany([n,i],"isEnabled",((...e)=>e.some((e=>e)))),o}_showModal(){const e=this.editor,t=e.locale.t,i=e.plugins.get("Dialog");this._formView||(this._formView=this._createInsertUrlView(),this._formView.on("submit",(()=>this._handleSave())));const n=e.commands.get("replaceImageSource");this._formView.imageURLInputValue=n.value||"",i.show({id:"insertImageViaUrl",title:this._imageInsertUI.isImageSelected?t("Update image URL"):t("Insert image via URL"),isModal:!0,content:this._formView,actionButtons:[{label:t("Cancel"),withText:!0,onExecute:()=>i.hide()},{label:t("Accept"),class:"ck-button-action",withText:!0,onExecute:()=>this._handleSave()}]})}_handleSave(){this.editor.commands.get("replaceImageSource").isEnabled?this.editor.execute("replaceImageSource",{source:this._formView.imageURLInputValue}):this.editor.execute("insertImage",{source:this._formView.imageURLInputValue}),this.editor.plugins.get("Dialog").hide()}}class Te extends e.Plugin{static get pluginName(){return"ImageInsertViaUrl"}static get requires(){return[Be,K]}}class Ve extends e.Plugin{static get pluginName(){return"ImageInsert"}static get requires(){return[Ee,Te,K]}}const ze=function(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i<n;)o[i]=t(e[i],i,e);return o};const Ue=function(){this.__data__=[],this.size=0};const je=function(e,t){return e===t||e!=e&&t!=t};const Re=function(e,t){for(var i=e.length;i--;)if(je(e[i][0],t))return i;return-1};var Oe=Array.prototype.splice;const Pe=function(e){var t=this.__data__,i=Re(t,e);return!(i<0)&&(i==t.length-1?t.pop():Oe.call(t,i,1),--this.size,!0)};const Ne=function(e){var t=this.__data__,i=Re(t,e);return i<0?void 0:t[i][1]};const Fe=function(e){return Re(this.__data__,e)>-1};const Le=function(e,t){var i=this.__data__,n=Re(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this};function De(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}De.prototype.clear=Ue,De.prototype.delete=Pe,De.prototype.get=Ne,De.prototype.has=Fe,De.prototype.set=Le;const Me=De;const We=function(){this.__data__=new Me,this.size=0};const qe=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i};const $e=function(e){return this.__data__.get(e)};const He=function(e){return this.__data__.has(e)};const Ke="object"==typeof global&&global&&global.Object===Object&&global;var Ge="object"==typeof self&&self&&self.Object===Object&&self;const Je=Ke||Ge||Function("return this")();const Ye=Je.Symbol;var Qe=Object.prototype,Xe=Qe.hasOwnProperty,Ze=Qe.toString,et=Ye?Ye.toStringTag:void 0;const tt=function(e){var t=Xe.call(e,et),i=e[et];try{e[et]=void 0;var n=!0}catch(e){}var o=Ze.call(e);return n&&(t?e[et]=i:delete e[et]),o};var it=Object.prototype.toString;const nt=function(e){return it.call(e)};var ot=Ye?Ye.toStringTag:void 0;const rt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ot&&ot in Object(e)?tt(e):nt(e)};const at=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const st=function(e){if(!at(e))return!1;var t=rt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const lt=Je["__core-js_shared__"];var ct,ut=(ct=/[^.]+$/.exec(lt&<.keys&<.keys.IE_PROTO||""))?"Symbol(src)_1."+ct:"";const gt=function(e){return!!ut&&ut in e};var mt=Function.prototype.toString;const dt=function(e){if(null!=e){try{return mt.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var pt=/^\[object .+?Constructor\]$/,ht=Function.prototype,ft=Object.prototype,bt=ht.toString,kt=ft.hasOwnProperty,vt=RegExp("^"+bt.call(kt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const wt=function(e){return!(!at(e)||gt(e))&&(st(e)?vt:pt).test(dt(e))};const It=function(e,t){return null==e?void 0:e[t]};const _t=function(e,t){var i=It(e,t);return wt(i)?i:void 0};const yt=_t(Je,"Map");const xt=_t(Object,"create");const Ct=function(){this.__data__=xt?xt(null):{},this.size=0};const At=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Et=Object.prototype.hasOwnProperty;const St=function(e){var t=this.__data__;if(xt){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return Et.call(t,e)?t[e]:void 0};var Bt=Object.prototype.hasOwnProperty;const Tt=function(e){var t=this.__data__;return xt?void 0!==t[e]:Bt.call(t,e)};const Vt=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=xt&&void 0===t?"__lodash_hash_undefined__":t,this};function zt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}zt.prototype.clear=Ct,zt.prototype.delete=At,zt.prototype.get=St,zt.prototype.has=Tt,zt.prototype.set=Vt;const Ut=zt;const jt=function(){this.size=0,this.__data__={hash:new Ut,map:new(yt||Me),string:new Ut}};const Rt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const Ot=function(e,t){var i=e.__data__;return Rt(t)?i["string"==typeof t?"string":"hash"]:i.map};const Pt=function(e){var t=Ot(this,e).delete(e);return this.size-=t?1:0,t};const Nt=function(e){return Ot(this,e).get(e)};const Ft=function(e){return Ot(this,e).has(e)};const Lt=function(e,t){var i=Ot(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this};function Dt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Dt.prototype.clear=jt,Dt.prototype.delete=Pt,Dt.prototype.get=Nt,Dt.prototype.has=Ft,Dt.prototype.set=Lt;const Mt=Dt;const Wt=function(e,t){var i=this.__data__;if(i instanceof Me){var n=i.__data__;if(!yt||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Mt(n)}return i.set(e,t),this.size=i.size,this};function qt(e){var t=this.__data__=new Me(e);this.size=t.size}qt.prototype.clear=We,qt.prototype.delete=qe,qt.prototype.get=$e,qt.prototype.has=He,qt.prototype.set=Wt;const $t=qt;const Ht=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const Kt=function(e){return this.__data__.has(e)};function Gt(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new Mt;++t<i;)this.add(e[t])}Gt.prototype.add=Gt.prototype.push=Ht,Gt.prototype.has=Kt;const Jt=Gt;const Yt=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1};const Qt=function(e,t){return e.has(t)};const Xt=function(e,t,i,n,o,r){var a=1&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=r.get(e),u=r.get(t);if(c&&u)return c==t&&u==e;var g=-1,m=!0,d=2&i?new Jt:void 0;for(r.set(e,t),r.set(t,e);++g<s;){var p=e[g],h=t[g];if(n)var f=a?n(h,p,g,t,e,r):n(p,h,g,e,t,r);if(void 0!==f){if(f)continue;m=!1;break}if(d){if(!Yt(t,(function(e,t){if(!Qt(d,t)&&(p===e||o(p,e,i,n,r)))return d.push(t)}))){m=!1;break}}else if(p!==h&&!o(p,h,i,n,r)){m=!1;break}}return r.delete(e),r.delete(t),m};const Zt=Je.Uint8Array;const ei=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i};const ti=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i};var ii=Ye?Ye.prototype:void 0,ni=ii?ii.valueOf:void 0;const oi=function(e,t,i,n,o,r,a){switch(i){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new Zt(e),new Zt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return je(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=ei;case"[object Set]":var l=1&n;if(s||(s=ti),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var u=Xt(s(e),s(t),n,o,r,a);return a.delete(e),u;case"[object Symbol]":if(ni)return ni.call(e)==ni.call(t)}return!1};const ri=function(e,t){for(var i=-1,n=t.length,o=e.length;++i<n;)e[o+i]=t[i];return e};const ai=Array.isArray;const si=function(e,t,i){var n=t(e);return ai(e)?n:ri(n,i(e))};const li=function(e,t){for(var i=-1,n=null==e?0:e.length,o=0,r=[];++i<n;){var a=e[i];t(a,i,e)&&(r[o++]=a)}return r};const ci=function(){return[]};var ui=Object.prototype.propertyIsEnumerable,gi=Object.getOwnPropertySymbols;const mi=gi?function(e){return null==e?[]:(e=Object(e),li(gi(e),(function(t){return ui.call(e,t)})))}:ci;const di=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n};const pi=function(e){return null!=e&&"object"==typeof e};const hi=function(e){return pi(e)&&"[object Arguments]"==rt(e)};var fi=Object.prototype,bi=fi.hasOwnProperty,ki=fi.propertyIsEnumerable;const vi=hi(function(){return arguments}())?hi:function(e){return pi(e)&&bi.call(e,"callee")&&!ki.call(e,"callee")};const wi=function(){return!1};var Ii="object"==typeof exports&&exports&&!exports.nodeType&&exports,_i=Ii&&"object"==typeof module&&module&&!module.nodeType&&module,yi=_i&&_i.exports===Ii?Je.Buffer:void 0;const xi=(yi?yi.isBuffer:void 0)||wi;var Ci=/^(?:0|[1-9]\d*)$/;const Ai=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&Ci.test(e))&&e>-1&&e%1==0&&e<t};const Ei=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Si={};Si["[object Float32Array]"]=Si["[object Float64Array]"]=Si["[object Int8Array]"]=Si["[object Int16Array]"]=Si["[object Int32Array]"]=Si["[object Uint8Array]"]=Si["[object Uint8ClampedArray]"]=Si["[object Uint16Array]"]=Si["[object Uint32Array]"]=!0,Si["[object Arguments]"]=Si["[object Array]"]=Si["[object ArrayBuffer]"]=Si["[object Boolean]"]=Si["[object DataView]"]=Si["[object Date]"]=Si["[object Error]"]=Si["[object Function]"]=Si["[object Map]"]=Si["[object Number]"]=Si["[object Object]"]=Si["[object RegExp]"]=Si["[object Set]"]=Si["[object String]"]=Si["[object WeakMap]"]=!1;const Bi=function(e){return pi(e)&&Ei(e.length)&&!!Si[rt(e)]};const Ti=function(e){return function(t){return e(t)}};var Vi="object"==typeof exports&&exports&&!exports.nodeType&&exports,zi=Vi&&"object"==typeof module&&module&&!module.nodeType&&module,Ui=zi&&zi.exports===Vi&&Ke.process,ji=function(){try{var e=zi&&zi.require&&zi.require("util").types;return e||Ui&&Ui.binding&&Ui.binding("util")}catch(e){}}();var Ri=ji&&ji.isTypedArray;const Oi=Ri?Ti(Ri):Bi;var Pi=Object.prototype.hasOwnProperty;const Ni=function(e,t){var i=ai(e),n=!i&&vi(e),o=!i&&!n&&xi(e),r=!i&&!n&&!o&&Oi(e),a=i||n||o||r,s=a?di(e.length,String):[],l=s.length;for(var c in e)!t&&!Pi.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ai(c,l))||s.push(c);return s};var Fi=Object.prototype;const Li=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fi)};const Di=function(e,t){return function(i){return e(t(i))}}(Object.keys,Object);var Mi=Object.prototype.hasOwnProperty;const Wi=function(e){if(!Li(e))return Di(e);var t=[];for(var i in Object(e))Mi.call(e,i)&&"constructor"!=i&&t.push(i);return t};const qi=function(e){return null!=e&&Ei(e.length)&&!st(e)};const $i=function(e){return qi(e)?Ni(e):Wi(e)};const Hi=function(e){return si(e,$i,mi)};var Ki=Object.prototype.hasOwnProperty;const Gi=function(e,t,i,n,o,r){var a=1&i,s=Hi(e),l=s.length;if(l!=Hi(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Ki.call(t,u)))return!1}var g=r.get(e),m=r.get(t);if(g&&m)return g==t&&m==e;var d=!0;r.set(e,t),r.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],f=t[u];if(n)var b=a?n(f,h,u,t,e,r):n(h,f,u,e,t,r);if(!(void 0===b?h===f||o(h,f,i,n,r):b)){d=!1;break}p||(p="constructor"==u)}if(d&&!p){var k=e.constructor,v=t.constructor;k==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof v&&v instanceof v||(d=!1)}return r.delete(e),r.delete(t),d};const Ji=_t(Je,"DataView");const Yi=_t(Je,"Promise");const Qi=_t(Je,"Set");const Xi=_t(Je,"WeakMap");var Zi="[object Map]",en="[object Promise]",tn="[object Set]",nn="[object WeakMap]",on="[object DataView]",rn=dt(Ji),an=dt(yt),sn=dt(Yi),ln=dt(Qi),cn=dt(Xi),un=rt;(Ji&&un(new Ji(new ArrayBuffer(1)))!=on||yt&&un(new yt)!=Zi||Yi&&un(Yi.resolve())!=en||Qi&&un(new Qi)!=tn||Xi&&un(new Xi)!=nn)&&(un=function(e){var t=rt(e),i="[object Object]"==t?e.constructor:void 0,n=i?dt(i):"";if(n)switch(n){case rn:return on;case an:return Zi;case sn:return en;case ln:return tn;case cn:return nn}return t});const gn=un;var mn="[object Arguments]",dn="[object Array]",pn="[object Object]",hn=Object.prototype.hasOwnProperty;const fn=function(e,t,i,n,o,r){var a=ai(e),s=ai(t),l=a?dn:gn(e),c=s?dn:gn(t),u=(l=l==mn?pn:l)==pn,g=(c=c==mn?pn:c)==pn,m=l==c;if(m&&xi(e)){if(!xi(t))return!1;a=!0,u=!1}if(m&&!u)return r||(r=new $t),a||Oi(e)?Xt(e,t,i,n,o,r):oi(e,t,l,i,n,o,r);if(!(1&i)){var d=u&&hn.call(e,"__wrapped__"),p=g&&hn.call(t,"__wrapped__");if(d||p){var h=d?e.value():e,f=p?t.value():t;return r||(r=new $t),o(h,f,i,n,r)}}return!!m&&(r||(r=new $t),Gi(e,t,i,n,o,r))};const bn=function e(t,i,n,o,r){return t===i||(null==t||null==i||!pi(t)&&!pi(i)?t!=t&&i!=i:fn(t,i,n,o,e,r))};const kn=function(e,t,i,n){var o=i.length,r=o,a=!n;if(null==e)return!r;for(e=Object(e);o--;){var s=i[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<r;){var l=(s=i[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var g=new $t;if(n)var m=n(c,u,l,e,t,g);if(!(void 0===m?bn(u,c,3,n,g):m))return!1}}return!0};const vn=function(e){return e==e&&!at(e)};const wn=function(e){for(var t=$i(e),i=t.length;i--;){var n=t[i],o=e[n];t[i]=[n,o,vn(o)]}return t};const In=function(e,t){return function(i){return null!=i&&(i[e]===t&&(void 0!==t||e in Object(i)))}};const _n=function(e){var t=wn(e);return 1==t.length&&t[0][2]?In(t[0][0],t[0][1]):function(i){return i===e||kn(i,e,t)}};const yn=function(e){return"symbol"==typeof e||pi(e)&&"[object Symbol]"==rt(e)};var xn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cn=/^\w*$/;const An=function(e,t){if(ai(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!yn(e))||(Cn.test(e)||!xn.test(e)||null!=t&&e in Object(t))};function En(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,o=t?t.apply(this,n):n[0],r=i.cache;if(r.has(o))return r.get(o);var a=e.apply(this,n);return i.cache=r.set(o,a)||r,a};return i.cache=new(En.Cache||Mt),i}En.Cache=Mt;const Sn=En;var Bn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tn=/\\(\\)?/g;const Vn=function(e){var t=Sn(e,(function(e){return 500===i.size&&i.clear(),e})),i=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Bn,(function(e,i,n,o){t.push(n?o.replace(Tn,"$1"):i||e)})),t}));var zn=Ye?Ye.prototype:void 0,Un=zn?zn.toString:void 0;const jn=function e(t){if("string"==typeof t)return t;if(ai(t))return ze(t,e)+"";if(yn(t))return Un?Un.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i};const Rn=function(e){return null==e?"":jn(e)};const On=function(e,t){return ai(e)?e:An(e,t)?[e]:Vn(Rn(e))};const Pn=function(e){if("string"==typeof e||yn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};const Nn=function(e,t){for(var i=0,n=(t=On(t,e)).length;null!=e&&i<n;)e=e[Pn(t[i++])];return i&&i==n?e:void 0};const Fn=function(e,t,i){var n=null==e?void 0:Nn(e,t);return void 0===n?i:n};const Ln=function(e,t){return null!=e&&t in Object(e)};const Dn=function(e,t,i){for(var n=-1,o=(t=On(t,e)).length,r=!1;++n<o;){var a=Pn(t[n]);if(!(r=null!=e&&i(e,a)))break;e=e[a]}return r||++n!=o?r:!!(o=null==e?0:e.length)&&Ei(o)&&Ai(a,o)&&(ai(e)||vi(e))};const Mn=function(e,t){return null!=e&&Dn(e,t,Ln)};const Wn=function(e,t){return An(e)&&vn(t)?In(Pn(e),t):function(i){var n=Fn(i,e);return void 0===n&&n===t?Mn(i,e):bn(t,n,3)}};const qn=function(e){return e};const $n=function(e){return function(t){return null==t?void 0:t[e]}};const Hn=function(e){return function(t){return Nn(t,e)}};const Kn=function(e){return An(e)?$n(Pn(e)):Hn(e)};const Gn=function(e){return"function"==typeof e?e:null==e?qn:"object"==typeof e?ai(e)?Wn(e[0],e[1]):_n(e):Kn(e)};const Jn=function(e){return function(t,i,n){for(var o=-1,r=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===i(r[l],l,r))break}return t}}();const Yn=function(e,t){return function(i,n){if(null==i)return i;if(!qi(i))return e(i,n);for(var o=i.length,r=t?o:-1,a=Object(i);(t?r--:++r<o)&&!1!==n(a[r],r,a););return i}}((function(e,t){return e&&Jn(e,t,$i)}));const Qn=function(e,t){var i=-1,n=qi(e)?Array(e.length):[];return Yn(e,(function(e,o,r){n[++i]=t(e,o,r)})),n};const Xn=function(e,t){return(ai(e)?ze:Qn)(e,Gn(t,3))};class Zn extends e.Command{refresh(){const e=this.editor,t=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!t,t&&t.hasAttribute("resizedWidth")?this.value={width:t.getAttribute("resizedWidth"),height:null}:this.value=null}execute(e){const t=this.editor,i=t.model,n=t.plugins.get("ImageUtils"),o=n.getClosestSelectedImageElement(i.document.selection);this.value={width:e.width,height:null},o&&i.change((t=>{t.setAttribute("resizedWidth",e.width,o),t.removeAttribute("resizedHeight",o),n.setImageNaturalSizeAttributes(o)}))}}class eo extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageResizeEditing"}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{name:"resizeImage:custom",value:"custom",icon:"custom"},{name:"resizeImage:25",value:"25",icon:"small"},{name:"resizeImage:50",value:"50",icon:"medium"},{name:"resizeImage:75",value:"75",icon:"large"}]})}init(){const e=this.editor,t=new Zn(e);this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",t),e.commands.add("imageResize",t)}afterInit(){this._registerSchema()}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["resizedWidth","resizedHeight"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["resizedWidth","resizedHeight"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils");t.conversion.for("downcast").add((t=>t.on(`attribute:resizedWidth:${e}`,((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const n=i.writer,o=i.mapper.toViewElement(t.item);null!==t.attributeNewValue?(n.setStyle("width",t.attributeNewValue,o),n.addClass("image_resized",o)):(n.removeStyle("width",o),n.removeClass("image_resized",o))})))),t.conversion.for("dataDowncast").attributeToAttribute({model:{name:e,key:"resizedHeight"},view:e=>({key:"style",value:{height:e}})}),t.conversion.for("editingDowncast").add((t=>t.on(`attribute:resizedHeight:${e}`,((t,n,o)=>{if(!o.consumable.consume(n.item,t.name))return;const r=o.writer,a=o.mapper.toViewElement(n.item),s="imageInline"===e?i.findViewImgElement(a):a;null!==n.attributeNewValue?r.setStyle("height",n.attributeNewValue,s):r.removeStyle("height",s)})))),t.conversion.for("upcast").attributeToAttribute({view:{name:"imageBlock"===e?"figure":"img",styles:{width:/.+/}},model:{key:"resizedWidth",value:e=>d(e)?null:e.getStyle("width")}}),t.conversion.for("upcast").attributeToAttribute({view:{name:"imageBlock"===e?"figure":"img",styles:{height:/.+/}},model:{key:"resizedHeight",value:e=>d(e)?null:e.getStyle("height")}})}}const to=(()=>({small:e.icons.objectSizeSmall,medium:e.icons.objectSizeMedium,large:e.icons.objectSizeLarge,custom:e.icons.objectSizeCustom,original:e.icons.objectSizeFull}))();class io extends e.Plugin{static get requires(){return[eo]}static get pluginName(){return"ImageResizeButtons"}constructor(e){super(e),this._resizeUnit=e.config.get("image.resizeUnit")}init(){const e=this.editor,t=e.config.get("image.resizeOptions"),i=e.commands.get("resizeImage");this.bind("isEnabled").to(i);for(const e of t)this._registerImageResizeButton(e);this._registerImageResizeDropdown(t)}_registerImageResizeButton(e){const t=this.editor,{name:i,value:n,icon:o}=e;t.ui.componentFactory.add(i,(i=>{const r=new I.ButtonView(i),a=t.commands.get("resizeImage"),l=this._getOptionLabelValue(e,!0);if(!to[o])throw new s.CKEditorError("imageresizebuttons-missing-icon",t,e);if(r.set({label:l,icon:to[o],tooltip:l,isToggleable:!0}),r.bind("isEnabled").to(this),t.plugins.has("ImageCustomResizeUI")&&no(e)){const e=t.plugins.get("ImageCustomResizeUI");this.listenTo(r,"execute",(()=>{e._showForm(this._resizeUnit)}))}else{const e=n?n+this._resizeUnit:null;r.bind("isOn").to(a,"value",oo(e)),this.listenTo(r,"execute",(()=>{t.execute("resizeImage",{width:e})}))}return r}))}_registerImageResizeDropdown(e){const t=this.editor,i=t.t,n=e.find((e=>!e.value)),o=o=>{const r=t.commands.get("resizeImage"),a=(0,I.createDropdown)(o,I.DropdownButtonView),s=a.buttonView,l=i("Resize image");return s.set({tooltip:l,commandValue:n.value,icon:to.medium,isToggleable:!0,label:this._getOptionLabelValue(n),withText:!0,class:"ck-resize-image-button",ariaLabel:l,ariaLabelledBy:void 0}),s.bind("label").to(r,"value",(e=>e&&e.width?e.width:this._getOptionLabelValue(n))),a.bind("isEnabled").to(this),(0,I.addListToDropdown)(a,(()=>this._getResizeDropdownListItemDefinitions(e,r)),{ariaLabel:i("Image resize list"),role:"menu"}),this.listenTo(a,"execute",(e=>{"onClick"in e.source?e.source.onClick():(t.execute(e.source.commandName,{width:e.source.commandValue}),t.editing.view.focus())})),a};t.ui.componentFactory.add("resizeImage",o),t.ui.componentFactory.add("imageResize",o)}_getOptionLabelValue(e,t=!1){const i=this.editor.t;return e.label?e.label:t?no(e)?i("Custom image size"):e.value?i("Resize image to %0",e.value+this._resizeUnit):i("Resize image to the original size"):no(e)?i("Custom"):e.value?e.value+this._resizeUnit:i("Original")}_getResizeDropdownListItemDefinitions(e,t){const{editor:i}=this,n=new s.Collection,o=e.map((e=>no(e)?{...e,valueWithUnits:"custom"}:e.value?{...e,valueWithUnits:`${e.value}${this._resizeUnit}`}:{...e,valueWithUnits:null}));for(const e of o){let r=null;if(i.plugins.has("ImageCustomResizeUI")&&no(e)){const n=i.plugins.get("ImageCustomResizeUI");r={type:"button",model:new I.ViewModel({label:this._getOptionLabelValue(e),role:"menuitemradio",withText:!0,icon:null,onClick:()=>{n._showForm(this._resizeUnit)}})};const a=Xn(o,"valueWithUnits");r.model.bind("isOn").to(t,"value",ro(a))}else r={type:"button",model:new I.ViewModel({commandName:"resizeImage",commandValue:e.valueWithUnits,label:this._getOptionLabelValue(e),role:"menuitemradio",withText:!0,icon:null})},r.model.bind("isOn").to(t,"value",oo(e.valueWithUnits));r.model.bind("isEnabled").to(t,"isEnabled"),n.add(r)}return n}}function no(e){return"custom"===e.value}function oo(e){return t=>null===e&&t===e||null!==t&&t.width===e}function ro(e){return t=>!e.some((e=>oo(e)(t)))}const ao="image_resized";class so extends e.Plugin{static get requires(){return[l.WidgetResize,h]}static get pluginName(){return"ImageResizeHandles"}init(){const e=this.editor.commands.get("resizeImage");this.bind("isEnabled").to(e),this._setupResizerCreator()}_setupResizerCreator(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils");t.addObserver(j),this.listenTo(t.document,"imageLoaded",((n,o)=>{if(!o.target.matches("figure.image.ck-widget > img,figure.image.ck-widget > picture > img,figure.image.ck-widget > a > img,figure.image.ck-widget > a > picture > img,span.image-inline.ck-widget > img,span.image-inline.ck-widget > picture > img"))return;const r=e.editing.view.domConverter,a=r.domToView(o.target),s=i.getImageWidgetFromImageView(a);let c=this.editor.plugins.get(l.WidgetResize).getResizerByViewElement(s);if(c)return void c.redraw();const u=e.editing.mapper,g=u.toModelElement(s);c=e.plugins.get(l.WidgetResize).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:g,viewElement:s,editor:e,getHandleHost:e=>e.querySelector("img"),getResizeHost:()=>r.mapViewToDom(u.toViewElement(g)),isCentered:()=>"alignCenter"==g.getAttribute("imageStyle"),onCommit(i){t.change((e=>{e.removeClass(ao,s)})),e.execute("resizeImage",{width:i})}}),c.on("updateSize",(()=>{s.hasClass(ao)||t.change((e=>{e.addClass(ao,s)}));const e="imageInline"===g.name?a:s;e.getStyle("height")&&t.change((t=>{t.removeStyle("height",e)}))})),c.bind("isEnabled").to(this)}))}}function lo(e){if(!e)return null;const[,t,i]=e.trim().match(/([.,\d]+)(%|px)$/)||[],n=Number.parseFloat(t);return Number.isNaN(n)?null:{value:n,unit:i}}function co(e,t,i){return"px"===i?{value:t.value,unit:"px"}:{value:t.value/e*100,unit:"%"}}function uo(e){const{editing:t}=e,i=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);if(!i)return null;const n=t.mapper.toViewElement(i);return{model:i,view:n,dom:t.view.domConverter.mapViewToDom(n)}}var go=i(429),mo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(go.A,mo);go.A.locals;class po extends I.View{constructor(t,i,n){super(t);const o=this.locale.t;this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this.unit=i,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(o("Save"),e.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(o("Cancel"),e.icons.cancel,"ck-button-cancel","cancel"),this._focusables=new I.ViewCollection,this._validators=n,this._focusCycler=new I.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-custom-resize-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),(0,I.submitHandler)({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(e,t,i,n){const o=new I.ButtonView(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:i}}),n&&o.delegate("execute").to(this,n),o}_createLabeledInputView(){const e=this.locale.t,t=new I.LabeledFieldView(this.locale,I.createLabeledInputNumber);return t.label=e("Resize image (in %0)",this.unit),t.fieldView.set({step:.1}),t}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.labeledInput.errorText=t,!1}return!0}resetFormStatus(){this.labeledInput.errorText=null}get rawSize(){const{element:e}=this.labeledInput.fieldView;return e?e.value:null}get parsedSize(){const{rawSize:e}=this;if(null===e)return null;const t=Number.parseFloat(e);return Number.isNaN(t)?null:t}get sizeWithUnits(){const{parsedSize:e,unit:t}=this;return null===e?null:`${e}${t}`}}class ho extends e.Plugin{static get requires(){return[I.ContextualBalloon]}static get pluginName(){return"ImageCustomResizeUI"}destroy(){super.destroy(),this._form&&this._form.destroy()}_createForm(e){const t=this.editor;this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new((0,I.CssTransitionDisablerMixin)(po))(t.locale,e,function(e){const t=e.t;return[e=>""===e.rawSize.trim()?t("The value must not be empty."):null===e.parsedSize?t("The value should be a plain number."):void 0]}(t)),this._form.render(),this.listenTo(this._form,"submit",(()=>{this._form.isValid()&&(t.execute("resizeImage",{width:this._form.sizeWithUnits}),this._hideForm(!0))})),this.listenTo(this._form.labeledInput,"change:errorText",(()=>{t.ui.update()})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((e,t)=>{this._hideForm(!0),t()})),(0,I.clickOutsideHandler)({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(e){if(this._isVisible)return;this._form||this._createForm(e);const t=this.editor,i=this._form.labeledInput;this._form.disableCssTransitions(),this._form.resetFormStatus(),this._isInBalloon||this._balloon.add({view:this._form,position:B(t)});const n=function(e,t){const i=uo(e);if(!i)return null;const n=lo(i.model.getAttribute("resizedWidth")||null);return n?n.unit===t?n:co((0,l.calculateResizeHostAncestorWidth)(i.dom),{unit:"px",value:new s.Rect(i.dom).width},t):null}(t,e),o=n?n.value.toFixed(1):"",r=function(e,t){const i=uo(e);if(!i)return null;const n=(0,l.calculateResizeHostAncestorWidth)(i.dom),o=lo(window.getComputedStyle(i.dom).minWidth)||{value:1,unit:"px"};return{unit:t,lower:Math.max(.1,co(n,o,t).value),upper:"px"===t?n:100}}(t,e);i.fieldView.value=i.fieldView.element.value=o,r&&Object.assign(i.fieldView,{min:r.lower.toFixed(1),max:Math.ceil(r.upper).toFixed(1)}),this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}var fo=i(278),bo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(fo.A,bo);fo.A.locals;class ko extends e.Plugin{static get requires(){return[eo,so,ho,io]}static get pluginName(){return"ImageResize"}}class vo extends e.Command{constructor(e,t){super(e),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(t.map((e=>{if(e.isDefault)for(const t of e.modelElements)this._defaultStyles[t]=e.name;return[e.name,e]})))}refresh(){const e=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?e.hasAttribute("imageStyle")?this.value=e.getAttribute("imageStyle"):this.value=this._defaultStyles[e.name]:this.value=!1}execute(e={}){const t=this.editor,i=t.model,n=t.plugins.get("ImageUtils");i.change((t=>{const o=e.value,{setImageSizes:r=!0}=e;let a=n.getClosestSelectedImageElement(i.document.selection);o&&this.shouldConvertImageType(o,a)&&(this.editor.execute(n.isBlockImage(a)?"imageTypeInline":"imageTypeBlock",{setImageSizes:r}),a=n.getClosestSelectedImageElement(i.document.selection)),!o||this._styles.get(o).isDefault?t.removeAttribute("imageStyle",a):t.setAttribute("imageStyle",o,a),r&&n.setImageNaturalSizeAttributes(a)}))}shouldConvertImageType(e,t){return!this._styles.get(e).modelElements.includes(t.name)}}const wo={get inline(){return{name:"inline",title:"In line",icon:e.icons.objectInline,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:e.icons.objectLeft,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:e.icons.objectBlockLeft,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:e.icons.objectCenter,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:e.icons.objectRight,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:e.icons.objectBlockRight,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:e.icons.objectCenter,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:e.icons.objectRight,modelElements:["imageBlock"],className:"image-style-side"}}},Io=(()=>({full:e.icons.objectFullWidth,left:e.icons.objectBlockLeft,right:e.icons.objectBlockRight,center:e.icons.objectCenter,inlineLeft:e.icons.objectLeft,inlineRight:e.icons.objectRight,inline:e.icons.objectInline}))(),_o=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function yo(e){(0,s.logWarning)("image-style-configuration-definition-invalid",e)}const xo={normalizeStyles:function(e){return(e.configuredStyles.options||[]).map((e=>function(e){e="string"==typeof e?wo[e]?{...wo[e]}:{name:e}:function(e,t){const i={...t};for(const n in e)Object.prototype.hasOwnProperty.call(t,n)||(i[n]=e[n]);return i}(wo[e.name],e);"string"==typeof e.icon&&(e.icon=Io[e.icon]||e.icon);return e}(e))).filter((t=>function(e,{isBlockPluginLoaded:t,isInlinePluginLoaded:i}){const{modelElements:n,name:o}=e;if(!(n&&n.length&&o))return yo({style:e}),!1;{const o=[t?"imageBlock":null,i?"imageInline":null];if(!n.some((e=>o.includes(e))))return(0,s.logWarning)("image-style-missing-dependency",{style:e,missingPlugins:n.map((e=>"imageBlock"===e?"ImageBlockEditing":"ImageInlineEditing"))}),!1}return!0}(t,e)))},getDefaultStylesConfiguration:function(e,t){return e&&t?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:e?{options:["block","side"]}:t?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(e){return e.has("ImageBlockEditing")&&e.has("ImageInlineEditing")?[..._o]:[]},warnInvalidStyle:yo,DEFAULT_OPTIONS:wo,DEFAULT_ICONS:Io,DEFAULT_DROPDOWN_DEFINITIONS:_o};function Co(e,t){for(const i of t)if(i.name===e)return i}class Ao extends e.Plugin{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[h]}init(){const{normalizeStyles:e,getDefaultStylesConfiguration:t}=xo,i=this.editor,n=i.plugins.has("ImageBlockEditing"),o=i.plugins.has("ImageInlineEditing");i.config.define("image.styles",t(n,o)),this.normalizedStyles=e({configuredStyles:i.config.get("image.styles"),isBlockPluginLoaded:n,isInlinePluginLoaded:o}),this._setupConversion(n,o),this._setupPostFixer(),i.commands.add("imageStyle",new vo(i,this.normalizedStyles))}_setupConversion(e,t){const i=this.editor,n=i.model.schema,o=(r=this.normalizedStyles,(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const n=Co(t.attributeNewValue,r),o=Co(t.attributeOldValue,r),a=i.mapper.toViewElement(t.item),s=i.writer;o&&s.removeClass(o.className,a),n&&s.addClass(n.className,a)});var r;const a=function(e){const t={imageInline:e.filter((e=>!e.isDefault&&e.modelElements.includes("imageInline"))),imageBlock:e.filter((e=>!e.isDefault&&e.modelElements.includes("imageBlock")))};return(e,i,n)=>{if(!i.modelRange)return;const o=i.viewItem,r=(0,s.first)(i.modelRange.getItems());if(r&&n.schema.checkAttribute(r,"imageStyle"))for(const e of t[r.name])n.consumable.consume(o,{classes:e.className})&&n.writer.setAttribute("imageStyle",e.name,r)}}(this.normalizedStyles);i.editing.downcastDispatcher.on("attribute:imageStyle",o),i.data.downcastDispatcher.on("attribute:imageStyle",o),e&&(n.extend("imageBlock",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:figure",a,{priority:"low"})),t&&(n.extend("imageInline",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:img",a,{priority:"low"}))}_setupPostFixer(){const e=this.editor,t=e.model.document,i=e.plugins.get(h),n=new Map(this.normalizedStyles.map((e=>[e.name,e])));t.registerPostFixer((e=>{let o=!1;for(const r of t.differ.getChanges())if("insert"==r.type||"attribute"==r.type&&"imageStyle"==r.attributeKey){let t="insert"==r.type?r.position.nodeAfter:r.range.start.nodeAfter;if(t&&t.is("element","paragraph")&&t.childCount>0&&(t=t.getChild(0)),!i.isImage(t))continue;const a=t.getAttribute("imageStyle");if(!a)continue;const s=n.get(a);s&&s.modelElements.includes(t.name)||(e.removeAttribute("imageStyle",t),o=!0)}return o}))}}var Eo=i(895),So={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};y()(Eo.A,So);Eo.A.locals;class Bo extends e.Plugin{static get requires(){return[Ao]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const e=this.editor.t;return{"Wrap text":e("Wrap text"),"Break text":e("Break text"),"In line":e("In line"),"Full size image":e("Full size image"),"Side image":e("Side image"),"Left aligned image":e("Left aligned image"),"Centered image":e("Centered image"),"Right aligned image":e("Right aligned image")}}init(){const e=this.editor.plugins,t=this.editor.config.get("image.toolbar")||[],i=To(e.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const e of i)this._createButton(e);const n=To([...t.filter(at),...xo.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const e of n)this._createDropdown(e,i)}_createDropdown(e,t){const i=this.editor.ui.componentFactory;i.add(e.name,(n=>{let o;const{defaultItem:r,items:a,title:s}=e,l=a.filter((e=>t.find((({name:t})=>Vo(t)===e)))).map((e=>{const t=i.create(e);return e===r&&(o=t),t}));a.length!==l.length&&xo.warnInvalidStyle({dropdown:e});const c=(0,I.createDropdown)(n,I.SplitButtonView),u=c.buttonView,g=u.arrowView;return(0,I.addToolbarToDropdown)(c,l,{enableActiveItemFocusOnDropdownOpen:!0}),u.set({label:zo(s,o.label),class:null,tooltip:!0}),g.unbind("label"),g.set({label:s}),u.bind("icon").toMany(l,"isOn",((...e)=>{const t=e.findIndex(qn);return t<0?o.icon:l[t].icon})),u.bind("label").toMany(l,"isOn",((...e)=>{const t=e.findIndex(qn);return zo(s,t<0?o.label:l[t].label)})),u.bind("isOn").toMany(l,"isOn",((...e)=>e.some(qn))),u.bind("class").toMany(l,"isOn",((...e)=>e.some(qn)?"ck-splitbutton_flatten":void 0)),u.on("execute",(()=>{l.some((({isOn:e})=>e))?c.isOpen=!c.isOpen:o.fire("execute")})),c.bind("isEnabled").toMany(l,"isEnabled",((...e)=>e.some(qn))),this.listenTo(c,"execute",(()=>{this.editor.editing.view.focus()})),c}))}_createButton(e){const t=e.name;this.editor.ui.componentFactory.add(Vo(t),(i=>{const n=this.editor.commands.get("imageStyle"),o=new I.ButtonView(i);return o.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),o.bind("isEnabled").to(n,"isEnabled"),o.bind("isOn").to(n,"value",(e=>e===t)),o.on("execute",this._executeCommand.bind(this,t)),o}))}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function To(e,t){for(const i of e)t[i.title]&&(i.title=t[i.title]);return e}function Vo(e){return`imageStyle:${e}`}function zo(e,t){return(e?e+": ":"")+t}class Uo extends e.Plugin{static get requires(){return[Ao,Bo]}static get pluginName(){return"ImageStyle"}}class jo extends e.Plugin{static get requires(){return[l.WidgetToolbarRepository,h]}static get pluginName(){return"ImageToolbar"}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(l.WidgetToolbarRepository),n=e.plugins.get("ImageUtils");var o;i.register("image",{ariaLabel:t("Image toolbar"),items:(o=e.config.get("image.toolbar")||[],o.map((e=>at(e)?e.name:e))),getRelatedElement:e=>n.getClosestSelectedImageWidget(e)})}}class Ro extends e.Plugin{static get requires(){return[P,h]}static get pluginName(){return"PictureEditing"}afterInit(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.model.schema.extend("imageBlock",{allowAttributes:["sources"]}),e.plugins.has("ImageInlineEditing")&&e.model.schema.extend("imageInline",{allowAttributes:["sources"]}),this._setupConversion(),this._setupImageUploadEditingIntegration()}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("upcast").add(function(e){const t=["srcset","media","type","sizes"],i=(i,n,o)=>{const r=n.viewItem;if(!o.consumable.test(r,{name:!0}))return;const a=new Map;for(const e of r.getChildren())if(e.is("element","source")){const i={};for(const n of t)e.hasAttribute(n)&&o.consumable.test(e,{attributes:n})&&(i[n]=e.getAttribute(n));Object.keys(i).length&&a.set(e,i)}const l=e.findViewImgElement(r);if(!l)return;let c=n.modelCursor.parent;if(!c.is("element","imageBlock")){const e=o.convertItem(l,n.modelCursor);n.modelRange=e.modelRange,n.modelCursor=e.modelCursor,c=(0,s.first)(e.modelRange.getItems())}o.consumable.consume(r,{name:!0});for(const[e,t]of a)o.consumable.consume(e,{attributes:Object.keys(t)});a.size&&o.writer.setAttribute("sources",Array.from(a.values()),c),o.convertChildren(r,c)};return e=>{e.on("element:picture",i)}}(i)),t.for("downcast").add(function(e){const t=(t,i,n)=>{if(!n.consumable.consume(i.item,t.name))return;const o=n.writer,r=n.mapper.toViewElement(i.item),a=e.findViewImgElement(r),s=i.attributeNewValue;if(s&&s.length){const e=o.createContainerElement("picture",null,s.map((e=>o.createEmptyElement("source",e)))),t=[];let i=a.parent;for(;i&&i.is("attributeElement");){const e=i.parent;o.unwrap(o.createRangeOn(a),i),t.unshift(i),i=e}o.insert(o.createPositionBefore(a),e),o.move(o.createRangeOn(a),o.createPositionAt(e,"end"));for(const i of t)o.wrap(o.createRangeOn(e),i)}else if(a.parent.is("element","picture")){const e=a.parent;o.move(o.createRangeOn(a),o.createPositionBefore(e)),o.remove(e)}};return e=>{e.on("attribute:sources:imageBlock",t),e.on("attribute:sources:imageInline",t)}}(i))}_setupImageUploadEditingIntegration(){const e=this.editor;if(!e.plugins.has("ImageUploadEditing"))return;const t=e.plugins.get("ImageUploadEditing");this.listenTo(t,"uploadComplete",((t,{imageElement:i,data:n})=>{const o=n.sources;o&&e.model.change((e=>{e.setAttributes({sources:o},i)}))}))}}})(),(window.CKEditor5=window.CKEditor5||{}).image=n})(); \ No newline at end of file + */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const s=a},934:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}",""]);const s=a},406:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highlighted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}@media (forced-colors:active){.ck-content .image>figcaption{background-color:unset;color:unset}}@media (forced-colors:none){.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:none}}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highlighted-background)}to{background-color:var(--ck-color-image-caption-background)}}",""]);const s=a},429:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck.ck-image-custom-resize-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-image-custom-resize-form .ck-labeled-field-view{display:inline-block}.ck.ck-image-custom-resize-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-image-custom-resize-form{flex-wrap:wrap}.ck.ck-image-custom-resize-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-image-custom-resize-form .ck-button{flex-basis:50%}}",""]);const s=a},489:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck.ck-image-insert-url{padding:var(--ck-spacing-large) var(--ck-spacing-large) 0;width:400px}.ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width);padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}",""]);const s=a},571:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}",""]);const s=a},278:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}",""]);const s=a},895:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image.image-style-block-align-left,.ck-content .image.image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image.image-style-align-left,.ck-content .image.image-style-align-right{clear:none}.ck-content .image.image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image.image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image.image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image.image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image.image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content p+.image.image-style-align-left,.ck-content p+.image.image-style-align-right,.ck-content p+.image.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}",""]);const s=a},854:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.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:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0s,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@media (prefers-reduced-motion:reduce){.ck-image-upload-complete-icon{animation-duration:0s}.ck-image-upload-complete-icon:after{animation:none;height:.45em;opacity:1;width:.3em}}@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%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',""]);const s=a},424:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',""]);const s=a},184:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:none;opacity:1}}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}",""]);const s=a},285:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(758),o=i.n(n),r=i(935),a=i.n(r)()(o());a.push([e.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{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-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}",""]);const s=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,o,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==r&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),i&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=i):u[2]=i),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var r={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=r[c]||0,g="".concat(c," ").concat(u);r[c]=u+1;var m=i(g),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==m)t[m].references++,t[m].updater(d);else{var p=o(d,n);n.byIndex=s,t.splice(s,0,{identifier:g,updater:p,references:1})}a.push(g)}return a}function o(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,o){var r=n(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<r.length;a++){var s=i(r[a]);t[s].references--}for(var l=n(e,o),c=0;c<r.length;c++){var u=i(r[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}r=l}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,o){var r;if(n)r="";else{r="",o.supports&&(r+="@supports (".concat(o.supports,") {")),o.media&&(r+="@media ".concat(o.media," {"));var a=void 0!==o.layer;a&&(r+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),r+=o.css,a&&(r+="}"),o.media&&(r+="}"),o.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var s=document.createTextNode(r),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(s,l[t]):e.appendChild(s)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,i=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},251:(e,t,i)=>{e.exports=i(237)("./src/undo.js")},260:(e,t,i)=>{e.exports=i(237)("./src/upload.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AutoImage:()=>k,Image:()=>se,ImageBlock:()=>oe,ImageBlockEditing:()=>Q,ImageCaption:()=>pe,ImageCaptionEditing:()=>ue,ImageCaptionUI:()=>ge,ImageCaptionUtils:()=>le,ImageCustomResizeUI:()=>yo,ImageEditing:()=>$,ImageInline:()=>ae,ImageInsert:()=>Ne,ImageInsertUI:()=>te,ImageInsertViaUrl:()=>Fe,ImageResize:()=>Eo,ImageResizeButtons:()=>uo,ImageResizeEditing:()=>lo,ImageResizeHandles:()=>fo,ImageSizeAttributes:()=>H,ImageStyle:()=>Do,ImageStyleEditing:()=>Oo,ImageStyleUI:()=>jo,ImageTextAlternative:()=>N,ImageTextAlternativeEditing:()=>w,ImageTextAlternativeUI:()=>F,ImageToolbar:()=>Mo,ImageUpload:()=>Pe,ImageUploadEditing:()=>Ue,ImageUploadProgress:()=>Ee,ImageUploadUI:()=>ke,ImageUtils:()=>h,PictureEditing:()=>Wo,createImageTypeRegExp:()=>he});var e=i(782),t=i(331),o=i(783),r=i(251),a=i(834),s=i(584),l=i(901);function c(e){return e.createContainerElement("figure",{class:"image"},[e.createEmptyElement("img"),e.createSlot("children")])}function u(e,t){const i=e.plugins.get("ImageUtils"),n=e.plugins.has("ImageInlineEditing")&&e.plugins.has("ImageBlockEditing");return e=>{if(!i.isInlineImageView(e))return null;if(!n)return o(e);return("block"==e.getStyle("display")||e.findAncestor(i.isBlockImageView)?"imageBlock":"imageInline")!==t?null:o(e)};function o(e){const t={name:!0};return e.hasAttribute("src")&&(t.attributes=["src"]),t}}function g(e,t){const i=(0,s.first)(t.getSelectedBlocks());return!i||e.isObject(i)||i.isEmpty&&"listItem"!=i.name?"imageBlock":"imageInline"}function m(e){return e&&e.endsWith("px")?parseInt(e):null}function d(e){const t=m(e.getStyle("width")),i=m(e.getStyle("height"));return!(!t||!i)}const p=/^(image|image-inline)$/;class h extends e.Plugin{constructor(){super(...arguments),this._domEmitter=new((0,s.DomEmitterMixin)())}static get pluginName(){return"ImageUtils"}static get isOfficialPlugin(){return!0}isImage(e){return this.isInlineImage(e)||this.isBlockImage(e)}isInlineImageView(e){return!!e&&e.is("element","img")}isBlockImageView(e){return!!e&&e.is("element","figure")&&e.hasClass("image")}insertImage(e={},t=null,i=null,n={}){const o=this.editor,r=o.model,a=r.document.selection,s=f(o,t||a,i);e={...Object.fromEntries(a.getAttributes()),...e};for(const t in e)r.schema.checkAttribute(s,t)||delete e[t];return r.change((i=>{const{setImageSizes:o=!0}=n,a=i.createElement(s,e);return r.insertObject(a,t,null,{setSelection:"on",findOptimalPosition:t||"imageInline"==s?void 0:"auto"}),a.parent?(o&&this.setImageNaturalSizeAttributes(a),a):null}))}setImageNaturalSizeAttributes(e){const t=e.getAttribute("src");t&&(e.getAttribute("width")||e.getAttribute("height")||this.editor.model.change((i=>{const n=new s.global.window.Image;this._domEmitter.listenTo(n,"load",(()=>{e.getAttribute("width")||e.getAttribute("height")||this.editor.model.enqueueChange(i.batch,(t=>{t.setAttribute("width",n.naturalWidth,e),t.setAttribute("height",n.naturalHeight,e)})),this._domEmitter.stopListening(n,"load")})),n.src=t})))}getClosestSelectedImageWidget(e){const t=e.getFirstPosition();if(!t)return null;const i=e.getSelectedElement();if(i&&this.isImageWidget(i))return i;let n=t.parent;for(;n;){if(n.is("element")&&this.isImageWidget(n))return n;n=n.parent}return null}getClosestSelectedImageElement(e){const t=e.getSelectedElement();return this.isImage(t)?t:e.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(e){return e.findAncestor({classes:p})}isImageAllowed(){const e=this.editor.model.document.selection;return function(e,t){const i=f(e,t,null);if("imageBlock"==i){const i=function(e,t){const i=(0,l.findOptimalInsertionRange)(e,t),n=i.start.parent;if(n.isEmpty&&!n.is("element","$root"))return n.parent;return n}(t,e.model);if(e.model.schema.checkChild(i,"imageBlock"))return!0}else if(e.model.schema.checkChild(t.focus,"imageInline"))return!0;return!1}(this.editor,e)&&function(e){return[...e.focus.getAncestors()].every((e=>!e.is("element","imageBlock")))}(e)}toImageWidget(e,t,i){t.setCustomProperty("image",!0,e);return(0,l.toWidget)(e,t,{label:()=>{const t=this.findViewImgElement(e).getAttribute("alt");return t?`${t} ${i}`:i}})}isImageWidget(e){return!!e.getCustomProperty("image")&&(0,l.isWidget)(e)}isBlockImage(e){return!!e&&e.is("element","imageBlock")}isInlineImage(e){return!!e&&e.is("element","imageInline")}findViewImgElement(e){if(this.isInlineImageView(e))return e;const t=this.editor.editing.view;for(const{item:i}of t.createRangeIn(e))if(this.isInlineImageView(i))return i}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function f(e,t,i){const n=e.model.schema,o=e.config.get("image.insert.type");return e.plugins.has("ImageBlockEditing")?e.plugins.has("ImageInlineEditing")?i||("inline"===o?"imageInline":"auto"!==o?"imageBlock":t.is("selection")?g(n,t):n.checkChild(t,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}const b=new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class k extends e.Plugin{static get requires(){return[t.Clipboard,h,r.Undo,a.Delete]}static get pluginName(){return"AutoImage"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._timeoutId=null,this._positionToInsert=null}init(){const e=this.editor,t=e.model.document,i=e.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",(()=>{const e=t.selection.getFirstRange(),i=o.LivePosition.fromPosition(e.start);i.stickiness="toPrevious";const n=o.LivePosition.fromPosition(e.end);n.stickiness="toNext",t.once("change:data",(()=>{this._embedImageBetweenPositions(i,n),i.detach(),n.detach()}),{priority:"high"})})),e.commands.get("undo").on("execute",(()=>{this._timeoutId&&(s.global.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedImageBetweenPositions(e,t){const i=this.editor,n=new o.LiveRange(e,t),r=n.getWalker({ignoreElementEnd:!0}),a=Object.fromEntries(i.model.document.selection.getAttributes()),s=this.editor.plugins.get("ImageUtils");let l="";for(const e of r)e.item.is("$textProxy")&&(l+=e.item.data);l=l.trim(),l.match(b)?(this._positionToInsert=o.LivePosition.fromPosition(e),this._timeoutId=setTimeout((()=>{if(!i.commands.get("insertImage").isEnabled)return void n.detach();i.model.change((e=>{let t;this._timeoutId=null,e.remove(n),n.detach(),"$graveyard"!==this._positionToInsert.root.rootName&&(t=this._positionToInsert.toPosition()),s.insertImage({...a,src:l},t),this._positionToInsert.detach(),this._positionToInsert=null}));i.plugins.get("Delete").requestUndoOnBackspace()}),100)):n.detach()}}class v extends e.Command{refresh(){const e=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled&&e.hasAttribute("alt")?this.value=e.getAttribute("alt"):this.value=!1}execute(e){const t=this.editor,i=t.plugins.get("ImageUtils"),n=t.model,o=i.getClosestSelectedImageElement(n.document.selection);n.change((t=>{t.setAttribute("alt",e.newValue,o)}))}}class w extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageTextAlternativeEditing"}static get isOfficialPlugin(){return!0}init(){this.editor.commands.add("imageTextAlternative",new v(this.editor))}}var I=i(311),_=i(591),y=i.n(_),A=i(639),x=i.n(A),E=i(128),C=i.n(E),S=i(21),B=i.n(S),V=i(51),T=i.n(V),z=i(285),U={attributes:{"data-cke":!0}};U.setAttributes=B(),U.insert=C().bind(null,"head"),U.domAPI=x(),U.insertStyleElement=T();y()(z.A,U);z.A&&z.A.locals&&z.A.locals;var O=i(501),P={attributes:{"data-cke":!0}};P.setAttributes=B(),P.insert=C().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=T();y()(O.A,P);O.A&&O.A.locals&&O.A.locals;class R extends I.View{constructor(t){super(t);const i=this.locale.t;this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(i("Save"),e.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(i("Cancel"),e.icons.cancel,"ck-button-cancel","cancel"),this._focusables=new I.ViewCollection,this._focusCycler=new I.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),(0,I.submitHandler)({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(e,t,i,n){const o=new I.ButtonView(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:i}}),n&&o.delegate("execute").to(this,n),o}_createLabeledInputView(){const e=this.locale.t,t=new I.LabeledFieldView(this.locale,I.createLabeledInputText);return t.label=e("Text alternative"),t}}function j(e){const t=e.editing.view,i=I.BalloonPanelView.defaultPositions,n=e.plugins.get("ImageUtils");return{target:t.domConverter.mapViewToDom(n.getClosestSelectedImageWidget(t.document.selection)),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast,i.viewportStickyNorth]}}class F extends e.Plugin{static get requires(){return[I.ContextualBalloon]}static get pluginName(){return"ImageTextAlternativeUI"}static get isOfficialPlugin(){return!0}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const t=this.editor,i=t.t;t.ui.componentFactory.add("imageTextAlternative",(n=>{const o=t.commands.get("imageTextAlternative"),r=new I.ButtonView(n);return r.set({label:i("Change image text alternative"),icon:e.icons.textAlternative,tooltip:!0}),r.bind("isEnabled").to(o,"isEnabled"),r.bind("isOn").to(o,"value",(e=>!!e)),this.listenTo(r,"execute",(()=>{this._showForm()})),r}))}_createForm(){const e=this.editor,t=e.editing.view.document,i=e.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new((0,I.CssTransitionDisablerMixin)(R))(e.locale),this._form.render(),this.listenTo(this._form,"submit",(()=>{e.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((e,t)=>{this._hideForm(!0),t()})),this.listenTo(e.ui,"update",(()=>{i.getClosestSelectedImageWidget(t.selection)?this._isVisible&&function(e){const t=e.plugins.get("ContextualBalloon");if(e.plugins.get("ImageUtils").getClosestSelectedImageWidget(e.editing.view.document.selection)){const i=j(e);t.updatePosition(i)}}(e):this._hideForm(!0)})),(0,I.clickOutsideHandler)({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const e=this.editor,t=e.commands.get("imageTextAlternative"),i=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:j(e)}),i.fieldView.value=i.fieldView.element.value=t.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class N extends e.Plugin{static get requires(){return[w,F]}static get pluginName(){return"ImageTextAlternative"}static get isOfficialPlugin(){return!0}}function L(e,t){const i=(t,i,n)=>{if(!n.consumable.consume(i.item,t.name))return;const o=n.writer,r=n.mapper.toViewElement(i.item),a=e.findViewImgElement(r);null===i.attributeNewValue?(o.removeAttribute("srcset",a),o.removeAttribute("sizes",a)):i.attributeNewValue&&(o.setAttribute("srcset",i.attributeNewValue,a),o.setAttribute("sizes","100vw",a))};return e=>{e.on(`attribute:srcset:${t}`,i)}}function D(e,t,i){const n=(t,i,n)=>{if(!n.consumable.consume(i.item,t.name))return;const o=n.writer,r=n.mapper.toViewElement(i.item),a=e.findViewImgElement(r);o.setAttribute(i.attributeKey,i.attributeNewValue||"",a)};return e=>{e.on(`attribute:${i}:${t}`,n)}}class M extends o.Observer{observe(e){this.listenTo(e,"load",((e,t)=>{const i=t.target;this.checkShouldIgnoreEventFromTarget(i)||"IMG"==i.tagName&&this._fireEvents(t)}),{useCapture:!0})}stopObserving(e){this.stopListening(e)}_fireEvents(e){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",e))}}class W extends e.Command{constructor(e){super(e);const t=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||"block"===t&&(0,s.logWarning)("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||"inline"===t&&(0,s.logWarning)("image-inline-plugin-required")}refresh(){const e=this.editor.plugins.get("ImageUtils");this.isEnabled=e.isImageAllowed()}execute(e){const t=(0,s.toArray)(e.source),i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageUtils"),o=Object.fromEntries(i.getAttributes());t.forEach(((t,r)=>{const a=i.getSelectedElement();if("string"==typeof t&&(t={src:t}),r&&a&&n.isImage(a)){const i=this.editor.model.createPositionAfter(a);n.insertImage({...t,...o},i,e.imageType)}else n.insertImage({...t,...o},null,e.imageType)}))}}class q extends e.Command{constructor(e){super(e),this.decorate("cleanupImage")}refresh(){const e=this.editor.plugins.get("ImageUtils"),t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=e.isImage(t),this.value=this.isEnabled?t.getAttribute("src"):null}execute(e){const t=this.editor.model.document.selection.getSelectedElement(),i=this.editor.plugins.get("ImageUtils");this.editor.model.change((n=>{n.setAttribute("src",e.source,t),this.cleanupImage(n,t),i.setImageNaturalSizeAttributes(t)}))}cleanupImage(e,t){e.removeAttribute("srcset",t),e.removeAttribute("sizes",t),e.removeAttribute("sources",t),e.removeAttribute("width",t),e.removeAttribute("height",t),e.removeAttribute("alt",t)}}class $ extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.conversion;e.editing.view.addObserver(M),t.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const i=new W(e),n=new q(e);e.commands.add("insertImage",i),e.commands.add("replaceImageSource",n),e.commands.add("imageInsert",i)}}class H extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageSizeAttributes"}static get isOfficialPlugin(){return!0}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils"),n="imageBlock"===e?"figure":"img";function o(t,n,o,r){t.on(`attribute:${n}:${e}`,((t,n,a)=>{if(!a.consumable.consume(n.item,t.name))return;const s=a.writer,l=a.mapper.toViewElement(n.item),c=i.findViewImgElement(l);if(null!==n.attributeNewValue?s.setAttribute(o,n.attributeNewValue,c):s.removeAttribute(o,c),n.item.hasAttribute("sources"))return;const u=n.item.hasAttribute("resizedWidth");if("imageInline"===e&&!u&&!r)return;const g=n.item.getAttribute("width"),m=n.item.getAttribute("height");g&&m&&s.setStyle("aspect-ratio",`${g}/${m}`,c)}))}t.conversion.for("upcast").attributeToAttribute({view:{name:n,styles:{width:/.+/}},model:{key:"width",value:e=>d(e)?m(e.getStyle("width")):null}}).attributeToAttribute({view:{name:n,key:"width"},model:"width"}).attributeToAttribute({view:{name:n,styles:{height:/.+/}},model:{key:"height",value:e=>d(e)?m(e.getStyle("height")):null}}).attributeToAttribute({view:{name:n,key:"height"},model:"height"}),t.conversion.for("editingDowncast").add((e=>{o(e,"width","width",!0),o(e,"height","height",!0)})),t.conversion.for("dataDowncast").add((e=>{o(e,"width","width",!1),o(e,"height","height",!1)}))}}class K extends e.Command{constructor(e,t){super(e),this._modelElementName=t}refresh(){const e=this.editor.plugins.get("ImageUtils"),t=e.getClosestSelectedImageElement(this.editor.model.document.selection);"imageBlock"===this._modelElementName?this.isEnabled=e.isInlineImage(t):this.isEnabled=e.isBlockImage(t)}execute(e={}){const t=this.editor,i=this.editor.model,n=t.plugins.get("ImageUtils"),o=n.getClosestSelectedImageElement(i.document.selection),r=Object.fromEntries(o.getAttributes());return r.src||r.uploadId?i.change((t=>{const{setImageSizes:a=!0}=e,s=Array.from(i.markers).filter((e=>e.getRange().containsItem(o))),l=n.insertImage(r,i.createSelection(o,"on"),this._modelElementName,{setImageSizes:a});if(!l)return null;const c=t.createRangeOn(l);for(const e of s){const i=e.getRange(),n="$graveyard"!=i.root.rootName?i.getJoined(c,!0):c;t.updateMarker(e,{range:n})}return{oldElement:o,newElement:l}})):null}}var G=i(571),J={attributes:{"data-cke":!0}};J.setAttributes=B(),J.insert=C().bind(null,"head"),J.domAPI=x(),J.insertStyleElement=T();y()(G.A,J);G.A&&G.A.locals&&G.A.locals;class Y extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImagePlaceholder"}static get isOfficialPlugin(){return!0}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const e=this.editor.model.schema;e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["placeholder"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("editingDowncast").add((e=>{e.on("attribute:placeholder",((e,t,n)=>{if(!n.consumable.test(t.item,e.name))return;if(!t.item.is("element","imageBlock")&&!t.item.is("element","imageInline"))return;n.consumable.consume(t.item,e.name);const o=n.writer,r=n.mapper.toViewElement(t.item),a=i.findViewImgElement(r);t.attributeNewValue?(o.addClass("image_placeholder",a),o.setStyle("background-image",`url(${t.attributeNewValue})`,a),o.setCustomProperty("editingPipeline:doNotReuseOnce",!0,a)):(o.removeClass("image_placeholder",a),o.removeStyle("background-image",a))}))}))}_setupLoadListener(){const e=this.editor,t=e.model,i=e.editing,n=i.view,o=e.plugins.get("ImageUtils");n.addObserver(M),this.listenTo(n.document,"imageLoaded",((e,r)=>{const a=n.domConverter.mapDomToView(r.target);if(!a)return;const s=o.getImageWidgetFromImageView(a);if(!s)return;const l=i.mapper.toModelElement(s);l&&l.hasAttribute("placeholder")&&t.enqueueChange({isUndoable:!1},(e=>{e.removeAttribute("placeholder",l)}))}))}}class Q extends e.Plugin{static get requires(){return[$,H,h,Y,t.ClipboardPipeline]}static get pluginName(){return"ImageBlockEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),e.plugins.has("ImageInlineEditing")&&(e.commands.add("imageTypeBlock",new K(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,n=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:t})=>c(t)}),i.for("editingDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:i})=>n.toImageWidget(c(i),i,t("image widget"))}),i.for("downcast").add(D(n,"imageBlock","src")).add(D(n,"imageBlock","alt")).add(L(n,"imageBlock")),i.for("upcast").elementToElement({view:u(e,"imageBlock"),model:(e,{writer:t})=>t.createElement("imageBlock",e.hasAttribute("src")?{src:e.getAttribute("src")}:void 0)}).add(function(e){const t=(t,i,n)=>{if(!n.consumable.test(i.viewItem,{name:!0,classes:"image"}))return;const o=e.findViewImgElement(i.viewItem);if(!o||!n.consumable.test(o,{name:!0}))return;n.consumable.consume(i.viewItem,{name:!0,classes:"image"});const r=n.convertItem(o,i.modelCursor),a=(0,s.first)(r.modelRange.getItems());a?(n.convertChildren(i.viewItem,a),n.updateConversionResult(a,i)):n.consumable.revert(i.viewItem,{name:!0,classes:"image"})};return e=>{e.on("element:figure",t)}}(n))}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,n=e.plugins.get("ImageUtils"),r=e.plugins.get("ClipboardPipeline");this.listenTo(r,"inputTransformation",((r,a)=>{const s=Array.from(a.content.getChildren());let l;if(!s.every(n.isInlineImageView))return;l=a.targetRanges?e.editing.mapper.toModelRange(a.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageBlock"===g(t.schema,c)){const e=new o.UpcastWriter(i.document),t=s.map((t=>e.createElement("figure",{class:"image"},t)));a.content=e.createDocumentFragment(t)}})),this.listenTo(r,"contentInsertion",((e,i)=>{"paste"===i.method&&t.change((e=>{const t=e.createRangeIn(i.content);for(const e of t.getItems())e.is("element","imageBlock")&&n.setImageNaturalSizeAttributes(e)}))}))}}var X=i(489),Z={attributes:{"data-cke":!0}};Z.setAttributes=B(),Z.insert=C().bind(null,"head"),Z.domAPI=x(),Z.insertStyleElement=T();y()(X.A,Z);X.A&&X.A.locals&&X.A.locals;class ee extends I.View{constructor(e,t=[]){super(e),this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this._focusables=new I.ViewCollection,this.children=this.createCollection(),this._focusCycler=new I.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const e of t)this.children.add(e),this._focusables.add(e),e instanceof I.CollapsibleView&&this._focusables.addMany(e.children);this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),(0,I.submitHandler)({view:this});for(const e of this._focusables)this.focusTracker.add(e.element);this.keystrokes.listenTo(this.element);const e=e=>e.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}class te extends e.Plugin{static get pluginName(){return"ImageInsertUI"}static get isOfficialPlugin(){return!0}static get requires(){return[h]}constructor(e){super(e),this._integrations=new Map,e.config.define("image.insert.integrations",["upload","assetManager","url"])}init(){const e=this.editor,t=e.model.document.selection,i=e.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(e.model.document,"change",(()=>{this.isImageSelected=i.isImage(t.getSelectedElement())}));const n=e=>this._createToolbarComponent(e);e.ui.componentFactory.add("insertImage",n),e.ui.componentFactory.add("imageInsert",n),e.ui.componentFactory.add("menuBar:insertImage",(e=>this._createMenuBarComponent(e)))}registerIntegration({name:e,observable:t,buttonViewCreator:i,formViewCreator:n,menuBarButtonViewCreator:o,requiresForm:r=!1}){this._integrations.has(e)&&(0,s.logWarning)("image-insert-integration-exists",{name:e}),this._integrations.set(e,{observable:t,buttonViewCreator:i,menuBarButtonViewCreator:o,formViewCreator:n,requiresForm:r})}_createToolbarComponent(e){const t=this.editor,i=e.t,n=this._prepareIntegrations();if(!n.length)return null;let o;const r=n[0];if(1==n.length){if(!r.requiresForm)return r.buttonViewCreator(!0);o=r.buttonViewCreator(!0)}else{const t=r.buttonViewCreator(!1);o=new I.SplitButtonView(e,t),o.tooltip=!0,o.bind("label").to(this,"isImageSelected",(e=>i(e?"Replace image":"Insert image")))}const a=this.dropdownView=(0,I.createDropdown)(e,o),s=n.map((({observable:e})=>"function"==typeof e?e():e));return a.bind("isEnabled").toMany(s,"isEnabled",((...e)=>e.some((e=>e)))),a.once("change:isOpen",(()=>{const e=n.map((({formViewCreator:e})=>e(1==n.length))),i=new ee(t.locale,e);a.panelView.children.add(i)})),a}_createMenuBarComponent(t){const i=t.t,n=this._prepareIntegrations();if(!n.length)return null;let o;const r=n[0];if(1==n.length)o=r.menuBarButtonViewCreator(!0);else{o=new I.MenuBarMenuView(t);const r=new I.MenuBarMenuListView(t);o.panelView.children.add(r),o.buttonView.set({icon:e.icons.image,label:i("Image")});for(const e of n){const i=new I.MenuBarMenuListItemView(t,o),n=e.menuBarButtonViewCreator(!1);i.children.add(n),r.items.add(i)}}return o}_prepareIntegrations(){const e=this.editor.config.get("image.insert.integrations"),t=[];if(!e.length)return(0,s.logWarning)("image-insert-integrations-not-specified"),t;for(const i of e)this._integrations.has(i)?t.push(this._integrations.get(i)):["upload","assetManager","url"].includes(i)||(0,s.logWarning)("image-insert-unknown-integration",{item:i});return t.length||(0,s.logWarning)("image-insert-integrations-not-registered"),t}}var ie=i(934),ne={attributes:{"data-cke":!0}};ne.setAttributes=B(),ne.insert=C().bind(null,"head"),ne.domAPI=x(),ne.insertStyleElement=T();y()(ie.A,ne);ie.A&&ie.A.locals&&ie.A.locals;class oe extends e.Plugin{static get requires(){return[Q,l.Widget,N,te]}static get pluginName(){return"ImageBlock"}static get isOfficialPlugin(){return!0}}class re extends e.Plugin{static get requires(){return[$,H,h,Y,t.ClipboardPipeline]}static get pluginName(){return"ImageInlineEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"],disallowIn:["caption"]}),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new K(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,n=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToElement({model:"imageInline",view:(e,{writer:t})=>t.createEmptyElement("img")}),i.for("editingDowncast").elementToStructure({model:"imageInline",view:(e,{writer:i})=>n.toImageWidget(function(e){return e.createContainerElement("span",{class:"image-inline"},e.createEmptyElement("img"))}(i),i,t("image widget"))}),i.for("downcast").add(D(n,"imageInline","src")).add(D(n,"imageInline","alt")).add(L(n,"imageInline")),i.for("upcast").elementToElement({view:u(e,"imageInline"),model:(e,{writer:t})=>t.createElement("imageInline",e.hasAttribute("src")?{src:e.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,n=e.plugins.get("ImageUtils"),r=e.plugins.get("ClipboardPipeline");this.listenTo(r,"inputTransformation",((r,a)=>{const s=Array.from(a.content.getChildren());let l;if(!s.every(n.isBlockImageView))return;l=a.targetRanges?e.editing.mapper.toModelRange(a.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageInline"===g(t.schema,c)){const e=new o.UpcastWriter(i.document),t=s.map((t=>1===t.childCount?(Array.from(t.getAttributes()).forEach((i=>e.setAttribute(...i,n.findViewImgElement(t)))),t.getChild(0)):t));a.content=e.createDocumentFragment(t)}})),this.listenTo(r,"contentInsertion",((e,i)=>{"paste"===i.method&&t.change((e=>{const t=e.createRangeIn(i.content);for(const e of t.getItems())e.is("element","imageInline")&&n.setImageNaturalSizeAttributes(e)}))}))}}class ae extends e.Plugin{static get requires(){return[re,l.Widget,N,te]}static get pluginName(){return"ImageInline"}static get isOfficialPlugin(){return!0}}class se extends e.Plugin{static get requires(){return[oe,ae]}static get pluginName(){return"Image"}static get isOfficialPlugin(){return!0}}class le extends e.Plugin{static get pluginName(){return"ImageCaptionUtils"}static get isOfficialPlugin(){return!0}static get requires(){return[h]}getCaptionFromImageModelElement(e){for(const t of e.getChildren())if(t&&t.is("element","caption"))return t;return null}getCaptionFromModelSelection(e){const t=this.editor.plugins.get("ImageUtils"),i=e.getFirstPosition().findAncestor("caption");return i&&t.isBlockImage(i.parent)?i:null}matchImageCaptionViewElement(e){const t=this.editor.plugins.get("ImageUtils");return"figcaption"==e.name&&t.isBlockImageView(e.parent)?{name:!0}:null}}class ce extends e.Command{refresh(){const e=this.editor,t=e.plugins.get("ImageCaptionUtils"),i=e.plugins.get("ImageUtils");if(!e.plugins.has(Q))return this.isEnabled=!1,void(this.value=!1);const n=e.model.document.selection,o=n.getSelectedElement();if(!o){const e=t.getCaptionFromModelSelection(n);return this.isEnabled=!!e,void(this.value=!!e)}this.isEnabled=i.isImage(o),this.isEnabled?this.value=!!t.getCaptionFromImageModelElement(o):this.value=!1}execute(e={}){const{focusCaptionOnShow:t}=e;this.editor.model.change((e=>{this.value?this._hideImageCaption(e):this._showImageCaption(e,t)}))}_showImageCaption(e,t){const i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageCaptionEditing"),o=this.editor.plugins.get("ImageUtils");let r=i.getSelectedElement();const a=n._getSavedCaption(r);o.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=i.getSelectedElement());const s=a||e.createElement("caption");e.append(s,r),t&&e.setSelection(s,"in")}_hideImageCaption(e){const t=this.editor,i=t.model.document.selection,n=t.plugins.get("ImageCaptionEditing"),o=t.plugins.get("ImageCaptionUtils");let r,a=i.getSelectedElement();a?r=o.getCaptionFromImageModelElement(a):(r=o.getCaptionFromModelSelection(i),a=r.parent),n._saveCaption(a,r),e.setSelection(a,"on"),e.remove(r)}}class ue extends e.Plugin{static get requires(){return[h,le]}static get pluginName(){return"ImageCaptionEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,t=e.model.schema;t.isRegistered("caption")?t.extend("caption",{allowIn:"imageBlock"}):t.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleImageCaption",new ce(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils"),n=e.plugins.get("ImageCaptionUtils"),r=e.t;e.conversion.for("upcast").elementToElement({view:e=>n.matchImageCaptionViewElement(e),model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>i.isBlockImage(e.parent)?t.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(e,{writer:n})=>{if(!i.isBlockImage(e.parent))return null;const a=n.createEditableElement("figcaption");n.setCustomProperty("imageCaption",!0,a),a.placeholder=r("Enter image caption"),(0,o.enablePlaceholder)({view:t,element:a,keepOnFocus:!0});const s=e.parent.getAttribute("alt"),c=s?r("Caption for image: %0",[s]):r("Caption for the image");return(0,l.toWidgetEditable)(a,n,{label:c})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),n=e.commands.get("imageTypeInline"),o=e.commands.get("imageTypeBlock"),r=e=>{if(!e.return)return;const{oldElement:n,newElement:o}=e.return;if(!n)return;if(t.isBlockImage(n)){const e=i.getCaptionFromImageModelElement(n);if(e)return void this._saveCaption(o,e)}const r=this._getSavedCaption(n);r&&this._saveCaption(o,r)};n&&this.listenTo(n,"execute",r,{priority:"low"}),o&&this.listenTo(o,"execute",r,{priority:"low"})}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?o.Element.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}_registerCaptionReconversion(){const e=this.editor,t=e.model,i=e.plugins.get("ImageUtils"),n=e.plugins.get("ImageCaptionUtils");t.document.on("change:data",(()=>{const o=t.document.differ.getChanges();for(const t of o){if("alt"!==t.attributeKey)continue;const o=t.range.start.nodeAfter;if(i.isBlockImage(o)){const t=n.getCaptionFromImageModelElement(o);if(!t)return;e.editing.reconvertItem(t)}}}))}}class ge extends e.Plugin{static get requires(){return[le]}static get pluginName(){return"ImageCaptionUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=t.editing.view,n=t.plugins.get("ImageCaptionUtils"),o=t.t;t.ui.componentFactory.add("toggleImageCaption",(r=>{const a=t.commands.get("toggleImageCaption"),s=new I.ButtonView(r);return s.set({icon:e.icons.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(a,"value","isEnabled"),s.bind("label").to(a,"value",(e=>o(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{t.execute("toggleImageCaption",{focusCaptionOnShow:!0});const e=n.getCaptionFromModelSelection(t.model.document.selection);if(e){const n=t.editing.mapper.toViewElement(e);i.scrollToTheSelection(),i.change((e=>{e.addClass("image__caption_highlighted",n)}))}t.editing.view.focus()})),s}))}}var me=i(406),de={attributes:{"data-cke":!0}};de.setAttributes=B(),de.insert=C().bind(null,"head"),de.domAPI=x(),de.insertStyleElement=T();y()(me.A,de);me.A&&me.A.locals&&me.A.locals;class pe extends e.Plugin{static get requires(){return[ue,ge]}static get pluginName(){return"ImageCaption"}static get isOfficialPlugin(){return!0}}function he(e){const t=e.map((e=>e.replace("+","\\+")));return new RegExp(`^image\\/(${t.join("|")})$`)}function fe(e){return new Promise(((t,i)=>{const n=e.getAttribute("src");fetch(n).then((e=>e.blob())).then((e=>{const i=be(e,n),o=i.replace("image/",""),r=new File([e],`image.${o}`,{type:i});t(r)})).catch((e=>e&&"TypeError"===e.name?function(e){return function(e){return new Promise(((t,i)=>{const n=s.global.document.createElement("img");n.addEventListener("load",(()=>{const e=s.global.document.createElement("canvas");e.width=n.width,e.height=n.height;e.getContext("2d").drawImage(n,0,0),e.toBlob((e=>e?t(e):i()))})),n.addEventListener("error",(()=>i())),n.src=e}))}(e).then((t=>{const i=be(t,e),n=i.replace("image/","");return new File([t],`image.${n}`,{type:i})}))}(n).then(t).catch(i):i(e)))}))}function be(e,t){return e.type?e.type:t.match(/data:(image\/\w+);base64/)?t.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class ke extends e.Plugin{static get pluginName(){return"ImageUploadUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("uploadImage",(()=>this._createToolbarButton())),e.ui.componentFactory.add("imageUpload",(()=>this._createToolbarButton())),e.ui.componentFactory.add("menuBar:uploadImage",(()=>this._createMenuBarButton("standalone"))),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"upload",observable:()=>e.commands.get("uploadImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:e=>this._createMenuBarButton(e?"insertOnly":"insertNested")})}_createButton(t){const i=this.editor,n=i.locale,o=i.commands.get("uploadImage"),r=i.config.get("image.upload.types"),a=he(r),s=new t(i.locale),l=n.t;return s.set({acceptedType:r.map((e=>`image/${e}`)).join(","),allowMultipleFiles:!0,label:l("Upload from computer"),icon:e.icons.imageUpload}),s.bind("isEnabled").to(o),s.on("done",((e,t)=>{const n=Array.from(t).filter((e=>a.test(e.type)));n.length&&(i.execute("uploadImage",{file:n}),i.editing.view.focus())})),s}_createToolbarButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this.editor.commands.get("uploadImage"),n=this._createButton(I.FileDialogButtonView);return n.tooltip=!0,n.bind("label").to(t,"isImageSelected",i,"isAccessAllowed",((t,i)=>e(i?t?"Replace image from computer":"Upload image from computer":"You have no image upload permissions."))),n}_createDropdownButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this._createButton(I.FileDialogButtonView);return i.withText=!0,i.bind("label").to(t,"isImageSelected",(t=>e(t?"Replace from computer":"Upload from computer"))),i.on("execute",(()=>{t.dropdownView.isOpen=!1})),i}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createButton(I.MenuBarMenuListItemFileDialogButtonView);switch(i.withText=!0,e){case"standalone":i.label=t("Image from computer");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("From computer")}return i}}var ve=i(260),we=i(184),Ie={attributes:{"data-cke":!0}};Ie.setAttributes=B(),Ie.insert=C().bind(null,"head"),Ie.domAPI=x(),Ie.insertStyleElement=T();y()(we.A,Ie);we.A&&we.A.locals&&we.A.locals;var _e=i(854),ye={attributes:{"data-cke":!0}};ye.setAttributes=B(),ye.insert=C().bind(null,"head"),ye.domAPI=x(),ye.insertStyleElement=T();y()(_e.A,ye);_e.A&&_e.A.locals&&_e.A.locals;var Ae=i(424),xe={attributes:{"data-cke":!0}};xe.setAttributes=B(),xe.insert=C().bind(null,"head"),xe.domAPI=x(),xe.insertStyleElement=T();y()(Ae.A,xe);Ae.A&&Ae.A.locals&&Ae.A.locals;class Ee extends e.Plugin{static get pluginName(){return"ImageUploadProgress"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this.uploadStatusChange=(e,t,i)=>{const n=this.editor,o=t.item,r=o.getAttribute("uploadId");if(!i.consumable.consume(t.item,e.name))return;const a=n.plugins.get("ImageUtils"),s=n.plugins.get(ve.FileRepository),l=r?t.attributeNewValue:null,c=this.placeholder,u=n.editing.mapper.toViewElement(o),g=i.writer;if("reading"==l)return Ce(u,g),void Se(a,c,u,g);if("uploading"==l){const e=s.loaders.get(r);return Ce(u,g),void(e?(Be(u,g),function(e,t,i,n){const o=function(e){const t=e.createUIElement("div",{class:"ck-progress-bar"});return e.setCustomProperty("progressBar",!0,t),t}(t);t.insert(t.createPositionAt(e,"end"),o),i.on("change:uploadedPercent",((e,t,i)=>{n.change((e=>{e.setStyle("width",i+"%",o)}))}))}(u,g,e,n.editing.view),function(e,t,i,n){if(n.data){const o=e.findViewImgElement(t);i.setAttribute("src",n.data,o)}}(a,u,g,e)):Se(a,c,u,g))}"complete"==l&&s.loaders.get(r)&&function(e,t,i){const n=t.createUIElement("div",{class:"ck-image-upload-complete-icon"});t.insert(t.createPositionAt(e,"end"),n),setTimeout((()=>{i.change((e=>e.remove(e.createRangeOn(n))))}),3e3)}(u,g,n.editing.view),function(e,t){Te(e,t,"progressBar")}(u,g),Be(u,g),function(e,t){t.removeClass("ck-appear",e)}(u,g)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),e.plugins.has("ImageInlineEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function Ce(e,t){e.hasClass("ck-appear")||t.addClass("ck-appear",e)}function Se(e,t,i,n){i.hasClass("ck-image-upload-placeholder")||n.addClass("ck-image-upload-placeholder",i);const o=e.findViewImgElement(i);o.getAttribute("src")!==t&&n.setAttribute("src",t,o),Ve(i,"placeholder")||n.insert(n.createPositionAfter(o),function(e){const t=e.createUIElement("div",{class:"ck-upload-placeholder-loader"});return e.setCustomProperty("placeholder",!0,t),t}(n))}function Be(e,t){e.hasClass("ck-image-upload-placeholder")&&t.removeClass("ck-image-upload-placeholder",e),Te(e,t,"placeholder")}function Ve(e,t){for(const i of e.getChildren())if(i.getCustomProperty(t))return i}function Te(e,t,i){const n=Ve(e,i);n&&t.remove(t.createRangeOn(n))}class ze extends e.Command{constructor(e){super(e),this.set("isAccessAllowed",!0)}refresh(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.model.document.selection.getSelectedElement();this.isEnabled=t.isImageAllowed()||t.isImage(i)}execute(e){const t=(0,s.toArray)(e.file),i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageUtils"),o=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if(t&&r&&n.isImage(r)){const t=this.editor.model.createPositionAfter(r);this._uploadImage(e,o,t)}else this._uploadImage(e,o)}))}_uploadImage(e,t,i){const n=this.editor,o=n.plugins.get(ve.FileRepository).createLoader(e),r=n.plugins.get("ImageUtils");o&&r.insertImage({...t,uploadId:o.id},i)}}class Ue extends e.Plugin{static get requires(){return[ve.FileRepository,I.Notification,t.ClipboardPipeline,h]}static get pluginName(){return"ImageUploadEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}init(){const e=this.editor,t=e.model.document,i=e.conversion,n=e.plugins.get(ve.FileRepository),r=e.plugins.get("ImageUtils"),a=e.plugins.get("ClipboardPipeline"),s=he(e.config.get("image.upload.types")),l=new ze(e);e.commands.add("uploadImage",l),e.commands.add("imageUpload",l),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,i)=>{if(n=i.dataTransfer,Array.from(n.types).includes("text/html")&&""!==n.getData("text/html"))return;var n;const o=Array.from(i.dataTransfer.files).filter((e=>!!e&&s.test(e.type)));if(!o.length)return;t.stop(),e.model.change((t=>{i.targetRanges&&t.setSelection(i.targetRanges.map((t=>e.editing.mapper.toModelRange(t)))),e.execute("uploadImage",{file:o})}));if(!e.commands.get("uploadImage").isAccessAllowed){const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("You have no image upload permissions."),{namespace:"image"})}})),this.listenTo(a,"inputTransformation",((t,i)=>{const a=Array.from(e.editing.view.createRangeIn(i.content)).map((e=>e.item)).filter((e=>function(e,t){return!(!e.isInlineImageView(t)||!t.getAttribute("src")||!t.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!t.getAttribute("src").match(/^blob:/g))}(r,e)&&!e.getAttribute("uploadProcessed"))).map((e=>({promise:fe(e),imageElement:e})));if(!a.length)return;const s=new o.UpcastWriter(e.editing.view.document);for(const e of a){s.setAttribute("uploadProcessed",!0,e.imageElement);const t=n.createLoader(e.promise);t&&(s.setAttribute("src","",e.imageElement),s.setAttribute("uploadId",t.id,e.imageElement))}})),e.editing.view.document.on("dragover",((e,t)=>{t.preventDefault()})),t.on("change",(()=>{const i=t.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),o=new Set;for(const t of i)if("insert"==t.type&&"$text"!=t.name){const i=t.position.nodeAfter,r="$graveyard"==t.position.root.rootName;for(const t of Oe(e,i)){const e=t.getAttribute("uploadId");if(!e)continue;const i=n.loaders.get(e);i&&(r?o.has(e)||i.abort():(o.add(e),this._uploadImageElements.set(e,t),"idle"==i.status&&this._readAndUpload(i)))}}})),this.on("uploadComplete",((e,{imageElement:t,data:i})=>{const n=i.urls?i.urls:i;this.editor.model.change((e=>{e.setAttribute("src",n.default,t),this._parseAndSetSrcsetAttributeOnImage(n,t,e),r.setImageNaturalSizeAttributes(t)}))}),{priority:"low"})}afterInit(){const e=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&e.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&e.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(e){const t=this.editor,i=t.model,n=t.locale.t,o=t.plugins.get(ve.FileRepository),r=t.plugins.get(I.Notification),a=t.plugins.get("ImageUtils"),l=this._uploadImageElements;return i.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","reading",l.get(e.id))})),e.read().then((()=>{const o=e.upload(),r=l.get(e.id);if(s.env.isSafari){const e=t.editing.mapper.toViewElement(r),i=a.findViewImgElement(e);t.editing.view.once("render",(()=>{if(!i.parent)return;const e=t.editing.view.domConverter.mapViewToDom(i.parent);if(!e)return;const n=e.style.display;e.style.display="none",e._ckHack=e.offsetHeight,e.style.display=n}))}return t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Uploading image")),i.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","uploading",r)})),o})).then((o=>{i.enqueueChange({isUndoable:!1},(i=>{const r=l.get(e.id);i.setAttribute("uploadStatus","complete",r),t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Image upload complete")),this.fire("uploadComplete",{data:o,imageElement:r})})),c()})).catch((o=>{if(t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Error during image upload")),"error"!==e.status&&"aborted"!==e.status)throw o;"error"==e.status&&o&&r.showWarning(o,{title:n("Upload failed"),namespace:"upload"}),i.enqueueChange({isUndoable:!1},(t=>{t.remove(l.get(e.id))})),c()}));function c(){i.enqueueChange({isUndoable:!1},(t=>{const i=l.get(e.id);t.removeAttribute("uploadId",i),t.removeAttribute("uploadStatus",i),l.delete(e.id)})),o.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,i){let n=0;const o=Object.keys(e).filter((e=>{const t=parseInt(e,10);if(!isNaN(t))return n=Math.max(n,t),!0})).map((t=>`${e[t]} ${t}w`)).join(", ");if(""!=o){const e={srcset:o};t.hasAttribute("width")||t.hasAttribute("height")||(e.width=n),i.setAttributes(e,t)}}}function Oe(e,t){const i=e.plugins.get("ImageUtils");return Array.from(e.model.createRangeOn(t)).filter((e=>i.isImage(e.item))).map((e=>e.item))}class Pe extends e.Plugin{static get pluginName(){return"ImageUpload"}static get isOfficialPlugin(){return!0}static get requires(){return[Ue,ke,Ee]}}class Re extends I.View{constructor(e){super(e),this.set("imageURLInputValue",""),this.set("isImageSelected",!1),this.set("isEnabled",!0),this.keystrokes=new s.KeystrokeHandler,this.urlInputView=this._createUrlInputView(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-image-insert-url"]},children:[this.urlInputView,{tag:"div",attributes:{class:["ck","ck-image-insert-url__action-row"]}}]})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}_createUrlInputView(){const e=this.locale,t=e.t,i=new I.LabeledFieldView(e,I.createLabeledInputText);return i.bind("label").to(this,"isImageSelected",(e=>t(e?"Update image URL":"Insert image via URL"))),i.bind("isEnabled").to(this),i.fieldView.inputMode="url",i.fieldView.placeholder="https://example.com/image.png",i.fieldView.bind("value").to(this,"imageURLInputValue",(e=>e||"")),i.fieldView.on("input",(()=>{this.imageURLInputValue=i.fieldView.element.value.trim()})),i}focus(){this.urlInputView.focus()}}class je extends e.Plugin{static get pluginName(){return"ImageInsertViaUrlUI"}static get isOfficialPlugin(){return!0}static get requires(){return[te,I.Dialog]}init(){this.editor.ui.componentFactory.add("insertImageViaUrl",(()=>this._createToolbarButton())),this.editor.ui.componentFactory.add("menuBar:insertImageViaUrl",(()=>this._createMenuBarButton("standalone")))}afterInit(){this._imageInsertUI=this.editor.plugins.get("ImageInsertUI"),this._imageInsertUI.registerIntegration({name:"url",observable:()=>this.editor.commands.get("insertImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:e=>this._createMenuBarButton(e?"insertOnly":"insertNested")})}_createInsertUrlButton(t){const i=new t(this.editor.locale);return i.icon=e.icons.imageUrl,i.on("execute",(()=>{this._showModal()})),i}_createToolbarButton(){const e=this.editor.locale.t,t=this._createInsertUrlButton(I.ButtonView);return t.tooltip=!0,t.bind("label").to(this._imageInsertUI,"isImageSelected",(t=>e(t?"Update image URL":"Insert image via URL"))),t}_createDropdownButton(){const e=this.editor.locale.t,t=this._createInsertUrlButton(I.ButtonView);return t.withText=!0,t.bind("label").to(this._imageInsertUI,"isImageSelected",(t=>e(t?"Update image URL":"Insert via URL"))),t}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createInsertUrlButton(I.MenuBarMenuListItemButtonView);switch(i.withText=!0,e){case"standalone":i.label=t("Image via URL");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("Via URL")}return i}_createInsertUrlView(){const e=this.editor,t=e.locale,i=e.commands.get("replaceImageSource"),n=e.commands.get("insertImage"),o=new Re(t);return o.bind("isImageSelected").to(this._imageInsertUI),o.bind("isEnabled").toMany([n,i],"isEnabled",((...e)=>e.some((e=>e)))),o}_showModal(){const e=this.editor,t=e.locale.t,i=e.plugins.get("Dialog");this._formView||(this._formView=this._createInsertUrlView(),this._formView.on("submit",(()=>this._handleSave())));const n=e.commands.get("replaceImageSource");this._formView.imageURLInputValue=n.value||"",i.show({id:"insertImageViaUrl",title:this._imageInsertUI.isImageSelected?t("Update image URL"):t("Insert image via URL"),isModal:!0,content:this._formView,actionButtons:[{label:t("Cancel"),withText:!0,onExecute:()=>i.hide()},{label:t("Accept"),class:"ck-button-action",withText:!0,onExecute:()=>this._handleSave()}]})}_handleSave(){this.editor.commands.get("replaceImageSource").isEnabled?this.editor.execute("replaceImageSource",{source:this._formView.imageURLInputValue}):this.editor.execute("insertImage",{source:this._formView.imageURLInputValue}),this.editor.plugins.get("Dialog").hide()}}class Fe extends e.Plugin{static get pluginName(){return"ImageInsertViaUrl"}static get isOfficialPlugin(){return!0}static get requires(){return[je,te]}}class Ne extends e.Plugin{static get pluginName(){return"ImageInsert"}static get isOfficialPlugin(){return!0}static get requires(){return[Pe,Fe,te]}}const Le=function(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i<n;)o[i]=t(e[i],i,e);return o};const De=function(){this.__data__=[],this.size=0};const Me=function(e,t){return e===t||e!=e&&t!=t};const We=function(e,t){for(var i=e.length;i--;)if(Me(e[i][0],t))return i;return-1};var qe=Array.prototype.splice;const $e=function(e){var t=this.__data__,i=We(t,e);return!(i<0)&&(i==t.length-1?t.pop():qe.call(t,i,1),--this.size,!0)};const He=function(e){var t=this.__data__,i=We(t,e);return i<0?void 0:t[i][1]};const Ke=function(e){return We(this.__data__,e)>-1};const Ge=function(e,t){var i=this.__data__,n=We(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this};function Je(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Je.prototype.clear=De,Je.prototype.delete=$e,Je.prototype.get=He,Je.prototype.has=Ke,Je.prototype.set=Ge;const Ye=Je;const Qe=function(){this.__data__=new Ye,this.size=0};const Xe=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i};const Ze=function(e){return this.__data__.get(e)};const et=function(e){return this.__data__.has(e)};const tt="object"==typeof global&&global&&global.Object===Object&&global;var it="object"==typeof self&&self&&self.Object===Object&&self;const nt=tt||it||Function("return this")();const ot=nt.Symbol;var rt=Object.prototype,at=rt.hasOwnProperty,st=rt.toString,lt=ot?ot.toStringTag:void 0;const ct=function(e){var t=at.call(e,lt),i=e[lt];try{e[lt]=void 0;var n=!0}catch(e){}var o=st.call(e);return n&&(t?e[lt]=i:delete e[lt]),o};var ut=Object.prototype.toString;const gt=function(e){return ut.call(e)};var mt=ot?ot.toStringTag:void 0;const dt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":mt&&mt in Object(e)?ct(e):gt(e)};const pt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const ht=function(e){if(!pt(e))return!1;var t=dt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const ft=nt["__core-js_shared__"];var bt,kt=(bt=/[^.]+$/.exec(ft&&ft.keys&&ft.keys.IE_PROTO||""))?"Symbol(src)_1."+bt:"";const vt=function(e){return!!kt&&kt in e};var wt=Function.prototype.toString;const It=function(e){if(null!=e){try{return wt.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var _t=/^\[object .+?Constructor\]$/,yt=Function.prototype,At=Object.prototype,xt=yt.toString,Et=At.hasOwnProperty,Ct=RegExp("^"+xt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const St=function(e){return!(!pt(e)||vt(e))&&(ht(e)?Ct:_t).test(It(e))};const Bt=function(e,t){return null==e?void 0:e[t]};const Vt=function(e,t){var i=Bt(e,t);return St(i)?i:void 0};const Tt=Vt(nt,"Map");const zt=Vt(Object,"create");const Ut=function(){this.__data__=zt?zt(null):{},this.size=0};const Ot=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Pt=Object.prototype.hasOwnProperty;const Rt=function(e){var t=this.__data__;if(zt){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return Pt.call(t,e)?t[e]:void 0};var jt=Object.prototype.hasOwnProperty;const Ft=function(e){var t=this.__data__;return zt?void 0!==t[e]:jt.call(t,e)};const Nt=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=zt&&void 0===t?"__lodash_hash_undefined__":t,this};function Lt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Lt.prototype.clear=Ut,Lt.prototype.delete=Ot,Lt.prototype.get=Rt,Lt.prototype.has=Ft,Lt.prototype.set=Nt;const Dt=Lt;const Mt=function(){this.size=0,this.__data__={hash:new Dt,map:new(Tt||Ye),string:new Dt}};const Wt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const qt=function(e,t){var i=e.__data__;return Wt(t)?i["string"==typeof t?"string":"hash"]:i.map};const $t=function(e){var t=qt(this,e).delete(e);return this.size-=t?1:0,t};const Ht=function(e){return qt(this,e).get(e)};const Kt=function(e){return qt(this,e).has(e)};const Gt=function(e,t){var i=qt(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this};function Jt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Jt.prototype.clear=Mt,Jt.prototype.delete=$t,Jt.prototype.get=Ht,Jt.prototype.has=Kt,Jt.prototype.set=Gt;const Yt=Jt;const Qt=function(e,t){var i=this.__data__;if(i instanceof Ye){var n=i.__data__;if(!Tt||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Yt(n)}return i.set(e,t),this.size=i.size,this};function Xt(e){var t=this.__data__=new Ye(e);this.size=t.size}Xt.prototype.clear=Qe,Xt.prototype.delete=Xe,Xt.prototype.get=Ze,Xt.prototype.has=et,Xt.prototype.set=Qt;const Zt=Xt;const ei=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const ti=function(e){return this.__data__.has(e)};function ii(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new Yt;++t<i;)this.add(e[t])}ii.prototype.add=ii.prototype.push=ei,ii.prototype.has=ti;const ni=ii;const oi=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1};const ri=function(e,t){return e.has(t)};const ai=function(e,t,i,n,o,r){var a=1&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=r.get(e),u=r.get(t);if(c&&u)return c==t&&u==e;var g=-1,m=!0,d=2&i?new ni:void 0;for(r.set(e,t),r.set(t,e);++g<s;){var p=e[g],h=t[g];if(n)var f=a?n(h,p,g,t,e,r):n(p,h,g,e,t,r);if(void 0!==f){if(f)continue;m=!1;break}if(d){if(!oi(t,(function(e,t){if(!ri(d,t)&&(p===e||o(p,e,i,n,r)))return d.push(t)}))){m=!1;break}}else if(p!==h&&!o(p,h,i,n,r)){m=!1;break}}return r.delete(e),r.delete(t),m};const si=nt.Uint8Array;const li=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i};const ci=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i};var ui=ot?ot.prototype:void 0,gi=ui?ui.valueOf:void 0;const mi=function(e,t,i,n,o,r,a){switch(i){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new si(e),new si(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Me(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=li;case"[object Set]":var l=1&n;if(s||(s=ci),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var u=ai(s(e),s(t),n,o,r,a);return a.delete(e),u;case"[object Symbol]":if(gi)return gi.call(e)==gi.call(t)}return!1};const di=function(e,t){for(var i=-1,n=t.length,o=e.length;++i<n;)e[o+i]=t[i];return e};const pi=Array.isArray;const hi=function(e,t,i){var n=t(e);return pi(e)?n:di(n,i(e))};const fi=function(e,t){for(var i=-1,n=null==e?0:e.length,o=0,r=[];++i<n;){var a=e[i];t(a,i,e)&&(r[o++]=a)}return r};const bi=function(){return[]};var ki=Object.prototype.propertyIsEnumerable,vi=Object.getOwnPropertySymbols;const wi=vi?function(e){return null==e?[]:(e=Object(e),fi(vi(e),(function(t){return ki.call(e,t)})))}:bi;const Ii=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n};const _i=function(e){return null!=e&&"object"==typeof e};const yi=function(e){return _i(e)&&"[object Arguments]"==dt(e)};var Ai=Object.prototype,xi=Ai.hasOwnProperty,Ei=Ai.propertyIsEnumerable;const Ci=yi(function(){return arguments}())?yi:function(e){return _i(e)&&xi.call(e,"callee")&&!Ei.call(e,"callee")};const Si=function(){return!1};var Bi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vi=Bi&&"object"==typeof module&&module&&!module.nodeType&&module,Ti=Vi&&Vi.exports===Bi?nt.Buffer:void 0;const zi=(Ti?Ti.isBuffer:void 0)||Si;var Ui=/^(?:0|[1-9]\d*)$/;const Oi=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&Ui.test(e))&&e>-1&&e%1==0&&e<t};const Pi=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Ri={};Ri["[object Float32Array]"]=Ri["[object Float64Array]"]=Ri["[object Int8Array]"]=Ri["[object Int16Array]"]=Ri["[object Int32Array]"]=Ri["[object Uint8Array]"]=Ri["[object Uint8ClampedArray]"]=Ri["[object Uint16Array]"]=Ri["[object Uint32Array]"]=!0,Ri["[object Arguments]"]=Ri["[object Array]"]=Ri["[object ArrayBuffer]"]=Ri["[object Boolean]"]=Ri["[object DataView]"]=Ri["[object Date]"]=Ri["[object Error]"]=Ri["[object Function]"]=Ri["[object Map]"]=Ri["[object Number]"]=Ri["[object Object]"]=Ri["[object RegExp]"]=Ri["[object Set]"]=Ri["[object String]"]=Ri["[object WeakMap]"]=!1;const ji=function(e){return _i(e)&&Pi(e.length)&&!!Ri[dt(e)]};const Fi=function(e){return function(t){return e(t)}};var Ni="object"==typeof exports&&exports&&!exports.nodeType&&exports,Li=Ni&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Li&&Li.exports===Ni&&tt.process,Mi=function(){try{var e=Li&&Li.require&&Li.require("util").types;return e||Di&&Di.binding&&Di.binding("util")}catch(e){}}();var Wi=Mi&&Mi.isTypedArray;const qi=Wi?Fi(Wi):ji;var $i=Object.prototype.hasOwnProperty;const Hi=function(e,t){var i=pi(e),n=!i&&Ci(e),o=!i&&!n&&zi(e),r=!i&&!n&&!o&&qi(e),a=i||n||o||r,s=a?Ii(e.length,String):[],l=s.length;for(var c in e)!t&&!$i.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Oi(c,l))||s.push(c);return s};var Ki=Object.prototype;const Gi=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ki)};const Ji=function(e,t){return function(i){return e(t(i))}}(Object.keys,Object);var Yi=Object.prototype.hasOwnProperty;const Qi=function(e){if(!Gi(e))return Ji(e);var t=[];for(var i in Object(e))Yi.call(e,i)&&"constructor"!=i&&t.push(i);return t};const Xi=function(e){return null!=e&&Pi(e.length)&&!ht(e)};const Zi=function(e){return Xi(e)?Hi(e):Qi(e)};const en=function(e){return hi(e,Zi,wi)};var tn=Object.prototype.hasOwnProperty;const nn=function(e,t,i,n,o,r){var a=1&i,s=en(e),l=s.length;if(l!=en(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:tn.call(t,u)))return!1}var g=r.get(e),m=r.get(t);if(g&&m)return g==t&&m==e;var d=!0;r.set(e,t),r.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],f=t[u];if(n)var b=a?n(f,h,u,t,e,r):n(h,f,u,e,t,r);if(!(void 0===b?h===f||o(h,f,i,n,r):b)){d=!1;break}p||(p="constructor"==u)}if(d&&!p){var k=e.constructor,v=t.constructor;k==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof v&&v instanceof v||(d=!1)}return r.delete(e),r.delete(t),d};const on=Vt(nt,"DataView");const rn=Vt(nt,"Promise");const an=Vt(nt,"Set");const sn=Vt(nt,"WeakMap");var ln="[object Map]",cn="[object Promise]",un="[object Set]",gn="[object WeakMap]",mn="[object DataView]",dn=It(on),pn=It(Tt),hn=It(rn),fn=It(an),bn=It(sn),kn=dt;(on&&kn(new on(new ArrayBuffer(1)))!=mn||Tt&&kn(new Tt)!=ln||rn&&kn(rn.resolve())!=cn||an&&kn(new an)!=un||sn&&kn(new sn)!=gn)&&(kn=function(e){var t=dt(e),i="[object Object]"==t?e.constructor:void 0,n=i?It(i):"";if(n)switch(n){case dn:return mn;case pn:return ln;case hn:return cn;case fn:return un;case bn:return gn}return t});const vn=kn;var wn="[object Arguments]",In="[object Array]",_n="[object Object]",yn=Object.prototype.hasOwnProperty;const An=function(e,t,i,n,o,r){var a=pi(e),s=pi(t),l=a?In:vn(e),c=s?In:vn(t),u=(l=l==wn?_n:l)==_n,g=(c=c==wn?_n:c)==_n,m=l==c;if(m&&zi(e)){if(!zi(t))return!1;a=!0,u=!1}if(m&&!u)return r||(r=new Zt),a||qi(e)?ai(e,t,i,n,o,r):mi(e,t,l,i,n,o,r);if(!(1&i)){var d=u&&yn.call(e,"__wrapped__"),p=g&&yn.call(t,"__wrapped__");if(d||p){var h=d?e.value():e,f=p?t.value():t;return r||(r=new Zt),o(h,f,i,n,r)}}return!!m&&(r||(r=new Zt),nn(e,t,i,n,o,r))};const xn=function e(t,i,n,o,r){return t===i||(null==t||null==i||!_i(t)&&!_i(i)?t!=t&&i!=i:An(t,i,n,o,e,r))};const En=function(e,t,i,n){var o=i.length,r=o,a=!n;if(null==e)return!r;for(e=Object(e);o--;){var s=i[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<r;){var l=(s=i[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var g=new Zt;if(n)var m=n(c,u,l,e,t,g);if(!(void 0===m?xn(u,c,3,n,g):m))return!1}}return!0};const Cn=function(e){return e==e&&!pt(e)};const Sn=function(e){for(var t=Zi(e),i=t.length;i--;){var n=t[i],o=e[n];t[i]=[n,o,Cn(o)]}return t};const Bn=function(e,t){return function(i){return null!=i&&(i[e]===t&&(void 0!==t||e in Object(i)))}};const Vn=function(e){var t=Sn(e);return 1==t.length&&t[0][2]?Bn(t[0][0],t[0][1]):function(i){return i===e||En(i,e,t)}};const Tn=function(e){return"symbol"==typeof e||_i(e)&&"[object Symbol]"==dt(e)};var zn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Un=/^\w*$/;const On=function(e,t){if(pi(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!Tn(e))||(Un.test(e)||!zn.test(e)||null!=t&&e in Object(t))};function Pn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,o=t?t.apply(this,n):n[0],r=i.cache;if(r.has(o))return r.get(o);var a=e.apply(this,n);return i.cache=r.set(o,a)||r,a};return i.cache=new(Pn.Cache||Yt),i}Pn.Cache=Yt;const Rn=Pn;var jn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fn=/\\(\\)?/g;const Nn=function(e){var t=Rn(e,(function(e){return 500===i.size&&i.clear(),e})),i=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(jn,(function(e,i,n,o){t.push(n?o.replace(Fn,"$1"):i||e)})),t}));var Ln=ot?ot.prototype:void 0,Dn=Ln?Ln.toString:void 0;const Mn=function e(t){if("string"==typeof t)return t;if(pi(t))return Le(t,e)+"";if(Tn(t))return Dn?Dn.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i};const Wn=function(e){return null==e?"":Mn(e)};const qn=function(e,t){return pi(e)?e:On(e,t)?[e]:Nn(Wn(e))};const $n=function(e){if("string"==typeof e||Tn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};const Hn=function(e,t){for(var i=0,n=(t=qn(t,e)).length;null!=e&&i<n;)e=e[$n(t[i++])];return i&&i==n?e:void 0};const Kn=function(e,t,i){var n=null==e?void 0:Hn(e,t);return void 0===n?i:n};const Gn=function(e,t){return null!=e&&t in Object(e)};const Jn=function(e,t,i){for(var n=-1,o=(t=qn(t,e)).length,r=!1;++n<o;){var a=$n(t[n]);if(!(r=null!=e&&i(e,a)))break;e=e[a]}return r||++n!=o?r:!!(o=null==e?0:e.length)&&Pi(o)&&Oi(a,o)&&(pi(e)||Ci(e))};const Yn=function(e,t){return null!=e&&Jn(e,t,Gn)};const Qn=function(e,t){return On(e)&&Cn(t)?Bn($n(e),t):function(i){var n=Kn(i,e);return void 0===n&&n===t?Yn(i,e):xn(t,n,3)}};const Xn=function(e){return e};const Zn=function(e){return function(t){return null==t?void 0:t[e]}};const eo=function(e){return function(t){return Hn(t,e)}};const to=function(e){return On(e)?Zn($n(e)):eo(e)};const io=function(e){return"function"==typeof e?e:null==e?Xn:"object"==typeof e?pi(e)?Qn(e[0],e[1]):Vn(e):to(e)};const no=function(e){return function(t,i,n){for(var o=-1,r=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===i(r[l],l,r))break}return t}}();const oo=function(e,t){return function(i,n){if(null==i)return i;if(!Xi(i))return e(i,n);for(var o=i.length,r=t?o:-1,a=Object(i);(t?r--:++r<o)&&!1!==n(a[r],r,a););return i}}((function(e,t){return e&&no(e,t,Zi)}));const ro=function(e,t){var i=-1,n=Xi(e)?Array(e.length):[];return oo(e,(function(e,o,r){n[++i]=t(e,o,r)})),n};const ao=function(e,t){return(pi(e)?Le:ro)(e,io(t,3))};class so extends e.Command{refresh(){const e=this.editor,t=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!t,t&&t.hasAttribute("resizedWidth")?this.value={width:t.getAttribute("resizedWidth"),height:null}:this.value=null}execute(e){const t=this.editor,i=t.model,n=t.plugins.get("ImageUtils"),o=n.getClosestSelectedImageElement(i.document.selection);this.value={width:e.width,height:null},o&&i.change((t=>{t.setAttribute("resizedWidth",e.width,o),t.removeAttribute("resizedHeight",o),n.setImageNaturalSizeAttributes(o)}))}}class lo extends e.Plugin{static get requires(){return[h]}static get pluginName(){return"ImageResizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{name:"resizeImage:custom",value:"custom",icon:"custom"},{name:"resizeImage:25",value:"25",icon:"small"},{name:"resizeImage:50",value:"50",icon:"medium"},{name:"resizeImage:75",value:"75",icon:"large"}]})}init(){const e=this.editor,t=new so(e);this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",t),e.commands.add("imageResize",t)}afterInit(){this._registerSchema()}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["resizedWidth","resizedHeight"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["resizedWidth","resizedHeight"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils");t.conversion.for("downcast").add((t=>t.on(`attribute:resizedWidth:${e}`,((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const n=i.writer,o=i.mapper.toViewElement(t.item);null!==t.attributeNewValue?(n.setStyle("width",t.attributeNewValue,o),n.addClass("image_resized",o)):(n.removeStyle("width",o),n.removeClass("image_resized",o))})))),t.conversion.for("dataDowncast").attributeToAttribute({model:{name:e,key:"resizedHeight"},view:e=>({key:"style",value:{height:e}})}),t.conversion.for("editingDowncast").add((t=>t.on(`attribute:resizedHeight:${e}`,((t,n,o)=>{if(!o.consumable.consume(n.item,t.name))return;const r=o.writer,a=o.mapper.toViewElement(n.item),s="imageInline"===e?i.findViewImgElement(a):a;null!==n.attributeNewValue?r.setStyle("height",n.attributeNewValue,s):r.removeStyle("height",s)})))),t.conversion.for("upcast").attributeToAttribute({view:{name:"imageBlock"===e?"figure":"img",styles:{width:/.+/}},model:{key:"resizedWidth",value:e=>d(e)?null:e.getStyle("width")}}),t.conversion.for("upcast").attributeToAttribute({view:{name:"imageBlock"===e?"figure":"img",styles:{height:/.+/}},model:{key:"resizedHeight",value:e=>d(e)?null:e.getStyle("height")}})}}const co=(()=>({small:e.icons.objectSizeSmall,medium:e.icons.objectSizeMedium,large:e.icons.objectSizeLarge,custom:e.icons.objectSizeCustom,original:e.icons.objectSizeFull}))();class uo extends e.Plugin{static get requires(){return[lo]}static get pluginName(){return"ImageResizeButtons"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._resizeUnit=e.config.get("image.resizeUnit")}init(){const e=this.editor,t=e.config.get("image.resizeOptions"),i=e.commands.get("resizeImage");this.bind("isEnabled").to(i);for(const e of t)this._registerImageResizeButton(e);this._registerImageResizeDropdown(t)}_registerImageResizeButton(e){const t=this.editor,{name:i,value:n,icon:o}=e;t.ui.componentFactory.add(i,(i=>{const r=new I.ButtonView(i),a=t.commands.get("resizeImage"),l=this._getOptionLabelValue(e,!0);if(!co[o])throw new s.CKEditorError("imageresizebuttons-missing-icon",t,e);if(r.set({label:l,icon:co[o],tooltip:l,isToggleable:!0}),r.bind("isEnabled").to(this),t.plugins.has("ImageCustomResizeUI")&&go(e)){const e=t.plugins.get("ImageCustomResizeUI");this.listenTo(r,"execute",(()=>{e._showForm(this._resizeUnit)}))}else{const e=n?n+this._resizeUnit:null;r.bind("isOn").to(a,"value",mo(e)),this.listenTo(r,"execute",(()=>{t.execute("resizeImage",{width:e})}))}return r}))}_registerImageResizeDropdown(e){const t=this.editor,i=t.t,n=e.find((e=>!e.value)),o=o=>{const r=t.commands.get("resizeImage"),a=(0,I.createDropdown)(o,I.DropdownButtonView),s=a.buttonView,l=i("Resize image");return s.set({tooltip:l,commandValue:n.value,icon:co.medium,isToggleable:!0,label:this._getOptionLabelValue(n),withText:!0,class:"ck-resize-image-button",ariaLabel:l,ariaLabelledBy:void 0}),s.bind("label").to(r,"value",(e=>e&&e.width?e.width:this._getOptionLabelValue(n))),a.bind("isEnabled").to(this),(0,I.addListToDropdown)(a,(()=>this._getResizeDropdownListItemDefinitions(e,r)),{ariaLabel:i("Image resize list"),role:"menu"}),this.listenTo(a,"execute",(e=>{"onClick"in e.source?e.source.onClick():(t.execute(e.source.commandName,{width:e.source.commandValue}),t.editing.view.focus())})),a};t.ui.componentFactory.add("resizeImage",o),t.ui.componentFactory.add("imageResize",o)}_getOptionLabelValue(e,t=!1){const i=this.editor.t;return e.label?e.label:t?go(e)?i("Custom image size"):e.value?i("Resize image to %0",e.value+this._resizeUnit):i("Resize image to the original size"):go(e)?i("Custom"):e.value?e.value+this._resizeUnit:i("Original")}_getResizeDropdownListItemDefinitions(e,t){const{editor:i}=this,n=new s.Collection,o=e.map((e=>go(e)?{...e,valueWithUnits:"custom"}:e.value?{...e,valueWithUnits:`${e.value}${this._resizeUnit}`}:{...e,valueWithUnits:null}));for(const e of o){let r=null;if(i.plugins.has("ImageCustomResizeUI")&&go(e)){const n=i.plugins.get("ImageCustomResizeUI");r={type:"button",model:new I.ViewModel({label:this._getOptionLabelValue(e),role:"menuitemradio",withText:!0,icon:null,onClick:()=>{n._showForm(this._resizeUnit)}})};const a=ao(o,"valueWithUnits");r.model.bind("isOn").to(t,"value",po(a))}else r={type:"button",model:new I.ViewModel({commandName:"resizeImage",commandValue:e.valueWithUnits,label:this._getOptionLabelValue(e),role:"menuitemradio",withText:!0,icon:null})},r.model.bind("isOn").to(t,"value",mo(e.valueWithUnits));r.model.bind("isEnabled").to(t,"isEnabled"),n.add(r)}return n}}function go(e){return"custom"===e.value}function mo(e){return t=>null===e&&t===e||null!==t&&t.width===e}function po(e){return t=>!e.some((e=>mo(e)(t)))}const ho="image_resized";class fo extends e.Plugin{static get requires(){return[l.WidgetResize,h]}static get pluginName(){return"ImageResizeHandles"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.commands.get("resizeImage");this.bind("isEnabled").to(e),this._setupResizerCreator()}_setupResizerCreator(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils");t.addObserver(M),this.listenTo(t.document,"imageLoaded",((n,o)=>{if(!o.target.matches("figure.image.ck-widget > img,figure.image.ck-widget > picture > img,figure.image.ck-widget > a > img,figure.image.ck-widget > a > picture > img,span.image-inline.ck-widget > img,span.image-inline.ck-widget > picture > img"))return;const r=e.editing.view.domConverter,a=r.domToView(o.target),s=i.getImageWidgetFromImageView(a);let c=this.editor.plugins.get(l.WidgetResize).getResizerByViewElement(s);if(c)return void c.redraw();const u=e.editing.mapper,g=u.toModelElement(s);c=e.plugins.get(l.WidgetResize).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:g,viewElement:s,editor:e,getHandleHost:e=>e.querySelector("img"),getResizeHost:()=>r.mapViewToDom(u.toViewElement(g)),isCentered:()=>"alignCenter"==g.getAttribute("imageStyle"),onCommit(i){t.change((e=>{e.removeClass(ho,s)})),e.execute("resizeImage",{width:i})}}),c.on("updateSize",(()=>{s.hasClass(ho)||t.change((e=>{e.addClass(ho,s)}));const e="imageInline"===g.name?a:s;e.getStyle("height")&&t.change((t=>{t.removeStyle("height",e)}))})),c.bind("isEnabled").to(this)}))}}function bo(e){if(!e)return null;const[,t,i]=e.trim().match(/([.,\d]+)(%|px)$/)||[],n=Number.parseFloat(t);return Number.isNaN(n)?null:{value:n,unit:i}}function ko(e,t,i){return"px"===i?{value:t.value,unit:"px"}:{value:t.value/e*100,unit:"%"}}function vo(e){const{editing:t}=e,i=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);if(!i)return null;const n=t.mapper.toViewElement(i);return{model:i,view:n,dom:t.view.domConverter.mapViewToDom(n)}}var wo=i(429),Io={attributes:{"data-cke":!0}};Io.setAttributes=B(),Io.insert=C().bind(null,"head"),Io.domAPI=x(),Io.insertStyleElement=T();y()(wo.A,Io);wo.A&&wo.A.locals&&wo.A.locals;class _o extends I.View{constructor(t,i,n){super(t);const o=this.locale.t;this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this.unit=i,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(o("Save"),e.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(o("Cancel"),e.icons.cancel,"ck-button-cancel","cancel"),this._focusables=new I.ViewCollection,this._validators=n,this._focusCycler=new I.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-custom-resize-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),(0,I.submitHandler)({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(e,t,i,n){const o=new I.ButtonView(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:i}}),n&&o.delegate("execute").to(this,n),o}_createLabeledInputView(){const e=this.locale.t,t=new I.LabeledFieldView(this.locale,I.createLabeledInputNumber);return t.label=e("Resize image (in %0)",this.unit),t.fieldView.set({step:.1}),t}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.labeledInput.errorText=t,!1}return!0}resetFormStatus(){this.labeledInput.errorText=null}get rawSize(){const{element:e}=this.labeledInput.fieldView;return e?e.value:null}get parsedSize(){const{rawSize:e}=this;if(null===e)return null;const t=Number.parseFloat(e);return Number.isNaN(t)?null:t}get sizeWithUnits(){const{parsedSize:e,unit:t}=this;return null===e?null:`${e}${t}`}}class yo extends e.Plugin{static get requires(){return[I.ContextualBalloon]}static get pluginName(){return"ImageCustomResizeUI"}static get isOfficialPlugin(){return!0}destroy(){super.destroy(),this._form&&this._form.destroy()}_createForm(e){const t=this.editor;this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new((0,I.CssTransitionDisablerMixin)(_o))(t.locale,e,function(e){const t=e.t;return[e=>""===e.rawSize.trim()?t("The value must not be empty."):null===e.parsedSize?t("The value should be a plain number."):void 0]}(t)),this._form.render(),this.listenTo(this._form,"submit",(()=>{this._form.isValid()&&(t.execute("resizeImage",{width:this._form.sizeWithUnits}),this._hideForm(!0))})),this.listenTo(this._form.labeledInput,"change:errorText",(()=>{t.ui.update()})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((e,t)=>{this._hideForm(!0),t()})),(0,I.clickOutsideHandler)({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(e){if(this._isVisible)return;this._form||this._createForm(e);const t=this.editor,i=this._form.labeledInput;this._form.disableCssTransitions(),this._form.resetFormStatus(),this._isInBalloon||this._balloon.add({view:this._form,position:j(t)});const n=function(e,t){const i=vo(e);if(!i)return null;const n=bo(i.model.getAttribute("resizedWidth")||null);return n?n.unit===t?n:ko((0,l.calculateResizeHostAncestorWidth)(i.dom),{unit:"px",value:new s.Rect(i.dom).width},t):null}(t,e),o=n?n.value.toFixed(1):"",r=function(e,t){const i=vo(e);if(!i)return null;const n=(0,l.calculateResizeHostAncestorWidth)(i.dom),o=bo(window.getComputedStyle(i.dom).minWidth)||{value:1,unit:"px"};return{unit:t,lower:Math.max(.1,ko(n,o,t).value),upper:"px"===t?n:100}}(t,e);i.fieldView.value=i.fieldView.element.value=o,r&&Object.assign(i.fieldView,{min:r.lower.toFixed(1),max:Math.ceil(r.upper).toFixed(1)}),this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}var Ao=i(278),xo={attributes:{"data-cke":!0}};xo.setAttributes=B(),xo.insert=C().bind(null,"head"),xo.domAPI=x(),xo.insertStyleElement=T();y()(Ao.A,xo);Ao.A&&Ao.A.locals&&Ao.A.locals;class Eo extends e.Plugin{static get requires(){return[lo,fo,yo,uo]}static get pluginName(){return"ImageResize"}static get isOfficialPlugin(){return!0}}class Co extends e.Command{constructor(e,t){super(e),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(t.map((e=>{if(e.isDefault)for(const t of e.modelElements)this._defaultStyles[t]=e.name;return[e.name,e]})))}refresh(){const e=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?e.hasAttribute("imageStyle")?this.value=e.getAttribute("imageStyle"):this.value=this._defaultStyles[e.name]:this.value=!1}execute(e={}){const t=this.editor,i=t.model,n=t.plugins.get("ImageUtils");i.change((t=>{const o=e.value,{setImageSizes:r=!0}=e;let a=n.getClosestSelectedImageElement(i.document.selection);o&&this.shouldConvertImageType(o,a)&&(this.editor.execute(n.isBlockImage(a)?"imageTypeInline":"imageTypeBlock",{setImageSizes:r}),a=n.getClosestSelectedImageElement(i.document.selection)),!o||this._styles.get(o).isDefault?t.removeAttribute("imageStyle",a):t.setAttribute("imageStyle",o,a),r&&n.setImageNaturalSizeAttributes(a)}))}shouldConvertImageType(e,t){return!this._styles.get(e).modelElements.includes(t.name)}}const So={get inline(){return{name:"inline",title:"In line",icon:e.icons.objectInline,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:e.icons.objectLeft,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:e.icons.objectBlockLeft,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:e.icons.objectCenter,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:e.icons.objectRight,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:e.icons.objectBlockRight,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:e.icons.objectCenter,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:e.icons.objectRight,modelElements:["imageBlock"],className:"image-style-side"}}},Bo=(()=>({full:e.icons.objectFullWidth,left:e.icons.objectBlockLeft,right:e.icons.objectBlockRight,center:e.icons.objectCenter,inlineLeft:e.icons.objectLeft,inlineRight:e.icons.objectRight,inline:e.icons.objectInline}))(),Vo=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function To(e){(0,s.logWarning)("image-style-configuration-definition-invalid",e)}const zo={normalizeStyles:function(e){return(e.configuredStyles.options||[]).map((e=>function(e){e="string"==typeof e?So[e]?{...So[e]}:{name:e}:function(e,t){const i={...t};for(const n in e)Object.prototype.hasOwnProperty.call(t,n)||(i[n]=e[n]);return i}(So[e.name],e);"string"==typeof e.icon&&(e.icon=Bo[e.icon]||e.icon);return e}(e))).filter((t=>function(e,{isBlockPluginLoaded:t,isInlinePluginLoaded:i}){const{modelElements:n,name:o}=e;if(!(n&&n.length&&o))return To({style:e}),!1;{const o=[t?"imageBlock":null,i?"imageInline":null];if(!n.some((e=>o.includes(e))))return(0,s.logWarning)("image-style-missing-dependency",{style:e,missingPlugins:n.map((e=>"imageBlock"===e?"ImageBlockEditing":"ImageInlineEditing"))}),!1}return!0}(t,e)))},getDefaultStylesConfiguration:function(e,t){return e&&t?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:e?{options:["block","side"]}:t?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(e){return e.has("ImageBlockEditing")&&e.has("ImageInlineEditing")?[...Vo]:[]},warnInvalidStyle:To,DEFAULT_OPTIONS:So,DEFAULT_ICONS:Bo,DEFAULT_DROPDOWN_DEFINITIONS:Vo};function Uo(e,t){for(const i of t)if(i.name===e)return i}class Oo extends e.Plugin{static get pluginName(){return"ImageStyleEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[h]}init(){const{normalizeStyles:e,getDefaultStylesConfiguration:t}=zo,i=this.editor,n=i.plugins.has("ImageBlockEditing"),o=i.plugins.has("ImageInlineEditing");i.config.define("image.styles",t(n,o)),this.normalizedStyles=e({configuredStyles:i.config.get("image.styles"),isBlockPluginLoaded:n,isInlinePluginLoaded:o}),this._setupConversion(n,o),this._setupPostFixer(),i.commands.add("imageStyle",new Co(i,this.normalizedStyles))}_setupConversion(e,t){const i=this.editor,n=i.model.schema,o=(r=this.normalizedStyles,(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const n=Uo(t.attributeNewValue,r),o=Uo(t.attributeOldValue,r),a=i.mapper.toViewElement(t.item),s=i.writer;o&&s.removeClass(o.className,a),n&&s.addClass(n.className,a)});var r;const a=function(e){const t={imageInline:e.filter((e=>!e.isDefault&&e.modelElements.includes("imageInline"))),imageBlock:e.filter((e=>!e.isDefault&&e.modelElements.includes("imageBlock")))};return(e,i,n)=>{if(!i.modelRange)return;const o=i.viewItem,r=(0,s.first)(i.modelRange.getItems());if(r&&n.schema.checkAttribute(r,"imageStyle"))for(const e of t[r.name])n.consumable.consume(o,{classes:e.className})&&n.writer.setAttribute("imageStyle",e.name,r)}}(this.normalizedStyles);i.editing.downcastDispatcher.on("attribute:imageStyle",o),i.data.downcastDispatcher.on("attribute:imageStyle",o),e&&(n.extend("imageBlock",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:figure",a,{priority:"low"})),t&&(n.extend("imageInline",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:img",a,{priority:"low"}))}_setupPostFixer(){const e=this.editor,t=e.model.document,i=e.plugins.get(h),n=new Map(this.normalizedStyles.map((e=>[e.name,e])));t.registerPostFixer((e=>{let o=!1;for(const r of t.differ.getChanges())if("insert"==r.type||"attribute"==r.type&&"imageStyle"==r.attributeKey){let t="insert"==r.type?r.position.nodeAfter:r.range.start.nodeAfter;if(t&&t.is("element","paragraph")&&t.childCount>0&&(t=t.getChild(0)),!i.isImage(t))continue;const a=t.getAttribute("imageStyle");if(!a)continue;const s=n.get(a);s&&s.modelElements.includes(t.name)||(e.removeAttribute("imageStyle",t),o=!0)}return o}))}}var Po=i(895),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=B(),Ro.insert=C().bind(null,"head"),Ro.domAPI=x(),Ro.insertStyleElement=T();y()(Po.A,Ro);Po.A&&Po.A.locals&&Po.A.locals;class jo extends e.Plugin{static get requires(){return[Oo]}static get pluginName(){return"ImageStyleUI"}static get isOfficialPlugin(){return!0}get localizedDefaultStylesTitles(){const e=this.editor.t;return{"Wrap text":e("Wrap text"),"Break text":e("Break text"),"In line":e("In line"),"Full size image":e("Full size image"),"Side image":e("Side image"),"Left aligned image":e("Left aligned image"),"Centered image":e("Centered image"),"Right aligned image":e("Right aligned image")}}init(){const e=this.editor.plugins,t=this.editor.config.get("image.toolbar")||[],i=Fo(e.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const e of i)this._createButton(e);const n=Fo([...t.filter(pt),...zo.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const e of n)this._createDropdown(e,i)}_createDropdown(e,t){const i=this.editor.ui.componentFactory;i.add(e.name,(n=>{let o;const{defaultItem:r,items:a,title:s}=e,l=a.filter((e=>t.find((({name:t})=>No(t)===e)))).map((e=>{const t=i.create(e);return e===r&&(o=t),t}));a.length!==l.length&&zo.warnInvalidStyle({dropdown:e});const c=(0,I.createDropdown)(n,I.SplitButtonView),u=c.buttonView,g=u.arrowView;return(0,I.addToolbarToDropdown)(c,l,{enableActiveItemFocusOnDropdownOpen:!0}),u.set({label:Lo(s,o.label),class:null,tooltip:!0}),g.unbind("label"),g.set({label:s}),u.bind("icon").toMany(l,"isOn",((...e)=>{const t=e.findIndex(Xn);return t<0?o.icon:l[t].icon})),u.bind("label").toMany(l,"isOn",((...e)=>{const t=e.findIndex(Xn);return Lo(s,t<0?o.label:l[t].label)})),u.bind("isOn").toMany(l,"isOn",((...e)=>e.some(Xn))),u.bind("class").toMany(l,"isOn",((...e)=>e.some(Xn)?"ck-splitbutton_flatten":void 0)),u.on("execute",(()=>{l.some((({isOn:e})=>e))?c.isOpen=!c.isOpen:o.fire("execute")})),c.bind("isEnabled").toMany(l,"isEnabled",((...e)=>e.some(Xn))),this.listenTo(c,"execute",(()=>{this.editor.editing.view.focus()})),c}))}_createButton(e){const t=e.name;this.editor.ui.componentFactory.add(No(t),(i=>{const n=this.editor.commands.get("imageStyle"),o=new I.ButtonView(i);return o.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),o.bind("isEnabled").to(n,"isEnabled"),o.bind("isOn").to(n,"value",(e=>e===t)),o.on("execute",this._executeCommand.bind(this,t)),o}))}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function Fo(e,t){for(const i of e)t[i.title]&&(i.title=t[i.title]);return e}function No(e){return`imageStyle:${e}`}function Lo(e,t){return(e?e+": ":"")+t}class Do extends e.Plugin{static get requires(){return[Oo,jo]}static get pluginName(){return"ImageStyle"}static get isOfficialPlugin(){return!0}}class Mo extends e.Plugin{static get requires(){return[l.WidgetToolbarRepository,h]}static get pluginName(){return"ImageToolbar"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(l.WidgetToolbarRepository),n=e.plugins.get("ImageUtils");var o;i.register("image",{ariaLabel:t("Image toolbar"),items:(o=e.config.get("image.toolbar")||[],o.map((e=>pt(e)?e.name:e))),getRelatedElement:e=>n.getClosestSelectedImageWidget(e)})}}class Wo extends e.Plugin{static get requires(){return[$,h]}static get pluginName(){return"PictureEditing"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.model.schema.extend("imageBlock",{allowAttributes:["sources"]}),e.plugins.has("ImageInlineEditing")&&e.model.schema.extend("imageInline",{allowAttributes:["sources"]}),this._setupConversion(),this._setupImageUploadEditingIntegration()}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("upcast").add(function(e){const t=["srcset","media","type","sizes"],i=(i,n,o)=>{const r=n.viewItem;if(!o.consumable.test(r,{name:!0}))return;const a=new Map;for(const e of r.getChildren())if(e.is("element","source")){const i={};for(const n of t)e.hasAttribute(n)&&o.consumable.test(e,{attributes:n})&&(i[n]=e.getAttribute(n));Object.keys(i).length&&a.set(e,i)}const l=e.findViewImgElement(r);if(!l)return;let c=n.modelCursor.parent;if(!c.is("element","imageBlock")){const e=o.convertItem(l,n.modelCursor);n.modelRange=e.modelRange,n.modelCursor=e.modelCursor,c=(0,s.first)(e.modelRange.getItems())}o.consumable.consume(r,{name:!0});for(const[e,t]of a)o.consumable.consume(e,{attributes:Object.keys(t)});a.size&&o.writer.setAttribute("sources",Array.from(a.values()),c),o.convertChildren(r,c)};return e=>{e.on("element:picture",i)}}(i)),t.for("downcast").add(function(e){const t=(t,i,n)=>{if(!n.consumable.consume(i.item,t.name))return;const o=n.writer,r=n.mapper.toViewElement(i.item),a=e.findViewImgElement(r),s=i.attributeNewValue;if(s&&s.length){const e=[];let t=a.parent;for(;t&&t.is("attributeElement");){const i=t.parent;o.unwrap(o.createRangeOn(a),t),e.unshift(t),t=i}const i=a.parent.is("element","picture"),n=i?a.parent:o.createContainerElement("picture",null);i||o.insert(o.createPositionBefore(a),n),o.remove(o.createRangeIn(n)),o.insert(o.createPositionAt(n,"end"),s.map((e=>o.createEmptyElement("source",e)))),o.move(o.createRangeOn(a),o.createPositionAt(n,"end"));for(const t of e)o.wrap(o.createRangeOn(n),t)}else if(a.parent.is("element","picture")){const e=a.parent;o.move(o.createRangeOn(a),o.createPositionBefore(e)),o.remove(e)}};return e=>{e.on("attribute:sources:imageBlock",t),e.on("attribute:sources:imageInline",t)}}(i))}_setupImageUploadEditingIntegration(){const e=this.editor;if(!e.plugins.has("ImageUploadEditing"))return;const t=e.plugins.get("ImageUploadEditing");this.listenTo(t,"uploadComplete",((t,{imageElement:i,data:n})=>{const o=n.sources;o&&e.model.change((e=>{e.setAttributes({sources:o},i)}))}))}}})(),(window.CKEditor5=window.CKEditor5||{}).image=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/image/translations/ca.js b/core/assets/vendor/ckeditor5/image/translations/ca.js index 7b0fb851fb0f87a7b3285951d918d3960873639a..7c41aadacd68d75003c224efdf92af274f95dccb 100644 --- a/core/assets/vendor/ckeditor5/image/translations/ca.js +++ b/core/assets/vendor/ckeditor5/image/translations/ca.js @@ -1 +1 @@ -!function(a){const e=a.ca=a.ca||{};e.dictionary=Object.assign(e.dictionary||{},{"Break text":"Partir el text","Caption for image: %0":"Peu de foto: %0","Caption for the image":"Peu de foto","Centered image":"Imatge centrada","Change image text alternative":"Canviar l'alternativa del text de la imatge",Custom:"Personalitzat","Custom image size":"Mida de la imatge personalitzada","Enter image caption":"Introduir el peu de foto de la imatge","Error during image upload":"Error durant la cà rrega de la imatge","From computer":"Des de l'ordinador","Full size image":"Imatge a mida completa",Image:"Imatge","Image from computer":"Imatge des de l'ordinador","Image resize list":"Llista de redimensionament de la imatge","Image toolbar":"Barra d'eines d'imatge","Image upload complete":"S'ha completat la pujada de la imatge","Image via URL":"Imatge mitjançant un URL","image widget":"giny d'imatge","In line":"A la lÃnia","Insert image":"Introduir la imatge","Insert image via URL":"Introduir la imatge mitjançant l'URL","Insert via URL":"Insereix mitjançant un URL","Left aligned image":"Imatge alineada a l'esquerra",Original:"Original","Replace from computer":"Substitueix-ho des de l'ordinador","Replace image":"Substitueix la imatge","Replace image from computer":"Substitueix la imatge des de l'ordinador","Resize image":"Redimensionar la imatge","Resize image (in %0)":"Canvia la mida de la imatge (a %0)","Resize image to %0":"Redimensiona la imatge a %0","Resize image to the original size":"Redimensiona la imatge a la mida original","Right aligned image":"Imatge alineada a la dreta","Side image":"Imatge lateral","Text alternative":"Alternativa de text","The value must not be empty.":"El valor no pot estar buit.","The value should be a plain number.":"El valor ha de ser un nombre senzill.","Update image URL":"Actualitzar l'URL de la imatge","Upload failed":"No s'ha pogut carregar","Upload from computer":"Puja-ho des de l'ordinador","Upload image from computer":"Puja la imatge des de l'ordinador","Uploading image":"S'està pujant la imatge","Via URL":"Mitjançant un URL","Wrap text":"Embolcallar el text","You have no image upload permissions.":"No tens permisos per pujar imatges."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.ca=a.ca||{};e.dictionary=Object.assign(e.dictionary||{},{"Break text":"Parteix el text","Caption for image: %0":"Peu de foto: %0","Caption for the image":"Peu de foto","Centered image":"Imatge centrada","Change image text alternative":"Canviar l'alternativa del text de la imatge",Custom:"Personalitzat","Custom image size":"Mida de la imatge personalitzada","Enter image caption":"Introduir el peu de foto de la imatge","Error during image upload":"Error durant la cà rrega de la imatge","From computer":"Des de l'ordinador","Full size image":"Imatge a mida completa",Image:"Imatge","Image from computer":"Imatge des de l'ordinador","Image resize list":"Llista de redimensionament de la imatge","Image toolbar":"Barra d'eines d'imatge","Image upload complete":"S'ha completat la pujada de la imatge","Image via URL":"Imatge mitjançant un URL","image widget":"giny d'imatge","In line":"A la lÃnia","Insert image":"Introduir la imatge","Insert image via URL":"Introduir la imatge mitjançant l'URL","Insert via URL":"Insereix mitjançant un URL","Left aligned image":"Imatge alineada a l'esquerra",Original:"Original","Replace from computer":"Substitueix-ho des de l'ordinador","Replace image":"Substitueix la imatge","Replace image from computer":"Substitueix la imatge des de l'ordinador","Resize image":"Redimensionar la imatge","Resize image (in %0)":"Canvia la mida de la imatge (a %0)","Resize image to %0":"Redimensiona la imatge a %0","Resize image to the original size":"Redimensiona la imatge a la mida original","Right aligned image":"Imatge alineada a la dreta","Side image":"Imatge lateral","Text alternative":"Alternativa de text","The value must not be empty.":"El valor no pot estar buit.","The value should be a plain number.":"El valor ha de ser un nombre senzill.","Update image URL":"Actualitzar l'URL de la imatge","Upload failed":"No s'ha pogut carregar","Upload from computer":"Puja-ho des de l'ordinador","Upload image from computer":"Puja la imatge des de l'ordinador","Uploading image":"S'està pujant la imatge","Via URL":"Mitjançant un URL","Wrap text":"Embolcallar el text","You have no image upload permissions.":"No tens permisos per pujar imatges."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/image/translations/es-co.js b/core/assets/vendor/ckeditor5/image/translations/es-co.js index 463f58c1563ac7daa10357bf5963944ced99a632..274b4fd48ef9a317af990cc9ad0fdc989165736e 100644 --- a/core/assets/vendor/ckeditor5/image/translations/es-co.js +++ b/core/assets/vendor/ckeditor5/image/translations/es-co.js @@ -1 +1 @@ -!function(e){const a=e["es-co"]=e["es-co"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"","Enter image caption":"","Full size image":"","Image from computer":"","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"Insertar","Insert image":"","Insert image via URL":"","Left aligned image":"",Original:"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"","Side image":"","Text alternative":"",Update:"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Wrap text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e["es-co"]=e["es-co"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"",Custom:"","Custom image size":"","Enter image caption":"","Error during image upload":"","From computer":"","Full size image":"",Image:"","Image from computer":"","Image resize list":"","Image toolbar":"","Image upload complete":"","Image via URL":"","image widget":"","In line":"","Insert image":"","Insert image via URL":"","Insert via URL":"","Left aligned image":"",Original:"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image (in %0)":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"","Side image":"","Text alternative":"","The value must not be empty.":"","The value should be a plain number.":"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Uploading image":"","Via URL":"","Wrap text":"","You have no image upload permissions.":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/image/translations/tt.js b/core/assets/vendor/ckeditor5/image/translations/tt.js index 73e54a8fdfd069be737904fdf52e1ec7d5649320..deb41a5d502642d28e9716bc1002bd3b0922e85a 100644 --- a/core/assets/vendor/ckeditor5/image/translations/tt.js +++ b/core/assets/vendor/ckeditor5/image/translations/tt.js @@ -1 +1 @@ -!function(e){const i=e.tt=e.tt||{};i.dictionary=Object.assign(i.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"","Enter image caption":"","Full size image":"","Image from computer":"","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"","Insert image":"","Insert image via URL":"","Left aligned image":"",Original:"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"","Side image":"","Text alternative":"",Update:"Яңарт","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Wrap text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.tt=e.tt||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"",Custom:"","Custom image size":"","Enter image caption":"","Error during image upload":"","From computer":"","Full size image":"",Image:"","Image from computer":"","Image resize list":"","Image toolbar":"","Image upload complete":"","Image via URL":"","image widget":"","In line":"","Insert image":"","Insert image via URL":"","Insert via URL":"","Left aligned image":"",Original:"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image (in %0)":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"","Side image":"","Text alternative":"","The value must not be empty.":"","The value should be a plain number.":"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Uploading image":"","Via URL":"","Wrap text":"","You have no image upload permissions.":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/image/translations/ug.js b/core/assets/vendor/ckeditor5/image/translations/ug.js index 68276a6d35799cc892019123ce0dda60036e301e..532c401aba7686e33662a9382ee8d703254ad98c 100644 --- a/core/assets/vendor/ckeditor5/image/translations/ug.js +++ b/core/assets/vendor/ckeditor5/image/translations/ug.js @@ -1 +1 @@ -!function(e){const a=e.ug=e.ug||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"ئوتتۇردىكى رەسىم","Change image text alternative":"رەسىملىك تÛكىست تاللىغۇچنى ئۆزگەرتىش",Custom:"","Custom image size":"","Enter image caption":"Ø±Û•Ø³Ù‰Ù…Ù†Ù‰Ú ØªÛمىسىنى كىرگۈزۈÚ","Error during image upload":"","From computer":"","Full size image":"ئەسلى Ú†ÙˆÚلۇقتىكى رەسىم",Image:"","Image from computer":"","Image resize list":"","Image toolbar":"","Image upload complete":"","Image via URL":"","image widget":"رەسىمچىك","In line":"","Insert image":"رەسىم قىستۇرۇش","Insert image via URL":"","Insert via URL":"","Left aligned image":"سولغا توغۇرلانغان رەسىم",Original:"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image (in %0)":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"ئوÚغا توغۇرلانغان رەسىم","Side image":"يان رەسىم","Text alternative":"تÛكىست ئاملاشتۇرۇش","The value must not be empty.":"","The value should be a plain number.":"","Update image URL":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Upload from computer":"","Upload image from computer":"","Uploading image":"","Via URL":"","Wrap text":"","You have no image upload permissions.":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.ug=e.ug||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"تÛكىست ئۈز","Caption for image: %0":"سۈرەت چۈشەندۈرۈشى: %0","Caption for the image":"سۈرەت چۈشەندۈرۈشى","Centered image":"ئوتتۇردىكى رەسىم","Change image text alternative":"رەسىملىك تÛكىست تاللىغۇچنى ئۆزگەرتىش",Custom:"ئىختىيارى","Custom image size":"ئىختىيارى سۈرەت Ú†ÙˆÚلۇقى","Enter image caption":"Ø±Û•Ø³Ù‰Ù…Ù†Ù‰Ú ØªÛمىسىنى كىرگۈزۈÚ","Error during image upload":"سۈرەت يۈكلەشتە خاتالىق كۆرۈلدى","From computer":"كومپيۇتÛردىن","Full size image":"ئەسلى Ú†ÙˆÚلۇقتىكى رەسىم",Image:"سۈرەت","Image from computer":"كومپيۇتÛردىن سۈرەت تاللاÚ","Image resize list":"سۈرەت Ú†ÙˆÚلۇقىنى تەÚØ´Û•Ø´ تىزىمى","Image toolbar":"سۈرەت قورال بالداق","Image upload complete":"سۈرەت يۈكلەش تامام","Image via URL":"تور ئادرÛسىدىن ÙƒÛ•Ù„Ú¯Û•Ù† سۈرەت","image widget":"رەسىمچىك","In line":"قۇردا","Insert image":"رەسىم قىستۇرۇش","Insert image via URL":"سۈرەتنى تور ئادرÛسىدىن قىستۇر","Insert via URL":"تور ئادرÛسىدىن قىستۇر","Left aligned image":"سولغا توغۇرلانغان رەسىم",Original:"ئەسلى","Replace from computer":"كومپيۇتÛردىن ئالماشتۇر","Replace image":"سۈرەت ئالماشتۇر","Replace image from computer":"سۈرەتنى كومپيۇتÛردىن ئالماشتۇرىدۇ","Resize image":"سۈرەت Ú†ÙˆÚلۇقىنى تەÚØ´Û•","Resize image (in %0)":"سۈرەت Ú†ÙˆÚلۇقىنى تەÚØ´Û• (بىرلىكى %0)","Resize image to %0":"سۈرەت Ú†ÙˆÚلۇقىنى %0 ÙƒÛ• تەÚØ´Û•","Resize image to the original size":"سۈرەت Ú†ÙˆÚلۇقىنى ئەسلى Ú†ÙˆÚلۇقىغا تەÚشەيدۇ","Right aligned image":"ئوÚغا توغۇرلانغان رەسىم","Side image":"يان رەسىم","Text alternative":"تÛكىست ئاملاشتۇرۇش","The value must not be empty.":"قىممىتى بوش قالدۇرۇلمايدۇ.","The value should be a plain number.":"مەزكۇر قىممەت سان بولۇشى ÙƒÛرەك.","Update image URL":"سۈرەت تور ئادرÛسىنى ÙŠÛÚىلا","Upload failed":"چىقىرىش مەغلۇپ بولدى","Upload from computer":"كومپيۇتÛردىن يۈكلە","Upload image from computer":"سۈرەتنى كومپيۇتÛردىن يۈكلە","Uploading image":"سۈرەت يۈكلەۋاتىدۇ","Via URL":"تور ئادرÛسى ئارقىلىق","Wrap text":"تÛكىست چۆرىدەت","You have no image upload permissions.":"سۈرەت يۈكلەش ئىجازىتىÚىز يوق."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/indent/indent.js b/core/assets/vendor/ckeditor5/indent/indent.js index 447e4df1d6e43d43067c66843f66d191b1bc027a..af7aeef4d72f72a298bc48a35307ec7b632ff6b9 100644 --- a/core/assets/vendor/ckeditor5/indent/indent.js +++ b/core/assets/vendor/ckeditor5/indent/indent.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(s){var i=e[s];if(void 0!==i)return i.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var s in e)n.o(e,s)&&!n.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{Indent:()=>r,IndentBlock:()=>g,IndentEditing:()=>e,IndentUI:()=>o});var t=n(782);class e extends t.Plugin{static get pluginName(){return"IndentEditing"}init(){const e=this.editor;e.commands.add("indent",new t.MultiCommand(e)),e.commands.add("outdent",new t.MultiCommand(e))}}var i=n(311);class o extends t.Plugin{static get pluginName(){return"IndentUI"}init(){const e=this.editor,n=e.locale,s=e.t,i="ltr"==n.uiLanguageDirection?t.icons.indent:t.icons.outdent,o="ltr"==n.uiLanguageDirection?t.icons.outdent:t.icons.indent;this._defineButton("indent",s("Increase indent"),i),this._defineButton("outdent",s("Decrease indent"),o)}_defineButton(t,e,n){const s=this.editor;s.ui.componentFactory.add(t,(()=>{const s=this._createButton(i.ButtonView,t,e,n);return s.set({tooltip:!0}),s})),s.ui.componentFactory.add("menuBar:"+t,(()=>this._createButton(i.MenuBarMenuListItemButtonView,t,e,n)))}_createButton(t,e,n,s){const i=this.editor,o=i.commands.get(e),r=new t(i.locale);return r.set({label:n,icon:s}),r.bind("isEnabled").to(o,"isEnabled"),this.listenTo(r,"execute",(()=>{i.execute(e),i.editing.view.focus()})),r}}class r extends t.Plugin{static get pluginName(){return"Indent"}static get requires(){return[e,o]}}var d=n(783),a=n(584);class c extends t.Command{constructor(t,e){super(t),this._indentBehavior=e}refresh(){const t=this.editor.model,e=(0,a.first)(t.document.selection.getSelectedBlocks());e&&this._isIndentationChangeAllowed(e)?this.isEnabled=this._indentBehavior.checkEnabled(e.getAttribute("blockIndent")):this.isEnabled=!1}execute(){const t=this.editor.model,e=this._getBlocksToChange();t.change((t=>{for(const n of e){const e=n.getAttribute("blockIndent"),s=this._indentBehavior.getNextIndent(e);s?t.setAttribute("blockIndent",s,n):t.removeAttribute("blockIndent",n)}}))}_getBlocksToChange(){const t=this.editor.model.document.selection;return Array.from(t.getSelectedBlocks()).filter((t=>this._isIndentationChangeAllowed(t)))}_isIndentationChangeAllowed(t){const e=this.editor;if(!e.model.schema.checkAttribute(t,"blockIndent"))return!1;if(!e.plugins.has("ListUtils"))return!0;if(!this._indentBehavior.isForward)return!0;return!e.plugins.get("ListUtils").isListItemBlock(t)}}class l{constructor(t){this.isForward="forward"===t.direction,this.offset=t.offset,this.unit=t.unit}checkEnabled(t){const e=parseFloat(t||"0");return this.isForward||e>0}getNextIndent(t){const e=parseFloat(t||"0");if(!(!t||t.endsWith(this.unit)))return this.isForward?this.offset+this.unit:void 0;const n=e+(this.isForward?this.offset:-this.offset);return n>0?n+this.unit:void 0}}class u{constructor(t){this.isForward="forward"===t.direction,this.classes=t.classes}checkEnabled(t){const e=this.classes.indexOf(t);return this.isForward?e<this.classes.length-1:e>=0}getNextIndent(t){const e=this.classes.indexOf(t),n=this.isForward?1:-1;return this.classes[e+n]}}const h=["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"];class g extends t.Plugin{constructor(t){super(t),t.config.define("indentBlock",{offset:40,unit:"px"})}static get pluginName(){return"IndentBlock"}init(){const t=this.editor,e=t.config.get("indentBlock");e.classes&&e.classes.length?(this._setupConversionUsingClasses(e.classes),t.commands.add("indentBlock",new c(t,new u({direction:"forward",classes:e.classes}))),t.commands.add("outdentBlock",new c(t,new u({direction:"backward",classes:e.classes})))):(t.data.addStyleProcessorRules(d.addMarginRules),this._setupConversionUsingOffset(),t.commands.add("indentBlock",new c(t,new l({direction:"forward",offset:e.offset,unit:e.unit}))),t.commands.add("outdentBlock",new c(t,new l({direction:"backward",offset:e.offset,unit:e.unit}))))}afterInit(){const t=this.editor,e=t.model.schema,n=t.commands.get("indent"),s=t.commands.get("outdent"),i=t.config.get("heading.options");(i&&i.map((t=>t.model))||h).forEach((t=>{e.isRegistered(t)&&e.extend(t,{allowAttributes:"blockIndent"})})),e.setAttributeProperties("blockIndent",{isFormatting:!0}),n.registerChildCommand(t.commands.get("indentBlock")),s.registerChildCommand(t.commands.get("outdentBlock"))}_setupConversionUsingOffset(){const t=this.editor.conversion,e="rtl"===this.editor.locale.contentLanguageDirection?"margin-right":"margin-left";t.for("upcast").attributeToAttribute({view:{styles:{[e]:/[\s\S]+/}},model:{key:"blockIndent",value:t=>{if(!t.is("element","li"))return t.getStyle(e)}}}),t.for("downcast").attributeToAttribute({model:"blockIndent",view:t=>({key:"style",value:{[e]:t}})})}_setupConversionUsingClasses(t){const e={model:{key:"blockIndent",values:[]},view:{}};for(const n of t)e.model.values.push(n),e.view[n]={key:"class",value:[n]};this.editor.conversion.attributeToAttribute(e)}}})(),(window.CKEditor5=window.CKEditor5||{}).indent=s})(); \ No newline at end of file + */(()=>{var t={782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(i){var s=e[i];if(void 0!==s)return s.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Indent:()=>r,IndentBlock:()=>h,IndentEditing:()=>e,IndentUI:()=>o});var t=n(782);class e extends t.Plugin{static get pluginName(){return"IndentEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.commands.add("indent",new t.MultiCommand(e)),e.commands.add("outdent",new t.MultiCommand(e))}}var s=n(311);class o extends t.Plugin{static get pluginName(){return"IndentUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,n=e.locale,i=e.t,s="ltr"==n.uiLanguageDirection?t.icons.indent:t.icons.outdent,o="ltr"==n.uiLanguageDirection?t.icons.outdent:t.icons.indent;this._defineButton("indent",i("Increase indent"),s),this._defineButton("outdent",i("Decrease indent"),o)}_defineButton(t,e,n){const i=this.editor;i.ui.componentFactory.add(t,(()=>{const i=this._createButton(s.ButtonView,t,e,n);return i.set({tooltip:!0}),i})),i.ui.componentFactory.add("menuBar:"+t,(()=>this._createButton(s.MenuBarMenuListItemButtonView,t,e,n)))}_createButton(t,e,n,i){const s=this.editor,o=s.commands.get(e),r=new t(s.locale);return r.set({label:n,icon:i}),r.bind("isEnabled").to(o,"isEnabled"),this.listenTo(r,"execute",(()=>{s.execute(e),s.editing.view.focus()})),r}}class r extends t.Plugin{static get pluginName(){return"Indent"}static get isOfficialPlugin(){return!0}static get requires(){return[e,o]}}var d=n(783),a=n(584);class c extends t.Command{constructor(t,e){super(t),this._indentBehavior=e}refresh(){const t=this.editor.model,e=(0,a.first)(t.document.selection.getSelectedBlocks());e&&this._isIndentationChangeAllowed(e)?this.isEnabled=this._indentBehavior.checkEnabled(e.getAttribute("blockIndent")):this.isEnabled=!1}execute(){const t=this.editor.model,e=this._getBlocksToChange();t.change((t=>{for(const n of e){const e=n.getAttribute("blockIndent"),i=this._indentBehavior.getNextIndent(e);i?t.setAttribute("blockIndent",i,n):t.removeAttribute("blockIndent",n)}}))}_getBlocksToChange(){const t=this.editor.model.document.selection;return Array.from(t.getSelectedBlocks()).filter((t=>this._isIndentationChangeAllowed(t)))}_isIndentationChangeAllowed(t){const e=this.editor;if(!e.model.schema.checkAttribute(t,"blockIndent"))return!1;if(!e.plugins.has("ListUtils"))return!0;if(!this._indentBehavior.isForward)return!0;return!e.plugins.get("ListUtils").isListItemBlock(t)}}class l{constructor(t){this.isForward="forward"===t.direction,this.offset=t.offset,this.unit=t.unit}checkEnabled(t){const e=parseFloat(t||"0");return this.isForward||e>0}getNextIndent(t){const e=parseFloat(t||"0");if(!(!t||t.endsWith(this.unit)))return this.isForward?this.offset+this.unit:void 0;const n=e+(this.isForward?this.offset:-this.offset);return n>0?n+this.unit:void 0}}class u{constructor(t){this.isForward="forward"===t.direction,this.classes=t.classes}checkEnabled(t){const e=this.classes.indexOf(t);return this.isForward?e<this.classes.length-1:e>=0}getNextIndent(t){const e=this.classes.indexOf(t),n=this.isForward?1:-1;return this.classes[e+n]}}const g=["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"];class h extends t.Plugin{constructor(t){super(t),t.config.define("indentBlock",{offset:40,unit:"px"})}static get pluginName(){return"IndentBlock"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.config.get("indentBlock");e.classes&&e.classes.length?(this._setupConversionUsingClasses(e.classes),t.commands.add("indentBlock",new c(t,new u({direction:"forward",classes:e.classes}))),t.commands.add("outdentBlock",new c(t,new u({direction:"backward",classes:e.classes})))):(t.data.addStyleProcessorRules(d.addMarginRules),this._setupConversionUsingOffset(),t.commands.add("indentBlock",new c(t,new l({direction:"forward",offset:e.offset,unit:e.unit}))),t.commands.add("outdentBlock",new c(t,new l({direction:"backward",offset:e.offset,unit:e.unit}))))}afterInit(){const t=this.editor,e=t.model.schema,n=t.commands.get("indent"),i=t.commands.get("outdent"),s=t.config.get("heading.options");(s&&s.map((t=>t.model))||g).forEach((t=>{e.isRegistered(t)&&e.extend(t,{allowAttributes:"blockIndent"})})),e.setAttributeProperties("blockIndent",{isFormatting:!0}),n.registerChildCommand(t.commands.get("indentBlock")),i.registerChildCommand(t.commands.get("outdentBlock"))}_setupConversionUsingOffset(){const t=this.editor.conversion,e="rtl"===this.editor.locale.contentLanguageDirection?"margin-right":"margin-left";t.for("upcast").attributeToAttribute({view:{styles:{[e]:/[\s\S]+/}},model:{key:"blockIndent",value:t=>{if(!t.is("element","li"))return t.getStyle(e)}}}),t.for("downcast").attributeToAttribute({model:"blockIndent",view:t=>({key:"style",value:{[e]:t}})})}_setupConversionUsingClasses(t){const e={model:{key:"blockIndent",values:[]},view:{}};for(const n of t)e.model.values.push(n),e.view[n]={key:"class",value:[n]};this.editor.conversion.attributeToAttribute(e)}}})(),(window.CKEditor5=window.CKEditor5||{}).indent=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/language/language.js b/core/assets/vendor/ckeditor5/language/language.js index 1dce578c07cb243af260f68c0da9cf0ca4a55fb2..85b125342844ace95365d61d4cedf390485e3112 100644 --- a/core/assets/vendor/ckeditor5/language/language.js +++ b/core/assets/vendor/ckeditor5/language/language.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a),n.d(a,{TextPartLanguage:()=>s,TextPartLanguageEditing:()=>r,TextPartLanguageUI:()=>u});var e=n(782),t=n(584);function o(e,n){return`${e}:${n=n||(0,t.getLanguageDirection)(e)}`}class i extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"language")}execute({languageCode:e,textDirection:t}={}){const n=this.editor.model,a=n.document.selection,i=!!e&&o(e,t);n.change((e=>{if(a.isCollapsed)i?e.setSelectionAttribute("language",i):e.removeSelectionAttribute("language");else{const t=n.schema.getValidRanges(a.getRanges(),"language");for(const n of t)i?e.setAttribute("language",i,n):e.removeAttribute("language",n)}}))}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,n=e.document.selection;if(n.isCollapsed)return n.getAttribute("language")||!1;for(const e of n.getRanges())for(const n of e.getItems())if(t.checkAttribute(n,"language"))return n.getAttribute("language")||!1;return!1}}class r extends e.Plugin{static get pluginName(){return"TextPartLanguageEditing"}constructor(e){super(e),e.config.define("language",{textPartLanguage:[{title:"Arabic",languageCode:"ar"},{title:"French",languageCode:"fr"},{title:"Spanish",languageCode:"es"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"language"}),e.model.schema.setAttributeProperties("language",{copyOnEnter:!0}),this._defineConverters(),e.commands.add("textPartLanguage",new i(e))}_defineConverters(){const e=this.editor.conversion;e.for("upcast").elementToAttribute({model:{key:"language",value:e=>o(e.getAttribute("lang"),e.getAttribute("dir"))},view:{name:"span",attributes:{lang:/[\s\S]+/}}}),e.for("downcast").attributeToElement({model:"language",view:(e,{writer:t},n)=>{if(!e)return;if(!n.item.is("$textProxy")&&!n.item.is("documentSelection"))return;const{languageCode:a,textDirection:o}=function(e){const[t,n]=e.split(":");return{languageCode:t,textDirection:n}}(e);return t.createAttributeElement("span",{lang:a,dir:o})}})}}var g=n(311);class u extends e.Plugin{static get pluginName(){return"TextPartLanguageUI"}init(){const e=this.editor,t=e.t,n=t("Choose language"),a=t("Language");e.ui.componentFactory.add("textPartLanguage",(t=>{const{definitions:o,titles:i}=this._getItemMetadata(),r=e.commands.get("textPartLanguage"),u=(0,g.createDropdown)(t);return(0,g.addListToDropdown)(u,o,{ariaLabel:a,role:"menu"}),u.buttonView.set({ariaLabel:a,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:a}),u.extendTemplate({attributes:{class:["ck-text-fragment-language-dropdown"]}}),u.bind("isEnabled").to(r,"isEnabled"),u.buttonView.bind("label").to(r,"value",(e=>e&&i[e]||n)),u.buttonView.bind("ariaLabel").to(r,"value",(e=>{const t=e&&i[e];return t?`${t}, ${a}`:a})),this.listenTo(u,"execute",(t=>{r.execute({languageCode:t.source.languageCode,textDirection:t.source.textDirection}),e.editing.view.focus()})),u})),e.ui.componentFactory.add("menuBar:textPartLanguage",(n=>{const{definitions:o}=this._getItemMetadata(),i=e.commands.get("textPartLanguage"),r=new g.MenuBarMenuView(n);r.buttonView.set({label:a});const u=new g.MenuBarMenuListView(n);u.set({ariaLabel:t("Language"),role:"menu"});for(const e of o){if("button"!=e.type){u.items.add(new g.ListSeparatorView(n));continue}const t=new g.MenuBarMenuListItemView(n,r),a=new g.MenuBarMenuListItemButtonView(n);a.set({role:"menuitemradio",isToggleable:!0}),a.bind(...Object.keys(e.model)).to(e.model),a.delegate("execute").to(r),t.children.add(a),u.items.add(t)}return r.bind("isEnabled").to(i,"isEnabled"),r.panelView.children.add(u),r.on("execute",(t=>{i.execute({languageCode:t.source.languageCode,textDirection:t.source.textDirection}),e.editing.view.focus()})),r}))}_getItemMetadata(){const e=this.editor,n=new t.Collection,a={},i=e.commands.get("textPartLanguage"),r=e.config.get("language.textPartLanguage"),u=(0,e.locale.t)("Remove language");n.add({type:"button",model:new g.ViewModel({label:u,languageCode:!1,withText:!0})}),n.add({type:"separator"});for(const e of r){const t={type:"button",model:new g.ViewModel({label:e.title,languageCode:e.languageCode,role:"menuitemradio",textDirection:e.textDirection,withText:!0})},r=o(e.languageCode,e.textDirection);t.model.bind("isOn").to(i,"value",(e=>e===r)),n.add(t),a[r]=e.title}return{definitions:n,titles:a}}}class s extends e.Plugin{static get requires(){return[r,u]}static get pluginName(){return"TextPartLanguage"}}})(),(window.CKEditor5=window.CKEditor5||{}).language=a})(); \ No newline at end of file + */(()=>{var e={782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a),n.d(a,{TextPartLanguage:()=>s,TextPartLanguageEditing:()=>r,TextPartLanguageUI:()=>u});var e=n(782),t=n(584);function i(e,n){return`${e}:${n=n||(0,t.getLanguageDirection)(e)}`}class o extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"language")}execute({languageCode:e,textDirection:t}={}){const n=this.editor.model,a=n.document.selection,o=!!e&&i(e,t);n.change((e=>{if(a.isCollapsed)o?e.setSelectionAttribute("language",o):e.removeSelectionAttribute("language");else{const t=n.schema.getValidRanges(a.getRanges(),"language");for(const n of t)o?e.setAttribute("language",o,n):e.removeAttribute("language",n)}}))}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,n=e.document.selection;if(n.isCollapsed)return n.getAttribute("language")||!1;for(const e of n.getRanges())for(const n of e.getItems())if(t.checkAttribute(n,"language"))return n.getAttribute("language")||!1;return!1}}class r extends e.Plugin{static get pluginName(){return"TextPartLanguageEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("language",{textPartLanguage:[{title:"Arabic",languageCode:"ar"},{title:"French",languageCode:"fr"},{title:"Spanish",languageCode:"es"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"language"}),e.model.schema.setAttributeProperties("language",{copyOnEnter:!0}),this._defineConverters(),e.commands.add("textPartLanguage",new o(e))}_defineConverters(){const e=this.editor.conversion;e.for("upcast").elementToAttribute({model:{key:"language",value:e=>i(e.getAttribute("lang"),e.getAttribute("dir"))},view:{name:"span",attributes:{lang:/[\s\S]+/}}}),e.for("downcast").attributeToElement({model:"language",view:(e,{writer:t},n)=>{if(!e)return;if(!n.item.is("$textProxy")&&!n.item.is("documentSelection"))return;const{languageCode:a,textDirection:i}=function(e){const[t,n]=e.split(":");return{languageCode:t,textDirection:n}}(e);return t.createAttributeElement("span",{lang:a,dir:i})}})}}var g=n(311);class u extends e.Plugin{static get pluginName(){return"TextPartLanguageUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,n=t("Choose language"),a=t("Language");e.ui.componentFactory.add("textPartLanguage",(t=>{const{definitions:i,titles:o}=this._getItemMetadata(),r=e.commands.get("textPartLanguage"),u=(0,g.createDropdown)(t);return(0,g.addListToDropdown)(u,i,{ariaLabel:a,role:"menu"}),u.buttonView.set({ariaLabel:a,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:a}),u.extendTemplate({attributes:{class:["ck-text-fragment-language-dropdown"]}}),u.bind("isEnabled").to(r,"isEnabled"),u.buttonView.bind("label").to(r,"value",(e=>e&&o[e]||n)),u.buttonView.bind("ariaLabel").to(r,"value",(e=>{const t=e&&o[e];return t?`${t}, ${a}`:a})),this.listenTo(u,"execute",(t=>{r.execute({languageCode:t.source.languageCode,textDirection:t.source.textDirection}),e.editing.view.focus()})),u})),e.ui.componentFactory.add("menuBar:textPartLanguage",(n=>{const{definitions:i}=this._getItemMetadata(),o=e.commands.get("textPartLanguage"),r=new g.MenuBarMenuView(n);r.buttonView.set({label:a});const u=new g.MenuBarMenuListView(n);u.set({ariaLabel:t("Language"),role:"menu"});for(const e of i){if("button"!=e.type){u.items.add(new g.ListSeparatorView(n));continue}const t=new g.MenuBarMenuListItemView(n,r),a=new g.MenuBarMenuListItemButtonView(n);a.set({role:"menuitemradio",isToggleable:!0}),a.bind(...Object.keys(e.model)).to(e.model),a.delegate("execute").to(r),t.children.add(a),u.items.add(t)}return r.bind("isEnabled").to(o,"isEnabled"),r.panelView.children.add(u),r.on("execute",(t=>{o.execute({languageCode:t.source.languageCode,textDirection:t.source.textDirection}),e.editing.view.focus()})),r}))}_getItemMetadata(){const e=this.editor,n=new t.Collection,a={},o=e.commands.get("textPartLanguage"),r=e.config.get("language.textPartLanguage"),u=(0,e.locale.t)("Remove language");n.add({type:"button",model:new g.ViewModel({label:u,languageCode:!1,withText:!0})}),n.add({type:"separator"});for(const e of r){const t={type:"button",model:new g.ViewModel({label:e.title,languageCode:e.languageCode,role:"menuitemradio",textDirection:e.textDirection,withText:!0})},r=i(e.languageCode,e.textDirection);t.model.bind("isOn").to(o,"value",(e=>e===r)),n.add(t),a[r]=e.title}return{definitions:n,titles:a}}}class s extends e.Plugin{static get requires(){return[r,u]}static get pluginName(){return"TextPartLanguage"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).language=a})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/link/link.js b/core/assets/vendor/ckeditor5/link/link.js index 94c23feb8d67a5ce6590b043e1ee8f8d58d9810d..2e357aafa47d7a8d8b7600b17eca22a313c137da 100644 --- a/core/assets/vendor/ckeditor5/link/link.js +++ b/core/assets/vendor/ckeditor5/link/link.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const s=o},429:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}",""]);const s=o},356:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".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 .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.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}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.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{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}",""]);const s=o},627:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-link-form{align-items:flex-start;display:flex}.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-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:0 var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}",""]);const s=o},654:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(935),o=i.n(n)()((function(e){return e[1]}));o.push([e.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzUuNzUgMCAwIDEtLjIxNy4yMDYgNS4yNTEgNS4yNTEgMCAwIDEtOC41MDMtNS45NTUuNy43IDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NHptNS40OTQtNS4zMzVhLjc1Ljc1IDAgMCAxLS4xMi4yNzRsLTEuMTQ3IDEuNjM5YS43NS43NSAwIDEgMS0xLjIyOC0uODZsLjg2LTEuMjNhMy43NSAzLjc1IDAgMCAwLTYuMTQ0LTQuMzAxbC0uODYgMS4yMjlhLjc1Ljc1IDAgMCAxLTEuMjI5LS44NmwxLjE0OC0xLjY0YS43NS43NSAwIDAgMSAuMjE3LS4yMDYgNS4yNTEgNS4yNTEgMCAwIDEgOC41MDMgNS45NTVtLTQuNTYzLTIuNTMyYS43NS43NSAwIDAgMSAuMTg0IDEuMDQ1bC0zLjE1NSA0LjUwNWEuNzUuNzUgMCAxIDEtMS4yMjktLjg2bDMuMTU1LTQuNTA2YS43NS43NSAwIDAgMSAxLjA0NS0uMTg0Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',""]);const s=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var s=0;s<this.length;s++){var r=this[s][0];null!=r&&(o[r]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},591:(e,t,i)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),r=[];function a(e){for(var t=-1,i=0;i<r.length;i++)if(r[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],o=0;o<e.length;o++){var s=e[o],c=t.base?s[0]+t.base:s[0],l=i[c]||0,u="".concat(c," ").concat(l);i[c]=l+1;var d=a(u),k={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(r[d].references++,r[d].updater(k)):r.push({identifier:u,updater:g(k,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var r=s(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function k(e,t,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var s=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function h(e,t,i){var n=i.css,o=i.media,s=i.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,m=0;function g(e,t){var i,n,o;if(t.singleton){var s=m++;i=f||(f=l(t)),n=k.bind(null,i,s,!1),o=k.bind(null,i,s,!0)}else i=l(t),n=h.bind(null,i,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var o=a(i[n]);r[o].references--}for(var s=c(e,t),l=0;l<i.length;l++){var u=a(i[l]);0===r[u].references&&(r[u].updater(),r.splice(u,1))}i=s}}}},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{AutoLink:()=>Ce,Link:()=>De,LinkCommand:()=>oe,LinkEditing:()=>fe,LinkImage:()=>Fe,LinkImageEditing:()=>Ne,LinkImageUI:()=>He,LinkUI:()=>Te,UnlinkCommand:()=>re});var e=i(782),t=i(834),o=i(331),s=i(584);class r{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(e){Array.isArray(e)?e.forEach((e=>this._definitions.add(e))):this._definitions.add(e)}getDispatcher(){return e=>{e.on("attribute:linkHref",((e,t,i)=>{if(!i.consumable.test(t.item,"attribute:linkHref"))return;if(!t.item.is("selection")&&!i.schema.isInline(t.item))return;const n=i.writer,o=n.document.selection;for(const e of this._definitions){const s=n.createAttributeElement("a",e.attributes,{priority:5});e.classes&&n.addClass(e.classes,s);for(const t in e.styles)n.setStyle(t,e.styles[t],s);n.setCustomProperty("link",!0,s),e.callback(t.attributeNewValue)?t.item.is("selection")?n.wrap(o.getFirstRange(),s):n.wrap(i.mapper.toViewRange(t.range),s):n.unwrap(i.mapper.toViewRange(t.range),s)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return e=>{e.on("attribute:linkHref:imageBlock",((e,t,{writer:i,mapper:n})=>{const o=n.toViewElement(t.item),r=Array.from(o.getChildren()).find((e=>e.is("element","a")));for(const e of this._definitions){const n=(0,s.toMap)(e.attributes);if(e.callback(t.attributeNewValue)){for(const[e,t]of n)"class"===e?i.addClass(t,r):i.setAttribute(e,t,r);e.classes&&i.addClass(e.classes,r);for(const t in e.styles)i.setStyle(t,e.styles[t],r)}else{for(const[e,t]of n)"class"===e?i.removeClass(t,r):i.removeAttribute(e,r);e.classes&&i.removeClass(e.classes,r);for(const t in e.styles)i.removeStyle(t,r)}}}))}}}const a=function(e,t,i){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(i=i>o?o:i)<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;for(var s=Array(o);++n<o;)s[n]=e[n+t];return s};const c=function(e,t,i){var n=e.length;return i=void 0===i?n:i,!t&&i>=n?e:a(e,t,i)};var l=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const u=function(e){return l.test(e)};const d=function(e){return e.split("")};var k="\\ud800-\\udfff",h="["+k+"]",f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",m="\\ud83c[\\udffb-\\udfff]",g="[^"+k+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",w="(?:"+f+"|"+m+")"+"?",v="[\\ufe0e\\ufe0f]?",_=v+w+("(?:\\u200d(?:"+[g,b,p].join("|")+")"+v+w+")*"),y="(?:"+[g+f+"?",f,b,p,h].join("|")+")",A=RegExp(m+"(?="+m+")|"+y+_,"g");const x=function(e){return e.match(A)||[]};const V=function(e){return u(e)?x(e):d(e)};const S="object"==typeof global&&global&&global.Object===Object&&global;var I="object"==typeof self&&self&&self.Object===Object&&self;const T=(S||I||Function("return this")()).Symbol;const E=function(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i<n;)o[i]=t(e[i],i,e);return o};const L=Array.isArray;var C=Object.prototype,M=C.hasOwnProperty,D=C.toString,N=T?T.toStringTag:void 0;const B=function(e){var t=M.call(e,N),i=e[N];try{e[N]=void 0;var n=!0}catch(e){}var o=D.call(e);return n&&(t?e[N]=i:delete e[N]),o};var j=Object.prototype.toString;const H=function(e){return j.call(e)};var P=T?T.toStringTag:void 0;const U=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":P&&P in Object(e)?B(e):H(e)};const F=function(e){return null!=e&&"object"==typeof e};const R=function(e){return"symbol"==typeof e||F(e)&&"[object Symbol]"==U(e)};var O=T?T.prototype:void 0,z=O?O.toString:void 0;const Y=function e(t){if("string"==typeof t)return t;if(L(t))return E(t,e)+"";if(R(t))return z?z.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i};const K=function(e){return null==e?"":Y(e)};const q=function(e){return function(t){t=K(t);var i=u(t)?V(t):void 0,n=i?i[0]:t.charAt(0),o=i?c(i,1).join(""):t.slice(1);return n[e]()+o}}("toUpperCase"),$=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Q=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,Z=/^((\w+:(\/{2,})?)|(\W))/i,W=["https?","ftps?","mailto"],J="Ctrl+K";function G(e,{writer:t}){const i=t.createAttributeElement("a",{href:e},{priority:5});return t.setCustomProperty("link",!0,i),i}function X(e,t=W){const i=String(e),n=t.join("|");return function(e,t){const i=e.replace($,"");return!!i.match(t)}(i,new RegExp(`${"^(?:(?:<protocols>):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))".replace("<protocols>",n)}`,"i"))?i:"#"}function ee(e,t){return!!e&&t.checkAttribute(e.name,"linkHref")}function te(e,t){const i=(n=e,Q.test(n)?"mailto:":t);var n;const o=!!i&&!ie(e);return e&&o?i+e:e}function ie(e){return Z.test(e)}function ne(e){window.open(e,"_blank","noopener")}class oe extends e.Command{constructor(){super(...arguments),this.manualDecorators=new s.Collection,this.automaticDecorators=new r}restoreManualDecoratorStates(){for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement()||(0,s.first)(t.getSelectedBlocks());ee(i,e.schema)?(this.value=i.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttribute(i,"linkHref")):(this.value=t.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref"));for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}execute(e,i={}){const n=this.editor.model,o=n.document.selection,r=[],a=[];for(const e in i)i[e]?r.push(e):a.push(e);n.change((i=>{if(o.isCollapsed){const c=o.getFirstPosition();if(o.hasAttribute("linkHref")){const s=se(o);let l=(0,t.findAttributeRange)(c,"linkHref",o.getAttribute("linkHref"),n);o.getAttribute("linkHref")===s&&(l=this._updateLinkContent(n,i,l,e)),i.setAttribute("linkHref",e,l),r.forEach((e=>{i.setAttribute(e,!0,l)})),a.forEach((e=>{i.removeAttribute(e,l)})),i.setSelection(i.createPositionAfter(l.end.nodeBefore))}else if(""!==e){const t=(0,s.toMap)(o.getAttributes());t.set("linkHref",e),r.forEach((e=>{t.set(e,!0)}));const{end:a}=n.insertContent(i.createText(e,t),c);i.setSelection(a)}["linkHref",...r,...a].forEach((e=>{i.removeSelectionAttribute(e)}))}else{const t=n.schema.getValidRanges(o.getRanges(),"linkHref"),s=[];for(const e of o.getSelectedBlocks())n.schema.checkAttribute(e,"linkHref")&&s.push(i.createRangeOn(e));const c=s.slice();for(const e of t)this._isRangeToUpdate(e,s)&&c.push(e);for(const t of c){let s=t;if(1===c.length){const r=se(o);o.getAttribute("linkHref")===r&&(s=this._updateLinkContent(n,i,t,e),i.setSelection(i.createSelection(s)))}i.setAttribute("linkHref",e,s),r.forEach((e=>{i.setAttribute(e,!0,s)})),a.forEach((e=>{i.removeAttribute(e,s)}))}}}))}_getDecoratorStateFromModel(e){const t=this.editor.model,i=t.document.selection,n=i.getSelectedElement();return ee(n,t.schema)?n.getAttribute(e):i.getAttribute(e)}_isRangeToUpdate(e,t){for(const i of t)if(i.containsRange(e))return!1;return!0}_updateLinkContent(e,t,i,n){const o=t.createText(n,{linkHref:n});return e.insertContent(o,i)}}function se(e){if(e.isCollapsed){const t=e.getFirstPosition();return t.textNode&&t.textNode.data}{const t=Array.from(e.getFirstRange().getItems());if(t.length>1)return null;const i=t[0];return i.is("$text")||i.is("$textProxy")?i.data:null}}class re extends e.Command{refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement();ee(i,e.schema)?this.isEnabled=e.schema.checkAttribute(i,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref")}execute(){const e=this.editor,i=this.editor.model,n=i.document.selection,o=e.commands.get("link");i.change((e=>{const s=n.isCollapsed?[(0,t.findAttributeRange)(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),i)]:i.schema.getValidRanges(n.getRanges(),"linkHref");for(const t of s)if(e.removeAttribute("linkHref",t),o)for(const i of o.manualDecorators)e.removeAttribute(i.id,t)}))}}class ae extends((0,s.ObservableMixin)()){constructor({id:e,label:t,attributes:i,classes:n,styles:o,defaultValue:s}){super(),this.id=e,this.set("value",void 0),this.defaultValue=s,this.label=t,this.attributes=i,this.classes=n,this.styles=o}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var ce=i(591),le=i.n(ce),ue=i(429),de={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};le()(ue.A,de);ue.A.locals;const ke="automatic",he=/^(https?:)?\/\//;class fe extends e.Plugin{static get pluginName(){return"LinkEditing"}static get requires(){return[t.TwoStepCaretMovement,t.Input,o.ClipboardPipeline]}constructor(e){super(e),e.config.define("link",{allowCreatingEmptyLinks:!1,addTargetToExternalLinks:!1})}init(){const e=this.editor,i=this.editor.config.get("link.allowedProtocols");e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:G}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(e,t)=>G(X(e,i),t)}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:e=>e.getAttribute("href")}}),e.commands.add("link",new oe(e)),e.commands.add("unlink",new re(e));const n=function(e,t){const i={"Open in a new tab":e("Open in a new tab"),Downloadable:e("Downloadable")};return t.forEach((e=>("label"in e&&i[e.label]&&(e.label=i[e.label]),e))),t}(e.t,function(e){const t=[];if(e)for(const[i,n]of Object.entries(e)){const e=Object.assign({},n,{id:`link${q(i)}`});t.push(e)}return t}(e.config.get("link.decorators")));this._enableAutomaticDecorators(n.filter((e=>e.mode===ke))),this._enableManualDecorators(n.filter((e=>"manual"===e.mode)));e.plugins.get(t.TwoStepCaretMovement).registerAttribute("linkHref"),(0,t.inlineHighlight)(e,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(e){const t=this.editor,i=t.commands.get("link").automaticDecorators;t.config.get("link.addTargetToExternalLinks")&&i.add({id:"linkIsExternal",mode:ke,callback:e=>!!e&&he.test(e),attributes:{target:"_blank",rel:"noopener noreferrer"}}),i.add(e),i.length&&t.conversion.for("downcast").add(i.getDispatcher())}_enableManualDecorators(e){if(!e.length)return;const t=this.editor,i=t.commands.get("link").manualDecorators;e.forEach((e=>{t.model.schema.extend("$text",{allowAttributes:e.id});const n=new ae(e);i.add(n),t.conversion.for("downcast").attributeToElement({model:n.id,view:(e,{writer:t,schema:i},{item:o})=>{if((o.is("selection")||i.isInline(o))&&e){const e=t.createAttributeElement("a",n.attributes,{priority:5});n.classes&&t.addClass(n.classes,e);for(const i in n.styles)t.setStyle(i,n.styles[i],e);return t.setCustomProperty("link",!0,e),e}}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",...n._createPattern()},model:{key:n.id}})}))}_enableLinkOpen(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",((e,t)=>{if(!(s.env.isMac?t.domEvent.metaKey:t.domEvent.ctrlKey))return;let i=t.domTarget;if("a"!=i.tagName.toLowerCase()&&(i=i.closest("a")),!i)return;const n=i.getAttribute("href");n&&(e.stop(),t.preventDefault(),ne(n))}),{context:"$capture"}),this.listenTo(t,"keydown",((t,i)=>{const n=e.commands.get("link").value;!!n&&i.keyCode===s.keyCodes.enter&&i.altKey&&(t.stop(),ne(n))}))}_enableSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection;this.listenTo(t,"change:attribute",((i,{attributeKeys:n})=>{n.includes("linkHref")&&!t.hasAttribute("linkHref")&&e.change((t=>{var i;!function(e,t){e.removeSelectionAttribute("linkHref");for(const i of t)e.removeSelectionAttribute(i)}(t,(i=e.schema,i.getDefinition("$text").allowAttributes.filter((e=>e.startsWith("link")))))}))}))}_enableClipboardIntegration(){const e=this.editor,t=e.model,i=this.editor.config.get("link.defaultProtocol");i&&this.listenTo(e.plugins.get("ClipboardPipeline"),"contentInsertion",((e,n)=>{t.change((e=>{const t=e.createRangeIn(n.content);for(const n of t.getItems())if(n.hasAttribute("linkHref")){const t=te(n.getAttribute("linkHref"),i);e.setAttribute("linkHref",t,n)}}))}))}}var me=i(783),ge=i(311),be=i(901),pe=i(501),we={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};le()(pe.A,we);pe.A.locals;var ve=i(627),_e={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};le()(ve.A,_e);ve.A.locals;class ye extends ge.View{constructor(t,i,n){super(t),this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this._focusables=new ge.ViewCollection;const o=t.t;this._validators=n,this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(o("Save"),e.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(o("Cancel"),e.icons.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(i),this.children=this._createFormChildren(i.manualDecorators),this._focusCycler=new ge.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const r=["ck","ck-link-form","ck-responsive-form"];i.manualDecorators.length&&r.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:r,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((e,t)=>(e[t.name]=t.isOn,e)),{})}render(){super.render(),(0,ge.submitHandler)({view:this});[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.urlInputView.errorText=t,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null}_createUrlInput(){const e=this.locale.t,t=new ge.LabeledFieldView(this.locale,ge.createLabeledInputText);return t.fieldView.inputMode="url",t.label=e("Link URL"),t}_createButton(e,t,i,n){const o=new ge.ButtonView(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:i}}),n&&o.delegate("execute").to(this,n),o}_createManualDecoratorSwitches(e){const t=this.createCollection();for(const i of e.manualDecorators){const n=new ge.SwitchButtonView(this.locale);n.set({name:i.id,label:i.label,withText:!0}),n.bind("isOn").toMany([i,e],"value",((e,t)=>void 0===t&&void 0===e?!!i.defaultValue:!!e)),n.on("execute",(()=>{i.set("value",!n.isOn)})),t.add(n)}return t}_createFormChildren(e){const t=this.createCollection();if(t.add(this.urlInputView),e.length){const e=new ge.View;e.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map((e=>({tag:"li",children:[e],attributes:{class:["ck","ck-list__item"]}}))),attributes:{class:["ck","ck-reset","ck-list"]}}),t.add(e)}return t.add(this.saveButtonView),t.add(this.cancelButtonView),t}get url(){const{element:e}=this.urlInputView.fieldView;return e?e.value.trim():null}}var Ae=i(356),xe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};le()(Ae.A,xe);Ae.A.locals;class Ve extends ge.View{constructor(t,i={}){super(t),this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this._focusables=new ge.ViewCollection;const n=t.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(n("Unlink"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z"/></svg>',"unlink"),this.editButtonView=this._createButton(n("Edit link"),e.icons.pencil,"edit"),this.set("href",void 0),this._linkConfig=i,this._focusCycler=new ge.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render();[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(e,t,i){const n=new ge.ButtonView(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n.delegate("execute").to(this,i),n}_createPreviewButton(){const e=new ge.ButtonView(this.locale),t=this.bindTemplate,i=this.t;return e.set({withText:!0,tooltip:i("Open link in new tab")}),e.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:t.to("href",(e=>e&&X(e,this._linkConfig.allowedProtocols))),target:"_blank",rel:"noopener noreferrer"}}),e.bind("label").to(this,"href",(e=>e||i("This link has no URL"))),e.bind("isEnabled").to(this,"href",(e=>!!e)),e.template.tag="a",e.template.eventListeners={},e}}const Se='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"/></svg>',Ie="link-ui";class Te extends e.Plugin{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[ge.ContextualBalloon]}static get pluginName(){return"LinkUI"}init(){const e=this.editor,t=this.editor.t;e.editing.view.addObserver(me.ClickObserver),this._balloon=e.plugins.get(ge.ContextualBalloon),this._createToolbarLinkButton(),this._enableBalloonActivators(),e.conversion.for("editingDowncast").markerToHighlight({model:Ie,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:Ie,view:(e,{writer:t})=>{if(!e.markerRange.isCollapsed)return null;const i=t.createUIElement("span");return t.addClass(["ck-fake-link-selection","ck-fake-link-selection_collapsed"],i),i}}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Create link"),keystroke:J},{label:t("Move out of a link"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const e=this.editor,t=new Ve(e.locale,e.config.get("link")),i=e.commands.get("link"),n=e.commands.get("unlink");return t.bind("href").to(i,"value"),t.editButtonView.bind("isEnabled").to(i),t.unlinkButtonView.bind("isEnabled").to(n),this.listenTo(t,"edit",(()=>{this._addFormView()})),this.listenTo(t,"unlink",(()=>{e.execute("unlink"),this._hideUI()})),t.keystrokes.set("Esc",((e,t)=>{this._hideUI(),t()})),t.keystrokes.set(J,((e,t)=>{this._addFormView(),t()})),t}_createFormView(){const e=this.editor,t=e.commands.get("link"),i=e.config.get("link.defaultProtocol"),n=new((0,ge.CssTransitionDisablerMixin)(ye))(e.locale,t,function(e){const t=e.t,i=e.config.get("link.allowCreatingEmptyLinks");return[e=>{if(!i&&!e.url.length)return t("Link URL must not be empty.")}]}(e));return n.urlInputView.fieldView.bind("value").to(t,"value"),n.urlInputView.bind("isEnabled").to(t,"isEnabled"),n.saveButtonView.bind("isEnabled").to(t,"isEnabled"),this.listenTo(n,"submit",(()=>{if(n.isValid()){const{value:t}=n.urlInputView.fieldView.element,o=te(t,i);e.execute("link",o,n.getDecoratorSwitchesState()),this._closeFormView()}})),this.listenTo(n.urlInputView,"change:errorText",(()=>{e.ui.update()})),this.listenTo(n,"cancel",(()=>{this._closeFormView()})),n.keystrokes.set("Esc",((e,t)=>{this._closeFormView(),t()})),n}_createToolbarLinkButton(){const e=this.editor;e.ui.componentFactory.add("link",(()=>{const e=this._createButton(ge.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:link",(()=>{const e=this._createButton(ge.MenuBarMenuListItemButtonView);return e.set({role:"menuitemcheckbox"}),e}))}_createButton(e){const t=this.editor,i=t.locale,n=t.commands.get("link"),o=new e(t.locale),s=i.t;return o.set({label:s("Link"),icon:Se,keystroke:J,isToggleable:!0}),o.bind("isEnabled").to(n,"isEnabled"),o.bind("isOn").to(n,"value",(e=>!!e)),this.listenTo(o,"execute",(()=>this._showUI(!0))),o}_enableBalloonActivators(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",(()=>{this._getSelectedLinkElement()&&this._showUI()})),e.keystrokes.set(J,((t,i)=>{i(),e.commands.get("link").isEnabled&&this._showUI(!0)}))}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",((e,t)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),t())}),{priority:"high"}),this.editor.keystrokes.set("Esc",((e,t)=>{this._isUIVisible&&(this._hideUI(),t())})),(0,ge.clickOutsideHandler)({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const e=this.editor.commands.get("link");this.formView.disableCssTransitions(),this.formView.resetFormStatus(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.formView.urlInputView.fieldView.value=e.value||"",this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions()}_closeFormView(){const e=this.editor.commands.get("link");e.restoreManualDecoratorStates(),void 0!==e.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this.formView.urlInputView.fieldView.reset(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(e=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),e&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),e&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const e=this.editor;this.stopListening(e.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const e=this.editor,t=e.editing.view.document;let i=this._getSelectedLinkElement(),n=s();const o=()=>{const e=this._getSelectedLinkElement(),t=s();i&&!e||!i&&t!==n?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=e,n=t};function s(){return t.selection.focus.getAncestors().reverse().find((e=>e.is("element")))}this.listenTo(e.ui,"update",o),this.listenTo(this._balloon,"change:visibleView",o)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){const e=this._balloon.visibleView;return!!this.formView&&e==this.formView||this._areActionsVisible}_getBalloonPositionData(){const e=this.editor.editing.view,t=this.editor.model,i=e.document;let n;if(t.markers.has(Ie)){const t=Array.from(this.editor.editing.mapper.markerNameToElements(Ie)),i=e.createRange(e.createPositionBefore(t[0]),e.createPositionAfter(t[t.length-1]));n=e.domConverter.viewRangeToDom(i)}else n=()=>{const t=this._getSelectedLinkElement();return t?e.domConverter.mapViewToDom(t):e.domConverter.viewRangeToDom(i.selection.getFirstRange())};return{target:n}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection,i=t.getSelectedElement();if(t.isCollapsed||i&&(0,be.isWidget)(i))return Ee(t.getFirstPosition());{const i=t.getFirstRange().getTrimmed(),n=Ee(i.start),o=Ee(i.end);return n&&n==o&&e.createRangeIn(n).getTrimmed().isEqual(i)?n:null}}_showFakeVisualSelection(){const e=this.editor.model;e.change((t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(Ie))t.updateMarker(Ie,{range:i});else if(i.start.isAtEnd){const n=i.start.getLastMatchingPosition((({item:t})=>!e.schema.isContent(t)),{boundaries:i});t.addMarker(Ie,{usingOperation:!1,affectsData:!1,range:t.createRange(n,i.end)})}else t.addMarker(Ie,{usingOperation:!1,affectsData:!1,range:i})}))}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(Ie)&&e.change((e=>{e.removeMarker(Ie)}))}}function Ee(e){return e.getAncestors().find((e=>{return(t=e).is("attributeElement")&&!!t.getCustomProperty("link");var t}))||null}const Le=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class Ce extends e.Plugin{static get requires(){return[t.Delete,fe]}static get pluginName(){return"AutoLink"}init(){const e=this.editor.model.document.selection;e.on("change:range",(()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")})),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(e,i){return i.textNode&&i.textNode.hasAttribute("linkHref")?(0,t.findAttributeRange)(i,"linkHref",i.textNode.getAttribute("linkHref"),e):null}_selectEntireLinks(e,t){const i=this.editor.model,n=i.document.selection,o=n.getFirstPosition(),s=n.getLastPosition();let r=t.getJoined(this._expandLinkRange(i,o)||t);r&&(r=r.getJoined(this._expandLinkRange(i,s)||t)),r&&(r.start.isBefore(o)||r.end.isAfter(s))&&e.setSelection(r)}_enablePasteLinking(){const e=this.editor,t=e.model,i=t.document.selection,n=e.plugins.get("ClipboardPipeline"),o=e.commands.get("link");n.on("inputTransformation",((e,n)=>{if(!this.isEnabled||!o.isEnabled||i.isCollapsed||"paste"!==n.method)return;if(i.rangeCount>1)return;const s=i.getFirstRange(),r=n.dataTransfer.getData("text/plain");if(!r)return;const a=r.match(Le);a&&a[2]===r&&(t.change((e=>{this._selectEntireLinks(e,s),o.execute(r)})),e.stop())}),{priority:"high"})}_enableTypingHandling(){const e=this.editor,i=new t.TextWatcher(e.model,(e=>{if(!function(e){return e.length>4&&" "===e[e.length-1]&&" "!==e[e.length-2]}(e))return;const t=Me(e.substr(0,e.length-1));return t?{url:t}:void 0}));i.on("matched:data",((t,i)=>{const{batch:n,range:o,url:s}=i;if(!n.isTyping)return;const r=o.end.getShiftedBy(-1),a=r.getShiftedBy(-s.length),c=e.model.createRange(a,r);this._applyAutoLink(s,c)})),i.bind("isEnabled").to(this)}_enableEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("enter");i&&i.on("execute",(()=>{const e=t.document.selection.getFirstPosition();if(!e.parent.previousSibling)return;const i=t.createRangeIn(e.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(i)}))}_enableShiftEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("shiftEnter");i&&i.on("execute",(()=>{const e=t.document.selection.getFirstPosition(),i=t.createRange(t.createPositionAt(e.parent,0),e.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(i)}))}_checkAndApplyAutoLinkOnRange(e){const i=this.editor.model,{text:n,range:o}=(0,t.getLastTextLine)(e,i),s=Me(n);if(s){const e=i.createRange(o.end.getShiftedBy(-s.length),o.end);this._applyAutoLink(s,e)}}_applyAutoLink(e,t){const i=this.editor.model,n=te(e,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(e,t){return t.schema.checkAttributeInSelection(t.createSelection(e),"linkHref")}(t,i)&&ie(n)&&!function(e){const t=e.start.nodeAfter;return!!t&&t.hasAttribute("linkHref")}(t)&&this._persistAutoLink(n,t)}_persistAutoLink(e,t){const i=this.editor.model,n=this.editor.plugins.get("Delete");i.enqueueChange((o=>{o.setAttribute("linkHref",e,t),i.enqueueChange((()=>{n.requestUndoOnBackspace()}))}))}}function Me(e){const t=Le.exec(e);return t?t[2]:null}class De extends e.Plugin{static get requires(){return[fe,Te,Ce]}static get pluginName(){return"Link"}}class Ne extends e.Plugin{static get requires(){return["ImageEditing","ImageUtils",fe]}static get pluginName(){return"LinkImageEditing"}afterInit(){const e=this.editor,t=e.model.schema;e.plugins.has("ImageBlockEditing")&&t.extend("imageBlock",{allowAttributes:["linkHref"]}),e.conversion.for("upcast").add(function(e){const t=e.plugins.has("ImageInlineEditing"),i=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,n,o)=>{const s=n.viewItem,r=i.findViewImgElement(s);if(!r)return;const a=r.findAncestor((e=>i.isBlockImageView(e)));if(t&&!a)return;const c={attributes:["href"]};if(!o.consumable.consume(s,c))return;const l=s.getAttribute("href");if(!l)return;let u=n.modelCursor.parent;if(!u.is("element","imageBlock")){const e=o.convertItem(r,n.modelCursor);n.modelRange=e.modelRange,n.modelCursor=e.modelCursor,u=n.modelCursor.nodeBefore}u&&u.is("element","imageBlock")&&o.writer.setAttribute("linkHref",l,u)}),{priority:"high"})}}(e)),e.conversion.for("downcast").add(function(e){const t=e.plugins.get("ImageUtils");return e=>{e.on("attribute:linkHref:imageBlock",((e,i,n)=>{if(!n.consumable.consume(i.item,e.name))return;const o=n.mapper.toViewElement(i.item),s=n.writer,r=Array.from(o.getChildren()).find((e=>e.is("element","a"))),a=t.findViewImgElement(o),c=a.parent.is("element","picture")?a.parent:a;if(r)i.attributeNewValue?s.setAttribute("href",i.attributeNewValue,r):(s.move(s.createRangeOn(c),s.createPositionAt(o,0)),s.remove(r));else{const e=s.createContainerElement("a",{href:i.attributeNewValue});s.insert(s.createPositionAt(o,0),e),s.move(s.createRangeOn(c),s.createPositionAt(e,0))}}),{priority:"high"})}}(e)),this._enableAutomaticDecorators(),this._enableManualDecorators()}_enableAutomaticDecorators(){const e=this.editor,t=e.commands.get("link").automaticDecorators;t.length&&e.conversion.for("downcast").add(t.getDispatcherForLinkedImage())}_enableManualDecorators(){const e=this.editor,t=e.commands.get("link");for(const i of t.manualDecorators)e.plugins.has("ImageBlockEditing")&&e.model.schema.extend("imageBlock",{allowAttributes:i.id}),e.plugins.has("ImageInlineEditing")&&e.model.schema.extend("imageInline",{allowAttributes:i.id}),e.conversion.for("downcast").add(Be(i)),e.conversion.for("upcast").add(je(e,i))}}function Be(e){return t=>{t.on(`attribute:${e.id}:imageBlock`,((t,i,n)=>{const o=n.mapper.toViewElement(i.item),r=Array.from(o.getChildren()).find((e=>e.is("element","a")));if(r){for(const[t,i]of(0,s.toMap)(e.attributes))n.writer.setAttribute(t,i,r);e.classes&&n.writer.addClass(e.classes,r);for(const t in e.styles)n.writer.setStyle(t,e.styles[t],r)}}))}}function je(e,t){const i=e.plugins.has("ImageInlineEditing"),n=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,o,s)=>{const r=o.viewItem,a=n.findViewImgElement(r);if(!a)return;const c=a.findAncestor((e=>n.isBlockImageView(e)));if(i&&!c)return;const l=new me.Matcher(t._createPattern()).match(r);if(!l)return;if(!s.consumable.consume(r,l.match))return;const u=o.modelCursor.nodeBefore||o.modelCursor.parent;s.writer.setAttribute(t.id,!0,u)}),{priority:"high"})}}class He extends e.Plugin{static get requires(){return[fe,Te,"ImageBlockEditing"]}static get pluginName(){return"LinkImageUI"}init(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",((t,i)=>{this._isSelectedLinkedImage(e.model.document.selection)&&(i.preventDefault(),t.stop())}),{priority:"high"}),this._createToolbarLinkImageButton()}_createToolbarLinkImageButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("linkImage",(i=>{const n=new ge.ButtonView(i),o=e.plugins.get("LinkUI"),s=e.commands.get("link");return n.set({isEnabled:!0,label:t("Link image"),icon:Se,keystroke:J,tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(s,"isEnabled"),n.bind("isOn").to(s,"value",(e=>!!e)),this.listenTo(n,"execute",(()=>{this._isSelectedLinkedImage(e.model.document.selection)?o._addActionsView():o._showUI(!0)})),n}))}_isSelectedLinkedImage(e){const t=e.getSelectedElement();return this.editor.plugins.get("ImageUtils").isImage(t)&&t.hasAttribute("linkHref")}}var Pe=i(654),Ue={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};le()(Pe.A,Ue);Pe.A.locals;class Fe extends e.Plugin{static get requires(){return[Ne,He]}static get pluginName(){return"LinkImage"}}})(),(window.CKEditor5=window.CKEditor5||{}).link=n})(); \ No newline at end of file + */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),o=i.n(n),s=i(935),r=i.n(s)()(o());r.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=r},429:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),o=i.n(n),s=i(935),r=i.n(s)()(o());r.push([e.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}",""]);const a=r},356:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),o=i.n(n),s=i(935),r=i.n(s)()(o());r.push([e.id,".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 .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.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}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.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{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}",""]);const a=r},627:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),o=i.n(n),s=i(935),r=i.n(s)()(o());r.push([e.id,".ck.ck-link-form{align-items:flex-start;display:flex}.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-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:0 var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}",""]);const a=r},654:(e,t,i)=>{"use strict";i.d(t,{A:()=>k});var n=i(758),o=i.n(n),s=i(935),r=i.n(s),a=i(62),c=i.n(a),l=new URL(i(401),i.b),u=r()(o()),d=c()(l);u.push([e.id,`.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url(${d});background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}`,""]);const k=u},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&r[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),i&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=i):u[2]=i),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},62:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var s={},r=[],a=0;a<e.length;a++){var c=e[a],l=n.base?c[0]+n.base:c[0],u=s[l]||0,d="".concat(l," ").concat(u);s[l]=u+1;var k=i(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==k)t[k].references++,t[k].updater(h);else{var f=o(h,n);n.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}r.push(d)}return r}function o(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,o){var s=n(e=e||[],o=o||{});return function(e){e=e||[];for(var r=0;r<s.length;r++){var a=i(s[r]);t[a].references--}for(var c=n(e,o),l=0;l<s.length;l++){var u=i(s[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}s=c}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,o){var s;if(n)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,s);else{var a=document.createTextNode(s),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,i=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},401:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzUuNzUgMCAwIDEtLjIxNy4yMDYgNS4yNTEgNS4yNTEgMCAwIDEtOC41MDMtNS45NTUuNy43IDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NHptNS40OTQtNS4zMzVhLjc1Ljc1IDAgMCAxLS4xMi4yNzRsLTEuMTQ3IDEuNjM5YS43NS43NSAwIDEgMS0xLjIyOC0uODZsLjg2LTEuMjNhMy43NSAzLjc1IDAgMCAwLTYuMTQ0LTQuMzAxbC0uODYgMS4yMjlhLjc1Ljc1IDAgMCAxLTEuMjI5LS44NmwxLjE0OC0xLjY0YS43NS43NSAwIDAgMSAuMjE3LS4yMDYgNS4yNTEgNS4yNTEgMCAwIDEgOC41MDMgNS45NTVtLTQuNTYzLTIuNTMyYS43NS43NSAwIDAgMSAuMTg0IDEuMDQ1bC0zLjE1NSA0LjUwNWEuNzUuNzUgMCAxIDEtMS4yMjktLjg2bDMuMTU1LTQuNTA2YS43NS43NSAwIDAgMSAxLjA0NS0uMTg0Ii8+PC9zdmc+"},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.m=e,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.b=document.baseURI||self.location.href;var n={};(()=>{"use strict";i.r(n),i.d(n,{AutoLink:()=>Ue,Link:()=>Fe,LinkActionsView:()=>De,LinkCommand:()=>oe,LinkEditing:()=>ye,LinkFormView:()=>Te,LinkImage:()=>Qe,LinkImageEditing:()=>Re,LinkImageUI:()=>$e,LinkUI:()=>Pe,UnlinkCommand:()=>re,addLinkProtocolIfApplicable:()=>te,isLinkableElement:()=>ee});var e=i(782),t=i(834),o=i(331),s=i(584);class r{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(e){Array.isArray(e)?e.forEach((e=>this._definitions.add(e))):this._definitions.add(e)}getDispatcher(){return e=>{e.on("attribute:linkHref",((e,t,i)=>{if(!i.consumable.test(t.item,"attribute:linkHref"))return;if(!t.item.is("selection")&&!i.schema.isInline(t.item))return;const n=i.writer,o=n.document.selection;for(const e of this._definitions){const s=n.createAttributeElement("a",e.attributes,{priority:5});e.classes&&n.addClass(e.classes,s);for(const t in e.styles)n.setStyle(t,e.styles[t],s);n.setCustomProperty("link",!0,s),e.callback(t.attributeNewValue)?t.item.is("selection")?n.wrap(o.getFirstRange(),s):n.wrap(i.mapper.toViewRange(t.range),s):n.unwrap(i.mapper.toViewRange(t.range),s)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return e=>{e.on("attribute:linkHref:imageBlock",((e,t,{writer:i,mapper:n})=>{const o=n.toViewElement(t.item),r=Array.from(o.getChildren()).find((e=>e.is("element","a")));if(r)for(const e of this._definitions){const n=(0,s.toMap)(e.attributes);if(e.callback(t.attributeNewValue)){for(const[e,t]of n)"class"===e?i.addClass(t,r):i.setAttribute(e,t,r);e.classes&&i.addClass(e.classes,r);for(const t in e.styles)i.setStyle(t,e.styles[t],r)}else{for(const[e,t]of n)"class"===e?i.removeClass(t,r):i.removeAttribute(e,r);e.classes&&i.removeClass(e.classes,r);for(const t in e.styles)i.removeStyle(t,r)}}}))}}}const a=function(e,t,i){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(i=i>o?o:i)<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;for(var s=Array(o);++n<o;)s[n]=e[n+t];return s};const c=function(e,t,i){var n=e.length;return i=void 0===i?n:i,!t&&i>=n?e:a(e,t,i)};var l=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const u=function(e){return l.test(e)};const d=function(e){return e.split("")};var k="\\ud800-\\udfff",h="["+k+"]",f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",m="\\ud83c[\\udffb-\\udfff]",g="[^"+k+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",w="(?:"+f+"|"+m+")"+"?",v="[\\ufe0e\\ufe0f]?",_=v+w+("(?:\\u200d(?:"+[g,b,p].join("|")+")"+v+w+")*"),y="(?:"+[g+f+"?",f,b,p,h].join("|")+")",A=RegExp(m+"(?="+m+")|"+y+_,"g");const x=function(e){return e.match(A)||[]};const I=function(e){return u(e)?x(e):d(e)};const V="object"==typeof global&&global&&global.Object===Object&&global;var S="object"==typeof self&&self&&self.Object===Object&&self;const E=(V||S||Function("return this")()).Symbol;const L=function(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i<n;)o[i]=t(e[i],i,e);return o};const T=Array.isArray;var C=Object.prototype,M=C.hasOwnProperty,D=C.toString,B=E?E.toStringTag:void 0;const N=function(e){var t=M.call(e,B),i=e[B];try{e[B]=void 0;var n=!0}catch(e){}var o=D.call(e);return n&&(t?e[B]=i:delete e[B]),o};var P=Object.prototype.toString;const H=function(e){return P.call(e)};var O=E?E.toStringTag:void 0;const U=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":O&&O in Object(e)?N(e):H(e)};const j=function(e){return null!=e&&"object"==typeof e};const F=function(e){return"symbol"==typeof e||j(e)&&"[object Symbol]"==U(e)};var R=E?E.prototype:void 0,z=R?R.toString:void 0;const Y=function e(t){if("string"==typeof t)return t;if(T(t))return L(t,e)+"";if(F(t))return z?z.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i};const $=function(e){return null==e?"":Y(e)};const K=function(e){return function(t){t=$(t);var i=u(t)?I(t):void 0,n=i?i[0]:t.charAt(0),o=i?c(i,1).join(""):t.slice(1);return n[e]()+o}}("toUpperCase"),q=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Q=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,Z=/^((\w+:(\/{2,})?)|(\W))/i,W=["https?","ftps?","mailto"],G="Ctrl+K";function J(e,{writer:t}){const i=t.createAttributeElement("a",{href:e},{priority:5});return t.setCustomProperty("link",!0,i),i}function X(e,t=W){const i=String(e),n=t.join("|");return function(e,t){const i=e.replace(q,"");return!!i.match(t)}(i,new RegExp(`${"^(?:(?:<protocols>):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))".replace("<protocols>",n)}`,"i"))?i:"#"}function ee(e,t){return!!e&&t.checkAttribute(e.name,"linkHref")}function te(e,t){const i=(n=e,Q.test(n)?"mailto:":t);var n;const o=!!i&&!ie(e);return e&&o?i+e:e}function ie(e){return Z.test(e)}function ne(e){window.open(e,"_blank","noopener")}class oe extends e.Command{constructor(){super(...arguments),this.manualDecorators=new s.Collection,this.automaticDecorators=new r}restoreManualDecoratorStates(){for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement()||(0,s.first)(t.getSelectedBlocks());ee(i,e.schema)?(this.value=i.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttribute(i,"linkHref")):(this.value=t.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref"));for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}execute(e,i={}){const n=this.editor.model,o=n.document.selection,r=[],a=[];for(const e in i)i[e]?r.push(e):a.push(e);n.change((i=>{if(o.isCollapsed){const c=o.getFirstPosition();if(o.hasAttribute("linkHref")){const s=se(o);let l=(0,t.findAttributeRange)(c,"linkHref",o.getAttribute("linkHref"),n);o.getAttribute("linkHref")===s&&(l=this._updateLinkContent(n,i,l,e)),i.setAttribute("linkHref",e,l),r.forEach((e=>{i.setAttribute(e,!0,l)})),a.forEach((e=>{i.removeAttribute(e,l)})),i.setSelection(i.createPositionAfter(l.end.nodeBefore))}else if(""!==e){const t=(0,s.toMap)(o.getAttributes());t.set("linkHref",e),r.forEach((e=>{t.set(e,!0)}));const{end:a}=n.insertContent(i.createText(e,t),c);i.setSelection(a)}["linkHref",...r,...a].forEach((e=>{i.removeSelectionAttribute(e)}))}else{const t=n.schema.getValidRanges(o.getRanges(),"linkHref"),s=[];for(const e of o.getSelectedBlocks())n.schema.checkAttribute(e,"linkHref")&&s.push(i.createRangeOn(e));const c=s.slice();for(const e of t)this._isRangeToUpdate(e,s)&&c.push(e);for(const t of c){let s=t;if(1===c.length){const r=se(o);o.getAttribute("linkHref")===r&&(s=this._updateLinkContent(n,i,t,e),i.setSelection(i.createSelection(s)))}i.setAttribute("linkHref",e,s),r.forEach((e=>{i.setAttribute(e,!0,s)})),a.forEach((e=>{i.removeAttribute(e,s)}))}}}))}_getDecoratorStateFromModel(e){const t=this.editor.model,i=t.document.selection,n=i.getSelectedElement();return ee(n,t.schema)?n.getAttribute(e):i.getAttribute(e)}_isRangeToUpdate(e,t){for(const i of t)if(i.containsRange(e))return!1;return!0}_updateLinkContent(e,t,i,n){const o=t.createText(n,{linkHref:n});return e.insertContent(o,i)}}function se(e){if(e.isCollapsed){const t=e.getFirstPosition();return t.textNode&&t.textNode.data}{const t=Array.from(e.getFirstRange().getItems());if(t.length>1)return null;const i=t[0];return i.is("$text")||i.is("$textProxy")?i.data:null}}class re extends e.Command{refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement();ee(i,e.schema)?this.isEnabled=e.schema.checkAttribute(i,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref")}execute(){const e=this.editor,i=this.editor.model,n=i.document.selection,o=e.commands.get("link");i.change((e=>{const s=n.isCollapsed?[(0,t.findAttributeRange)(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),i)]:i.schema.getValidRanges(n.getRanges(),"linkHref");for(const t of s)if(e.removeAttribute("linkHref",t),o)for(const i of o.manualDecorators)e.removeAttribute(i.id,t)}))}}class ae extends((0,s.ObservableMixin)()){constructor({id:e,label:t,attributes:i,classes:n,styles:o,defaultValue:s}){super(),this.id=e,this.set("value",void 0),this.defaultValue=s,this.label=t,this.attributes=i,this.classes=n,this.styles=o}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var ce=i(591),le=i.n(ce),ue=i(639),de=i.n(ue),ke=i(128),he=i.n(ke),fe=i(21),me=i.n(fe),ge=i(51),be=i.n(ge),pe=i(429),we={attributes:{"data-cke":!0}};we.setAttributes=me(),we.insert=he().bind(null,"head"),we.domAPI=de(),we.insertStyleElement=be();le()(pe.A,we);pe.A&&pe.A.locals&&pe.A.locals;const ve="automatic",_e=/^(https?:)?\/\//;class ye extends e.Plugin{static get pluginName(){return"LinkEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.TwoStepCaretMovement,t.Input,o.ClipboardPipeline]}constructor(e){super(e),e.config.define("link",{allowCreatingEmptyLinks:!1,addTargetToExternalLinks:!1})}init(){const e=this.editor,i=this.editor.config.get("link.allowedProtocols");e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:J}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(e,t)=>J(X(e,i),t)}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:e=>e.getAttribute("href")}}),e.commands.add("link",new oe(e)),e.commands.add("unlink",new re(e));const n=function(e,t){const i={"Open in a new tab":e("Open in a new tab"),Downloadable:e("Downloadable")};return t.forEach((e=>("label"in e&&i[e.label]&&(e.label=i[e.label]),e))),t}(e.t,function(e){const t=[];if(e)for(const[i,n]of Object.entries(e)){const e=Object.assign({},n,{id:`link${K(i)}`});t.push(e)}return t}(e.config.get("link.decorators")));this._enableAutomaticDecorators(n.filter((e=>e.mode===ve))),this._enableManualDecorators(n.filter((e=>"manual"===e.mode)));e.plugins.get(t.TwoStepCaretMovement).registerAttribute("linkHref"),(0,t.inlineHighlight)(e,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(e){const t=this.editor,i=t.commands.get("link").automaticDecorators;t.config.get("link.addTargetToExternalLinks")&&i.add({id:"linkIsExternal",mode:ve,callback:e=>!!e&&_e.test(e),attributes:{target:"_blank",rel:"noopener noreferrer"}}),i.add(e),i.length&&t.conversion.for("downcast").add(i.getDispatcher())}_enableManualDecorators(e){if(!e.length)return;const t=this.editor,i=t.commands.get("link").manualDecorators;e.forEach((e=>{t.model.schema.extend("$text",{allowAttributes:e.id});const n=new ae(e);i.add(n),t.conversion.for("downcast").attributeToElement({model:n.id,view:(e,{writer:t,schema:i},{item:o})=>{if((o.is("selection")||i.isInline(o))&&e){const e=t.createAttributeElement("a",n.attributes,{priority:5});n.classes&&t.addClass(n.classes,e);for(const i in n.styles)t.setStyle(i,n.styles[i],e);return t.setCustomProperty("link",!0,e),e}}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",...n._createPattern()},model:{key:n.id}})}))}_enableLinkOpen(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",((e,t)=>{if(!(s.env.isMac?t.domEvent.metaKey:t.domEvent.ctrlKey))return;let i=t.domTarget;if("a"!=i.tagName.toLowerCase()&&(i=i.closest("a")),!i)return;const n=i.getAttribute("href");n&&(e.stop(),t.preventDefault(),ne(n))}),{context:"$capture"}),this.listenTo(t,"keydown",((t,i)=>{const n=e.commands.get("link").value;!!n&&i.keyCode===s.keyCodes.enter&&i.altKey&&(t.stop(),ne(n))}))}_enableSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection;this.listenTo(t,"change:attribute",((i,{attributeKeys:n})=>{n.includes("linkHref")&&!t.hasAttribute("linkHref")&&e.change((t=>{var i;!function(e,t){e.removeSelectionAttribute("linkHref");for(const i of t)e.removeSelectionAttribute(i)}(t,(i=e.schema,i.getDefinition("$text").allowAttributes.filter((e=>e.startsWith("link")))))}))}))}_enableClipboardIntegration(){const e=this.editor,t=e.model,i=this.editor.config.get("link.defaultProtocol");i&&this.listenTo(e.plugins.get("ClipboardPipeline"),"contentInsertion",((e,n)=>{t.change((e=>{const t=e.createRangeIn(n.content);for(const n of t.getItems())if(n.hasAttribute("linkHref")){const t=te(n.getAttribute("linkHref"),i);e.setAttribute("linkHref",t,n)}}))}))}}var Ae=i(783),xe=i(311),Ie=i(901),Ve=i(501),Se={attributes:{"data-cke":!0}};Se.setAttributes=me(),Se.insert=he().bind(null,"head"),Se.domAPI=de(),Se.insertStyleElement=be();le()(Ve.A,Se);Ve.A&&Ve.A.locals&&Ve.A.locals;var Ee=i(627),Le={attributes:{"data-cke":!0}};Le.setAttributes=me(),Le.insert=he().bind(null,"head"),Le.domAPI=de(),Le.insertStyleElement=be();le()(Ee.A,Le);Ee.A&&Ee.A.locals&&Ee.A.locals;class Te extends xe.View{constructor(t,i,n){super(t),this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this._focusables=new xe.ViewCollection;const o=t.t;this._validators=n,this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(o("Save"),e.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(o("Cancel"),e.icons.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(i),this.children=this._createFormChildren(i.manualDecorators),this._focusCycler=new xe.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const r=["ck","ck-link-form","ck-responsive-form"];i.manualDecorators.length&&r.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:r,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((e,t)=>(e[t.name]=t.isOn,e)),{})}render(){super.render(),(0,xe.submitHandler)({view:this});[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.urlInputView.errorText=t,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null}_createUrlInput(){const e=this.locale.t,t=new xe.LabeledFieldView(this.locale,xe.createLabeledInputText);return t.fieldView.inputMode="url",t.label=e("Link URL"),t}_createButton(e,t,i,n){const o=new xe.ButtonView(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:i}}),n&&o.delegate("execute").to(this,n),o}_createManualDecoratorSwitches(e){const t=this.createCollection();for(const i of e.manualDecorators){const n=new xe.SwitchButtonView(this.locale);n.set({name:i.id,label:i.label,withText:!0}),n.bind("isOn").toMany([i,e],"value",((e,t)=>void 0===t&&void 0===e?!!i.defaultValue:!!e)),n.on("execute",(()=>{i.set("value",!n.isOn)})),t.add(n)}return t}_createFormChildren(e){const t=this.createCollection();if(t.add(this.urlInputView),e.length){const e=new xe.View;e.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map((e=>({tag:"li",children:[e],attributes:{class:["ck","ck-list__item"]}}))),attributes:{class:["ck","ck-reset","ck-list"]}}),t.add(e)}return t.add(this.saveButtonView),t.add(this.cancelButtonView),t}get url(){const{element:e}=this.urlInputView.fieldView;return e?e.value.trim():null}}var Ce=i(356),Me={attributes:{"data-cke":!0}};Me.setAttributes=me(),Me.insert=he().bind(null,"head"),Me.domAPI=de(),Me.insertStyleElement=be();le()(Ce.A,Me);Ce.A&&Ce.A.locals&&Ce.A.locals;class De extends xe.View{constructor(t,i={}){super(t),this.focusTracker=new s.FocusTracker,this.keystrokes=new s.KeystrokeHandler,this._focusables=new xe.ViewCollection;const n=t.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(n("Unlink"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z"/></svg>',"unlink"),this.editButtonView=this._createButton(n("Edit link"),e.icons.pencil,"edit"),this.set("href",void 0),this._linkConfig=i,this._focusCycler=new xe.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render();[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(e,t,i){const n=new xe.ButtonView(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n.delegate("execute").to(this,i),n}_createPreviewButton(){const e=new xe.ButtonView(this.locale),t=this.bindTemplate,i=this.t;return e.set({withText:!0,tooltip:i("Open link in new tab")}),e.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:t.to("href",(e=>e&&X(e,this._linkConfig.allowedProtocols))),target:"_blank",rel:"noopener noreferrer"}}),e.bind("label").to(this,"href",(e=>e||i("This link has no URL"))),e.bind("isEnabled").to(this,"href",(e=>!!e)),e.template.tag="a",e.template.eventListeners={},e}}const Be='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"/></svg>',Ne="link-ui";class Pe extends e.Plugin{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[xe.ContextualBalloon]}static get pluginName(){return"LinkUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;e.editing.view.addObserver(Ae.ClickObserver),this._balloon=e.plugins.get(xe.ContextualBalloon),this._createToolbarLinkButton(),this._enableBalloonActivators(),e.conversion.for("editingDowncast").markerToHighlight({model:Ne,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:Ne,view:(e,{writer:t})=>{if(!e.markerRange.isCollapsed)return null;const i=t.createUIElement("span");return t.addClass(["ck-fake-link-selection","ck-fake-link-selection_collapsed"],i),i}}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Create link"),keystroke:G},{label:t("Move out of a link"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const e=this.editor,t=new De(e.locale,e.config.get("link")),i=e.commands.get("link"),n=e.commands.get("unlink");return t.bind("href").to(i,"value"),t.editButtonView.bind("isEnabled").to(i),t.unlinkButtonView.bind("isEnabled").to(n),this.listenTo(t,"edit",(()=>{this._addFormView()})),this.listenTo(t,"unlink",(()=>{e.execute("unlink"),this._hideUI()})),t.keystrokes.set("Esc",((e,t)=>{this._hideUI(),t()})),t.keystrokes.set(G,((e,t)=>{this._addFormView(),t()})),t}_createFormView(){const e=this.editor,t=e.commands.get("link"),i=e.config.get("link.defaultProtocol"),n=new((0,xe.CssTransitionDisablerMixin)(Te))(e.locale,t,function(e){const t=e.t,i=e.config.get("link.allowCreatingEmptyLinks");return[e=>{if(!i&&!e.url.length)return t("Link URL must not be empty.")}]}(e));return n.urlInputView.fieldView.bind("value").to(t,"value"),n.urlInputView.bind("isEnabled").to(t,"isEnabled"),n.saveButtonView.bind("isEnabled").to(t,"isEnabled"),this.listenTo(n,"submit",(()=>{if(n.isValid()){const{value:t}=n.urlInputView.fieldView.element,o=te(t,i);e.execute("link",o,n.getDecoratorSwitchesState()),this._closeFormView()}})),this.listenTo(n.urlInputView,"change:errorText",(()=>{e.ui.update()})),this.listenTo(n,"cancel",(()=>{this._closeFormView()})),n.keystrokes.set("Esc",((e,t)=>{this._closeFormView(),t()})),n}_createToolbarLinkButton(){const e=this.editor;e.ui.componentFactory.add("link",(()=>{const e=this._createButton(xe.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:link",(()=>{const e=this._createButton(xe.MenuBarMenuListItemButtonView);return e.set({role:"menuitemcheckbox"}),e}))}_createButton(e){const t=this.editor,i=t.locale,n=t.commands.get("link"),o=new e(t.locale),s=i.t;return o.set({label:s("Link"),icon:Be,keystroke:G,isToggleable:!0}),o.bind("isEnabled").to(n,"isEnabled"),o.bind("isOn").to(n,"value",(e=>!!e)),this.listenTo(o,"execute",(()=>this._showUI(!0))),o}_enableBalloonActivators(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",(()=>{this._getSelectedLinkElement()&&this._showUI()})),e.keystrokes.set(G,((t,i)=>{i(),e.commands.get("link").isEnabled&&this._showUI(!0)}))}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",((e,t)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),t())}),{priority:"high"}),this.editor.keystrokes.set("Esc",((e,t)=>{this._isUIVisible&&(this._hideUI(),t())})),(0,xe.clickOutsideHandler)({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const e=this.editor.commands.get("link");this.formView.disableCssTransitions(),this.formView.resetFormStatus(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.formView.urlInputView.fieldView.value=e.value||"",this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions()}_closeFormView(){const e=this.editor.commands.get("link");e.restoreManualDecoratorStates(),void 0!==e.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this.formView.urlInputView.fieldView.reset(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(e=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),e&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),e&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const e=this.editor;this.stopListening(e.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const e=this.editor,t=e.editing.view.document;let i=this._getSelectedLinkElement(),n=s();const o=()=>{const e=this._getSelectedLinkElement(),t=s();i&&!e||!i&&t!==n?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=e,n=t};function s(){return t.selection.focus.getAncestors().reverse().find((e=>e.is("element")))}this.listenTo(e.ui,"update",o),this.listenTo(this._balloon,"change:visibleView",o)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){const e=this._balloon.visibleView;return!!this.formView&&e==this.formView||this._areActionsVisible}_getBalloonPositionData(){const e=this.editor.editing.view,t=this.editor.model,i=e.document;let n;if(t.markers.has(Ne)){const t=Array.from(this.editor.editing.mapper.markerNameToElements(Ne)),i=e.createRange(e.createPositionBefore(t[0]),e.createPositionAfter(t[t.length-1]));n=e.domConverter.viewRangeToDom(i)}else n=()=>{const t=this._getSelectedLinkElement();return t?e.domConverter.mapViewToDom(t):e.domConverter.viewRangeToDom(i.selection.getFirstRange())};return{target:n}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection,i=t.getSelectedElement();if(t.isCollapsed||i&&(0,Ie.isWidget)(i))return He(t.getFirstPosition());{const i=t.getFirstRange().getTrimmed(),n=He(i.start),o=He(i.end);return n&&n==o&&e.createRangeIn(n).getTrimmed().isEqual(i)?n:null}}_showFakeVisualSelection(){const e=this.editor.model;e.change((t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(Ne))t.updateMarker(Ne,{range:i});else if(i.start.isAtEnd){const n=i.start.getLastMatchingPosition((({item:t})=>!e.schema.isContent(t)),{boundaries:i});t.addMarker(Ne,{usingOperation:!1,affectsData:!1,range:t.createRange(n,i.end)})}else t.addMarker(Ne,{usingOperation:!1,affectsData:!1,range:i})}))}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(Ne)&&e.change((e=>{e.removeMarker(Ne)}))}}function He(e){return e.getAncestors().find((e=>{return(t=e).is("attributeElement")&&!!t.getCustomProperty("link");var t}))||null}const Oe=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class Ue extends e.Plugin{static get requires(){return[t.Delete,ye]}static get pluginName(){return"AutoLink"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.model.document.selection;e.on("change:range",(()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")})),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(e,i){return i.textNode&&i.textNode.hasAttribute("linkHref")?(0,t.findAttributeRange)(i,"linkHref",i.textNode.getAttribute("linkHref"),e):null}_selectEntireLinks(e,t){const i=this.editor.model,n=i.document.selection,o=n.getFirstPosition(),s=n.getLastPosition();let r=t.getJoined(this._expandLinkRange(i,o)||t);r&&(r=r.getJoined(this._expandLinkRange(i,s)||t)),r&&(r.start.isBefore(o)||r.end.isAfter(s))&&e.setSelection(r)}_enablePasteLinking(){const e=this.editor,t=e.model,i=t.document.selection,n=e.plugins.get("ClipboardPipeline"),o=e.commands.get("link");n.on("inputTransformation",((e,n)=>{if(!this.isEnabled||!o.isEnabled||i.isCollapsed||"paste"!==n.method)return;if(i.rangeCount>1)return;const s=i.getFirstRange(),r=n.dataTransfer.getData("text/plain");if(!r)return;const a=r.match(Oe);a&&a[2]===r&&(t.change((e=>{this._selectEntireLinks(e,s),o.execute(r)})),e.stop())}),{priority:"high"})}_enableTypingHandling(){const e=this.editor,i=new t.TextWatcher(e.model,(e=>{if(!function(e){return e.length>4&&" "===e[e.length-1]&&" "!==e[e.length-2]}(e))return;const t=je(e.substr(0,e.length-1));return t?{url:t}:void 0}));i.on("matched:data",((t,i)=>{const{batch:n,range:o,url:s}=i;if(!n.isTyping)return;const r=o.end.getShiftedBy(-1),a=r.getShiftedBy(-s.length),c=e.model.createRange(a,r);this._applyAutoLink(s,c)})),i.bind("isEnabled").to(this)}_enableEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("enter");i&&i.on("execute",(()=>{const e=t.document.selection.getFirstPosition();if(!e.parent.previousSibling)return;const i=t.createRangeIn(e.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(i)}))}_enableShiftEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("shiftEnter");i&&i.on("execute",(()=>{const e=t.document.selection.getFirstPosition(),i=t.createRange(t.createPositionAt(e.parent,0),e.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(i)}))}_checkAndApplyAutoLinkOnRange(e){const i=this.editor.model,{text:n,range:o}=(0,t.getLastTextLine)(e,i),s=je(n);if(s){const e=i.createRange(o.end.getShiftedBy(-s.length),o.end);this._applyAutoLink(s,e)}}_applyAutoLink(e,t){const i=this.editor.model,n=te(e,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(e,t){return t.schema.checkAttributeInSelection(t.createSelection(e),"linkHref")}(t,i)&&ie(n)&&!function(e){const t=e.start.nodeAfter;return!!t&&t.hasAttribute("linkHref")}(t)&&this._persistAutoLink(n,t)}_persistAutoLink(e,t){const i=this.editor.model,n=this.editor.plugins.get("Delete");i.enqueueChange((o=>{o.setAttribute("linkHref",e,t),i.enqueueChange((()=>{n.requestUndoOnBackspace()}))}))}}function je(e){const t=Oe.exec(e);return t?t[2]:null}class Fe extends e.Plugin{static get requires(){return[ye,Pe,Ue]}static get pluginName(){return"Link"}static get isOfficialPlugin(){return!0}}class Re extends e.Plugin{static get requires(){return["ImageEditing","ImageUtils",ye]}static get pluginName(){return"LinkImageEditing"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,t=e.model.schema;e.plugins.has("ImageBlockEditing")&&t.extend("imageBlock",{allowAttributes:["linkHref"]}),e.conversion.for("upcast").add(function(e){const t=e.plugins.has("ImageInlineEditing"),i=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,n,o)=>{const s=n.viewItem,r=i.findViewImgElement(s);if(!r)return;const a=r.findAncestor((e=>i.isBlockImageView(e)));if(t&&!a)return;const c={attributes:["href"]};if(!o.consumable.consume(s,c))return;const l=s.getAttribute("href");if(!l)return;let u=n.modelCursor.parent;if(!u.is("element","imageBlock")){const e=o.convertItem(r,n.modelCursor);n.modelRange=e.modelRange,n.modelCursor=e.modelCursor,u=n.modelCursor.nodeBefore}u&&u.is("element","imageBlock")&&o.writer.setAttribute("linkHref",l,u)}),{priority:"high"})}}(e)),e.conversion.for("downcast").add(function(e){const t=e.plugins.get("ImageUtils");return e=>{e.on("attribute:linkHref:imageBlock",((e,i,n)=>{if(!n.consumable.consume(i.item,e.name))return;const o=n.mapper.toViewElement(i.item),s=n.writer,r=Array.from(o.getChildren()).find((e=>e.is("element","a"))),a=t.findViewImgElement(o),c=a.parent.is("element","picture")?a.parent:a;if(r)i.attributeNewValue?s.setAttribute("href",i.attributeNewValue,r):(s.move(s.createRangeOn(c),s.createPositionAt(o,0)),s.remove(r));else{const e=s.createContainerElement("a",{href:i.attributeNewValue});s.insert(s.createPositionAt(o,0),e),s.move(s.createRangeOn(c),s.createPositionAt(e,0))}}),{priority:"high"})}}(e)),this._enableAutomaticDecorators(),this._enableManualDecorators()}_enableAutomaticDecorators(){const e=this.editor,t=e.commands.get("link").automaticDecorators;t.length&&e.conversion.for("downcast").add(t.getDispatcherForLinkedImage())}_enableManualDecorators(){const e=this.editor,t=e.commands.get("link");for(const i of t.manualDecorators)e.plugins.has("ImageBlockEditing")&&e.model.schema.extend("imageBlock",{allowAttributes:i.id}),e.plugins.has("ImageInlineEditing")&&e.model.schema.extend("imageInline",{allowAttributes:i.id}),e.conversion.for("downcast").add(ze(i)),e.conversion.for("upcast").add(Ye(e,i))}}function ze(e){return t=>{t.on(`attribute:${e.id}:imageBlock`,((t,i,n)=>{const o=n.mapper.toViewElement(i.item),r=Array.from(o.getChildren()).find((e=>e.is("element","a")));if(r){for(const[t,i]of(0,s.toMap)(e.attributes))n.writer.setAttribute(t,i,r);e.classes&&n.writer.addClass(e.classes,r);for(const t in e.styles)n.writer.setStyle(t,e.styles[t],r)}}))}}function Ye(e,t){const i=e.plugins.has("ImageInlineEditing"),n=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,o,s)=>{const r=o.viewItem,a=n.findViewImgElement(r);if(!a)return;const c=a.findAncestor((e=>n.isBlockImageView(e)));if(i&&!c)return;const l=new Ae.Matcher(t._createPattern()).match(r);if(!l)return;if(!s.consumable.consume(r,l.match))return;const u=o.modelCursor.nodeBefore||o.modelCursor.parent;s.writer.setAttribute(t.id,!0,u)}),{priority:"high"})}}class $e extends e.Plugin{static get requires(){return[ye,Pe,"ImageBlockEditing"]}static get pluginName(){return"LinkImageUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",((t,i)=>{this._isSelectedLinkedImage(e.model.document.selection)&&(i.preventDefault(),t.stop())}),{priority:"high"}),this._createToolbarLinkImageButton()}_createToolbarLinkImageButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("linkImage",(i=>{const n=new xe.ButtonView(i),o=e.plugins.get("LinkUI"),s=e.commands.get("link");return n.set({isEnabled:!0,label:t("Link image"),icon:Be,keystroke:G,tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(s,"isEnabled"),n.bind("isOn").to(s,"value",(e=>!!e)),this.listenTo(n,"execute",(()=>{this._isSelectedLinkedImage(e.model.document.selection)?o._addActionsView():o._showUI(!0)})),n}))}_isSelectedLinkedImage(e){const t=e.getSelectedElement();return this.editor.plugins.get("ImageUtils").isImage(t)&&t.hasAttribute("linkHref")}}var Ke=i(654),qe={attributes:{"data-cke":!0}};qe.setAttributes=me(),qe.insert=he().bind(null,"head"),qe.domAPI=de(),qe.insertStyleElement=be();le()(Ke.A,qe);Ke.A&&Ke.A.locals&&Ke.A.locals;class Qe extends e.Plugin{static get requires(){return[Re,$e]}static get pluginName(){return"LinkImage"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).link=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/link/translations/ug.js b/core/assets/vendor/ckeditor5/link/translations/ug.js index a8b79a2ef185862fb68cab2b6c5d699efaec9f7e..16b6cfb14c1f30867229f9c2739af5534695fcd0 100644 --- a/core/assets/vendor/ckeditor5/link/translations/ug.js +++ b/core/assets/vendor/ckeditor5/link/translations/ug.js @@ -1 +1 @@ -!function(n){const i=n.ug=n.ug||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"",Downloadable:"چۈشۈرۈشچان","Edit link":"ئۇلانما تەھرىر",Link:"ئۇلانما","Link image":"ئۇلانما سۈرەت","Link URL":"ئۇلاش ئادىرسى","Link URL must not be empty.":"","Move out of a link":"","Open in a new tab":"ÙŠÛÚÙ‰ بەتكۈچتە ئاچ","Open link in new tab":"ئۇلانمىنى ÙŠÛÚÙ‰ بەتكۈچتە ئاچ","This link has no URL":"بۇ Ø¦Û‡Ù„Ø§Ù†Ù…Ù‰Ù†Ù‰Ú ØªÙˆØ± ئادرÛسى يوق",Unlink:"ئۇلانمىنى ئۈزۈش"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const i=n.ug=n.ug||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"ئۇلانما قۇر",Downloadable:"چۈشۈرۈشچان","Edit link":"ئۇلانما تەھرىر",Link:"ئۇلانما","Link image":"ئۇلانما سۈرەت","Link URL":"ئۇلاش ئادىرسى","Link URL must not be empty.":"ئۇلانما تور ئادرÛسى بوش قالدۇرۇلمايدۇ.","Move out of a link":"ئۇلانمىنى چىقىرىۋەت","Open in a new tab":"ÙŠÛÚÙ‰ بەتكۈچتە ئاچ","Open link in new tab":"ئۇلانمىنى ÙŠÛÚÙ‰ بەتكۈچتە ئاچ","This link has no URL":"بۇ Ø¦Û‡Ù„Ø§Ù†Ù…Ù‰Ù†Ù‰Ú ØªÙˆØ± ئادرÛسى يوق",Unlink:"ئۇلانمىنى ئۈزۈش"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/list/list.js b/core/assets/vendor/ckeditor5/list/list.js index 81cc2592262ff0b603b9dc2c352f442cda1358a5..def57a891784f0528f94bf0dab3580988a6be927 100644 --- a/core/assets/vendor/ckeditor5/list/list.js +++ b/core/assets/vendor/ckeditor5/list/list.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={358:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),s=i.n(n)()((function(t){return t[1]}));s.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}",""]);const r=s},137:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),s=i.n(n)()((function(t){return t[1]}));s.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}",""]);const r=s},266:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),s=i.n(n)()((function(t){return t[1]}));s.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}",""]);const r=s},263:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),s=i.n(n)()((function(t){return t[1]}));s.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}",""]);const r=s},825:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),s=i.n(n)()((function(t){return t[1]}));s.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.ck-content .todo-list .todo-list__label>input:before{transition:none}}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{transition:none}}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',""]);const r=s},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var s={};if(n)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(s[o]=!0)}for(var l=0;l<t.length;l++){var a=[].concat(t[l]);n&&s[a[0]]||(i&&(a[2]?a[2]="".concat(i," and ").concat(a[2]):a[2]=i),e.push(a))}},e}},591:(t,e,i)=>{"use strict";var n,s=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),o=[];function l(t){for(var e=-1,i=0;i<o.length;i++)if(o[i].identifier===t){e=i;break}return e}function a(t,e){for(var i={},n=[],s=0;s<t.length;s++){var r=t[s],a=e.base?r[0]+e.base:r[0],c=i[a]||0,d="".concat(a," ").concat(c);i[a]=c+1;var u=l(d),m={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(o[u].references++,o[u].updater(m)):o.push({identifier:d,updater:g(m,e),references:1}),n.push(d)}return n}function c(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var s=i.nc;s&&(n.nonce=s)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var o=r(t.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(e)}return e}var d,u=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function m(t,e,i,n){var s=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=u(e,s);else{var r=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function p(t,e,i){var n=i.css,s=i.media,r=i.sourceMap;if(s?t.setAttribute("media",s):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var h=null,f=0;function g(t,e){var i,n,s;if(e.singleton){var r=f++;i=h||(h=c(e)),n=m.bind(null,i,r,!1),s=m.bind(null,i,r,!0)}else i=c(e),n=p.bind(null,i,e),s=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(i)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else s()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=s());var i=a(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<i.length;n++){var s=l(i[n]);o[s].references--}for(var r=a(t,e),c=0;c<i.length;c++){var d=l(i[c]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}i=r}}}},331:(t,e,i)=>{t.exports=i(237)("./src/clipboard.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},507:(t,e,i)=>{t.exports=i(237)("./src/enter.js")},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{AdjacentListsSupport:()=>Ge,DocumentList:()=>Je,DocumentListProperties:()=>Qe,LegacyIndentCommand:()=>Qt,LegacyList:()=>xe,LegacyListEditing:()=>Te,LegacyListProperties:()=>Me,LegacyListPropertiesEditing:()=>Pe,LegacyListUtils:()=>de,LegacyTodoList:()=>We,LegacyTodoListEditing:()=>$e,List:()=>ot,ListCommand:()=>E,ListEditing:()=>tt,ListIndentCommand:()=>S,ListProperties:()=>Nt,ListPropertiesEditing:()=>kt,ListPropertiesUI:()=>Ct,ListPropertiesUtils:()=>vt,ListUI:()=>rt,ListUtils:()=>z,TodoDocumentList:()=>Xe,TodoList:()=>Wt,TodoListEditing:()=>Dt,TodoListUI:()=>Ut});var t=i(782),e=i(834),s=i(507),r=i(584);class o{constructor(t,e){this._startElement=t,this._referenceIndent=t.getAttribute("listIndent"),this._isForward="forward"==e.direction,this._includeSelf=!!e.includeSelf,this._sameAttributes=(0,r.toArray)(e.sameAttributes||[]),this._sameIndent=!!e.sameIndent,this._lowerIndent=!!e.lowerIndent,this._higherIndent=!!e.higherIndent}static first(t,e){const i=new this(t,e)[Symbol.iterator]();return(0,r.first)(i)}*[Symbol.iterator](){const t=[];for(const{node:e}of l(this._getStartNode(),this._isForward?"forward":"backward")){const i=e.getAttribute("listIndent");if(i<this._referenceIndent){if(!this._lowerIndent)break;this._referenceIndent=i}else if(i>this._referenceIndent){if(!this._higherIndent)continue;if(!this._isForward){t.push(e);continue}}else{if(!this._sameIndent){if(this._higherIndent){t.length&&(yield*t,t.length=0);break}continue}if(this._sameAttributes.some((t=>e.getAttribute(t)!==this._startElement.getAttribute(t))))break}t.length&&(yield*t,t.length=0),yield e}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}function*l(t,e="forward"){const i="forward"==e,n=[];let s=null;for(;d(t);){let e=null;if(s){const i=t.getAttribute("listIndent"),r=s.getAttribute("listIndent");i>r?n[r]=s:i<r?(e=n[i],n.length=i):e=s}yield{node:t,previous:s,previousNodeInList:e},s=t,t=i?t.nextSibling:t.previousSibling}}class a{constructor(t){this._listHead=t}[Symbol.iterator](){return l(this._listHead,"forward")}}class c{static next(){return(0,r.uid)()}}function d(t){return!!t&&t.is("element")&&t.hasAttribute("listItemId")}function u(t,e={}){return[...m(t,{...e,direction:"backward"}),...m(t,{...e,direction:"forward"})]}function m(t,e={}){const i="forward"==e.direction,n=Array.from(new o(t,{...e,includeSelf:i,sameIndent:!0,sameAttributes:"listItemId"}));return i?n:n.reverse()}function p(t,e){const i=new o(t,{sameIndent:!0,sameAttributes:"listType",...e}),n=new o(t,{sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward",...e});return[...Array.from(i).reverse(),...n]}function h(t){return!o.first(t,{sameIndent:!0,sameAttributes:"listItemId"})}function f(t){return!o.first(t,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function g(t,e={}){t=(0,r.toArray)(t);const i=!1!==e.withNested,n=new Set;for(const e of t)for(const t of u(e,{higherIndent:i}))n.add(t);return k(n)}function b(t){t=(0,r.toArray)(t);const e=new Set;for(const i of t)for(const t of p(i))e.add(t);return k(e)}function y(t,e){const i=m(t,{direction:"forward"}),n=c.next();for(const t of i)e.setAttribute("listItemId",n,t);return i}function v(t,e,i){const n={};for(const[t,i]of e.getAttributes())t.startsWith("list")&&(n[t]=i);const s=m(t,{direction:"forward"});for(const t of s)i.setAttributes(n,t);return s}function A(t,e,{expand:i,indentBy:n=1}={}){t=(0,r.toArray)(t);const s=i?g(t):t;for(const t of s){const i=t.getAttribute("listIndent")+n;i<0?w(t,e):e.setAttribute("listIndent",i,t)}return s}function w(t,e){t=(0,r.toArray)(t);for(const i of t)i.is("element","listItem")&&e.rename(i,"paragraph");for(const i of t)for(const t of i.getAttributeKeys())t.startsWith("list")&&e.removeAttribute(t,i);return t}function I(t){if(!t.length)return!1;const e=t[0].getAttribute("listItemId");return!!e&&!t.some((t=>t.getAttribute("listItemId")!=e))}function k(t){return Array.from(t).filter((t=>"$graveyard"!==t.root.rootName)).sort(((t,e)=>t.index-e.index))}function T(t){const e=t.document.selection.getSelectedElement();return e&&t.schema.isObject(e)&&t.schema.isBlock(e)?e:null}function _(t,e){return e.checkChild(t.parent,"listItem")&&e.checkChild(t,"$text")&&!e.isObject(t)}function x(t){return"numbered"==t||"customNumbered"==t}function L(t,e,i){return m(e,{direction:"forward"}).pop().index>t.index?v(t,e,i):[]}class S extends t.Command{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=C(t.document.selection);t.change((t=>{const i=[];I(e)&&!h(e[0])?("forward"==this._direction&&i.push(...A(e,t)),i.push(...y(e[0],t))):"forward"==this._direction?i.push(...A(e,t,{expand:!0})):i.push(...function(t,e){const i=g(t=(0,r.toArray)(t)),n=new Set,s=Math.min(...i.map((t=>t.getAttribute("listIndent")))),l=new Map;for(const t of i)l.set(t,o.first(t,{lowerIndent:!0}));for(const t of i){if(n.has(t))continue;n.add(t);const i=t.getAttribute("listIndent")-1;if(i<0)w(t,e);else{if(t.getAttribute("listIndent")==s){const i=L(t,l.get(t),e);for(const t of i)n.add(t);if(i.length)continue}e.setAttribute("listIndent",i,t)}}return k(n)}(e,t));for(const e of i){if(!e.hasAttribute("listType"))continue;const i=o.first(e,{sameIndent:!0});i&&t.setAttribute("listType",i.getAttribute("listType"),e)}this._fireAfterExecute(i)}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_checkEnabled(){let t=C(this.editor.model.document.selection),e=t[0];if(!e)return!1;if("backward"==this._direction)return!0;if(I(t)&&!h(t[0]))return!0;t=g(t),e=t[0];const i=o.first(e,{sameIndent:!0});return!!i&&i.getAttribute("listType")==e.getAttribute("listType")}}function C(t){const e=Array.from(t.getSelectedBlocks()),i=e.findIndex((t=>!d(t)));return-1!=i&&(e.length=i),e}class E extends t.Command{constructor(t,e,i={}){super(t),this.type=e,this._listWalkerOptions=i.multiLevel?{higherIndent:!0,lowerIndent:!0,sameAttributes:[]}:void 0}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,i=e.document,n=T(e),s=Array.from(i.selection.getSelectedBlocks()).filter((t=>e.schema.checkAttribute(t,"listType")||_(t,e.schema))),r=void 0!==t.forceValue?!t.forceValue:this.value;e.change((o=>{if(r){const t=s[s.length-1],e=m(t,{direction:"forward"}),i=[];e.length>1&&i.push(...y(e[1],o)),i.push(...w(s,o)),i.push(...function(t,e){const i=[];let n=Number.POSITIVE_INFINITY;for(const{node:s}of l(t.nextSibling,"forward")){const t=s.getAttribute("listIndent");if(0==t)break;t<n&&(n=t);const r=t-n;e.setAttribute("listIndent",r,s),i.push(s)}return i}(t,o)),this._fireAfterExecute(i)}else if((n||i.selection.isCollapsed)&&d(s[0])){const e=p(n||s[0],this._listWalkerOptions);for(const i of e)o.setAttributes({...t.additionalAttributes,listType:this.type},i);this._fireAfterExecute(e)}else{const i=[];for(const n of s)if(n.hasAttribute("listType"))for(const e of g(n,{withNested:!1}))e.getAttribute("listType")!=this.type&&(o.setAttributes({...t.additionalAttributes,listType:this.type},e),i.push(e));else!n.is("element","listItem")&&_(n,e.schema)&&o.rename(n,"listItem"),o.setAttributes({...t.additionalAttributes,listIndent:0,listItemId:c.next(),listType:this.type},n),i.push(n);this._fireAfterExecute(i)}}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_getValue(){const t=this.editor.model.document.selection,e=Array.from(t.getSelectedBlocks());if(!e.length)return!1;for(const t of e)if(t.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const t=this.editor.model,e=t.schema,i=t.document.selection,n=Array.from(i.getSelectedBlocks());if(!n.length)return!1;if(this.value)return!0;for(const t of n)if(e.checkAttribute(t,"listType")||_(t,e))return!0;return!1}}class P extends t.Command{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:t=!1}={}){const e=this.editor.model,i=e.document.selection,n=[];e.change((s=>{const{firstElement:r,lastElement:l}=this._getMergeSubjectElements(i,t),a=r.getAttribute("listIndent")||0,c=l.getAttribute("listIndent"),d=l.getAttribute("listItemId");if(a!=c){const t=(u=l,Array.from(new o(u,{direction:"forward",higherIndent:!0})));n.push(...A([l,...t],s,{indentBy:a-c,expand:a<c}))}var u;if(t){let t=i;i.isCollapsed&&(t=s.createSelection(s.createRange(s.createPositionAt(r,"end"),s.createPositionAt(l,0)))),e.deleteContent(t,{doNotResetEntireContent:i.isCollapsed});const o=t.getLastPosition().parent,a=o.nextSibling;n.push(o),a&&a!==l&&a.getAttribute("listItemId")==d&&n.push(...v(a,o,s))}else n.push(...v(l,r,s));this._fireAfterExecute(n)}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_checkEnabled(){const t=this.editor.model,e=t.document.selection,i=T(t);if(e.isCollapsed||i){const t=i||e.getFirstPosition().parent;if(!d(t))return!1;const n="backward"==this._direction?t.previousSibling:t.nextSibling;if(!n)return!1;if(I([t,n]))return!1}else{const t=e.getLastPosition(),i=e.getFirstPosition();if(t.parent===i.parent)return!1;if(!d(t.parent))return!1}return!0}_getMergeSubjectElements(t,e){const i=T(this.editor.model);let n,s;if(t.isCollapsed||i){const r=i||t.getFirstPosition().parent,l=h(r);"backward"==this._direction?(s=r,n=l&&!e?o.first(r,{sameIndent:!0,lowerIndent:!0}):r.previousSibling):(n=r,s=r.nextSibling)}else n=t.getFirstPosition().parent,s=t.getLastPosition().parent;return{firstElement:n,lastElement:s}}}class V extends t.Command{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute(){this.editor.model.change((t=>{const e=y(this._getStartBlock(),t);this._fireAfterExecute(e)}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_checkEnabled(){const t=this.editor.model.document.selection,e=this._getStartBlock();return t.isCollapsed&&d(e)&&!h(e)}_getStartBlock(){const t=this.editor.model.document.selection.getFirstPosition().parent;return"before"==this._direction?t:t.nextSibling}}class z extends t.Plugin{static get pluginName(){return"ListUtils"}expandListBlocksToCompleteList(t){return b(t)}isFirstBlockOfListItem(t){return h(t)}isListItemBlock(t){return d(t)}expandListBlocksToCompleteItems(t,e={}){return g(t,e)}isNumberedListType(t){return x(t)}}function N(t){return t.is("element","ol")||t.is("element","ul")}function B(t){return t.is("element","li")}function R(t,e,i,n=D(i,e)){return t.createAttributeElement(O(i),null,{priority:2*e/100-100,id:n})}function M(t,e,i){return t.createAttributeElement("li",null,{priority:(2*e+1)/100-100,id:i})}function O(t){return"numbered"==t||"customNumbered"==t?"ol":"ul"}function D(t,e){return`list-${t}-${e}`}function F(t,e){const i=t.nodeBefore;if(d(i)){let t=i;for(const{node:i}of l(t,"backward"))if(t=i,e.has(t))return;e.set(i,t)}else{const i=t.nodeAfter;d(i)&&e.set(i,i)}}function H(){return(t,e,i)=>{const{writer:n,schema:s}=i;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter((t=>s.checkAttribute(t,"listItemId")));if(!r.length)return;const o=c.next(),l=function(t){let e=0,i=t.parent;for(;i;){if(B(i))e++;else{const t=i.previousSibling;t&&B(t)&&e++}i=i.parent}return e}(e.viewItem);let a=e.viewItem.parent&&e.viewItem.parent.is("element","ol")?"numbered":"bulleted";const d=r[0].getAttribute("listType");d&&(a=d);const u={listItemId:o,listIndent:l,listType:a};for(const t of r)t.hasAttribute("listItemId")||n.setAttributes(u,t);r.length>1&&r[1].getAttribute("listItemId")!=u.listItemId&&i.keepEmptyElement(r[0])}}function j(t,e,i,{dataPipeline:n}={}){const s=function(t){return(e,i)=>{const n=[];for(const i of t)e.hasAttribute(i)&&n.push(`attribute:${i}`);return!!n.every((t=>!1!==i.test(e,t)))&&(n.forEach((t=>i.consume(e,t))),!0)}}(t);return(r,l,a)=>{const{writer:c,mapper:d,consumable:u}=a,m=l.item;if(!t.includes(l.attributeKey))return;if(!s(m,u))return;const p=function(t,e,i){const n=i.createRangeOn(t),s=e.toViewRange(n).getTrimmed();return s.end.nodeBefore}(m,d,i);U(p,c,d),function(t,e){let i=t.parent;for(;i.is("attributeElement")&&["ul","ol","li"].includes(i.name);){const n=i.parent;e.unwrap(e.createRangeOn(t),i),i=n}}(p,c);const f=function(t,e,i,n,{dataPipeline:s}){let r=n.createRangeOn(e);if(!h(t))return r;for(const o of i){if("itemMarker"!=o.scope)continue;const i=o.createElement(n,t,{dataPipeline:s});if(!i)continue;if(n.setCustomProperty("listItemMarker",!0,i),o.canInjectMarkerIntoElement&&o.canInjectMarkerIntoElement(t)?n.insert(n.createPositionAt(e,0),i):(n.insert(r.start,i),r=n.createRange(n.createPositionBefore(i),n.createPositionAfter(e))),!o.createWrapperElement||!o.canWrapElement)continue;const l=o.createWrapperElement(n,t,{dataPipeline:s});n.setCustomProperty("listItemWrapper",!0,l),o.canWrapElement(t)?r=n.wrap(r,l):(r=n.wrap(n.createRangeOn(i),l),r=n.createRange(r.start,n.createPositionAfter(e)))}return r}(m,p,e,c,{dataPipeline:n});!function(t,e,i,n){if(!t.hasAttribute("listIndent"))return;const s=t.getAttribute("listIndent");let r=t;for(let t=s;t>=0;t--){const s=M(n,t,r.getAttribute("listItemId")),l=R(n,t,r.getAttribute("listType"));for(const t of i)"list"!=t.scope&&"item"!=t.scope||!r.hasAttribute(t.attributeName)||t.setAttributeOnDowncast(n,r.getAttribute(t.attributeName),"list"==t.scope?l:s);if(e=n.wrap(e,s),e=n.wrap(e,l),0==t)break;if(r=o.first(r,{lowerIndent:!0}),!r)break}}(m,f,e,c)}}function K(t,{dataPipeline:e}={}){return(i,{writer:n})=>{if(!$(i,t))return null;if(!e)return n.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const s=n.createContainerElement("p");return n.setCustomProperty("dataPipeline:transparentRendering",!0,s),s}}function U(t,e,i){for(;t.parent.is("attributeElement")&&t.parent.getCustomProperty("listItemWrapper");)e.unwrap(e.createRangeOn(t),t.parent);const n=[];s(e.createPositionBefore(t).getWalker({direction:"backward"})),s(e.createRangeIn(t).getWalker());for(const t of n)e.remove(t);function s(t){for(const{item:e}of t){if(e.is("element")&&i.toModelElement(e))break;e.is("element")&&e.getCustomProperty("listItemMarker")&&n.push(e)}}}function $(t,e,i=u(t)){if(!d(t))return!1;for(const i of t.getAttributeKeys())if(!i.startsWith("selection:")&&!e.includes(i))return!1;return i.length<2}var q=i(331),W=i(591),G=i.n(W),Y=i(358),J={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(Y.A,J);Y.A.locals;var Q=i(137),X={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(Q.A,X);Q.A.locals;const Z=["listType","listIndent","listItemId"];class tt extends t.Plugin{static get pluginName(){return"ListEditing"}static get requires(){return[s.Enter,e.Delete,z,q.ClipboardPipeline]}constructor(t){super(t),this._downcastStrategies=[],t.config.define("list.multiBlock",!0)}init(){const t=this.editor,e=t.model,i=t.config.get("list.multiBlock");if(t.plugins.has("LegacyListEditing"))throw new r.CKEditorError("list-feature-conflict",this,{conflictPlugin:"LegacyListEditing"});e.schema.register("$listItem",{allowAttributes:Z}),i?(e.schema.extend("$container",{allowAttributesOf:"$listItem"}),e.schema.extend("$block",{allowAttributesOf:"$listItem"}),e.schema.extend("$blockObject",{allowAttributesOf:"$listItem"})):e.schema.register("listItem",{inheritAllFrom:"$block",allowAttributesOf:"$listItem"});for(const t of Z)e.schema.setAttributeProperties(t,{copyOnReplace:!0});t.commands.add("numberedList",new E(t,"numbered")),t.commands.add("bulletedList",new E(t,"bulleted")),t.commands.add("customNumberedList",new E(t,"customNumbered",{multiLevel:!0})),t.commands.add("customBulletedList",new E(t,"customBulleted",{multiLevel:!0})),t.commands.add("indentList",new S(t,"forward")),t.commands.add("outdentList",new S(t,"backward")),t.commands.add("splitListItemBefore",new V(t,"before")),t.commands.add("splitListItemAfter",new V(t,"after")),i&&(t.commands.add("mergeListItemBackward",new P(t,"backward")),t.commands.add("mergeListItemForward",new P(t,"forward"))),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration(),this._setupAccessibilityIntegration()}afterInit(){const t=this.editor.commands,e=t.get("indent"),i=t.get("outdent");e&&e.registerChildCommand(t.get("indentList"),{priority:"high"}),i&&i.registerChildCommand(t.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(t){this._downcastStrategies.push(t)}getListAttributeNames(){return[...Z,...this._downcastStrategies.map((t=>t.attributeName))]}_setupDeleteIntegration(){const t=this.editor,e=t.commands.get("mergeListItemBackward"),i=t.commands.get("mergeListItemForward");this.listenTo(t.editing.view.document,"delete",((n,s)=>{const r=t.model.document.selection;T(t.model)||t.model.change((()=>{const l=r.getFirstPosition();if(r.isCollapsed&&"backward"==s.direction){if(!l.isAtStart)return;const i=l.parent;if(!d(i))return;if(o.first(i,{sameAttributes:"listType",sameIndent:!0})||0!==i.getAttribute("listIndent")){if(!e||!e.isEnabled)return;e.execute({shouldMergeOnBlocksContentLevel:et(t.model,"backward")})}else f(i)||t.execute("splitListItemAfter"),t.execute("outdentList");s.preventDefault(),n.stop()}else{if(r.isCollapsed&&!r.getLastPosition().isAtEnd)return;if(!i||!i.isEnabled)return;i.execute({shouldMergeOnBlocksContentLevel:et(t.model,"forward")}),s.preventDefault(),n.stop()}}))}),{context:"li"})}_setupEnterIntegration(){const t=this.editor,e=t.model,i=t.commands,n=i.get("enter");this.listenTo(t.editing.view.document,"enter",((i,n)=>{const s=e.document,r=s.selection.getFirstPosition().parent;if(s.selection.isCollapsed&&d(r)&&r.isEmpty&&!n.isSoft){const e=h(r),s=f(r);e&&s?(t.execute("outdentList"),n.preventDefault(),i.stop()):e&&!s?(t.execute("splitListItemAfter"),n.preventDefault(),i.stop()):s&&(t.execute("splitListItemBefore"),n.preventDefault(),i.stop())}}),{context:"li"}),this.listenTo(n,"afterExecute",(()=>{const e=i.get("splitListItemBefore");if(e.refresh(),!e.isEnabled)return;2===u(t.model.document.selection.getLastPosition().parent).length&&e.execute()}))}_setupTabIntegration(){const t=this.editor;this.listenTo(t.editing.view.document,"tab",((e,i)=>{const n=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(n).isEnabled&&(t.execute(n),i.stopPropagation(),i.preventDefault(),e.stop())}),{context:"li"})}_setupConversion(){const t=this.editor,e=t.model,i=this.getListAttributeNames(),n=t.config.get("list.multiBlock"),s=n?"paragraph":"listItem";t.conversion.for("upcast").elementToElement({view:"li",model:(t,{writer:e})=>e.createElement(s,{listType:""})}).elementToElement({view:"p",model:(t,{writer:e})=>t.parent&&t.parent.is("element","li")?e.createElement(s,{listType:""}):null,converterPriority:"high"}).add((t=>{t.on("element:li",H())})),n||t.conversion.for("downcast").elementToElement({model:"listItem",view:"p"}),t.conversion.for("editingDowncast").elementToElement({model:s,view:K(i),converterPriority:"high"}).add((t=>{var n;t.on("attribute",j(i,this._downcastStrategies,e)),t.on("remove",(n=e.schema,(t,e,i)=>{const{writer:s,mapper:r}=i,o=t.name.split(":")[1];if(!n.checkAttribute(o,"listItemId"))return;const l=r.toViewPosition(e.position),a=e.position.getShiftedBy(e.length),c=r.toViewPosition(a,{isPhantom:!0}),d=s.createRange(l,c).getTrimmed().end.nodeBefore;d&&U(d,s,r)}))})),t.conversion.for("dataDowncast").elementToElement({model:s,view:K(i,{dataPipeline:!0}),converterPriority:"high"}).add((t=>{t.on("attribute",j(i,this._downcastStrategies,e,{dataPipeline:!0}))}));const r=(o=this._downcastStrategies,a=t.editing.view,(t,e)=>{if(e.modelPosition.offset>0)return;const i=e.modelPosition.parent;if(!d(i))return;if(!o.some((t=>"itemMarker"==t.scope&&t.canInjectMarkerIntoElement&&t.canInjectMarkerIntoElement(i))))return;const n=e.mapper.toViewElement(i),s=a.createRangeIn(n),r=s.getWalker();let l=s.start;for(const{item:t}of r){if(t.is("element")&&e.mapper.toModelElement(t)||t.is("$textProxy"))break;t.is("element")&&t.getCustomProperty("listItemMarker")&&(l=a.createPositionAfter(t),r.skip((({previousPosition:t})=>!t.isEqual(l))))}e.viewPosition=l});var o,a;t.editing.mapper.on("modelToViewPosition",r),t.data.mapper.on("modelToViewPosition",r),this.listenTo(e.document,"change:data",function(t,e,i,n){return()=>{const n=t.document.differ.getChanges(),o=[],l=new Map,a=new Set;for(const t of n)if("insert"==t.type&&"$text"!=t.name)F(t.position,l),t.attributes.has("listItemId")?a.add(t.position.nodeAfter):F(t.position.getShiftedBy(t.length),l);else if("remove"==t.type&&t.attributes.has("listItemId"))F(t.position,l);else if("attribute"==t.type){const e=t.range.start.nodeAfter;i.includes(t.attributeKey)?(F(t.range.start,l),null===t.attributeNewValue?(F(t.range.start.getShiftedBy(1),l),r(e)&&o.push(e)):a.add(e)):d(e)&&r(e)&&o.push(e)}for(const t of l.values())o.push(...s(t,a));for(const t of new Set(o))e.reconvertItem(t)};function s(t,e){const n=[],s=new Set,a=[];for(const{node:c,previous:d}of l(t,"forward")){if(s.has(c))continue;const t=c.getAttribute("listIndent");d&&t<d.getAttribute("listIndent")&&(a.length=t+1),a[t]=Object.fromEntries(Array.from(c.getAttributes()).filter((([t])=>i.includes(t))));const l=m(c,{direction:"forward"});for(const t of l)s.add(t),(r(t,l)||o(t,a,e))&&n.push(t)}return n}function r(t,s){const r=e.mapper.toViewElement(t);if(!r)return!1;if(n.fire("checkElement",{modelElement:t,viewElement:r}))return!0;if(!t.is("element","paragraph")&&!t.is("element","listItem"))return!1;const o=$(t,i,s);return!(!o||!r.is("element","p"))||!(o||!r.is("element","span"))}function o(t,i,s){if(s.has(t))return!1;const r=e.mapper.toViewElement(t);let o=i.length-1;for(let t=r.parent;!t.is("editableElement");t=t.parent){const e=B(t),s=N(t);if(!s&&!e)continue;const r="checkAttributes:"+(e?"item":"list");if(n.fire(r,{viewElement:t,modelAttributes:i[o]}))break;if(s&&(o--,o<0))return!1}return!0}}(e,t.editing,i,this),{priority:"high"}),this.on("checkAttributes:item",((t,{viewElement:e,modelAttributes:i})=>{e.id!=i.listItemId&&(t.return=!0,t.stop())})),this.on("checkAttributes:list",((t,{viewElement:e,modelAttributes:i})=>{e.name==O(i.listType)&&e.id==D(i.listType,i.listIndent)||(t.return=!0,t.stop())}))}_setupModelPostFixing(){const t=this.editor.model,e=this.getListAttributeNames();t.document.registerPostFixer((i=>function(t,e,i,n){const s=t.document.differ.getChanges(),r=new Map,o=n.editor.config.get("list.multiBlock");let l=!1;for(const n of s){if("insert"==n.type&&"$text"!=n.name){const s=n.position.nodeAfter;if(!t.schema.checkAttribute(s,"listItemId"))for(const t of Array.from(s.getAttributeKeys()))i.includes(t)&&(e.removeAttribute(t,s),l=!0);F(n.position,r),n.attributes.has("listItemId")||F(n.position.getShiftedBy(n.length),r);for(const{item:e,previousPosition:i}of t.createRangeIn(s))d(e)&&F(i,r)}else"remove"==n.type?F(n.position,r):"attribute"==n.type&&i.includes(n.attributeKey)&&(F(n.range.start,r),null===n.attributeNewValue&&F(n.range.start.getShiftedBy(1),r));if(!o&&"attribute"==n.type&&Z.includes(n.attributeKey)){const t=n.range.start.nodeAfter;null===n.attributeNewValue&&t&&t.is("element","listItem")?(e.rename(t,"paragraph"),l=!0):null===n.attributeOldValue&&t&&t.is("element")&&"listItem"!=t.name&&(e.rename(t,"listItem"),l=!0)}}const c=new Set;for(const t of r.values())l=n.fire("postFixer",{listNodes:new a(t),listHead:t,writer:e,seenIds:c})||l;return l}(t,i,e,this))),this.on("postFixer",((t,{listNodes:e,writer:i})=>{t.return=function(t,e){let i=0,n=-1,s=null,r=!1;for(const{node:o}of t){const t=o.getAttribute("listIndent");if(t>i){let l;null===s?(s=t-i,l=i):(s>t&&(s=t),l=t-s),l>n+1&&(l=n+1),e.setAttribute("listIndent",l,o),r=!0,n=l}else s=null,i=t+1,n=t}return r}(e,i)||t.return}),{priority:"high"}),this.on("postFixer",((t,{listNodes:e,writer:i,seenIds:n})=>{t.return=function(t,e,i){const n=new Set;let s=!1;for(const{node:r}of t){if(n.has(r))continue;let t=r.getAttribute("listType"),o=r.getAttribute("listItemId");if(e.has(o)&&(o=c.next()),e.add(o),r.is("element","listItem"))r.getAttribute("listItemId")!=o&&(i.setAttribute("listItemId",o,r),s=!0);else for(const e of m(r,{direction:"forward"}))n.add(e),e.getAttribute("listType")!=t&&(o=c.next(),t=e.getAttribute("listType")),e.getAttribute("listItemId")!=o&&(i.setAttribute("listItemId",o,e),s=!0)}return s}(e,n,i)||t.return}),{priority:"high"})}_setupClipboardIntegration(){const t=this.editor.model,e=this.editor.plugins.get("ClipboardPipeline");this.listenTo(t,"insertContent",function(t){return(e,[i,n])=>{const s=i.is("documentFragment")?Array.from(i.getChildren()):[i];if(!s.length)return;const r=(n?t.createSelection(n):t.document.selection).getFirstPosition();let o;if(d(r.parent))o=r.parent;else{if(!d(r.nodeBefore))return;o=r.nodeBefore}t.change((t=>{const e=o.getAttribute("listType"),i=o.getAttribute("listIndent"),n=s[0].getAttribute("listIndent")||0,r=Math.max(i-n,0);for(const i of s){const n=d(i);o.is("element","listItem")&&i.is("element","paragraph")&&t.rename(i,"listItem"),t.setAttributes({listIndent:(n?i.getAttribute("listIndent"):0)+r,listItemId:n?i.getAttribute("listItemId"):c.next(),listType:e},i)}}))}}(t),{priority:"high"}),this.listenTo(e,"outputTransformation",((e,i)=>{t.change((t=>{const e=Array.from(i.content.getChildren()),n=e[e.length-1];if(e.length>1&&n.is("element")&&n.isEmpty){e.slice(0,-1).every(d)&&t.remove(n)}if("copy"==i.method||"cut"==i.method){const e=Array.from(i.content.getChildren());I(e)&&w(e,t)}}))}))}_setupAccessibilityIntegration(){const t=this.editor,e=t.t;t.accessibility.addKeystrokeInfoGroup({id:"list",label:e("Keystrokes that can be used in a list"),keystrokes:[{label:e("Increase list item indent"),keystroke:"Tab"},{label:e("Decrease list item indent"),keystroke:"Shift+Tab"}]})}}function et(t,e){const i=t.document.selection;if(!i.isCollapsed)return!T(t);if("forward"===e)return!0;const n=i.getFirstPosition().parent,s=n.previousSibling;return!t.schema.isObject(s)&&(!!s.isEmpty||I([n,s]))}var it=i(311);function nt(t,e,i,n){t.ui.componentFactory.add(e,(()=>{const s=st(it.ButtonView,t,e,i,n);return s.set({tooltip:!0,isToggleable:!0}),s})),t.ui.componentFactory.add(`menuBar:${e}`,(()=>{const s=st(it.MenuBarMenuListItemButtonView,t,e,i,n);return s.set({role:"menuitemcheckbox",isToggleable:!0}),s}))}function st(t,e,i,n,s){const r=e.commands.get(i),o=new t(e.locale);return o.set({label:n,icon:s}),o.bind("isOn","isEnabled").to(r,"value","isEnabled"),o.on("execute",(()=>{e.execute(i),e.editing.view.focus()})),o}class rt extends t.Plugin{static get pluginName(){return"ListUI"}init(){const e=this.editor.t;this.editor.ui.componentFactory.has("numberedList")||nt(this.editor,"numberedList",e("Numbered List"),t.icons.numberedList),this.editor.ui.componentFactory.has("bulletedList")||nt(this.editor,"bulletedList",e("Bulleted List"),t.icons.bulletedList)}}class ot extends t.Plugin{static get requires(){return[tt,rt]}static get pluginName(){return"List"}}class lt extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute({startIndex:t=1}={}){const e=this.editor.model,i=e.document;let n=Array.from(i.selection.getSelectedBlocks()).filter((t=>d(t)&&x(t.getAttribute("listType"))));n=b(n),e.change((e=>{for(const i of n)e.setAttribute("listStart",t>=0?t:1,i)}))}_getValue(){const t=this.editor.model.document,e=(0,r.first)(t.selection.getSelectedBlocks());return e&&d(e)&&x(e.getAttribute("listType"))?e.getAttribute("listStart"):null}}const at={},ct={},dt={},ut=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:t,typeAttribute:e,listType:i}of ut)at[t]=i,ct[t]=e,e&&(dt[e]=t);function mt(){return ut.map((t=>t.listStyle))}function pt(t){return at[t]||null}function ht(t){return dt[t]||null}function ft(t){return ct[t]||null}class gt extends t.Command{constructor(t,e,i){super(t),this.defaultType=e,this._supportedTypes=i}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,i=e.document;e.change((e=>{this._tryToConvertItemsToList(t);let n=Array.from(i.selection.getSelectedBlocks()).filter((t=>t.hasAttribute("listType")));if(n.length){n=b(n);for(const i of n)e.setAttribute("listStyle",t.type||this.defaultType,i)}}))}isStyleTypeSupported(t){return!this._supportedTypes||this._supportedTypes.includes(t)}_getValue(){const t=(0,r.first)(this.editor.model.document.selection.getSelectedBlocks());return d(t)?t.getAttribute("listStyle"):null}_checkEnabled(){const t=this.editor,e=t.commands.get("numberedList"),i=t.commands.get("bulletedList");return e.isEnabled||i.isEnabled}_tryToConvertItemsToList(t){if(!t.type)return;const e=pt(t.type);if(!e)return;const i=this.editor,n=`${e}List`;i.commands.get(n).value||i.execute(n)}}class bt extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute(t={}){const e=this.editor.model,i=e.document;let n=Array.from(i.selection.getSelectedBlocks()).filter((t=>d(t)&&"numbered"==t.getAttribute("listType")));n=b(n),e.change((e=>{for(const i of n)e.setAttribute("listReversed",!!t.reversed,i)}))}_getValue(){const t=this.editor.model.document,e=(0,r.first)(t.selection.getSelectedBlocks());return d(e)&&"numbered"==e.getAttribute("listType")?e.getAttribute("listReversed"):null}}function yt(t){return(e,i,n)=>{const{writer:s,schema:r,consumable:o}=n;if(!1===o.test(i.viewItem,t.viewConsumables))return;i.modelRange||Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor));let l=!1;for(const e of i.modelRange.getItems({shallow:!0}))r.checkAttribute(e,t.attributeName)&&t.appliesToListItem(e)&&(e.hasAttribute(t.attributeName)||(s.setAttribute(t.attributeName,t.getAttributeOnUpcast(i.viewItem),e),l=!0));l&&o.consume(i.viewItem,t.viewConsumables)}}class vt extends t.Plugin{static get pluginName(){return"ListPropertiesUtils"}getAllSupportedStyleTypes(){return mt()}getListTypeFromListStyleType(t){return pt(t)}getListStyleTypeFromTypeAttribute(t){return ht(t)}getTypeAttributeFromListStyleType(t){return ft(t)}}function At(t){const{startIndex:e,reversed:i,styles:n}=t;return{styles:wt(n),startIndex:e||!1,reversed:i||!1}}function wt(t){const e={listTypes:["bulleted","numbered"],useAttribute:!1};return!0===t||(t?Array.isArray(t)||"string"==typeof t?e.listTypes=(0,r.toArray)(t):(e.listTypes=t.listTypes?(0,r.toArray)(t.listTypes):e.listTypes,e.useAttribute=!!t.useAttribute):e.listTypes=[]),e}const It="default";class kt extends t.Plugin{static get requires(){return[tt,vt]}static get pluginName(){return"ListPropertiesEditing"}constructor(t){super(t),t.config.define("list.properties",{styles:!0,startIndex:!1,reversed:!1})}init(){const t=this.editor,e=t.model,i=t.plugins.get(tt),n=function(t){const e=[],i=At(t);if(t.styles){const t=i.styles.useAttribute;e.push({attributeName:"listStyle",defaultValue:It,viewConsumables:{styles:"list-style-type"},addCommand(e){let i=mt();t&&(i=i.filter((t=>!!ft(t)))),e.commands.add("listStyle",new gt(e,It,i))},appliesToListItem:t=>"numbered"==t.getAttribute("listType")||"bulleted"==t.getAttribute("listType"),hasValidAttribute(t){if(!this.appliesToListItem(t))return!t.hasAttribute("listStyle");if(!t.hasAttribute("listStyle"))return!1;const e=t.getAttribute("listStyle");return e==It||pt(e)==t.getAttribute("listType")},setAttributeOnDowncast(e,i,n){if(i&&i!==It){if(!t)return void e.setStyle("list-style-type",i,n);{const t=ft(i);if(t)return void e.setAttribute("type",t,n)}}e.removeStyle("list-style-type",n),e.removeAttribute("type",n)},getAttributeOnUpcast(t){const e=t.getStyle("list-style-type");if(e)return e;const i=t.getAttribute("type");return i?ht(i):It}})}t.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,viewConsumables:{attributes:"reversed"},addCommand(t){t.commands.add("listReversed",new bt(t))},appliesToListItem:t=>"numbered"==t.getAttribute("listType"),hasValidAttribute(t){return this.appliesToListItem(t)==t.hasAttribute("listReversed")},setAttributeOnDowncast(t,e,i){e?t.setAttribute("reversed","reversed",i):t.removeAttribute("reversed",i)},getAttributeOnUpcast:t=>t.hasAttribute("reversed")});t.startIndex&&e.push({attributeName:"listStart",defaultValue:1,viewConsumables:{attributes:"start"},addCommand(t){t.commands.add("listStart",new lt(t))},appliesToListItem:t=>x(t.getAttribute("listType")),hasValidAttribute(t){return this.appliesToListItem(t)==t.hasAttribute("listStart")},setAttributeOnDowncast(t,e,i){0==e||e>1?t.setAttribute("start",e,i):t.removeAttribute("start",i)},getAttributeOnUpcast(t){const e=t.getAttribute("start");return e>=0?e:1}});return e}(t.config.get("list.properties"));for(const s of n)s.addCommand(t),e.schema.extend("$listItem",{allowAttributes:s.attributeName}),i.registerDowncastStrategy({scope:"list",attributeName:s.attributeName,setAttributeOnDowncast(t,e,i){s.setAttributeOnDowncast(t,e,i)}});t.conversion.for("upcast").add((t=>{for(const e of n)t.on("element:ol",yt(e)),t.on("element:ul",yt(e))})),i.on("checkAttributes:list",((t,{viewElement:e,modelAttributes:i})=>{for(const s of n)s.getAttributeOnUpcast(e)!=i[s.attributeName]&&(t.return=!0,t.stop())})),this.listenTo(t.commands.get("indentList"),"afterExecute",((t,i)=>{e.change((t=>{for(const e of i)for(const i of n)i.appliesToListItem(e)&&t.setAttribute(i.attributeName,i.defaultValue,e)}))})),i.on("postFixer",((t,{listNodes:e,writer:i})=>{for(const{node:s}of e)for(const e of n)e.hasValidAttribute(s)||(e.appliesToListItem(s)?i.setAttribute(e.attributeName,e.defaultValue,s):i.removeAttribute(e.attributeName,s),t.return=!0)})),i.on("postFixer",((t,{listNodes:e,writer:i})=>{for(const{node:s,previousNodeInList:r}of e)if(r&&r.getAttribute("listType")==s.getAttribute("listType"))for(const e of n){const{attributeName:n}=e;if(!e.appliesToListItem(s))continue;const o=r.getAttribute(n);s.getAttribute(n)!=o&&(i.setAttribute(n,o,s),t.return=!0)}}))}}var Tt=i(266),_t={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(Tt.A,_t);Tt.A.locals;class xt extends it.View{constructor(t,{enabledProperties:e,styleButtonViews:i,styleGridAriaLabel:n}){super(t),this.stylesView=null,this.additionalPropertiesCollapsibleView=null,this.startIndexFieldView=null,this.reversedSwitchButtonView=null,this.focusTracker=new r.FocusTracker,this.keystrokes=new r.KeystrokeHandler,this.focusables=new it.ViewCollection;const s=["ck","ck-list-properties"];this.children=this.createCollection(),this.focusCycler=new it.FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),i&&i.length?(this.stylesView=this._createStylesView(i,n),this.children.add(this.stylesView)):s.push("ck-list-properties_without-styles"),(e.startIndex||e.reversed)&&(this._addNumberedListPropertyViews(e),s.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:s},children:this.children})}render(){if(super.render(),this.stylesView){this.focusables.add(this.stylesView),this.focusTracker.add(this.stylesView.element),(this.startIndexFieldView||this.reversedSwitchButtonView)&&(this.focusables.add(this.children.last.buttonView),this.focusTracker.add(this.children.last.buttonView.element));for(const t of this.stylesView.children)this.stylesView.focusTracker.add(t.element);(0,it.addKeyboardHandlingForGrid)({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>r.global.window.getComputedStyle(this.stylesView.element).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}if(this.startIndexFieldView){this.focusables.add(this.startIndexFieldView),this.focusTracker.add(this.startIndexFieldView.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}this.reversedSwitchButtonView&&(this.focusables.add(this.reversedSwitchButtonView),this.focusTracker.add(this.reversedSwitchButtonView.element)),this.keystrokes.listenTo(this.element)}focus(){this.focusCycler.focusFirst()}focusLast(){this.focusCycler.focusLast()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createStylesView(t,e){const i=new it.View(this.locale);return i.children=i.createCollection(),i.children.addMany(t),i.setTemplate({tag:"div",attributes:{"aria-label":e,class:["ck","ck-list-styles-list"]},children:i.children}),i.children.delegate("execute").to(this),i.focus=function(){this.children.first.focus()},i.focusTracker=new r.FocusTracker,i.keystrokes=new r.KeystrokeHandler,i.render(),i.keystrokes.listenTo(i.element),i}_addNumberedListPropertyViews(t){const e=this.locale.t,i=[];t.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),i.push(this.startIndexFieldView)),t.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),i.push(this.reversedSwitchButtonView)),this.stylesView?(this.additionalPropertiesCollapsibleView=new it.CollapsibleView(this.locale,i),this.additionalPropertiesCollapsibleView.set({label:e("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(i,"isEnabled",((...t)=>t.some((t=>t)))),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",((t,e,i)=>{i||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)})),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(i)}_createStartIndexField(){const t=this.locale.t,e=new it.LabeledFieldView(this.locale,it.createLabeledInputNumber);return e.set({label:t("Start at"),class:"ck-numbered-list-properties__start-index"}),e.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),e.fieldView.on("input",(()=>{const i=e.fieldView.element,n=i.valueAsNumber;Number.isNaN(n)?e.errorText=t("Invalid start index value."):i.checkValidity()?this.fire("listStart",{startIndex:n}):e.errorText=t("Start index must be greater than 0.")})),e}_createReversedSwitchButton(){const t=this.locale.t,e=new it.SwitchButtonView(this.locale);return e.set({withText:!0,label:t("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),e.delegate("execute").to(this,"listReversed"),e}}var Lt=i(263),St={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(Lt.A,St);Lt.A.locals;class Ct extends t.Plugin{static get pluginName(){return"ListPropertiesUI"}init(){const e=this.editor,i=e.locale.t,n=e.config.get("list.properties"),s=At(n),r=s.styles.listTypes;if(r.includes("bulleted")){const n=[{label:i("Toggle the disc list style"),tooltip:i("Disc"),type:"disc",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"/></svg>'},{label:i("Toggle the circle list style"),tooltip:i("Circle"),type:"circle",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/></svg>'},{label:i("Toggle the square list style"),tooltip:i("Square"),type:"square",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M14 27v6H8v-6h6zm0-9v6H8v-6h6zm0-9v6H8V9h6z"/></svg>'}],r=i("Bulleted List"),o=i("Bulleted list styles toolbar"),l="bulletedList";e.ui.componentFactory.add(l,Et({editor:e,normalizedConfig:s,parentCommandName:l,buttonLabel:r,buttonIcon:t.icons.bulletedList,styleGridAriaLabel:o,styleDefinitions:n})),e.ui.componentFactory.add(`menuBar:${l}`,Vt({editor:e,normalizedConfig:s,parentCommandName:l,buttonLabel:r,styleGridAriaLabel:o,styleDefinitions:n}))}if(r.includes("numbered")||n.startIndex||n.reversed){const n=[{label:i("Toggle the decimal list style"),tooltip:i("Decimal"),type:"decimal",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M10.29 15V8.531H9.286c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.343 0v-1.235h-1.235V15h1.235zM11.3 24v-1.147H8.848c.064-.111.148-.226.252-.343.104-.117.351-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.494-.824.104-.263.156-.539.156-.829 0-.51-.182-.936-.545-1.279-.363-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.153-.155.358-.233.616-.233.26 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.468.536-1.024 1.055-.692.641-1.155 1.156-1.389 1.544-.234.389-.375.8-.422 1.233H11.3zm2.333 0v-1.235h-1.235V24h1.235zM9.204 34.11c.615 0 1.129-.2 1.542-.598.413-.398.62-.88.62-1.446 0-.39-.11-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.619-.337.928-.788.928-1.353 0-.399-.151-.756-.453-1.073-.366-.386-.852-.58-1.459-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.668.55c-.16.232-.28.544-.358.933l1.138.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.215 0 .386.065.515.194s.193.302.193.518c0 .255-.087.46-.263.613-.176.154-.43.227-.765.218l-.136 1.006c.22-.061.409-.092.567-.092.24 0 .444.09.61.272.168.182.251.428.251.739 0 .328-.087.589-.261.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.307-.698l-1.196.145c.062.542.285.98.668 1.316.384.335.868.503 1.45.503zm4.43-.11v-1.235h-1.236V34h1.235z"/></svg>'},{label:i("Toggle the decimal with leading zero list style"),tooltip:i("Decimal with leading zero"),type:"decimal-leading-zero",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M5.714 15.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm6.078.914V8.531H10.79c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.344 0v-1.235h-1.235V15h1.235zm-9.422 9.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm7.088.914v-1.147H10.35c.065-.111.149-.226.253-.343.104-.117.35-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.493-.824.104-.263.156-.539.156-.829 0-.51-.181-.936-.544-1.279-.364-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.152-.155.357-.233.615-.233.261 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.467.536-1.024 1.055-.691.641-1.154 1.156-1.388 1.544-.235.389-.375.8-.422 1.233h4.328zm2.334 0v-1.235h-1.235V24h1.235zM5.714 34.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm4.992 1.024c.616 0 1.13-.2 1.543-.598.413-.398.62-.88.62-1.446 0-.39-.111-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.618-.337.927-.788.927-1.353 0-.399-.15-.756-.452-1.073-.366-.386-.853-.58-1.46-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.667.55c-.16.232-.28.544-.359.933l1.139.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.214 0 .386.065.515.194s.193.302.193.518c0 .255-.088.46-.264.613-.175.154-.43.227-.764.218l-.136 1.006c.22-.061.408-.092.566-.092.24 0 .444.09.611.272.167.182.25.428.25.739 0 .328-.086.589-.26.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.308-.698l-1.195.145c.062.542.284.98.668 1.316.384.335.867.503 1.45.503zm4.43-.11v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the lower–roman list style"),tooltip:i("Lower–roman"),type:"lower-roman",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11.88 8.7V7.558h-1.234V8.7h1.234zm0 5.3V9.333h-1.234V14h1.234zm2.5 0v-1.235h-1.234V14h1.235zm-4.75 4.7v-1.142H8.395V18.7H9.63zm0 5.3v-4.667H8.395V24H9.63zm2.5-5.3v-1.142h-1.234V18.7h1.235zm0 5.3v-4.667h-1.234V24h1.235zm2.501 0v-1.235h-1.235V24h1.235zM7.38 28.7v-1.142H6.145V28.7H7.38zm0 5.3v-4.667H6.145V34H7.38zm2.5-5.3v-1.142H8.646V28.7H9.88zm0 5.3v-4.667H8.646V34H9.88zm2.5-5.3v-1.142h-1.234V28.7h1.235zm0 5.3v-4.667h-1.234V34h1.235zm2.501 0v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the upper–roman list style"),tooltip:i("Upper-roman"),type:"upper-roman",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11.916 15V8.558h-1.301V15h1.3zm2.465 0v-1.235h-1.235V15h1.235zM9.665 25v-6.442h-1.3V25h1.3zm2.5 0v-6.442h-1.3V25h1.3zm2.466 0v-1.235h-1.235V25h1.235zm-7.216 9v-6.442h-1.3V34h1.3zm2.5 0v-6.442h-1.3V34h1.3zm2.501 0v-6.442h-1.3V34h1.3zm2.465 0v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the lower–latin list style"),tooltip:i("Lower-latin"),type:"lower-latin",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M9.62 14.105c.272 0 .528-.05.768-.153s.466-.257.677-.462c.009.024.023.072.044.145.047.161.086.283.119.365h1.221a2.649 2.649 0 0 1-.222-.626c-.04-.195-.059-.498-.059-.908l.013-1.441c0-.536-.055-.905-.165-1.105-.11-.201-.3-.367-.569-.497-.27-.13-.68-.195-1.23-.195-.607 0-1.064.108-1.371.325-.308.217-.525.55-.65 1.002l1.12.202c.076-.217.176-.369.299-.455.123-.086.294-.13.514-.13.325 0 .546.05.663.152.118.101.176.27.176.508v.123c-.222.093-.622.194-1.2.303-.427.082-.755.178-.982.288-.227.11-.403.268-.53.474a1.327 1.327 0 0 0-.188.706c0 .398.138.728.415.988.277.261.656.391 1.136.391zm.368-.87a.675.675 0 0 1-.492-.189.606.606 0 0 1-.193-.448c0-.176.08-.32.241-.435.106-.07.33-.142.673-.215a7.19 7.19 0 0 0 .751-.19v.247c0 .296-.016.496-.048.602a.773.773 0 0 1-.295.409 1.07 1.07 0 0 1-.637.22zm4.645.765v-1.235h-1.235V14h1.235zM10.2 25.105c.542 0 1.003-.215 1.382-.646.38-.43.57-1.044.57-1.84 0-.771-.187-1.362-.559-1.774a1.82 1.82 0 0 0-1.41-.617c-.522 0-.973.216-1.354.65v-2.32H7.594V25h1.147v-.686a1.9 1.9 0 0 0 .67.592c.26.133.523.2.79.2zm-.299-.975c-.354 0-.638-.164-.852-.492-.153-.232-.229-.59-.229-1.073 0-.468.098-.818.295-1.048a.93.93 0 0 1 .738-.345c.302 0 .55.118.743.354.193.236.29.62.29 1.154 0 .5-.096.868-.288 1.1-.192.233-.424.35-.697.35zm4.478.87v-1.235h-1.234V25h1.234zm-4.017 9.105c.6 0 1.08-.142 1.437-.426.357-.284.599-.704.725-1.261l-1.213-.207c-.061.326-.167.555-.316.688a.832.832 0 0 1-.576.2.916.916 0 0 1-.75-.343c-.185-.228-.278-.62-.278-1.173 0-.498.091-.853.274-1.066.183-.212.429-.318.736-.318.232 0 .42.061.565.184.145.123.238.306.28.55l1.216-.22c-.146-.501-.387-.874-.722-1.119-.336-.244-.788-.366-1.356-.366-.695 0-1.245.214-1.653.643-.407.43-.61 1.03-.61 1.8 0 .762.202 1.358.608 1.788.406.431.95.646 1.633.646zM14.633 34v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the upper–latin list style"),tooltip:i("Upper-latin"),type:"upper-latin",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="m7.88 15 .532-1.463h2.575L11.549 15h1.415l-2.58-6.442H9.01L6.5 15h1.38zm2.69-2.549H8.811l.87-2.39.887 2.39zM14.88 15v-1.235h-1.234V15h1.234zM9.352 25c.83-.006 1.352-.02 1.569-.044.346-.038.636-.14.872-.305.236-.166.422-.387.558-.664.137-.277.205-.562.205-.855 0-.372-.106-.695-.317-.97-.21-.276-.512-.471-.905-.585a1.51 1.51 0 0 0 .661-.567 1.5 1.5 0 0 0 .244-.83c0-.28-.066-.53-.197-.754a1.654 1.654 0 0 0-.495-.539 1.676 1.676 0 0 0-.672-.266c-.25-.042-.63-.063-1.14-.063H7.158V25h2.193zm.142-3.88H8.46v-1.49h.747c.612 0 .983.007 1.112.022.217.026.38.102.49.226.11.125.165.287.165.486a.68.68 0 0 1-.192.503.86.86 0 0 1-.525.23 11.47 11.47 0 0 1-.944.023h.18zm.17 2.795H8.46v-1.723h1.05c.592 0 .977.03 1.154.092.177.062.313.16.406.295a.84.84 0 0 1 .14.492c0 .228-.06.41-.181.547a.806.806 0 0 1-.473.257c-.126.026-.423.04-.892.04zM14.88 25v-1.235h-1.234V25h1.234zm-5.018 9.11c.691 0 1.262-.17 1.711-.512.45-.341.772-.864.965-1.567l-1.261-.4c-.109.472-.287.818-.536 1.037-.25.22-.547.33-.892.33-.47 0-.85-.173-1.143-.519-.293-.345-.44-.925-.44-1.74 0-.767.15-1.322.447-1.665.297-.343.684-.514 1.162-.514.346 0 .64.096.881.29.242.193.4.457.477.79l1.288-.307c-.147-.516-.367-.911-.66-1.187-.492-.465-1.132-.698-1.92-.698-.902 0-1.63.296-2.184.89-.554.593-.83 1.426-.83 2.498 0 1.014.275 1.813.825 2.397.551.585 1.254.877 2.11.877zM14.88 34v-1.235h-1.234V34h1.234z"/></svg>'}],o=i("Numbered List"),l=i("Numbered list styles toolbar"),a="numberedList";e.ui.componentFactory.add(a,Et({editor:e,normalizedConfig:s,parentCommandName:a,buttonLabel:o,buttonIcon:t.icons.numberedList,styleGridAriaLabel:l,styleDefinitions:n})),r.includes("numbered")&&e.ui.componentFactory.add(`menuBar:${a}`,Vt({editor:e,normalizedConfig:s,parentCommandName:a,buttonLabel:o,styleGridAriaLabel:l,styleDefinitions:n}))}}}function Et({editor:t,normalizedConfig:e,parentCommandName:i,buttonLabel:n,buttonIcon:s,styleGridAriaLabel:r,styleDefinitions:o}){const l=t.commands.get(i);return a=>{const c=(0,it.createDropdown)(a,it.SplitButtonView),d=c.buttonView;return c.bind("isEnabled").to(l),c.class="ck-list-styles-dropdown",d.on("execute",(()=>{t.execute(i),t.editing.view.focus()})),d.set({label:n,icon:s,tooltip:!0,isToggleable:!0}),d.bind("isOn").to(l,"value",(t=>!!t)),c.once("change:isOpen",(()=>{const n=function({editor:t,normalizedConfig:e,dropdownView:i,parentCommandName:n,styleDefinitions:s,styleGridAriaLabel:r}){const o=t.locale,l={...e,..."numberedList"!=n?{startIndex:!1,reversed:!1}:null},a=n.replace("List","");let c=null;if(e.styles.listTypes.includes(a)){const e=t.commands.get("listStyle"),i=Pt({editor:t,parentCommandName:n,listStyleCommand:e}),r=zt(e);c=s.filter(r).map(i)}const d=new xt(o,{styleGridAriaLabel:r,enabledProperties:l,styleButtonViews:c});e.styles.listTypes.includes(a)&&(0,it.focusChildOnDropdownOpen)(i,(()=>d.stylesView.children.find((t=>t.isOn))));if(l.startIndex){const e=t.commands.get("listStart");d.startIndexFieldView.bind("isEnabled").to(e),d.startIndexFieldView.fieldView.bind("value").to(e),d.on("listStart",((e,i)=>t.execute("listStart",i)))}if(l.reversed){const e=t.commands.get("listReversed");d.reversedSwitchButtonView.bind("isEnabled").to(e),d.reversedSwitchButtonView.bind("isOn").to(e,"value",(t=>!!t)),d.on("listReversed",(()=>{const i=e.value;t.execute("listReversed",{reversed:!i})}))}return d.delegate("execute").to(i),d}({editor:t,normalizedConfig:e,dropdownView:c,parentCommandName:i,styleGridAriaLabel:r,styleDefinitions:o});c.panelView.children.add(n)})),c.on("execute",(()=>{t.editing.view.focus()})),c}}function Pt({editor:t,listStyleCommand:e,parentCommandName:i}){const n=t.locale,s=t.commands.get(i);return({label:r,type:o,icon:l,tooltip:a})=>{const c=new it.ButtonView(n);return c.set({label:r,icon:l,tooltip:a}),e.on("change:value",(()=>{c.isOn=e.value===o})),c.on("execute",(()=>{s.value?e.value===o?t.execute(i):e.value!==o&&t.execute("listStyle",{type:o}):t.model.change((()=>{t.execute("listStyle",{type:o})}))})),c}}function Vt({editor:e,normalizedConfig:i,parentCommandName:n,buttonLabel:s,styleGridAriaLabel:r,styleDefinitions:o}){return l=>{const a=new it.MenuBarMenuView(l),c=e.commands.get(n),d=e.commands.get("listStyle"),u=zt(d),m=Pt({editor:e,parentCommandName:n,listStyleCommand:d}),p=o.filter(u).map(m),h=new xt(l,{styleGridAriaLabel:r,enabledProperties:{...i,startIndex:!1,reversed:!1},styleButtonViews:p});return h.delegate("execute").to(a),a.buttonView.set({label:s,icon:t.icons[n]}),a.panelView.children.add(h),a.bind("isEnabled").to(c,"isEnabled"),a.on("execute",(()=>{e.editing.view.focus()})),a}}function zt(t){return"function"==typeof t.isStyleTypeSupported?e=>t.isStyleTypeSupported(e.type):()=>!0}class Nt extends t.Plugin{static get requires(){return[kt,Ct]}static get pluginName(){return"ListProperties"}}var Bt=i(783);class Rt extends t.Command{constructor(t){super(t),this.on("execute",(()=>{this.refresh()}),{priority:"highest"})}refresh(){const t=this._getSelectedItems();this.value=this._getValue(t),this.isEnabled=!!t.length}execute(t={}){this.editor.model.change((e=>{const i=this._getSelectedItems(),n=void 0===t.forceValue?!this._getValue(i):t.forceValue;for(const t of i)n?e.setAttribute("todoListChecked",!0,t):e.removeAttribute("todoListChecked",t)}))}_getValue(t){return t.every((t=>t.getAttribute("todoListChecked")))}_getSelectedItems(){const t=this.editor.model,e=t.schema,i=t.document.selection.getFirstRange(),n=i.start.parent,s=[];e.checkAttribute(n,"todoListChecked")&&s.push(...u(n));for(const t of i.getItems({shallow:!0}))e.checkAttribute(t,"todoListChecked")&&!s.includes(t)&&s.push(...u(t));return s}}class Mt extends Bt.DomEventObserver{constructor(){super(...arguments),this.domEventType=["change"]}onDomEvent(t){if(t.target){const e=this.view.domConverter.mapDomToView(t.target);e&&e.is("element","input")&&"checkbox"==e.getAttribute("type")&&e.findAncestor({classes:"todo-list__label"})&&this.fire("todoCheckboxChange",t)}}}const Ot=(0,r.parseKeystroke)("Ctrl+Enter");class Dt extends t.Plugin{static get pluginName(){return"TodoListEditing"}static get requires(){return[tt]}init(){const t=this.editor,e=t.model,i=t.editing,n=t.plugins.get(tt),s=t.config.get("list.multiBlock")?"paragraph":"listItem";t.commands.add("todoList",new E(t,"todo")),t.commands.add("checkTodoList",new Rt(t)),i.view.addObserver(Mt),e.schema.extend("$listItem",{allowAttributes:"todoListChecked"}),e.schema.addAttributeCheck((t=>{const e=t.last;if(!e.getAttribute("listItemId")||"todo"!=e.getAttribute("listType"))return!1}),"todoListChecked"),t.conversion.for("upcast").add((t=>{t.on("element:input",((t,e,i)=>{const n=e.modelCursor,s=n.parent,r=e.viewItem;if(!i.consumable.test(r,{name:!0}))return;if("checkbox"!=r.getAttribute("type")||!n.isAtStart||!s.hasAttribute("listType"))return;i.consumable.consume(r,{name:!0});const o=i.writer;o.setAttribute("listType","todo",s),e.viewItem.hasAttribute("checked")&&o.setAttribute("todoListChecked",!0,s),e.modelRange=o.createRange(n)})),t.on("element:li",((t,e,i)=>{const{writer:n,schema:s}=i;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter((t=>"todo"===t.getAttribute("listType")&&s.checkAttribute(t,"listItemId"))).reduce(((t,e)=>{const i=e.getAttribute("listItemId");return t.has(i)||t.set(i,u(e)),t}),new Map);for(const[,t]of r.entries())if(t.some((t=>t.getAttribute("todoListChecked"))))for(const e of t)n.setAttribute("todoListChecked",!0,e)}),{priority:"low"}),t.on("element:label",Ft({name:"label",classes:"todo-list__label"})),t.on("element:label",Ft({name:"label",classes:["todo-list__label","todo-list__label_without-description"]})),t.on("element:span",Ft({name:"span",classes:"todo-list__label__description"})),t.on("element:ul",function(t){const e=new Bt.Matcher(t);return(t,i,n)=>{const s=e.match(i.viewItem);if(!s)return;const r=s.match;r.name=!1,n.consumable.consume(i.viewItem,r)}}({name:"ul",classes:"todo-list"}))})),t.conversion.for("downcast").elementToElement({model:s,view:(t,{writer:e})=>{if(Ht(t,n.getListAttributeNames()))return e.createContainerElement("span",{class:"todo-list__label__description"})},converterPriority:"highest"}),n.registerDowncastStrategy({scope:"list",attributeName:"listType",setAttributeOnDowncast(t,e,i){"todo"==e?t.addClass("todo-list",i):t.removeClass("todo-list",i)}}),n.registerDowncastStrategy({scope:"itemMarker",attributeName:"todoListChecked",createElement(t,e,{dataPipeline:i}){if("todo"!=e.getAttribute("listType"))return null;const n=t.createUIElement("input",{type:"checkbox",...e.getAttribute("todoListChecked")?{checked:"checked"}:null,...i?{disabled:"disabled"}:{tabindex:"-1"}});if(i)return n;const s=t.createContainerElement("span",{contenteditable:"false"},n);return s.getFillerOffset=()=>null,s},canWrapElement:t=>Ht(t,n.getListAttributeNames()),createWrapperElement(t,e,{dataPipeline:i}){const s=["todo-list__label"];return Ht(e,n.getListAttributeNames())||s.push("todo-list__label_without-description"),t.createAttributeElement(i?"label":"span",{class:s.join(" ")})}}),n.on("checkElement",((t,{modelElement:e,viewElement:i})=>{const s=Ht(e,n.getListAttributeNames());i.hasClass("todo-list__label__description")!=s&&(t.return=!0,t.stop())})),n.on("checkElement",((e,{modelElement:i,viewElement:n})=>{const s="todo"==i.getAttribute("listType")&&h(i);let r=!1;const o=t.editing.view.createPositionBefore(n).getWalker({direction:"backward"});for(const{item:e}of o){if(e.is("element")&&t.editing.mapper.toModelElement(e))break;e.is("element","input")&&"checkbox"==e.getAttribute("type")&&(r=!0)}r!=s&&(e.return=!0,e.stop())})),n.on("postFixer",((t,{listNodes:e,writer:i})=>{for(const{node:n,previousNodeInList:s}of e){if(!s)continue;if(s.getAttribute("listItemId")!=n.getAttribute("listItemId"))continue;const e=s.hasAttribute("todoListChecked"),r=n.hasAttribute("todoListChecked");r&&!e?(i.removeAttribute("todoListChecked",n),t.return=!0):!r&&e&&(i.setAttribute("todoListChecked",!0,n),t.return=!0)}})),e.document.registerPostFixer((t=>{const i=e.document.differ.getChanges();let n=!1;for(const e of i)if("attribute"==e.type&&"listType"==e.attributeKey){const i=e.range.start.nodeAfter;"todo"==e.attributeOldValue&&i.hasAttribute("todoListChecked")&&(t.removeAttribute("todoListChecked",i),n=!0)}else if("insert"==e.type&&"$text"!=e.name)for(const{item:i}of t.createRangeOn(e.position.nodeAfter))i.is("element")&&"todo"!=i.getAttribute("listType")&&i.hasAttribute("todoListChecked")&&(t.removeAttribute("todoListChecked",i),n=!0);return n})),this.listenTo(i.view.document,"keydown",((e,i)=>{(0,r.getCode)(i)===Ot&&(t.execute("checkTodoList"),e.stop())}),{priority:"high"}),this.listenTo(i.view.document,"todoCheckboxChange",((t,e)=>{const n=e.target;if(!n||!n.is("element","input"))return;const s=i.view.createPositionAfter(n),r=i.mapper.toModelPosition(s).parent;r&&d(r)&&"todo"==r.getAttribute("listType")&&this._handleCheckmarkChange(r)})),this.listenTo(i.view.document,"arrowKey",function(t,e){return(i,n)=>{const s=(0,r.getLocalizedArrowKeyCodeDirection)(n.keyCode,e.contentLanguageDirection),o=t.schema,l=t.document.selection;if(!l.isCollapsed)return;const a=l.getFirstPosition(),c=a.parent;if("right"==s&&a.isAtEnd){const e=o.getNearestSelectionRange(t.createPositionAfter(c),"forward");if(!e)return;const s=e.start.parent;s&&d(s)&&"todo"==s.getAttribute("listType")&&(t.change((t=>t.setSelection(e))),n.preventDefault(),n.stopPropagation(),i.stop())}else if("left"==s&&a.isAtStart&&d(c)&&"todo"==c.getAttribute("listType")){const e=o.getNearestSelectionRange(t.createPositionBefore(c),"backward");if(!e)return;t.change((t=>t.setSelection(e))),n.preventDefault(),n.stopPropagation(),i.stop()}}}(e,t.locale),{context:"$text"}),this.listenTo(i.mapper,"viewToModelPosition",((t,i)=>{const n=i.viewPosition.parent,s=n.is("attributeElement","li")&&0==i.viewPosition.offset,r=jt(n)&&i.viewPosition.offset<=1,o=n.is("element","span")&&"false"==n.getAttribute("contenteditable")&&jt(n.parent);if(!s&&!r&&!o)return;const l=i.modelPosition.nodeAfter;l&&"todo"==l.getAttribute("listType")&&(i.modelPosition=e.createPositionAt(l,0))}),{priority:"low"}),this._initAriaAnnouncements()}_handleCheckmarkChange(t){const e=this.editor,i=e.model,n=Array.from(i.document.selection.getRanges());i.change((i=>{i.setSelection(t,"end"),e.execute("checkTodoList"),i.setSelection(n)}))}_initAriaAnnouncements(){const{model:t,ui:e,t:i}=this.editor;let n=null;e&&t.document.selection.on("change:range",(()=>{const s=t.document.selection.focus.parent,r=Kt(n),o=Kt(s);r&&!o?e.ariaLiveAnnouncer.announce(i("Leaving a to-do list")):!r&&o&&e.ariaLiveAnnouncer.announce(i("Entering a to-do list")),n=s}))}}function Ft(t){const e=new Bt.Matcher(t);return(t,i,n)=>{const s=e.match(i.viewItem);s&&n.consumable.consume(i.viewItem,s.match)&&Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor))}}function Ht(t,e){return(t.is("element","paragraph")||t.is("element","listItem"))&&"todo"==t.getAttribute("listType")&&h(t)&&function(t,e){for(const i of t.getAttributeKeys())if(!i.startsWith("selection:")&&!e.includes(i))return!1;return!0}(t,e)}function jt(t){return!!t&&t.is("attributeElement")&&t.hasClass("todo-list__label")}function Kt(t){return!!t&&(!(!t.is("element","paragraph")&&!t.is("element","listItem"))&&"todo"==t.getAttribute("listType"))}class Ut extends t.Plugin{static get pluginName(){return"TodoListUI"}init(){const e=this.editor.t;nt(this.editor,"todoList",e("To-do List"),t.icons.todoList)}}var $t=i(825),qt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()($t.A,qt);$t.A.locals;class Wt extends t.Plugin{static get requires(){return[Dt,Ut]}static get pluginName(){return"TodoList"}}class Gt extends t.Command{constructor(t,e){super(t),this.type=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,i=e.document,n=Array.from(i.selection.getSelectedBlocks()).filter((t=>Jt(t,e.schema))),s=void 0!==t.forceValue?!t.forceValue:this.value;e.change((t=>{if(s){let e=n[n.length-1].nextSibling,i=Number.POSITIVE_INFINITY,s=[];for(;e&&"listItem"==e.name&&0!==e.getAttribute("listIndent");){const t=e.getAttribute("listIndent");t<i&&(i=t);const n=t-i;s.push({element:e,listIndent:n}),e=e.nextSibling}s=s.reverse();for(const e of s)t.setAttribute("listIndent",e.listIndent,e.element)}if(!s){let t=Number.POSITIVE_INFINITY;for(const e of n)e.is("element","listItem")&&e.getAttribute("listIndent")<t&&(t=e.getAttribute("listIndent"));t=0===t?1:t,Yt(n,!0,t),Yt(n,!1,t)}for(const e of n.reverse())s&&"listItem"==e.name?t.rename(e,"paragraph"):s||"listItem"==e.name?s||"listItem"!=e.name||e.getAttribute("listType")==this.type||t.setAttribute("listType",this.type,e):(t.setAttributes({listType:this.type,listIndent:0},e),t.rename(e,"listItem"));this.fire("_executeCleanup",n)}))}_getValue(){const t=(0,r.first)(this.editor.model.document.selection.getSelectedBlocks());return!!t&&t.is("element","listItem")&&t.getAttribute("listType")==this.type}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,i=(0,r.first)(t.getSelectedBlocks());return!!i&&Jt(i,e)}}function Yt(t,e,i){const n=e?t[0]:t[t.length-1];if(n.is("element","listItem")){let s=n[e?"previousSibling":"nextSibling"],r=n.getAttribute("listIndent");for(;s&&s.is("element","listItem")&&s.getAttribute("listIndent")>=i;)r>s.getAttribute("listIndent")&&(r=s.getAttribute("listIndent")),s.getAttribute("listIndent")==r&&t[e?"unshift":"push"](s),s=s[e?"previousSibling":"nextSibling"]}}function Jt(t,e){return e.checkChild(t.parent,"listItem")&&!e.isObject(t)}class Qt extends t.Command{constructor(t,e){super(t),this._indentBy="forward"==e?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=t.document;let i=Array.from(e.selection.getSelectedBlocks());t.change((t=>{const e=i[i.length-1];let n=e.nextSibling;for(;n&&"listItem"==n.name&&n.getAttribute("listIndent")>e.getAttribute("listIndent");)i.push(n),n=n.nextSibling;this._indentBy<0&&(i=i.reverse());for(const e of i){const i=e.getAttribute("listIndent")+this._indentBy;i<0?t.rename(e,"paragraph"):t.setAttribute("listIndent",i,e)}this.fire("_executeCleanup",i)}))}_checkEnabled(){const t=(0,r.first)(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is("element","listItem"))return!1;if(this._indentBy>0){const e=t.getAttribute("listIndent"),i=t.getAttribute("listType");let n=t.previousSibling;for(;n&&n.is("element","listItem")&&n.getAttribute("listIndent")>=e;){if(n.getAttribute("listIndent")==e)return n.getAttribute("listType")==i;n=n.previousSibling}return!1}return!0}}function Xt(t,e){const i=e.mapper,n=e.writer,s="numbered"==t.getAttribute("listType")?"ol":"ul",r=function(t){const e=t.createContainerElement("li");return e.getFillerOffset=ce,e}(n),o=n.createContainerElement(s,null);return n.insert(n.createPositionAt(o,0),r),i.bindElements(t,r),r}function Zt(t,e,i,n){const s=e.parent,r=i.mapper,o=i.writer;let l=r.toViewPosition(n.createPositionBefore(t));const a=ie(t.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:t.getAttribute("listIndent")}),c=t.previousSibling;if(a&&a.getAttribute("listIndent")==t.getAttribute("listIndent")){const t=r.toViewElement(a);l=o.breakContainer(o.createPositionAfter(t))}else if(c&&"listItem"==c.name){l=r.toViewPosition(n.createPositionAt(c,"end"));const t=r.findMappedViewAncestor(l),e=ne(t);l=e?o.createPositionBefore(e):o.createPositionAt(t,"end")}else l=r.toViewPosition(n.createPositionBefore(t));if(l=ee(l),o.insert(l,s),c&&"listItem"==c.name){const t=r.toViewElement(c),i=o.createRange(o.createPositionAt(t,0),l).getWalker({ignoreElementEnd:!0});for(const t of i)if(t.item.is("element","li")){const n=o.breakContainer(o.createPositionBefore(t.item)),s=t.item.parent,r=o.createPositionAt(e,"end");te(o,r.nodeBefore,r.nodeAfter),o.move(o.createRangeOn(s),r),i._position=n}}else{const i=s.nextSibling;if(i&&(i.is("element","ul")||i.is("element","ol"))){let n=null;for(const e of i.getChildren()){const i=r.toModelElement(e);if(!(i&&i.getAttribute("listIndent")>t.getAttribute("listIndent")))break;n=e}n&&(o.breakContainer(o.createPositionAfter(n)),o.move(o.createRangeOn(n.parent),o.createPositionAt(e,"end")))}}te(o,s,s.nextSibling),te(o,s.previousSibling,s)}function te(t,e,i){return!e||!i||"ul"!=e.name&&"ol"!=e.name||e.name!=i.name||e.getAttribute("class")!==i.getAttribute("class")?null:t.mergeContainers(t.createPositionAfter(e))}function ee(t){return t.getLastMatchingPosition((t=>t.item.is("uiElement")))}function ie(t,e){const i=!!e.sameIndent,n=!!e.smallerIndent,s=e.listIndent;let r=t;for(;r&&"listItem"==r.name;){const t=r.getAttribute("listIndent");if(i&&s==t||n&&s>t)return r;r="forward"===e.direction?r.nextSibling:r.previousSibling}return null}function ne(t){for(const e of t.getChildren())if("ul"==e.name||"ol"==e.name)return e;return null}function se(t,e){const i=[],n=t.parent,s={ignoreElementEnd:!1,startPosition:t,shallow:!0,direction:e},r=n.getAttribute("listIndent"),o=[...new Bt.TreeWalker(s)].filter((t=>t.item.is("element"))).map((t=>t.item));for(const t of o){if(!t.is("element","listItem"))break;if(t.getAttribute("listIndent")<r)break;if(!(t.getAttribute("listIndent")>r)){if(t.getAttribute("listType")!==n.getAttribute("listType"))break;if(t.getAttribute("listStyle")!==n.getAttribute("listStyle"))break;if(t.getAttribute("listReversed")!==n.getAttribute("listReversed"))break;if(t.getAttribute("listStart")!==n.getAttribute("listStart"))break;"backward"===e?i.unshift(t):i.push(t)}}return i}function re(t){let e=[...t.document.selection.getSelectedBlocks()].filter((t=>t.is("element","listItem"))).map((e=>{const i=t.change((t=>t.createPositionAt(e,0)));return[...se(i,"backward"),...se(i,"forward")]})).flat();return e=[...new Set(e)],e}const oe=["disc","circle","square"],le=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function ae(t){return oe.includes(t)?"bulleted":le.includes(t)?"numbered":null}function ce(){const t=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||t?0:Bt.getFillerOffset.call(this)}class de extends t.Plugin{static get pluginName(){return"LegacyListUtils"}getListTypeFromListStyleType(t){return ae(t)}getSelectedListItems(t){return re(t)}getSiblingNodes(t,e){return se(t,e)}}function ue(t){return(e,i,n)=>{const s=n.consumable;if(!s.test(i.item,"insert")||!s.test(i.item,"attribute:listType")||!s.test(i.item,"attribute:listIndent"))return;s.consume(i.item,"insert"),s.consume(i.item,"attribute:listType"),s.consume(i.item,"attribute:listIndent");const r=i.item;Zt(r,Xt(r,n),n,t)}}const me=(t,e,i)=>{if(!i.consumable.test(e.item,t.name))return;const n=i.mapper.toViewElement(e.item),s=i.writer;s.breakContainer(s.createPositionBefore(n)),s.breakContainer(s.createPositionAfter(n));const r=n.parent,o="numbered"==e.attributeNewValue?"ol":"ul";s.rename(o,r)},pe=(t,e,i)=>{i.consumable.consume(e.item,t.name);const n=i.mapper.toViewElement(e.item).parent,s=i.writer;te(s,n,n.nextSibling),te(s,n.previousSibling,n)};const he=(t,e,i)=>{if(i.consumable.test(e.item,t.name)&&"listItem"!=e.item.name){let t=i.mapper.toViewPosition(e.range.start);const n=i.writer,s=[];for(;("ul"==t.parent.name||"ol"==t.parent.name)&&(t=n.breakContainer(t),"li"==t.parent.name);){const e=t,i=n.createPositionAt(t.parent,"end");if(!e.isEqual(i)){const t=n.remove(n.createRange(e,i));s.push(t)}t=n.createPositionAfter(t.parent)}if(s.length>0){for(let e=0;e<s.length;e++){const i=t.nodeBefore;if(t=n.insert(t,s[e]).end,e>0){const e=te(n,i,i.nextSibling);e&&e.parent==i&&t.offset--}}te(n,t.nodeBefore,t.nodeAfter)}}},fe=(t,e,i)=>{const n=i.mapper.toViewPosition(e.position),s=n.nodeBefore,r=n.nodeAfter;te(i.writer,s,r)},ge=(t,e,i)=>{if(i.consumable.consume(e.viewItem,{name:!0})){const t=i.writer,n=t.createElement("listItem"),s=function(t){let e=0,i=t.parent;for(;i;){if(i.is("element","li"))e++;else{const t=i.previousSibling;t&&t.is("element","li")&&e++}i=i.parent}return e}(e.viewItem);t.setAttribute("listIndent",s,n);const r=e.viewItem.parent&&"ol"==e.viewItem.parent.name?"numbered":"bulleted";if(t.setAttribute("listType",r,n),!i.safeInsert(n,e.modelCursor))return;const o=function(t,e,i){const{writer:n,schema:s}=i;let r=n.createPositionAfter(t);for(const o of e)if("ul"==o.name||"ol"==o.name)r=i.convertItem(o,r).modelCursor;else{const e=i.convertItem(o,n.createPositionAt(t,"end")),l=e.modelRange.start.nodeAfter;l&&l.is("element")&&!s.checkChild(t,l.name)&&(t=e.modelCursor.parent.is("element","listItem")?e.modelCursor.parent:we(e.modelCursor),r=n.createPositionAfter(t))}return r}(n,e.viewItem.getChildren(),i);e.modelRange=t.createRange(e.modelCursor,o),i.updateConversionResult(n,e)}},be=(t,e,i)=>{if(i.consumable.test(e.viewItem,{name:!0})){const t=Array.from(e.viewItem.getChildren());for(const e of t){!(e.is("element","li")||ke(e))&&e._remove()}}},ye=(t,e,i)=>{if(i.consumable.test(e.viewItem,{name:!0})){if(0===e.viewItem.childCount)return;const t=[...e.viewItem.getChildren()];let i=!1;for(const e of t)i&&!ke(e)&&e._remove(),ke(e)&&(i=!0)}};function ve(t){return(e,i)=>{if(i.isPhantom)return;const n=i.modelPosition.nodeBefore;if(n&&n.is("element","listItem")){const e=i.mapper.toViewElement(n),s=e.getAncestors().find(ke),r=t.createPositionAt(e,0).getWalker();for(const t of r){if("elementStart"==t.type&&t.item.is("element","li")){i.viewPosition=t.previousPosition;break}if("elementEnd"==t.type&&t.item==s){i.viewPosition=t.nextPosition;break}}}}}const Ae=function(t,[e,i]){const n=this;let s,r=e.is("documentFragment")?e.getChild(0):e;if(s=i?n.createSelection(i):n.document.selection,r&&r.is("element","listItem")){const t=s.getFirstPosition();let e=null;if(t.parent.is("element","listItem")?e=t.parent:t.nodeBefore&&t.nodeBefore.is("element","listItem")&&(e=t.nodeBefore),e){const t=e.getAttribute("listIndent");if(t>0)for(;r&&r.is("element","listItem");)r._setAttribute("listIndent",r.getAttribute("listIndent")+t),r=r.nextSibling}}};function we(t){const e=new Bt.TreeWalker({startPosition:t});let i;do{i=e.next()}while(!i.value.item.is("element","listItem"));return i.value.item}function Ie(t,e,i,n,s,r){const o=ie(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:t}),l=s.mapper,a=s.writer,c=o?o.getAttribute("listIndent"):null;let d;if(o)if(c==t){const t=l.toViewElement(o).parent;d=a.createPositionAfter(t)}else{const t=r.createPositionAt(o,"end");d=l.toViewPosition(t)}else d=i;d=ee(d);for(const t of[...n.getChildren()])ke(t)&&(d=a.move(a.createRangeOn(t),d).end,te(a,t,t.nextSibling),te(a,t.previousSibling,t))}function ke(t){return t.is("element","ol")||t.is("element","ul")}class Te extends t.Plugin{static get pluginName(){return"LegacyListEditing"}static get requires(){return[s.Enter,e.Delete,de]}init(){const t=this.editor;t.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const e=t.data,i=t.editing;var n;t.model.document.registerPostFixer((e=>function(t,e){const i=t.document.differ.getChanges(),n=new Map;let s=!1;for(const n of i)if("insert"==n.type&&"listItem"==n.name)r(n.position);else if("insert"==n.type&&"listItem"!=n.name){if("$text"!=n.name){const i=n.position.nodeAfter;i.hasAttribute("listIndent")&&(e.removeAttribute("listIndent",i),s=!0),i.hasAttribute("listType")&&(e.removeAttribute("listType",i),s=!0),i.hasAttribute("listStyle")&&(e.removeAttribute("listStyle",i),s=!0),i.hasAttribute("listReversed")&&(e.removeAttribute("listReversed",i),s=!0),i.hasAttribute("listStart")&&(e.removeAttribute("listStart",i),s=!0);for(const e of Array.from(t.createRangeIn(i)).filter((t=>t.item.is("element","listItem"))))r(e.previousPosition)}r(n.position.getShiftedBy(n.length))}else"remove"==n.type&&"listItem"==n.name?r(n.position):("attribute"==n.type&&"listIndent"==n.attributeKey||"attribute"==n.type&&"listType"==n.attributeKey)&&r(n.range.start);for(const t of n.values())o(t),l(t);return s;function r(t){const e=t.nodeBefore;if(e&&e.is("element","listItem")){let t=e;if(n.has(t))return;for(let e=t.previousSibling;e&&e.is("element","listItem");e=t.previousSibling)if(t=e,n.has(t))return;n.set(e,t)}else{const e=t.nodeAfter;e&&e.is("element","listItem")&&n.set(e,e)}}function o(t){let i=0,n=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(r>i){let o;null===n?(n=r-i,o=i):(n>r&&(n=r),o=r-n),e.setAttribute("listIndent",o,t),s=!0}else n=null,i=t.getAttribute("listIndent")+1;t=t.nextSibling}}function l(t){let i=[],n=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(n&&n.getAttribute("listIndent")>r&&(i=i.slice(0,r+1)),0!=r)if(i[r]){const n=i[r];t.getAttribute("listType")!=n&&(e.setAttribute("listType",n,t),s=!0)}else i[r]=t.getAttribute("listType");n=t,t=t.nextSibling}}}(t.model,e))),i.mapper.registerViewToModelLength("li",_e),e.mapper.registerViewToModelLength("li",_e),i.mapper.on("modelToViewPosition",ve(i.view)),i.mapper.on("viewToModelPosition",(n=t.model,(t,e)=>{const i=e.viewPosition,s=i.parent,r=e.mapper;if("ul"==s.name||"ol"==s.name){if(i.isAtEnd){const t=r.toModelElement(i.nodeBefore),s=r.getModelLength(i.nodeBefore);e.modelPosition=n.createPositionBefore(t).getShiftedBy(s)}else{const t=r.toModelElement(i.nodeAfter);e.modelPosition=n.createPositionBefore(t)}t.stop()}else if("li"==s.name&&i.nodeBefore&&("ul"==i.nodeBefore.name||"ol"==i.nodeBefore.name)){const o=r.toModelElement(s);let l=1,a=i.nodeBefore;for(;a&&ke(a);)l+=r.getModelLength(a),a=a.previousSibling;e.modelPosition=n.createPositionBefore(o).getShiftedBy(l),t.stop()}})),e.mapper.on("modelToViewPosition",ve(i.view)),t.conversion.for("editingDowncast").add((e=>{e.on("insert",he,{priority:"high"}),e.on("insert:listItem",ue(t.model)),e.on("attribute:listType:listItem",me,{priority:"high"}),e.on("attribute:listType:listItem",pe,{priority:"low"}),e.on("attribute:listIndent:listItem",function(t){return(e,i,n)=>{if(!n.consumable.consume(i.item,"attribute:listIndent"))return;const s=n.mapper.toViewElement(i.item),r=n.writer;r.breakContainer(r.createPositionBefore(s)),r.breakContainer(r.createPositionAfter(s));const o=s.parent,l=o.previousSibling,a=r.createRangeOn(o);r.remove(a),l&&l.nextSibling&&te(r,l,l.nextSibling),Ie(i.attributeOldValue+1,i.range.start,a.start,s,n,t),Zt(i.item,s,n,t);for(const t of i.item.getChildren())n.consumable.consume(t,"insert")}}(t.model)),e.on("remove:listItem",function(t){return(e,i,n)=>{const s=n.mapper.toViewPosition(i.position).getLastMatchingPosition((t=>!t.item.is("element","li"))).nodeAfter,r=n.writer;r.breakContainer(r.createPositionBefore(s)),r.breakContainer(r.createPositionAfter(s));const o=s.parent,l=o.previousSibling,a=r.createRangeOn(o),c=r.remove(a);l&&l.nextSibling&&te(r,l,l.nextSibling),Ie(n.mapper.toModelElement(s).getAttribute("listIndent")+1,i.position,a.start,s,n,t);for(const t of r.createRangeIn(c).getItems())n.mapper.unbindViewElement(t);e.stop()}}(t.model)),e.on("remove",fe,{priority:"low"})})),t.conversion.for("dataDowncast").add((e=>{e.on("insert",he,{priority:"high"}),e.on("insert:listItem",ue(t.model))})),t.conversion.for("upcast").add((t=>{t.on("element:ul",be,{priority:"high"}),t.on("element:ol",be,{priority:"high"}),t.on("element:li",ye,{priority:"high"}),t.on("element:li",ge)})),t.model.on("insertContent",Ae,{priority:"high"}),t.commands.add("numberedList",new Gt(t,"numbered")),t.commands.add("bulletedList",new Gt(t,"bulleted")),t.commands.add("indentList",new Qt(t,"forward")),t.commands.add("outdentList",new Qt(t,"backward"));const s=i.view.document;this.listenTo(s,"enter",((t,e)=>{const i=this.editor.model.document,n=i.selection.getLastPosition().parent;i.selection.isCollapsed&&"listItem"==n.name&&n.isEmpty&&(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(s,"delete",((t,e)=>{if("backward"!==e.direction)return;const i=this.editor.model.document.selection;if(!i.isCollapsed)return;const n=i.getFirstPosition();if(!n.isAtStart)return;const s=n.parent;if("listItem"!==s.name)return;s.previousSibling&&"listItem"===s.previousSibling.name||(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(t.editing.view.document,"tab",((e,i)=>{const n=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(n).isEnabled&&(t.execute(n),i.stopPropagation(),i.preventDefault(),e.stop())}),{context:"li"})}afterInit(){const t=this.editor.commands,e=t.get("indent"),i=t.get("outdent");e&&e.registerChildCommand(t.get("indentList")),i&&i.registerChildCommand(t.get("outdentList"))}}function _e(t){let e=1;for(const i of t.getChildren())if("ul"==i.name||"ol"==i.name)for(const t of i.getChildren())e+=_e(t);return e}class xe extends t.Plugin{static get requires(){return[Te,rt]}static get pluginName(){return"LegacyList"}}class Le extends t.Command{constructor(t,e){super(t),this.defaultType=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){this._tryToConvertItemsToList(t);const e=this.editor.model,i=re(e);i.length&&e.change((e=>{for(const n of i)e.setAttribute("listStyle",t.type||this.defaultType,n)}))}_getValue(){const t=this.editor.model.document.selection.getFirstPosition().parent;return t&&t.is("element","listItem")?t.getAttribute("listStyle"):null}_checkEnabled(){const t=this.editor,e=t.commands.get("numberedList"),i=t.commands.get("bulletedList");return e.isEnabled||i.isEnabled}_tryToConvertItemsToList(t){if(!t.type)return;const e=ae(t.type);if(!e)return;const i=this.editor,n=`${e}List`;i.commands.get(n).value||i.execute(n)}}class Se extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute(t={}){const e=this.editor.model,i=re(e).filter((t=>"numbered"==t.getAttribute("listType")));e.change((e=>{for(const n of i)e.setAttribute("listReversed",!!t.reversed,n)}))}_getValue(){const t=this.editor.model.document.selection.getFirstPosition().parent;return t&&t.is("element","listItem")&&"numbered"==t.getAttribute("listType")?t.getAttribute("listReversed"):null}}class Ce extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute({startIndex:t=1}={}){const e=this.editor.model,i=re(e).filter((t=>"numbered"==t.getAttribute("listType")));e.change((e=>{for(const n of i)e.setAttribute("listStart",t>=0?t:1,n)}))}_getValue(){const t=this.editor.model.document.selection.getFirstPosition().parent;return t&&t.is("element","listItem")&&"numbered"==t.getAttribute("listType")?t.getAttribute("listStart"):null}}const Ee="default";class Pe extends t.Plugin{static get requires(){return[Te]}static get pluginName(){return"LegacyListPropertiesEditing"}constructor(t){super(t),t.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const t=this.editor,e=t.model,i=function(t){const e=[];t.styles&&e.push({attributeName:"listStyle",defaultValue:Ee,addCommand(t){t.commands.add("listStyle",new Le(t,Ee))},appliesToListItem:()=>!0,setAttributeOnDowncast(t,e,i){e&&e!==Ee?t.setStyle("list-style-type",e,i):t.removeStyle("list-style-type",i)},getAttributeOnUpcast:t=>t.getStyle("list-style-type")||Ee});t.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,addCommand(t){t.commands.add("listReversed",new Se(t))},appliesToListItem:t=>"numbered"==t.getAttribute("listType"),setAttributeOnDowncast(t,e,i){e?t.setAttribute("reversed","reversed",i):t.removeAttribute("reversed",i)},getAttributeOnUpcast:t=>t.hasAttribute("reversed")});t.startIndex&&e.push({attributeName:"listStart",defaultValue:1,addCommand(t){t.commands.add("listStart",new Ce(t))},appliesToListItem:t=>"numbered"==t.getAttribute("listType"),setAttributeOnDowncast(t,e,i){0==e||e>1?t.setAttribute("start",e,i):t.removeAttribute("start",i)},getAttributeOnUpcast(t){const e=t.getAttribute("start");return e>=0?e:1}});return e}(t.config.get("list.properties"));e.schema.extend("listItem",{allowAttributes:i.map((t=>t.attributeName))});for(const e of i)e.addCommand(t);var n;this.listenTo(t.commands.get("indentList"),"_executeCleanup",function(t,e){return(i,n)=>{const s=n[0],r=s.getAttribute("listIndent"),o=n.filter((t=>t.getAttribute("listIndent")===r));let l=null;s.previousSibling.getAttribute("listIndent")+1!==r&&(l=ie(s.previousSibling,{sameIndent:!0,direction:"backward",listIndent:r})),t.model.change((t=>{for(const i of o)for(const n of e)if(n.appliesToListItem(i)){const e=null==l?n.defaultValue:l.getAttribute(n.attributeName);t.setAttribute(n.attributeName,e,i)}}))}}(t,i)),this.listenTo(t.commands.get("outdentList"),"_executeCleanup",function(t,e){return(i,n)=>{if(!(n=n.reverse().filter((t=>t.is("element","listItem")))).length)return;const s=n[0].getAttribute("listIndent"),r=n[0].getAttribute("listType");let o=n[0].previousSibling;if(o.is("element","listItem"))for(;o.getAttribute("listIndent")!==s;)o=o.previousSibling;else o=null;o||(o=n[n.length-1].nextSibling),o&&o.is("element","listItem")&&o.getAttribute("listType")===r&&t.model.change((t=>{const i=n.filter((t=>t.getAttribute("listIndent")===s));for(const n of i)for(const i of e)if(i.appliesToListItem(n)){const e=i.attributeName,s=o.getAttribute(e);t.setAttribute(e,s,n)}}))}}(t,i)),this.listenTo(t.commands.get("bulletedList"),"_executeCleanup",Ne(t)),this.listenTo(t.commands.get("numberedList"),"_executeCleanup",Ne(t)),e.document.registerPostFixer(function(t,e){return i=>{let n=!1;const s=Be(t.model.document.differ.getChanges()).filter((t=>"todo"!==t.getAttribute("listType")));if(!s.length)return n;let r=s[s.length-1].nextSibling;if((!r||!r.is("element","listItem"))&&(r=s[0].previousSibling,r)){const t=s[0].getAttribute("listIndent");for(;r.is("element","listItem")&&r.getAttribute("listIndent")!==t&&(r=r.previousSibling,r););}for(const t of e){const e=t.attributeName;for(const o of s)if(t.appliesToListItem(o))if(o.hasAttribute(e)){const s=o.previousSibling;ze(s,o,t.attributeName)&&(i.setAttribute(e,s.getAttribute(e),o),n=!0)}else Ve(r,o,t)?i.setAttribute(e,r.getAttribute(e),o):i.setAttribute(e,t.defaultValue,o),n=!0;else i.removeAttribute(e,o)}return n}}(t,i)),t.conversion.for("upcast").add((n=i,t=>{t.on("element:li",((t,e,i)=>{if(!e.modelRange)return;const s=e.viewItem.parent,r=e.modelRange.start.nodeAfter||e.modelRange.end.nodeBefore;for(const t of n)if(t.appliesToListItem(r)){const e=t.getAttributeOnUpcast(s);i.writer.setAttribute(t.attributeName,e,r)}}),{priority:"low"})})),t.conversion.for("downcast").add(function(t){return i=>{for(const n of t)i.on(`attribute:${n.attributeName}:listItem`,((t,i,s)=>{const r=s.writer,o=i.item,l=ie(o.previousSibling,{sameIndent:!0,listIndent:o.getAttribute("listIndent"),direction:"backward"}),a=s.mapper.toViewElement(o);e(o,l)||r.breakContainer(r.createPositionBefore(a)),n.setAttributeOnDowncast(r,i.attributeNewValue,a.parent)}),{priority:"low"})};function e(t,e){return e&&t.getAttribute("listType")===e.getAttribute("listType")&&t.getAttribute("listIndent")===e.getAttribute("listIndent")&&t.getAttribute("listStyle")===e.getAttribute("listStyle")&&t.getAttribute("listReversed")===e.getAttribute("listReversed")&&t.getAttribute("listStart")===e.getAttribute("listStart")}}(i)),this._mergeListAttributesWhileMergingLists(i)}afterInit(){const t=this.editor;t.commands.get("todoList")&&t.model.document.registerPostFixer(function(t){return e=>{const i=Be(t.model.document.differ.getChanges()).filter((t=>"todo"===t.getAttribute("listType")&&(t.hasAttribute("listStyle")||t.hasAttribute("listReversed")||t.hasAttribute("listStart"))));if(!i.length)return!1;for(const t of i)e.removeAttribute("listStyle",t),e.removeAttribute("listReversed",t),e.removeAttribute("listStart",t);return!0}}(t))}_mergeListAttributesWhileMergingLists(t){const e=this.editor.model;let i;this.listenTo(e,"deleteContent",((t,[e])=>{const n=e.getFirstPosition(),s=e.getLastPosition();if(n.parent===s.parent)return;if(!n.parent.is("element","listItem"))return;const r=s.parent.nextSibling;if(!r||!r.is("element","listItem"))return;const o=ie(n.parent,{sameIndent:!0,listIndent:r.getAttribute("listIndent")});o&&o.getAttribute("listType")===r.getAttribute("listType")&&(i=o)}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{i&&(e.change((e=>{const n=ie(i.nextSibling,{sameIndent:!0,listIndent:i.getAttribute("listIndent"),direction:"forward"});if(!n)return void(i=null);const s=[n,...se(e.createPositionAt(n,0),"forward")];for(const n of s)for(const s of t)if(s.appliesToListItem(n)){const t=s.attributeName,r=i.getAttribute(t);e.setAttribute(t,r,n)}})),i=null)}),{priority:"low"})}}function Ve(t,e,i){if(!t)return!1;const n=t.getAttribute(i.attributeName);return!!n&&(n!=i.defaultValue&&t.getAttribute("listType")===e.getAttribute("listType"))}function ze(t,e,i){if(!t||!t.is("element","listItem"))return!1;if(e.getAttribute("listType")!==t.getAttribute("listType"))return!1;const n=t.getAttribute("listIndent");if(n<1||n!==e.getAttribute("listIndent"))return!1;const s=t.getAttribute(i);return!(!s||s===e.getAttribute(i))}function Ne(t){return(e,i)=>{i=i.filter((t=>t.is("element","listItem"))),t.model.change((t=>{for(const e of i)t.removeAttribute("listStyle",e)}))}}function Be(t){const e=[];for(const i of t){const t=Re(i);t&&t.is("element","listItem")&&e.push(t)}return e}function Re(t){return"attribute"===t.type?t.range.start.nodeAfter:"insert"===t.type?t.position.nodeAfter:null}class Me extends t.Plugin{static get requires(){return[Pe,Ct]}static get pluginName(){return"LegacyListProperties"}}const Oe="todoListChecked";class De extends t.Command{constructor(t){super(t),this._selectedElements=[],this.on("execute",(()=>{this.refresh()}),{priority:"highest"})}refresh(){this._selectedElements=this._getSelectedItems(),this.value=this._selectedElements.every((t=>!!t.getAttribute(Oe))),this.isEnabled=!!this._selectedElements.length}_getSelectedItems(){const t=this.editor.model,e=t.schema,i=t.document.selection.getFirstRange(),n=i.start.parent,s=[];e.checkAttribute(n,Oe)&&s.push(n);for(const t of i.getItems())e.checkAttribute(t,Oe)&&!s.includes(t)&&s.push(t);return s}execute(t={}){this.editor.model.change((e=>{for(const i of this._selectedElements){(void 0===t.forceValue?!this.value:t.forceValue)?e.setAttribute(Oe,!0,i):e.removeAttribute(Oe,i)}}))}}const Fe=(t,e,i)=>{const n=e.modelCursor,s=n.parent,r=e.viewItem;if("checkbox"!=r.getAttribute("type")||"listItem"!=s.name||!n.isAtStart)return;if(!i.consumable.consume(r,{name:!0}))return;const o=i.writer;o.setAttribute("listType","todo",s),e.viewItem.hasAttribute("checked")&&o.setAttribute("todoListChecked",!0,s),e.modelRange=o.createRange(n)};function He(t){return(e,i)=>{const n=i.modelPosition,s=n.parent;if(!s.is("element","listItem")||"todo"!=s.getAttribute("listType"))return;const r=Ke(i.mapper.toViewElement(s),t);r&&(i.viewPosition=i.mapper.findPositionIn(r,n.offset))}}function je(t,e,i,n){return e.createUIElement("label",{class:"todo-list__label",contenteditable:!1},(function(e){const s=(0,r.createElement)(document,"input",{type:"checkbox",tabindex:"-1"});i&&s.setAttribute("checked","checked"),s.addEventListener("change",(()=>n(t)));const o=this.toDomElement(e);return o.appendChild(s),o}))}function Ke(t,e){const i=e.createRangeIn(t);for(const t of i)if(t.item.is("containerElement","span")&&t.item.hasClass("todo-list__label__description"))return t.item}const Ue=(0,r.parseKeystroke)("Ctrl+Enter");class $e extends t.Plugin{static get pluginName(){return"LegacyTodoListEditing"}static get requires(){return[Te]}init(){const t=this.editor,{editing:e,data:i,model:n}=t;n.schema.extend("listItem",{allowAttributes:["todoListChecked"]}),n.schema.addAttributeCheck(((t,e)=>{const i=t.last;if("todoListChecked"==e&&"listItem"==i.name&&"todo"!=i.getAttribute("listType"))return!1})),t.commands.add("todoList",new Gt(t,"todo"));const s=new De(t);var o,l;t.commands.add("checkTodoList",s),t.commands.add("todoListCheck",s),i.downcastDispatcher.on("insert:listItem",function(t){return(e,i,n)=>{const s=n.consumable;if(!s.test(i.item,"insert")||!s.test(i.item,"attribute:listType")||!s.test(i.item,"attribute:listIndent"))return;if("todo"!=i.item.getAttribute("listType"))return;const r=i.item;s.consume(r,"insert"),s.consume(r,"attribute:listType"),s.consume(r,"attribute:listIndent"),s.consume(r,"attribute:todoListChecked");const o=n.writer,l=Xt(r,n);o.addClass("todo-list",l.parent);const a=o.createContainerElement("label",{class:"todo-list__label"}),c=o.createEmptyElement("input",{type:"checkbox",disabled:"disabled"}),d=o.createContainerElement("span",{class:"todo-list__label__description"});r.getAttribute("todoListChecked")&&o.setAttribute("checked","checked",c),o.insert(o.createPositionAt(l,0),a),o.insert(o.createPositionAt(a,0),c),o.insert(o.createPositionAfter(c),d),Zt(r,l,n,t)}}(n),{priority:"high"}),i.upcastDispatcher.on("element:input",Fe,{priority:"high"}),e.downcastDispatcher.on("insert:listItem",function(t,e){return(i,n,s)=>{const r=s.consumable;if(!r.test(n.item,"insert")||!r.test(n.item,"attribute:listType")||!r.test(n.item,"attribute:listIndent"))return;if("todo"!=n.item.getAttribute("listType"))return;const o=n.item;r.consume(o,"insert"),r.consume(o,"attribute:listType"),r.consume(o,"attribute:listIndent"),r.consume(o,"attribute:todoListChecked");const l=s.writer,a=Xt(o,s),c=!!o.getAttribute("todoListChecked"),d=je(o,l,c,e),u=l.createContainerElement("span",{class:"todo-list__label__description"});l.addClass("todo-list",a.parent),l.insert(l.createPositionAt(a,0),d),l.insert(l.createPositionAfter(d),u),Zt(o,a,s,t)}}(n,(t=>this._handleCheckmarkChange(t))),{priority:"high"}),e.downcastDispatcher.on("attribute:listType:listItem",(o=t=>this._handleCheckmarkChange(t),l=e.view,(t,e,i)=>{if(!i.consumable.consume(e.item,t.name))return;const n=i.mapper.toViewElement(e.item),s=i.writer,r=function(t,e){const i=e.createRangeIn(t);for(const t of i)if(t.item.is("uiElement","label"))return t.item}(n,l);if("todo"==e.attributeNewValue){const t=!!e.item.getAttribute("todoListChecked"),i=je(e.item,s,t,o),r=s.createContainerElement("span",{class:"todo-list__label__description"}),l=s.createRangeIn(n),a=ne(n),c=ee(l.start),d=a?s.createPositionBefore(a):l.end,u=s.createRange(c,d);s.addClass("todo-list",n.parent),s.move(u,s.createPositionAt(r,0)),s.insert(s.createPositionAt(n,0),i),s.insert(s.createPositionAfter(i),r)}else if("todo"==e.attributeOldValue){const t=Ke(n,l);s.removeClass("todo-list",n.parent),s.remove(r),s.move(s.createRangeIn(t),s.createPositionBefore(t)),s.remove(t)}})),e.downcastDispatcher.on("attribute:todoListChecked:listItem",function(t){return(e,i,n)=>{if("todo"!=i.item.getAttribute("listType"))return;if(!n.consumable.consume(i.item,"attribute:todoListChecked"))return;const{mapper:s,writer:r}=n,o=!!i.item.getAttribute("todoListChecked"),l=s.toViewElement(i.item).getChild(0),a=je(i.item,r,o,t);r.insert(r.createPositionAfter(l),a),r.remove(l)}}((t=>this._handleCheckmarkChange(t)))),e.mapper.on("modelToViewPosition",He(e.view)),i.mapper.on("modelToViewPosition",He(e.view)),this.listenTo(e.view.document,"arrowKey",function(t,e){return(i,n)=>{if("left"!=(0,r.getLocalizedArrowKeyCodeDirection)(n.keyCode,e.contentLanguageDirection))return;const s=t.schema,o=t.document.selection;if(!o.isCollapsed)return;const l=o.getFirstPosition(),a=l.parent;if("listItem"===a.name&&"todo"==a.getAttribute("listType")&&l.isAtStart){const e=s.getNearestSelectionRange(t.createPositionBefore(a),"backward");e&&t.change((t=>t.setSelection(e))),n.preventDefault(),n.stopPropagation(),i.stop()}}}(n,t.locale),{context:"li"}),this.listenTo(e.view.document,"keydown",((e,i)=>{(0,r.getCode)(i)===Ue&&(t.execute("checkTodoList"),e.stop())}),{priority:"high"});const a=new Set;this.listenTo(n,"applyOperation",((t,e)=>{const i=e[0];if("rename"==i.type&&"listItem"==i.oldName){const t=i.position.nodeAfter;t.hasAttribute("todoListChecked")&&a.add(t)}else if("changeAttribute"==i.type&&"listType"==i.key&&"todo"===i.oldValue)for(const t of i.range.getItems())t.hasAttribute("todoListChecked")&&"todo"!==t.getAttribute("listType")&&a.add(t)})),n.document.registerPostFixer((t=>{let e=!1;for(const i of a)t.removeAttribute("todoListChecked",i),e=!0;return a.clear(),e})),this._initAriaAnnouncements()}_handleCheckmarkChange(t){const e=this.editor,i=e.model,n=Array.from(i.document.selection.getRanges());i.change((i=>{i.setSelection(t,"end"),e.execute("checkTodoList"),i.setSelection(n)}))}_initAriaAnnouncements(){const{model:t,ui:e,t:i}=this.editor;let n=null;e&&t.document.selection.on("change:range",(()=>{const s=t.document.selection.focus.parent,r=qe(n),o=qe(s);r&&!o?e.ariaLiveAnnouncer.announce(i("Leaving a to-do list")):!r&&o&&e.ariaLiveAnnouncer.announce(i("Entering a to-do list")),n=s}))}}function qe(t){return!!t&&t.is("element","listItem")&&"todo"===t.getAttribute("listType")}class We extends t.Plugin{static get requires(){return[$e,Ut]}static get pluginName(){return"LegacyTodoList"}}class Ge extends t.Plugin{static get pluginName(){return"AdjacentListsSupport"}init(){const t=this.editor;t.model.schema.register("listSeparator",{allowWhere:"$block",isBlock:!0}),t.conversion.for("upcast").add((t=>{t.on("element:ol",Ye()),t.on("element:ul",Ye())})).elementToElement({model:"listSeparator",view:"ck-list-separator"}),t.conversion.for("editingDowncast").elementToElement({model:"listSeparator",view:{name:"div",classes:["ck-list-separator","ck-hidden"]}}),t.conversion.for("dataDowncast").elementToElement({model:"listSeparator",view:(t,e)=>{const i=e.writer.createContainerElement("ck-list-separator");return e.writer.setCustomProperty("dataPipeline:transparentRendering",!0,i),i.getFillerOffset=()=>null,i}})}}function Ye(){return(t,e,i)=>{const n=e.viewItem,s=n.nextSibling;if(!s)return;if(n.name!==s.name)return;e.modelRange||Object.assign(e,i.convertChildren(e.viewItem,e.modelCursor));const r=i.writer,o=r.createElement("listSeparator");if(!i.safeInsert(o,e.modelCursor))return;const l=i.getSplitParts(o);e.modelRange=r.createRange(e.modelRange.start,r.createPositionAfter(l[l.length-1])),i.updateConversionResult(o,e)}}class Je extends t.Plugin{static get requires(){return[ot]}static get pluginName(){return"DocumentList"}constructor(t){super(t),(0,r.logWarning)("plugin-obsolete-documentlist",{pluginName:"DocumentList"})}}class Qe extends t.Plugin{static get requires(){return[Nt]}static get pluginName(){return"DocumentListProperties"}constructor(t){super(t),(0,r.logWarning)("plugin-obsolete-documentlistproperties",{pluginName:"DocumentListProperties"})}}class Xe extends t.Plugin{static get requires(){return[Wt]}static get pluginName(){return"TodoDocumentList"}constructor(t){super(t),(0,r.logWarning)("plugin-obsolete-tododocumentlist",{pluginName:"TodoDocumentList"})}}})(),(window.CKEditor5=window.CKEditor5||{}).list=n})(); \ No newline at end of file + */(()=>{var t={358:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(758),s=i.n(n),r=i(935),o=i.n(r)()(s());o.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}",""]);const l=o},137:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(758),s=i.n(n),r=i(935),o=i.n(r)()(s());o.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}",""]);const l=o},266:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(758),s=i.n(n),r=i(935),o=i.n(r)()(s());o.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}",""]);const l=o},263:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(758),s=i.n(n),r=i(935),o=i.n(r)()(s());o.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}",""]);const l=o},825:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(758),s=i.n(n),r=i(935),o=i.n(r)()(s());o.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.ck-content .todo-list .todo-list__label>input:before{transition:none}}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{transition:none}}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',""]);const l=o},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(o[a]=!0)}for(var c=0;c<t.length;c++){var d=[].concat(t[c]);n&&o[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),s&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=s):d[4]="".concat(s)),e.push(d))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],l=0;l<t.length;l++){var a=t[l],c=n.base?a[0]+n.base:a[0],d=r[c]||0,u="".concat(c," ").concat(d);r[c]=d+1;var m=i(u),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==m)e[m].references++,e[m].updater(p);else{var f=s(p,n);n.byIndex=l,e.splice(l,0,{identifier:u,updater:f,references:1})}o.push(u)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var l=i(r[o]);e[l].references--}for(var a=n(t,s),c=0;c<r.length;c++){var d=i(r[c]);0===e[d].references&&(e[d].updater(),e.splice(d,1))}r=a}}},128:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},639:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var l=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(l,a[e]):t.appendChild(l)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},331:(t,e,i)=>{t.exports=i(237)("./src/clipboard.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},507:(t,e,i)=>{t.exports=i(237)("./src/enter.js")},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AdjacentListsSupport:()=>ii,DocumentList:()=>si,DocumentListProperties:()=>ri,LegacyIndentCommand:()=>re,LegacyList:()=>Be,LegacyListEditing:()=>Ve,LegacyListProperties:()=>qe,LegacyListPropertiesEditing:()=>De,LegacyListUtils:()=>ye,LegacyTodoList:()=>ei,LegacyTodoListEditing:()=>Ze,List:()=>ft,ListCommand:()=>P,ListEditing:()=>at,ListIndentCommand:()=>S,ListProperties:()=>jt,ListPropertiesEditing:()=>Et,ListPropertiesUI:()=>Rt,ListPropertiesUtils:()=>Lt,ListUI:()=>pt,ListUtils:()=>z,TodoDocumentList:()=>oi,TodoList:()=>ee,TodoListEditing:()=>Wt,TodoListUI:()=>Xt});var t=i(782),e=i(834),s=i(507),r=i(584);class o{constructor(t,e){this._startElement=t,this._referenceIndent=t.getAttribute("listIndent"),this._isForward="forward"==e.direction,this._includeSelf=!!e.includeSelf,this._sameAttributes=(0,r.toArray)(e.sameAttributes||[]),this._sameIndent=!!e.sameIndent,this._lowerIndent=!!e.lowerIndent,this._higherIndent=!!e.higherIndent}static first(t,e){const i=new this(t,e)[Symbol.iterator]();return(0,r.first)(i)}*[Symbol.iterator](){const t=[];for(const{node:e}of l(this._getStartNode(),this._isForward?"forward":"backward")){const i=e.getAttribute("listIndent");if(i<this._referenceIndent){if(!this._lowerIndent)break;this._referenceIndent=i}else if(i>this._referenceIndent){if(!this._higherIndent)continue;if(!this._isForward){t.push(e);continue}}else{if(!this._sameIndent){if(this._higherIndent){t.length&&(yield*t,t.length=0);break}continue}if(this._sameAttributes.some((t=>e.getAttribute(t)!==this._startElement.getAttribute(t))))break}t.length&&(yield*t,t.length=0),yield e}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}function*l(t,e="forward"){const i="forward"==e,n=[];let s=null;for(;d(t);){let e=null;if(s){const i=t.getAttribute("listIndent"),r=s.getAttribute("listIndent");i>r?n[r]=s:i<r?(e=n[i],n.length=i):e=s}yield{node:t,previous:s,previousNodeInList:e},s=t,t=i?t.nextSibling:t.previousSibling}}class a{constructor(t){this._listHead=t}[Symbol.iterator](){return l(this._listHead,"forward")}}class c{static next(){return(0,r.uid)()}}function d(t){return!!t&&t.is("element")&&t.hasAttribute("listItemId")}function u(t,e={}){return[...m(t,{...e,direction:"backward"}),...m(t,{...e,direction:"forward"})]}function m(t,e={}){const i="forward"==e.direction,n=Array.from(new o(t,{...e,includeSelf:i,sameIndent:!0,sameAttributes:"listItemId"}));return i?n:n.reverse()}function p(t,e){const i=new o(t,{sameIndent:!0,sameAttributes:"listType",...e}),n=new o(t,{sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward",...e});return[...Array.from(i).reverse(),...n]}function f(t){return!o.first(t,{sameIndent:!0,sameAttributes:"listItemId"})}function g(t){return!o.first(t,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function h(t,e={}){t=(0,r.toArray)(t);const i=!1!==e.withNested,n=new Set;for(const e of t)for(const t of u(e,{higherIndent:i}))n.add(t);return k(n)}function b(t){t=(0,r.toArray)(t);const e=new Set;for(const i of t)for(const t of p(i))e.add(t);return k(e)}function y(t,e){const i=m(t,{direction:"forward"}),n=c.next();for(const t of i)e.setAttribute("listItemId",n,t);return i}function A(t,e,i){const n={};for(const[t,i]of e.getAttributes())t.startsWith("list")&&(n[t]=i);const s=m(t,{direction:"forward"});for(const t of s)i.setAttributes(n,t);return s}function v(t,e,{expand:i,indentBy:n=1}={}){t=(0,r.toArray)(t);const s=i?h(t):t;for(const t of s){const i=t.getAttribute("listIndent")+n;i<0?w(t,e):e.setAttribute("listIndent",i,t)}return s}function w(t,e){t=(0,r.toArray)(t);for(const i of t)i.is("element","listItem")&&e.rename(i,"paragraph");for(const i of t)for(const t of i.getAttributeKeys())t.startsWith("list")&&e.removeAttribute(t,i);return t}function I(t){if(!t.length)return!1;const e=t[0].getAttribute("listItemId");return!!e&&!t.some((t=>t.getAttribute("listItemId")!=e))}function k(t){return Array.from(t).filter((t=>"$graveyard"!==t.root.rootName)).sort(((t,e)=>t.index-e.index))}function T(t){const e=t.document.selection.getSelectedElement();return e&&t.schema.isObject(e)&&t.schema.isBlock(e)?e:null}function x(t,e){return e.checkChild(t.parent,"listItem")&&e.checkChild(t,"$text")&&!e.isObject(t)}function _(t){return"numbered"==t||"customNumbered"==t}function L(t,e,i){return m(e,{direction:"forward"}).pop().index>t.index?A(t,e,i):[]}class S extends t.Command{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=C(t.document.selection);t.change((t=>{const i=[];I(e)&&!f(e[0])?("forward"==this._direction&&i.push(...v(e,t)),i.push(...y(e[0],t))):"forward"==this._direction?i.push(...v(e,t,{expand:!0})):i.push(...function(t,e){const i=h(t=(0,r.toArray)(t)),n=new Set,s=Math.min(...i.map((t=>t.getAttribute("listIndent")))),l=new Map;for(const t of i)l.set(t,o.first(t,{lowerIndent:!0}));for(const t of i){if(n.has(t))continue;n.add(t);const i=t.getAttribute("listIndent")-1;if(i<0)w(t,e);else{if(t.getAttribute("listIndent")==s){const i=L(t,l.get(t),e);for(const t of i)n.add(t);if(i.length)continue}e.setAttribute("listIndent",i,t)}}return k(n)}(e,t));for(const e of i){if(!e.hasAttribute("listType"))continue;const i=o.first(e,{sameIndent:!0});i&&t.setAttribute("listType",i.getAttribute("listType"),e)}this._fireAfterExecute(i)}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_checkEnabled(){let t=C(this.editor.model.document.selection),e=t[0];if(!e)return!1;if("backward"==this._direction)return!0;if(I(t)&&!f(t[0]))return!0;t=h(t),e=t[0];const i=o.first(e,{sameIndent:!0});return!!i&&i.getAttribute("listType")==e.getAttribute("listType")}}function C(t){const e=Array.from(t.getSelectedBlocks()),i=e.findIndex((t=>!d(t)));return-1!=i&&(e.length=i),e}class P extends t.Command{constructor(t,e,i={}){super(t),this.type=e,this._listWalkerOptions=i.multiLevel?{higherIndent:!0,lowerIndent:!0,sameAttributes:[]}:void 0}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,i=e.document,n=T(e),s=Array.from(i.selection.getSelectedBlocks()).filter((t=>e.schema.checkAttribute(t,"listType")||x(t,e.schema))),r=void 0!==t.forceValue?!t.forceValue:this.value;e.change((o=>{if(r){const t=s[s.length-1],e=m(t,{direction:"forward"}),i=[];e.length>1&&i.push(...y(e[1],o)),i.push(...w(s,o)),i.push(...function(t,e){const i=[];let n=Number.POSITIVE_INFINITY;for(const{node:s}of l(t.nextSibling,"forward")){const t=s.getAttribute("listIndent");if(0==t)break;t<n&&(n=t);const r=t-n;e.setAttribute("listIndent",r,s),i.push(s)}return i}(t,o)),this._fireAfterExecute(i)}else if((n||i.selection.isCollapsed)&&d(s[0])){const e=p(n||s[0],this._listWalkerOptions);for(const i of e)o.setAttributes({...t.additionalAttributes,listType:this.type},i);this._fireAfterExecute(e)}else{const i=[];for(const n of s)if(n.hasAttribute("listType"))for(const e of h(n,{withNested:!1}))e.getAttribute("listType")!=this.type&&(o.setAttributes({...t.additionalAttributes,listType:this.type},e),i.push(e));else!n.is("element","listItem")&&x(n,e.schema)&&o.rename(n,"listItem"),o.setAttributes({...t.additionalAttributes,listIndent:0,listItemId:c.next(),listType:this.type},n),i.push(n);this._fireAfterExecute(i)}}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_getValue(){const t=this.editor.model.document.selection,e=Array.from(t.getSelectedBlocks());if(!e.length)return!1;for(const t of e)if(t.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const t=this.editor.model,e=t.schema,i=t.document.selection,n=Array.from(i.getSelectedBlocks());if(!n.length)return!1;if(this.value)return!0;for(const t of n)if(e.checkAttribute(t,"listType")||x(t,e))return!0;return!1}}class E extends t.Command{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:t=!1}={}){const e=this.editor.model,i=e.document.selection,n=[];e.change((s=>{const{firstElement:r,lastElement:l}=this._getMergeSubjectElements(i,t),a=r.getAttribute("listIndent")||0,c=l.getAttribute("listIndent"),d=l.getAttribute("listItemId");if(a!=c){const t=(u=l,Array.from(new o(u,{direction:"forward",higherIndent:!0})));n.push(...v([l,...t],s,{indentBy:a-c,expand:a<c}))}var u;if(t){let t=i;i.isCollapsed&&(t=s.createSelection(s.createRange(s.createPositionAt(r,"end"),s.createPositionAt(l,0)))),e.deleteContent(t,{doNotResetEntireContent:i.isCollapsed});const o=t.getLastPosition().parent,a=o.nextSibling;n.push(o),a&&a!==l&&a.getAttribute("listItemId")==d&&n.push(...A(a,o,s))}else n.push(...A(l,r,s));this._fireAfterExecute(n)}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_checkEnabled(){const t=this.editor.model,e=t.document.selection,i=T(t);if(e.isCollapsed||i){const t=i||e.getFirstPosition().parent;if(!d(t))return!1;const n="backward"==this._direction?t.previousSibling:t.nextSibling;if(!n)return!1;if(I([t,n]))return!1}else{const t=e.getLastPosition(),i=e.getFirstPosition();if(t.parent===i.parent)return!1;if(!d(t.parent))return!1}return!0}_getMergeSubjectElements(t,e){const i=T(this.editor.model);let n,s;if(t.isCollapsed||i){const r=i||t.getFirstPosition().parent,l=f(r);"backward"==this._direction?(s=r,n=l&&!e?o.first(r,{sameIndent:!0,lowerIndent:!0}):r.previousSibling):(n=r,s=r.nextSibling)}else n=t.getFirstPosition().parent,s=t.getLastPosition().parent;return{firstElement:n,lastElement:s}}}class V extends t.Command{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute(){this.editor.model.change((t=>{const e=y(this._getStartBlock(),t);this._fireAfterExecute(e)}))}_fireAfterExecute(t){this.fire("afterExecute",k(new Set(t)))}_checkEnabled(){const t=this.editor.model.document.selection,e=this._getStartBlock();return t.isCollapsed&&d(e)&&!f(e)}_getStartBlock(){const t=this.editor.model.document.selection.getFirstPosition().parent;return"before"==this._direction?t:t.nextSibling}}class z extends t.Plugin{static get pluginName(){return"ListUtils"}static get isOfficialPlugin(){return!0}expandListBlocksToCompleteList(t){return b(t)}isFirstBlockOfListItem(t){return f(t)}isListItemBlock(t){return d(t)}expandListBlocksToCompleteItems(t,e={}){return h(t,e)}isNumberedListType(t){return _(t)}}function B(t){return t.is("element","ol")||t.is("element","ul")}function N(t){return t.is("element","li")}function O(t,e,i,n=D(i,e)){return t.createAttributeElement(M(i),null,{priority:2*e/100-100,id:n})}function R(t,e,i){return t.createAttributeElement("li",null,{priority:(2*e+1)/100-100,id:i})}function M(t){return"numbered"==t||"customNumbered"==t?"ol":"ul"}function D(t,e){return`list-${t}-${e}`}function F(t,e){const i=t.nodeBefore;if(d(i)){let t=i;for(const{node:i}of l(t,"backward"))if(t=i,e.has(t))return;e.set(i,t)}else{const i=t.nodeAfter;d(i)&&e.set(i,i)}}function H(){return(t,e,i)=>{const{writer:n,schema:s}=i;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter((t=>s.checkAttribute(t,"listItemId")));if(!r.length)return;const o=c.next(),l=function(t){let e=0,i=t.parent;for(;i;){if(N(i))e++;else{const t=i.previousSibling;t&&N(t)&&e++}i=i.parent}return e}(e.viewItem);let a=e.viewItem.parent&&e.viewItem.parent.is("element","ol")?"numbered":"bulleted";const d=r[0].getAttribute("listType");d&&(a=d);const u={listItemId:o,listIndent:l,listType:a};for(const t of r)t.hasAttribute("listItemId")||n.setAttributes(u,t);r.length>1&&r[1].getAttribute("listItemId")!=u.listItemId&&i.keepEmptyElement(r[0])}}function j(t,e,i,{dataPipeline:n}={}){const s=function(t){return(e,i)=>{const n=[];for(const i of t)e.hasAttribute(i)&&n.push(`attribute:${i}`);return!!n.every((t=>!1!==i.test(e,t)))&&(n.forEach((t=>i.consume(e,t))),!0)}}(t);return(r,l,a)=>{const{writer:c,mapper:d,consumable:u}=a,m=l.item;if(!t.includes(l.attributeKey))return;if(!s(m,u))return;const p=function(t,e,i){const n=i.createRangeOn(t),s=e.toViewRange(n).getTrimmed();return s.end.nodeBefore}(m,d,i);$(p,c,d),function(t,e){let i=t.parent;for(;i.is("attributeElement")&&["ul","ol","li"].includes(i.name);){const n=i.parent;e.unwrap(e.createRangeOn(t),i),i=n}}(p,c);const g=function(t,e,i,n,{dataPipeline:s}){let r=n.createRangeOn(e);if(!f(t))return r;for(const o of i){if("itemMarker"!=o.scope)continue;const i=o.createElement(n,t,{dataPipeline:s});if(!i)continue;if(n.setCustomProperty("listItemMarker",!0,i),o.canInjectMarkerIntoElement&&o.canInjectMarkerIntoElement(t)?n.insert(n.createPositionAt(e,0),i):(n.insert(r.start,i),r=n.createRange(n.createPositionBefore(i),n.createPositionAfter(e))),!o.createWrapperElement||!o.canWrapElement)continue;const l=o.createWrapperElement(n,t,{dataPipeline:s});n.setCustomProperty("listItemWrapper",!0,l),o.canWrapElement(t)?r=n.wrap(r,l):(r=n.wrap(n.createRangeOn(i),l),r=n.createRange(r.start,n.createPositionAfter(e)))}return r}(m,p,e,c,{dataPipeline:n});!function(t,e,i,n){if(!t.hasAttribute("listIndent"))return;const s=t.getAttribute("listIndent");let r=t;for(let t=s;t>=0;t--){const s=R(n,t,r.getAttribute("listItemId")),l=O(n,t,r.getAttribute("listType"));for(const t of i)"list"!=t.scope&&"item"!=t.scope||!r.hasAttribute(t.attributeName)||t.setAttributeOnDowncast(n,r.getAttribute(t.attributeName),"list"==t.scope?l:s);if(e=n.wrap(e,s),e=n.wrap(e,l),0==t)break;if(r=o.first(r,{lowerIndent:!0}),!r)break}}(m,g,e,c)}}function K(t,{dataPipeline:e}={}){return(i,{writer:n})=>{if(!q(i,t))return null;if(!e)return n.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const s=n.createContainerElement("p");return n.setCustomProperty("dataPipeline:transparentRendering",!0,s),s}}function $(t,e,i){for(;t.parent.is("attributeElement")&&t.parent.getCustomProperty("listItemWrapper");)e.unwrap(e.createRangeOn(t),t.parent);const n=[];s(e.createPositionBefore(t).getWalker({direction:"backward"})),s(e.createRangeIn(t).getWalker());for(const t of n)e.remove(t);function s(t){for(const{item:e}of t){if(e.is("element")&&i.toModelElement(e))break;e.is("element")&&e.getCustomProperty("listItemMarker")&&n.push(e)}}}function q(t,e,i=u(t)){if(!d(t))return!1;for(const i of t.getAttributeKeys())if(!i.startsWith("selection:")&&!e.includes(i))return!1;return i.length<2}var U=i(331),W=i(591),G=i.n(W),Y=i(639),J=i.n(Y),Q=i(128),X=i.n(Q),Z=i(21),tt=i.n(Z),et=i(51),it=i.n(et),nt=i(358),st={attributes:{"data-cke":!0}};st.setAttributes=tt(),st.insert=X().bind(null,"head"),st.domAPI=J(),st.insertStyleElement=it();G()(nt.A,st);nt.A&&nt.A.locals&&nt.A.locals;var rt=i(137),ot={attributes:{"data-cke":!0}};ot.setAttributes=tt(),ot.insert=X().bind(null,"head"),ot.domAPI=J(),ot.insertStyleElement=it();G()(rt.A,ot);rt.A&&rt.A.locals&&rt.A.locals;const lt=["listType","listIndent","listItemId"];class at extends t.Plugin{static get pluginName(){return"ListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[s.Enter,e.Delete,z,U.ClipboardPipeline]}constructor(t){super(t),this._downcastStrategies=[],t.config.define("list.multiBlock",!0)}init(){const t=this.editor,e=t.model,i=t.config.get("list.multiBlock");if(t.plugins.has("LegacyListEditing"))throw new r.CKEditorError("list-feature-conflict",this,{conflictPlugin:"LegacyListEditing"});e.schema.register("$listItem",{allowAttributes:lt}),i?(e.schema.extend("$container",{allowAttributesOf:"$listItem"}),e.schema.extend("$block",{allowAttributesOf:"$listItem"}),e.schema.extend("$blockObject",{allowAttributesOf:"$listItem"})):e.schema.register("listItem",{inheritAllFrom:"$block",allowAttributesOf:"$listItem"});for(const t of lt)e.schema.setAttributeProperties(t,{copyOnReplace:!0});t.commands.add("numberedList",new P(t,"numbered")),t.commands.add("bulletedList",new P(t,"bulleted")),t.commands.add("customNumberedList",new P(t,"customNumbered",{multiLevel:!0})),t.commands.add("customBulletedList",new P(t,"customBulleted",{multiLevel:!0})),t.commands.add("indentList",new S(t,"forward")),t.commands.add("outdentList",new S(t,"backward")),t.commands.add("splitListItemBefore",new V(t,"before")),t.commands.add("splitListItemAfter",new V(t,"after")),i&&(t.commands.add("mergeListItemBackward",new E(t,"backward")),t.commands.add("mergeListItemForward",new E(t,"forward"))),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration(),this._setupAccessibilityIntegration()}afterInit(){const t=this.editor.commands,e=t.get("indent"),i=t.get("outdent");e&&e.registerChildCommand(t.get("indentList"),{priority:"high"}),i&&i.registerChildCommand(t.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(t){this._downcastStrategies.push(t)}getListAttributeNames(){return[...lt,...this._downcastStrategies.map((t=>t.attributeName))]}_setupDeleteIntegration(){const t=this.editor,e=t.commands.get("mergeListItemBackward"),i=t.commands.get("mergeListItemForward");this.listenTo(t.editing.view.document,"delete",((n,s)=>{const r=t.model.document.selection;T(t.model)||t.model.change((()=>{const l=r.getFirstPosition();if(r.isCollapsed&&"backward"==s.direction){if(!l.isAtStart)return;const i=l.parent;if(!d(i))return;if(o.first(i,{sameAttributes:"listType",sameIndent:!0})||0!==i.getAttribute("listIndent")){if(!e||!e.isEnabled)return;e.execute({shouldMergeOnBlocksContentLevel:ct(t.model,"backward")})}else g(i)||t.execute("splitListItemAfter"),t.execute("outdentList");s.preventDefault(),n.stop()}else{if(r.isCollapsed&&!r.getLastPosition().isAtEnd)return;if(!i||!i.isEnabled)return;i.execute({shouldMergeOnBlocksContentLevel:ct(t.model,"forward")}),s.preventDefault(),n.stop()}}))}),{context:"li"})}_setupEnterIntegration(){const t=this.editor,e=t.model,i=t.commands,n=i.get("enter");this.listenTo(t.editing.view.document,"enter",((i,n)=>{const s=e.document,r=s.selection.getFirstPosition().parent;if(s.selection.isCollapsed&&d(r)&&r.isEmpty&&!n.isSoft){const e=f(r),s=g(r);e&&s?(t.execute("outdentList"),n.preventDefault(),i.stop()):e&&!s?(t.execute("splitListItemAfter"),n.preventDefault(),i.stop()):s&&(t.execute("splitListItemBefore"),n.preventDefault(),i.stop())}}),{context:"li"}),this.listenTo(n,"afterExecute",(()=>{const e=i.get("splitListItemBefore");if(e.refresh(),!e.isEnabled)return;2===u(t.model.document.selection.getLastPosition().parent).length&&e.execute()}))}_setupTabIntegration(){const t=this.editor;this.listenTo(t.editing.view.document,"tab",((e,i)=>{const n=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(n).isEnabled&&(t.execute(n),i.stopPropagation(),i.preventDefault(),e.stop())}),{context:"li"})}_setupConversion(){const t=this.editor,e=t.model,i=this.getListAttributeNames(),n=t.config.get("list.multiBlock"),s=n?"paragraph":"listItem";t.conversion.for("upcast").elementToElement({view:"li",model:(t,{writer:e})=>e.createElement(s,{listType:""})}).elementToElement({view:"p",model:(t,{writer:e})=>t.parent&&t.parent.is("element","li")?e.createElement(s,{listType:""}):null,converterPriority:"high"}).add((t=>{t.on("element:li",H())})),n||t.conversion.for("downcast").elementToElement({model:"listItem",view:"p"}),t.conversion.for("editingDowncast").elementToElement({model:s,view:K(i),converterPriority:"high"}).add((t=>{var n;t.on("attribute",j(i,this._downcastStrategies,e)),t.on("remove",(n=e.schema,(t,e,i)=>{const{writer:s,mapper:r}=i,o=t.name.split(":")[1];if(!n.checkAttribute(o,"listItemId"))return;const l=r.toViewPosition(e.position),a=e.position.getShiftedBy(e.length),c=r.toViewPosition(a,{isPhantom:!0}),d=s.createRange(l,c).getTrimmed().end.nodeBefore;d&&$(d,s,r)}))})),t.conversion.for("dataDowncast").elementToElement({model:s,view:K(i,{dataPipeline:!0}),converterPriority:"high"}).add((t=>{t.on("attribute",j(i,this._downcastStrategies,e,{dataPipeline:!0}))}));const r=(o=this._downcastStrategies,a=t.editing.view,(t,e)=>{if(e.modelPosition.offset>0)return;const i=e.modelPosition.parent;if(!d(i))return;if(!o.some((t=>"itemMarker"==t.scope&&t.canInjectMarkerIntoElement&&t.canInjectMarkerIntoElement(i))))return;const n=e.mapper.toViewElement(i),s=a.createRangeIn(n),r=s.getWalker();let l=s.start;for(const{item:t}of r){if(t.is("element")&&e.mapper.toModelElement(t)||t.is("$textProxy"))break;t.is("element")&&t.getCustomProperty("listItemMarker")&&(l=a.createPositionAfter(t),r.skip((({previousPosition:t})=>!t.isEqual(l))))}e.viewPosition=l});var o,a;t.editing.mapper.on("modelToViewPosition",r),t.data.mapper.on("modelToViewPosition",r),this.listenTo(e.document,"change:data",function(t,e,i,n){return()=>{const n=t.document.differ.getChanges(),o=[],l=new Map,a=new Set;for(const t of n)if("insert"==t.type&&"$text"!=t.name)F(t.position,l),t.attributes.has("listItemId")?a.add(t.position.nodeAfter):F(t.position.getShiftedBy(t.length),l);else if("remove"==t.type&&t.attributes.has("listItemId"))F(t.position,l);else if("attribute"==t.type){const e=t.range.start.nodeAfter;i.includes(t.attributeKey)?(F(t.range.start,l),null===t.attributeNewValue?(F(t.range.start.getShiftedBy(1),l),r(e)&&o.push(e)):a.add(e)):d(e)&&r(e)&&o.push(e)}for(const t of l.values())o.push(...s(t,a));for(const t of new Set(o))e.reconvertItem(t)};function s(t,e){const n=[],s=new Set,a=[];for(const{node:c,previous:d}of l(t,"forward")){if(s.has(c))continue;const t=c.getAttribute("listIndent");d&&t<d.getAttribute("listIndent")&&(a.length=t+1),a[t]=Object.fromEntries(Array.from(c.getAttributes()).filter((([t])=>i.includes(t))));const l=m(c,{direction:"forward"});for(const t of l)s.add(t),(r(t,l)||o(t,a,e))&&n.push(t)}return n}function r(t,s){const r=e.mapper.toViewElement(t);if(!r)return!1;if(n.fire("checkElement",{modelElement:t,viewElement:r}))return!0;if(!t.is("element","paragraph")&&!t.is("element","listItem"))return!1;const o=q(t,i,s);return!(!o||!r.is("element","p"))||!(o||!r.is("element","span"))}function o(t,i,s){if(s.has(t))return!1;const r=e.mapper.toViewElement(t);let o=i.length-1;for(let t=r.parent;!t.is("editableElement");t=t.parent){const e=N(t),s=B(t);if(!s&&!e)continue;const r="checkAttributes:"+(e?"item":"list");if(n.fire(r,{viewElement:t,modelAttributes:i[o]}))break;if(s&&(o--,o<0))return!1}return!0}}(e,t.editing,i,this),{priority:"high"}),this.on("checkAttributes:item",((t,{viewElement:e,modelAttributes:i})=>{e.id!=i.listItemId&&(t.return=!0,t.stop())})),this.on("checkAttributes:list",((t,{viewElement:e,modelAttributes:i})=>{e.name==M(i.listType)&&e.id==D(i.listType,i.listIndent)||(t.return=!0,t.stop())}))}_setupModelPostFixing(){const t=this.editor.model,e=this.getListAttributeNames();t.document.registerPostFixer((i=>function(t,e,i,n){const s=t.document.differ.getChanges(),r=new Map,o=n.editor.config.get("list.multiBlock");let l=!1;for(const n of s){if("insert"==n.type&&"$text"!=n.name){const s=n.position.nodeAfter;if(!t.schema.checkAttribute(s,"listItemId"))for(const t of Array.from(s.getAttributeKeys()))i.includes(t)&&(e.removeAttribute(t,s),l=!0);F(n.position,r),n.attributes.has("listItemId")||F(n.position.getShiftedBy(n.length),r);for(const{item:e,previousPosition:i}of t.createRangeIn(s))d(e)&&F(i,r)}else"remove"==n.type?F(n.position,r):"attribute"==n.type&&i.includes(n.attributeKey)&&(F(n.range.start,r),null===n.attributeNewValue&&F(n.range.start.getShiftedBy(1),r));if(!o&&"attribute"==n.type&<.includes(n.attributeKey)){const t=n.range.start.nodeAfter;null===n.attributeNewValue&&t&&t.is("element","listItem")?(e.rename(t,"paragraph"),l=!0):null===n.attributeOldValue&&t&&t.is("element")&&"listItem"!=t.name&&(e.rename(t,"listItem"),l=!0)}}const c=new Set;for(const t of r.values())l=n.fire("postFixer",{listNodes:new a(t),listHead:t,writer:e,seenIds:c})||l;return l}(t,i,e,this))),this.on("postFixer",((t,{listNodes:e,writer:i})=>{t.return=function(t,e){let i=0,n=-1,s=null,r=!1;for(const{node:o}of t){const t=o.getAttribute("listIndent");if(t>i){let l;null===s?(s=t-i,l=i):(s>t&&(s=t),l=t-s),l>n+1&&(l=n+1),e.setAttribute("listIndent",l,o),r=!0,n=l}else s=null,i=t+1,n=t}return r}(e,i)||t.return}),{priority:"high"}),this.on("postFixer",((t,{listNodes:e,writer:i,seenIds:n})=>{t.return=function(t,e,i){const n=new Set;let s=!1;for(const{node:r}of t){if(n.has(r))continue;let t=r.getAttribute("listType"),o=r.getAttribute("listItemId");if(e.has(o)&&(o=c.next()),e.add(o),r.is("element","listItem"))r.getAttribute("listItemId")!=o&&(i.setAttribute("listItemId",o,r),s=!0);else for(const e of m(r,{direction:"forward"}))n.add(e),e.getAttribute("listType")!=t&&(o=c.next(),t=e.getAttribute("listType")),e.getAttribute("listItemId")!=o&&(i.setAttribute("listItemId",o,e),s=!0)}return s}(e,n,i)||t.return}),{priority:"high"})}_setupClipboardIntegration(){const t=this.editor.model,e=this.editor.plugins.get("ClipboardPipeline");this.listenTo(t,"insertContent",function(t){return(e,[i,n])=>{const s=i.is("documentFragment")?Array.from(i.getChildren()):[i];if(!s.length)return;const r=(n?t.createSelection(n):t.document.selection).getFirstPosition();let o;if(d(r.parent))o=r.parent;else{if(!d(r.nodeBefore))return;o=r.nodeBefore}t.change((t=>{const e=o.getAttribute("listType"),i=o.getAttribute("listIndent"),n=s[0].getAttribute("listIndent")||0,r=Math.max(i-n,0);for(const i of s){const n=d(i);o.is("element","listItem")&&i.is("element","paragraph")&&t.rename(i,"listItem"),t.setAttributes({listIndent:(n?i.getAttribute("listIndent"):0)+r,listItemId:n?i.getAttribute("listItemId"):c.next(),listType:e},i)}}))}}(t),{priority:"high"}),this.listenTo(e,"outputTransformation",((e,i)=>{t.change((t=>{const e=Array.from(i.content.getChildren()),n=e[e.length-1];if(e.length>1&&n.is("element")&&n.isEmpty){e.slice(0,-1).every(d)&&t.remove(n)}if("copy"==i.method||"cut"==i.method){const e=Array.from(i.content.getChildren());I(e)&&w(e,t)}}))}))}_setupAccessibilityIntegration(){const t=this.editor,e=t.t;t.accessibility.addKeystrokeInfoGroup({id:"list",label:e("Keystrokes that can be used in a list"),keystrokes:[{label:e("Increase list item indent"),keystroke:"Tab"},{label:e("Decrease list item indent"),keystroke:"Shift+Tab"}]})}}function ct(t,e){const i=t.document.selection;if(!i.isCollapsed)return!T(t);if("forward"===e)return!0;const n=i.getFirstPosition().parent,s=n.previousSibling;return!t.schema.isObject(s)&&(!!s.isEmpty||I([n,s]))}var dt=i(311);function ut(t,e,i,n){t.ui.componentFactory.add(e,(()=>{const s=mt(dt.ButtonView,t,e,i,n);return s.set({tooltip:!0,isToggleable:!0}),s})),t.ui.componentFactory.add(`menuBar:${e}`,(()=>{const s=mt(dt.MenuBarMenuListItemButtonView,t,e,i,n);return s.set({role:"menuitemcheckbox",isToggleable:!0}),s}))}function mt(t,e,i,n,s){const r=e.commands.get(i),o=new t(e.locale);return o.set({label:n,icon:s}),o.bind("isOn","isEnabled").to(r,"value","isEnabled"),o.on("execute",(()=>{e.execute(i),e.editing.view.focus()})),o}class pt extends t.Plugin{static get pluginName(){return"ListUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.t;this.editor.ui.componentFactory.has("numberedList")||ut(this.editor,"numberedList",e("Numbered List"),t.icons.numberedList),this.editor.ui.componentFactory.has("bulletedList")||ut(this.editor,"bulletedList",e("Bulleted List"),t.icons.bulletedList)}}class ft extends t.Plugin{static get requires(){return[at,pt]}static get pluginName(){return"List"}static get isOfficialPlugin(){return!0}}class gt extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute({startIndex:t=1}={}){const e=this.editor.model,i=e.document;let n=Array.from(i.selection.getSelectedBlocks()).filter((t=>d(t)&&_(t.getAttribute("listType"))));n=b(n),e.change((e=>{for(const i of n)e.setAttribute("listStart",t>=0?t:1,i)}))}_getValue(){const t=this.editor.model.document,e=(0,r.first)(t.selection.getSelectedBlocks());return e&&d(e)&&_(e.getAttribute("listType"))?e.getAttribute("listStart"):null}}const ht={},bt={},yt={},At=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:t,typeAttribute:e,listType:i}of At)ht[t]=i,bt[t]=e,e&&(yt[e]=t);function vt(){return At.map((t=>t.listStyle))}function wt(t){return ht[t]||null}function It(t){return yt[t]||null}function kt(t){return bt[t]||null}class Tt extends t.Command{constructor(t,e,i){super(t),this.defaultType=e,this._supportedTypes=i}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,i=e.document;e.change((e=>{this._tryToConvertItemsToList(t);let n=Array.from(i.selection.getSelectedBlocks()).filter((t=>t.hasAttribute("listType")));if(n.length){n=b(n);for(const i of n)e.setAttribute("listStyle",t.type||this.defaultType,i)}}))}isStyleTypeSupported(t){return!this._supportedTypes||this._supportedTypes.includes(t)}_getValue(){const t=(0,r.first)(this.editor.model.document.selection.getSelectedBlocks());return d(t)?t.getAttribute("listStyle"):null}_checkEnabled(){const t=this.editor,e=t.commands.get("numberedList"),i=t.commands.get("bulletedList");return e.isEnabled||i.isEnabled}_tryToConvertItemsToList(t){if(!t.type)return;const e=wt(t.type);if(!e)return;const i=this.editor,n=`${e}List`;i.commands.get(n).value||i.execute(n)}}class xt extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute(t={}){const e=this.editor.model,i=e.document;let n=Array.from(i.selection.getSelectedBlocks()).filter((t=>d(t)&&"numbered"==t.getAttribute("listType")));n=b(n),e.change((e=>{for(const i of n)e.setAttribute("listReversed",!!t.reversed,i)}))}_getValue(){const t=this.editor.model.document,e=(0,r.first)(t.selection.getSelectedBlocks());return d(e)&&"numbered"==e.getAttribute("listType")?e.getAttribute("listReversed"):null}}function _t(t){return(e,i,n)=>{const{writer:s,schema:r,consumable:o}=n;if(!1===o.test(i.viewItem,t.viewConsumables))return;i.modelRange||Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor));let l=!1;for(const e of i.modelRange.getItems({shallow:!0}))r.checkAttribute(e,t.attributeName)&&t.appliesToListItem(e)&&(e.hasAttribute(t.attributeName)||(s.setAttribute(t.attributeName,t.getAttributeOnUpcast(i.viewItem),e),l=!0));l&&o.consume(i.viewItem,t.viewConsumables)}}class Lt extends t.Plugin{static get pluginName(){return"ListPropertiesUtils"}static get isOfficialPlugin(){return!0}getAllSupportedStyleTypes(){return vt()}getListTypeFromListStyleType(t){return wt(t)}getListStyleTypeFromTypeAttribute(t){return It(t)}getTypeAttributeFromListStyleType(t){return kt(t)}}function St(t){const{startIndex:e,reversed:i,styles:n}=t;return{styles:Ct(n),startIndex:e||!1,reversed:i||!1}}function Ct(t){const e={listTypes:["bulleted","numbered"],useAttribute:!1};return!0===t||(t?Array.isArray(t)||"string"==typeof t?e.listTypes=(0,r.toArray)(t):(e.listTypes=t.listTypes?(0,r.toArray)(t.listTypes):e.listTypes,e.useAttribute=!!t.useAttribute):e.listTypes=[]),e}const Pt="default";class Et extends t.Plugin{static get requires(){return[at,Lt]}static get pluginName(){return"ListPropertiesEditing"}static get isOfficialPlugin(){return!0}constructor(t){super(t),t.config.define("list.properties",{styles:!0,startIndex:!1,reversed:!1})}init(){const t=this.editor,e=t.model,i=t.plugins.get(at),n=function(t){const e=[],i=St(t);if(t.styles){const t=i.styles.useAttribute;e.push({attributeName:"listStyle",defaultValue:Pt,viewConsumables:{styles:"list-style-type"},addCommand(e){let i=vt();t&&(i=i.filter((t=>!!kt(t)))),e.commands.add("listStyle",new Tt(e,Pt,i))},appliesToListItem:t=>"numbered"==t.getAttribute("listType")||"bulleted"==t.getAttribute("listType"),hasValidAttribute(t){if(!this.appliesToListItem(t))return!t.hasAttribute("listStyle");if(!t.hasAttribute("listStyle"))return!1;const e=t.getAttribute("listStyle");return e==Pt||wt(e)==t.getAttribute("listType")},setAttributeOnDowncast(e,i,n){if(i&&i!==Pt){if(!t)return void e.setStyle("list-style-type",i,n);{const t=kt(i);if(t)return void e.setAttribute("type",t,n)}}e.removeStyle("list-style-type",n),e.removeAttribute("type",n)},getAttributeOnUpcast(t){const e=t.getStyle("list-style-type");if(e)return e;const i=t.getAttribute("type");return i?It(i):Pt}})}t.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,viewConsumables:{attributes:"reversed"},addCommand(t){t.commands.add("listReversed",new xt(t))},appliesToListItem:t=>"numbered"==t.getAttribute("listType"),hasValidAttribute(t){return this.appliesToListItem(t)==t.hasAttribute("listReversed")},setAttributeOnDowncast(t,e,i){e?t.setAttribute("reversed","reversed",i):t.removeAttribute("reversed",i)},getAttributeOnUpcast:t=>t.hasAttribute("reversed")});t.startIndex&&e.push({attributeName:"listStart",defaultValue:1,viewConsumables:{attributes:"start"},addCommand(t){t.commands.add("listStart",new gt(t))},appliesToListItem:t=>_(t.getAttribute("listType")),hasValidAttribute(t){return this.appliesToListItem(t)==t.hasAttribute("listStart")},setAttributeOnDowncast(t,e,i){0==e||e>1?t.setAttribute("start",e,i):t.removeAttribute("start",i)},getAttributeOnUpcast(t){const e=t.getAttribute("start");return e>=0?e:1}});return e}(t.config.get("list.properties"));for(const s of n)s.addCommand(t),e.schema.extend("$listItem",{allowAttributes:s.attributeName}),i.registerDowncastStrategy({scope:"list",attributeName:s.attributeName,setAttributeOnDowncast(t,e,i){s.setAttributeOnDowncast(t,e,i)}});t.conversion.for("upcast").add((t=>{for(const e of n)t.on("element:ol",_t(e)),t.on("element:ul",_t(e))})),i.on("checkAttributes:list",((t,{viewElement:e,modelAttributes:i})=>{for(const s of n)s.getAttributeOnUpcast(e)!=i[s.attributeName]&&(t.return=!0,t.stop())})),this.listenTo(t.commands.get("indentList"),"afterExecute",((t,i)=>{e.change((t=>{for(const e of i)for(const i of n)i.appliesToListItem(e)&&t.setAttribute(i.attributeName,i.defaultValue,e)}))})),i.on("postFixer",((t,{listNodes:e,writer:i})=>{for(const{node:s}of e)for(const e of n)e.hasValidAttribute(s)||(e.appliesToListItem(s)?i.setAttribute(e.attributeName,e.defaultValue,s):i.removeAttribute(e.attributeName,s),t.return=!0)})),i.on("postFixer",((t,{listNodes:e,writer:i})=>{for(const{node:s,previousNodeInList:r}of e)if(r&&r.getAttribute("listType")==s.getAttribute("listType"))for(const e of n){const{attributeName:n}=e;if(!e.appliesToListItem(s))continue;const o=r.getAttribute(n);s.getAttribute(n)!=o&&(i.setAttribute(n,o,s),t.return=!0)}}))}}var Vt=i(266),zt={attributes:{"data-cke":!0}};zt.setAttributes=tt(),zt.insert=X().bind(null,"head"),zt.domAPI=J(),zt.insertStyleElement=it();G()(Vt.A,zt);Vt.A&&Vt.A.locals&&Vt.A.locals;class Bt extends dt.View{constructor(t,{enabledProperties:e,styleButtonViews:i,styleGridAriaLabel:n}){super(t),this.stylesView=null,this.additionalPropertiesCollapsibleView=null,this.startIndexFieldView=null,this.reversedSwitchButtonView=null,this.focusTracker=new r.FocusTracker,this.keystrokes=new r.KeystrokeHandler,this.focusables=new dt.ViewCollection;const s=["ck","ck-list-properties"];this.children=this.createCollection(),this.focusCycler=new dt.FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),i&&i.length?(this.stylesView=this._createStylesView(i,n),this.children.add(this.stylesView)):s.push("ck-list-properties_without-styles"),(e.startIndex||e.reversed)&&(this._addNumberedListPropertyViews(e),s.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:s},children:this.children})}render(){if(super.render(),this.stylesView){this.focusables.add(this.stylesView),this.focusTracker.add(this.stylesView.element),(this.startIndexFieldView||this.reversedSwitchButtonView)&&(this.focusables.add(this.children.last.buttonView),this.focusTracker.add(this.children.last.buttonView.element));for(const t of this.stylesView.children)this.stylesView.focusTracker.add(t.element);(0,dt.addKeyboardHandlingForGrid)({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>r.global.window.getComputedStyle(this.stylesView.element).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}if(this.startIndexFieldView){this.focusables.add(this.startIndexFieldView),this.focusTracker.add(this.startIndexFieldView.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}this.reversedSwitchButtonView&&(this.focusables.add(this.reversedSwitchButtonView),this.focusTracker.add(this.reversedSwitchButtonView.element)),this.keystrokes.listenTo(this.element)}focus(){this.focusCycler.focusFirst()}focusLast(){this.focusCycler.focusLast()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createStylesView(t,e){const i=new dt.View(this.locale);return i.children=i.createCollection(),i.children.addMany(t),i.setTemplate({tag:"div",attributes:{"aria-label":e,class:["ck","ck-list-styles-list"]},children:i.children}),i.children.delegate("execute").to(this),i.focus=function(){this.children.first.focus()},i.focusTracker=new r.FocusTracker,i.keystrokes=new r.KeystrokeHandler,i.render(),i.keystrokes.listenTo(i.element),i}_addNumberedListPropertyViews(t){const e=this.locale.t,i=[];t.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),i.push(this.startIndexFieldView)),t.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),i.push(this.reversedSwitchButtonView)),this.stylesView?(this.additionalPropertiesCollapsibleView=new dt.CollapsibleView(this.locale,i),this.additionalPropertiesCollapsibleView.set({label:e("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(i,"isEnabled",((...t)=>t.some((t=>t)))),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",((t,e,i)=>{i||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)})),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(i)}_createStartIndexField(){const t=this.locale.t,e=new dt.LabeledFieldView(this.locale,dt.createLabeledInputNumber);return e.set({label:t("Start at"),class:"ck-numbered-list-properties__start-index"}),e.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),e.fieldView.on("input",(()=>{const i=e.fieldView.element,n=i.valueAsNumber;Number.isNaN(n)?e.errorText=t("Invalid start index value."):i.checkValidity()?this.fire("listStart",{startIndex:n}):e.errorText=t("Start index must be greater than 0.")})),e}_createReversedSwitchButton(){const t=this.locale.t,e=new dt.SwitchButtonView(this.locale);return e.set({withText:!0,label:t("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),e.delegate("execute").to(this,"listReversed"),e}}var Nt=i(263),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=tt(),Ot.insert=X().bind(null,"head"),Ot.domAPI=J(),Ot.insertStyleElement=it();G()(Nt.A,Ot);Nt.A&&Nt.A.locals&&Nt.A.locals;class Rt extends t.Plugin{static get pluginName(){return"ListPropertiesUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,i=e.locale.t,n=e.config.get("list.properties"),s=St(n),r=s.styles.listTypes;if(r.includes("bulleted")){const n=[{label:i("Toggle the disc list style"),tooltip:i("Disc"),type:"disc",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"/></svg>'},{label:i("Toggle the circle list style"),tooltip:i("Circle"),type:"circle",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/></svg>'},{label:i("Toggle the square list style"),tooltip:i("Square"),type:"square",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M14 27v6H8v-6h6zm0-9v6H8v-6h6zm0-9v6H8V9h6z"/></svg>'}],r=i("Bulleted List"),o=i("Bulleted list styles toolbar"),l="bulletedList";e.ui.componentFactory.add(l,Mt({editor:e,normalizedConfig:s,parentCommandName:l,buttonLabel:r,buttonIcon:t.icons.bulletedList,styleGridAriaLabel:o,styleDefinitions:n})),e.ui.componentFactory.add(`menuBar:${l}`,Ft({editor:e,normalizedConfig:s,parentCommandName:l,buttonLabel:r,styleGridAriaLabel:o,styleDefinitions:n}))}if(r.includes("numbered")||n.startIndex||n.reversed){const n=[{label:i("Toggle the decimal list style"),tooltip:i("Decimal"),type:"decimal",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M10.29 15V8.531H9.286c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.343 0v-1.235h-1.235V15h1.235zM11.3 24v-1.147H8.848c.064-.111.148-.226.252-.343.104-.117.351-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.494-.824.104-.263.156-.539.156-.829 0-.51-.182-.936-.545-1.279-.363-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.153-.155.358-.233.616-.233.26 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.468.536-1.024 1.055-.692.641-1.155 1.156-1.389 1.544-.234.389-.375.8-.422 1.233H11.3zm2.333 0v-1.235h-1.235V24h1.235zM9.204 34.11c.615 0 1.129-.2 1.542-.598.413-.398.62-.88.62-1.446 0-.39-.11-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.619-.337.928-.788.928-1.353 0-.399-.151-.756-.453-1.073-.366-.386-.852-.58-1.459-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.668.55c-.16.232-.28.544-.358.933l1.138.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.215 0 .386.065.515.194s.193.302.193.518c0 .255-.087.46-.263.613-.176.154-.43.227-.765.218l-.136 1.006c.22-.061.409-.092.567-.092.24 0 .444.09.61.272.168.182.251.428.251.739 0 .328-.087.589-.261.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.307-.698l-1.196.145c.062.542.285.98.668 1.316.384.335.868.503 1.45.503zm4.43-.11v-1.235h-1.236V34h1.235z"/></svg>'},{label:i("Toggle the decimal with leading zero list style"),tooltip:i("Decimal with leading zero"),type:"decimal-leading-zero",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M5.714 15.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm6.078.914V8.531H10.79c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.344 0v-1.235h-1.235V15h1.235zm-9.422 9.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm7.088.914v-1.147H10.35c.065-.111.149-.226.253-.343.104-.117.35-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.493-.824.104-.263.156-.539.156-.829 0-.51-.181-.936-.544-1.279-.364-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.152-.155.357-.233.615-.233.261 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.467.536-1.024 1.055-.691.641-1.154 1.156-1.388 1.544-.235.389-.375.8-.422 1.233h4.328zm2.334 0v-1.235h-1.235V24h1.235zM5.714 34.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm4.992 1.024c.616 0 1.13-.2 1.543-.598.413-.398.62-.88.62-1.446 0-.39-.111-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.618-.337.927-.788.927-1.353 0-.399-.15-.756-.452-1.073-.366-.386-.853-.58-1.46-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.667.55c-.16.232-.28.544-.359.933l1.139.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.214 0 .386.065.515.194s.193.302.193.518c0 .255-.088.46-.264.613-.175.154-.43.227-.764.218l-.136 1.006c.22-.061.408-.092.566-.092.24 0 .444.09.611.272.167.182.25.428.25.739 0 .328-.086.589-.26.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.308-.698l-1.195.145c.062.542.284.98.668 1.316.384.335.867.503 1.45.503zm4.43-.11v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the lower–roman list style"),tooltip:i("Lower–roman"),type:"lower-roman",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11.88 8.7V7.558h-1.234V8.7h1.234zm0 5.3V9.333h-1.234V14h1.234zm2.5 0v-1.235h-1.234V14h1.235zm-4.75 4.7v-1.142H8.395V18.7H9.63zm0 5.3v-4.667H8.395V24H9.63zm2.5-5.3v-1.142h-1.234V18.7h1.235zm0 5.3v-4.667h-1.234V24h1.235zm2.501 0v-1.235h-1.235V24h1.235zM7.38 28.7v-1.142H6.145V28.7H7.38zm0 5.3v-4.667H6.145V34H7.38zm2.5-5.3v-1.142H8.646V28.7H9.88zm0 5.3v-4.667H8.646V34H9.88zm2.5-5.3v-1.142h-1.234V28.7h1.235zm0 5.3v-4.667h-1.234V34h1.235zm2.501 0v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the upper–roman list style"),tooltip:i("Upper-roman"),type:"upper-roman",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M11.916 15V8.558h-1.301V15h1.3zm2.465 0v-1.235h-1.235V15h1.235zM9.665 25v-6.442h-1.3V25h1.3zm2.5 0v-6.442h-1.3V25h1.3zm2.466 0v-1.235h-1.235V25h1.235zm-7.216 9v-6.442h-1.3V34h1.3zm2.5 0v-6.442h-1.3V34h1.3zm2.501 0v-6.442h-1.3V34h1.3zm2.465 0v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the lower–latin list style"),tooltip:i("Lower-latin"),type:"lower-latin",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="M9.62 14.105c.272 0 .528-.05.768-.153s.466-.257.677-.462c.009.024.023.072.044.145.047.161.086.283.119.365h1.221a2.649 2.649 0 0 1-.222-.626c-.04-.195-.059-.498-.059-.908l.013-1.441c0-.536-.055-.905-.165-1.105-.11-.201-.3-.367-.569-.497-.27-.13-.68-.195-1.23-.195-.607 0-1.064.108-1.371.325-.308.217-.525.55-.65 1.002l1.12.202c.076-.217.176-.369.299-.455.123-.086.294-.13.514-.13.325 0 .546.05.663.152.118.101.176.27.176.508v.123c-.222.093-.622.194-1.2.303-.427.082-.755.178-.982.288-.227.11-.403.268-.53.474a1.327 1.327 0 0 0-.188.706c0 .398.138.728.415.988.277.261.656.391 1.136.391zm.368-.87a.675.675 0 0 1-.492-.189.606.606 0 0 1-.193-.448c0-.176.08-.32.241-.435.106-.07.33-.142.673-.215a7.19 7.19 0 0 0 .751-.19v.247c0 .296-.016.496-.048.602a.773.773 0 0 1-.295.409 1.07 1.07 0 0 1-.637.22zm4.645.765v-1.235h-1.235V14h1.235zM10.2 25.105c.542 0 1.003-.215 1.382-.646.38-.43.57-1.044.57-1.84 0-.771-.187-1.362-.559-1.774a1.82 1.82 0 0 0-1.41-.617c-.522 0-.973.216-1.354.65v-2.32H7.594V25h1.147v-.686a1.9 1.9 0 0 0 .67.592c.26.133.523.2.79.2zm-.299-.975c-.354 0-.638-.164-.852-.492-.153-.232-.229-.59-.229-1.073 0-.468.098-.818.295-1.048a.93.93 0 0 1 .738-.345c.302 0 .55.118.743.354.193.236.29.62.29 1.154 0 .5-.096.868-.288 1.1-.192.233-.424.35-.697.35zm4.478.87v-1.235h-1.234V25h1.234zm-4.017 9.105c.6 0 1.08-.142 1.437-.426.357-.284.599-.704.725-1.261l-1.213-.207c-.061.326-.167.555-.316.688a.832.832 0 0 1-.576.2.916.916 0 0 1-.75-.343c-.185-.228-.278-.62-.278-1.173 0-.498.091-.853.274-1.066.183-.212.429-.318.736-.318.232 0 .42.061.565.184.145.123.238.306.28.55l1.216-.22c-.146-.501-.387-.874-.722-1.119-.336-.244-.788-.366-1.356-.366-.695 0-1.245.214-1.653.643-.407.43-.61 1.03-.61 1.8 0 .762.202 1.358.608 1.788.406.431.95.646 1.633.646zM14.633 34v-1.235h-1.235V34h1.235z"/></svg>'},{label:i("Toggle the upper–latin list style"),tooltip:i("Upper-latin"),type:"upper-latin",icon:'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163"/><path d="m7.88 15 .532-1.463h2.575L11.549 15h1.415l-2.58-6.442H9.01L6.5 15h1.38zm2.69-2.549H8.811l.87-2.39.887 2.39zM14.88 15v-1.235h-1.234V15h1.234zM9.352 25c.83-.006 1.352-.02 1.569-.044.346-.038.636-.14.872-.305.236-.166.422-.387.558-.664.137-.277.205-.562.205-.855 0-.372-.106-.695-.317-.97-.21-.276-.512-.471-.905-.585a1.51 1.51 0 0 0 .661-.567 1.5 1.5 0 0 0 .244-.83c0-.28-.066-.53-.197-.754a1.654 1.654 0 0 0-.495-.539 1.676 1.676 0 0 0-.672-.266c-.25-.042-.63-.063-1.14-.063H7.158V25h2.193zm.142-3.88H8.46v-1.49h.747c.612 0 .983.007 1.112.022.217.026.38.102.49.226.11.125.165.287.165.486a.68.68 0 0 1-.192.503.86.86 0 0 1-.525.23 11.47 11.47 0 0 1-.944.023h.18zm.17 2.795H8.46v-1.723h1.05c.592 0 .977.03 1.154.092.177.062.313.16.406.295a.84.84 0 0 1 .14.492c0 .228-.06.41-.181.547a.806.806 0 0 1-.473.257c-.126.026-.423.04-.892.04zM14.88 25v-1.235h-1.234V25h1.234zm-5.018 9.11c.691 0 1.262-.17 1.711-.512.45-.341.772-.864.965-1.567l-1.261-.4c-.109.472-.287.818-.536 1.037-.25.22-.547.33-.892.33-.47 0-.85-.173-1.143-.519-.293-.345-.44-.925-.44-1.74 0-.767.15-1.322.447-1.665.297-.343.684-.514 1.162-.514.346 0 .64.096.881.29.242.193.4.457.477.79l1.288-.307c-.147-.516-.367-.911-.66-1.187-.492-.465-1.132-.698-1.92-.698-.902 0-1.63.296-2.184.89-.554.593-.83 1.426-.83 2.498 0 1.014.275 1.813.825 2.397.551.585 1.254.877 2.11.877zM14.88 34v-1.235h-1.234V34h1.234z"/></svg>'}],o=i("Numbered List"),l=i("Numbered list styles toolbar"),a="numberedList";e.ui.componentFactory.add(a,Mt({editor:e,normalizedConfig:s,parentCommandName:a,buttonLabel:o,buttonIcon:t.icons.numberedList,styleGridAriaLabel:l,styleDefinitions:n})),r.includes("numbered")&&e.ui.componentFactory.add(`menuBar:${a}`,Ft({editor:e,normalizedConfig:s,parentCommandName:a,buttonLabel:o,styleGridAriaLabel:l,styleDefinitions:n}))}}}function Mt({editor:t,normalizedConfig:e,parentCommandName:i,buttonLabel:n,buttonIcon:s,styleGridAriaLabel:r,styleDefinitions:o}){const l=t.commands.get(i);return a=>{const c=(0,dt.createDropdown)(a,dt.SplitButtonView),d=c.buttonView;return c.bind("isEnabled").to(l),c.class="ck-list-styles-dropdown",d.on("execute",(()=>{t.execute(i),t.editing.view.focus()})),d.set({label:n,icon:s,tooltip:!0,isToggleable:!0}),d.bind("isOn").to(l,"value",(t=>!!t)),c.once("change:isOpen",(()=>{const n=function({editor:t,normalizedConfig:e,dropdownView:i,parentCommandName:n,styleDefinitions:s,styleGridAriaLabel:r}){const o=t.locale,l={...e,..."numberedList"!=n?{startIndex:!1,reversed:!1}:null},a=n.replace("List","");let c=null;if(e.styles.listTypes.includes(a)){const e=t.commands.get("listStyle"),i=Dt({editor:t,parentCommandName:n,listStyleCommand:e}),r=Ht(e);c=s.filter(r).map(i)}const d=new Bt(o,{styleGridAriaLabel:r,enabledProperties:l,styleButtonViews:c});e.styles.listTypes.includes(a)&&(0,dt.focusChildOnDropdownOpen)(i,(()=>d.stylesView.children.find((t=>t.isOn))));if(l.startIndex){const e=t.commands.get("listStart");d.startIndexFieldView.bind("isEnabled").to(e),d.startIndexFieldView.fieldView.bind("value").to(e),d.on("listStart",((e,i)=>t.execute("listStart",i)))}if(l.reversed){const e=t.commands.get("listReversed");d.reversedSwitchButtonView.bind("isEnabled").to(e),d.reversedSwitchButtonView.bind("isOn").to(e,"value",(t=>!!t)),d.on("listReversed",(()=>{const i=e.value;t.execute("listReversed",{reversed:!i})}))}return d.delegate("execute").to(i),d}({editor:t,normalizedConfig:e,dropdownView:c,parentCommandName:i,styleGridAriaLabel:r,styleDefinitions:o});c.panelView.children.add(n)})),c.on("execute",(()=>{t.editing.view.focus()})),c}}function Dt({editor:t,listStyleCommand:e,parentCommandName:i}){const n=t.locale,s=t.commands.get(i);return({label:r,type:o,icon:l,tooltip:a})=>{const c=new dt.ButtonView(n);return c.set({label:r,icon:l,tooltip:a}),e.on("change:value",(()=>{c.isOn=e.value===o})),c.on("execute",(()=>{s.value?e.value===o?t.execute(i):e.value!==o&&t.execute("listStyle",{type:o}):t.model.change((()=>{t.execute("listStyle",{type:o})}))})),c}}function Ft({editor:e,normalizedConfig:i,parentCommandName:n,buttonLabel:s,styleGridAriaLabel:r,styleDefinitions:o}){return l=>{const a=new dt.MenuBarMenuView(l),c=e.commands.get(n),d=e.commands.get("listStyle"),u=Ht(d),m=Dt({editor:e,parentCommandName:n,listStyleCommand:d}),p=o.filter(u).map(m),f=new Bt(l,{styleGridAriaLabel:r,enabledProperties:{...i,startIndex:!1,reversed:!1},styleButtonViews:p});return f.delegate("execute").to(a),a.buttonView.set({label:s,icon:t.icons[n]}),a.panelView.children.add(f),a.bind("isEnabled").to(c,"isEnabled"),a.on("execute",(()=>{e.editing.view.focus()})),a}}function Ht(t){return"function"==typeof t.isStyleTypeSupported?e=>t.isStyleTypeSupported(e.type):()=>!0}class jt extends t.Plugin{static get requires(){return[Et,Rt]}static get pluginName(){return"ListProperties"}static get isOfficialPlugin(){return!0}}var Kt=i(783);class $t extends t.Command{constructor(t){super(t),this.on("execute",(()=>{this.refresh()}),{priority:"highest"})}refresh(){const t=this._getSelectedItems();this.value=this._getValue(t),this.isEnabled=!!t.length}execute(t={}){this.editor.model.change((e=>{const i=this._getSelectedItems(),n=void 0===t.forceValue?!this._getValue(i):t.forceValue;for(const t of i)n?e.setAttribute("todoListChecked",!0,t):e.removeAttribute("todoListChecked",t)}))}_getValue(t){return t.every((t=>t.getAttribute("todoListChecked")))}_getSelectedItems(){const t=this.editor.model,e=t.schema,i=t.document.selection.getFirstRange(),n=i.start.parent,s=[];e.checkAttribute(n,"todoListChecked")&&s.push(...u(n));for(const t of i.getItems({shallow:!0}))e.checkAttribute(t,"todoListChecked")&&!s.includes(t)&&s.push(...u(t));return s}}class qt extends Kt.DomEventObserver{constructor(){super(...arguments),this.domEventType=["change"]}onDomEvent(t){if(t.target){const e=this.view.domConverter.mapDomToView(t.target);e&&e.is("element","input")&&"checkbox"==e.getAttribute("type")&&e.findAncestor({classes:"todo-list__label"})&&this.fire("todoCheckboxChange",t)}}}const Ut=(0,r.parseKeystroke)("Ctrl+Enter");class Wt extends t.Plugin{static get pluginName(){return"TodoListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[at]}init(){const t=this.editor,e=t.model,i=t.editing,n=t.plugins.get(at),s=t.config.get("list.multiBlock")?"paragraph":"listItem";t.commands.add("todoList",new P(t,"todo")),t.commands.add("checkTodoList",new $t(t)),i.view.addObserver(qt),e.schema.extend("$listItem",{allowAttributes:"todoListChecked"}),e.schema.addAttributeCheck((t=>{const e=t.last;if(!e.getAttribute("listItemId")||"todo"!=e.getAttribute("listType"))return!1}),"todoListChecked"),t.conversion.for("upcast").add((t=>{t.on("element:input",((t,e,i)=>{const n=e.modelCursor,s=n.parent,r=e.viewItem;if(!i.consumable.test(r,{name:!0}))return;if("checkbox"!=r.getAttribute("type")||!n.isAtStart||!s.hasAttribute("listType"))return;i.consumable.consume(r,{name:!0});const o=i.writer;o.setAttribute("listType","todo",s),e.viewItem.hasAttribute("checked")&&o.setAttribute("todoListChecked",!0,s),e.modelRange=o.createRange(n)})),t.on("element:li",((t,e,i)=>{const{writer:n,schema:s}=i;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter((t=>"todo"===t.getAttribute("listType")&&s.checkAttribute(t,"listItemId"))).reduce(((t,e)=>{const i=e.getAttribute("listItemId");return t.has(i)||t.set(i,u(e)),t}),new Map);for(const[,t]of r.entries())if(t.some((t=>t.getAttribute("todoListChecked"))))for(const e of t)n.setAttribute("todoListChecked",!0,e)}),{priority:"low"}),t.on("element:label",Gt({name:"label",classes:"todo-list__label"})),t.on("element:label",Gt({name:"label",classes:["todo-list__label","todo-list__label_without-description"]})),t.on("element:span",Gt({name:"span",classes:"todo-list__label__description"})),t.on("element:ul",function(t){const e=new Kt.Matcher(t);return(t,i,n)=>{const s=e.match(i.viewItem);if(!s)return;const r=s.match;r.name=!1,n.consumable.consume(i.viewItem,r)}}({name:"ul",classes:"todo-list"}))})),t.conversion.for("downcast").elementToElement({model:s,view:(t,{writer:e})=>{if(Yt(t,n.getListAttributeNames()))return e.createContainerElement("span",{class:"todo-list__label__description"})},converterPriority:"highest"}),n.registerDowncastStrategy({scope:"list",attributeName:"listType",setAttributeOnDowncast(t,e,i){"todo"==e?t.addClass("todo-list",i):t.removeClass("todo-list",i)}}),n.registerDowncastStrategy({scope:"itemMarker",attributeName:"todoListChecked",createElement(t,e,{dataPipeline:i}){if("todo"!=e.getAttribute("listType"))return null;const n=t.createUIElement("input",{type:"checkbox",...e.getAttribute("todoListChecked")?{checked:"checked"}:null,...i?{disabled:"disabled"}:{tabindex:"-1"}});if(i)return n;const s=t.createContainerElement("span",{contenteditable:"false"},n);return s.getFillerOffset=()=>null,s},canWrapElement:t=>Yt(t,n.getListAttributeNames()),createWrapperElement(t,e,{dataPipeline:i}){const s=["todo-list__label"];return Yt(e,n.getListAttributeNames())||s.push("todo-list__label_without-description"),t.createAttributeElement(i?"label":"span",{class:s.join(" ")})}}),n.on("checkElement",((t,{modelElement:e,viewElement:i})=>{const s=Yt(e,n.getListAttributeNames());i.hasClass("todo-list__label__description")!=s&&(t.return=!0,t.stop())})),n.on("checkElement",((e,{modelElement:i,viewElement:n})=>{const s="todo"==i.getAttribute("listType")&&f(i);let r=!1;const o=t.editing.view.createPositionBefore(n).getWalker({direction:"backward"});for(const{item:e}of o){if(e.is("element")&&t.editing.mapper.toModelElement(e))break;e.is("element","input")&&"checkbox"==e.getAttribute("type")&&(r=!0)}r!=s&&(e.return=!0,e.stop())})),n.on("postFixer",((t,{listNodes:e,writer:i})=>{for(const{node:n,previousNodeInList:s}of e){if(!s)continue;if(s.getAttribute("listItemId")!=n.getAttribute("listItemId"))continue;const e=s.hasAttribute("todoListChecked"),r=n.hasAttribute("todoListChecked");r&&!e?(i.removeAttribute("todoListChecked",n),t.return=!0):!r&&e&&(i.setAttribute("todoListChecked",!0,n),t.return=!0)}})),e.document.registerPostFixer((t=>{const i=e.document.differ.getChanges();let n=!1;for(const e of i)if("attribute"==e.type&&"listType"==e.attributeKey){const i=e.range.start.nodeAfter;"todo"==e.attributeOldValue&&i.hasAttribute("todoListChecked")&&(t.removeAttribute("todoListChecked",i),n=!0)}else if("insert"==e.type&&"$text"!=e.name)for(const{item:i}of t.createRangeOn(e.position.nodeAfter))i.is("element")&&"todo"!=i.getAttribute("listType")&&i.hasAttribute("todoListChecked")&&(t.removeAttribute("todoListChecked",i),n=!0);return n})),this.listenTo(i.view.document,"keydown",((e,i)=>{(0,r.getCode)(i)===Ut&&(t.execute("checkTodoList"),e.stop())}),{priority:"high"}),this.listenTo(i.view.document,"todoCheckboxChange",((t,e)=>{const n=e.target;if(!n||!n.is("element","input"))return;const s=i.view.createPositionAfter(n),r=i.mapper.toModelPosition(s).parent;r&&d(r)&&"todo"==r.getAttribute("listType")&&this._handleCheckmarkChange(r)})),this.listenTo(i.view.document,"arrowKey",function(t,e){return(i,n)=>{const s=(0,r.getLocalizedArrowKeyCodeDirection)(n.keyCode,e.contentLanguageDirection),o=t.schema,l=t.document.selection;if(!l.isCollapsed)return;const a=l.getFirstPosition(),c=a.parent;if("right"==s&&a.isAtEnd){const e=o.getNearestSelectionRange(t.createPositionAfter(c),"forward");if(!e)return;const s=e.start.parent;s&&d(s)&&"todo"==s.getAttribute("listType")&&(t.change((t=>t.setSelection(e))),n.preventDefault(),n.stopPropagation(),i.stop())}else if("left"==s&&a.isAtStart&&d(c)&&"todo"==c.getAttribute("listType")){const e=o.getNearestSelectionRange(t.createPositionBefore(c),"backward");if(!e)return;t.change((t=>t.setSelection(e))),n.preventDefault(),n.stopPropagation(),i.stop()}}}(e,t.locale),{context:"$text"}),this.listenTo(i.mapper,"viewToModelPosition",((t,i)=>{const n=i.viewPosition.parent,s=n.is("attributeElement","li")&&0==i.viewPosition.offset,r=Jt(n)&&i.viewPosition.offset<=1,o=n.is("element","span")&&"false"==n.getAttribute("contenteditable")&&Jt(n.parent);if(!s&&!r&&!o)return;const l=i.modelPosition.nodeAfter;l&&"todo"==l.getAttribute("listType")&&(i.modelPosition=e.createPositionAt(l,0))}),{priority:"low"}),this._initAriaAnnouncements()}_handleCheckmarkChange(t){const e=this.editor,i=e.model,n=Array.from(i.document.selection.getRanges());i.change((i=>{i.setSelection(t,"end"),e.execute("checkTodoList"),i.setSelection(n)}))}_initAriaAnnouncements(){const{model:t,ui:e,t:i}=this.editor;let n=null;e&&t.document.selection.on("change:range",(()=>{const s=t.document.selection.focus.parent,r=Qt(n),o=Qt(s);r&&!o?e.ariaLiveAnnouncer.announce(i("Leaving a to-do list")):!r&&o&&e.ariaLiveAnnouncer.announce(i("Entering a to-do list")),n=s}))}}function Gt(t){const e=new Kt.Matcher(t);return(t,i,n)=>{const s=e.match(i.viewItem);s&&n.consumable.consume(i.viewItem,s.match)&&Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor))}}function Yt(t,e){return(t.is("element","paragraph")||t.is("element","listItem"))&&"todo"==t.getAttribute("listType")&&f(t)&&function(t,e){for(const i of t.getAttributeKeys())if(!i.startsWith("selection:")&&!e.includes(i))return!1;return!0}(t,e)}function Jt(t){return!!t&&t.is("attributeElement")&&t.hasClass("todo-list__label")}function Qt(t){return!!t&&(!(!t.is("element","paragraph")&&!t.is("element","listItem"))&&"todo"==t.getAttribute("listType"))}class Xt extends t.Plugin{static get pluginName(){return"TodoListUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.t;ut(this.editor,"todoList",e("To-do List"),t.icons.todoList)}}var Zt=i(825),te={attributes:{"data-cke":!0}};te.setAttributes=tt(),te.insert=X().bind(null,"head"),te.domAPI=J(),te.insertStyleElement=it();G()(Zt.A,te);Zt.A&&Zt.A.locals&&Zt.A.locals;class ee extends t.Plugin{static get requires(){return[Wt,Xt]}static get pluginName(){return"TodoList"}static get isOfficialPlugin(){return!0}}class ie extends t.Command{constructor(t,e){super(t),this.type=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,i=e.document,n=Array.from(i.selection.getSelectedBlocks()).filter((t=>se(t,e.schema))),s=void 0!==t.forceValue?!t.forceValue:this.value;e.change((t=>{if(s){let e=n[n.length-1].nextSibling,i=Number.POSITIVE_INFINITY,s=[];for(;e&&"listItem"==e.name&&0!==e.getAttribute("listIndent");){const t=e.getAttribute("listIndent");t<i&&(i=t);const n=t-i;s.push({element:e,listIndent:n}),e=e.nextSibling}s=s.reverse();for(const e of s)t.setAttribute("listIndent",e.listIndent,e.element)}if(!s){let t=Number.POSITIVE_INFINITY;for(const e of n)e.is("element","listItem")&&e.getAttribute("listIndent")<t&&(t=e.getAttribute("listIndent"));t=0===t?1:t,ne(n,!0,t),ne(n,!1,t)}for(const e of n.reverse())s&&"listItem"==e.name?t.rename(e,"paragraph"):s||"listItem"==e.name?s||"listItem"!=e.name||e.getAttribute("listType")==this.type||t.setAttribute("listType",this.type,e):(t.setAttributes({listType:this.type,listIndent:0},e),t.rename(e,"listItem"));this.fire("_executeCleanup",n)}))}_getValue(){const t=(0,r.first)(this.editor.model.document.selection.getSelectedBlocks());return!!t&&t.is("element","listItem")&&t.getAttribute("listType")==this.type}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,i=(0,r.first)(t.getSelectedBlocks());return!!i&&se(i,e)}}function ne(t,e,i){const n=e?t[0]:t[t.length-1];if(n.is("element","listItem")){let s=n[e?"previousSibling":"nextSibling"],r=n.getAttribute("listIndent");for(;s&&s.is("element","listItem")&&s.getAttribute("listIndent")>=i;)r>s.getAttribute("listIndent")&&(r=s.getAttribute("listIndent")),s.getAttribute("listIndent")==r&&t[e?"unshift":"push"](s),s=s[e?"previousSibling":"nextSibling"]}}function se(t,e){return e.checkChild(t.parent,"listItem")&&!e.isObject(t)}class re extends t.Command{constructor(t,e){super(t),this._indentBy="forward"==e?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=t.document;let i=Array.from(e.selection.getSelectedBlocks());t.change((t=>{const e=i[i.length-1];let n=e.nextSibling;for(;n&&"listItem"==n.name&&n.getAttribute("listIndent")>e.getAttribute("listIndent");)i.push(n),n=n.nextSibling;this._indentBy<0&&(i=i.reverse());for(const e of i){const i=e.getAttribute("listIndent")+this._indentBy;i<0?t.rename(e,"paragraph"):t.setAttribute("listIndent",i,e)}this.fire("_executeCleanup",i)}))}_checkEnabled(){const t=(0,r.first)(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is("element","listItem"))return!1;if(this._indentBy>0){const e=t.getAttribute("listIndent"),i=t.getAttribute("listType");let n=t.previousSibling;for(;n&&n.is("element","listItem")&&n.getAttribute("listIndent")>=e;){if(n.getAttribute("listIndent")==e)return n.getAttribute("listType")==i;n=n.previousSibling}return!1}return!0}}function oe(t,e){const i=e.mapper,n=e.writer,s="numbered"==t.getAttribute("listType")?"ol":"ul",r=function(t){const e=t.createContainerElement("li");return e.getFillerOffset=be,e}(n),o=n.createContainerElement(s,null);return n.insert(n.createPositionAt(o,0),r),i.bindElements(t,r),r}function le(t,e,i,n){const s=e.parent,r=i.mapper,o=i.writer;let l=r.toViewPosition(n.createPositionBefore(t));const a=de(t.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:t.getAttribute("listIndent")}),c=t.previousSibling;if(a&&a.getAttribute("listIndent")==t.getAttribute("listIndent")){const t=r.toViewElement(a);l=o.breakContainer(o.createPositionAfter(t))}else if(c&&"listItem"==c.name){l=r.toViewPosition(n.createPositionAt(c,"end"));const t=r.findMappedViewAncestor(l),e=ue(t);l=e?o.createPositionBefore(e):o.createPositionAt(t,"end")}else l=r.toViewPosition(n.createPositionBefore(t));if(l=ce(l),o.insert(l,s),c&&"listItem"==c.name){const t=r.toViewElement(c),i=o.createRange(o.createPositionAt(t,0),l).getWalker({ignoreElementEnd:!0});for(const t of i)if(t.item.is("element","li")){const n=o.breakContainer(o.createPositionBefore(t.item)),s=t.item.parent,r=o.createPositionAt(e,"end");ae(o,r.nodeBefore,r.nodeAfter),o.move(o.createRangeOn(s),r),i._position=n}}else{const i=s.nextSibling;if(i&&(i.is("element","ul")||i.is("element","ol"))){let n=null;for(const e of i.getChildren()){const i=r.toModelElement(e);if(!(i&&i.getAttribute("listIndent")>t.getAttribute("listIndent")))break;n=e}n&&(o.breakContainer(o.createPositionAfter(n)),o.move(o.createRangeOn(n.parent),o.createPositionAt(e,"end")))}}ae(o,s,s.nextSibling),ae(o,s.previousSibling,s)}function ae(t,e,i){return!e||!i||"ul"!=e.name&&"ol"!=e.name||e.name!=i.name||e.getAttribute("class")!==i.getAttribute("class")?null:t.mergeContainers(t.createPositionAfter(e))}function ce(t){return t.getLastMatchingPosition((t=>t.item.is("uiElement")))}function de(t,e){const i=!!e.sameIndent,n=!!e.smallerIndent,s=e.listIndent;let r=t;for(;r&&"listItem"==r.name;){const t=r.getAttribute("listIndent");if(i&&s==t||n&&s>t)return r;r="forward"===e.direction?r.nextSibling:r.previousSibling}return null}function ue(t){for(const e of t.getChildren())if("ul"==e.name||"ol"==e.name)return e;return null}function me(t,e){const i=[],n=t.parent,s={ignoreElementEnd:!1,startPosition:t,shallow:!0,direction:e},r=n.getAttribute("listIndent"),o=[...new Kt.TreeWalker(s)].filter((t=>t.item.is("element"))).map((t=>t.item));for(const t of o){if(!t.is("element","listItem"))break;if(t.getAttribute("listIndent")<r)break;if(!(t.getAttribute("listIndent")>r)){if(t.getAttribute("listType")!==n.getAttribute("listType"))break;if(t.getAttribute("listStyle")!==n.getAttribute("listStyle"))break;if(t.getAttribute("listReversed")!==n.getAttribute("listReversed"))break;if(t.getAttribute("listStart")!==n.getAttribute("listStart"))break;"backward"===e?i.unshift(t):i.push(t)}}return i}function pe(t){let e=[...t.document.selection.getSelectedBlocks()].filter((t=>t.is("element","listItem"))).map((e=>{const i=t.change((t=>t.createPositionAt(e,0)));return[...me(i,"backward"),...me(i,"forward")]})).flat();return e=[...new Set(e)],e}const fe=["disc","circle","square"],ge=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function he(t){return fe.includes(t)?"bulleted":ge.includes(t)?"numbered":null}function be(){const t=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||t?0:Kt.getFillerOffset.call(this)}class ye extends t.Plugin{static get pluginName(){return"LegacyListUtils"}static get isOfficialPlugin(){return!0}getListTypeFromListStyleType(t){return he(t)}getSelectedListItems(t){return pe(t)}getSiblingNodes(t,e){return me(t,e)}}function Ae(t){return(e,i,n)=>{const s=n.consumable;if(!s.test(i.item,"insert")||!s.test(i.item,"attribute:listType")||!s.test(i.item,"attribute:listIndent"))return;s.consume(i.item,"insert"),s.consume(i.item,"attribute:listType"),s.consume(i.item,"attribute:listIndent");const r=i.item;le(r,oe(r,n),n,t)}}const ve=(t,e,i)=>{if(!i.consumable.test(e.item,t.name))return;const n=i.mapper.toViewElement(e.item),s=i.writer;s.breakContainer(s.createPositionBefore(n)),s.breakContainer(s.createPositionAfter(n));const r=n.parent,o="numbered"==e.attributeNewValue?"ol":"ul";s.rename(o,r)},we=(t,e,i)=>{i.consumable.consume(e.item,t.name);const n=i.mapper.toViewElement(e.item).parent,s=i.writer;ae(s,n,n.nextSibling),ae(s,n.previousSibling,n)};const Ie=(t,e,i)=>{if(i.consumable.test(e.item,t.name)&&"listItem"!=e.item.name){let t=i.mapper.toViewPosition(e.range.start);const n=i.writer,s=[];for(;("ul"==t.parent.name||"ol"==t.parent.name)&&(t=n.breakContainer(t),"li"==t.parent.name);){const e=t,i=n.createPositionAt(t.parent,"end");if(!e.isEqual(i)){const t=n.remove(n.createRange(e,i));s.push(t)}t=n.createPositionAfter(t.parent)}if(s.length>0){for(let e=0;e<s.length;e++){const i=t.nodeBefore;if(t=n.insert(t,s[e]).end,e>0){const e=ae(n,i,i.nextSibling);e&&e.parent==i&&t.offset--}}ae(n,t.nodeBefore,t.nodeAfter)}}},ke=(t,e,i)=>{const n=i.mapper.toViewPosition(e.position),s=n.nodeBefore,r=n.nodeAfter;ae(i.writer,s,r)},Te=(t,e,i)=>{if(i.consumable.consume(e.viewItem,{name:!0})){const t=i.writer,n=t.createElement("listItem"),s=function(t){let e=0,i=t.parent;for(;i;){if(i.is("element","li"))e++;else{const t=i.previousSibling;t&&t.is("element","li")&&e++}i=i.parent}return e}(e.viewItem);t.setAttribute("listIndent",s,n);const r=e.viewItem.parent&&"ol"==e.viewItem.parent.name?"numbered":"bulleted";if(t.setAttribute("listType",r,n),!i.safeInsert(n,e.modelCursor))return;const o=function(t,e,i){const{writer:n,schema:s}=i;let r=n.createPositionAfter(t);for(const o of e)if("ul"==o.name||"ol"==o.name)r=i.convertItem(o,r).modelCursor;else{const e=i.convertItem(o,n.createPositionAt(t,"end")),l=e.modelRange.start.nodeAfter;l&&l.is("element")&&!s.checkChild(t,l.name)&&(t=e.modelCursor.parent.is("element","listItem")?e.modelCursor.parent:Ce(e.modelCursor),r=n.createPositionAfter(t))}return r}(n,e.viewItem.getChildren(),i);e.modelRange=t.createRange(e.modelCursor,o),i.updateConversionResult(n,e)}},xe=(t,e,i)=>{if(i.consumable.test(e.viewItem,{name:!0})){const t=Array.from(e.viewItem.getChildren());for(const e of t){!(e.is("element","li")||Ee(e))&&e._remove()}}},_e=(t,e,i)=>{if(i.consumable.test(e.viewItem,{name:!0})){if(0===e.viewItem.childCount)return;const t=[...e.viewItem.getChildren()];let i=!1;for(const e of t)i&&!Ee(e)&&e._remove(),Ee(e)&&(i=!0)}};function Le(t){return(e,i)=>{if(i.isPhantom)return;const n=i.modelPosition.nodeBefore;if(n&&n.is("element","listItem")){const e=i.mapper.toViewElement(n),s=e.getAncestors().find(Ee),r=t.createPositionAt(e,0).getWalker();for(const t of r){if("elementStart"==t.type&&t.item.is("element","li")){i.viewPosition=t.previousPosition;break}if("elementEnd"==t.type&&t.item==s){i.viewPosition=t.nextPosition;break}}}}}const Se=function(t,[e,i]){const n=this;let s,r=e.is("documentFragment")?e.getChild(0):e;if(s=i?n.createSelection(i):n.document.selection,r&&r.is("element","listItem")){const t=s.getFirstPosition();let e=null;if(t.parent.is("element","listItem")?e=t.parent:t.nodeBefore&&t.nodeBefore.is("element","listItem")&&(e=t.nodeBefore),e){const t=e.getAttribute("listIndent");if(t>0)for(;r&&r.is("element","listItem");)r._setAttribute("listIndent",r.getAttribute("listIndent")+t),r=r.nextSibling}}};function Ce(t){const e=new Kt.TreeWalker({startPosition:t});let i;do{i=e.next()}while(!i.value.item.is("element","listItem"));return i.value.item}function Pe(t,e,i,n,s,r){const o=de(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:t}),l=s.mapper,a=s.writer,c=o?o.getAttribute("listIndent"):null;let d;if(o)if(c==t){const t=l.toViewElement(o).parent;d=a.createPositionAfter(t)}else{const t=r.createPositionAt(o,"end");d=l.toViewPosition(t)}else d=i;d=ce(d);for(const t of[...n.getChildren()])Ee(t)&&(d=a.move(a.createRangeOn(t),d).end,ae(a,t,t.nextSibling),ae(a,t.previousSibling,t))}function Ee(t){return t.is("element","ol")||t.is("element","ul")}class Ve extends t.Plugin{static get pluginName(){return"LegacyListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[s.Enter,e.Delete,ye]}init(){const t=this.editor;t.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const e=t.data,i=t.editing;var n;t.model.document.registerPostFixer((e=>function(t,e){const i=t.document.differ.getChanges(),n=new Map;let s=!1;for(const n of i)if("insert"==n.type&&"listItem"==n.name)r(n.position);else if("insert"==n.type&&"listItem"!=n.name){if("$text"!=n.name){const i=n.position.nodeAfter;i.hasAttribute("listIndent")&&(e.removeAttribute("listIndent",i),s=!0),i.hasAttribute("listType")&&(e.removeAttribute("listType",i),s=!0),i.hasAttribute("listStyle")&&(e.removeAttribute("listStyle",i),s=!0),i.hasAttribute("listReversed")&&(e.removeAttribute("listReversed",i),s=!0),i.hasAttribute("listStart")&&(e.removeAttribute("listStart",i),s=!0);for(const e of Array.from(t.createRangeIn(i)).filter((t=>t.item.is("element","listItem"))))r(e.previousPosition)}r(n.position.getShiftedBy(n.length))}else"remove"==n.type&&"listItem"==n.name?r(n.position):("attribute"==n.type&&"listIndent"==n.attributeKey||"attribute"==n.type&&"listType"==n.attributeKey)&&r(n.range.start);for(const t of n.values())o(t),l(t);return s;function r(t){const e=t.nodeBefore;if(e&&e.is("element","listItem")){let t=e;if(n.has(t))return;for(let e=t.previousSibling;e&&e.is("element","listItem");e=t.previousSibling)if(t=e,n.has(t))return;n.set(e,t)}else{const e=t.nodeAfter;e&&e.is("element","listItem")&&n.set(e,e)}}function o(t){let i=0,n=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(r>i){let o;null===n?(n=r-i,o=i):(n>r&&(n=r),o=r-n),e.setAttribute("listIndent",o,t),s=!0}else n=null,i=t.getAttribute("listIndent")+1;t=t.nextSibling}}function l(t){let i=[],n=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(n&&n.getAttribute("listIndent")>r&&(i=i.slice(0,r+1)),0!=r)if(i[r]){const n=i[r];t.getAttribute("listType")!=n&&(e.setAttribute("listType",n,t),s=!0)}else i[r]=t.getAttribute("listType");n=t,t=t.nextSibling}}}(t.model,e))),i.mapper.registerViewToModelLength("li",ze),e.mapper.registerViewToModelLength("li",ze),i.mapper.on("modelToViewPosition",Le(i.view)),i.mapper.on("viewToModelPosition",(n=t.model,(t,e)=>{const i=e.viewPosition,s=i.parent,r=e.mapper;if("ul"==s.name||"ol"==s.name){if(i.isAtEnd){const t=r.toModelElement(i.nodeBefore),s=r.getModelLength(i.nodeBefore);e.modelPosition=n.createPositionBefore(t).getShiftedBy(s)}else{const t=r.toModelElement(i.nodeAfter);e.modelPosition=n.createPositionBefore(t)}t.stop()}else if("li"==s.name&&i.nodeBefore&&("ul"==i.nodeBefore.name||"ol"==i.nodeBefore.name)){const o=r.toModelElement(s);let l=1,a=i.nodeBefore;for(;a&&Ee(a);)l+=r.getModelLength(a),a=a.previousSibling;e.modelPosition=n.createPositionBefore(o).getShiftedBy(l),t.stop()}})),e.mapper.on("modelToViewPosition",Le(i.view)),t.conversion.for("editingDowncast").add((e=>{e.on("insert",Ie,{priority:"high"}),e.on("insert:listItem",Ae(t.model)),e.on("attribute:listType:listItem",ve,{priority:"high"}),e.on("attribute:listType:listItem",we,{priority:"low"}),e.on("attribute:listIndent:listItem",function(t){return(e,i,n)=>{if(!n.consumable.consume(i.item,"attribute:listIndent"))return;const s=n.mapper.toViewElement(i.item),r=n.writer;r.breakContainer(r.createPositionBefore(s)),r.breakContainer(r.createPositionAfter(s));const o=s.parent,l=o.previousSibling,a=r.createRangeOn(o);r.remove(a),l&&l.nextSibling&&ae(r,l,l.nextSibling),Pe(i.attributeOldValue+1,i.range.start,a.start,s,n,t),le(i.item,s,n,t);for(const t of i.item.getChildren())n.consumable.consume(t,"insert")}}(t.model)),e.on("remove:listItem",function(t){return(e,i,n)=>{const s=n.mapper.toViewPosition(i.position).getLastMatchingPosition((t=>!t.item.is("element","li"))).nodeAfter,r=n.writer;r.breakContainer(r.createPositionBefore(s)),r.breakContainer(r.createPositionAfter(s));const o=s.parent,l=o.previousSibling,a=r.createRangeOn(o),c=r.remove(a);l&&l.nextSibling&&ae(r,l,l.nextSibling),Pe(n.mapper.toModelElement(s).getAttribute("listIndent")+1,i.position,a.start,s,n,t);for(const t of r.createRangeIn(c).getItems())n.mapper.unbindViewElement(t);e.stop()}}(t.model)),e.on("remove",ke,{priority:"low"})})),t.conversion.for("dataDowncast").add((e=>{e.on("insert",Ie,{priority:"high"}),e.on("insert:listItem",Ae(t.model))})),t.conversion.for("upcast").add((t=>{t.on("element:ul",xe,{priority:"high"}),t.on("element:ol",xe,{priority:"high"}),t.on("element:li",_e,{priority:"high"}),t.on("element:li",Te)})),t.model.on("insertContent",Se,{priority:"high"}),t.commands.add("numberedList",new ie(t,"numbered")),t.commands.add("bulletedList",new ie(t,"bulleted")),t.commands.add("indentList",new re(t,"forward")),t.commands.add("outdentList",new re(t,"backward"));const s=i.view.document;this.listenTo(s,"enter",((t,e)=>{const i=this.editor.model.document,n=i.selection.getLastPosition().parent;i.selection.isCollapsed&&"listItem"==n.name&&n.isEmpty&&(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(s,"delete",((t,e)=>{if("backward"!==e.direction)return;const i=this.editor.model.document.selection;if(!i.isCollapsed)return;const n=i.getFirstPosition();if(!n.isAtStart)return;const s=n.parent;if("listItem"!==s.name)return;s.previousSibling&&"listItem"===s.previousSibling.name||(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(t.editing.view.document,"tab",((e,i)=>{const n=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(n).isEnabled&&(t.execute(n),i.stopPropagation(),i.preventDefault(),e.stop())}),{context:"li"})}afterInit(){const t=this.editor.commands,e=t.get("indent"),i=t.get("outdent");e&&e.registerChildCommand(t.get("indentList")),i&&i.registerChildCommand(t.get("outdentList"))}}function ze(t){let e=1;for(const i of t.getChildren())if("ul"==i.name||"ol"==i.name)for(const t of i.getChildren())e+=ze(t);return e}class Be extends t.Plugin{static get requires(){return[Ve,pt]}static get pluginName(){return"LegacyList"}static get isOfficialPlugin(){return!0}}class Ne extends t.Command{constructor(t,e){super(t),this.defaultType=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){this._tryToConvertItemsToList(t);const e=this.editor.model,i=pe(e);i.length&&e.change((e=>{for(const n of i)e.setAttribute("listStyle",t.type||this.defaultType,n)}))}_getValue(){const t=this.editor.model.document.selection.getFirstPosition().parent;return t&&t.is("element","listItem")?t.getAttribute("listStyle"):null}_checkEnabled(){const t=this.editor,e=t.commands.get("numberedList"),i=t.commands.get("bulletedList");return e.isEnabled||i.isEnabled}_tryToConvertItemsToList(t){if(!t.type)return;const e=he(t.type);if(!e)return;const i=this.editor,n=`${e}List`;i.commands.get(n).value||i.execute(n)}}class Oe extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute(t={}){const e=this.editor.model,i=pe(e).filter((t=>"numbered"==t.getAttribute("listType")));e.change((e=>{for(const n of i)e.setAttribute("listReversed",!!t.reversed,n)}))}_getValue(){const t=this.editor.model.document.selection.getFirstPosition().parent;return t&&t.is("element","listItem")&&"numbered"==t.getAttribute("listType")?t.getAttribute("listReversed"):null}}class Re extends t.Command{refresh(){const t=this._getValue();this.value=t,this.isEnabled=null!=t}execute({startIndex:t=1}={}){const e=this.editor.model,i=pe(e).filter((t=>"numbered"==t.getAttribute("listType")));e.change((e=>{for(const n of i)e.setAttribute("listStart",t>=0?t:1,n)}))}_getValue(){const t=this.editor.model.document.selection.getFirstPosition().parent;return t&&t.is("element","listItem")&&"numbered"==t.getAttribute("listType")?t.getAttribute("listStart"):null}}const Me="default";class De extends t.Plugin{static get requires(){return[Ve]}static get pluginName(){return"LegacyListPropertiesEditing"}static get isOfficialPlugin(){return!0}constructor(t){super(t),t.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const t=this.editor,e=t.model,i=function(t){const e=[];t.styles&&e.push({attributeName:"listStyle",defaultValue:Me,addCommand(t){t.commands.add("listStyle",new Ne(t,Me))},appliesToListItem:()=>!0,setAttributeOnDowncast(t,e,i){e&&e!==Me?t.setStyle("list-style-type",e,i):t.removeStyle("list-style-type",i)},getAttributeOnUpcast:t=>t.getStyle("list-style-type")||Me});t.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,addCommand(t){t.commands.add("listReversed",new Oe(t))},appliesToListItem:t=>"numbered"==t.getAttribute("listType"),setAttributeOnDowncast(t,e,i){e?t.setAttribute("reversed","reversed",i):t.removeAttribute("reversed",i)},getAttributeOnUpcast:t=>t.hasAttribute("reversed")});t.startIndex&&e.push({attributeName:"listStart",defaultValue:1,addCommand(t){t.commands.add("listStart",new Re(t))},appliesToListItem:t=>"numbered"==t.getAttribute("listType"),setAttributeOnDowncast(t,e,i){0==e||e>1?t.setAttribute("start",e,i):t.removeAttribute("start",i)},getAttributeOnUpcast(t){const e=t.getAttribute("start");return e>=0?e:1}});return e}(t.config.get("list.properties"));e.schema.extend("listItem",{allowAttributes:i.map((t=>t.attributeName))});for(const e of i)e.addCommand(t);var n;this.listenTo(t.commands.get("indentList"),"_executeCleanup",function(t,e){return(i,n)=>{const s=n[0],r=s.getAttribute("listIndent"),o=n.filter((t=>t.getAttribute("listIndent")===r));let l=null;s.previousSibling.getAttribute("listIndent")+1!==r&&(l=de(s.previousSibling,{sameIndent:!0,direction:"backward",listIndent:r})),t.model.change((t=>{for(const i of o)for(const n of e)if(n.appliesToListItem(i)){const e=null==l?n.defaultValue:l.getAttribute(n.attributeName);t.setAttribute(n.attributeName,e,i)}}))}}(t,i)),this.listenTo(t.commands.get("outdentList"),"_executeCleanup",function(t,e){return(i,n)=>{if(!(n=n.reverse().filter((t=>t.is("element","listItem")))).length)return;const s=n[0].getAttribute("listIndent"),r=n[0].getAttribute("listType");let o=n[0].previousSibling;if(o.is("element","listItem"))for(;o.getAttribute("listIndent")!==s;)o=o.previousSibling;else o=null;o||(o=n[n.length-1].nextSibling),o&&o.is("element","listItem")&&o.getAttribute("listType")===r&&t.model.change((t=>{const i=n.filter((t=>t.getAttribute("listIndent")===s));for(const n of i)for(const i of e)if(i.appliesToListItem(n)){const e=i.attributeName,s=o.getAttribute(e);t.setAttribute(e,s,n)}}))}}(t,i)),this.listenTo(t.commands.get("bulletedList"),"_executeCleanup",je(t)),this.listenTo(t.commands.get("numberedList"),"_executeCleanup",je(t)),e.document.registerPostFixer(function(t,e){return i=>{let n=!1;const s=Ke(t.model.document.differ.getChanges()).filter((t=>"todo"!==t.getAttribute("listType")));if(!s.length)return n;let r=s[s.length-1].nextSibling;if((!r||!r.is("element","listItem"))&&(r=s[0].previousSibling,r)){const t=s[0].getAttribute("listIndent");for(;r.is("element","listItem")&&r.getAttribute("listIndent")!==t&&(r=r.previousSibling,r););}for(const t of e){const e=t.attributeName;for(const o of s)if(t.appliesToListItem(o))if(o.hasAttribute(e)){const s=o.previousSibling;He(s,o,t.attributeName)&&(i.setAttribute(e,s.getAttribute(e),o),n=!0)}else Fe(r,o,t)?i.setAttribute(e,r.getAttribute(e),o):i.setAttribute(e,t.defaultValue,o),n=!0;else i.removeAttribute(e,o)}return n}}(t,i)),t.conversion.for("upcast").add((n=i,t=>{t.on("element:li",((t,e,i)=>{if(!e.modelRange)return;const s=e.viewItem.parent,r=e.modelRange.start.nodeAfter||e.modelRange.end.nodeBefore;for(const t of n)if(t.appliesToListItem(r)){const e=t.getAttributeOnUpcast(s);i.writer.setAttribute(t.attributeName,e,r)}}),{priority:"low"})})),t.conversion.for("downcast").add(function(t){return i=>{for(const n of t)i.on(`attribute:${n.attributeName}:listItem`,((t,i,s)=>{const r=s.writer,o=i.item,l=de(o.previousSibling,{sameIndent:!0,listIndent:o.getAttribute("listIndent"),direction:"backward"}),a=s.mapper.toViewElement(o);e(o,l)||r.breakContainer(r.createPositionBefore(a)),n.setAttributeOnDowncast(r,i.attributeNewValue,a.parent)}),{priority:"low"})};function e(t,e){return e&&t.getAttribute("listType")===e.getAttribute("listType")&&t.getAttribute("listIndent")===e.getAttribute("listIndent")&&t.getAttribute("listStyle")===e.getAttribute("listStyle")&&t.getAttribute("listReversed")===e.getAttribute("listReversed")&&t.getAttribute("listStart")===e.getAttribute("listStart")}}(i)),this._mergeListAttributesWhileMergingLists(i)}afterInit(){const t=this.editor;t.commands.get("todoList")&&t.model.document.registerPostFixer(function(t){return e=>{const i=Ke(t.model.document.differ.getChanges()).filter((t=>"todo"===t.getAttribute("listType")&&(t.hasAttribute("listStyle")||t.hasAttribute("listReversed")||t.hasAttribute("listStart"))));if(!i.length)return!1;for(const t of i)e.removeAttribute("listStyle",t),e.removeAttribute("listReversed",t),e.removeAttribute("listStart",t);return!0}}(t))}_mergeListAttributesWhileMergingLists(t){const e=this.editor.model;let i;this.listenTo(e,"deleteContent",((t,[e])=>{const n=e.getFirstPosition(),s=e.getLastPosition();if(n.parent===s.parent)return;if(!n.parent.is("element","listItem"))return;const r=s.parent.nextSibling;if(!r||!r.is("element","listItem"))return;const o=de(n.parent,{sameIndent:!0,listIndent:r.getAttribute("listIndent")});o&&o.getAttribute("listType")===r.getAttribute("listType")&&(i=o)}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{i&&(e.change((e=>{const n=de(i.nextSibling,{sameIndent:!0,listIndent:i.getAttribute("listIndent"),direction:"forward"});if(!n)return void(i=null);const s=[n,...me(e.createPositionAt(n,0),"forward")];for(const n of s)for(const s of t)if(s.appliesToListItem(n)){const t=s.attributeName,r=i.getAttribute(t);e.setAttribute(t,r,n)}})),i=null)}),{priority:"low"})}}function Fe(t,e,i){if(!t)return!1;const n=t.getAttribute(i.attributeName);return!!n&&(n!=i.defaultValue&&t.getAttribute("listType")===e.getAttribute("listType"))}function He(t,e,i){if(!t||!t.is("element","listItem"))return!1;if(e.getAttribute("listType")!==t.getAttribute("listType"))return!1;const n=t.getAttribute("listIndent");if(n<1||n!==e.getAttribute("listIndent"))return!1;const s=t.getAttribute(i);return!(!s||s===e.getAttribute(i))}function je(t){return(e,i)=>{i=i.filter((t=>t.is("element","listItem"))),t.model.change((t=>{for(const e of i)t.removeAttribute("listStyle",e)}))}}function Ke(t){const e=[];for(const i of t){const t=$e(i);t&&t.is("element","listItem")&&e.push(t)}return e}function $e(t){return"attribute"===t.type?t.range.start.nodeAfter:"insert"===t.type?t.position.nodeAfter:null}class qe extends t.Plugin{static get requires(){return[De,Rt]}static get pluginName(){return"LegacyListProperties"}static get isOfficialPlugin(){return!0}}const Ue="todoListChecked";class We extends t.Command{constructor(t){super(t),this._selectedElements=[],this.on("execute",(()=>{this.refresh()}),{priority:"highest"})}refresh(){this._selectedElements=this._getSelectedItems(),this.value=this._selectedElements.every((t=>!!t.getAttribute(Ue))),this.isEnabled=!!this._selectedElements.length}_getSelectedItems(){const t=this.editor.model,e=t.schema,i=t.document.selection.getFirstRange(),n=i.start.parent,s=[];e.checkAttribute(n,Ue)&&s.push(n);for(const t of i.getItems())e.checkAttribute(t,Ue)&&!s.includes(t)&&s.push(t);return s}execute(t={}){this.editor.model.change((e=>{for(const i of this._selectedElements){(void 0===t.forceValue?!this.value:t.forceValue)?e.setAttribute(Ue,!0,i):e.removeAttribute(Ue,i)}}))}}const Ge=(t,e,i)=>{const n=e.modelCursor,s=n.parent,r=e.viewItem;if("checkbox"!=r.getAttribute("type")||"listItem"!=s.name||!n.isAtStart)return;if(!i.consumable.consume(r,{name:!0}))return;const o=i.writer;o.setAttribute("listType","todo",s),e.viewItem.hasAttribute("checked")&&o.setAttribute("todoListChecked",!0,s),e.modelRange=o.createRange(n)};function Ye(t){return(e,i)=>{const n=i.modelPosition,s=n.parent;if(!s.is("element","listItem")||"todo"!=s.getAttribute("listType"))return;const r=Qe(i.mapper.toViewElement(s),t);r&&(i.viewPosition=i.mapper.findPositionIn(r,n.offset))}}function Je(t,e,i,n){return e.createUIElement("label",{class:"todo-list__label",contenteditable:!1},(function(e){const s=(0,r.createElement)(document,"input",{type:"checkbox",tabindex:"-1"});i&&s.setAttribute("checked","checked"),s.addEventListener("change",(()=>n(t)));const o=this.toDomElement(e);return o.appendChild(s),o}))}function Qe(t,e){const i=e.createRangeIn(t);for(const t of i)if(t.item.is("containerElement","span")&&t.item.hasClass("todo-list__label__description"))return t.item}const Xe=(0,r.parseKeystroke)("Ctrl+Enter");class Ze extends t.Plugin{static get pluginName(){return"LegacyTodoListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Ve]}init(){const t=this.editor,{editing:e,data:i,model:n}=t;n.schema.extend("listItem",{allowAttributes:["todoListChecked"]}),n.schema.addAttributeCheck(((t,e)=>{const i=t.last;if("todoListChecked"==e&&"listItem"==i.name&&"todo"!=i.getAttribute("listType"))return!1})),t.commands.add("todoList",new ie(t,"todo"));const s=new We(t);var o,l;t.commands.add("checkTodoList",s),t.commands.add("todoListCheck",s),i.downcastDispatcher.on("insert:listItem",function(t){return(e,i,n)=>{const s=n.consumable;if(!s.test(i.item,"insert")||!s.test(i.item,"attribute:listType")||!s.test(i.item,"attribute:listIndent"))return;if("todo"!=i.item.getAttribute("listType"))return;const r=i.item;s.consume(r,"insert"),s.consume(r,"attribute:listType"),s.consume(r,"attribute:listIndent"),s.consume(r,"attribute:todoListChecked");const o=n.writer,l=oe(r,n);o.addClass("todo-list",l.parent);const a=o.createContainerElement("label",{class:"todo-list__label"}),c=o.createEmptyElement("input",{type:"checkbox",disabled:"disabled"}),d=o.createContainerElement("span",{class:"todo-list__label__description"});r.getAttribute("todoListChecked")&&o.setAttribute("checked","checked",c),o.insert(o.createPositionAt(l,0),a),o.insert(o.createPositionAt(a,0),c),o.insert(o.createPositionAfter(c),d),le(r,l,n,t)}}(n),{priority:"high"}),i.upcastDispatcher.on("element:input",Ge,{priority:"high"}),e.downcastDispatcher.on("insert:listItem",function(t,e){return(i,n,s)=>{const r=s.consumable;if(!r.test(n.item,"insert")||!r.test(n.item,"attribute:listType")||!r.test(n.item,"attribute:listIndent"))return;if("todo"!=n.item.getAttribute("listType"))return;const o=n.item;r.consume(o,"insert"),r.consume(o,"attribute:listType"),r.consume(o,"attribute:listIndent"),r.consume(o,"attribute:todoListChecked");const l=s.writer,a=oe(o,s),c=!!o.getAttribute("todoListChecked"),d=Je(o,l,c,e),u=l.createContainerElement("span",{class:"todo-list__label__description"});l.addClass("todo-list",a.parent),l.insert(l.createPositionAt(a,0),d),l.insert(l.createPositionAfter(d),u),le(o,a,s,t)}}(n,(t=>this._handleCheckmarkChange(t))),{priority:"high"}),e.downcastDispatcher.on("attribute:listType:listItem",(o=t=>this._handleCheckmarkChange(t),l=e.view,(t,e,i)=>{if(!i.consumable.consume(e.item,t.name))return;const n=i.mapper.toViewElement(e.item),s=i.writer,r=function(t,e){const i=e.createRangeIn(t);for(const t of i)if(t.item.is("uiElement","label"))return t.item}(n,l);if("todo"==e.attributeNewValue){const t=!!e.item.getAttribute("todoListChecked"),i=Je(e.item,s,t,o),r=s.createContainerElement("span",{class:"todo-list__label__description"}),l=s.createRangeIn(n),a=ue(n),c=ce(l.start),d=a?s.createPositionBefore(a):l.end,u=s.createRange(c,d);s.addClass("todo-list",n.parent),s.move(u,s.createPositionAt(r,0)),s.insert(s.createPositionAt(n,0),i),s.insert(s.createPositionAfter(i),r)}else if("todo"==e.attributeOldValue){const t=Qe(n,l);s.removeClass("todo-list",n.parent),s.remove(r),s.move(s.createRangeIn(t),s.createPositionBefore(t)),s.remove(t)}})),e.downcastDispatcher.on("attribute:todoListChecked:listItem",function(t){return(e,i,n)=>{if("todo"!=i.item.getAttribute("listType"))return;if(!n.consumable.consume(i.item,"attribute:todoListChecked"))return;const{mapper:s,writer:r}=n,o=!!i.item.getAttribute("todoListChecked"),l=s.toViewElement(i.item).getChild(0),a=Je(i.item,r,o,t);r.insert(r.createPositionAfter(l),a),r.remove(l)}}((t=>this._handleCheckmarkChange(t)))),e.mapper.on("modelToViewPosition",Ye(e.view)),i.mapper.on("modelToViewPosition",Ye(e.view)),this.listenTo(e.view.document,"arrowKey",function(t,e){return(i,n)=>{if("left"!=(0,r.getLocalizedArrowKeyCodeDirection)(n.keyCode,e.contentLanguageDirection))return;const s=t.schema,o=t.document.selection;if(!o.isCollapsed)return;const l=o.getFirstPosition(),a=l.parent;if("listItem"===a.name&&"todo"==a.getAttribute("listType")&&l.isAtStart){const e=s.getNearestSelectionRange(t.createPositionBefore(a),"backward");e&&t.change((t=>t.setSelection(e))),n.preventDefault(),n.stopPropagation(),i.stop()}}}(n,t.locale),{context:"li"}),this.listenTo(e.view.document,"keydown",((e,i)=>{(0,r.getCode)(i)===Xe&&(t.execute("checkTodoList"),e.stop())}),{priority:"high"});const a=new Set;this.listenTo(n,"applyOperation",((t,e)=>{const i=e[0];if("rename"==i.type&&"listItem"==i.oldName){const t=i.position.nodeAfter;t.hasAttribute("todoListChecked")&&a.add(t)}else if("changeAttribute"==i.type&&"listType"==i.key&&"todo"===i.oldValue)for(const t of i.range.getItems())t.hasAttribute("todoListChecked")&&"todo"!==t.getAttribute("listType")&&a.add(t)})),n.document.registerPostFixer((t=>{let e=!1;for(const i of a)t.removeAttribute("todoListChecked",i),e=!0;return a.clear(),e})),this._initAriaAnnouncements()}_handleCheckmarkChange(t){const e=this.editor,i=e.model,n=Array.from(i.document.selection.getRanges());i.change((i=>{i.setSelection(t,"end"),e.execute("checkTodoList"),i.setSelection(n)}))}_initAriaAnnouncements(){const{model:t,ui:e,t:i}=this.editor;let n=null;e&&t.document.selection.on("change:range",(()=>{const s=t.document.selection.focus.parent,r=ti(n),o=ti(s);r&&!o?e.ariaLiveAnnouncer.announce(i("Leaving a to-do list")):!r&&o&&e.ariaLiveAnnouncer.announce(i("Entering a to-do list")),n=s}))}}function ti(t){return!!t&&t.is("element","listItem")&&"todo"===t.getAttribute("listType")}class ei extends t.Plugin{static get requires(){return[Ze,Xt]}static get pluginName(){return"LegacyTodoList"}static get isOfficialPlugin(){return!0}}class ii extends t.Plugin{static get pluginName(){return"AdjacentListsSupport"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.register("listSeparator",{allowWhere:"$block",isBlock:!0}),t.conversion.for("upcast").add((t=>{t.on("element:ol",ni()),t.on("element:ul",ni())})).elementToElement({model:"listSeparator",view:"ck-list-separator"}),t.conversion.for("editingDowncast").elementToElement({model:"listSeparator",view:{name:"div",classes:["ck-list-separator","ck-hidden"]}}),t.conversion.for("dataDowncast").elementToElement({model:"listSeparator",view:(t,e)=>{const i=e.writer.createContainerElement("ck-list-separator");return e.writer.setCustomProperty("dataPipeline:transparentRendering",!0,i),i.getFillerOffset=()=>null,i}})}}function ni(){return(t,e,i)=>{const n=e.viewItem,s=n.nextSibling;if(!s)return;if(n.name!==s.name)return;e.modelRange||Object.assign(e,i.convertChildren(e.viewItem,e.modelCursor));const r=i.writer,o=r.createElement("listSeparator");if(!i.safeInsert(o,e.modelCursor))return;const l=i.getSplitParts(o);e.modelRange=r.createRange(e.modelRange.start,r.createPositionAfter(l[l.length-1])),i.updateConversionResult(o,e)}}class si extends t.Plugin{static get requires(){return[ft]}static get pluginName(){return"DocumentList"}static get isOfficialPlugin(){return!0}constructor(t){super(t),(0,r.logWarning)("plugin-obsolete-documentlist",{pluginName:"DocumentList"})}}class ri extends t.Plugin{static get requires(){return[jt]}static get pluginName(){return"DocumentListProperties"}static get isOfficialPlugin(){return!0}constructor(t){super(t),(0,r.logWarning)("plugin-obsolete-documentlistproperties",{pluginName:"DocumentListProperties"})}}class oi extends t.Plugin{static get requires(){return[ee]}static get pluginName(){return"TodoDocumentList"}static get isOfficialPlugin(){return!0}constructor(t){super(t),(0,r.logWarning)("plugin-obsolete-tododocumentlist",{pluginName:"TodoDocumentList"})}}})(),(window.CKEditor5=window.CKEditor5||{}).list=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/list/translations/ug.js b/core/assets/vendor/ckeditor5/list/translations/ug.js index 4039803ba1ac3622de47491b2b1a72159c444e6f..efb9c384d530e91544812d15f04c6b861da9a9b8 100644 --- a/core/assets/vendor/ckeditor5/list/translations/ug.js +++ b/core/assets/vendor/ckeditor5/list/translations/ug.js @@ -1 +1 @@ -!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"Bulleted List":"بەلگە تىزىملىك","Bulleted list styles toolbar":"تۈر بەلگە تىزىمى ئۇسلۇبىدىكى قورال بالداق",Circle:"چەمبەر",Decimal:"ئونلۇق كەسىر","Decimal with leading zero":"Ù†Û†Ù„ بىلەن باشلانغان ئونلۇق كەسىر","Decrease list item indent":"",Disc:"ئۇيۇل چەمبەر","Entering a to-do list":"","Increase list item indent":"","Invalid start index value.":"","Keystrokes that can be used in a list":"","Leaving a to-do list":"","List properties":"تىزىم خاسلىقى","Lower-latin":"كىچىك لاتىن رەقىمى","Lower–roman":"كىچىك رىم رەقىمى","Numbered List":"نومۇرلۇق تىزىملىك","Numbered list styles toolbar":"تۈر نومۇرى تىزىمى ئۇسلۇبىدىكى قورال بالداق","Reversed order":"",Square:"چاسا","Start at":"","Start index must be greater than 0.":"","To-do List":"ئىش تىزىمى","Toggle the circle list style":"بوش چەمبەر تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the decimal list style":"ئونلۇق سان تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the decimal with leading zero list style":"Ù†Û†Ù„ بىلەن باشلانغان ئونلۇق سان تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the disc list style":"ئۇيۇل چەمبەر تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the lower–latin list style":"كىچىك لاتىن رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the lower–roman list style":"كىچىك رىم رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the square list style":"ئۇيۇل كۋادرات تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the upper–latin list style":"Ú†ÙˆÚ Ù„Ø§ØªÙ‰Ù† رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the upper–roman list style":"Ú†ÙˆÚ Ø±Ù‰Ù… رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Upper-latin":"Ú†ÙˆÚ Ù„Ø§ØªÙ‰Ù† رەقىمى","Upper-roman":"Ú†ÙˆÚ Ø±Ù‰Ù… رەقىمى"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"Bulleted List":"بەلگە تىزىملىك","Bulleted list styles toolbar":"تۈر بەلگە تىزىمى ئۇسلۇبىدىكى قورال بالداق",Circle:"چەمبەر",Decimal:"ئونلۇق كەسىر","Decimal with leading zero":"Ù†Û†Ù„ بىلەن باشلانغان ئونلۇق كەسىر","Decrease list item indent":"تىزىم تۈرىنى تارايتىشنى ÙƒÛمەيتىدۇ",Disc:"ئۇيۇل چەمبەر","Entering a to-do list":"ئىش تىزىمىنى كىرگۈزۈۋاتىدۇ","Increase list item indent":"تىزىم تۈرىنى تارايتىشنى ئاشۇرىدۇ","Invalid start index value.":"ئىناۋەتسىز باشلىنىش ئىندÛكىس قىممىتى","Keystrokes that can be used in a list":"تىزىمدا ئىشلەتكىلى بولىدىغان كۇنۇپكا بÛسىلىشى","Leaving a to-do list":"ئىش تىزىمىدىن ئايرىلىۋاتىدۇ","List properties":"تىزىم خاسلىقى","Lower-latin":"كىچىك لاتىن رەقىمى","Lower–roman":"كىچىك رىم رەقىمى","Numbered List":"نومۇرلۇق تىزىملىك","Numbered list styles toolbar":"تۈر نومۇرى تىزىمى ئۇسلۇبىدىكى قورال بالداق","Reversed order":"ئەكسىچە تەرتىپ",Square:"چاسا","Start at":"باشلىنىشى","Start index must be greater than 0.":"باشلىنىدىغان ئىندÛكىس قىممىتى چوقۇم 0 دىن Ú†ÙˆÚ Ø¨ÙˆÙ„Û‡Ø´Ù‰ ÙƒÛرەك.","To-do List":"ئىش تىزىمى","Toggle the circle list style":"بوش چەمبەر تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the decimal list style":"ئونلۇق سان تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the decimal with leading zero list style":"Ù†Û†Ù„ بىلەن باشلانغان ئونلۇق سان تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the disc list style":"ئۇيۇل چەمبەر تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the lower–latin list style":"كىچىك لاتىن رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the lower–roman list style":"كىچىك رىم رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the square list style":"ئۇيۇل كۋادرات تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the upper–latin list style":"Ú†ÙˆÚ Ù„Ø§ØªÙ‰Ù† رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Toggle the upper–roman list style":"Ú†ÙˆÚ Ø±Ù‰Ù… رەقىمى تىزىم ئۇسلۇبىغا ئالماشتۇر","Upper-latin":"Ú†ÙˆÚ Ù„Ø§ØªÙ‰Ù† رەقىمى","Upper-roman":"Ú†ÙˆÚ Ø±Ù‰Ù… رەقىمى"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/markdown-gfm/markdown-gfm.js b/core/assets/vendor/ckeditor5/markdown-gfm/markdown-gfm.js index 9a8ec3523192c28f192d9d8ce74cb5e79c182667..a0d8bb2833432ddf1a86c4752c027573d8aa6bb0 100644 --- a/core/assets/vendor/ckeditor5/markdown-gfm/markdown-gfm.js +++ b/core/assets/vendor/ckeditor5/markdown-gfm/markdown-gfm.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Markdown:()=>Oe,PasteFromMarkdownExperimental:()=>Pe});var e=n(782),t=n(783);function i(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let s={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const l=/[&<>"']/,o=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"},u=e=>h[e];function p(e,t){if(t){if(l.test(e))return e.replace(o,u)}else if(a.test(e))return e.replace(c,u);return e}const g=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(e){return e.replace(g,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const d=/(^|[^\[])\^/g;function m(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(d,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}const k=/[^\w:]/g,x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(e,t,n){if(e){let e;try{e=decodeURIComponent(f(n)).replace(k,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!x.test(n)&&(n=function(e,t){w[" "+e]||(y.test(e)?w[" "+e]=e+"/":w[" "+e]=R(e,"/",!0));e=w[" "+e];const n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(_,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(A,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}const w={},y=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,A=/^([^:]+:\/*[^/]*)[\s\S]*$/;const T={exec:function(){}};function S(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function R(e,t,n){const r=e.length;if(0===r)return"";let i=0;for(;i<r;){const s=e.charAt(r-i-1);if(s!==t||n){if(s===t||!n)break;i++}else i++}return e.substr(0,r-i)}function z(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function $(e,t){if(t<1)return"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function E(e,t,n,r){const i=t.href,s=t.title?p(t.title):null,l=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:s,text:l,tokens:r.inlineTokens(l,[])};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:s,text:p(l)}}class N{constructor(e){this.options=e||s}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:R(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=R(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}const n={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,i,s,l,o,a,c,h,u,p,g,f=t[1].trim();const d=f.length>1,m={type:"list",raw:"",ordered:d,start:d?+f.slice(0,-1):"",loose:!1,items:[]};f=d?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=d?f:"[*+-]");const k=new RegExp(`^( {0,3}${f})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(g=!1,t=k.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0],h=e.split("\n",1)[0],this.options.pedantic?(s=2,p=c.trimLeft()):(s=t[2].search(/[^ ]/),s=s>4?1:s,p=c.slice(s),s+=t[1].length),o=!1,!c&&/^ *$/.test(h)&&(n+=h+"\n",e=e.substring(h.length+1),g=!0),!g){const t=new RegExp(`^ {0,${Math.min(3,s-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(u=e.split("\n",1)[0],c=u,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!t.test(c));){if(c.search(/[^ ]/)>=s||!c.trim())p+="\n"+c.slice(s);else{if(o)break;p+="\n"+c}o||c.trim()||(o=!0),n+=u+"\n",e=e.substring(u.length+1)}}m.loose||(a?m.loose=!0:/\n *\n *$/.test(n)&&(a=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p),r&&(i="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:p}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=p.trimRight(),m.raw=m.raw.trimRight();const x=m.items.length;for(l=0;l<x;l++){this.lexer.state.top=!1,m.items[l].tokens=this.lexer.blockTokens(m.items[l].text,[]);const e=m.items[l].tokens.filter((e=>"space"===e.type)),t=e.every((e=>{const t=e.raw.split("");let n=0;for(const e of t)if("\n"===e&&(n+=1),n>1)return!0;return!1}));!m.loose&&e.length&&t&&(m.loose=!0,m.items[l].loose=!0)}return m}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):p(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){const t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));return{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:v(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r,i,s,l=e.align.length;for(n=0;n<l;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(l=e.rows.length,n=0;n<l;n++)e.rows[n]=v(e.rows[n],e.header.length).map((e=>({text:e})));for(l=e.header.length,r=0;r<l;r++)e.header[r].tokens=[],this.lexer.inlineTokens(e.header[r].text,e.header[r].tokens);for(l=e.rows.length,r=0;r<l;r++)for(s=e.rows[r],i=0;i<s.length;i++)s[i].tokens=[],this.lexer.inlineTokens(s[i].text,s[i].tokens);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const e={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}text(e){const t=this.rules.block.text.exec(e);if(t){const e={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:p(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):p(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=R(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,i=0;for(;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),E(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return E(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){const n=r[0].length-1;let i,s,l=n,o=0;const a="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=a.exec(t));){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(s=i.length,r[3]||r[4]){l+=s;continue}if((r[5]||r[6])&&n%3&&!((n+s)%3)){o+=s;continue}if(l-=s,l>0)continue;if(s=Math.min(s,s+l+o),Math.min(n,s)%2){const t=e.slice(1,n+r.index+s);return{type:"em",raw:e.slice(0,n+r.index+s+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}const t=e.slice(2,n+r.index+s-1);return{type:"strong",raw:e.slice(0,n+r.index+s+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=p(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=p(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=p(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=p(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=p(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):p(n[0]):n[0]:p(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}const C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:T,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};C.def=m(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.listItemStart=m(/^( *)(bull) */).replace("bull",C.bullet).getRegex(),C.list=m(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,C.html=m(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.paragraph=m(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.blockquote=m(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal=S({},C),C.gfm=S({},C.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),C.gfm.table=m(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.gfm.paragraph=m(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",C.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.pedantic=S({},C.normal,{html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:T,paragraph:m(C.normal._paragraph).replace("hr",C.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const D={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:T,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:T,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function O(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"â€").replace(/\.{3}/g,"…")}function I(e){let t,n,r="";const i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}D._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",D.punctuation=m(D.punctuation).replace(/punctuation/g,D._punctuation).getRegex(),D.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,D.escapedEmSt=/\\\*|\\_/g,D._comment=m(C._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),D.emStrong.lDelim=m(D.emStrong.lDelim).replace(/punct/g,D._punctuation).getRegex(),D.emStrong.rDelimAst=m(D.emStrong.rDelimAst,"g").replace(/punct/g,D._punctuation).getRegex(),D.emStrong.rDelimUnd=m(D.emStrong.rDelimUnd,"g").replace(/punct/g,D._punctuation).getRegex(),D._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,D._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,D._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,D.autolink=m(D.autolink).replace("scheme",D._scheme).replace("email",D._email).getRegex(),D._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,D.tag=m(D.tag).replace("comment",D._comment).replace("attribute",D._attribute).getRegex(),D._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,D._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,D._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,D.link=m(D.link).replace("label",D._label).replace("href",D._href).replace("title",D._title).getRegex(),D.reflink=m(D.reflink).replace("label",D._label).replace("ref",C._label).getRegex(),D.nolink=m(D.nolink).replace("ref",C._label).getRegex(),D.reflinkSearch=m(D.reflinkSearch,"g").replace("reflink",D.reflink).replace("nolink",D.nolink).getRegex(),D.normal=S({},D),D.pedantic=S({},D.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",D._label).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",D._label).getRegex()}),D.gfm=S({},D.normal,{escape:m(D.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),D.gfm.url=m(D.gfm.url,"i").replace("email",D.gfm._extended_email).getRegex(),D.breaks=S({},D.gfm,{br:m(D.br).replace("{2,}","*").getRegex(),text:m(D.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});class L{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||s,this.options.tokenizer=this.options.tokenizer||new N,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:C.normal,inline:D.normal};this.options.pedantic?(t.block=C.pedantic,t.inline=D.pedantic):this.options.gfm&&(t.block=C.gfm,this.options.breaks?t.inline=D.breaks:t.inline=D.gfm),this.tokenizer.rules=t}static get rules(){return{block:C,inline:D}}static lex(e,t){return new L(t).lex(e)}static lexInline(e,t){return new L(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let n,r,i,s;for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i)))r=t[t.length-1],s&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),s=i.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let n,r,i,s,l,o,a=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(a));)e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+$("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,s.index)+"["+$("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(a));)a=a.slice(0,s.index)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(l||(o=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,a,o))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,I))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,I))){if(i=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i,O))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),l=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class P{constructor(e){this.options=e||s}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+p(r,!0)+'">'+(n?e:p(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:p(e,!0))+"</code></pre>\n"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=b(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+p(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=b(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}class B{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class M{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class F{constructor(e){this.options=e||s,this.options.renderer=this.options.renderer||new P,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new B,this.slugger=new M}static parse(e,t){return new F(t).parse(e)}static parseInline(e,t){return new F(t).parseInline(e)}parse(e,t=!0){let n,r,i,s,l,o,a,c,h,u,p,g,d,m,k,x,b,w,y,_="";const A=e.length;for(n=0;n<A;n++)if(u=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type]&&(y=this.options.extensions.renderers[u.type].call({parser:this},u),!1!==y||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type)))_+=y||"";else switch(u.type){case"space":continue;case"hr":_+=this.renderer.hr();continue;case"heading":_+=this.renderer.heading(this.parseInline(u.tokens),u.depth,f(this.parseInline(u.tokens,this.textRenderer)),this.slugger);continue;case"code":_+=this.renderer.code(u.text,u.lang,u.escaped);continue;case"table":for(c="",a="",s=u.header.length,r=0;r<s;r++)a+=this.renderer.tablecell(this.parseInline(u.header[r].tokens),{header:!0,align:u.align[r]});for(c+=this.renderer.tablerow(a),h="",s=u.rows.length,r=0;r<s;r++){for(o=u.rows[r],a="",l=o.length,i=0;i<l;i++)a+=this.renderer.tablecell(this.parseInline(o[i].tokens),{header:!1,align:u.align[i]});h+=this.renderer.tablerow(a)}_+=this.renderer.table(c,h);continue;case"blockquote":h=this.parse(u.tokens),_+=this.renderer.blockquote(h);continue;case"list":for(p=u.ordered,g=u.start,d=u.loose,s=u.items.length,h="",r=0;r<s;r++)k=u.items[r],x=k.checked,b=k.task,m="",k.task&&(w=this.renderer.checkbox(x),d?k.tokens.length>0&&"paragraph"===k.tokens[0].type?(k.tokens[0].text=w+" "+k.tokens[0].text,k.tokens[0].tokens&&k.tokens[0].tokens.length>0&&"text"===k.tokens[0].tokens[0].type&&(k.tokens[0].tokens[0].text=w+" "+k.tokens[0].tokens[0].text)):k.tokens.unshift({type:"text",text:w}):m+=w),m+=this.parse(k.tokens,d),h+=this.renderer.listitem(m,b,x);_+=this.renderer.list(h,p,g);continue;case"html":_+=this.renderer.html(u.text);continue;case"paragraph":_+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(h=u.tokens?this.parseInline(u.tokens):u.text;n+1<A&&"text"===e[n+1].type;)u=e[++n],h+="\n"+(u.tokens?this.parseInline(u.tokens):u.text);_+=t?this.renderer.paragraph(h):h;continue;default:{const e='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return _}parseInline(e,t){t=t||this.renderer;let n,r,i,s="";const l=e.length;for(n=0;n<l;n++)if(r=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(i=this.options.extensions.renderers[r.type].call({parser:this},r),!1!==i||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)))s+=i||"";else switch(r.type){case"escape":case"text":s+=t.text(r.text);break;case"html":s+=t.html(r.text);break;case"link":s+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":s+=t.image(r.href,r.title,r.text);break;case"strong":s+=t.strong(this.parseInline(r.tokens,t));break;case"em":s+=t.em(this.parseInline(r.tokens,t));break;case"codespan":s+=t.codespan(r.text);break;case"br":s+=t.br();break;case"del":s+=t.del(this.parseInline(r.tokens,t));break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return s}}function H(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),z(t=S({},H.defaults,t||{})),n){const r=t.highlight;let i;try{i=L.lex(e,t)}catch(e){return n(e)}const s=function(e){let s;if(!e)try{t.walkTokens&&H.walkTokens(i,t.walkTokens),s=F.parse(i,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,s)};if(!r||r.length<3)return s();if(delete t.highlight,!i.length)return s();let l=0;return H.walkTokens(i,(function(e){"code"===e.type&&(l++,setTimeout((()=>{r(e.text,e.lang,(function(t,n){if(t)return s(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),l--,0===l&&s()}))}),0))})),void(0===l&&s())}try{const n=L.lex(e,t);return t.walkTokens&&H.walkTokens(n,t.walkTokens),F.parse(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+p(e.message+"",!0)+"</pre>";throw e}}H.options=H.setOptions=function(e){var t;return S(H.defaults,e),t=H.defaults,s=t,H},H.getDefaults=i,H.defaults=s,H.use=function(...e){const t=S({},...e),n=H.defaults.extensions||{renderers:{},childTokens:{}};let r;e.forEach((e=>{if(e.extensions&&(r=!0,e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const t=n.renderers?n.renderers[e.name]:null;n.renderers[e.name]=t?function(...n){let r=e.renderer.apply(this,n);return!1===r&&(r=t.apply(this,n)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");n[e.level]?n[e.level].unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}e.childTokens&&(n.childTokens[e.name]=e.childTokens)}))),e.renderer){const n=H.defaults.renderer||new P;for(const t in e.renderer){const r=n[t];n[t]=(...i)=>{let s=e.renderer[t].apply(n,i);return!1===s&&(s=r.apply(n,i)),s}}t.renderer=n}if(e.tokenizer){const n=H.defaults.tokenizer||new N;for(const t in e.tokenizer){const r=n[t];n[t]=(...i)=>{let s=e.tokenizer[t].apply(n,i);return!1===s&&(s=r.apply(n,i)),s}}t.tokenizer=n}if(e.walkTokens){const n=H.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens.call(this,t),n&&n.call(this,t)}}r&&(t.extensions=n),H.setOptions(t)}))},H.walkTokens=function(e,t){for(const n of e)switch(t.call(H,n),n.type){case"table":for(const e of n.header)H.walkTokens(e.tokens,t);for(const e of n.rows)for(const n of e)H.walkTokens(n.tokens,t);break;case"list":H.walkTokens(n.items,t);break;default:H.defaults.extensions&&H.defaults.extensions.childTokens&&H.defaults.extensions.childTokens[n.type]?H.defaults.extensions.childTokens[n.type].forEach((function(e){H.walkTokens(n[e],t)})):n.tokens&&H.walkTokens(n.tokens,t)}},H.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");z(t=S({},H.defaults,t||{}));try{const n=L.lexInline(e,t);return t.walkTokens&&H.walkTokens(n,t.walkTokens),F.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+p(e.message+"",!0)+"</pre>";throw e}},H.Parser=F,H.parser=F.parse,H.Renderer=P,H.TextRenderer=B,H.Lexer=L,H.lexer=L.lex,H.Tokenizer=N,H.Slugger=M,H.parse=H;H.options,H.setOptions,H.use,H.walkTokens,H.parseInline,F.parse,L.lex;class q{constructor(){this._options={gfm:!0,breaks:!0,tables:!0,xhtml:!0,headerIds:!1},H.use({tokenizer:{autolink:()=>null,url:()=>null},renderer:{checkbox(...e){return Object.getPrototypeOf(this).checkbox.call(this,...e).trimRight()},code(...e){return Object.getPrototypeOf(this).code.call(this,...e).replace("\n</code>","</code>")}}}),this._parser=H}parse(e){return this._parser.parse(e,this._options)}}function j(e,t){return Array(t+1).join(e)}var U=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function Z(e){return K(e,U)}var V=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function Q(e){return K(e,V)}var W=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function K(e,t){return t.indexOf(e.nodeName)>=0}function G(e,t){return e.getElementsByTagName&&t.some((function(t){return e.getElementsByTagName(t).length}))}var X={};function Y(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function J(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function ee(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(te(i,t,n))return i}}function te(e,t,n){var r=e.filter;if("string"==typeof r){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else{if("function"!=typeof r)throw new TypeError("`filter` needs to be a string, array, or function");if(r.call(e,t,n))return!0}}function ne(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function re(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}X.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},X.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},X.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var r=Number(t.nodeName.charAt(1));return"setext"===n.headingStyle&&r<3?"\n\n"+e+"\n"+j(1===r?"=":"-",e.length)+"\n\n":"\n\n"+j("#",r)+" "+e+"\n\n"}},X.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},X.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},X.listItem={filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var r=n.bulletListMarker+" ",i=t.parentNode;if("OL"===i.nodeName){var s=i.getAttribute("start"),l=Array.prototype.indexOf.call(i.children,t);r=(s?Number(s)+l:l+1)+". "}return r+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},X.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n "+t.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},X.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var r,i=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],s=t.firstChild.textContent,l=n.fence.charAt(0),o=3,a=new RegExp("^"+l+"{3,}","gm");r=a.exec(s);)r[0].length>=o&&(o=r[0].length+1);var c=j(l,o);return"\n\n"+c+i+"\n"+s.replace(/\n$/,"")+"\n"+c+"\n\n"}},X.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},X.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=t.getAttribute("href");n&&(n=n.replace(/([()])/g,"\\$1"));var r=Y(t.getAttribute("title"));return r&&(r=' "'+r.replace(/"/g,'\\"')+'"'),"["+e+"]("+n+r+")"}},X.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,i,s=t.getAttribute("href"),l=Y(t.getAttribute("title"));switch(l&&(l=' "'+l+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+s+l;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+s+l;break;default:var o=this.references.length+1;r="["+e+"]["+o+"]",i="["+o+"]: "+s+l}return this.references.push(i),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},X.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},X.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},X.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},X.image={filter:"img",replacement:function(e,t){var n=Y(t.getAttribute("alt")),r=t.getAttribute("src")||"",i=Y(t.getAttribute("title"));return r?"+")":""}},J.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=ee(this.array,e,this.options))||(t=ee(this._keep,e,this.options))||(t=ee(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};var ie="undefined"!=typeof window?window:{};var se,le=function(){var e=ie.DOMParser,t=!1;try{(new e).parseFromString("","text/html")&&(t=!0)}catch(e){}return t}()?ie.DOMParser:function(){var e=function(){};return!function(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch(t){ie.ActiveXObject&&(e=!0)}return e}()?e.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(e),t.close(),t}:e.prototype.parseFromString=function(e){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(e),t.close(),t},e}();function oe(e,t){var n;"string"==typeof e?n=(se=se||new le).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);return function(e){var t=e.element,n=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!i(t)){for(var s=null,l=!1,o=null,a=re(o,t,i);a!==t;){if(3===a.nodeType||4===a.nodeType){var c=a.data.replace(/[ \r\n\t]+/g," ");if(s&&!/ $/.test(s.data)||l||" "!==c[0]||(c=c.substr(1)),!c){a=ne(a);continue}a.data=c,s=a}else{if(1!==a.nodeType){a=ne(a);continue}n(a)||"BR"===a.nodeName?(s&&(s.data=s.data.replace(/ $/,"")),s=null,l=!1):r(a)||i(a)?(s=null,l=!0):s&&(l=!1)}var h=re(o,a,i);o=a,a=h}s&&(s.data=s.data.replace(/ $/,""),s.data||ne(s))}}({element:n,isBlock:Z,isVoid:Q,isPre:t.preformattedCode?ae:null}),n}function ae(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function ce(e,t){return e.isBlock=Z(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!Q(e)&&!function(e){return K(e,W)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return G(e,V)}(e)&&!function(e){return G(e,W)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n=(r=e.textContent,i=r.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/),{leading:i[1],leadingAscii:i[2],leadingNonAscii:i[3],trailing:i[4],trailingNonAscii:i[5],trailingAscii:i[6]});var r,i;n.leadingAscii&&he("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&he("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function he(e,t,n){var r,i,s;return"left"===e?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(3===r.nodeType?s=i.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?s=!1:1!==r.nodeType||Z(r)||(s=i.test(r.textContent))),s}var ue=Array.prototype.reduce,pe=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function ge(e){if(!(this instanceof ge))return new ge(e);var t={rules:X,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},t,e),this.rules=new J(this.options)}function fe(e){var t=this;return ue.call(e.childNodes,(function(e,n){var r="";return 3===(n=new ce(n,t.options)).nodeType?r=n.isCode?n.nodeValue:t.escape(n.nodeValue):1===n.nodeType&&(r=me.call(t,n)),ke(e,r)}),"")}function de(e){var t=this;return this.rules.forEach((function(n){"function"==typeof n.append&&(e=ke(e,n.append(t.options)))})),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function me(e){var t=this.rules.forNode(e),n=fe.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&&(n=n.trim()),r.leading+t.replacement(n,e,this.options)+r.trailing}function ke(e,t){var n=function(e){for(var t=e.length;t>0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,""),i=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,i)+r}ge.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"==typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=fe.call(this,new oe(e,this.options));return de.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else{if("function"!=typeof e)throw new TypeError("plugin must be a Function or an Array of Functions");e(this)}return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return pe.reduce((function(e,t){return e.replace(t[0],t[1])}),e)}};const xe=ge;var be=/highlight-(?:text|source)-([a-z0-9]+)/;function we(e){e.addRule("highlightedCodeBlock",{filter:function(e){var t=e.firstChild;return"DIV"===e.nodeName&&be.test(e.className)&&t&&"PRE"===t.nodeName},replacement:function(e,t,n){var r=((t.className||"").match(be)||[null,""])[1];return"\n\n"+n.fence+r+"\n"+t.firstChild.textContent+"\n"+n.fence+"\n\n"}})}function ye(e){e.addRule("strikethrough",{filter:["del","s","strike"],replacement:function(e){return"~"+e+"~"}})}var _e=Array.prototype.indexOf,Ae=Array.prototype.every,Te={};function Se(e){var t,n,r=e.parentNode;return"THEAD"===r.nodeName||r.firstChild===e&&("TABLE"===r.nodeName||(n=(t=r).previousSibling,"TBODY"===t.nodeName&&(!n||"THEAD"===n.nodeName&&/^\s*$/i.test(n.textContent))))&&Ae.call(e.childNodes,(function(e){return"TH"===e.nodeName}))}function ve(e,t){var n=" ";return 0===_e.call(t.parentNode.childNodes,t)&&(n="| "),n+e+" |"}function Re(e){for(var t in e.keep((function(e){return"TABLE"===e.nodeName&&!Se(e.rows[0])})),Te)e.addRule(t,Te[t])}function ze(e){e.addRule("taskListItems",{filter:function(e){return"checkbox"===e.type&&"LI"===e.parentNode.nodeName},replacement:function(e,t){return(t.checked?"[x]":"[ ]")+" "}})}function $e(e){e.use([we,ye,Re,ze])}Te.tableCell={filter:["th","td"],replacement:function(e,t){return ve(e,t)}},Te.tableRow={filter:"tr",replacement:function(e,t){var n="",r={left:":--",right:"--:",center:":-:"};if(Se(t))for(var i=0;i<t.childNodes.length;i++){var s="---",l=(t.childNodes[i].getAttribute("align")||"").toLowerCase();l&&(s=r[l]||s),n+=ve(s,t.childNodes[i])}return"\n"+e+(n?"\n"+n:"")}},Te.table={filter:function(e){return"TABLE"===e.nodeName&&Se(e.rows[0])},replacement:function(e){return"\n\n"+(e=e.replace("\n\n","\n"))+"\n\n"}},Te.tableSection={filter:["thead","tbody","tfoot"],replacement:function(e){return e}};const Ee=new RegExp(/\b(?:(?:https?|ftp):\/\/|www\.)/.source+/(?![-_])(?:[-_a-z0-9\u00a1-\uffff]{1,63}\.)+(?:[a-z\u00a1-\uffff]{2,63})/.source+/(?:[^\s<>]*)/.source,"gi");class Ne extends xe{escape(e){const t=super.escape;function n(e){return e=(e=t(e)).replace(/</g,"\\<")}let r="",i=0;for(const t of this._matchAutolink(e)){const s=t.index;s>i&&(r+=n(e.substring(i,s)));const l=t[0];r+=l,i=s+l.length}return i<e.length&&(r+=n(e.substring(i,e.length))),r}*_matchAutolink(e){for(const t of e.matchAll(Ee)){const e=t[0],n=this._autolinkFindEnd(e);yield Object.assign([e.substring(0,n)],{index:t.index})}}_autolinkFindEnd(e){let t=e.length;for(;t>0;){const n=e[t-1];if("?!.,:*_~'\"".includes(n))t--;else{if(")"!=n)break;{let n=0;for(let r=0;r<t;r++)"("==e[r]?n++:")"==e[r]&&n--;if(!(n<0))break;t--}}}return t}}class Ce{constructor(){this._parser=this._createParser()}parse(e){return this._parser.turndown(e)}keep(e){this._parser.keep(e)}_createParser(){const e=new Ne({codeBlockStyle:"fenced",hr:"---",headingStyle:"atx"});return e.use([$e,this._todoList]),e}_todoList(e){e.addRule("taskListItems",{filter:e=>"checkbox"===e.type&&("LI"===e.parentNode.nodeName||"LI"===e.parentNode.parentNode.nodeName),replacement:(e,t)=>(t.checked?"[x]":"[ ]")+" "})}}class De{constructor(e){this._htmlDP=new t.HtmlDataProcessor(e),this._markdown2html=new q,this._html2markdown=new Ce}keepHtml(e){this._html2markdown.keep([e])}toView(e){const t=this._markdown2html.parse(e);return this._htmlDP.toView(t)}toData(e){const t=this._htmlDP.toData(e);return this._html2markdown.parse(t)}registerRawContentMatcher(e){this._htmlDP.registerRawContentMatcher(e)}useFillerType(){}}class Oe extends e.Plugin{constructor(e){super(e),e.data.processor=new De(e.data.viewDocument)}static get pluginName(){return"Markdown"}}var Ie=n(331);const Le=["SPAN","BR","PRE","CODE"];class Pe extends e.Plugin{constructor(e){super(e),this._gfmDataProcessor=new De(e.data.viewDocument)}static get pluginName(){return"PasteFromMarkdownExperimental"}static get requires(){return[Ie.ClipboardPipeline]}init(){const e=this.editor,t=e.editing.view.document,n=e.plugins.get("ClipboardPipeline");let r=!1;this.listenTo(t,"keydown",((e,t)=>{r=t.shiftKey})),this.listenTo(n,"inputTransformation",((e,t)=>{if(r)return;const n=t.dataTransfer.getData("text/html");if(!n){const e=t.dataTransfer.getData("text/plain");return void(t.content=this._gfmDataProcessor.toView(e))}const i=this._parseMarkdownFromHtml(n);i&&(t.content=this._gfmDataProcessor.toView(i))}))}_parseMarkdownFromHtml(e){const t=this._removeOsSpecificTags(e);if(!this._containsOnlyAllowedFirstLevelTags(t))return null;const n=this._removeFirstLevelWrapperTagsAndBrs(t);return this._containsAnyRemainingHtmlTags(n)?null:this._replaceHtmlReservedEntitiesWithCharacters(n)}_removeOsSpecificTags(e){return e.replace(/^<meta\b[^>]*>/,"").trim().replace(/^<html>/,"").replace(/<\/html>$/,"").trim().replace(/^<body>/,"").replace(/<\/body>$/,"").trim().replace(/^<!--StartFragment-->/,"").replace(/<!--EndFragment-->$/,"").trim()}_containsOnlyAllowedFirstLevelTags(e){const t=new DOMParser,{body:n}=t.parseFromString(e,"text/html");return Array.from(n.children).map((e=>e.tagName)).every((e=>Le.includes(e)))}_removeFirstLevelWrapperTagsAndBrs(e){const t=new DOMParser,{body:n}=t.parseFromString(e,"text/html"),r=n.querySelectorAll("br");for(const e of r)e.replaceWith("\n");const i=n.querySelectorAll(":scope > *");for(const e of i){const t=e.cloneNode(!0);e.replaceWith(...t.childNodes)}return n.innerHTML}_containsAnyRemainingHtmlTags(e){return e.includes("<")}_replaceHtmlReservedEntitiesWithCharacters(e){return e.replace(/>/g,">").replace(/</g,"<").replace(/ /g," ")}}})(),(window.CKEditor5=window.CKEditor5||{}).markdownGfm=r})(); \ No newline at end of file + */(()=>{var e={331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Markdown:()=>De,PasteFromMarkdownExperimental:()=>Pe});var e=n(782),t=n(783);function i(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let s={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const l=/[&<>"']/,o=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},h=e=>u[e];function p(e,t){if(t){if(l.test(e))return e.replace(o,h)}else if(a.test(e))return e.replace(c,h);return e}const g=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(e){return e.replace(g,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const d=/(^|[^\[])\^/g;function m(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(d,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}const k=/[^\w:]/g,x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(e,t,n){if(e){let e;try{e=decodeURIComponent(f(n)).replace(k,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!x.test(n)&&(n=function(e,t){w[" "+e]||(y.test(e)?w[" "+e]=e+"/":w[" "+e]=R(e,"/",!0));e=w[" "+e];const n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(_,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(A,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}const w={},y=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,A=/^([^:]+:\/*[^/]*)[\s\S]*$/;const T={exec:function(){}};function S(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function R(e,t,n){const r=e.length;if(0===r)return"";let i=0;for(;i<r;){const s=e.charAt(r-i-1);if(s!==t||n){if(s===t||!n)break;i++}else i++}return e.substr(0,r-i)}function z(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function $(e,t){if(t<1)return"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function E(e,t,n,r){const i=t.href,s=t.title?p(t.title):null,l=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:s,text:l,tokens:r.inlineTokens(l,[])};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:s,text:p(l)}}class N{constructor(e){this.options=e||s}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:R(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=R(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}const n={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,i,s,l,o,a,c,u,h,p,g,f=t[1].trim();const d=f.length>1,m={type:"list",raw:"",ordered:d,start:d?+f.slice(0,-1):"",loose:!1,items:[]};f=d?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=d?f:"[*+-]");const k=new RegExp(`^( {0,3}${f})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(g=!1,t=k.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(s=2,p=c.trimLeft()):(s=t[2].search(/[^ ]/),s=s>4?1:s,p=c.slice(s),s+=t[1].length),o=!1,!c&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),g=!0),!g){const t=new RegExp(`^ {0,${Math.min(3,s-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(h=e.split("\n",1)[0],c=h,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!t.test(c));){if(c.search(/[^ ]/)>=s||!c.trim())p+="\n"+c.slice(s);else{if(o)break;p+="\n"+c}o||c.trim()||(o=!0),n+=h+"\n",e=e.substring(h.length+1)}}m.loose||(a?m.loose=!0:/\n *\n *$/.test(n)&&(a=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p),r&&(i="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:p}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=p.trimRight(),m.raw=m.raw.trimRight();const x=m.items.length;for(l=0;l<x;l++){this.lexer.state.top=!1,m.items[l].tokens=this.lexer.blockTokens(m.items[l].text,[]);const e=m.items[l].tokens.filter((e=>"space"===e.type)),t=e.every((e=>{const t=e.raw.split("");let n=0;for(const e of t)if("\n"===e&&(n+=1),n>1)return!0;return!1}));!m.loose&&e.length&&t&&(m.loose=!0,m.items[l].loose=!0)}return m}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):p(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){const t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));return{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:v(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r,i,s,l=e.align.length;for(n=0;n<l;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(l=e.rows.length,n=0;n<l;n++)e.rows[n]=v(e.rows[n],e.header.length).map((e=>({text:e})));for(l=e.header.length,r=0;r<l;r++)e.header[r].tokens=[],this.lexer.inlineTokens(e.header[r].text,e.header[r].tokens);for(l=e.rows.length,r=0;r<l;r++)for(s=e.rows[r],i=0;i<s.length;i++)s[i].tokens=[],this.lexer.inlineTokens(s[i].text,s[i].tokens);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const e={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}text(e){const t=this.rules.block.text.exec(e);if(t){const e={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:p(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):p(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=R(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,i=0;for(;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),E(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return E(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){const n=r[0].length-1;let i,s,l=n,o=0;const a="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=a.exec(t));){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(s=i.length,r[3]||r[4]){l+=s;continue}if((r[5]||r[6])&&n%3&&!((n+s)%3)){o+=s;continue}if(l-=s,l>0)continue;if(s=Math.min(s,s+l+o),Math.min(n,s)%2){const t=e.slice(1,n+r.index+s);return{type:"em",raw:e.slice(0,n+r.index+s+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}const t=e.slice(2,n+r.index+s-1);return{type:"strong",raw:e.slice(0,n+r.index+s+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=p(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=p(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=p(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=p(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=p(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):p(n[0]):n[0]:p(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}const C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:T,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};C.def=m(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.listItemStart=m(/^( *)(bull) */).replace("bull",C.bullet).getRegex(),C.list=m(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,C.html=m(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.paragraph=m(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.blockquote=m(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal=S({},C),C.gfm=S({},C.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),C.gfm.table=m(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.gfm.paragraph=m(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",C.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.pedantic=S({},C.normal,{html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:T,paragraph:m(C.normal._paragraph).replace("hr",C.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const O={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:T,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:T,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function D(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"â€").replace(/\.{3}/g,"…")}function I(e){let t,n,r="";const i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}O._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",O.punctuation=m(O.punctuation).replace(/punctuation/g,O._punctuation).getRegex(),O.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,O.escapedEmSt=/\\\*|\\_/g,O._comment=m(C._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),O.emStrong.lDelim=m(O.emStrong.lDelim).replace(/punct/g,O._punctuation).getRegex(),O.emStrong.rDelimAst=m(O.emStrong.rDelimAst,"g").replace(/punct/g,O._punctuation).getRegex(),O.emStrong.rDelimUnd=m(O.emStrong.rDelimUnd,"g").replace(/punct/g,O._punctuation).getRegex(),O._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,O._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,O._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,O.autolink=m(O.autolink).replace("scheme",O._scheme).replace("email",O._email).getRegex(),O._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,O.tag=m(O.tag).replace("comment",O._comment).replace("attribute",O._attribute).getRegex(),O._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,O._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,O._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,O.link=m(O.link).replace("label",O._label).replace("href",O._href).replace("title",O._title).getRegex(),O.reflink=m(O.reflink).replace("label",O._label).replace("ref",C._label).getRegex(),O.nolink=m(O.nolink).replace("ref",C._label).getRegex(),O.reflinkSearch=m(O.reflinkSearch,"g").replace("reflink",O.reflink).replace("nolink",O.nolink).getRegex(),O.normal=S({},O),O.pedantic=S({},O.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",O._label).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",O._label).getRegex()}),O.gfm=S({},O.normal,{escape:m(O.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),O.gfm.url=m(O.gfm.url,"i").replace("email",O.gfm._extended_email).getRegex(),O.breaks=S({},O.gfm,{br:m(O.br).replace("{2,}","*").getRegex(),text:m(O.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});class L{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||s,this.options.tokenizer=this.options.tokenizer||new N,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:C.normal,inline:O.normal};this.options.pedantic?(t.block=C.pedantic,t.inline=O.pedantic):this.options.gfm&&(t.block=C.gfm,this.options.breaks?t.inline=O.breaks:t.inline=O.gfm),this.tokenizer.rules=t}static get rules(){return{block:C,inline:O}}static lex(e,t){return new L(t).lex(e)}static lexInline(e,t){return new L(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let n,r,i,s;for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i)))r=t[t.length-1],s&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),s=i.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let n,r,i,s,l,o,a=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(a));)e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+$("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,s.index)+"["+$("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(a));)a=a.slice(0,s.index)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(l||(o=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,a,o))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,I))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,I))){if(i=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i,D))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),l=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class P{constructor(e){this.options=e||s}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+p(r,!0)+'">'+(n?e:p(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:p(e,!0))+"</code></pre>\n"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=b(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+p(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=b(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}class B{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class M{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class F{constructor(e){this.options=e||s,this.options.renderer=this.options.renderer||new P,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new B,this.slugger=new M}static parse(e,t){return new F(t).parse(e)}static parseInline(e,t){return new F(t).parseInline(e)}parse(e,t=!0){let n,r,i,s,l,o,a,c,u,h,p,g,d,m,k,x,b,w,y,_="";const A=e.length;for(n=0;n<A;n++)if(h=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[h.type]&&(y=this.options.extensions.renderers[h.type].call({parser:this},h),!1!==y||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(h.type)))_+=y||"";else switch(h.type){case"space":continue;case"hr":_+=this.renderer.hr();continue;case"heading":_+=this.renderer.heading(this.parseInline(h.tokens),h.depth,f(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":_+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(c="",a="",s=h.header.length,r=0;r<s;r++)a+=this.renderer.tablecell(this.parseInline(h.header[r].tokens),{header:!0,align:h.align[r]});for(c+=this.renderer.tablerow(a),u="",s=h.rows.length,r=0;r<s;r++){for(o=h.rows[r],a="",l=o.length,i=0;i<l;i++)a+=this.renderer.tablecell(this.parseInline(o[i].tokens),{header:!1,align:h.align[i]});u+=this.renderer.tablerow(a)}_+=this.renderer.table(c,u);continue;case"blockquote":u=this.parse(h.tokens),_+=this.renderer.blockquote(u);continue;case"list":for(p=h.ordered,g=h.start,d=h.loose,s=h.items.length,u="",r=0;r<s;r++)k=h.items[r],x=k.checked,b=k.task,m="",k.task&&(w=this.renderer.checkbox(x),d?k.tokens.length>0&&"paragraph"===k.tokens[0].type?(k.tokens[0].text=w+" "+k.tokens[0].text,k.tokens[0].tokens&&k.tokens[0].tokens.length>0&&"text"===k.tokens[0].tokens[0].type&&(k.tokens[0].tokens[0].text=w+" "+k.tokens[0].tokens[0].text)):k.tokens.unshift({type:"text",text:w}):m+=w),m+=this.parse(k.tokens,d),u+=this.renderer.listitem(m,b,x);_+=this.renderer.list(u,p,g);continue;case"html":_+=this.renderer.html(h.text);continue;case"paragraph":_+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(u=h.tokens?this.parseInline(h.tokens):h.text;n+1<A&&"text"===e[n+1].type;)h=e[++n],u+="\n"+(h.tokens?this.parseInline(h.tokens):h.text);_+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return _}parseInline(e,t){t=t||this.renderer;let n,r,i,s="";const l=e.length;for(n=0;n<l;n++)if(r=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(i=this.options.extensions.renderers[r.type].call({parser:this},r),!1!==i||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)))s+=i||"";else switch(r.type){case"escape":case"text":s+=t.text(r.text);break;case"html":s+=t.html(r.text);break;case"link":s+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":s+=t.image(r.href,r.title,r.text);break;case"strong":s+=t.strong(this.parseInline(r.tokens,t));break;case"em":s+=t.em(this.parseInline(r.tokens,t));break;case"codespan":s+=t.codespan(r.text);break;case"br":s+=t.br();break;case"del":s+=t.del(this.parseInline(r.tokens,t));break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return s}}function H(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),z(t=S({},H.defaults,t||{})),n){const r=t.highlight;let i;try{i=L.lex(e,t)}catch(e){return n(e)}const s=function(e){let s;if(!e)try{t.walkTokens&&H.walkTokens(i,t.walkTokens),s=F.parse(i,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,s)};if(!r||r.length<3)return s();if(delete t.highlight,!i.length)return s();let l=0;return H.walkTokens(i,(function(e){"code"===e.type&&(l++,setTimeout((()=>{r(e.text,e.lang,(function(t,n){if(t)return s(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),l--,0===l&&s()}))}),0))})),void(0===l&&s())}try{const n=L.lex(e,t);return t.walkTokens&&H.walkTokens(n,t.walkTokens),F.parse(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+p(e.message+"",!0)+"</pre>";throw e}}H.options=H.setOptions=function(e){var t;return S(H.defaults,e),t=H.defaults,s=t,H},H.getDefaults=i,H.defaults=s,H.use=function(...e){const t=S({},...e),n=H.defaults.extensions||{renderers:{},childTokens:{}};let r;e.forEach((e=>{if(e.extensions&&(r=!0,e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const t=n.renderers?n.renderers[e.name]:null;n.renderers[e.name]=t?function(...n){let r=e.renderer.apply(this,n);return!1===r&&(r=t.apply(this,n)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");n[e.level]?n[e.level].unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}e.childTokens&&(n.childTokens[e.name]=e.childTokens)}))),e.renderer){const n=H.defaults.renderer||new P;for(const t in e.renderer){const r=n[t];n[t]=(...i)=>{let s=e.renderer[t].apply(n,i);return!1===s&&(s=r.apply(n,i)),s}}t.renderer=n}if(e.tokenizer){const n=H.defaults.tokenizer||new N;for(const t in e.tokenizer){const r=n[t];n[t]=(...i)=>{let s=e.tokenizer[t].apply(n,i);return!1===s&&(s=r.apply(n,i)),s}}t.tokenizer=n}if(e.walkTokens){const n=H.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens.call(this,t),n&&n.call(this,t)}}r&&(t.extensions=n),H.setOptions(t)}))},H.walkTokens=function(e,t){for(const n of e)switch(t.call(H,n),n.type){case"table":for(const e of n.header)H.walkTokens(e.tokens,t);for(const e of n.rows)for(const n of e)H.walkTokens(n.tokens,t);break;case"list":H.walkTokens(n.items,t);break;default:H.defaults.extensions&&H.defaults.extensions.childTokens&&H.defaults.extensions.childTokens[n.type]?H.defaults.extensions.childTokens[n.type].forEach((function(e){H.walkTokens(n[e],t)})):n.tokens&&H.walkTokens(n.tokens,t)}},H.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");z(t=S({},H.defaults,t||{}));try{const n=L.lexInline(e,t);return t.walkTokens&&H.walkTokens(n,t.walkTokens),F.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+p(e.message+"",!0)+"</pre>";throw e}},H.Parser=F,H.parser=F.parse,H.Renderer=P,H.TextRenderer=B,H.Lexer=L,H.lexer=L.lex,H.Tokenizer=N,H.Slugger=M,H.parse=H;H.options,H.setOptions,H.use,H.walkTokens,H.parseInline,F.parse,L.lex;class q{constructor(){this._options={gfm:!0,breaks:!0,tables:!0,xhtml:!0,headerIds:!1},H.use({tokenizer:{autolink:()=>null,url:()=>null},renderer:{checkbox(...e){return Object.getPrototypeOf(this).checkbox.call(this,...e).trimRight()},code(...e){return Object.getPrototypeOf(this).code.call(this,...e).replace("\n</code>","</code>")}}}),this._parser=H}parse(e){return this._parser.parse(e,this._options)}}function j(e,t){return Array(t+1).join(e)}var U=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function Z(e){return K(e,U)}var V=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function Q(e){return K(e,V)}var W=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function K(e,t){return t.indexOf(e.nodeName)>=0}function G(e,t){return e.getElementsByTagName&&t.some((function(t){return e.getElementsByTagName(t).length}))}var X={};function Y(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function J(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function ee(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(te(i,t,n))return i}}function te(e,t,n){var r=e.filter;if("string"==typeof r){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else{if("function"!=typeof r)throw new TypeError("`filter` needs to be a string, array, or function");if(r.call(e,t,n))return!0}}function ne(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function re(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}X.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},X.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},X.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var r=Number(t.nodeName.charAt(1));return"setext"===n.headingStyle&&r<3?"\n\n"+e+"\n"+j(1===r?"=":"-",e.length)+"\n\n":"\n\n"+j("#",r)+" "+e+"\n\n"}},X.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},X.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},X.listItem={filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var r=n.bulletListMarker+" ",i=t.parentNode;if("OL"===i.nodeName){var s=i.getAttribute("start"),l=Array.prototype.indexOf.call(i.children,t);r=(s?Number(s)+l:l+1)+". "}return r+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},X.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n "+t.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},X.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var r,i=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],s=t.firstChild.textContent,l=n.fence.charAt(0),o=3,a=new RegExp("^"+l+"{3,}","gm");r=a.exec(s);)r[0].length>=o&&(o=r[0].length+1);var c=j(l,o);return"\n\n"+c+i+"\n"+s.replace(/\n$/,"")+"\n"+c+"\n\n"}},X.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},X.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=t.getAttribute("href");n&&(n=n.replace(/([()])/g,"\\$1"));var r=Y(t.getAttribute("title"));return r&&(r=' "'+r.replace(/"/g,'\\"')+'"'),"["+e+"]("+n+r+")"}},X.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,i,s=t.getAttribute("href"),l=Y(t.getAttribute("title"));switch(l&&(l=' "'+l+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+s+l;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+s+l;break;default:var o=this.references.length+1;r="["+e+"]["+o+"]",i="["+o+"]: "+s+l}return this.references.push(i),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},X.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},X.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},X.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},X.image={filter:"img",replacement:function(e,t){var n=Y(t.getAttribute("alt")),r=t.getAttribute("src")||"",i=Y(t.getAttribute("title"));return r?"+")":""}},J.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=ee(this.array,e,this.options))||(t=ee(this._keep,e,this.options))||(t=ee(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};var ie="undefined"!=typeof window?window:{};var se,le=function(){var e=ie.DOMParser,t=!1;try{(new e).parseFromString("","text/html")&&(t=!0)}catch(e){}return t}()?ie.DOMParser:function(){var e=function(){};return!function(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch(t){ie.ActiveXObject&&(e=!0)}return e}()?e.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(e),t.close(),t}:e.prototype.parseFromString=function(e){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(e),t.close(),t},e}();function oe(e,t){var n;"string"==typeof e?n=(se=se||new le).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);return function(e){var t=e.element,n=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!i(t)){for(var s=null,l=!1,o=null,a=re(o,t,i);a!==t;){if(3===a.nodeType||4===a.nodeType){var c=a.data.replace(/[ \r\n\t]+/g," ");if(s&&!/ $/.test(s.data)||l||" "!==c[0]||(c=c.substr(1)),!c){a=ne(a);continue}a.data=c,s=a}else{if(1!==a.nodeType){a=ne(a);continue}n(a)||"BR"===a.nodeName?(s&&(s.data=s.data.replace(/ $/,"")),s=null,l=!1):r(a)||i(a)?(s=null,l=!0):s&&(l=!1)}var u=re(o,a,i);o=a,a=u}s&&(s.data=s.data.replace(/ $/,""),s.data||ne(s))}}({element:n,isBlock:Z,isVoid:Q,isPre:t.preformattedCode?ae:null}),n}function ae(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function ce(e,t){return e.isBlock=Z(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!Q(e)&&!function(e){return K(e,W)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return G(e,V)}(e)&&!function(e){return G(e,W)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n=(r=e.textContent,i=r.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/),{leading:i[1],leadingAscii:i[2],leadingNonAscii:i[3],trailing:i[4],trailingNonAscii:i[5],trailingAscii:i[6]});var r,i;n.leadingAscii&&ue("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&ue("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function ue(e,t,n){var r,i,s;return"left"===e?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(3===r.nodeType?s=i.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?s=!1:1!==r.nodeType||Z(r)||(s=i.test(r.textContent))),s}var he=Array.prototype.reduce,pe=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function ge(e){if(!(this instanceof ge))return new ge(e);var t={rules:X,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},t,e),this.rules=new J(this.options)}function fe(e){var t=this;return he.call(e.childNodes,(function(e,n){var r="";return 3===(n=new ce(n,t.options)).nodeType?r=n.isCode?n.nodeValue:t.escape(n.nodeValue):1===n.nodeType&&(r=me.call(t,n)),ke(e,r)}),"")}function de(e){var t=this;return this.rules.forEach((function(n){"function"==typeof n.append&&(e=ke(e,n.append(t.options)))})),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function me(e){var t=this.rules.forNode(e),n=fe.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&&(n=n.trim()),r.leading+t.replacement(n,e,this.options)+r.trailing}function ke(e,t){var n=function(e){for(var t=e.length;t>0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,""),i=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,i)+r}ge.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"==typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=fe.call(this,new oe(e,this.options));return de.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else{if("function"!=typeof e)throw new TypeError("plugin must be a Function or an Array of Functions");e(this)}return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return pe.reduce((function(e,t){return e.replace(t[0],t[1])}),e)}};const xe=ge;var be=/highlight-(?:text|source)-([a-z0-9]+)/;function we(e){e.addRule("highlightedCodeBlock",{filter:function(e){var t=e.firstChild;return"DIV"===e.nodeName&&be.test(e.className)&&t&&"PRE"===t.nodeName},replacement:function(e,t,n){var r=((t.className||"").match(be)||[null,""])[1];return"\n\n"+n.fence+r+"\n"+t.firstChild.textContent+"\n"+n.fence+"\n\n"}})}function ye(e){e.addRule("strikethrough",{filter:["del","s","strike"],replacement:function(e){return"~"+e+"~"}})}var _e=Array.prototype.indexOf,Ae=Array.prototype.every,Te={};function Se(e){var t,n,r=e.parentNode;return"THEAD"===r.nodeName||r.firstChild===e&&("TABLE"===r.nodeName||(n=(t=r).previousSibling,"TBODY"===t.nodeName&&(!n||"THEAD"===n.nodeName&&/^\s*$/i.test(n.textContent))))&&Ae.call(e.childNodes,(function(e){return"TH"===e.nodeName}))}function ve(e,t){var n=" ";return 0===_e.call(t.parentNode.childNodes,t)&&(n="| "),n+e+" |"}function Re(e){for(var t in e.keep((function(e){return"TABLE"===e.nodeName&&!Se(e.rows[0])})),Te)e.addRule(t,Te[t])}function ze(e){e.addRule("taskListItems",{filter:function(e){return"checkbox"===e.type&&"LI"===e.parentNode.nodeName},replacement:function(e,t){return(t.checked?"[x]":"[ ]")+" "}})}function $e(e){e.use([we,ye,Re,ze])}Te.tableCell={filter:["th","td"],replacement:function(e,t){return ve(e,t)}},Te.tableRow={filter:"tr",replacement:function(e,t){var n="",r={left:":--",right:"--:",center:":-:"};if(Se(t))for(var i=0;i<t.childNodes.length;i++){var s="---",l=(t.childNodes[i].getAttribute("align")||"").toLowerCase();l&&(s=r[l]||s),n+=ve(s,t.childNodes[i])}return"\n"+e+(n?"\n"+n:"")}},Te.table={filter:function(e){return"TABLE"===e.nodeName&&Se(e.rows[0])},replacement:function(e){return"\n\n"+(e=e.replace("\n\n","\n"))+"\n\n"}},Te.tableSection={filter:["thead","tbody","tfoot"],replacement:function(e){return e}};const Ee=new RegExp(/\b(?:(?:https?|ftp):\/\/|www\.)/.source+/(?![-_])(?:[-_a-z0-9\u00a1-\uffff]{1,63}\.)+(?:[a-z\u00a1-\uffff]{2,63})/.source+/(?:[^\s<>]*)/.source,"gi");class Ne extends xe{escape(e){const t=super.escape;function n(e){return e=(e=t(e)).replace(/</g,"\\<")}let r="",i=0;for(const t of this._matchAutolink(e)){const s=t.index;s>i&&(r+=n(e.substring(i,s)));const l=t[0];r+=l,i=s+l.length}return i<e.length&&(r+=n(e.substring(i,e.length))),r}*_matchAutolink(e){for(const t of e.matchAll(Ee)){const e=t[0],n=this._autolinkFindEnd(e);yield Object.assign([e.substring(0,n)],{index:t.index})}}_autolinkFindEnd(e){let t=e.length;for(;t>0;){const n=e[t-1];if("?!.,:*_~'\"".includes(n))t--;else{if(")"!=n)break;{let n=0;for(let r=0;r<t;r++)"("==e[r]?n++:")"==e[r]&&n--;if(!(n<0))break;t--}}}return t}}class Ce{constructor(){this._parser=this._createParser()}parse(e){return this._parser.turndown(e)}keep(e){this._parser.keep(e)}_createParser(){const e=new Ne({codeBlockStyle:"fenced",hr:"---",headingStyle:"atx"});return e.use([$e,this._todoList]),e}_todoList(e){e.addRule("taskListItems",{filter:e=>"checkbox"===e.type&&("LI"===e.parentNode.nodeName||"LI"===e.parentNode.parentNode.nodeName),replacement:(e,t)=>(t.checked?"[x]":"[ ]")+" "})}}class Oe{constructor(e){this._htmlDP=new t.HtmlDataProcessor(e),this._markdown2html=new q,this._html2markdown=new Ce}keepHtml(e){this._html2markdown.keep([e])}toView(e){const t=this._markdown2html.parse(e);return this._htmlDP.toView(t)}toData(e){const t=this._htmlDP.toData(e);return this._html2markdown.parse(t)}registerRawContentMatcher(e){this._htmlDP.registerRawContentMatcher(e)}useFillerType(){}}class De extends e.Plugin{constructor(e){super(e),e.data.processor=new Oe(e.data.viewDocument)}static get pluginName(){return"Markdown"}static get isOfficialPlugin(){return!0}}var Ie=n(331);const Le=["SPAN","BR","PRE","CODE"];class Pe extends e.Plugin{constructor(e){super(e),this._gfmDataProcessor=new Oe(e.data.viewDocument)}static get pluginName(){return"PasteFromMarkdownExperimental"}static get isOfficialPlugin(){return!0}static get requires(){return[Ie.ClipboardPipeline]}init(){const e=this.editor,t=e.editing.view.document,n=e.plugins.get("ClipboardPipeline");let r=!1;this.listenTo(t,"keydown",((e,t)=>{r=t.shiftKey})),this.listenTo(n,"inputTransformation",((e,t)=>{if(r)return;const n=t.dataTransfer.getData("text/html");if(!n){const e=t.dataTransfer.getData("text/plain");return void(t.content=this._gfmDataProcessor.toView(e))}const i=this._parseMarkdownFromHtml(n);i&&(t.content=this._gfmDataProcessor.toView(i))}))}_parseMarkdownFromHtml(e){const t=this._removeOsSpecificTags(e);if(!this._containsOnlyAllowedFirstLevelTags(t))return null;const n=this._removeFirstLevelWrapperTagsAndBrs(t);return this._containsAnyRemainingHtmlTags(n)?null:this._replaceHtmlReservedEntitiesWithCharacters(n)}_removeOsSpecificTags(e){return e.replace(/^<meta\b[^>]*>/,"").trim().replace(/^<html>/,"").replace(/<\/html>$/,"").trim().replace(/^<body>/,"").replace(/<\/body>$/,"").trim().replace(/^<!--StartFragment-->/,"").replace(/<!--EndFragment-->$/,"").trim()}_containsOnlyAllowedFirstLevelTags(e){const t=new DOMParser,{body:n}=t.parseFromString(e,"text/html");return Array.from(n.children).map((e=>e.tagName)).every((e=>Le.includes(e)))}_removeFirstLevelWrapperTagsAndBrs(e){const t=new DOMParser,{body:n}=t.parseFromString(e,"text/html"),r=n.querySelectorAll("br");for(const e of r)e.replaceWith("\n");const i=n.querySelectorAll(":scope > *");for(const e of i){const t=e.cloneNode(!0);e.replaceWith(...t.childNodes)}return n.innerHTML}_containsAnyRemainingHtmlTags(e){return e.includes("<")}_replaceHtmlReservedEntitiesWithCharacters(e){return e.replace(/>/g,">").replace(/</g,"<").replace(/ /g," ")}}})(),(window.CKEditor5=window.CKEditor5||{}).markdownGfm=r})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/media-embed/media-embed.js b/core/assets/vendor/ckeditor5/media-embed/media-embed.js index ad685f43d69aa3041f0e36005c13dfa3d6d56af8..c5e410439cbe25e8965ec1b6dae345945220120e 100644 --- a/core/assets/vendor/ckeditor5/media-embed/media-embed.js +++ b/core/assets/vendor/ckeditor5/media-embed/media-embed.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var r=i(935),o=i.n(r)()((function(e){return e[1]}));o.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},790:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var r=i(935),o=i.n(r)()((function(e){return e[1]}));o.push([e.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}",""]);const a=o},400:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var r=i(935),o=i.n(r)()((function(e){return e[1]}));o.push([e.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.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 .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .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*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.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),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .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{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .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-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSlzY2FsZSguOTgwMTIpIj48cmVjdCB3aWR0aD0iNjAuMDk5IiBoZWlnaHQ9IjYwLjA5OSIgeD0iMTc2LjAzMSIgeT0iMjMxLjM5OSIgZmlsbD0iIzM0YTY2OCIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiIHJ4PSI1LjIzOCIgcnk9IjUuMjM4Ii8+PHBhdGggZmlsbD0iIzVjODhjNSIgZD0ibTIwNi40NzcgMjYwLjktMjguOTg3IDI4Ljk4N2E1LjIyIDUuMjIgMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiLz48cGF0aCBmaWxsPSIjZGQ0YjNlIiBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwN3EuNS43NTMuOTUgMS41MDguNTE1LjcxNS45ODggMS40NGMxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5cS40NzMtLjcyMy45ODgtMS40MzkuNDUtLjc1NS45NS0xLjUwOGMuMzU5LS43Ljc2LTEuNDA0IDEuMTktMi4xMDcgMS40MjYtMi40MDIgMi01LjExNCAyLjAwNC03Ljg3NSAwLTguODQ0LTcuNTExLTE2LjAxNC0xNi43NzYtMTYuMDE0IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIGN4PSIyMjYuNzQyIiBjeT0iMjM5LjAwMiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiIHJ4PSI1LjgyOCIgcnk9IjUuNTY0Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjlxLS4wMDEtLjU0My0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhxLS4wMDEtLjAwMy0uMDA0LS4wMDVjLTEuNTg4LTEuNTI0LTMuNjItMi4yMTUtNS45NTUtMi4yMTVtNC40MyA1LjY2LjAwMy4wMDZ2LS4wMDN6IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGZpbGw9IiNjM2MzYzMiIGQ9Im0yMTUuMTg0IDI1MS45MjktNy45OCA3Ljk3OSAyOC40NzcgMjguNDc1YTUuMiA1LjIgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjl6Ii8+PHBhdGggZmlsbD0iI2ZkZGM0ZiIgZD0ibTIxMi45ODMgMjQ4LjQ5NS0zNi45NTIgMzYuOTUzdi44MTJhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzggNS4yMzhoMS4wMTVsMzUuNjY2LTM1LjY2NmExMzYgMTM2IDAgMCAwLTIuNzY0LTMuOSAzOCAzOCAwIDAgMC0uOTg5LTEuNDQgMzUgMzUgMCAwIDAtLjk1LTEuNTA4Yy0uMDgzLS4xNjItLjE3Ni0uMzI2LS4yNjQtLjQ4OSIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDI0IiBoZWlnaHQ9IjEwMjQiPjxwYXRoIGZpbGw9IiNGRkZGRkUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTk2Ny40ODQgMEg1Ni41MTdDMjUuMzA0IDAgMCAyNS4zMDQgMCA1Ni41MTd2OTEwLjk2NkMwIDk5OC42OTQgMjUuMjk3IDEwMjQgNTYuNTIyIDEwMjRINTQ3VjYyOEg0MTRWNDczaDEzM1YzNTkuMDI5YzAtMTMyLjI2MiA4MC43NzMtMjA0LjI4MiAxOTguNzU2LTIwNC4yODIgNTYuNTEzIDAgMTA1LjA4NiA0LjIwOCAxMTkuMjQ0IDYuMDg5VjI5OWwtODEuNjE2LjAzN2MtNjMuOTkzIDAtNzYuMzg0IDMwLjQ5Mi03Ni4zODQgNzUuMjM2VjQ3M2gxNTMuNDg3bC0xOS45ODYgMTU1SDcwN3YzOTZoMjYwLjQ4NGMzMS4yMTMgMCA1Ni41MTYtMjUuMzAzIDU2LjUxNi01Ni41MTZWNTYuNTE1QzEwMjQgMjUuMzAzIDk5OC42OTcgMCA5NjcuNDg0IDAiLz48L3N2Zz4=)}.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,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OW0wIDQ1LjM5MWM2Ny4yNjUgMCA3NS4yMzMuMjU3IDEwMS43OTcgMS40NjkgMjQuNTYyIDEuMTIgMzcuOTAxIDUuMjI0IDQ2Ljc3OCA4LjY3NCAxMS43NTkgNC41NyAyMC4xNTEgMTAuMDI5IDI4Ljk2NiAxOC44NDVzMTQuMjc1IDE3LjIwNyAxOC44NDUgMjguOTY2YzMuNDUgOC44NzcgNy41NTQgMjIuMjE2IDguNjc0IDQ2Ljc3OCAxLjIxMiAyNi41NjQgMS40NjkgMzQuNTMyIDEuNDY5IDEwMS43OTggMCA2Ny4yNjUtLjI1NyA3NS4yMzMtMS40NjkgMTAxLjc5Ny0xLjEyIDI0LjU2Mi01LjIyNCAzNy45MDEtOC42NzQgNDYuNzc4LTQuNTcgMTEuNzU5LTEwLjAyOSAyMC4xNTEtMTguODQ1IDI4Ljk2NnMtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1Yy04Ljg3NyAzLjQ1LTIyLjIxNiA3LjU1NC00Ni43NzggOC42NzQtMjYuNTYgMS4yMTItMzQuNTI3IDEuNDY5LTEwMS43OTcgMS40NjktNjcuMjcxIDAtNzUuMjM3LS4yNTctMTAxLjc5OC0xLjQ2OS0yNC41NjItMS4xMi0zNy45MDEtNS4yMjQtNDYuNzc4LTguNjc0LTExLjc1OS00LjU3LTIwLjE1MS0xMC4wMjktMjguOTY2LTE4Ljg0NXMtMTQuMjc1LTE3LjIwNy0xOC44NDUtMjguOTY2Yy0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NnMxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDVjOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OSIgbWFzaz0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0yNTEuOTIxIDMzNi4wNTNjLTQ2LjM3OCAwLTgzLjk3NC0zNy41OTYtODMuOTc0LTgzLjk3M3MzNy41OTYtODMuOTc0IDgzLjk3NC04My45NzRjNDYuMzc3IDAgODMuOTczIDM3LjU5NiA4My45NzMgODMuOTc0IDAgNDYuMzc3LTM3LjU5NiA4My45NzMtODMuOTczIDgzLjk3M20wLTIxMy4zMzhjLTcxLjQ0NyAwLTEyOS4zNjUgNTcuOTE4LTEyOS4zNjUgMTI5LjM2NSAwIDcxLjQ0NiA1Ny45MTggMTI5LjM2NCAxMjkuMzY1IDEyOS4zNjQgNzEuNDQ2IDAgMTI5LjM2NC01Ny45MTggMTI5LjM2NC0xMjkuMzY0IDAtNzEuNDQ3LTU3LjkxOC0xMjkuMzY1LTEyOS4zNjQtMTI5LjM2NU00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjNzMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzFjMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIi8+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}.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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwME0xNjMuNCAzMDUuNWM4OC43IDAgMTM3LjItNzMuNSAxMzcuMi0xMzcuMiAwLTIuMSAwLTQuMi0uMS02LjIgOS40LTYuOCAxNy42LTE1LjMgMjQuMS0yNS04LjYgMy44LTE3LjkgNi40LTI3LjcgNy42IDEwLTYgMTcuNi0xNS40IDIxLjItMjYuNy05LjMgNS41LTE5LjYgOS41LTMwLjYgMTEuNy04LjgtOS40LTIxLjMtMTUuMi0zNS4yLTE1LjItMjYuNiAwLTQ4LjIgMjEuNi00OC4yIDQ4LjIgMCAzLjguNCA3LjUgMS4zIDExLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40LTQuMSA3LjEtNi41IDE1LjQtNi41IDI0LjIgMCAxNi43IDguNSAzMS41IDIxLjUgNDAuMS03LjktLjItMTUuMy0yLjQtMjEuOC02di42YzAgMjMuNCAxNi42IDQyLjggMzguNyA0Ny4zLTQgMS4xLTguMyAxLjctMTIuNyAxLjctMy4xIDAtNi4xLS4zLTkuMS0uOSA2LjEgMTkuMiAyMy45IDMzLjEgNDUgMzMuNS0xNi41IDEyLjktMzcuMyAyMC42LTU5LjkgMjAuNi0zLjkgMC03LjctLjItMTEuNS0uNyAyMS4xIDEzLjggNDYuNSAyMS44IDczLjcgMjEuOCIgc3R5bGU9ImZpbGw6I2ZmZiIvPjwvc3ZnPg==)}.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}',""]);const a=o},755:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var r=i(935),o=i.n(r)()((function(e){return e[1]}));o.push([e.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-media-form .ck-labeled-field-view{display:inline-block;width:100%}.ck.ck-media-form .ck-label{display:none}.ck.ck-media-form .ck-input{width:100%}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}",""]);const a=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var n=0;n<e.length;n++){var l=[].concat(e[n]);r&&o[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},591:(e,t,i)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),c=[];function n(e){for(var t=-1,i=0;i<c.length;i++)if(c[i].identifier===e){t=i;break}return t}function l(e,t){for(var i={},r=[],o=0;o<e.length;o++){var a=e[o],l=t.base?a[0]+t.base:a[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var s=n(u),M={css:a[1],media:a[2],sourceMap:a[3]};-1!==s?(c[s].references++,c[s].updater(M)):c.push({identifier:u,updater:N(M,t),references:1}),r.push(u)}return r}function d(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=i.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var c=a(e.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(t)}return t}var u,s=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function M(e,t,i,r){var o=i?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=s(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}function m(e,t,i){var r=i.css,o=i.media,a=i.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var g=null,j=0;function N(e,t){var i,r,o;if(t.singleton){var a=j++;i=g||(g=d(t)),r=M.bind(null,i,a,!1),o=M.bind(null,i,a,!0)}else i=d(t),r=m.bind(null,i,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var i=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<i.length;r++){var o=n(i[r]);c[o].references--}for(var a=l(e,t),d=0;d<i.length;d++){var u=n(i[d]);0===c[u].references&&(c[u].updater(),c.splice(u,1))}i=a}}}},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},251:(e,t,i)=>{e.exports=i(237)("./src/undo.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,exports:{}};return e[r](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};(()=>{"use strict";i.r(r),i.d(r,{AutoMediaEmbed:()=>k,MediaEmbed:()=>E,MediaEmbedEditing:()=>h,MediaEmbedToolbar:()=>S,MediaEmbedUI:()=>z});var e=i(782),t=i(901),o=i(584);function a(e,t){const i=(i,r,o)=>{if(!o.consumable.consume(r.item,i.name))return;const a=r.attributeNewValue,c=o.writer,n=o.mapper.toViewElement(r.item),l=[...n.getChildren()].find((e=>e.getCustomProperty("media-content")));c.remove(l);const d=e.getMediaViewElement(c,a,t);c.insert(c.createPositionAt(n,0),d)};return e=>{e.on("attribute:url:media",i)}}function c(e){const i=e.getSelectedElement();return i&&function(e){return!!e.getCustomProperty("media")&&(0,t.isWidget)(e)}(i)?i:null}function n(e,t,i,r){return e.createContainerElement("figure",{class:"media"},[t.getMediaViewElement(e,i,r),e.createSlot()])}function l(e){const t=e.getSelectedElement();return t&&t.is("element","media")?t:null}function d(e,t,i,r){e.change((o=>{const a=o.createElement("media",{url:t});e.insertObject(a,i,null,{setSelection:"on",findOptimalPosition:r?"auto":void 0})}))}class u extends e.Command{refresh(){const e=this.editor.model,i=e.document.selection,r=l(i);this.value=r?r.getAttribute("url"):void 0,this.isEnabled=function(e){const t=e.getSelectedElement();return!!t&&"media"===t.name}(i)||function(e,i){const r=(0,t.findOptimalInsertionRange)(e,i);let o=r.start.parent;o.isEmpty&&!i.schema.isLimit(o)&&(o=o.parent);return i.schema.checkChild(o,"media")}(i,e)}execute(e){const t=this.editor.model,i=t.document.selection,r=l(i);r?t.change((t=>{t.setAttribute("url",e,r)})):d(t,e,i,!0)}}var s=i(311);class M{constructor(e,t){const i=t.providers,r=t.extraProviders||[],a=new Set(t.removeProviders),c=i.concat(r).filter((e=>{const t=e.name;return t?!a.has(t):((0,o.logWarning)("media-embed-no-provider-name",{provider:e}),!1)}));this.locale=e,this.providerDefinitions=c}hasMedia(e){return!!this._getMedia(e)}getMediaViewElement(e,t,i){return this._getMedia(t).getViewElement(e,i)}_getMedia(e){if(!e)return new m(this.locale);e=e.trim();for(const t of this.providerDefinitions){const i=t.html,r=(0,o.toArray)(t.url);for(const t of r){const r=this._getUrlMatches(e,t);if(r)return new m(this.locale,e,r,i)}}return null}_getUrlMatches(e,t){let i=e.match(t);if(i)return i;let r=e.replace(/^https?:\/\//,"");return i=r.match(t),i||(r=r.replace(/^www\./,""),i=r.match(t),i||null)}}class m{constructor(e,t,i,r){this.url=this._getValidUrl(t),this._locale=e,this._match=i,this._previewRenderer=r}getViewElement(e,t){const i={};let r;if(t.renderForEditingView||t.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(i["data-oembed-url"]=this.url),t.renderForEditingView&&(i.class="ck-media__wrapper");const o=this._getPreviewHtml(t);r=e.createRawElement("div",i,((e,t)=>{t.setContentOf(e,o)}))}else this.url&&(i.url=this.url),r=e.createEmptyElement(t.elementName,i);return e.setCustomProperty("media-content",!0,r),r}_getPreviewHtml(e){return this._previewRenderer?this._previewRenderer(this._match):this.url&&e.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const e=new s.IconView,t=this._locale.t;e.content='<svg viewBox="0 0 64 42" xmlns="http://www.w3.org/2000/svg"><path d="M47.426 17V3.713L63.102 0v19.389h-.001l.001.272c0 1.595-2.032 3.43-4.538 4.098-2.506.668-4.538-.083-4.538-1.678 0-1.594 2.032-3.43 4.538-4.098.914-.244 2.032-.565 2.888-.603V4.516L49.076 7.447v9.556A1.014 1.014 0 0 0 49 17h-1.574zM29.5 17h-8.343a7.073 7.073 0 1 0-4.657 4.06v3.781H3.3a2.803 2.803 0 0 1-2.8-2.804V8.63a2.803 2.803 0 0 1 2.8-2.805h4.082L8.58 2.768A1.994 1.994 0 0 1 10.435 1.5h8.985c.773 0 1.477.448 1.805 1.149l1.488 3.177H26.7c1.546 0 2.8 1.256 2.8 2.805V17zm-11.637 0H17.5a1 1 0 0 0-1 1v.05A4.244 4.244 0 1 1 17.863 17zm29.684 2c.97 0 .953-.048.953.889v20.743c0 .953.016.905-.953.905H19.453c-.97 0-.953.048-.953-.905V19.89c0-.937-.016-.889.97-.889h28.077zm-4.701 19.338V22.183H24.154v16.155h18.692zM20.6 21.375v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616V37.53H20.6zm24.233-16.155v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615V37.53h-1.615zM29.485 25.283a.4.4 0 0 1 .593-.35l9.05 4.977a.4.4 0 0 1 0 .701l-9.05 4.978a.4.4 0 0 1-.593-.35v-9.956z"/></svg>',e.viewBox="0 0 64 42";return new s.Template({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:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":t("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(e){return e?e.match(/^https?/)?e:"https://"+e:null}}var g=i(591),j=i.n(g),N=i(400),p={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};j()(N.A,p);N.A.locals;class h extends e.Plugin{static get pluginName(){return"MediaEmbedEditing"}constructor(e){super(e),e.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:e=>`<div style="position: relative; padding-bottom: 100%; height: 0; "><iframe src="https://www.dailymotion.com/embed/video/${e[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" width="480" height="270" allowfullscreen allow="autoplay"></iframe></div>`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:e=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 126%;"><iframe src="https://open.spotify.com/embed/${e[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe></div>`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:e=>{const t=e[1],i=e[2];return`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://www.youtube.com/embed/${t}${i?`?start=${i}`:""}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>`}},{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:e=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://player.vimeo.com/video/${e[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>`},{name:"instagram",url:[/^instagram\.com\/p\/(\w+)/,/^instagram\.com\/reel\/(\w+)/]},{name:"twitter",url:[/^twitter\.com/,/^x\.com/]},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new M(e.locale,e.config.get("mediaEmbed"))}init(){const e=this.editor,i=e.model.schema,r=e.t,c=e.conversion,l=e.config.get("mediaEmbed.previewsInData"),d=e.config.get("mediaEmbed.elementName"),s=this.registry;e.commands.add("mediaEmbed",new u(e)),i.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),c.for("dataDowncast").elementToStructure({model:"media",view:(e,{writer:t})=>{const i=e.getAttribute("url");return n(t,s,i,{elementName:d,renderMediaPreview:!!i&&l})}}),c.for("dataDowncast").add(a(s,{elementName:d,renderMediaPreview:l})),c.for("editingDowncast").elementToStructure({model:"media",view:(e,{writer:i})=>{const o=e.getAttribute("url");return function(e,i,r){return i.setCustomProperty("media",!0,e),(0,t.toWidget)(e,i,{label:r})}(n(i,s,o,{elementName:d,renderForEditingView:!0}),i,r("media widget"))}}),c.for("editingDowncast").add(a(s,{elementName:d,renderForEditingView:!0})),c.for("upcast").elementToElement({view:e=>["oembed",d].includes(e.name)&&e.getAttribute("url")?{name:!0}:null,model:(e,{writer:t})=>{const i=e.getAttribute("url");return s.hasMedia(i)?t.createElement("media",{url:i}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(e,{writer:t})=>{const i=e.getAttribute("data-oembed-url");return s.hasMedia(i)?t.createElement("media",{url:i}):null}}).add((e=>{e.on("element:figure",((e,t,i)=>{if(!i.consumable.consume(t.viewItem,{name:!0,classes:"media"}))return;const{modelRange:r,modelCursor:a}=i.convertChildren(t.viewItem,t.modelCursor);t.modelRange=r,t.modelCursor=a;(0,o.first)(r.getItems())||i.consumable.revert(t.viewItem,{name:!0,classes:"media"})}))}))}}var I=i(783),L=i(331),T=i(834),w=i(251);const y=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class k extends e.Plugin{static get requires(){return[L.Clipboard,T.Delete,w.Undo]}static get pluginName(){return"AutoMediaEmbed"}constructor(e){super(e),this._timeoutId=null,this._positionToInsert=null}init(){const e=this.editor,t=e.model.document,i=e.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",(()=>{const e=t.selection.getFirstRange(),i=I.LivePosition.fromPosition(e.start);i.stickiness="toPrevious";const r=I.LivePosition.fromPosition(e.end);r.stickiness="toNext",t.once("change:data",(()=>{this._embedMediaBetweenPositions(i,r),i.detach(),r.detach()}),{priority:"high"})}));e.commands.get("undo").on("execute",(()=>{this._timeoutId&&(o.global.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedMediaBetweenPositions(e,t){const i=this.editor,r=i.plugins.get(h).registry,a=new I.LiveRange(e,t),c=a.getWalker({ignoreElementEnd:!0});let n="";for(const e of c)e.item.is("$textProxy")&&(n+=e.item.data);if(n=n.trim(),!n.match(y))return void a.detach();if(!r.hasMedia(n))return void a.detach();i.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=I.LivePosition.fromPosition(e),this._timeoutId=o.global.window.setTimeout((()=>{i.model.change((e=>{this._timeoutId=null,e.remove(a),a.detach();let t=null;"$graveyard"!==this._positionToInsert.root.rootName&&(t=this._positionToInsert),d(i.model,n,t,!1),this._positionToInsert.detach(),this._positionToInsert=null})),i.plugins.get(T.Delete).requestUndoOnBackspace()}),100)):a.detach()}}var D=i(501),_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};j()(D.A,_);D.A.locals;var b=i(755),v={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};j()(b.A,v);b.A.locals;class f extends s.View{constructor(e,t){super(t),this.focusTracker=new o.FocusTracker,this.keystrokes=new o.KeystrokeHandler,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this._validators=e,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView]})}render(){super.render(),(0,s.submitHandler)({view:this}),this.focusTracker.add(this.urlInputView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.urlInputView.focus()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(e){this.urlInputView.fieldView.value=e.trim()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.urlInputView.errorText=t,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const e=this.locale.t,t=new s.LabeledFieldView(this.locale,s.createLabeledInputText),i=t.fieldView;return this._urlInputViewInfoDefault=e("Paste the media URL in the input."),this._urlInputViewInfoTip=e("Tip: Paste the URL into the content to embed faster."),t.label=e("Media URL"),t.infoText=this._urlInputViewInfoDefault,i.inputMode="url",i.on("input",(()=>{t.infoText=i.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=i.element.value.trim()})),t}}class z extends e.Plugin{static get requires(){return[h,s.Dialog]}static get pluginName(){return"MediaEmbedUI"}init(){const e=this.editor;e.ui.componentFactory.add("mediaEmbed",(()=>{const e=this.editor.locale.t,t=this._createDialogButton(s.ButtonView);return t.tooltip=!0,t.label=e("Insert media"),t})),e.ui.componentFactory.add("menuBar:mediaEmbed",(()=>{const e=this.editor.locale.t,t=this._createDialogButton(s.MenuBarMenuListItemButtonView);return t.label=e("Media"),t}))}_createDialogButton(e){const t=this.editor,i=new e(t.locale),r=t.commands.get("mediaEmbed"),o=this.editor.plugins.get("Dialog");return i.icon='<svg viewBox="0 0 22 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.587 1.5c-.612 0-.601-.029-.601.551v14.84c0 .59-.01.559.591.559h18.846c.602 0 .591.03.591-.56V2.052c0-.58.01-.55-.591-.55H1.587Zm.701.971h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-14.24 1h13.008v12H4.467l.029-12Zm-2.208 1h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003l-.029 1h-.974v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h.974v1h-.974v-1Zm16.448 0h1.003v1h-1.003v-1Z"/><path d="M8.374 6.648a.399.399 0 0 1 .395-.4.402.402 0 0 1 .2.049l5.148 2.824a.4.4 0 0 1 0 .7l-5.148 2.824a.403.403 0 0 1-.595-.35V6.648Z"/></svg>',i.bind("isEnabled").to(r,"isEnabled"),i.on("execute",(()=>{"mediaEmbed"===o.id?o.hide():this._showDialog()})),i}_showDialog(){const e=this.editor,t=e.plugins.get("Dialog"),i=e.commands.get("mediaEmbed"),r=e.locale.t;if(!this._formView){const t=e.plugins.get(h).registry;this._formView=new((0,s.CssTransitionDisablerMixin)(f))(function(e,t){return[t=>{if(!t.url.length)return e("The URL must not be empty.")},i=>{if(!t.hasMedia(i.url))return e("This media URL is not supported.")}]}(e.t,t),e.locale),this._formView.on("submit",(()=>this._handleSubmitForm()))}t.show({id:"mediaEmbed",title:r("Insert media"),content:this._formView,isModal:!0,onShow:()=>{this._formView.url=i.value||"",this._formView.resetFormStatus(),this._formView.urlInputView.fieldView.select()},actionButtons:[{label:r("Cancel"),withText:!0,onExecute:()=>t.hide()},{label:r("Accept"),class:"ck-button-action",withText:!0,onExecute:()=>this._handleSubmitForm()}]})}_handleSubmitForm(){const e=this.editor,t=e.plugins.get("Dialog");this._formView.isValid()&&(e.execute("mediaEmbed",this._formView.url),t.hide(),e.editing.view.focus())}}var x=i(790),A={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};j()(x.A,A);x.A.locals;class E extends e.Plugin{static get requires(){return[h,z,k,t.Widget]}static get pluginName(){return"MediaEmbed"}}class S extends e.Plugin{static get requires(){return[t.WidgetToolbarRepository]}static get pluginName(){return"MediaEmbedToolbar"}afterInit(){const e=this.editor,i=e.t;e.plugins.get(t.WidgetToolbarRepository).register("mediaEmbed",{ariaLabel:i("Media toolbar"),items:e.config.get("mediaEmbed.toolbar")||[],getRelatedElement:c})}}})(),(window.CKEditor5=window.CKEditor5||{}).mediaEmbed=r})(); \ No newline at end of file + */(()=>{var e={501:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var r=i(758),o=i.n(r),a=i(935),c=i.n(a)()(o());c.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const n=c},790:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var r=i(758),o=i.n(r),a=i(935),c=i.n(a)()(o());c.push([e.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}",""]);const n=c},400:(e,t,i)=>{"use strict";i.d(t,{A:()=>I});var r=i(758),o=i.n(r),a=i(935),c=i.n(a),n=i(62),l=i.n(n),d=new URL(i(657),i.b),s=new URL(i(736),i.b),u=new URL(i(341),i.b),M=new URL(i(784),i.b),m=c()(o()),g=l()(d),p=l()(s),j=l()(u),N=l()(M);m.push([e.id,`.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.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 .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .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*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.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),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .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{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .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-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(${g})}.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(${p})}.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,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(${j})}.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}.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(${N})}.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}`,""]);const I=m},755:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var r=i(758),o=i.n(r),a=i(935),c=i.n(a)()(o());c.push([e.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-media-form .ck-labeled-field-view{display:inline-block;width:100%}.ck.ck-media-form .ck-label{display:none}.ck.ck-media-form .ck-input{width:100%}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}",""]);const n=c},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",r=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),r&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),r&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(r)for(var n=0;n<this.length;n++){var l=this[n][0];null!=l&&(c[l]=!0)}for(var d=0;d<e.length;d++){var s=[].concat(e[d]);r&&c[s[0]]||(void 0!==a&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=a),i&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=i):s[2]=i),o&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=o):s[4]="".concat(o)),t.push(s))}},t}},62:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,r=0;r<t.length;r++)if(t[r].identifier===e){i=r;break}return i}function r(e,r){for(var a={},c=[],n=0;n<e.length;n++){var l=e[n],d=r.base?l[0]+r.base:l[0],s=a[d]||0,u="".concat(d," ").concat(s);a[d]=s+1;var M=i(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==M)t[M].references++,t[M].updater(m);else{var g=o(m,r);r.byIndex=n,t.splice(n,0,{identifier:u,updater:g,references:1})}c.push(u)}return c}function o(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var c=0;c<a.length;c++){var n=i(a[c]);t[n].references--}for(var l=r(e,o),d=0;d<a.length;d++){var s=i(a[d]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}a=l}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var r=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function r(e,t,r,o){var a;if(r)a="";else{a="",o.supports&&(a+="@supports (".concat(o.supports,") {")),o.media&&(a+="@media ".concat(o.media," {"));var c=void 0!==o.layer;c&&(a+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),a+=o.css,c&&(a+="}"),o.media&&(a+="}"),o.supports&&(a+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,a);else{var n=document.createTextNode(a),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(n,l[t]):e.appendChild(n)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,i=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){r(i,t,!1,e)},remove:function(e){r(i,t,!0,e)}}}},736:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDI0IiBoZWlnaHQ9IjEwMjQiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjx0aXRsZT5GaWxsIDE8L3RpdGxlPjxwYXRoIGZpbGw9IiNGRkZGRkUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTk2Ny40ODQgMEg1Ni41MTdDMjUuMzA0IDAgMCAyNS4zMDQgMCA1Ni41MTd2OTEwLjk2NkMwIDk5OC42OTQgMjUuMjk3IDEwMjQgNTYuNTIyIDEwMjRINTQ3VjYyOEg0MTRWNDczaDEzM1YzNTkuMDI5YzAtMTMyLjI2MiA4MC43NzMtMjA0LjI4MiAxOTguNzU2LTIwNC4yODIgNTYuNTEzIDAgMTA1LjA4NiA0LjIwOCAxMTkuMjQ0IDYuMDg5VjI5OWwtODEuNjE2LjAzN2MtNjMuOTkzIDAtNzYuMzg0IDMwLjQ5Mi03Ni4zODQgNzUuMjM2VjQ3M2gxNTMuNDg3bC0xOS45ODYgMTU1SDcwN3YzOTZoMjYwLjQ4NGMzMS4yMTMgMCA1Ni41MTYtMjUuMzAzIDU2LjUxNi01Ni41MTZWNTYuNTE1QzEwMjQgMjUuMzAzIDk5OC42OTcgMCA5NjcuNDg0IDAiLz48L3N2Zz4="},657:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSlzY2FsZSguOTgwMTIpIj48cmVjdCB3aWR0aD0iNjAuMDk5IiBoZWlnaHQ9IjYwLjA5OSIgeD0iMTc2LjAzMSIgeT0iMjMxLjM5OSIgZmlsbD0iIzM0YTY2OCIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiIHJ4PSI1LjIzOCIgcnk9IjUuMjM4Ii8+PHBhdGggZmlsbD0iIzVjODhjNSIgZD0ibTIwNi40NzcgMjYwLjktMjguOTg3IDI4Ljk4N2E1LjIyIDUuMjIgMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiLz48cGF0aCBmaWxsPSIjZGQ0YjNlIiBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwN3EuNS43NTMuOTUgMS41MDguNTE1LjcxNS45ODggMS40NGMxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5cS40NzMtLjcyMy45ODgtMS40MzkuNDUtLjc1NS45NS0xLjUwOGMuMzU5LS43Ljc2LTEuNDA0IDEuMTktMi4xMDcgMS40MjYtMi40MDIgMi01LjExNCAyLjAwNC03Ljg3NSAwLTguODQ0LTcuNTExLTE2LjAxNC0xNi43NzYtMTYuMDE0IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIGN4PSIyMjYuNzQyIiBjeT0iMjM5LjAwMiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiIHJ4PSI1LjgyOCIgcnk9IjUuNTY0Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjlxLS4wMDEtLjU0My0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhxLS4wMDEtLjAwMy0uMDA0LS4wMDVjLTEuNTg4LTEuNTI0LTMuNjItMi4yMTUtNS45NTUtMi4yMTVtNC40MyA1LjY2LjAwMy4wMDZ2LS4wMDN6IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGZpbGw9IiNjM2MzYzMiIGQ9Im0yMTUuMTg0IDI1MS45MjktNy45OCA3Ljk3OSAyOC40NzcgMjguNDc1YTUuMiA1LjIgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjl6Ii8+PHBhdGggZmlsbD0iI2ZkZGM0ZiIgZD0ibTIxMi45ODMgMjQ4LjQ5NS0zNi45NTIgMzYuOTUzdi44MTJhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzggNS4yMzhoMS4wMTVsMzUuNjY2LTM1LjY2NmExMzYgMTM2IDAgMCAwLTIuNzY0LTMuOSAzOCAzOCAwIDAgMC0uOTg5LTEuNDQgMzUgMzUgMCAwIDAtLjk1LTEuNTA4Yy0uMDgzLS4xNjItLjE3Ni0uMzI2LS4yNjQtLjQ4OSIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4="},784:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwME0xNjMuNCAzMDUuNWM4OC43IDAgMTM3LjItNzMuNSAxMzcuMi0xMzcuMiAwLTIuMSAwLTQuMi0uMS02LjIgOS40LTYuOCAxNy42LTE1LjMgMjQuMS0yNS04LjYgMy44LTE3LjkgNi40LTI3LjcgNy42IDEwLTYgMTcuNi0xNS40IDIxLjItMjYuNy05LjMgNS41LTE5LjYgOS41LTMwLjYgMTEuNy04LjgtOS40LTIxLjMtMTUuMi0zNS4yLTE1LjItMjYuNiAwLTQ4LjIgMjEuNi00OC4yIDQ4LjIgMCAzLjguNCA3LjUgMS4zIDExLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40LTQuMSA3LjEtNi41IDE1LjQtNi41IDI0LjIgMCAxNi43IDguNSAzMS41IDIxLjUgNDAuMS03LjktLjItMTUuMy0yLjQtMjEuOC02di42YzAgMjMuNCAxNi42IDQyLjggMzguNyA0Ny4zLTQgMS4xLTguMyAxLjctMTIuNyAxLjctMy4xIDAtNi4xLS4zLTkuMS0uOSA2LjEgMTkuMiAyMy45IDMzLjEgNDUgMzMuNS0xNi41IDEyLjktMzcuMyAyMC42LTU5LjkgMjAuNi0zLjkgMC03LjctLjItMTEuNS0uNyAyMS4xIDEzLjggNDYuNSAyMS44IDczLjcgMjEuOCIgc3R5bGU9ImZpbGw6I2ZmZiIvPjwvc3ZnPg=="},341:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgdmlld0JveD0iMCAwIDUwNCA1MDQiPjx0aXRsZT5nbHlwaC1sb2dvX01heTIwMTY8L3RpdGxlPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAuMTU5aDUwMy44NDFWNTAzLjk0SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTI1MS45MjEuMTU5Yy02OC40MTggMC03Ni45OTcuMjktMTAzLjg2NyAxLjUxNi0yNi44MTQgMS4yMjMtNDUuMTI3IDUuNDgyLTYxLjE1MSAxMS43MS0xNi41NjYgNi40MzctMzAuNjE1IDE1LjA1MS00NC42MjEgMjkuMDU2LTE0LjAwNSAxNC4wMDYtMjIuNjE5IDI4LjA1NS0yOS4wNTYgNDQuNjIxLTYuMjI4IDE2LjAyNC0xMC40ODcgMzQuMzM3LTExLjcxIDYxLjE1MUMuMjkgMTc1LjA4MyAwIDE4My42NjIgMCAyNTIuMDhjMCA2OC40MTcuMjkgNzYuOTk2IDEuNTE2IDEwMy44NjYgMS4yMjMgMjYuODE0IDUuNDgyIDQ1LjEyNyAxMS43MSA2MS4xNTEgNi40MzcgMTYuNTY2IDE1LjA1MSAzMC42MTUgMjkuMDU2IDQ0LjYyMSAxNC4wMDYgMTQuMDA1IDI4LjA1NSAyMi42MTkgNDQuNjIxIDI5LjA1NyAxNi4wMjQgNi4yMjcgMzQuMzM3IDEwLjQ4NiA2MS4xNTEgMTEuNzA5IDI2Ljg3IDEuMjI2IDM1LjQ0OSAxLjUxNiAxMDMuODY3IDEuNTE2IDY4LjQxNyAwIDc2Ljk5Ni0uMjkgMTAzLjg2Ni0xLjUxNiAyNi44MTQtMS4yMjMgNDUuMTI3LTUuNDgyIDYxLjE1MS0xMS43MDkgMTYuNTY2LTYuNDM4IDMwLjYxNS0xNS4wNTIgNDQuNjIxLTI5LjA1NyAxNC4wMDUtMTQuMDA2IDIyLjYxOS0yOC4wNTUgMjkuMDU3LTQ0LjYyMSA2LjIyNy0xNi4wMjQgMTAuNDg2LTM0LjMzNyAxMS43MDktNjEuMTUxIDEuMjI2LTI2Ljg3IDEuNTE2LTM1LjQ0OSAxLjUxNi0xMDMuODY2IDAtNjguNDE4LS4yOS03Ni45OTctMS41MTYtMTAzLjg2Ny0xLjIyMy0yNi44MTQtNS40ODItNDUuMTI3LTExLjcwOS02MS4xNTEtNi40MzgtMTYuNTY2LTE1LjA1Mi0zMC42MTUtMjkuMDU3LTQ0LjYyMS0xNC4wMDYtMTQuMDA1LTI4LjA1NS0yMi42MTktNDQuNjIxLTI5LjA1Ni0xNi4wMjQtNi4yMjgtMzQuMzM3LTEwLjQ4Ny02MS4xNTEtMTEuNzFDMzI4LjkxNy40NDkgMzIwLjMzOC4xNTkgMjUxLjkyMS4xNTltMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1czE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NmMzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjZzLTE3LjIwNyAxNC4yNzUtMjguOTY2IDE4Ljg0NWMtOC44NzcgMy40NS0yMi4yMTYgNy41NTQtNDYuNzc4IDguNjc0LTI2LjU2IDEuMjEyLTM0LjUyNyAxLjQ2OS0xMDEuNzk3IDEuNDY5LTY3LjI3MSAwLTc1LjIzNy0uMjU3LTEwMS43OTgtMS40NjktMjQuNTYyLTEuMTItMzcuOTAxLTUuMjI0LTQ2Ljc3OC04LjY3NC0xMS43NTktNC41Ny0yMC4xNTEtMTAuMDI5LTI4Ljk2Ni0xOC44NDVzLTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2NmMtMy40NS04Ljg3Ny03LjU1NC0yMi4yMTYtOC42NzQtNDYuNzc4LTEuMjEyLTI2LjU2NC0xLjQ2OS0zNC41MzItMS40NjktMTAxLjc5NyAwLTY3LjI2Ni4yNTctNzUuMjM0IDEuNDY5LTEwMS43OTggMS4xMi0yNC41NjIgNS4yMjQtMzcuOTAxIDguNjc0LTQ2Ljc3OCA0LjU3LTExLjc1OSAxMC4wMjktMjAuMTUxIDE4Ljg0NS0yOC45NjZzMTcuMjA3LTE0LjI3NSAyOC45NjYtMTguODQ1YzguODc3LTMuNDUgMjIuMjE2LTcuNTU0IDQ2Ljc3OC04LjY3NCAyNi41NjQtMS4yMTIgMzQuNTMyLTEuNDY5IDEwMS43OTgtMS40NjkiIG1hc2s9InVybCgjYikiLz48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzNzMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0YzQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNtMC0yMTMuMzM4Yy03MS40NDcgMC0xMjkuMzY1IDU3LjkxOC0xMjkuMzY1IDEyOS4zNjUgMCA3MS40NDYgNTcuOTE4IDEyOS4zNjQgMTI5LjM2NSAxMjkuMzY0IDcxLjQ0NiAwIDEyOS4zNjQtNTcuOTE4IDEyOS4zNjQtMTI5LjM2NCAwLTcxLjQ0Ny01Ny45MTgtMTI5LjM2NS0xMjkuMzY0LTEyOS4zNjVNNDE2LjYyNyAxMTcuNjA0YzAgMTYuNjk2LTEzLjUzNSAzMC4yMy0zMC4yMzEgMzAuMjMtMTYuNjk1IDAtMzAuMjMtMTMuNTM0LTMwLjIzLTMwLjIzczEzLjUzNS0zMC4yMzEgMzAuMjMtMzAuMjMxYzE2LjY5NiAwIDMwLjIzMSAxMy41MzUgMzAuMjMxIDMwLjIzMSIvPjwvZz48L3N2Zz4="},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},251:(e,t,i)=>{e.exports=i(237)("./src/undo.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,exports:{}};return e[r](a,a.exports,i),a.exports}i.m=e,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";i.r(r),i.d(r,{AutoMediaEmbed:()=>x,MediaEmbed:()=>P,MediaEmbedEditing:()=>_,MediaEmbedToolbar:()=>V,MediaEmbedUI:()=>U});var e=i(782),t=i(901),o=i(584);function a(e,t){const i=(i,r,o)=>{if(!o.consumable.consume(r.item,i.name))return;const a=r.attributeNewValue,c=o.writer,n=o.mapper.toViewElement(r.item),l=[...n.getChildren()].find((e=>e.getCustomProperty("media-content")));c.remove(l);const d=e.getMediaViewElement(c,a,t);c.insert(c.createPositionAt(n,0),d)};return e=>{e.on("attribute:url:media",i)}}function c(e){const i=e.getSelectedElement();return i&&function(e){return!!e.getCustomProperty("media")&&(0,t.isWidget)(e)}(i)?i:null}function n(e,t,i,r){return e.createContainerElement("figure",{class:"media"},[t.getMediaViewElement(e,i,r),e.createSlot()])}function l(e){const t=e.getSelectedElement();return t&&t.is("element","media")?t:null}function d(e,t,i,r){e.change((o=>{const a=o.createElement("media",{url:t});e.insertObject(a,i,null,{setSelection:"on",findOptimalPosition:r?"auto":void 0})}))}class s extends e.Command{refresh(){const e=this.editor.model,i=e.document.selection,r=l(i);this.value=r?r.getAttribute("url"):void 0,this.isEnabled=function(e){const t=e.getSelectedElement();return!!t&&"media"===t.name}(i)||function(e,i){const r=(0,t.findOptimalInsertionRange)(e,i);let o=r.start.parent;o.isEmpty&&!i.schema.isLimit(o)&&(o=o.parent);return i.schema.checkChild(o,"media")}(i,e)}execute(e){const t=this.editor.model,i=t.document.selection,r=l(i);r?t.change((t=>{t.setAttribute("url",e,r)})):d(t,e,i,!0)}}var u=i(311);class M{constructor(e,t){const i=t.providers,r=t.extraProviders||[],a=new Set(t.removeProviders),c=i.concat(r).filter((e=>{const t=e.name;return t?!a.has(t):((0,o.logWarning)("media-embed-no-provider-name",{provider:e}),!1)}));this.locale=e,this.providerDefinitions=c}hasMedia(e){return!!this._getMedia(e)}getMediaViewElement(e,t,i){return this._getMedia(t).getViewElement(e,i)}_getMedia(e){if(!e)return new m(this.locale);e=e.trim();for(const t of this.providerDefinitions){const i=t.html,r=(0,o.toArray)(t.url);for(const t of r){const r=this._getUrlMatches(e,t);if(r)return new m(this.locale,e,r,i)}}return null}_getUrlMatches(e,t){let i=e.match(t);if(i)return i;let r=e.replace(/^https?:\/\//,"");return i=r.match(t),i||(r=r.replace(/^www\./,""),i=r.match(t),i||null)}}class m{constructor(e,t,i,r){this.url=this._getValidUrl(t),this._locale=e,this._match=i,this._previewRenderer=r}getViewElement(e,t){const i={};let r;if(t.renderForEditingView||t.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(i["data-oembed-url"]=this.url),t.renderForEditingView&&(i.class="ck-media__wrapper");const o=this._getPreviewHtml(t);r=e.createRawElement("div",i,((e,t)=>{t.setContentOf(e,o)}))}else this.url&&(i.url=this.url),r=e.createEmptyElement(t.elementName,i);return e.setCustomProperty("media-content",!0,r),r}_getPreviewHtml(e){return this._previewRenderer?this._previewRenderer(this._match):this.url&&e.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const e=new u.IconView,t=this._locale.t;e.content='<svg viewBox="0 0 64 42" xmlns="http://www.w3.org/2000/svg"><path d="M47.426 17V3.713L63.102 0v19.389h-.001l.001.272c0 1.595-2.032 3.43-4.538 4.098-2.506.668-4.538-.083-4.538-1.678 0-1.594 2.032-3.43 4.538-4.098.914-.244 2.032-.565 2.888-.603V4.516L49.076 7.447v9.556A1.014 1.014 0 0 0 49 17h-1.574zM29.5 17h-8.343a7.073 7.073 0 1 0-4.657 4.06v3.781H3.3a2.803 2.803 0 0 1-2.8-2.804V8.63a2.803 2.803 0 0 1 2.8-2.805h4.082L8.58 2.768A1.994 1.994 0 0 1 10.435 1.5h8.985c.773 0 1.477.448 1.805 1.149l1.488 3.177H26.7c1.546 0 2.8 1.256 2.8 2.805V17zm-11.637 0H17.5a1 1 0 0 0-1 1v.05A4.244 4.244 0 1 1 17.863 17zm29.684 2c.97 0 .953-.048.953.889v20.743c0 .953.016.905-.953.905H19.453c-.97 0-.953.048-.953-.905V19.89c0-.937-.016-.889.97-.889h28.077zm-4.701 19.338V22.183H24.154v16.155h18.692zM20.6 21.375v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616V37.53H20.6zm24.233-16.155v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615V37.53h-1.615zM29.485 25.283a.4.4 0 0 1 .593-.35l9.05 4.977a.4.4 0 0 1 0 .701l-9.05 4.978a.4.4 0 0 1-.593-.35v-9.956z"/></svg>',e.viewBox="0 0 64 42";return new u.Template({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:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":t("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(e){return e?e.match(/^https?/)?e:"https://"+e:null}}var g=i(591),p=i.n(g),j=i(639),N=i.n(j),I=i(128),h=i.n(I),L=i(21),T=i.n(L),w=i(51),k=i.n(w),y=i(400),D={attributes:{"data-cke":!0}};D.setAttributes=T(),D.insert=h().bind(null,"head"),D.domAPI=N(),D.insertStyleElement=k();p()(y.A,D);y.A&&y.A.locals&&y.A.locals;class _ extends e.Plugin{static get pluginName(){return"MediaEmbedEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:e=>`<div style="position: relative; padding-bottom: 100%; height: 0; "><iframe src="https://www.dailymotion.com/embed/video/${e[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" width="480" height="270" allowfullscreen allow="autoplay"></iframe></div>`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:e=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 126%;"><iframe src="https://open.spotify.com/embed/${e[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe></div>`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/shorts\/([\w-]+)(?:\?t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:e=>{const t=e[1],i=e[2];return`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://www.youtube.com/embed/${t}${i?`?start=${i}`:""}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>`}},{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:e=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://player.vimeo.com/video/${e[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>`},{name:"instagram",url:[/^instagram\.com\/p\/(\w+)/,/^instagram\.com\/reel\/(\w+)/]},{name:"twitter",url:[/^twitter\.com/,/^x\.com/]},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new M(e.locale,e.config.get("mediaEmbed"))}init(){const e=this.editor,i=e.model.schema,r=e.t,c=e.conversion,l=e.config.get("mediaEmbed.previewsInData"),d=e.config.get("mediaEmbed.elementName"),u=this.registry;e.commands.add("mediaEmbed",new s(e)),i.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),c.for("dataDowncast").elementToStructure({model:"media",view:(e,{writer:t})=>{const i=e.getAttribute("url");return n(t,u,i,{elementName:d,renderMediaPreview:!!i&&l})}}),c.for("dataDowncast").add(a(u,{elementName:d,renderMediaPreview:l})),c.for("editingDowncast").elementToStructure({model:"media",view:(e,{writer:i})=>{const o=e.getAttribute("url");return function(e,i,r){return i.setCustomProperty("media",!0,e),(0,t.toWidget)(e,i,{label:r})}(n(i,u,o,{elementName:d,renderForEditingView:!0}),i,r("media widget"))}}),c.for("editingDowncast").add(a(u,{elementName:d,renderForEditingView:!0})),c.for("upcast").elementToElement({view:e=>["oembed",d].includes(e.name)&&e.getAttribute("url")?{name:!0}:null,model:(e,{writer:t})=>{const i=e.getAttribute("url");return u.hasMedia(i)?t.createElement("media",{url:i}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(e,{writer:t})=>{const i=e.getAttribute("data-oembed-url");return u.hasMedia(i)?t.createElement("media",{url:i}):null}}).add((e=>{e.on("element:figure",((e,t,i)=>{if(!i.consumable.consume(t.viewItem,{name:!0,classes:"media"}))return;const{modelRange:r,modelCursor:a}=i.convertChildren(t.viewItem,t.modelCursor);t.modelRange=r,t.modelCursor=a;(0,o.first)(r.getItems())||i.consumable.revert(t.viewItem,{name:!0,classes:"media"})}))}))}}var b=i(783),v=i(331),A=i(834),f=i(251);const z=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class x extends e.Plugin{static get requires(){return[v.Clipboard,A.Delete,f.Undo]}static get pluginName(){return"AutoMediaEmbed"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._timeoutId=null,this._positionToInsert=null}init(){const e=this.editor,t=e.model.document,i=e.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",(()=>{const e=t.selection.getFirstRange(),i=b.LivePosition.fromPosition(e.start);i.stickiness="toPrevious";const r=b.LivePosition.fromPosition(e.end);r.stickiness="toNext",t.once("change:data",(()=>{this._embedMediaBetweenPositions(i,r),i.detach(),r.detach()}),{priority:"high"})}));e.commands.get("undo").on("execute",(()=>{this._timeoutId&&(o.global.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedMediaBetweenPositions(e,t){const i=this.editor,r=i.plugins.get(_).registry,a=new b.LiveRange(e,t),c=a.getWalker({ignoreElementEnd:!0});let n="";for(const e of c)e.item.is("$textProxy")&&(n+=e.item.data);if(n=n.trim(),!n.match(z))return void a.detach();if(!r.hasMedia(n))return void a.detach();i.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=b.LivePosition.fromPosition(e),this._timeoutId=o.global.window.setTimeout((()=>{i.model.change((e=>{this._timeoutId=null,e.remove(a),a.detach();let t=null;"$graveyard"!==this._positionToInsert.root.rootName&&(t=this._positionToInsert),d(i.model,n,t,!1),this._positionToInsert.detach(),this._positionToInsert=null})),i.plugins.get(A.Delete).requestUndoOnBackspace()}),100)):a.detach()}}var E=i(501),S={attributes:{"data-cke":!0}};S.setAttributes=T(),S.insert=h().bind(null,"head"),S.domAPI=N(),S.insertStyleElement=k();p()(E.A,S);E.A&&E.A.locals&&E.A.locals;var C=i(755),O={attributes:{"data-cke":!0}};O.setAttributes=T(),O.insert=h().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=k();p()(C.A,O);C.A&&C.A.locals&&C.A.locals;class Y extends u.View{constructor(e,t){super(t),this.focusTracker=new o.FocusTracker,this.keystrokes=new o.KeystrokeHandler,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this._validators=e,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView]})}render(){super.render(),(0,u.submitHandler)({view:this}),this.focusTracker.add(this.urlInputView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.urlInputView.focus()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(e){this.urlInputView.fieldView.value=e.trim()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.urlInputView.errorText=t,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const e=this.locale.t,t=new u.LabeledFieldView(this.locale,u.createLabeledInputText),i=t.fieldView;return this._urlInputViewInfoDefault=e("Paste the media URL in the input."),this._urlInputViewInfoTip=e("Tip: Paste the URL into the content to embed faster."),t.label=e("Media URL"),t.infoText=this._urlInputViewInfoDefault,i.inputMode="url",i.on("input",(()=>{t.infoText=i.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=i.element.value.trim()})),t}}class U extends e.Plugin{static get requires(){return[_,u.Dialog]}static get pluginName(){return"MediaEmbedUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("mediaEmbed",(()=>{const e=this.editor.locale.t,t=this._createDialogButton(u.ButtonView);return t.tooltip=!0,t.label=e("Insert media"),t})),e.ui.componentFactory.add("menuBar:mediaEmbed",(()=>{const e=this.editor.locale.t,t=this._createDialogButton(u.MenuBarMenuListItemButtonView);return t.label=e("Media"),t}))}_createDialogButton(e){const t=this.editor,i=new e(t.locale),r=t.commands.get("mediaEmbed"),o=this.editor.plugins.get("Dialog");return i.icon='<svg viewBox="0 0 22 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.587 1.5c-.612 0-.601-.029-.601.551v14.84c0 .59-.01.559.591.559h18.846c.602 0 .591.03.591-.56V2.052c0-.58.01-.55-.591-.55H1.587Zm.701.971h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-14.24 1h13.008v12H4.467l.029-12Zm-2.208 1h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003l-.029 1h-.974v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h.974v1h-.974v-1Zm16.448 0h1.003v1h-1.003v-1Z"/><path d="M8.374 6.648a.399.399 0 0 1 .395-.4.402.402 0 0 1 .2.049l5.148 2.824a.4.4 0 0 1 0 .7l-5.148 2.824a.403.403 0 0 1-.595-.35V6.648Z"/></svg>',i.bind("isEnabled").to(r,"isEnabled"),i.on("execute",(()=>{"mediaEmbed"===o.id?o.hide():this._showDialog()})),i}_showDialog(){const e=this.editor,t=e.plugins.get("Dialog"),i=e.commands.get("mediaEmbed"),r=e.locale.t;if(!this._formView){const t=e.plugins.get(_).registry;this._formView=new((0,u.CssTransitionDisablerMixin)(Y))(function(e,t){return[t=>{if(!t.url.length)return e("The URL must not be empty.")},i=>{if(!t.hasMedia(i.url))return e("This media URL is not supported.")}]}(e.t,t),e.locale),this._formView.on("submit",(()=>this._handleSubmitForm()))}t.show({id:"mediaEmbed",title:r("Insert media"),content:this._formView,isModal:!0,onShow:()=>{this._formView.url=i.value||"",this._formView.resetFormStatus(),this._formView.urlInputView.fieldView.select()},actionButtons:[{label:r("Cancel"),withText:!0,onExecute:()=>t.hide()},{label:r("Accept"),class:"ck-button-action",withText:!0,onExecute:()=>this._handleSubmitForm()}]})}_handleSubmitForm(){const e=this.editor,t=e.plugins.get("Dialog");this._formView.isValid()&&(e.execute("mediaEmbed",this._formView.url),t.hide(),e.editing.view.focus())}}var Q=i(790),Z={attributes:{"data-cke":!0}};Z.setAttributes=T(),Z.insert=h().bind(null,"head"),Z.domAPI=N(),Z.insertStyleElement=k();p()(Q.A,Z);Q.A&&Q.A.locals&&Q.A.locals;class P extends e.Plugin{static get requires(){return[_,U,x,t.Widget]}static get pluginName(){return"MediaEmbed"}static get isOfficialPlugin(){return!0}}class V extends e.Plugin{static get requires(){return[t.WidgetToolbarRepository]}static get pluginName(){return"MediaEmbedToolbar"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,i=e.t;e.plugins.get(t.WidgetToolbarRepository).register("mediaEmbed",{ariaLabel:i("Media toolbar"),items:e.config.get("mediaEmbed.toolbar")||[],getRelatedElement:c})}}})(),(window.CKEditor5=window.CKEditor5||{}).mediaEmbed=r})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/mention/mention.js b/core/assets/vendor/ckeditor5/mention/mention.js index 6d433b2062ba52bcc6d70c911d38575e91b89d2c..666af6858278bda64926dc28f3f2918ec61d8db9 100644 --- a/core/assets/vendor/ckeditor5/mention/mention.js +++ b/core/assets/vendor/ckeditor5/mention/mention.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={387:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(935),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,":root{--ck-color-mention-background:rgba(153,0,48,.1);--ck-color-mention-text:#990030}.ck-content .mention{background:var(--ck-color-mention-background);color:var(--ck-color-mention-text)}",""]);const r=o},89:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(935),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,":root{--ck-mention-list-max-height:300px}.ck.ck-mentions{max-height:var(--ck-mention-list-max-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.ck.ck-mentions>.ck-list__item{flex-shrink:0;overflow:hidden}",""]);const r=o},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);i&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},591:(e,t,n)=>{"use strict";var i,o=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},i=[],o=0;o<e.length;o++){var r=e[o],c=t.base?r[0]+t.base:r[0],d=n[c]||0,l="".concat(c," ").concat(d);n[c]=d+1;var u=a(l),m={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(s[u].references++,s[u].updater(m)):s.push({identifier:l,updater:p(m,t),references:1}),i.push(l)}return i}function d(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var o=n.nc;o&&(i.nonce=o)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var s=r(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,u=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function m(e,t,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var r=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function h(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var f=null,g=0;function p(e,t){var n,i,o;if(t.singleton){var r=g++;n=f||(f=d(t)),i=m.bind(null,n,r,!1),o=m.bind(null,n,r,!0)}else n=d(t),i=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var o=a(n[i]);s[o].references--}for(var r=c(e,t),d=0;d<n.length;d++){var l=a(n[d]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}n=r}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},834:(e,t,n)=>{e.exports=n(237)("./src/typing.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,exports:{}};return e[i](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var i={};(()=>{"use strict";n.r(i),n.d(i,{DomWrapperView:()=>G,Mention:()=>ce,MentionEditing:()=>s,MentionListItemView:()=>Q,MentionUI:()=>Z,MentionsView:()=>z});var e=n(782),t=n(584);const o={"(":")","[":"]","{":"}"};class r extends e.Command{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"mention")}execute(e){const n=this.editor.model,i=n.document.selection,r="string"==typeof e.mention?{id:e.mention}:e.mention,s=r.id,c=e.range||i.getFirstRange();if(!n.canEditAt(c))return;const d=e.text||s,l=a({_text:d,id:s},r);if(1!=e.marker.length)throw new t.CKEditorError("mentioncommand-incorrect-marker",this);if(s.charAt(0)!=e.marker)throw new t.CKEditorError("mentioncommand-incorrect-id",this);n.change((e=>{const r=(0,t.toMap)(i.getAttributes()),s=new Map(r.entries());s.set("mention",l);const a=n.insertContent(e.createText(d,s),c),u=a.start.nodeBefore,m=a.end.nodeAfter,h=m&&m.is("$text")&&m.data.startsWith(" ");let f=!1;if(u&&m&&u.is("$text")&&m.is("$text")){const e=u.data.slice(-1),t=e in o,n=t&&m.data.startsWith(o[e]);f=t&&n}f||h||n.insertContent(e.createText(" ",r),c.start.getShiftedBy(d.length))}))}}class s extends e.Plugin{static get pluginName(){return"MentionEditing"}init(){const e=this.editor,t=e.model,n=t.document;t.schema.extend("$text",{allowAttributes:"mention"}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",key:"data-mention",classes:"mention"},model:{key:"mention",value:e=>c(e)}}),e.conversion.for("downcast").attributeToElement({model:"mention",view:l}),e.conversion.for("downcast").add(d),n.registerPostFixer((e=>function(e,t,n){const i=t.differ.getChanges();let o=!1;for(const t of i){if("attribute"==t.type)continue;const i=t.position;if("$text"==t.name){const t=i.textNode&&i.textNode.nextSibling;o=m(i.textNode,e)||o,o=m(t,e)||o,o=m(i.nodeBefore,e)||o,o=m(i.nodeAfter,e)||o}if("$text"!=t.name&&"insert"==t.type){const t=i.nodeAfter;for(const n of e.createRangeIn(t).getItems())o=m(n,e)||o}if("insert"==t.type&&n.isInline(t.name)){const t=i.nodeAfter&&i.nodeAfter.nextSibling;o=m(i.nodeBefore,e)||o,o=m(t,e)||o}}return o}(e,n,t.schema))),n.registerPostFixer((e=>function(e,t){const n=t.differ.getChanges();let i=!1;for(const t of n)if("attribute"===t.type&&"mention"!=t.attributeKey){const n=t.range.start.nodeBefore,o=t.range.end.nodeAfter;for(const r of[n,o])u(r)&&r.getAttribute(t.attributeKey)!=t.attributeNewValue&&(e.setAttribute(t.attributeKey,t.attributeNewValue,r),i=!0)}return i}(e,n))),n.registerPostFixer((e=>function(e,t){const n=t.selection,i=n.focus;if(n.isCollapsed&&n.hasAttribute("mention")&&function(e){const t=e.isAtStart;return e.nodeBefore&&e.nodeBefore.is("$text")||t}(i))return e.removeSelectionAttribute("mention"),!0;return!1}(e,n))),e.commands.add("mention",new r(e))}}function a(e,n){return Object.assign({uid:(0,t.uid)()},e,n||{})}function c(e,t){const n=e.getAttribute("data-mention"),i=e.getChild(0);if(!i)return;return a({id:n,_text:i.data},t)}function d(e){e.on("attribute:mention",((e,t,n)=>{const i=t.attributeNewValue;if(!t.item.is("$textProxy")||!i)return;const o=t.range.start;(o.textNode||o.nodeAfter).data!=i._text&&n.consumable.consume(t.item,e.name)}),{priority:"highest"})}function l(e,{writer:t}){if(!e)return;const n={class:"mention","data-mention":e.id},i={id:e.uid,priority:20};return t.createAttributeElement("span",n,i)}function u(e){if(!e||!e.is("$text")&&!e.is("$textProxy")||!e.hasAttribute("mention"))return!1;return e.data!=e.getAttribute("mention")._text}function m(e,t){return!!u(e)&&(t.removeAttribute("mention",e),!0)}var h=n(311),f=n(834);const g=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const p="object"==typeof global&&global&&global.Object===Object&&global;var v="object"==typeof self&&self&&self.Object===Object&&self;const b=p||v||Function("return this")();const w=function(){return b.Date.now()};var x=/\s/;const _=function(e){for(var t=e.length;t--&&x.test(e.charAt(t)););return t};var y=/^\s+/;const k=function(e){return e?e.slice(0,_(e)+1).replace(y,""):e};const A=b.Symbol;var C=Object.prototype,T=C.hasOwnProperty,M=C.toString,I=A?A.toStringTag:void 0;const V=function(e){var t=T.call(e,I),n=e[I];try{e[I]=void 0;var i=!0}catch(e){}var o=M.call(e);return i&&(t?e[I]=n:delete e[I]),o};var E=Object.prototype.toString;const S=function(e){return E.call(e)};var R=A?A.toStringTag:void 0;const j=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":R&&R in Object(e)?V(e):S(e)};const O=function(e){return null!=e&&"object"==typeof e};const P=function(e){return"symbol"==typeof e||O(e)&&"[object Symbol]"==j(e)};var N=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,$=/^0o[0-7]+$/i,F=parseInt;const B=function(e){if("number"==typeof e)return e;if(P(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=k(e);var n=U.test(e);return n||$.test(e)?F(e.slice(2),n?2:8):N.test(e)?NaN:+e};var L=Math.max,q=Math.min;const D=function(e,t,n){var i,o,r,s,a,c,d=0,l=!1,u=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=i,r=o;return i=o=void 0,d=t,s=e.apply(r,n)}function f(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-d>=r}function p(){var e=w();if(f(e))return v(e);a=setTimeout(p,function(e){var n=t-(e-c);return u?q(n,r-(e-d)):n}(e))}function v(e){return a=void 0,m&&i?h(e):(i=o=void 0,s)}function b(){var e=w(),n=f(e);if(i=arguments,o=this,c=e,n){if(void 0===a)return function(e){return d=e,a=setTimeout(p,t),l?h(e):s}(c);if(u)return clearTimeout(a),a=setTimeout(p,t),h(c)}return void 0===a&&(a=setTimeout(p,t)),s}return t=B(t)||0,g(n)&&(l=!!n.leading,r=(u="maxWait"in n)?L(B(n.maxWait)||0,t):r,m="trailing"in n?!!n.trailing:m),b.cancel=function(){void 0!==a&&clearTimeout(a),d=0,i=c=o=a=void 0},b.flush=function(){return void 0===a?s:v(w())},b};var K=n(591),W=n.n(K),H=n(89),J={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};W()(H.A,J);H.A.locals;class z extends h.ListView{constructor(e){super(e),this.extendTemplate({attributes:{class:["ck-mentions"],tabindex:"-1"}})}selectFirst(){this.select(0)}selectNext(){const e=this.selected,t=this.items.getIndex(e);this.select(t+1)}selectPrevious(){const e=this.selected,t=this.items.getIndex(e);this.select(t-1)}select(e){let t=0;e>0&&e<this.items.length?t=e:e<0&&(t=this.items.length-1);const n=this.items.get(t);this.selected!==n&&(this.selected&&this.selected.removeHighlight(),n.highlight(),this.selected=n,this._isItemVisibleInScrolledArea(n)||(this.element.scrollTop=n.element.offsetTop))}executeSelected(){this.selected.fire("execute")}_isItemVisibleInScrolledArea(e){return new t.Rect(this.element).contains(new t.Rect(e.element))}}class G extends h.View{constructor(e,t){super(e),this.template=void 0,this.domElement=t,this.domElement.classList.add("ck-button"),this.set("isOn",!1),this.on("change:isOn",((e,t,n)=>{n?(this.domElement.classList.add("ck-on"),this.domElement.classList.remove("ck-off")):(this.domElement.classList.add("ck-off"),this.domElement.classList.remove("ck-on"))})),this.listenTo(this.domElement,"click",(()=>{this.fire("execute")}))}render(){super.render(),this.element=this.domElement}focus(){this.domElement.focus()}}class Q extends h.ListItemView{highlight(){this.children.first.isOn=!0}removeHighlight(){this.children.first.isOn=!1}}const X=[t.keyCodes.arrowup,t.keyCodes.arrowdown,t.keyCodes.esc],Y=[t.keyCodes.enter,t.keyCodes.tab];class Z extends e.Plugin{static get pluginName(){return"MentionUI"}static get requires(){return[h.ContextualBalloon]}constructor(e){super(e),this._items=new t.Collection,this._mentionsView=this._createMentionView(),this._mentionsConfigurations=new Map,this._requestFeedDebounced=D(this._requestFeed,100),e.config.define("mention",{feeds:[]})}init(){const e=this.editor,n=e.config.get("mention.commitKeys")||Y,i=X.concat(n);this._balloon=e.plugins.get(h.ContextualBalloon),e.editing.view.document.on("keydown",((e,o)=>{var r;r=o.keyCode,i.includes(r)&&this._isUIVisible&&(o.preventDefault(),e.stop(),o.keyCode==t.keyCodes.arrowdown&&this._mentionsView.selectNext(),o.keyCode==t.keyCodes.arrowup&&this._mentionsView.selectPrevious(),n.includes(o.keyCode)&&this._mentionsView.executeSelected(),o.keyCode==t.keyCodes.esc&&this._hideUIAndRemoveMarker())}),{priority:"highest"}),(0,h.clickOutsideHandler)({emitter:this._mentionsView,activator:()=>this._isUIVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUIAndRemoveMarker()});const o=e.config.get("mention.feeds");for(const e of o){const{feed:n,marker:i,dropdownLimit:o}=e;if(!oe(i))throw new t.CKEditorError("mentionconfig-incorrect-marker",null,{marker:i});const r={marker:i,feedCallback:"function"==typeof n?n.bind(this.editor):ie(n),itemRenderer:e.itemRenderer,dropdownLimit:o};this._mentionsConfigurations.set(i,r)}this._setupTextWatcher(o),this.listenTo(e,"change:isReadOnly",(()=>{this._hideUIAndRemoveMarker()})),this.on("requestFeed:response",((e,t)=>this._handleFeedResponse(t))),this.on("requestFeed:error",(()=>this._hideUIAndRemoveMarker()))}destroy(){super.destroy(),this._mentionsView.destroy()}get _isUIVisible(){return this._balloon.visibleView===this._mentionsView}_createMentionView(){const e=this.editor.locale,t=new z(e);return t.items.bindTo(this._items).using((n=>{const{item:i,marker:o}=n,{dropdownLimit:r}=this._mentionsConfigurations.get(o),s=r||this.editor.config.get("mention.dropdownLimit")||10;if(t.items.length>=s)return null;const a=new Q(e),c=this._renderItem(i,o);return c.delegate("execute").to(a),a.children.add(c),a.item=i,a.marker=o,a.on("execute",(()=>{t.fire("execute",{item:i,marker:o})})),a})),t.on("execute",((e,t)=>{const n=this.editor,i=n.model,o=t.item,r=t.marker,s=n.model.markers.get("mention"),a=i.createPositionAt(i.document.selection.focus),c=i.createPositionAt(s.getStart()),d=i.createRange(c,a);this._hideUIAndRemoveMarker(),n.execute("mention",{mention:o,text:o.text,marker:r,range:d}),n.editing.view.focus()})),t}_getItemRenderer(e){const{itemRenderer:t}=this._mentionsConfigurations.get(e);return t}_requestFeed(e,n){this._lastRequested=n;const{feedCallback:i}=this._mentionsConfigurations.get(e),o=i(n);o instanceof Promise?o.then((t=>{this._lastRequested==n?this.fire("requestFeed:response",{feed:t,marker:e,feedText:n}):this.fire("requestFeed:discarded",{feed:t,marker:e,feedText:n})})).catch((n=>{this.fire("requestFeed:error",{error:n}),(0,t.logWarning)("mention-feed-callback-error",{marker:e})})):this.fire("requestFeed:response",{feed:o,marker:e,feedText:n})}_setupTextWatcher(e){const t=this.editor,n=e.map((e=>({...e,pattern:ne(e.marker,e.minimumCharacters||0)}))),i=new f.TextWatcher(t.model,function(e){const t=t=>{const n=te(e,t);if(!n)return!1;let i=0;0!==n.position&&(i=n.position-1);const o=t.substring(i);return n.pattern.test(o)};return t}(n));i.on("matched",((e,i)=>{const o=te(n,i.text),r=t.model.document.selection.focus,s=t.model.createPositionAt(r.parent,o.position);if(function(e){const t=e.textNode&&e.textNode.hasAttribute("mention"),n=e.nodeBefore;return t||n&&n.is("$text")&&n.hasAttribute("mention")}(r)||function(e){const t=e.nodeAfter;return t&&t.is("$text")&&t.hasAttribute("mention")}(s))return void this._hideUIAndRemoveMarker();const a=function(e,t){let n=0;0!==e.position&&(n=e.position-1);const i=ne(e.marker,0),o=t.substring(n);return o.match(i)[2]}(o,i.text),c=o.marker.length+a.length,d=r.getShiftedBy(-c),l=r.getShiftedBy(-a.length),u=t.model.createRange(d,l);if(re(t)){const e=t.model.markers.get("mention");t.model.change((t=>{t.updateMarker(e,{range:u})}))}else t.model.change((e=>{e.addMarker("mention",{range:u,usingOperation:!1,affectsData:!1})}));this._requestFeedDebounced(o.marker,a)})),i.on("unmatched",(()=>{this._hideUIAndRemoveMarker()}));const o=t.commands.get("mention");return i.bind("isEnabled").to(o),i}_handleFeedResponse(e){const{feed:t,marker:n}=e;if(!re(this.editor))return;this._items.clear();for(const e of t){const t="object"!=typeof e?{id:e,text:e}:e;this._items.add({item:t,marker:n})}const i=this.editor.model.markers.get("mention");this._items.length?this._showOrUpdateUI(i):this._hideUIAndRemoveMarker()}_showOrUpdateUI(e){this._isUIVisible?this._balloon.updatePosition(this._getBalloonPanelPositionData(e,this._mentionsView.position)):this._balloon.add({view:this._mentionsView,position:this._getBalloonPanelPositionData(e,this._mentionsView.position),singleViewMode:!0}),this._mentionsView.position=this._balloon.view.position,this._mentionsView.selectFirst()}_hideUIAndRemoveMarker(){this._balloon.hasView(this._mentionsView)&&this._balloon.remove(this._mentionsView),re(this.editor)&&this.editor.model.change((e=>e.removeMarker("mention"))),this._mentionsView.position=void 0}_renderItem(e,t){const n=this.editor;let i,o=e.id;const r=this._getItemRenderer(t);if(r){const t=r(e);"string"!=typeof t?i=new G(n.locale,t):o=t}if(!i){const e=new h.ButtonView(n.locale);e.label=o,e.withText=!0,i=e}return i}_getBalloonPanelPositionData(e,n){const i=this.editor,o=i.editing,r=o.view.domConverter,s=o.mapper;return{target:()=>{let n=e.getRange();"$graveyard"==n.start.root.rootName&&(n=i.model.document.selection.getFirstRange());const o=s.toViewRange(n);return t.Rect.getDomRangeRects(r.viewRangeToDom(o)).pop()},limiter:()=>{const e=this.editor.editing.view,t=e.document.selection.editableElement;return t?e.domConverter.mapViewToDom(t.root):null},positions:ee(n,i.locale.uiLanguageDirection)}}}function ee(e,t){const n={caret_se:e=>({top:e.bottom+3,left:e.right,name:"caret_se",config:{withArrow:!1}}),caret_ne:(e,t)=>({top:e.top-t.height-3,left:e.right,name:"caret_ne",config:{withArrow:!1}}),caret_sw:(e,t)=>({top:e.bottom+3,left:e.right-t.width,name:"caret_sw",config:{withArrow:!1}}),caret_nw:(e,t)=>({top:e.top-t.height-3,left:e.right-t.width,name:"caret_nw",config:{withArrow:!1}})};return Object.prototype.hasOwnProperty.call(n,e)?[n[e]]:"rtl"!==t?[n.caret_se,n.caret_sw,n.caret_ne,n.caret_nw]:[n.caret_sw,n.caret_se,n.caret_nw,n.caret_ne]}function te(e,t){let n;for(const i of e){const e=t.lastIndexOf(i.marker);e>0&&!t.substring(e-1).match(i.pattern)||(!n||e>=n.position)&&(n={marker:i.marker,position:e,minimumCharacters:i.minimumCharacters,pattern:i.pattern})}return n}function ne(e,n){const i=0==n?"*":`{${n},}`,o=t.env.features.isRegExpUnicodePropertySupported?"\\p{Ps}\\p{Pi}\"'":"\\(\\[{\"'";e=e.replace(/[.*+?^${}()\-|[\]\\]/g,"\\$&");return new RegExp(`(?:^|[ ${o}])([${e}])(.${i})$`,"u")}function ie(e){return t=>e.filter((e=>("string"==typeof e?e:String(e.id)).toLowerCase().includes(t.toLowerCase())))}function oe(e){return e&&1==e.length}function re(e){return e.model.markers.has("mention")}var se=n(387),ae={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};W()(se.A,ae);se.A.locals;class ce extends e.Plugin{toMentionAttribute(e,t){return c(e,t)}static get pluginName(){return"Mention"}static get requires(){return[s,Z]}}})(),(window.CKEditor5=window.CKEditor5||{}).mention=i})(); \ No newline at end of file + */(()=>{var e={387:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(758),o=n.n(i),r=n(935),s=n.n(r)()(o());s.push([e.id,":root{--ck-color-mention-background:rgba(153,0,48,.1);--ck-color-mention-text:#990030}.ck-content .mention{background:var(--ck-color-mention-background);color:var(--ck-color-mention-text)}",""]);const a=s},89:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(758),o=n.n(i),r=n(935),s=n.n(r)()(o());s.push([e.id,":root{--ck-mention-list-max-height:300px}.ck.ck-mentions{max-height:var(--ck-mention-list-max-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.ck.ck-mentions>.ck-list__item{flex-shrink:0;overflow:hidden}",""]);const a=s},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,o,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);i&&s[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var r={},s=[],a=0;a<e.length;a++){var c=e[a],d=i.base?c[0]+i.base:c[0],l=r[d]||0,u="".concat(d," ").concat(l);r[d]=l+1;var m=n(u),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(f);else{var h=o(f,i);i.byIndex=a,t.splice(a,0,{identifier:u,updater:h,references:1})}s.push(u)}return s}function o(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var r=i(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<r.length;s++){var a=n(r[s]);t[a].references--}for(var c=i(e,o),d=0;d<r.length;d++){var l=n(r[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}r=c}}},128:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},639:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,o){var r;if(i)r="";else{r="",o.supports&&(r+="@supports (".concat(o.supports,") {")),o.media&&(r+="@media ".concat(o.media," {"));var s=void 0!==o.layer;s&&(r+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),r+=o.css,s&&(r+="}"),o.media&&(r+="}"),o.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,r);else{var a=document.createTextNode(r),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,n=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},834:(e,t,n)=>{e.exports=n(237)("./src/typing.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,exports:{}};return e[i](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{DomWrapperView:()=>ie,Mention:()=>pe,MentionEditing:()=>s,MentionListItemView:()=>oe,MentionUI:()=>ae,MentionsView:()=>ne});var e=n(782),t=n(584);const o={"(":")","[":"]","{":"}"};class r extends e.Command{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"mention")}execute(e){const n=this.editor.model,i=n.document.selection,r="string"==typeof e.mention?{id:e.mention}:e.mention,s=r.id,c=e.range||i.getFirstRange();if(!n.canEditAt(c))return;const d=e.text||s,l=a({_text:d,id:s},r);if(1!=e.marker.length)throw new t.CKEditorError("mentioncommand-incorrect-marker",this);if(s.charAt(0)!=e.marker)throw new t.CKEditorError("mentioncommand-incorrect-id",this);n.change((e=>{const r=(0,t.toMap)(i.getAttributes()),s=new Map(r.entries());s.set("mention",l);const a=n.insertContent(e.createText(d,s),c),u=a.start.nodeBefore,m=a.end.nodeAfter,f=m&&m.is("$text")&&m.data.startsWith(" ");let h=!1;if(u&&m&&u.is("$text")&&m.is("$text")){const e=u.data.slice(-1),t=e in o,n=t&&m.data.startsWith(o[e]);h=t&&n}h||f||n.insertContent(e.createText(" ",r),c.start.getShiftedBy(d.length))}))}}class s extends e.Plugin{static get pluginName(){return"MentionEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model,n=t.document;t.schema.extend("$text",{allowAttributes:"mention"}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",key:"data-mention",classes:"mention"},model:{key:"mention",value:e=>c(e)}}),e.conversion.for("downcast").attributeToElement({model:"mention",view:l}),e.conversion.for("downcast").add(d),n.registerPostFixer((e=>function(e,t,n){const i=t.differ.getChanges();let o=!1;for(const t of i){if("attribute"==t.type)continue;const i=t.position;if("$text"==t.name){const t=i.textNode&&i.textNode.nextSibling;o=m(i.textNode,e)||o,o=m(t,e)||o,o=m(i.nodeBefore,e)||o,o=m(i.nodeAfter,e)||o}if("$text"!=t.name&&"insert"==t.type){const t=i.nodeAfter;for(const n of e.createRangeIn(t).getItems())o=m(n,e)||o}if("insert"==t.type&&n.isInline(t.name)){const t=i.nodeAfter&&i.nodeAfter.nextSibling;o=m(i.nodeBefore,e)||o,o=m(t,e)||o}}return o}(e,n,t.schema))),n.registerPostFixer((e=>function(e,t){const n=t.differ.getChanges();let i=!1;for(const t of n)if("attribute"===t.type&&"mention"!=t.attributeKey){const n=t.range.start.nodeBefore,o=t.range.end.nodeAfter;for(const r of[n,o])u(r)&&r.getAttribute(t.attributeKey)!=t.attributeNewValue&&(e.setAttribute(t.attributeKey,t.attributeNewValue,r),i=!0)}return i}(e,n))),n.registerPostFixer((e=>function(e,t){const n=t.selection,i=n.focus;if(n.isCollapsed&&n.hasAttribute("mention")&&function(e){const t=e.isAtStart;return e.nodeBefore&&e.nodeBefore.is("$text")||t}(i))return e.removeSelectionAttribute("mention"),!0;return!1}(e,n))),e.commands.add("mention",new r(e))}}function a(e,n){return Object.assign({uid:(0,t.uid)()},e,n||{})}function c(e,t){const n=e.getAttribute("data-mention"),i=e.getChild(0);if(!i)return;return a({id:n,_text:i.data},t)}function d(e){e.on("attribute:mention",((e,t,n)=>{const i=t.attributeNewValue;if(!t.item.is("$textProxy")||!i)return;const o=t.range.start;(o.textNode||o.nodeAfter).data!=i._text&&n.consumable.consume(t.item,e.name)}),{priority:"highest"})}function l(e,{writer:t}){if(!e)return;const n={class:"mention","data-mention":e.id},i={id:e.uid,priority:20};return t.createAttributeElement("span",n,i)}function u(e){if(!e||!e.is("$text")&&!e.is("$textProxy")||!e.hasAttribute("mention"))return!1;return e.data!=e.getAttribute("mention")._text}function m(e,t){return!!u(e)&&(t.removeAttribute("mention",e),!0)}var f=n(311),h=n(834);const g=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const p="object"==typeof global&&global&&global.Object===Object&&global;var v="object"==typeof self&&self&&self.Object===Object&&self;const b=p||v||Function("return this")();const w=function(){return b.Date.now()};var x=/\s/;const y=function(e){for(var t=e.length;t--&&x.test(e.charAt(t)););return t};var _=/^\s+/;const k=function(e){return e?e.slice(0,y(e)+1).replace(_,""):e};const A=b.Symbol;var C=Object.prototype,I=C.hasOwnProperty,E=C.toString,V=A?A.toStringTag:void 0;const M=function(e){var t=I.call(e,V),n=e[V];try{e[V]=void 0;var i=!0}catch(e){}var o=E.call(e);return i&&(t?e[V]=n:delete e[V]),o};var P=Object.prototype.toString;const T=function(e){return P.call(e)};var R=A?A.toStringTag:void 0;const S=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":R&&R in Object(e)?M(e):T(e)};const O=function(e){return null!=e&&"object"==typeof e};const j=function(e){return"symbol"==typeof e||O(e)&&"[object Symbol]"==S(e)};var $=/^[-+]0x[0-9a-f]+$/i,F=/^0b[01]+$/i,N=/^0o[0-7]+$/i,U=parseInt;const B=function(e){if("number"==typeof e)return e;if(j(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=k(e);var n=F.test(e);return n||N.test(e)?U(e.slice(2),n?2:8):$.test(e)?NaN:+e};var L=Math.max,q=Math.min;const D=function(e,t,n){var i,o,r,s,a,c,d=0,l=!1,u=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=i,r=o;return i=o=void 0,d=t,s=e.apply(r,n)}function h(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-d>=r}function p(){var e=w();if(h(e))return v(e);a=setTimeout(p,function(e){var n=t-(e-c);return u?q(n,r-(e-d)):n}(e))}function v(e){return a=void 0,m&&i?f(e):(i=o=void 0,s)}function b(){var e=w(),n=h(e);if(i=arguments,o=this,c=e,n){if(void 0===a)return function(e){return d=e,a=setTimeout(p,t),l?f(e):s}(c);if(u)return clearTimeout(a),a=setTimeout(p,t),f(c)}return void 0===a&&(a=setTimeout(p,t)),s}return t=B(t)||0,g(n)&&(l=!!n.leading,r=(u="maxWait"in n)?L(B(n.maxWait)||0,t):r,m="trailing"in n?!!n.trailing:m),b.cancel=function(){void 0!==a&&clearTimeout(a),d=0,i=c=o=a=void 0},b.flush=function(){return void 0===a?s:v(w())},b};var K=n(591),W=n.n(K),H=n(639),z=n.n(H),G=n(128),J=n.n(G),Q=n(21),X=n.n(Q),Y=n(51),Z=n.n(Y),ee=n(89),te={attributes:{"data-cke":!0}};te.setAttributes=X(),te.insert=J().bind(null,"head"),te.domAPI=z(),te.insertStyleElement=Z();W()(ee.A,te);ee.A&&ee.A.locals&&ee.A.locals;class ne extends f.ListView{constructor(e){super(e),this.extendTemplate({attributes:{class:["ck-mentions"],tabindex:"-1"}})}selectFirst(){this.select(0)}selectNext(){const e=this.selected,t=this.items.getIndex(e);this.select(t+1)}selectPrevious(){const e=this.selected,t=this.items.getIndex(e);this.select(t-1)}select(e){let t=0;e>0&&e<this.items.length?t=e:e<0&&(t=this.items.length-1);const n=this.items.get(t);this.selected!==n&&(this.selected&&this.selected.removeHighlight(),n.highlight(),this.selected=n,this._isItemVisibleInScrolledArea(n)||(this.element.scrollTop=n.element.offsetTop))}executeSelected(){this.selected.fire("execute")}_isItemVisibleInScrolledArea(e){return new t.Rect(this.element).contains(new t.Rect(e.element))}}class ie extends f.View{constructor(e,t){super(e),this.template=void 0,this.domElement=t,this.domElement.classList.add("ck-button"),this.set("isOn",!1),this.on("change:isOn",((e,t,n)=>{n?(this.domElement.classList.add("ck-on"),this.domElement.classList.remove("ck-off")):(this.domElement.classList.add("ck-off"),this.domElement.classList.remove("ck-on"))})),this.listenTo(this.domElement,"click",(()=>{this.fire("execute")}))}render(){super.render(),this.element=this.domElement}focus(){this.domElement.focus()}}class oe extends f.ListItemView{highlight(){this.children.first.isOn=!0}removeHighlight(){this.children.first.isOn=!1}}const re=[t.keyCodes.arrowup,t.keyCodes.arrowdown,t.keyCodes.esc],se=[t.keyCodes.enter,t.keyCodes.tab];class ae extends e.Plugin{static get pluginName(){return"MentionUI"}static get isOfficialPlugin(){return!0}static get requires(){return[f.ContextualBalloon]}constructor(e){super(e),this._items=new t.Collection,this._mentionsView=this._createMentionView(),this._mentionsConfigurations=new Map,this._requestFeedDebounced=D(this._requestFeed,100),e.config.define("mention",{feeds:[]})}init(){const e=this.editor,n=e.config.get("mention.commitKeys")||se,i=re.concat(n);this._balloon=e.plugins.get(f.ContextualBalloon),e.editing.view.document.on("keydown",((e,o)=>{var r;r=o.keyCode,i.includes(r)&&this._isUIVisible&&(o.preventDefault(),e.stop(),o.keyCode==t.keyCodes.arrowdown&&this._mentionsView.selectNext(),o.keyCode==t.keyCodes.arrowup&&this._mentionsView.selectPrevious(),n.includes(o.keyCode)&&this._mentionsView.executeSelected(),o.keyCode==t.keyCodes.esc&&this._hideUIAndRemoveMarker())}),{priority:"highest"}),(0,f.clickOutsideHandler)({emitter:this._mentionsView,activator:()=>this._isUIVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUIAndRemoveMarker()});const o=e.config.get("mention.feeds");for(const e of o){const{feed:n,marker:i,dropdownLimit:o}=e;if(!me(i))throw new t.CKEditorError("mentionconfig-incorrect-marker",null,{marker:i});const r={marker:i,feedCallback:"function"==typeof n?n.bind(this.editor):ue(n),itemRenderer:e.itemRenderer,dropdownLimit:o};this._mentionsConfigurations.set(i,r)}this._setupTextWatcher(o),this.listenTo(e,"change:isReadOnly",(()=>{this._hideUIAndRemoveMarker()})),this.on("requestFeed:response",((e,t)=>this._handleFeedResponse(t))),this.on("requestFeed:error",(()=>this._hideUIAndRemoveMarker()))}destroy(){super.destroy(),this._mentionsView.destroy()}get _isUIVisible(){return this._balloon.visibleView===this._mentionsView}_createMentionView(){const e=this.editor.locale,t=new ne(e);return t.items.bindTo(this._items).using((n=>{const{item:i,marker:o}=n,{dropdownLimit:r}=this._mentionsConfigurations.get(o),s=r||this.editor.config.get("mention.dropdownLimit")||10;if(t.items.length>=s)return null;const a=new oe(e),c=this._renderItem(i,o);return c.delegate("execute").to(a),a.children.add(c),a.item=i,a.marker=o,a.on("execute",(()=>{t.fire("execute",{item:i,marker:o})})),a})),t.on("execute",((e,t)=>{const n=this.editor,i=n.model,o=t.item,r=t.marker,s=n.model.markers.get("mention"),a=i.createPositionAt(i.document.selection.focus),c=i.createPositionAt(s.getStart()),d=i.createRange(c,a);this._hideUIAndRemoveMarker(),n.execute("mention",{mention:o,text:o.text,marker:r,range:d}),n.editing.view.focus()})),t}_getItemRenderer(e){const{itemRenderer:t}=this._mentionsConfigurations.get(e);return t}_requestFeed(e,n){this._lastRequested=n;const{feedCallback:i}=this._mentionsConfigurations.get(e),o=i(n);o instanceof Promise?o.then((t=>{this._lastRequested==n?this.fire("requestFeed:response",{feed:t,marker:e,feedText:n}):this.fire("requestFeed:discarded",{feed:t,marker:e,feedText:n})})).catch((n=>{this.fire("requestFeed:error",{error:n}),(0,t.logWarning)("mention-feed-callback-error",{marker:e})})):this.fire("requestFeed:response",{feed:o,marker:e,feedText:n})}_setupTextWatcher(e){const t=this.editor,n=e.map((e=>({...e,pattern:le(e.marker,e.minimumCharacters||0)}))),i=new h.TextWatcher(t.model,function(e){const t=t=>{const n=de(e,t);if(!n)return!1;let i=0;0!==n.position&&(i=n.position-1);const o=t.substring(i);return n.pattern.test(o)};return t}(n));i.on("matched",((e,i)=>{const o=de(n,i.text),r=t.model.document.selection.focus,s=t.model.createPositionAt(r.parent,o.position);if(function(e){const t=e.textNode&&e.textNode.hasAttribute("mention"),n=e.nodeBefore;return t||n&&n.is("$text")&&n.hasAttribute("mention")}(r)||function(e){const t=e.nodeAfter;return t&&t.is("$text")&&t.hasAttribute("mention")}(s))return void this._hideUIAndRemoveMarker();const a=function(e,t){let n=0;0!==e.position&&(n=e.position-1);const i=le(e.marker,0),o=t.substring(n);return o.match(i)[2]}(o,i.text),c=o.marker.length+a.length,d=r.getShiftedBy(-c),l=r.getShiftedBy(-a.length),u=t.model.createRange(d,l);if(fe(t)){const e=t.model.markers.get("mention");t.model.change((t=>{t.updateMarker(e,{range:u})}))}else t.model.change((e=>{e.addMarker("mention",{range:u,usingOperation:!1,affectsData:!1})}));this._requestFeedDebounced(o.marker,a)})),i.on("unmatched",(()=>{this._hideUIAndRemoveMarker()}));const o=t.commands.get("mention");return i.bind("isEnabled").to(o),i}_handleFeedResponse(e){const{feed:t,marker:n}=e;if(!fe(this.editor))return;this._items.clear();for(const e of t){const t="object"!=typeof e?{id:e,text:e}:e;this._items.add({item:t,marker:n})}const i=this.editor.model.markers.get("mention");this._items.length?this._showOrUpdateUI(i):this._hideUIAndRemoveMarker()}_showOrUpdateUI(e){this._isUIVisible?this._balloon.updatePosition(this._getBalloonPanelPositionData(e,this._mentionsView.position)):this._balloon.add({view:this._mentionsView,position:this._getBalloonPanelPositionData(e,this._mentionsView.position),singleViewMode:!0}),this._mentionsView.position=this._balloon.view.position,this._mentionsView.selectFirst()}_hideUIAndRemoveMarker(){this._balloon.hasView(this._mentionsView)&&this._balloon.remove(this._mentionsView),fe(this.editor)&&this.editor.model.change((e=>e.removeMarker("mention"))),this._mentionsView.position=void 0}_renderItem(e,t){const n=this.editor;let i,o=e.id;const r=this._getItemRenderer(t);if(r){const t=r(e);"string"!=typeof t?i=new ie(n.locale,t):o=t}if(!i){const e=new f.ButtonView(n.locale);e.label=o,e.withText=!0,i=e}return i}_getBalloonPanelPositionData(e,n){const i=this.editor,o=i.editing,r=o.view.domConverter,s=o.mapper;return{target:()=>{let n=e.getRange();"$graveyard"==n.start.root.rootName&&(n=i.model.document.selection.getFirstRange());const o=s.toViewRange(n);return t.Rect.getDomRangeRects(r.viewRangeToDom(o)).pop()},limiter:()=>{const e=this.editor.editing.view,t=e.document.selection.editableElement;return t?e.domConverter.mapViewToDom(t.root):null},positions:ce(n,i.locale.uiLanguageDirection)}}}function ce(e,t){const n={caret_se:e=>({top:e.bottom+3,left:e.right,name:"caret_se",config:{withArrow:!1}}),caret_ne:(e,t)=>({top:e.top-t.height-3,left:e.right,name:"caret_ne",config:{withArrow:!1}}),caret_sw:(e,t)=>({top:e.bottom+3,left:e.right-t.width,name:"caret_sw",config:{withArrow:!1}}),caret_nw:(e,t)=>({top:e.top-t.height-3,left:e.right-t.width,name:"caret_nw",config:{withArrow:!1}})};return Object.prototype.hasOwnProperty.call(n,e)?[n[e]]:"rtl"!==t?[n.caret_se,n.caret_sw,n.caret_ne,n.caret_nw]:[n.caret_sw,n.caret_se,n.caret_nw,n.caret_ne]}function de(e,t){let n;for(const i of e){const e=t.lastIndexOf(i.marker);e>0&&!t.substring(e-1).match(i.pattern)||(!n||e>=n.position)&&(n={marker:i.marker,position:e,minimumCharacters:i.minimumCharacters,pattern:i.pattern})}return n}function le(e,n){const i=0==n?"*":`{${n},}`,o=t.env.features.isRegExpUnicodePropertySupported?"\\p{Ps}\\p{Pi}\"'":"\\(\\[{\"'";e=e.replace(/[.*+?^${}()\-|[\]\\]/g,"\\$&");return new RegExp(`(?:^|[ ${o}])([${e}])(.${i})$`,"u")}function ue(e){return t=>e.filter((e=>("string"==typeof e?e:String(e.id)).toLowerCase().includes(t.toLowerCase())))}function me(e){return e&&1==e.length}function fe(e){return e.model.markers.has("mention")}var he=n(387),ge={attributes:{"data-cke":!0}};ge.setAttributes=X(),ge.insert=J().bind(null,"head"),ge.domAPI=z(),ge.insertStyleElement=Z();W()(he.A,ge);he.A&&he.A.locals&&he.A.locals;class pe extends e.Plugin{toMentionAttribute(e,t){return c(e,t)}static get pluginName(){return"Mention"}static get isOfficialPlugin(){return!0}static get requires(){return[s,ae]}}})(),(window.CKEditor5=window.CKEditor5||{}).mention=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/minimap/minimap.js b/core/assets/vendor/ckeditor5/minimap/minimap.js index 67bae2a6a59a5709dbfabac386263e9f5a0f6246..98d1590cc4c75845a921950320f6b45b9ea03134 100644 --- a/core/assets/vendor/ckeditor5/minimap/minimap.js +++ b/core/assets/vendor/ckeditor5/minimap/minimap.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={188:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,':root{--ck-color-minimap-tracker-background:208,0%,51%;--ck-color-minimap-iframe-outline:#bfbfbf;--ck-color-minimap-iframe-shadow:rgba(0,0,0,.11);--ck-color-minimap-progress-background:#666}.ck.ck-minimap{background:var(--ck-color-base-background);position:absolute;user-select:none}.ck.ck-minimap,.ck.ck-minimap iframe{height:100%;width:100%}.ck.ck-minimap iframe{border:0;box-shadow:0 2px 5px var(--ck-color-minimap-iframe-shadow);margin:0;outline:1px solid var(--ck-color-minimap-iframe-outline);pointer-events:none;position:relative}.ck.ck-minimap .ck.ck-minimap__position-tracker{background:hsla(var(--ck-color-minimap-tracker-background),.2);position:absolute;top:0;transition:background .1s ease-in-out;width:100%;z-index:1}@media (prefers-reduced-motion:reduce){.ck.ck-minimap .ck.ck-minimap__position-tracker{transition:none}}.ck.ck-minimap .ck.ck-minimap__position-tracker:hover{background:hsla(var(--ck-color-minimap-tracker-background),.3)}.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging,.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging:hover{background:hsla(var(--ck-color-minimap-tracker-background),.4)}.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging:after,.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging:hover:after{opacity:1}.ck.ck-minimap .ck.ck-minimap__position-tracker:after{background:var(--ck-color-minimap-progress-background);border:1px solid var(--ck-color-base-background);border-radius:3px;color:var(--ck-color-base-background);content:attr(data-progress) "%";font-size:10px;opacity:0;padding:2px 4px;position:absolute;right:5px;top:5px;transition:opacity .1s ease-in-out}@media (prefers-reduced-motion:reduce){.ck.ck-minimap .ck.ck-minimap__position-tracker:after{transition:none}}',""]);const r=o},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(o[s]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);n&&o[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),e.push(c))}},e}},591:(t,e,i)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),s=[];function a(t){for(var e=-1,i=0;i<s.length;i++)if(s[i].identifier===t){e=i;break}return e}function c(t,e){for(var i={},n=[],o=0;o<t.length;o++){var r=t[o],c=e.base?r[0]+e.base:r[0],l=i[c]||0,m="".concat(c," ").concat(l);i[c]=l+1;var d=a(m),h={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(s[d].references++,s[d].updater(h)):s.push({identifier:m,updater:f(h,e),references:1}),n.push(m)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=r(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var m,d=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function h(t,e,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,o);else{var r=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}function p(t,e,i){var n=i.css,o=i.media,r=i.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var u=null,g=0;function f(t,e){var i,n,o;if(e.singleton){var r=g++;i=u||(u=l(e)),n=h.bind(null,i,r,!1),o=h.bind(null,i,r,!0)}else i=l(e),n=p.bind(null,i,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(i)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var i=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<i.length;n++){var o=a(i[n]);s[o].references--}for(var r=c(t,e),l=0;l<i.length;l++){var m=a(i[l]);0===s[m].references&&(s[m].updater(),s.splice(m,1))}i=r}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{Minimap:()=>b});var t=i(782),e=i(584),o=i(311);const r=(0,e.toUnit)("px");class s extends o.IframeView{constructor(t,e){super(t);const i=this.bindTemplate;this.set("top",0),this.set("height",0),this._options=e,this.extendTemplate({attributes:{tabindex:-1,"aria-hidden":"true",class:["ck-minimap__iframe"],style:{top:i.to("top",(t=>r(t))),height:i.to("height",(t=>r(t)))}}})}render(){return super.render().then((()=>{this._prepareDocument()}))}setHeight(t){this.height=t}setTopOffset(t){this.top=t}_prepareDocument(){const t=this.element.contentWindow.document,e=t.adoptNode(this._options.domRootClone),i=this._options.useSimplePreview?"\n\t\t\t.ck.ck-editor__editable_inline img {\n\t\t\t\tfilter: contrast( 0 );\n\t\t\t}\n\n\t\t\tp, li, a, figcaption, span {\n\t\t\t\tbackground: hsl(0, 0%, 80%) !important;\n\t\t\t\tcolor: hsl(0, 0%, 80%) !important;\n\t\t\t}\n\n\t\t\th1, h2, h3, h4 {\n\t\t\t\tbackground: hsl(0, 0%, 60%) !important;\n\t\t\t\tcolor: hsl(0, 0%, 60%) !important;\n\t\t\t}\n\t\t":"",n=`<!DOCTYPE html><html lang="en">\n\t\t\t<head>\n\t\t\t\t<meta charset="utf-8">\n\t\t\t\t<meta name="viewport" content="width=device-width, initial-scale=1">\n\t\t\t\t${this._options.pageStyles.map((t=>"string"==typeof t?`<style>${t}</style>`:`<link rel="stylesheet" type="text/css" href="${t.href}">`)).join("\n")}\n\t\t\t\t<style>\n\t\t\t\t\thtml, body {\n\t\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\t\tpadding: 0 !important;\n\t\t\t\t\t}\n\n\t\t\t\t\thtml {\n\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t}\n\n\t\t\t\t\tbody {\n\t\t\t\t\t\ttransform: scale( ${this._options.scaleRatio} );\n\t\t\t\t\t\ttransform-origin: 0 0;\n\t\t\t\t\t\toverflow: visible;\n\t\t\t\t\t}\n\n\t\t\t\t\t.ck.ck-editor__editable_inline {\n\t\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\t\tborder-color: transparent !important;\n\t\t\t\t\t\toutline-color: transparent !important;\n\t\t\t\t\t\tbox-shadow: none !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t.ck.ck-content {\n\t\t\t\t\t\tbackground: white;\n\t\t\t\t\t}\n\n\t\t\t\t\t${i}\n\t\t\t\t</style>\n\t\t\t</head>\n\t\t\t<body class="${this._options.extraClasses||""}"></body>\n\t\t</html>`;t.open(),t.write(n),t.close(),t.body.appendChild(e)}}const a=(0,e.toUnit)("px");class c extends o.View{constructor(t){super(t);const e=this.bindTemplate;this.set("height",0),this.set("top",0),this.set("scrollProgress",0),this.set("_isDragging",!1),this.setTemplate({tag:"div",attributes:{class:["ck","ck-minimap__position-tracker",e.if("_isDragging","ck-minimap__position-tracker_dragging")],style:{top:e.to("top",(t=>a(t))),height:e.to("height",(t=>a(t)))},"data-progress":e.to("scrollProgress")},on:{mousedown:e.to((()=>{this._isDragging=!0}))}})}render(){super.render(),this.listenTo(e.global.document,"mousemove",((t,e)=>{this._isDragging&&this.fire("drag",e.movementY)}),{useCapture:!0}),this.listenTo(e.global.document,"mouseup",(()=>{this._isDragging=!1}),{useCapture:!0})}setHeight(t){this.height=t}setTopOffset(t){this.top=t}setScrollProgress(t){this.scrollProgress=t}}class l extends o.View{constructor({locale:t,scaleRatio:e,pageStyles:i,extraClasses:n,useSimplePreview:o,domRootClone:r}){super(t);const a=this.bindTemplate;this._positionTrackerView=new c(t),this._positionTrackerView.delegate("drag").to(this),this._scaleRatio=e,this._minimapIframeView=new s(t,{useSimplePreview:o,pageStyles:i,extraClasses:n,scaleRatio:e,domRootClone:r}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-minimap"]},children:[this._positionTrackerView],on:{click:a.to(this._handleMinimapClick.bind(this)),wheel:a.to(this._handleMinimapMouseWheel.bind(this))}})}destroy(){this._minimapIframeView.destroy(),super.destroy()}get height(){return new e.Rect(this.element).height}get scrollHeight(){return Math.max(0,Math.min(this.height,this._minimapIframeView.height)-this._positionTrackerView.height)}render(){super.render(),this._minimapIframeView.render(),this.element.appendChild(this._minimapIframeView.element)}setContentHeight(t){this._minimapIframeView.setHeight(t*this._scaleRatio)}setScrollProgress(t){const e=this._minimapIframeView,i=this._positionTrackerView;if(e.height<this.height)e.setTopOffset(0),i.setTopOffset((e.height-i.height)*t);else{const n=e.height-this.height;e.setTopOffset(-n*t),i.setTopOffset((this.height-i.height)*t)}i.setScrollProgress(Math.round(100*t))}setPositionTrackerHeight(t){this._positionTrackerView.setHeight(t*this._scaleRatio)}_handleMinimapClick(t){const i=this._positionTrackerView;if(t.target===i.element)return;const n=new e.Rect(i.element),o=(t.clientY-n.top-n.height/2)/this._minimapIframeView.height;this.fire("click",o)}_handleMinimapMouseWheel(t){this.fire("drag",t.deltaY*this._scaleRatio)}}var m=i(783);function d(t,e){const i=t.editing.view.document,n=i.getRoot(e),o=new m.DomConverter(i),r=new m.Renderer(o,i.selection),s=t.editing.view.getDomRoot().cloneNode();return o.bindElements(s,n),r.markToSync("children",n),r.markToSync("attributes",n),n.on("change:children",((t,e)=>r.markToSync("children",e))),n.on("change:attributes",((t,e)=>r.markToSync("attributes",e))),n.on("change:text",((t,e)=>r.markToSync("text",e))),r.render(),t.editing.view.on("render",(()=>r.render())),t.on("destroy",(()=>{o.unbindDomElement(s)})),s}function h(t){return new e.Rect(t===e.global.document.body?e.global.window:t)}function p(t){return t===e.global.document.body?e.global.window:t}var u=i(591),g=i.n(u),f=i(188),k={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};g()(f.A,k);f.A.locals;class b extends t.Plugin{static get pluginName(){return"Minimap"}init(){const t=this.editor;this._minimapView=null,this._scrollableRootAncestor=null,this.listenTo(t.ui,"ready",this._onUiReady.bind(this))}destroy(){super.destroy(),this._minimapView.destroy(),this._minimapView.element.remove()}_onUiReady(){const t=this.editor,i=this._editingRootElement=t.ui.getEditableElement();this._scrollableRootAncestor=(0,e.findClosestScrollableAncestor)(i),i.ownerDocument.body.contains(i)?(this._initializeMinimapView(),this.listenTo(t.editing.view,"render",(()=>{"ready"===t.state&&this._syncMinimapToEditingRootScrollPosition()})),this._syncMinimapToEditingRootScrollPosition()):t.ui.once("update",this._onUiReady.bind(this))}_initializeMinimapView(){const t=this.editor,i=t.locale,n=t.config.get("minimap.useSimplePreview"),o=t.config.get("minimap.container"),r=this._scrollableRootAncestor,s=h(this._editingRootElement).width,a=h(o).width/s,c=this._minimapView=new l({locale:i,scaleRatio:a,pageStyles:Array.from(e.global.document.styleSheets).map((t=>t.href&&!t.href.startsWith(e.global.window.location.origin)?{href:t.href}:Array.from(t.cssRules).filter((t=>!(t instanceof CSSMediaRule))).map((t=>t.cssText)).join(" \n"))),extraClasses:t.config.get("minimap.extraClasses"),useSimplePreview:n,domRootClone:d(t)});c.render(),c.listenTo(e.global.document,"scroll",((t,i)=>{if(r===e.global.document.body){if(i.target!==e.global.document)return}else if(i.target!==r)return;this._syncMinimapToEditingRootScrollPosition()}),{useCapture:!0,usePassive:!0}),c.listenTo(e.global.window,"resize",(()=>{this._syncMinimapToEditingRootScrollPosition()})),c.on("drag",((t,i)=>{let n;n=0===c.scrollHeight?0:i/c.scrollHeight;const o=n*(r.scrollHeight-((s=r)===e.global.document.body?e.global.window.innerHeight:s.clientHeight));var s;p(r).scrollBy(0,Math.round(o))})),c.on("click",((t,e)=>{const i=e*r.scrollHeight;p(r).scrollBy(0,Math.round(i))})),o.appendChild(c.element)}_syncMinimapToEditingRootScrollPosition(){const t=this._editingRootElement,e=this._minimapView;e.setContentHeight(t.offsetHeight);const i=h(t),n=h(this._scrollableRootAncestor);let o;n.contains(i)||i.top>n.top?o=0:(o=(i.top-n.top)/(n.height-i.height),o=Math.max(0,Math.min(o,1))),e.setPositionTrackerHeight(n.getIntersection(i).height),e.setScrollProgress(o)}}})(),(window.CKEditor5=window.CKEditor5||{}).minimap=n})(); \ No newline at end of file + */(()=>{var t={188:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(758),o=i.n(n),r=i(935),s=i.n(r)()(o());s.push([t.id,':root{--ck-color-minimap-tracker-background:208,0%,51%;--ck-color-minimap-iframe-outline:#bfbfbf;--ck-color-minimap-iframe-shadow:rgba(0,0,0,.11);--ck-color-minimap-progress-background:#666}.ck.ck-minimap{background:var(--ck-color-base-background);position:absolute;user-select:none}.ck.ck-minimap,.ck.ck-minimap iframe{height:100%;width:100%}.ck.ck-minimap iframe{border:0;box-shadow:0 2px 5px var(--ck-color-minimap-iframe-shadow);margin:0;outline:1px solid var(--ck-color-minimap-iframe-outline);pointer-events:none;position:relative}.ck.ck-minimap .ck.ck-minimap__position-tracker{background:hsla(var(--ck-color-minimap-tracker-background),.2);position:absolute;top:0;transition:background .1s ease-in-out;width:100%;z-index:1}@media (prefers-reduced-motion:reduce){.ck.ck-minimap .ck.ck-minimap__position-tracker{transition:none}}.ck.ck-minimap .ck.ck-minimap__position-tracker:hover{background:hsla(var(--ck-color-minimap-tracker-background),.3)}.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging,.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging:hover{background:hsla(var(--ck-color-minimap-tracker-background),.4)}.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging:after,.ck.ck-minimap .ck.ck-minimap__position-tracker.ck-minimap__position-tracker_dragging:hover:after{opacity:1}.ck.ck-minimap .ck.ck-minimap__position-tracker:after{background:var(--ck-color-minimap-progress-background);border:1px solid var(--ck-color-base-background);border-radius:3px;color:var(--ck-color-base-background);content:attr(data-progress) "%";font-size:10px;opacity:0;padding:2px 4px;position:absolute;right:5px;top:5px;transition:opacity .1s ease-in-out}@media (prefers-reduced-motion:reduce){.ck.ck-minimap .ck.ck-minimap__position-tracker:after{transition:none}}',""]);const a=s},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,o,r){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<t.length;l++){var p=[].concat(t[l]);n&&s[p[0]]||(void 0!==r&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=r),i&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=i):p[2]=i),o&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=o):p[4]="".concat(o)),e.push(p))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},s=[],a=0;a<t.length;a++){var c=t[a],l=n.base?c[0]+n.base:c[0],p=r[l]||0,m="".concat(l," ").concat(p);r[l]=p+1;var h=i(m),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)e[h].references++,e[h].updater(d);else{var u=o(d,n);n.byIndex=a,e.splice(a,0,{identifier:m,updater:u,references:1})}s.push(m)}return s}function o(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,o){var r=n(t=t||[],o=o||{});return function(t){t=t||[];for(var s=0;s<r.length;s++){var a=i(r[s]);e[a].references--}for(var c=n(t,o),l=0;l<r.length;l++){var p=i(r[l]);0===e[p].references&&(e[p].updater(),e.splice(p,1))}r=c}}},128:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},639:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,o){var r;if(n)r="";else{r="",o.supports&&(r+="@supports (".concat(o.supports,") {")),o.media&&(r+="@media ".concat(o.media," {"));var s=void 0!==o.layer;s&&(r+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),r+=o.css,s&&(r+="}"),o.media&&(r+="}"),o.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,i=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Minimap:()=>R});var t=i(782),e=i(584),o=i(311);const r=(0,e.toUnit)("px");class s extends o.IframeView{constructor(t,e){super(t);const i=this.bindTemplate;this.set("top",0),this.set("height",0),this._options=e,this.extendTemplate({attributes:{tabindex:-1,"aria-hidden":"true",class:["ck-minimap__iframe"],style:{top:i.to("top",(t=>r(t))),height:i.to("height",(t=>r(t)))}}})}render(){return super.render().then((()=>{this._prepareDocument()}))}setHeight(t){this.height=t}setTopOffset(t){this.top=t}_prepareDocument(){const t=this.element.contentWindow.document,e=t.adoptNode(this._options.domRootClone),i=this._options.useSimplePreview?"\n\t\t\t.ck.ck-editor__editable_inline img {\n\t\t\t\tfilter: contrast( 0 );\n\t\t\t}\n\n\t\t\tp, li, a, figcaption, span {\n\t\t\t\tbackground: hsl(0, 0%, 80%) !important;\n\t\t\t\tcolor: hsl(0, 0%, 80%) !important;\n\t\t\t}\n\n\t\t\th1, h2, h3, h4 {\n\t\t\t\tbackground: hsl(0, 0%, 60%) !important;\n\t\t\t\tcolor: hsl(0, 0%, 60%) !important;\n\t\t\t}\n\t\t":"",n=`<!DOCTYPE html><html lang="en">\n\t\t\t<head>\n\t\t\t\t<meta charset="utf-8">\n\t\t\t\t<meta name="viewport" content="width=device-width, initial-scale=1">\n\t\t\t\t${this._options.pageStyles.map((t=>"string"==typeof t?`<style>${t}</style>`:`<link rel="stylesheet" type="text/css" href="${t.href}">`)).join("\n")}\n\t\t\t\t<style>\n\t\t\t\t\thtml, body {\n\t\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\t\tpadding: 0 !important;\n\t\t\t\t\t}\n\n\t\t\t\t\thtml {\n\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t}\n\n\t\t\t\t\tbody {\n\t\t\t\t\t\ttransform: scale( ${this._options.scaleRatio} );\n\t\t\t\t\t\ttransform-origin: 0 0;\n\t\t\t\t\t\toverflow: visible;\n\t\t\t\t\t}\n\n\t\t\t\t\t.ck.ck-editor__editable_inline {\n\t\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\t\tborder-color: transparent !important;\n\t\t\t\t\t\toutline-color: transparent !important;\n\t\t\t\t\t\tbox-shadow: none !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t.ck.ck-content {\n\t\t\t\t\t\tbackground: white;\n\t\t\t\t\t}\n\n\t\t\t\t\t${i}\n\t\t\t\t</style>\n\t\t\t</head>\n\t\t\t<body class="${this._options.extraClasses||""}"></body>\n\t\t</html>`;t.open(),t.write(n),t.close(),t.body.appendChild(e)}}const a=(0,e.toUnit)("px");class c extends o.View{constructor(t){super(t);const e=this.bindTemplate;this.set("height",0),this.set("top",0),this.set("scrollProgress",0),this.set("_isDragging",!1),this.setTemplate({tag:"div",attributes:{class:["ck","ck-minimap__position-tracker",e.if("_isDragging","ck-minimap__position-tracker_dragging")],style:{top:e.to("top",(t=>a(t))),height:e.to("height",(t=>a(t)))},"data-progress":e.to("scrollProgress")},on:{mousedown:e.to((()=>{this._isDragging=!0}))}})}render(){super.render(),this.listenTo(e.global.document,"mousemove",((t,e)=>{this._isDragging&&this.fire("drag",e.movementY)}),{useCapture:!0}),this.listenTo(e.global.document,"mouseup",(()=>{this._isDragging=!1}),{useCapture:!0})}setHeight(t){this.height=t}setTopOffset(t){this.top=t}setScrollProgress(t){this.scrollProgress=t}}class l extends o.View{constructor({locale:t,scaleRatio:e,pageStyles:i,extraClasses:n,useSimplePreview:o,domRootClone:r}){super(t);const a=this.bindTemplate;this._positionTrackerView=new c(t),this._positionTrackerView.delegate("drag").to(this),this._scaleRatio=e,this._minimapIframeView=new s(t,{useSimplePreview:o,pageStyles:i,extraClasses:n,scaleRatio:e,domRootClone:r}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-minimap"]},children:[this._positionTrackerView],on:{click:a.to(this._handleMinimapClick.bind(this)),wheel:a.to(this._handleMinimapMouseWheel.bind(this))}})}destroy(){this._minimapIframeView.destroy(),super.destroy()}get height(){return new e.Rect(this.element).height}get scrollHeight(){return Math.max(0,Math.min(this.height,this._minimapIframeView.height)-this._positionTrackerView.height)}render(){super.render(),this._minimapIframeView.render(),this.element.appendChild(this._minimapIframeView.element)}setContentHeight(t){this._minimapIframeView.setHeight(t*this._scaleRatio)}setScrollProgress(t){const e=this._minimapIframeView,i=this._positionTrackerView;if(e.height<this.height)e.setTopOffset(0),i.setTopOffset((e.height-i.height)*t);else{const n=e.height-this.height;e.setTopOffset(-n*t),i.setTopOffset((this.height-i.height)*t)}i.setScrollProgress(Math.round(100*t))}setPositionTrackerHeight(t){this._positionTrackerView.setHeight(t*this._scaleRatio)}_handleMinimapClick(t){const i=this._positionTrackerView;if(t.target===i.element)return;const n=new e.Rect(i.element),o=(t.clientY-n.top-n.height/2)/this._minimapIframeView.height;this.fire("click",o)}_handleMinimapMouseWheel(t){this.fire("drag",t.deltaY*this._scaleRatio)}}var p=i(783);function m(t,e){const i=t.editing.view.document,n=i.getRoot(e),o=new p.DomConverter(i),r=new p.Renderer(o,i.selection),s=t.editing.view.getDomRoot().cloneNode();return o.bindElements(s,n),r.markToSync("children",n),r.markToSync("attributes",n),n.on("change:children",((t,e)=>r.markToSync("children",e))),n.on("change:attributes",((t,e)=>r.markToSync("attributes",e))),n.on("change:text",((t,e)=>r.markToSync("text",e))),r.render(),t.editing.view.on("render",(()=>r.render())),t.on("destroy",(()=>{o.unbindDomElement(s)})),s}function h(t){return new e.Rect(t===e.global.document.body?e.global.window:t)}function d(t){return t===e.global.document.body?e.global.window:t}var u=i(591),g=i.n(u),f=i(639),k=i.n(f),_=i(128),b=i.n(_),v=i(21),y=i.n(v),w=i(51),x=i.n(w),T=i(188),S={attributes:{"data-cke":!0}};S.setAttributes=y(),S.insert=b().bind(null,"head"),S.domAPI=k(),S.insertStyleElement=x();g()(T.A,S);T.A&&T.A.locals&&T.A.locals;class R extends t.Plugin{static get pluginName(){return"Minimap"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;this._minimapView=null,this._scrollableRootAncestor=null,this.listenTo(t.ui,"ready",this._onUiReady.bind(this))}destroy(){super.destroy(),this._minimapView.destroy(),this._minimapView.element.remove()}_onUiReady(){const t=this.editor,i=this._editingRootElement=t.ui.getEditableElement();this._scrollableRootAncestor=(0,e.findClosestScrollableAncestor)(i),i.ownerDocument.body.contains(i)?(this._initializeMinimapView(),this.listenTo(t.editing.view,"render",(()=>{"ready"===t.state&&this._syncMinimapToEditingRootScrollPosition()})),this._syncMinimapToEditingRootScrollPosition()):t.ui.once("update",this._onUiReady.bind(this))}_initializeMinimapView(){const t=this.editor,i=t.locale,n=t.config.get("minimap.useSimplePreview"),o=t.config.get("minimap.container"),r=this._scrollableRootAncestor,s=h(this._editingRootElement).width,a=h(o).width/s,c=this._minimapView=new l({locale:i,scaleRatio:a,pageStyles:Array.from(e.global.document.styleSheets).map((t=>t.href&&!t.href.startsWith(e.global.window.location.origin)?{href:t.href}:Array.from(t.cssRules).filter((t=>!(t instanceof CSSMediaRule))).map((t=>t.cssText)).join(" \n"))),extraClasses:t.config.get("minimap.extraClasses"),useSimplePreview:n,domRootClone:m(t)});c.render(),c.listenTo(e.global.document,"scroll",((t,i)=>{if(r===e.global.document.body){if(i.target!==e.global.document)return}else if(i.target!==r)return;this._syncMinimapToEditingRootScrollPosition()}),{useCapture:!0,usePassive:!0}),c.listenTo(e.global.window,"resize",(()=>{this._syncMinimapToEditingRootScrollPosition()})),c.on("drag",((t,i)=>{let n;n=0===c.scrollHeight?0:i/c.scrollHeight;const o=n*(r.scrollHeight-((s=r)===e.global.document.body?e.global.window.innerHeight:s.clientHeight));var s;d(r).scrollBy(0,Math.round(o))})),c.on("click",((t,e)=>{const i=e*r.scrollHeight;d(r).scrollBy(0,Math.round(i))})),o.appendChild(c.element)}_syncMinimapToEditingRootScrollPosition(){const t=this._editingRootElement,e=this._minimapView;e.setContentHeight(t.offsetHeight);const i=h(t),n=h(this._scrollableRootAncestor);let o;n.contains(i)||i.top>n.top?o=0:(o=(i.top-n.top)/(n.height-i.height),o=Math.max(0,Math.min(o,1))),e.setPositionTrackerHeight(n.getIntersection(i).height),e.setScrollProgress(o)}}})(),(window.CKEditor5=window.CKEditor5||{}).minimap=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/page-break/page-break.js b/core/assets/vendor/ckeditor5/page-break/page-break.js index 4621545448d08d678ae8cc42b8ca30516f117ad7..7e4b3c61fda0f8eba6655f36914bc39777291fb2 100644 --- a/core/assets/vendor/ckeditor5/page-break/page-break.js +++ b/core/assets/vendor/ckeditor5/page-break/page-break.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={835:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(935),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,'.ck-content .page-break{align-items:center;clear:both;display:flex;justify-content:center;padding:5px 0;position:relative}.ck-content .page-break:after{border-bottom:2px dashed #c4c4c4;content:"";position:absolute;width:100%}.ck-content .page-break__label{background:#fff;border:1px solid #c4c4c4;border-radius:2px;box-shadow:2px 2px 1px rgba(0,0,0,.15);color:#333;display:block;font-family:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;font-size:.75em;font-weight:700;padding:.3em .6em;position:relative;text-transform:uppercase;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}@media print{.ck-content .page-break{padding:0}.ck-content .page-break:after{display:none}.ck-content :has(+.page-break){margin-bottom:0}}',""]);const o=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&a[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},591:(e,t,n)=>{"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function s(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],a=0;a<e.length;a++){var o=e[a],c=t.base?o[0]+t.base:o[0],l=n[c]||0,d="".concat(c," ").concat(l);n[c]=l+1;var u=s(d),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==u?(i[u].references++,i[u].updater(p)):i.push({identifier:d,updater:h(p,t),references:1}),r.push(d)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=o(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function p(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function f(e,t,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var g=null,m=0;function h(e,t){var n,r,a;if(t.singleton){var o=m++;n=g||(g=l(t)),r=p.bind(null,n,o,!1),a=p.bind(null,n,o,!0)}else n=l(t),r=f.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var a=s(n[r]);i[a].references--}for(var o=c(e,t),l=0;l<n.length;l++){var d=s(n[l]);0===i[d].references&&(i[d].updater(),i.splice(d,1))}n=o}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},901:(e,t,n)=>{e.exports=n(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";n.r(r),n.d(r,{PageBreak:()=>p,PageBreakEditing:()=>l,PageBreakUI:()=>u});var e=n(782),t=n(901);class a extends e.Command{refresh(){const e=this.editor.model,n=e.schema,r=e.document.selection;this.isEnabled=function(e,n,r){const a=function(e,n){const r=(0,t.findOptimalInsertionRange)(e,n),a=r.start.parent;if(a.isEmpty&&!a.is("element","$root"))return a.parent;return a}(e,r);return n.checkChild(a,"pageBreak")}(r,n,e)}execute(){const e=this.editor.model;e.change((t=>{const n=t.createElement("pageBreak");e.insertObject(n,null,null,{setSelection:"after"})}))}}var o=n(591),i=n.n(o),s=n(835),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i()(s.A,c);s.A.locals;class l extends e.Plugin{static get pluginName(){return"PageBreakEditing"}init(){const e=this.editor,n=e.model.schema,r=e.t,o=e.conversion;n.register("pageBreak",{inheritAllFrom:"$blockObject"}),o.for("dataDowncast").elementToStructure({model:"pageBreak",view:(e,{writer:t})=>t.createContainerElement("div",{class:"page-break",style:"page-break-after: always"},t.createContainerElement("span",{style:"display: none"}))}),o.for("editingDowncast").elementToStructure({model:"pageBreak",view:(e,{writer:n})=>{const a=r("Page break"),o=n.createContainerElement("div"),i=n.createRawElement("span",{class:"page-break__label"},(function(e){e.innerText=r("Page break")}));return n.addClass("page-break",o),n.insert(n.createPositionAt(o,0),i),function(e,n,r){return n.setCustomProperty("pageBreak",!0,e),(0,t.toWidget)(e,n,{label:r})}(o,n,a)}}),o.for("upcast").elementToElement({view:e=>{const t="always"==e.getStyle("page-break-before"),n="always"==e.getStyle("page-break-after");if(!t&&!n)return null;if(1==e.childCount){const t=e.getChild(0);if(!t.is("element","span")||"none"!=t.getStyle("display"))return null}else if(e.childCount>1)return null;return{name:!0}},model:"pageBreak",converterPriority:"high"}),e.commands.add("pageBreak",new a(e))}}var d=n(311);class u extends e.Plugin{static get pluginName(){return"PageBreakUI"}init(){const e=this.editor;e.ui.componentFactory.add("pageBreak",(()=>{const e=this._createButton(d.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:pageBreak",(()=>this._createButton(d.MenuBarMenuListItemButtonView)))}_createButton(e){const t=this.editor,n=t.locale,r=t.commands.get("pageBreak"),a=new e(t.locale),o=n.t;return a.set({label:o("Page break"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.598.687h1.5v5h-1.5zm14.5 0h1.5v5h-1.5z"/><path d="M19.598 4.187v1.5h-16v-1.5zm-16 14.569h1.5v-5h-1.5zm14.5 0h1.5v-5h-1.5z"/><path d="M19.598 15.256v-1.5h-16v1.5zM5.081 9h6v2h-6zm8 0h6v2h-6zm-9.483 1L0 12.5v-5z"/></svg>'}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",(()=>{t.execute("pageBreak"),t.editing.view.focus()})),a}}class p extends e.Plugin{static get requires(){return[l,u,t.Widget]}static get pluginName(){return"PageBreak"}}})(),(window.CKEditor5=window.CKEditor5||{}).pageBreak=r})(); \ No newline at end of file + */(()=>{var e={835:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(758),a=n.n(r),o=n(935),i=n.n(o)()(a());i.push([e.id,'.ck-content .page-break{align-items:center;clear:both;display:flex;justify-content:center;padding:5px 0;position:relative}.ck-content .page-break:after{border-bottom:2px dashed #c4c4c4;content:"";position:absolute;width:100%}.ck-content .page-break__label{background:#fff;border:1px solid #c4c4c4;border-radius:2px;box-shadow:2px 2px 1px rgba(0,0,0,.15);color:#333;display:block;font-family:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;font-size:.75em;font-weight:700;padding:.3em .6em;position:relative;text-transform:uppercase;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}@media print{.ck-content .page-break{padding:0}.ck-content .page-break:after{display:none}.ck-content :has(+.page-break){margin-bottom:0}}',""]);const s=i},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],s=0;s<e.length;s++){var c=e[s],l=r.base?c[0]+r.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var p=n(d),g={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(g);else{var f=a(g,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}i.push(d)}return i}function a(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var c=r(e,a),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},128:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},639:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function r(e,t,r,a){var o;if(r)o="";else{o="",a.supports&&(o+="@supports (".concat(a.supports,") {")),a.media&&(o+="@media ".concat(a.media," {"));var i=void 0!==a.layer;i&&(o+="@layer".concat(a.layer.length>0?" ".concat(a.layer):""," {")),o+=a.css,i&&(o+="}"),a.media&&(o+="}"),a.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var s=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(s,c[t]):e.appendChild(s)}}var a={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=a.singletonCounter++,n=a.singleton||(a.singleton=e.insertStyleElement(e));return{update:function(e){r(n,t,!1,e)},remove:function(e){r(n,t,!0,e)}}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},901:(e,t,n)=>{e.exports=n(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{PageBreak:()=>k,PageBreakEditing:()=>h,PageBreakUI:()=>y});var e=n(782),t=n(901);class a extends e.Command{refresh(){const e=this.editor.model,n=e.schema,r=e.document.selection;this.isEnabled=function(e,n,r){const a=function(e,n){const r=(0,t.findOptimalInsertionRange)(e,n),a=r.start.parent;if(a.isEmpty&&!a.is("element","$root"))return a.parent;return a}(e,r);return n.checkChild(a,"pageBreak")}(r,n,e)}execute(){const e=this.editor.model;e.change((t=>{const n=t.createElement("pageBreak");e.insertObject(n,null,null,{setSelection:"after"})}))}}var o=n(591),i=n.n(o),s=n(639),c=n.n(s),l=n(128),u=n.n(l),d=n(21),p=n.n(d),g=n(51),f=n.n(g),m=n(835),v={attributes:{"data-cke":!0}};v.setAttributes=p(),v.insert=u().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=f();i()(m.A,v);m.A&&m.A.locals&&m.A.locals;class h extends e.Plugin{static get pluginName(){return"PageBreakEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,n=e.model.schema,r=e.t,o=e.conversion;n.register("pageBreak",{inheritAllFrom:"$blockObject"}),o.for("dataDowncast").elementToStructure({model:"pageBreak",view:(e,{writer:t})=>t.createContainerElement("div",{class:"page-break",style:"page-break-after: always"},t.createContainerElement("span",{style:"display: none"}))}),o.for("editingDowncast").elementToStructure({model:"pageBreak",view:(e,{writer:n})=>{const a=r("Page break"),o=n.createContainerElement("div"),i=n.createRawElement("span",{class:"page-break__label"},(function(e){e.innerText=r("Page break")}));return n.addClass("page-break",o),n.insert(n.createPositionAt(o,0),i),function(e,n,r){return n.setCustomProperty("pageBreak",!0,e),(0,t.toWidget)(e,n,{label:r})}(o,n,a)}}),o.for("upcast").elementToElement({view:e=>{const t="always"==e.getStyle("page-break-before"),n="always"==e.getStyle("page-break-after");if(!t&&!n)return null;if(1==e.childCount){const t=e.getChild(0);if(!t.is("element","span")||"none"!=t.getStyle("display"))return null}else if(e.childCount>1)return null;return{name:!0}},model:"pageBreak",converterPriority:"high"}),e.commands.add("pageBreak",new a(e))}}var b=n(311);class y extends e.Plugin{static get pluginName(){return"PageBreakUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("pageBreak",(()=>{const e=this._createButton(b.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:pageBreak",(()=>this._createButton(b.MenuBarMenuListItemButtonView)))}_createButton(e){const t=this.editor,n=t.locale,r=t.commands.get("pageBreak"),a=new e(t.locale),o=n.t;return a.set({label:o("Page break"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.598.687h1.5v5h-1.5zm14.5 0h1.5v5h-1.5z"/><path d="M19.598 4.187v1.5h-16v-1.5zm-16 14.569h1.5v-5h-1.5zm14.5 0h1.5v-5h-1.5z"/><path d="M19.598 15.256v-1.5h-16v1.5zM5.081 9h6v2h-6zm8 0h6v2h-6zm-9.483 1L0 12.5v-5z"/></svg>'}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",(()=>{t.execute("pageBreak"),t.editing.view.focus()})),a}}class k extends e.Plugin{static get requires(){return[h,y,t.Widget]}static get pluginName(){return"PageBreak"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).pageBreak=r})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/paste-from-office/paste-from-office.js b/core/assets/vendor/ckeditor5/paste-from-office/paste-from-office.js index e136a1832e17b347e0ce17d47bb57688086191aa..2c9fb88f6f3cc149756c072de02953fea9c92d4c 100644 --- a/core/assets/vendor/ckeditor5/paste-from-office/paste-from-office.js +++ b/core/assets/vendor/ckeditor5/paste-from-office/paste-from-office.js @@ -1,4 +1,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{MSWordNormalizer:()=>x,PasteFromOffice:()=>P,parseHtml:()=>M});var e=n(782),t=n(331),s=n(783);function i(e){return void 0!==e&&e.endsWith("px")}function o(e){return e.toFixed(2).replace(/\.?0+$/,"")+"px"}function l(e,t,n){if(!e.childCount)return;const r=new s.UpcastWriter(e.document),l=function(e,t){const n=t.createRangeIn(e),r=[],s=new Set;for(const e of n.getItems()){if(!e.is("element")||!e.name.match(/^(p|h\d+|li|div)$/))continue;let t=g(e);if(void 0===t||0!=parseFloat(t)||Array.from(e.getClassNames()).find((e=>e.startsWith("MsoList")))||(t=void 0),e.hasStyle("mso-list")||void 0!==t&&s.has(t)){const n=f(e);r.push({element:e,id:n.id,order:n.order,indent:n.indent,marginLeft:t}),void 0!==t&&s.add(t)}else s.clear()}return r}(e,r);if(!l.length)return;const a={},u=[];for(const e of l)if(void 0!==e.indent){c(e)||(u.length=0);const s=`${e.id}:${e.indent}`,l=Math.min(e.indent-1,u.length);if(l<u.length&&u[l].id!==e.id&&(u.length=l),l<u.length-1)u.length=l+1;else{const c=m(e,t);if(l>u.length-1||u[l].listElement.name!=c.type){0==l&&"ol"==c.type&&void 0!==e.id&&a[s]&&(c.startIndex=a[s]);const t=d(c,r,n);if(i(e.marginLeft)&&(0==l||i(u[l-1].marginLeft))){let n=e.marginLeft;l>0&&(n=o(parseFloat(n)-parseFloat(u[l-1].marginLeft))),r.setStyle("padding-left",n,t)}if(0==u.length){const n=e.element.parent,s=n.getChildIndex(e.element)+1;r.insertChild(s,t,n)}else{const e=u[l-1].listItemElements;r.appendChild(t,e[e.length-1])}u[l]={...e,listElement:t,listItemElements:[]},0==l&&void 0!==e.id&&(a[s]=c.startIndex||1)}}const f="li"==e.element.name?e.element:r.createElement("li");r.appendChild(f,u[l].listElement),u[l].listItemElements.push(f),0==l&&void 0!==e.id&&a[s]++,e.element!=f&&r.appendChild(e.element,f),p(e.element,r),r.removeStyle("text-indent",e.element),r.removeStyle("margin-left",e.element)}else{const t=u.find((t=>t.marginLeft==e.marginLeft));if(t){const n=t.listItemElements;r.appendChild(e.element,n[n.length-1]),r.removeStyle("margin-left",e.element)}else u.length=0}}function c(e){const t=e.element.previousSibling;return a(t||e.element.parent)}function a(e){return e.is("element","ol")||e.is("element","ul")}function m(e,t){const n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${e.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${e.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),l=i.exec(t),c=o.exec(t),a=l&&!c,m=n.exec(t);let d="decimal",f="ol",p=null;if(m&&m[1]){const t=r.exec(m[1]);if(t&&t[1]&&(d=t[1].trim(),f="bullet"!==d&&"image"!==d?"ol":"ul"),"bullet"===d){const t=function(e){if("li"==e.name&&"ul"==e.parent.name&&e.parent.hasAttribute("type"))return e.parent.getAttribute("type");const t=function(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const e=t.getChild(0);if(e)return e.is("$text")?e:e.getChild(0)}return null}(e);if(!t)return null;const n=t._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(e.element);t&&(d=t)}else{const e=s.exec(m[1]);e&&e[1]&&(p=parseInt(e[1]))}a&&(f="ol")}return{type:f,startIndex:p,style:u(d),isLegalStyleList:a}}function u(e){if(e.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(e){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return e;default:return null}}function d(e,t,n){const r=t.createElement(e.type);return e.style&&t.setStyle("list-style-type",e.style,r),e.startIndex&&e.startIndex>1&&t.setAttribute("start",e.startIndex,r),e.isLegalStyleList&&n&&t.addClass("legal-list",r),r}function f(e){const t=e.getStyle("mso-list");if(void 0===t)return{};const n=t.match(/(^|\s{1,100})l(\d+)/i),r=t.match(/\s{0,100}lfo(\d+)/i),s=t.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function p(e,t){const n=new s.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),r=t.createRangeIn(e);for(const e of r)"elementStart"===e.type&&n.match(e.item)&&t.remove(e.item)}function g(e){const t=e.getStyle("margin-left");return void 0===t||t.endsWith("px")?t:function(e){const t=parseFloat(e);return e.endsWith("pt")?o(96*t/72):e.endsWith("pc")?o(12*t*96/72):e.endsWith("in")?o(96*t):e.endsWith("cm")?o(96*t/2.54):e.endsWith("mm")?o(t/10*96/2.54):e}(t)}function h(e,t){if(!e.childCount)return;const n=new s.UpcastWriter(e.document),r=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n){if("elementStart"!=e.type)continue;const t=e.item,n=t.previousSibling,s=n&&n.is("element")?n.name:null,o=["Chart"],l=r.match(t),c=t.getAttribute("o:gfxdata"),a="v:shapetype"===s,m=c&&o.some((e=>t.getAttribute("id").includes(e)));l&&c&&!a&&!m&&i.push(e.item.getAttribute("id"))}return i}(e,n);!function(e,t,n){const r=n.createRangeIn(t),i=new s.Matcher({name:"img"}),o=[];for(const t of r)if(t.item.is("element")&&i.match(t.item)){const n=t.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every((t=>e.indexOf(t)>-1))?o.push(n):n.getAttribute("src")||o.push(n)}for(const e of o)n.remove(e)}(r,e,n),function(e,t,n){const r=n.createRangeIn(t),s=[];for(const t of r)if("elementStart"==t.type&&t.item.is("element","v:shape")){const n=t.item.getAttribute("id");if(e.includes(n))continue;i(t.item.parent.getChildren(),n)||s.push(t.item)}for(const e of s){const t={src:o(e)};e.hasAttribute("alt")&&(t.alt=e.getAttribute("alt"));const r=n.createElement("img",t);n.insertChild(e.index+1,r,e.parent)}function i(e,t){for(const n of e)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==t)return!0;if(i(n.getChildren(),t))return!0}return!1}function o(e){for(const t of e.getChildren())if(t.is("element")&&t.getAttribute("src"))return t.getAttribute("src")}}(r,e,n),function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n)"elementStart"==e.type&&r.match(e.item)&&i.push(e.item);for(const e of i)t.remove(e)}(e,n);const i=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:"img"}),i=[];for(const e of n)e.item.is("element")&&r.match(e.item)&&e.item.getAttribute("src").startsWith("file://")&&i.push(e.item);return i}(e,n);i.length&&function(e,t,n){if(e.length===t.length)for(let r=0;r<e.length;r++){const s=`data:${t[r].type};base64,${y(t[r].hex)}`;n.setAttribute("src",s,e[r])}}(i,function(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),r=e.match(n),s=[];if(r)for(const e of r){let n=!1;e.includes("\\pngblip")?n="image/png":e.includes("\\jpegblip")&&(n="image/jpeg"),n&&s.push({hex:e.replace(t,"").replace(/[^\da-fA-F]/g,""),type:n})}return s}(t),n)}function y(e){return btoa(e.match(/\w{2}/g).map((e=>String.fromCharCode(parseInt(e,16)))).join(""))}const b=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,v=/xmlns:o="urn:schemas-microsoft-com/i;class x{constructor(e,t=!1){this.document=e,this.hasMultiLevelListPlugin=t}isActive(e){return b.test(e)||v.test(e)}execute(e){const{body:t,stylesString:n}=e._parsedData;l(t,n,this.hasMultiLevelListPlugin),h(t,e.dataTransfer.getData("text/rtf")),function(e){const t=[],n=new s.UpcastWriter(e.document);for(const{item:r}of n.createRangeIn(e))if(r.is("element")){for(const e of r.getClassNames())/\bmso/gi.exec(e)&&n.removeClass(e,r);for(const e of r.getStyleNames())/\bmso/gi.exec(e)&&n.removeStyle(e,r);(r.is("element","w:sdt")||r.is("element","w:sdtpr")&&r.isEmpty||r.is("element","o:p")&&r.isEmpty)&&t.push(r)}for(const e of t){const t=e.parent,r=t.getChildIndex(e);n.insertChild(r,e.getChildren(),t),n.remove(e)}}(t),e.content=t}}function w(e,t,n,{blockElements:r,inlineObjectElements:s}){let i=n.createPositionAt(e,"forward"==t?"after":"before");return i=i.getLastMatchingPosition((({item:e})=>e.is("element")&&!r.includes(e.name)&&!s.includes(e.name)),{direction:t}),"forward"==t?i.nodeAfter:i.nodeBefore}function C(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const S=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class A{constructor(e){this.document=e}isActive(e){return S.test(e)}execute(e){const t=new s.UpcastWriter(this.document),{body:n}=e._parsedData;!function(e,t){for(const n of e.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const r=e.getChildIndex(n);t.remove(n),t.insertChild(r,n.getChildren(),e)}}(n,t),function(e,t){for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","li")){const n=e.getChild(0);n&&n.is("element","p")&&t.unwrapElement(n)}}}(n,t),function(e,t){const n=new s.ViewDocument(t.document.stylesProcessor),r=new s.DomConverter(n,{renderingMode:"data"}),i=r.blockElements,o=r.inlineObjectElements,l=[];for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","br")){const n=w(e,"forward",t,{blockElements:i,inlineObjectElements:o}),r=w(e,"backward",t,{blockElements:i,inlineObjectElements:o}),s=C(n,i);(C(r,i)||s)&&l.push(e)}}for(const e of l)e.hasClass("Apple-interchange-newline")?t.remove(e):t.replace(e,t.createElement("p"))}(n,t),e.content=n}}const E=/<google-sheets-html-origin/i;class I{constructor(e){this.document=e}isActive(e){return E.test(e)}execute(e){const t=new s.UpcastWriter(this.document),{body:n}=e._parsedData;!function(e,t){for(const n of e.getChildren())if(n.is("element","google-sheets-html-origin")){const r=e.getChildIndex(n);t.remove(n),t.insertChild(r,n.getChildren(),e)}}(n,t),function(e,t){for(const n of e.getChildren())n.is("element","table")&&n.hasAttribute("xmlns")&&t.removeAttribute("xmlns",n)}(n,t),function(e,t){for(const n of e.getChildren())n.is("element","table")&&"0px"===n.getStyle("width")&&t.removeStyle("width",n)}(n,t),function(e,t){for(const n of Array.from(e.getChildren()))n.is("element","style")&&t.remove(n)}(n,t),e.content=n}}function L(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,((e,t)=>1===t.length?" ":Array(t.length+1).join(" ").substr(0,t.length)))}function M(e,t){const n=new DOMParser,r=function(e){return L(L(e)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(e){const t="</body>",n="</html>",r=e.indexOf(t);if(r<0)return e;const s=e.indexOf(n,r+t.length);return e.substring(0,r+t.length)+(s>=0?e.substring(s):"")}(e=(e=e.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,""))),i=n.parseFromString(r,"text/html");!function(e){e.querySelectorAll("span[style*=spacerun]").forEach((e=>{const t=e,n=t.innerText.length||0;t.innerText=Array(n+1).join(" ").substr(0,n)}))}(i);const o=i.body.innerHTML,l=function(e,t){const n=new s.ViewDocument(t),r=new s.DomConverter(n,{renderingMode:"data"}),i=e.createDocumentFragment(),o=e.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return r.domToView(i,{skipComments:!0})}(i,t),c=function(e){const t=[],n=[],r=Array.from(e.getElementsByTagName("style"));for(const e of r)e.sheet&&e.sheet.cssRules&&e.sheet.cssRules.length&&(t.push(e.sheet),n.push(e.innerHTML));return{styles:t,stylesString:n.join(" ")}}(i);return{body:l,bodyString:o,styles:c.styles,stylesString:c.stylesString}}class P extends e.Plugin{static get pluginName(){return"PasteFromOffice"}static get requires(){return[t.ClipboardPipeline]}init(){const e=this.editor,t=e.plugins.get("ClipboardPipeline"),n=e.editing.view.document,r=[],s=this.editor.plugins.has("MultiLevelList");r.push(new x(n,s)),r.push(new A(n)),r.push(new I(n)),t.on("inputTransformation",((t,s)=>{if(s._isTransformedWithPasteFromOffice)return;if(e.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const i=s.dataTransfer.getData("text/html"),o=r.find((e=>e.isActive(i)));o&&(s._parsedData||(s._parsedData=M(i,n.stylesProcessor)),o.execute(s),s._isTransformedWithPasteFromOffice=!0)}),{priority:"high"})}}})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOffice=r})(); \ No newline at end of file + */(()=>{var e={331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{MSWordNormalizer:()=>x,PasteFromOffice:()=>M,parseHtml:()=>P});var e=n(782),t=n(331),s=n(783);function i(e){return void 0!==e&&e.endsWith("px")}function o(e){return e.toFixed(2).replace(/\.?0+$/,"")+"px"}function l(e,t,n){if(!e.childCount)return;const r=new s.UpcastWriter(e.document),l=function(e,t){const n=t.createRangeIn(e),r=[],s=new Set;for(const e of n.getItems()){if(!e.is("element")||!e.name.match(/^(p|h\d+|li|div)$/))continue;let t=g(e);if(void 0===t||0!=parseFloat(t)||Array.from(e.getClassNames()).find((e=>e.startsWith("MsoList")))||(t=void 0),e.hasStyle("mso-list")||void 0!==t&&s.has(t)){const n=f(e);r.push({element:e,id:n.id,order:n.order,indent:n.indent,marginLeft:t}),void 0!==t&&s.add(t)}else s.clear()}return r}(e,r);if(!l.length)return;const a={},u=[];for(const e of l)if(void 0!==e.indent){c(e)||(u.length=0);const s=`${e.id}:${e.indent}`,l=Math.min(e.indent-1,u.length);if(l<u.length&&u[l].id!==e.id&&(u.length=l),l<u.length-1)u.length=l+1;else{const c=m(e,t);if(l>u.length-1||u[l].listElement.name!=c.type){0==l&&"ol"==c.type&&void 0!==e.id&&a[s]&&(c.startIndex=a[s]);const t=d(c,r,n);if(i(e.marginLeft)&&(0==l||i(u[l-1].marginLeft))){let n=e.marginLeft;l>0&&(n=o(parseFloat(n)-parseFloat(u[l-1].marginLeft))),r.setStyle("padding-left",n,t)}if(0==u.length){const n=e.element.parent,s=n.getChildIndex(e.element)+1;r.insertChild(s,t,n)}else{const e=u[l-1].listItemElements;r.appendChild(t,e[e.length-1])}u[l]={...e,listElement:t,listItemElements:[]},0==l&&void 0!==e.id&&(a[s]=c.startIndex||1)}}const f="li"==e.element.name?e.element:r.createElement("li");r.appendChild(f,u[l].listElement),u[l].listItemElements.push(f),0==l&&void 0!==e.id&&a[s]++,e.element!=f&&r.appendChild(e.element,f),p(e.element,r),r.removeStyle("text-indent",e.element),r.removeStyle("margin-left",e.element)}else{const t=u.find((t=>t.marginLeft==e.marginLeft));if(t){const n=t.listItemElements;r.appendChild(e.element,n[n.length-1]),r.removeStyle("margin-left",e.element)}else u.length=0}}function c(e){const t=e.element.previousSibling;return a(t||e.element.parent)}function a(e){return e.is("element","ol")||e.is("element","ul")}function m(e,t){const n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${e.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${e.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),l=i.exec(t),c=o.exec(t),a=l&&!c,m=n.exec(t);let d="decimal",f="ol",p=null;if(m&&m[1]){const t=r.exec(m[1]);if(t&&t[1]&&(d=t[1].trim(),f="bullet"!==d&&"image"!==d?"ol":"ul"),"bullet"===d){const t=function(e){if("li"==e.name&&"ul"==e.parent.name&&e.parent.hasAttribute("type"))return e.parent.getAttribute("type");const t=function(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const e=t.getChild(0);if(e)return e.is("$text")?e:e.getChild(0)}return null}(e);if(!t)return null;const n=t._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(e.element);t&&(d=t)}else{const e=s.exec(m[1]);e&&e[1]&&(p=parseInt(e[1]))}a&&(f="ol")}return{type:f,startIndex:p,style:u(d),isLegalStyleList:a}}function u(e){if(e.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(e){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return e;default:return null}}function d(e,t,n){const r=t.createElement(e.type);return e.style&&t.setStyle("list-style-type",e.style,r),e.startIndex&&e.startIndex>1&&t.setAttribute("start",e.startIndex,r),e.isLegalStyleList&&n&&t.addClass("legal-list",r),r}function f(e){const t=e.getStyle("mso-list");if(void 0===t)return{};const n=t.match(/(^|\s{1,100})l(\d+)/i),r=t.match(/\s{0,100}lfo(\d+)/i),s=t.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function p(e,t){const n=new s.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),r=t.createRangeIn(e);for(const e of r)"elementStart"===e.type&&n.match(e.item)&&t.remove(e.item)}function g(e){const t=e.getStyle("margin-left");return void 0===t||t.endsWith("px")?t:function(e){const t=parseFloat(e);return e.endsWith("pt")?o(96*t/72):e.endsWith("pc")?o(12*t*96/72):e.endsWith("in")?o(96*t):e.endsWith("cm")?o(96*t/2.54):e.endsWith("mm")?o(t/10*96/2.54):e}(t)}function h(e,t){if(!e.childCount)return;const n=new s.UpcastWriter(e.document),r=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n){if("elementStart"!=e.type)continue;const t=e.item,n=t.previousSibling,s=n&&n.is("element")?n.name:null,o=["Chart"],l=r.match(t),c=t.getAttribute("o:gfxdata"),a="v:shapetype"===s,m=c&&o.some((e=>t.getAttribute("id").includes(e)));l&&c&&!a&&!m&&i.push(e.item.getAttribute("id"))}return i}(e,n);!function(e,t,n){const r=n.createRangeIn(t),i=new s.Matcher({name:"img"}),o=[];for(const t of r)if(t.item.is("element")&&i.match(t.item)){const n=t.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every((t=>e.indexOf(t)>-1))?o.push(n):n.getAttribute("src")||o.push(n)}for(const e of o)n.remove(e)}(r,e,n),function(e,t,n){const r=n.createRangeIn(t),s=[];for(const t of r)if("elementStart"==t.type&&t.item.is("element","v:shape")){const n=t.item.getAttribute("id");if(e.includes(n))continue;i(t.item.parent.getChildren(),n)||s.push(t.item)}for(const e of s){const t={src:o(e)};e.hasAttribute("alt")&&(t.alt=e.getAttribute("alt"));const r=n.createElement("img",t);n.insertChild(e.index+1,r,e.parent)}function i(e,t){for(const n of e)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==t)return!0;if(i(n.getChildren(),t))return!0}return!1}function o(e){for(const t of e.getChildren())if(t.is("element")&&t.getAttribute("src"))return t.getAttribute("src")}}(r,e,n),function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n)"elementStart"==e.type&&r.match(e.item)&&i.push(e.item);for(const e of i)t.remove(e)}(e,n);const i=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:"img"}),i=[];for(const e of n)e.item.is("element")&&r.match(e.item)&&e.item.getAttribute("src").startsWith("file://")&&i.push(e.item);return i}(e,n);i.length&&function(e,t,n){if(e.length===t.length)for(let r=0;r<e.length;r++){const s=`data:${t[r].type};base64,${y(t[r].hex)}`;n.setAttribute("src",s,e[r])}}(i,function(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),r=e.match(n),s=[];if(r)for(const e of r){let n=!1;e.includes("\\pngblip")?n="image/png":e.includes("\\jpegblip")&&(n="image/jpeg"),n&&s.push({hex:e.replace(t,"").replace(/[^\da-fA-F]/g,""),type:n})}return s}(t),n)}function y(e){return btoa(e.match(/\w{2}/g).map((e=>String.fromCharCode(parseInt(e,16)))).join(""))}const b=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,v=/xmlns:o="urn:schemas-microsoft-com/i;class x{constructor(e,t=!1){this.document=e,this.hasMultiLevelListPlugin=t}isActive(e){return b.test(e)||v.test(e)}execute(e){const{body:t,stylesString:n}=e._parsedData;l(t,n,this.hasMultiLevelListPlugin),h(t,e.dataTransfer.getData("text/rtf")),function(e){const t=[],n=new s.UpcastWriter(e.document);for(const{item:r}of n.createRangeIn(e))if(r.is("element")){for(const e of r.getClassNames())/\bmso/gi.exec(e)&&n.removeClass(e,r);for(const e of r.getStyleNames())/\bmso/gi.exec(e)&&n.removeStyle(e,r);(r.is("element","w:sdt")||r.is("element","w:sdtpr")&&r.isEmpty||r.is("element","o:p")&&r.isEmpty)&&t.push(r)}for(const e of t){const t=e.parent,r=t.getChildIndex(e);n.insertChild(r,e.getChildren(),t),n.remove(e)}}(t),e.content=t}}function w(e,t,n,{blockElements:r,inlineObjectElements:s}){let i=n.createPositionAt(e,"forward"==t?"after":"before");return i=i.getLastMatchingPosition((({item:e})=>e.is("element")&&!r.includes(e.name)&&!s.includes(e.name)),{direction:t}),"forward"==t?i.nodeAfter:i.nodeBefore}function C(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const S=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class A{constructor(e){this.document=e}isActive(e){return S.test(e)}execute(e){const t=new s.UpcastWriter(this.document),{body:n}=e._parsedData;!function(e,t){for(const n of e.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const r=e.getChildIndex(n);t.remove(n),t.insertChild(r,n.getChildren(),e)}}(n,t),function(e,t){for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","li")){const n=e.getChild(0);n&&n.is("element","p")&&t.unwrapElement(n)}}}(n,t),function(e,t){const n=new s.ViewDocument(t.document.stylesProcessor),r=new s.DomConverter(n,{renderingMode:"data"}),i=r.blockElements,o=r.inlineObjectElements,l=[];for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","br")){const n=w(e,"forward",t,{blockElements:i,inlineObjectElements:o}),r=w(e,"backward",t,{blockElements:i,inlineObjectElements:o}),s=C(n,i);(C(r,i)||s)&&l.push(e)}}for(const e of l)e.hasClass("Apple-interchange-newline")?t.remove(e):t.replace(e,t.createElement("p"))}(n,t),e.content=n}}const E=/<google-sheets-html-origin/i;class I{constructor(e){this.document=e}isActive(e){return E.test(e)}execute(e){const t=new s.UpcastWriter(this.document),{body:n}=e._parsedData;!function(e,t){for(const n of e.getChildren())if(n.is("element","google-sheets-html-origin")){const r=e.getChildIndex(n);t.remove(n),t.insertChild(r,n.getChildren(),e)}}(n,t),function(e,t){for(const n of e.getChildren())n.is("element","table")&&n.hasAttribute("xmlns")&&t.removeAttribute("xmlns",n)}(n,t),function(e,t){for(const n of e.getChildren())n.is("element","table")&&"0px"===n.getStyle("width")&&t.removeStyle("width",n)}(n,t),function(e,t){for(const n of Array.from(e.getChildren()))n.is("element","style")&&t.remove(n)}(n,t),e.content=n}}function L(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,((e,t)=>1===t.length?" ":Array(t.length+1).join(" ").substr(0,t.length)))}function P(e,t){const n=new DOMParser,r=function(e){return L(L(e)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(e){const t="</body>",n="</html>",r=e.indexOf(t);if(r<0)return e;const s=e.indexOf(n,r+t.length);return e.substring(0,r+t.length)+(s>=0?e.substring(s):"")}(e=(e=e.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,""))),i=n.parseFromString(r,"text/html");!function(e){e.querySelectorAll("span[style*=spacerun]").forEach((e=>{const t=e,n=t.innerText.length||0;t.innerText=Array(n+1).join(" ").substr(0,n)}))}(i);const o=i.body.innerHTML,l=function(e,t){const n=new s.ViewDocument(t),r=new s.DomConverter(n,{renderingMode:"data"}),i=e.createDocumentFragment(),o=e.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return r.domToView(i,{skipComments:!0})}(i,t),c=function(e){const t=[],n=[],r=Array.from(e.getElementsByTagName("style"));for(const e of r)e.sheet&&e.sheet.cssRules&&e.sheet.cssRules.length&&(t.push(e.sheet),n.push(e.innerHTML));return{styles:t,stylesString:n.join(" ")}}(i);return{body:l,bodyString:o,styles:c.styles,stylesString:c.stylesString}}class M extends e.Plugin{static get pluginName(){return"PasteFromOffice"}static get isOfficialPlugin(){return!0}static get requires(){return[t.ClipboardPipeline]}init(){const e=this.editor,t=e.plugins.get("ClipboardPipeline"),n=e.editing.view.document,r=[],s=this.editor.plugins.has("MultiLevelList");r.push(new x(n,s)),r.push(new A(n)),r.push(new I(n)),t.on("inputTransformation",((t,s)=>{if(s._isTransformedWithPasteFromOffice)return;if(e.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const i=s.dataTransfer.getData("text/html"),o=r.find((e=>e.isActive(i)));o&&(s._parsedData||(s._parsedData=P(i,n.stylesProcessor)),o.execute(s),s._isTransformedWithPasteFromOffice=!0)}),{priority:"high"})}}})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOffice=r})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/remove-format/remove-format.js b/core/assets/vendor/ckeditor5/remove-format/remove-format.js index 31510fcb44e7754e29d95347936c25181816e01d..1a3bd3da2ea1b09c5f70e70b54e5d570fa11c3f5 100644 --- a/core/assets/vendor/ckeditor5/remove-format/remove-format.js +++ b/core/assets/vendor/ckeditor5/remove-format/remove-format.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={exports:{}};return t[r](s,s.exports,o),s.exports}o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";o.r(r),o.d(r,{RemoveFormat:()=>m,RemoveFormatEditing:()=>c,RemoveFormatUI:()=>s});var t=o(782),e=o(311);const i="removeFormat";class s extends t.Plugin{static get pluginName(){return"RemoveFormatUI"}init(){const t=this.editor;t.ui.componentFactory.add(i,(()=>{const t=this._createButton(e.ButtonView);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add(`menuBar:${i}`,(()=>this._createButton(e.MenuBarMenuListItemButtonView)))}_createButton(t){const e=this.editor,o=e.locale,r=e.commands.get(i),s=new t(e.locale),n=o.t;return s.set({label:n("Remove Format"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.69 14.915c.053.052.173.083.36.093a.366.366 0 0 1 .345.485l-.003.01a.738.738 0 0 1-.697.497h-2.67a.374.374 0 0 1-.353-.496l.013-.038a.681.681 0 0 1 .644-.458c.197-.012.325-.043.386-.093a.28.28 0 0 0 .072-.11L9.592 4.5H6.269c-.359-.017-.609.013-.75.09-.142.078-.289.265-.442.563-.192.29-.516.464-.864.464H4.17a.43.43 0 0 1-.407-.569L4.46 3h13.08l-.62 2.043a.81.81 0 0 1-.775.574h-.114a.486.486 0 0 1-.486-.486c.001-.284-.054-.464-.167-.54-.112-.076-.367-.106-.766-.091h-3.28l-2.68 10.257c-.006.074.007.127.038.158zM3 17h8a.5.5 0 1 1 0 1H3a.5.5 0 1 1 0-1zm11.299 1.17a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.06-1.06l1.415 1.414 1.414-1.415a.75.75 0 1 1 1.06 1.06l-1.413 1.415 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414-1.414 1.414z"/></svg>'}),s.bind("isEnabled").to(r,"isEnabled"),this.listenTo(s,"execute",(()=>{e.execute(i),e.editing.view.focus()})),s}}var n=o(584);class a extends t.Command{refresh(){const t=this.editor.model;this.isEnabled=!!(0,n.first)(this._getFormattingItems(t.document.selection,t.schema))}execute(){const t=this.editor.model,e=t.schema;t.change((o=>{for(const r of this._getFormattingItems(t.document.selection,e))if(r.is("selection"))for(const t of this._getFormattingAttributes(r,e))o.removeSelectionAttribute(t);else{const t=o.createRangeOn(r);for(const i of this._getFormattingAttributes(r,e))o.removeAttribute(i,t)}}))}*_getFormattingItems(t,e){const o=t=>!!(0,n.first)(this._getFormattingAttributes(t,e));for(const r of t.getRanges())for(const t of r.getItems())!e.isBlock(t)&&o(t)&&(yield t);for(const e of t.getSelectedBlocks())o(e)&&(yield e);o(t)&&(yield t)}*_getFormattingAttributes(t,e){for(const[o]of t.getAttributes()){const t=e.getAttributeProperties(o);t&&t.isFormatting&&(yield o)}}}class c extends t.Plugin{static get pluginName(){return"RemoveFormatEditing"}init(){const t=this.editor;t.commands.add("removeFormat",new a(t))}}class m extends t.Plugin{static get requires(){return[c,s]}static get pluginName(){return"RemoveFormat"}}})(),(window.CKEditor5=window.CKEditor5||{}).removeFormat=r})(); \ No newline at end of file + */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},311:(t,e,o)=>{t.exports=o(237)("./src/ui.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var r=e[i];if(void 0!==r)return r.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,o),s.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{RemoveFormat:()=>l,RemoveFormatEditing:()=>c,RemoveFormatUI:()=>s});var t=o(782),e=o(311);const r="removeFormat";class s extends t.Plugin{static get pluginName(){return"RemoveFormatUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.ui.componentFactory.add(r,(()=>{const t=this._createButton(e.ButtonView);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add(`menuBar:${r}`,(()=>this._createButton(e.MenuBarMenuListItemButtonView)))}_createButton(t){const e=this.editor,o=e.locale,i=e.commands.get(r),s=new t(e.locale),n=o.t;return s.set({label:n("Remove Format"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.69 14.915c.053.052.173.083.36.093a.366.366 0 0 1 .345.485l-.003.01a.738.738 0 0 1-.697.497h-2.67a.374.374 0 0 1-.353-.496l.013-.038a.681.681 0 0 1 .644-.458c.197-.012.325-.043.386-.093a.28.28 0 0 0 .072-.11L9.592 4.5H6.269c-.359-.017-.609.013-.75.09-.142.078-.289.265-.442.563-.192.29-.516.464-.864.464H4.17a.43.43 0 0 1-.407-.569L4.46 3h13.08l-.62 2.043a.81.81 0 0 1-.775.574h-.114a.486.486 0 0 1-.486-.486c.001-.284-.054-.464-.167-.54-.112-.076-.367-.106-.766-.091h-3.28l-2.68 10.257c-.006.074.007.127.038.158zM3 17h8a.5.5 0 1 1 0 1H3a.5.5 0 1 1 0-1zm11.299 1.17a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.06-1.06l1.415 1.414 1.414-1.415a.75.75 0 1 1 1.06 1.06l-1.413 1.415 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414-1.414 1.414z"/></svg>'}),s.bind("isEnabled").to(i,"isEnabled"),this.listenTo(s,"execute",(()=>{e.execute(r),e.editing.view.focus()})),s}}var n=o(584);class a extends t.Command{refresh(){const t=this.editor.model;this.isEnabled=!!(0,n.first)(this._getFormattingItems(t.document.selection,t.schema))}execute(){const t=this.editor.model,e=t.schema;t.change((o=>{for(const i of this._getFormattingItems(t.document.selection,e))if(i.is("selection"))for(const t of this._getFormattingAttributes(i,e))o.removeSelectionAttribute(t);else{const t=o.createRangeOn(i);for(const r of this._getFormattingAttributes(i,e))o.removeAttribute(r,t)}}))}*_getFormattingItems(t,e){const o=t=>!!(0,n.first)(this._getFormattingAttributes(t,e));for(const i of t.getRanges())for(const t of i.getItems())!e.isBlock(t)&&o(t)&&(yield t);for(const e of t.getSelectedBlocks())o(e)&&(yield e);o(t)&&(yield t)}*_getFormattingAttributes(t,e){for(const[o]of t.getAttributes()){const t=e.getAttributeProperties(o);t&&t.isFormatting&&(yield o)}}}class c extends t.Plugin{static get pluginName(){return"RemoveFormatEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.commands.add("removeFormat",new a(t))}}class l extends t.Plugin{static get requires(){return[c,s]}static get pluginName(){return"RemoveFormat"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).removeFormat=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/restricted-editing/restricted-editing.js b/core/assets/vendor/ckeditor5/restricted-editing/restricted-editing.js index 8489deb265ae1428a816e87acd8e8a7410d54795..4ff7c6f28ac18c6519a61444a55403e997124198 100644 --- a/core/assets/vendor/ckeditor5/restricted-editing/restricted-editing.js +++ b/core/assets/vendor/ckeditor5/restricted-editing/restricted-editing.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={588:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(935),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,":root{--ck-color-restricted-editing-exception-background:rgba(255,169,77,.2);--ck-color-restricted-editing-exception-hover-background:rgba(255,169,77,.35);--ck-color-restricted-editing-exception-brackets:rgba(204,105,0,.4);--ck-color-restricted-editing-selected-exception-background:rgba(255,169,77,.5);--ck-color-restricted-editing-selected-exception-brackets:rgba(204,105,0,.6)}.ck-editor__editable .restricted-editing-exception{background-color:var(--ck-color-restricted-editing-exception-background);border:1px solid;border-image:linear-gradient(to right,var(--ck-color-restricted-editing-exception-brackets) 0,var(--ck-color-restricted-editing-exception-brackets) 5px,transparent 6px,transparent calc(100% - 6px),var(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),var(--ck-color-restricted-editing-exception-brackets) 100%) 1;transition:background .2s ease-in-out}@media (prefers-reduced-motion:reduce){.ck-editor__editable .restricted-editing-exception{transition:none}}.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected{background-color:var(--ck-color-restricted-editing-selected-exception-background);border-image:linear-gradient(to right,var(--ck-color-restricted-editing-selected-exception-brackets) 0,var(--ck-color-restricted-editing-selected-exception-brackets) 5px,var(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),var(--ck-color-restricted-editing-selected-exception-brackets) 100%) 1}.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_collapsed{padding-left:1ch}.ck-restricted-editing_mode_restricted,.ck-restricted-editing_mode_restricted *{cursor:default}.ck-restricted-editing_mode_restricted .restricted-editing-exception,.ck-restricted-editing_mode_restricted .restricted-editing-exception *{cursor:text}.ck-restricted-editing_mode_restricted .restricted-editing-exception:hover{background:var(--ck-color-restricted-editing-exception-hover-background)}",""]);const o=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},591:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),s=[];function a(e){for(var t=-1,i=0;i<s.length;i++)if(s[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var o=e[r],c=t.base?o[0]+t.base:o[0],d=i[c]||0,l="".concat(c," ").concat(d);i[c]=d+1;var g=a(l),u={css:o[1],media:o[2],sourceMap:o[3]};-1!==g?(s[g].references++,s[g].updater(u)):s.push({identifier:l,updater:f(u,t),references:1}),n.push(l)}return n}function d(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,g=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function u(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function m(e,t,i){var n=i.css,r=i.media,o=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,h=0;function f(e,t){var i,n,r;if(t.singleton){var o=h++;i=p||(p=d(t)),n=u.bind(null,i,o,!1),r=u.bind(null,i,o,!0)}else i=d(t),n=m.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);s[r].references--}for(var o=c(e,t),d=0;d<i.length;d++){var l=a(i[d]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}i=o}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{RestrictedEditingMode:()=>_,RestrictedEditingModeEditing:()=>u,RestrictedEditingModeUI:()=>v,StandardEditingMode:()=>T,StandardEditingModeEditing:()=>C,StandardEditingModeUI:()=>R});var e=i(782);class t extends e.Command{constructor(e,t){super(e),this.affectsData=!1,this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=r(this.editor.model,this._direction);e&&this.editor.model.change((t=>{t.setSelection(e)}))}_checkEnabled(){return!!r(this.editor.model,this._direction)}}function r(e,t){const i=e.document.selection.getFirstPosition(),n=[];for(const r of e.markers.getMarkersGroup("restrictedEditingException")){const e=r.getRange(),o=i.isTouching(e.start)&&i.hasSameParentAs(e.start)||i.isTouching(e.end)&&i.hasSameParentAs(e.end);e.containsPosition(i)||o||("forward"===t&&e.start.isAfter(i)||"backward"===t&&e.end.isBefore(i))&&n.push(e)}if(n.length)return n.sort(((e,i)=>"forward"===t?e.start.isAfter(i.start)?1:-1:e.start.isBefore(i.start)?1:-1)).shift()}var o=i(783);function s(e,t){for(const i of e.model.markers){if(a(i.getRange(),t)&&i.name.startsWith("restrictedEditingException:"))return i}}function a(e,t){return e.containsPosition(t)||e.end.isEqual(t)||e.start.isEqual(t)}const c="restricted-editing-exception_selected";function d(e,t,i,n){const r=s(e,t.getShiftedBy(i));return!(!r||!r.getStart().isEqual(t.getShiftedBy(i)))&&(n.updateMarker(r,{range:n.createRange(r.getStart().getShiftedBy(-i),r.getEnd())}),!0)}function l(e,t,i,n){const r=s(e,t);return!(!r||!r.getEnd().isEqual(t))&&(n.updateMarker(r,{range:n.createRange(r.getStart(),r.getEnd().getShiftedBy(i))}),!0)}const g="RestrictedEditingMode";class u extends e.Plugin{static get pluginName(){return"RestrictedEditingModeEditing"}constructor(e){super(e),e.config.define("restrictedEditing",{allowedCommands:["bold","italic","link","unlink"],allowedAttributes:["bold","italic","linkHref"]}),this._alwaysEnabled=new Set(["undo","redo"]),this._allowedInException=new Set(["input","insertText","delete","deleteForward"])}init(){const e=this.editor,i=e.editing.view;e.config.get("restrictedEditing.allowedCommands").forEach((e=>this._allowedInException.add(e))),this._setupConversion(),this._setupCommandsToggling(),this._setupRestrictions(),e.commands.add("goToPreviousRestrictedEditingException",new t(e,"backward")),e.commands.add("goToNextRestrictedEditingException",new t(e,"forward")),this.listenTo(i.document,"tab",((t,i)=>{const n=i.shiftKey?"goToPreviousRestrictedEditingException":"goToNextRestrictedEditingException";e.commands.get(n).isEnabled&&(e.execute(n),i.preventDefault(),i.stopPropagation()),t.stop()}),{context:"$capture"}),e.keystrokes.set("Ctrl+A",function(e){return(t,i)=>{const n=e.model,r=e.model.document.selection,o=s(e,r.focus);if(!o)return;const a=r.getFirstRange();(o.getRange().containsRange(a,!0)||r.isCollapsed)&&(i(),n.change((e=>{e.setSelection(o.getRange())})))}}(e)),i.change((e=>{for(const t of i.document.roots)e.addClass("ck-restricted-editing_mode_restricted",t)}))}enableCommand(e){this.editor.commands.get(e).clearForceDisabled(g),this._alwaysEnabled.add(e)}_setupConversion(){const e=this.editor,t=e.model.document;let i=0;var n;e.conversion.for("upcast").add((n={view:{name:"span",classes:"restricted-editing-exception"},model:()=>(i++,`restrictedEditingException:${i}`)},e=>e.on("element:span",((e,t,i)=>{const{writer:r}=i,s=new o.Matcher(n.view).match(t.viewItem);if(!s)return;const a=s.match;a.name=!0;const{modelRange:c}=i.convertChildren(t.viewItem,t.modelCursor);i.consumable.consume(t.viewItem,a);const d=n.model(),l=r.createElement("$marker",{"data-name":d}),g=r.createElement("$marker",{"data-name":d});r.insert(g,c.end),r.insert(l,c.start),t.modelRange=r.createRange(r.createPositionBefore(l),r.createPositionAfter(g)),t.modelCursor=t.modelRange.end})))),e.conversion.for("downcast").add((e=>{e.on("addMarker:restrictedEditingException",((e,t,i)=>{if(!t.item)return;if(t.item.is("selection")||!i.schema.isInline(t.item))return;if(!i.consumable.consume(t.item,e.name))return;const n=i.writer,r=n.createAttributeElement("span",{class:"restricted-editing-exception"},{id:t.markerName,priority:-10}),o=i.mapper.toViewRange(t.range),s=n.wrap(o,r);for(const e of s.getItems())if(e.is("attributeElement")&&e.isSimilar(r)){i.mapper.bindElementToMarker(e,t.markerName);break}}))})),e.conversion.for("downcast").markerToHighlight({model:"restrictedEditingException",view:()=>({name:"span",classes:"restricted-editing-exception",priority:-10})}),e.conversion.for("editingDowncast").markerToElement({model:"restrictedEditingException",view:(e,{writer:t})=>t.createUIElement("span",{class:"restricted-editing-exception restricted-editing-exception_collapsed"})}),e.conversion.for("dataDowncast").markerToElement({model:"restrictedEditingException",view:(e,{writer:t})=>t.createEmptyElement("span",{class:"restricted-editing-exception"})}),t.registerPostFixer(function(e){return t=>{let i=!1;const n=e.model.schema;for(const r of e.model.document.differ.getChanges())"insert"==r.type&&n.checkChild("$block",r.name)&&(i=d(e,r.position,r.length,t)||i,i=l(e,r.position,r.length,t)||i);return i}}(e)),t.registerPostFixer(function(e){return t=>{let i=!1;for(const{name:n,data:r}of e.model.document.differ.getChangedMarkers())n.startsWith("restrictedEditingException")&&r.newRange&&"$graveyard"==r.newRange.root.rootName&&(t.updateMarker(n,{range:t.createRange(t.createPositionAt(r.oldRange.start))}),i=!0);return i}}(e)),t.registerPostFixer(function(e){return t=>{let i=!1;const n=e.model.document.differ.getChangedMarkers();for(const{data:e,name:r}of n){if(!r.startsWith("restrictedEditingException"))continue;const n=e.newRange;if(!e.oldRange&&!n.isFlat){const e=n.start,o=n.end,s=e.path.length>o.path.length,a=s?n.start:t.createPositionAt(o.parent,0),c=s?t.createPositionAt(e.parent,"end"):n.end;t.updateMarker(r,{range:t.createRange(a,c)}),i=!0}}return i}}(e)),function(e){const t=e.editing.view,i=e.model,n=new Set;t.document.registerPostFixer((t=>{const r=i.document.selection,o=s(e,r.anchor);if(!o)return!1;for(const i of e.editing.mapper.markerNameToElements(o.name))t.addClass(c,i),n.add(i);return!1})),e.conversion.for("editingDowncast").add((e=>{function i(){t.change((e=>{for(const t of n.values())e.removeClass(c,t),n.delete(t)}))}e.on("insert",i,{priority:"highest"}),e.on("remove",i,{priority:"highest"}),e.on("attribute",i,{priority:"highest"}),e.on("cleanSelection",i)}))}(e)}_setupRestrictions(){const e=this.editor,t=e.model,i=t.document.selection,n=e.editing.view.document,r=e.plugins.get("ClipboardPipeline");this.listenTo(t,"deleteContent",function(e){return(t,i)=>{const[n]=i,r=s(e,n.focus)||s(e,n.anchor);if(!r)return void t.stop();if(n.isCollapsed)return;const o=r.getRange().getIntersection(n.getFirstRange());n.is("documentSelection")?e.model.change((e=>{e.setSelection(o)})):n.setTo(o)}}(e),{priority:"high"});const o=e.commands.get("insertText");o&&this.listenTo(o,"execute",function(e){return(t,i)=>{const[n]=i,{range:r}=n;r&&(p(e,r)||t.stop())}}(e),{priority:"high"}),this.listenTo(r,"contentInsertion",(t=>{p(e,i.getFirstRange())||t.stop()})),this.listenTo(n,"clipboardOutput",((t,n)=>{"cut"!=n.method||p(e,i.getFirstRange())||t.stop()}),{priority:"high"});const a=e.config.get("restrictedEditing.allowedAttributes");t.schema.addAttributeCheck(function(e){return(t,i)=>{if(t.startsWith("$clipboardHolder"))return e.includes(i)}}(a)),t.schema.addChildCheck(((e,t)=>{if(e.startsWith("$clipboardHolder"))return"$text"===t.name}))}_setupCommandsToggling(){const e=this.editor.model.document;this._disableCommands(),this.listenTo(e.selection,"change",this._checkCommands.bind(this)),this.listenTo(e,"change:data",this._checkCommands.bind(this))}_checkCommands(){const e=this.editor,t=e.model.document.selection;if(t.rangeCount>1)return void this._disableCommands();const i=s(e,t.focus);this._disableCommands(),function(e,t){if(!t)return!1;const i=t.getRange();return e.isCollapsed?a(i,e.focus):i.containsRange(e.getFirstRange(),!0)}(t,i)&&this._enableCommands(i)}_enableCommands(e){const t=this.editor;for(const[i,n]of t.commands)n.affectsData&&!this._alwaysEnabled.has(i)&&this._allowedInException.has(i)&&(m(i,t.model.document.selection,e.getRange())||n.clearForceDisabled(g))}_disableCommands(){const e=this.editor;for(const[t,i]of e.commands)i.affectsData&&!this._alwaysEnabled.has(t)&&i.forceDisabled(g)}}function m(e,t,i){return!("delete"!=e||!i.start.isEqual(t.focus))||!("deleteForward"!=e||!t.isCollapsed||!i.end.isEqual(t.focus))}function p(e,t){const i=s(e,t.start),n=s(e,t.end);return i&&n&&n===i}var h=i(311),f=i(584);const b='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 6.5a3.5 3.5 0 0 1 3.495 3.308L19 10v2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-2l.005-.192A3.5 3.5 0 0 1 15.5 6.5zm0 7.5a.5.5 0 0 0-.492.41L15 14.5v2a.5.5 0 0 0 .992.09L16 16.5v-2a.5.5 0 0 0-.5-.5zm0-6a2 2 0 0 0-2 2v2h4v-2a2 2 0 0 0-2-2zm-9.25 8a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm0-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm3-5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h8.5zm6-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5z"/></svg>';class v extends e.Plugin{static get pluginName(){return"RestrictedEditingModeUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("restrictedEditing",(i=>{const n=(0,h.createDropdown)(i),r=new f.Collection;return this._getButtonDefinitions().forEach((({commandName:e,label:t,keystroke:i})=>{r.add(this._getButtonDefinition(e,t,i))})),(0,h.addListToDropdown)(n,r,{role:"menu"}),n.buttonView.set({label:t("Navigate editable regions"),icon:b,tooltip:!0,isEnabled:!0,isOn:!1}),this.listenTo(n,"execute",(t=>{const{_commandName:i}=t.source;e.execute(i),e.editing.view.focus()})),n})),e.ui.componentFactory.add("menuBar:restrictedEditing",(e=>{const i=new h.MenuBarMenuView(e),n=new h.MenuBarMenuListView(e);return n.set({ariaLabel:t("Navigate editable regions"),role:"menu"}),i.buttonView.set({label:t("Navigate editable regions"),icon:b}),i.panelView.children.add(n),this._getButtonDefinitions().forEach((({commandName:t,label:r,keystroke:o})=>{const s=new h.MenuBarMenuListItemView(e,i),a=this._createMenuBarButton(r,t,o);a.delegate("execute").to(i),s.children.add(a),n.items.add(s)})),i}))}_createMenuBarButton(e,t,i){const n=this.editor,r=n.commands.get(t),o=new h.MenuBarMenuListItemButtonView(n.locale);return o.set({label:e,keystroke:i,isEnabled:!0,isOn:!1}),o.bind("isEnabled").to(r),this.listenTo(o,"execute",(()=>{n.execute(t),n.editing.view.focus()})),o}_getButtonDefinition(e,t,i){const n=this.editor.commands.get(e),r={type:"button",model:new h.ViewModel({label:t,withText:!0,keystroke:i,withKeystroke:!0,role:"menuitem",_commandName:e})};return r.model.bind("isEnabled").to(n,"isEnabled"),r}_getButtonDefinitions(){const e=this.editor.locale.t;return[{commandName:"goToPreviousRestrictedEditingException",label:e("Previous editable region"),keystroke:"Shift+Tab"},{commandName:"goToNextRestrictedEditingException",label:e("Next editable region"),keystroke:"Tab"}]}}var E=i(591),x=i.n(E),w=i(588),k={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};x()(w.A,k);w.A.locals;class _ extends e.Plugin{static get pluginName(){return"RestrictedEditingMode"}static get requires(){return[u,v]}}class y extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=!!t.selection.getAttribute("restrictedEditingException"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"restrictedEditingException")}execute(e={}){const t=this.editor.model,i=t.document.selection,n=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{const r=t.schema.getValidRanges(i.getRanges(),"restrictedEditingException");if(i.isCollapsed)if(n)e.setSelectionAttribute("restrictedEditingException",n);else{const t=e=>e.item.getAttribute("restrictedEditingException")===this.value,n=i.focus,r=n.getLastMatchingPosition(t,{direction:"backward"}),o=n.getLastMatchingPosition(t);e.removeSelectionAttribute("restrictedEditingException"),n.isEqual(r)||n.isEqual(o)||e.removeAttribute("restrictedEditingException",e.createRange(r,o))}else for(const t of r)n?e.setAttribute("restrictedEditingException",n,t):e.removeAttribute("restrictedEditingException",t)}))}}class C extends e.Plugin{static get pluginName(){return"StandardEditingModeEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:["restrictedEditingException"]}),e.conversion.for("upcast").elementToAttribute({model:"restrictedEditingException",view:{name:"span",classes:"restricted-editing-exception"}}),e.conversion.for("downcast").attributeToElement({model:"restrictedEditingException",view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{class:"restricted-editing-exception"},{priority:-10})}}),e.commands.add("restrictedEditingException",new y(e)),e.editing.view.change((t=>{for(const i of e.editing.view.document.roots)t.addClass("ck-restricted-editing_mode_standard",i)}))}}class R extends e.Plugin{static get pluginName(){return"StandardEditingModeUI"}init(){const e=this.editor;e.ui.componentFactory.add("restrictedEditingException",(()=>{const e=this._createButton(h.ButtonView);return e.set({tooltip:!0,isToggleable:!0}),e})),e.ui.componentFactory.add("menuBar:restrictedEditingException",(()=>this._createButton(h.MenuBarMenuListItemButtonView)))}_createButton(e){const t=this.editor,i=t.locale,n=this.editor.commands.get("restrictedEditingException"),r=new e(i),o=i.t;return r.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.25 16a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm0-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm3-5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h8.5zm6-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5zm.25 5.5a3.5 3.5 0 0 1 3.143 1.959.75.75 0 0 1-1.36.636A2 2 0 0 0 13.5 10v2H19a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-2l.005-.192A3.5 3.5 0 0 1 15.5 6.5zm0 7.5a.5.5 0 0 0-.492.41L15 14.5v2a.5.5 0 0 0 .992.09L16 16.5v-2a.5.5 0 0 0-.5-.5z"/></svg>',r.bind("isOn","isEnabled").to(n,"value","isEnabled"),r.bind("label").to(n,"value",(e=>o(e?"Disable editing":"Enable editing"))),this.listenTo(r,"execute",(()=>{t.execute("restrictedEditingException"),t.editing.view.focus()})),r}}class T extends e.Plugin{static get pluginName(){return"StandardEditingMode"}static get requires(){return[C,R]}}})(),(window.CKEditor5=window.CKEditor5||{}).restrictedEditing=n})(); \ No newline at end of file + */(()=>{var e={588:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),r=i.n(n),o=i(935),s=i.n(o)()(r());s.push([e.id,":root{--ck-color-restricted-editing-exception-background:rgba(255,169,77,.2);--ck-color-restricted-editing-exception-hover-background:rgba(255,169,77,.35);--ck-color-restricted-editing-exception-brackets:rgba(204,105,0,.4);--ck-color-restricted-editing-selected-exception-background:rgba(255,169,77,.5);--ck-color-restricted-editing-selected-exception-brackets:rgba(204,105,0,.6)}.ck-editor__editable .restricted-editing-exception{background-color:var(--ck-color-restricted-editing-exception-background);border:1px solid;border-image:linear-gradient(to right,var(--ck-color-restricted-editing-exception-brackets) 0,var(--ck-color-restricted-editing-exception-brackets) 5px,transparent 6px,transparent calc(100% - 6px),var(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),var(--ck-color-restricted-editing-exception-brackets) 100%) 1;transition:background .2s ease-in-out}@media (prefers-reduced-motion:reduce){.ck-editor__editable .restricted-editing-exception{transition:none}}.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected{background-color:var(--ck-color-restricted-editing-selected-exception-background);border-image:linear-gradient(to right,var(--ck-color-restricted-editing-selected-exception-brackets) 0,var(--ck-color-restricted-editing-selected-exception-brackets) 5px,var(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),var(--ck-color-restricted-editing-selected-exception-brackets) 100%) 1}.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_collapsed{padding-left:1ch}.ck-restricted-editing_mode_restricted,.ck-restricted-editing_mode_restricted *{cursor:default}.ck-restricted-editing_mode_restricted .restricted-editing-exception,.ck-restricted-editing_mode_restricted .restricted-editing-exception *{cursor:text}.ck-restricted-editing_mode_restricted .restricted-editing-exception:hover{background:var(--ck-color-restricted-editing-exception-hover-background)}",""]);const a=s},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],d=n.base?c[0]+n.base:c[0],l=o[d]||0,u="".concat(d," ").concat(l);o[d]=l+1;var g=i(u),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)t[g].references++,t[g].updater(m);else{var p=r(m,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:p,references:1})}s.push(u)}return s}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=i(o[s]);t[a].references--}for(var c=n(e,r),d=0;d<o.length;d++){var l=i(o[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var o;if(n)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestrictedEditingMode:()=>A,RestrictedEditingModeEditing:()=>g,RestrictedEditingModeUI:()=>v,StandardEditingMode:()=>D,StandardEditingModeEditing:()=>N,StandardEditingModeUI:()=>I});var e=i(782);class t extends e.Command{constructor(e,t){super(e),this.affectsData=!1,this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=r(this.editor.model,this._direction);e&&this.editor.model.change((t=>{t.setSelection(e)}))}_checkEnabled(){return!!r(this.editor.model,this._direction)}}function r(e,t){const i=e.document.selection.getFirstPosition(),n=[];for(const r of e.markers.getMarkersGroup("restrictedEditingException")){const e=r.getRange(),o=i.isTouching(e.start)&&i.hasSameParentAs(e.start)||i.isTouching(e.end)&&i.hasSameParentAs(e.end);e.containsPosition(i)||o||("forward"===t&&e.start.isAfter(i)||"backward"===t&&e.end.isBefore(i))&&n.push(e)}if(n.length)return n.sort(((e,i)=>"forward"===t?e.start.isAfter(i.start)?1:-1:e.start.isBefore(i.start)?1:-1)).shift()}var o=i(783);function s(e,t){for(const i of e.model.markers){if(a(i.getRange(),t)&&i.name.startsWith("restrictedEditingException:"))return i}}function a(e,t){return e.containsPosition(t)||e.end.isEqual(t)||e.start.isEqual(t)}const c="restricted-editing-exception_selected";function d(e,t,i,n){const r=s(e,t.getShiftedBy(i));return!(!r||!r.getStart().isEqual(t.getShiftedBy(i)))&&(n.updateMarker(r,{range:n.createRange(r.getStart().getShiftedBy(-i),r.getEnd())}),!0)}function l(e,t,i,n){const r=s(e,t);return!(!r||!r.getEnd().isEqual(t))&&(n.updateMarker(r,{range:n.createRange(r.getStart(),r.getEnd().getShiftedBy(i))}),!0)}const u="RestrictedEditingMode";class g extends e.Plugin{static get pluginName(){return"RestrictedEditingModeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("restrictedEditing",{allowedCommands:["bold","italic","link","unlink"],allowedAttributes:["bold","italic","linkHref"]}),this._alwaysEnabled=new Set(["undo","redo"]),this._allowedInException=new Set(["input","insertText","delete","deleteForward"])}init(){const e=this.editor,i=e.editing.view;e.config.get("restrictedEditing.allowedCommands").forEach((e=>this._allowedInException.add(e))),this._setupConversion(),this._setupCommandsToggling(),this._setupRestrictions(),e.commands.add("goToPreviousRestrictedEditingException",new t(e,"backward")),e.commands.add("goToNextRestrictedEditingException",new t(e,"forward")),this.listenTo(i.document,"tab",((t,i)=>{const n=i.shiftKey?"goToPreviousRestrictedEditingException":"goToNextRestrictedEditingException";e.commands.get(n).isEnabled&&(e.execute(n),i.preventDefault(),i.stopPropagation()),t.stop()}),{context:"$capture"}),e.keystrokes.set("Ctrl+A",function(e){return(t,i)=>{const n=e.model,r=e.model.document.selection,o=s(e,r.focus);if(!o)return;const a=r.getFirstRange();(o.getRange().containsRange(a,!0)||r.isCollapsed)&&(i(),n.change((e=>{e.setSelection(o.getRange())})))}}(e)),i.change((e=>{for(const t of i.document.roots)e.addClass("ck-restricted-editing_mode_restricted",t)}))}enableCommand(e){this.editor.commands.get(e).clearForceDisabled(u),this._alwaysEnabled.add(e)}_setupConversion(){const e=this.editor,t=e.model.document;let i=0;var n;e.conversion.for("upcast").add((n={view:{name:"span",classes:"restricted-editing-exception"},model:()=>(i++,`restrictedEditingException:${i}`)},e=>e.on("element:span",((e,t,i)=>{const{writer:r}=i,s=new o.Matcher(n.view).match(t.viewItem);if(!s)return;const a=s.match;a.name=!0;const{modelRange:c}=i.convertChildren(t.viewItem,t.modelCursor);i.consumable.consume(t.viewItem,a);const d=n.model(),l=r.createElement("$marker",{"data-name":d}),u=r.createElement("$marker",{"data-name":d});r.insert(u,c.end),r.insert(l,c.start),t.modelRange=r.createRange(r.createPositionBefore(l),r.createPositionAfter(u)),t.modelCursor=t.modelRange.end})))),e.conversion.for("downcast").add((e=>{e.on("addMarker:restrictedEditingException",((e,t,i)=>{if(!t.item)return;if(t.item.is("selection")||!i.schema.isInline(t.item))return;if(!i.consumable.consume(t.item,e.name))return;const n=i.writer,r=n.createAttributeElement("span",{class:"restricted-editing-exception"},{id:t.markerName,priority:-10}),o=i.mapper.toViewRange(t.range),s=n.wrap(o,r);for(const e of s.getItems())if(e.is("attributeElement")&&e.isSimilar(r)){i.mapper.bindElementToMarker(e,t.markerName);break}}))})),e.conversion.for("downcast").markerToHighlight({model:"restrictedEditingException",view:()=>({name:"span",classes:"restricted-editing-exception",priority:-10})}),e.conversion.for("editingDowncast").markerToElement({model:"restrictedEditingException",view:(e,{writer:t})=>t.createUIElement("span",{class:"restricted-editing-exception restricted-editing-exception_collapsed"})}),e.conversion.for("dataDowncast").markerToElement({model:"restrictedEditingException",view:(e,{writer:t})=>t.createEmptyElement("span",{class:"restricted-editing-exception"})}),t.registerPostFixer(function(e){return t=>{let i=!1;const n=e.model.schema;for(const r of e.model.document.differ.getChanges())"insert"==r.type&&n.checkChild("$block",r.name)&&(i=d(e,r.position,r.length,t)||i,i=l(e,r.position,r.length,t)||i);return i}}(e)),t.registerPostFixer(function(e){return t=>{let i=!1;for(const{name:n,data:r}of e.model.document.differ.getChangedMarkers())n.startsWith("restrictedEditingException")&&r.newRange&&"$graveyard"==r.newRange.root.rootName&&(t.updateMarker(n,{range:t.createRange(t.createPositionAt(r.oldRange.start))}),i=!0);return i}}(e)),t.registerPostFixer(function(e){return t=>{let i=!1;const n=e.model.document.differ.getChangedMarkers();for(const{data:e,name:r}of n){if(!r.startsWith("restrictedEditingException"))continue;const n=e.newRange;if(!e.oldRange&&!n.isFlat){const e=n.start,o=n.end,s=e.path.length>o.path.length,a=s?n.start:t.createPositionAt(o.parent,0),c=s?t.createPositionAt(e.parent,"end"):n.end;t.updateMarker(r,{range:t.createRange(a,c)}),i=!0}}return i}}(e)),function(e){const t=e.editing.view,i=e.model,n=new Set;t.document.registerPostFixer((t=>{const r=i.document.selection,o=s(e,r.anchor);if(!o)return!1;for(const i of e.editing.mapper.markerNameToElements(o.name))t.addClass(c,i),n.add(i);return!1})),e.conversion.for("editingDowncast").add((e=>{function i(){t.change((e=>{for(const t of n.values())e.removeClass(c,t),n.delete(t)}))}e.on("insert",i,{priority:"highest"}),e.on("remove",i,{priority:"highest"}),e.on("attribute",i,{priority:"highest"}),e.on("cleanSelection",i)}))}(e)}_setupRestrictions(){const e=this.editor,t=e.model,i=t.document.selection,n=e.editing.view.document,r=e.plugins.get("ClipboardPipeline");this.listenTo(t,"deleteContent",function(e){return(t,i)=>{const[n]=i,r=s(e,n.focus)||s(e,n.anchor);if(!r)return void t.stop();if(n.isCollapsed)return;const o=r.getRange().getIntersection(n.getFirstRange());n.is("documentSelection")?e.model.change((e=>{e.setSelection(o)})):n.setTo(o)}}(e),{priority:"high"});const o=e.commands.get("insertText");o&&this.listenTo(o,"execute",function(e){return(t,i)=>{const[n]=i,{range:r}=n;r&&(p(e,r)||t.stop())}}(e),{priority:"high"}),this.listenTo(r,"contentInsertion",(t=>{p(e,i.getFirstRange())||t.stop()})),this.listenTo(n,"clipboardOutput",((t,n)=>{"cut"!=n.method||p(e,i.getFirstRange())||t.stop()}),{priority:"high"});const a=e.config.get("restrictedEditing.allowedAttributes");t.schema.addAttributeCheck(function(e){return(t,i)=>{if(t.startsWith("$clipboardHolder"))return e.includes(i)}}(a)),t.schema.addChildCheck(((e,t)=>{if(e.startsWith("$clipboardHolder"))return"$text"===t.name}))}_setupCommandsToggling(){const e=this.editor.model.document;this._disableCommands(),this.listenTo(e.selection,"change",this._checkCommands.bind(this)),this.listenTo(e,"change:data",this._checkCommands.bind(this))}_checkCommands(){const e=this.editor,t=e.model.document.selection;if(t.rangeCount>1)return void this._disableCommands();const i=s(e,t.focus);this._disableCommands(),function(e,t){if(!t)return!1;const i=t.getRange();return e.isCollapsed?a(i,e.focus):i.containsRange(e.getFirstRange(),!0)}(t,i)&&this._enableCommands(i)}_enableCommands(e){const t=this.editor;for(const[i,n]of t.commands)n.affectsData&&!this._alwaysEnabled.has(i)&&this._allowedInException.has(i)&&(m(i,t.model.document.selection,e.getRange())||n.clearForceDisabled(u))}_disableCommands(){const e=this.editor;for(const[t,i]of e.commands)i.affectsData&&!this._alwaysEnabled.has(t)&&i.forceDisabled(u)}}function m(e,t,i){return!("delete"!=e||!i.start.isEqual(t.focus))||!("deleteForward"!=e||!t.isCollapsed||!i.end.isEqual(t.focus))}function p(e,t){const i=s(e,t.start),n=s(e,t.end);return i&&n&&n===i}var f=i(311),h=i(584);const b='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 6.5a3.5 3.5 0 0 1 3.495 3.308L19 10v2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-2l.005-.192A3.5 3.5 0 0 1 15.5 6.5zm0 7.5a.5.5 0 0 0-.492.41L15 14.5v2a.5.5 0 0 0 .992.09L16 16.5v-2a.5.5 0 0 0-.5-.5zm0-6a2 2 0 0 0-2 2v2h4v-2a2 2 0 0 0-2-2zm-9.25 8a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm0-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm3-5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h8.5zm6-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5z"/></svg>';class v extends e.Plugin{static get pluginName(){return"RestrictedEditingModeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("restrictedEditing",(i=>{const n=(0,f.createDropdown)(i),r=new h.Collection;return this._getButtonDefinitions().forEach((({commandName:e,label:t,keystroke:i})=>{r.add(this._getButtonDefinition(e,t,i))})),(0,f.addListToDropdown)(n,r,{role:"menu"}),n.buttonView.set({label:t("Navigate editable regions"),icon:b,tooltip:!0,isEnabled:!0,isOn:!1}),this.listenTo(n,"execute",(t=>{const{_commandName:i}=t.source;e.execute(i),e.editing.view.focus()})),n})),e.ui.componentFactory.add("menuBar:restrictedEditing",(e=>{const i=new f.MenuBarMenuView(e),n=new f.MenuBarMenuListView(e);return n.set({ariaLabel:t("Navigate editable regions"),role:"menu"}),i.buttonView.set({label:t("Navigate editable regions"),icon:b}),i.panelView.children.add(n),this._getButtonDefinitions().forEach((({commandName:t,label:r,keystroke:o})=>{const s=new f.MenuBarMenuListItemView(e,i),a=this._createMenuBarButton(r,t,o);a.delegate("execute").to(i),s.children.add(a),n.items.add(s)})),i}))}_createMenuBarButton(e,t,i){const n=this.editor,r=n.commands.get(t),o=new f.MenuBarMenuListItemButtonView(n.locale);return o.set({label:e,keystroke:i,isEnabled:!0,isOn:!1}),o.bind("isEnabled").to(r),this.listenTo(o,"execute",(()=>{n.execute(t),n.editing.view.focus()})),o}_getButtonDefinition(e,t,i){const n=this.editor.commands.get(e),r={type:"button",model:new f.ViewModel({label:t,withText:!0,keystroke:i,withKeystroke:!0,role:"menuitem",_commandName:e})};return r.model.bind("isEnabled").to(n,"isEnabled"),r}_getButtonDefinitions(){const e=this.editor.locale.t;return[{commandName:"goToPreviousRestrictedEditingException",label:e("Previous editable region"),keystroke:"Shift+Tab"},{commandName:"goToNextRestrictedEditingException",label:e("Next editable region"),keystroke:"Tab"}]}}var E=i(591),x=i.n(E),w=i(639),k=i.n(w),_=i(128),y=i.n(_),C=i(21),R=i.n(C),M=i(51),T=i.n(M),S=i(588),P={attributes:{"data-cke":!0}};P.setAttributes=R(),P.insert=y().bind(null,"head"),P.domAPI=k(),P.insertStyleElement=T();x()(S.A,P);S.A&&S.A.locals&&S.A.locals;class A extends e.Plugin{static get pluginName(){return"RestrictedEditingMode"}static get isOfficialPlugin(){return!0}static get requires(){return[g,v]}}class B extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=!!t.selection.getAttribute("restrictedEditingException"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"restrictedEditingException")}execute(e={}){const t=this.editor.model,i=t.document.selection,n=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{const r=t.schema.getValidRanges(i.getRanges(),"restrictedEditingException");if(i.isCollapsed)if(n)e.setSelectionAttribute("restrictedEditingException",n);else{const t=e=>e.item.getAttribute("restrictedEditingException")===this.value,n=i.focus,r=n.getLastMatchingPosition(t,{direction:"backward"}),o=n.getLastMatchingPosition(t);e.removeSelectionAttribute("restrictedEditingException"),n.isEqual(r)||n.isEqual(o)||e.removeAttribute("restrictedEditingException",e.createRange(r,o))}else for(const t of r)n?e.setAttribute("restrictedEditingException",n,t):e.removeAttribute("restrictedEditingException",t)}))}}class N extends e.Plugin{static get pluginName(){return"StandardEditingModeEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:["restrictedEditingException"]}),e.conversion.for("upcast").elementToAttribute({model:"restrictedEditingException",view:{name:"span",classes:"restricted-editing-exception"}}),e.conversion.for("downcast").attributeToElement({model:"restrictedEditingException",view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{class:"restricted-editing-exception"},{priority:-10})}}),e.commands.add("restrictedEditingException",new B(e)),e.editing.view.change((t=>{for(const i of e.editing.view.document.roots)t.addClass("ck-restricted-editing_mode_standard",i)}))}}class I extends e.Plugin{static get pluginName(){return"StandardEditingModeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("restrictedEditingException",(()=>{const e=this._createButton(f.ButtonView);return e.set({tooltip:!0,isToggleable:!0}),e})),e.ui.componentFactory.add("menuBar:restrictedEditingException",(()=>this._createButton(f.MenuBarMenuListItemButtonView)))}_createButton(e){const t=this.editor,i=t.locale,n=this.editor.commands.get("restrictedEditingException"),r=new e(i),o=i.t;return r.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.25 16a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm0-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 1 1 0-1.5h5.5zm3-5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h8.5zm6-5a.75.75 0 1 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5zm.25 5.5a3.5 3.5 0 0 1 3.143 1.959.75.75 0 0 1-1.36.636A2 2 0 0 0 13.5 10v2H19a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-2l.005-.192A3.5 3.5 0 0 1 15.5 6.5zm0 7.5a.5.5 0 0 0-.492.41L15 14.5v2a.5.5 0 0 0 .992.09L16 16.5v-2a.5.5 0 0 0-.5-.5z"/></svg>',r.bind("isOn","isEnabled").to(n,"value","isEnabled"),r.bind("label").to(n,"value",(e=>o(e?"Disable editing":"Enable editing"))),this.listenTo(r,"execute",(()=>{t.execute("restrictedEditingException"),t.editing.view.focus()})),r}}class D extends e.Plugin{static get pluginName(){return"StandardEditingMode"}static get isOfficialPlugin(){return!0}static get requires(){return[N,I]}}})(),(window.CKEditor5=window.CKEditor5||{}).restrictedEditing=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/show-blocks/show-blocks.js b/core/assets/vendor/ckeditor5/show-blocks/show-blocks.js index 7a44d702ef2d437a5fd71b14d8757dd41beb66f5..ac00d4821e490c0c5de8ee070b697c6fe32f248d 100644 --- a/core/assets/vendor/ckeditor5/show-blocks/show-blocks.js +++ b/core/assets/vendor/ckeditor5/show-blocks/show-blocks.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={332:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var i=o(935),a=o.n(i)()((function(e){return e[1]}));a.push([e.id,":root{--ck-show-blocks-border-color:#757575}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ADDRESS</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ADDRESS</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ADDRESS</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ADDRESS</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ASIDE</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ASIDE</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ASIDE</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ASIDE</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>BLOCKQUOTE</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>BLOCKQUOTE</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>BLOCKQUOTE</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>BLOCKQUOTE</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DETAILS</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DETAILS</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DETAILS</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DETAILS</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *){background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DIV</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DIV</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *):not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *){background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DIV</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *){background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DIV</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FOOTER</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FOOTER</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FOOTER</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FOOTER</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H1</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H1</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H1</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H1</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H2</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H2</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H2</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H2</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H3</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H3</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H3</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H3</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H4</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H4</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H4</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H4</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H5</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H5</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H5</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H5</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H6</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H6</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H6</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H6</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>HEADER</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>HEADER</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>HEADER</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>HEADER</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>MAIN</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>MAIN</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>MAIN</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>MAIN</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>NAV</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>NAV</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>NAV</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>NAV</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>PRE</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>PRE</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>PRE</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>PRE</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>OL</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>OL</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>OL</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>OL</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>UL</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>UL</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>UL</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>UL</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>P</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>P</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>P</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>P</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>SECTION</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>SECTION</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>SECTION</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>SECTION</text></svg>\");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption{background-repeat:no-repeat;padding-top:15px;[dir=ltr] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FIGCAPTION</text></svg>\");background-position:1px 1px}[dir=rtl] &{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FIGCAPTION</text></svg>\");background-position:calc(100% - 1px) 1px}}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='3' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FIGCAPTION</text></svg>\");background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption{background-image:url(\"data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FIGCAPTION</text></svg>\");background-position:calc(100% - 1px) 1px}",""]);const n=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,i){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(i)for(var n=0;n<this.length;n++){var r=this[n][0];null!=r&&(a[r]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&a[l[0]]||(o&&(l[2]?l[2]="".concat(o," and ").concat(l[2]):l[2]=o),t.push(l))}},t}},591:(e,t,o)=>{"use strict";var i,a=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},n=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),r=[];function s(e){for(var t=-1,o=0;o<r.length;o++)if(r[o].identifier===e){t=o;break}return t}function l(e,t){for(var o={},i=[],a=0;a<e.length;a++){var n=e[a],l=t.base?n[0]+t.base:n[0],d=o[l]||0,c="".concat(l," ").concat(d);o[l]=d+1;var p=s(c),k={css:n[1],media:n[2],sourceMap:n[3]};-1!==p?(r[p].references++,r[p].updater(k)):r.push({identifier:c,updater:x(k,t),references:1}),i.push(c)}return i}function d(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var a=o.nc;a&&(i.nonce=a)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var r=n(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var c,p=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function k(e,t,o,i){var a=o?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=p(t,a);else{var n=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(n,r[t]):e.appendChild(n)}}function g(e,t,o){var i=o.css,a=o.media,n=o.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var w=null,u=0;function x(e,t){var o,i,a;if(t.singleton){var n=u++;o=w||(w=d(t)),i=k.bind(null,o,n,!1),a=k.bind(null,o,n,!0)}else o=d(t),i=g.bind(null,o,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var o=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<o.length;i++){var a=s(o[i]);r[a].references--}for(var n=l(e,t),d=0;d<o.length;d++){var c=s(o[d]);0===r[c].references&&(r[c].updater(),r.splice(c,1))}o=n}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={id:i,exports:{}};return e[i](n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};(()=>{"use strict";o.r(i),o.d(i,{ShowBlocks:()=>p,ShowBlocksCommand:()=>t,ShowBlocksEditing:()=>a,ShowBlocksUI:()=>c});var e=o(782);class t extends e.Command{constructor(e){super(e),this.affectsData=!1,this.value=!1}execute(){const e="ck-show-blocks",t=this.editor.editing.view;t.change((o=>{for(const i of t.document.roots)i.hasClass(e)?(o.removeClass(e,i),this.value=!1):(o.addClass(e,i),this.value=!0)}))}}class a extends e.Plugin{static get pluginName(){return"ShowBlocksEditing"}init(){const{editor:e}=this;e.commands.add("showBlocks",new t(e))}}var n=o(311);var r=o(591),s=o.n(r),l=o(332),d={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(l.A,d);l.A.locals;class c extends e.Plugin{static get pluginName(){return"ShowBlocksUI"}init(){const e=this.editor;e.ui.componentFactory.add("showBlocks",(()=>{const e=this._createButton(n.ButtonView);return e.set({tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m6.395 9.196 2.545-.007V6.498a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v6.877a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598v-2.691l-2.545.007v2.691a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598V6.505a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v2.691Z"/><path d="M15.094 13.417V6.462a.562.562 0 0 0-.562-.562h-.782a1 1 0 0 0-.39.08l-1.017.43a.562.562 0 0 0-.343.517v.197c0 .4.406.67.775.519l.819-.337v6.111c0 .31.251.562.561.562h.377c.31 0 .562-.251.562-.562Z"/><path d="M0 15.417v1.5h1.5v-1.5H0Z"/><path d="M18.5 15.417v1.5H20v-1.5h-1.5Z"/><path d="M18.5 12.333v1.5H20v-1.5h-1.5Z"/><path d="M18.5 9.25v1.5H20v-1.5h-1.5Z"/><path d="M18.5 6.167v1.5H20v-1.5h-1.5Z"/><path d="M0 18.5v.5a1 1 0 0 0 1 1h.5v-1.5H0Z"/><path d="M3.083 18.5V20h1.5v-1.5h-1.5Z"/><path d="M6.167 18.5V20h1.5v-1.5h-1.5Z"/><path d="M9.25 18.5V20h1.5v-1.5h-1.5Z"/><path d="M12.333 18.5V20h1.5v-1.5h-1.5Z"/><path d="M15.417 18.5V20h1.5v-1.5h-1.5Z"/><path d="M18.5 18.5V20h.5a1 1 0 0 0 1-1v-.5h-1.5Z"/><path clip-rule="evenodd" d="M0 1a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3.583h-1.5V1.5h-17v12.333H0V1Z"/></svg>'}),e})),e.ui.componentFactory.add("menuBar:showBlocks",(()=>this._createButton(n.MenuBarMenuListItemButtonView)))}_createButton(e){const t=this.editor,o=t.locale,i=t.commands.get("showBlocks"),a=new e(o),n=o.t;return a.set({label:n("Show blocks"),isToggleable:!0,role:"menuitemcheckbox"}),a.bind("isEnabled").to(i),a.bind("isOn").to(i,"value",i,"isEnabled",((e,t)=>e&&t)),this.listenTo(a,"execute",(()=>{t.execute("showBlocks"),t.editing.view.focus()})),a}}class p extends e.Plugin{static get pluginName(){return"ShowBlocks"}static get requires(){return[a,c]}}})(),(window.CKEditor5=window.CKEditor5||{}).showBlocks=i})(); \ No newline at end of file + */(()=>{var e={332:(e,t,o)=>{"use strict";o.d(t,{A:()=>X});var i=o(758),n=o.n(i),a=o(935),r=o.n(a),s=o(62),l=o.n(s),d=new URL(o(83),o.b),c=new URL(o(923),o.b),k=new URL(o(436),o.b),p=new URL(o(309),o.b),g=new URL(o(228),o.b),w=new URL(o(84),o.b),u=new URL(o(524),o.b),b=new URL(o(757),o.b),h=new URL(o(310),o.b),x=new URL(o(599),o.b),m=new URL(o(256),o.b),_=new URL(o(921),o.b),f=new URL(o(74),o.b),v=new URL(o(490),o.b),y=new URL(o(282),o.b),M=new URL(o(206),o.b),C=new URL(o(772),o.b),S=new URL(o(510),o.b),E=new URL(o(291),o.b),L=new URL(o(656),o.b),A=new URL(o(767),o.b),V=r()(n()),B=l()(d),T=l()(c),N=l()(k),D=l()(p),j=l()(g),z=l()(w),R=l()(u),O=l()(b),U=l()(h),I=l()(x),H=l()(m),$=l()(_),P=l()(f),Z=l()(v),F=l()(y),K=l()(M),q=l()(C),Q=l()(S),G=l()(E),J=l()(L),W=l()(A);V.push([e.id,`:root{--ck-show-blocks-border-color:#757575}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address{background-image:url(${B});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) address{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ADDRESS</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside{background-image:url(${T});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) aside{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>ASIDE</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote{background-image:url(${N});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) blockquote{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>BLOCKQUOTE</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details{background-image:url(${D});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) details{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DETAILS</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *){background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *):not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *){background-image:url(${j});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) div:not(.ck-widget,.ck-widget *){background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>DIV</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer{background-image:url(${z});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) footer{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FOOTER</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1{background-image:url(${R});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h1{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H1</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2{background-image:url(${O});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H2</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3{background-image:url(${U});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H3</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4{background-image:url(${I});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h4{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H4</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5{background-image:url(${H});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h5{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H5</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6{background-image:url(${$});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h6{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>H6</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header{background-image:url(${P});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) header{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>HEADER</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main{background-image:url(${Z});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) main{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>MAIN</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav{background-image:url(${F});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) nav{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>NAV</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre{background-image:url(${K});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) pre{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>PRE</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol{background-image:url(${q});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>OL</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul{background-image:url(${Q});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>UL</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p{background-image:url(${G});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) p{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>P</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section{background-image:url(${J});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) section{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>SECTION</text></svg>");background-position:calc(100% - 1px) 1px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption{background-repeat:no-repeat;padding-top:15px}.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption:not(.ck-widget_selected):not(.ck-widget:hover){outline:1px dashed var(--ck-show-blocks-border-color)}[dir=ltr] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption{background-image:url(${W});background-position:1px 1px}[dir=rtl] .ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) :where(figure.image,figure.table) figcaption{background-image:url("data:image/svg+xml;utf8,<svg width='120' height='12' xmlns='http://www.w3.org/2000/svg' ><text style='paint-order:stroke fill; clip-path: inset(-3px); transform:translate(-2px, 0)' stroke='%23EAEAEA' stroke-width='13' dominant-baseline='middle' fill='black' x='100%' text-anchor='end' y='7' font-size='9px' font-family='Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace'>FIGCAPTION</text></svg>");background-position:calc(100% - 1px) 1px}`,""]);const X=V},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",i=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),i&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),i&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,i,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(r[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);i&&r[c[0]]||(void 0!==a&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=a),o&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=o):c[2]=o),n&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=n):c[4]="".concat(n)),t.push(c))}},t}},62:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function o(e){for(var o=-1,i=0;i<t.length;i++)if(t[i].identifier===e){o=i;break}return o}function i(e,i){for(var a={},r=[],s=0;s<e.length;s++){var l=e[s],d=i.base?l[0]+i.base:l[0],c=a[d]||0,k="".concat(d," ").concat(c);a[d]=c+1;var p=o(k),g={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(g);else{var w=n(g,i);i.byIndex=s,t.splice(s,0,{identifier:k,updater:w,references:1})}r.push(k)}return r}function n(e,t){var o=t.domAPI(t);o.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,n){var a=i(e=e||[],n=n||{});return function(e){e=e||[];for(var r=0;r<a.length;r++){var s=o(a[r]);t[s].references--}for(var l=i(e,n),d=0;d<a.length;d++){var c=o(a[d]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=l}}},128:e=>{"use strict";var t={};e.exports=function(e,o){var i=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(o)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}},639:e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function i(e,t,i,n){var a;if(i)a="";else{a="",n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,a);else{var s=document.createTextNode(a),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(s,l[t]):e.appendChild(s)}}var n={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=n.singletonCounter++,o=n.singleton||(n.singleton=e.insertStyleElement(e));return{update:function(e){i(o,t,!1,e)},remove:function(e){i(o,t,!0,e)}}}},83:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>ADDRESS</text></svg>"},923:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>ASIDE</text></svg>"},436:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>BLOCKQUOTE</text></svg>"},309:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>DETAILS</text></svg>"},228:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>DIV</text></svg>"},767:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>FIGCAPTION</text></svg>"},84:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>FOOTER</text></svg>"},524:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>H1</text></svg>"},757:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>H2</text></svg>"},310:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>H3</text></svg>"},599:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>H4</text></svg>"},256:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>H5</text></svg>"},921:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>H6</text></svg>"},74:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>HEADER</text></svg>"},490:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>MAIN</text></svg>"},282:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>NAV</text></svg>"},772:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>OL</text></svg>"},291:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>P</text></svg>"},206:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>PRE</text></svg>"},656:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>SECTION</text></svg>"},510:e=>{"use strict";e.exports="data:image/svg+xml;utf8,<svg width=%27120%27 height=%2712%27 xmlns=%27http://www.w3.org/2000/svg%27 ><text style=%27paint-order:stroke fill; clip-path: inset%28-3px%29%27 stroke=%27%23EAEAEA%27 stroke-width=%2713%27 dominant-baseline=%27middle%27 fill=%27black%27 x=%273%27 y=%277%27 font-size=%279px%27 font-family=%27Consolas, %22Lucida Console%22, %22Lucida Sans Typewriter%22, %22DejaVu Sans Mono%22, %22Bitstream Vera Sans Mono%22, %22Liberation Mono%22, Monaco, %22Courier New%22, Courier, monospace%27>UL</text></svg>"},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(i){var n=t[i];if(void 0!==n)return n.exports;var a=t[i]={id:i,exports:{}};return e[i](a,a.exports,o),a.exports}o.m=e,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.b=document.baseURI||self.location.href;var i={};(()=>{"use strict";o.r(i),o.d(i,{ShowBlocks:()=>m,ShowBlocksCommand:()=>t,ShowBlocksEditing:()=>n,ShowBlocksUI:()=>x});var e=o(782);class t extends e.Command{constructor(e){super(e),this.affectsData=!1,this.value=!1}execute(){const e="ck-show-blocks",t=this.editor.editing.view;t.change((o=>{for(const i of t.document.roots)i.hasClass(e)?(o.removeClass(e,i),this.value=!1):(o.addClass(e,i),this.value=!0)}))}}class n extends e.Plugin{static get pluginName(){return"ShowBlocksEditing"}static get isOfficialPlugin(){return!0}init(){const{editor:e}=this;e.commands.add("showBlocks",new t(e))}}var a=o(311);var r=o(591),s=o.n(r),l=o(639),d=o.n(l),c=o(128),k=o.n(c),p=o(21),g=o.n(p),w=o(51),u=o.n(w),b=o(332),h={attributes:{"data-cke":!0}};h.setAttributes=g(),h.insert=k().bind(null,"head"),h.domAPI=d(),h.insertStyleElement=u();s()(b.A,h);b.A&&b.A.locals&&b.A.locals;class x extends e.Plugin{static get pluginName(){return"ShowBlocksUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("showBlocks",(()=>{const e=this._createButton(a.ButtonView);return e.set({tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m6.395 9.196 2.545-.007V6.498a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v6.877a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598v-2.691l-2.545.007v2.691a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598V6.505a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v2.691Z"/><path d="M15.094 13.417V6.462a.562.562 0 0 0-.562-.562h-.782a1 1 0 0 0-.39.08l-1.017.43a.562.562 0 0 0-.343.517v.197c0 .4.406.67.775.519l.819-.337v6.111c0 .31.251.562.561.562h.377c.31 0 .562-.251.562-.562Z"/><path d="M0 15.417v1.5h1.5v-1.5H0Z"/><path d="M18.5 15.417v1.5H20v-1.5h-1.5Z"/><path d="M18.5 12.333v1.5H20v-1.5h-1.5Z"/><path d="M18.5 9.25v1.5H20v-1.5h-1.5Z"/><path d="M18.5 6.167v1.5H20v-1.5h-1.5Z"/><path d="M0 18.5v.5a1 1 0 0 0 1 1h.5v-1.5H0Z"/><path d="M3.083 18.5V20h1.5v-1.5h-1.5Z"/><path d="M6.167 18.5V20h1.5v-1.5h-1.5Z"/><path d="M9.25 18.5V20h1.5v-1.5h-1.5Z"/><path d="M12.333 18.5V20h1.5v-1.5h-1.5Z"/><path d="M15.417 18.5V20h1.5v-1.5h-1.5Z"/><path d="M18.5 18.5V20h.5a1 1 0 0 0 1-1v-.5h-1.5Z"/><path clip-rule="evenodd" d="M0 1a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3.583h-1.5V1.5h-17v12.333H0V1Z"/></svg>'}),e})),e.ui.componentFactory.add("menuBar:showBlocks",(()=>this._createButton(a.MenuBarMenuListItemButtonView)))}_createButton(e){const t=this.editor,o=t.locale,i=t.commands.get("showBlocks"),n=new e(o),a=o.t;return n.set({label:a("Show blocks"),isToggleable:!0,role:"menuitemcheckbox"}),n.bind("isEnabled").to(i),n.bind("isOn").to(i,"value",i,"isEnabled",((e,t)=>e&&t)),this.listenTo(n,"execute",(()=>{t.execute("showBlocks"),t.editing.view.focus()})),n}}class m extends e.Plugin{static get pluginName(){return"ShowBlocks"}static get isOfficialPlugin(){return!0}static get requires(){return[n,x]}}})(),(window.CKEditor5=window.CKEditor5||{}).showBlocks=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/source-editing/source-editing.js b/core/assets/vendor/ckeditor5/source-editing/source-editing.js index 654bb72803e5fb0cb9831e3631b6856639556803..cb8b515196a34af2d8e3580b4a52ee75419bb04f 100644 --- a/core/assets/vendor/ckeditor5/source-editing/source-editing.js +++ b/core/assets/vendor/ckeditor5/source-editing/source-editing.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={896:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var o=i(935),n=i.n(o)()((function(e){return e[1]}));n.push([e.id,'.ck-source-editing-area{overflow:hidden;position:relative}.ck-source-editing-area textarea,.ck-source-editing-area:after{border:1px solid transparent;font-family:monospace;font-size:var(--ck-font-size-normal);line-height:var(--ck-line-height-base);margin:0;padding:var(--ck-spacing-large);white-space:pre-wrap}.ck-source-editing-area:after{content:attr(data-value) " ";display:block;visibility:hidden}.ck-source-editing-area textarea{border-color:var(--ck-color-base-border);border-radius:0;box-sizing:border-box;height:100%;outline:none;overflow:hidden;position:absolute;resize:none;width:100%}.ck-rounded-corners .ck-source-editing-area textarea,.ck-source-editing-area textarea.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck-source-editing-area textarea:not([readonly]):focus{border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}',""]);const r=n},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(n[a]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&n[d[0]]||(i&&(d[2]?d[2]="".concat(i," and ").concat(d[2]):d[2]=i),t.push(d))}},t}},591:(e,t,i)=>{"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),a=[];function s(e){for(var t=-1,i=0;i<a.length;i++)if(a[i].identifier===e){t=i;break}return t}function d(e,t){for(var i={},o=[],n=0;n<e.length;n++){var r=e[n],d=t.base?r[0]+t.base:r[0],c=i[d]||0,l="".concat(d," ").concat(c);i[d]=c+1;var u=s(l),h={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(a[u].references++,a[u].updater(h)):a.push({identifier:l,updater:p(h,t),references:1}),o.push(l)}return o}function c(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var n=i.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var a=r(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,u=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function h(e,t,i,o){var n=i?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,n);else{var r=document.createTextNode(n),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function m(e,t,i){var o=i.css,n=i.media,r=i.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var g=null,f=0;function p(e,t){var i,o,n;if(t.singleton){var r=f++;i=g||(g=c(t)),o=h.bind(null,i,r,!1),n=h.bind(null,i,r,!0)}else i=c(t),o=m.bind(null,i,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=d(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<i.length;o++){var n=s(i[o]);a[n].references--}for(var r=d(e,t),c=0;c<i.length;c++){var l=s(i[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}i=r}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var o={};(()=>{"use strict";i.r(o),i.d(o,{SourceEditing:()=>h});var e=i(782),t=i(311),n=i(584);function r(e){const t=[{name:"address",isVoid:!1},{name:"article",isVoid:!1},{name:"aside",isVoid:!1},{name:"blockquote",isVoid:!1},{name:"details",isVoid:!1},{name:"dialog",isVoid:!1},{name:"dd",isVoid:!1},{name:"div",isVoid:!1},{name:"dl",isVoid:!1},{name:"dt",isVoid:!1},{name:"fieldset",isVoid:!1},{name:"figcaption",isVoid:!1},{name:"figure",isVoid:!1},{name:"footer",isVoid:!1},{name:"form",isVoid:!1},{name:"h1",isVoid:!1},{name:"h2",isVoid:!1},{name:"h3",isVoid:!1},{name:"h4",isVoid:!1},{name:"h5",isVoid:!1},{name:"h6",isVoid:!1},{name:"header",isVoid:!1},{name:"hgroup",isVoid:!1},{name:"hr",isVoid:!0},{name:"li",isVoid:!1},{name:"main",isVoid:!1},{name:"nav",isVoid:!1},{name:"ol",isVoid:!1},{name:"p",isVoid:!1},{name:"section",isVoid:!1},{name:"table",isVoid:!1},{name:"tbody",isVoid:!1},{name:"td",isVoid:!1},{name:"th",isVoid:!1},{name:"thead",isVoid:!1},{name:"tr",isVoid:!1},{name:"ul",isVoid:!1}],i=t.map((e=>e.name)).join("|"),o=e.replace(new RegExp(`</?(${i})( .*?)?>`,"g"),"\n$&\n").replace(/<br[^>]*>/g,"$&\n").split("\n");let n=0,r=!1;return o.filter((e=>e.length)).map((e=>(r=function(e,t){return new RegExp("<pre( .*?)?>").test(e)?"first":new RegExp("</pre>").test(e)?"last":("first"===t||"middle"===t)&&"middle"}(e,r),function(e,t){return t.some((t=>!t.isVoid&&!!new RegExp(`<${t.name}( .*?)?>`).test(e)))}(e,t)?a(e,n++):function(e,t){return t.some((t=>new RegExp(`</${t.name}>`).test(e)))}(e,t)?a(e,--n):"middle"===r||"last"===r?e:a(e,n)))).join("\n")}function a(e,t,i=" "){return`${i.repeat(Math.max(0,t))}${e}`}var s=i(591),d=i.n(s),c=i(896),l={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};d()(c.A,l);c.A.locals;const u="SourceEditingMode";class h extends e.Plugin{static get pluginName(){return"SourceEditing"}static get requires(){return[e.PendingActions]}constructor(e){super(e),this.set("isSourceEditingMode",!1),this._elementReplacer=new n.ElementReplacer,this._replacedRoots=new Map,this._dataFromRoots=new Map,e.config.define("sourceEditing.allowCollaborationFeatures",!1)}init(){this._checkCompatibility();const e=this.editor,i=e.locale.t;e.ui.componentFactory.add("sourceEditing",(()=>{const e=this._createButton(t.ButtonView);return e.set({label:i("Source"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 0 5 4.5v15.003h-16V0h11zM3 1.5v3.25l-1.497 1-.003 8 1.5 1v3.254L7.685 18l-.001 1.504H17.5V8.002L16 9.428l-.004-4.22-4.222-3.692L3 1.5z"/><path d="M4.06 6.64a.75.75 0 0 1 .958 1.15l-.085.07L2.29 9.75l2.646 1.89c.302.216.4.62.232.951l-.058.095a.75.75 0 0 1-.951.232l-.095-.058-3.5-2.5V9.14l3.496-2.5zm4.194 6.22a.75.75 0 0 1-.958-1.149l.085-.07 2.643-1.89-2.646-1.89a.75.75 0 0 1-.232-.952l.058-.095a.75.75 0 0 1 .95-.232l.096.058 3.5 2.5v1.22l-3.496 2.5zm7.644-.836 2.122 2.122-5.825 5.809-2.125-.005.003-2.116zm2.539-1.847 1.414 1.414a.5.5 0 0 1 0 .707l-1.06 1.06-2.122-2.12 1.061-1.061a.5.5 0 0 1 .707 0z"/></svg>',tooltip:!0,class:"ck-source-editing-button"}),e})),e.ui.componentFactory.add("menuBar:sourceEditing",(()=>{const e=this._createButton(t.MenuBarMenuListItemButtonView);return e.set({label:i("Show source"),role:"menuitemcheckbox"}),e})),this._isAllowedToHandleSourceEditingMode()&&(this.on("change:isSourceEditingMode",((e,t,i)=>{i?(this._hideVisibleDialog(),this._showSourceEditing(),this._disableCommands()):(this._hideSourceEditing(),this._enableCommands())})),this.on("change:isEnabled",((e,t,i)=>this._handleReadOnlyMode(!i))),this.listenTo(e,"change:isReadOnly",((e,t,i)=>this._handleReadOnlyMode(i)))),e.data.on("get",(()=>{this.isSourceEditingMode&&this.updateEditorData()}),{priority:"high"})}updateEditorData(){const e=this.editor,t={};for(const[e,i]of this._replacedRoots){const o=this._dataFromRoots.get(e),n=i.dataset.value;o!==n&&(t[e]=n,this._dataFromRoots.set(e,n))}Object.keys(t).length&&e.data.set(t,{batchType:{isUndoable:!0},suppressErrorInCollaboration:!0})}_checkCompatibility(){const e=this.editor,t=e.config.get("sourceEditing.allowCollaborationFeatures");if(!t&&e.plugins.has("RealTimeCollaborativeEditing"))throw new n.CKEditorError("source-editing-incompatible-with-real-time-collaboration",null);!t&&["CommentsEditing","TrackChangesEditing","RevisionHistory"].some((t=>e.plugins.has(t)))&&console.warn("You initialized the editor with the source editing feature and at least one of the collaboration features. Please be advised that the source editing feature may not work, and be careful when editing document source that contains markers created by the collaboration features."),e.plugins.has("RestrictedEditingModeEditing")&&console.warn("You initialized the editor with the source editing feature and restricted editing feature. Please be advised that the source editing feature may not work, and be careful when editing document source that contains markers created by the restricted editing feature.")}_showSourceEditing(){const e=this.editor,t=e.editing.view,i=e.model;i.change((e=>{e.setSelection(null),e.removeSelectionAttribute(i.document.selection.getAttributeKeys())}));for(const[i,o]of t.domRoots){const r=m(e.data.get({rootName:i})),a=(0,n.createElement)(o.ownerDocument,"textarea",{rows:"1","aria-label":"Source code editing area"}),s=(0,n.createElement)(o.ownerDocument,"div",{class:"ck-source-editing-area","data-value":r},[a]);a.value=r,a.setSelectionRange(0,0),a.addEventListener("input",(()=>{s.dataset.value=a.value,e.ui.update()})),t.change((e=>{const o=t.document.getRoot(i);e.addClass("ck-hidden",o)})),e.ui.setEditableElement("sourceEditing:"+i,a),this._replacedRoots.set(i,s),this._elementReplacer.replace(o,s),this._dataFromRoots.set(i,r)}this._focusSourceEditing()}_hideSourceEditing(){const e=this.editor.editing.view;this.updateEditorData(),e.change((t=>{for(const[i]of this._replacedRoots)t.removeClass("ck-hidden",e.document.getRoot(i))})),this._elementReplacer.restore(),this._replacedRoots.clear(),this._dataFromRoots.clear(),e.focus()}_focusSourceEditing(){const e=this.editor,[t]=this._replacedRoots.values(),i=t.querySelector("textarea");e.editing.view.document.isFocused=!1,i.focus()}_disableCommands(){const e=this.editor;for(const t of e.commands.commands())t.forceDisabled(u);e.plugins.has("CommentsArchiveUI")&&e.plugins.get("CommentsArchiveUI").forceDisabled(u)}_enableCommands(){const e=this.editor;for(const t of e.commands.commands())t.clearForceDisabled(u);e.plugins.has("CommentsArchiveUI")&&e.plugins.get("CommentsArchiveUI").clearForceDisabled(u)}_handleReadOnlyMode(e){if(this.isSourceEditingMode)for(const[,t]of this._replacedRoots)t.querySelector("textarea").readOnly=e}_isAllowedToHandleSourceEditingMode(){const e=this.editor.ui.view.editable;return e&&!e.hasExternalElement}_hideVisibleDialog(){if(this.editor.plugins.has("Dialog")){const e=this.editor.plugins.get("Dialog");e.isOpen&&e.hide()}}_createButton(t){const i=this.editor,o=new t(i.locale);return o.set({withText:!0,isToggleable:!0}),o.bind("isOn").to(this,"isSourceEditingMode"),o.bind("isEnabled").to(this,"isEnabled",i,"isReadOnly",i.plugins.get(e.PendingActions),"hasAny",((e,t,i)=>!!e&&(!t&&!i))),this.listenTo(o,"execute",(()=>{this.isSourceEditingMode=!this.isSourceEditingMode})),o}}function m(e){return function(e){return e.startsWith("<")}(e)?r(e):e}})(),(window.CKEditor5=window.CKEditor5||{}).sourceEditing=o})(); \ No newline at end of file + */(()=>{var e={896:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var o=i(758),n=i.n(o),r=i(935),a=i.n(r)()(n());a.push([e.id,'.ck-source-editing-area{overflow:hidden;position:relative}.ck-source-editing-area textarea,.ck-source-editing-area:after{border:1px solid transparent;font-family:monospace;font-size:var(--ck-font-size-normal);line-height:var(--ck-line-height-base);margin:0;padding:var(--ck-spacing-large);white-space:pre-wrap}.ck-source-editing-area:after{content:attr(data-value) " ";display:block;visibility:hidden}.ck-source-editing-area textarea{border-color:var(--ck-color-base-border);border-radius:0;box-sizing:border-box;height:100%;outline:none;overflow:hidden;position:absolute;resize:none;width:100%}.ck-rounded-corners .ck-source-editing-area textarea,.ck-source-editing-area textarea.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck-source-editing-area textarea:not([readonly]):focus{border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}',""]);const s=a},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",o=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),o&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),o&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,o,n,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var s=0;s<this.length;s++){var d=this[s][0];null!=d&&(a[d]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);o&&a[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),t.push(l))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,o=0;o<t.length;o++)if(t[o].identifier===e){i=o;break}return i}function o(e,o){for(var r={},a=[],s=0;s<e.length;s++){var d=e[s],c=o.base?d[0]+o.base:d[0],l=r[c]||0,u="".concat(c," ").concat(l);r[c]=l+1;var h=i(u),m={css:d[1],media:d[2],sourceMap:d[3],supports:d[4],layer:d[5]};if(-1!==h)t[h].references++,t[h].updater(m);else{var g=n(m,o);o.byIndex=s,t.splice(s,0,{identifier:u,updater:g,references:1})}a.push(u)}return a}function n(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,n){var r=o(e=e||[],n=n||{});return function(e){e=e||[];for(var a=0;a<r.length;a++){var s=i(r[a]);t[s].references--}for(var d=o(e,n),c=0;c<r.length;c++){var l=i(r[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}r=d}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var o=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function o(e,t,o,n){var r;if(o)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var s=document.createTextNode(r),d=e.childNodes;d[t]&&e.removeChild(d[t]),d.length?e.insertBefore(s,d[t]):e.appendChild(s)}}var n={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=n.singletonCounter++,i=n.singleton||(n.singleton=e.insertStyleElement(e));return{update:function(e){o(i,t,!1,e)},remove:function(e){o(i,t,!0,e)}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";i.r(o),i.d(o,{SourceEditing:()=>E});var e=i(782),t=i(311),n=i(584);function r(e){const t=[{name:"address",isVoid:!1},{name:"article",isVoid:!1},{name:"aside",isVoid:!1},{name:"blockquote",isVoid:!1},{name:"details",isVoid:!1},{name:"dialog",isVoid:!1},{name:"dd",isVoid:!1},{name:"div",isVoid:!1},{name:"dl",isVoid:!1},{name:"dt",isVoid:!1},{name:"fieldset",isVoid:!1},{name:"figcaption",isVoid:!1},{name:"figure",isVoid:!1},{name:"footer",isVoid:!1},{name:"form",isVoid:!1},{name:"h1",isVoid:!1},{name:"h2",isVoid:!1},{name:"h3",isVoid:!1},{name:"h4",isVoid:!1},{name:"h5",isVoid:!1},{name:"h6",isVoid:!1},{name:"header",isVoid:!1},{name:"hgroup",isVoid:!1},{name:"hr",isVoid:!0},{name:"li",isVoid:!1},{name:"main",isVoid:!1},{name:"nav",isVoid:!1},{name:"ol",isVoid:!1},{name:"p",isVoid:!1},{name:"section",isVoid:!1},{name:"table",isVoid:!1},{name:"tbody",isVoid:!1},{name:"td",isVoid:!1},{name:"th",isVoid:!1},{name:"thead",isVoid:!1},{name:"tr",isVoid:!1},{name:"ul",isVoid:!1}],i=t.map((e=>e.name)).join("|"),o=e.replace(new RegExp(`</?(${i})( .*?)?>`,"g"),"\n$&\n").replace(/<br[^>]*>/g,"$&\n").split("\n");let n=0,r=!1;return o.filter((e=>e.length)).map((e=>(r=function(e,t){return new RegExp("<pre( .*?)?>").test(e)?"first":new RegExp("</pre>").test(e)?"last":("first"===t||"middle"===t)&&"middle"}(e,r),function(e,t){return t.some((t=>!t.isVoid&&!!new RegExp(`<${t.name}( .*?)?>`).test(e)))}(e,t)?a(e,n++):function(e,t){return t.some((t=>new RegExp(`</${t.name}>`).test(e)))}(e,t)?a(e,--n):"middle"===r||"last"===r?e:a(e,n)))).join("\n")}function a(e,t,i=" "){return`${i.repeat(Math.max(0,t))}${e}`}var s=i(591),d=i.n(s),c=i(639),l=i.n(c),u=i(128),h=i.n(u),m=i(21),g=i.n(m),p=i(51),f=i.n(p),v=i(896),b={attributes:{"data-cke":!0}};b.setAttributes=g(),b.insert=h().bind(null,"head"),b.domAPI=l(),b.insertStyleElement=f();d()(v.A,b);v.A&&v.A.locals&&v.A.locals;const w="SourceEditingMode";class E extends e.Plugin{static get pluginName(){return"SourceEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[e.PendingActions]}constructor(e){super(e),this.set("isSourceEditingMode",!1),this._elementReplacer=new n.ElementReplacer,this._replacedRoots=new Map,this._dataFromRoots=new Map,e.config.define("sourceEditing.allowCollaborationFeatures",!1)}init(){this._checkCompatibility();const e=this.editor,i=e.locale.t;e.ui.componentFactory.add("sourceEditing",(()=>{const e=this._createButton(t.ButtonView);return e.set({label:i("Source"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 0 5 4.5v15.003h-16V0h11zM3 1.5v3.25l-1.497 1-.003 8 1.5 1v3.254L7.685 18l-.001 1.504H17.5V8.002L16 9.428l-.004-4.22-4.222-3.692L3 1.5z"/><path d="M4.06 6.64a.75.75 0 0 1 .958 1.15l-.085.07L2.29 9.75l2.646 1.89c.302.216.4.62.232.951l-.058.095a.75.75 0 0 1-.951.232l-.095-.058-3.5-2.5V9.14l3.496-2.5zm4.194 6.22a.75.75 0 0 1-.958-1.149l.085-.07 2.643-1.89-2.646-1.89a.75.75 0 0 1-.232-.952l.058-.095a.75.75 0 0 1 .95-.232l.096.058 3.5 2.5v1.22l-3.496 2.5zm7.644-.836 2.122 2.122-5.825 5.809-2.125-.005.003-2.116zm2.539-1.847 1.414 1.414a.5.5 0 0 1 0 .707l-1.06 1.06-2.122-2.12 1.061-1.061a.5.5 0 0 1 .707 0z"/></svg>',tooltip:!0,class:"ck-source-editing-button"}),e})),e.ui.componentFactory.add("menuBar:sourceEditing",(()=>{const e=this._createButton(t.MenuBarMenuListItemButtonView);return e.set({label:i("Show source"),role:"menuitemcheckbox"}),e})),this._isAllowedToHandleSourceEditingMode()&&(this.on("change:isSourceEditingMode",((e,t,i)=>{i?(this._hideVisibleDialog(),this._showSourceEditing(),this._disableCommands()):(this._hideSourceEditing(),this._enableCommands())})),this.on("change:isEnabled",((e,t,i)=>this._handleReadOnlyMode(!i))),this.listenTo(e,"change:isReadOnly",((e,t,i)=>this._handleReadOnlyMode(i)))),e.data.on("get",(()=>{this.isSourceEditingMode&&this.updateEditorData()}),{priority:"high"})}updateEditorData(){const e=this.editor,t={};for(const[e,i]of this._replacedRoots){const o=this._dataFromRoots.get(e),n=i.dataset.value;o!==n&&(t[e]=n,this._dataFromRoots.set(e,n))}Object.keys(t).length&&e.data.set(t,{batchType:{isUndoable:!0},suppressErrorInCollaboration:!0})}_checkCompatibility(){const e=this.editor,t=e.config.get("sourceEditing.allowCollaborationFeatures");if(!t&&e.plugins.has("RealTimeCollaborativeEditing"))throw new n.CKEditorError("source-editing-incompatible-with-real-time-collaboration",null);!t&&["CommentsEditing","TrackChangesEditing","RevisionHistory"].some((t=>e.plugins.has(t)))&&console.warn("You initialized the editor with the source editing feature and at least one of the collaboration features. Please be advised that the source editing feature may not work, and be careful when editing document source that contains markers created by the collaboration features."),e.plugins.has("RestrictedEditingModeEditing")&&console.warn("You initialized the editor with the source editing feature and restricted editing feature. Please be advised that the source editing feature may not work, and be careful when editing document source that contains markers created by the restricted editing feature.")}_showSourceEditing(){const e=this.editor,t=e.editing.view,i=e.model;i.change((e=>{e.setSelection(null),e.removeSelectionAttribute(i.document.selection.getAttributeKeys())}));for(const[i,o]of t.domRoots){const r=y(e.data.get({rootName:i})),a=(0,n.createElement)(o.ownerDocument,"textarea",{rows:"1","aria-label":"Source code editing area"}),s=(0,n.createElement)(o.ownerDocument,"div",{class:"ck-source-editing-area","data-value":r},[a]);a.value=r,a.setSelectionRange(0,0),a.addEventListener("input",(()=>{s.dataset.value=a.value,e.ui.update()})),t.change((e=>{const o=t.document.getRoot(i);e.addClass("ck-hidden",o)})),e.ui.setEditableElement("sourceEditing:"+i,a),this._replacedRoots.set(i,s),this._elementReplacer.replace(o,s),this._dataFromRoots.set(i,r)}this._focusSourceEditing()}_hideSourceEditing(){const e=this.editor.editing.view;this.updateEditorData(),e.change((t=>{for(const[i]of this._replacedRoots)t.removeClass("ck-hidden",e.document.getRoot(i))})),this._elementReplacer.restore(),this._replacedRoots.clear(),this._dataFromRoots.clear(),e.focus()}_focusSourceEditing(){const e=this.editor,[t]=this._replacedRoots.values(),i=t.querySelector("textarea");e.editing.view.document.isFocused=!1,i.focus()}_disableCommands(){const e=this.editor;for(const t of e.commands.commands())t.forceDisabled(w);e.plugins.has("CommentsArchiveUI")&&e.plugins.get("CommentsArchiveUI").forceDisabled(w)}_enableCommands(){const e=this.editor;for(const t of e.commands.commands())t.clearForceDisabled(w);e.plugins.has("CommentsArchiveUI")&&e.plugins.get("CommentsArchiveUI").clearForceDisabled(w)}_handleReadOnlyMode(e){if(this.isSourceEditingMode)for(const[,t]of this._replacedRoots)t.querySelector("textarea").readOnly=e}_isAllowedToHandleSourceEditingMode(){const e=this.editor.ui.view.editable;return e&&!e.hasExternalElement}_hideVisibleDialog(){if(this.editor.plugins.has("Dialog")){const e=this.editor.plugins.get("Dialog");e.isOpen&&e.hide()}}_createButton(t){const i=this.editor,o=new t(i.locale);return o.set({withText:!0,isToggleable:!0}),o.bind("isOn").to(this,"isSourceEditingMode"),o.bind("isEnabled").to(this,"isEnabled",i,"isReadOnly",i.plugins.get(e.PendingActions),"hasAny",((e,t,i)=>!!e&&(!t&&!i))),this.listenTo(o,"execute",(()=>{this.isSourceEditingMode=!this.isSourceEditingMode})),o}}function y(e){return function(e){return e.startsWith("<")}(e)?r(e):e}})(),(window.CKEditor5=window.CKEditor5||{}).sourceEditing=o})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/special-characters/special-characters.js b/core/assets/vendor/ckeditor5/special-characters/special-characters.js index ed88127bda875c7218b14eaa03f9826190937f89..9cbe056928ec97da6da368244d9a622f73da847d 100644 --- a/core/assets/vendor/ckeditor5/special-characters/special-characters.js +++ b/core/assets/vendor/ckeditor5/special-characters/special-characters.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={812:(t,e,a)=>{"use strict";a.d(e,{A:()=>l});var i=a(935),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".ck.ck-character-grid{max-width:100%}.ck.ck-character-grid .ck-character-grid__tiles{display:grid}:root{--ck-character-grid-tile-size:24px}.ck.ck-character-grid{overflow-x:hidden;overflow-y:auto}.ck.ck-character-grid .ck-character-grid__tiles{grid-template-columns:repeat(auto-fill,minmax(var(--ck-character-grid-tile-size),1fr));margin:var(--ck-spacing-standard) var(--ck-spacing-large);grid-gap:var(--ck-spacing-standard)}.ck.ck-character-grid .ck-character-grid__tile{border:0;font-size:1.5em;height:var(--ck-character-grid-tile-size);min-height:var(--ck-character-grid-tile-size);min-width:var(--ck-character-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-character-grid-tile-size)}@media (prefers-reduced-motion:reduce){.ck.ck-character-grid .ck-character-grid__tile{transition:none}}.ck.ck-character-grid .ck-character-grid__tile:focus:not(.ck-disabled),.ck.ck-character-grid .ck-character-grid__tile:hover:not(.ck-disabled){border:0;box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-character-grid .ck-character-grid__tile .ck-button__label{line-height:var(--ck-character-grid-tile-size);text-align:center;width:100%}",""]);const l=r},416:(t,e,a)=>{"use strict";a.d(e,{A:()=>l});var i=a(935),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".ck.ck-character-info{border-top:1px solid var(--ck-color-base-border);display:flex;justify-content:space-between;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-character-info>*{font-size:var(--ck-font-size-small);text-transform:uppercase}.ck.ck-character-info .ck-character-info__name{max-width:280px;overflow:hidden;text-overflow:ellipsis}.ck.ck-character-info .ck-character-info__code{opacity:.6}",""]);const l=r},200:(t,e,a)=>{"use strict";a.d(e,{A:()=>l});var i=a(935),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".ck.ck-special-characters>.ck-dialog__content>div{display:grid;height:100%;max-width:100%;width:350px;grid-column-gap:0;grid-row-gap:0;grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories{grid-area:1/1/2/2;padding:var(--ck-spacing-medium) var(--ck-spacing-large)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view{padding-top:var(--ck-spacing-standard);width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}@media (prefers-reduced-motion:reduce){.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:none}}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories{.ck-dropdown{display:block;width:100%}.ck-dropdown>button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck-dropdown>button>span{width:100%}}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-grid{grid-area:2/1/3/2;max-height:200px}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-info{grid-area:3/1/4/2}.ck.ck-special-characters-navigation>.ck-label{max-width:160px;overflow:hidden;text-overflow:ellipsis}.ck.ck-special-characters-navigation>.ck-dropdown .ck-dropdown__panel{max-height:250px;overflow-x:hidden;overflow-y:auto}@media screen and (max-width:600px){.ck.ck-special-characters-navigation{max-width:190px}.ck.ck-special-characters-navigation>.ck-form__header__label{overflow:hidden;text-overflow:ellipsis}}",""]);const l=r},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=t(e);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,i){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(r[c]=!0)}for(var n=0;n<t.length;n++){var o=[].concat(t[n]);i&&r[o[0]]||(a&&(o[2]?o[2]="".concat(a," and ").concat(o[2]):o[2]=a),e.push(o))}},e}},591:(t,e,a)=>{"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},l=function(){var t={};return function(e){if(void 0===t[e]){var a=document.querySelector(e);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(t){a=null}t[e]=a}return t[e]}}(),c=[];function n(t){for(var e=-1,a=0;a<c.length;a++)if(c[a].identifier===t){e=a;break}return e}function o(t,e){for(var a={},i=[],r=0;r<t.length;r++){var l=t[r],o=e.base?l[0]+e.base:l[0],s=a[o]||0,h="".concat(o," ").concat(s);a[o]=s+1;var d=n(h),w={css:l[1],media:l[2],sourceMap:l[3]};-1!==d?(c[d].references++,c[d].updater(w)):c.push({identifier:h,updater:m(w,e),references:1}),i.push(h)}return i}function s(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var r=a.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var c=l(t.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(e)}return e}var h,d=(h=[],function(t,e){return h[t]=e,h.filter(Boolean).join("\n")});function w(t,e,a,i){var r=a?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var l=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(l,c[e]):t.appendChild(l)}}function u(t,e,a){var i=a.css,r=a.media,l=a.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),l&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var g=null,p=0;function m(t,e){var a,i,r;if(e.singleton){var l=p++;a=g||(g=s(e)),i=w.bind(null,a,l,!1),r=w.bind(null,a,l,!0)}else a=s(e),i=u.bind(null,a,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(a)};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 r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var a=o(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<a.length;i++){var r=n(a[i]);c[r].references--}for(var l=o(t,e),s=0;s<a.length;s++){var h=n(a[s]);0===c[h].references&&(c[h].updater(),c.splice(h,1))}a=l}}}},782:(t,e,a)=>{t.exports=a(237)("./src/core.js")},834:(t,e,a)=>{t.exports=a(237)("./src/typing.js")},311:(t,e,a)=>{t.exports=a(237)("./src/ui.js")},584:(t,e,a)=>{t.exports=a(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function a(i){var r=e[i];if(void 0!==r)return r.exports;var l=e[i]={id:i,exports:{}};return t[i](l,l.exports,a),l.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nc=void 0;var i={};(()=>{"use strict";a.r(i),a.d(i,{SpecialCharacters:()=>b,SpecialCharactersArrows:()=>v,SpecialCharactersCurrency:()=>C,SpecialCharactersEssentials:()=>T,SpecialCharactersLatin:()=>_,SpecialCharactersMathematical:()=>y,SpecialCharactersText:()=>x});var t=a(782),e=a(834),r=a(311),l=a(584),c=a(591),n=a.n(c),o=a(812),s={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};n()(o.A,s);o.A.locals;class h extends r.View{constructor(t){super(t),this.tiles=this.createCollection(),this.setTemplate({tag:"div",children:[{tag:"div",attributes:{class:["ck","ck-character-grid__tiles"]},children:this.tiles}],attributes:{class:["ck","ck-character-grid"]}}),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,(0,r.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.tiles,numberOfColumns:()=>l.global.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}createTile(t,e){const a=new r.ButtonView(this.locale);return a.set({label:t,withText:!0,class:"ck-character-grid__tile"}),a.extendTemplate({attributes:{title:e},on:{mouseover:a.bindTemplate.to("mouseover"),focus:a.bindTemplate.to("focus")}}),a.on("mouseover",(()=>{this.fire("tileHover",{name:e,character:t})})),a.on("focus",(()=>{this.fire("tileFocus",{name:e,character:t})})),a.on("execute",(()=>{this.fire("execute",{name:e,character:t})})),a}render(){super.render();for(const t of this.tiles)this.focusTracker.add(t.element);this.tiles.on("change",((t,{added:e,removed:a})=>{if(e.length>0)for(const t of e)this.focusTracker.add(t.element);if(a.length>0)for(const t of a)this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}focus(){this.tiles.first.focus()}}var d=a(416),w={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};n()(d.A,w);d.A.locals;class u extends r.View{constructor(t){super(t);const e=this.bindTemplate;this.set("character",null),this.set("name",null),this.bind("code").to(this,"character",g),this.setTemplate({tag:"div",children:[{tag:"span",attributes:{class:["ck-character-info__name"]},children:[{text:e.to("name",(t=>t||"​"))}]},{tag:"span",attributes:{class:["ck-character-info__code"]},children:[{text:e.to("code")}]}],attributes:{class:["ck","ck-character-info"]}})}}function g(t){if(null===t)return"";return"U+"+("0000"+t.codePointAt(0).toString(16)).slice(-4)}class p extends r.View{constructor(t,e,a,i){super(t),this.categoriesView=e,this.gridView=a,this.infoView=i,this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this._focusCycler=new r.FocusCycler({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",children:[this.categoriesView,this.gridView,this.infoView],attributes:{tabindex:"-1"}}),this.items.add(this.categoriesView),this.items.add(this.gridView)}render(){super.render(),this.focusTracker.add(this.categoriesView.element),this.focusTracker.add(this.gridView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}var m=a(200),L={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};n()(m.A,L);m.A.locals;class k extends r.View{constructor(t,e){super(t),this.set("currentGroupName",Array.from(e.entries())[0][0]),this._groupNames=e,this._dropdownView=new r.LabeledFieldView(t,r.createLabeledDropdown),this.setTemplate({tag:"div",attributes:{class:["ck","ck-character-categories"]},children:[this._dropdownView]})}render(){super.render(),this._setupDropdown()}focus(){this._dropdownView.focus()}_setupDropdown(){const t=new l.Collection;for(const[e,a]of this._groupNames){const i={type:"button",model:new r.ViewModel({name:e,label:a,role:"menuitemradio",withText:!0})};i.model.bind("isOn").to(this,"currentGroupName",(t=>t===e)),t.add(i)}const e=(0,this.locale.t)("Category");this._dropdownView.set({label:e,isEmpty:!1}),this._dropdownView.fieldView.panelPosition="rtl"===this.locale.uiLanguageDirection?"se":"sw",this._dropdownView.fieldView.buttonView.set({withText:!0,tooltip:e,ariaLabel:e,ariaLabelledBy:void 0,isOn:!1}),this._dropdownView.fieldView.buttonView.bind("label").to(this,"currentGroupName",(t=>this._groupNames.get(t))),this._dropdownView.fieldView.on("execute",(({source:t})=>{this.currentGroupName=t.name})),(0,r.addListToDropdown)(this._dropdownView.fieldView,t,{ariaLabel:e,role:"menu"})}}const f="All";class b extends t.Plugin{static get requires(){return[e.Typing,r.Dialog]}static get pluginName(){return"SpecialCharacters"}constructor(t){super(t);const e=t.t;this._characters=new Map,this._groups=new Map,this._allSpecialCharactersGroupLabel=e("All")}init(){const t=this.editor;t.ui.componentFactory.add("specialCharacters",(()=>{const t=this._createDialogButton(r.ButtonView);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add("menuBar:specialCharacters",(()=>this._createDialogButton(r.MenuBarMenuListItemButtonView)))}addItems(t,e,a={label:t}){if(t===f)throw new l.CKEditorError("special-character-invalid-group-name",null);const i=this._getGroup(t,a.label);for(const t of e)i.items.add(t.title),this._characters.set(t.title,t.character)}getGroups(){const t=Array.from(this._groups.keys()),e=this.editor.config.get("specialCharacters.order")||[],a=e.find((e=>!t.includes(e)));if(a)throw new l.CKEditorError("special-character-invalid-order-group-name",null,{invalidGroup:a});return new Set([...e,...t])}getCharactersForGroup(t){if(t===f)return new Set(this._characters.keys());const e=this._groups.get(t);return e?e.items:void 0}getCharacter(t){return this._characters.get(t)}_getGroup(t,e){return this._groups.has(t)||this._groups.set(t,{items:new Set,label:e}),this._groups.get(t)}_updateGrid(t,e){e.tiles.clear();const a=this.getCharactersForGroup(t);for(const t of a){const a=this.getCharacter(t);e.tiles.add(e.createTile(a,t))}}_createDropdownPanelContent(t){const e=Array.from(this.getGroups()).map((t=>[t,this._groups.get(t).label])),a=new Map([[f,this._allSpecialCharactersGroupLabel],...e]),i=new k(t,a),r=new h(t),l=new u(t);return r.on("tileHover",((t,e)=>{l.set(e)})),r.on("tileFocus",((t,e)=>{l.set(e)})),i.on("change:currentGroupName",((t,e,a)=>{this._updateGrid(a,r)})),this._updateGrid(i.currentGroupName,r),{categoriesView:i,gridView:r,infoView:l}}_createDialogButton(t){const e=this.editor,a=e.locale,i=new t(e.locale),r=e.commands.get("insertText"),l=a.t,c=this.editor.plugins.get("Dialog");return i.set({label:l("Special characters"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2.5a7.47 7.47 0 0 1 4.231 1.31 7.268 7.268 0 0 1 2.703 3.454 7.128 7.128 0 0 1 .199 4.353c-.39 1.436-1.475 2.72-2.633 3.677h2.013c0-.226.092-.443.254-.603a.876.876 0 0 1 1.229 0c.163.16.254.377.254.603v.853c0 .209-.078.41-.22.567a.873.873 0 0 1-.547.28l-.101.006h-4.695a.517.517 0 0 1-.516-.518v-1.265c0-.21.128-.398.317-.489a5.601 5.601 0 0 0 2.492-2.371 5.459 5.459 0 0 0 .552-3.693 5.53 5.53 0 0 0-1.955-3.2A5.71 5.71 0 0 0 10 4.206 5.708 5.708 0 0 0 6.419 5.46 5.527 5.527 0 0 0 4.46 8.663a5.457 5.457 0 0 0 .554 3.695 5.6 5.6 0 0 0 2.497 2.37.55.55 0 0 1 .317.49v1.264c0 .286-.23.518-.516.518H2.618a.877.877 0 0 1-.614-.25.845.845 0 0 1-.254-.603v-.853c0-.226.091-.443.254-.603a.876.876 0 0 1 1.228 0c.163.16.255.377.255.603h1.925c-1.158-.958-2.155-2.241-2.545-3.678a7.128 7.128 0 0 1 .199-4.352 7.268 7.268 0 0 1 2.703-3.455A7.475 7.475 0 0 1 10 2.5z"/></svg>',isToggleable:!0}),i.bind("isOn").to(c,"id",(t=>"specialCharacters"===t)),i.bind("isEnabled").to(r,"isEnabled"),i.on("execute",(()=>{"specialCharacters"!==c.id?this._showDialog():c.hide()})),i}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),a=t.locale,i=a.t,{categoriesView:l,gridView:c,infoView:n}=this._createDropdownPanelContent(a),o=new p(a,l,c,n);c.on("execute",((e,a)=>{t.execute("insertText",{text:a.character})})),e.show({id:"specialCharacters",title:i("Special characters"),className:"ck-special-characters",content:o,position:r.DialogViewPosition.EDITOR_TOP_SIDE})}}class v extends t.Plugin{static get pluginName(){return"SpecialCharactersArrows"}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Arrows",[{title:e("leftwards simple arrow"),character:"â†"},{title:e("rightwards simple arrow"),character:"→"},{title:e("upwards simple arrow"),character:"↑"},{title:e("downwards simple arrow"),character:"↓"},{title:e("leftwards double arrow"),character:"â‡"},{title:e("rightwards double arrow"),character:"⇒"},{title:e("upwards double arrow"),character:"⇑"},{title:e("downwards double arrow"),character:"⇓"},{title:e("leftwards dashed arrow"),character:"⇠"},{title:e("rightwards dashed arrow"),character:"⇢"},{title:e("upwards dashed arrow"),character:"⇡"},{title:e("downwards dashed arrow"),character:"⇣"},{title:e("leftwards arrow to bar"),character:"⇤"},{title:e("rightwards arrow to bar"),character:"⇥"},{title:e("upwards arrow to bar"),character:"⤒"},{title:e("downwards arrow to bar"),character:"⤓"},{title:e("up down arrow with base"),character:"↨"},{title:e("back with leftwards arrow above"),character:"🔙"},{title:e("end with leftwards arrow above"),character:"🔚"},{title:e("on with exclamation mark with left right arrow above"),character:"🔛"},{title:e("soon with rightwards arrow above"),character:"🔜"},{title:e("top with upwards arrow above"),character:"ðŸ”"}],{label:e("Arrows")})}}class x extends t.Plugin{static get pluginName(){return"SpecialCharactersText"}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Text",[{character:"‹",title:e("Single left-pointing angle quotation mark")},{character:"›",title:e("Single right-pointing angle quotation mark")},{character:"«",title:e("Left-pointing double angle quotation mark")},{character:"»",title:e("Right-pointing double angle quotation mark")},{character:"‘",title:e("Left single quotation mark")},{character:"’",title:e("Right single quotation mark")},{character:"“",title:e("Left double quotation mark")},{character:"â€",title:e("Right double quotation mark")},{character:"‚",title:e("Single low-9 quotation mark")},{character:"„",title:e("Double low-9 quotation mark")},{character:"¡",title:e("Inverted exclamation mark")},{character:"¿",title:e("Inverted question mark")},{character:"‥",title:e("Two dot leader")},{character:"…",title:e("Horizontal ellipsis")},{character:"‡",title:e("Double dagger")},{character:"‰",title:e("Per mille sign")},{character:"‱",title:e("Per ten thousand sign")},{character:"‼",title:e("Double exclamation mark")},{character:"âˆ",title:e("Question exclamation mark")},{character:"â‰",title:e("Exclamation question mark")},{character:"â‡",title:e("Double question mark")},{character:"©",title:e("Copyright sign")},{character:"®",title:e("Registered sign")},{character:"â„¢",title:e("Trade mark sign")},{character:"§",title:e("Section sign")},{character:"¶",title:e("Paragraph sign")},{character:"â‹",title:e("Reversed paragraph sign")}],{label:e("Text")})}}class y extends t.Plugin{static get pluginName(){return"SpecialCharactersMathematical"}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Mathematical",[{character:"<",title:e("Less-than sign")},{character:">",title:e("Greater-than sign")},{character:"≤",title:e("Less-than or equal to")},{character:"≥",title:e("Greater-than or equal to")},{character:"–",title:e("En dash")},{character:"—",title:e("Em dash")},{character:"¯",title:e("Macron")},{character:"‾",title:e("Overline")},{character:"°",title:e("Degree sign")},{character:"−",title:e("Minus sign")},{character:"±",title:e("Plus-minus sign")},{character:"÷",title:e("Division sign")},{character:"â„",title:e("Fraction slash")},{character:"×",title:e("Multiplication sign")},{character:"Æ’",title:e("Latin small letter f with hook")},{character:"∫",title:e("Integral")},{character:"∑",title:e("N-ary summation")},{character:"∞",title:e("Infinity")},{character:"√",title:e("Square root")},{character:"∼",title:e("Tilde operator")},{character:"≅",title:e("Approximately equal to")},{character:"≈",title:e("Almost equal to")},{character:"≠",title:e("Not equal to")},{character:"≡",title:e("Identical to")},{character:"∈",title:e("Element of")},{character:"∉",title:e("Not an element of")},{character:"∋",title:e("Contains as member")},{character:"âˆ",title:e("N-ary product")},{character:"∧",title:e("Logical and")},{character:"∨",title:e("Logical or")},{character:"¬",title:e("Not sign")},{character:"∩",title:e("Intersection")},{character:"∪",title:e("Union")},{character:"∂",title:e("Partial differential")},{character:"∀",title:e("For all")},{character:"∃",title:e("There exists")},{character:"∅",title:e("Empty set")},{character:"∇",title:e("Nabla")},{character:"∗",title:e("Asterisk operator")},{character:"âˆ",title:e("Proportional to")},{character:"∠",title:e("Angle")},{character:"¼",title:e("Vulgar fraction one quarter")},{character:"½",title:e("Vulgar fraction one half")},{character:"¾",title:e("Vulgar fraction three quarters")}],{label:e("Mathematical")})}}class _ extends t.Plugin{static get pluginName(){return"SpecialCharactersLatin"}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Latin",[{character:"Ä€",title:e("Latin capital letter a with macron")},{character:"Ä",title:e("Latin small letter a with macron")},{character:"Ä‚",title:e("Latin capital letter a with breve")},{character:"ă",title:e("Latin small letter a with breve")},{character:"Ä„",title:e("Latin capital letter a with ogonek")},{character:"Ä…",title:e("Latin small letter a with ogonek")},{character:"Ć",title:e("Latin capital letter c with acute")},{character:"ć",title:e("Latin small letter c with acute")},{character:"Ĉ",title:e("Latin capital letter c with circumflex")},{character:"ĉ",title:e("Latin small letter c with circumflex")},{character:"ÄŠ",title:e("Latin capital letter c with dot above")},{character:"Ä‹",title:e("Latin small letter c with dot above")},{character:"ÄŒ",title:e("Latin capital letter c with caron")},{character:"Ä",title:e("Latin small letter c with caron")},{character:"ÄŽ",title:e("Latin capital letter d with caron")},{character:"Ä",title:e("Latin small letter d with caron")},{character:"Ä",title:e("Latin capital letter d with stroke")},{character:"Ä‘",title:e("Latin small letter d with stroke")},{character:"Ä’",title:e("Latin capital letter e with macron")},{character:"Ä“",title:e("Latin small letter e with macron")},{character:"Ä”",title:e("Latin capital letter e with breve")},{character:"Ä•",title:e("Latin small letter e with breve")},{character:"Ä–",title:e("Latin capital letter e with dot above")},{character:"Ä—",title:e("Latin small letter e with dot above")},{character:"Ę",title:e("Latin capital letter e with ogonek")},{character:"Ä™",title:e("Latin small letter e with ogonek")},{character:"Äš",title:e("Latin capital letter e with caron")},{character:"Ä›",title:e("Latin small letter e with caron")},{character:"Äœ",title:e("Latin capital letter g with circumflex")},{character:"Ä",title:e("Latin small letter g with circumflex")},{character:"Äž",title:e("Latin capital letter g with breve")},{character:"ÄŸ",title:e("Latin small letter g with breve")},{character:"Ä ",title:e("Latin capital letter g with dot above")},{character:"Ä¡",title:e("Latin small letter g with dot above")},{character:"Ä¢",title:e("Latin capital letter g with cedilla")},{character:"Ä£",title:e("Latin small letter g with cedilla")},{character:"Ĥ",title:e("Latin capital letter h with circumflex")},{character:"Ä¥",title:e("Latin small letter h with circumflex")},{character:"Ħ",title:e("Latin capital letter h with stroke")},{character:"ħ",title:e("Latin small letter h with stroke")},{character:"Ĩ",title:e("Latin capital letter i with tilde")},{character:"Ä©",title:e("Latin small letter i with tilde")},{character:"Ī",title:e("Latin capital letter i with macron")},{character:"Ä«",title:e("Latin small letter i with macron")},{character:"Ĭ",title:e("Latin capital letter i with breve")},{character:"Ä",title:e("Latin small letter i with breve")},{character:"Ä®",title:e("Latin capital letter i with ogonek")},{character:"į",title:e("Latin small letter i with ogonek")},{character:"Ä°",title:e("Latin capital letter i with dot above")},{character:"ı",title:e("Latin small letter dotless i")},{character:"IJ",title:e("Latin capital ligature ij")},{character:"ij",title:e("Latin small ligature ij")},{character:"Ä´",title:e("Latin capital letter j with circumflex")},{character:"ĵ",title:e("Latin small letter j with circumflex")},{character:"Ķ",title:e("Latin capital letter k with cedilla")},{character:"Ä·",title:e("Latin small letter k with cedilla")},{character:"ĸ",title:e("Latin small letter kra")},{character:"Ĺ",title:e("Latin capital letter l with acute")},{character:"ĺ",title:e("Latin small letter l with acute")},{character:"Ä»",title:e("Latin capital letter l with cedilla")},{character:"ļ",title:e("Latin small letter l with cedilla")},{character:"Ľ",title:e("Latin capital letter l with caron")},{character:"ľ",title:e("Latin small letter l with caron")},{character:"Ä¿",title:e("Latin capital letter l with middle dot")},{character:"Å€",title:e("Latin small letter l with middle dot")},{character:"Å",title:e("Latin capital letter l with stroke")},{character:"Å‚",title:e("Latin small letter l with stroke")},{character:"Ń",title:e("Latin capital letter n with acute")},{character:"Å„",title:e("Latin small letter n with acute")},{character:"Å…",title:e("Latin capital letter n with cedilla")},{character:"ņ",title:e("Latin small letter n with cedilla")},{character:"Ň",title:e("Latin capital letter n with caron")},{character:"ň",title:e("Latin small letter n with caron")},{character:"ʼn",title:e("Latin small letter n preceded by apostrophe")},{character:"ÅŠ",title:e("Latin capital letter eng")},{character:"Å‹",title:e("Latin small letter eng")},{character:"ÅŒ",title:e("Latin capital letter o with macron")},{character:"Å",title:e("Latin small letter o with macron")},{character:"ÅŽ",title:e("Latin capital letter o with breve")},{character:"Å",title:e("Latin small letter o with breve")},{character:"Å",title:e("Latin capital letter o with double acute")},{character:"Å‘",title:e("Latin small letter o with double acute")},{character:"Å’",title:e("Latin capital ligature oe")},{character:"Å“",title:e("Latin small ligature oe")},{character:"Å”",title:e("Latin capital letter r with acute")},{character:"Å•",title:e("Latin small letter r with acute")},{character:"Å–",title:e("Latin capital letter r with cedilla")},{character:"Å—",title:e("Latin small letter r with cedilla")},{character:"Ř",title:e("Latin capital letter r with caron")},{character:"Å™",title:e("Latin small letter r with caron")},{character:"Åš",title:e("Latin capital letter s with acute")},{character:"Å›",title:e("Latin small letter s with acute")},{character:"Åœ",title:e("Latin capital letter s with circumflex")},{character:"Å",title:e("Latin small letter s with circumflex")},{character:"Åž",title:e("Latin capital letter s with cedilla")},{character:"ÅŸ",title:e("Latin small letter s with cedilla")},{character:"Å ",title:e("Latin capital letter s with caron")},{character:"Å¡",title:e("Latin small letter s with caron")},{character:"Å¢",title:e("Latin capital letter t with cedilla")},{character:"Å£",title:e("Latin small letter t with cedilla")},{character:"Ť",title:e("Latin capital letter t with caron")},{character:"Å¥",title:e("Latin small letter t with caron")},{character:"Ŧ",title:e("Latin capital letter t with stroke")},{character:"ŧ",title:e("Latin small letter t with stroke")},{character:"Ũ",title:e("Latin capital letter u with tilde")},{character:"Å©",title:e("Latin small letter u with tilde")},{character:"Ū",title:e("Latin capital letter u with macron")},{character:"Å«",title:e("Latin small letter u with macron")},{character:"Ŭ",title:e("Latin capital letter u with breve")},{character:"Å",title:e("Latin small letter u with breve")},{character:"Å®",title:e("Latin capital letter u with ring above")},{character:"ů",title:e("Latin small letter u with ring above")},{character:"Å°",title:e("Latin capital letter u with double acute")},{character:"ű",title:e("Latin small letter u with double acute")},{character:"Ų",title:e("Latin capital letter u with ogonek")},{character:"ų",title:e("Latin small letter u with ogonek")},{character:"Å´",title:e("Latin capital letter w with circumflex")},{character:"ŵ",title:e("Latin small letter w with circumflex")},{character:"Ŷ",title:e("Latin capital letter y with circumflex")},{character:"Å·",title:e("Latin small letter y with circumflex")},{character:"Ÿ",title:e("Latin capital letter y with diaeresis")},{character:"Ź",title:e("Latin capital letter z with acute")},{character:"ź",title:e("Latin small letter z with acute")},{character:"Å»",title:e("Latin capital letter z with dot above")},{character:"ż",title:e("Latin small letter z with dot above")},{character:"Ž",title:e("Latin capital letter z with caron")},{character:"ž",title:e("Latin small letter z with caron")},{character:"Å¿",title:e("Latin small letter long s")}],{label:e("Latin")})}}class C extends t.Plugin{static get pluginName(){return"SpecialCharactersCurrency"}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Currency",[{character:"$",title:e("Dollar sign")},{character:"€",title:e("Euro sign")},{character:"Â¥",title:e("Yen sign")},{character:"£",title:e("Pound sign")},{character:"¢",title:e("Cent sign")},{character:"â‚ ",title:e("Euro-currency sign")},{character:"â‚¡",title:e("Colon sign")},{character:"â‚¢",title:e("Cruzeiro sign")},{character:"â‚£",title:e("French franc sign")},{character:"₤",title:e("Lira sign")},{character:"¤",title:e("Currency sign")},{character:"â‚¿",title:e("Bitcoin sign")},{character:"â‚¥",title:e("Mill sign")},{character:"₦",title:e("Naira sign")},{character:"₧",title:e("Peseta sign")},{character:"₨",title:e("Rupee sign")},{character:"â‚©",title:e("Won sign")},{character:"₪",title:e("New sheqel sign")},{character:"â‚«",title:e("Dong sign")},{character:"â‚",title:e("Kip sign")},{character:"â‚®",title:e("Tugrik sign")},{character:"₯",title:e("Drachma sign")},{character:"â‚°",title:e("German penny sign")},{character:"₱",title:e("Peso sign")},{character:"₲",title:e("Guarani sign")},{character:"₳",title:e("Austral sign")},{character:"â‚´",title:e("Hryvnia sign")},{character:"₵",title:e("Cedi sign")},{character:"₶",title:e("Livre tournois sign")},{character:"â‚·",title:e("Spesmilo sign")},{character:"₸",title:e("Tenge sign")},{character:"₹",title:e("Indian rupee sign")},{character:"₺",title:e("Turkish lira sign")},{character:"â‚»",title:e("Nordic mark sign")},{character:"₼",title:e("Manat sign")},{character:"₽",title:e("Ruble sign")}],{label:e("Currency")})}}class T extends t.Plugin{static get pluginName(){return"SpecialCharactersEssentials"}static get requires(){return[C,x,y,v,_]}}})(),(window.CKEditor5=window.CKEditor5||{}).specialCharacters=i})(); \ No newline at end of file + */(()=>{var t={812:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-character-grid{max-width:100%}.ck.ck-character-grid .ck-character-grid__tiles{display:grid}:root{--ck-character-grid-tile-size:24px}.ck.ck-character-grid{overflow-x:hidden;overflow-y:auto}.ck.ck-character-grid .ck-character-grid__tiles{grid-template-columns:repeat(auto-fill,minmax(var(--ck-character-grid-tile-size),1fr));margin:var(--ck-spacing-standard) var(--ck-spacing-large);grid-gap:var(--ck-spacing-standard)}.ck.ck-character-grid .ck-character-grid__tile{border:0;font-size:1.5em;height:var(--ck-character-grid-tile-size);min-height:var(--ck-character-grid-tile-size);min-width:var(--ck-character-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-character-grid-tile-size)}@media (prefers-reduced-motion:reduce){.ck.ck-character-grid .ck-character-grid__tile{transition:none}}.ck.ck-character-grid .ck-character-grid__tile:focus:not(.ck-disabled),.ck.ck-character-grid .ck-character-grid__tile:hover:not(.ck-disabled){border:0;box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-character-grid .ck-character-grid__tile .ck-button__label{line-height:var(--ck-character-grid-tile-size);text-align:center;width:100%}",""]);const n=c},416:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-character-info{border-top:1px solid var(--ck-color-base-border);display:flex;justify-content:space-between;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-character-info>*{font-size:var(--ck-font-size-small);text-transform:uppercase}.ck.ck-character-info .ck-character-info__name{max-width:280px;overflow:hidden;text-overflow:ellipsis}.ck.ck-character-info .ck-character-info__code{opacity:.6}",""]);const n=c},200:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-special-characters>.ck-dialog__content>div{display:grid;height:100%;max-width:100%;width:350px;grid-column-gap:0;grid-row-gap:0;grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories{grid-area:1/1/2/2;padding:var(--ck-spacing-medium) var(--ck-spacing-large)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view{padding-top:var(--ck-spacing-standard);width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both;background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}@media (prefers-reduced-motion:reduce){.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:none}}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown{display:block;width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown>button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown>button>span{width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-grid{grid-area:2/1/3/2;max-height:200px}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-info{grid-area:3/1/4/2}.ck.ck-special-characters-navigation>.ck-label{max-width:160px;overflow:hidden;text-overflow:ellipsis}.ck.ck-special-characters-navigation>.ck-dropdown .ck-dropdown__panel{max-height:250px;overflow-x:hidden;overflow-y:auto}@media screen and (max-width:600px){.ck.ck-special-characters-navigation{max-width:190px}.ck.ck-special-characters-navigation>.ck-form__header__label{overflow:hidden;text-overflow:ellipsis}}",""]);const n=c},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a="",i=void 0!==e[5];return e[4]&&(a+="@supports (".concat(e[4],") {")),e[2]&&(a+="@media ".concat(e[2]," {")),i&&(a+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),a+=t(e),i&&(a+="}"),e[2]&&(a+="}"),e[4]&&(a+="}"),a})).join("")},e.i=function(t,a,i,r,l){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(i)for(var n=0;n<this.length;n++){var o=this[n][0];null!=o&&(c[o]=!0)}for(var s=0;s<t.length;s++){var h=[].concat(t[s]);i&&c[h[0]]||(void 0!==l&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=l),a&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=a):h[2]=a),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),e.push(h))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function a(t){for(var a=-1,i=0;i<e.length;i++)if(e[i].identifier===t){a=i;break}return a}function i(t,i){for(var l={},c=[],n=0;n<t.length;n++){var o=t[n],s=i.base?o[0]+i.base:o[0],h=l[s]||0,d="".concat(s," ").concat(h);l[s]=h+1;var w=a(d),u={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==w)e[w].references++,e[w].updater(u);else{var g=r(u,i);i.byIndex=n,e.splice(n,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function r(t,e){var a=e.domAPI(e);a.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;a.update(t=e)}else a.remove()}}t.exports=function(t,r){var l=i(t=t||[],r=r||{});return function(t){t=t||[];for(var c=0;c<l.length;c++){var n=a(l[c]);e[n].references--}for(var o=i(t,r),s=0;s<l.length;s++){var h=a(l[s]);0===e[h].references&&(e[h].updater(),e.splice(h,1))}l=o}}},128:t=>{"use strict";var e={};t.exports=function(t,a){var i=function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(t){a=null}e[t]=a}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(a)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(a){t.setAttribute(a,e[a])}))}},639:t=>{"use strict";var e,a=(e=[],function(t,a){return e[t]=a,e.filter(Boolean).join("\n")});function i(t,e,i,r){var l;if(i)l="";else{l="",r.supports&&(l+="@supports (".concat(r.supports,") {")),r.media&&(l+="@media ".concat(r.media," {"));var c=void 0!==r.layer;c&&(l+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),l+=r.css,c&&(l+="}"),r.media&&(l+="}"),r.supports&&(l+="}")}if(t.styleSheet)t.styleSheet.cssText=a(e,l);else{var n=document.createTextNode(l),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(n,o[e]):t.appendChild(n)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,a=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){i(a,e,!1,t)},remove:function(t){i(a,e,!0,t)}}}},782:(t,e,a)=>{t.exports=a(237)("./src/core.js")},834:(t,e,a)=>{t.exports=a(237)("./src/typing.js")},311:(t,e,a)=>{t.exports=a(237)("./src/ui.js")},584:(t,e,a)=>{t.exports=a(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function a(i){var r=e[i];if(void 0!==r)return r.exports;var l=e[i]={id:i,exports:{}};return t[i](l,l.exports,a),l.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";a.r(i),a.d(i,{SpecialCharacters:()=>S,SpecialCharactersArrows:()=>A,SpecialCharactersCurrency:()=>D,SpecialCharactersEssentials:()=>E,SpecialCharactersLatin:()=>N,SpecialCharactersMathematical:()=>V,SpecialCharactersText:()=>P});var t=a(782),e=a(834),r=a(311),l=a(584),c=a(591),n=a.n(c),o=a(639),s=a.n(o),h=a(128),d=a.n(h),w=a(21),u=a.n(w),g=a(51),p=a.n(g),m=a(812),L={attributes:{"data-cke":!0}};L.setAttributes=u(),L.insert=d().bind(null,"head"),L.domAPI=s(),L.insertStyleElement=p();n()(m.A,L);m.A&&m.A.locals&&m.A.locals;class k extends r.View{constructor(t){super(t),this.tiles=this.createCollection(),this.setTemplate({tag:"div",children:[{tag:"div",attributes:{class:["ck","ck-character-grid__tiles"]},children:this.tiles}],attributes:{class:["ck","ck-character-grid"]}}),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,(0,r.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.tiles,numberOfColumns:()=>l.global.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}createTile(t,e){const a=new r.ButtonView(this.locale);return a.set({label:t,withText:!0,class:"ck-character-grid__tile"}),a.extendTemplate({attributes:{title:e},on:{mouseover:a.bindTemplate.to("mouseover"),focus:a.bindTemplate.to("focus")}}),a.on("mouseover",(()=>{this.fire("tileHover",{name:e,character:t})})),a.on("focus",(()=>{this.fire("tileFocus",{name:e,character:t})})),a.on("execute",(()=>{this.fire("execute",{name:e,character:t})})),a}render(){super.render();for(const t of this.tiles)this.focusTracker.add(t.element);this.tiles.on("change",((t,{added:e,removed:a})=>{if(e.length>0)for(const t of e)this.focusTracker.add(t.element);if(a.length>0)for(const t of a)this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}focus(){this.tiles.first.focus()}}var f=a(416),b={attributes:{"data-cke":!0}};b.setAttributes=u(),b.insert=d().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=p();n()(f.A,b);f.A&&f.A.locals&&f.A.locals;class v extends r.View{constructor(t){super(t);const e=this.bindTemplate;this.set("character",null),this.set("name",null),this.bind("code").to(this,"character",x),this.setTemplate({tag:"div",children:[{tag:"span",attributes:{class:["ck-character-info__name"]},children:[{text:e.to("name",(t=>t||"​"))}]},{tag:"span",attributes:{class:["ck-character-info__code"]},children:[{text:e.to("code")}]}],attributes:{class:["ck","ck-character-info"]}})}}function x(t){if(null===t)return"";return"U+"+("0000"+t.codePointAt(0).toString(16)).slice(-4)}class y extends r.View{constructor(t,e,a,i){super(t),this.categoriesView=e,this.gridView=a,this.infoView=i,this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this._focusCycler=new r.FocusCycler({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",children:[this.categoriesView,this.gridView,this.infoView],attributes:{tabindex:"-1"}}),this.items.add(this.categoriesView),this.items.add(this.gridView)}render(){super.render(),this.focusTracker.add(this.categoriesView.element),this.focusTracker.add(this.gridView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}var _=a(200),C={attributes:{"data-cke":!0}};C.setAttributes=u(),C.insert=d().bind(null,"head"),C.domAPI=s(),C.insertStyleElement=p();n()(_.A,C);_.A&&_.A.locals&&_.A.locals;class T extends r.View{constructor(t,e){super(t),this.set("currentGroupName",Array.from(e.entries())[0][0]),this._groupNames=e,this._dropdownView=new r.LabeledFieldView(t,r.createLabeledDropdown),this.setTemplate({tag:"div",attributes:{class:["ck","ck-character-categories"]},children:[this._dropdownView]})}render(){super.render(),this._setupDropdown()}focus(){this._dropdownView.focus()}_setupDropdown(){const t=new l.Collection;for(const[e,a]of this._groupNames){const i={type:"button",model:new r.ViewModel({name:e,label:a,role:"menuitemradio",withText:!0})};i.model.bind("isOn").to(this,"currentGroupName",(t=>t===e)),t.add(i)}const e=(0,this.locale.t)("Category");this._dropdownView.set({label:e,isEmpty:!1}),this._dropdownView.fieldView.panelPosition="rtl"===this.locale.uiLanguageDirection?"se":"sw",this._dropdownView.fieldView.buttonView.set({withText:!0,tooltip:e,ariaLabel:e,ariaLabelledBy:void 0,isOn:!1}),this._dropdownView.fieldView.buttonView.bind("label").to(this,"currentGroupName",(t=>this._groupNames.get(t))),this._dropdownView.fieldView.on("execute",(({source:t})=>{this.currentGroupName=t.name})),(0,r.addListToDropdown)(this._dropdownView.fieldView,t,{ariaLabel:e,role:"menu"})}}const q="All";class S extends t.Plugin{static get requires(){return[e.Typing,r.Dialog]}static get pluginName(){return"SpecialCharacters"}static get isOfficialPlugin(){return!0}constructor(t){super(t);const e=t.t;this._characters=new Map,this._groups=new Map,this._allSpecialCharactersGroupLabel=e("All")}init(){const t=this.editor;t.ui.componentFactory.add("specialCharacters",(()=>{const t=this._createDialogButton(r.ButtonView);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add("menuBar:specialCharacters",(()=>this._createDialogButton(r.MenuBarMenuListItemButtonView)))}addItems(t,e,a={label:t}){if(t===q)throw new l.CKEditorError("special-character-invalid-group-name",null);const i=this._getGroup(t,a.label);for(const t of e)i.items.add(t.title),this._characters.set(t.title,t.character)}getGroups(){const t=Array.from(this._groups.keys()),e=this.editor.config.get("specialCharacters.order")||[],a=e.find((e=>!t.includes(e)));if(a)throw new l.CKEditorError("special-character-invalid-order-group-name",null,{invalidGroup:a});return new Set([...e,...t])}getCharactersForGroup(t){if(t===q)return new Set(this._characters.keys());const e=this._groups.get(t);return e?e.items:void 0}getCharacter(t){return this._characters.get(t)}_getGroup(t,e){return this._groups.has(t)||this._groups.set(t,{items:new Set,label:e}),this._groups.get(t)}_updateGrid(t,e){e.tiles.clear();const a=this.getCharactersForGroup(t);for(const t of a){const a=this.getCharacter(t);e.tiles.add(e.createTile(a,t))}}_createDropdownPanelContent(t){const e=Array.from(this.getGroups()).map((t=>[t,this._groups.get(t).label])),a=new Map([[q,this._allSpecialCharactersGroupLabel],...e]),i=new T(t,a),r=new k(t),l=new v(t);return r.on("tileHover",((t,e)=>{l.set(e)})),r.on("tileFocus",((t,e)=>{l.set(e)})),i.on("change:currentGroupName",((t,e,a)=>{this._updateGrid(a,r)})),this._updateGrid(i.currentGroupName,r),{categoriesView:i,gridView:r,infoView:l}}_createDialogButton(t){const e=this.editor,a=e.locale,i=new t(e.locale),r=e.commands.get("insertText"),l=a.t,c=this.editor.plugins.get("Dialog");return i.set({label:l("Special characters"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2.5a7.47 7.47 0 0 1 4.231 1.31 7.268 7.268 0 0 1 2.703 3.454 7.128 7.128 0 0 1 .199 4.353c-.39 1.436-1.475 2.72-2.633 3.677h2.013c0-.226.092-.443.254-.603a.876.876 0 0 1 1.229 0c.163.16.254.377.254.603v.853c0 .209-.078.41-.22.567a.873.873 0 0 1-.547.28l-.101.006h-4.695a.517.517 0 0 1-.516-.518v-1.265c0-.21.128-.398.317-.489a5.601 5.601 0 0 0 2.492-2.371 5.459 5.459 0 0 0 .552-3.693 5.53 5.53 0 0 0-1.955-3.2A5.71 5.71 0 0 0 10 4.206 5.708 5.708 0 0 0 6.419 5.46 5.527 5.527 0 0 0 4.46 8.663a5.457 5.457 0 0 0 .554 3.695 5.6 5.6 0 0 0 2.497 2.37.55.55 0 0 1 .317.49v1.264c0 .286-.23.518-.516.518H2.618a.877.877 0 0 1-.614-.25.845.845 0 0 1-.254-.603v-.853c0-.226.091-.443.254-.603a.876.876 0 0 1 1.228 0c.163.16.255.377.255.603h1.925c-1.158-.958-2.155-2.241-2.545-3.678a7.128 7.128 0 0 1 .199-4.352 7.268 7.268 0 0 1 2.703-3.455A7.475 7.475 0 0 1 10 2.5z"/></svg>',isToggleable:!0}),i.bind("isOn").to(c,"id",(t=>"specialCharacters"===t)),i.bind("isEnabled").to(r,"isEnabled"),i.on("execute",(()=>{"specialCharacters"!==c.id?this._showDialog():c.hide()})),i}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),a=t.locale,i=a.t,{categoriesView:l,gridView:c,infoView:n}=this._createDropdownPanelContent(a),o=new y(a,l,c,n);c.on("execute",((e,a)=>{t.execute("insertText",{text:a.character})})),e.show({id:"specialCharacters",title:i("Special characters"),className:"ck-special-characters",content:o,position:r.DialogViewPosition.EDITOR_TOP_SIDE})}}class A extends t.Plugin{static get pluginName(){return"SpecialCharactersArrows"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Arrows",[{title:e("leftwards simple arrow"),character:"â†"},{title:e("rightwards simple arrow"),character:"→"},{title:e("upwards simple arrow"),character:"↑"},{title:e("downwards simple arrow"),character:"↓"},{title:e("leftwards double arrow"),character:"â‡"},{title:e("rightwards double arrow"),character:"⇒"},{title:e("upwards double arrow"),character:"⇑"},{title:e("downwards double arrow"),character:"⇓"},{title:e("leftwards dashed arrow"),character:"⇠"},{title:e("rightwards dashed arrow"),character:"⇢"},{title:e("upwards dashed arrow"),character:"⇡"},{title:e("downwards dashed arrow"),character:"⇣"},{title:e("leftwards arrow to bar"),character:"⇤"},{title:e("rightwards arrow to bar"),character:"⇥"},{title:e("upwards arrow to bar"),character:"⤒"},{title:e("downwards arrow to bar"),character:"⤓"},{title:e("up down arrow with base"),character:"↨"},{title:e("back with leftwards arrow above"),character:"🔙"},{title:e("end with leftwards arrow above"),character:"🔚"},{title:e("on with exclamation mark with left right arrow above"),character:"🔛"},{title:e("soon with rightwards arrow above"),character:"🔜"},{title:e("top with upwards arrow above"),character:"ðŸ”"}],{label:e("Arrows")})}}class P extends t.Plugin{static get pluginName(){return"SpecialCharactersText"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Text",[{character:"‹",title:e("Single left-pointing angle quotation mark")},{character:"›",title:e("Single right-pointing angle quotation mark")},{character:"«",title:e("Left-pointing double angle quotation mark")},{character:"»",title:e("Right-pointing double angle quotation mark")},{character:"‘",title:e("Left single quotation mark")},{character:"’",title:e("Right single quotation mark")},{character:"“",title:e("Left double quotation mark")},{character:"â€",title:e("Right double quotation mark")},{character:"‚",title:e("Single low-9 quotation mark")},{character:"„",title:e("Double low-9 quotation mark")},{character:"¡",title:e("Inverted exclamation mark")},{character:"¿",title:e("Inverted question mark")},{character:"‥",title:e("Two dot leader")},{character:"…",title:e("Horizontal ellipsis")},{character:"‡",title:e("Double dagger")},{character:"‰",title:e("Per mille sign")},{character:"‱",title:e("Per ten thousand sign")},{character:"‼",title:e("Double exclamation mark")},{character:"âˆ",title:e("Question exclamation mark")},{character:"â‰",title:e("Exclamation question mark")},{character:"â‡",title:e("Double question mark")},{character:"©",title:e("Copyright sign")},{character:"®",title:e("Registered sign")},{character:"â„¢",title:e("Trade mark sign")},{character:"§",title:e("Section sign")},{character:"¶",title:e("Paragraph sign")},{character:"â‹",title:e("Reversed paragraph sign")}],{label:e("Text")})}}class V extends t.Plugin{static get pluginName(){return"SpecialCharactersMathematical"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Mathematical",[{character:"<",title:e("Less-than sign")},{character:">",title:e("Greater-than sign")},{character:"≤",title:e("Less-than or equal to")},{character:"≥",title:e("Greater-than or equal to")},{character:"–",title:e("En dash")},{character:"—",title:e("Em dash")},{character:"¯",title:e("Macron")},{character:"‾",title:e("Overline")},{character:"°",title:e("Degree sign")},{character:"−",title:e("Minus sign")},{character:"±",title:e("Plus-minus sign")},{character:"÷",title:e("Division sign")},{character:"â„",title:e("Fraction slash")},{character:"×",title:e("Multiplication sign")},{character:"Æ’",title:e("Latin small letter f with hook")},{character:"∫",title:e("Integral")},{character:"∑",title:e("N-ary summation")},{character:"∞",title:e("Infinity")},{character:"√",title:e("Square root")},{character:"∼",title:e("Tilde operator")},{character:"≅",title:e("Approximately equal to")},{character:"≈",title:e("Almost equal to")},{character:"≠",title:e("Not equal to")},{character:"≡",title:e("Identical to")},{character:"∈",title:e("Element of")},{character:"∉",title:e("Not an element of")},{character:"∋",title:e("Contains as member")},{character:"âˆ",title:e("N-ary product")},{character:"∧",title:e("Logical and")},{character:"∨",title:e("Logical or")},{character:"¬",title:e("Not sign")},{character:"∩",title:e("Intersection")},{character:"∪",title:e("Union")},{character:"∂",title:e("Partial differential")},{character:"∀",title:e("For all")},{character:"∃",title:e("There exists")},{character:"∅",title:e("Empty set")},{character:"∇",title:e("Nabla")},{character:"∗",title:e("Asterisk operator")},{character:"âˆ",title:e("Proportional to")},{character:"∠",title:e("Angle")},{character:"¼",title:e("Vulgar fraction one quarter")},{character:"½",title:e("Vulgar fraction one half")},{character:"¾",title:e("Vulgar fraction three quarters")}],{label:e("Mathematical")})}}class N extends t.Plugin{static get pluginName(){return"SpecialCharactersLatin"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Latin",[{character:"Ä€",title:e("Latin capital letter a with macron")},{character:"Ä",title:e("Latin small letter a with macron")},{character:"Ä‚",title:e("Latin capital letter a with breve")},{character:"ă",title:e("Latin small letter a with breve")},{character:"Ä„",title:e("Latin capital letter a with ogonek")},{character:"Ä…",title:e("Latin small letter a with ogonek")},{character:"Ć",title:e("Latin capital letter c with acute")},{character:"ć",title:e("Latin small letter c with acute")},{character:"Ĉ",title:e("Latin capital letter c with circumflex")},{character:"ĉ",title:e("Latin small letter c with circumflex")},{character:"ÄŠ",title:e("Latin capital letter c with dot above")},{character:"Ä‹",title:e("Latin small letter c with dot above")},{character:"ÄŒ",title:e("Latin capital letter c with caron")},{character:"Ä",title:e("Latin small letter c with caron")},{character:"ÄŽ",title:e("Latin capital letter d with caron")},{character:"Ä",title:e("Latin small letter d with caron")},{character:"Ä",title:e("Latin capital letter d with stroke")},{character:"Ä‘",title:e("Latin small letter d with stroke")},{character:"Ä’",title:e("Latin capital letter e with macron")},{character:"Ä“",title:e("Latin small letter e with macron")},{character:"Ä”",title:e("Latin capital letter e with breve")},{character:"Ä•",title:e("Latin small letter e with breve")},{character:"Ä–",title:e("Latin capital letter e with dot above")},{character:"Ä—",title:e("Latin small letter e with dot above")},{character:"Ę",title:e("Latin capital letter e with ogonek")},{character:"Ä™",title:e("Latin small letter e with ogonek")},{character:"Äš",title:e("Latin capital letter e with caron")},{character:"Ä›",title:e("Latin small letter e with caron")},{character:"Äœ",title:e("Latin capital letter g with circumflex")},{character:"Ä",title:e("Latin small letter g with circumflex")},{character:"Äž",title:e("Latin capital letter g with breve")},{character:"ÄŸ",title:e("Latin small letter g with breve")},{character:"Ä ",title:e("Latin capital letter g with dot above")},{character:"Ä¡",title:e("Latin small letter g with dot above")},{character:"Ä¢",title:e("Latin capital letter g with cedilla")},{character:"Ä£",title:e("Latin small letter g with cedilla")},{character:"Ĥ",title:e("Latin capital letter h with circumflex")},{character:"Ä¥",title:e("Latin small letter h with circumflex")},{character:"Ħ",title:e("Latin capital letter h with stroke")},{character:"ħ",title:e("Latin small letter h with stroke")},{character:"Ĩ",title:e("Latin capital letter i with tilde")},{character:"Ä©",title:e("Latin small letter i with tilde")},{character:"Ī",title:e("Latin capital letter i with macron")},{character:"Ä«",title:e("Latin small letter i with macron")},{character:"Ĭ",title:e("Latin capital letter i with breve")},{character:"Ä",title:e("Latin small letter i with breve")},{character:"Ä®",title:e("Latin capital letter i with ogonek")},{character:"į",title:e("Latin small letter i with ogonek")},{character:"Ä°",title:e("Latin capital letter i with dot above")},{character:"ı",title:e("Latin small letter dotless i")},{character:"IJ",title:e("Latin capital ligature ij")},{character:"ij",title:e("Latin small ligature ij")},{character:"Ä´",title:e("Latin capital letter j with circumflex")},{character:"ĵ",title:e("Latin small letter j with circumflex")},{character:"Ķ",title:e("Latin capital letter k with cedilla")},{character:"Ä·",title:e("Latin small letter k with cedilla")},{character:"ĸ",title:e("Latin small letter kra")},{character:"Ĺ",title:e("Latin capital letter l with acute")},{character:"ĺ",title:e("Latin small letter l with acute")},{character:"Ä»",title:e("Latin capital letter l with cedilla")},{character:"ļ",title:e("Latin small letter l with cedilla")},{character:"Ľ",title:e("Latin capital letter l with caron")},{character:"ľ",title:e("Latin small letter l with caron")},{character:"Ä¿",title:e("Latin capital letter l with middle dot")},{character:"Å€",title:e("Latin small letter l with middle dot")},{character:"Å",title:e("Latin capital letter l with stroke")},{character:"Å‚",title:e("Latin small letter l with stroke")},{character:"Ń",title:e("Latin capital letter n with acute")},{character:"Å„",title:e("Latin small letter n with acute")},{character:"Å…",title:e("Latin capital letter n with cedilla")},{character:"ņ",title:e("Latin small letter n with cedilla")},{character:"Ň",title:e("Latin capital letter n with caron")},{character:"ň",title:e("Latin small letter n with caron")},{character:"ʼn",title:e("Latin small letter n preceded by apostrophe")},{character:"ÅŠ",title:e("Latin capital letter eng")},{character:"Å‹",title:e("Latin small letter eng")},{character:"ÅŒ",title:e("Latin capital letter o with macron")},{character:"Å",title:e("Latin small letter o with macron")},{character:"ÅŽ",title:e("Latin capital letter o with breve")},{character:"Å",title:e("Latin small letter o with breve")},{character:"Å",title:e("Latin capital letter o with double acute")},{character:"Å‘",title:e("Latin small letter o with double acute")},{character:"Å’",title:e("Latin capital ligature oe")},{character:"Å“",title:e("Latin small ligature oe")},{character:"Å”",title:e("Latin capital letter r with acute")},{character:"Å•",title:e("Latin small letter r with acute")},{character:"Å–",title:e("Latin capital letter r with cedilla")},{character:"Å—",title:e("Latin small letter r with cedilla")},{character:"Ř",title:e("Latin capital letter r with caron")},{character:"Å™",title:e("Latin small letter r with caron")},{character:"Åš",title:e("Latin capital letter s with acute")},{character:"Å›",title:e("Latin small letter s with acute")},{character:"Åœ",title:e("Latin capital letter s with circumflex")},{character:"Å",title:e("Latin small letter s with circumflex")},{character:"Åž",title:e("Latin capital letter s with cedilla")},{character:"ÅŸ",title:e("Latin small letter s with cedilla")},{character:"Å ",title:e("Latin capital letter s with caron")},{character:"Å¡",title:e("Latin small letter s with caron")},{character:"Å¢",title:e("Latin capital letter t with cedilla")},{character:"Å£",title:e("Latin small letter t with cedilla")},{character:"Ť",title:e("Latin capital letter t with caron")},{character:"Å¥",title:e("Latin small letter t with caron")},{character:"Ŧ",title:e("Latin capital letter t with stroke")},{character:"ŧ",title:e("Latin small letter t with stroke")},{character:"Ũ",title:e("Latin capital letter u with tilde")},{character:"Å©",title:e("Latin small letter u with tilde")},{character:"Ū",title:e("Latin capital letter u with macron")},{character:"Å«",title:e("Latin small letter u with macron")},{character:"Ŭ",title:e("Latin capital letter u with breve")},{character:"Å",title:e("Latin small letter u with breve")},{character:"Å®",title:e("Latin capital letter u with ring above")},{character:"ů",title:e("Latin small letter u with ring above")},{character:"Å°",title:e("Latin capital letter u with double acute")},{character:"ű",title:e("Latin small letter u with double acute")},{character:"Ų",title:e("Latin capital letter u with ogonek")},{character:"ų",title:e("Latin small letter u with ogonek")},{character:"Å´",title:e("Latin capital letter w with circumflex")},{character:"ŵ",title:e("Latin small letter w with circumflex")},{character:"Ŷ",title:e("Latin capital letter y with circumflex")},{character:"Å·",title:e("Latin small letter y with circumflex")},{character:"Ÿ",title:e("Latin capital letter y with diaeresis")},{character:"Ź",title:e("Latin capital letter z with acute")},{character:"ź",title:e("Latin small letter z with acute")},{character:"Å»",title:e("Latin capital letter z with dot above")},{character:"ż",title:e("Latin small letter z with dot above")},{character:"Ž",title:e("Latin capital letter z with caron")},{character:"ž",title:e("Latin small letter z with caron")},{character:"Å¿",title:e("Latin small letter long s")}],{label:e("Latin")})}}class D extends t.Plugin{static get pluginName(){return"SpecialCharactersCurrency"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Currency",[{character:"$",title:e("Dollar sign")},{character:"€",title:e("Euro sign")},{character:"Â¥",title:e("Yen sign")},{character:"£",title:e("Pound sign")},{character:"¢",title:e("Cent sign")},{character:"â‚ ",title:e("Euro-currency sign")},{character:"â‚¡",title:e("Colon sign")},{character:"â‚¢",title:e("Cruzeiro sign")},{character:"â‚£",title:e("French franc sign")},{character:"₤",title:e("Lira sign")},{character:"¤",title:e("Currency sign")},{character:"â‚¿",title:e("Bitcoin sign")},{character:"â‚¥",title:e("Mill sign")},{character:"₦",title:e("Naira sign")},{character:"₧",title:e("Peseta sign")},{character:"₨",title:e("Rupee sign")},{character:"â‚©",title:e("Won sign")},{character:"₪",title:e("New sheqel sign")},{character:"â‚«",title:e("Dong sign")},{character:"â‚",title:e("Kip sign")},{character:"â‚®",title:e("Tugrik sign")},{character:"₯",title:e("Drachma sign")},{character:"â‚°",title:e("German penny sign")},{character:"₱",title:e("Peso sign")},{character:"₲",title:e("Guarani sign")},{character:"₳",title:e("Austral sign")},{character:"â‚´",title:e("Hryvnia sign")},{character:"₵",title:e("Cedi sign")},{character:"₶",title:e("Livre tournois sign")},{character:"â‚·",title:e("Spesmilo sign")},{character:"₸",title:e("Tenge sign")},{character:"₹",title:e("Indian rupee sign")},{character:"₺",title:e("Turkish lira sign")},{character:"â‚»",title:e("Nordic mark sign")},{character:"₼",title:e("Manat sign")},{character:"₽",title:e("Ruble sign")}],{label:e("Currency")})}}class E extends t.Plugin{static get pluginName(){return"SpecialCharactersEssentials"}static get isOfficialPlugin(){return!0}static get requires(){return[D,P,V,A,N]}}})(),(window.CKEditor5=window.CKEditor5||{}).specialCharacters=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/style/style.js b/core/assets/vendor/ckeditor5/style/style.js index 1dd69b2be7d9be05f1cfcc49d2752b319eb35e44..dfef3836773305c81a688fde28ca28338864a5ca 100644 --- a/core/assets/vendor/ckeditor5/style/style.js +++ b/core/assets/vendor/ckeditor5/style/style.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={702:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(935),l=s.n(i)()((function(e){return e[1]}));l.push([e.id,".ck.ck-dropdown.ck-style-dropdown.ck-style-dropdown_multiple-active>.ck-button>.ck-button__label{font-style:italic}",""]);const n=l},930:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(935),l=s.n(i)()((function(e){return e[1]}));l.push([e.id,":root{--ck-style-panel-columns:3}.ck.ck-style-panel .ck-style-grid{display:grid;grid-template-columns:repeat(var(--ck-style-panel-columns),auto);justify-content:start}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button{display:flex;flex-direction:column;justify-content:space-between}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview{align-content:center;align-items:center;display:flex;flex-basis:100%;flex-grow:1;justify-content:flex-start}:root{--ck-style-panel-button-width:120px;--ck-style-panel-button-height:80px;--ck-style-panel-button-label-background:#f0f0f0;--ck-style-panel-button-hover-label-background:#ebebeb;--ck-style-panel-button-hover-border-color:#b3b3b3}.ck.ck-style-panel .ck-style-grid{column-gap:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button{--ck-color-button-default-hover-background:var(--ck-color-base-background);--ck-color-button-default-active-background:var(--ck-color-base-background);height:var(--ck-style-panel-button-height);padding:0;width:var(--ck-style-panel-button-width)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-button__label{flex-shrink:0;height:22px;line-height:22px;overflow:hidden;padding:0 var(--ck-spacing-medium);text-overflow:ellipsis;width:100%}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview{background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);opacity:.9;overflow:hidden;padding:var(--ck-spacing-medium);width:100%}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled{--ck-color-button-default-disabled-background:var(--ck-color-base-foreground)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled:not(:focus){border-color:var(--ck-style-panel-button-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled .ck-style-grid__button__preview{border-color:var(--ck-color-base-foreground);filter:saturate(.3);opacity:.4}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on{border-color:var(--ck-color-base-active)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on .ck-button__label{box-shadow:0 -1px 0 var(--ck-color-base-active);z-index:1}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on:hover{border-color:var(--ck-color-base-active-focus)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on) .ck-button__label{background:var(--ck-style-panel-button-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on):hover .ck-button__label{background:var(--ck-style-panel-button-hover-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on){border-color:var(--ck-style-panel-button-hover-border-color)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on) .ck-style-grid__button__preview{opacity:1}",""]);const n=l},881:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(935),l=s.n(i)()((function(e){return e[1]}));l.push([e.id,".ck.ck-style-panel .ck-style-panel__style-group>.ck-label{margin:var(--ck-spacing-large) 0}.ck.ck-style-panel .ck-style-panel__style-group:first-child>.ck-label{margin-top:0}",""]);const n=l},374:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(935),l=s.n(i)()((function(e){return e[1]}));l.push([e.id,":root{--ck-style-panel-max-height:470px}.ck.ck-style-panel{max-height:var(--ck-style-panel-max-height);overflow-y:auto;padding:var(--ck-spacing-large)}",""]);const n=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var s=e(t);return t[2]?"@media ".concat(t[2]," {").concat(s,"}"):s})).join("")},t.i=function(e,s,i){"string"==typeof e&&(e=[[null,e,""]]);var l={};if(i)for(var n=0;n<this.length;n++){var r=this[n][0];null!=r&&(l[r]=!0)}for(var o=0;o<e.length;o++){var c=[].concat(e[o]);i&&l[c[0]]||(s&&(c[2]?c[2]="".concat(s," and ").concat(c[2]):c[2]=s),t.push(c))}},t}},591:(e,t,s)=>{"use strict";var i,l=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},n=function(){var e={};return function(t){if(void 0===e[t]){var s=document.querySelector(t);if(window.HTMLIFrameElement&&s instanceof window.HTMLIFrameElement)try{s=s.contentDocument.head}catch(e){s=null}e[t]=s}return e[t]}}(),r=[];function o(e){for(var t=-1,s=0;s<r.length;s++)if(r[s].identifier===e){t=s;break}return t}function c(e,t){for(var s={},i=[],l=0;l<e.length;l++){var n=e[l],c=t.base?n[0]+t.base:n[0],a=s[c]||0,d="".concat(c," ").concat(a);s[c]=a+1;var u=o(d),h={css:n[1],media:n[2],sourceMap:n[3]};-1!==u?(r[u].references++,r[u].updater(h)):r.push({identifier:d,updater:f(h,t),references:1}),i.push(d)}return i}function a(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var l=s.nc;l&&(i.nonce=l)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var r=n(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function h(e,t,s,i){var l=s?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=u(t,l);else{var n=document.createTextNode(l),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(n,r[t]):e.appendChild(n)}}function g(e,t,s){var i=s.css,l=s.media,n=s.sourceMap;if(l?e.setAttribute("media",l):e.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var p=null,y=0;function f(e,t){var s,i,l;if(t.singleton){var n=y++;s=p||(p=a(t)),i=h.bind(null,s,n,!1),l=h.bind(null,s,n,!0)}else s=a(t),i=g.bind(null,s,t),l=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(s)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else l()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=l());var s=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<s.length;i++){var l=o(s[i]);r[l].references--}for(var n=c(e,t),a=0;a<s.length;a++){var d=o(s[a]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}s=n}}}},782:(e,t,s)=>{e.exports=s(237)("./src/core.js")},834:(e,t,s)=>{e.exports=s(237)("./src/typing.js")},311:(e,t,s)=>{e.exports=s(237)("./src/ui.js")},584:(e,t,s)=>{e.exports=s(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function s(i){var l=t[i];if(void 0!==l)return l.exports;var n=t[i]={id:i,exports:{}};return e[i](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0;var i={};(()=>{"use strict";s.r(i),s.d(i,{Style:()=>U,StyleEditing:()=>V,StyleUI:()=>w,StyleUtils:()=>m});var e=s(782),t=s(311),l=s(584);class n extends t.ButtonView{constructor(e,t){super(e),this.styleDefinition=t,this.previewView=this._createPreview(),this.set({label:t.name,class:"ck-style-grid__button",withText:!0}),this.extendTemplate({attributes:{role:"option"}}),this.children.add(this.previewView,0)}_createPreview(){const e=new t.View(this.locale);return e.setTemplate({tag:"div",attributes:{class:["ck","ck-reset_all-excluded","ck-style-grid__button__preview","ck-content"],"aria-hidden":"true"},children:[this.styleDefinition.previewTemplate]}),e}}var r=s(591),o=s.n(r),c=s(930),a={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(c.A,a);c.A.locals;class d extends t.View{constructor(e,t){super(e),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.set("activeStyles",[]),this.set("enabledStyles",[]),this.children=this.createCollection(),this.children.delegate("execute").to(this);for(const s of t){const t=new n(e,s);this.children.add(t)}this.on("change:activeStyles",(()=>{for(const e of this.children)e.isOn=this.activeStyles.includes(e.styleDefinition.name)})),this.on("change:enabledStyles",(()=>{for(const e of this.children)e.isEnabled=this.enabledStyles.includes(e.styleDefinition.name)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-grid"],role:"listbox"},children:this.children})}render(){super.render();for(const e of this.children)this.focusTracker.add(e.element);(0,t.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.children,numberOfColumns:3,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection}),this.keystrokes.listenTo(this.element)}focus(){this.children.first.focus()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}var u=s(881),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(u.A,h);u.A.locals;class g extends t.View{constructor(e,s,i){super(e),this.labelView=new t.LabelView(e),this.labelView.text=s,this.gridView=new d(e,i),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel__style-group"],role:"group","aria-labelledby":this.labelView.id},children:[this.labelView,this.gridView]})}}var p=s(374),y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(p.A,y);p.A.locals;class f extends t.View{constructor(e,s){super(e);const i=e.t;this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.children=this.createCollection(),this.blockStylesGroupView=new g(e,i("Block styles"),s.block),this.inlineStylesGroupView=new g(e,i("Text styles"),s.inline),this.set("activeStyles",[]),this.set("enabledStyles",[]),this._focusables=new t.ViewCollection,this._focusCycler=new t.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:["shift + tab"],focusNext:["tab"]}}),s.block.length&&this.children.add(this.blockStylesGroupView),s.inline.length&&this.children.add(this.inlineStylesGroupView),this.blockStylesGroupView.gridView.delegate("execute").to(this),this.inlineStylesGroupView.gridView.delegate("execute").to(this),this.blockStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.inlineStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel"]},children:this.children})}render(){super.render(),this._focusables.add(this.blockStylesGroupView.gridView),this._focusables.add(this.inlineStylesGroupView.gridView),this.focusTracker.add(this.blockStylesGroupView.gridView.element),this.focusTracker.add(this.inlineStylesGroupView.gridView.element),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}const k=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},b=["caption","colgroup","dd","dt","figcaption","legend","li","optgroup","option","rp","rt","summary","tbody","td","tfoot","th","thead","tr"];class m extends e.Plugin{static get pluginName(){return"StyleUtils"}constructor(e){super(e),this.decorate("isStyleEnabledForBlock"),this.decorate("isStyleActiveForBlock"),this.decorate("getAffectedBlocks"),this.decorate("isStyleEnabledForInlineSelection"),this.decorate("isStyleActiveForInlineSelection"),this.decorate("getAffectedInlineSelectable"),this.decorate("getStylePreview"),this.decorate("configureGHSDataFilter")}init(){this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport")}normalizeConfig(e,t=[]){const s={block:[],inline:[]};for(const i of t){const t=[],l=[];for(const s of e.getDefinitionsForView(i.element)){const e="appliesToBlock"in s&&s.appliesToBlock;if(s.isBlock||e){if("string"==typeof e)t.push(e);else if(s.isBlock){const e=s;t.push(s.model),e.paragraphLikeModel&&t.push(e.paragraphLikeModel)}}else l.push(s.model)}const n=this.getStylePreview(i,[{text:"AaBbCcDdEeFfGgHhIiJj"}]);t.length?s.block.push({...i,previewTemplate:n,modelElements:t,isBlock:!0}):s.inline.push({...i,previewTemplate:n,ghsAttributes:l})}return s}isStyleEnabledForBlock(e,t){const s=this.editor.model,i=this._htmlSupport.getGhsAttributeNameForElement(e.element);return!!s.schema.checkAttribute(t,i)&&e.modelElements.includes(t.name)}isStyleActiveForBlock(e,t){const s=this._htmlSupport.getGhsAttributeNameForElement(e.element),i=t.getAttribute(s);return this.hasAllClasses(i,e.classes)}getAffectedBlocks(e,t){return e.modelElements.includes(t.name)?[t]:null}isStyleEnabledForInlineSelection(e,t){const s=this.editor.model;for(const i of e.ghsAttributes)if(s.schema.checkAttributeInSelection(t,i))return!0;return!1}isStyleActiveForInlineSelection(e,t){for(const s of e.ghsAttributes){const i=this._getValueFromFirstAllowedNode(t,s);if(this.hasAllClasses(i,e.classes))return!0}return!1}getAffectedInlineSelectable(e,t){return t}getStylePreview(e,t){const{element:s,classes:i}=e;return{tag:(l=s,b.includes(l)?"div":s),attributes:{class:i},children:t};var l}hasAllClasses(e,t){return k(e)&&(s=e,Boolean(s.classes)&&Array.isArray(s.classes))&&t.every((t=>e.classes.includes(t)));var s}configureGHSDataFilter({block:e,inline:t}){const s=this.editor.plugins.get("DataFilter");s.loadAllowedConfig(e.map(v)),s.loadAllowedConfig(t.map(v))}_getValueFromFirstAllowedNode(e,t){const s=this.editor.model.schema;if(e.isCollapsed)return e.getAttribute(t);for(const i of e.getRanges())for(const e of i.getItems())if(s.checkAttribute(e,t))return e.getAttribute(t);return null}}function v({element:e,classes:t}){return{name:e,classes:t}}var _=s(702),S={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(_.A,S);_.A.locals;class w extends e.Plugin{static get pluginName(){return"StyleUI"}static get requires(){return[m]}init(){const e=this.editor,s=e.plugins.get("DataSchema"),i=e.plugins.get("StyleUtils"),l=e.config.get("style.definitions"),n=i.normalizeConfig(s,l);e.ui.componentFactory.add("style",(s=>{const i=s.t,l=(0,t.createDropdown)(s),r=e.commands.get("style");return l.once("change:isOpen",(()=>{const e=new f(s,n);l.panelView.children.add(e),e.delegate("execute").to(l),e.bind("activeStyles").to(r,"value"),e.bind("enabledStyles").to(r,"enabledStyles")})),l.bind("isEnabled").to(r),l.buttonView.withText=!0,l.buttonView.bind("label").to(r,"value",(e=>e.length>1?i("Multiple styles"):1===e.length?e[0]:i("Styles"))),l.bind("class").to(r,"value",(e=>{const t=["ck-style-dropdown"];return e.length>1&&t.push("ck-style-dropdown_multiple-active"),t.join(" ")})),l.on("execute",(t=>{e.execute("style",{styleName:t.source.styleDefinition.name}),e.editing.view.focus()})),l}))}}class A extends e.Command{constructor(e,t){super(e),this.set("value",[]),this.set("enabledStyles",[]),this._styleDefinitions=t,this._styleUtils=this.editor.plugins.get(m)}refresh(){const e=this.editor.model,t=e.document.selection,s=new Set,i=new Set;for(const e of this._styleDefinitions.inline)this._styleUtils.isStyleEnabledForInlineSelection(e,t)&&i.add(e.name),this._styleUtils.isStyleActiveForInlineSelection(e,t)&&s.add(e.name);const n=(0,l.first)(t.getSelectedBlocks())||t.getFirstPosition().parent;if(n){const t=n.getAncestors({includeSelf:!0,parentFirst:!0});for(const l of t){if(l.is("rootElement"))break;for(const e of this._styleDefinitions.block)this._styleUtils.isStyleEnabledForBlock(e,l)&&(i.add(e.name),this._styleUtils.isStyleActiveForBlock(e,l)&&s.add(e.name));if(e.schema.isObject(l))break}}this.enabledStyles=Array.from(i).sort(),this.isEnabled=this.enabledStyles.length>0,this.value=this.isEnabled?Array.from(s).sort():[]}execute({styleName:e,forceValue:t}){if(!this.enabledStyles.includes(e))return void(0,l.logWarning)("style-command-executed-with-incorrect-style-name");const s=this.editor.model,i=s.document.selection,n=this.editor.plugins.get("GeneralHtmlSupport"),r=[...this._styleDefinitions.inline,...this._styleDefinitions.block],o=r.filter((({name:e})=>this.value.includes(e))),c=r.find((({name:t})=>t==e)),a=void 0===t?!this.value.includes(c.name):t;s.change((()=>{let e;e=function(e){return"isBlock"in e}(c)?this._findAffectedBlocks(function(e){const t=Array.from(e.getSelectedBlocks());if(t.length)return t;return[e.getFirstPosition().parent]}(i),c):[this._styleUtils.getAffectedInlineSelectable(c,i)];for(const t of e)a?n.addModelHtmlClass(c.element,c.classes,t):n.removeModelHtmlClass(c.element,x(o,c),t)}))}_findAffectedBlocks(e,t){const s=new Set;for(const i of e){const e=i.getAncestors({includeSelf:!0,parentFirst:!0});for(const i of e){if(i.is("rootElement"))break;const e=this._styleUtils.getAffectedBlocks(t,i);if(e){for(const t of e)s.add(t);break}}}return s}}function x(e,t){return e.reduce(((e,s)=>s.name===t.name?e:e.filter((e=>!s.classes.includes(e)))),t.classes)}class T extends e.Plugin{static get pluginName(){return"ListStyleSupport"}static get requires(){return[m,"GeneralHtmlSupport"]}init(){const e=this.editor;e.plugins.has("ListEditing")&&(this._styleUtils=e.plugins.get(m),this._listUtils=this.editor.plugins.get("ListUtils"),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",((e,[t,s])=>{this._isStyleEnabledForBlock(t,s)&&(e.return=!0,e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForBlock",((e,[t,s])=>{this._isStyleActiveForBlock(t,s)&&(e.return=!0,e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",((e,[t,s])=>{const i=this._getAffectedBlocks(t,s);i&&(e.return=i,e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getStylePreview",((e,[t,s])=>{const i=this._getStylePreview(t,s);i&&(e.return=i,e.stop())}),{priority:"high"}))}_isStyleEnabledForBlock(e,t){const s=this.editor.model;if(!["ol","ul","li"].includes(e.element))return!1;if(!this._listUtils.isListItemBlock(t))return!1;const i=this._htmlSupport.getGhsAttributeNameForElement(e.element);if("ol"==e.element||"ul"==e.element){if(!s.schema.checkAttribute(t,i))return!1;const l=this._listUtils.isNumberedListType(t.getAttribute("listType"))?"ol":"ul";return e.element==l}return s.schema.checkAttribute(t,i)}_isStyleActiveForBlock(e,t){const s=this._htmlSupport.getGhsAttributeNameForElement(e.element),i=t.getAttribute(s);return this._styleUtils.hasAllClasses(i,e.classes)}_getAffectedBlocks(e,t){return this._isStyleEnabledForBlock(e,t)?"li"==e.element?this._listUtils.expandListBlocksToCompleteItems(t,{withNested:!1}):this._listUtils.expandListBlocksToCompleteList(t):null}_getStylePreview(e,t){const{element:s,classes:i}=e;return"ol"==s||"ul"==s?{tag:s,attributes:{class:i},children:[{tag:"li",children:t}]}:"li"==s?{tag:"ol",children:[{tag:s,attributes:{class:i},children:t}]}:null}}class F extends e.Plugin{static get pluginName(){return"TableStyleSupport"}static get requires(){return[m]}init(){const e=this.editor;e.plugins.has("TableEditing")&&(this._styleUtils=e.plugins.get(m),this._tableUtils=this.editor.plugins.get("TableUtils"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",((e,[t,s])=>{this._isApplicable(t,s)&&(e.return=this._isStyleEnabledForBlock(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",((e,[t,s])=>{this._isApplicable(t,s)&&(e.return=this._getAffectedBlocks(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"configureGHSDataFilter",((e,[{block:t}])=>{this.editor.plugins.get("DataFilter").loadAllowedConfig(t.filter((e=>"figcaption"==e.element)).map((e=>({name:"caption",classes:e.classes}))))})))}_isApplicable(e,t){return["td","th"].includes(e.element)?"tableCell"==t.name:!!["thead","tbody"].includes(e.element)&&"table"==t.name}_isStyleEnabledForBlock(e,t){if(["td","th"].includes(e.element)){const s=this._tableUtils.getCellLocation(t),i=t.parent.parent,l=i.getAttribute("headingRows")||0,n=i.getAttribute("headingColumns")||0,r=s.row<l||s.column<n;return"th"==e.element?r:!r}if(["thead","tbody"].includes(e.element)){const s=t.getAttribute("headingRows")||0;return"thead"==e.element?s>0:s<this._tableUtils.getRows(t)}return!1}_getAffectedBlocks(e,t){return this._isStyleEnabledForBlock(e,t)?[t]:null}}var B=s(834);class C extends e.Plugin{static get pluginName(){return"LinkStyleSupport"}static get requires(){return[m,"GeneralHtmlSupport"]}init(){const e=this.editor;e.plugins.has("LinkEditing")&&(this._styleUtils=e.plugins.get(m),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForInlineSelection",((e,[t,s])=>{"a"==t.element&&(e.return=this._isStyleEnabled(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForInlineSelection",((e,[t,s])=>{"a"==t.element&&(e.return=this._isStyleActive(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedInlineSelectable",((e,[t,s])=>{if("a"!=t.element)return;const i=this._getAffectedSelectable(t,s);i&&(e.return=i,e.stop())}),{priority:"high"}))}_isStyleEnabled(e,t){const s=this.editor.model;if(t.isCollapsed)return t.hasAttribute("linkHref");for(const e of t.getRanges())for(const t of e.getItems())if((t.is("$textProxy")||s.schema.isInline(t))&&t.hasAttribute("linkHref"))return!0;return!1}_isStyleActive(e,t){const s=this.editor.model,i=this._htmlSupport.getGhsAttributeNameForElement(e.element);if(t.isCollapsed){if(t.hasAttribute("linkHref")){const s=t.getAttribute(i);if(this._styleUtils.hasAllClasses(s,e.classes))return!0}return!1}for(const l of t.getRanges())for(const t of l.getItems())if((t.is("$textProxy")||s.schema.isInline(t))&&t.hasAttribute("linkHref")){const s=t.getAttribute(i);return this._styleUtils.hasAllClasses(s,e.classes)}return!1}_getAffectedSelectable(e,t){const s=this.editor.model;if(t.isCollapsed){const e=t.getAttribute("linkHref");return(0,B.findAttributeRange)(t.getFirstPosition(),"linkHref",e,s)}const i=[];for(const e of t.getRanges()){const t=s.createRange(E(e.start,"linkHref",!0,s),E(e.end,"linkHref",!1,s));for(const e of t.getItems())(e.is("$textProxy")||s.schema.isInline(e))&&e.hasAttribute("linkHref")&&i.push(this.editor.model.createRangeOn(e))}return function(e){for(let t=1;t<e.length;t++){const s=e[t-1].getJoined(e[t]);s&&e.splice(--t,2,s)}return e}(i)}}function E(e,t,s,i){const l=e.textNode||(s?e.nodeAfter:e.nodeBefore);if(!l||!l.hasAttribute(t))return e;const n=l.getAttribute(t);return(0,B.findAttributeRangeBound)(e,t,n,s,i)}class V extends e.Plugin{static get pluginName(){return"StyleEditing"}static get requires(){return["GeneralHtmlSupport",m,T,F,C]}init(){const e=this.editor,t=e.plugins.get("DataSchema"),s=e.plugins.get("StyleUtils"),i=e.config.get("style.definitions"),l=s.normalizeConfig(t,i);e.commands.add("style",new A(e,l)),s.configureGHSDataFilter(l)}}class U extends e.Plugin{static get pluginName(){return"Style"}static get requires(){return[V,w]}}})(),(window.CKEditor5=window.CKEditor5||{}).style=i})(); \ No newline at end of file + */(()=>{var e={702:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var i=s(758),l=s.n(i),n=s(935),r=s.n(n)()(l());r.push([e.id,".ck.ck-dropdown.ck-style-dropdown.ck-style-dropdown_multiple-active>.ck-button>.ck-button__label{font-style:italic}",""]);const o=r},930:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var i=s(758),l=s.n(i),n=s(935),r=s.n(n)()(l());r.push([e.id,":root{--ck-style-panel-columns:3}.ck.ck-style-panel .ck-style-grid{display:grid;grid-template-columns:repeat(var(--ck-style-panel-columns),auto);justify-content:start}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button{display:flex;flex-direction:column;justify-content:space-between}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview{align-content:center;align-items:center;display:flex;flex-basis:100%;flex-grow:1;justify-content:flex-start}:root{--ck-style-panel-button-width:120px;--ck-style-panel-button-height:80px;--ck-style-panel-button-label-background:#f0f0f0;--ck-style-panel-button-hover-label-background:#ebebeb;--ck-style-panel-button-hover-border-color:#b3b3b3}.ck.ck-style-panel .ck-style-grid{column-gap:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button{--ck-color-button-default-hover-background:var(--ck-color-base-background);--ck-color-button-default-active-background:var(--ck-color-base-background);height:var(--ck-style-panel-button-height);padding:0;width:var(--ck-style-panel-button-width)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-button__label{flex-shrink:0;height:22px;line-height:22px;overflow:hidden;padding:0 var(--ck-spacing-medium);text-overflow:ellipsis;width:100%}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview{background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);opacity:.9;overflow:hidden;padding:var(--ck-spacing-medium);width:100%}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled{--ck-color-button-default-disabled-background:var(--ck-color-base-foreground)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled:not(:focus){border-color:var(--ck-style-panel-button-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled .ck-style-grid__button__preview{border-color:var(--ck-color-base-foreground);filter:saturate(.3);opacity:.4}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on{border-color:var(--ck-color-base-active)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on .ck-button__label{box-shadow:0 -1px 0 var(--ck-color-base-active);z-index:1}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on:hover{border-color:var(--ck-color-base-active-focus)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on) .ck-button__label{background:var(--ck-style-panel-button-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on):hover .ck-button__label{background:var(--ck-style-panel-button-hover-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on){border-color:var(--ck-style-panel-button-hover-border-color)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on) .ck-style-grid__button__preview{opacity:1}",""]);const o=r},881:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var i=s(758),l=s.n(i),n=s(935),r=s.n(n)()(l());r.push([e.id,".ck.ck-style-panel .ck-style-panel__style-group>.ck-label{margin:var(--ck-spacing-large) 0}.ck.ck-style-panel .ck-style-panel__style-group:first-child>.ck-label{margin-top:0}",""]);const o=r},374:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var i=s(758),l=s.n(i),n=s(935),r=s.n(n)()(l());r.push([e.id,":root{--ck-style-panel-max-height:470px}.ck.ck-style-panel{max-height:var(--ck-style-panel-max-height);overflow-y:auto;padding:var(--ck-spacing-large)}",""]);const o=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var s="",i=void 0!==t[5];return t[4]&&(s+="@supports (".concat(t[4],") {")),t[2]&&(s+="@media ".concat(t[2]," {")),i&&(s+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),s+=e(t),i&&(s+="}"),t[2]&&(s+="}"),t[4]&&(s+="}"),s})).join("")},t.i=function(e,s,i,l,n){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(i)for(var o=0;o<this.length;o++){var c=this[o][0];null!=c&&(r[c]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);i&&r[u[0]]||(void 0!==n&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=n),s&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=s):u[2]=s),l&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=l):u[4]="".concat(l)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function s(e){for(var s=-1,i=0;i<t.length;i++)if(t[i].identifier===e){s=i;break}return s}function i(e,i){for(var n={},r=[],o=0;o<e.length;o++){var c=e[o],a=i.base?c[0]+i.base:c[0],u=n[a]||0,d="".concat(a," ").concat(u);n[a]=u+1;var h=s(d),g={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(g);else{var p=l(g,i);i.byIndex=o,t.splice(o,0,{identifier:d,updater:p,references:1})}r.push(d)}return r}function l(e,t){var s=t.domAPI(t);s.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;s.update(e=t)}else s.remove()}}e.exports=function(e,l){var n=i(e=e||[],l=l||{});return function(e){e=e||[];for(var r=0;r<n.length;r++){var o=s(n[r]);t[o].references--}for(var c=i(e,l),a=0;a<n.length;a++){var u=s(n[a]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}n=c}}},128:e=>{"use strict";var t={};e.exports=function(e,s){var i=function(e){if(void 0===t[e]){var s=document.querySelector(e);if(window.HTMLIFrameElement&&s instanceof window.HTMLIFrameElement)try{s=s.contentDocument.head}catch(e){s=null}t[e]=s}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(s)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(s){e.setAttribute(s,t[s])}))}},639:e=>{"use strict";var t,s=(t=[],function(e,s){return t[e]=s,t.filter(Boolean).join("\n")});function i(e,t,i,l){var n;if(i)n="";else{n="",l.supports&&(n+="@supports (".concat(l.supports,") {")),l.media&&(n+="@media ".concat(l.media," {"));var r=void 0!==l.layer;r&&(n+="@layer".concat(l.layer.length>0?" ".concat(l.layer):""," {")),n+=l.css,r&&(n+="}"),l.media&&(n+="}"),l.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=s(t,n);else{var o=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(o,c[t]):e.appendChild(o)}}var l={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=l.singletonCounter++,s=l.singleton||(l.singleton=e.insertStyleElement(e));return{update:function(e){i(s,t,!1,e)},remove:function(e){i(s,t,!0,e)}}}},782:(e,t,s)=>{e.exports=s(237)("./src/core.js")},834:(e,t,s)=>{e.exports=s(237)("./src/typing.js")},311:(e,t,s)=>{e.exports=s(237)("./src/ui.js")},584:(e,t,s)=>{e.exports=s(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function s(i){var l=t[i];if(void 0!==l)return l.exports;var n=t[i]={id:i,exports:{}};return e[i](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";s.r(i),s.d(i,{Style:()=>L,StyleEditing:()=>O,StyleUI:()=>V,StyleUtils:()=>F});var e=s(782),t=s(311),l=s(584);class n extends t.ButtonView{constructor(e,t){super(e),this.styleDefinition=t,this.previewView=this._createPreview(),this.set({label:t.name,class:"ck-style-grid__button",withText:!0}),this.extendTemplate({attributes:{role:"option"}}),this.children.add(this.previewView,0)}_createPreview(){const e=new t.View(this.locale);return e.setTemplate({tag:"div",attributes:{class:["ck","ck-reset_all-excluded","ck-style-grid__button__preview","ck-content"],"aria-hidden":"true"},children:[this.styleDefinition.previewTemplate]}),e}}var r=s(591),o=s.n(r),c=s(639),a=s.n(c),u=s(128),d=s.n(u),h=s(21),g=s.n(h),p=s(51),y=s.n(p),f=s(930),k={attributes:{"data-cke":!0}};k.setAttributes=g(),k.insert=d().bind(null,"head"),k.domAPI=a(),k.insertStyleElement=y();o()(f.A,k);f.A&&f.A.locals&&f.A.locals;class b extends t.View{constructor(e,t){super(e),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.set("activeStyles",[]),this.set("enabledStyles",[]),this.children=this.createCollection(),this.children.delegate("execute").to(this);for(const s of t){const t=new n(e,s);this.children.add(t)}this.on("change:activeStyles",(()=>{for(const e of this.children)e.isOn=this.activeStyles.includes(e.styleDefinition.name)})),this.on("change:enabledStyles",(()=>{for(const e of this.children)e.isEnabled=this.enabledStyles.includes(e.styleDefinition.name)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-grid"],role:"listbox"},children:this.children})}render(){super.render();for(const e of this.children)this.focusTracker.add(e.element);(0,t.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.children,numberOfColumns:3,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection}),this.keystrokes.listenTo(this.element)}focus(){this.children.first.focus()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}var m=s(881),v={attributes:{"data-cke":!0}};v.setAttributes=g(),v.insert=d().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=y();o()(m.A,v);m.A&&m.A.locals&&m.A.locals;class _ extends t.View{constructor(e,s,i){super(e),this.labelView=new t.LabelView(e),this.labelView.text=s,this.gridView=new b(e,i),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel__style-group"],role:"group","aria-labelledby":this.labelView.id},children:[this.labelView,this.gridView]})}}var S=s(374),w={attributes:{"data-cke":!0}};w.setAttributes=g(),w.insert=d().bind(null,"head"),w.domAPI=a(),w.insertStyleElement=y();o()(S.A,w);S.A&&S.A.locals&&S.A.locals;class A extends t.View{constructor(e,s){super(e);const i=e.t;this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.children=this.createCollection(),this.blockStylesGroupView=new _(e,i("Block styles"),s.block),this.inlineStylesGroupView=new _(e,i("Text styles"),s.inline),this.set("activeStyles",[]),this.set("enabledStyles",[]),this._focusables=new t.ViewCollection,this._focusCycler=new t.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:["shift + tab"],focusNext:["tab"]}}),s.block.length&&this.children.add(this.blockStylesGroupView),s.inline.length&&this.children.add(this.inlineStylesGroupView),this.blockStylesGroupView.gridView.delegate("execute").to(this),this.inlineStylesGroupView.gridView.delegate("execute").to(this),this.blockStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.inlineStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel"]},children:this.children})}render(){super.render(),this._focusables.add(this.blockStylesGroupView.gridView),this._focusables.add(this.inlineStylesGroupView.gridView),this.focusTracker.add(this.blockStylesGroupView.gridView.element),this.focusTracker.add(this.inlineStylesGroupView.gridView.element),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}const x=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},T=["caption","colgroup","dd","dt","figcaption","legend","li","optgroup","option","rp","rt","summary","tbody","td","tfoot","th","thead","tr"];class F extends e.Plugin{static get pluginName(){return"StyleUtils"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this.decorate("isStyleEnabledForBlock"),this.decorate("isStyleActiveForBlock"),this.decorate("getAffectedBlocks"),this.decorate("isStyleEnabledForInlineSelection"),this.decorate("isStyleActiveForInlineSelection"),this.decorate("getAffectedInlineSelectable"),this.decorate("getStylePreview"),this.decorate("configureGHSDataFilter")}init(){this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport")}normalizeConfig(e,t=[]){const s={block:[],inline:[]};for(const i of t){const t=[],l=[];for(const s of e.getDefinitionsForView(i.element)){const e="appliesToBlock"in s&&s.appliesToBlock;if(s.isBlock||e){if("string"==typeof e)t.push(e);else if(s.isBlock){const e=s;t.push(s.model),e.paragraphLikeModel&&t.push(e.paragraphLikeModel)}}else l.push(s.model)}const n=this.getStylePreview(i,[{text:"AaBbCcDdEeFfGgHhIiJj"}]);t.length?s.block.push({...i,previewTemplate:n,modelElements:t,isBlock:!0}):s.inline.push({...i,previewTemplate:n,ghsAttributes:l})}return s}isStyleEnabledForBlock(e,t){const s=this.editor.model,i=this._htmlSupport.getGhsAttributeNameForElement(e.element);return!!s.schema.checkAttribute(t,i)&&e.modelElements.includes(t.name)}isStyleActiveForBlock(e,t){const s=this._htmlSupport.getGhsAttributeNameForElement(e.element),i=t.getAttribute(s);return this.hasAllClasses(i,e.classes)}getAffectedBlocks(e,t){return e.modelElements.includes(t.name)?[t]:null}isStyleEnabledForInlineSelection(e,t){const s=this.editor.model;for(const i of e.ghsAttributes)if(s.schema.checkAttributeInSelection(t,i))return!0;return!1}isStyleActiveForInlineSelection(e,t){for(const s of e.ghsAttributes){const i=this._getValueFromFirstAllowedNode(t,s);if(this.hasAllClasses(i,e.classes))return!0}return!1}getAffectedInlineSelectable(e,t){return t}getStylePreview(e,t){const{element:s,classes:i}=e;return{tag:(l=s,T.includes(l)?"div":s),attributes:{class:i},children:t};var l}hasAllClasses(e,t){return x(e)&&(s=e,Boolean(s.classes)&&Array.isArray(s.classes))&&t.every((t=>e.classes.includes(t)));var s}configureGHSDataFilter({block:e,inline:t}){const s=this.editor.plugins.get("DataFilter");s.loadAllowedConfig(e.map(E)),s.loadAllowedConfig(t.map(E))}_getValueFromFirstAllowedNode(e,t){const s=this.editor.model.schema;if(e.isCollapsed)return e.getAttribute(t);for(const i of e.getRanges())for(const e of i.getItems())if(s.checkAttribute(e,t))return e.getAttribute(t);return null}}function E({element:e,classes:t}){return{name:e,classes:t}}var B=s(702),C={attributes:{"data-cke":!0}};C.setAttributes=g(),C.insert=d().bind(null,"head"),C.domAPI=a(),C.insertStyleElement=y();o()(B.A,C);B.A&&B.A.locals&&B.A.locals;class V extends e.Plugin{static get pluginName(){return"StyleUI"}static get isOfficialPlugin(){return!0}static get requires(){return[F]}init(){const e=this.editor,s=e.plugins.get("DataSchema"),i=e.plugins.get("StyleUtils"),l=e.config.get("style.definitions"),n=i.normalizeConfig(s,l);e.ui.componentFactory.add("style",(s=>{const i=s.t,l=(0,t.createDropdown)(s),r=e.commands.get("style");return l.once("change:isOpen",(()=>{const e=new A(s,n);l.panelView.children.add(e),e.delegate("execute").to(l),e.bind("activeStyles").to(r,"value"),e.bind("enabledStyles").to(r,"enabledStyles")})),l.bind("isEnabled").to(r),l.buttonView.withText=!0,l.buttonView.bind("label").to(r,"value",(e=>e.length>1?i("Multiple styles"):1===e.length?e[0]:i("Styles"))),l.bind("class").to(r,"value",(e=>{const t=["ck-style-dropdown"];return e.length>1&&t.push("ck-style-dropdown_multiple-active"),t.join(" ")})),l.on("execute",(t=>{e.execute("style",{styleName:t.source.styleDefinition.name}),e.editing.view.focus()})),l}))}}class U extends e.Command{constructor(e,t){super(e),this.set("value",[]),this.set("enabledStyles",[]),this._styleDefinitions=t,this._styleUtils=this.editor.plugins.get(F)}refresh(){const e=this.editor.model,t=e.document.selection,s=new Set,i=new Set;for(const e of this._styleDefinitions.inline)this._styleUtils.isStyleEnabledForInlineSelection(e,t)&&i.add(e.name),this._styleUtils.isStyleActiveForInlineSelection(e,t)&&s.add(e.name);const n=(0,l.first)(t.getSelectedBlocks())||t.getFirstPosition().parent;if(n){const t=n.getAncestors({includeSelf:!0,parentFirst:!0});for(const l of t){if(l.is("rootElement"))break;for(const e of this._styleDefinitions.block)this._styleUtils.isStyleEnabledForBlock(e,l)&&(i.add(e.name),this._styleUtils.isStyleActiveForBlock(e,l)&&s.add(e.name));if(e.schema.isObject(l))break}}this.enabledStyles=Array.from(i).sort(),this.isEnabled=this.enabledStyles.length>0,this.value=this.isEnabled?Array.from(s).sort():[]}execute({styleName:e,forceValue:t}){if(!this.enabledStyles.includes(e))return void(0,l.logWarning)("style-command-executed-with-incorrect-style-name");const s=this.editor.model,i=s.document.selection,n=this.editor.plugins.get("GeneralHtmlSupport"),r=[...this._styleDefinitions.inline,...this._styleDefinitions.block],o=r.filter((({name:e})=>this.value.includes(e))),c=r.find((({name:t})=>t==e)),a=void 0===t?!this.value.includes(c.name):t;s.change((()=>{let e;e=function(e){return"isBlock"in e}(c)?this._findAffectedBlocks(function(e){const t=Array.from(e.getSelectedBlocks());if(t.length)return t;return[e.getFirstPosition().parent]}(i),c):[this._styleUtils.getAffectedInlineSelectable(c,i)];for(const t of e)a?n.addModelHtmlClass(c.element,c.classes,t):n.removeModelHtmlClass(c.element,I(o,c),t)}))}_findAffectedBlocks(e,t){const s=new Set;for(const i of e){const e=i.getAncestors({includeSelf:!0,parentFirst:!0});for(const i of e){if(i.is("rootElement"))break;const e=this._styleUtils.getAffectedBlocks(t,i);if(e){for(const t of e)s.add(t);break}}}return s}}function I(e,t){return e.reduce(((e,s)=>s.name===t.name?e:e.filter((e=>!s.classes.includes(e)))),t.classes)}class P extends e.Plugin{static get pluginName(){return"ListStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[F,"GeneralHtmlSupport"]}init(){const e=this.editor;e.plugins.has("ListEditing")&&(this._styleUtils=e.plugins.get(F),this._listUtils=this.editor.plugins.get("ListUtils"),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",((e,[t,s])=>{this._isStyleEnabledForBlock(t,s)&&(e.return=!0,e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForBlock",((e,[t,s])=>{this._isStyleActiveForBlock(t,s)&&(e.return=!0,e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",((e,[t,s])=>{const i=this._getAffectedBlocks(t,s);i&&(e.return=i,e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getStylePreview",((e,[t,s])=>{const i=this._getStylePreview(t,s);i&&(e.return=i,e.stop())}),{priority:"high"}))}_isStyleEnabledForBlock(e,t){const s=this.editor.model;if(!["ol","ul","li"].includes(e.element))return!1;if(!this._listUtils.isListItemBlock(t))return!1;const i=this._htmlSupport.getGhsAttributeNameForElement(e.element);if("ol"==e.element||"ul"==e.element){if(!s.schema.checkAttribute(t,i))return!1;const l=this._listUtils.isNumberedListType(t.getAttribute("listType"))?"ol":"ul";return e.element==l}return s.schema.checkAttribute(t,i)}_isStyleActiveForBlock(e,t){const s=this._htmlSupport.getGhsAttributeNameForElement(e.element),i=t.getAttribute(s);return this._styleUtils.hasAllClasses(i,e.classes)}_getAffectedBlocks(e,t){return this._isStyleEnabledForBlock(e,t)?"li"==e.element?this._listUtils.expandListBlocksToCompleteItems(t,{withNested:!1}):this._listUtils.expandListBlocksToCompleteList(t):null}_getStylePreview(e,t){const{element:s,classes:i}=e;return"ol"==s||"ul"==s?{tag:s,attributes:{class:i},children:[{tag:"li",children:t}]}:"li"==s?{tag:"ol",children:[{tag:s,attributes:{class:i},children:t}]}:null}}class G extends e.Plugin{static get pluginName(){return"TableStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[F]}init(){const e=this.editor;e.plugins.has("TableEditing")&&(this._styleUtils=e.plugins.get(F),this._tableUtils=this.editor.plugins.get("TableUtils"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",((e,[t,s])=>{this._isApplicable(t,s)&&(e.return=this._isStyleEnabledForBlock(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",((e,[t,s])=>{this._isApplicable(t,s)&&(e.return=this._getAffectedBlocks(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"configureGHSDataFilter",((e,[{block:t}])=>{this.editor.plugins.get("DataFilter").loadAllowedConfig(t.filter((e=>"figcaption"==e.element)).map((e=>({name:"caption",classes:e.classes}))))})))}_isApplicable(e,t){return["td","th"].includes(e.element)?"tableCell"==t.name:!!["thead","tbody"].includes(e.element)&&"table"==t.name}_isStyleEnabledForBlock(e,t){if(["td","th"].includes(e.element)){const s=this._tableUtils.getCellLocation(t),i=t.parent.parent,l=i.getAttribute("headingRows")||0,n=i.getAttribute("headingColumns")||0,r=s.row<l||s.column<n;return"th"==e.element?r:!r}if(["thead","tbody"].includes(e.element)){const s=t.getAttribute("headingRows")||0;return"thead"==e.element?s>0:s<this._tableUtils.getRows(t)}return!1}_getAffectedBlocks(e,t){return this._isStyleEnabledForBlock(e,t)?[t]:null}}var H=s(834);class D extends e.Plugin{static get pluginName(){return"LinkStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[F,"GeneralHtmlSupport"]}init(){const e=this.editor;e.plugins.has("LinkEditing")&&(this._styleUtils=e.plugins.get(F),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForInlineSelection",((e,[t,s])=>{"a"==t.element&&(e.return=this._isStyleEnabled(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForInlineSelection",((e,[t,s])=>{"a"==t.element&&(e.return=this._isStyleActive(t,s),e.stop())}),{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedInlineSelectable",((e,[t,s])=>{if("a"!=t.element)return;const i=this._getAffectedSelectable(t,s);i&&(e.return=i,e.stop())}),{priority:"high"}))}_isStyleEnabled(e,t){const s=this.editor.model;if(t.isCollapsed)return t.hasAttribute("linkHref");for(const e of t.getRanges())for(const t of e.getItems())if((t.is("$textProxy")||s.schema.isInline(t))&&t.hasAttribute("linkHref"))return!0;return!1}_isStyleActive(e,t){const s=this.editor.model,i=this._htmlSupport.getGhsAttributeNameForElement(e.element);if(t.isCollapsed){if(t.hasAttribute("linkHref")){const s=t.getAttribute(i);if(this._styleUtils.hasAllClasses(s,e.classes))return!0}return!1}for(const l of t.getRanges())for(const t of l.getItems())if((t.is("$textProxy")||s.schema.isInline(t))&&t.hasAttribute("linkHref")){const s=t.getAttribute(i);return this._styleUtils.hasAllClasses(s,e.classes)}return!1}_getAffectedSelectable(e,t){const s=this.editor.model;if(t.isCollapsed){const e=t.getAttribute("linkHref");return(0,H.findAttributeRange)(t.getFirstPosition(),"linkHref",e,s)}const i=[];for(const e of t.getRanges()){const t=s.createRange(N(e.start,"linkHref",!0,s),N(e.end,"linkHref",!1,s));for(const e of t.getItems())(e.is("$textProxy")||s.schema.isInline(e))&&e.hasAttribute("linkHref")&&i.push(this.editor.model.createRangeOn(e))}return function(e){for(let t=1;t<e.length;t++){const s=e[t-1].getJoined(e[t]);s&&e.splice(--t,2,s)}return e}(i)}}function N(e,t,s,i){const l=e.textNode||(s?e.nodeAfter:e.nodeBefore);if(!l||!l.hasAttribute(t))return e;const n=l.getAttribute(t);return(0,H.findAttributeRangeBound)(e,t,n,s,i)}class O extends e.Plugin{static get pluginName(){return"StyleEditing"}static get isOfficialPlugin(){return!0}static get requires(){return["GeneralHtmlSupport",F,P,G,D]}init(){const e=this.editor,t=e.plugins.get("DataSchema"),s=e.plugins.get("StyleUtils"),i=e.config.get("style.definitions"),l=s.normalizeConfig(t,i);e.commands.add("style",new U(e,l)),s.configureGHSDataFilter(l)}}class L extends e.Plugin{static get pluginName(){return"Style"}static get isOfficialPlugin(){return!0}static get requires(){return[O,V]}}})(),(window.CKEditor5=window.CKEditor5||{}).style=i})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/table.js b/core/assets/vendor/ckeditor5/table/table.js index 65f5eb7c7d75e8146d34c46fe66e6dbac53bcb70..23297bb95c0acdcbd86038746740bd03ebbf782d 100644 --- a/core/assets/vendor/ckeditor5/table/table.js +++ b/core/assets/vendor/ckeditor5/table/table.js @@ -1,5 +1,5 @@ -!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Background:"Background",Border:"Border","Cell properties":"Cell properties","Center table":"Center table",Color:"Color","Color picker":"Color picker",Column:"Column",Dashed:"Dashed","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"Dimensions",Dotted:"Dotted",Double:"Double","Enter table caption":"Enter table caption",Groove:"Groove","Header column":"Header column","Header row":"Header row",Height:"Height","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset","Justify cell text":"Justify cell text","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table",None:"None",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Row","Select column":"Select column","Select row":"Select row",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"Style",Table:"Table","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"Vertical text alignment toolbar":"Vertical text alignment toolbar",Width:"Width"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Background:"Background",Border:"Border","Cell properties":"Cell properties","Center table":"Center table",Color:"Color",Column:"Column",Dashed:"Dashed","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"Dimensions",Dotted:"Dotted",Double:"Double","Enter table caption":"Enter table caption",Groove:"Groove","Header column":"Header column","Header row":"Header row",Height:"Height","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset","Justify cell text":"Justify cell text","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table",None:"None",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Row","Select column":"Select column","Select row":"Select row",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"Style",Table:"Table","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"Vertical text alignment toolbar":"Vertical text alignment toolbar",Width:"Width"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var e={770:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}",""]);const r=i},67:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}",""]);const r=i},839:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const r=i},712:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}: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 .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;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)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}@media (prefers-reduced-motion:reduce){.ck .ck-insert-table-dropdown-grid-box{transition:none}}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}",""]);const r=i},25:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}@media print{.ck-content .table table{height:auto}}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}",""]);const r=i},175:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}@media (forced-colors:active){.ck-content .table>figcaption{background-color:unset;color:unset}}@media (forced-colors:none){.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}",""]);const r=i},266:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}",""]);const r=i},363:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}",""]);const r=i},817:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}",""]);const r=i},911:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}@media (prefers-reduced-motion:reduce){.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:none}}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',""]);const r=i},218:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}",""]);const r=i},719:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(935),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',""]);const r=i},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var a=[].concat(e[s]);n&&i[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},591:(e,t,o)=>{"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),l=[];function s(e){for(var t=-1,o=0;o<l.length;o++)if(l[o].identifier===e){t=o;break}return t}function a(e,t){for(var o={},n=[],i=0;i<e.length;i++){var r=e[i],a=t.base?r[0]+t.base:r[0],c=o[a]||0,d="".concat(a," ").concat(c);o[a]=c+1;var u=s(d),h={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(l[u].references++,l[u].updater(h)):l.push({identifier:d,updater:p(h,t),references:1}),n.push(d)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var i=o.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=r(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function h(e,t,o,n){var i=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var r=document.createTextNode(i),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}function b(e,t,o){var n=o.css,i=o.media,r=o.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,g=0;function p(e,t){var o,n,i;if(t.singleton){var r=g++;o=m||(m=c(t)),n=h.bind(null,o,r,!1),i=h.bind(null,o,r,!0)}else o=c(t),n=b.bind(null,o,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var o=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<o.length;n++){var i=s(o[n]);l[i].references--}for(var r=a(e,t),c=0;c<o.length;c++){var d=s(o[c]);0===l[d].references&&(l[d].updater(),l.splice(d,1))}o=r}}}},331:(e,t,o)=>{e.exports=o(237)("./src/clipboard.js")},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},783:(e,t,o)=>{e.exports=o(237)("./src/engine.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},901:(e,t,o)=>{e.exports=o(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{PlainTableOutput:()=>Ye,Table:()=>Xe,TableCaption:()=>cn,TableCaptionEditing:()=>rn,TableCaptionUI:()=>ln,TableCellProperties:()=>zo,TableCellPropertiesEditing:()=>Eo,TableCellPropertiesUI:()=>wo,TableCellWidthEditing:()=>vo,TableClipboard:()=>Ne,TableColumnResize:()=>jr,TableColumnResizeEditing:()=>Wr,TableEditing:()=>Se,TableKeyboard:()=>He,TableMouse:()=>Ke,TableProperties:()=>Qo,TablePropertiesEditing:()=>Uo,TablePropertiesUI:()=>Yo,TableSelection:()=>We,TableToolbar:()=>nt,TableUI:()=>ze,TableUtils:()=>oe});var e=o(782),t=o(901);function i(e,t){const{modelAttribute:o,styleName:n,viewElement:i,defaultValue:r,reduceBoxSides:l=!1,shouldUpcast:s=()=>!0}=t;e.for("upcast").attributeToAttribute({view:{name:i,styles:{[n]:/[\s\S]+/}},model:{key:o,value:e=>{if(!s(e))return;const t=e.getNormalizedStyle(n),o=l?a(t):t;return r!==o?o:void 0}}})}function r(e,t,o,n){e.for("upcast").add((e=>e.on("element:"+t,((e,t,i)=>{if(!t.modelRange)return;const r=["border-top-width","border-top-color","border-top-style","border-bottom-width","border-bottom-color","border-bottom-style","border-right-width","border-right-color","border-right-style","border-left-width","border-left-color","border-left-style"].filter((e=>t.viewItem.hasStyle(e)));if(!r.length)return;const l={styles:r};if(!i.consumable.test(t.viewItem,l))return;const s=[...t.modelRange.getItems({shallow:!0})].pop();i.consumable.consume(t.viewItem,l);const c={style:t.viewItem.getNormalizedStyle("border-style"),color:t.viewItem.getNormalizedStyle("border-color"),width:t.viewItem.getNormalizedStyle("border-width")},d={style:a(c.style),color:a(c.color),width:a(c.width)};d.style!==n.style&&i.writer.setAttribute(o.style,d.style,s),d.color!==n.color&&i.writer.setAttribute(o.color,d.color,s),d.width!==n.width&&i.writer.setAttribute(o.width,d.width,s)}))))}function l(e,t){const{modelElement:o,modelAttribute:n,styleName:i}=t;e.for("downcast").attributeToAttribute({model:{name:o,key:n},view:e=>({key:"style",value:{[i]:e}})})}function s(e,t){const{modelAttribute:o,styleName:n}=t;e.for("downcast").add((e=>e.on(`attribute:${o}:table`,((e,t,o)=>{const{item:i,attributeNewValue:r}=t,{mapper:l,writer:s}=o;if(!o.consumable.consume(t.item,e.name))return;const a=[...l.toViewElement(i).getChildren()].find((e=>e.is("element","table")));r?s.setStyle(n,r,a):s.removeStyle(n,a)}))))}function a(e){if(!e)return;const t=["top","right","bottom","left"];if(!t.every((t=>e[t])))return e;const o=e.top;return t.every((t=>e[t]===o))?o:e}function c(e,t,o,n,i=1){null!=t&&null!=i&&t>i?n.setAttribute(e,t,o):n.removeAttribute(e,o)}function d(e,t,o={}){const n=e.createElement("tableCell",o);return e.insertElement("paragraph",n),e.insert(n,t),n}function u(e,t){const o=t.parent.parent,n=parseInt(o.getAttribute("headingColumns")||"0"),{column:i}=e.getCellLocation(t);return!!n&&i<n}function h(e,t,o){const{modelAttribute:n}=o;e.extend("tableCell",{allowAttributes:[n]}),i(t,{viewElement:/^(td|th)$/,...o}),l(t,{modelElement:"tableCell",...o})}function b(e){const t=e.getSelectedElement();return t&&t.is("element","table")?t:e.getFirstPosition().findAncestor("table")}var m=o(584);function g(){return e=>{e.on("element:table",((e,t,o)=>{const n=t.viewItem;if(!o.consumable.test(n,{name:!0}))return;const{rows:i,headingRows:r,headingColumns:l}=function(e){let t,o=0;const n=[],i=[];let r;for(const l of Array.from(e.getChildren())){if("tbody"!==l.name&&"thead"!==l.name&&"tfoot"!==l.name)continue;"thead"!==l.name||r||(r=l);const e=Array.from(l.getChildren()).filter((e=>e.is("element","tr")));for(const s of e)if(r&&l===r||"tbody"===l.name&&Array.from(s.getChildren()).length&&Array.from(s.getChildren()).every((e=>e.is("element","th"))))o++,n.push(s);else{i.push(s);const e=f(s);(!t||e<t)&&(t=e)}}return{headingRows:o,headingColumns:t||0,rows:[...n,...i]}}(n),s={};l&&(s.headingColumns=l),r&&(s.headingRows=r);const a=o.writer.createElement("table",s);if(o.safeInsert(a,t.modelCursor)){if(o.consumable.consume(n,{name:!0}),i.forEach((e=>o.convertItem(e,o.writer.createPositionAt(a,"end")))),o.convertChildren(n,o.writer.createPositionAt(a,"end")),a.isEmpty){const e=o.writer.createElement("tableRow");o.writer.insert(e,o.writer.createPositionAt(a,"end")),d(o.writer,o.writer.createPositionAt(e,"end"))}o.updateConversionResult(a,t)}}))}}function p(e){return t=>{t.on(`element:${e}`,((e,t,{writer:o})=>{if(!t.modelRange)return;const n=t.modelRange.start.nodeAfter,i=o.createPositionAt(n,0);if(t.viewItem.isEmpty)return void o.insertElement("paragraph",i);const r=Array.from(n.getChildren());if(r.every((e=>e.is("element","$marker")))){const e=o.createElement("paragraph");o.insert(e,o.createPositionAt(n,0));for(const t of r)o.move(o.createRangeOn(t),o.createPositionAt(e,"end"))}}),{priority:"low"})}}function f(e){let t=0,o=0;const n=Array.from(e.getChildren()).filter((e=>"th"===e.name||"td"===e.name));for(;o<n.length&&"th"===n[o].name;){const e=n[o];t+=parseInt(e.getAttribute("colspan")||"1"),o++}return t}class w{constructor(e,t={}){this._jumpedToStartRow=!1,this._table=e,this._startRow=void 0!==t.row?t.row:t.startRow||0,this._endRow=void 0!==t.row?t.row:t.endRow,this._startColumn=void 0!==t.column?t.column:t.startColumn||0,this._endColumn=void 0!==t.column?t.column:t.endColumn,this._includeAllSlots=!!t.includeAllSlots,this._skipRows=new Set,this._row=0,this._rowIndex=0,this._column=0,this._cellIndex=0,this._spannedCells=new Map,this._nextCellAtColumn=-1}[Symbol.iterator](){return this}next(){this._canJumpToStartRow()&&this._jumpToNonSpannedRowClosestToStartRow();const e=this._table.getChild(this._rowIndex);if(!e||this._isOverEndRow())return{done:!0,value:void 0};if(!e.is("element","tableRow"))return this._rowIndex++,this.next();if(this._isOverEndColumn())return this._advanceToNextRow();let t=null;const o=this._getSpanned();if(o)this._includeAllSlots&&!this._shouldSkipSlot()&&(t=this._formatOutValue(o.cell,o.row,o.column));else{const o=e.getChild(this._cellIndex);if(!o)return this._advanceToNextRow();const n=parseInt(o.getAttribute("colspan")||"1"),i=parseInt(o.getAttribute("rowspan")||"1");(n>1||i>1)&&this._recordSpans(o,i,n),this._shouldSkipSlot()||(t=this._formatOutValue(o)),this._nextCellAtColumn=this._column+n}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,t||this.next()}skipRow(e){this._skipRows.add(e)}_advanceToNextRow(){return this._row++,this._rowIndex++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(e,t=this._row,o=this._column){return{done:!1,value:new _(this,e,t,o)}}_shouldSkipSlot(){const e=this._skipRows.has(this._row),t=this._row<this._startRow,o=this._column<this._startColumn,n=void 0!==this._endColumn&&this._column>this._endColumn;return e||t||o||n}_getSpanned(){const e=this._spannedCells.get(this._row);return e&&e.get(this._column)||null}_recordSpans(e,t,o){const n={cell:e,row:this._row,column:this._column};for(let e=this._row;e<this._row+t;e++)for(let t=this._column;t<this._column+o;t++)e==this._row&&t==this._column||this._markSpannedCell(e,t,n)}_markSpannedCell(e,t,o){this._spannedCells.has(e)||this._spannedCells.set(e,new Map);this._spannedCells.get(e).set(t,o)}_canJumpToStartRow(){return!!this._startRow&&this._startRow>0&&!this._jumpedToStartRow}_jumpToNonSpannedRowClosestToStartRow(){const e=this._getRowLength(0);for(let t=this._startRow;!this._jumpedToStartRow;t--)e===this._getRowLength(t)&&(this._row=t,this._rowIndex=t,this._jumpedToStartRow=!0)}_getRowLength(e){return[...this._table.getChild(e).getChildren()].reduce(((e,t)=>e+parseInt(t.getAttribute("colspan")||"1")),0)}}class _{constructor(e,t,o,n){this.cell=t,this.row=e._row,this.column=e._column,this.cellAnchorRow=o,this.cellAnchorColumn=n,this._cellIndex=e._cellIndex,this._rowIndex=e._rowIndex,this._table=e._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||"1")}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||"1")}get rowIndex(){return this._rowIndex}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function k(e,o){return(n,{writer:i})=>{const r=n.getAttribute("headingRows")||0,l=i.createContainerElement("table",null,[]),s=i.createContainerElement("figure",{class:"table"},l);r>0&&i.insert(i.createPositionAt(l,"end"),i.createContainerElement("thead",null,i.createSlot((e=>e.is("element","tableRow")&&e.index<r)))),r<e.getRows(n)&&i.insert(i.createPositionAt(l,"end"),i.createContainerElement("tbody",null,i.createSlot((e=>e.is("element","tableRow")&&e.index>=r))));for(const{positionOffset:e,filter:t}of o.additionalSlots)i.insert(i.createPositionAt(l,e),i.createSlot(t));return i.insert(i.createPositionAt(l,"after"),i.createSlot((e=>!e.is("element","tableRow")&&!o.additionalSlots.some((({filter:t})=>t(e)))))),o.asWidget?function(e,o){return o.setCustomProperty("table",!0,e),(0,t.toWidget)(e,o,{hasSelectionHandle:!0})}(s,i):s}}function v(e={}){return(o,{writer:n})=>{const i=o.parent,r=i.parent,l=r.getChildIndex(i),s=new w(r,{row:l}),a=r.getAttribute("headingRows")||0,c=r.getAttribute("headingColumns")||0;let d=null;for(const i of s)if(i.cell==o){const o=i.row<a||i.column<c?"th":"td";d=e.asWidget?(0,t.toWidgetEditable)(n.createEditableElement(o),n):n.createContainerElement(o);break}return d}}function C(e={}){return(t,{writer:o})=>{if(!t.parent.is("element","tableCell"))return null;if(!y(t))return null;if(e.asWidget)return o.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const e=o.createContainerElement("p");return o.setCustomProperty("dataPipeline:transparentRendering",!0,e),e}}}function y(e){return 1==e.parent.childCount&&!!e.getAttributeKeys().next().done}class A extends e.Command{refresh(){const e=this.editor.model,t=e.document.selection,o=e.schema;this.isEnabled=function(e,t){const o=e.getFirstPosition().parent,n=o===o.root?o:o.parent;return t.checkChild(n,"table")}(t,o)}execute(e={}){const t=this.editor,o=t.model,n=t.plugins.get("TableUtils"),i=t.config.get("table.defaultHeadings.rows"),r=t.config.get("table.defaultHeadings.columns");void 0===e.headingRows&&i&&(e.headingRows=i),void 0===e.headingColumns&&r&&(e.headingColumns=r),o.change((t=>{const i=n.createTable(t,e);o.insertObject(i,null,null,{findOptimalPosition:"auto"}),t.setSelection(t.createPositionAt(i.getNodeByPath([0,0,0]),0))}))}}class T extends e.Command{constructor(e,t={}){super(e),this.order=t.order||"below"}refresh(){const e=this.editor.model.document.selection,t=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(e).length;this.isEnabled=t}execute(){const e=this.editor,t=e.model.document.selection,o=e.plugins.get("TableUtils"),n="above"===this.order,i=o.getSelectionAffectedTableCells(t),r=o.getRowIndexes(i),l=n?r.first:r.last,s=i[0].findAncestor("table");o.insertRows(s,{at:n?l:l+1,copyStructureFromAbove:!n})}}class x extends e.Command{constructor(e,t={}){super(e),this.order=t.order||"right"}refresh(){const e=this.editor.model.document.selection,t=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(e).length;this.isEnabled=t}execute(){const e=this.editor,t=e.model.document.selection,o=e.plugins.get("TableUtils"),n="left"===this.order,i=o.getSelectionAffectedTableCells(t),r=o.getColumnIndexes(i),l=n?r.first:r.last,s=i[0].findAncestor("table");o.insertColumns(s,{columns:1,at:n?l:l+1})}}class S extends e.Command{constructor(e,t={}){super(e),this.direction=t.direction||"horizontally"}refresh(){const e=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=1===e.length}execute(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection)[0];"horizontally"===this.direction?e.splitCellHorizontally(t,2):e.splitCellVertically(t,2)}}function V(e,t,o){const{startRow:n,startColumn:i,endRow:r,endColumn:l}=t,s=o.createElement("table"),a=r-n+1;for(let e=0;e<a;e++)o.insertElement("tableRow",s,"end");const u=[...new w(e,{startRow:n,endRow:r,startColumn:i,endColumn:l,includeAllSlots:!0})];for(const{row:e,column:t,cell:a,isAnchor:c,cellAnchorRow:h,cellAnchorColumn:b}of u){const u=e-n,m=s.getChild(u);if(c){const n=o.cloneElement(a);o.append(n,m),z(n,e,t,r,l,o)}else(h<n||b<i)&&d(o,o.createPositionAt(m,"end"))}return function(e,t,o,n,i){const r=parseInt(t.getAttribute("headingRows")||"0");if(r>0){c("headingRows",r-o,e,i,0)}const l=parseInt(t.getAttribute("headingColumns")||"0");if(l>0){c("headingColumns",l-n,e,i,0)}}(s,e,n,i,o),s}function R(e,t,o=0){const n=[],i=new w(e,{startRow:o,endRow:t-1});for(const e of i){const{row:o,cellHeight:i}=e;o<t&&t<=o+i-1&&n.push(e)}return n}function I(e,t,o){const n=e.parent,i=n.parent,r=n.index,l=t-r,s={},a=parseInt(e.getAttribute("rowspan"))-l;a>1&&(s.rowspan=a);const u=parseInt(e.getAttribute("colspan")||"1");u>1&&(s.colspan=u);const h=r+l,b=[...new w(i,{startRow:r,endRow:h,includeAllSlots:!0})];let m,g=null;for(const t of b){const{row:n,column:i,cell:r}=t;r===e&&void 0===m&&(m=i),void 0!==m&&m===i&&n===h&&(g=d(o,t.getPositionBefore(),s))}return c("rowspan",l,e,o),g}function P(e,t){const o=[],n=new w(e);for(const e of n){const{column:n,cellWidth:i}=e;n<t&&t<=n+i-1&&o.push(e)}return o}function E(e,t,o,n){const i=o-t,r={},l=parseInt(e.getAttribute("colspan"))-i;l>1&&(r.colspan=l);const s=parseInt(e.getAttribute("rowspan")||"1");s>1&&(r.rowspan=s);const a=d(n,n.createPositionAfter(e),r);return c("colspan",i,e,n),a}function z(e,t,o,n,i,r){const l=parseInt(e.getAttribute("colspan")||"1"),s=parseInt(e.getAttribute("rowspan")||"1");if(o+l-1>i){c("colspan",i-o+1,e,r,1)}if(t+s-1>n){c("rowspan",n-t+1,e,r,1)}}function B(e,t){const o=t.getColumns(e),n=new Array(o).fill(0);for(const{column:t}of new w(e))n[t]++;const i=n.reduce(((e,t,o)=>t?e:[...e,o]),[]);if(i.length>0){const o=i[i.length-1];return t.removeColumns(e,{at:o}),!0}return!1}function L(e,t){const o=[],n=t.getRows(e);for(let t=0;t<n;t++){e.getChild(t).isEmpty&&o.push(t)}if(o.length>0){const n=o[o.length-1];return t.removeRows(e,{at:n}),!0}return!1}function F(e,t){B(e,t)||L(e,t)}function W(e,t){const o=Array.from(new w(e,{startColumn:t.firstColumn,endColumn:t.lastColumn,row:t.lastRow}));if(o.every((({cellHeight:e})=>1===e)))return t.lastRow;const n=o[0].cellHeight-1;return t.lastRow+n}function O(e,t){const o=Array.from(new w(e,{startRow:t.firstRow,endRow:t.lastRow,column:t.lastColumn}));if(o.every((({cellWidth:e})=>1===e)))return t.lastColumn;const n=o[0].cellWidth-1;return t.lastColumn+n}class N extends e.Command{constructor(e,t){super(e),this.direction=t.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const e=this._getMergeableCell();this.value=e,this.isEnabled=!!e}execute(){const e=this.editor.model,t=e.document,o=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(t.selection)[0],n=this.value,i=this.direction;e.change((e=>{const t="right"==i||"down"==i,r=t?o:n,l=t?n:o,s=l.parent;!function(e,t,o){j(e)||(j(t)&&o.remove(o.createRangeIn(t)),o.move(o.createRangeIn(e),o.createPositionAt(t,"end")));o.remove(e)}(l,r,e);const a=this.isHorizontal?"colspan":"rowspan",c=parseInt(o.getAttribute(a)||"1"),d=parseInt(n.getAttribute(a)||"1");e.setAttribute(a,c+d,r),e.setSelection(e.createRangeIn(r));const u=this.editor.plugins.get("TableUtils");F(s.findAncestor("table"),u)}))}_getMergeableCell(){const e=this.editor.model.document,t=this.editor.plugins.get("TableUtils"),o=t.getTableCellsContainingSelection(e.selection)[0];if(!o)return;const n=this.isHorizontal?function(e,t,o){const n=e.parent,i=n.parent,r="right"==t?e.nextSibling:e.previousSibling,l=(i.getAttribute("headingColumns")||0)>0;if(!r)return;const s="right"==t?e:r,a="right"==t?r:e,{column:c}=o.getCellLocation(s),{column:d}=o.getCellLocation(a),h=parseInt(s.getAttribute("colspan")||"1"),b=u(o,s),m=u(o,a);if(l&&b!=m)return;return c+h===d?r:void 0}(o,this.direction,t):function(e,t,o){const n=e.parent,i=n.parent,r=i.getChildIndex(n);if("down"==t&&r===o.getRows(i)-1||"up"==t&&0===r)return null;const l=parseInt(e.getAttribute("rowspan")||"1"),s=i.getAttribute("headingRows")||0,a="down"==t&&r+l===s,c="up"==t&&r===s;if(s&&(a||c))return null;const d=parseInt(e.getAttribute("rowspan")||"1"),u="down"==t?r+d:r,h=[...new w(i,{endRow:u})],b=h.find((t=>t.cell===e)),m=b.column,g=h.find((({row:e,cellHeight:o,column:n})=>n===m&&("down"==t?e===u:u===e+o)));return g&&g.cell?g.cell:null}(o,this.direction,t);if(!n)return;const i=this.isHorizontal?"rowspan":"colspan",r=parseInt(o.getAttribute(i)||"1");return parseInt(n.getAttribute(i)||"1")===r?n:void 0}}function j(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}class M extends e.Command{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),o=t[0];if(o){const n=o.findAncestor("table"),i=e.getRows(n)-1,r=e.getRowIndexes(t),l=0===r.first&&r.last===i;this.isEnabled=!l}else this.isEnabled=!1}execute(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),o=t.getSelectionAffectedTableCells(e.document.selection),n=t.getRowIndexes(o),i=o[0],r=i.findAncestor("table"),l=t.getCellLocation(i).column;e.change((e=>{const o=n.last-n.first+1;t.removeRows(r,{at:n.first,rows:o});const i=function(e,t,o,n){const i=e.getChild(Math.min(t,n-1));let r=i.getChild(0),l=0;for(const e of i.getChildren()){if(l>o)return r;r=e,l+=parseInt(e.getAttribute("colspan")||"1")}return r}(r,n.first,l,t.getRows(r));e.setSelection(e.createPositionAt(i,0))}))}}class D extends e.Command{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),o=t[0];if(o){const n=o.findAncestor("table"),i=e.getColumns(n),{first:r,last:l}=e.getColumnIndexes(t);this.isEnabled=l-r<i-1}else this.isEnabled=!1}execute(){const e=this.editor.plugins.get("TableUtils"),[t,o]=function(e,t){const o=t.getSelectionAffectedTableCells(e),n=o[0],i=o.pop(),r=[n,i];return n.isBefore(i)?r:r.reverse()}(this.editor.model.document.selection,e),n=t.parent.parent,i=[...new w(n)],r={first:i.find((e=>e.cell===t)).column,last:i.find((e=>e.cell===o)).column},l=function(e,t,o,n){const i=parseInt(o.getAttribute("colspan")||"1");return i>1?o:t.previousSibling||o.nextSibling?o.nextSibling||t.previousSibling:n.first?e.reverse().find((({column:e})=>e<n.first)).cell:e.reverse().find((({column:e})=>e>n.last)).cell}(i,t,o,r);this.editor.model.change((t=>{const o=r.last-r.first+1;e.removeColumns(n,{at:r.first,columns:o}),t.setSelection(t.createPositionAt(l,0))}))}}class H extends e.Command{refresh(){const e=this.editor.plugins.get("TableUtils"),t=this.editor.model,o=e.getSelectionAffectedTableCells(t.document.selection),n=o.length>0;this.isEnabled=n,this.value=n&&o.every((e=>this._isInHeading(e,e.parent.parent)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),o=this.editor.model,n=t.getSelectionAffectedTableCells(o.document.selection),i=n[0].findAncestor("table"),{first:r,last:l}=t.getRowIndexes(n),s=this.value?r:l+1,a=i.getAttribute("headingRows")||0;o.change((e=>{if(s){const t=R(i,s,s>a?a:0);for(const{cell:o}of t)I(o,s,e)}c("headingRows",s,i,e,0)}))}_isInHeading(e,t){const o=parseInt(t.getAttribute("headingRows")||"0");return!!o&&e.parent.index<o}}class U extends e.Command{refresh(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),o=t.getSelectionAffectedTableCells(e.document.selection),n=o.length>0;this.isEnabled=n,this.value=n&&o.every((e=>u(t,e)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),o=this.editor.model,n=t.getSelectionAffectedTableCells(o.document.selection),i=n[0].findAncestor("table"),{first:r,last:l}=t.getColumnIndexes(n),s=this.value?r:l+1;o.change((e=>{if(s){const t=P(i,s);for(const{cell:o,column:n}of t)E(o,n,s,e)}c("headingColumns",s,i,e,0)}))}}function $(e,t){return 4e3/K(e,t)}function K(e,t){const o=G(e,"tbody",t)||G(e,"thead",t);return q(t.editing.view.domConverter.mapViewToDom(o))}function G(e,t,o){return[...[...o.editing.mapper.toViewElement(e).getChildren()].find((e=>e.is("element","table"))).getChildren()].find((e=>e.is("element",t)))}function q(e){const t=m.global.window.getComputedStyle(e);return"border-box"===t.boxSizing?parseFloat(t.width)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth):parseFloat(t.width)}function J(e){const t=Math.pow(10,2),o="number"==typeof e?e:parseFloat(e);return Math.round(o*t)/t}function X(e){return e.map((e=>"number"==typeof e?e:parseFloat(e))).filter((e=>!Number.isNaN(e))).reduce(((e,t)=>e+t),0)}function Y(e){let t=function(e){const t=e.filter((e=>"auto"===e)).length;if(0===t)return e.map((e=>J(e)));const o=X(e),n=Math.max((100-o)/t,5);return e.map((e=>"auto"===e?n:e)).map((e=>J(e)))}(e.map((e=>"auto"===e?e:parseFloat(e.replace("%","")))));const o=X(t);return 100!==o&&(t=t.map((e=>J(100*e/o))).map(((e,t,o)=>{if(!(t===o.length-1))return e;return J(e+100-X(o))}))),t.map((e=>e+"%"))}function Q(e){const t=m.global.window.getComputedStyle(e);return"border-box"===t.boxSizing?parseInt(t.width):parseFloat(t.width)+parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderWidth)}function Z(e,t,o,n){for(let i=0;i<Math.max(o.length,e.length);i++){const r=e[i],l=o[i];l?r?n.setAttribute("columnWidth",l,r):n.appendElement("tableColumn",{columnWidth:l},t):n.remove(r)}}function ee(e){if(e.is("element","tableColumnGroup"))return e;const t=e.getChildren();return Array.from(t).find((e=>e.is("element","tableColumnGroup")))}function te(e){const t=ee(e);return t?Array.from(t.getChildren()):[]}class oe extends e.Plugin{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(e){const t=e.parent,o=t.parent,n=o.getChildIndex(t),i=new w(o,{row:n});for(const{cell:t,row:o,column:n}of i)if(t===e)return{row:o,column:n}}createTable(e,t){const o=e.createElement("table"),n=t.rows||2,i=t.columns||2;return ne(e,o,0,n,i),t.headingRows&&c("headingRows",Math.min(t.headingRows,n),o,e,0),t.headingColumns&&c("headingColumns",Math.min(t.headingColumns,i),o,e,0),o}insertRows(e,t={}){const o=this.editor.model,n=t.at||0,i=t.rows||1,r=void 0!==t.copyStructureFromAbove,l=t.copyStructureFromAbove?n-1:n,s=this.getRows(e),a=this.getColumns(e);if(n>s)throw new m.CKEditorError("tableutils-insertrows-insert-out-of-range",this,{options:t});o.change((t=>{const o=e.getAttribute("headingRows")||0;if(o>n&&c("headingRows",o+i,e,t,0),!r&&(0===n||n===s))return void ne(t,e,n,i,a);const u=r?Math.max(n,l):n,h=new w(e,{endRow:u}),b=new Array(a).fill(1);for(const{row:e,column:o,cellHeight:s,cellWidth:a,cell:c}of h){const d=e+s-1,u=e<=l&&l<=d;e<n&&n<=d?(t.setAttribute("rowspan",s+i,c),b[o]=-a):r&&u&&(b[o]=a)}for(let o=0;o<i;o++){const o=t.createElement("tableRow");t.insert(o,e,n);for(let e=0;e<b.length;e++){const n=b[e],i=t.createPositionAt(o,"end");n>0&&d(t,i,n>1?{colspan:n}:void 0),e+=Math.abs(n)-1}}}))}insertColumns(e,t={}){const o=this.editor.model,n=t.at||0,i=t.columns||1;o.change((t=>{const o=e.getAttribute("headingColumns");n<o&&t.setAttribute("headingColumns",o+i,e);const r=this.getColumns(e);if(0===n||r===n){for(const o of e.getChildren())o.is("element","tableRow")&&ie(i,t,t.createPositionAt(o,n?"end":0));return}const l=new w(e,{column:n,includeAllSlots:!0});for(const e of l){const{row:o,cell:r,cellAnchorColumn:s,cellAnchorRow:a,cellWidth:c,cellHeight:d}=e;if(s<n){t.setAttribute("colspan",c+i,r);const e=a+d-1;for(let t=o;t<=e;t++)l.skipRow(t)}else ie(i,t,e.getPositionBefore())}}))}removeRows(e,t){const o=this.editor.model,n=t.rows||1,i=this.getRows(e),r=t.at,l=r+n-1;if(l>i-1)throw new m.CKEditorError("tableutils-removerows-row-index-out-of-range",this,{table:e,options:t});o.change((t=>{const o={first:r,last:l},{cellsToMove:n,cellsToTrim:i}=function(e,{first:t,last:o}){const n=new Map,i=[];for(const{row:r,column:l,cellHeight:s,cell:a}of new w(e,{endRow:o})){const e=r+s-1;if(r>=t&&r<=o&&e>o){const e=s-(o-r+1);n.set(l,{cell:a,rowspan:e})}if(r<t&&e>=t){let n;n=e>=o?o-t+1:e-t+1,i.push({cell:a,rowspan:s-n})}}return{cellsToMove:n,cellsToTrim:i}}(e,o);if(n.size){!function(e,t,o,n){const i=new w(e,{includeAllSlots:!0,row:t}),r=[...i],l=e.getChild(t);let s;for(const{column:e,cell:t,isAnchor:i}of r)if(o.has(e)){const{cell:t,rowspan:i}=o.get(e),r=s?n.createPositionAfter(s):n.createPositionAt(l,0);n.move(n.createRangeOn(t),r),c("rowspan",i,t,n),s=t}else i&&(s=t)}(e,l+1,n,t)}for(let o=l;o>=r;o--)t.remove(e.getChild(o));for(const{rowspan:e,cell:o}of i)c("rowspan",e,o,t);!function(e,{first:t,last:o},n){const i=e.getAttribute("headingRows")||0;if(t<i){c("headingRows",o<i?i-(o-t+1):t,e,n,0)}}(e,o,t),B(e,this)||L(e,this)}))}removeColumns(e,t){const o=this.editor.model,n=t.at,i=t.columns||1,r=t.at+i-1;o.change((t=>{!function(e,t,o){const n=e.getAttribute("headingColumns")||0;if(n&&t.first<n){const i=Math.min(n-1,t.last)-t.first+1;o.setAttribute("headingColumns",n-i,e)}}(e,{first:n,last:r},t);const o=te(e);for(let i=r;i>=n;i--){for(const{cell:o,column:n,cellWidth:r}of[...new w(e)])n<=i&&r>1&&n+r>i?c("colspan",r-1,o,t):n===i&&t.remove(o);if(o[i]){const e=0===i?o[1]:o[i-1],n=parseFloat(o[i].getAttribute("columnWidth")),r=parseFloat(e.getAttribute("columnWidth"));t.remove(o[i]),t.setAttribute("columnWidth",n+r+"%",e)}}L(e,this)||B(e,this)}))}splitCellVertically(e,t=2){const o=this.editor.model,n=e.parent.parent,i=parseInt(e.getAttribute("rowspan")||"1"),r=parseInt(e.getAttribute("colspan")||"1");o.change((o=>{if(r>1){const{newCellsSpan:n,updatedSpan:l}=re(r,t);c("colspan",l,e,o);const s={};n>1&&(s.colspan=n),i>1&&(s.rowspan=i);ie(r>t?t-1:r-1,o,o.createPositionAfter(e),s)}if(r<t){const l=t-r,s=[...new w(n)],{column:a}=s.find((({cell:t})=>t===e)),d=s.filter((({cell:t,cellWidth:o,column:n})=>t!==e&&n===a||n<a&&n+o>a));for(const{cell:e,cellWidth:t}of d)o.setAttribute("colspan",t+l,e);const u={};i>1&&(u.rowspan=i),ie(l,o,o.createPositionAfter(e),u);const h=n.getAttribute("headingColumns")||0;h>a&&c("headingColumns",h+l,n,o)}}))}splitCellHorizontally(e,t=2){const o=this.editor.model,n=e.parent,i=n.parent,r=i.getChildIndex(n),l=parseInt(e.getAttribute("rowspan")||"1"),s=parseInt(e.getAttribute("colspan")||"1");o.change((o=>{if(l>1){const n=[...new w(i,{startRow:r,endRow:r+l-1,includeAllSlots:!0})],{newCellsSpan:a,updatedSpan:d}=re(l,t);c("rowspan",d,e,o);const{column:u}=n.find((({cell:t})=>t===e)),h={};a>1&&(h.rowspan=a),s>1&&(h.colspan=s);let b=0;for(const e of n){const{column:t,row:n}=e,i=t===u;b>=a&&i&&(b=0),n>=r+d&&i&&(b||ie(1,o,e.getPositionBefore(),h),b++)}}if(l<t){const n=t-l,a=[...new w(i,{startRow:0,endRow:r})];for(const{cell:t,cellHeight:i,row:l}of a)if(t!==e&&l+i>r){const e=i+n;o.setAttribute("rowspan",e,t)}const d={};s>1&&(d.colspan=s),ne(o,i,r+1,n,1,d);const u=i.getAttribute("headingRows")||0;u>r&&c("headingRows",u+n,i,o)}}))}getColumns(e){return[...e.getChild(0).getChildren()].filter((e=>e.is("element","tableCell"))).reduce(((e,t)=>e+parseInt(t.getAttribute("colspan")||"1")),0)}getRows(e){return Array.from(e.getChildren()).reduce(((e,t)=>t.is("element","tableRow")?e+1:e),0)}createTableWalker(e,t={}){return new w(e,t)}getSelectedTableCells(e){const t=[];for(const o of this.sortRanges(e.getRanges())){const e=o.getContainedElement();e&&e.is("element","tableCell")&&t.push(e)}return t}getTableCellsContainingSelection(e){const t=[];for(const o of e.getRanges()){const e=o.start.findAncestor("tableCell");e&&t.push(e)}return t}getSelectionAffectedTableCells(e){const t=this.getSelectedTableCells(e);return t.length?t:this.getTableCellsContainingSelection(e)}getRowIndexes(e){const t=e.map((e=>e.parent.index));return this._getFirstLastIndexesObject(t)}getColumnIndexes(e){const t=e[0].findAncestor("table"),o=[...new w(t)].filter((t=>e.includes(t.cell))).map((e=>e.column));return this._getFirstLastIndexesObject(o)}isSelectionRectangular(e){if(e.length<2||!this._areCellInTheSameTableSection(e))return!1;const t=new Set,o=new Set;let n=0;for(const i of e){const{row:e,column:r}=this.getCellLocation(i),l=parseInt(i.getAttribute("rowspan"))||1,s=parseInt(i.getAttribute("colspan"))||1;t.add(e),o.add(r),l>1&&t.add(e+l-1),s>1&&o.add(r+s-1),n+=l*s}const i=function(e,t){const o=Array.from(e.values()),n=Array.from(t.values()),i=Math.max(...o),r=Math.min(...o),l=Math.max(...n),s=Math.min(...n);return(i-r+1)*(l-s+1)}(t,o);return i==n}sortRanges(e){return Array.from(e).sort(le)}_getFirstLastIndexesObject(e){const t=e.sort(((e,t)=>e-t));return{first:t[0],last:t[t.length-1]}}_areCellInTheSameTableSection(e){const t=e[0].findAncestor("table"),o=this.getRowIndexes(e),n=parseInt(t.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(o,n))return!1;const i=this.getColumnIndexes(e),r=parseInt(t.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(i,r)}_areIndexesInSameSection({first:e,last:t},o){return e<o===t<o}}function ne(e,t,o,n,i,r={}){for(let l=0;l<n;l++){const n=e.createElement("tableRow");e.insert(n,t,o),ie(i,e,e.createPositionAt(n,"end"),r)}}function ie(e,t,o,n={}){for(let i=0;i<e;i++)d(t,o,n)}function re(e,t){if(e<t)return{newCellsSpan:1,updatedSpan:1};const o=Math.floor(e/t);return{newCellsSpan:o,updatedSpan:e-o*t+o}}function le(e,t){const o=e.start,n=t.start;return o.isBefore(n)?-1:1}class se extends e.Command{refresh(){const e=this.editor.plugins.get(oe),t=e.getSelectedTableCells(this.editor.model.document.selection);this.isEnabled=e.isSelectionRectangular(t)}execute(){const e=this.editor.model,t=this.editor.plugins.get(oe);e.change((o=>{const n=t.getSelectedTableCells(e.document.selection),i=n.shift(),{mergeWidth:r,mergeHeight:l}=function(e,t,o){let n=0,i=0;for(const e of t){const{row:t,column:r}=o.getCellLocation(e);n=de(e,r,n,"colspan"),i=de(e,t,i,"rowspan")}const{row:r,column:l}=o.getCellLocation(e),s=n-l,a=i-r;return{mergeWidth:s,mergeHeight:a}}(i,n,t);c("colspan",r,i,o),c("rowspan",l,i,o);for(const e of n)ae(e,i,o);F(i.findAncestor("table"),t),o.setSelection(i,"in")}))}}function ae(e,t,o){ce(e)||(ce(t)&&o.remove(o.createRangeIn(t)),o.move(o.createRangeIn(e),o.createPositionAt(t,"end"))),o.remove(e)}function ce(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}function de(e,t,o,n){const i=parseInt(e.getAttribute(n)||"1");return Math.max(o,t+i)}class ue extends e.Command{constructor(e){super(e),this.affectsData=!1}refresh(){const e=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=e.length>0}execute(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),o=t.getSelectionAffectedTableCells(e.document.selection),n=t.getRowIndexes(o),i=o[0].findAncestor("table"),r=[];for(let t=n.first;t<=n.last;t++)for(const o of i.getChild(t).getChildren())r.push(e.createRangeOn(o));e.change((e=>{e.setSelection(r)}))}}class he extends e.Command{constructor(e){super(e),this.affectsData=!1}refresh(){const e=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=e.length>0}execute(){const e=this.editor.plugins.get("TableUtils"),t=this.editor.model,o=e.getSelectionAffectedTableCells(t.document.selection),n=o[0],i=o.pop(),r=n.findAncestor("table"),l=e.getCellLocation(n),s=e.getCellLocation(i),a=Math.min(l.column,s.column),c=Math.max(l.column,s.column),d=[];for(const e of new w(r,{startColumn:a,endColumn:c}))d.push(t.createRangeOn(e.cell));t.change((e=>{e.setSelection(d)}))}}function be(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.differ.getChanges();let n=!1;const i=new Set;for(const t of o){let o=null;"insert"==t.type&&"table"==t.name&&(o=t.position.nodeAfter),"insert"!=t.type&&"remove"!=t.type||"tableRow"!=t.name&&"tableCell"!=t.name||(o=t.position.findAncestor("table")),pe(t)&&(o=t.range.start.findAncestor("table")),o&&!i.has(o)&&(n=me(o,e)||n,n=ge(o,e)||n,i.add(o))}return n}(t,e)))}function me(e,t){let o=!1;const n=function(e){const t=parseInt(e.getAttribute("headingRows")||"0"),o=Array.from(e.getChildren()).reduce(((e,t)=>t.is("element","tableRow")?e+1:e),0),n=[];for(const{row:i,cell:r,cellHeight:l}of new w(e)){if(l<2)continue;const e=i<t?t:o;if(i+l>e){const t=e-i;n.push({cell:r,rowspan:t})}}return n}(e);if(n.length){o=!0;for(const e of n)c("rowspan",e.rowspan,e.cell,t,1)}return o}function ge(e,t){let o=!1;const n=function(e){const t=new Array(e.childCount).fill(0);for(const{rowIndex:o}of new w(e,{includeAllSlots:!0}))t[o]++;return t}(e),i=[];for(const[t,o]of n.entries())!o&&e.getChild(t).is("element","tableRow")&&i.push(t);if(i.length){o=!0;for(const o of i.reverse())t.remove(e.getChild(o)),n.splice(o,1)}const r=n.filter(((t,o)=>e.getChild(o).is("element","tableRow"))),l=r[0];if(!r.every((e=>e===l))){const n=r.reduce(((e,t)=>t>e?t:e),0);for(const[i,l]of r.entries()){const r=n-l;if(r){for(let o=0;o<r;o++)d(t,t.createPositionAt(e.getChild(i),"end"));o=!0}}}return o}function pe(e){if("attribute"!==e.type)return!1;const t=e.attributeKey;return"headingRows"===t||"colspan"===t||"rowspan"===t}function fe(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.differ.getChanges();let n=!1;for(const t of o)"insert"==t.type&&"table"==t.name&&(n=we(t.position.nodeAfter,e)||n),"insert"==t.type&&"tableRow"==t.name&&(n=_e(t.position.nodeAfter,e)||n),"insert"==t.type&&"tableCell"==t.name&&(n=ke(t.position.nodeAfter,e)||n),"remove"!=t.type&&"insert"!=t.type||!ve(t)||(n=ke(t.position.parent,e)||n);return n}(t,e)))}function we(e,t){let o=!1;for(const n of e.getChildren())n.is("element","tableRow")&&(o=_e(n,t)||o);return o}function _e(e,t){let o=!1;for(const n of e.getChildren())o=ke(n,t)||o;return o}function ke(e,t){if(0==e.childCount)return t.insertElement("paragraph",e),!0;const o=Array.from(e.getChildren()).filter((e=>e.is("$text")));for(const e of o)t.wrap(t.createRangeOn(e),"paragraph");return!!o.length}function ve(e){return!!e.position.parent.is("element","tableCell")&&("insert"==e.type&&"$text"==e.name||"remove"==e.type)}function Ce(e,t){if(!e.is("element","paragraph"))return!1;const o=t.toViewElement(e);return!!o&&y(e)!==o.is("element","span")}var ye=o(591),Ae=o.n(ye),Te=o(817),xe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(Te.A,xe);Te.A.locals;class Se extends e.Plugin{static get pluginName(){return"TableEditing"}static get requires(){return[oe]}constructor(e){super(e),this._additionalSlots=[]}init(){const e=this.editor,t=e.model,o=t.schema,n=e.conversion,i=e.plugins.get(oe);o.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),o.register("tableRow",{allowIn:"table",isLimit:!0}),o.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),n.for("upcast").add((e=>{e.on("element:figure",((e,t,o)=>{if(!o.consumable.test(t.viewItem,{name:!0,classes:"table"}))return;const n=function(e){for(const t of e.getChildren())if(t.is("element","table"))return t}(t.viewItem);if(!n||!o.consumable.test(n,{name:!0}))return;o.consumable.consume(t.viewItem,{name:!0,classes:"table"});const i=o.convertItem(n,t.modelCursor),r=(0,m.first)(i.modelRange.getItems());r?(o.convertChildren(t.viewItem,o.writer.createPositionAt(r,"end")),o.updateConversionResult(r,t)):o.consumable.revert(t.viewItem,{name:!0,classes:"table"})}))})),n.for("upcast").add(g()),n.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(i,{asWidget:!0,additionalSlots:this._additionalSlots})}),n.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(i,{additionalSlots:this._additionalSlots})}),n.for("upcast").elementToElement({model:"tableRow",view:"tr"}),n.for("upcast").add((e=>{e.on("element:tr",((e,t)=>{t.viewItem.isEmpty&&0==t.modelCursor.index&&e.stop()}),{priority:"high"})})),n.for("downcast").elementToElement({model:"tableRow",view:(e,{writer:t})=>e.isEmpty?t.createEmptyElement("tr"):t.createContainerElement("tr")}),n.for("upcast").elementToElement({model:"tableCell",view:"td"}),n.for("upcast").elementToElement({model:"tableCell",view:"th"}),n.for("upcast").add(p("td")),n.for("upcast").add(p("th")),n.for("editingDowncast").elementToElement({model:"tableCell",view:v({asWidget:!0})}),n.for("dataDowncast").elementToElement({model:"tableCell",view:v()}),n.for("editingDowncast").elementToElement({model:"paragraph",view:C({asWidget:!0}),converterPriority:"high"}),n.for("dataDowncast").elementToElement({model:"paragraph",view:C(),converterPriority:"high"}),n.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),n.for("upcast").attributeToAttribute({model:{key:"colspan",value:Ve("colspan")},view:"colspan"}),n.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),n.for("upcast").attributeToAttribute({model:{key:"rowspan",value:Ve("rowspan")},view:"rowspan"}),e.config.define("table.defaultHeadings.rows",0),e.config.define("table.defaultHeadings.columns",0),e.commands.add("insertTable",new A(e)),e.commands.add("insertTableRowAbove",new T(e,{order:"above"})),e.commands.add("insertTableRowBelow",new T(e,{order:"below"})),e.commands.add("insertTableColumnLeft",new x(e,{order:"left"})),e.commands.add("insertTableColumnRight",new x(e,{order:"right"})),e.commands.add("removeTableRow",new M(e)),e.commands.add("removeTableColumn",new D(e)),e.commands.add("splitTableCellVertically",new S(e,{direction:"vertically"})),e.commands.add("splitTableCellHorizontally",new S(e,{direction:"horizontally"})),e.commands.add("mergeTableCells",new se(e)),e.commands.add("mergeTableCellRight",new N(e,{direction:"right"})),e.commands.add("mergeTableCellLeft",new N(e,{direction:"left"})),e.commands.add("mergeTableCellDown",new N(e,{direction:"down"})),e.commands.add("mergeTableCellUp",new N(e,{direction:"up"})),e.commands.add("setTableColumnHeader",new U(e)),e.commands.add("setTableRowHeader",new H(e)),e.commands.add("selectTableRow",new ue(e)),e.commands.add("selectTableColumn",new he(e)),be(t),fe(t),this.listenTo(t.document,"change:data",(()=>{!function(e,t){const o=e.document.differ;for(const e of o.getChanges()){let o,n=!1;if("attribute"==e.type){const t=e.range.start.nodeAfter;if(!t||!t.is("element","table"))continue;if("headingRows"!=e.attributeKey&&"headingColumns"!=e.attributeKey)continue;o=t,n="headingRows"==e.attributeKey}else"tableRow"!=e.name&&"tableCell"!=e.name||(o=e.position.findAncestor("table"),n="tableRow"==e.name);if(!o)continue;const i=o.getAttribute("headingRows")||0,r=o.getAttribute("headingColumns")||0,l=new w(o);for(const e of l){const o=e.row<i||e.column<r?"th":"td",l=t.mapper.toViewElement(e.cell);l&&l.is("element")&&l.name!=o&&t.reconvertItem(n?e.cell.parent:e.cell)}}}(t,e.editing),function(e,t){const o=e.document.differ,n=new Set;for(const e of o.getChanges()){const t="attribute"==e.type?e.range.start.parent:e.position.parent;t.is("element","tableCell")&&n.add(t)}for(const e of n.values()){const o=Array.from(e.getChildren()).filter((e=>Ce(e,t.mapper)));for(const e of o)t.reconvertItem(e)}}(t,e.editing)}))}registerAdditionalSlot(e){this._additionalSlots.push(e)}}function Ve(e){return t=>{const o=parseInt(t.getAttribute(e));return Number.isNaN(o)||o<=0?null:o}}var Re=o(311),Ie=o(712),Pe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(Ie.A,Pe);Ie.A.locals;class Ee extends Re.View{constructor(e){super(e);const t=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new m.KeystrokeHandler,this.focusTracker=new m.FocusTracker,this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",((e,t)=>`${t} × ${e}`)),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"mouseover@.ck-insert-table-dropdown-grid-box":t.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck","ck-insert-table-dropdown__label"],"aria-hidden":!0},children:[{text:t.to("label")}]}],on:{mousedown:t.to((e=>{e.preventDefault()})),click:t.to((()=>{this.fire("execute")}))}}),this.on("boxover",((e,t)=>{const{row:o,column:n}=t.target.dataset;this.items.get(10*(parseInt(o,10)-1)+(parseInt(n,10)-1)).focus()})),this.focusTracker.on("change:focusedElement",((e,t,o)=>{if(!o)return;const{row:n,column:i}=o.dataset;this.set({rows:parseInt(n),columns:parseInt(i)})})),this.on("change:columns",(()=>this._highlightGridBoxes())),this.on("change:rows",(()=>this._highlightGridBoxes()))}render(){super.render(),(0,Re.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:10,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection});for(const e of this.items)this.focusTracker.add(e.element);this.keystrokes.listenTo(this.element)}reset(){this.set({rows:1,columns:1})}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const e=this.rows,t=this.columns;this.items.map(((o,n)=>{const i=Math.floor(n/10)<e&&n%10<t;o.set("isOn",i)}))}_createGridButton(e,t,o,n){const i=new Re.ButtonView(e);return i.set({label:n,class:"ck-insert-table-dropdown-grid-box"}),i.extendTemplate({attributes:{"data-row":t,"data-column":o}}),i}_createGridCollection(){const e=[];for(let t=0;t<100;t++){const o=Math.floor(t/10),n=t%10,i=`${o+1} × ${n+1}`;e.push(this._createGridButton(this.locale,o+1,n+1,i))}return this.createCollection(e)}}class ze extends e.Plugin{static get pluginName(){return"TableUI"}init(){const t=this.editor,o=this.editor.t,n="ltr"===t.locale.contentLanguageDirection;t.ui.componentFactory.add("insertTable",(n=>{const i=t.commands.get("insertTable"),r=(0,Re.createDropdown)(n);let l;return r.bind("isEnabled").to(i),r.buttonView.set({icon:e.icons.table,label:o("Insert table"),tooltip:!0}),r.on("change:isOpen",(()=>{l||(l=new Ee(n),r.panelView.children.add(l),l.delegate("execute").to(r),r.on("execute",(()=>{t.execute("insertTable",{rows:l.rows,columns:l.columns}),t.editing.view.focus()})))})),r})),t.ui.componentFactory.add("menuBar:insertTable",(n=>{const i=t.commands.get("insertTable"),r=new Re.MenuBarMenuView(n),l=new Ee(n);return l.delegate("execute").to(r),r.on("change:isOpen",((e,t,o)=>{o||l.reset()})),l.on("execute",(()=>{t.execute("insertTable",{rows:l.rows,columns:l.columns}),t.editing.view.focus()})),r.buttonView.set({label:o("Table"),icon:e.icons.table}),r.panelView.children.add(l),r.bind("isEnabled").to(i),r})),t.ui.componentFactory.add("tableColumn",(e=>{const t=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:o("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:n?"insertTableColumnLeft":"insertTableColumnRight",label:o("Insert column left")}},{type:"button",model:{commandName:n?"insertTableColumnRight":"insertTableColumnLeft",label:o("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:o("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:o("Select column")}}];return this._prepareDropdown(o("Column"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M18 7v1H2V7h16zm0 5v1H2v-1h16z" opacity=".6"/><path d="M14 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1zm-2 1H8v4h4V2zm0 6H8v4h4V8zm0 6H8v4h4v-4z"/></svg>',t,e)})),t.ui.componentFactory.add("tableRow",(e=>{const t=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:o("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:o("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:o("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:o("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:o("Select row")}}];return this._prepareDropdown(o("Row"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v16h-1V2z" opacity=".6"/><path d="M1 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1 2v4h4V8H2zm6 0v4h4V8H8zm6 0v4h4V8h-4z"/></svg>',t,e)})),t.ui.componentFactory.add("mergeTableCells",(e=>{const t=[{type:"button",model:{commandName:"mergeTableCellUp",label:o("Merge cell up")}},{type:"button",model:{commandName:n?"mergeTableCellRight":"mergeTableCellLeft",label:o("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:o("Merge cell down")}},{type:"button",model:{commandName:n?"mergeTableCellLeft":"mergeTableCellRight",label:o("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:o("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:o("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(o("Merge cells"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v7h-1V2zm6 5v1H2V7h16zM8 12v1H2v-1h6z" opacity=".6"/><path d="M7 7h12a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1 2v9h10V9H8z"/></svg>',t,e)}))}_prepareDropdown(e,t,o,n){const i=this.editor,r=(0,Re.createDropdown)(n),l=this._fillDropdownWithListOptions(r,o);return r.buttonView.set({label:e,icon:t,tooltip:!0}),r.bind("isEnabled").toMany(l,"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r,"execute",(e=>{i.execute(e.source.commandName),e.source instanceof Re.SwitchButtonView||i.editing.view.focus()})),r}_prepareMergeSplitButtonDropdown(e,t,o,n){const i=this.editor,r=(0,Re.createDropdown)(n,Re.SplitButtonView),l="mergeTableCells",s=i.commands.get(l),a=this._fillDropdownWithListOptions(r,o);return r.buttonView.set({label:e,icon:t,tooltip:!0,isEnabled:!0}),r.bind("isEnabled").toMany([s,...a],"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r.buttonView,"execute",(()=>{i.execute(l),i.editing.view.focus()})),this.listenTo(r,"execute",(e=>{i.execute(e.source.commandName),i.editing.view.focus()})),r}_fillDropdownWithListOptions(e,t){const o=this.editor,n=[],i=new m.Collection;for(const e of t)Be(e,o,n,i);return(0,Re.addListToDropdown)(e,i),n}}function Be(e,t,o,n){if("button"===e.type||"switchbutton"===e.type){const n=e.model=new Re.ViewModel(e.model),{commandName:i,bindIsOn:r}=e.model,l=t.commands.get(i);o.push(l),n.set({commandName:i}),n.bind("isEnabled").to(l),r&&n.bind("isOn").to(l,"value"),n.set({withText:!0})}n.add(e)}var Le=o(719),Fe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(Le.A,Fe);Le.A.locals;class We extends e.Plugin{static get pluginName(){return"TableSelection"}static get requires(){return[oe,oe]}init(){const e=this.editor,t=e.model,o=e.editing.view;this.listenTo(t,"deleteContent",((e,t)=>this._handleDeleteContent(e,t)),{priority:"high"}),this.listenTo(o.document,"insertText",((e,t)=>this._handleInsertTextEvent(e,t)),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const e=this.editor.plugins.get(oe),t=this.editor.model.document.selection,o=e.getSelectedTableCells(t);return 0==o.length?null:o}getSelectionAsFragment(){const e=this.editor.plugins.get(oe),t=this.getSelectedTableCells();return t?this.editor.model.change((o=>{const n=o.createDocumentFragment(),{first:i,last:r}=e.getColumnIndexes(t),{first:l,last:s}=e.getRowIndexes(t),a=t[0].findAncestor("table");let c=s,d=r;if(e.isSelectionRectangular(t)){const e={firstColumn:i,lastColumn:r,firstRow:l,lastRow:s};c=W(a,e),d=O(a,e)}const u=V(a,{startRow:l,startColumn:i,endRow:c,endColumn:d},o);return o.insert(u,n,0),n})):null}setCellSelection(e,t){const o=this._getCellsToSelect(e,t);this.editor.model.change((e=>{e.setSelection(o.cells.map((t=>e.createRangeOn(t))),{backward:o.backward})}))}getFocusCell(){const e=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return e&&e.is("element","tableCell")?e:null}getAnchorCell(){const e=this.editor.model.document.selection,t=(0,m.first)(e.getRanges()).getContainedElement();return t&&t.is("element","tableCell")?t:null}_defineSelectionConverter(){const e=this.editor,t=new Set;e.conversion.for("editingDowncast").add((e=>e.on("selection",((e,o,n)=>{const i=n.writer;!function(e){for(const o of t)e.removeClass("ck-editor__editable_selected",o);t.clear()}(i);const r=this.getSelectedTableCells();if(!r)return;for(const e of r){const o=n.mapper.toViewElement(e);i.addClass("ck-editor__editable_selected",o),t.add(o)}const l=n.mapper.toViewElement(r[r.length-1]);i.setSelection(l,0)}),{priority:"lowest"})))}_enablePluginDisabling(){const e=this.editor;this.on("change:isEnabled",(()=>{if(!this.isEnabled){const t=this.getSelectedTableCells();if(!t)return;e.model.change((o=>{const n=o.createPositionAt(t[0],0),i=e.model.schema.getNearestSelectionRange(n);o.setSelection(i)}))}}))}_handleDeleteContent(e,t){const o=this.editor.plugins.get(oe),n=t[0],i=t[1],r=this.editor.model,l=!i||"backward"==i.direction,s=o.getSelectedTableCells(n);s.length&&(e.stop(),r.change((e=>{const t=s[l?s.length-1:0];r.change((e=>{for(const t of s)r.deleteContent(e.createSelection(t,"in"))}));const o=r.schema.getNearestSelectionRange(e.createPositionAt(t,0));n.is("documentSelection")?e.setSelection(o):n.setTo(o)})))}_handleInsertTextEvent(e,t){const o=this.editor,n=this.getSelectedTableCells();if(!n)return;const i=o.editing.view,r=o.editing.mapper,l=n.map((e=>i.createRangeOn(r.toViewElement(e))));t.selection=i.createSelection(l)}_getCellsToSelect(e,t){const o=this.editor.plugins.get("TableUtils"),n=o.getCellLocation(e),i=o.getCellLocation(t),r=Math.min(n.row,i.row),l=Math.max(n.row,i.row),s=Math.min(n.column,i.column),a=Math.max(n.column,i.column),c=new Array(l-r+1).fill(null).map((()=>[])),d={startRow:r,endRow:l,startColumn:s,endColumn:a};for(const{row:t,cell:o}of new w(e.findAncestor("table"),d))c[t-r].push(o);const u=i.row<n.row,h=i.column<n.column;return u&&c.reverse(),h&&c.forEach((e=>e.reverse())),{cells:c.flat(),backward:u||h}}}var Oe=o(331);class Ne extends e.Plugin{static get pluginName(){return"TableClipboard"}static get requires(){return[Oe.ClipboardMarkersUtils,Oe.ClipboardPipeline,We,oe]}init(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"copy",((e,t)=>this._onCopyCut(e,t))),this.listenTo(t,"cut",((e,t)=>this._onCopyCut(e,t))),this.listenTo(e.model,"insertContent",((e,[t,o])=>this._onInsertContent(e,t,o)),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(e,t){const o=this.editor.editing.view,n=this.editor.plugins.get(We),i=this.editor.plugins.get(Oe.ClipboardMarkersUtils);n.getSelectedTableCells()&&("cut"!=e.name||this.editor.model.canEditAt(this.editor.model.document.selection))&&(t.preventDefault(),e.stop(),this.editor.model.enqueueChange({isUndoable:"cut"===e.name},(()=>{const r=i._copySelectedFragmentWithMarkers(e.name,this.editor.model.document.selection,(()=>n.getSelectionAsFragment()));o.document.fire("clipboardOutput",{dataTransfer:t.dataTransfer,content:this.editor.data.toView(r),method:e.name})})))}_onInsertContent(e,t,o){if(o&&!o.is("documentSelection"))return;const n=this.editor.model,i=this.editor.plugins.get(oe),r=this.editor.plugins.get(Oe.ClipboardMarkersUtils),l=this.getTableIfOnlyTableInContent(t,n);if(!l)return;const s=i.getSelectionAffectedTableCells(n.document.selection);s.length?(e.stop(),t.is("documentFragment")?r._pasteMarkersIntoTransformedElement(t.markers,(e=>this._replaceSelectedCells(l,s,e))):this.editor.model.change((e=>{this._replaceSelectedCells(l,s,e)}))):F(l,i)}_replaceSelectedCells(e,t,o){const n=this.editor.plugins.get(oe),i={width:n.getColumns(e),height:n.getRows(e)},r=function(e,t,o,n){const i=e[0].findAncestor("table"),r=n.getColumnIndexes(e),l=n.getRowIndexes(e),s={firstColumn:r.first,lastColumn:r.last,firstRow:l.first,lastRow:l.last},a=1===e.length;a&&(s.lastRow+=t.height-1,s.lastColumn+=t.width-1,function(e,t,o,n){const i=n.getColumns(e),r=n.getRows(e);o>i&&n.insertColumns(e,{at:i,columns:o-i});t>r&&n.insertRows(e,{at:r,rows:t-r})}(i,s.lastRow+1,s.lastColumn+1,n));a||!n.isSelectionRectangular(e)?function(e,t,o){const{firstRow:n,lastRow:i,firstColumn:r,lastColumn:l}=t,s={first:n,last:i},a={first:r,last:l};Me(e,r,s,o),Me(e,l+1,s,o),je(e,n,a,o),je(e,i+1,a,o,n)}(i,s,o):(s.lastRow=W(i,s),s.lastColumn=O(i,s));return s}(t,i,o,n),l=r.lastRow-r.firstRow+1,s=r.lastColumn-r.firstColumn+1;e=V(e,{startRow:0,startColumn:0,endRow:Math.min(l,i.height)-1,endColumn:Math.min(s,i.width)-1},o);const a=t[0].findAncestor("table"),c=this._replaceSelectedCellsWithPasted(e,i,a,r,o);if(this.editor.plugins.get("TableSelection").isEnabled){const e=n.sortRanges(c.map((e=>o.createRangeOn(e))));o.setSelection(e)}else o.setSelection(c[0],0);return a}_replaceSelectedCellsWithPasted(e,t,o,n,i){const{width:r,height:l}=t,s=function(e,t,o){const n=new Array(o).fill(null).map((()=>new Array(t).fill(null)));for(const{column:t,row:o,cell:i}of new w(e))n[o][t]=i;return n}(e,r,l),a=[...new w(o,{startRow:n.firstRow,endRow:n.lastRow,startColumn:n.firstColumn,endColumn:n.lastColumn,includeAllSlots:!0})],c=[];let d;for(const e of a){const{row:t,column:o}=e;o===n.firstColumn&&(d=e.getPositionBefore());const a=t-n.firstRow,u=o-n.firstColumn,h=s[a%l][u%r],b=h?i.cloneElement(h):null,m=this._replaceTableSlotCell(e,b,d,i);m&&(z(m,t,o,n.lastRow,n.lastColumn,i),c.push(m),d=i.createPositionAfter(m))}const u=parseInt(o.getAttribute("headingRows")||"0"),h=parseInt(o.getAttribute("headingColumns")||"0"),b=n.firstRow<u&&u<=n.lastRow,m=n.firstColumn<h&&h<=n.lastColumn;if(b){const e=je(o,u,{first:n.firstColumn,last:n.lastColumn},i,n.firstRow);c.push(...e)}if(m){const e=Me(o,h,{first:n.firstRow,last:n.lastRow},i);c.push(...e)}return c}_replaceTableSlotCell(e,t,o,n){const{cell:i,isAnchor:r}=e;return r&&n.remove(i),t?(n.insert(t,o),t):null}getTableIfOnlyTableInContent(e,t){if(!e.is("documentFragment")&&!e.is("element"))return null;if(e.is("element","table"))return e;if(1==e.childCount&&e.getChild(0).is("element","table"))return e.getChild(0);const o=t.createRangeIn(e);for(const e of o.getItems())if(e.is("element","table")){const n=t.createRange(o.start,t.createPositionBefore(e));if(t.hasContent(n,{ignoreWhitespaces:!0}))return null;const i=t.createRange(t.createPositionAfter(e),o.end);return t.hasContent(i,{ignoreWhitespaces:!0})?null:e}return null}}function je(e,t,o,n,i=0){if(t<1)return;return R(e,t,i).filter((({column:e,cellWidth:t})=>De(e,t,o))).map((({cell:e})=>I(e,t,n)))}function Me(e,t,o,n){if(t<1)return;return P(e,t).filter((({row:e,cellHeight:t})=>De(e,t,o))).map((({cell:e,column:o})=>E(e,o,t,n)))}function De(e,t,o){const n=e+t-1,{first:i,last:r}=o;return e>=i&&e<=r||e<i&&n>=i}class He extends e.Plugin{static get pluginName(){return"TableKeyboard"}static get requires(){return[We,oe]}init(){const e=this.editor,t=e.editing.view.document,o=e.t;this.listenTo(t,"arrowKey",((...e)=>this._onArrowKey(...e)),{context:"table"}),this.listenTo(t,"tab",((...e)=>this._handleTabOnSelectedTable(...e)),{context:"figure"}),this.listenTo(t,"tab",((...e)=>this._handleTab(...e)),{context:["th","td"]}),e.accessibility.addKeystrokeInfoGroup({id:"table",label:o("Keystrokes that can be used in a table cell"),keystrokes:[{label:o("Move the selection to the next cell"),keystroke:"Tab"},{label:o("Move the selection to the previous cell"),keystroke:"Shift+Tab"},{label:o("Insert a new table row (when in the last cell of a table)"),keystroke:"Tab"},{label:o("Navigate through the table"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]}]})}_handleTabOnSelectedTable(e,t){const o=this.editor,n=o.model.document.selection.getSelectedElement();n&&n.is("element","table")&&(t.preventDefault(),t.stopPropagation(),e.stop(),o.model.change((e=>{e.setSelection(e.createRangeIn(n.getChild(0).getChild(0)))})))}_handleTab(e,t){const o=this.editor,n=this.editor.plugins.get(oe),i=this.editor.plugins.get("TableSelection"),r=o.model.document.selection,l=!t.shiftKey;let s=n.getTableCellsContainingSelection(r)[0];if(s||(s=i.getFocusCell()),!s)return;t.preventDefault(),t.stopPropagation(),e.stop();const a=s.parent,c=a.parent,d=c.getChildIndex(a),u=a.getChildIndex(s),h=0===u;if(!l&&h&&0===d)return void o.model.change((e=>{e.setSelection(e.createRangeOn(c))}));const b=u===a.childCount-1,m=d===n.getRows(c)-1;if(l&&m&&b&&(o.execute("insertTableRowBelow"),d===n.getRows(c)-1))return void o.model.change((e=>{e.setSelection(e.createRangeOn(c))}));let g;if(l&&b){const e=c.getChild(d+1);g=e.getChild(0)}else if(!l&&h){const e=c.getChild(d-1);g=e.getChild(e.childCount-1)}else g=a.getChild(u+(l?1:-1));o.model.change((e=>{e.setSelection(e.createRangeIn(g))}))}_onArrowKey(e,t){const o=this.editor,n=t.keyCode,i=(0,m.getLocalizedArrowKeyCodeDirection)(n,o.locale.contentLanguageDirection);this._handleArrowKeys(i,t.shiftKey)&&(t.preventDefault(),t.stopPropagation(),e.stop())}_handleArrowKeys(e,t){const o=this.editor.plugins.get(oe),n=this.editor.plugins.get("TableSelection"),i=this.editor.model,r=i.document.selection,l=["right","down"].includes(e),s=o.getSelectedTableCells(r);if(s.length){let o;return o=t?n.getFocusCell():l?s[s.length-1]:s[0],this._navigateFromCellInDirection(o,e,t),!0}const a=r.focus.findAncestor("tableCell");if(!a)return!1;if(!r.isCollapsed)if(t){if(r.isBackward==l&&!r.containsEntireContent(a))return!1}else{const e=r.getSelectedElement();if(!e||!i.schema.isObject(e))return!1}return!!this._isSelectionAtCellEdge(r,a,l)&&(this._navigateFromCellInDirection(a,e,t),!0)}_isSelectionAtCellEdge(e,t,o){const n=this.editor.model,i=this.editor.model.schema,r=o?e.getLastPosition():e.getFirstPosition();if(!i.getLimitElement(r).is("element","tableCell")){return n.createPositionAt(t,o?"end":0).isTouching(r)}const l=n.createSelection(r);return n.modifySelection(l,{direction:o?"forward":"backward"}),r.isEqual(l.focus)}_navigateFromCellInDirection(e,t,o=!1){const n=this.editor.model,i=e.findAncestor("table"),r=[...new w(i,{includeAllSlots:!0})],{row:l,column:s}=r[r.length-1],a=r.find((({cell:t})=>t==e));let{row:c,column:d}=a;switch(t){case"left":d--;break;case"up":c--;break;case"right":d+=a.cellWidth;break;case"down":c+=a.cellHeight}if(c<0||c>l||d<0&&c<=0||d>s&&c>=l)return void n.change((e=>{e.setSelection(e.createRangeOn(i))}));d<0?(d=o?0:s,c--):d>s&&(d=o?s:0,c++);const u=r.find((e=>e.row==c&&e.column==d)).cell,h=["right","down"].includes(t),b=this.editor.plugins.get("TableSelection");if(o&&b.isEnabled){const t=b.getAnchorCell()||e;b.setCellSelection(t,u)}else{const e=n.createPositionAt(u,h?0:"end");n.change((t=>{t.setSelection(e)}))}}}var Ue=o(783);class $e extends Ue.DomEventObserver{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(e){this.fire(e.type,e)}}class Ke extends e.Plugin{static get pluginName(){return"TableMouse"}static get requires(){return[We,oe]}init(){this.editor.editing.view.addObserver($e),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const e=this.editor,t=e.plugins.get(oe);let o=!1;const n=e.plugins.get(We);this.listenTo(e.editing.view.document,"mousedown",((i,r)=>{const l=e.model.document.selection;if(!this.isEnabled||!n.isEnabled)return;if(!r.domEvent.shiftKey)return;const s=n.getAnchorCell()||t.getTableCellsContainingSelection(l)[0];if(!s)return;const a=this._getModelTableCellFromDomEvent(r);a&&Ge(s,a)&&(o=!0,n.setCellSelection(s,a),r.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{o=!1})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{o&&e.stop()}),{priority:"highest"})}_enableMouseDragSelection(){const e=this.editor;let t,o,n=!1,i=!1;const r=e.plugins.get(We);this.listenTo(e.editing.view.document,"mousedown",((e,o)=>{this.isEnabled&&r.isEnabled&&(o.domEvent.shiftKey||o.domEvent.ctrlKey||o.domEvent.altKey||(t=this._getModelTableCellFromDomEvent(o)))})),this.listenTo(e.editing.view.document,"mousemove",((e,l)=>{if(!l.domEvent.buttons)return;if(!t)return;const s=this._getModelTableCellFromDomEvent(l);s&&Ge(t,s)&&(o=s,n||o==t||(n=!0)),n&&(i=!0,r.setCellSelection(t,o),l.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{n=!1,i=!1,t=null,o=null})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{i&&e.stop()}),{priority:"highest"})}_getModelTableCellFromDomEvent(e){const t=e.target,o=this.editor.editing.view.createPositionAt(t,0);return this.editor.editing.mapper.toModelPosition(o).parent.findAncestor("tableCell",{includeSelf:!0})}}function Ge(e,t){return e.parent.parent==t.parent.parent}var qe=o(25),Je={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(qe.A,Je);qe.A.locals;class Xe extends e.Plugin{static get requires(){return[Se,ze,We,Ke,He,Ne,t.Widget]}static get pluginName(){return"Table"}}class Ye extends e.Plugin{static get pluginName(){return"PlainTableOutput"}static get requires(){return[Xe]}init(){const e=this.editor;e.conversion.for("dataDowncast").elementToStructure({model:"table",view:Qe,converterPriority:"high"}),e.plugins.has("TableCaption")&&e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>{if("table"===e.parent.name)return t.createContainerElement("caption")},converterPriority:"high"}),e.plugins.has("TableProperties")&&function(e){const t={"border-width":"tableBorderWidth","border-color":"tableBorderColor","border-style":"tableBorderStyle","background-color":"tableBackgroundColor"};for(const[o,n]of Object.entries(t))e.conversion.for("dataDowncast").add((e=>e.on(`attribute:${n}:table`,((e,t,n)=>{const{item:i,attributeNewValue:r}=t,{mapper:l,writer:s}=n;if(!n.consumable.consume(i,e.name))return;const a=l.toViewElement(i);r?s.setStyle(o,r,a):s.removeStyle(o,a)}),{priority:"high"})))}(e)}}function Qe(e,{writer:t}){const o=e.getAttribute("headingRows")||0,n=t.createSlot((e=>e.is("element","tableRow")&&e.index<o)),i=t.createSlot((e=>e.is("element","tableRow")&&e.index>=o)),r=t.createSlot((e=>!e.is("element","tableRow"))),l=t.createContainerElement("thead",null,n),s=t.createContainerElement("tbody",null,i),a=[];return o&&a.push(l),o<e.childCount&&a.push(s),t.createContainerElement("table",null,[r,...a])}function Ze(e){const t=et(e);return t||tt(e)}function et(e){const t=e.getSelectedElement();return t&&ot(t)?t:null}function tt(e){const t=e.getFirstPosition();if(!t)return null;let o=t.parent;for(;o;){if(o.is("element")&&ot(o))return o;o=o.parent}return null}function ot(e){return!!e.getCustomProperty("table")&&(0,t.isWidget)(e)}class nt extends e.Plugin{static get requires(){return[t.WidgetToolbarRepository]}static get pluginName(){return"TableToolbar"}afterInit(){const e=this.editor,o=e.t,n=e.plugins.get(t.WidgetToolbarRepository),i=e.config.get("table.contentToolbar"),r=e.config.get("table.tableToolbar");i&&n.register("tableContent",{ariaLabel:o("Table toolbar"),items:i,getRelatedElement:tt}),r&&n.register("table",{ariaLabel:o("Table toolbar"),items:r,getRelatedElement:et})}}var it=o(770),rt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(it.A,rt);it.A.locals;class lt extends Re.View{constructor(e,t){super(e),this.set("value",""),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isEmpty",!0),this.options=t,this.focusTracker=new m.FocusTracker,this._focusables=new Re.ViewCollection,this.dropdownView=this._createDropdownView(),this.inputView=this._createInputTextView(),this.keystrokes=new m.KeystrokeHandler,this._stillTyping=!1,this.focusCycler=new Re.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-input-color"]},children:[this.dropdownView,this.inputView]}),this.on("change:value",((e,t,o)=>this._setInputValue(o)))}render(){super.render(),[this.inputView,this.dropdownView.buttonView].forEach((e=>{this.focusTracker.add(e.element),this._focusables.add(e)})),this.keystrokes.listenTo(this.element)}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createDropdownView(){const e=this.locale,t=e.t,o=this.bindTemplate,n=this._createColorSelector(e),i=(0,Re.createDropdown)(e),r=new Re.View;return r.setTemplate({tag:"span",attributes:{class:["ck","ck-input-color__button__preview"],style:{backgroundColor:o.to("value")}},children:[{tag:"span",attributes:{class:["ck","ck-input-color__button__preview__no-color-indicator",o.if("value","ck-hidden",(e=>""!=e))]}}]}),i.buttonView.extendTemplate({attributes:{class:"ck-input-color__button"}}),i.buttonView.children.add(r),i.buttonView.label=t("Color picker"),i.buttonView.tooltip=!0,i.panelPosition="rtl"===e.uiLanguageDirection?"se":"sw",i.panelView.children.add(n),i.bind("isEnabled").to(this,"isReadOnly",(e=>!e)),i.on("change:isOpen",((e,t,o)=>{o&&(n.updateSelectedColors(),n.showColorGridsFragment())})),i}_createInputTextView(){const e=this.locale,t=new Re.InputTextView(e);return t.extendTemplate({on:{blur:t.bindTemplate.to("blur")}}),t.value=this.value,t.bind("isReadOnly","hasError").to(this),this.bind("isFocused","isEmpty").to(t),t.on("input",(()=>{const e=t.element.value,o=this.options.colorDefinitions.find((t=>e===t.label));this._stillTyping=!0,this.value=o&&o.color||e})),t.on("blur",(()=>{this._stillTyping=!1,this._setInputValue(t.element.value)})),t.delegate("input").to(this),t}_createColorSelector(e){const t=e.t,o=this.options.defaultColorValue||"",n=t(o?"Restore default":"Remove color"),i=new Re.ColorSelectorView(e,{colors:this.options.colorDefinitions,columns:this.options.columns,removeButtonLabel:n,colorPickerLabel:t("Color picker"),colorPickerViewConfig:!1!==this.options.colorPickerConfig&&{...this.options.colorPickerConfig,hideInput:!0}});i.appendUI(),i.on("execute",((e,t)=>{"colorPickerSaveButton"!==t.source?(this.value=t.value||o,this.fire("input"),"colorPicker"!==t.source&&(this.dropdownView.isOpen=!1)):this.dropdownView.isOpen=!1}));let r=this.value;return i.on("colorPicker:cancel",(()=>{this.value=r,this.fire("input"),this.dropdownView.isOpen=!1})),i.colorGridsFragmentView.colorPickerButtonView.on("execute",(()=>{r=this.value})),i.bind("selectedColor").to(this,"value"),i}_setInputValue(e){if(!this._stillTyping){const t=st(e),o=this.options.colorDefinitions.find((e=>t===st(e.color)));this.inputView.value=o?o.label:e||""}}}function st(e){return e.replace(/([(,])\s+/g,"$1").replace(/^\s+|\s+(?=[),\s]|$)/g,"").replace(/,|\s/g," ")}const at=e=>""===e;function ct(e){return{none:e("None"),solid:e("Solid"),dotted:e("Dotted"),dashed:e("Dashed"),double:e("Double"),groove:e("Groove"),ridge:e("Ridge"),inset:e("Inset"),outset:e("Outset")}}function dt(e){return e('The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".')}function ut(e){return e('The value is invalid. Try "10px" or "2em" or simply "2".')}function ht(e){return e=e.trim().toLowerCase(),at(e)||(0,Ue.isColor)(e)}function bt(e){return e=e.trim(),at(e)||_t(e)||(0,Ue.isLength)(e)||(0,Ue.isPercentage)(e)}function mt(e){return e=e.trim(),at(e)||_t(e)||(0,Ue.isLength)(e)}function gt(e,t){const o=new m.Collection,n=ct(e.t);for(const i in n){const r={type:"button",model:new Re.ViewModel({_borderStyleValue:i,label:n[i],role:"menuitemradio",withText:!0})};"none"===i?r.model.bind("isOn").to(e,"borderStyle",(e=>"none"===t?!e:e===i)):r.model.bind("isOn").to(e,"borderStyle",(e=>e===i)),o.add(r)}return o}function pt(e){const{view:t,icons:o,toolbar:n,labels:i,propertyName:r,nameToValue:l,defaultValue:s}=e;for(const e in i){const a=new Re.ButtonView(t.locale);a.set({label:i[e],icon:o[e],tooltip:i[e]});const c=l?l(e):e;a.bind("isOn").to(t,r,(e=>{let t=e;return""===e&&s&&(t=s),c===t})),a.on("execute",(()=>{t[r]=c})),n.items.add(a)}}const ft=[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}];function wt(e){return(t,o,n)=>{const i=new lt(t.locale,{colorDefinitions:(r=e.colorConfig,r.map((e=>({color:e.model,label:e.label,options:{hasBorder:e.hasBorder}})))),columns:e.columns,defaultColorValue:e.defaultColorValue,colorPickerConfig:e.colorPickerConfig});var r;return i.inputView.set({id:o,ariaDescribedById:n}),i.bind("isReadOnly").to(t,"isEnabled",(e=>!e)),i.bind("hasError").to(t,"errorText",(e=>!!e)),i.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused").to(i),i}}function _t(e){const t=parseFloat(e);return!Number.isNaN(t)&&e===String(t)}var kt=o(839),vt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(kt.A,vt);kt.A.locals;class Ct extends Re.View{constructor(e,t={}){super(e);const o=this.bindTemplate;this.set("class",t.class||null),this.children=this.createCollection(),t.children&&t.children.forEach((e=>this.children.add(e))),this.set("_role",null),this.set("_ariaLabelledBy",null),t.labelView&&this.set({_role:"group",_ariaLabelledBy:t.labelView.id}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__row",o.to("class")],role:o.to("_role"),"aria-labelledby":o.to("_ariaLabelledBy")},children:this.children})}}var yt=o(67),At={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(yt.A,At);yt.A.locals;var Tt=o(911),xt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(Tt.A,xt);Tt.A.locals;var St=o(266),Vt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(St.A,Vt);St.A.locals;class Rt extends Re.View{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",padding:"",backgroundColor:"",width:"",height:"",horizontalAlignment:"",verticalAlignment:""}),this.options=t;const{borderStyleDropdown:o,borderWidthInput:n,borderColorInput:i,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:l,backgroundInput:s}=this._createBackgroundFields(),{widthInput:a,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{horizontalAlignmentToolbar:h,verticalAlignmentToolbar:b,alignmentLabel:g}=this._createAlignmentFields();this.focusTracker=new m.FocusTracker,this.keystrokes=new m.KeystrokeHandler,this.children=this.createCollection(),this.borderStyleDropdown=o,this.borderWidthInput=n,this.borderColorInput=i,this.backgroundInput=s,this.paddingInput=this._createPaddingField(),this.widthInput=a,this.heightInput=d,this.horizontalAlignmentToolbar=h,this.verticalAlignmentToolbar=b;const{saveButtonView:p,cancelButtonView:f}=this._createActionButtons();this.saveButtonView=p,this.cancelButtonView=f,this._focusables=new Re.ViewCollection,this._focusCycler=new Re.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Re.FormHeaderView(e,{label:this.t("Cell properties")})),this.children.add(new Ct(e,{labelView:r,children:[r,o,i,n],class:"ck-table-form__border-row"})),this.children.add(new Ct(e,{labelView:l,children:[l,s],class:"ck-table-form__background-row"})),this.children.add(new Ct(e,{children:[new Ct(e,{labelView:u,children:[u,a,c,d],class:"ck-table-form__dimensions-row"}),new Ct(e,{children:[this.paddingInput],class:"ck-table-cell-properties-form__padding-row"})]})),this.children.add(new Ct(e,{labelView:g,children:[g,h,b],class:"ck-table-cell-properties-form__alignment-row"})),this.children.add(new Ct(e,{children:[this.saveButtonView,this.cancelButtonView],class:"ck-table-form__action-row"})),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-table-form","ck-table-cell-properties-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,Re.submitHandler)({view:this}),[this.borderColorInput,this.backgroundInput].forEach((e=>{this._focusCycler.chain(e.fieldView.focusCycler)})),[this.borderStyleDropdown,this.borderColorInput,this.borderWidthInput,this.backgroundInput,this.widthInput,this.heightInput,this.paddingInput,this.horizontalAlignmentToolbar,this.verticalAlignmentToolbar,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBorderFields(){const e=this.options.defaultTableCellProperties,t={style:e.borderStyle,width:e.borderWidth,color:e.borderColor},o=wt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color,colorPickerConfig:this.options.colorPickerConfig}),n=this.locale,i=this.t,r=i("Style"),l=new Re.LabelView(n);l.text=i("Border");const s=ct(i),a=new Re.LabeledFieldView(n,Re.createLabeledDropdown);a.set({label:r,class:"ck-table-form__border-style"}),a.fieldView.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),a.fieldView.buttonView.bind("label").to(this,"borderStyle",(e=>s[e||"none"])),a.fieldView.on("execute",(e=>{this.borderStyle=e.source._borderStyleValue})),a.bind("isEmpty").to(this,"borderStyle",(e=>!e)),(0,Re.addListToDropdown)(a.fieldView,gt(this,t.style),{role:"menu",ariaLabel:r});const c=new Re.LabeledFieldView(n,Re.createLabeledInputText);c.set({label:i("Width"),class:"ck-table-form__border-width"}),c.fieldView.bind("value").to(this,"borderWidth"),c.bind("isEnabled").to(this,"borderStyle",It),c.fieldView.on("input",(()=>{this.borderWidth=c.fieldView.element.value}));const d=new Re.LabeledFieldView(n,o);return d.set({label:i("Color"),class:"ck-table-form__border-color"}),d.fieldView.bind("value").to(this,"borderColor"),d.bind("isEnabled").to(this,"borderStyle",It),d.fieldView.on("input",(()=>{this.borderColor=d.fieldView.value})),this.on("change:borderStyle",((e,o,n,i)=>{It(n)||(this.borderColor="",this.borderWidth=""),It(i)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:l,borderStyleDropdown:a,borderColorInput:d,borderWidthInput:c}}_createBackgroundFields(){const e=this.locale,t=this.t,o=new Re.LabelView(e);o.text=t("Background");const n=wt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableCellProperties.backgroundColor,colorPickerConfig:this.options.colorPickerConfig}),i=new Re.LabeledFieldView(e,n);return i.set({label:t("Color"),class:"ck-table-cell-properties-form__background"}),i.fieldView.bind("value").to(this,"backgroundColor"),i.fieldView.on("input",(()=>{this.backgroundColor=i.fieldView.value})),{backgroundRowLabel:o,backgroundInput:i}}_createDimensionFields(){const e=this.locale,t=this.t,o=new Re.LabelView(e);o.text=t("Dimensions");const n=new Re.LabeledFieldView(e,Re.createLabeledInputText);n.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),n.fieldView.bind("value").to(this,"width"),n.fieldView.on("input",(()=>{this.width=n.fieldView.element.value}));const i=new Re.View(e);i.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Re.LabeledFieldView(e,Re.createLabeledInputText);return r.set({label:t("Height"),class:"ck-table-form__dimensions-row__height"}),r.fieldView.bind("value").to(this,"height"),r.fieldView.on("input",(()=>{this.height=r.fieldView.element.value})),{dimensionsLabel:o,widthInput:n,operatorLabel:i,heightInput:r}}_createPaddingField(){const e=this.locale,t=this.t,o=new Re.LabeledFieldView(e,Re.createLabeledInputText);return o.set({label:t("Padding"),class:"ck-table-cell-properties-form__padding"}),o.fieldView.bind("value").to(this,"padding"),o.fieldView.on("input",(()=>{this.padding=o.fieldView.element.value})),o}_createAlignmentFields(){const t=this.locale,o=this.t,n=new Re.LabelView(t),i={left:e.icons.alignLeft,center:e.icons.alignCenter,right:e.icons.alignRight,justify:e.icons.alignJustify,top:e.icons.alignTop,middle:e.icons.alignMiddle,bottom:e.icons.alignBottom};n.text=o("Table cell text alignment");const r=new Re.ToolbarView(t),l="rtl"===t.contentLanguageDirection;r.set({isCompact:!0,ariaLabel:o("Horizontal text alignment toolbar")}),pt({view:this,icons:i,toolbar:r,labels:this._horizontalAlignmentLabels,propertyName:"horizontalAlignment",nameToValue:e=>{if(l){if("left"===e)return"right";if("right"===e)return"left"}return e},defaultValue:this.options.defaultTableCellProperties.horizontalAlignment});const s=new Re.ToolbarView(t);return s.set({isCompact:!0,ariaLabel:o("Vertical text alignment toolbar")}),pt({view:this,icons:i,toolbar:s,labels:this._verticalAlignmentLabels,propertyName:"verticalAlignment",defaultValue:this.options.defaultTableCellProperties.verticalAlignment}),{horizontalAlignmentToolbar:r,verticalAlignmentToolbar:s,alignmentLabel:n}}_createActionButtons(){const t=this.locale,o=this.t,n=new Re.ButtonView(t),i=new Re.ButtonView(t),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.paddingInput];return n.set({label:o("Save"),icon:e.icons.check,class:"ck-button-save",type:"submit",withText:!0}),n.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),i.set({label:o("Cancel"),icon:e.icons.cancel,class:"ck-button-cancel",withText:!0}),i.delegate("execute").to(this,"cancel"),{saveButtonView:n,cancelButtonView:i}}get _horizontalAlignmentLabels(){const e=this.locale,t=this.t,o=t("Align cell text to the left"),n=t("Align cell text to the center"),i=t("Align cell text to the right"),r=t("Justify cell text");return"rtl"===e.uiLanguageDirection?{right:i,center:n,left:o,justify:r}:{left:o,center:n,right:i,justify:r}}get _verticalAlignmentLabels(){const e=this.t;return{top:e("Align cell text to the top"),middle:e("Align cell text to the middle"),bottom:e("Align cell text to the bottom")}}}function It(e){return"none"!==e}const Pt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const Et="object"==typeof global&&global&&global.Object===Object&&global;var zt="object"==typeof self&&self&&self.Object===Object&&self;const Bt=Et||zt||Function("return this")();const Lt=function(){return Bt.Date.now()};var Ft=/\s/;const Wt=function(e){for(var t=e.length;t--&&Ft.test(e.charAt(t)););return t};var Ot=/^\s+/;const Nt=function(e){return e?e.slice(0,Wt(e)+1).replace(Ot,""):e};const jt=Bt.Symbol;var Mt=Object.prototype,Dt=Mt.hasOwnProperty,Ht=Mt.toString,Ut=jt?jt.toStringTag:void 0;const $t=function(e){var t=Dt.call(e,Ut),o=e[Ut];try{e[Ut]=void 0;var n=!0}catch(e){}var i=Ht.call(e);return n&&(t?e[Ut]=o:delete e[Ut]),i};var Kt=Object.prototype.toString;const Gt=function(e){return Kt.call(e)};var qt=jt?jt.toStringTag:void 0;const Jt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":qt&&qt in Object(e)?$t(e):Gt(e)};const Xt=function(e){return null!=e&&"object"==typeof e};const Yt=function(e){return"symbol"==typeof e||Xt(e)&&"[object Symbol]"==Jt(e)};var Qt=/^[-+]0x[0-9a-f]+$/i,Zt=/^0b[01]+$/i,eo=/^0o[0-7]+$/i,to=parseInt;const oo=function(e){if("number"==typeof e)return e;if(Yt(e))return NaN;if(Pt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Pt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Nt(e);var o=Zt.test(e);return o||eo.test(e)?to(e.slice(2),o?2:8):Qt.test(e)?NaN:+e};var no=Math.max,io=Math.min;const ro=function(e,t,o){var n,i,r,l,s,a,c=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var o=n,r=i;return n=i=void 0,c=t,l=e.apply(r,o)}function m(e){var o=e-a;return void 0===a||o>=t||o<0||u&&e-c>=r}function g(){var e=Lt();if(m(e))return p(e);s=setTimeout(g,function(e){var o=t-(e-a);return u?io(o,r-(e-c)):o}(e))}function p(e){return s=void 0,h&&n?b(e):(n=i=void 0,l)}function f(){var e=Lt(),o=m(e);if(n=arguments,i=this,a=e,o){if(void 0===s)return function(e){return c=e,s=setTimeout(g,t),d?b(e):l}(a);if(u)return clearTimeout(s),s=setTimeout(g,t),b(a)}return void 0===s&&(s=setTimeout(g,t)),l}return t=oo(t)||0,Pt(o)&&(d=!!o.leading,r=(u="maxWait"in o)?no(oo(o.maxWait)||0,t):r,h="trailing"in o?!!o.trailing:h),f.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=a=i=s=void 0},f.flush=function(){return void 0===s?l:p(Lt())},f},lo=(()=>[Re.BalloonPanelView.defaultPositions.northArrowSouth,Re.BalloonPanelView.defaultPositions.northArrowSouthWest,Re.BalloonPanelView.defaultPositions.northArrowSouthEast,Re.BalloonPanelView.defaultPositions.southArrowNorth,Re.BalloonPanelView.defaultPositions.southArrowNorthWest,Re.BalloonPanelView.defaultPositions.southArrowNorthEast,Re.BalloonPanelView.defaultPositions.viewportStickyNorth])();function so(e,t){const o=e.plugins.get("ContextualBalloon"),n=e.editing.view.document.selection;let i;"cell"===t?tt(n)&&(i=co(e)):Ze(n)&&(i=ao(e)),i&&o.updatePosition(i)}function ao(e){const t=b(e.model.document.selection),o=e.editing.mapper.toViewElement(t);return{target:e.editing.view.domConverter.mapViewToDom(o),positions:lo}}function co(e){const t=e.editing.mapper,o=e.editing.view.domConverter,n=e.model.document.selection;if(n.rangeCount>1)return{target:()=>function(e,t){const o=t.editing.mapper,n=t.editing.view.domConverter,i=Array.from(e).map((e=>{const t=uo(e.start),i=o.toViewElement(t);return new m.Rect(n.mapViewToDom(i))}));return m.Rect.getBoundingRect(i)}(n.getRanges(),e),positions:lo};const i=uo(n.getFirstPosition()),r=t.toViewElement(i);return{target:o.mapViewToDom(r),positions:lo}}function uo(e){return e.nodeAfter&&e.nodeAfter.is("element","tableCell")?e.nodeAfter:e.findAncestor("tableCell")}function ho(e){if(!e||!Pt(e))return e;const{top:t,right:o,bottom:n,left:i}=e;return t==o&&o==n&&n==i?t:void 0}function bo(e,t){const o=parseFloat(e);return Number.isNaN(o)||String(o)!==String(e)?e:`${o}${t}`}function mo(e,t={}){const o={borderStyle:"none",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",...e};return t.includeAlignmentProperty&&!o.alignment&&(o.alignment="center"),t.includePaddingProperty&&!o.padding&&(o.padding=""),t.includeVerticalAlignmentProperty&&!o.verticalAlignment&&(o.verticalAlignment="middle"),t.includeHorizontalAlignmentProperty&&!o.horizontalAlignment&&(o.horizontalAlignment=t.isRightToLeftContent?"right":"left"),o}function go(e,t){return mo({borderStyle:"double",borderColor:"hsl(0, 0%, 70%)",borderWidth:"1px",...e},t)}function po(e,t){return mo({borderStyle:"solid",borderColor:"hsl(0, 0%, 75%)",borderWidth:"1px",...e},t)}const fo={borderStyle:"tableCellBorderStyle",borderColor:"tableCellBorderColor",borderWidth:"tableCellBorderWidth",height:"tableCellHeight",width:"tableCellWidth",padding:"tableCellPadding",backgroundColor:"tableCellBackgroundColor",horizontalAlignment:"tableCellHorizontalAlignment",verticalAlignment:"tableCellVerticalAlignment"};class wo extends e.Plugin{static get requires(){return[Re.ContextualBalloon]}static get pluginName(){return"TableCellPropertiesUI"}constructor(e){super(e),e.config.define("table.tableCellProperties",{borderColors:ft,backgroundColors:ft})}init(){const e=this.editor,t=e.t;this._defaultTableCellProperties=po(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection}),this._balloon=e.plugins.get(Re.ContextualBalloon),this.view=null,this._isReady=!1,e.ui.componentFactory.add("tableCellProperties",(o=>{const n=new Re.ButtonView(o);n.set({label:t("Cell properties"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',tooltip:!0}),this.listenTo(n,"execute",(()=>this._showView()));const i=Object.values(fo).map((t=>e.commands.get(t)));return n.bind("isEnabled").toMany(i,"isEnabled",((...e)=>e.some((e=>e)))),n}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableCellProperties"),o=(0,Re.normalizeColorOptions)(t.borderColors),n=(0,Re.getLocalizedColorOptions)(e.locale,o),i=(0,Re.normalizeColorOptions)(t.backgroundColors),r=(0,Re.getLocalizedColorOptions)(e.locale,i),l=!1!==t.colorPicker,s=new Rt(e.locale,{borderColors:n,backgroundColors:r,defaultTableCellProperties:this._defaultTableCellProperties,colorPickerConfig:!!l&&(t.colorPicker||{})}),a=e.t;s.render(),this.listenTo(s,"submit",(()=>{this._hideView()})),this.listenTo(s,"cancel",(()=>{this._undoStepBatch.operations.length&&e.execute("undo",this._undoStepBatch),this._hideView()})),s.keystrokes.set("Esc",((e,t)=>{this._hideView(),t()})),(0,Re.clickOutsideHandler)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const c=dt(a),d=ut(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableCellBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableCellBorderColor",errorText:c,validator:ht})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableCellBorderWidth",errorText:d,validator:mt})),s.on("change:padding",this._getValidatedPropertyChangeCallback({viewField:s.paddingInput,commandName:"tableCellPadding",errorText:d,validator:bt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableCellWidth",errorText:d,validator:bt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableCellHeight",errorText:d,validator:bt})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableCellBackgroundColor",errorText:c,validator:ht})),s.on("change:horizontalAlignment",this._getPropertyChangeCallback("tableCellHorizontalAlignment")),s.on("change:verticalAlignment",this._getPropertyChangeCallback("tableCellVerticalAlignment")),s}_fillViewFormFromCommandValues(){const e=this.editor.commands,t=e.get("tableCellBorderStyle");Object.entries(fo).map((([t,o])=>{const n=this._defaultTableCellProperties[t]||"";return[t,e.get(o).value||n]})).forEach((([e,o])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,o)})),this._isReady=!0}_showView(){const e=this.editor;this.view||(this.view=this._createPropertiesView()),this.listenTo(e.ui,"update",(()=>{this._updateView()})),this._fillViewFormFromCommandValues(),this._balloon.add({view:this.view,position:co(e)}),this._undoStepBatch=e.model.createBatch(),this.view.focus()}_hideView(){const e=this.editor;this.stopListening(e.ui,"update"),this._isReady=!1,this.view.saveButtonView.focus(),this._balloon.remove(this.view),this.editor.editing.view.focus()}_updateView(){const e=this.editor;tt(e.editing.view.document.selection)?this._isViewVisible&&so(e,"cell"):this._hideView()}get _isViewVisible(){return!!this.view&&this._balloon.visibleView===this.view}get _isViewInBalloon(){return!!this.view&&this._balloon.hasView(this.view)}_getPropertyChangeCallback(e){return(t,o,n)=>{this._isReady&&this.editor.execute(e,{value:n,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:o,validator:n,errorText:i}=e,r=ro((()=>{o.errorText=i}),500);return(e,i,l)=>{r.cancel(),this._isReady&&(n(l)?(this.editor.execute(t,{value:l,batch:this._undoStepBatch}),o.errorText=null):r())}}}class _o extends e.Command{constructor(e,t,o){super(e),this.attributeName=t,this._defaultValue=o}refresh(){const e=this.editor,t=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(e.model.document.selection);this.isEnabled=!!t.length,this.value=this._getSingleValue(t)}execute(e={}){const{value:t,batch:o}=e,n=this.editor.model,i=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(n.document.selection),r=this._getValueToSet(t);n.enqueueChange(o,(e=>{r?i.forEach((t=>e.setAttribute(this.attributeName,r,t))):i.forEach((t=>e.removeAttribute(this.attributeName,t)))}))}_getAttribute(e){if(!e)return;const t=e.getAttribute(this.attributeName);return t!==this._defaultValue?t:void 0}_getValueToSet(e){if(e!==this._defaultValue)return e}_getSingleValue(e){const t=this._getAttribute(e[0]);return e.every((e=>this._getAttribute(e)===t))?t:void 0}}class ko extends _o{constructor(e,t){super(e,"tableCellWidth",t)}_getValueToSet(e){if((e=bo(e,"px"))!==this._defaultValue)return e}}class vo extends e.Plugin{static get pluginName(){return"TableCellWidthEditing"}static get requires(){return[Se]}init(){const e=this.editor,t=po(e.config.get("table.tableCellProperties.defaultProperties"));h(e.model.schema,e.conversion,{modelAttribute:"tableCellWidth",styleName:"width",defaultValue:t.width}),e.commands.add("tableCellWidth",new ko(e,t.width))}}class Co extends _o{constructor(e,t){super(e,"tableCellPadding",t)}_getAttribute(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=bo(e,"px");if(t!==this._defaultValue)return t}}class yo extends _o{constructor(e,t){super(e,"tableCellHeight",t)}_getValueToSet(e){const t=bo(e,"px");if(t!==this._defaultValue)return t}}class Ao extends _o{constructor(e,t){super(e,"tableCellBackgroundColor",t)}}class To extends _o{constructor(e,t){super(e,"tableCellVerticalAlignment",t)}}class xo extends _o{constructor(e,t){super(e,"tableCellHorizontalAlignment",t)}}class So extends _o{constructor(e,t){super(e,"tableCellBorderStyle",t)}_getAttribute(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Vo extends _o{constructor(e,t){super(e,"tableCellBorderColor",t)}_getAttribute(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Ro extends _o{constructor(e,t){super(e,"tableCellBorderWidth",t)}_getAttribute(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=bo(e,"px");if(t!==this._defaultValue)return t}}const Io=/^(top|middle|bottom)$/,Po=/^(left|center|right|justify)$/;class Eo extends e.Plugin{static get pluginName(){return"TableCellPropertiesEditing"}static get requires(){return[Se,vo]}init(){const e=this.editor,t=e.model.schema,o=e.conversion;e.config.define("table.tableCellProperties.defaultProperties",{});const n=po(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection});e.data.addStyleProcessorRules(Ue.addBorderRules),function(e,t,o){const n={width:"tableCellBorderWidth",color:"tableCellBorderColor",style:"tableCellBorderStyle"};e.extend("tableCell",{allowAttributes:Object.values(n)}),r(t,"td",n,o),r(t,"th",n,o),l(t,{modelElement:"tableCell",modelAttribute:n.style,styleName:"border-style"}),l(t,{modelElement:"tableCell",modelAttribute:n.color,styleName:"border-color"}),l(t,{modelElement:"tableCell",modelAttribute:n.width,styleName:"border-width"})}(t,o,{color:n.borderColor,style:n.borderStyle,width:n.borderWidth}),e.commands.add("tableCellBorderStyle",new So(e,n.borderStyle)),e.commands.add("tableCellBorderColor",new Vo(e,n.borderColor)),e.commands.add("tableCellBorderWidth",new Ro(e,n.borderWidth)),h(t,o,{modelAttribute:"tableCellHeight",styleName:"height",defaultValue:n.height}),e.commands.add("tableCellHeight",new yo(e,n.height)),e.data.addStyleProcessorRules(Ue.addPaddingRules),h(t,o,{modelAttribute:"tableCellPadding",styleName:"padding",reduceBoxSides:!0,defaultValue:n.padding}),e.commands.add("tableCellPadding",new Co(e,n.padding)),e.data.addStyleProcessorRules(Ue.addBackgroundRules),h(t,o,{modelAttribute:"tableCellBackgroundColor",styleName:"background-color",defaultValue:n.backgroundColor}),e.commands.add("tableCellBackgroundColor",new Ao(e,n.backgroundColor)),function(e,t,o){e.extend("tableCell",{allowAttributes:["tableCellHorizontalAlignment"]}),t.for("downcast").attributeToAttribute({model:{name:"tableCell",key:"tableCellHorizontalAlignment"},view:e=>({key:"style",value:{"text-align":e}})}),t.for("upcast").attributeToAttribute({view:{name:/^(td|th)$/,styles:{"text-align":Po}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getStyle("text-align");return t===o?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{align:Po}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getAttribute("align");return t===o?null:t}}})}(t,o,n.horizontalAlignment),e.commands.add("tableCellHorizontalAlignment",new xo(e,n.horizontalAlignment)),function(e,t,o){e.extend("tableCell",{allowAttributes:["tableCellVerticalAlignment"]}),t.for("downcast").attributeToAttribute({model:{name:"tableCell",key:"tableCellVerticalAlignment"},view:e=>({key:"style",value:{"vertical-align":e}})}),t.for("upcast").attributeToAttribute({view:{name:/^(td|th)$/,styles:{"vertical-align":Io}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getStyle("vertical-align");return t===o?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{valign:Io}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getAttribute("valign");return t===o?null:t}}})}(t,o,n.verticalAlignment),e.commands.add("tableCellVerticalAlignment",new To(e,n.verticalAlignment))}}class zo extends e.Plugin{static get pluginName(){return"TableCellProperties"}static get requires(){return[Eo,wo]}}class Bo extends e.Command{constructor(e,t,o){super(e),this.attributeName=t,this._defaultValue=o}refresh(){const e=b(this.editor.model.document.selection);this.isEnabled=!!e,this.value=this._getValue(e)}execute(e={}){const t=this.editor.model,o=t.document.selection,{value:n,batch:i}=e,r=b(o),l=this._getValueToSet(n);t.enqueueChange(i,(e=>{l?e.setAttribute(this.attributeName,l,r):e.removeAttribute(this.attributeName,r)}))}_getValue(e){if(!e)return;const t=e.getAttribute(this.attributeName);return t!==this._defaultValue?t:void 0}_getValueToSet(e){if(e!==this._defaultValue)return e}}class Lo extends Bo{constructor(e,t){super(e,"tableBackgroundColor",t)}}class Fo extends Bo{constructor(e,t){super(e,"tableBorderColor",t)}_getValue(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Wo extends Bo{constructor(e,t){super(e,"tableBorderStyle",t)}_getValue(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Oo extends Bo{constructor(e,t){super(e,"tableBorderWidth",t)}_getValue(e){if(!e)return;const t=ho(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=bo(e,"px");if(t!==this._defaultValue)return t}}class No extends Bo{constructor(e,t){super(e,"tableWidth",t)}_getValueToSet(e){if((e=bo(e,"px"))!==this._defaultValue)return e}}class jo extends Bo{constructor(e,t){super(e,"tableHeight",t)}_getValueToSet(e){if((e=bo(e,"px"))!==this._defaultValue)return e}}class Mo extends Bo{constructor(e,t){super(e,"tableAlignment",t)}}const Do=/^(left|center|right)$/,Ho=/^(left|none|right)$/;class Uo extends e.Plugin{static get pluginName(){return"TablePropertiesEditing"}static get requires(){return[Se]}init(){const e=this.editor,t=e.model.schema,o=e.conversion;e.config.define("table.tableProperties.defaultProperties",{});const n=go(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0});e.data.addStyleProcessorRules(Ue.addBorderRules),function(e,t,o){const n={width:"tableBorderWidth",color:"tableBorderColor",style:"tableBorderStyle"};e.extend("table",{allowAttributes:Object.values(n)}),r(t,"table",n,o),s(t,{modelAttribute:n.color,styleName:"border-color"}),s(t,{modelAttribute:n.style,styleName:"border-style"}),s(t,{modelAttribute:n.width,styleName:"border-width"})}(t,o,{color:n.borderColor,style:n.borderStyle,width:n.borderWidth}),e.commands.add("tableBorderColor",new Fo(e,n.borderColor)),e.commands.add("tableBorderStyle",new Wo(e,n.borderStyle)),e.commands.add("tableBorderWidth",new Oo(e,n.borderWidth)),function(e,t,o){e.extend("table",{allowAttributes:["tableAlignment"]}),t.for("downcast").attributeToAttribute({model:{name:"table",key:"tableAlignment"},view:e=>({key:"style",value:{float:"center"===e?"none":e}}),converterPriority:"high"}),t.for("upcast").attributeToAttribute({view:{name:/^(table|figure)$/,styles:{float:Ho}},model:{key:"tableAlignment",value:e=>{let t=e.getStyle("float");return"none"===t&&(t="center"),t===o?null:t}}}).attributeToAttribute({view:{attributes:{align:Do}},model:{name:"table",key:"tableAlignment",value:e=>{const t=e.getAttribute("align");return t===o?null:t}}})}(t,o,n.alignment),e.commands.add("tableAlignment",new Mo(e,n.alignment)),$o(t,o,{modelAttribute:"tableWidth",styleName:"width",defaultValue:n.width}),e.commands.add("tableWidth",new No(e,n.width)),$o(t,o,{modelAttribute:"tableHeight",styleName:"height",defaultValue:n.height}),e.commands.add("tableHeight",new jo(e,n.height)),e.data.addStyleProcessorRules(Ue.addBackgroundRules),function(e,t,o){const{modelAttribute:n}=o;e.extend("table",{allowAttributes:[n]}),i(t,{viewElement:"table",...o}),s(t,o)}(t,o,{modelAttribute:"tableBackgroundColor",styleName:"background-color",defaultValue:n.backgroundColor}),e.commands.add("tableBackgroundColor",new Lo(e,n.backgroundColor))}}function $o(e,t,o){const{modelAttribute:n}=o;e.extend("table",{allowAttributes:[n]}),i(t,{viewElement:/^(table|figure)$/,shouldUpcast:e=>!("table"==e.name&&"figure"==e.parent.name),...o}),l(t,{modelElement:"table",...o})}var Ko=o(218),Go={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(Ko.A,Go);Ko.A.locals;class qo extends Re.View{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",alignment:""}),this.options=t;const{borderStyleDropdown:o,borderWidthInput:n,borderColorInput:i,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:l,backgroundInput:s}=this._createBackgroundFields(),{widthInput:a,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{alignmentToolbar:h,alignmentLabel:b}=this._createAlignmentFields();this.focusTracker=new m.FocusTracker,this.keystrokes=new m.KeystrokeHandler,this.children=this.createCollection(),this.borderStyleDropdown=o,this.borderWidthInput=n,this.borderColorInput=i,this.backgroundInput=s,this.widthInput=a,this.heightInput=d,this.alignmentToolbar=h;const{saveButtonView:g,cancelButtonView:p}=this._createActionButtons();this.saveButtonView=g,this.cancelButtonView=p,this._focusables=new Re.ViewCollection,this._focusCycler=new Re.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Re.FormHeaderView(e,{label:this.t("Table properties")})),this.children.add(new Ct(e,{labelView:r,children:[r,o,i,n],class:"ck-table-form__border-row"})),this.children.add(new Ct(e,{labelView:l,children:[l,s],class:"ck-table-form__background-row"})),this.children.add(new Ct(e,{children:[new Ct(e,{labelView:u,children:[u,a,c,d],class:"ck-table-form__dimensions-row"}),new Ct(e,{labelView:b,children:[b,h],class:"ck-table-properties-form__alignment-row"})]})),this.children.add(new Ct(e,{children:[this.saveButtonView,this.cancelButtonView],class:"ck-table-form__action-row"})),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-table-form","ck-table-properties-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,Re.submitHandler)({view:this}),[this.borderColorInput,this.backgroundInput].forEach((e=>{this._focusCycler.chain(e.fieldView.focusCycler)})),[this.borderStyleDropdown,this.borderColorInput,this.borderWidthInput,this.backgroundInput,this.widthInput,this.heightInput,this.alignmentToolbar,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBorderFields(){const e=this.options.defaultTableProperties,t={style:e.borderStyle,width:e.borderWidth,color:e.borderColor},o=wt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color,colorPickerConfig:this.options.colorPickerConfig}),n=this.locale,i=this.t,r=i("Style"),l=new Re.LabelView(n);l.text=i("Border");const s=ct(i),a=new Re.LabeledFieldView(n,Re.createLabeledDropdown);a.set({label:r,class:"ck-table-form__border-style"}),a.fieldView.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),a.fieldView.buttonView.bind("label").to(this,"borderStyle",(e=>s[e||"none"])),a.fieldView.on("execute",(e=>{this.borderStyle=e.source._borderStyleValue})),a.bind("isEmpty").to(this,"borderStyle",(e=>!e)),(0,Re.addListToDropdown)(a.fieldView,gt(this,t.style),{role:"menu",ariaLabel:r});const c=new Re.LabeledFieldView(n,Re.createLabeledInputText);c.set({label:i("Width"),class:"ck-table-form__border-width"}),c.fieldView.bind("value").to(this,"borderWidth"),c.bind("isEnabled").to(this,"borderStyle",Jo),c.fieldView.on("input",(()=>{this.borderWidth=c.fieldView.element.value}));const d=new Re.LabeledFieldView(n,o);return d.set({label:i("Color"),class:"ck-table-form__border-color"}),d.fieldView.bind("value").to(this,"borderColor"),d.bind("isEnabled").to(this,"borderStyle",Jo),d.fieldView.on("input",(()=>{this.borderColor=d.fieldView.value})),this.on("change:borderStyle",((e,o,n,i)=>{Jo(n)||(this.borderColor="",this.borderWidth=""),Jo(i)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:l,borderStyleDropdown:a,borderColorInput:d,borderWidthInput:c}}_createBackgroundFields(){const e=this.locale,t=this.t,o=new Re.LabelView(e);o.text=t("Background");const n=wt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableProperties.backgroundColor,colorPickerConfig:this.options.colorPickerConfig}),i=new Re.LabeledFieldView(e,n);return i.set({label:t("Color"),class:"ck-table-properties-form__background"}),i.fieldView.bind("value").to(this,"backgroundColor"),i.fieldView.on("input",(()=>{this.backgroundColor=i.fieldView.value})),{backgroundRowLabel:o,backgroundInput:i}}_createDimensionFields(){const e=this.locale,t=this.t,o=new Re.LabelView(e);o.text=t("Dimensions");const n=new Re.LabeledFieldView(e,Re.createLabeledInputText);n.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),n.fieldView.bind("value").to(this,"width"),n.fieldView.on("input",(()=>{this.width=n.fieldView.element.value}));const i=new Re.View(e);i.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Re.LabeledFieldView(e,Re.createLabeledInputText);return r.set({label:t("Height"),class:"ck-table-form__dimensions-row__height"}),r.fieldView.bind("value").to(this,"height"),r.fieldView.on("input",(()=>{this.height=r.fieldView.element.value})),{dimensionsLabel:o,widthInput:n,operatorLabel:i,heightInput:r}}_createAlignmentFields(){const t=this.locale,o=this.t,n=new Re.LabelView(t);n.text=o("Alignment");const i=new Re.ToolbarView(t);return i.set({isCompact:!0,ariaLabel:o("Table alignment toolbar")}),pt({view:this,icons:{left:e.icons.objectLeft,center:e.icons.objectCenter,right:e.icons.objectRight},toolbar:i,labels:this._alignmentLabels,propertyName:"alignment",defaultValue:this.options.defaultTableProperties.alignment}),{alignmentLabel:n,alignmentToolbar:i}}_createActionButtons(){const t=this.locale,o=this.t,n=new Re.ButtonView(t),i=new Re.ButtonView(t),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.widthInput,this.heightInput];return n.set({label:o("Save"),icon:e.icons.check,class:"ck-button-save",type:"submit",withText:!0}),n.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),i.set({label:o("Cancel"),icon:e.icons.cancel,class:"ck-button-cancel",withText:!0}),i.delegate("execute").to(this,"cancel"),{saveButtonView:n,cancelButtonView:i}}get _alignmentLabels(){const e=this.locale,t=this.t,o=t("Align table to the left"),n=t("Center table"),i=t("Align table to the right");return"rtl"===e.uiLanguageDirection?{right:i,center:n,left:o}:{left:o,center:n,right:i}}}function Jo(e){return"none"!==e}const Xo={borderStyle:"tableBorderStyle",borderColor:"tableBorderColor",borderWidth:"tableBorderWidth",backgroundColor:"tableBackgroundColor",width:"tableWidth",height:"tableHeight",alignment:"tableAlignment"};class Yo extends e.Plugin{static get requires(){return[Re.ContextualBalloon]}static get pluginName(){return"TablePropertiesUI"}constructor(e){super(e),this.view=null,e.config.define("table.tableProperties",{borderColors:ft,backgroundColors:ft})}init(){const e=this.editor,t=e.t;this._defaultTableProperties=go(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0}),this._balloon=e.plugins.get(Re.ContextualBalloon),e.ui.componentFactory.add("tableProperties",(o=>{const n=new Re.ButtonView(o);n.set({label:t("Table properties"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',tooltip:!0}),this.listenTo(n,"execute",(()=>this._showView()));const i=Object.values(Xo).map((t=>e.commands.get(t)));return n.bind("isEnabled").toMany(i,"isEnabled",((...e)=>e.some((e=>e)))),n}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableProperties"),o=(0,Re.normalizeColorOptions)(t.borderColors),n=(0,Re.getLocalizedColorOptions)(e.locale,o),i=(0,Re.normalizeColorOptions)(t.backgroundColors),r=(0,Re.getLocalizedColorOptions)(e.locale,i),l=!1!==t.colorPicker,s=new qo(e.locale,{borderColors:n,backgroundColors:r,defaultTableProperties:this._defaultTableProperties,colorPickerConfig:!!l&&(t.colorPicker||{})}),a=e.t;s.render(),this.listenTo(s,"submit",(()=>{this._hideView()})),this.listenTo(s,"cancel",(()=>{this._undoStepBatch.operations.length&&e.execute("undo",this._undoStepBatch),this._hideView()})),s.keystrokes.set("Esc",((e,t)=>{this._hideView(),t()})),(0,Re.clickOutsideHandler)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const c=dt(a),d=ut(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableBorderColor",errorText:c,validator:ht})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableBorderWidth",errorText:d,validator:mt})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableBackgroundColor",errorText:c,validator:ht})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableWidth",errorText:d,validator:bt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableHeight",errorText:d,validator:bt})),s.on("change:alignment",this._getPropertyChangeCallback("tableAlignment")),s}_fillViewFormFromCommandValues(){const e=this.editor.commands,t=e.get("tableBorderStyle");Object.entries(Xo).map((([t,o])=>{const n=t,i=this._defaultTableProperties[n]||"";return[n,e.get(o).value||i]})).forEach((([e,o])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,o)})),this._isReady=!0}_showView(){const e=this.editor;this.view||(this.view=this._createPropertiesView()),this.listenTo(e.ui,"update",(()=>{this._updateView()})),this._fillViewFormFromCommandValues(),this._balloon.add({view:this.view,position:ao(e)}),this._undoStepBatch=e.model.createBatch(),this.view.focus()}_hideView(){const e=this.editor;this.stopListening(e.ui,"update"),this._isReady=!1,this.view.saveButtonView.focus(),this._balloon.remove(this.view),this.editor.editing.view.focus()}_updateView(){const e=this.editor;Ze(e.editing.view.document.selection)?this._isViewVisible&&so(e,"table"):this._hideView()}get _isViewVisible(){return!!this.view&&this._balloon.visibleView===this.view}get _isViewInBalloon(){return!!this.view&&this._balloon.hasView(this.view)}_getPropertyChangeCallback(e){return(t,o,n)=>{this._isReady&&this.editor.execute(e,{value:n,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:o,validator:n,errorText:i}=e,r=ro((()=>{o.errorText=i}),500);return(e,i,l)=>{r.cancel(),this._isReady&&(n(l)?(this.editor.execute(t,{value:l,batch:this._undoStepBatch}),o.errorText=null):r())}}}class Qo extends e.Plugin{static get pluginName(){return"TableProperties"}static get requires(){return[Uo,Yo]}}function Zo(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.differ.getChanges();let n=!1;for(const t of o){if("insert"!=t.type)continue;const o=t.position.parent;if(o.is("element","table")||"table"==t.name){const i="table"==t.name?t.position.nodeAfter:o,r=Array.from(i.getChildren()).filter((e=>e.is("element","caption"))),l=r.shift();if(!l)continue;for(const t of r)e.move(e.createRangeIn(t),l,"end"),e.remove(t);l.nextSibling&&(e.move(e.createRangeOn(l),i,"end"),n=!0),n=!!r.length||n}}return n}(t,e)))}function en(e){return!!e&&e.is("element","table")}function tn(e){for(const t of e.getChildren())if(t.is("element","caption"))return t;return null}function on(e){const t=e.parent;return"figcaption"==e.name&&t&&t.is("element","figure")&&t.hasClass("table")||"caption"==e.name&&t&&t.is("element","table")?{name:!0}:null}class nn extends e.Command{refresh(){const e=b(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?this.value=!!tn(e):this.value=!1}execute({focusCaptionOnShow:e=!1}={}){this.editor.model.change((t=>{this.value?this._hideTableCaption(t):this._showTableCaption(t,e)}))}_showTableCaption(e,t){const o=this.editor.model,n=b(o.document.selection),i=this.editor.plugins.get("TableCaptionEditing")._getSavedCaption(n)||e.createElement("caption");o.insertContent(i,n,"end"),t&&e.setSelection(i,"in")}_hideTableCaption(e){const t=this.editor.model,o=b(t.document.selection),n=this.editor.plugins.get("TableCaptionEditing"),i=tn(o);n._saveCaption(o,i),t.deleteContent(e.createSelection(i,"on"))}}class rn extends e.Plugin{static get pluginName(){return"TableCaptionEditing"}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,o=e.model.schema,n=e.editing.view,i=e.t;o.isRegistered("caption")?o.extend("caption",{allowIn:"table"}):o.register("caption",{allowIn:"table",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleTableCaption",new nn(this.editor)),e.conversion.for("upcast").elementToElement({view:on,model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>en(e.parent)?t.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(e,{writer:o})=>{if(!en(e.parent))return null;const r=o.createEditableElement("figcaption");return o.setCustomProperty("tableCaption",!0,r),r.placeholder=i("Enter table caption"),(0,Ue.enablePlaceholder)({view:n,element:r,keepOnFocus:!0}),(0,t.toWidgetEditable)(r,o)}}),Zo(e.model)}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?Ue.Element.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}}class ln extends e.Plugin{static get pluginName(){return"TableCaptionUI"}init(){const t=this.editor,o=t.editing.view,n=t.t;t.ui.componentFactory.add("toggleTableCaption",(i=>{const r=t.commands.get("toggleTableCaption"),l=new Re.ButtonView(i);return l.set({icon:e.icons.caption,tooltip:!0,isToggleable:!0}),l.bind("isOn","isEnabled").to(r,"value","isEnabled"),l.bind("label").to(r,"value",(e=>n(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(l,"execute",(()=>{if(t.execute("toggleTableCaption",{focusCaptionOnShow:!0}),r.value){const e=function(e){const t=b(e);return t?tn(t):null}(t.model.document.selection),n=t.editing.mapper.toViewElement(e);if(!n)return;o.scrollToTheSelection(),o.change((e=>{e.addClass("table__caption_highlighted",n)}))}t.editing.view.focus()})),l}))}}var sn=o(175),an={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(sn.A,an);sn.A.locals;class cn extends e.Plugin{static get pluginName(){return"TableCaption"}static get requires(){return[rn,ln]}}const dn=function(){this.__data__=[],this.size=0};const un=function(e,t){return e===t||e!=e&&t!=t};const hn=function(e,t){for(var o=e.length;o--;)if(un(e[o][0],t))return o;return-1};var bn=Array.prototype.splice;const mn=function(e){var t=this.__data__,o=hn(t,e);return!(o<0)&&(o==t.length-1?t.pop():bn.call(t,o,1),--this.size,!0)};const gn=function(e){var t=this.__data__,o=hn(t,e);return o<0?void 0:t[o][1]};const pn=function(e){return hn(this.__data__,e)>-1};const fn=function(e,t){var o=this.__data__,n=hn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this};function wn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}wn.prototype.clear=dn,wn.prototype.delete=mn,wn.prototype.get=gn,wn.prototype.has=pn,wn.prototype.set=fn;const _n=wn;const kn=function(){this.__data__=new _n,this.size=0};const vn=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o};const Cn=function(e){return this.__data__.get(e)};const yn=function(e){return this.__data__.has(e)};const An=function(e){if(!Pt(e))return!1;var t=Jt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const Tn=Bt["__core-js_shared__"];var xn,Sn=(xn=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||""))?"Symbol(src)_1."+xn:"";const Vn=function(e){return!!Sn&&Sn in e};var Rn=Function.prototype.toString;const In=function(e){if(null!=e){try{return Rn.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var Pn=/^\[object .+?Constructor\]$/,En=Function.prototype,zn=Object.prototype,Bn=En.toString,Ln=zn.hasOwnProperty,Fn=RegExp("^"+Bn.call(Ln).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Wn=function(e){return!(!Pt(e)||Vn(e))&&(An(e)?Fn:Pn).test(In(e))};const On=function(e,t){return null==e?void 0:e[t]};const Nn=function(e,t){var o=On(e,t);return Wn(o)?o:void 0};const jn=Nn(Bt,"Map");const Mn=Nn(Object,"create");const Dn=function(){this.__data__=Mn?Mn(null):{},this.size=0};const Hn=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Un=Object.prototype.hasOwnProperty;const $n=function(e){var t=this.__data__;if(Mn){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return Un.call(t,e)?t[e]:void 0};var Kn=Object.prototype.hasOwnProperty;const Gn=function(e){var t=this.__data__;return Mn?void 0!==t[e]:Kn.call(t,e)};const qn=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Mn&&void 0===t?"__lodash_hash_undefined__":t,this};function Jn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Jn.prototype.clear=Dn,Jn.prototype.delete=Hn,Jn.prototype.get=$n,Jn.prototype.has=Gn,Jn.prototype.set=qn;const Xn=Jn;const Yn=function(){this.size=0,this.__data__={hash:new Xn,map:new(jn||_n),string:new Xn}};const Qn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const Zn=function(e,t){var o=e.__data__;return Qn(t)?o["string"==typeof t?"string":"hash"]:o.map};const ei=function(e){var t=Zn(this,e).delete(e);return this.size-=t?1:0,t};const ti=function(e){return Zn(this,e).get(e)};const oi=function(e){return Zn(this,e).has(e)};const ni=function(e,t){var o=Zn(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this};function ii(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}ii.prototype.clear=Yn,ii.prototype.delete=ei,ii.prototype.get=ti,ii.prototype.has=oi,ii.prototype.set=ni;const ri=ii;const li=function(e,t){var o=this.__data__;if(o instanceof _n){var n=o.__data__;if(!jn||n.length<199)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ri(n)}return o.set(e,t),this.size=o.size,this};function si(e){var t=this.__data__=new _n(e);this.size=t.size}si.prototype.clear=kn,si.prototype.delete=vn,si.prototype.get=Cn,si.prototype.has=yn,si.prototype.set=li;const ai=si;const ci=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const di=function(e){return this.__data__.has(e)};function ui(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new ri;++t<o;)this.add(e[t])}ui.prototype.add=ui.prototype.push=ci,ui.prototype.has=di;const hi=ui;const bi=function(e,t){for(var o=-1,n=null==e?0:e.length;++o<n;)if(t(e[o],o,e))return!0;return!1};const mi=function(e,t){return e.has(t)};const gi=function(e,t,o,n,i,r){var l=1&o,s=e.length,a=t.length;if(s!=a&&!(l&&a>s))return!1;var c=r.get(e),d=r.get(t);if(c&&d)return c==t&&d==e;var u=-1,h=!0,b=2&o?new hi:void 0;for(r.set(e,t),r.set(t,e);++u<s;){var m=e[u],g=t[u];if(n)var p=l?n(g,m,u,t,e,r):n(m,g,u,e,t,r);if(void 0!==p){if(p)continue;h=!1;break}if(b){if(!bi(t,(function(e,t){if(!mi(b,t)&&(m===e||i(m,e,o,n,r)))return b.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,o,n,r)){h=!1;break}}return r.delete(e),r.delete(t),h};const pi=Bt.Uint8Array;const fi=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,n){o[++t]=[n,e]})),o};const wi=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o};var _i=jt?jt.prototype:void 0,ki=_i?_i.valueOf:void 0;const vi=function(e,t,o,n,i,r,l){switch(o){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new pi(e),new pi(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return un(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=fi;case"[object Set]":var a=1&n;if(s||(s=wi),e.size!=t.size&&!a)return!1;var c=l.get(e);if(c)return c==t;n|=2,l.set(e,t);var d=gi(s(e),s(t),n,i,r,l);return l.delete(e),d;case"[object Symbol]":if(ki)return ki.call(e)==ki.call(t)}return!1};const Ci=function(e,t){for(var o=-1,n=t.length,i=e.length;++o<n;)e[i+o]=t[o];return e};const yi=Array.isArray;const Ai=function(e,t,o){var n=t(e);return yi(e)?n:Ci(n,o(e))};const Ti=function(e,t){for(var o=-1,n=null==e?0:e.length,i=0,r=[];++o<n;){var l=e[o];t(l,o,e)&&(r[i++]=l)}return r};const xi=function(){return[]};var Si=Object.prototype.propertyIsEnumerable,Vi=Object.getOwnPropertySymbols;const Ri=Vi?function(e){return null==e?[]:(e=Object(e),Ti(Vi(e),(function(t){return Si.call(e,t)})))}:xi;const Ii=function(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n};const Pi=function(e){return Xt(e)&&"[object Arguments]"==Jt(e)};var Ei=Object.prototype,zi=Ei.hasOwnProperty,Bi=Ei.propertyIsEnumerable;const Li=Pi(function(){return arguments}())?Pi:function(e){return Xt(e)&&zi.call(e,"callee")&&!Bi.call(e,"callee")};const Fi=function(){return!1};var Wi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Oi=Wi&&"object"==typeof module&&module&&!module.nodeType&&module,Ni=Oi&&Oi.exports===Wi?Bt.Buffer:void 0;const ji=(Ni?Ni.isBuffer:void 0)||Fi;var Mi=/^(?:0|[1-9]\d*)$/;const Di=function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&Mi.test(e))&&e>-1&&e%1==0&&e<t};const Hi=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Ui={};Ui["[object Float32Array]"]=Ui["[object Float64Array]"]=Ui["[object Int8Array]"]=Ui["[object Int16Array]"]=Ui["[object Int32Array]"]=Ui["[object Uint8Array]"]=Ui["[object Uint8ClampedArray]"]=Ui["[object Uint16Array]"]=Ui["[object Uint32Array]"]=!0,Ui["[object Arguments]"]=Ui["[object Array]"]=Ui["[object ArrayBuffer]"]=Ui["[object Boolean]"]=Ui["[object DataView]"]=Ui["[object Date]"]=Ui["[object Error]"]=Ui["[object Function]"]=Ui["[object Map]"]=Ui["[object Number]"]=Ui["[object Object]"]=Ui["[object RegExp]"]=Ui["[object Set]"]=Ui["[object String]"]=Ui["[object WeakMap]"]=!1;const $i=function(e){return Xt(e)&&Hi(e.length)&&!!Ui[Jt(e)]};const Ki=function(e){return function(t){return e(t)}};var Gi="object"==typeof exports&&exports&&!exports.nodeType&&exports,qi=Gi&&"object"==typeof module&&module&&!module.nodeType&&module,Ji=qi&&qi.exports===Gi&&Et.process,Xi=function(){try{var e=qi&&qi.require&&qi.require("util").types;return e||Ji&&Ji.binding&&Ji.binding("util")}catch(e){}}();var Yi=Xi&&Xi.isTypedArray;const Qi=Yi?Ki(Yi):$i;var Zi=Object.prototype.hasOwnProperty;const er=function(e,t){var o=yi(e),n=!o&&Li(e),i=!o&&!n&&ji(e),r=!o&&!n&&!i&&Qi(e),l=o||n||i||r,s=l?Ii(e.length,String):[],a=s.length;for(var c in e)!t&&!Zi.call(e,c)||l&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Di(c,a))||s.push(c);return s};var tr=Object.prototype;const or=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||tr)};const nr=function(e,t){return function(o){return e(t(o))}}(Object.keys,Object);var ir=Object.prototype.hasOwnProperty;const rr=function(e){if(!or(e))return nr(e);var t=[];for(var o in Object(e))ir.call(e,o)&&"constructor"!=o&&t.push(o);return t};const lr=function(e){return null!=e&&Hi(e.length)&&!An(e)};const sr=function(e){return lr(e)?er(e):rr(e)};const ar=function(e){return Ai(e,sr,Ri)};var cr=Object.prototype.hasOwnProperty;const dr=function(e,t,o,n,i,r){var l=1&o,s=ar(e),a=s.length;if(a!=ar(t).length&&!l)return!1;for(var c=a;c--;){var d=s[c];if(!(l?d in t:cr.call(t,d)))return!1}var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var b=!0;r.set(e,t),r.set(t,e);for(var m=l;++c<a;){var g=e[d=s[c]],p=t[d];if(n)var f=l?n(p,g,d,t,e,r):n(g,p,d,e,t,r);if(!(void 0===f?g===p||i(g,p,o,n,r):f)){b=!1;break}m||(m="constructor"==d)}if(b&&!m){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(b=!1)}return r.delete(e),r.delete(t),b};const ur=Nn(Bt,"DataView");const hr=Nn(Bt,"Promise");const br=Nn(Bt,"Set");const mr=Nn(Bt,"WeakMap");var gr="[object Map]",pr="[object Promise]",fr="[object Set]",wr="[object WeakMap]",_r="[object DataView]",kr=In(ur),vr=In(jn),Cr=In(hr),yr=In(br),Ar=In(mr),Tr=Jt;(ur&&Tr(new ur(new ArrayBuffer(1)))!=_r||jn&&Tr(new jn)!=gr||hr&&Tr(hr.resolve())!=pr||br&&Tr(new br)!=fr||mr&&Tr(new mr)!=wr)&&(Tr=function(e){var t=Jt(e),o="[object Object]"==t?e.constructor:void 0,n=o?In(o):"";if(n)switch(n){case kr:return _r;case vr:return gr;case Cr:return pr;case yr:return fr;case Ar:return wr}return t});const xr=Tr;var Sr="[object Arguments]",Vr="[object Array]",Rr="[object Object]",Ir=Object.prototype.hasOwnProperty;const Pr=function(e,t,o,n,i,r){var l=yi(e),s=yi(t),a=l?Vr:xr(e),c=s?Vr:xr(t),d=(a=a==Sr?Rr:a)==Rr,u=(c=c==Sr?Rr:c)==Rr,h=a==c;if(h&&ji(e)){if(!ji(t))return!1;l=!0,d=!1}if(h&&!d)return r||(r=new ai),l||Qi(e)?gi(e,t,o,n,i,r):vi(e,t,a,o,n,i,r);if(!(1&o)){var b=d&&Ir.call(e,"__wrapped__"),m=u&&Ir.call(t,"__wrapped__");if(b||m){var g=b?e.value():e,p=m?t.value():t;return r||(r=new ai),i(g,p,o,n,r)}}return!!h&&(r||(r=new ai),dr(e,t,o,n,i,r))};const Er=function e(t,o,n,i,r){return t===o||(null==t||null==o||!Xt(t)&&!Xt(o)?t!=t&&o!=o:Pr(t,o,n,i,e,r))};const zr=function(e,t){return Er(e,t)};const Br=function(e,t,o){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Pt(o)&&(n="leading"in o?!!o.leading:n,i="trailing"in o?!!o.trailing:i),ro(e,t,{leading:n,maxWait:t,trailing:i})};class Lr extends e.Command{refresh(){this.isEnabled=!0}execute(e={}){const{model:t,plugins:o}=this.editor;let{table:n=t.document.selection.getSelectedElement(),columnWidths:i,tableWidth:r}=e;i&&(i=Array.isArray(i)?i:i.split(",")),t.change((e=>{r?e.setAttribute("tableWidth",r,n):e.removeAttribute("tableWidth",n);const t=o.get("TableColumnResizeEditing").getColumnGroupElement(n);if(!i&&!t)return;if(!i)return e.remove(t);const l=Y(i);if(t)Array.from(t.getChildren()).forEach(((t,o)=>e.setAttribute("columnWidth",l[o],t)));else{const t=e.createElement("tableColumnGroup");l.forEach((o=>e.appendElement("tableColumn",{columnWidth:o},t))),e.append(t,n)}}))}}function Fr(e){return t=>t.on("element:colgroup",((t,o,n)=>{const i=o.modelCursor.findAncestor("table"),r=ee(i);if(!r)return;const l=te(r),s=e.getColumns(i);let a=(c=r,d=n.writer,te(c).reduce(((e,t)=>{const o=t.getAttribute("columnWidth"),n=t.getAttribute("colSpan");if(!n)return e.push(o),e;for(let t=0;t<n;t++)e.push(o);return d.removeAttribute("colSpan",t),e}),[]));var c,d;a=Array.from({length:s},((e,t)=>a[t]||"auto")),(a.length!=l.length||a.includes("auto"))&&Z(l,r,Y(a),n.writer)}),{priority:"low"})}class Wr extends e.Plugin{static get requires(){return[Se,oe]}static get pluginName(){return"TableColumnResizeEditing"}constructor(e){super(e),this._isResizingActive=!1,this.set("_isResizingAllowed",!0),this._resizingData=null,this._domEmitter=new((0,m.DomEmitterMixin)()),this._tableUtilsPlugin=e.plugins.get("TableUtils"),this.on("change:_isResizingAllowed",((t,o,n)=>{const i=n?"removeClass":"addClass";e.editing.view.change((t=>{for(const o of e.editing.view.document.roots)t[i]("ck-column-resize_disabled",e.editing.view.document.getRoot(o.rootName))}))}))}init(){this._extendSchema(),this._registerPostFixer(),this._registerConverters(),this._registerResizingListeners(),this._registerResizerInserter();const e=this.editor,t=e.plugins.get("TableColumnResize");e.plugins.get("TableEditing").registerAdditionalSlot({filter:e=>e.is("element","tableColumnGroup"),positionOffset:0});const o=new Lr(e);e.commands.add("resizeTableWidth",o),e.commands.add("resizeColumnWidths",o),this.bind("_isResizingAllowed").to(e,"isReadOnly",t,"isEnabled",o,"isEnabled",((e,t,o)=>!e&&t&&o))}destroy(){this._domEmitter.stopListening(),super.destroy()}getColumnGroupElement(e){return ee(e)}getTableColumnElements(e){return te(e)}getTableColumnsWidths(e){return function(e){return te(e).map((e=>e.getAttribute("columnWidth")))}(e)}_extendSchema(){this.editor.model.schema.extend("table",{allowAttributes:["tableWidth"]}),this.editor.model.schema.register("tableColumnGroup",{allowIn:"table",isLimit:!0}),this.editor.model.schema.register("tableColumn",{allowIn:"tableColumnGroup",allowAttributes:["columnWidth","colSpan"],isLimit:!0})}_registerPostFixer(){const e=this.editor.model;function t(e,t,o){const n=o._tableUtilsPlugin.getColumns(t);if(0===n-e.length)return e;const i=e.map((e=>Number(e.replace("%","")))),r=function(e,t){const o=new Set;for(const n of e.getChanges())if("insert"==n.type&&n.position.nodeAfter&&"tableCell"==n.position.nodeAfter.name&&n.position.nodeAfter.getAncestors().includes(t))o.add(n.position.nodeAfter);else if("remove"==n.type){const e=n.position.nodeBefore||n.position.nodeAfter;"tableCell"==e.name&&e.getAncestors().includes(t)&&o.add(e)}return o}(o.editor.model.document.differ,t);for(const e of r){const r=n-i.length;if(0===r)continue;const s=r>0,a=o._tableUtilsPlugin.getCellLocation(e).column;if(s){const e=$(t,o.editor),n=(l=e,Array(r).fill(l));i.splice(a,0,...n)}else{const e=i.splice(a,Math.abs(r));i[a]+=X(e)}}var l;return i.map((e=>e+"%"))}e.document.registerPostFixer((o=>{let n=!1;for(const i of function(e){const t=new Set;for(const o of e.document.differ.getChanges()){let n=null;switch(o.type){case"insert":n=["table","tableRow","tableCell"].includes(o.name)?o.position:null;break;case"remove":n=["tableRow","tableCell"].includes(o.name)?o.position:null;break;case"attribute":o.range.start.nodeAfter&&(n=["table","tableRow","tableCell"].includes(o.range.start.nodeAfter.name)?o.range.start:null)}if(!n)continue;const i=n.nodeAfter&&n.nodeAfter.is("element","table")?n.nodeAfter:n.findAncestor("table");for(const o of e.createRangeOn(i).getItems())o.is("element","table")&&ee(o)&&t.add(o)}return t}(e)){const e=this.getColumnGroupElement(i),r=this.getTableColumnElements(e),l=this.getTableColumnsWidths(e);let s=Y(l);s=t(s,i,this),zr(l,s)||(Z(r,e,s,o),n=!0)}return n}))}_registerConverters(){const e=this.editor.conversion;e.for("upcast").attributeToAttribute({view:{name:"figure",key:"style",value:{width:/[\s\S]+/}},model:{name:"table",key:"tableWidth",value:e=>e.getStyle("width")}}),e.for("downcast").attributeToAttribute({model:{name:"table",key:"tableWidth"},view:e=>({name:"figure",key:"style",value:{width:e}})}),e.elementToElement({model:"tableColumnGroup",view:"colgroup"}),e.elementToElement({model:"tableColumn",view:"col"}),e.for("downcast").add((e=>e.on("insert:table",((e,t,o)=>{const n=o.writer,i=t.item,r=o.mapper.toViewElement(i),l=r.is("element","table")?r:Array.from(r.getChildren()).find((e=>e.is("element","table")));ee(i)?n.addClass("ck-table-resized",l):n.removeClass("ck-table-resized",l)}),{priority:"low"}))),e.for("upcast").add(Fr(this._tableUtilsPlugin)),e.for("upcast").attributeToAttribute({view:{name:"col",styles:{width:/.*/}},model:{key:"columnWidth",value:e=>{const t=e.getStyle("width");return t&&(t.endsWith("%")||t.endsWith("pt"))?t:"auto"}}}),e.for("upcast").attributeToAttribute({view:{name:"col",key:"span"},model:"colSpan"}),e.for("downcast").attributeToAttribute({model:{name:"tableColumn",key:"columnWidth"},view:e=>({key:"style",value:{width:e}})})}_registerResizingListeners(){const e=this.editor.editing.view;e.addObserver($e),e.document.on("mousedown",this._onMouseDownHandler.bind(this),{priority:"high"}),this._domEmitter.listenTo(m.global.window.document,"mousemove",Br(this._onMouseMoveHandler.bind(this),50)),this._domEmitter.listenTo(m.global.window.document,"mouseup",this._onMouseUpHandler.bind(this))}_onMouseDownHandler(e,t){const o=t.target;if(!o.hasClass("ck-table-column-resizer"))return;if(!this._isResizingAllowed)return;const n=this.editor,i=n.editing.mapper.toModelElement(o.findAncestor("figure"));if(!n.model.canEditAt(i))return;t.preventDefault(),e.stop();const r=function(e,t,o){const n=Array(t.getColumns(e)),i=new w(e);for(const e of i){const t=o.editing.mapper.toViewElement(e.cell),i=Q(o.editing.view.domConverter.mapViewToDom(t));(!n[e.column]||i<n[e.column])&&(n[e.column]=J(i))}return n}(i,this._tableUtilsPlugin,n),l=o.findAncestor("table"),s=n.editing.view;Array.from(l.getChildren()).find((e=>e.is("element","colgroup")))||s.change((e=>{!function(e,t,o){const n=e.createContainerElement("colgroup");for(let o=0;o<t.length;o++){const i=e.createEmptyElement("col"),r=`${J(t[o]/X(t)*100)}%`;e.setStyle("width",r,i),e.insert(e.createPositionAt(n,"end"),i)}e.insert(e.createPositionAt(o,0),n)}(e,r,l)})),this._isResizingActive=!0,this._resizingData=this._getResizingData(t,r),s.change((e=>function(e,t,o){const n=o.widths.viewFigureWidth/o.widths.viewFigureParentWidth;e.addClass("ck-table-resized",t),e.addClass("ck-table-column-resizer__active",o.elements.viewResizer),e.setStyle("width",`${J(100*n)}%`,t.findAncestor("figure"))}(e,l,this._resizingData)))}_onMouseMoveHandler(e,t){if(!this._isResizingActive)return;if(!this._isResizingAllowed)return void this._onMouseUpHandler();const{columnPosition:o,flags:{isRightEdge:n,isTableCentered:i,isLtrContent:r},elements:{viewFigure:l,viewLeftColumn:s,viewRightColumn:a},widths:{viewFigureParentWidth:c,tableWidth:d,leftColumnWidth:u,rightColumnWidth:h}}=this._resizingData,b=40-u,m=n?c-d:h-40,g=(r?1:-1)*(n&&i?2:1),p=(f=(t.clientX-o)*g,w=Math.min(b,0),_=Math.max(m,0),J(f<=w?w:f>=_?_:f));var f,w,_;0!==p&&this.editor.editing.view.change((e=>{const t=J(100*(u+p)/d);if(e.setStyle("width",`${t}%`,s),n){const t=J(100*(d+p)/c);e.setStyle("width",`${t}%`,l)}else{const t=J(100*(h-p)/d);e.setStyle("width",`${t}%`,a)}}))}_onMouseUpHandler(){if(!this._isResizingActive)return;const{viewResizer:e,modelTable:t,viewFigure:o,viewColgroup:n}=this._resizingData.elements,i=this.editor,r=i.editing.view,l=this.getColumnGroupElement(t),s=Array.from(n.getChildren()).filter((e=>e.is("view:element"))),a=l?this.getTableColumnsWidths(l):null,c=s.map((e=>e.getStyle("width"))),d=!zr(a,c),u=t.getAttribute("tableWidth"),h=o.getStyle("width"),b=u!==h;(d||b)&&(this._isResizingAllowed?i.execute("resizeTableWidth",{table:t,tableWidth:`${J(h)}%`,columnWidths:c}):r.change((e=>{if(a)for(const t of s)e.setStyle("width",a.shift(),t);else e.remove(n);b&&(u?e.setStyle("width",u,o):e.removeStyle("width",o)),a||u||e.removeClass("ck-table-resized",[...o.getChildren()].find((e=>"table"===e.name)))}))),r.change((t=>{t.removeClass("ck-table-column-resizer__active",e)})),this._isResizingActive=!1,this._resizingData=null}_getResizingData(e,t){const o=this.editor,n=e.domEvent.clientX,i=e.target,r=i.findAncestor("td")||i.findAncestor("th"),l=o.editing.mapper.toModelElement(r),s=l.findAncestor("table"),a=function(e,t){const o=t.getCellLocation(e).column;return{leftEdge:o,rightEdge:o+(e.getAttribute("colspan")||1)-1}}(l,this._tableUtilsPlugin).rightEdge,c=a===this._tableUtilsPlugin.getColumns(s)-1,d=!s.hasAttribute("tableAlignment"),u="rtl"!==o.locale.contentLanguageDirection,h=r.findAncestor("table"),b=h.findAncestor("figure"),m=[...h.getChildren()].find((e=>e.is("element","colgroup"))),g=m.getChild(a),p=c?void 0:m.getChild(a+1);return{columnPosition:n,flags:{isRightEdge:c,isTableCentered:d,isLtrContent:u},elements:{viewResizer:i,modelTable:s,viewFigure:b,viewColgroup:m,viewLeftColumn:g,viewRightColumn:p},widths:{viewFigureParentWidth:q(o.editing.view.domConverter.mapViewToDom(b.parent)),viewFigureWidth:q(o.editing.view.domConverter.mapViewToDom(b)),tableWidth:K(s,o),leftColumnWidth:t[a],rightColumnWidth:c?void 0:t[a+1]}}}_registerResizerInserter(){this.editor.conversion.for("editingDowncast").add((e=>{e.on("insert:tableCell",((e,t,o)=>{const n=t.item,i=o.mapper.toViewElement(n),r=o.writer;r.insert(r.createPositionAt(i,"end"),r.createUIElement("div",{class:"ck-table-column-resizer"}))}),{priority:"lowest"})}))}}var Or=o(363),Nr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ae()(Or.A,Nr);Or.A.locals;class jr extends e.Plugin{static get requires(){return[Wr,vo]}static get pluginName(){return"TableColumnResize"}}})(),(window.CKEditor5=window.CKEditor5||{}).table=n})(); \ No newline at end of file + */(()=>{var e={770:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);border-radius:0;height:20px;width:20px}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}",""]);const s=l},67:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}",""]);const s=l},839:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const s=l},712:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}: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 .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;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)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}@media (prefers-reduced-motion:reduce){.ck .ck-insert-table-dropdown-grid-box{transition:none}}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}",""]);const s=l},25:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}@media print{.ck-content .table table{height:auto}}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}",""]);const s=l},175:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}@media (forced-colors:active){.ck-content .table>figcaption{background-color:unset;color:unset}}@media (forced-colors:none){.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}",""]);const s=l},266:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}",""]);const s=l},363:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}",""]);const s=l},817:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}",""]);const s=l},911:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both;background:var(--ck-color-base-error);border-radius:0;color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}@media (prefers-reduced-motion:reduce){.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:none}}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',""]);const s=l},218:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}",""]);const s=l},719:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),i=o.n(n),r=o(935),l=o.n(r)()(i());l.push([e.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',""]);const s=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var s=0;s<this.length;s++){var a=this[s][0];null!=a&&(l[a]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&l[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),o&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=o):d[2]=o),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},l=[],s=0;s<e.length;s++){var a=e[s],c=n.base?a[0]+n.base:a[0],d=r[c]||0,u="".concat(c," ").concat(d);r[c]=d+1;var h=o(u),b={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==h)t[h].references++,t[h].updater(b);else{var m=i(b,n);n.byIndex=s,t.splice(s,0,{identifier:u,updater:m,references:1})}l.push(u)}return l}function i(e,t){var o=t.domAPI(t);o.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,i){var r=n(e=e||[],i=i||{});return function(e){e=e||[];for(var l=0;l<r.length;l++){var s=o(r[l]);t[s].references--}for(var a=n(e,i),c=0;c<r.length;c++){var d=o(r[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=a}}},128:e=>{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}},639:e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function n(e,t,n,i){var r;if(n)r="";else{r="",i.supports&&(r+="@supports (".concat(i.supports,") {")),i.media&&(r+="@media ".concat(i.media," {"));var l=void 0!==i.layer;l&&(r+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),r+=i.css,l&&(r+="}"),i.media&&(r+="}"),i.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,r);else{var s=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}var i={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=i.singletonCounter++,o=i.singleton||(i.singleton=e.insertStyleElement(e));return{update:function(e){n(o,t,!1,e)},remove:function(e){n(o,t,!0,e)}}}},331:(e,t,o)=>{e.exports=o(237)("./src/clipboard.js")},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},783:(e,t,o)=>{e.exports=o(237)("./src/engine.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},901:(e,t,o)=>{e.exports=o(237)("./src/widget.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{PlainTableOutput:()=>rt,Table:()=>it,TableCaption:()=>fn,TableCaptionEditing:()=>bn,TableCaptionUI:()=>mn,TableCellProperties:()=>Mo,TableCellPropertiesEditing:()=>Do,TableCellPropertiesUI:()=>xo,TableCellWidthEditing:()=>Ro,TableClipboard:()=>Ge,TableColumnResize:()=>qr,TableColumnResizeEditing:()=>$r,TableEditing:()=>Oe,TableKeyboard:()=>Ye,TableMouse:()=>et,TableProperties:()=>sn,TablePropertiesEditing:()=>Qo,TablePropertiesUI:()=>ln,TableSelection:()=>$e,TableToolbar:()=>ut,TableUI:()=>Me,TableUtils:()=>oe});var e=o(782),t=o(901);function i(e,t){const{modelAttribute:o,styleName:n,viewElement:i,defaultValue:r,reduceBoxSides:l=!1,shouldUpcast:s=()=>!0}=t;e.for("upcast").attributeToAttribute({view:{name:i,styles:{[n]:/[\s\S]+/}},model:{key:o,value:e=>{if(!s(e))return;const t=e.getNormalizedStyle(n),o=l?a(t):t;return r!==o?o:void 0}}})}function r(e,t,o,n){e.for("upcast").add((e=>e.on("element:"+t,((e,t,i)=>{if(!t.modelRange)return;const r=["border-top-width","border-top-color","border-top-style","border-bottom-width","border-bottom-color","border-bottom-style","border-right-width","border-right-color","border-right-style","border-left-width","border-left-color","border-left-style"].filter((e=>t.viewItem.hasStyle(e)));if(!r.length)return;const l={styles:r};if(!i.consumable.test(t.viewItem,l))return;const s=[...t.modelRange.getItems({shallow:!0})].pop();i.consumable.consume(t.viewItem,l);const c={style:t.viewItem.getNormalizedStyle("border-style"),color:t.viewItem.getNormalizedStyle("border-color"),width:t.viewItem.getNormalizedStyle("border-width")},d={style:a(c.style),color:a(c.color),width:a(c.width)};d.style!==n.style&&i.writer.setAttribute(o.style,d.style,s),d.color!==n.color&&i.writer.setAttribute(o.color,d.color,s),d.width!==n.width&&i.writer.setAttribute(o.width,d.width,s)}))))}function l(e,t){const{modelElement:o,modelAttribute:n,styleName:i}=t;e.for("downcast").attributeToAttribute({model:{name:o,key:n},view:e=>({key:"style",value:{[i]:e}})})}function s(e,t){const{modelAttribute:o,styleName:n}=t;e.for("downcast").add((e=>e.on(`attribute:${o}:table`,((e,t,o)=>{const{item:i,attributeNewValue:r}=t,{mapper:l,writer:s}=o;if(!o.consumable.consume(t.item,e.name))return;const a=[...l.toViewElement(i).getChildren()].find((e=>e.is("element","table")));r?s.setStyle(n,r,a):s.removeStyle(n,a)}))))}function a(e){if(!e)return;const t=["top","right","bottom","left"];if(!t.every((t=>e[t])))return e;const o=e.top;return t.every((t=>e[t]===o))?o:e}function c(e,t,o,n,i=1){null!=t&&null!=i&&t>i?n.setAttribute(e,t,o):n.removeAttribute(e,o)}function d(e,t,o={}){const n=e.createElement("tableCell",o);return e.insertElement("paragraph",n),e.insert(n,t),n}function u(e,t){const o=t.parent.parent,n=parseInt(o.getAttribute("headingColumns")||"0"),{column:i}=e.getCellLocation(t);return!!n&&i<n}function h(e,t,o){const{modelAttribute:n}=o;e.extend("tableCell",{allowAttributes:[n]}),i(t,{viewElement:/^(td|th)$/,...o}),l(t,{modelElement:"tableCell",...o})}function b(e){const t=e.getSelectedElement();return t&&t.is("element","table")?t:e.getFirstPosition().findAncestor("table")}var m=o(584);function g(){return e=>{e.on("element:table",((e,t,o)=>{const n=t.viewItem;if(!o.consumable.test(n,{name:!0}))return;const{rows:i,headingRows:r,headingColumns:l}=function(e){let t,o=0;const n=[],i=[];let r;for(const l of Array.from(e.getChildren())){if("tbody"!==l.name&&"thead"!==l.name&&"tfoot"!==l.name)continue;"thead"!==l.name||r||(r=l);const e=Array.from(l.getChildren()).filter((e=>e.is("element","tr")));for(const s of e)if(r&&l===r||"tbody"===l.name&&Array.from(s.getChildren()).length&&Array.from(s.getChildren()).every((e=>e.is("element","th"))))o++,n.push(s);else{i.push(s);const e=f(s);(!t||e<t)&&(t=e)}}return{headingRows:o,headingColumns:t||0,rows:[...n,...i]}}(n),s={};l&&(s.headingColumns=l),r&&(s.headingRows=r);const a=o.writer.createElement("table",s);if(o.safeInsert(a,t.modelCursor)){if(o.consumable.consume(n,{name:!0}),i.forEach((e=>o.convertItem(e,o.writer.createPositionAt(a,"end")))),o.convertChildren(n,o.writer.createPositionAt(a,"end")),a.isEmpty){const e=o.writer.createElement("tableRow");o.writer.insert(e,o.writer.createPositionAt(a,"end")),d(o.writer,o.writer.createPositionAt(e,"end"))}o.updateConversionResult(a,t)}}))}}function p(e){return t=>{t.on(`element:${e}`,((e,t,{writer:o})=>{if(!t.modelRange)return;const n=t.modelRange.start.nodeAfter,i=o.createPositionAt(n,0);if(t.viewItem.isEmpty)return void o.insertElement("paragraph",i);const r=Array.from(n.getChildren());if(r.every((e=>e.is("element","$marker")))){const e=o.createElement("paragraph");o.insert(e,o.createPositionAt(n,0));for(const t of r)o.move(o.createRangeOn(t),o.createPositionAt(e,"end"))}}),{priority:"low"})}}function f(e){let t=0,o=0;const n=Array.from(e.getChildren()).filter((e=>"th"===e.name||"td"===e.name));for(;o<n.length&&"th"===n[o].name;){const e=n[o];t+=parseInt(e.getAttribute("colspan")||"1"),o++}return t}class w{constructor(e,t={}){this._jumpedToStartRow=!1,this._table=e,this._startRow=void 0!==t.row?t.row:t.startRow||0,this._endRow=void 0!==t.row?t.row:t.endRow,this._startColumn=void 0!==t.column?t.column:t.startColumn||0,this._endColumn=void 0!==t.column?t.column:t.endColumn,this._includeAllSlots=!!t.includeAllSlots,this._skipRows=new Set,this._row=0,this._rowIndex=0,this._column=0,this._cellIndex=0,this._spannedCells=new Map,this._nextCellAtColumn=-1}[Symbol.iterator](){return this}next(){this._canJumpToStartRow()&&this._jumpToNonSpannedRowClosestToStartRow();const e=this._table.getChild(this._rowIndex);if(!e||this._isOverEndRow())return{done:!0,value:void 0};if(!e.is("element","tableRow"))return this._rowIndex++,this.next();if(this._isOverEndColumn())return this._advanceToNextRow();let t=null;const o=this._getSpanned();if(o)this._includeAllSlots&&!this._shouldSkipSlot()&&(t=this._formatOutValue(o.cell,o.row,o.column));else{const o=e.getChild(this._cellIndex);if(!o)return this._advanceToNextRow();const n=parseInt(o.getAttribute("colspan")||"1"),i=parseInt(o.getAttribute("rowspan")||"1");(n>1||i>1)&&this._recordSpans(o,i,n),this._shouldSkipSlot()||(t=this._formatOutValue(o)),this._nextCellAtColumn=this._column+n}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,t||this.next()}skipRow(e){this._skipRows.add(e)}_advanceToNextRow(){return this._row++,this._rowIndex++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(e,t=this._row,o=this._column){return{done:!1,value:new _(this,e,t,o)}}_shouldSkipSlot(){const e=this._skipRows.has(this._row),t=this._row<this._startRow,o=this._column<this._startColumn,n=void 0!==this._endColumn&&this._column>this._endColumn;return e||t||o||n}_getSpanned(){const e=this._spannedCells.get(this._row);return e&&e.get(this._column)||null}_recordSpans(e,t,o){const n={cell:e,row:this._row,column:this._column};for(let e=this._row;e<this._row+t;e++)for(let t=this._column;t<this._column+o;t++)e==this._row&&t==this._column||this._markSpannedCell(e,t,n)}_markSpannedCell(e,t,o){this._spannedCells.has(e)||this._spannedCells.set(e,new Map);this._spannedCells.get(e).set(t,o)}_canJumpToStartRow(){return!!this._startRow&&this._startRow>0&&!this._jumpedToStartRow}_jumpToNonSpannedRowClosestToStartRow(){const e=this._getRowLength(0);for(let t=this._startRow;!this._jumpedToStartRow;t--)e===this._getRowLength(t)&&(this._row=t,this._rowIndex=t,this._jumpedToStartRow=!0)}_getRowLength(e){return[...this._table.getChild(e).getChildren()].reduce(((e,t)=>e+parseInt(t.getAttribute("colspan")||"1")),0)}}class _{constructor(e,t,o,n){this.cell=t,this.row=e._row,this.column=e._column,this.cellAnchorRow=o,this.cellAnchorColumn=n,this._cellIndex=e._cellIndex,this._rowIndex=e._rowIndex,this._table=e._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||"1")}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||"1")}get rowIndex(){return this._rowIndex}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function k(e,o){return(n,{writer:i})=>{const r=n.getAttribute("headingRows")||0,l=i.createContainerElement("table",null,[]),s=i.createContainerElement("figure",{class:"table"},l);r>0&&i.insert(i.createPositionAt(l,"end"),i.createContainerElement("thead",null,i.createSlot((e=>e.is("element","tableRow")&&e.index<r)))),r<e.getRows(n)&&i.insert(i.createPositionAt(l,"end"),i.createContainerElement("tbody",null,i.createSlot((e=>e.is("element","tableRow")&&e.index>=r))));for(const{positionOffset:e,filter:t}of o.additionalSlots)i.insert(i.createPositionAt(l,e),i.createSlot(t));return i.insert(i.createPositionAt(l,"after"),i.createSlot((e=>!e.is("element","tableRow")&&!o.additionalSlots.some((({filter:t})=>t(e)))))),o.asWidget?function(e,o){return o.setCustomProperty("table",!0,e),(0,t.toWidget)(e,o,{hasSelectionHandle:!0})}(s,i):s}}function v(e={}){return(o,{writer:n})=>{const i=o.parent,r=i.parent,l=r.getChildIndex(i),s=new w(r,{row:l}),a=r.getAttribute("headingRows")||0,c=r.getAttribute("headingColumns")||0;let d=null;for(const i of s)if(i.cell==o){const o=i.row<a||i.column<c?"th":"td";d=e.asWidget?(0,t.toWidgetEditable)(n.createEditableElement(o),n):n.createContainerElement(o);break}return d}}function C(e={}){return(t,{writer:o})=>{if(!t.parent.is("element","tableCell"))return null;if(!y(t))return null;if(e.asWidget)return o.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const e=o.createContainerElement("p");return o.setCustomProperty("dataPipeline:transparentRendering",!0,e),e}}}function y(e){return 1==e.parent.childCount&&!!e.getAttributeKeys().next().done}class A extends e.Command{refresh(){const e=this.editor.model,t=e.document.selection,o=e.schema;this.isEnabled=function(e,t){const o=e.getFirstPosition().parent,n=o===o.root?o:o.parent;return t.checkChild(n,"table")}(t,o)}execute(e={}){const t=this.editor,o=t.model,n=t.plugins.get("TableUtils"),i=t.config.get("table.defaultHeadings.rows"),r=t.config.get("table.defaultHeadings.columns");void 0===e.headingRows&&i&&(e.headingRows=i),void 0===e.headingColumns&&r&&(e.headingColumns=r),o.change((t=>{const i=n.createTable(t,e);o.insertObject(i,null,null,{findOptimalPosition:"auto"}),t.setSelection(t.createPositionAt(i.getNodeByPath([0,0,0]),0))}))}}class T extends e.Command{constructor(e,t={}){super(e),this.order=t.order||"below"}refresh(){const e=this.editor.model.document.selection,t=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(e).length;this.isEnabled=t}execute(){const e=this.editor,t=e.model.document.selection,o=e.plugins.get("TableUtils"),n="above"===this.order,i=o.getSelectionAffectedTableCells(t),r=o.getRowIndexes(i),l=n?r.first:r.last,s=i[0].findAncestor("table");o.insertRows(s,{at:n?l:l+1,copyStructureFromAbove:!n})}}class x extends e.Command{constructor(e,t={}){super(e),this.order=t.order||"right"}refresh(){const e=this.editor.model.document.selection,t=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(e).length;this.isEnabled=t}execute(){const e=this.editor,t=e.model.document.selection,o=e.plugins.get("TableUtils"),n="left"===this.order,i=o.getSelectionAffectedTableCells(t),r=o.getColumnIndexes(i),l=n?r.first:r.last,s=i[0].findAncestor("table");o.insertColumns(s,{columns:1,at:n?l:l+1})}}class S extends e.Command{constructor(e,t={}){super(e),this.direction=t.direction||"horizontally"}refresh(){const e=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=1===e.length}execute(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection)[0];"horizontally"===this.direction?e.splitCellHorizontally(t,2):e.splitCellVertically(t,2)}}function V(e,t,o){const{startRow:n,startColumn:i,endRow:r,endColumn:l}=t,s=o.createElement("table"),a=r-n+1;for(let e=0;e<a;e++)o.insertElement("tableRow",s,"end");const u=[...new w(e,{startRow:n,endRow:r,startColumn:i,endColumn:l,includeAllSlots:!0})];for(const{row:e,column:t,cell:a,isAnchor:c,cellAnchorRow:h,cellAnchorColumn:b}of u){const u=e-n,m=s.getChild(u);if(c){const n=o.cloneElement(a);o.append(n,m),z(n,e,t,r,l,o)}else(h<n||b<i)&&d(o,o.createPositionAt(m,"end"))}return function(e,t,o,n,i){const r=parseInt(t.getAttribute("headingRows")||"0");if(r>0){c("headingRows",r-o,e,i,0)}const l=parseInt(t.getAttribute("headingColumns")||"0");if(l>0){c("headingColumns",l-n,e,i,0)}}(s,e,n,i,o),s}function R(e,t,o=0){const n=[],i=new w(e,{startRow:o,endRow:t-1});for(const e of i){const{row:o,cellHeight:i}=e;o<t&&t<=o+i-1&&n.push(e)}return n}function P(e,t,o){const n=e.parent,i=n.parent,r=n.index,l=t-r,s={},a=parseInt(e.getAttribute("rowspan"))-l;a>1&&(s.rowspan=a);const u=parseInt(e.getAttribute("colspan")||"1");u>1&&(s.colspan=u);const h=r+l,b=[...new w(i,{startRow:r,endRow:h,includeAllSlots:!0})];let m,g=null;for(const t of b){const{row:n,column:i,cell:r}=t;r===e&&void 0===m&&(m=i),void 0!==m&&m===i&&n===h&&(g=d(o,t.getPositionBefore(),s))}return c("rowspan",l,e,o),g}function I(e,t){const o=[],n=new w(e);for(const e of n){const{column:n,cellWidth:i}=e;n<t&&t<=n+i-1&&o.push(e)}return o}function E(e,t,o,n){const i=o-t,r={},l=parseInt(e.getAttribute("colspan"))-i;l>1&&(r.colspan=l);const s=parseInt(e.getAttribute("rowspan")||"1");s>1&&(r.rowspan=s);const a=d(n,n.createPositionAfter(e),r);return c("colspan",i,e,n),a}function z(e,t,o,n,i,r){const l=parseInt(e.getAttribute("colspan")||"1"),s=parseInt(e.getAttribute("rowspan")||"1");if(o+l-1>i){c("colspan",i-o+1,e,r,1)}if(t+s-1>n){c("rowspan",n-t+1,e,r,1)}}function B(e,t){const o=t.getColumns(e),n=new Array(o).fill(0);for(const{column:t}of new w(e))n[t]++;const i=n.reduce(((e,t,o)=>t?e:[...e,o]),[]);if(i.length>0){const o=i[i.length-1];return t.removeColumns(e,{at:o}),!0}return!1}function O(e,t){const o=[],n=t.getRows(e);for(let t=0;t<n;t++){e.getChild(t).isEmpty&&o.push(t)}if(o.length>0){const n=o[o.length-1];return t.removeRows(e,{at:n}),!0}return!1}function L(e,t){B(e,t)||O(e,t)}function F(e,t){const o=Array.from(new w(e,{startColumn:t.firstColumn,endColumn:t.lastColumn,row:t.lastRow}));if(o.every((({cellHeight:e})=>1===e)))return t.lastRow;const n=o[0].cellHeight-1;return t.lastRow+n}function W(e,t){const o=Array.from(new w(e,{startRow:t.firstRow,endRow:t.lastRow,column:t.lastColumn}));if(o.every((({cellWidth:e})=>1===e)))return t.lastColumn;const n=o[0].cellWidth-1;return t.lastColumn+n}class N extends e.Command{constructor(e,t){super(e),this.direction=t.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const e=this._getMergeableCell();this.value=e,this.isEnabled=!!e}execute(){const e=this.editor.model,t=e.document,o=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(t.selection)[0],n=this.value,i=this.direction;e.change((e=>{const t="right"==i||"down"==i,r=t?o:n,l=t?n:o,s=l.parent;!function(e,t,o){D(e)||(D(t)&&o.remove(o.createRangeIn(t)),o.move(o.createRangeIn(e),o.createPositionAt(t,"end")));o.remove(e)}(l,r,e);const a=this.isHorizontal?"colspan":"rowspan",c=parseInt(o.getAttribute(a)||"1"),d=parseInt(n.getAttribute(a)||"1");e.setAttribute(a,c+d,r),e.setSelection(e.createRangeIn(r));const u=this.editor.plugins.get("TableUtils");L(s.findAncestor("table"),u)}))}_getMergeableCell(){const e=this.editor.model.document,t=this.editor.plugins.get("TableUtils"),o=t.getTableCellsContainingSelection(e.selection)[0];if(!o)return;const n=this.isHorizontal?function(e,t,o){const n=e.parent,i=n.parent,r="right"==t?e.nextSibling:e.previousSibling,l=(i.getAttribute("headingColumns")||0)>0;if(!r)return;const s="right"==t?e:r,a="right"==t?r:e,{column:c}=o.getCellLocation(s),{column:d}=o.getCellLocation(a),h=parseInt(s.getAttribute("colspan")||"1"),b=u(o,s),m=u(o,a);if(l&&b!=m)return;return c+h===d?r:void 0}(o,this.direction,t):function(e,t,o){const n=e.parent,i=n.parent,r=i.getChildIndex(n);if("down"==t&&r===o.getRows(i)-1||"up"==t&&0===r)return null;const l=parseInt(e.getAttribute("rowspan")||"1"),s=i.getAttribute("headingRows")||0,a="down"==t&&r+l===s,c="up"==t&&r===s;if(s&&(a||c))return null;const d=parseInt(e.getAttribute("rowspan")||"1"),u="down"==t?r+d:r,h=[...new w(i,{endRow:u})],b=h.find((t=>t.cell===e)),m=b.column,g=h.find((({row:e,cellHeight:o,column:n})=>n===m&&("down"==t?e===u:u===e+o)));return g&&g.cell?g.cell:null}(o,this.direction,t);if(!n)return;const i=this.isHorizontal?"rowspan":"colspan",r=parseInt(o.getAttribute(i)||"1");return parseInt(n.getAttribute(i)||"1")===r?n:void 0}}function D(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}class M extends e.Command{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),o=t[0];if(o){const n=o.findAncestor("table"),i=e.getRows(n)-1,r=e.getRowIndexes(t),l=0===r.first&&r.last===i;this.isEnabled=!l}else this.isEnabled=!1}execute(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),o=t.getSelectionAffectedTableCells(e.document.selection),n=t.getRowIndexes(o),i=o[0],r=i.findAncestor("table"),l=t.getCellLocation(i).column;e.change((e=>{const o=n.last-n.first+1;t.removeRows(r,{at:n.first,rows:o});const i=function(e,t,o,n){const i=e.getChild(Math.min(t,n-1));let r=i.getChild(0),l=0;for(const e of i.getChildren()){if(l>o)return r;r=e,l+=parseInt(e.getAttribute("colspan")||"1")}return r}(r,n.first,l,t.getRows(r));e.setSelection(e.createPositionAt(i,0))}))}}class j extends e.Command{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),o=t[0];if(o){const n=o.findAncestor("table"),i=e.getColumns(n),{first:r,last:l}=e.getColumnIndexes(t);this.isEnabled=l-r<i-1}else this.isEnabled=!1}execute(){const e=this.editor.plugins.get("TableUtils"),[t,o]=function(e,t){const o=t.getSelectionAffectedTableCells(e),n=o[0],i=o.pop(),r=[n,i];return n.isBefore(i)?r:r.reverse()}(this.editor.model.document.selection,e),n=t.parent.parent,i=[...new w(n)],r={first:i.find((e=>e.cell===t)).column,last:i.find((e=>e.cell===o)).column},l=function(e,t,o,n){const i=parseInt(o.getAttribute("colspan")||"1");return i>1?o:t.previousSibling||o.nextSibling?o.nextSibling||t.previousSibling:n.first?e.reverse().find((({column:e})=>e<n.first)).cell:e.reverse().find((({column:e})=>e>n.last)).cell}(i,t,o,r);this.editor.model.change((t=>{const o=r.last-r.first+1;e.removeColumns(n,{at:r.first,columns:o}),t.setSelection(t.createPositionAt(l,0))}))}}class H extends e.Command{refresh(){const e=this.editor.plugins.get("TableUtils"),t=this.editor.model,o=e.getSelectionAffectedTableCells(t.document.selection),n=o.length>0;this.isEnabled=n,this.value=n&&o.every((e=>this._isInHeading(e,e.parent.parent)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),o=this.editor.model,n=t.getSelectionAffectedTableCells(o.document.selection),i=n[0].findAncestor("table"),{first:r,last:l}=t.getRowIndexes(n),s=this.value?r:l+1,a=i.getAttribute("headingRows")||0;o.change((e=>{if(s){const t=R(i,s,s>a?a:0);for(const{cell:o}of t)P(o,s,e)}c("headingRows",s,i,e,0)}))}_isInHeading(e,t){const o=parseInt(t.getAttribute("headingRows")||"0");return!!o&&e.parent.index<o}}class U extends e.Command{refresh(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),o=t.getSelectionAffectedTableCells(e.document.selection),n=o.length>0;this.isEnabled=n,this.value=n&&o.every((e=>u(t,e)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),o=this.editor.model,n=t.getSelectionAffectedTableCells(o.document.selection),i=n[0].findAncestor("table"),{first:r,last:l}=t.getColumnIndexes(n),s=this.value?r:l+1;o.change((e=>{if(s){const t=I(i,s);for(const{cell:o,column:n}of t)E(o,n,s,e)}c("headingColumns",s,i,e,0)}))}}function $(e,t){return 4e3/K(e,t)}function K(e,t){const o=G(e,"tbody",t)||G(e,"thead",t);return q(t.editing.view.domConverter.mapViewToDom(o))}function G(e,t,o){return[...[...o.editing.mapper.toViewElement(e).getChildren()].find((e=>e.is("element","table"))).getChildren()].find((e=>e.is("element",t)))}function q(e){const t=m.global.window.getComputedStyle(e);return"border-box"===t.boxSizing?parseFloat(t.width)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth):parseFloat(t.width)}function J(e){const t=Math.pow(10,2),o="number"==typeof e?e:parseFloat(e);return Math.round(o*t)/t}function X(e){return e.map((e=>"number"==typeof e?e:parseFloat(e))).filter((e=>!Number.isNaN(e))).reduce(((e,t)=>e+t),0)}function Y(e){let t=function(e){const t=e.filter((e=>"auto"===e)).length;if(0===t)return e.map((e=>J(e)));const o=X(e),n=Math.max((100-o)/t,5);return e.map((e=>"auto"===e?n:e)).map((e=>J(e)))}(e.map((e=>"auto"===e?e:parseFloat(e.replace("%","")))));const o=X(t);return 100!==o&&(t=t.map((e=>J(100*e/o))).map(((e,t,o)=>{if(!(t===o.length-1))return e;return J(e+100-X(o))}))),t.map((e=>e+"%"))}function Q(e){const t=m.global.window.getComputedStyle(e);return"border-box"===t.boxSizing?parseInt(t.width):parseFloat(t.width)+parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderWidth)}function Z(e,t,o,n){for(let i=0;i<Math.max(o.length,e.length);i++){const r=e[i],l=o[i];l?r?n.setAttribute("columnWidth",l,r):n.appendElement("tableColumn",{columnWidth:l},t):n.remove(r)}}function ee(e){if(e.is("element","tableColumnGroup"))return e;const t=e.getChildren();return Array.from(t).find((e=>e.is("element","tableColumnGroup")))}function te(e){const t=ee(e);return t?Array.from(t.getChildren()):[]}class oe extends e.Plugin{static get pluginName(){return"TableUtils"}static get isOfficialPlugin(){return!0}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(e){const t=e.parent,o=t.parent,n=o.getChildIndex(t),i=new w(o,{row:n});for(const{cell:t,row:o,column:n}of i)if(t===e)return{row:o,column:n}}createTable(e,t){const o=e.createElement("table"),n=t.rows||2,i=t.columns||2;return ne(e,o,0,n,i),t.headingRows&&c("headingRows",Math.min(t.headingRows,n),o,e,0),t.headingColumns&&c("headingColumns",Math.min(t.headingColumns,i),o,e,0),o}insertRows(e,t={}){const o=this.editor.model,n=t.at||0,i=t.rows||1,r=void 0!==t.copyStructureFromAbove,l=t.copyStructureFromAbove?n-1:n,s=this.getRows(e),a=this.getColumns(e);if(n>s)throw new m.CKEditorError("tableutils-insertrows-insert-out-of-range",this,{options:t});o.change((t=>{const o=e.getAttribute("headingRows")||0;if(o>n&&c("headingRows",o+i,e,t,0),!r&&(0===n||n===s))return void ne(t,e,n,i,a);const u=r?Math.max(n,l):n,h=new w(e,{endRow:u}),b=new Array(a).fill(1);for(const{row:e,column:o,cellHeight:s,cellWidth:a,cell:c}of h){const d=e+s-1,u=e<=l&&l<=d;e<n&&n<=d?(t.setAttribute("rowspan",s+i,c),b[o]=-a):r&&u&&(b[o]=a)}for(let o=0;o<i;o++){const o=t.createElement("tableRow");t.insert(o,e,n);for(let e=0;e<b.length;e++){const n=b[e],i=t.createPositionAt(o,"end");n>0&&d(t,i,n>1?{colspan:n}:void 0),e+=Math.abs(n)-1}}}))}insertColumns(e,t={}){const o=this.editor.model,n=t.at||0,i=t.columns||1;o.change((t=>{const o=e.getAttribute("headingColumns");n<o&&t.setAttribute("headingColumns",o+i,e);const r=this.getColumns(e);if(0===n||r===n){for(const o of e.getChildren())o.is("element","tableRow")&&ie(i,t,t.createPositionAt(o,n?"end":0));return}const l=new w(e,{column:n,includeAllSlots:!0});for(const e of l){const{row:o,cell:r,cellAnchorColumn:s,cellAnchorRow:a,cellWidth:c,cellHeight:d}=e;if(s<n){t.setAttribute("colspan",c+i,r);const e=a+d-1;for(let t=o;t<=e;t++)l.skipRow(t)}else ie(i,t,e.getPositionBefore())}}))}removeRows(e,t){const o=this.editor.model,n=t.rows||1,i=this.getRows(e),r=t.at,l=r+n-1;if(l>i-1)throw new m.CKEditorError("tableutils-removerows-row-index-out-of-range",this,{table:e,options:t});o.change((t=>{const o={first:r,last:l},{cellsToMove:n,cellsToTrim:i}=function(e,{first:t,last:o}){const n=new Map,i=[];for(const{row:r,column:l,cellHeight:s,cell:a}of new w(e,{endRow:o})){const e=r+s-1;if(r>=t&&r<=o&&e>o){const e=s-(o-r+1);n.set(l,{cell:a,rowspan:e})}if(r<t&&e>=t){let n;n=e>=o?o-t+1:e-t+1,i.push({cell:a,rowspan:s-n})}}return{cellsToMove:n,cellsToTrim:i}}(e,o);if(n.size){!function(e,t,o,n){const i=new w(e,{includeAllSlots:!0,row:t}),r=[...i],l=e.getChild(t);let s;for(const{column:e,cell:t,isAnchor:i}of r)if(o.has(e)){const{cell:t,rowspan:i}=o.get(e),r=s?n.createPositionAfter(s):n.createPositionAt(l,0);n.move(n.createRangeOn(t),r),c("rowspan",i,t,n),s=t}else i&&(s=t)}(e,l+1,n,t)}for(let o=l;o>=r;o--)t.remove(e.getChild(o));for(const{rowspan:e,cell:o}of i)c("rowspan",e,o,t);!function(e,{first:t,last:o},n){const i=e.getAttribute("headingRows")||0;if(t<i){c("headingRows",o<i?i-(o-t+1):t,e,n,0)}}(e,o,t),B(e,this)||O(e,this)}))}removeColumns(e,t){const o=this.editor.model,n=t.at,i=t.columns||1,r=t.at+i-1;o.change((t=>{!function(e,t,o){const n=e.getAttribute("headingColumns")||0;if(n&&t.first<n){const i=Math.min(n-1,t.last)-t.first+1;o.setAttribute("headingColumns",n-i,e)}}(e,{first:n,last:r},t);const o=te(e);for(let i=r;i>=n;i--){for(const{cell:o,column:n,cellWidth:r}of[...new w(e)])n<=i&&r>1&&n+r>i?c("colspan",r-1,o,t):n===i&&t.remove(o);if(o[i]){const e=0===i?o[1]:o[i-1],n=parseFloat(o[i].getAttribute("columnWidth")),r=parseFloat(e.getAttribute("columnWidth"));t.remove(o[i]),t.setAttribute("columnWidth",n+r+"%",e)}}O(e,this)||B(e,this)}))}splitCellVertically(e,t=2){const o=this.editor.model,n=e.parent.parent,i=parseInt(e.getAttribute("rowspan")||"1"),r=parseInt(e.getAttribute("colspan")||"1");o.change((o=>{if(r>1){const{newCellsSpan:n,updatedSpan:l}=re(r,t);c("colspan",l,e,o);const s={};n>1&&(s.colspan=n),i>1&&(s.rowspan=i);ie(r>t?t-1:r-1,o,o.createPositionAfter(e),s)}if(r<t){const l=t-r,s=[...new w(n)],{column:a}=s.find((({cell:t})=>t===e)),d=s.filter((({cell:t,cellWidth:o,column:n})=>t!==e&&n===a||n<a&&n+o>a));for(const{cell:e,cellWidth:t}of d)o.setAttribute("colspan",t+l,e);const u={};i>1&&(u.rowspan=i),ie(l,o,o.createPositionAfter(e),u);const h=n.getAttribute("headingColumns")||0;h>a&&c("headingColumns",h+l,n,o)}}))}splitCellHorizontally(e,t=2){const o=this.editor.model,n=e.parent,i=n.parent,r=i.getChildIndex(n),l=parseInt(e.getAttribute("rowspan")||"1"),s=parseInt(e.getAttribute("colspan")||"1");o.change((o=>{if(l>1){const n=[...new w(i,{startRow:r,endRow:r+l-1,includeAllSlots:!0})],{newCellsSpan:a,updatedSpan:d}=re(l,t);c("rowspan",d,e,o);const{column:u}=n.find((({cell:t})=>t===e)),h={};a>1&&(h.rowspan=a),s>1&&(h.colspan=s);let b=0;for(const e of n){const{column:t,row:n}=e,i=t===u;b>=a&&i&&(b=0),n>=r+d&&i&&(b||ie(1,o,e.getPositionBefore(),h),b++)}}if(l<t){const n=t-l,a=[...new w(i,{startRow:0,endRow:r})];for(const{cell:t,cellHeight:i,row:l}of a)if(t!==e&&l+i>r){const e=i+n;o.setAttribute("rowspan",e,t)}const d={};s>1&&(d.colspan=s),ne(o,i,r+1,n,1,d);const u=i.getAttribute("headingRows")||0;u>r&&c("headingRows",u+n,i,o)}}))}getColumns(e){return[...e.getChild(0).getChildren()].filter((e=>e.is("element","tableCell"))).reduce(((e,t)=>e+parseInt(t.getAttribute("colspan")||"1")),0)}getRows(e){return Array.from(e.getChildren()).reduce(((e,t)=>t.is("element","tableRow")?e+1:e),0)}createTableWalker(e,t={}){return new w(e,t)}getSelectedTableCells(e){const t=[];for(const o of this.sortRanges(e.getRanges())){const e=o.getContainedElement();e&&e.is("element","tableCell")&&t.push(e)}return t}getTableCellsContainingSelection(e){const t=[];for(const o of e.getRanges()){const e=o.start.findAncestor("tableCell");e&&t.push(e)}return t}getSelectionAffectedTableCells(e){const t=this.getSelectedTableCells(e);return t.length?t:this.getTableCellsContainingSelection(e)}getRowIndexes(e){const t=e.map((e=>e.parent.index));return this._getFirstLastIndexesObject(t)}getColumnIndexes(e){const t=e[0].findAncestor("table"),o=[...new w(t)].filter((t=>e.includes(t.cell))).map((e=>e.column));return this._getFirstLastIndexesObject(o)}isSelectionRectangular(e){if(e.length<2||!this._areCellInTheSameTableSection(e))return!1;const t=new Set,o=new Set;let n=0;for(const i of e){const{row:e,column:r}=this.getCellLocation(i),l=parseInt(i.getAttribute("rowspan"))||1,s=parseInt(i.getAttribute("colspan"))||1;t.add(e),o.add(r),l>1&&t.add(e+l-1),s>1&&o.add(r+s-1),n+=l*s}const i=function(e,t){const o=Array.from(e.values()),n=Array.from(t.values()),i=Math.max(...o),r=Math.min(...o),l=Math.max(...n),s=Math.min(...n);return(i-r+1)*(l-s+1)}(t,o);return i==n}sortRanges(e){return Array.from(e).sort(le)}_getFirstLastIndexesObject(e){const t=e.sort(((e,t)=>e-t));return{first:t[0],last:t[t.length-1]}}_areCellInTheSameTableSection(e){const t=e[0].findAncestor("table"),o=this.getRowIndexes(e),n=parseInt(t.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(o,n))return!1;const i=this.getColumnIndexes(e),r=parseInt(t.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(i,r)}_areIndexesInSameSection({first:e,last:t},o){return e<o===t<o}}function ne(e,t,o,n,i,r={}){for(let l=0;l<n;l++){const n=e.createElement("tableRow");e.insert(n,t,o),ie(i,e,e.createPositionAt(n,"end"),r)}}function ie(e,t,o,n={}){for(let i=0;i<e;i++)d(t,o,n)}function re(e,t){if(e<t)return{newCellsSpan:1,updatedSpan:1};const o=Math.floor(e/t);return{newCellsSpan:o,updatedSpan:e-o*t+o}}function le(e,t){const o=e.start,n=t.start;return o.isBefore(n)?-1:1}class se extends e.Command{refresh(){const e=this.editor.plugins.get(oe),t=e.getSelectedTableCells(this.editor.model.document.selection);this.isEnabled=e.isSelectionRectangular(t)}execute(){const e=this.editor.model,t=this.editor.plugins.get(oe);e.change((o=>{const n=t.getSelectedTableCells(e.document.selection),i=n.shift(),{mergeWidth:r,mergeHeight:l}=function(e,t,o){let n=0,i=0;for(const e of t){const{row:t,column:r}=o.getCellLocation(e);n=de(e,r,n,"colspan"),i=de(e,t,i,"rowspan")}const{row:r,column:l}=o.getCellLocation(e),s=n-l,a=i-r;return{mergeWidth:s,mergeHeight:a}}(i,n,t);c("colspan",r,i,o),c("rowspan",l,i,o);for(const e of n)ae(e,i,o);L(i.findAncestor("table"),t),o.setSelection(i,"in")}))}}function ae(e,t,o){ce(e)||(ce(t)&&o.remove(o.createRangeIn(t)),o.move(o.createRangeIn(e),o.createPositionAt(t,"end"))),o.remove(e)}function ce(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}function de(e,t,o,n){const i=parseInt(e.getAttribute(n)||"1");return Math.max(o,t+i)}class ue extends e.Command{constructor(e){super(e),this.affectsData=!1}refresh(){const e=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=e.length>0}execute(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),o=t.getSelectionAffectedTableCells(e.document.selection),n=t.getRowIndexes(o),i=o[0].findAncestor("table"),r=[];for(let t=n.first;t<=n.last;t++)for(const o of i.getChild(t).getChildren())r.push(e.createRangeOn(o));e.change((e=>{e.setSelection(r)}))}}class he extends e.Command{constructor(e){super(e),this.affectsData=!1}refresh(){const e=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=e.length>0}execute(){const e=this.editor.plugins.get("TableUtils"),t=this.editor.model,o=e.getSelectionAffectedTableCells(t.document.selection),n=o[0],i=o.pop(),r=n.findAncestor("table"),l=e.getCellLocation(n),s=e.getCellLocation(i),a=Math.min(l.column,s.column),c=Math.max(l.column,s.column),d=[];for(const e of new w(r,{startColumn:a,endColumn:c}))d.push(t.createRangeOn(e.cell));t.change((e=>{e.setSelection(d)}))}}function be(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.differ.getChanges();let n=!1;const i=new Set;for(const t of o){let o=null;"insert"==t.type&&"table"==t.name&&(o=t.position.nodeAfter),"insert"!=t.type&&"remove"!=t.type||"tableRow"!=t.name&&"tableCell"!=t.name||(o=t.position.findAncestor("table")),pe(t)&&(o=t.range.start.findAncestor("table")),o&&!i.has(o)&&(n=me(o,e)||n,n=ge(o,e)||n,i.add(o))}return n}(t,e)))}function me(e,t){let o=!1;const n=function(e){const t=parseInt(e.getAttribute("headingRows")||"0"),o=Array.from(e.getChildren()).reduce(((e,t)=>t.is("element","tableRow")?e+1:e),0),n=[];for(const{row:i,cell:r,cellHeight:l}of new w(e)){if(l<2)continue;const e=i<t?t:o;if(i+l>e){const t=e-i;n.push({cell:r,rowspan:t})}}return n}(e);if(n.length){o=!0;for(const e of n)c("rowspan",e.rowspan,e.cell,t,1)}return o}function ge(e,t){let o=!1;const n=function(e){const t=new Array(e.childCount).fill(0);for(const{rowIndex:o}of new w(e,{includeAllSlots:!0}))t[o]++;return t}(e),i=[];for(const[t,o]of n.entries())!o&&e.getChild(t).is("element","tableRow")&&i.push(t);if(i.length){o=!0;for(const o of i.reverse())t.remove(e.getChild(o)),n.splice(o,1)}const r=n.filter(((t,o)=>e.getChild(o).is("element","tableRow"))),l=r[0];if(!r.every((e=>e===l))){const n=r.reduce(((e,t)=>t>e?t:e),0);for(const[i,l]of r.entries()){const r=n-l;if(r){for(let o=0;o<r;o++)d(t,t.createPositionAt(e.getChild(i),"end"));o=!0}}}return o}function pe(e){if("attribute"!==e.type)return!1;const t=e.attributeKey;return"headingRows"===t||"colspan"===t||"rowspan"===t}function fe(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.differ.getChanges();let n=!1;for(const t of o)"insert"==t.type&&"table"==t.name&&(n=we(t.position.nodeAfter,e)||n),"insert"==t.type&&"tableRow"==t.name&&(n=_e(t.position.nodeAfter,e)||n),"insert"==t.type&&"tableCell"==t.name&&(n=ke(t.position.nodeAfter,e)||n),"remove"!=t.type&&"insert"!=t.type||!ve(t)||(n=ke(t.position.parent,e)||n);return n}(t,e)))}function we(e,t){let o=!1;for(const n of e.getChildren())n.is("element","tableRow")&&(o=_e(n,t)||o);return o}function _e(e,t){let o=!1;for(const n of e.getChildren())o=ke(n,t)||o;return o}function ke(e,t){if(0==e.childCount)return t.insertElement("paragraph",e),!0;const o=Array.from(e.getChildren()).filter((e=>e.is("$text")));for(const e of o)t.wrap(t.createRangeOn(e),"paragraph");return!!o.length}function ve(e){return!!e.position.parent.is("element","tableCell")&&("insert"==e.type&&"$text"==e.name||"remove"==e.type)}function Ce(e,t){if(!e.is("element","paragraph"))return!1;const o=t.toViewElement(e);return!!o&&y(e)!==o.is("element","span")}var ye=o(591),Ae=o.n(ye),Te=o(639),xe=o.n(Te),Se=o(128),Ve=o.n(Se),Re=o(21),Pe=o.n(Re),Ie=o(51),Ee=o.n(Ie),ze=o(817),Be={attributes:{"data-cke":!0}};Be.setAttributes=Pe(),Be.insert=Ve().bind(null,"head"),Be.domAPI=xe(),Be.insertStyleElement=Ee();Ae()(ze.A,Be);ze.A&&ze.A.locals&&ze.A.locals;class Oe extends e.Plugin{static get pluginName(){return"TableEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[oe]}constructor(e){super(e),this._additionalSlots=[]}init(){const e=this.editor,t=e.model,o=t.schema,n=e.conversion,i=e.plugins.get(oe);o.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),o.register("tableRow",{allowIn:"table",isLimit:!0}),o.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),n.for("upcast").add((e=>{e.on("element:figure",((e,t,o)=>{if(!o.consumable.test(t.viewItem,{name:!0,classes:"table"}))return;const n=function(e){for(const t of e.getChildren())if(t.is("element","table"))return t}(t.viewItem);if(!n||!o.consumable.test(n,{name:!0}))return;o.consumable.consume(t.viewItem,{name:!0,classes:"table"});const i=o.convertItem(n,t.modelCursor),r=(0,m.first)(i.modelRange.getItems());r?(o.convertChildren(t.viewItem,o.writer.createPositionAt(r,"end")),o.updateConversionResult(r,t)):o.consumable.revert(t.viewItem,{name:!0,classes:"table"})}))})),n.for("upcast").add(g()),n.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(i,{asWidget:!0,additionalSlots:this._additionalSlots})}),n.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(i,{additionalSlots:this._additionalSlots})}),n.for("upcast").elementToElement({model:"tableRow",view:"tr"}),n.for("upcast").add((e=>{e.on("element:tr",((e,t)=>{t.viewItem.isEmpty&&0==t.modelCursor.index&&e.stop()}),{priority:"high"})})),n.for("downcast").elementToElement({model:"tableRow",view:(e,{writer:t})=>e.isEmpty?t.createEmptyElement("tr"):t.createContainerElement("tr")}),n.for("upcast").elementToElement({model:"tableCell",view:"td"}),n.for("upcast").elementToElement({model:"tableCell",view:"th"}),n.for("upcast").add(p("td")),n.for("upcast").add(p("th")),n.for("editingDowncast").elementToElement({model:"tableCell",view:v({asWidget:!0})}),n.for("dataDowncast").elementToElement({model:"tableCell",view:v()}),n.for("editingDowncast").elementToElement({model:"paragraph",view:C({asWidget:!0}),converterPriority:"high"}),n.for("dataDowncast").elementToElement({model:"paragraph",view:C(),converterPriority:"high"}),n.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),n.for("upcast").attributeToAttribute({model:{key:"colspan",value:Le("colspan")},view:"colspan"}),n.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),n.for("upcast").attributeToAttribute({model:{key:"rowspan",value:Le("rowspan")},view:"rowspan"}),e.config.define("table.defaultHeadings.rows",0),e.config.define("table.defaultHeadings.columns",0),e.commands.add("insertTable",new A(e)),e.commands.add("insertTableRowAbove",new T(e,{order:"above"})),e.commands.add("insertTableRowBelow",new T(e,{order:"below"})),e.commands.add("insertTableColumnLeft",new x(e,{order:"left"})),e.commands.add("insertTableColumnRight",new x(e,{order:"right"})),e.commands.add("removeTableRow",new M(e)),e.commands.add("removeTableColumn",new j(e)),e.commands.add("splitTableCellVertically",new S(e,{direction:"vertically"})),e.commands.add("splitTableCellHorizontally",new S(e,{direction:"horizontally"})),e.commands.add("mergeTableCells",new se(e)),e.commands.add("mergeTableCellRight",new N(e,{direction:"right"})),e.commands.add("mergeTableCellLeft",new N(e,{direction:"left"})),e.commands.add("mergeTableCellDown",new N(e,{direction:"down"})),e.commands.add("mergeTableCellUp",new N(e,{direction:"up"})),e.commands.add("setTableColumnHeader",new U(e)),e.commands.add("setTableRowHeader",new H(e)),e.commands.add("selectTableRow",new ue(e)),e.commands.add("selectTableColumn",new he(e)),be(t),fe(t),this.listenTo(t.document,"change:data",(()=>{!function(e,t){const o=e.document.differ;for(const e of o.getChanges()){let o,n=!1;if("attribute"==e.type){const t=e.range.start.nodeAfter;if(!t||!t.is("element","table"))continue;if("headingRows"!=e.attributeKey&&"headingColumns"!=e.attributeKey)continue;o=t,n="headingRows"==e.attributeKey}else"tableRow"!=e.name&&"tableCell"!=e.name||(o=e.position.findAncestor("table"),n="tableRow"==e.name);if(!o)continue;const i=o.getAttribute("headingRows")||0,r=o.getAttribute("headingColumns")||0,l=new w(o);for(const e of l){const o=e.row<i||e.column<r?"th":"td",l=t.mapper.toViewElement(e.cell);l&&l.is("element")&&l.name!=o&&t.reconvertItem(n?e.cell.parent:e.cell)}}}(t,e.editing),function(e,t){const o=e.document.differ,n=new Set;for(const e of o.getChanges()){const t="attribute"==e.type?e.range.start.parent:e.position.parent;t.is("element","tableCell")&&n.add(t)}for(const e of n.values()){const o=Array.from(e.getChildren()).filter((e=>Ce(e,t.mapper)));for(const e of o)t.reconvertItem(e)}}(t,e.editing)}))}registerAdditionalSlot(e){this._additionalSlots.push(e)}}function Le(e){return t=>{const o=parseInt(t.getAttribute(e));return Number.isNaN(o)||o<=0?null:o}}var Fe=o(311),We=o(712),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=Pe(),Ne.insert=Ve().bind(null,"head"),Ne.domAPI=xe(),Ne.insertStyleElement=Ee();Ae()(We.A,Ne);We.A&&We.A.locals&&We.A.locals;class De extends Fe.View{constructor(e){super(e);const t=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new m.KeystrokeHandler,this.focusTracker=new m.FocusTracker,this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",((e,t)=>`${t} × ${e}`)),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"mouseover@.ck-insert-table-dropdown-grid-box":t.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck","ck-insert-table-dropdown__label"],"aria-hidden":!0},children:[{text:t.to("label")}]}],on:{mousedown:t.to((e=>{e.preventDefault()})),click:t.to((()=>{this.fire("execute")}))}}),this.on("boxover",((e,t)=>{const{row:o,column:n}=t.target.dataset;this.items.get(10*(parseInt(o,10)-1)+(parseInt(n,10)-1)).focus()})),this.focusTracker.on("change:focusedElement",((e,t,o)=>{if(!o)return;const{row:n,column:i}=o.dataset;this.set({rows:parseInt(n),columns:parseInt(i)})})),this.on("change:columns",(()=>this._highlightGridBoxes())),this.on("change:rows",(()=>this._highlightGridBoxes()))}render(){super.render(),(0,Fe.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:10,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection});for(const e of this.items)this.focusTracker.add(e.element);this.keystrokes.listenTo(this.element)}reset(){this.set({rows:1,columns:1})}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const e=this.rows,t=this.columns;this.items.map(((o,n)=>{const i=Math.floor(n/10)<e&&n%10<t;o.set("isOn",i)}))}_createGridButton(e,t,o,n){const i=new Fe.ButtonView(e);return i.set({label:n,class:"ck-insert-table-dropdown-grid-box"}),i.extendTemplate({attributes:{"data-row":t,"data-column":o}}),i}_createGridCollection(){const e=[];for(let t=0;t<100;t++){const o=Math.floor(t/10),n=t%10,i=`${o+1} × ${n+1}`;e.push(this._createGridButton(this.locale,o+1,n+1,i))}return this.createCollection(e)}}class Me extends e.Plugin{static get pluginName(){return"TableUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,o=this.editor.t,n="ltr"===t.locale.contentLanguageDirection;t.ui.componentFactory.add("insertTable",(n=>{const i=t.commands.get("insertTable"),r=(0,Fe.createDropdown)(n);let l;return r.bind("isEnabled").to(i),r.buttonView.set({icon:e.icons.table,label:o("Insert table"),tooltip:!0}),r.on("change:isOpen",(()=>{l||(l=new De(n),r.panelView.children.add(l),l.delegate("execute").to(r),r.on("execute",(()=>{t.execute("insertTable",{rows:l.rows,columns:l.columns}),t.editing.view.focus()})))})),r})),t.ui.componentFactory.add("menuBar:insertTable",(n=>{const i=t.commands.get("insertTable"),r=new Fe.MenuBarMenuView(n),l=new De(n);return l.delegate("execute").to(r),r.on("change:isOpen",((e,t,o)=>{o||l.reset()})),l.on("execute",(()=>{t.execute("insertTable",{rows:l.rows,columns:l.columns}),t.editing.view.focus()})),r.buttonView.set({label:o("Table"),icon:e.icons.table}),r.panelView.children.add(l),r.bind("isEnabled").to(i),r})),t.ui.componentFactory.add("tableColumn",(e=>{const t=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:o("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:n?"insertTableColumnLeft":"insertTableColumnRight",label:o("Insert column left")}},{type:"button",model:{commandName:n?"insertTableColumnRight":"insertTableColumnLeft",label:o("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:o("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:o("Select column")}}];return this._prepareDropdown(o("Column"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M18 7v1H2V7h16zm0 5v1H2v-1h16z" opacity=".6"/><path d="M14 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1zm-2 1H8v4h4V2zm0 6H8v4h4V8zm0 6H8v4h4v-4z"/></svg>',t,e)})),t.ui.componentFactory.add("tableRow",(e=>{const t=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:o("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:o("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:o("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:o("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:o("Select row")}}];return this._prepareDropdown(o("Row"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v16h-1V2z" opacity=".6"/><path d="M1 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1 2v4h4V8H2zm6 0v4h4V8H8zm6 0v4h4V8h-4z"/></svg>',t,e)})),t.ui.componentFactory.add("mergeTableCells",(e=>{const t=[{type:"button",model:{commandName:"mergeTableCellUp",label:o("Merge cell up")}},{type:"button",model:{commandName:n?"mergeTableCellRight":"mergeTableCellLeft",label:o("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:o("Merge cell down")}},{type:"button",model:{commandName:n?"mergeTableCellLeft":"mergeTableCellRight",label:o("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:o("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:o("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(o("Merge cells"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v7h-1V2zm6 5v1H2V7h16zM8 12v1H2v-1h6z" opacity=".6"/><path d="M7 7h12a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1 2v9h10V9H8z"/></svg>',t,e)}))}_prepareDropdown(e,t,o,n){const i=this.editor,r=(0,Fe.createDropdown)(n),l=this._fillDropdownWithListOptions(r,o);return r.buttonView.set({label:e,icon:t,tooltip:!0}),r.bind("isEnabled").toMany(l,"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r,"execute",(e=>{i.execute(e.source.commandName),e.source instanceof Fe.SwitchButtonView||i.editing.view.focus()})),r}_prepareMergeSplitButtonDropdown(e,t,o,n){const i=this.editor,r=(0,Fe.createDropdown)(n,Fe.SplitButtonView),l="mergeTableCells",s=i.commands.get(l),a=this._fillDropdownWithListOptions(r,o);return r.buttonView.set({label:e,icon:t,tooltip:!0,isEnabled:!0}),r.bind("isEnabled").toMany([s,...a],"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r.buttonView,"execute",(()=>{i.execute(l),i.editing.view.focus()})),this.listenTo(r,"execute",(e=>{i.execute(e.source.commandName),i.editing.view.focus()})),r}_fillDropdownWithListOptions(e,t){const o=this.editor,n=[],i=new m.Collection;for(const e of t)je(e,o,n,i);return(0,Fe.addListToDropdown)(e,i),n}}function je(e,t,o,n){if("button"===e.type||"switchbutton"===e.type){const n=e.model=new Fe.ViewModel(e.model),{commandName:i,bindIsOn:r}=e.model,l=t.commands.get(i);o.push(l),n.set({commandName:i}),n.bind("isEnabled").to(l),r&&n.bind("isOn").to(l,"value"),n.set({withText:!0})}n.add(e)}var He=o(719),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Pe(),Ue.insert=Ve().bind(null,"head"),Ue.domAPI=xe(),Ue.insertStyleElement=Ee();Ae()(He.A,Ue);He.A&&He.A.locals&&He.A.locals;class $e extends e.Plugin{static get pluginName(){return"TableSelection"}static get isOfficialPlugin(){return!0}static get requires(){return[oe,oe]}init(){const e=this.editor,t=e.model,o=e.editing.view;this.listenTo(t,"deleteContent",((e,t)=>this._handleDeleteContent(e,t)),{priority:"high"}),this.listenTo(o.document,"insertText",((e,t)=>this._handleInsertTextEvent(e,t)),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const e=this.editor.plugins.get(oe),t=this.editor.model.document.selection,o=e.getSelectedTableCells(t);return 0==o.length?null:o}getSelectionAsFragment(){const e=this.editor.plugins.get(oe),t=this.getSelectedTableCells();return t?this.editor.model.change((o=>{const n=o.createDocumentFragment(),{first:i,last:r}=e.getColumnIndexes(t),{first:l,last:s}=e.getRowIndexes(t),a=t[0].findAncestor("table");let c=s,d=r;if(e.isSelectionRectangular(t)){const e={firstColumn:i,lastColumn:r,firstRow:l,lastRow:s};c=F(a,e),d=W(a,e)}const u=V(a,{startRow:l,startColumn:i,endRow:c,endColumn:d},o);return o.insert(u,n,0),n})):null}setCellSelection(e,t){const o=this._getCellsToSelect(e,t);this.editor.model.change((e=>{e.setSelection(o.cells.map((t=>e.createRangeOn(t))),{backward:o.backward})}))}getFocusCell(){const e=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return e&&e.is("element","tableCell")?e:null}getAnchorCell(){const e=this.editor.model.document.selection,t=(0,m.first)(e.getRanges()).getContainedElement();return t&&t.is("element","tableCell")?t:null}_defineSelectionConverter(){const e=this.editor,t=new Set;e.conversion.for("editingDowncast").add((e=>e.on("selection",((e,o,n)=>{const i=n.writer;!function(e){for(const o of t)e.removeClass("ck-editor__editable_selected",o);t.clear()}(i);const r=this.getSelectedTableCells();if(!r)return;for(const e of r){const o=n.mapper.toViewElement(e);i.addClass("ck-editor__editable_selected",o),t.add(o)}const l=n.mapper.toViewElement(r[r.length-1]);i.setSelection(l,0)}),{priority:"lowest"})))}_enablePluginDisabling(){const e=this.editor;this.on("change:isEnabled",(()=>{if(!this.isEnabled){const t=this.getSelectedTableCells();if(!t)return;e.model.change((o=>{const n=o.createPositionAt(t[0],0),i=e.model.schema.getNearestSelectionRange(n);o.setSelection(i)}))}}))}_handleDeleteContent(e,t){const o=this.editor.plugins.get(oe),n=t[0],i=t[1],r=this.editor.model,l=!i||"backward"==i.direction,s=o.getSelectedTableCells(n);s.length&&(e.stop(),r.change((e=>{const t=s[l?s.length-1:0];r.change((e=>{for(const t of s)r.deleteContent(e.createSelection(t,"in"))}));const o=r.schema.getNearestSelectionRange(e.createPositionAt(t,0));n.is("documentSelection")?e.setSelection(o):n.setTo(o)})))}_handleInsertTextEvent(e,t){const o=this.editor,n=this.getSelectedTableCells();if(!n)return;const i=o.editing.view,r=o.editing.mapper,l=n.map((e=>i.createRangeOn(r.toViewElement(e))));t.selection=i.createSelection(l)}_getCellsToSelect(e,t){const o=this.editor.plugins.get("TableUtils"),n=o.getCellLocation(e),i=o.getCellLocation(t),r=Math.min(n.row,i.row),l=Math.max(n.row,i.row),s=Math.min(n.column,i.column),a=Math.max(n.column,i.column),c=new Array(l-r+1).fill(null).map((()=>[])),d={startRow:r,endRow:l,startColumn:s,endColumn:a};for(const{row:t,cell:o}of new w(e.findAncestor("table"),d))c[t-r].push(o);const u=i.row<n.row,h=i.column<n.column;return u&&c.reverse(),h&&c.forEach((e=>e.reverse())),{cells:c.flat(),backward:u||h}}}var Ke=o(331);class Ge extends e.Plugin{static get pluginName(){return"TableClipboard"}static get isOfficialPlugin(){return!0}static get requires(){return[Ke.ClipboardMarkersUtils,Ke.ClipboardPipeline,$e,oe]}init(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"copy",((e,t)=>this._onCopyCut(e,t))),this.listenTo(t,"cut",((e,t)=>this._onCopyCut(e,t))),this.listenTo(e.model,"insertContent",((e,[t,o])=>this._onInsertContent(e,t,o)),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(e,t){const o=this.editor.editing.view,n=this.editor.plugins.get($e),i=this.editor.plugins.get(Ke.ClipboardMarkersUtils);n.getSelectedTableCells()&&("cut"!=e.name||this.editor.model.canEditAt(this.editor.model.document.selection))&&(t.preventDefault(),e.stop(),this.editor.model.enqueueChange({isUndoable:"cut"===e.name},(()=>{const r=i._copySelectedFragmentWithMarkers(e.name,this.editor.model.document.selection,(()=>n.getSelectionAsFragment()));o.document.fire("clipboardOutput",{dataTransfer:t.dataTransfer,content:this.editor.data.toView(r),method:e.name})})))}_onInsertContent(e,t,o){if(o&&!o.is("documentSelection"))return;const n=this.editor.model,i=this.editor.plugins.get(oe),r=this.editor.plugins.get(Ke.ClipboardMarkersUtils),l=this.getTableIfOnlyTableInContent(t,n);if(!l)return;const s=i.getSelectionAffectedTableCells(n.document.selection);s.length?(e.stop(),t.is("documentFragment")?r._pasteMarkersIntoTransformedElement(t.markers,(e=>this._replaceSelectedCells(l,s,e))):this.editor.model.change((e=>{this._replaceSelectedCells(l,s,e)}))):L(l,i)}_replaceSelectedCells(e,t,o){const n=this.editor.plugins.get(oe),i={width:n.getColumns(e),height:n.getRows(e)},r=function(e,t,o,n){const i=e[0].findAncestor("table"),r=n.getColumnIndexes(e),l=n.getRowIndexes(e),s={firstColumn:r.first,lastColumn:r.last,firstRow:l.first,lastRow:l.last},a=1===e.length;a&&(s.lastRow+=t.height-1,s.lastColumn+=t.width-1,function(e,t,o,n){const i=n.getColumns(e),r=n.getRows(e);o>i&&n.insertColumns(e,{at:i,columns:o-i});t>r&&n.insertRows(e,{at:r,rows:t-r})}(i,s.lastRow+1,s.lastColumn+1,n));a||!n.isSelectionRectangular(e)?function(e,t,o){const{firstRow:n,lastRow:i,firstColumn:r,lastColumn:l}=t,s={first:n,last:i},a={first:r,last:l};Je(e,r,s,o),Je(e,l+1,s,o),qe(e,n,a,o),qe(e,i+1,a,o,n)}(i,s,o):(s.lastRow=F(i,s),s.lastColumn=W(i,s));return s}(t,i,o,n),l=r.lastRow-r.firstRow+1,s=r.lastColumn-r.firstColumn+1;e=V(e,{startRow:0,startColumn:0,endRow:Math.min(l,i.height)-1,endColumn:Math.min(s,i.width)-1},o);const a=t[0].findAncestor("table"),c=this._replaceSelectedCellsWithPasted(e,i,a,r,o);if(this.editor.plugins.get("TableSelection").isEnabled){const e=n.sortRanges(c.map((e=>o.createRangeOn(e))));o.setSelection(e)}else o.setSelection(c[0],0);return a}_replaceSelectedCellsWithPasted(e,t,o,n,i){const{width:r,height:l}=t,s=function(e,t,o){const n=new Array(o).fill(null).map((()=>new Array(t).fill(null)));for(const{column:t,row:o,cell:i}of new w(e))n[o][t]=i;return n}(e,r,l),a=[...new w(o,{startRow:n.firstRow,endRow:n.lastRow,startColumn:n.firstColumn,endColumn:n.lastColumn,includeAllSlots:!0})],c=[];let d;for(const e of a){const{row:t,column:o}=e;o===n.firstColumn&&(d=e.getPositionBefore());const a=t-n.firstRow,u=o-n.firstColumn,h=s[a%l][u%r],b=h?i.cloneElement(h):null,m=this._replaceTableSlotCell(e,b,d,i);m&&(z(m,t,o,n.lastRow,n.lastColumn,i),c.push(m),d=i.createPositionAfter(m))}const u=parseInt(o.getAttribute("headingRows")||"0"),h=parseInt(o.getAttribute("headingColumns")||"0"),b=n.firstRow<u&&u<=n.lastRow,m=n.firstColumn<h&&h<=n.lastColumn;if(b){const e=qe(o,u,{first:n.firstColumn,last:n.lastColumn},i,n.firstRow);c.push(...e)}if(m){const e=Je(o,h,{first:n.firstRow,last:n.lastRow},i);c.push(...e)}return c}_replaceTableSlotCell(e,t,o,n){const{cell:i,isAnchor:r}=e;return r&&n.remove(i),t?(n.insert(t,o),t):null}getTableIfOnlyTableInContent(e,t){if(!e.is("documentFragment")&&!e.is("element"))return null;if(e.is("element","table"))return e;if(1==e.childCount&&e.getChild(0).is("element","table"))return e.getChild(0);const o=t.createRangeIn(e);for(const e of o.getItems())if(e.is("element","table")){const n=t.createRange(o.start,t.createPositionBefore(e));if(t.hasContent(n,{ignoreWhitespaces:!0}))return null;const i=t.createRange(t.createPositionAfter(e),o.end);return t.hasContent(i,{ignoreWhitespaces:!0})?null:e}return null}}function qe(e,t,o,n,i=0){if(t<1)return;return R(e,t,i).filter((({column:e,cellWidth:t})=>Xe(e,t,o))).map((({cell:e})=>P(e,t,n)))}function Je(e,t,o,n){if(t<1)return;return I(e,t).filter((({row:e,cellHeight:t})=>Xe(e,t,o))).map((({cell:e,column:o})=>E(e,o,t,n)))}function Xe(e,t,o){const n=e+t-1,{first:i,last:r}=o;return e>=i&&e<=r||e<i&&n>=i}class Ye extends e.Plugin{static get pluginName(){return"TableKeyboard"}static get isOfficialPlugin(){return!0}static get requires(){return[$e,oe]}init(){const e=this.editor,t=e.editing.view.document,o=e.t;this.listenTo(t,"arrowKey",((...e)=>this._onArrowKey(...e)),{context:"table"}),this.listenTo(t,"tab",((...e)=>this._handleTabOnSelectedTable(...e)),{context:"figure"}),this.listenTo(t,"tab",((...e)=>this._handleTab(...e)),{context:["th","td"]}),e.accessibility.addKeystrokeInfoGroup({id:"table",label:o("Keystrokes that can be used in a table cell"),keystrokes:[{label:o("Move the selection to the next cell"),keystroke:"Tab"},{label:o("Move the selection to the previous cell"),keystroke:"Shift+Tab"},{label:o("Insert a new table row (when in the last cell of a table)"),keystroke:"Tab"},{label:o("Navigate through the table"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]}]})}_handleTabOnSelectedTable(e,t){const o=this.editor,n=o.model.document.selection.getSelectedElement();n&&n.is("element","table")&&(t.preventDefault(),t.stopPropagation(),e.stop(),o.model.change((e=>{e.setSelection(e.createRangeIn(n.getChild(0).getChild(0)))})))}_handleTab(e,t){const o=this.editor,n=this.editor.plugins.get(oe),i=this.editor.plugins.get("TableSelection"),r=o.model.document.selection,l=!t.shiftKey;let s=n.getTableCellsContainingSelection(r)[0];if(s||(s=i.getFocusCell()),!s)return;t.preventDefault(),t.stopPropagation(),e.stop();const a=s.parent,c=a.parent,d=c.getChildIndex(a),u=a.getChildIndex(s),h=0===u;if(!l&&h&&0===d)return void o.model.change((e=>{e.setSelection(e.createRangeOn(c))}));const b=u===a.childCount-1,m=d===n.getRows(c)-1;if(l&&m&&b&&(o.execute("insertTableRowBelow"),d===n.getRows(c)-1))return void o.model.change((e=>{e.setSelection(e.createRangeOn(c))}));let g;if(l&&b){const e=c.getChild(d+1);g=e.getChild(0)}else if(!l&&h){const e=c.getChild(d-1);g=e.getChild(e.childCount-1)}else g=a.getChild(u+(l?1:-1));o.model.change((e=>{e.setSelection(e.createRangeIn(g))}))}_onArrowKey(e,t){const o=this.editor,n=t.keyCode,i=(0,m.getLocalizedArrowKeyCodeDirection)(n,o.locale.contentLanguageDirection);this._handleArrowKeys(i,t.shiftKey)&&(t.preventDefault(),t.stopPropagation(),e.stop())}_handleArrowKeys(e,t){const o=this.editor.plugins.get(oe),n=this.editor.plugins.get("TableSelection"),i=this.editor.model,r=i.document.selection,l=["right","down"].includes(e),s=o.getSelectedTableCells(r);if(s.length){let o;return o=t?n.getFocusCell():l?s[s.length-1]:s[0],this._navigateFromCellInDirection(o,e,t),!0}const a=r.focus.findAncestor("tableCell");if(!a)return!1;if(!r.isCollapsed)if(t){if(r.isBackward==l&&!r.containsEntireContent(a))return!1}else{const e=r.getSelectedElement();if(!e||!i.schema.isObject(e))return!1}return!!this._isSelectionAtCellEdge(r,a,l)&&(this._navigateFromCellInDirection(a,e,t),!0)}_isSelectionAtCellEdge(e,t,o){const n=this.editor.model,i=this.editor.model.schema,r=o?e.getLastPosition():e.getFirstPosition();if(!i.getLimitElement(r).is("element","tableCell")){return n.createPositionAt(t,o?"end":0).isTouching(r)}const l=n.createSelection(r);return n.modifySelection(l,{direction:o?"forward":"backward"}),r.isEqual(l.focus)}_navigateFromCellInDirection(e,t,o=!1){const n=this.editor.model,i=e.findAncestor("table"),r=[...new w(i,{includeAllSlots:!0})],{row:l,column:s}=r[r.length-1],a=r.find((({cell:t})=>t==e));let{row:c,column:d}=a;switch(t){case"left":d--;break;case"up":c--;break;case"right":d+=a.cellWidth;break;case"down":c+=a.cellHeight}if(c<0||c>l||d<0&&c<=0||d>s&&c>=l)return void n.change((e=>{e.setSelection(e.createRangeOn(i))}));d<0?(d=o?0:s,c--):d>s&&(d=o?s:0,c++);const u=r.find((e=>e.row==c&&e.column==d)).cell,h=["right","down"].includes(t),b=this.editor.plugins.get("TableSelection");if(o&&b.isEnabled){const t=b.getAnchorCell()||e;b.setCellSelection(t,u)}else{const e=n.createPositionAt(u,h?0:"end");n.change((t=>{t.setSelection(e)}))}}}var Qe=o(783);class Ze extends Qe.DomEventObserver{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(e){this.fire(e.type,e)}}class et extends e.Plugin{static get pluginName(){return"TableMouse"}static get isOfficialPlugin(){return!0}static get requires(){return[$e,oe]}init(){this.editor.editing.view.addObserver(Ze),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const e=this.editor,t=e.plugins.get(oe);let o=!1;const n=e.plugins.get($e);this.listenTo(e.editing.view.document,"mousedown",((i,r)=>{const l=e.model.document.selection;if(!this.isEnabled||!n.isEnabled)return;if(!r.domEvent.shiftKey)return;const s=n.getAnchorCell()||t.getTableCellsContainingSelection(l)[0];if(!s)return;const a=this._getModelTableCellFromDomEvent(r);a&&tt(s,a)&&(o=!0,n.setCellSelection(s,a),r.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{o=!1})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{o&&e.stop()}),{priority:"highest"})}_enableMouseDragSelection(){const e=this.editor;let t,o,n=!1,i=!1;const r=e.plugins.get($e);this.listenTo(e.editing.view.document,"mousedown",((e,o)=>{this.isEnabled&&r.isEnabled&&(o.domEvent.shiftKey||o.domEvent.ctrlKey||o.domEvent.altKey||(t=this._getModelTableCellFromDomEvent(o)))})),this.listenTo(e.editing.view.document,"mousemove",((e,l)=>{if(!l.domEvent.buttons)return;if(!t)return;const s=this._getModelTableCellFromDomEvent(l);s&&tt(t,s)&&(o=s,n||o==t||(n=!0)),n&&(i=!0,r.setCellSelection(t,o),l.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{n=!1,i=!1,t=null,o=null})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{i&&e.stop()}),{priority:"highest"})}_getModelTableCellFromDomEvent(e){const t=e.target,o=this.editor.editing.view.createPositionAt(t,0);return this.editor.editing.mapper.toModelPosition(o).parent.findAncestor("tableCell",{includeSelf:!0})}}function tt(e,t){return e.parent.parent==t.parent.parent}var ot=o(25),nt={attributes:{"data-cke":!0}};nt.setAttributes=Pe(),nt.insert=Ve().bind(null,"head"),nt.domAPI=xe(),nt.insertStyleElement=Ee();Ae()(ot.A,nt);ot.A&&ot.A.locals&&ot.A.locals;class it extends e.Plugin{static get requires(){return[Oe,Me,$e,et,Ye,Ge,t.Widget]}static get pluginName(){return"Table"}static get isOfficialPlugin(){return!0}}class rt extends e.Plugin{static get pluginName(){return"PlainTableOutput"}static get isOfficialPlugin(){return!0}static get requires(){return[it]}init(){const e=this.editor;e.conversion.for("dataDowncast").elementToStructure({model:"table",view:lt,converterPriority:"high"}),e.plugins.has("TableCaption")&&e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>{if("table"===e.parent.name)return t.createContainerElement("caption")},converterPriority:"high"}),e.plugins.has("TableProperties")&&function(e){const t={"border-width":"tableBorderWidth","border-color":"tableBorderColor","border-style":"tableBorderStyle","background-color":"tableBackgroundColor"};for(const[o,n]of Object.entries(t))e.conversion.for("dataDowncast").add((e=>e.on(`attribute:${n}:table`,((e,t,n)=>{const{item:i,attributeNewValue:r}=t,{mapper:l,writer:s}=n;if(!n.consumable.consume(i,e.name))return;const a=l.toViewElement(i);r?s.setStyle(o,r,a):s.removeStyle(o,a)}),{priority:"high"})))}(e)}}function lt(e,{writer:t}){const o=e.getAttribute("headingRows")||0,n=t.createSlot((e=>e.is("element","tableRow")&&e.index<o)),i=t.createSlot((e=>e.is("element","tableRow")&&e.index>=o)),r=t.createSlot((e=>!e.is("element","tableRow"))),l=t.createContainerElement("thead",null,n),s=t.createContainerElement("tbody",null,i),a=[];return o&&a.push(l),o<e.childCount&&a.push(s),t.createContainerElement("table",null,[r,...a])}function st(e){const t=at(e);return t||ct(e)}function at(e){const t=e.getSelectedElement();return t&&dt(t)?t:null}function ct(e){const t=e.getFirstPosition();if(!t)return null;let o=t.parent;for(;o;){if(o.is("element")&&dt(o))return o;o=o.parent}return null}function dt(e){return!!e.getCustomProperty("table")&&(0,t.isWidget)(e)}class ut extends e.Plugin{static get requires(){return[t.WidgetToolbarRepository]}static get pluginName(){return"TableToolbar"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,o=e.t,n=e.plugins.get(t.WidgetToolbarRepository),i=e.config.get("table.contentToolbar"),r=e.config.get("table.tableToolbar");i&&n.register("tableContent",{ariaLabel:o("Table toolbar"),items:i,getRelatedElement:ct}),r&&n.register("table",{ariaLabel:o("Table toolbar"),items:r,getRelatedElement:at})}}var ht=o(770),bt={attributes:{"data-cke":!0}};bt.setAttributes=Pe(),bt.insert=Ve().bind(null,"head"),bt.domAPI=xe(),bt.insertStyleElement=Ee();Ae()(ht.A,bt);ht.A&&ht.A.locals&&ht.A.locals;class mt extends Fe.View{constructor(e,t){super(e),this.set("value",""),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isEmpty",!0),this.options=t,this.focusTracker=new m.FocusTracker,this._focusables=new Fe.ViewCollection,this.dropdownView=this._createDropdownView(),this.inputView=this._createInputTextView(),this.keystrokes=new m.KeystrokeHandler,this._stillTyping=!1,this.focusCycler=new Fe.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-input-color"]},children:[this.dropdownView,this.inputView]}),this.on("change:value",((e,t,o)=>this._setInputValue(o)))}render(){super.render(),[this.inputView,this.dropdownView.buttonView].forEach((e=>{this.focusTracker.add(e.element),this._focusables.add(e)})),this.keystrokes.listenTo(this.element)}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createDropdownView(){const e=this.locale,t=e.t,o=this.bindTemplate,n=this._createColorSelector(e),i=(0,Fe.createDropdown)(e),r=new Fe.View;return r.setTemplate({tag:"span",attributes:{class:["ck","ck-input-color__button__preview"],style:{backgroundColor:o.to("value")}},children:[{tag:"span",attributes:{class:["ck","ck-input-color__button__preview__no-color-indicator",o.if("value","ck-hidden",(e=>""!=e))]}}]}),i.buttonView.extendTemplate({attributes:{class:"ck-input-color__button"}}),i.buttonView.children.add(r),i.buttonView.label=t("Color picker"),i.buttonView.tooltip=!0,i.panelPosition="rtl"===e.uiLanguageDirection?"se":"sw",i.panelView.children.add(n),i.bind("isEnabled").to(this,"isReadOnly",(e=>!e)),i.on("change:isOpen",((e,t,o)=>{o&&(n.updateSelectedColors(),n.showColorGridsFragment())})),i}_createInputTextView(){const e=this.locale,t=new Fe.InputTextView(e);return t.extendTemplate({on:{blur:t.bindTemplate.to("blur")}}),t.value=this.value,t.bind("isReadOnly","hasError").to(this),this.bind("isFocused","isEmpty").to(t),t.on("input",(()=>{const e=t.element.value,o=this.options.colorDefinitions.find((t=>e===t.label));this._stillTyping=!0,this.value=o&&o.color||e})),t.on("blur",(()=>{this._stillTyping=!1,this._setInputValue(t.element.value)})),t.delegate("input").to(this),t}_createColorSelector(e){const t=e.t,o=this.options.defaultColorValue||"",n=t(o?"Restore default":"Remove color"),i=new Fe.ColorSelectorView(e,{colors:this.options.colorDefinitions,columns:this.options.columns,removeButtonLabel:n,colorPickerLabel:t("Color picker"),colorPickerViewConfig:!1!==this.options.colorPickerConfig&&{...this.options.colorPickerConfig,hideInput:!0}});i.appendUI(),i.on("execute",((e,t)=>{"colorPickerSaveButton"!==t.source?(this.value=t.value||o,this.fire("input"),"colorPicker"!==t.source&&(this.dropdownView.isOpen=!1)):this.dropdownView.isOpen=!1}));let r=this.value;return i.on("colorPicker:cancel",(()=>{this.value=r,this.fire("input"),this.dropdownView.isOpen=!1})),i.colorGridsFragmentView.colorPickerButtonView.on("execute",(()=>{r=this.value})),i.bind("selectedColor").to(this,"value"),i}_setInputValue(e){if(!this._stillTyping){const t=gt(e),o=this.options.colorDefinitions.find((e=>t===gt(e.color)));this.inputView.value=o?o.label:e||""}}}function gt(e){return e.replace(/([(,])\s+/g,"$1").replace(/^\s+|\s+(?=[),\s]|$)/g,"").replace(/,|\s/g," ")}const pt=e=>""===e;function ft(e){return{none:e("None"),solid:e("Solid"),dotted:e("Dotted"),dashed:e("Dashed"),double:e("Double"),groove:e("Groove"),ridge:e("Ridge"),inset:e("Inset"),outset:e("Outset")}}function wt(e){return e('The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".')}function _t(e){return e('The value is invalid. Try "10px" or "2em" or simply "2".')}function kt(e){return e=e.trim().toLowerCase(),pt(e)||(0,Qe.isColor)(e)}function vt(e){return e=e.trim(),pt(e)||St(e)||(0,Qe.isLength)(e)||(0,Qe.isPercentage)(e)}function Ct(e){return e=e.trim(),pt(e)||St(e)||(0,Qe.isLength)(e)}function yt(e,t){const o=new m.Collection,n=ft(e.t);for(const i in n){const r={type:"button",model:new Fe.ViewModel({_borderStyleValue:i,label:n[i],role:"menuitemradio",withText:!0})};"none"===i?r.model.bind("isOn").to(e,"borderStyle",(e=>"none"===t?!e:e===i)):r.model.bind("isOn").to(e,"borderStyle",(e=>e===i)),o.add(r)}return o}function At(e){const{view:t,icons:o,toolbar:n,labels:i,propertyName:r,nameToValue:l,defaultValue:s}=e;for(const e in i){const a=new Fe.ButtonView(t.locale);a.set({label:i[e],icon:o[e],tooltip:i[e]});const c=l?l(e):e;a.bind("isOn").to(t,r,(e=>{let t=e;return""===e&&s&&(t=s),c===t})),a.on("execute",(()=>{t[r]=c})),n.items.add(a)}}const Tt=[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}];function xt(e){return(t,o,n)=>{const i=new mt(t.locale,{colorDefinitions:(r=e.colorConfig,r.map((e=>({color:e.model,label:e.label,options:{hasBorder:e.hasBorder}})))),columns:e.columns,defaultColorValue:e.defaultColorValue,colorPickerConfig:e.colorPickerConfig});var r;return i.inputView.set({id:o,ariaDescribedById:n}),i.bind("isReadOnly").to(t,"isEnabled",(e=>!e)),i.bind("hasError").to(t,"errorText",(e=>!!e)),i.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused").to(i),i}}function St(e){const t=parseFloat(e);return!Number.isNaN(t)&&e===String(t)}var Vt=o(839),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=Pe(),Rt.insert=Ve().bind(null,"head"),Rt.domAPI=xe(),Rt.insertStyleElement=Ee();Ae()(Vt.A,Rt);Vt.A&&Vt.A.locals&&Vt.A.locals;class Pt extends Fe.View{constructor(e,t={}){super(e);const o=this.bindTemplate;this.set("class",t.class||null),this.children=this.createCollection(),t.children&&t.children.forEach((e=>this.children.add(e))),this.set("_role",null),this.set("_ariaLabelledBy",null),t.labelView&&this.set({_role:"group",_ariaLabelledBy:t.labelView.id}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__row",o.to("class")],role:o.to("_role"),"aria-labelledby":o.to("_ariaLabelledBy")},children:this.children})}}var It=o(67),Et={attributes:{"data-cke":!0}};Et.setAttributes=Pe(),Et.insert=Ve().bind(null,"head"),Et.domAPI=xe(),Et.insertStyleElement=Ee();Ae()(It.A,Et);It.A&&It.A.locals&&It.A.locals;var zt=o(911),Bt={attributes:{"data-cke":!0}};Bt.setAttributes=Pe(),Bt.insert=Ve().bind(null,"head"),Bt.domAPI=xe(),Bt.insertStyleElement=Ee();Ae()(zt.A,Bt);zt.A&&zt.A.locals&&zt.A.locals;var Ot=o(266),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Pe(),Lt.insert=Ve().bind(null,"head"),Lt.domAPI=xe(),Lt.insertStyleElement=Ee();Ae()(Ot.A,Lt);Ot.A&&Ot.A.locals&&Ot.A.locals;class Ft extends Fe.View{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",padding:"",backgroundColor:"",width:"",height:"",horizontalAlignment:"",verticalAlignment:""}),this.options=t;const{borderStyleDropdown:o,borderWidthInput:n,borderColorInput:i,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:l,backgroundInput:s}=this._createBackgroundFields(),{widthInput:a,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{horizontalAlignmentToolbar:h,verticalAlignmentToolbar:b,alignmentLabel:g}=this._createAlignmentFields();this.focusTracker=new m.FocusTracker,this.keystrokes=new m.KeystrokeHandler,this.children=this.createCollection(),this.borderStyleDropdown=o,this.borderWidthInput=n,this.borderColorInput=i,this.backgroundInput=s,this.paddingInput=this._createPaddingField(),this.widthInput=a,this.heightInput=d,this.horizontalAlignmentToolbar=h,this.verticalAlignmentToolbar=b;const{saveButtonView:p,cancelButtonView:f}=this._createActionButtons();this.saveButtonView=p,this.cancelButtonView=f,this._focusables=new Fe.ViewCollection,this._focusCycler=new Fe.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Fe.FormHeaderView(e,{label:this.t("Cell properties")})),this.children.add(new Pt(e,{labelView:r,children:[r,o,i,n],class:"ck-table-form__border-row"})),this.children.add(new Pt(e,{labelView:l,children:[l,s],class:"ck-table-form__background-row"})),this.children.add(new Pt(e,{children:[new Pt(e,{labelView:u,children:[u,a,c,d],class:"ck-table-form__dimensions-row"}),new Pt(e,{children:[this.paddingInput],class:"ck-table-cell-properties-form__padding-row"})]})),this.children.add(new Pt(e,{labelView:g,children:[g,h,b],class:"ck-table-cell-properties-form__alignment-row"})),this.children.add(new Pt(e,{children:[this.saveButtonView,this.cancelButtonView],class:"ck-table-form__action-row"})),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-table-form","ck-table-cell-properties-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,Fe.submitHandler)({view:this}),[this.borderColorInput,this.backgroundInput].forEach((e=>{this._focusCycler.chain(e.fieldView.focusCycler)})),[this.borderStyleDropdown,this.borderColorInput,this.borderWidthInput,this.backgroundInput,this.widthInput,this.heightInput,this.paddingInput,this.horizontalAlignmentToolbar,this.verticalAlignmentToolbar,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBorderFields(){const e=this.options.defaultTableCellProperties,t={style:e.borderStyle,width:e.borderWidth,color:e.borderColor},o=xt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color,colorPickerConfig:this.options.colorPickerConfig}),n=this.locale,i=this.t,r=i("Style"),l=new Fe.LabelView(n);l.text=i("Border");const s=ft(i),a=new Fe.LabeledFieldView(n,Fe.createLabeledDropdown);a.set({label:r,class:"ck-table-form__border-style"}),a.fieldView.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),a.fieldView.buttonView.bind("label").to(this,"borderStyle",(e=>s[e||"none"])),a.fieldView.on("execute",(e=>{this.borderStyle=e.source._borderStyleValue})),a.bind("isEmpty").to(this,"borderStyle",(e=>!e)),(0,Fe.addListToDropdown)(a.fieldView,yt(this,t.style),{role:"menu",ariaLabel:r});const c=new Fe.LabeledFieldView(n,Fe.createLabeledInputText);c.set({label:i("Width"),class:"ck-table-form__border-width"}),c.fieldView.bind("value").to(this,"borderWidth"),c.bind("isEnabled").to(this,"borderStyle",Wt),c.fieldView.on("input",(()=>{this.borderWidth=c.fieldView.element.value}));const d=new Fe.LabeledFieldView(n,o);return d.set({label:i("Color"),class:"ck-table-form__border-color"}),d.fieldView.bind("value").to(this,"borderColor"),d.bind("isEnabled").to(this,"borderStyle",Wt),d.fieldView.on("input",(()=>{this.borderColor=d.fieldView.value})),this.on("change:borderStyle",((e,o,n,i)=>{Wt(n)||(this.borderColor="",this.borderWidth=""),Wt(i)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:l,borderStyleDropdown:a,borderColorInput:d,borderWidthInput:c}}_createBackgroundFields(){const e=this.locale,t=this.t,o=new Fe.LabelView(e);o.text=t("Background");const n=xt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableCellProperties.backgroundColor,colorPickerConfig:this.options.colorPickerConfig}),i=new Fe.LabeledFieldView(e,n);return i.set({label:t("Color"),class:"ck-table-cell-properties-form__background"}),i.fieldView.bind("value").to(this,"backgroundColor"),i.fieldView.on("input",(()=>{this.backgroundColor=i.fieldView.value})),{backgroundRowLabel:o,backgroundInput:i}}_createDimensionFields(){const e=this.locale,t=this.t,o=new Fe.LabelView(e);o.text=t("Dimensions");const n=new Fe.LabeledFieldView(e,Fe.createLabeledInputText);n.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),n.fieldView.bind("value").to(this,"width"),n.fieldView.on("input",(()=>{this.width=n.fieldView.element.value}));const i=new Fe.View(e);i.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Fe.LabeledFieldView(e,Fe.createLabeledInputText);return r.set({label:t("Height"),class:"ck-table-form__dimensions-row__height"}),r.fieldView.bind("value").to(this,"height"),r.fieldView.on("input",(()=>{this.height=r.fieldView.element.value})),{dimensionsLabel:o,widthInput:n,operatorLabel:i,heightInput:r}}_createPaddingField(){const e=this.locale,t=this.t,o=new Fe.LabeledFieldView(e,Fe.createLabeledInputText);return o.set({label:t("Padding"),class:"ck-table-cell-properties-form__padding"}),o.fieldView.bind("value").to(this,"padding"),o.fieldView.on("input",(()=>{this.padding=o.fieldView.element.value})),o}_createAlignmentFields(){const t=this.locale,o=this.t,n=new Fe.LabelView(t),i={left:e.icons.alignLeft,center:e.icons.alignCenter,right:e.icons.alignRight,justify:e.icons.alignJustify,top:e.icons.alignTop,middle:e.icons.alignMiddle,bottom:e.icons.alignBottom};n.text=o("Table cell text alignment");const r=new Fe.ToolbarView(t),l="rtl"===t.contentLanguageDirection;r.set({isCompact:!0,ariaLabel:o("Horizontal text alignment toolbar")}),At({view:this,icons:i,toolbar:r,labels:this._horizontalAlignmentLabels,propertyName:"horizontalAlignment",nameToValue:e=>{if(l){if("left"===e)return"right";if("right"===e)return"left"}return e},defaultValue:this.options.defaultTableCellProperties.horizontalAlignment});const s=new Fe.ToolbarView(t);return s.set({isCompact:!0,ariaLabel:o("Vertical text alignment toolbar")}),At({view:this,icons:i,toolbar:s,labels:this._verticalAlignmentLabels,propertyName:"verticalAlignment",defaultValue:this.options.defaultTableCellProperties.verticalAlignment}),{horizontalAlignmentToolbar:r,verticalAlignmentToolbar:s,alignmentLabel:n}}_createActionButtons(){const t=this.locale,o=this.t,n=new Fe.ButtonView(t),i=new Fe.ButtonView(t),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.paddingInput];return n.set({label:o("Save"),icon:e.icons.check,class:"ck-button-save",type:"submit",withText:!0}),n.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),i.set({label:o("Cancel"),icon:e.icons.cancel,class:"ck-button-cancel",withText:!0}),i.delegate("execute").to(this,"cancel"),{saveButtonView:n,cancelButtonView:i}}get _horizontalAlignmentLabels(){const e=this.locale,t=this.t,o=t("Align cell text to the left"),n=t("Align cell text to the center"),i=t("Align cell text to the right"),r=t("Justify cell text");return"rtl"===e.uiLanguageDirection?{right:i,center:n,left:o,justify:r}:{left:o,center:n,right:i,justify:r}}get _verticalAlignmentLabels(){const e=this.t;return{top:e("Align cell text to the top"),middle:e("Align cell text to the middle"),bottom:e("Align cell text to the bottom")}}}function Wt(e){return"none"!==e}const Nt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const Dt="object"==typeof global&&global&&global.Object===Object&&global;var Mt="object"==typeof self&&self&&self.Object===Object&&self;const jt=Dt||Mt||Function("return this")();const Ht=function(){return jt.Date.now()};var Ut=/\s/;const $t=function(e){for(var t=e.length;t--&&Ut.test(e.charAt(t)););return t};var Kt=/^\s+/;const Gt=function(e){return e?e.slice(0,$t(e)+1).replace(Kt,""):e};const qt=jt.Symbol;var Jt=Object.prototype,Xt=Jt.hasOwnProperty,Yt=Jt.toString,Qt=qt?qt.toStringTag:void 0;const Zt=function(e){var t=Xt.call(e,Qt),o=e[Qt];try{e[Qt]=void 0;var n=!0}catch(e){}var i=Yt.call(e);return n&&(t?e[Qt]=o:delete e[Qt]),i};var eo=Object.prototype.toString;const to=function(e){return eo.call(e)};var oo=qt?qt.toStringTag:void 0;const no=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":oo&&oo in Object(e)?Zt(e):to(e)};const io=function(e){return null!=e&&"object"==typeof e};const ro=function(e){return"symbol"==typeof e||io(e)&&"[object Symbol]"==no(e)};var lo=/^[-+]0x[0-9a-f]+$/i,so=/^0b[01]+$/i,ao=/^0o[0-7]+$/i,co=parseInt;const uo=function(e){if("number"==typeof e)return e;if(ro(e))return NaN;if(Nt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Nt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gt(e);var o=so.test(e);return o||ao.test(e)?co(e.slice(2),o?2:8):lo.test(e)?NaN:+e};var ho=Math.max,bo=Math.min;const mo=function(e,t,o){var n,i,r,l,s,a,c=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var o=n,r=i;return n=i=void 0,c=t,l=e.apply(r,o)}function m(e){var o=e-a;return void 0===a||o>=t||o<0||u&&e-c>=r}function g(){var e=Ht();if(m(e))return p(e);s=setTimeout(g,function(e){var o=t-(e-a);return u?bo(o,r-(e-c)):o}(e))}function p(e){return s=void 0,h&&n?b(e):(n=i=void 0,l)}function f(){var e=Ht(),o=m(e);if(n=arguments,i=this,a=e,o){if(void 0===s)return function(e){return c=e,s=setTimeout(g,t),d?b(e):l}(a);if(u)return clearTimeout(s),s=setTimeout(g,t),b(a)}return void 0===s&&(s=setTimeout(g,t)),l}return t=uo(t)||0,Nt(o)&&(d=!!o.leading,r=(u="maxWait"in o)?ho(uo(o.maxWait)||0,t):r,h="trailing"in o?!!o.trailing:h),f.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=a=i=s=void 0},f.flush=function(){return void 0===s?l:p(Ht())},f},go=(()=>[Fe.BalloonPanelView.defaultPositions.northArrowSouth,Fe.BalloonPanelView.defaultPositions.northArrowSouthWest,Fe.BalloonPanelView.defaultPositions.northArrowSouthEast,Fe.BalloonPanelView.defaultPositions.southArrowNorth,Fe.BalloonPanelView.defaultPositions.southArrowNorthWest,Fe.BalloonPanelView.defaultPositions.southArrowNorthEast,Fe.BalloonPanelView.defaultPositions.viewportStickyNorth])();function po(e,t){const o=e.plugins.get("ContextualBalloon"),n=e.editing.view.document.selection;let i;"cell"===t?ct(n)&&(i=wo(e)):st(n)&&(i=fo(e)),i&&o.updatePosition(i)}function fo(e){const t=b(e.model.document.selection),o=e.editing.mapper.toViewElement(t);return{target:e.editing.view.domConverter.mapViewToDom(o),positions:go}}function wo(e){const t=e.editing.mapper,o=e.editing.view.domConverter,n=e.model.document.selection;if(n.rangeCount>1)return{target:()=>function(e,t){const o=t.editing.mapper,n=t.editing.view.domConverter,i=Array.from(e).map((e=>{const t=_o(e.start),i=o.toViewElement(t);return new m.Rect(n.mapViewToDom(i))}));return m.Rect.getBoundingRect(i)}(n.getRanges(),e),positions:go};const i=_o(n.getFirstPosition()),r=t.toViewElement(i);return{target:o.mapViewToDom(r),positions:go}}function _o(e){return e.nodeAfter&&e.nodeAfter.is("element","tableCell")?e.nodeAfter:e.findAncestor("tableCell")}function ko(e){if(!e||!Nt(e))return e;const{top:t,right:o,bottom:n,left:i}=e;return t==o&&o==n&&n==i?t:void 0}function vo(e,t){const o=parseFloat(e);return Number.isNaN(o)||String(o)!==String(e)?e:`${o}${t}`}function Co(e,t={}){const o={borderStyle:"none",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",...e};return t.includeAlignmentProperty&&!o.alignment&&(o.alignment="center"),t.includePaddingProperty&&!o.padding&&(o.padding=""),t.includeVerticalAlignmentProperty&&!o.verticalAlignment&&(o.verticalAlignment="middle"),t.includeHorizontalAlignmentProperty&&!o.horizontalAlignment&&(o.horizontalAlignment=t.isRightToLeftContent?"right":"left"),o}function yo(e,t){return Co({borderStyle:"double",borderColor:"hsl(0, 0%, 70%)",borderWidth:"1px",...e},t)}function Ao(e,t){return Co({borderStyle:"solid",borderColor:"hsl(0, 0%, 75%)",borderWidth:"1px",...e},t)}const To={borderStyle:"tableCellBorderStyle",borderColor:"tableCellBorderColor",borderWidth:"tableCellBorderWidth",height:"tableCellHeight",width:"tableCellWidth",padding:"tableCellPadding",backgroundColor:"tableCellBackgroundColor",horizontalAlignment:"tableCellHorizontalAlignment",verticalAlignment:"tableCellVerticalAlignment"};class xo extends e.Plugin{static get requires(){return[Fe.ContextualBalloon]}static get pluginName(){return"TableCellPropertiesUI"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("table.tableCellProperties",{borderColors:Tt,backgroundColors:Tt})}init(){const e=this.editor,t=e.t;this._defaultTableCellProperties=Ao(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection}),this._balloon=e.plugins.get(Fe.ContextualBalloon),this.view=null,this._isReady=!1,e.ui.componentFactory.add("tableCellProperties",(o=>{const n=new Fe.ButtonView(o);n.set({label:t("Cell properties"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',tooltip:!0}),this.listenTo(n,"execute",(()=>this._showView()));const i=Object.values(To).map((t=>e.commands.get(t)));return n.bind("isEnabled").toMany(i,"isEnabled",((...e)=>e.some((e=>e)))),n}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableCellProperties"),o=(0,Fe.normalizeColorOptions)(t.borderColors),n=(0,Fe.getLocalizedColorOptions)(e.locale,o),i=(0,Fe.normalizeColorOptions)(t.backgroundColors),r=(0,Fe.getLocalizedColorOptions)(e.locale,i),l=!1!==t.colorPicker,s=new Ft(e.locale,{borderColors:n,backgroundColors:r,defaultTableCellProperties:this._defaultTableCellProperties,colorPickerConfig:!!l&&(t.colorPicker||{})}),a=e.t;s.render(),this.listenTo(s,"submit",(()=>{this._hideView()})),this.listenTo(s,"cancel",(()=>{this._undoStepBatch.operations.length&&e.execute("undo",this._undoStepBatch),this._hideView()})),s.keystrokes.set("Esc",((e,t)=>{this._hideView(),t()})),(0,Fe.clickOutsideHandler)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const c=wt(a),d=_t(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableCellBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableCellBorderColor",errorText:c,validator:kt})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableCellBorderWidth",errorText:d,validator:Ct})),s.on("change:padding",this._getValidatedPropertyChangeCallback({viewField:s.paddingInput,commandName:"tableCellPadding",errorText:d,validator:vt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableCellWidth",errorText:d,validator:vt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableCellHeight",errorText:d,validator:vt})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableCellBackgroundColor",errorText:c,validator:kt})),s.on("change:horizontalAlignment",this._getPropertyChangeCallback("tableCellHorizontalAlignment")),s.on("change:verticalAlignment",this._getPropertyChangeCallback("tableCellVerticalAlignment")),s}_fillViewFormFromCommandValues(){const e=this.editor.commands,t=e.get("tableCellBorderStyle");Object.entries(To).map((([t,o])=>{const n=this._defaultTableCellProperties[t]||"";return[t,e.get(o).value||n]})).forEach((([e,o])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,o)})),this._isReady=!0}_showView(){const e=this.editor;this.view||(this.view=this._createPropertiesView()),this.listenTo(e.ui,"update",(()=>{this._updateView()})),this._fillViewFormFromCommandValues(),this._balloon.add({view:this.view,position:wo(e)}),this._undoStepBatch=e.model.createBatch(),this.view.focus()}_hideView(){const e=this.editor;this.stopListening(e.ui,"update"),this._isReady=!1,this.view.saveButtonView.focus(),this._balloon.remove(this.view),this.editor.editing.view.focus()}_updateView(){const e=this.editor;ct(e.editing.view.document.selection)?this._isViewVisible&&po(e,"cell"):this._hideView()}get _isViewVisible(){return!!this.view&&this._balloon.visibleView===this.view}get _isViewInBalloon(){return!!this.view&&this._balloon.hasView(this.view)}_getPropertyChangeCallback(e){return(t,o,n)=>{this._isReady&&this.editor.execute(e,{value:n,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:o,validator:n,errorText:i}=e,r=mo((()=>{o.errorText=i}),500);return(e,i,l)=>{r.cancel(),this._isReady&&(n(l)?(this.editor.execute(t,{value:l,batch:this._undoStepBatch}),o.errorText=null):r())}}}class So extends e.Command{constructor(e,t,o){super(e),this.attributeName=t,this._defaultValue=o}refresh(){const e=this.editor,t=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(e.model.document.selection);this.isEnabled=!!t.length,this.value=this._getSingleValue(t)}execute(e={}){const{value:t,batch:o}=e,n=this.editor.model,i=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(n.document.selection),r=this._getValueToSet(t);n.enqueueChange(o,(e=>{r?i.forEach((t=>e.setAttribute(this.attributeName,r,t))):i.forEach((t=>e.removeAttribute(this.attributeName,t)))}))}_getAttribute(e){if(!e)return;const t=e.getAttribute(this.attributeName);return t!==this._defaultValue?t:void 0}_getValueToSet(e){if(e!==this._defaultValue)return e}_getSingleValue(e){const t=this._getAttribute(e[0]);return e.every((e=>this._getAttribute(e)===t))?t:void 0}}class Vo extends So{constructor(e,t){super(e,"tableCellWidth",t)}_getValueToSet(e){if((e=vo(e,"px"))!==this._defaultValue)return e}}class Ro extends e.Plugin{static get pluginName(){return"TableCellWidthEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Oe]}init(){const e=this.editor,t=Ao(e.config.get("table.tableCellProperties.defaultProperties"));h(e.model.schema,e.conversion,{modelAttribute:"tableCellWidth",styleName:"width",defaultValue:t.width}),e.commands.add("tableCellWidth",new Vo(e,t.width))}}class Po extends So{constructor(e,t){super(e,"tableCellPadding",t)}_getAttribute(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=vo(e,"px");if(t!==this._defaultValue)return t}}class Io extends So{constructor(e,t){super(e,"tableCellHeight",t)}_getValueToSet(e){const t=vo(e,"px");if(t!==this._defaultValue)return t}}class Eo extends So{constructor(e,t){super(e,"tableCellBackgroundColor",t)}}class zo extends So{constructor(e,t){super(e,"tableCellVerticalAlignment",t)}}class Bo extends So{constructor(e,t){super(e,"tableCellHorizontalAlignment",t)}}class Oo extends So{constructor(e,t){super(e,"tableCellBorderStyle",t)}_getAttribute(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Lo extends So{constructor(e,t){super(e,"tableCellBorderColor",t)}_getAttribute(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Fo extends So{constructor(e,t){super(e,"tableCellBorderWidth",t)}_getAttribute(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=vo(e,"px");if(t!==this._defaultValue)return t}}const Wo=/^(top|middle|bottom)$/,No=/^(left|center|right|justify)$/;class Do extends e.Plugin{static get pluginName(){return"TableCellPropertiesEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Oe,Ro]}init(){const e=this.editor,t=e.model.schema,o=e.conversion;e.config.define("table.tableCellProperties.defaultProperties",{});const n=Ao(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection});e.data.addStyleProcessorRules(Qe.addBorderRules),function(e,t,o){const n={width:"tableCellBorderWidth",color:"tableCellBorderColor",style:"tableCellBorderStyle"};e.extend("tableCell",{allowAttributes:Object.values(n)}),r(t,"td",n,o),r(t,"th",n,o),l(t,{modelElement:"tableCell",modelAttribute:n.style,styleName:"border-style"}),l(t,{modelElement:"tableCell",modelAttribute:n.color,styleName:"border-color"}),l(t,{modelElement:"tableCell",modelAttribute:n.width,styleName:"border-width"})}(t,o,{color:n.borderColor,style:n.borderStyle,width:n.borderWidth}),e.commands.add("tableCellBorderStyle",new Oo(e,n.borderStyle)),e.commands.add("tableCellBorderColor",new Lo(e,n.borderColor)),e.commands.add("tableCellBorderWidth",new Fo(e,n.borderWidth)),h(t,o,{modelAttribute:"tableCellHeight",styleName:"height",defaultValue:n.height}),e.commands.add("tableCellHeight",new Io(e,n.height)),e.data.addStyleProcessorRules(Qe.addPaddingRules),h(t,o,{modelAttribute:"tableCellPadding",styleName:"padding",reduceBoxSides:!0,defaultValue:n.padding}),e.commands.add("tableCellPadding",new Po(e,n.padding)),e.data.addStyleProcessorRules(Qe.addBackgroundRules),h(t,o,{modelAttribute:"tableCellBackgroundColor",styleName:"background-color",defaultValue:n.backgroundColor}),e.commands.add("tableCellBackgroundColor",new Eo(e,n.backgroundColor)),function(e,t,o){e.extend("tableCell",{allowAttributes:["tableCellHorizontalAlignment"]}),t.for("downcast").attributeToAttribute({model:{name:"tableCell",key:"tableCellHorizontalAlignment"},view:e=>({key:"style",value:{"text-align":e}})}),t.for("upcast").attributeToAttribute({view:{name:/^(td|th)$/,styles:{"text-align":No}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getStyle("text-align");return t===o?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{align:No}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getAttribute("align");return t===o?null:t}}})}(t,o,n.horizontalAlignment),e.commands.add("tableCellHorizontalAlignment",new Bo(e,n.horizontalAlignment)),function(e,t,o){e.extend("tableCell",{allowAttributes:["tableCellVerticalAlignment"]}),t.for("downcast").attributeToAttribute({model:{name:"tableCell",key:"tableCellVerticalAlignment"},view:e=>({key:"style",value:{"vertical-align":e}})}),t.for("upcast").attributeToAttribute({view:{name:/^(td|th)$/,styles:{"vertical-align":Wo}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getStyle("vertical-align");return t===o?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{valign:Wo}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getAttribute("valign");return t===o?null:t}}})}(t,o,n.verticalAlignment),e.commands.add("tableCellVerticalAlignment",new zo(e,n.verticalAlignment))}}class Mo extends e.Plugin{static get pluginName(){return"TableCellProperties"}static get isOfficialPlugin(){return!0}static get requires(){return[Do,xo]}}class jo extends e.Command{constructor(e,t,o){super(e),this.attributeName=t,this._defaultValue=o}refresh(){const e=b(this.editor.model.document.selection);this.isEnabled=!!e,this.value=this._getValue(e)}execute(e={}){const t=this.editor.model,o=t.document.selection,{value:n,batch:i}=e,r=b(o),l=this._getValueToSet(n);t.enqueueChange(i,(e=>{l?e.setAttribute(this.attributeName,l,r):e.removeAttribute(this.attributeName,r)}))}_getValue(e){if(!e)return;const t=e.getAttribute(this.attributeName);return t!==this._defaultValue?t:void 0}_getValueToSet(e){if(e!==this._defaultValue)return e}}class Ho extends jo{constructor(e,t){super(e,"tableBackgroundColor",t)}}class Uo extends jo{constructor(e,t){super(e,"tableBorderColor",t)}_getValue(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class $o extends jo{constructor(e,t){super(e,"tableBorderStyle",t)}_getValue(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class Ko extends jo{constructor(e,t){super(e,"tableBorderWidth",t)}_getValue(e){if(!e)return;const t=ko(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=vo(e,"px");if(t!==this._defaultValue)return t}}class Go extends jo{constructor(e,t){super(e,"tableWidth",t)}_getValueToSet(e){if((e=vo(e,"px"))!==this._defaultValue)return e}}class qo extends jo{constructor(e,t){super(e,"tableHeight",t)}_getValueToSet(e){if((e=vo(e,"px"))!==this._defaultValue)return e}}class Jo extends jo{constructor(e,t){super(e,"tableAlignment",t)}}const Xo=/^(left|center|right)$/,Yo=/^(left|none|right)$/;class Qo extends e.Plugin{static get pluginName(){return"TablePropertiesEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Oe]}init(){const e=this.editor,t=e.model.schema,o=e.conversion;e.config.define("table.tableProperties.defaultProperties",{});const n=yo(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0});e.data.addStyleProcessorRules(Qe.addBorderRules),function(e,t,o){const n={width:"tableBorderWidth",color:"tableBorderColor",style:"tableBorderStyle"};e.extend("table",{allowAttributes:Object.values(n)}),r(t,"table",n,o),s(t,{modelAttribute:n.color,styleName:"border-color"}),s(t,{modelAttribute:n.style,styleName:"border-style"}),s(t,{modelAttribute:n.width,styleName:"border-width"})}(t,o,{color:n.borderColor,style:n.borderStyle,width:n.borderWidth}),e.commands.add("tableBorderColor",new Uo(e,n.borderColor)),e.commands.add("tableBorderStyle",new $o(e,n.borderStyle)),e.commands.add("tableBorderWidth",new Ko(e,n.borderWidth)),function(e,t,o){e.extend("table",{allowAttributes:["tableAlignment"]}),t.for("downcast").attributeToAttribute({model:{name:"table",key:"tableAlignment"},view:e=>({key:"style",value:{float:"center"===e?"none":e}}),converterPriority:"high"}),t.for("upcast").attributeToAttribute({view:{name:/^(table|figure)$/,styles:{float:Yo}},model:{key:"tableAlignment",value:e=>{let t=e.getStyle("float");return"none"===t&&(t="center"),t===o?null:t}}}).attributeToAttribute({view:{attributes:{align:Xo}},model:{name:"table",key:"tableAlignment",value:e=>{const t=e.getAttribute("align");return t===o?null:t}}})}(t,o,n.alignment),e.commands.add("tableAlignment",new Jo(e,n.alignment)),Zo(t,o,{modelAttribute:"tableWidth",styleName:"width",defaultValue:n.width}),e.commands.add("tableWidth",new Go(e,n.width)),Zo(t,o,{modelAttribute:"tableHeight",styleName:"height",defaultValue:n.height}),e.commands.add("tableHeight",new qo(e,n.height)),e.data.addStyleProcessorRules(Qe.addBackgroundRules),function(e,t,o){const{modelAttribute:n}=o;e.extend("table",{allowAttributes:[n]}),i(t,{viewElement:"table",...o}),s(t,o)}(t,o,{modelAttribute:"tableBackgroundColor",styleName:"background-color",defaultValue:n.backgroundColor}),e.commands.add("tableBackgroundColor",new Ho(e,n.backgroundColor))}}function Zo(e,t,o){const{modelAttribute:n}=o;e.extend("table",{allowAttributes:[n]}),i(t,{viewElement:/^(table|figure)$/,shouldUpcast:e=>!("table"==e.name&&"figure"==e.parent.name),...o}),l(t,{modelElement:"table",...o})}var en=o(218),tn={attributes:{"data-cke":!0}};tn.setAttributes=Pe(),tn.insert=Ve().bind(null,"head"),tn.domAPI=xe(),tn.insertStyleElement=Ee();Ae()(en.A,tn);en.A&&en.A.locals&&en.A.locals;class on extends Fe.View{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",alignment:""}),this.options=t;const{borderStyleDropdown:o,borderWidthInput:n,borderColorInput:i,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:l,backgroundInput:s}=this._createBackgroundFields(),{widthInput:a,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{alignmentToolbar:h,alignmentLabel:b}=this._createAlignmentFields();this.focusTracker=new m.FocusTracker,this.keystrokes=new m.KeystrokeHandler,this.children=this.createCollection(),this.borderStyleDropdown=o,this.borderWidthInput=n,this.borderColorInput=i,this.backgroundInput=s,this.widthInput=a,this.heightInput=d,this.alignmentToolbar=h;const{saveButtonView:g,cancelButtonView:p}=this._createActionButtons();this.saveButtonView=g,this.cancelButtonView=p,this._focusables=new Fe.ViewCollection,this._focusCycler=new Fe.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Fe.FormHeaderView(e,{label:this.t("Table properties")})),this.children.add(new Pt(e,{labelView:r,children:[r,o,i,n],class:"ck-table-form__border-row"})),this.children.add(new Pt(e,{labelView:l,children:[l,s],class:"ck-table-form__background-row"})),this.children.add(new Pt(e,{children:[new Pt(e,{labelView:u,children:[u,a,c,d],class:"ck-table-form__dimensions-row"}),new Pt(e,{labelView:b,children:[b,h],class:"ck-table-properties-form__alignment-row"})]})),this.children.add(new Pt(e,{children:[this.saveButtonView,this.cancelButtonView],class:"ck-table-form__action-row"})),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-table-form","ck-table-properties-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,Fe.submitHandler)({view:this}),[this.borderColorInput,this.backgroundInput].forEach((e=>{this._focusCycler.chain(e.fieldView.focusCycler)})),[this.borderStyleDropdown,this.borderColorInput,this.borderWidthInput,this.backgroundInput,this.widthInput,this.heightInput,this.alignmentToolbar,this.saveButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBorderFields(){const e=this.options.defaultTableProperties,t={style:e.borderStyle,width:e.borderWidth,color:e.borderColor},o=xt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color,colorPickerConfig:this.options.colorPickerConfig}),n=this.locale,i=this.t,r=i("Style"),l=new Fe.LabelView(n);l.text=i("Border");const s=ft(i),a=new Fe.LabeledFieldView(n,Fe.createLabeledDropdown);a.set({label:r,class:"ck-table-form__border-style"}),a.fieldView.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),a.fieldView.buttonView.bind("label").to(this,"borderStyle",(e=>s[e||"none"])),a.fieldView.on("execute",(e=>{this.borderStyle=e.source._borderStyleValue})),a.bind("isEmpty").to(this,"borderStyle",(e=>!e)),(0,Fe.addListToDropdown)(a.fieldView,yt(this,t.style),{role:"menu",ariaLabel:r});const c=new Fe.LabeledFieldView(n,Fe.createLabeledInputText);c.set({label:i("Width"),class:"ck-table-form__border-width"}),c.fieldView.bind("value").to(this,"borderWidth"),c.bind("isEnabled").to(this,"borderStyle",nn),c.fieldView.on("input",(()=>{this.borderWidth=c.fieldView.element.value}));const d=new Fe.LabeledFieldView(n,o);return d.set({label:i("Color"),class:"ck-table-form__border-color"}),d.fieldView.bind("value").to(this,"borderColor"),d.bind("isEnabled").to(this,"borderStyle",nn),d.fieldView.on("input",(()=>{this.borderColor=d.fieldView.value})),this.on("change:borderStyle",((e,o,n,i)=>{nn(n)||(this.borderColor="",this.borderWidth=""),nn(i)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:l,borderStyleDropdown:a,borderColorInput:d,borderWidthInput:c}}_createBackgroundFields(){const e=this.locale,t=this.t,o=new Fe.LabelView(e);o.text=t("Background");const n=xt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableProperties.backgroundColor,colorPickerConfig:this.options.colorPickerConfig}),i=new Fe.LabeledFieldView(e,n);return i.set({label:t("Color"),class:"ck-table-properties-form__background"}),i.fieldView.bind("value").to(this,"backgroundColor"),i.fieldView.on("input",(()=>{this.backgroundColor=i.fieldView.value})),{backgroundRowLabel:o,backgroundInput:i}}_createDimensionFields(){const e=this.locale,t=this.t,o=new Fe.LabelView(e);o.text=t("Dimensions");const n=new Fe.LabeledFieldView(e,Fe.createLabeledInputText);n.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),n.fieldView.bind("value").to(this,"width"),n.fieldView.on("input",(()=>{this.width=n.fieldView.element.value}));const i=new Fe.View(e);i.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Fe.LabeledFieldView(e,Fe.createLabeledInputText);return r.set({label:t("Height"),class:"ck-table-form__dimensions-row__height"}),r.fieldView.bind("value").to(this,"height"),r.fieldView.on("input",(()=>{this.height=r.fieldView.element.value})),{dimensionsLabel:o,widthInput:n,operatorLabel:i,heightInput:r}}_createAlignmentFields(){const t=this.locale,o=this.t,n=new Fe.LabelView(t);n.text=o("Alignment");const i=new Fe.ToolbarView(t);return i.set({isCompact:!0,ariaLabel:o("Table alignment toolbar")}),At({view:this,icons:{left:e.icons.objectLeft,center:e.icons.objectCenter,right:e.icons.objectRight},toolbar:i,labels:this._alignmentLabels,propertyName:"alignment",defaultValue:this.options.defaultTableProperties.alignment}),{alignmentLabel:n,alignmentToolbar:i}}_createActionButtons(){const t=this.locale,o=this.t,n=new Fe.ButtonView(t),i=new Fe.ButtonView(t),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.widthInput,this.heightInput];return n.set({label:o("Save"),icon:e.icons.check,class:"ck-button-save",type:"submit",withText:!0}),n.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),i.set({label:o("Cancel"),icon:e.icons.cancel,class:"ck-button-cancel",withText:!0}),i.delegate("execute").to(this,"cancel"),{saveButtonView:n,cancelButtonView:i}}get _alignmentLabels(){const e=this.locale,t=this.t,o=t("Align table to the left"),n=t("Center table"),i=t("Align table to the right");return"rtl"===e.uiLanguageDirection?{right:i,center:n,left:o}:{left:o,center:n,right:i}}}function nn(e){return"none"!==e}const rn={borderStyle:"tableBorderStyle",borderColor:"tableBorderColor",borderWidth:"tableBorderWidth",backgroundColor:"tableBackgroundColor",width:"tableWidth",height:"tableHeight",alignment:"tableAlignment"};class ln extends e.Plugin{static get requires(){return[Fe.ContextualBalloon]}static get pluginName(){return"TablePropertiesUI"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this.view=null,e.config.define("table.tableProperties",{borderColors:Tt,backgroundColors:Tt})}init(){const e=this.editor,t=e.t;this._defaultTableProperties=yo(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0}),this._balloon=e.plugins.get(Fe.ContextualBalloon),e.ui.componentFactory.add("tableProperties",(o=>{const n=new Fe.ButtonView(o);n.set({label:t("Table properties"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',tooltip:!0}),this.listenTo(n,"execute",(()=>this._showView()));const i=Object.values(rn).map((t=>e.commands.get(t)));return n.bind("isEnabled").toMany(i,"isEnabled",((...e)=>e.some((e=>e)))),n}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableProperties"),o=(0,Fe.normalizeColorOptions)(t.borderColors),n=(0,Fe.getLocalizedColorOptions)(e.locale,o),i=(0,Fe.normalizeColorOptions)(t.backgroundColors),r=(0,Fe.getLocalizedColorOptions)(e.locale,i),l=!1!==t.colorPicker,s=new on(e.locale,{borderColors:n,backgroundColors:r,defaultTableProperties:this._defaultTableProperties,colorPickerConfig:!!l&&(t.colorPicker||{})}),a=e.t;s.render(),this.listenTo(s,"submit",(()=>{this._hideView()})),this.listenTo(s,"cancel",(()=>{this._undoStepBatch.operations.length&&e.execute("undo",this._undoStepBatch),this._hideView()})),s.keystrokes.set("Esc",((e,t)=>{this._hideView(),t()})),(0,Fe.clickOutsideHandler)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const c=wt(a),d=_t(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableBorderColor",errorText:c,validator:kt})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableBorderWidth",errorText:d,validator:Ct})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableBackgroundColor",errorText:c,validator:kt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableWidth",errorText:d,validator:vt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableHeight",errorText:d,validator:vt})),s.on("change:alignment",this._getPropertyChangeCallback("tableAlignment")),s}_fillViewFormFromCommandValues(){const e=this.editor.commands,t=e.get("tableBorderStyle");Object.entries(rn).map((([t,o])=>{const n=t,i=this._defaultTableProperties[n]||"";return[n,e.get(o).value||i]})).forEach((([e,o])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,o)})),this._isReady=!0}_showView(){const e=this.editor;this.view||(this.view=this._createPropertiesView()),this.listenTo(e.ui,"update",(()=>{this._updateView()})),this._fillViewFormFromCommandValues(),this._balloon.add({view:this.view,position:fo(e)}),this._undoStepBatch=e.model.createBatch(),this.view.focus()}_hideView(){const e=this.editor;this.stopListening(e.ui,"update"),this._isReady=!1,this.view.saveButtonView.focus(),this._balloon.remove(this.view),this.editor.editing.view.focus()}_updateView(){const e=this.editor;st(e.editing.view.document.selection)?this._isViewVisible&&po(e,"table"):this._hideView()}get _isViewVisible(){return!!this.view&&this._balloon.visibleView===this.view}get _isViewInBalloon(){return!!this.view&&this._balloon.hasView(this.view)}_getPropertyChangeCallback(e){return(t,o,n)=>{this._isReady&&this.editor.execute(e,{value:n,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:o,validator:n,errorText:i}=e,r=mo((()=>{o.errorText=i}),500);return(e,i,l)=>{r.cancel(),this._isReady&&(n(l)?(this.editor.execute(t,{value:l,batch:this._undoStepBatch}),o.errorText=null):r())}}}class sn extends e.Plugin{static get pluginName(){return"TableProperties"}static get isOfficialPlugin(){return!0}static get requires(){return[Qo,ln]}}function an(e){e.document.registerPostFixer((t=>function(e,t){const o=t.document.differ.getChanges();let n=!1;for(const t of o){if("insert"!=t.type)continue;const o=t.position.parent;if(o.is("element","table")||"table"==t.name){const i="table"==t.name?t.position.nodeAfter:o,r=Array.from(i.getChildren()).filter((e=>e.is("element","caption"))),l=r.shift();if(!l)continue;for(const t of r)e.move(e.createRangeIn(t),l,"end"),e.remove(t);l.nextSibling&&(e.move(e.createRangeOn(l),i,"end"),n=!0),n=!!r.length||n}}return n}(t,e)))}function cn(e){return!!e&&e.is("element","table")}function dn(e){for(const t of e.getChildren())if(t.is("element","caption"))return t;return null}function un(e){const t=e.parent;return"figcaption"==e.name&&t&&t.is("element","figure")&&t.hasClass("table")||"caption"==e.name&&t&&t.is("element","table")?{name:!0}:null}class hn extends e.Command{refresh(){const e=b(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?this.value=!!dn(e):this.value=!1}execute({focusCaptionOnShow:e=!1}={}){this.editor.model.change((t=>{this.value?this._hideTableCaption(t):this._showTableCaption(t,e)}))}_showTableCaption(e,t){const o=this.editor.model,n=b(o.document.selection),i=this.editor.plugins.get("TableCaptionEditing")._getSavedCaption(n)||e.createElement("caption");o.insertContent(i,n,"end"),t&&e.setSelection(i,"in")}_hideTableCaption(e){const t=this.editor.model,o=b(t.document.selection),n=this.editor.plugins.get("TableCaptionEditing"),i=dn(o);n._saveCaption(o,i),t.deleteContent(e.createSelection(i,"on"))}}class bn extends e.Plugin{static get pluginName(){return"TableCaptionEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,o=e.model.schema,n=e.editing.view,i=e.t;o.isRegistered("caption")?o.extend("caption",{allowIn:"table"}):o.register("caption",{allowIn:"table",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleTableCaption",new hn(this.editor)),e.conversion.for("upcast").elementToElement({view:un,model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>cn(e.parent)?t.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(e,{writer:o})=>{if(!cn(e.parent))return null;const r=o.createEditableElement("figcaption");return o.setCustomProperty("tableCaption",!0,r),r.placeholder=i("Enter table caption"),(0,Qe.enablePlaceholder)({view:n,element:r,keepOnFocus:!0}),(0,t.toWidgetEditable)(r,o)}}),an(e.model)}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?Qe.Element.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}}class mn extends e.Plugin{static get pluginName(){return"TableCaptionUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,o=t.editing.view,n=t.t;t.ui.componentFactory.add("toggleTableCaption",(i=>{const r=t.commands.get("toggleTableCaption"),l=new Fe.ButtonView(i);return l.set({icon:e.icons.caption,tooltip:!0,isToggleable:!0}),l.bind("isOn","isEnabled").to(r,"value","isEnabled"),l.bind("label").to(r,"value",(e=>n(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(l,"execute",(()=>{if(t.execute("toggleTableCaption",{focusCaptionOnShow:!0}),r.value){const e=function(e){const t=b(e);return t?dn(t):null}(t.model.document.selection),n=t.editing.mapper.toViewElement(e);if(!n)return;o.scrollToTheSelection(),o.change((e=>{e.addClass("table__caption_highlighted",n)}))}t.editing.view.focus()})),l}))}}var gn=o(175),pn={attributes:{"data-cke":!0}};pn.setAttributes=Pe(),pn.insert=Ve().bind(null,"head"),pn.domAPI=xe(),pn.insertStyleElement=Ee();Ae()(gn.A,pn);gn.A&&gn.A.locals&&gn.A.locals;class fn extends e.Plugin{static get pluginName(){return"TableCaption"}static get isOfficialPlugin(){return!0}static get requires(){return[bn,mn]}}const wn=function(){this.__data__=[],this.size=0};const _n=function(e,t){return e===t||e!=e&&t!=t};const kn=function(e,t){for(var o=e.length;o--;)if(_n(e[o][0],t))return o;return-1};var vn=Array.prototype.splice;const Cn=function(e){var t=this.__data__,o=kn(t,e);return!(o<0)&&(o==t.length-1?t.pop():vn.call(t,o,1),--this.size,!0)};const yn=function(e){var t=this.__data__,o=kn(t,e);return o<0?void 0:t[o][1]};const An=function(e){return kn(this.__data__,e)>-1};const Tn=function(e,t){var o=this.__data__,n=kn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this};function xn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}xn.prototype.clear=wn,xn.prototype.delete=Cn,xn.prototype.get=yn,xn.prototype.has=An,xn.prototype.set=Tn;const Sn=xn;const Vn=function(){this.__data__=new Sn,this.size=0};const Rn=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o};const Pn=function(e){return this.__data__.get(e)};const In=function(e){return this.__data__.has(e)};const En=function(e){if(!Nt(e))return!1;var t=no(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const zn=jt["__core-js_shared__"];var Bn,On=(Bn=/[^.]+$/.exec(zn&&zn.keys&&zn.keys.IE_PROTO||""))?"Symbol(src)_1."+Bn:"";const Ln=function(e){return!!On&&On in e};var Fn=Function.prototype.toString;const Wn=function(e){if(null!=e){try{return Fn.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var Nn=/^\[object .+?Constructor\]$/,Dn=Function.prototype,Mn=Object.prototype,jn=Dn.toString,Hn=Mn.hasOwnProperty,Un=RegExp("^"+jn.call(Hn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $n=function(e){return!(!Nt(e)||Ln(e))&&(En(e)?Un:Nn).test(Wn(e))};const Kn=function(e,t){return null==e?void 0:e[t]};const Gn=function(e,t){var o=Kn(e,t);return $n(o)?o:void 0};const qn=Gn(jt,"Map");const Jn=Gn(Object,"create");const Xn=function(){this.__data__=Jn?Jn(null):{},this.size=0};const Yn=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Qn=Object.prototype.hasOwnProperty;const Zn=function(e){var t=this.__data__;if(Jn){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return Qn.call(t,e)?t[e]:void 0};var ei=Object.prototype.hasOwnProperty;const ti=function(e){var t=this.__data__;return Jn?void 0!==t[e]:ei.call(t,e)};const oi=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Jn&&void 0===t?"__lodash_hash_undefined__":t,this};function ni(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}ni.prototype.clear=Xn,ni.prototype.delete=Yn,ni.prototype.get=Zn,ni.prototype.has=ti,ni.prototype.set=oi;const ii=ni;const ri=function(){this.size=0,this.__data__={hash:new ii,map:new(qn||Sn),string:new ii}};const li=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const si=function(e,t){var o=e.__data__;return li(t)?o["string"==typeof t?"string":"hash"]:o.map};const ai=function(e){var t=si(this,e).delete(e);return this.size-=t?1:0,t};const ci=function(e){return si(this,e).get(e)};const di=function(e){return si(this,e).has(e)};const ui=function(e,t){var o=si(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this};function hi(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}hi.prototype.clear=ri,hi.prototype.delete=ai,hi.prototype.get=ci,hi.prototype.has=di,hi.prototype.set=ui;const bi=hi;const mi=function(e,t){var o=this.__data__;if(o instanceof Sn){var n=o.__data__;if(!qn||n.length<199)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bi(n)}return o.set(e,t),this.size=o.size,this};function gi(e){var t=this.__data__=new Sn(e);this.size=t.size}gi.prototype.clear=Vn,gi.prototype.delete=Rn,gi.prototype.get=Pn,gi.prototype.has=In,gi.prototype.set=mi;const pi=gi;const fi=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const wi=function(e){return this.__data__.has(e)};function _i(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new bi;++t<o;)this.add(e[t])}_i.prototype.add=_i.prototype.push=fi,_i.prototype.has=wi;const ki=_i;const vi=function(e,t){for(var o=-1,n=null==e?0:e.length;++o<n;)if(t(e[o],o,e))return!0;return!1};const Ci=function(e,t){return e.has(t)};const yi=function(e,t,o,n,i,r){var l=1&o,s=e.length,a=t.length;if(s!=a&&!(l&&a>s))return!1;var c=r.get(e),d=r.get(t);if(c&&d)return c==t&&d==e;var u=-1,h=!0,b=2&o?new ki:void 0;for(r.set(e,t),r.set(t,e);++u<s;){var m=e[u],g=t[u];if(n)var p=l?n(g,m,u,t,e,r):n(m,g,u,e,t,r);if(void 0!==p){if(p)continue;h=!1;break}if(b){if(!vi(t,(function(e,t){if(!Ci(b,t)&&(m===e||i(m,e,o,n,r)))return b.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,o,n,r)){h=!1;break}}return r.delete(e),r.delete(t),h};const Ai=jt.Uint8Array;const Ti=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,n){o[++t]=[n,e]})),o};const xi=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o};var Si=qt?qt.prototype:void 0,Vi=Si?Si.valueOf:void 0;const Ri=function(e,t,o,n,i,r,l){switch(o){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new Ai(e),new Ai(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return _n(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Ti;case"[object Set]":var a=1&n;if(s||(s=xi),e.size!=t.size&&!a)return!1;var c=l.get(e);if(c)return c==t;n|=2,l.set(e,t);var d=yi(s(e),s(t),n,i,r,l);return l.delete(e),d;case"[object Symbol]":if(Vi)return Vi.call(e)==Vi.call(t)}return!1};const Pi=function(e,t){for(var o=-1,n=t.length,i=e.length;++o<n;)e[i+o]=t[o];return e};const Ii=Array.isArray;const Ei=function(e,t,o){var n=t(e);return Ii(e)?n:Pi(n,o(e))};const zi=function(e,t){for(var o=-1,n=null==e?0:e.length,i=0,r=[];++o<n;){var l=e[o];t(l,o,e)&&(r[i++]=l)}return r};const Bi=function(){return[]};var Oi=Object.prototype.propertyIsEnumerable,Li=Object.getOwnPropertySymbols;const Fi=Li?function(e){return null==e?[]:(e=Object(e),zi(Li(e),(function(t){return Oi.call(e,t)})))}:Bi;const Wi=function(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n};const Ni=function(e){return io(e)&&"[object Arguments]"==no(e)};var Di=Object.prototype,Mi=Di.hasOwnProperty,ji=Di.propertyIsEnumerable;const Hi=Ni(function(){return arguments}())?Ni:function(e){return io(e)&&Mi.call(e,"callee")&&!ji.call(e,"callee")};const Ui=function(){return!1};var $i="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ki=$i&&"object"==typeof module&&module&&!module.nodeType&&module,Gi=Ki&&Ki.exports===$i?jt.Buffer:void 0;const qi=(Gi?Gi.isBuffer:void 0)||Ui;var Ji=/^(?:0|[1-9]\d*)$/;const Xi=function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&Ji.test(e))&&e>-1&&e%1==0&&e<t};const Yi=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Qi={};Qi["[object Float32Array]"]=Qi["[object Float64Array]"]=Qi["[object Int8Array]"]=Qi["[object Int16Array]"]=Qi["[object Int32Array]"]=Qi["[object Uint8Array]"]=Qi["[object Uint8ClampedArray]"]=Qi["[object Uint16Array]"]=Qi["[object Uint32Array]"]=!0,Qi["[object Arguments]"]=Qi["[object Array]"]=Qi["[object ArrayBuffer]"]=Qi["[object Boolean]"]=Qi["[object DataView]"]=Qi["[object Date]"]=Qi["[object Error]"]=Qi["[object Function]"]=Qi["[object Map]"]=Qi["[object Number]"]=Qi["[object Object]"]=Qi["[object RegExp]"]=Qi["[object Set]"]=Qi["[object String]"]=Qi["[object WeakMap]"]=!1;const Zi=function(e){return io(e)&&Yi(e.length)&&!!Qi[no(e)]};const er=function(e){return function(t){return e(t)}};var tr="object"==typeof exports&&exports&&!exports.nodeType&&exports,or=tr&&"object"==typeof module&&module&&!module.nodeType&&module,nr=or&&or.exports===tr&&Dt.process,ir=function(){try{var e=or&&or.require&&or.require("util").types;return e||nr&&nr.binding&&nr.binding("util")}catch(e){}}();var rr=ir&&ir.isTypedArray;const lr=rr?er(rr):Zi;var sr=Object.prototype.hasOwnProperty;const ar=function(e,t){var o=Ii(e),n=!o&&Hi(e),i=!o&&!n&&qi(e),r=!o&&!n&&!i&&lr(e),l=o||n||i||r,s=l?Wi(e.length,String):[],a=s.length;for(var c in e)!t&&!sr.call(e,c)||l&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Xi(c,a))||s.push(c);return s};var cr=Object.prototype;const dr=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||cr)};const ur=function(e,t){return function(o){return e(t(o))}}(Object.keys,Object);var hr=Object.prototype.hasOwnProperty;const br=function(e){if(!dr(e))return ur(e);var t=[];for(var o in Object(e))hr.call(e,o)&&"constructor"!=o&&t.push(o);return t};const mr=function(e){return null!=e&&Yi(e.length)&&!En(e)};const gr=function(e){return mr(e)?ar(e):br(e)};const pr=function(e){return Ei(e,gr,Fi)};var fr=Object.prototype.hasOwnProperty;const wr=function(e,t,o,n,i,r){var l=1&o,s=pr(e),a=s.length;if(a!=pr(t).length&&!l)return!1;for(var c=a;c--;){var d=s[c];if(!(l?d in t:fr.call(t,d)))return!1}var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var b=!0;r.set(e,t),r.set(t,e);for(var m=l;++c<a;){var g=e[d=s[c]],p=t[d];if(n)var f=l?n(p,g,d,t,e,r):n(g,p,d,e,t,r);if(!(void 0===f?g===p||i(g,p,o,n,r):f)){b=!1;break}m||(m="constructor"==d)}if(b&&!m){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(b=!1)}return r.delete(e),r.delete(t),b};const _r=Gn(jt,"DataView");const kr=Gn(jt,"Promise");const vr=Gn(jt,"Set");const Cr=Gn(jt,"WeakMap");var yr="[object Map]",Ar="[object Promise]",Tr="[object Set]",xr="[object WeakMap]",Sr="[object DataView]",Vr=Wn(_r),Rr=Wn(qn),Pr=Wn(kr),Ir=Wn(vr),Er=Wn(Cr),zr=no;(_r&&zr(new _r(new ArrayBuffer(1)))!=Sr||qn&&zr(new qn)!=yr||kr&&zr(kr.resolve())!=Ar||vr&&zr(new vr)!=Tr||Cr&&zr(new Cr)!=xr)&&(zr=function(e){var t=no(e),o="[object Object]"==t?e.constructor:void 0,n=o?Wn(o):"";if(n)switch(n){case Vr:return Sr;case Rr:return yr;case Pr:return Ar;case Ir:return Tr;case Er:return xr}return t});const Br=zr;var Or="[object Arguments]",Lr="[object Array]",Fr="[object Object]",Wr=Object.prototype.hasOwnProperty;const Nr=function(e,t,o,n,i,r){var l=Ii(e),s=Ii(t),a=l?Lr:Br(e),c=s?Lr:Br(t),d=(a=a==Or?Fr:a)==Fr,u=(c=c==Or?Fr:c)==Fr,h=a==c;if(h&&qi(e)){if(!qi(t))return!1;l=!0,d=!1}if(h&&!d)return r||(r=new pi),l||lr(e)?yi(e,t,o,n,i,r):Ri(e,t,a,o,n,i,r);if(!(1&o)){var b=d&&Wr.call(e,"__wrapped__"),m=u&&Wr.call(t,"__wrapped__");if(b||m){var g=b?e.value():e,p=m?t.value():t;return r||(r=new pi),i(g,p,o,n,r)}}return!!h&&(r||(r=new pi),wr(e,t,o,n,i,r))};const Dr=function e(t,o,n,i,r){return t===o||(null==t||null==o||!io(t)&&!io(o)?t!=t&&o!=o:Nr(t,o,n,i,e,r))};const Mr=function(e,t){return Dr(e,t)};const jr=function(e,t,o){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Nt(o)&&(n="leading"in o?!!o.leading:n,i="trailing"in o?!!o.trailing:i),mo(e,t,{leading:n,maxWait:t,trailing:i})};class Hr extends e.Command{refresh(){this.isEnabled=!0}execute(e={}){const{model:t,plugins:o}=this.editor;let{table:n=t.document.selection.getSelectedElement(),columnWidths:i,tableWidth:r}=e;i&&(i=Array.isArray(i)?i:i.split(",")),t.change((e=>{r?e.setAttribute("tableWidth",r,n):e.removeAttribute("tableWidth",n);const t=o.get("TableColumnResizeEditing").getColumnGroupElement(n);if(!i&&!t)return;if(!i)return e.remove(t);const l=Y(i);if(t)Array.from(t.getChildren()).forEach(((t,o)=>e.setAttribute("columnWidth",l[o],t)));else{const t=e.createElement("tableColumnGroup");l.forEach((o=>e.appendElement("tableColumn",{columnWidth:o},t))),e.append(t,n)}}))}}function Ur(e){return t=>t.on("element:colgroup",((t,o,n)=>{const i=o.modelCursor.findAncestor("table"),r=ee(i);if(!r)return;const l=te(r),s=e.getColumns(i);let a=(c=r,d=n.writer,te(c).reduce(((e,t)=>{const o=t.getAttribute("columnWidth"),n=t.getAttribute("colSpan");if(!n)return e.push(o),e;for(let t=0;t<n;t++)e.push(o);return d.removeAttribute("colSpan",t),e}),[]));var c,d;a=Array.from({length:s},((e,t)=>a[t]||"auto")),(a.length!=l.length||a.includes("auto"))&&Z(l,r,Y(a),n.writer)}),{priority:"low"})}class $r extends e.Plugin{static get requires(){return[Oe,oe]}static get pluginName(){return"TableColumnResizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this._isResizingActive=!1,this.set("_isResizingAllowed",!0),this._resizingData=null,this._domEmitter=new((0,m.DomEmitterMixin)()),this._tableUtilsPlugin=e.plugins.get("TableUtils"),this.on("change:_isResizingAllowed",((t,o,n)=>{const i=n?"removeClass":"addClass";e.editing.view.change((t=>{for(const o of e.editing.view.document.roots)t[i]("ck-column-resize_disabled",e.editing.view.document.getRoot(o.rootName))}))}))}init(){this._extendSchema(),this._registerPostFixer(),this._registerConverters(),this._registerResizingListeners(),this._registerResizerInserter();const e=this.editor,t=e.plugins.get("TableColumnResize");e.plugins.get("TableEditing").registerAdditionalSlot({filter:e=>e.is("element","tableColumnGroup"),positionOffset:0});const o=new Hr(e);e.commands.add("resizeTableWidth",o),e.commands.add("resizeColumnWidths",o),this.bind("_isResizingAllowed").to(e,"isReadOnly",t,"isEnabled",o,"isEnabled",((e,t,o)=>!e&&t&&o))}destroy(){this._domEmitter.stopListening(),super.destroy()}getColumnGroupElement(e){return ee(e)}getTableColumnElements(e){return te(e)}getTableColumnsWidths(e){return function(e){return te(e).map((e=>e.getAttribute("columnWidth")))}(e)}_extendSchema(){this.editor.model.schema.extend("table",{allowAttributes:["tableWidth"]}),this.editor.model.schema.register("tableColumnGroup",{allowIn:"table",isLimit:!0}),this.editor.model.schema.register("tableColumn",{allowIn:"tableColumnGroup",allowAttributes:["columnWidth","colSpan"],isLimit:!0})}_registerPostFixer(){const e=this.editor.model;function t(e,t,o){const n=o._tableUtilsPlugin.getColumns(t);if(0===n-e.length)return e;const i=e.map((e=>Number(e.replace("%","")))),r=function(e,t){const o=new Set;for(const n of e.getChanges())if("insert"==n.type&&n.position.nodeAfter&&"tableCell"==n.position.nodeAfter.name&&n.position.nodeAfter.getAncestors().includes(t))o.add(n.position.nodeAfter);else if("remove"==n.type){const e=n.position.nodeBefore||n.position.nodeAfter;"tableCell"==e.name&&e.getAncestors().includes(t)&&o.add(e)}return o}(o.editor.model.document.differ,t);for(const e of r){const r=n-i.length;if(0===r)continue;const s=r>0,a=o._tableUtilsPlugin.getCellLocation(e).column;if(s){const e=$(t,o.editor),n=(l=e,Array(r).fill(l));i.splice(a,0,...n)}else{const e=i.splice(a,Math.abs(r));i[a]+=X(e)}}var l;return i.map((e=>e+"%"))}e.document.registerPostFixer((o=>{let n=!1;for(const i of function(e){const t=new Set;for(const o of e.document.differ.getChanges()){let n=null;switch(o.type){case"insert":n=["table","tableRow","tableCell"].includes(o.name)?o.position:null;break;case"remove":n=["tableRow","tableCell"].includes(o.name)?o.position:null;break;case"attribute":o.range.start.nodeAfter&&(n=["table","tableRow","tableCell"].includes(o.range.start.nodeAfter.name)?o.range.start:null)}if(!n)continue;const i=n.nodeAfter&&n.nodeAfter.is("element","table")?n.nodeAfter:n.findAncestor("table");for(const o of e.createRangeOn(i).getItems())o.is("element","table")&&ee(o)&&t.add(o)}return t}(e)){const e=this.getColumnGroupElement(i),r=this.getTableColumnElements(e),l=this.getTableColumnsWidths(e);let s=Y(l);s=t(s,i,this),Mr(l,s)||(Z(r,e,s,o),n=!0)}return n}))}_registerConverters(){const e=this.editor.conversion;e.for("upcast").attributeToAttribute({view:{name:"figure",key:"style",value:{width:/[\s\S]+/}},model:{name:"table",key:"tableWidth",value:e=>e.getStyle("width")}}),e.for("downcast").attributeToAttribute({model:{name:"table",key:"tableWidth"},view:e=>({name:"figure",key:"style",value:{width:e}})}),e.elementToElement({model:"tableColumnGroup",view:"colgroup"}),e.elementToElement({model:"tableColumn",view:"col"}),e.for("downcast").add((e=>e.on("insert:table",((e,t,o)=>{const n=o.writer,i=t.item,r=o.mapper.toViewElement(i),l=r.is("element","table")?r:Array.from(r.getChildren()).find((e=>e.is("element","table")));ee(i)?n.addClass("ck-table-resized",l):n.removeClass("ck-table-resized",l)}),{priority:"low"}))),e.for("upcast").add(Ur(this._tableUtilsPlugin)),e.for("upcast").attributeToAttribute({view:{name:"col",styles:{width:/.*/}},model:{key:"columnWidth",value:e=>{const t=e.getStyle("width");return t&&(t.endsWith("%")||t.endsWith("pt"))?t:"auto"}}}),e.for("upcast").attributeToAttribute({view:{name:"col",key:"span"},model:"colSpan"}),e.for("downcast").attributeToAttribute({model:{name:"tableColumn",key:"columnWidth"},view:e=>({key:"style",value:{width:e}})})}_registerResizingListeners(){const e=this.editor.editing.view;e.addObserver(Ze),e.document.on("mousedown",this._onMouseDownHandler.bind(this),{priority:"high"}),this._domEmitter.listenTo(m.global.window.document,"mousemove",jr(this._onMouseMoveHandler.bind(this),50)),this._domEmitter.listenTo(m.global.window.document,"mouseup",this._onMouseUpHandler.bind(this))}_onMouseDownHandler(e,t){const o=t.target;if(!o.hasClass("ck-table-column-resizer"))return;if(!this._isResizingAllowed)return;const n=this.editor,i=n.editing.mapper.toModelElement(o.findAncestor("figure"));if(!n.model.canEditAt(i))return;t.preventDefault(),e.stop();const r=function(e,t,o){const n=Array(t.getColumns(e)),i=new w(e);for(const e of i){const t=o.editing.mapper.toViewElement(e.cell),i=Q(o.editing.view.domConverter.mapViewToDom(t));(!n[e.column]||i<n[e.column])&&(n[e.column]=J(i))}return n}(i,this._tableUtilsPlugin,n),l=o.findAncestor("table"),s=n.editing.view;Array.from(l.getChildren()).find((e=>e.is("element","colgroup")))||s.change((e=>{!function(e,t,o){const n=e.createContainerElement("colgroup");for(let o=0;o<t.length;o++){const i=e.createEmptyElement("col"),r=`${J(t[o]/X(t)*100)}%`;e.setStyle("width",r,i),e.insert(e.createPositionAt(n,"end"),i)}e.insert(e.createPositionAt(o,0),n)}(e,r,l)})),this._isResizingActive=!0,this._resizingData=this._getResizingData(t,r),s.change((e=>function(e,t,o){const n=o.widths.viewFigureWidth/o.widths.viewFigureParentWidth;e.addClass("ck-table-resized",t),e.addClass("ck-table-column-resizer__active",o.elements.viewResizer),e.setStyle("width",`${J(100*n)}%`,t.findAncestor("figure"))}(e,l,this._resizingData)))}_onMouseMoveHandler(e,t){if(!this._isResizingActive)return;if(!this._isResizingAllowed)return void this._onMouseUpHandler();const{columnPosition:o,flags:{isRightEdge:n,isTableCentered:i,isLtrContent:r},elements:{viewFigure:l,viewLeftColumn:s,viewRightColumn:a},widths:{viewFigureParentWidth:c,tableWidth:d,leftColumnWidth:u,rightColumnWidth:h}}=this._resizingData,b=40-u,m=n?c-d:h-40,g=(r?1:-1)*(n&&i?2:1),p=(f=(t.clientX-o)*g,w=Math.min(b,0),_=Math.max(m,0),J(f<=w?w:f>=_?_:f));var f,w,_;0!==p&&this.editor.editing.view.change((e=>{const t=J(100*(u+p)/d);if(e.setStyle("width",`${t}%`,s),n){const t=J(100*(d+p)/c);e.setStyle("width",`${t}%`,l)}else{const t=J(100*(h-p)/d);e.setStyle("width",`${t}%`,a)}}))}_onMouseUpHandler(){if(!this._isResizingActive)return;const{viewResizer:e,modelTable:t,viewFigure:o,viewColgroup:n}=this._resizingData.elements,i=this.editor,r=i.editing.view,l=this.getColumnGroupElement(t),s=Array.from(n.getChildren()).filter((e=>e.is("view:element"))),a=l?this.getTableColumnsWidths(l):null,c=s.map((e=>e.getStyle("width"))),d=!Mr(a,c),u=t.getAttribute("tableWidth"),h=o.getStyle("width"),b=u!==h;(d||b)&&(this._isResizingAllowed?i.execute("resizeTableWidth",{table:t,tableWidth:`${J(h)}%`,columnWidths:c}):r.change((e=>{if(a)for(const t of s)e.setStyle("width",a.shift(),t);else e.remove(n);b&&(u?e.setStyle("width",u,o):e.removeStyle("width",o)),a||u||e.removeClass("ck-table-resized",[...o.getChildren()].find((e=>"table"===e.name)))}))),r.change((t=>{t.removeClass("ck-table-column-resizer__active",e)})),this._isResizingActive=!1,this._resizingData=null}_getResizingData(e,t){const o=this.editor,n=e.domEvent.clientX,i=e.target,r=i.findAncestor("td")||i.findAncestor("th"),l=o.editing.mapper.toModelElement(r),s=l.findAncestor("table"),a=function(e,t){const o=t.getCellLocation(e).column;return{leftEdge:o,rightEdge:o+(e.getAttribute("colspan")||1)-1}}(l,this._tableUtilsPlugin).rightEdge,c=a===this._tableUtilsPlugin.getColumns(s)-1,d=!s.hasAttribute("tableAlignment"),u="rtl"!==o.locale.contentLanguageDirection,h=r.findAncestor("table"),b=h.findAncestor("figure"),m=[...h.getChildren()].find((e=>e.is("element","colgroup"))),g=m.getChild(a),p=c?void 0:m.getChild(a+1);return{columnPosition:n,flags:{isRightEdge:c,isTableCentered:d,isLtrContent:u},elements:{viewResizer:i,modelTable:s,viewFigure:b,viewColgroup:m,viewLeftColumn:g,viewRightColumn:p},widths:{viewFigureParentWidth:q(o.editing.view.domConverter.mapViewToDom(b.parent)),viewFigureWidth:q(o.editing.view.domConverter.mapViewToDom(b)),tableWidth:K(s,o),leftColumnWidth:t[a],rightColumnWidth:c?void 0:t[a+1]}}}_registerResizerInserter(){this.editor.conversion.for("editingDowncast").add((e=>{e.on("insert:tableCell",((e,t,o)=>{const n=t.item,i=o.mapper.toViewElement(n),r=o.writer;r.insert(r.createPositionAt(i,"end"),r.createUIElement("div",{class:"ck-table-column-resizer"}))}),{priority:"lowest"})}))}}var Kr=o(363),Gr={attributes:{"data-cke":!0}};Gr.setAttributes=Pe(),Gr.insert=Ve().bind(null,"head"),Gr.domAPI=xe(),Gr.insertStyleElement=Ee();Ae()(Kr.A,Gr);Kr.A&&Kr.A.locals&&Kr.A.locals;class qr extends e.Plugin{static get requires(){return[$r,Ro]}static get pluginName(){return"TableColumnResize"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).table=n})(); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ar.js b/core/assets/vendor/ckeditor5/table/translations/ar.js index c87935e3d3fb49779b4d18eac869c36ff7fda8b2..33e3c579b17deeaf2c36c92b52c39088993590e7 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ar.js +++ b/core/assets/vendor/ckeditor5/table/translations/ar.js @@ -1 +1 @@ -!function(e){const t=e.ar=e.ar||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"قم بمØاذاة نص الخلية للاسÙÙ„","Align cell text to the center":"قم بمØاذاة نص الخلية إلى المركز","Align cell text to the left":"قم بمØاذاة نص الخلية إلى اليسار","Align cell text to the middle":"قم بمØاذاة نص الخلية إلى المنتصÙ","Align cell text to the right":"قم بمØاذاة نص الخلية إلى اليمين","Align cell text to the top":"قم بمØاذاة نص الخلية إلى الأعلى","Align table to the left":"قم بمØاذاة الجدول إلى اليسار","Align table to the right":"قم بمØاذاة الجدول إلى اليمين",Alignment:"المØاذاة",Background:"الخلÙية",Border:"الØدود","Cell properties":"خصائص الخلية","Center table":"قم بمØاذاة الجدول إلى المنتصÙ",Color:"اللون","Color picker":"أداة انتقاء الألوان",Column:"عمود",Dashed:"متقطع","Delete column":"Øذ٠العمود","Delete row":"Øذ٠الصÙ",Dimensions:"الابعاد",Dotted:"منقط",Double:"مزدوج","Enter table caption":"أدخل التسمية التوضيØية للجدول",Groove:"إطار Ù…ØÙور","Header column":"عمود عنوان","Header row":"ص٠عنوان",Height:"الارتÙاع","Horizontal text alignment toolbar":"شريط أدوات Ù…Øاذاة النص الأÙقي","Insert a new table row (when in the last cell of a table)":"قمْ بإدراج ص٠جدول جديد (ÙÙŠ آخر خلية من الجدول)","Insert column left":"أدخل العمود إلى اليسار","Insert column right":"أدخل العمود إلى اليمين","Insert row above":"ادراج ص٠قبل","Insert row below":"ادراج ص٠بعد","Insert table":"إدراج جدول",Inset:"منخÙض","Justify cell text":"ضبط نص الخلية","Keystrokes that can be used in a table cell":"ضغطة المÙØ§ØªÙŠØ Ø§Ù„ØªÙŠ يمكن استخدامها ÙÙŠ خلية الجدول","Merge cell down":"دمج الخلايا للأسÙÙ„","Merge cell left":"دمج الخلايا لليسار","Merge cell right":"دمج الخلايا لليمين","Merge cell up":"دمج الخلايا للأعلى","Merge cells":"دمج الخلايا","Move the selection to the next cell":"انقلْ التØديد إلى الخلية التالية","Move the selection to the previous cell":"انقلْ التØديد إلى الخلية السابقة","Navigate through the table":"تنقّلْ عبر الجدول",None:"لا شيء",Outset:"بارز",Padding:"الØاشية",Ridge:"إطار ناتئ",Row:"صÙ","Select column":"Øدد العمود","Select row":"Øدد صÙًا",Solid:"صلب","Split cell horizontally":"Ùصل الخلايا بشكل اÙقي","Split cell vertically":"Ùصل الخلايا بشكل عمودي",Style:"أسلوب",Table:"جدول","Table alignment toolbar":"شريط أدوات Ù…Øاذاة الجدول","Table cell text alignment":"Ù…Øاذاة نص خلية الجدول","Table properties":"خصائص الجدول","Table toolbar":"شريط أدوات الجدول",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'هذا اللون غير صالØ. جرّÙب "#FF0000" أو "rgb(255,0,0)" أو "Ø£Øمر".','The value is invalid. Try "10px" or "2em" or simply "2".':'هذه القيمة غير صالØØ©. جرّÙب "10px" أو "2em" أو "2" ÙˆØسب.',"Vertical text alignment toolbar":"شريط أدوات Ù…Øاذاة النص العمودي",Width:"العرض"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ar=e.ar||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"قم بمØاذاة نص الخلية للاسÙÙ„","Align cell text to the center":"قم بمØاذاة نص الخلية إلى المركز","Align cell text to the left":"قم بمØاذاة نص الخلية إلى اليسار","Align cell text to the middle":"قم بمØاذاة نص الخلية إلى المنتصÙ","Align cell text to the right":"قم بمØاذاة نص الخلية إلى اليمين","Align cell text to the top":"قم بمØاذاة نص الخلية إلى الأعلى","Align table to the left":"قم بمØاذاة الجدول إلى اليسار","Align table to the right":"قم بمØاذاة الجدول إلى اليمين",Alignment:"المØاذاة",Background:"الخلÙية",Border:"الØدود","Cell properties":"خصائص الخلية","Center table":"قم بمØاذاة الجدول إلى المنتصÙ",Color:"اللون",Column:"عمود",Dashed:"متقطع","Delete column":"Øذ٠العمود","Delete row":"Øذ٠الصÙ",Dimensions:"الابعاد",Dotted:"منقط",Double:"مزدوج","Enter table caption":"أدخل التسمية التوضيØية للجدول",Groove:"إطار Ù…ØÙور","Header column":"عمود عنوان","Header row":"ص٠عنوان",Height:"الارتÙاع","Horizontal text alignment toolbar":"شريط أدوات Ù…Øاذاة النص الأÙقي","Insert a new table row (when in the last cell of a table)":"قمْ بإدراج ص٠جدول جديد (ÙÙŠ آخر خلية من الجدول)","Insert column left":"أدخل العمود إلى اليسار","Insert column right":"أدخل العمود إلى اليمين","Insert row above":"ادراج ص٠قبل","Insert row below":"ادراج ص٠بعد","Insert table":"إدراج جدول",Inset:"منخÙض","Justify cell text":"ضبط نص الخلية","Keystrokes that can be used in a table cell":"ضغطة المÙØ§ØªÙŠØ Ø§Ù„ØªÙŠ يمكن استخدامها ÙÙŠ خلية الجدول","Merge cell down":"دمج الخلايا للأسÙÙ„","Merge cell left":"دمج الخلايا لليسار","Merge cell right":"دمج الخلايا لليمين","Merge cell up":"دمج الخلايا للأعلى","Merge cells":"دمج الخلايا","Move the selection to the next cell":"انقلْ التØديد إلى الخلية التالية","Move the selection to the previous cell":"انقلْ التØديد إلى الخلية السابقة","Navigate through the table":"تنقّلْ عبر الجدول",None:"لا شيء",Outset:"بارز",Padding:"الØاشية",Ridge:"إطار ناتئ",Row:"صÙ","Select column":"Øدد العمود","Select row":"Øدد صÙًا",Solid:"صلب","Split cell horizontally":"Ùصل الخلايا بشكل اÙقي","Split cell vertically":"Ùصل الخلايا بشكل عمودي",Style:"أسلوب",Table:"جدول","Table alignment toolbar":"شريط أدوات Ù…Øاذاة الجدول","Table cell text alignment":"Ù…Øاذاة نص خلية الجدول","Table properties":"خصائص الجدول","Table toolbar":"شريط أدوات الجدول",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'هذا اللون غير صالØ. جرّÙب "#FF0000" أو "rgb(255,0,0)" أو "Ø£Øمر".','The value is invalid. Try "10px" or "2em" or simply "2".':'هذه القيمة غير صالØØ©. جرّÙب "10px" أو "2em" أو "2" ÙˆØسب.',"Vertical text alignment toolbar":"شريط أدوات Ù…Øاذاة النص العمودي",Width:"العرض"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/az.js b/core/assets/vendor/ckeditor5/table/translations/az.js index ccf1cc8101aa3f571f7b11ba8c0df47269abfca0..fcdaeb6362c523b24c6fc30a6333325cb87eebc6 100644 --- a/core/assets/vendor/ckeditor5/table/translations/az.js +++ b/core/assets/vendor/ckeditor5/table/translations/az.js @@ -1 +1 @@ -!function(e){const l=e.az=e.az||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"Fon",Border:"SÉ™rhÉ™d","Cell properties":"","Center table":"",Color:"RÉ™ng","Color picker":"",Column:"Sütun",Dashed:"","Delete column":"Sütunları sil","Delete row":"SÉ™tirlÉ™ri sil",Dimensions:"ÖlçülÉ™r",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"BaÅŸlıqlı sütun","Header row":"BaÅŸlıqlı sÉ™tir",Height:"Hündürlük","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Sola sütun É™lavÉ™ et","Insert column right":"SaÄŸa sütun É™lavÉ™ et","Insert row above":"AÅŸağıya sÉ™tir É™lavÉ™ et","Insert row below":"Yuxarıya sÉ™tir É™lavÉ™ et","Insert table":"CÉ™dvÉ™li É™lavÉ™ et",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Xanaları aÅŸağı birləşdir","Merge cell left":"Xanaları sola birləşdir","Merge cell right":"Xanaları saÄŸa birləşdir","Merge cell up":"Xanaları yuxarı birləşdir","Merge cells":"Xanaları birləşdir","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"SÉ™tir","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Xanaları üfüqi böl","Split cell vertically":"Xanaları ÅŸaquli böl",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"CÉ™dvÉ™l hüceyrÉ™si mÉ™tninin uyÄŸunlaÅŸdırılması","Table properties":"CÉ™dvÉ™l xüsusiyyÉ™tlÉ™ri","Table toolbar":"CÉ™dvÉ™l paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:"Eni"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.az=e.az||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"Fon",Border:"SÉ™rhÉ™d","Cell properties":"","Center table":"",Color:"RÉ™ng",Column:"Sütun",Dashed:"","Delete column":"Sütunları sil","Delete row":"SÉ™tirlÉ™ri sil",Dimensions:"ÖlçülÉ™r",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"BaÅŸlıqlı sütun","Header row":"BaÅŸlıqlı sÉ™tir",Height:"Hündürlük","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Sola sütun É™lavÉ™ et","Insert column right":"SaÄŸa sütun É™lavÉ™ et","Insert row above":"AÅŸağıya sÉ™tir É™lavÉ™ et","Insert row below":"Yuxarıya sÉ™tir É™lavÉ™ et","Insert table":"CÉ™dvÉ™li É™lavÉ™ et",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Xanaları aÅŸağı birləşdir","Merge cell left":"Xanaları sola birləşdir","Merge cell right":"Xanaları saÄŸa birləşdir","Merge cell up":"Xanaları yuxarı birləşdir","Merge cells":"Xanaları birləşdir","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"SÉ™tir","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Xanaları üfüqi böl","Split cell vertically":"Xanaları ÅŸaquli böl",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"CÉ™dvÉ™l hüceyrÉ™si mÉ™tninin uyÄŸunlaÅŸdırılması","Table properties":"CÉ™dvÉ™l xüsusiyyÉ™tlÉ™ri","Table toolbar":"CÉ™dvÉ™l paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:"Eni"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/bg.js b/core/assets/vendor/ckeditor5/table/translations/bg.js index 2c5f0e20f9519f629021138293304a04c6f5bd95..0524b0e5492a8ae7cfd2b68c3aca964c572f111a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/bg.js +++ b/core/assets/vendor/ckeditor5/table/translations/bg.js @@ -1 +1 @@ -!function(e){const t=e.bg=e.bg||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Подравни текÑта в клетката към дъното","Align cell text to the center":"Подравни текÑта в клетката централно","Align cell text to the left":"Подравни текÑта в клетката налÑво","Align cell text to the middle":"Подравни текÑта в клетката към Ñредата","Align cell text to the right":"Подравни текÑта в клетката надÑÑно","Align cell text to the top":"Подравни текÑта в клетката нагоре","Align table to the left":"Подравни таблицата налÑво","Align table to the right":"Подравни таблицата надÑÑно",Alignment:"ПодравнÑване",Background:"Фон",Border:"Граница","Cell properties":"СвойÑтва на клетки","Center table":"Центрирай таблицата",Color:"ЦвÑÑ‚","Color picker":"Избор на цвÑÑ‚",Column:"Колона",Dashed:"Ðа черти","Delete column":"Изтриване на колона","Delete row":"Изтриване на ред",Dimensions:"Размери",Dotted:"Ðа точки",Double:"Двоен","Enter table caption":"Въведи Ð½Ð°Ð´Ð¿Ð¸Ñ Ð½Ð° таблица",Groove:"Ðа зиг-заг","Header column":"Заглавна колона","Header row":"Заглавен ред",Height:"ВиÑочина","Horizontal text alignment toolbar":"Лента за хоризонтално подравнÑване на текÑÑ‚","Insert a new table row (when in the last cell of a table)":"Въвеждане на нов ред в таблицата (когато Ñте в поÑледната клетка на таблица)","Insert column left":"Вмъкни колона отлÑво","Insert column right":"Вмъкни колона отдÑÑно","Insert row above":"Вмъкни ред отгоре","Insert row below":"Вмъкни ред отдолу","Insert table":"Вмъкни таблица",Inset:"Вмъкни","Justify cell text":"Разпредели равномерно текÑта в клетката","Keystrokes that can be used in a table cell":"Клавишни комбинации, които могат да Ñе използват в клетка от таблицата","Merge cell down":"ОбединÑване на клетка надолу","Merge cell left":"ОбединÑване на клетка отлÑво","Merge cell right":"ОбединÑване на клетка отдÑÑно","Merge cell up":"ОбединÑване на клетка отгоре","Merge cells":"ОбединÑване на клетки","Move the selection to the next cell":"ПремеÑтване на избора към Ñледващата клетка","Move the selection to the previous cell":"ПремеÑтване на избора към предишната клетка","Navigate through the table":"ÐÐ°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð² таблицата",None:"Ðищо",Outset:"Изпъкнала",Padding:"Пълнеж",Ridge:"Ðазъбен",Row:"Ред","Select column":"Избери колона","Select row":"Избери ред",Solid:"Твърд","Split cell horizontally":"РазделÑне на клетки хоризонтално","Split cell vertically":"РазделÑне на клетки вертикално",Style:"Стил",Table:"МаÑа","Table alignment toolbar":"Лента за подравнÑване на таблици","Table cell text alignment":"ПодравнÑване на текÑÑ‚ в клетка","Table properties":"СвойÑтва на таблици","Table toolbar":"Лента за таблици",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Цветът е невалиден. Опитайте "#FF0000" или "rgb(255,0,0)", или "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'СтойноÑтта е невалидна. Опитайте "10px" или "2em", или проÑто "2".',"Vertical text alignment toolbar":"Лента за вертикално подравнÑване на текÑÑ‚",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.bg=e.bg||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Подравни текÑта в клетката към дъното","Align cell text to the center":"Подравни текÑта в клетката централно","Align cell text to the left":"Подравни текÑта в клетката налÑво","Align cell text to the middle":"Подравни текÑта в клетката към Ñредата","Align cell text to the right":"Подравни текÑта в клетката надÑÑно","Align cell text to the top":"Подравни текÑта в клетката нагоре","Align table to the left":"Подравни таблицата налÑво","Align table to the right":"Подравни таблицата надÑÑно",Alignment:"ПодравнÑване",Background:"Фон",Border:"Граница","Cell properties":"СвойÑтва на клетки","Center table":"Центрирай таблицата",Color:"ЦвÑÑ‚",Column:"Колона",Dashed:"Ðа черти","Delete column":"Изтриване на колона","Delete row":"Изтриване на ред",Dimensions:"Размери",Dotted:"Ðа точки",Double:"Двоен","Enter table caption":"Въведи Ð½Ð°Ð´Ð¿Ð¸Ñ Ð½Ð° таблица",Groove:"Ðа зиг-заг","Header column":"Заглавна колона","Header row":"Заглавен ред",Height:"ВиÑочина","Horizontal text alignment toolbar":"Лента за хоризонтално подравнÑване на текÑÑ‚","Insert a new table row (when in the last cell of a table)":"Въвеждане на нов ред в таблицата (когато Ñте в поÑледната клетка на таблица)","Insert column left":"Вмъкни колона отлÑво","Insert column right":"Вмъкни колона отдÑÑно","Insert row above":"Вмъкни ред отгоре","Insert row below":"Вмъкни ред отдолу","Insert table":"Вмъкни таблица",Inset:"Вмъкни","Justify cell text":"Разпредели равномерно текÑта в клетката","Keystrokes that can be used in a table cell":"Клавишни комбинации, които могат да Ñе използват в клетка от таблицата","Merge cell down":"ОбединÑване на клетка надолу","Merge cell left":"ОбединÑване на клетка отлÑво","Merge cell right":"ОбединÑване на клетка отдÑÑно","Merge cell up":"ОбединÑване на клетка отгоре","Merge cells":"ОбединÑване на клетки","Move the selection to the next cell":"ПремеÑтване на избора към Ñледващата клетка","Move the selection to the previous cell":"ПремеÑтване на избора към предишната клетка","Navigate through the table":"ÐÐ°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð² таблицата",None:"Ðищо",Outset:"Изпъкнала",Padding:"Пълнеж",Ridge:"Ðазъбен",Row:"Ред","Select column":"Избери колона","Select row":"Избери ред",Solid:"Твърд","Split cell horizontally":"РазделÑне на клетки хоризонтално","Split cell vertically":"РазделÑне на клетки вертикално",Style:"Стил",Table:"МаÑа","Table alignment toolbar":"Лента за подравнÑване на таблици","Table cell text alignment":"ПодравнÑване на текÑÑ‚ в клетка","Table properties":"СвойÑтва на таблици","Table toolbar":"Лента за таблици",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Цветът е невалиден. Опитайте "#FF0000" или "rgb(255,0,0)", или "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'СтойноÑтта е невалидна. Опитайте "10px" или "2em", или проÑто "2".',"Vertical text alignment toolbar":"Лента за вертикално подравнÑване на текÑÑ‚",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/bn.js b/core/assets/vendor/ckeditor5/table/translations/bn.js index af4217db43b96d54daafb603d79f24a7529616ea..083c28fec8cc762f7747ffd3159c4b61b21d51be 100644 --- a/core/assets/vendor/ckeditor5/table/translations/bn.js +++ b/core/assets/vendor/ckeditor5/table/translations/bn.js @@ -1 +1 @@ -!function(e){const t=e.bn=e.bn||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"নীচে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the center":"কেনà§à¦¦à§à¦°à§‡ সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the left":"বাম দিকে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the middle":"মাà¦à¦–ানে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the right":"ডানদিকে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨ ","Align cell text to the top":"শীরà§à¦·à§‡ সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align table to the left":"বাম দিকে টেবিল সারিবদà§à¦§ করà§à¦¨","Align table to the right":"ডানদিকে টেবিলটি সারিবদà§à¦§ করà§à¦¨",Alignment:"সারিবদà§à¦§à¦•à¦°à¦£",Background:"বà§à¦¯à¦¾à¦•à¦—à§à¦°à¦¾à¦‰à¦¨à§à¦¡",Border:"বরà§à¦¡à¦¾à¦° ","Cell properties":"সেল বৈশিষà§à¦Ÿà§à¦¯","Center table":"কেনà§à¦¦à§à¦°à§‡à¦° টেবিল",Color:" রং","Color picker":"রং বাছাইকারী",Column:"কলাম",Dashed:"ডà§à¦¯à¦¾à¦¶à¦¡","Delete column":"কলাম মà§à¦›à§‡ ফেলà§à¦¨","Delete row":"সারি মà§à¦›à§à¦¨",Dimensions:"মাতà§à¦°à¦¾à¦—à§à¦²à§‹",Dotted:"ডটেড",Double:"দà§à¦¬à¦¿à¦—à§à¦£","Enter table caption":"টেবিল কà§à¦¯à¦¾à¦ªà¦¶à¦¨ লিখà§à¦¨",Groove:"খাà¦à¦œà¦•à¦¾à¦Ÿà¦¾","Header column":"হেডার কলাম","Header row":"হেডার সারি",Height:"উচà§à¦šà¦¤à¦¾","Horizontal text alignment toolbar":"অনà§à¦à§‚মিক টেকà§à¦¸à¦Ÿ সারিবদà§à¦§à¦•à¦°à¦£ টà§à¦²à¦¬à¦¾à¦°","Insert a new table row (when in the last cell of a table)":"à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ টেবিলের সারি পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨ (কোনো টেবিলের শেষ সেলে থাকা অবসà§à¦¥à¦¾à§Ÿ)","Insert column left":"বাম দিকে কলাম ঢোকান","Insert column right":"ডানদিকে কলাম ঢোকান","Insert row above":"উপরে সারি ঢোকান","Insert row below":"নীচে সারি ঢোকান","Insert table":"টেবিল ঢোকান",Inset:"ইনসেট","Justify cell text":"সেল টেকà§à¦¸à¦Ÿ জাসà§à¦Ÿà¦¿à¦«à¦¾à¦‡ করà§à¦¨","Keystrokes that can be used in a table cell":"যে কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿ টেবিল সেলে বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যেতে পারে","Merge cell down":"নিচে সেল মারà§à¦œ করà§à¦¨","Merge cell left":"বামদিকে সেল মারà§à¦œ করà§à¦¨","Merge cell right":" ডানদিকে সেল মারà§à¦œ করà§à¦¨","Merge cell up":"সেল আপ মারà§à¦œ","Merge cells":"সেল à¦à¦•à¦¤à§à¦°à¦¿à¦¤ করà§à¦¨","Move the selection to the next cell":"পরবরà§à¦¤à§€ সেলে সিলেকশন সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Move the selection to the previous cell":"পূরà§à¦¬à¦¬à¦°à§à¦¤à§€ সেলে সিলেকশন সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Navigate through the table":"টেবিলের মধà§à¦¯à§‡ দিয়ে নেà¦à¦¿à¦—েট করà§à¦¨",None:"কোনোটিই নয়",Outset:"শà§à¦°à§",Padding:"পà§à¦¯à¦¾à¦¡à¦¿à¦‚",Ridge:"রিজ",Row:"সারি ","Select column":"কলাম নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨","Select row":"সারি নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨",Solid:"সলিড","Split cell horizontally":"অনà§à¦à§‚মিকà¦à¦¾à¦¬à§‡ সেল বিà¦à¦•à§à¦¤ করà§à¦¨","Split cell vertically":"সেল উলà§à¦²à¦®à§à¦¬à¦à¦¾à¦¬à§‡ বিà¦à¦•à§à¦¤ করà§à¦¨",Style:"সà§à¦Ÿà¦¾à¦‡à¦² ",Table:"টেবিল","Table alignment toolbar":"টেবিল সারিবদà§à¦§à¦•à¦°à¦£ টà§à¦²à¦¬à¦¾à¦°","Table cell text alignment":"সকà§à¦·à¦® সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§à¦•à¦°à¦£","Table properties":"টেবিল বৈশিষà§à¦Ÿà§à¦¯","Table toolbar":"টেবিল টà§à¦²à¦¬à¦¾à¦°",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'রংটি সঠিক নয়। "#FF0000" অথবা "rgb(255,0,0)" অথবা "লাল" বà§à¦¯à¦¾à¦¬à¦¹à¦¾à¦° করà§à¦¨à¥¤\n','The value is invalid. Try "10px" or "2em" or simply "2".':'মানটি সঠিক নয়। "10px" বা "2em" বা সহজà¦à¦¾à¦¬à§‡ "2" বà§à¦¯à¦¬à¦¹à¦¾à¦° করে দেখà§à¦¨à¥¤',"Vertical text alignment toolbar":"উলà§à¦²à¦®à§à¦¬ টেকà§à¦¸à¦Ÿ সারিবদà§à¦§à¦•à¦°à¦£ টà§à¦²à¦¬à¦¾à¦°",Width:"পà§à¦°à¦¸à§à¦¥"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.bn=e.bn||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"নীচে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the center":"কেনà§à¦¦à§à¦°à§‡ সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the left":"বাম দিকে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the middle":"মাà¦à¦–ানে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align cell text to the right":"ডানদিকে সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨ ","Align cell text to the top":"শীরà§à¦·à§‡ সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§ করà§à¦¨","Align table to the left":"বাম দিকে টেবিল সারিবদà§à¦§ করà§à¦¨","Align table to the right":"ডানদিকে টেবিলটি সারিবদà§à¦§ করà§à¦¨",Alignment:"সারিবদà§à¦§à¦•à¦°à¦£",Background:"বà§à¦¯à¦¾à¦•à¦—à§à¦°à¦¾à¦‰à¦¨à§à¦¡",Border:"বরà§à¦¡à¦¾à¦° ","Cell properties":"সেল বৈশিষà§à¦Ÿà§à¦¯","Center table":"কেনà§à¦¦à§à¦°à§‡à¦° টেবিল",Color:" রং",Column:"কলাম",Dashed:"ডà§à¦¯à¦¾à¦¶à¦¡","Delete column":"কলাম মà§à¦›à§‡ ফেলà§à¦¨","Delete row":"সারি মà§à¦›à§à¦¨",Dimensions:"মাতà§à¦°à¦¾à¦—à§à¦²à§‹",Dotted:"ডটেড",Double:"দà§à¦¬à¦¿à¦—à§à¦£","Enter table caption":"টেবিল কà§à¦¯à¦¾à¦ªà¦¶à¦¨ লিখà§à¦¨",Groove:"খাà¦à¦œà¦•à¦¾à¦Ÿà¦¾","Header column":"হেডার কলাম","Header row":"হেডার সারি",Height:"উচà§à¦šà¦¤à¦¾","Horizontal text alignment toolbar":"অনà§à¦à§‚মিক টেকà§à¦¸à¦Ÿ সারিবদà§à¦§à¦•à¦°à¦£ টà§à¦²à¦¬à¦¾à¦°","Insert a new table row (when in the last cell of a table)":"à¦à¦•à¦Ÿà¦¿ নতà§à¦¨ টেবিলের সারি পà§à¦°à¦¬à§‡à¦¶ করà§à¦¨ (কোনো টেবিলের শেষ সেলে থাকা অবসà§à¦¥à¦¾à§Ÿ)","Insert column left":"বাম দিকে কলাম ঢোকান","Insert column right":"ডানদিকে কলাম ঢোকান","Insert row above":"উপরে সারি ঢোকান","Insert row below":"নীচে সারি ঢোকান","Insert table":"টেবিল ঢোকান",Inset:"ইনসেট","Justify cell text":"সেল টেকà§à¦¸à¦Ÿ জাসà§à¦Ÿà¦¿à¦«à¦¾à¦‡ করà§à¦¨","Keystrokes that can be used in a table cell":"যে কীসà§à¦Ÿà§à¦°à§‹à¦•à¦—à§à¦²à¦¿ টেবিল সেলে বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যেতে পারে","Merge cell down":"নিচে সেল মারà§à¦œ করà§à¦¨","Merge cell left":"বামদিকে সেল মারà§à¦œ করà§à¦¨","Merge cell right":" ডানদিকে সেল মারà§à¦œ করà§à¦¨","Merge cell up":"সেল আপ মারà§à¦œ","Merge cells":"সেল à¦à¦•à¦¤à§à¦°à¦¿à¦¤ করà§à¦¨","Move the selection to the next cell":"পরবরà§à¦¤à§€ সেলে সিলেকশন সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Move the selection to the previous cell":"পূরà§à¦¬à¦¬à¦°à§à¦¤à§€ সেলে সিলেকশন সà§à¦¥à¦¾à¦¨à¦¾à¦¨à§à¦¤à¦° করà§à¦¨","Navigate through the table":"টেবিলের মধà§à¦¯à§‡ দিয়ে নেà¦à¦¿à¦—েট করà§à¦¨",None:"কোনোটিই নয়",Outset:"শà§à¦°à§",Padding:"পà§à¦¯à¦¾à¦¡à¦¿à¦‚",Ridge:"রিজ",Row:"সারি ","Select column":"কলাম নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨","Select row":"সারি নিরà§à¦¬à¦¾à¦šà¦¨ করà§à¦¨",Solid:"সলিড","Split cell horizontally":"অনà§à¦à§‚মিকà¦à¦¾à¦¬à§‡ সেল বিà¦à¦•à§à¦¤ করà§à¦¨","Split cell vertically":"সেল উলà§à¦²à¦®à§à¦¬à¦à¦¾à¦¬à§‡ বিà¦à¦•à§à¦¤ করà§à¦¨",Style:"সà§à¦Ÿà¦¾à¦‡à¦² ",Table:"টেবিল","Table alignment toolbar":"টেবিল সারিবদà§à¦§à¦•à¦°à¦£ টà§à¦²à¦¬à¦¾à¦°","Table cell text alignment":"সকà§à¦·à¦® সেল টেকà§à¦¸à¦Ÿ সারিবদà§à¦§à¦•à¦°à¦£","Table properties":"টেবিল বৈশিষà§à¦Ÿà§à¦¯","Table toolbar":"টেবিল টà§à¦²à¦¬à¦¾à¦°",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'রংটি সঠিক নয়। "#FF0000" অথবা "rgb(255,0,0)" অথবা "লাল" বà§à¦¯à¦¾à¦¬à¦¹à¦¾à¦° করà§à¦¨à¥¤\n','The value is invalid. Try "10px" or "2em" or simply "2".':'মানটি সঠিক নয়। "10px" বা "2em" বা সহজà¦à¦¾à¦¬à§‡ "2" বà§à¦¯à¦¬à¦¹à¦¾à¦° করে দেখà§à¦¨à¥¤',"Vertical text alignment toolbar":"উলà§à¦²à¦®à§à¦¬ টেকà§à¦¸à¦Ÿ সারিবদà§à¦§à¦•à¦°à¦£ টà§à¦²à¦¬à¦¾à¦°",Width:"পà§à¦°à¦¸à§à¦¥"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ca.js b/core/assets/vendor/ckeditor5/table/translations/ca.js index 4066edeac00e0a292ce5df6976d78c7827df1e11..7a5936051d822daf007f1edc1540fcda1b9b8fa8 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ca.js +++ b/core/assets/vendor/ckeditor5/table/translations/ca.js @@ -1 +1 @@ -!function(e){const l=e.ca=e.ca||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Alinear el text de la cel·la a la part inferior","Align cell text to the center":"Alinear el text de la cel·la al centre","Align cell text to the left":"Alinear el text de la cel·la a l'esquerra","Align cell text to the middle":"Alinear el text de la cel·la al centre","Align cell text to the right":"Alinear el text de la cel·la a la dreta","Align cell text to the top":"Alinear el text de la cel·la a la part superior","Align table to the left":"Alinear la taula a l'esquerra","Align table to the right":"Alinear la taula a la dreta",Alignment:"Alineació",Background:"Fons",Border:"Vora","Cell properties":"Propietats de la cel·la","Center table":"Centrar la taula",Color:"Color","Color picker":"Selector de colors",Column:"Columna",Dashed:"De guions","Delete column":"Suprimir la columna","Delete row":"Suprimir fila",Dimensions:"Dimensions",Dotted:"De punts",Double:"Doble","Enter table caption":"Introduir el peu de foto de la taula",Groove:"De solc","Header column":"Columna d'encapçalament","Header row":"Fila d'encapçalament",Height:"Alçada","Horizontal text alignment toolbar":"Barra d'eines d'alineació de text horitzontal","Insert a new table row (when in the last cell of a table)":"Insereix una nova filera (si us trobeu a la darrera cel·la d'una taula)","Insert column left":"Inserir columna a l'esquerra","Insert column right":"Inserir la columna a la dreta","Insert row above":"Inserir fila a sobre","Insert row below":"Inserir la fila a continuació","Insert table":"Introduir taula",Inset:"Entrant","Justify cell text":"Justificar el text de la cel·la","Keystrokes that can be used in a table cell":"Tecles que es poden emprar en la cel·la d'una taula","Merge cell down":"Combinar la cel·la cap avall","Merge cell left":"Combinar la cel·la a l'esquerra","Merge cell right":"Combinar la cel·la a la dreta","Merge cell up":"Combinar la cel·la cap amunt","Merge cells":"Combinar cel·les","Move the selection to the next cell":"Mou la selecció a la cel·la següent","Move the selection to the previous cell":"Mou la selecció a la cel·la anterior","Navigate through the table":"Navega a través de la taula",None:"Cap",Outset:"Sortint",Padding:"Padding",Ridge:"De cresta",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sòlid","Split cell horizontally":"Dividir la cel·la horitzontalment","Split cell vertically":"Dividir la cel·la verticalment",Style:"Estil",Table:"Taula","Table alignment toolbar":"Barra d'eines d'alineació de taules","Table cell text alignment":"Alineació del text de la cel·la de la taula","Table properties":"Propietats de la taula","Table toolbar":"Barra d'eines de taula",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'El color és invà lid. Prova "#FF0000" o "rgb(255,0,0)" o "vermell".','The value is invalid. Try "10px" or "2em" or simply "2".':'El valor és invà lid. Prova "10px" o "2em" o simplement "2".',"Vertical text alignment toolbar":"Barra d'eines d'alineació de text vertical",Width:"Amplada"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.ca=e.ca||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Alinear el text de la cel·la a la part inferior","Align cell text to the center":"Alinear el text de la cel·la al centre","Align cell text to the left":"Alinear el text de la cel·la a l'esquerra","Align cell text to the middle":"Alinear el text de la cel·la al centre","Align cell text to the right":"Alinear el text de la cel·la a la dreta","Align cell text to the top":"Alinear el text de la cel·la a la part superior","Align table to the left":"Alinear la taula a l'esquerra","Align table to the right":"Alinear la taula a la dreta",Alignment:"Alineació",Background:"Fons",Border:"Vora","Cell properties":"Propietats de la cel·la","Center table":"Centrar la taula",Color:"Color",Column:"Columna",Dashed:"De guions","Delete column":"Suprimir la columna","Delete row":"Suprimir fila",Dimensions:"Dimensions",Dotted:"De punts",Double:"Doble","Enter table caption":"Introduir el peu de foto de la taula",Groove:"De solc","Header column":"Columna d'encapçalament","Header row":"Fila d'encapçalament",Height:"Alçada","Horizontal text alignment toolbar":"Barra d'eines d'alineació de text horitzontal","Insert a new table row (when in the last cell of a table)":"Insereix una nova filera (si us trobeu a la darrera cel·la d'una taula)","Insert column left":"Inserir columna a l'esquerra","Insert column right":"Inserir la columna a la dreta","Insert row above":"Inserir fila a sobre","Insert row below":"Inserir la fila a continuació","Insert table":"Introduir taula",Inset:"Entrant","Justify cell text":"Justificar el text de la cel·la","Keystrokes that can be used in a table cell":"Tecles que es poden emprar en la cel·la d'una taula","Merge cell down":"Combinar la cel·la cap avall","Merge cell left":"Combinar la cel·la a l'esquerra","Merge cell right":"Combinar la cel·la a la dreta","Merge cell up":"Combinar la cel·la cap amunt","Merge cells":"Combinar cel·les","Move the selection to the next cell":"Mou la selecció a la cel·la següent","Move the selection to the previous cell":"Mou la selecció a la cel·la anterior","Navigate through the table":"Navega a través de la taula",None:"Cap",Outset:"Sortint",Padding:"Padding",Ridge:"De cresta",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sòlid","Split cell horizontally":"Dividir la cel·la horitzontalment","Split cell vertically":"Dividir la cel·la verticalment",Style:"Estil",Table:"Taula","Table alignment toolbar":"Barra d'eines d'alineació de taules","Table cell text alignment":"Alineació del text de la cel·la de la taula","Table properties":"Propietats de la taula","Table toolbar":"Barra d'eines de taula",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'El color és invà lid. Prova "#FF0000" o "rgb(255,0,0)" o "vermell".','The value is invalid. Try "10px" or "2em" or simply "2".':'El valor és invà lid. Prova "10px" o "2em" o simplement "2".',"Vertical text alignment toolbar":"Barra d'eines d'alineació de text vertical",Width:"Amplada"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/cs.js b/core/assets/vendor/ckeditor5/table/translations/cs.js index 17c09ad3916c348b332697f0aa18425a1bde5c9c..8c4647319e7e5ae25dcfa5f2c8ff01182ea9059a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/cs.js +++ b/core/assets/vendor/ckeditor5/table/translations/cs.js @@ -1 +1 @@ -!function(e){const t=e.cs=e.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Zarovnat text buňky dolů","Align cell text to the center":"Zarovnat text buňky na stÅ™ed","Align cell text to the left":"Zarovnat text buňky doleva","Align cell text to the middle":"Zarovnat text buňky na stÅ™ed","Align cell text to the right":"Zarovnat text buňky doprava","Align cell text to the top":"Zarovnat text buňky nahoru","Align table to the left":"Zarovnat tabulku doleva","Align table to the right":"Zarovnat tabulku doprava",Alignment:"ZarovnánÃ",Background:"PozadÃ",Border:"Okraj","Cell properties":"Vlastnosti buňky","Center table":"Centrovat tabulku",Color:"Barva","Color picker":"Vybrat barvu",Column:"Sloupec",Dashed:"Čárkovaná","Delete column":"Smazat sloupec","Delete row":"Smazat řádek",Dimensions:"RozmÄ›ry",Dotted:"TeÄkovaná",Double:"Dvojitá","Enter table caption":"Zadejte titulek tabulky",Groove:"Drážkovaná","Header column":"Sloupec záhlavÃ","Header row":"Řádek záhlavÃ",Height:"Výška","Horizontal text alignment toolbar":"Horizontálnà zarovnánà textu v panelu","Insert a new table row (when in the last cell of a table)":"Vložit nový řádek tabulky (když jste v poslednà buňce tabulky)","Insert column left":"Vložit sloupec vlevo","Insert column right":"Vložit sloupec vpravo","Insert row above":"Vložit řádek pÅ™ed","Insert row below":"Vložit řádek pod","Insert table":"Vložit tabulku",Inset:"Vložená zevnitÅ™","Justify cell text":"Zarovnat text buňky z obou stran","Keystrokes that can be used in a table cell":"Klávesy, které lze použÃt v buňce tabulky","Merge cell down":"SlouÄit s buňkou pod","Merge cell left":"SlouÄit s buňkou vlevo","Merge cell right":"SlouÄit s buňkou vpravo","Merge cell up":"SlouÄit s buňkou nad","Merge cells":"SlouÄit buňky","Move the selection to the next cell":"PÅ™esunout výbÄ›r do dalÅ¡Ã buňky","Move the selection to the previous cell":"PÅ™esunout výbÄ›r do pÅ™edchozà buňky","Navigate through the table":"Procházet tabulkou",None:"Žádná",Outset:"Vložená zvenku",Padding:"VnitÅ™nà okraj",Ridge:"Rámovaná",Row:"Řádek","Select column":"Vybrat sloupec","Select row":"Vybrat řádek",Solid:"Plná","Split cell horizontally":"RozdÄ›lit buňky horizontálnÄ›","Split cell vertically":"RozdÄ›lit buňky vertikálnÄ›",Style:"Styl",Table:"Tabulka","Table alignment toolbar":"Panel zarovnánà tabulky","Table cell text alignment":"Zarovnánà textu buňky tabulky","Table properties":"Vlastnosti tabulky","Table toolbar":"Panel nástrojů tabulky",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Barva má nesprávný formát. Zkuste "#FF0000", "rgb(255,0,0)" nebo "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Hodnota je nesprávná. Zkuste "10px", "2em" nebo jednoduÅ¡e "2".',"Vertical text alignment toolbar":"Vertikálnà zarovnánà textu v panelu",Width:"Å ÃÅ™ka"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.cs=e.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Zarovnat text buňky dolů","Align cell text to the center":"Zarovnat text buňky na stÅ™ed","Align cell text to the left":"Zarovnat text buňky doleva","Align cell text to the middle":"Zarovnat text buňky na stÅ™ed","Align cell text to the right":"Zarovnat text buňky doprava","Align cell text to the top":"Zarovnat text buňky nahoru","Align table to the left":"Zarovnat tabulku doleva","Align table to the right":"Zarovnat tabulku doprava",Alignment:"ZarovnánÃ",Background:"PozadÃ",Border:"Okraj","Cell properties":"Vlastnosti buňky","Center table":"Centrovat tabulku",Color:"Barva",Column:"Sloupec",Dashed:"Čárkovaná","Delete column":"Smazat sloupec","Delete row":"Smazat řádek",Dimensions:"RozmÄ›ry",Dotted:"TeÄkovaná",Double:"Dvojitá","Enter table caption":"Zadejte titulek tabulky",Groove:"Drážkovaná","Header column":"Sloupec záhlavÃ","Header row":"Řádek záhlavÃ",Height:"Výška","Horizontal text alignment toolbar":"Horizontálnà zarovnánà textu v panelu","Insert a new table row (when in the last cell of a table)":"Vložit nový řádek tabulky (když jste v poslednà buňce tabulky)","Insert column left":"Vložit sloupec vlevo","Insert column right":"Vložit sloupec vpravo","Insert row above":"Vložit řádek pÅ™ed","Insert row below":"Vložit řádek pod","Insert table":"Vložit tabulku",Inset:"Vložená zevnitÅ™","Justify cell text":"Zarovnat text buňky z obou stran","Keystrokes that can be used in a table cell":"Klávesy, které lze použÃt v buňce tabulky","Merge cell down":"SlouÄit s buňkou pod","Merge cell left":"SlouÄit s buňkou vlevo","Merge cell right":"SlouÄit s buňkou vpravo","Merge cell up":"SlouÄit s buňkou nad","Merge cells":"SlouÄit buňky","Move the selection to the next cell":"PÅ™esunout výbÄ›r do dalÅ¡Ã buňky","Move the selection to the previous cell":"PÅ™esunout výbÄ›r do pÅ™edchozà buňky","Navigate through the table":"Procházet tabulkou",None:"Žádná",Outset:"Vložená zvenku",Padding:"VnitÅ™nà okraj",Ridge:"Rámovaná",Row:"Řádek","Select column":"Vybrat sloupec","Select row":"Vybrat řádek",Solid:"Plná","Split cell horizontally":"RozdÄ›lit buňky horizontálnÄ›","Split cell vertically":"RozdÄ›lit buňky vertikálnÄ›",Style:"Styl",Table:"Tabulka","Table alignment toolbar":"Panel zarovnánà tabulky","Table cell text alignment":"Zarovnánà textu buňky tabulky","Table properties":"Vlastnosti tabulky","Table toolbar":"Panel nástrojů tabulky",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Barva má nesprávný formát. Zkuste "#FF0000", "rgb(255,0,0)" nebo "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Hodnota je nesprávná. Zkuste "10px", "2em" nebo jednoduÅ¡e "2".',"Vertical text alignment toolbar":"Vertikálnà zarovnánà textu v panelu",Width:"Å ÃÅ™ka"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/da.js b/core/assets/vendor/ckeditor5/table/translations/da.js index f324e1078a328e91d8d68ff44337afc2e5b978ab..7695e8e2d64ab701d3fb8c5bfed4cf7fc2cc2325 100644 --- a/core/assets/vendor/ckeditor5/table/translations/da.js +++ b/core/assets/vendor/ckeditor5/table/translations/da.js @@ -1 +1 @@ -!function(e){const t=e.da=e.da||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Justér tekstcelle til bunden","Align cell text to the center":"Justér tekstcelle centreret","Align cell text to the left":"Justér tekstcelle til venstre","Align cell text to the middle":"Justér tekstcelle til midten","Align cell text to the right":"Justér tekstcelle til højre","Align cell text to the top":"Justér tekstcelle til top","Align table to the left":"Justér tabel til venstre","Align table to the right":"Justér tabel til højre",Alignment:"Justering",Background:"Baggrund",Border:"Ramme","Cell properties":"Celleegenskaber","Center table":"Centrér tabel",Color:"Farve","Color picker":"Farvevælger",Column:"Kolonne",Dashed:"Stiplet (streg)","Delete column":"Slet kolonne","Delete row":"Slet række",Dimensions:"Dimensioner",Dotted:"Stiplet (prik)",Double:"Dobbel","Enter table caption":"Indtast tabeltekst",Groove:"Not","Header column":"Headerkolonne","Header row":"Headerrække",Height:"Højde","Horizontal text alignment toolbar":"Horisontal tekstjustering værktøjslinje","Insert a new table row (when in the last cell of a table)":"Indsæt en ny tabelrække (nÃ¥r du er i den sidste celle i en tabel)","Insert column left":"Indsæt kolonne venstre","Insert column right":"Indsæt kolonne højre","Insert row above":"Indsæt header over","Insert row below":"Indsæt header under","Insert table":"Indsæt tabel",Inset:"Forsænket","Justify cell text":"Justér tekstcelle","Keystrokes that can be used in a table cell":"Tastaturtryk, der kan bruges i en tabelcelle","Merge cell down":"Flet celler ned","Merge cell left":"Flet celler venstre","Merge cell right":"Flet celler højre","Merge cell up":"Flet celler op","Merge cells":"Flet celler","Move the selection to the next cell":"Flyt markeringen til den næste celle","Move the selection to the previous cell":"Flyt markeringen til den forrige celle","Navigate through the table":"Naviger gennem tabellen",None:"Ingen",Outset:"Fra starten",Padding:"Fyld",Ridge:"Kam",Row:"Række","Select column":"Vælg kolonne","Select row":"Vælg række",Solid:"Massiv","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Style:"Stil",Table:"Tabel","Table alignment toolbar":"Tabeljustering værktøjslinje","Table cell text alignment":"Tabelcelle tekstjustering","Table properties":"Tabelegenskaber","Table toolbar":"Tabel værktøjslinje",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Farven er ugyldig. Prøv "#FF0000" eller "rgb(255,0,0)" eller "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Værdien er ugyldig. Prøv "10px" eller "2em" eller ganske enkelt "2".',"Vertical text alignment toolbar":"Vertikal tekstjustering værktøjslinje",Width:"Bredde"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.da=e.da||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Justér tekstcelle til bunden","Align cell text to the center":"Justér tekstcelle centreret","Align cell text to the left":"Justér tekstcelle til venstre","Align cell text to the middle":"Justér tekstcelle til midten","Align cell text to the right":"Justér tekstcelle til højre","Align cell text to the top":"Justér tekstcelle til top","Align table to the left":"Justér tabel til venstre","Align table to the right":"Justér tabel til højre",Alignment:"Justering",Background:"Baggrund",Border:"Ramme","Cell properties":"Celleegenskaber","Center table":"Centrér tabel",Color:"Farve",Column:"Kolonne",Dashed:"Stiplet (streg)","Delete column":"Slet kolonne","Delete row":"Slet række",Dimensions:"Dimensioner",Dotted:"Stiplet (prik)",Double:"Dobbel","Enter table caption":"Indtast tabeltekst",Groove:"Not","Header column":"Headerkolonne","Header row":"Headerrække",Height:"Højde","Horizontal text alignment toolbar":"Horisontal tekstjustering værktøjslinje","Insert a new table row (when in the last cell of a table)":"Indsæt en ny tabelrække (nÃ¥r du er i den sidste celle i en tabel)","Insert column left":"Indsæt kolonne venstre","Insert column right":"Indsæt kolonne højre","Insert row above":"Indsæt header over","Insert row below":"Indsæt header under","Insert table":"Indsæt tabel",Inset:"Forsænket","Justify cell text":"Justér tekstcelle","Keystrokes that can be used in a table cell":"Tastaturtryk, der kan bruges i en tabelcelle","Merge cell down":"Flet celler ned","Merge cell left":"Flet celler venstre","Merge cell right":"Flet celler højre","Merge cell up":"Flet celler op","Merge cells":"Flet celler","Move the selection to the next cell":"Flyt markeringen til den næste celle","Move the selection to the previous cell":"Flyt markeringen til den forrige celle","Navigate through the table":"Naviger gennem tabellen",None:"Ingen",Outset:"Fra starten",Padding:"Fyld",Ridge:"Kam",Row:"Række","Select column":"Vælg kolonne","Select row":"Vælg række",Solid:"Massiv","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Style:"Stil",Table:"Tabel","Table alignment toolbar":"Tabeljustering værktøjslinje","Table cell text alignment":"Tabelcelle tekstjustering","Table properties":"Tabelegenskaber","Table toolbar":"Tabel værktøjslinje",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Farven er ugyldig. Prøv "#FF0000" eller "rgb(255,0,0)" eller "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Værdien er ugyldig. Prøv "10px" eller "2em" eller ganske enkelt "2".',"Vertical text alignment toolbar":"Vertikal tekstjustering værktøjslinje",Width:"Bredde"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/de-ch.js b/core/assets/vendor/ckeditor5/table/translations/de-ch.js index 07d3a6746a459a074c6ec648d43d1919df656af9..6948216adbece0f736a3edec978ee93da2230b2d 100644 --- a/core/assets/vendor/ckeditor5/table/translations/de-ch.js +++ b/core/assets/vendor/ckeditor5/table/translations/de-ch.js @@ -1 +1 @@ -!function(e){const l=e["de-ch"]=e["de-ch"]||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"Spalte",Dashed:"","Delete column":"Spalte löschen","Delete row":"Zeile löschen",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Kopfspalte","Header row":"Kopfspalte",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Zelle unten verbinden","Merge cell left":"Zelle links verbinden","Merge cell right":"Zele rechts verbinden","Merge cell up":"Zelle oben verbinden","Merge cells":"Zellen verbinden","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"Zeile","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e["de-ch"]=e["de-ch"]||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"Spalte",Dashed:"","Delete column":"Spalte löschen","Delete row":"Zeile löschen",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Kopfspalte","Header row":"Kopfspalte",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Zelle unten verbinden","Merge cell left":"Zelle links verbinden","Merge cell right":"Zele rechts verbinden","Merge cell up":"Zelle oben verbinden","Merge cells":"Zellen verbinden","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"Zeile","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/de.js b/core/assets/vendor/ckeditor5/table/translations/de.js index 761548b34cad848f70c9bc1009b7bae10db09cd4..c948bc10071917eb9948e58aabb2fbea05bd5f9b 100644 --- a/core/assets/vendor/ckeditor5/table/translations/de.js +++ b/core/assets/vendor/ckeditor5/table/translations/de.js @@ -1 +1 @@ -!function(e){const l=e.de=e.de||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Zellentext unten ausrichten","Align cell text to the center":"Zellentext zentriert ausrichten","Align cell text to the left":"Zellentext linksbündig ausrichten","Align cell text to the middle":"Zellentext mittig ausrichten","Align cell text to the right":"Zellentext rechtsbündig ausrichten","Align cell text to the top":"Zellentext oben ausrichten","Align table to the left":"Tabelle links ausrichten","Align table to the right":"Tabelle rechts ausrichten",Alignment:"Ausrichtung",Background:"Hintergrund",Border:"Rahmen","Cell properties":"Zelleneigenschaften","Center table":"Tabelle zentrieren",Color:"Farbe","Color picker":"Farbwähler",Column:"Spalte",Dashed:"Gestrichelt","Delete column":"Spalte löschen","Delete row":"Zeile löschen",Dimensions:"Größe",Dotted:"Gepunktet",Double:"Doppelt","Enter table caption":"Tabellenüberschrift eingeben",Groove:"Eingeritzt","Header column":"Kopfspalte","Header row":"Kopfzeile",Height:"Höhe","Horizontal text alignment toolbar":"Werkzeugleiste für die horizontale Zellentext-Ausrichtung","Insert a new table row (when in the last cell of a table)":"Eine neue Tabellenspalte einfügen (wenn in der letzten Tabellenzelle)","Insert column left":"Spalte links einfügen","Insert column right":"Spalte rechts einfügen","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"Eingelassen","Justify cell text":"Zellentext als Blocksatz ausrichten","Keystrokes that can be used in a table cell":"Tastatureingaben, die in einer Tabelle benutz werden können.","Merge cell down":"Zelle unten verbinden","Merge cell left":"Zelle links verbinden","Merge cell right":"Zelle rechts verbinden","Merge cell up":"Zelle verbinden","Merge cells":"Zellen verbinden","Move the selection to the next cell":"Auswahl in die nächste Zelle verschieben","Move the selection to the previous cell":"Auswahl in die vorherige Zelle verschieben","Navigate through the table":"Tabellennavigation",None:"Kein Rahmen",Outset:"Geprägt",Padding:"Innenabstand",Ridge:"Hervorgehoben",Row:"Zeile","Select column":"Spalte auswählen","Select row":"Zeile auswählen",Solid:"Durchgezogen","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Style:"Rahmenart",Table:"Tabelle","Table alignment toolbar":"Werkzeugleiste für die Tabellen-Ausrichtung","Table cell text alignment":"Ausrichtung des Zellentextes","Table properties":"Tabelleneigenschaften","Table toolbar":"Tabelle Werkzeugleiste",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Die Farbe ist ungültig. Probieren Sie „#FF0000“ oder „rgb(255,0,0)“ oder „red“.",'The value is invalid. Try "10px" or "2em" or simply "2".':"Der Wert ist ungültig. Probieren Sie „10px“ oder „2em“ oder „2“.","Vertical text alignment toolbar":"Werkzeugleiste für die vertikale Zellentext-Ausrichtung",Width:"Breite"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.de=e.de||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Zellentext unten ausrichten","Align cell text to the center":"Zellentext zentriert ausrichten","Align cell text to the left":"Zellentext linksbündig ausrichten","Align cell text to the middle":"Zellentext mittig ausrichten","Align cell text to the right":"Zellentext rechtsbündig ausrichten","Align cell text to the top":"Zellentext oben ausrichten","Align table to the left":"Tabelle links ausrichten","Align table to the right":"Tabelle rechts ausrichten",Alignment:"Ausrichtung",Background:"Hintergrund",Border:"Rahmen","Cell properties":"Zelleneigenschaften","Center table":"Tabelle zentrieren",Color:"Farbe",Column:"Spalte",Dashed:"Gestrichelt","Delete column":"Spalte löschen","Delete row":"Zeile löschen",Dimensions:"Größe",Dotted:"Gepunktet",Double:"Doppelt","Enter table caption":"Tabellenüberschrift eingeben",Groove:"Eingeritzt","Header column":"Kopfspalte","Header row":"Kopfzeile",Height:"Höhe","Horizontal text alignment toolbar":"Werkzeugleiste für die horizontale Zellentext-Ausrichtung","Insert a new table row (when in the last cell of a table)":"Eine neue Tabellenspalte einfügen (wenn in der letzten Tabellenzelle)","Insert column left":"Spalte links einfügen","Insert column right":"Spalte rechts einfügen","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"Eingelassen","Justify cell text":"Zellentext als Blocksatz ausrichten","Keystrokes that can be used in a table cell":"Tastatureingaben, die in einer Tabelle benutz werden können.","Merge cell down":"Zelle unten verbinden","Merge cell left":"Zelle links verbinden","Merge cell right":"Zelle rechts verbinden","Merge cell up":"Zelle verbinden","Merge cells":"Zellen verbinden","Move the selection to the next cell":"Auswahl in die nächste Zelle verschieben","Move the selection to the previous cell":"Auswahl in die vorherige Zelle verschieben","Navigate through the table":"Tabellennavigation",None:"Kein Rahmen",Outset:"Geprägt",Padding:"Innenabstand",Ridge:"Hervorgehoben",Row:"Zeile","Select column":"Spalte auswählen","Select row":"Zeile auswählen",Solid:"Durchgezogen","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Style:"Rahmenart",Table:"Tabelle","Table alignment toolbar":"Werkzeugleiste für die Tabellen-Ausrichtung","Table cell text alignment":"Ausrichtung des Zellentextes","Table properties":"Tabelleneigenschaften","Table toolbar":"Tabelle Werkzeugleiste",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Die Farbe ist ungültig. Probieren Sie „#FF0000“ oder „rgb(255,0,0)“ oder „red“.",'The value is invalid. Try "10px" or "2em" or simply "2".':"Der Wert ist ungültig. Probieren Sie „10px“ oder „2em“ oder „2“.","Vertical text alignment toolbar":"Werkzeugleiste für die vertikale Zellentext-Ausrichtung",Width:"Breite"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/el.js b/core/assets/vendor/ckeditor5/table/translations/el.js index d29d8c5e1c4a7c3d8c1cc25ef7f6fda5d68bc8a1..67a812a4120ef2f5a2d0e55301ddc9c0f3aa9df3 100644 --- a/core/assets/vendor/ckeditor5/table/translations/el.js +++ b/core/assets/vendor/ckeditor5/table/translations/el.js @@ -1 +1 @@ -!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÎºÎ¬Ï„Ï‰","Align cell text to the center":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î¿ κÎντÏο","Align cell text to the left":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î± αÏιστεÏά","Align cell text to the middle":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î¿ μÎσο","Align cell text to the right":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î± δεξιά","Align cell text to the top":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÎµÏ€Î¬Î½Ï‰","Align table to the left":"Στοίχιση πίνακα στα αÏιστεÏά","Align table to the right":"Στοίχιση πίνακα στα δεξιά",Alignment:"Στοίχιση",Background:"ΥπόβαθÏο",Border:"ΠεÏίγÏαμμα","Cell properties":"Ιδιότητες κελιοÏ","Center table":"Στοίχιση πίνακα στο κÎντÏο",Color:"ΧÏώμα","Color picker":"ΕπιλογÎας χÏώματος",Column:"Στήλη",Dashed:"Με παÏλες","Delete column":"ΔιαγÏαφή στήλης","Delete row":"ΔιαγÏαφή γÏαμμής",Dimensions:"Διαστάσεις",Dotted:"Διάστικτο",Double:"Διπλό","Enter table caption":"Εισαγωγή λεζάντας πίνακα",Groove:"Βαθουλωτό","Header column":"Στήλη κεφαλίδας","Header row":"ΓÏαμμή κεφαλίδας",Height:"Ύψος","Horizontal text alignment toolbar":"ΓÏαμμή εÏγαλείων οÏιζόντιας στοίχισης κειμÎνου","Insert a new table row (when in the last cell of a table)":"Εισαγωγή νÎας σειÏάς πίνακα (όταν βÏίσκεται στο τελευταίο κελί ενός πίνακα)","Insert column left":"Εισαγωγή στήλης αÏιστεÏά","Insert column right":"Εισαγωγή στήλης δεξιά","Insert row above":"Εισαγωγή γÏαμμής πάνω","Insert row below":"Εισαγωγή γÏαμμής κάτω","Insert table":"Εισαγωγή πίνακα",Inset:"Κείμενο με βάθος","Justify cell text":"ΠλήÏης στοίχιση κειμÎνου κελιοÏ","Keystrokes that can be used in a table cell":"ΠλήκτÏα που μποÏείτε να χÏησιμοποιήσετε σε Îνα κελί πίνακα","Merge cell down":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï ÎºÎ¬Ï„Ï‰","Merge cell left":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï Î±ÏιστεÏά","Merge cell right":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï Î´ÎµÎ¾Î¹Î¬","Merge cell up":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï Ï€Î¬Î½Ï‰","Merge cells":"Συγχώνευση κελιών","Move the selection to the next cell":"Μετακίνηση της επιλογής στο επόμενο κελί","Move the selection to the previous cell":"Μετακίνηση της επιλογής στο Ï€ÏοηγοÏμενο κελί","Navigate through the table":"Πλοήγηση στον πίνακα",None:"ΧωÏίς πεÏίγÏαμμα",Outset:"Κείμενο με Ïψος",Padding:"Απόσταση κειμÎνου από το πεÏίγÏαμμα",Ridge:"Ραχωτό",Row:"ΓÏαμμή","Select column":"Επιλογή στήλης","Select row":"Επιλογή γÏαμμής",Solid:"ΣυμπαγÎÏ‚","Split cell horizontally":"ΔιαχωÏισμός ÎºÎµÎ»Î¹Î¿Ï Î¿Ïιζόντια","Split cell vertically":"ΔιαχωÏισμός ÎºÎµÎ»Î¹Î¿Ï ÎºÎ¬Î¸ÎµÏ„Î±",Style:"Στυλ",Table:"Πίνακας","Table alignment toolbar":"ΓÏαμμή εÏγαλείων στοίχισης πίνακα","Table cell text alignment":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï Ï€Î¯Î½Î±ÎºÎ±","Table properties":"Ιδιότητες πίνακα","Table toolbar":"ΓÏαμμή εÏγαλείων πίνακα",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Το χÏώμα δεν είναι ÎγκυÏο. Δοκιμάστε «#FF0000» ή «rgb(255,0,0)» ή «red».",'The value is invalid. Try "10px" or "2em" or simply "2".':"Η τιμή δεν είναι ÎγκυÏη. Δοκιμάστε «10px» ή «2em» ή απλά «2».","Vertical text alignment toolbar":"ΓÏαμμή εÏγαλείων κάθετης στοίχισης κειμÎνου",Width:"Πλάτος"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÎºÎ¬Ï„Ï‰","Align cell text to the center":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î¿ κÎντÏο","Align cell text to the left":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î± αÏιστεÏά","Align cell text to the middle":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î¿ μÎσο","Align cell text to the right":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÏƒÏ„Î± δεξιά","Align cell text to the top":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï ÎµÏ€Î¬Î½Ï‰","Align table to the left":"Στοίχιση πίνακα στα αÏιστεÏά","Align table to the right":"Στοίχιση πίνακα στα δεξιά",Alignment:"Στοίχιση",Background:"ΥπόβαθÏο",Border:"ΠεÏίγÏαμμα","Cell properties":"Ιδιότητες κελιοÏ","Center table":"Στοίχιση πίνακα στο κÎντÏο",Color:"ΧÏώμα",Column:"Στήλη",Dashed:"Με παÏλες","Delete column":"ΔιαγÏαφή στήλης","Delete row":"ΔιαγÏαφή γÏαμμής",Dimensions:"Διαστάσεις",Dotted:"Διάστικτο",Double:"Διπλό","Enter table caption":"Εισαγωγή λεζάντας πίνακα",Groove:"Βαθουλωτό","Header column":"Στήλη κεφαλίδας","Header row":"ΓÏαμμή κεφαλίδας",Height:"Ύψος","Horizontal text alignment toolbar":"ΓÏαμμή εÏγαλείων οÏιζόντιας στοίχισης κειμÎνου","Insert a new table row (when in the last cell of a table)":"Εισαγωγή νÎας σειÏάς πίνακα (όταν βÏίσκεται στο τελευταίο κελί ενός πίνακα)","Insert column left":"Εισαγωγή στήλης αÏιστεÏά","Insert column right":"Εισαγωγή στήλης δεξιά","Insert row above":"Εισαγωγή γÏαμμής πάνω","Insert row below":"Εισαγωγή γÏαμμής κάτω","Insert table":"Εισαγωγή πίνακα",Inset:"Κείμενο με βάθος","Justify cell text":"ΠλήÏης στοίχιση κειμÎνου κελιοÏ","Keystrokes that can be used in a table cell":"ΠλήκτÏα που μποÏείτε να χÏησιμοποιήσετε σε Îνα κελί πίνακα","Merge cell down":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï ÎºÎ¬Ï„Ï‰","Merge cell left":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï Î±ÏιστεÏά","Merge cell right":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï Î´ÎµÎ¾Î¹Î¬","Merge cell up":"Συγχώνευση ÎºÎµÎ»Î¹Î¿Ï Ï€Î¬Î½Ï‰","Merge cells":"Συγχώνευση κελιών","Move the selection to the next cell":"Μετακίνηση της επιλογής στο επόμενο κελί","Move the selection to the previous cell":"Μετακίνηση της επιλογής στο Ï€ÏοηγοÏμενο κελί","Navigate through the table":"Πλοήγηση στον πίνακα",None:"ΧωÏίς πεÏίγÏαμμα",Outset:"Κείμενο με Ïψος",Padding:"Απόσταση κειμÎνου από το πεÏίγÏαμμα",Ridge:"Ραχωτό",Row:"ΓÏαμμή","Select column":"Επιλογή στήλης","Select row":"Επιλογή γÏαμμής",Solid:"ΣυμπαγÎÏ‚","Split cell horizontally":"ΔιαχωÏισμός ÎºÎµÎ»Î¹Î¿Ï Î¿Ïιζόντια","Split cell vertically":"ΔιαχωÏισμός ÎºÎµÎ»Î¹Î¿Ï ÎºÎ¬Î¸ÎµÏ„Î±",Style:"Στυλ",Table:"Πίνακας","Table alignment toolbar":"ΓÏαμμή εÏγαλείων στοίχισης πίνακα","Table cell text alignment":"Στοίχιση κειμÎνου ÎºÎµÎ»Î¹Î¿Ï Ï€Î¯Î½Î±ÎºÎ±","Table properties":"Ιδιότητες πίνακα","Table toolbar":"ΓÏαμμή εÏγαλείων πίνακα",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Το χÏώμα δεν είναι ÎγκυÏο. Δοκιμάστε «#FF0000» ή «rgb(255,0,0)» ή «red».",'The value is invalid. Try "10px" or "2em" or simply "2".':"Η τιμή δεν είναι ÎγκυÏη. Δοκιμάστε «10px» ή «2em» ή απλά «2».","Vertical text alignment toolbar":"ΓÏαμμή εÏγαλείων κάθετης στοίχισης κειμÎνου",Width:"Πλάτος"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/en-au.js b/core/assets/vendor/ckeditor5/table/translations/en-au.js index 9318aa62f8aabd9ede2c19975df5a0ebef79ef4c..22aebfbf12e9bede9367ad482abf0f705d14be8a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/en-au.js +++ b/core/assets/vendor/ckeditor5/table/translations/en-au.js @@ -1 +1 @@ -!function(e){const t=e["en-au"]=e["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Background:"Background",Border:"Border","Cell properties":"Cell properties","Center table":"Centre table",Color:"Colour","Color picker":"Colour picker",Column:"Column",Dashed:"Dashed","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"Dimensions",Dotted:"Dotted",Double:"Double","Enter table caption":"Enter table caption",Groove:"Groove","Header column":"Header column","Header row":"Header row",Height:"Height","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset","Justify cell text":"Justify cell text","Keystrokes that can be used in a table cell":"","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"None",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Row","Select column":"Select column","Select row":"Select row",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"Style",Table:"","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The colour is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"Vertical text alignment toolbar":"Vertical text alignment toolbar",Width:"Width"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["en-au"]=e["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Background:"Background",Border:"Border","Cell properties":"Cell properties","Center table":"Centre table",Color:"Colour",Column:"Column",Dashed:"Dashed","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"Dimensions",Dotted:"Dotted",Double:"Double","Enter table caption":"Enter table caption",Groove:"Groove","Header column":"Header column","Header row":"Header row",Height:"Height","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset","Justify cell text":"Justify cell text","Keystrokes that can be used in a table cell":"","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"None",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Row","Select column":"Select column","Select row":"Select row",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"Style",Table:"","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The colour is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"Vertical text alignment toolbar":"Vertical text alignment toolbar",Width:"Width"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/en-gb.js b/core/assets/vendor/ckeditor5/table/translations/en-gb.js index 03cbec707e0f6261030159d1ee26fb2569cbd656..683f085fc6cbd97f9a06f9f98910ca2db2a35ca8 100644 --- a/core/assets/vendor/ckeditor5/table/translations/en-gb.js +++ b/core/assets/vendor/ckeditor5/table/translations/en-gb.js @@ -1 +1 @@ -!function(e){const l=e["en-gb"]=e["en-gb"]||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"Column",Dashed:"","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Header column","Header row":"Header row",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"Row","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e["en-gb"]=e["en-gb"]||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"Column",Dashed:"","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Header column","Header row":"Header row",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"Row","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/es.js b/core/assets/vendor/ckeditor5/table/translations/es.js index 4050c0a918ff9a883961be43e1513f63b2d78fd2..77c13f42eb5aad93a359b9e41946f220426a0dd3 100644 --- a/core/assets/vendor/ckeditor5/table/translations/es.js +++ b/core/assets/vendor/ckeditor5/table/translations/es.js @@ -1 +1 @@ -!function(e){const l=e.es=e.es||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Alinear texto de celda hacia abajo","Align cell text to the center":"Centrar texto de celda","Align cell text to the left":"Alinear texto de celda a la izquierda","Align cell text to the middle":"Alinear texto de celda al medio","Align cell text to the right":"Alinear texto de celda a la derecha","Align cell text to the top":"Alinear texto de celda hacia arriba","Align table to the left":"Alinear tabla a la izquierda","Align table to the right":"Alinear tabla a la derecha",Alignment:"Alineación",Background:"Fondo",Border:"Borde","Cell properties":"Propiedades de celda","Center table":"Centrar tabla",Color:"Color","Color picker":"Selector de color",Column:"Columna",Dashed:"LÃnea discontinua","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Dimensions:"Dimensiones",Dotted:"LÃnea de puntos",Double:"Doble lÃnea","Enter table caption":"Ingresar tÃtulo de tabla",Groove:"Bisel","Header column":"Columna de encabezado","Header row":"Fila de encabezado",Height:"Altura","Horizontal text alignment toolbar":"Alineación horizontal de texto","Insert a new table row (when in the last cell of a table)":"Inserta una nueva fila de la tabla (cuando esté en la última celda de una tabla)","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla",Inset:"Incrustación","Justify cell text":"Justificar texto de celda","Keystrokes that can be used in a table cell":"Teclas que se pueden utilizar en una celda de tabla","Merge cell down":"Combinar celda inferior","Merge cell left":"Combinar celda izquierda","Merge cell right":"Combinar celda derecha","Merge cell up":"Combinar celda superior","Merge cells":"Combinar celdas","Move the selection to the next cell":"Mueve la selección a la siguiente celda","Move the selection to the previous cell":"Mueve la selección a la celda anterior","Navigate through the table":"Navega por la tabla",None:"Ninguno",Outset:"Relieve",Padding:"Márgenes",Ridge:"Marco",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sólido","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente",Style:"Estilo",Table:"Tabla","Table alignment toolbar":"Alineación de tabla","Table cell text alignment":"Alineación texto de celda","Table properties":"Propiedades de tabla","Table toolbar":"Barra de herramientas de tabla",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'El color es inválido. Intente con "#FF0000", "rgb(255,0,0)" o "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'El valor es inválido. Intente con "10px", "2em" o simplemente "2".',"Vertical text alignment toolbar":"Alineación vertical de texto",Width:"Ancho"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinear texto de celda hacia abajo","Align cell text to the center":"Centrar texto de celda","Align cell text to the left":"Alinear texto de celda a la izquierda","Align cell text to the middle":"Alinear texto de celda al medio","Align cell text to the right":"Alinear texto de celda a la derecha","Align cell text to the top":"Alinear texto de celda hacia arriba","Align table to the left":"Alinear tabla a la izquierda","Align table to the right":"Alinear tabla a la derecha",Alignment:"Alineación",Background:"Fondo",Border:"Borde","Cell properties":"Propiedades de celda","Center table":"Centrar tabla",Color:"Color",Column:"Columna",Dashed:"LÃnea discontinua","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Dimensions:"Dimensiones",Dotted:"LÃnea de puntos",Double:"Doble lÃnea","Enter table caption":"Ingresar tÃtulo de tabla",Groove:"Bisel","Header column":"Columna de encabezado","Header row":"Fila de encabezado",Height:"Altura","Horizontal text alignment toolbar":"Alineación horizontal de texto","Insert a new table row (when in the last cell of a table)":"Inserta una nueva fila de la tabla (cuando esté en la última celda de una tabla)","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla",Inset:"Incrustación","Justify cell text":"Justificar texto de celda","Keystrokes that can be used in a table cell":"Teclas que se pueden utilizar en una celda de tabla","Merge cell down":"Combinar celda inferior","Merge cell left":"Combinar celda izquierda","Merge cell right":"Combinar celda derecha","Merge cell up":"Combinar celda superior","Merge cells":"Combinar celdas","Move the selection to the next cell":"Mueve la selección a la siguiente celda","Move the selection to the previous cell":"Mueve la selección a la celda anterior","Navigate through the table":"Navega por la tabla",None:"Ninguno",Outset:"Relieve",Padding:"Márgenes",Ridge:"Marco",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sólido","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente",Style:"Estilo",Table:"Tabla","Table alignment toolbar":"Alineación de tabla","Table cell text alignment":"Alineación texto de celda","Table properties":"Propiedades de tabla","Table toolbar":"Barra de herramientas de tabla",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'El color es inválido. Intente con "#FF0000", "rgb(255,0,0)" o "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'El valor es inválido. Intente con "10px", "2em" o simplemente "2".',"Vertical text alignment toolbar":"Alineación vertical de texto",Width:"Ancho"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/et.js b/core/assets/vendor/ckeditor5/table/translations/et.js index 1722b0343818b7574ebb361606f4f2b1ab01bf74..71f3c5763eb9935619e9aad6e7adfd6cc6b53eaf 100644 --- a/core/assets/vendor/ckeditor5/table/translations/et.js +++ b/core/assets/vendor/ckeditor5/table/translations/et.js @@ -1 +1 @@ -!function(e){const t=e.et=e.et||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Lahtri tekst all","Align cell text to the center":"Lahtri tekst keskel","Align cell text to the left":"Lahtri tekst vasakul","Align cell text to the middle":"Lahtri tekst kõrguse järgi keskel","Align cell text to the right":"Lahtri tekst paremal","Align cell text to the top":"Lahtri tekst üleval","Align table to the left":"Tabel joondatud vasakule","Align table to the right":"Tabel joondatud paremale",Alignment:"Joondus",Background:"Taust",Border:"Ääris","Cell properties":"Lahtri omadused","Center table":"Tabel joondatud keskele",Color:"Värvus","Color picker":"Värvi valija",Column:"Veerg",Dashed:"Kriipsjoon","Delete column":"Kustuta veerg","Delete row":"Kustuta rida",Dimensions:"Mõõtmed",Dotted:"Punktiir",Double:"Topelt","Enter table caption":"Sisesta tabeli pealdis",Groove:"Kraav","Header column":"Päise veerg","Header row":"Päise rida",Height:"Kõrgus","Horizontal text alignment toolbar":"Teksti rõhtpaigutuse tööriistariba","Insert a new table row (when in the last cell of a table)":"Sisesta tabelisse uus rida (kui oled tabeli viimases reas)","Insert column left":"Sisesta veerg vasakule","Insert column right":"Sisesta veerg paremale","Insert row above":"Sisesta rida ülespoole","Insert row below":"Sisesta rida allapoole","Insert table":"Sisesta tabel",Inset:"Süvik","Justify cell text":"Lahtri tekst rööpjoondatud","Keystrokes that can be used in a table cell":"Tabeli lahtris kasutatavad klahvikombinatsioonid","Merge cell down":"Liida alumise lahtriga","Merge cell left":"Liida vasakul oleva lahtriga","Merge cell right":"Liida paremal oleva lahtriga","Merge cell up":"Liida ülemise lahtriga","Merge cells":"Liida lahtrid","Move the selection to the next cell":"Liiguta valitu järgmisesse lahtrisse","Move the selection to the previous cell":"Liiguta valitu eelmisesse lahtrisse","Navigate through the table":"Liigu tabelis",None:"Puudub",Outset:"Küngas",Padding:"Vahe sisuni",Ridge:"Vall",Row:"Rida","Select column":"Vali veerg","Select row":"Vali rida",Solid:"Pidev","Split cell horizontally":"Jaga lahter horisontaalselt","Split cell vertically":"Jaga lahter vertikaalselt",Style:"Stiil",Table:"Tabel","Table alignment toolbar":"Tabeli paigutuse tööriistariba","Table cell text alignment":"Teksti paigutus lahtris","Table properties":"Tabeli omadused","Table toolbar":"Tabelite tööriistariba",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Värvus ei sobi. Proovi "#FF0000" või "rgb(255,0,0)" või "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Väärtus ei sobi. Proovi "10px", "2em" või lihtsalt "2".',"Vertical text alignment toolbar":"Teksti püstpaigutuse tööriistariba",Width:"Laius"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.et=e.et||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Lahtri tekst all","Align cell text to the center":"Lahtri tekst keskel","Align cell text to the left":"Lahtri tekst vasakul","Align cell text to the middle":"Lahtri tekst kõrguse järgi keskel","Align cell text to the right":"Lahtri tekst paremal","Align cell text to the top":"Lahtri tekst üleval","Align table to the left":"Tabel joondatud vasakule","Align table to the right":"Tabel joondatud paremale",Alignment:"Joondus",Background:"Taust",Border:"Ääris","Cell properties":"Lahtri omadused","Center table":"Tabel joondatud keskele",Color:"Värvus",Column:"Veerg",Dashed:"Kriipsjoon","Delete column":"Kustuta veerg","Delete row":"Kustuta rida",Dimensions:"Mõõtmed",Dotted:"Punktiir",Double:"Topelt","Enter table caption":"Sisesta tabeli pealdis",Groove:"Kraav","Header column":"Päise veerg","Header row":"Päise rida",Height:"Kõrgus","Horizontal text alignment toolbar":"Teksti rõhtpaigutuse tööriistariba","Insert a new table row (when in the last cell of a table)":"Sisesta tabelisse uus rida (kui oled tabeli viimases reas)","Insert column left":"Sisesta veerg vasakule","Insert column right":"Sisesta veerg paremale","Insert row above":"Sisesta rida ülespoole","Insert row below":"Sisesta rida allapoole","Insert table":"Sisesta tabel",Inset:"Süvik","Justify cell text":"Lahtri tekst rööpjoondatud","Keystrokes that can be used in a table cell":"Tabeli lahtris kasutatavad klahvikombinatsioonid","Merge cell down":"Liida alumise lahtriga","Merge cell left":"Liida vasakul oleva lahtriga","Merge cell right":"Liida paremal oleva lahtriga","Merge cell up":"Liida ülemise lahtriga","Merge cells":"Liida lahtrid","Move the selection to the next cell":"Liiguta valitu järgmisesse lahtrisse","Move the selection to the previous cell":"Liiguta valitu eelmisesse lahtrisse","Navigate through the table":"Liigu tabelis",None:"Puudub",Outset:"Küngas",Padding:"Vahe sisuni",Ridge:"Vall",Row:"Rida","Select column":"Vali veerg","Select row":"Vali rida",Solid:"Pidev","Split cell horizontally":"Jaga lahter horisontaalselt","Split cell vertically":"Jaga lahter vertikaalselt",Style:"Stiil",Table:"Tabel","Table alignment toolbar":"Tabeli paigutuse tööriistariba","Table cell text alignment":"Teksti paigutus lahtris","Table properties":"Tabeli omadused","Table toolbar":"Tabelite tööriistariba",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Värvus ei sobi. Proovi "#FF0000" või "rgb(255,0,0)" või "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Väärtus ei sobi. Proovi "10px", "2em" või lihtsalt "2".',"Vertical text alignment toolbar":"Teksti püstpaigutuse tööriistariba",Width:"Laius"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/fa.js b/core/assets/vendor/ckeditor5/table/translations/fa.js index c9ed2d24f9c6258dbf6deec8d560af34fc04c198..b1e976ff87fd29c75a0213b5d453f05a197ae691 100644 --- a/core/assets/vendor/ckeditor5/table/translations/fa.js +++ b/core/assets/vendor/ckeditor5/table/translations/fa.js @@ -1 +1 @@ -!function(e){const t=e.fa=e.fa||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"متن سلول را در سمت راست تراز کنید","Align cell text to the top":"","Align table to the left":"","Align table to the right":"جدول را در سمت راست تراز کنید",Alignment:"ترازبندی",Background:"زمینه",Border:"Øاشیه","Cell properties":"خصوصیات سلول","Center table":"جدول وسط",Color:"رنگ","Color picker":"",Column:"ستون",Dashed:"نقطه چین","Delete column":"Øذ٠ستون","Delete row":"Øذ٠سطر",Dimensions:"ابعاد",Dotted:"خط چین",Double:"دوبل","Enter table caption":"",Groove:"خط دار کردن","Header column":"ستون سربرگ","Header row":"سطر سربرگ",Height:"ارتÙاع","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"درج ستون در سمت Ú†Ù¾","Insert column right":"درج ستون در سمت راست","Insert row above":"درج سطر در بالا","Insert row below":"درج سطر در پایین","Insert table":"درج جدول",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"ادغام سلول پایین","Merge cell left":"ادغام سلول Ú†Ù¾","Merge cell right":"ادغام سلول راست","Merge cell up":"ادغام سلول بالا","Merge cells":"ادغام سلول ها","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"هیچ کدام",Outset:"",Padding:"Øاشیه داخلی",Ridge:"",Row:"سطر","Select column":"","Select row":"",Solid:"توپر","Split cell horizontally":"تقسیم اÙÙ‚ÛŒ سلول","Split cell vertically":"تقسیم عمودی سلول",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"خصوصیات جدول","Table toolbar":"نوارابزار جدول",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:"عرض"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.fa=e.fa||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"متن سلول را در سمت راست تراز کنید","Align cell text to the top":"","Align table to the left":"","Align table to the right":"جدول را در سمت راست تراز کنید",Alignment:"ترازبندی",Background:"زمینه",Border:"Øاشیه","Cell properties":"خصوصیات سلول","Center table":"جدول وسط",Color:"رنگ",Column:"ستون",Dashed:"نقطه چین","Delete column":"Øذ٠ستون","Delete row":"Øذ٠سطر",Dimensions:"ابعاد",Dotted:"خط چین",Double:"دوبل","Enter table caption":"",Groove:"خط دار کردن","Header column":"ستون سربرگ","Header row":"سطر سربرگ",Height:"ارتÙاع","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"درج ستون در سمت Ú†Ù¾","Insert column right":"درج ستون در سمت راست","Insert row above":"درج سطر در بالا","Insert row below":"درج سطر در پایین","Insert table":"درج جدول",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"ادغام سلول پایین","Merge cell left":"ادغام سلول Ú†Ù¾","Merge cell right":"ادغام سلول راست","Merge cell up":"ادغام سلول بالا","Merge cells":"ادغام سلول ها","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"هیچ کدام",Outset:"",Padding:"Øاشیه داخلی",Ridge:"",Row:"سطر","Select column":"","Select row":"",Solid:"توپر","Split cell horizontally":"تقسیم اÙÙ‚ÛŒ سلول","Split cell vertically":"تقسیم عمودی سلول",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"خصوصیات جدول","Table toolbar":"نوارابزار جدول",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:"عرض"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/fi.js b/core/assets/vendor/ckeditor5/table/translations/fi.js index 2e978e23c3b62fe8b263850834e19847ed148faf..028b00caaef331dad390f3ac18112c8226cdcc55 100644 --- a/core/assets/vendor/ckeditor5/table/translations/fi.js +++ b/core/assets/vendor/ckeditor5/table/translations/fi.js @@ -1 +1 @@ -!function(e){const t=e.fi=e.fi||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Siirrä solun teksti alaosaan","Align cell text to the center":"Siirrä solun teksti keskelle","Align cell text to the left":"Siirrä solun teksti vasemmalle","Align cell text to the middle":"Siirrä solun teksti keskiosaan","Align cell text to the right":"Siirrä solun teksti oikealle","Align cell text to the top":"Siirrä solun teksti yläosaan","Align table to the left":"Siirrä taulukko vasemmalle","Align table to the right":"Siirrä taulukko oikealle",Alignment:"Suunta",Background:"Tausta",Border:"Reunus","Cell properties":"Solun ominaisuudet","Center table":"Keskitä taulukko",Color:"Väri","Color picker":"Värin valitsin",Column:"Sarake",Dashed:"Katkoviiva","Delete column":"Poista sarake","Delete row":"Poista rivi",Dimensions:"Mittasuhteet",Dotted:"Pisteviiva",Double:"Kaksinkertainen","Enter table caption":"Syötä taulukon kuvaus",Groove:"Uurrettu","Header column":"Otsikkosarake","Header row":"Otsikkorivi",Height:"Korkeus","Horizontal text alignment toolbar":"Vaakasuoran tekstin suunnan työkalupalkki","Insert a new table row (when in the last cell of a table)":"Liitä uusi taulukkorivi (pätee taulukon viimeiseen soluun)","Insert column left":"Lisää sarake vasemmalle","Insert column right":"Lisää sarake oikealle","Insert row above":"Lisää rivi ylle","Insert row below":"Lisää rivi alle","Insert table":"Lisää taulukko",Inset:"Upote","Justify cell text":"Tasaa solun teksti","Keystrokes that can be used in a table cell":"Painallukset, joita voidaan käyttää taulukon solussa","Merge cell down":"Yhdistä solu alas","Merge cell left":"Yhdistä solu vasemmalle","Merge cell right":"Yhdistä solu oikealle","Merge cell up":"Yhdistä solu ylös","Merge cells":"Yhdistä tai jaa soluja","Move the selection to the next cell":"Siirrä valittu kohde seuraavaan soluun","Move the selection to the previous cell":"Siirrä valittu kohde edelliseen soluun","Navigate through the table":"Siirry taulukossa",None:"Ei mitään",Outset:"Ulkonema",Padding:"Täyte",Ridge:"Harjanne",Row:"Rivi","Select column":"Valitse sarake","Select row":"Valitse rivi",Solid:"Kiinteä","Split cell horizontally":"Jaa solu vaakasuunnassa","Split cell vertically":"Jaa solu pystysuunnassa",Style:"Tyyli",Table:"Taulukko","Table alignment toolbar":"Taulukon suunnan työkalupalkki","Table cell text alignment":"Taulukkosolun tekstin suunta","Table properties":"Taulukon ominaisuudet","Table toolbar":"Taulukon työkalupalkki",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Väri ei kelpaa. Ota sen sijaan käyttöön "#FF0000", "rgb(255,0,0)" tai "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Arvo ei kelpaa. Ota käyttöön "10px", "2em" tai pelkästään "2".',"Vertical text alignment toolbar":"Pystysuoran tekstin suunnan työkalupalkki",Width:"Leveys"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.fi=e.fi||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Siirrä solun teksti alaosaan","Align cell text to the center":"Siirrä solun teksti keskelle","Align cell text to the left":"Siirrä solun teksti vasemmalle","Align cell text to the middle":"Siirrä solun teksti keskiosaan","Align cell text to the right":"Siirrä solun teksti oikealle","Align cell text to the top":"Siirrä solun teksti yläosaan","Align table to the left":"Siirrä taulukko vasemmalle","Align table to the right":"Siirrä taulukko oikealle",Alignment:"Suunta",Background:"Tausta",Border:"Reunus","Cell properties":"Solun ominaisuudet","Center table":"Keskitä taulukko",Color:"Väri",Column:"Sarake",Dashed:"Katkoviiva","Delete column":"Poista sarake","Delete row":"Poista rivi",Dimensions:"Mittasuhteet",Dotted:"Pisteviiva",Double:"Kaksinkertainen","Enter table caption":"Syötä taulukon kuvaus",Groove:"Uurrettu","Header column":"Otsikkosarake","Header row":"Otsikkorivi",Height:"Korkeus","Horizontal text alignment toolbar":"Vaakasuoran tekstin suunnan työkalupalkki","Insert a new table row (when in the last cell of a table)":"Liitä uusi taulukkorivi (pätee taulukon viimeiseen soluun)","Insert column left":"Lisää sarake vasemmalle","Insert column right":"Lisää sarake oikealle","Insert row above":"Lisää rivi ylle","Insert row below":"Lisää rivi alle","Insert table":"Lisää taulukko",Inset:"Upote","Justify cell text":"Tasaa solun teksti","Keystrokes that can be used in a table cell":"Painallukset, joita voidaan käyttää taulukon solussa","Merge cell down":"Yhdistä solu alas","Merge cell left":"Yhdistä solu vasemmalle","Merge cell right":"Yhdistä solu oikealle","Merge cell up":"Yhdistä solu ylös","Merge cells":"Yhdistä tai jaa soluja","Move the selection to the next cell":"Siirrä valittu kohde seuraavaan soluun","Move the selection to the previous cell":"Siirrä valittu kohde edelliseen soluun","Navigate through the table":"Siirry taulukossa",None:"Ei mitään",Outset:"Ulkonema",Padding:"Täyte",Ridge:"Harjanne",Row:"Rivi","Select column":"Valitse sarake","Select row":"Valitse rivi",Solid:"Kiinteä","Split cell horizontally":"Jaa solu vaakasuunnassa","Split cell vertically":"Jaa solu pystysuunnassa",Style:"Tyyli",Table:"Taulukko","Table alignment toolbar":"Taulukon suunnan työkalupalkki","Table cell text alignment":"Taulukkosolun tekstin suunta","Table properties":"Taulukon ominaisuudet","Table toolbar":"Taulukon työkalupalkki",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Väri ei kelpaa. Ota sen sijaan käyttöön "#FF0000", "rgb(255,0,0)" tai "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Arvo ei kelpaa. Ota käyttöön "10px", "2em" tai pelkästään "2".',"Vertical text alignment toolbar":"Pystysuoran tekstin suunnan työkalupalkki",Width:"Leveys"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/fr.js b/core/assets/vendor/ckeditor5/table/translations/fr.js index eb5037bab7a9b8fa85e76f5d2e89ebee1a00ebb8..f9cdea232ba81271b7dd20721213c9b10551869a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/fr.js +++ b/core/assets/vendor/ckeditor5/table/translations/fr.js @@ -1 +1 @@ -!function(e){const l=e.fr=e.fr||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Aligner le texte en bas","Align cell text to the center":"Aligner la cellule au centre","Align cell text to the left":"Aligner la cellule à gauche","Align cell text to the middle":"Aligner le texte au milieu","Align cell text to the right":"Aligner la cellule à droite","Align cell text to the top":"Aligner le texte en haut","Align table to the left":"Aligner le tableau à gauche","Align table to the right":"Aligner le tableau à droite",Alignment:"Alignement",Background:"Fond",Border:"Bordure","Cell properties":"Propriétés de la cellule","Center table":"Centrer le tableau ",Color:"Couleur","Color picker":"Pipette à couleurs",Column:"Colonne",Dashed:"Tirets","Delete column":"Supprimer la colonne","Delete row":"Supprimer la ligne",Dimensions:"Dimensions",Dotted:"Pointillés",Double:"Double","Enter table caption":"Saisir la légende du tableau",Groove:"Rainuré","Header column":"Colonne d'entête","Header row":"Ligne d'entête",Height:"Hauteur","Horizontal text alignment toolbar":"Barre d'outils pour modifier l'alignement horizontal du texte","Insert a new table row (when in the last cell of a table)":"Insérer une nouvelle ligne de tableau (dans la dernière cellule d'un tableau)","Insert column left":"Insérer une colonne à gauche","Insert column right":"Insérer une colonne à droite","Insert row above":"Insérer une ligne au-dessus","Insert row below":"Insérer une ligne en-dessous","Insert table":"Insérer un tableau",Inset:"Relief intérieur","Justify cell text":"Justifier le contenu de la cellule","Keystrokes that can be used in a table cell":"Frappes de touches pouvant être utilisées dans une cellule de tableau","Merge cell down":"Fusionner la cellule en-dessous","Merge cell left":"Fusionner la cellule à gauche","Merge cell right":"Fusionner la cellule à droite","Merge cell up":"Fusionner la cellule au-dessus","Merge cells":"Fusionner les cellules","Move the selection to the next cell":"Déplacer la sélection vers la cellule suivante","Move the selection to the previous cell":"Déplacer la sélection vers la cellule précédente","Navigate through the table":"Naviguer dans le tableau",None:"Aucun",Outset:"Relief extérieur",Padding:"Remplissage pour aérer le texte",Ridge:"Relief",Row:"Ligne","Select column":"Sélectionner la colonne","Select row":"Sélectionner la ligne",Solid:"Continu","Split cell horizontally":"Scinder la cellule horizontalement","Split cell vertically":"Scinder la cellule verticalement",Style:"Style",Table:"Tableau","Table alignment toolbar":"Barre d'outils pour modifier l'alignement du tableau","Table cell text alignment":"Alignement du texte de la cellule","Table properties":"Propriétés du tableau","Table toolbar":"Barre d'outils des tableaux",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'La couleur est invalide. Essayez "#FF0000" ou "rgb(255,0,0)" ou "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'La valeur est invalide. Essayez "10px" ou "2em" ou simplement "2".',"Vertical text alignment toolbar":"Barre d'outils pour modifier l'alignement vertical du texte",Width:"Largeur"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.fr=e.fr||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Aligner le texte en bas","Align cell text to the center":"Aligner la cellule au centre","Align cell text to the left":"Aligner la cellule à gauche","Align cell text to the middle":"Aligner le texte au milieu","Align cell text to the right":"Aligner la cellule à droite","Align cell text to the top":"Aligner le texte en haut","Align table to the left":"Aligner le tableau à gauche","Align table to the right":"Aligner le tableau à droite",Alignment:"Alignement",Background:"Fond",Border:"Bordure","Cell properties":"Propriétés de la cellule","Center table":"Centrer le tableau ",Color:"Couleur",Column:"Colonne",Dashed:"Tirets","Delete column":"Supprimer la colonne","Delete row":"Supprimer la ligne",Dimensions:"Dimensions",Dotted:"Pointillés",Double:"Double","Enter table caption":"Saisir la légende du tableau",Groove:"Rainuré","Header column":"Colonne d'entête","Header row":"Ligne d'entête",Height:"Hauteur","Horizontal text alignment toolbar":"Barre d'outils pour modifier l'alignement horizontal du texte","Insert a new table row (when in the last cell of a table)":"Insérer une nouvelle ligne de tableau (dans la dernière cellule d'un tableau)","Insert column left":"Insérer une colonne à gauche","Insert column right":"Insérer une colonne à droite","Insert row above":"Insérer une ligne au-dessus","Insert row below":"Insérer une ligne en-dessous","Insert table":"Insérer un tableau",Inset:"Relief intérieur","Justify cell text":"Justifier le contenu de la cellule","Keystrokes that can be used in a table cell":"Frappes de touches pouvant être utilisées dans une cellule de tableau","Merge cell down":"Fusionner la cellule en-dessous","Merge cell left":"Fusionner la cellule à gauche","Merge cell right":"Fusionner la cellule à droite","Merge cell up":"Fusionner la cellule au-dessus","Merge cells":"Fusionner les cellules","Move the selection to the next cell":"Déplacer la sélection vers la cellule suivante","Move the selection to the previous cell":"Déplacer la sélection vers la cellule précédente","Navigate through the table":"Naviguer dans le tableau",None:"Aucun",Outset:"Relief extérieur",Padding:"Remplissage pour aérer le texte",Ridge:"Relief",Row:"Ligne","Select column":"Sélectionner la colonne","Select row":"Sélectionner la ligne",Solid:"Continu","Split cell horizontally":"Scinder la cellule horizontalement","Split cell vertically":"Scinder la cellule verticalement",Style:"Style",Table:"Tableau","Table alignment toolbar":"Barre d'outils pour modifier l'alignement du tableau","Table cell text alignment":"Alignement du texte de la cellule","Table properties":"Propriétés du tableau","Table toolbar":"Barre d'outils des tableaux",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'La couleur est invalide. Essayez "#FF0000" ou "rgb(255,0,0)" ou "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'La valeur est invalide. Essayez "10px" ou "2em" ou simplement "2".',"Vertical text alignment toolbar":"Barre d'outils pour modifier l'alignement vertical du texte",Width:"Largeur"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/gl.js b/core/assets/vendor/ckeditor5/table/translations/gl.js index ac3f1325495aa1c41881616639aa7ac0bc515eb1..02d83f2e22f3d022365dcaa45cc287b98aae8f01 100644 --- a/core/assets/vendor/ckeditor5/table/translations/gl.js +++ b/core/assets/vendor/ckeditor5/table/translations/gl.js @@ -1 +1 @@ -!function(e){const a=e.gl=e.gl||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Aliñar o texto da cela á base","Align cell text to the center":"Aliñar o texto da cela ao centro","Align cell text to the left":"Aliñar o texto da cela á esquerda","Align cell text to the middle":"Aliñar o texto da cela ao medio","Align cell text to the right":"Aliña o texto da cela á dereita","Align cell text to the top":"Aliñar o texto da cela á parte superior","Align table to the left":"Aliñar a táboa á esquerda","Align table to the right":"Aliñar a táboa á dereita",Alignment:"Aliñamento",Background:"Fondo",Border:"Bordo","Cell properties":"Propiedades da cela","Center table":"Centrar a táboa",Color:"Cor","Color picker":"Selector de cores",Column:"Columna",Dashed:"Raiado","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Dimensions:"Dimensións",Dotted:"Punteado",Double:"Dobre","Enter table caption":"Introduza o tÃtulo da táboa",Groove:"Rañura","Header column":"Cabeceira de columna","Header row":"Cabeceira de fila",Height:"Alto","Horizontal text alignment toolbar":"Barra de ferramentas de aliñamento de texto horizontal","Insert a new table row (when in the last cell of a table)":"Inserir unha nova fila de táboa (cando se atope na última cela dunha táboa)","Insert column left":"Inserir columna á esquerda","Insert column right":"Inserir columna á dereita","Insert row above":"Inserir fila enriba","Insert row below":"Inserir fila embaixo","Insert table":"Inserir táboa",Inset:"Inserción","Justify cell text":"Xustificar o texto da cela","Keystrokes that can be used in a table cell":"Teclas de atallo que se poden usar nunha cela da táboa","Merge cell down":"Combinar cela cara abaixo","Merge cell left":"Combinar cela cara a esquerda","Merge cell right":"Combinar cela cara a dereita","Merge cell up":"Combinar cela cara arriba","Merge cells":"Combinar celas","Move the selection to the next cell":"Mover a selección cara a seguinte cela","Move the selection to the previous cell":"Mover a selección cara a cela anterior","Navigate through the table":"Desprazarse pola táboa",None:"Ningún",Outset:"Inicio",Padding:"Recheo",Ridge:"Crista",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sólido","Split cell horizontally":"Dividir cela en horizontal","Split cell vertically":"Dividir cela en vertical",Style:"Estilo",Table:"Táboa","Table alignment toolbar":"Barra de ferramentas de aliñamento da táboa","Table cell text alignment":"Aliñamento do texto das celas da táboa","Table properties":"Propiedades da táboa","Table toolbar":"Barra de ferramentas de táboas",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"A cor non é válida. Probe «#FF0000» ou «rgb(255,0,0)» ou «vermello».",'The value is invalid. Try "10px" or "2em" or simply "2".':"O valor non é válido. Probe «10px» ou «2em» ou simplemente «2».","Vertical text alignment toolbar":"Barra de ferramentas de aliñamento de texto vertical",Width:"Largo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.gl=e.gl||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Aliñar o texto da cela á base","Align cell text to the center":"Aliñar o texto da cela ao centro","Align cell text to the left":"Aliñar o texto da cela á esquerda","Align cell text to the middle":"Aliñar o texto da cela ao medio","Align cell text to the right":"Aliña o texto da cela á dereita","Align cell text to the top":"Aliñar o texto da cela á parte superior","Align table to the left":"Aliñar a táboa á esquerda","Align table to the right":"Aliñar a táboa á dereita",Alignment:"Aliñamento",Background:"Fondo",Border:"Bordo","Cell properties":"Propiedades da cela","Center table":"Centrar a táboa",Color:"Cor",Column:"Columna",Dashed:"Raiado","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Dimensions:"Dimensións",Dotted:"Punteado",Double:"Dobre","Enter table caption":"Introduza o tÃtulo da táboa",Groove:"Rañura","Header column":"Cabeceira de columna","Header row":"Cabeceira de fila",Height:"Alto","Horizontal text alignment toolbar":"Barra de ferramentas de aliñamento de texto horizontal","Insert a new table row (when in the last cell of a table)":"Inserir unha nova fila de táboa (cando se atope na última cela dunha táboa)","Insert column left":"Inserir columna á esquerda","Insert column right":"Inserir columna á dereita","Insert row above":"Inserir fila enriba","Insert row below":"Inserir fila embaixo","Insert table":"Inserir táboa",Inset:"Inserción","Justify cell text":"Xustificar o texto da cela","Keystrokes that can be used in a table cell":"Teclas de atallo que se poden usar nunha cela da táboa","Merge cell down":"Combinar cela cara abaixo","Merge cell left":"Combinar cela cara a esquerda","Merge cell right":"Combinar cela cara a dereita","Merge cell up":"Combinar cela cara arriba","Merge cells":"Combinar celas","Move the selection to the next cell":"Mover a selección cara a seguinte cela","Move the selection to the previous cell":"Mover a selección cara a cela anterior","Navigate through the table":"Desprazarse pola táboa",None:"Ningún",Outset:"Inicio",Padding:"Recheo",Ridge:"Crista",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sólido","Split cell horizontally":"Dividir cela en horizontal","Split cell vertically":"Dividir cela en vertical",Style:"Estilo",Table:"Táboa","Table alignment toolbar":"Barra de ferramentas de aliñamento da táboa","Table cell text alignment":"Aliñamento do texto das celas da táboa","Table properties":"Propiedades da táboa","Table toolbar":"Barra de ferramentas de táboas",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"A cor non é válida. Probe «#FF0000» ou «rgb(255,0,0)» ou «vermello».",'The value is invalid. Try "10px" or "2em" or simply "2".':"O valor non é válido. Probe «10px» ou «2em» ou simplemente «2».","Vertical text alignment toolbar":"Barra de ferramentas de aliñamento de texto vertical",Width:"Largo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/he.js b/core/assets/vendor/ckeditor5/table/translations/he.js index 7b33b3d559b3153382f24a7c5ea0e6fb6ccc0c38..425dc8305ed24a8911ca2e4343688e9cb4fc0d26 100644 --- a/core/assets/vendor/ckeditor5/table/translations/he.js +++ b/core/assets/vendor/ckeditor5/table/translations/he.js @@ -1 +1 @@ -!function(e){const t=e.he=e.he||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"יישר ×ת טקסט ×”×ª× ×œ×—×œ×§ התחתון","Align cell text to the center":"יישר ×ת טקסט ×”×ª× ×œ×ž×¨×›×–","Align cell text to the left":"יישר ×ת טקסט ×”×ª× ×œ×©×ž×ל","Align cell text to the middle":"יישר ×ת טקסט ×”×ª× ×œ×מצע","Align cell text to the right":"יישר ×ת טקסט ×”×ª× ×œ×™×ž×™×Ÿ","Align cell text to the top":"יישר ×ת טקסט ×”×ª× ×œ×—×œ×§ העליון","Align table to the left":"יישור טבלה לשמ×ל","Align table to the right":"יישור טבלה לימין",Alignment:"יישור",Background:"רקע",Border:"גבול","Cell properties":"×פשרויות ת×","Center table":"מירכוז טבלה",Color:"צבע","Color picker":"בורר הצבעי×",Column:"עמודה",Dashed:"מקווקו","Delete column":"מחיקת עמודה","Delete row":"מחיקת שורה",Dimensions:"ממדי×",Dotted:"×ž× ×•×§×“",Double:"כפול","Enter table caption":"×”×–×™× ×• כיתוב טבלה",Groove:"Groove","Header column":"עמודת כותרת","Header row":"שורת כותרת",Height:"גובה","Horizontal text alignment toolbar":"סרגל ×›×œ×™× ×©×œ יישור טקסט ×ופקי","Insert a new table row (when in the last cell of a table)":"הוספת שורה חדשה לטבלה (×›×שר ×‘×ª× ×”×חרון של טבלה)","Insert column left":"×”×›× ×¡×ª עמודה משמ×ל","Insert column right":"×”×›× ×¡×ª עמודה מימן","Insert row above":"×”×›× ×¡×ª שורה מעל","Insert row below":"×”×›× ×” שורה מתחת","Insert table":"×”×›× ×¡ טבלה",Inset:"×¤× ×™×ž×™","Justify cell text":"יישר ×ת טקסט ×”×ª× ×œ×©× ×™ הצדדי×","Keystrokes that can be used in a table cell":"×ž×§×©×™× ×‘×”× × ×™×ª×Ÿ להשתמש ×‘×ª× ×‘×˜×‘×œ×”","Merge cell down":"מיזוג ×ª× ×œ×ž×˜×”","Merge cell left":"מיזוג ×ª× ×©×ž×לה","Merge cell right":"מיזוג ×ª× ×™×ž×™× ×”","Merge cell up":"מיזוג ×ª× ×œ×ž×¢×œ×”","Merge cells":"מיזוג ת××™×","Move the selection to the next cell":"העברת הבחירה ×œ×ª× ×”×‘×","Move the selection to the previous cell":"העברת הבחירה ×œ×ª× ×”×§×•×“×","Navigate through the table":"× ×™×•×•×˜ בטבלה",None:"לל×",Outset:"×—×™×¦×•× ×™",Padding:"מרווח",Ridge:"Ridge",Row:"שורה","Select column":"בחירת עמודה","Select row":"בחירת שורה",Solid:"×חיד","Split cell horizontally":"פיצול ×ª× ×ופקית","Split cell vertically":"פיצול ×ª× ×× ×›×™×ª",Style:"עיצוב",Table:"טבלה","Table alignment toolbar":"סרגל ×›×œ×™× ×©×œ יישור טבלה","Table cell text alignment":"יישור טקסט של ×ª× ×˜×‘×œ×”","Table properties":"×פשרויות טבלה","Table toolbar":"סרגל ×›×œ×™× ×©×œ טבלה",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'הצבע ×œ× ×—×•×§×™. × ×¡×• "#FF0000" ×ו "rgb(255,0,0)" ×ו "×דו×".','The value is invalid. Try "10px" or "2em" or simply "2".':'הערך ×œ× ×—×•×§×™. × ×¡×• "10px" ×ו "2em" ×ו פשוט "2".',"Vertical text alignment toolbar":"סרגל ×›×œ×™× ×©×œ יישור טקסט ×× ×›×™",Width:"רוחב"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.he=e.he||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"יישר ×ת טקסט ×”×ª× ×œ×—×œ×§ התחתון","Align cell text to the center":"יישר ×ת טקסט ×”×ª× ×œ×ž×¨×›×–","Align cell text to the left":"יישר ×ת טקסט ×”×ª× ×œ×©×ž×ל","Align cell text to the middle":"יישר ×ת טקסט ×”×ª× ×œ×מצע","Align cell text to the right":"יישר ×ת טקסט ×”×ª× ×œ×™×ž×™×Ÿ","Align cell text to the top":"יישר ×ת טקסט ×”×ª× ×œ×—×œ×§ העליון","Align table to the left":"יישור טבלה לשמ×ל","Align table to the right":"יישור טבלה לימין",Alignment:"יישור",Background:"רקע",Border:"גבול","Cell properties":"×פשרויות ת×","Center table":"מירכוז טבלה",Color:"צבע",Column:"עמודה",Dashed:"מקווקו","Delete column":"מחיקת עמודה","Delete row":"מחיקת שורה",Dimensions:"ממדי×",Dotted:"×ž× ×•×§×“",Double:"כפול","Enter table caption":"×”×–×™× ×• כיתוב טבלה",Groove:"Groove","Header column":"עמודת כותרת","Header row":"שורת כותרת",Height:"גובה","Horizontal text alignment toolbar":"סרגל ×›×œ×™× ×©×œ יישור טקסט ×ופקי","Insert a new table row (when in the last cell of a table)":"הוספת שורה חדשה לטבלה (×›×שר ×‘×ª× ×”×חרון של טבלה)","Insert column left":"×”×›× ×¡×ª עמודה משמ×ל","Insert column right":"×”×›× ×¡×ª עמודה מימן","Insert row above":"×”×›× ×¡×ª שורה מעל","Insert row below":"×”×›× ×” שורה מתחת","Insert table":"×”×›× ×¡ טבלה",Inset:"×¤× ×™×ž×™","Justify cell text":"יישר ×ת טקסט ×”×ª× ×œ×©× ×™ הצדדי×","Keystrokes that can be used in a table cell":"×ž×§×©×™× ×‘×”× × ×™×ª×Ÿ להשתמש ×‘×ª× ×‘×˜×‘×œ×”","Merge cell down":"מיזוג ×ª× ×œ×ž×˜×”","Merge cell left":"מיזוג ×ª× ×©×ž×לה","Merge cell right":"מיזוג ×ª× ×™×ž×™× ×”","Merge cell up":"מיזוג ×ª× ×œ×ž×¢×œ×”","Merge cells":"מיזוג ת××™×","Move the selection to the next cell":"העברת הבחירה ×œ×ª× ×”×‘×","Move the selection to the previous cell":"העברת הבחירה ×œ×ª× ×”×§×•×“×","Navigate through the table":"× ×™×•×•×˜ בטבלה",None:"לל×",Outset:"×—×™×¦×•× ×™",Padding:"מרווח",Ridge:"Ridge",Row:"שורה","Select column":"בחירת עמודה","Select row":"בחירת שורה",Solid:"×חיד","Split cell horizontally":"פיצול ×ª× ×ופקית","Split cell vertically":"פיצול ×ª× ×× ×›×™×ª",Style:"עיצוב",Table:"טבלה","Table alignment toolbar":"סרגל ×›×œ×™× ×©×œ יישור טבלה","Table cell text alignment":"יישור טקסט של ×ª× ×˜×‘×œ×”","Table properties":"×פשרויות טבלה","Table toolbar":"סרגל ×›×œ×™× ×©×œ טבלה",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'הצבע ×œ× ×—×•×§×™. × ×¡×• "#FF0000" ×ו "rgb(255,0,0)" ×ו "×דו×".','The value is invalid. Try "10px" or "2em" or simply "2".':'הערך ×œ× ×—×•×§×™. × ×¡×• "10px" ×ו "2em" ×ו פשוט "2".',"Vertical text alignment toolbar":"סרגל ×›×œ×™× ×©×œ יישור טקסט ×× ×›×™",Width:"רוחב"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/hi.js b/core/assets/vendor/ckeditor5/table/translations/hi.js index 502867dda7ccf1713f9a53909a15b95e63b4e59b..9727d096b6850416b9dca40b30dd37f50b2d0abf 100644 --- a/core/assets/vendor/ckeditor5/table/translations/hi.js +++ b/core/assets/vendor/ckeditor5/table/translations/hi.js @@ -1 +1 @@ -!function(e){const t=e.hi=e.hi||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Background:"Background",Border:"Border","Cell properties":"Cell properties","Center table":"Center table",Color:"Color","Color picker":"Color picker",Column:"Column",Dashed:"Dashed","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"Dimensions",Dotted:"Dotted",Double:"Double","Enter table caption":"टेबल कैपà¥à¤¶à¤¨ à¤à¤‚टर करें",Groove:"Groove","Header column":"Header column","Header row":"Header row",Height:"Height","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Insert a new table row (when in the last cell of a table)":"à¤à¤• नई टेबल रो इंसरà¥à¤Ÿ करें (जब आप किसी टेबल के आख़िरी सेल में हों)","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset","Justify cell text":"Justify cell text","Keystrokes that can be used in a table cell":"वे कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸ जिनका इसà¥à¤¤à¥‡à¤®à¤¾à¤² à¤à¤• टेबल सेल में किया जा सकता है","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"सेलेकà¥à¤¶à¤¨ को अगले सेल में मूव करें","Move the selection to the previous cell":"सेलेकà¥à¤¶à¤¨ को पिछले सेल में मूव करें","Navigate through the table":"टेबल में नैविगेट करें",None:"None",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Row","Select column":"Select column","Select row":"Select row",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"Style",Table:"टेबल","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"Vertical text alignment toolbar":"Vertical text alignment toolbar",Width:"Width"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.hi=e.hi||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Background:"Background",Border:"Border","Cell properties":"Cell properties","Center table":"Center table",Color:"Color",Column:"Column",Dashed:"Dashed","Delete column":"Delete column","Delete row":"Delete row",Dimensions:"Dimensions",Dotted:"Dotted",Double:"Double","Enter table caption":"टेबल कैपà¥à¤¶à¤¨ à¤à¤‚टर करें",Groove:"Groove","Header column":"Header column","Header row":"Header row",Height:"Height","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Insert a new table row (when in the last cell of a table)":"à¤à¤• नई टेबल रो इंसरà¥à¤Ÿ करें (जब आप किसी टेबल के आख़िरी सेल में हों)","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset","Justify cell text":"Justify cell text","Keystrokes that can be used in a table cell":"वे कीसà¥à¤Ÿà¥à¤°à¥‹à¤•à¥à¤¸ जिनका इसà¥à¤¤à¥‡à¤®à¤¾à¤² à¤à¤• टेबल सेल में किया जा सकता है","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move the selection to the next cell":"सेलेकà¥à¤¶à¤¨ को अगले सेल में मूव करें","Move the selection to the previous cell":"सेलेकà¥à¤¶à¤¨ को पिछले सेल में मूव करें","Navigate through the table":"टेबल में नैविगेट करें",None:"None",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Row","Select column":"Select column","Select row":"Select row",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Style:"Style",Table:"टेबल","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"Vertical text alignment toolbar":"Vertical text alignment toolbar",Width:"Width"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/hr.js b/core/assets/vendor/ckeditor5/table/translations/hr.js index fd4b16ef66a6262b64d8dc15c7eabf0a59e94899..7780908e0fdc03e218396e010f66e77d3c875a7a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/hr.js +++ b/core/assets/vendor/ckeditor5/table/translations/hr.js @@ -1 +1 @@ -!function(e){const t=e.hr=e.hr||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Tekst ćelije poravnaj prema dolje","Align cell text to the center":"Tekst ćelije poravnaj u sredinu","Align cell text to the left":"Tekst ćelije poravnaj lijevo","Align cell text to the middle":"Tekst ćelije poravnaj u sredinu","Align cell text to the right":"Tekst ćelije poravnaj udesno","Align cell text to the top":"Tekst ćelije poravnaj prema gore","Align table to the left":"Poravnaj tablicu ulijevo","Align table to the right":"Poravnaj tablicu udesno",Alignment:"Poravnanje",Background:"Pozadina",Border:"Granica","Cell properties":"Svojstva ćelije","Center table":"Centriraj tablicu",Color:"Boja","Color picker":"BiraÄ boje",Column:"Kolona",Dashed:"CrtiÄasta","Delete column":"ObriÅ¡i kolonu","Delete row":"ObriÅ¡i red",Dimensions:"Dimenzije",Dotted:"ToÄkasta",Double:"Dvostruka","Enter table caption":"Unesite natpis",Groove:"","Header column":"Kolona zaglavlja","Header row":"Red zaglavlja",Height:"Visina","Horizontal text alignment toolbar":"Alatna traka za horizontalno poravnanje teksta","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Umetni stupac lijevo","Insert column right":"Umetni stupac desno","Insert row above":"Ubaci red iznad","Insert row below":"Ubaci red ispod","Insert table":"Ubaci tablicu",Inset:"","Justify cell text":"Razvuci tekst ćelije","Keystrokes that can be used in a table cell":"","Merge cell down":"Spoji ćelije prema dolje","Merge cell left":"Spoji ćelije prema lijevo","Merge cell right":"Spoji ćelije prema desno","Merge cell up":"Spoji ćelije prema gore","Merge cells":"Spoji ćelije","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Nikakva",Outset:"",Padding:"Podstava",Ridge:"Greben",Row:"Red","Select column":"Odaberi stupac","Select row":"Odaberi redak",Solid:"Neprekidna","Split cell horizontally":"Razdvoji ćeliju vodoravno","Split cell vertically":"Razdvoji ćeliju okomito",Style:"Stil",Table:"","Table alignment toolbar":"Alatna traka za poravnanje tablice","Table cell text alignment":"Poravnanje teksta ćelije tablice","Table properties":"Svojstva tablice","Table toolbar":"Traka za tablice",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Neispravna boja. PokuÅ¡ajte "#FF0000" ili "rgb(255,0,0)" ili "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Neispravna vrijednost. PokuÅ¡ajte "10px" ili "2em" ili jednostavno "2".',"Vertical text alignment toolbar":"Alatna traka za vertikalno poravnanje teksta",Width:"Å irina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.hr=e.hr||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Tekst ćelije poravnaj prema dolje","Align cell text to the center":"Tekst ćelije poravnaj u sredinu","Align cell text to the left":"Tekst ćelije poravnaj lijevo","Align cell text to the middle":"Tekst ćelije poravnaj u sredinu","Align cell text to the right":"Tekst ćelije poravnaj udesno","Align cell text to the top":"Tekst ćelije poravnaj prema gore","Align table to the left":"Poravnaj tablicu ulijevo","Align table to the right":"Poravnaj tablicu udesno",Alignment:"Poravnanje",Background:"Pozadina",Border:"Granica","Cell properties":"Svojstva ćelije","Center table":"Centriraj tablicu",Color:"Boja",Column:"Kolona",Dashed:"CrtiÄasta","Delete column":"ObriÅ¡i kolonu","Delete row":"ObriÅ¡i red",Dimensions:"Dimenzije",Dotted:"ToÄkasta",Double:"Dvostruka","Enter table caption":"Unesite natpis",Groove:"","Header column":"Kolona zaglavlja","Header row":"Red zaglavlja",Height:"Visina","Horizontal text alignment toolbar":"Alatna traka za horizontalno poravnanje teksta","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Umetni stupac lijevo","Insert column right":"Umetni stupac desno","Insert row above":"Ubaci red iznad","Insert row below":"Ubaci red ispod","Insert table":"Ubaci tablicu",Inset:"","Justify cell text":"Razvuci tekst ćelije","Keystrokes that can be used in a table cell":"","Merge cell down":"Spoji ćelije prema dolje","Merge cell left":"Spoji ćelije prema lijevo","Merge cell right":"Spoji ćelije prema desno","Merge cell up":"Spoji ćelije prema gore","Merge cells":"Spoji ćelije","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Nikakva",Outset:"",Padding:"Podstava",Ridge:"Greben",Row:"Red","Select column":"Odaberi stupac","Select row":"Odaberi redak",Solid:"Neprekidna","Split cell horizontally":"Razdvoji ćeliju vodoravno","Split cell vertically":"Razdvoji ćeliju okomito",Style:"Stil",Table:"","Table alignment toolbar":"Alatna traka za poravnanje tablice","Table cell text alignment":"Poravnanje teksta ćelije tablice","Table properties":"Svojstva tablice","Table toolbar":"Traka za tablice",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Neispravna boja. PokuÅ¡ajte "#FF0000" ili "rgb(255,0,0)" ili "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Neispravna vrijednost. PokuÅ¡ajte "10px" ili "2em" ili jednostavno "2".',"Vertical text alignment toolbar":"Alatna traka za vertikalno poravnanje teksta",Width:"Å irina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/hu.js b/core/assets/vendor/ckeditor5/table/translations/hu.js index 3839f75afc440ddb26aaf6399e5946d2838e3537..bc5b2189d4e3f7b031d2ac86f924d0e72d9fe0be 100644 --- a/core/assets/vendor/ckeditor5/table/translations/hu.js +++ b/core/assets/vendor/ckeditor5/table/translations/hu.js @@ -1 +1 @@ -!function(e){const l=e.hu=e.hu||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Szöveg igazÃtása a cellában alulra","Align cell text to the center":"Szöveg igazÃtása a cellában középre","Align cell text to the left":"Szöveg igazÃtása a cellában balra","Align cell text to the middle":"Szöveg igazÃtása a cellában középre","Align cell text to the right":"Szöveg igazÃtása a cellában jobbra","Align cell text to the top":"Szöveg igazÃtása a cellában felülre","Align table to the left":"Tábla igazÃtása balra","Align table to the right":"Tábla igazÃtása jobbra",Alignment:"IgazÃtás",Background:"Háttér",Border:"Keret","Cell properties":"Cella tulajdonságok","Center table":"Tábla igazÃtása középre",Color:"SzÃn","Color picker":"SzÃn választása",Column:"Oszlop",Dashed:"Szaggatott","Delete column":"Oszlop törlése","Delete row":"Sor törlése",Dimensions:"Méretek",Dotted:"Pontozott",Double:"Dupla","Enter table caption":"Táblázat feliratának megadása",Groove:"Ãrok","Header column":"Oszlop fejléc","Header row":"Sor fejléc",Height:"Magasság","Horizontal text alignment toolbar":"VÃzszintes szövegigazÃtási eszköztár","Insert a new table row (when in the last cell of a table)":"Új sor beillesztése a táblázatba (a táblázat utolsó cellájában)","Insert column left":"Oszlop beszúrása balra","Insert column right":"Oszlop beszúrása jobbra","Insert row above":"Sor beszúrása fölé","Insert row below":"Sor beszúrása alá","Insert table":"Táblázat beszúrása",Inset:"MélyÃtett","Justify cell text":"Szöveg igazÃtása a cellában sorkizártra","Keystrokes that can be used in a table cell":"Egy táblázatcellában használható billentyű leütések","Merge cell down":"Cellák egyesÃtése lefelé","Merge cell left":"Cellák egyesÃtése balra","Merge cell right":"Cellák egyesÃtése jobbra","Merge cell up":"Cellák egyesÃtése felfelé","Merge cells":"CellaegyesÃtés","Move the selection to the next cell":"A kiválasztás átmozgatása a következÅ‘ cellába","Move the selection to the previous cell":"A kiválasztás átmozgatása az elÅ‘zÅ‘ cellába","Navigate through the table":"Navigáció a táblázatban",None:"Nincs",Outset:"KiemelkedÅ‘",Padding:"Térköz",Ridge:"Gerinc",Row:"Sor","Select column":"Oszlop kijelölése","Select row":"Sor kijelölése",Solid:"Tömör","Split cell horizontally":"Cella felosztása vÃzszintesen","Split cell vertically":"Cella felosztása függÅ‘legesen",Style:"StÃlus",Table:"Táblázat","Table alignment toolbar":"TáblázatigazÃtási eszköztár","Table cell text alignment":"Szöveg igazÃtása a cellában","Table properties":"Táblázat tulajdonságai","Table toolbar":"Táblázat eszköztár",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'A szÃn érványtelen. Próbáld Ãgy "#FF0000" vagy "rgb(255,0,0)" vagy "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Az érték érvénytelen. Próbáld Ãgy "10px" vagy "2em" vagy csak egyszerűen "2".',"Vertical text alignment toolbar":"FüggÅ‘leges szövegigazÃtási eszköztár",Width:"Szélesség"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.hu=e.hu||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Szöveg igazÃtása a cellában alulra","Align cell text to the center":"Szöveg igazÃtása a cellában középre","Align cell text to the left":"Szöveg igazÃtása a cellában balra","Align cell text to the middle":"Szöveg igazÃtása a cellában középre","Align cell text to the right":"Szöveg igazÃtása a cellában jobbra","Align cell text to the top":"Szöveg igazÃtása a cellában felülre","Align table to the left":"Tábla igazÃtása balra","Align table to the right":"Tábla igazÃtása jobbra",Alignment:"IgazÃtás",Background:"Háttér",Border:"Keret","Cell properties":"Cella tulajdonságok","Center table":"Tábla igazÃtása középre",Color:"SzÃn",Column:"Oszlop",Dashed:"Szaggatott","Delete column":"Oszlop törlése","Delete row":"Sor törlése",Dimensions:"Méretek",Dotted:"Pontozott",Double:"Dupla","Enter table caption":"Táblázat feliratának megadása",Groove:"Ãrok","Header column":"Oszlop fejléc","Header row":"Sor fejléc",Height:"Magasság","Horizontal text alignment toolbar":"VÃzszintes szövegigazÃtási eszköztár","Insert a new table row (when in the last cell of a table)":"Új sor beillesztése a táblázatba (a táblázat utolsó cellájában)","Insert column left":"Oszlop beszúrása balra","Insert column right":"Oszlop beszúrása jobbra","Insert row above":"Sor beszúrása fölé","Insert row below":"Sor beszúrása alá","Insert table":"Táblázat beszúrása",Inset:"MélyÃtett","Justify cell text":"Szöveg igazÃtása a cellában sorkizártra","Keystrokes that can be used in a table cell":"Egy táblázatcellában használható billentyű leütések","Merge cell down":"Cellák egyesÃtése lefelé","Merge cell left":"Cellák egyesÃtése balra","Merge cell right":"Cellák egyesÃtése jobbra","Merge cell up":"Cellák egyesÃtése felfelé","Merge cells":"CellaegyesÃtés","Move the selection to the next cell":"A kiválasztás átmozgatása a következÅ‘ cellába","Move the selection to the previous cell":"A kiválasztás átmozgatása az elÅ‘zÅ‘ cellába","Navigate through the table":"Navigáció a táblázatban",None:"Nincs",Outset:"KiemelkedÅ‘",Padding:"Térköz",Ridge:"Gerinc",Row:"Sor","Select column":"Oszlop kijelölése","Select row":"Sor kijelölése",Solid:"Tömör","Split cell horizontally":"Cella felosztása vÃzszintesen","Split cell vertically":"Cella felosztása függÅ‘legesen",Style:"StÃlus",Table:"Táblázat","Table alignment toolbar":"TáblázatigazÃtási eszköztár","Table cell text alignment":"Szöveg igazÃtása a cellában","Table properties":"Táblázat tulajdonságai","Table toolbar":"Táblázat eszköztár",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'A szÃn érványtelen. Próbáld Ãgy "#FF0000" vagy "rgb(255,0,0)" vagy "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Az érték érvénytelen. Próbáld Ãgy "10px" vagy "2em" vagy csak egyszerűen "2".',"Vertical text alignment toolbar":"FüggÅ‘leges szövegigazÃtási eszköztár",Width:"Szélesség"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/hy.js b/core/assets/vendor/ckeditor5/table/translations/hy.js index 244ca6b23f967fc2d2acc05a2fd7b2f0a870651b..a52a7902c2255a83c0c5525b1df21b5b9a1a03ab 100644 --- a/core/assets/vendor/ckeditor5/table/translations/hy.js +++ b/core/assets/vendor/ckeditor5/table/translations/hy.js @@ -1 +1 @@ -!function(e){const t=e.hy=e.hy||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"ÕÕµÕ¸Ö‚Õ¶Õ¡Õ¯",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.hy=e.hy||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"ÕÕµÕ¸Ö‚Õ¶Õ¡Õ¯",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/id.js b/core/assets/vendor/ckeditor5/table/translations/id.js index 52ff4f7c22e9102a4106323bcfb68a05863923f5..6d805f01df240706fcb90134ba2cd2c3fbcd5b4a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/id.js +++ b/core/assets/vendor/ckeditor5/table/translations/id.js @@ -1 +1 @@ -!function(e){const a=e.id=e.id||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Sejajarkan teks sel ke bawah","Align cell text to the center":"Sejajarkan teks sel ke tengah","Align cell text to the left":"Sejajarkan teks sel ke kiri","Align cell text to the middle":"Sejajarkan teks sel ke tengah","Align cell text to the right":"Sejajarkan teks sel ke kanan","Align cell text to the top":"Sejajarkan teks sel ke atas","Align table to the left":"Sejajarkan teks sel ke kiri","Align table to the right":"Sejajarkan teks sel ke kanan",Alignment:"Penjajaran",Background:"Latar belakang",Border:"Garis batas","Cell properties":"Properti sel","Center table":"Tengahkan tabel",Color:"Warna","Color picker":"Pengambil warna",Column:"Kolom",Dashed:"Garis putus-putus","Delete column":"Hapus kolom","Delete row":"Hapus baris",Dimensions:"Dimensi",Dotted:"Titik titik",Double:"Ganda","Enter table caption":"Masukkan keterangan tabel",Groove:"Groove","Header column":"Kolom tajuk","Header row":"Baris tajuk",Height:"Tinggi","Horizontal text alignment toolbar":"Bilah alat penjajaran teks horizontal","Insert a new table row (when in the last cell of a table)":"Sisipkan baris tabel baru (saat berada di sel terakhir tabel)","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel",Inset:"Inset","Justify cell text":"Ratakan teks sel","Keystrokes that can be used in a table cell":"Penekanan tombol yang dapat digunakan di sel tabel","Merge cell down":"Gabungkan sel ke bawah","Merge cell left":"Gabungkan sel ke kiri","Merge cell right":"Gabungkan sel ke kanan","Merge cell up":"Gabungkan sel ke atas","Merge cells":"Gabungkan sel","Move the selection to the next cell":"Pindahkan pilihan ke sel berikutnya","Move the selection to the previous cell":"Pindahkan pilihan ke sel sebelumnya","Navigate through the table":"Menjelajahi tabel",None:"Tidak ada",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Baris","Select column":"Seleksi kolom","Select row":"Seleksi baris",Solid:"Garis utuh","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal",Style:"Gaya",Table:"Tabel","Table alignment toolbar":"Bilah alat penjajaran tabel","Table cell text alignment":"Penjajaran teks sel tabel","Table properties":"Properti tabel","Table toolbar":"Alat tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Warna tidak valid. Coba "#FF0000" atau "rgb(255,0,0)" atau "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Nilai tidak valid. Coba "10px" atau "2em" atau hanya "2".',"Vertical text alignment toolbar":"Bilah alat penjajaran teks vertikal",Width:"Lebar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.id=e.id||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Sejajarkan teks sel ke bawah","Align cell text to the center":"Sejajarkan teks sel ke tengah","Align cell text to the left":"Sejajarkan teks sel ke kiri","Align cell text to the middle":"Sejajarkan teks sel ke tengah","Align cell text to the right":"Sejajarkan teks sel ke kanan","Align cell text to the top":"Sejajarkan teks sel ke atas","Align table to the left":"Sejajarkan teks sel ke kiri","Align table to the right":"Sejajarkan teks sel ke kanan",Alignment:"Penjajaran",Background:"Latar belakang",Border:"Garis batas","Cell properties":"Properti sel","Center table":"Tengahkan tabel",Color:"Warna",Column:"Kolom",Dashed:"Garis putus-putus","Delete column":"Hapus kolom","Delete row":"Hapus baris",Dimensions:"Dimensi",Dotted:"Titik titik",Double:"Ganda","Enter table caption":"Masukkan keterangan tabel",Groove:"Groove","Header column":"Kolom tajuk","Header row":"Baris tajuk",Height:"Tinggi","Horizontal text alignment toolbar":"Bilah alat penjajaran teks horizontal","Insert a new table row (when in the last cell of a table)":"Sisipkan baris tabel baru (saat berada di sel terakhir tabel)","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel",Inset:"Inset","Justify cell text":"Ratakan teks sel","Keystrokes that can be used in a table cell":"Penekanan tombol yang dapat digunakan di sel tabel","Merge cell down":"Gabungkan sel ke bawah","Merge cell left":"Gabungkan sel ke kiri","Merge cell right":"Gabungkan sel ke kanan","Merge cell up":"Gabungkan sel ke atas","Merge cells":"Gabungkan sel","Move the selection to the next cell":"Pindahkan pilihan ke sel berikutnya","Move the selection to the previous cell":"Pindahkan pilihan ke sel sebelumnya","Navigate through the table":"Menjelajahi tabel",None:"Tidak ada",Outset:"Outset",Padding:"Padding",Ridge:"Ridge",Row:"Baris","Select column":"Seleksi kolom","Select row":"Seleksi baris",Solid:"Garis utuh","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal",Style:"Gaya",Table:"Tabel","Table alignment toolbar":"Bilah alat penjajaran tabel","Table cell text alignment":"Penjajaran teks sel tabel","Table properties":"Properti tabel","Table toolbar":"Alat tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Warna tidak valid. Coba "#FF0000" atau "rgb(255,0,0)" atau "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Nilai tidak valid. Coba "10px" atau "2em" atau hanya "2".',"Vertical text alignment toolbar":"Bilah alat penjajaran teks vertikal",Width:"Lebar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/it.js b/core/assets/vendor/ckeditor5/table/translations/it.js index 66ccdd0a9c9f6cb833192d8d194f38b2f944371c..8c156a15e5a0f10a84194bb70c16356ad5acb945 100644 --- a/core/assets/vendor/ckeditor5/table/translations/it.js +++ b/core/assets/vendor/ckeditor5/table/translations/it.js @@ -1 +1 @@ -!function(e){const l=e.it=e.it||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Allinea il testo della cella in basso","Align cell text to the center":"Allinea il testo della cella al centro","Align cell text to the left":"Allinea il testo della cella a sinistra","Align cell text to the middle":"Allinea il testo della cella in mezzo","Align cell text to the right":"Allinea il testo della cella a destra","Align cell text to the top":"Allinea il testo della cella in alto","Align table to the left":"Allinea tabella a sinistra","Align table to the right":"Allinea tabella a destra",Alignment:"Allineamento",Background:"Sfondo",Border:"Bordo","Cell properties":"Proprietà cella","Center table":"Allinea tabella al centro",Color:"Colore","Color picker":"Selezione colore",Column:"Colonna",Dashed:"Tratteggiato","Delete column":"Elimina colonna","Delete row":"Elimina riga",Dimensions:"Dimensioni",Dotted:"Punteggiato",Double:"Doppio","Enter table caption":"Inserire la didascalia della tabella",Groove:"Scanalatura","Header column":"Intestazione colonna","Header row":"Riga d'intestazione",Height:"Altezza","Horizontal text alignment toolbar":"Barra degli strumenti dell'allineamento orizzontale del testo","Insert a new table row (when in the last cell of a table)":"Inserisce una nuova riga nella tabella (quando ci si trova nell'ultima cella di una tabella)","Insert column left":"Inserisci colonna a sinistra","Insert column right":"Inserisci colonna a destra","Insert row above":"Inserisci riga sopra","Insert row below":"Inserisci riga sotto","Insert table":"Inserisci tabella",Inset:"Incassato","Justify cell text":"Testo della cella giustificato","Keystrokes that can be used in a table cell":"Tasti che possono essere utilizzati nella cella di una tabella","Merge cell down":"Unisci cella sotto","Merge cell left":"Unisci cella a sinistra","Merge cell right":"Unisci cella a destra","Merge cell up":"Unisci cella sopra","Merge cells":"Unisci celle","Move the selection to the next cell":"Sposta la selezione alla cella successiva","Move the selection to the previous cell":"Sposta la selezione alla cella precedente","Navigate through the table":"Permette di spostarsi all'interno della tabella",None:"Nessuno",Outset:"Rialzato",Padding:"Spaziatura interna",Ridge:"Rilievo",Row:"Riga","Select column":"Seleziona colonna","Select row":"Seleziona riga",Solid:"Solido","Split cell horizontally":"Dividi cella orizzontalmente","Split cell vertically":"Dividi cella verticalmente",Style:"Stile",Table:"Tabella","Table alignment toolbar":"Barra degli strumenti dell'allineamento della tabella","Table cell text alignment":"Allineamento del testo nella cella della tabella","Table properties":"Proprietà tabella","Table toolbar":"Barra degli strumenti della tabella",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Il colore non è valido. Provare "#FF0000" o "rgb(255,0,0)" o "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Il valore non è valido. Provare "10px" o "2em" o semplicemente "2".',"Vertical text alignment toolbar":"Barra degli strumenti dell'allineamento verticale del testo",Width:"Larghezza"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.it=e.it||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Allinea il testo della cella in basso","Align cell text to the center":"Allinea il testo della cella al centro","Align cell text to the left":"Allinea il testo della cella a sinistra","Align cell text to the middle":"Allinea il testo della cella in mezzo","Align cell text to the right":"Allinea il testo della cella a destra","Align cell text to the top":"Allinea il testo della cella in alto","Align table to the left":"Allinea tabella a sinistra","Align table to the right":"Allinea tabella a destra",Alignment:"Allineamento",Background:"Sfondo",Border:"Bordo","Cell properties":"Proprietà cella","Center table":"Allinea tabella al centro",Color:"Colore",Column:"Colonna",Dashed:"Tratteggiato","Delete column":"Elimina colonna","Delete row":"Elimina riga",Dimensions:"Dimensioni",Dotted:"Punteggiato",Double:"Doppio","Enter table caption":"Inserire la didascalia della tabella",Groove:"Scanalatura","Header column":"Intestazione colonna","Header row":"Riga d'intestazione",Height:"Altezza","Horizontal text alignment toolbar":"Barra degli strumenti dell'allineamento orizzontale del testo","Insert a new table row (when in the last cell of a table)":"Inserisce una nuova riga nella tabella (quando ci si trova nell'ultima cella di una tabella)","Insert column left":"Inserisci colonna a sinistra","Insert column right":"Inserisci colonna a destra","Insert row above":"Inserisci riga sopra","Insert row below":"Inserisci riga sotto","Insert table":"Inserisci tabella",Inset:"Incassato","Justify cell text":"Testo della cella giustificato","Keystrokes that can be used in a table cell":"Tasti che possono essere utilizzati nella cella di una tabella","Merge cell down":"Unisci cella sotto","Merge cell left":"Unisci cella a sinistra","Merge cell right":"Unisci cella a destra","Merge cell up":"Unisci cella sopra","Merge cells":"Unisci celle","Move the selection to the next cell":"Sposta la selezione alla cella successiva","Move the selection to the previous cell":"Sposta la selezione alla cella precedente","Navigate through the table":"Permette di spostarsi all'interno della tabella",None:"Nessuno",Outset:"Rialzato",Padding:"Spaziatura interna",Ridge:"Rilievo",Row:"Riga","Select column":"Seleziona colonna","Select row":"Seleziona riga",Solid:"Solido","Split cell horizontally":"Dividi cella orizzontalmente","Split cell vertically":"Dividi cella verticalmente",Style:"Stile",Table:"Tabella","Table alignment toolbar":"Barra degli strumenti dell'allineamento della tabella","Table cell text alignment":"Allineamento del testo nella cella della tabella","Table properties":"Proprietà tabella","Table toolbar":"Barra degli strumenti della tabella",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Il colore non è valido. Provare "#FF0000" o "rgb(255,0,0)" o "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Il valore non è valido. Provare "10px" o "2em" o semplicemente "2".',"Vertical text alignment toolbar":"Barra degli strumenti dell'allineamento verticale del testo",Width:"Larghezza"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ja.js b/core/assets/vendor/ckeditor5/table/translations/ja.js index b3d9fe25b511541f05fcf0ad40c78595d1cf5642..a4de26933ad7b8ee119edf7f37da969bb495fab6 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ja.js +++ b/core/assets/vendor/ckeditor5/table/translations/ja.js @@ -1 +1 @@ -!function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"セルã®ãƒ†ã‚ストを下ã«å¯„ã›ã‚‹","Align cell text to the center":"セルã®ãƒ†ã‚ストをä¸å¤®ã¸æƒãˆã‚‹","Align cell text to the left":"セルã®ãƒ†ã‚ストを左ã¸å¯„ã›ã‚‹","Align cell text to the middle":"セルã®ãƒ†ã‚ストをä¸å¤®ã¸æƒãˆã‚‹","Align cell text to the right":"セルã®ãƒ†ã‚ストをå³ã¸å¯„ã›ã‚‹","Align cell text to the top":"セルã®ãƒ†ã‚ストを上ã«å¯„ã›ã‚‹","Align table to the left":"テーブルを左ã¸å¯„ã›ã‚‹","Align table to the right":"テーブルをå³ã¸å¯„ã›ã‚‹",Alignment:"é…ç½®",Background:"背景",Border:"罫線","Cell properties":"セルã®ãƒ—ãƒãƒ‘ティ","Center table":"テーブルをä¸å¤®ã¸å¯„ã›ã‚‹",Color:"色","Color picker":"カラーピッカー",Column:"列",Dashed:"ç ´ç·š","Delete column":"列を削除","Delete row":"行を削除",Dimensions:"寸法",Dotted:"点線",Double:"2本線","Enter table caption":"テーブルã‚ャプションを入力",Groove:"立体的ã«ãã¼ã‚“ã ç·š","Header column":"見出ã—列","Header row":"見出ã—è¡Œ",Height:"高ã•","Horizontal text alignment toolbar":"水平方å‘ã®ãƒ†ã‚ストé…置ツールãƒãƒ¼","Insert a new table row (when in the last cell of a table)":"æ–°ã—ã„テーブル行を挿入ã™ã‚‹ï¼ˆãƒ†ãƒ¼ãƒ–ルã®æœ€çµ‚セルã«ã‚ã‚‹å ´åˆï¼‰","Insert column left":"å·¦ã«åˆ—を挿入","Insert column right":"å³ã«åˆ—を挿入","Insert row above":"上ã«è¡Œã‚’挿入","Insert row below":"下ã«è¡Œã‚’挿入","Insert table":"表ã®æŒ¿å…¥",Inset:"内å´å…¨ä½“ãŒãã¼ã‚“ã ç·š","Justify cell text":"セルã®ãƒ†ã‚ストを両端ã¸æƒãˆã‚‹","Keystrokes that can be used in a table cell":"テーブルセルã§ä½¿ç”¨ã§ãã‚‹ã‚ーストãƒãƒ¼ã‚¯","Merge cell down":"下ã®ã‚»ãƒ«ã¨çµåˆ","Merge cell left":"å·¦ã®ã‚»ãƒ«ã¨çµåˆ","Merge cell right":"å³ã®ã‚»ãƒ«ã¨çµåˆ","Merge cell up":"上ã®ã‚»ãƒ«ã¨çµåˆ","Merge cells":"セルをçµåˆ","Move the selection to the next cell":"é¸æŠžç¯„囲を次ã®ã‚»ãƒ«ã«ç§»å‹•ã•ã›ã‚‹","Move the selection to the previous cell":"é¸æŠžç¯„囲をå‰ã®ã‚»ãƒ«ã«ç§»å‹•ã•ã›ã‚‹","Navigate through the table":"テーブル内を移動ã™ã‚‹",None:"ãªã—",Outset:"内å´å…¨ä½“ãŒéš†èµ·ã—ãŸç·š",Padding:"パディング",Ridge:"立体的ã«éš†èµ·ã—ãŸç·š",Row:"è¡Œ","Select column":"列をé¸æŠž","Select row":"行をé¸æŠž",Solid:"1本線","Split cell horizontally":"縦ã«ã‚»ãƒ«ã‚’分離","Split cell vertically":"横ã«ã‚»ãƒ«ã‚’分離",Style:"スタイル",Table:"テーブル","Table alignment toolbar":"テーブルé…置ツールãƒãƒ¼","Table cell text alignment":"テーブルセルã®ãƒ†ã‚ストé…ç½®","Table properties":"テーブルã®ãƒ—ãƒãƒ‘ティ","Table toolbar":"テーブルã®ãƒ„ールãƒãƒ¼",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"ã“ã®è‰²ã¯ç„¡åŠ¹ã§ã™ã€‚「#FF0000ã€ã€ã€Œrgb(255,0,0ã€ã¾ãŸã¯ã€Œèµ¤ã€ã‚’ãŠè©¦ã—ãã ã•ã„。",'The value is invalid. Try "10px" or "2em" or simply "2".':"ã“ã®å€¤ã¯ç„¡åŠ¹ã§ã™ã€‚「10pxã€ã€ã€Œ2emã€ã¾ãŸã¯å˜ç´”ã«ã€Œ2ã€ã‚’ãŠè©¦ã—ãã ã•ã„。","Vertical text alignment toolbar":"åž‚ç›´æ–¹å‘ã®ãƒ†ã‚ストé…置ツールãƒãƒ¼",Width:"å¹…"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"セルã®ãƒ†ã‚ストを下ã«å¯„ã›ã‚‹","Align cell text to the center":"セルã®ãƒ†ã‚ストをä¸å¤®ã¸æƒãˆã‚‹","Align cell text to the left":"セルã®ãƒ†ã‚ストを左ã¸å¯„ã›ã‚‹","Align cell text to the middle":"セルã®ãƒ†ã‚ストをä¸å¤®ã¸æƒãˆã‚‹","Align cell text to the right":"セルã®ãƒ†ã‚ストをå³ã¸å¯„ã›ã‚‹","Align cell text to the top":"セルã®ãƒ†ã‚ストを上ã«å¯„ã›ã‚‹","Align table to the left":"テーブルを左ã¸å¯„ã›ã‚‹","Align table to the right":"テーブルをå³ã¸å¯„ã›ã‚‹",Alignment:"é…ç½®",Background:"背景",Border:"罫線","Cell properties":"セルã®ãƒ—ãƒãƒ‘ティ","Center table":"テーブルをä¸å¤®ã¸å¯„ã›ã‚‹",Color:"色",Column:"列",Dashed:"ç ´ç·š","Delete column":"列を削除","Delete row":"行を削除",Dimensions:"寸法",Dotted:"点線",Double:"2本線","Enter table caption":"テーブルã‚ャプションを入力",Groove:"立体的ã«ãã¼ã‚“ã ç·š","Header column":"見出ã—列","Header row":"見出ã—è¡Œ",Height:"高ã•","Horizontal text alignment toolbar":"水平方å‘ã®ãƒ†ã‚ストé…置ツールãƒãƒ¼","Insert a new table row (when in the last cell of a table)":"æ–°ã—ã„テーブル行を挿入ã™ã‚‹ï¼ˆãƒ†ãƒ¼ãƒ–ルã®æœ€çµ‚セルã«ã‚ã‚‹å ´åˆï¼‰","Insert column left":"å·¦ã«åˆ—を挿入","Insert column right":"å³ã«åˆ—を挿入","Insert row above":"上ã«è¡Œã‚’挿入","Insert row below":"下ã«è¡Œã‚’挿入","Insert table":"表ã®æŒ¿å…¥",Inset:"内å´å…¨ä½“ãŒãã¼ã‚“ã ç·š","Justify cell text":"セルã®ãƒ†ã‚ストを両端ã¸æƒãˆã‚‹","Keystrokes that can be used in a table cell":"テーブルセルã§ä½¿ç”¨ã§ãã‚‹ã‚ーストãƒãƒ¼ã‚¯","Merge cell down":"下ã®ã‚»ãƒ«ã¨çµåˆ","Merge cell left":"å·¦ã®ã‚»ãƒ«ã¨çµåˆ","Merge cell right":"å³ã®ã‚»ãƒ«ã¨çµåˆ","Merge cell up":"上ã®ã‚»ãƒ«ã¨çµåˆ","Merge cells":"セルをçµåˆ","Move the selection to the next cell":"é¸æŠžç¯„囲を次ã®ã‚»ãƒ«ã«ç§»å‹•ã•ã›ã‚‹","Move the selection to the previous cell":"é¸æŠžç¯„囲をå‰ã®ã‚»ãƒ«ã«ç§»å‹•ã•ã›ã‚‹","Navigate through the table":"テーブル内を移動ã™ã‚‹",None:"ãªã—",Outset:"内å´å…¨ä½“ãŒéš†èµ·ã—ãŸç·š",Padding:"パディング",Ridge:"立体的ã«éš†èµ·ã—ãŸç·š",Row:"è¡Œ","Select column":"列をé¸æŠž","Select row":"行をé¸æŠž",Solid:"1本線","Split cell horizontally":"縦ã«ã‚»ãƒ«ã‚’分離","Split cell vertically":"横ã«ã‚»ãƒ«ã‚’分離",Style:"スタイル",Table:"テーブル","Table alignment toolbar":"テーブルé…置ツールãƒãƒ¼","Table cell text alignment":"テーブルセルã®ãƒ†ã‚ストé…ç½®","Table properties":"テーブルã®ãƒ—ãƒãƒ‘ティ","Table toolbar":"テーブルã®ãƒ„ールãƒãƒ¼",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"ã“ã®è‰²ã¯ç„¡åŠ¹ã§ã™ã€‚「#FF0000ã€ã€ã€Œrgb(255,0,0ã€ã¾ãŸã¯ã€Œèµ¤ã€ã‚’ãŠè©¦ã—ãã ã•ã„。",'The value is invalid. Try "10px" or "2em" or simply "2".':"ã“ã®å€¤ã¯ç„¡åŠ¹ã§ã™ã€‚「10pxã€ã€ã€Œ2emã€ã¾ãŸã¯å˜ç´”ã«ã€Œ2ã€ã‚’ãŠè©¦ã—ãã ã•ã„。","Vertical text alignment toolbar":"åž‚ç›´æ–¹å‘ã®ãƒ†ã‚ストé…置ツールãƒãƒ¼",Width:"å¹…"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ko.js b/core/assets/vendor/ckeditor5/table/translations/ko.js index f7b80416e5d46b1e19e11d507a465b60c2943244..e0c343e0853c6b903ccde7360cdca4c40e903757 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ko.js +++ b/core/assets/vendor/ckeditor5/table/translations/ko.js @@ -1 +1 @@ -!function(e){const t=e.ko=e.ko||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ì…€ í…스트를 아래로 ì •ë ¬","Align cell text to the center":"ì…€ í…스트를 가로 가운ë°ë¡œ ì •ë ¬","Align cell text to the left":"ì…€ í…스트를 왼쪽으로 ì •ë ¬","Align cell text to the middle":"ì…€ í…스트를 세로 가운ë°ë¡œ ì •ë ¬","Align cell text to the right":"ì…€ í…스트를 오른쪽으로 ì •ë ¬","Align cell text to the top":"ì…€ í…스트를 위로 ì •ë ¬","Align table to the left":"í…Œì´ë¸”ì„ ì™¼ìª½ìœ¼ë¡œ ì •ë ¬","Align table to the right":"í…Œì´ë¸”ì„ ì˜¤ë¥¸ìª½ìœ¼ë¡œ ì •ë ¬",Alignment:"ì •ë ¬",Background:"배경색",Border:"í…Œë‘리","Cell properties":"ì…€ ì†ì„±","Center table":"í…Œì´ë¸”ì„ ê°€ìš´ë°ë¡œ ì •ë ¬",Color:"색","Color picker":"ìƒ‰ìƒ ì„ íƒê¸°",Column:"ì—´",Dashed:"íŒŒì„ ","Delete column":"ì—´ ì‚ì œ","Delete row":"í–‰ ì‚ì œ",Dimensions:"í¬ê¸°",Dotted:"ì ì„ ",Double:"ì´ì¤‘ì„ ","Enter table caption":"í…Œì´ë¸” 캡션 ìž…ë ¥",Groove:"ìŒê°ì„ ","Header column":"í—¤ë” ì—´","Header row":"í—¤ë” í–‰",Height:"세로","Horizontal text alignment toolbar":"가로 í…스트 ì •ë ¬ ë„구 모ìŒ","Insert a new table row (when in the last cell of a table)":"새 í‘œ í–‰ 삽입(í‘œì˜ ë§ˆì§€ë§‰ ì…€ì— ìžˆì„ ë•Œ)","Insert column left":"ì™¼ìª½ì— ì—´ 삽입","Insert column right":"ì˜¤ë¥¸ìª½ì— ì—´ 삽입","Insert row above":"ìœ„ì— í–‰ 삽입","Insert row below":"ì•„ëž˜ì— í–‰ 삽입","Insert table":"í…Œì´ë¸” 삽입",Inset:"측면 ìŒê°ì„ ","Justify cell text":"ì…€ í…스트를 양쪽으로 ì •ë ¬","Keystrokes that can be used in a table cell":"í‘œ ì…€ì—ì„œ ì‚¬ìš©í• ìˆ˜ 있는 키 ìž…ë ¥","Merge cell down":"아래 셀과 병합","Merge cell left":"왼쪽 셀과 병합","Merge cell right":"오른쪽 셀과 병합","Merge cell up":"위 셀과 병합","Merge cells":"ì…€ 병합","Move the selection to the next cell":"ì„ íƒ í•ëª©ì„ ë‹¤ìŒ ì…€ë¡œ ì´ë™","Move the selection to the previous cell":"ì„ íƒ í•ëª©ì„ ì´ì „ 셀로 ì´ë™","Navigate through the table":"í‘œ íƒìƒ‰",None:"ì„ ì—†ìŒ",Outset:"측면 ì–‘ê°ì„ ",Padding:"여백",Ridge:"ì–‘ê°ì„ ",Row:"í–‰","Select column":"ì—´ ì„ íƒ","Select row":"í–‰ ì„ íƒ",Solid:"ì‹¤ì„ ","Split cell horizontally":"가로로 ì…€ ë¶„í• ","Split cell vertically":"세로로 ì…€ ë¶„í• ",Style:"스타ì¼",Table:"í‘œ","Table alignment toolbar":"í‘œ ì •ë ¬ ë„구 모ìŒ","Table cell text alignment":"í‘œ ì…€ í…스트 ì •ë ¬","Table properties":"í‘œ ì†ì„±","Table toolbar":"í‘œ ë„구 모ìŒ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'ìœ íš¨í•˜ì§€ ì•Šì€ ìƒ‰ìž…ë‹ˆë‹¤. "#FF0000"ì´ë‚˜ "rgb(255,0,0)", ë˜ëŠ” "red"를 ìž…ë ¥í•´ 보세요.','The value is invalid. Try "10px" or "2em" or simply "2".':'ìœ íš¨í•˜ì§€ ì•Šì€ ê°’ìž…ë‹ˆë‹¤. "10px"나 "2em" ë˜ëŠ” 그냥 "2"를 ìž…ë ¥í•´ 보세요.',"Vertical text alignment toolbar":"세로 í…스트 ì •ë ¬ ë„구 모ìŒ",Width:"가로"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ko=e.ko||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ì…€ í…스트를 아래로 ì •ë ¬","Align cell text to the center":"ì…€ í…스트를 가로 가운ë°ë¡œ ì •ë ¬","Align cell text to the left":"ì…€ í…스트를 왼쪽으로 ì •ë ¬","Align cell text to the middle":"ì…€ í…스트를 세로 가운ë°ë¡œ ì •ë ¬","Align cell text to the right":"ì…€ í…스트를 오른쪽으로 ì •ë ¬","Align cell text to the top":"ì…€ í…스트를 위로 ì •ë ¬","Align table to the left":"í…Œì´ë¸”ì„ ì™¼ìª½ìœ¼ë¡œ ì •ë ¬","Align table to the right":"í…Œì´ë¸”ì„ ì˜¤ë¥¸ìª½ìœ¼ë¡œ ì •ë ¬",Alignment:"ì •ë ¬",Background:"배경색",Border:"í…Œë‘리","Cell properties":"ì…€ ì†ì„±","Center table":"í…Œì´ë¸”ì„ ê°€ìš´ë°ë¡œ ì •ë ¬",Color:"색",Column:"ì—´",Dashed:"íŒŒì„ ","Delete column":"ì—´ ì‚ì œ","Delete row":"í–‰ ì‚ì œ",Dimensions:"í¬ê¸°",Dotted:"ì ì„ ",Double:"ì´ì¤‘ì„ ","Enter table caption":"í…Œì´ë¸” 캡션 ìž…ë ¥",Groove:"ìŒê°ì„ ","Header column":"í—¤ë” ì—´","Header row":"í—¤ë” í–‰",Height:"세로","Horizontal text alignment toolbar":"가로 í…스트 ì •ë ¬ ë„구 모ìŒ","Insert a new table row (when in the last cell of a table)":"새 í‘œ í–‰ 삽입(í‘œì˜ ë§ˆì§€ë§‰ ì…€ì— ìžˆì„ ë•Œ)","Insert column left":"ì™¼ìª½ì— ì—´ 삽입","Insert column right":"ì˜¤ë¥¸ìª½ì— ì—´ 삽입","Insert row above":"ìœ„ì— í–‰ 삽입","Insert row below":"ì•„ëž˜ì— í–‰ 삽입","Insert table":"í…Œì´ë¸” 삽입",Inset:"측면 ìŒê°ì„ ","Justify cell text":"ì…€ í…스트를 양쪽으로 ì •ë ¬","Keystrokes that can be used in a table cell":"í‘œ ì…€ì—ì„œ ì‚¬ìš©í• ìˆ˜ 있는 키 ìž…ë ¥","Merge cell down":"아래 셀과 병합","Merge cell left":"왼쪽 셀과 병합","Merge cell right":"오른쪽 셀과 병합","Merge cell up":"위 셀과 병합","Merge cells":"ì…€ 병합","Move the selection to the next cell":"ì„ íƒ í•ëª©ì„ ë‹¤ìŒ ì…€ë¡œ ì´ë™","Move the selection to the previous cell":"ì„ íƒ í•ëª©ì„ ì´ì „ 셀로 ì´ë™","Navigate through the table":"í‘œ íƒìƒ‰",None:"ì„ ì—†ìŒ",Outset:"측면 ì–‘ê°ì„ ",Padding:"여백",Ridge:"ì–‘ê°ì„ ",Row:"í–‰","Select column":"ì—´ ì„ íƒ","Select row":"í–‰ ì„ íƒ",Solid:"ì‹¤ì„ ","Split cell horizontally":"가로로 ì…€ ë¶„í• ","Split cell vertically":"세로로 ì…€ ë¶„í• ",Style:"스타ì¼",Table:"í‘œ","Table alignment toolbar":"í‘œ ì •ë ¬ ë„구 모ìŒ","Table cell text alignment":"í‘œ ì…€ í…스트 ì •ë ¬","Table properties":"í‘œ ì†ì„±","Table toolbar":"í‘œ ë„구 모ìŒ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'ìœ íš¨í•˜ì§€ ì•Šì€ ìƒ‰ìž…ë‹ˆë‹¤. "#FF0000"ì´ë‚˜ "rgb(255,0,0)", ë˜ëŠ” "red"를 ìž…ë ¥í•´ 보세요.','The value is invalid. Try "10px" or "2em" or simply "2".':'ìœ íš¨í•˜ì§€ ì•Šì€ ê°’ìž…ë‹ˆë‹¤. "10px"나 "2em" ë˜ëŠ” 그냥 "2"를 ìž…ë ¥í•´ 보세요.',"Vertical text alignment toolbar":"세로 í…스트 ì •ë ¬ ë„구 모ìŒ",Width:"가로"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ku.js b/core/assets/vendor/ckeditor5/table/translations/ku.js index e0edd1e4a01b337b34d8565074ff5d0af4ffbee2..f4cbbd4dd9667d615e57079d1b5bc435fe8e2a28 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ku.js +++ b/core/assets/vendor/ckeditor5/table/translations/ku.js @@ -1 +1 @@ -!function(e){const t=e.ku=e.ku||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"ستوون",Dashed:"","Delete column":"سڕینەوەی ستوون","Delete row":"سڕینەوەی ڕیز",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"ستوونی دەسپێک","Header row":"ڕیزی دەسپێک",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"دانانی ستوون Ù„Û• Ú†Û•Ù¾","Insert column right":"دانانی ستوون Ù„Û• ڕاست","Insert row above":"دانانی ڕیز Ù„Û• سەرەوە","Insert row below":"دانانی ڕیز Ù„Û• ژێرەوە","Insert table":"خشتە دابنێ",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"تێکەڵکردنی خانەکان بەرەو ژێرەوە","Merge cell left":"تێکەڵکردنی خانەکان بەرەو Ú†Û•Ù¾","Merge cell right":"تێکەڵکردنی خانەکان بەرەو ڕاست","Merge cell up":"تێکەڵکردنی خانەکان بەرەو سەر","Merge cells":"تێکەڵکردنی خانەکان","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"ڕیز","Select column":"","Select row":"",Solid:"","Split cell horizontally":"بەشکردنی خانەکان بە ئاسۆیی","Split cell vertically":"بەشکردنی خانەکان بە ئەستوونی",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"تووڵامرازی خشتە",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ku=e.ku||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"ستوون",Dashed:"","Delete column":"سڕینەوەی ستوون","Delete row":"سڕینەوەی ڕیز",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"ستوونی دەسپێک","Header row":"ڕیزی دەسپێک",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"دانانی ستوون Ù„Û• Ú†Û•Ù¾","Insert column right":"دانانی ستوون Ù„Û• ڕاست","Insert row above":"دانانی ڕیز Ù„Û• سەرەوە","Insert row below":"دانانی ڕیز Ù„Û• ژێرەوە","Insert table":"خشتە دابنێ",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"تێکەڵکردنی خانەکان بەرەو ژێرەوە","Merge cell left":"تێکەڵکردنی خانەکان بەرەو Ú†Û•Ù¾","Merge cell right":"تێکەڵکردنی خانەکان بەرەو ڕاست","Merge cell up":"تێکەڵکردنی خانەکان بەرەو سەر","Merge cells":"تێکەڵکردنی خانەکان","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"ڕیز","Select column":"","Select row":"",Solid:"","Split cell horizontally":"بەشکردنی خانەکان بە ئاسۆیی","Split cell vertically":"بەشکردنی خانەکان بە ئەستوونی",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"تووڵامرازی خشتە",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/lt.js b/core/assets/vendor/ckeditor5/table/translations/lt.js index 077142d418116cf2fc7b1cce2fb23605cd6f3ac6..3fe8d9834b0c74689b7a31583b89023f1e86a1bb 100644 --- a/core/assets/vendor/ckeditor5/table/translations/lt.js +++ b/core/assets/vendor/ckeditor5/table/translations/lt.js @@ -1 +1 @@ -!function(e){const t=e.lt=e.lt||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Lygiuoti langelio tekstÄ… apaÄioje","Align cell text to the center":"Lygiuoti langelio tekstÄ… centre","Align cell text to the left":"Lygiuoti langelio tekstÄ… kairÄ—je","Align cell text to the middle":"Lygiuoti langelio tekstÄ… viduryje","Align cell text to the right":"Lygiuoti langelio tekstÄ… deÅ¡inÄ—je","Align cell text to the top":"Lygiuoti langelio tekstÄ… virÅ¡uje","Align table to the left":"Lygiuoti lentelÄ™ kairÄ—je","Align table to the right":"Lygiuoti lentelÄ™ deÅ¡inÄ—je",Alignment:"Lygiavimas",Background:"Fonas",Border:"KraÅ¡tas","Cell properties":"Langelio savybÄ—s","Center table":"Centruoti lentelÄ™",Color:"Spalva","Color picker":"Spalvos ieÅ¡kiklis",Column:"Stulpelis",Dashed:"BrÅ«kÅ¡neliais","Delete column":"IÅ¡trinti stulpelį","Delete row":"IÅ¡trinti eilutÄ™",Dimensions:"Matmenys",Dotted:"TaÅ¡kuotas",Double:"Dvigubas","Enter table caption":"Ä®vesti lentelÄ—s antraÅ¡tÄ™",Groove:"Ilgas ir siauras","Header column":"AntraÅ¡tÄ—s stulpelis","Header row":"AntraÅ¡tÄ—s eilutÄ—",Height:"AukÅ¡tis","Horizontal text alignment toolbar":"Horizontalaus teksto lygiavimo įrankių juosta","Insert a new table row (when in the last cell of a table)":"Ä®terpti į lentelÄ™ naujÄ… eilutÄ™ (kai yra paskutiniame lentelÄ—s langelyje)","Insert column left":"Ä®terpti stulpelį kairÄ—je","Insert column right":"Ä®terpti stulpelį deÅ¡inÄ—je","Insert row above":"Ä®terpti eilutÄ™ aukÅ¡Äiau","Insert row below":"Ä®terpti eilutÄ™ žemiau","Insert table":"Ä®terpti lentelÄ™",Inset:"Intarpas","Justify cell text":"Pabrėžti langelio tekstÄ…","Keystrokes that can be used in a table cell":"Klavišų paspaudimai, kurie gali bÅ«ti naudojami lentelÄ—s langelyje","Merge cell down":"Prijungti langelį apaÄioje","Merge cell left":"Prijungti langelį kairÄ—je","Merge cell right":"Prijungti langelį deÅ¡inÄ—je","Merge cell up":"Prijungti langelį virÅ¡uje","Merge cells":"Sujungti langelius","Move the selection to the next cell":"Perkelti pasirinkimÄ… į kitÄ… langelį","Move the selection to the previous cell":"Perkelti pasirinkimÄ… į ankstesnį langelį","Navigate through the table":"NarÅ¡yti po lentelÄ™",None:"Nieko",Outset:"Pradžia",Padding:"Užpildymas",Ridge:"Briaunuotas",Row:"EilutÄ—","Select column":"Pasirinkti stulpelį","Select row":"Pasirinkti eilutÄ™",Solid:"Vientisas","Split cell horizontally":"Padalinti langelį horizontaliai","Split cell vertically":"Padalinti langelį vertikaliai",Style:"Stilius",Table:"LentelÄ—","Table alignment toolbar":"Teksto lygiavimo įrankių juosta","Table cell text alignment":"LentelÄ—s langelio teksto lygiavimas","Table properties":"LentelÄ—s savybÄ—s","Table toolbar":"LentelÄ—s įrankių juosta",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Spalva neteisinga. MÄ—ginkite "#FF0000" arba "rgb(255,0,0)" arba "raudona".','The value is invalid. Try "10px" or "2em" or simply "2".':'ReikÅ¡mÄ— neteisinga. MÄ—ginkite "10px" arba "2em", ar paprasÄiausiai "2".',"Vertical text alignment toolbar":"Vertikalaus teksto lygiavimo įrankių juosta",Width:"Plotis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.lt=e.lt||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Lygiuoti langelio tekstÄ… apaÄioje","Align cell text to the center":"Lygiuoti langelio tekstÄ… centre","Align cell text to the left":"Lygiuoti langelio tekstÄ… kairÄ—je","Align cell text to the middle":"Lygiuoti langelio tekstÄ… viduryje","Align cell text to the right":"Lygiuoti langelio tekstÄ… deÅ¡inÄ—je","Align cell text to the top":"Lygiuoti langelio tekstÄ… virÅ¡uje","Align table to the left":"Lygiuoti lentelÄ™ kairÄ—je","Align table to the right":"Lygiuoti lentelÄ™ deÅ¡inÄ—je",Alignment:"Lygiavimas",Background:"Fonas",Border:"KraÅ¡tas","Cell properties":"Langelio savybÄ—s","Center table":"Centruoti lentelÄ™",Color:"Spalva",Column:"Stulpelis",Dashed:"BrÅ«kÅ¡neliais","Delete column":"IÅ¡trinti stulpelį","Delete row":"IÅ¡trinti eilutÄ™",Dimensions:"Matmenys",Dotted:"TaÅ¡kuotas",Double:"Dvigubas","Enter table caption":"Ä®vesti lentelÄ—s antraÅ¡tÄ™",Groove:"Ilgas ir siauras","Header column":"AntraÅ¡tÄ—s stulpelis","Header row":"AntraÅ¡tÄ—s eilutÄ—",Height:"AukÅ¡tis","Horizontal text alignment toolbar":"Horizontalaus teksto lygiavimo įrankių juosta","Insert a new table row (when in the last cell of a table)":"Ä®terpti į lentelÄ™ naujÄ… eilutÄ™ (kai yra paskutiniame lentelÄ—s langelyje)","Insert column left":"Ä®terpti stulpelį kairÄ—je","Insert column right":"Ä®terpti stulpelį deÅ¡inÄ—je","Insert row above":"Ä®terpti eilutÄ™ aukÅ¡Äiau","Insert row below":"Ä®terpti eilutÄ™ žemiau","Insert table":"Ä®terpti lentelÄ™",Inset:"Intarpas","Justify cell text":"Pabrėžti langelio tekstÄ…","Keystrokes that can be used in a table cell":"Klavišų paspaudimai, kurie gali bÅ«ti naudojami lentelÄ—s langelyje","Merge cell down":"Prijungti langelį apaÄioje","Merge cell left":"Prijungti langelį kairÄ—je","Merge cell right":"Prijungti langelį deÅ¡inÄ—je","Merge cell up":"Prijungti langelį virÅ¡uje","Merge cells":"Sujungti langelius","Move the selection to the next cell":"Perkelti pasirinkimÄ… į kitÄ… langelį","Move the selection to the previous cell":"Perkelti pasirinkimÄ… į ankstesnį langelį","Navigate through the table":"NarÅ¡yti po lentelÄ™",None:"Nieko",Outset:"Pradžia",Padding:"Užpildymas",Ridge:"Briaunuotas",Row:"EilutÄ—","Select column":"Pasirinkti stulpelį","Select row":"Pasirinkti eilutÄ™",Solid:"Vientisas","Split cell horizontally":"Padalinti langelį horizontaliai","Split cell vertically":"Padalinti langelį vertikaliai",Style:"Stilius",Table:"LentelÄ—","Table alignment toolbar":"Teksto lygiavimo įrankių juosta","Table cell text alignment":"LentelÄ—s langelio teksto lygiavimas","Table properties":"LentelÄ—s savybÄ—s","Table toolbar":"LentelÄ—s įrankių juosta",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Spalva neteisinga. MÄ—ginkite "#FF0000" arba "rgb(255,0,0)" arba "raudona".','The value is invalid. Try "10px" or "2em" or simply "2".':'ReikÅ¡mÄ— neteisinga. MÄ—ginkite "10px" arba "2em", ar paprasÄiausiai "2".',"Vertical text alignment toolbar":"Vertikalaus teksto lygiavimo įrankių juosta",Width:"Plotis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/lv.js b/core/assets/vendor/ckeditor5/table/translations/lv.js index ec1778cafc035dcb907b6cb4499cae826cd36936..eca872949f1c10cc72bcf069f2ac56e5d4b4145a 100644 --- a/core/assets/vendor/ckeditor5/table/translations/lv.js +++ b/core/assets/vendor/ckeditor5/table/translations/lv.js @@ -1 +1 @@ -!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"Align cell text to the bottom":"LÄ«dzinÄt Å¡Å«nas tekstu pie apakÅ¡as","Align cell text to the center":"LÄ«dzinÄt Å¡Å«nas tekstu centrÄ","Align cell text to the left":"LÄ«dzinÄt Å¡Å«nas tekstu pa kreisi","Align cell text to the middle":"LÄ«dzinÄt Å¡Å«nas tekstu vidÅ«","Align cell text to the right":"LÄ«dzinÄt Å¡Å«nas tekstu pa labi","Align cell text to the top":"LÄ«dzinÄt Å¡Å«nas tekstu pie augÅ¡as","Align table to the left":"LÄ«dzinÄt tabulu pa kreisi","Align table to the right":"LÄ«dzinÄt tabulu pa labi",Alignment:"Novietojums",Background:"Fona krÄsa",Border:"Apmale","Cell properties":"Å Å«nas Ä«paÅ¡Ä«bas","Center table":"CentrÄ“t tabulu",Color:"Teksta krÄsa","Color picker":"KrÄsu palete",Column:"Kolonna",Dashed:"PÄrtraukta lÄ«nija","Delete column":"DzÄ“st kolonnu","Delete row":"DzÄ“st rindu",Dimensions:"IzmÄ“ri",Dotted:"PunktÄ“ta lÄ«nija",Double:"Dubulta lÄ«nija","Enter table caption":"Ievadiet tabulas parakstu",Groove:"Iespiesta lÄ«nija","Header column":"Å Ä« kolonna ir galvene","Header row":"Å Ä« rinda ir galvene",Height:"Augstums","Horizontal text alignment toolbar":"HorizontÄla teksta lÄ«dzinÄÅ¡ana","Insert a new table row (when in the last cell of a table)":"Ievietot jaunu tabulas rindu (esot tabulas pÄ“dÄ“jÄ Å¡Å«nÄ)","Insert column left":"Ievietot kolonnu pa kreisi","Insert column right":"Ievietot kolonnu pa labi","Insert row above":"Ievietot rindu virs","Insert row below":"Ievietot rindu zem","Insert table":"Ievietot tabulu",Inset:"Ievietot / ieliktnis","Justify cell text":"Taisnot Å¡Å«nas tekstu","Keystrokes that can be used in a table cell":"Taustiņsitieni, kurus var izmantot tabulas Å¡Å«nÄ","Merge cell down":"Apvienot Å¡Å«nas uz leju","Merge cell left":"Apvienot Å¡Å«nas pa kreisi","Merge cell right":"Apvienot Å¡Å«nas pa labi","Merge cell up":"Apvienot Å¡Å«nas uz augÅ¡u","Merge cells":"Apvienot Å¡Å«nas","Move the selection to the next cell":"PÄrvietot atlasi uz nÄkamo Å¡Å«nu","Move the selection to the previous cell":"PÄrvietot atlasi uz iepriekÅ¡Ä“jo Å¡Å«nu","Navigate through the table":"PÄrvietoties tabulÄ",None:"Bez apmales",Outset:"sÄkums",Padding:"Atstatums",Ridge:"Izcelta lÄ«nija",Row:"Rinda","Select column":"IzvÄ“lÄ“ties kolonnu","Select row":"IzvÄ“lÄ“ties rindu",Solid:"NepÄrtraukta lÄ«nija","Split cell horizontally":"AtdalÄ«t Å¡Å«nu horizontÄli","Split cell vertically":"AtdalÄ«t Å¡Å«nu vertikÄli",Style:"Stils",Table:"Tabula","Table alignment toolbar":"Tabulas lÄ«dzinÄÅ¡ana","Table cell text alignment":"Teksta novietojums Å¡Å«nÄ","Table properties":"Tabulas Ä«paÅ¡Ä«bas","Table toolbar":"Tabulas rÄ«kjosla",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'KrÄsa nav korekta. MÄ“Ä£iniet "#FF0000" vai "rgb(255,0,0)" vai "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'VÄ“rtÄ«ba nav korekta. MÄ“Ä£iniet "10px" vai "2em" vai vienkÄrÅ¡i "2"',"Vertical text alignment toolbar":"VertikÄla teksta lÄ«dzinÄÅ¡ana",Width:"Platums"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"Align cell text to the bottom":"LÄ«dzinÄt Å¡Å«nas tekstu pie apakÅ¡as","Align cell text to the center":"LÄ«dzinÄt Å¡Å«nas tekstu centrÄ","Align cell text to the left":"LÄ«dzinÄt Å¡Å«nas tekstu pa kreisi","Align cell text to the middle":"LÄ«dzinÄt Å¡Å«nas tekstu vidÅ«","Align cell text to the right":"LÄ«dzinÄt Å¡Å«nas tekstu pa labi","Align cell text to the top":"LÄ«dzinÄt Å¡Å«nas tekstu pie augÅ¡as","Align table to the left":"LÄ«dzinÄt tabulu pa kreisi","Align table to the right":"LÄ«dzinÄt tabulu pa labi",Alignment:"Novietojums",Background:"Fona krÄsa",Border:"Apmale","Cell properties":"Å Å«nas Ä«paÅ¡Ä«bas","Center table":"CentrÄ“t tabulu",Color:"Teksta krÄsa",Column:"Kolonna",Dashed:"PÄrtraukta lÄ«nija","Delete column":"DzÄ“st kolonnu","Delete row":"DzÄ“st rindu",Dimensions:"IzmÄ“ri",Dotted:"PunktÄ“ta lÄ«nija",Double:"Dubulta lÄ«nija","Enter table caption":"Ievadiet tabulas parakstu",Groove:"Iespiesta lÄ«nija","Header column":"Å Ä« kolonna ir galvene","Header row":"Å Ä« rinda ir galvene",Height:"Augstums","Horizontal text alignment toolbar":"HorizontÄla teksta lÄ«dzinÄÅ¡ana","Insert a new table row (when in the last cell of a table)":"Ievietot jaunu tabulas rindu (esot tabulas pÄ“dÄ“jÄ Å¡Å«nÄ)","Insert column left":"Ievietot kolonnu pa kreisi","Insert column right":"Ievietot kolonnu pa labi","Insert row above":"Ievietot rindu virs","Insert row below":"Ievietot rindu zem","Insert table":"Ievietot tabulu",Inset:"Ievietot / ieliktnis","Justify cell text":"Taisnot Å¡Å«nas tekstu","Keystrokes that can be used in a table cell":"Taustiņsitieni, kurus var izmantot tabulas Å¡Å«nÄ","Merge cell down":"Apvienot Å¡Å«nas uz leju","Merge cell left":"Apvienot Å¡Å«nas pa kreisi","Merge cell right":"Apvienot Å¡Å«nas pa labi","Merge cell up":"Apvienot Å¡Å«nas uz augÅ¡u","Merge cells":"Apvienot Å¡Å«nas","Move the selection to the next cell":"PÄrvietot atlasi uz nÄkamo Å¡Å«nu","Move the selection to the previous cell":"PÄrvietot atlasi uz iepriekÅ¡Ä“jo Å¡Å«nu","Navigate through the table":"PÄrvietoties tabulÄ",None:"Bez apmales",Outset:"sÄkums",Padding:"Atstatums",Ridge:"Izcelta lÄ«nija",Row:"Rinda","Select column":"IzvÄ“lÄ“ties kolonnu","Select row":"IzvÄ“lÄ“ties rindu",Solid:"NepÄrtraukta lÄ«nija","Split cell horizontally":"AtdalÄ«t Å¡Å«nu horizontÄli","Split cell vertically":"AtdalÄ«t Å¡Å«nu vertikÄli",Style:"Stils",Table:"Tabula","Table alignment toolbar":"Tabulas lÄ«dzinÄÅ¡ana","Table cell text alignment":"Teksta novietojums Å¡Å«nÄ","Table properties":"Tabulas Ä«paÅ¡Ä«bas","Table toolbar":"Tabulas rÄ«kjosla",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'KrÄsa nav korekta. MÄ“Ä£iniet "#FF0000" vai "rgb(255,0,0)" vai "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'VÄ“rtÄ«ba nav korekta. MÄ“Ä£iniet "10px" vai "2em" vai vienkÄrÅ¡i "2"',"Vertical text alignment toolbar":"VertikÄla teksta lÄ«dzinÄÅ¡ana",Width:"Platums"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ms.js b/core/assets/vendor/ckeditor5/table/translations/ms.js index 75d43ef88f4b74f0c62294291bf5fc379cfe5b17..ba4921a08efaa987ca10e13094ea0e94b8dfd815 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ms.js +++ b/core/assets/vendor/ckeditor5/table/translations/ms.js @@ -1 +1 @@ -!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"Align cell text to the bottom":"Jajarkan teks sel kebawah","Align cell text to the center":"Jajarkan teks sel ketengah","Align cell text to the left":"Jajarkan teks sel kekiri","Align cell text to the middle":"Jajarkan teks sel ketengah","Align cell text to the right":"Jajarkan teks sel kekanan","Align cell text to the top":"Jajarkan teks sel keatas","Align table to the left":"Jajarkan jadual sel kekiri","Align table to the right":"Jajarkan jadual sel kekanan",Alignment:"Jajaran",Background:"Latar belakang",Border:"Sempadan","Cell properties":"Sifat sel","Center table":"Ketengahkan jadual",Color:"Warna","Color picker":"Pemilih warna",Column:"Kolum",Dashed:"Garis putus-putus","Delete column":"Padam kolum","Delete row":"Padam baris",Dimensions:"Dimensi",Dotted:"Bertitik",Double:"Dua baris","Enter table caption":"Benarkan kapsyen jadual",Groove:"Lurah","Header column":"Kolum pengepala","Header row":"Baris pengepala",Height:"Ketinggian","Horizontal text alignment toolbar":"Bar alat capaian jajaran teks melintang","Insert a new table row (when in the last cell of a table)":"Masukkan baris jadual baharu (apabila berada dalam sel terakhir jadual)","Insert column left":"Masukkan kolum kiri","Insert column right":"Masukkan kolum kanan","Insert row above":"Masukkan baris diatas","Insert row below":"Masukkan baris dibawah","Insert table":"Masukkan jadual",Inset:"Inset","Justify cell text":"Imbang teks sel","Keystrokes that can be used in a table cell":"Ketukan kekunci yang boleh digunakan dalam sel jadual","Merge cell down":"Cantumkan sel kebawah","Merge cell left":"Cantumkan sel kekiri","Merge cell right":"Cantumkan sel kekanan","Merge cell up":"Cantumkan sel keatas","Merge cells":"Cantumkan sel ","Move the selection to the next cell":"Alihkan pilihan ke sel seterusnya","Move the selection to the previous cell":"Alihkan pilihan ke sel sebelumnya","Navigate through the table":"Navigasi melalui jadual",None:"Tiada",Outset:"Outset",Padding:"Ketebalan",Ridge:"Batas",Row:"Baris","Select column":"Pilih kolum","Select row":"Pilih baris",Solid:"Pejal","Split cell horizontally":"Leraikan sel melintang","Split cell vertically":"Leraikan sel menegak",Style:"Gaya",Table:"Jadual","Table alignment toolbar":"Bar alat capaian jajaran jadual","Table cell text alignment":"Jajaran teks sel jadual","Table properties":"Sifat jadual","Table toolbar":"Bar alat capaian jadual",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Warna tidak sah. Cuba "#FF0000" atau "rgb(255,0,0)" atau "merah".','The value is invalid. Try "10px" or "2em" or simply "2".':'Nilai tidak sah. Cuba "10px" atau "2em" atau "2" sahaja.',"Vertical text alignment toolbar":"Bar alat capaian jajaran teks menegak",Width:"Lebar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"Align cell text to the bottom":"Jajarkan teks sel kebawah","Align cell text to the center":"Jajarkan teks sel ketengah","Align cell text to the left":"Jajarkan teks sel kekiri","Align cell text to the middle":"Jajarkan teks sel ketengah","Align cell text to the right":"Jajarkan teks sel kekanan","Align cell text to the top":"Jajarkan teks sel keatas","Align table to the left":"Jajarkan jadual sel kekiri","Align table to the right":"Jajarkan jadual sel kekanan",Alignment:"Jajaran",Background:"Latar belakang",Border:"Sempadan","Cell properties":"Sifat sel","Center table":"Ketengahkan jadual",Color:"Warna",Column:"Kolum",Dashed:"Garis putus-putus","Delete column":"Padam kolum","Delete row":"Padam baris",Dimensions:"Dimensi",Dotted:"Bertitik",Double:"Dua baris","Enter table caption":"Benarkan kapsyen jadual",Groove:"Lurah","Header column":"Kolum pengepala","Header row":"Baris pengepala",Height:"Ketinggian","Horizontal text alignment toolbar":"Bar alat capaian jajaran teks melintang","Insert a new table row (when in the last cell of a table)":"Masukkan baris jadual baharu (apabila berada dalam sel terakhir jadual)","Insert column left":"Masukkan kolum kiri","Insert column right":"Masukkan kolum kanan","Insert row above":"Masukkan baris diatas","Insert row below":"Masukkan baris dibawah","Insert table":"Masukkan jadual",Inset:"Inset","Justify cell text":"Imbang teks sel","Keystrokes that can be used in a table cell":"Ketukan kekunci yang boleh digunakan dalam sel jadual","Merge cell down":"Cantumkan sel kebawah","Merge cell left":"Cantumkan sel kekiri","Merge cell right":"Cantumkan sel kekanan","Merge cell up":"Cantumkan sel keatas","Merge cells":"Cantumkan sel ","Move the selection to the next cell":"Alihkan pilihan ke sel seterusnya","Move the selection to the previous cell":"Alihkan pilihan ke sel sebelumnya","Navigate through the table":"Navigasi melalui jadual",None:"Tiada",Outset:"Outset",Padding:"Ketebalan",Ridge:"Batas",Row:"Baris","Select column":"Pilih kolum","Select row":"Pilih baris",Solid:"Pejal","Split cell horizontally":"Leraikan sel melintang","Split cell vertically":"Leraikan sel menegak",Style:"Gaya",Table:"Jadual","Table alignment toolbar":"Bar alat capaian jajaran jadual","Table cell text alignment":"Jajaran teks sel jadual","Table properties":"Sifat jadual","Table toolbar":"Bar alat capaian jadual",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Warna tidak sah. Cuba "#FF0000" atau "rgb(255,0,0)" atau "merah".','The value is invalid. Try "10px" or "2em" or simply "2".':'Nilai tidak sah. Cuba "10px" atau "2em" atau "2" sahaja.',"Vertical text alignment toolbar":"Bar alat capaian jajaran teks menegak",Width:"Lebar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/nb.js b/core/assets/vendor/ckeditor5/table/translations/nb.js index 9c50266639a94ce638f951dc0e45dd162e60c16f..97b2db4e328bb7c49ae00df937610d32cf9c5087 100644 --- a/core/assets/vendor/ckeditor5/table/translations/nb.js +++ b/core/assets/vendor/ckeditor5/table/translations/nb.js @@ -1 +1 @@ -!function(e){const l=e.nb=e.nb||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"Kolonne",Dashed:"","Delete column":"Slett kolonne","Delete row":"Slett rad",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"SlÃ¥ sammen celle ned","Merge cell left":"SlÃ¥ sammen celle til venstre","Merge cell right":"SlÃ¥ sammen celle til høyre","Merge cell up":"SlÃ¥ sammen celle opp","Merge cells":"SlÃ¥ sammen celler","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"Rad","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.nb=e.nb||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"Kolonne",Dashed:"","Delete column":"Slett kolonne","Delete row":"Slett rad",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"SlÃ¥ sammen celle ned","Merge cell left":"SlÃ¥ sammen celle til venstre","Merge cell right":"SlÃ¥ sammen celle til høyre","Merge cell up":"SlÃ¥ sammen celle opp","Merge cells":"SlÃ¥ sammen celler","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"Rad","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ne.js b/core/assets/vendor/ckeditor5/table/translations/ne.js index eea8c4a87da839826220b7185c93a9cc587bdd7d..c4a04c272cc434e1b12a1401c80abf60de54d3b6 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ne.js +++ b/core/assets/vendor/ckeditor5/table/translations/ne.js @@ -1 +1 @@ -!function(e){const t=e.ne=e.ne||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"सà¥à¤¤à¤®à¥à¤",Dashed:"","Delete column":"सà¥à¤¤à¤®à¥à¤ मेटाउनà¥à¤¹à¥‹à¤¸à¥","Delete row":"पङà¥à¤•à¥à¤¤à¤¿ मेटाउनà¥à¤¹à¥‹à¤¸à¥",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"हेडर सà¥à¤¤à¤®à¥à¤","Header row":"हेडर पङà¥à¤•à¥à¤¤à¤¿",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"बायाठसà¥à¤¤à¤®à¥à¤ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨","Insert column right":"दायाठसà¥à¤¤à¤®à¥à¤ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨","Insert row above":"माथि पंकà¥à¤¤à¤¿ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Insert row below":"तल पंकà¥à¤¤à¤¿ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Insert table":"तालिका समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"ककà¥à¤· तल मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cell left":"सेल बायाठमरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cell right":"दायाठककà¥à¤· मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cell up":"ककà¥à¤· माथि मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cells":"ककà¥à¤· मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"पङà¥à¤•à¥à¤¤à¤¿","Select column":"","Select row":"",Solid:"","Split cell horizontally":"कà¥à¤·à¥ˆà¤¤à¤¿à¤œ ककà¥à¤· विà¤à¤¾à¤œà¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Split cell vertically":"ठाडो ककà¥à¤· विà¤à¤¾à¤œà¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ne=e.ne||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"सà¥à¤¤à¤®à¥à¤",Dashed:"","Delete column":"सà¥à¤¤à¤®à¥à¤ मेटाउनà¥à¤¹à¥‹à¤¸à¥","Delete row":"पङà¥à¤•à¥à¤¤à¤¿ मेटाउनà¥à¤¹à¥‹à¤¸à¥",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"हेडर सà¥à¤¤à¤®à¥à¤","Header row":"हेडर पङà¥à¤•à¥à¤¤à¤¿",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"बायाठसà¥à¤¤à¤®à¥à¤ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨","Insert column right":"दायाठसà¥à¤¤à¤®à¥à¤ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨","Insert row above":"माथि पंकà¥à¤¤à¤¿ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Insert row below":"तल पंकà¥à¤¤à¤¿ समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Insert table":"तालिका समà¥à¤®à¤¿à¤²à¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"ककà¥à¤· तल मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cell left":"सेल बायाठमरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cell right":"दायाठककà¥à¤· मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cell up":"ककà¥à¤· माथि मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Merge cells":"ककà¥à¤· मरà¥à¤œ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"पङà¥à¤•à¥à¤¤à¤¿","Select column":"","Select row":"",Solid:"","Split cell horizontally":"कà¥à¤·à¥ˆà¤¤à¤¿à¤œ ककà¥à¤· विà¤à¤¾à¤œà¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥","Split cell vertically":"ठाडो ककà¥à¤· विà¤à¤¾à¤œà¤¿à¤¤ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/nl.js b/core/assets/vendor/ckeditor5/table/translations/nl.js index 6e8bcb1bfca76d7eea170b11cd0f85e787262dbe..9ac160e65e584d65f86d83e8f47495a6ad52b27e 100644 --- a/core/assets/vendor/ckeditor5/table/translations/nl.js +++ b/core/assets/vendor/ckeditor5/table/translations/nl.js @@ -1 +1 @@ -!function(e){const l=e.nl=e.nl||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Celtekst onder uitlijnen","Align cell text to the center":"Tekst in de cel centreren","Align cell text to the left":"Celtekst links uitlijnen","Align cell text to the middle":"Celtekst in het midden uitlijnen","Align cell text to the right":"Celtekst rechts uitlijnen","Align cell text to the top":"Celtekst boven uitlijnen","Align table to the left":"Tabel links uitlijnen","Align table to the right":"Tabel rechts uitlijnen",Alignment:"Uitlijning",Background:"Achtergrond",Border:"Rand","Cell properties":"Celeigenschappen","Center table":"Tabel centreren",Color:"Kleur","Color picker":"Kleurkiezer",Column:"Kolom",Dashed:"Onderbroken","Delete column":"Verwijder kolom","Delete row":"Verwijder rij",Dimensions:"Afmetingen",Dotted:"Stippellijn",Double:"Dubbel","Enter table caption":"Voer tabelbijschrift in",Groove:"Sleuf","Header column":"Titel kolom","Header row":"Titel rij",Height:"Hoogte","Horizontal text alignment toolbar":"Werkbalk voor horizontale tekstuitlijning","Insert a new table row (when in the last cell of a table)":"Voeg een nieuwe rij toe aan de tabel (wanneer in de laatste cel van een tabel)","Insert column left":"Kolom links invoegen","Insert column right":"Kolom rechts invoegen","Insert row above":"Rij hierboven invoegen","Insert row below":"Rij hieronder invoegen","Insert table":"Tabel invoegen",Inset:"Ingezet","Justify cell text":"Celtekst uitvullen","Keystrokes that can be used in a table cell":"Toetsaanslagen die in een cel in een tabel gebruikt kunnen worden","Merge cell down":"Cel hieronder samenvoegen","Merge cell left":"Cel hiervoor samenvoegen","Merge cell right":"Cel hierna samenvoegen","Merge cell up":"Cel hierboven samenvoegen","Merge cells":"Cellen samenvoegen","Move the selection to the next cell":"Verplaats de selectie naar de volgende cel","Move the selection to the previous cell":"Verplaats de selectie naar de vorige cel","Navigate through the table":"Navigeer door de tabel",None:"Geen",Outset:"Opliggend",Padding:"Opvulling",Ridge:"Rand",Row:"Rij","Select column":"Selecteer kolom","Select row":"Selecteer rij",Solid:"Ononderbroken","Split cell horizontally":"Splits cel horizontaal","Split cell vertically":"Splits cel verticaal",Style:"Stijl",Table:"Tabel","Table alignment toolbar":"Werkbalk tabeluitlijning","Table cell text alignment":"Tekstuitlijning tabelcel","Table properties":"Tabeleigenschappen","Table toolbar":"Tabel werkbalk",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'De kleur in niet correct, probeer "#FF0000" of "rgb(255,0,0)" of "red".','The value is invalid. Try "10px" or "2em" or simply "2".':"De waarde is ongeldig. Probeer '10px' of '2em' of gewoon '2'.","Vertical text alignment toolbar":"Werkbalk voor verticale tekstuitlijning",Width:"Breedte"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.nl=e.nl||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Celtekst onder uitlijnen","Align cell text to the center":"Tekst in de cel centreren","Align cell text to the left":"Celtekst links uitlijnen","Align cell text to the middle":"Celtekst in het midden uitlijnen","Align cell text to the right":"Celtekst rechts uitlijnen","Align cell text to the top":"Celtekst boven uitlijnen","Align table to the left":"Tabel links uitlijnen","Align table to the right":"Tabel rechts uitlijnen",Alignment:"Uitlijning",Background:"Achtergrond",Border:"Rand","Cell properties":"Celeigenschappen","Center table":"Tabel centreren",Color:"Kleur",Column:"Kolom",Dashed:"Onderbroken","Delete column":"Verwijder kolom","Delete row":"Verwijder rij",Dimensions:"Afmetingen",Dotted:"Stippellijn",Double:"Dubbel","Enter table caption":"Voer tabelbijschrift in",Groove:"Sleuf","Header column":"Titel kolom","Header row":"Titel rij",Height:"Hoogte","Horizontal text alignment toolbar":"Werkbalk voor horizontale tekstuitlijning","Insert a new table row (when in the last cell of a table)":"Voeg een nieuwe rij toe aan de tabel (wanneer in de laatste cel van een tabel)","Insert column left":"Kolom links invoegen","Insert column right":"Kolom rechts invoegen","Insert row above":"Rij hierboven invoegen","Insert row below":"Rij hieronder invoegen","Insert table":"Tabel invoegen",Inset:"Ingezet","Justify cell text":"Celtekst uitvullen","Keystrokes that can be used in a table cell":"Toetsaanslagen die in een cel in een tabel gebruikt kunnen worden","Merge cell down":"Cel hieronder samenvoegen","Merge cell left":"Cel hiervoor samenvoegen","Merge cell right":"Cel hierna samenvoegen","Merge cell up":"Cel hierboven samenvoegen","Merge cells":"Cellen samenvoegen","Move the selection to the next cell":"Verplaats de selectie naar de volgende cel","Move the selection to the previous cell":"Verplaats de selectie naar de vorige cel","Navigate through the table":"Navigeer door de tabel",None:"Geen",Outset:"Opliggend",Padding:"Opvulling",Ridge:"Rand",Row:"Rij","Select column":"Selecteer kolom","Select row":"Selecteer rij",Solid:"Ononderbroken","Split cell horizontally":"Splits cel horizontaal","Split cell vertically":"Splits cel verticaal",Style:"Stijl",Table:"Tabel","Table alignment toolbar":"Werkbalk tabeluitlijning","Table cell text alignment":"Tekstuitlijning tabelcel","Table properties":"Tabeleigenschappen","Table toolbar":"Tabel werkbalk",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'De kleur in niet correct, probeer "#FF0000" of "rgb(255,0,0)" of "red".','The value is invalid. Try "10px" or "2em" or simply "2".':"De waarde is ongeldig. Probeer '10px' of '2em' of gewoon '2'.","Vertical text alignment toolbar":"Werkbalk voor verticale tekstuitlijning",Width:"Breedte"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/no.js b/core/assets/vendor/ckeditor5/table/translations/no.js index 719804acd03b016108f1447e938d2bd33dc2f8b5..6edda444ded1261b6fed5f2e09fcc70055dfc7de 100644 --- a/core/assets/vendor/ckeditor5/table/translations/no.js +++ b/core/assets/vendor/ckeditor5/table/translations/no.js @@ -1 +1 @@ -!function(e){const t=e.no=e.no||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Juster celletekst til bunn ","Align cell text to the center":"Juster celletekst til midten ","Align cell text to the left":"Juster celletekst til venstre ","Align cell text to the middle":"Juster celletekst til midten","Align cell text to the right":"Juster celletekst til høyre ","Align cell text to the top":"Juster celletekst til topp","Align table to the left":"Juster tabell til venstre ","Align table to the right":"Juster tabell til høyre ",Alignment:"Justering",Background:"Bakgrunn ",Border:"Kantlinje ","Cell properties":"Celleegenskaper ","Center table":"Sentrer tabell ",Color:"Farge","Color picker":"Fargevalg ",Column:"Kolonne",Dashed:"Stiplet","Delete column":"Slett kolonne","Delete row":"Slett rad",Dimensions:"Dimensjoner",Dotted:"Stiplede",Double:"Dobbel ","Enter table caption":"Legg inn tabelltekst",Groove:"Grov","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Height:"Høyde","Horizontal text alignment toolbar":"Verktøylinje for justering av tekst horisontalt ","Insert a new table row (when in the last cell of a table)":"Sett inn en ny tabellrad (nÃ¥r man stÃ¥r i den siste cellen i en tabell)","Insert column left":"Sett inn kolonne til venstre","Insert column right":"Sett inn kolonne til høyre","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"Innover","Justify cell text":"Rett celletekst ","Keystrokes that can be used in a table cell":"Tastetrykk som kan brukes i en tabellcelle","Merge cell down":"SlÃ¥ sammen celle under","Merge cell left":"SlÃ¥ sammen celle til venstre","Merge cell right":"SlÃ¥ sammen celle til høyre","Merge cell up":"SlÃ¥ sammen celle over","Merge cells":"SlÃ¥ sammen celler","Move the selection to the next cell":"Flytt valget til den neste cellen","Move the selection to the previous cell":"Flytt valget til den forrige cellen","Navigate through the table":"Naviger gjennom tabellen",None:"Ingen",Outset:"Utover",Padding:"Fylling",Ridge:"Kjede",Row:"Rad","Select column":"Velg kolonne ","Select row":"Velg rad",Solid:"Hel","Split cell horizontally":"Del opp celle horisontalt","Split cell vertically":"Del opp celle vertikalt",Style:"Stil ",Table:"Tabell","Table alignment toolbar":"Verktøylinje for justering av tabell ","Table cell text alignment":"Celle tekstjustering ","Table properties":"Egenskaper for tabell","Table toolbar":"Tabell verktøylinje ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Ugyldig farge ",'The value is invalid. Try "10px" or "2em" or simply "2".':"Ugyldig verdi ","Vertical text alignment toolbar":"Verktøylinje for justering av tekst vertikalt ",Width:"Bredde"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.no=e.no||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Juster celletekst til bunn ","Align cell text to the center":"Juster celletekst til midten ","Align cell text to the left":"Juster celletekst til venstre ","Align cell text to the middle":"Juster celletekst til midten","Align cell text to the right":"Juster celletekst til høyre ","Align cell text to the top":"Juster celletekst til topp","Align table to the left":"Juster tabell til venstre ","Align table to the right":"Juster tabell til høyre ",Alignment:"Justering",Background:"Bakgrunn ",Border:"Kantlinje ","Cell properties":"Celleegenskaper ","Center table":"Sentrer tabell ",Color:"Farge",Column:"Kolonne",Dashed:"Stiplet","Delete column":"Slett kolonne","Delete row":"Slett rad",Dimensions:"Dimensjoner",Dotted:"Stiplede",Double:"Dobbel ","Enter table caption":"Legg inn tabelltekst",Groove:"Grov","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Height:"Høyde","Horizontal text alignment toolbar":"Verktøylinje for justering av tekst horisontalt ","Insert a new table row (when in the last cell of a table)":"Sett inn en ny tabellrad (nÃ¥r man stÃ¥r i den siste cellen i en tabell)","Insert column left":"Sett inn kolonne til venstre","Insert column right":"Sett inn kolonne til høyre","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"Innover","Justify cell text":"Rett celletekst ","Keystrokes that can be used in a table cell":"Tastetrykk som kan brukes i en tabellcelle","Merge cell down":"SlÃ¥ sammen celle under","Merge cell left":"SlÃ¥ sammen celle til venstre","Merge cell right":"SlÃ¥ sammen celle til høyre","Merge cell up":"SlÃ¥ sammen celle over","Merge cells":"SlÃ¥ sammen celler","Move the selection to the next cell":"Flytt valget til den neste cellen","Move the selection to the previous cell":"Flytt valget til den forrige cellen","Navigate through the table":"Naviger gjennom tabellen",None:"Ingen",Outset:"Utover",Padding:"Fylling",Ridge:"Kjede",Row:"Rad","Select column":"Velg kolonne ","Select row":"Velg rad",Solid:"Hel","Split cell horizontally":"Del opp celle horisontalt","Split cell vertically":"Del opp celle vertikalt",Style:"Stil ",Table:"Tabell","Table alignment toolbar":"Verktøylinje for justering av tabell ","Table cell text alignment":"Celle tekstjustering ","Table properties":"Egenskaper for tabell","Table toolbar":"Tabell verktøylinje ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Ugyldig farge ",'The value is invalid. Try "10px" or "2em" or simply "2".':"Ugyldig verdi ","Vertical text alignment toolbar":"Verktøylinje for justering av tekst vertikalt ",Width:"Bredde"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/pl.js b/core/assets/vendor/ckeditor5/table/translations/pl.js index 5bc65f76185b2b7020fc8f35da26ecaf4f175026..55196d8b201e44571d08ea8dc97bc0832b5d95a3 100644 --- a/core/assets/vendor/ckeditor5/table/translations/pl.js +++ b/core/assets/vendor/ckeditor5/table/translations/pl.js @@ -1 +1 @@ -!function(e){const t=e.pl=e.pl||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Wyrównaj tekst w komórce do doÅ‚u","Align cell text to the center":"Wyrównaj tekst w komórce do Å›rodka","Align cell text to the left":"Wyrównaj tekst w komórce do lewej","Align cell text to the middle":"Wyrównaj tekst w komórce do Å›rodka","Align cell text to the right":"Wyrównaj tekst w komórce do prawej","Align cell text to the top":"Wyrównaj tekst w komórce do góry","Align table to the left":"Wyrównaj tabelÄ™ do lewej","Align table to the right":"Wyrównaj tabelÄ™ do prawej",Alignment:"Wyrównanie",Background:"TÅ‚o",Border:"Obramowanie","Cell properties":"WÅ‚aÅ›ciwoÅ›ci komórki","Center table":"Wyrównaj tabelÄ™ do Å›rodka",Color:"Kolor","Color picker":"Wybór koloru",Column:"Kolumna",Dashed:"Kreskowane","Delete column":"UsuÅ„ kolumnÄ™","Delete row":"UsuÅ„ wiersz",Dimensions:"Wymiary",Dotted:"Kropkowane",Double:"Podwójne","Enter table caption":"Wprowadź podpis tabeli",Groove:"WklÄ™sÅ‚e","Header column":"Kolumna nagłówka","Header row":"Wiersz nagłówka",Height:"Wysokość","Horizontal text alignment toolbar":"Pasek narzÄ™dzi wyrównania tekstu w poziomie","Insert a new table row (when in the last cell of a table)":"Wstawia nowy wiersz tabeli (w przypadku ostatniej komórki tabeli)","Insert column left":"Wstaw kolumnÄ™ z lewej","Insert column right":"Wstaw kolumnÄ™ z prawej","Insert row above":"Wstaw wiersz ponad","Insert row below":"Wstaw wiersz poniżej","Insert table":"Wstaw tabelÄ™",Inset:"ZapadniÄ™te","Justify cell text":"Wyjustuj tekst komórki","Keystrokes that can be used in a table cell":"Klawisze, których można używać w komórce tabeli","Merge cell down":"Scal komórkÄ™ w dół","Merge cell left":"Scal komórkÄ™ w lewo","Merge cell right":"Scal komórkÄ™ w prawo","Merge cell up":"Scal komórkÄ™ w górÄ™","Merge cells":"Scal komórki","Move the selection to the next cell":"Przenosi zaznaczenie do nastÄ™pnej komórki","Move the selection to the previous cell":"Przenosi zaznaczenie do poprzedniej komórki","Navigate through the table":"Umożliwia poruszanie siÄ™ po tabeli",None:"Brak",Outset:"WysuniÄ™te",Padding:"DopeÅ‚nienie",Ridge:"WypukÅ‚e",Row:"Wiersz","Select column":"Zaznacz kolumnÄ™","Select row":"Zaznacz wiersz",Solid:"CiÄ…gÅ‚e","Split cell horizontally":"Podziel komórkÄ™ poziomo","Split cell vertically":"Podziel komórkÄ™ pionowo",Style:"Styl",Table:"Tabela","Table alignment toolbar":"Pasek narzÄ™dzi wyrównania tabeli","Table cell text alignment":"Wyrównanie tekstu komórki tabeli","Table properties":"WÅ‚aÅ›ciwoÅ›ci tabeli","Table toolbar":"Pasek narzÄ™dzi tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Kolor jest niepoprawny. Spróbuj wpisać "#FF0000", "rgb(255,0,0)" lub "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Wartość jest niepoprawna. Spróbuj wpisać "10px", "2em" lub po prostu "2".',"Vertical text alignment toolbar":"Pasek narzÄ™dzi wyrównania tekstu w pionie",Width:"Szerokość"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.pl=e.pl||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Wyrównaj tekst w komórce do doÅ‚u","Align cell text to the center":"Wyrównaj tekst w komórce do Å›rodka","Align cell text to the left":"Wyrównaj tekst w komórce do lewej","Align cell text to the middle":"Wyrównaj tekst w komórce do Å›rodka","Align cell text to the right":"Wyrównaj tekst w komórce do prawej","Align cell text to the top":"Wyrównaj tekst w komórce do góry","Align table to the left":"Wyrównaj tabelÄ™ do lewej","Align table to the right":"Wyrównaj tabelÄ™ do prawej",Alignment:"Wyrównanie",Background:"TÅ‚o",Border:"Obramowanie","Cell properties":"WÅ‚aÅ›ciwoÅ›ci komórki","Center table":"Wyrównaj tabelÄ™ do Å›rodka",Color:"Kolor",Column:"Kolumna",Dashed:"Kreskowane","Delete column":"UsuÅ„ kolumnÄ™","Delete row":"UsuÅ„ wiersz",Dimensions:"Wymiary",Dotted:"Kropkowane",Double:"Podwójne","Enter table caption":"Wprowadź podpis tabeli",Groove:"WklÄ™sÅ‚e","Header column":"Kolumna nagłówka","Header row":"Wiersz nagłówka",Height:"Wysokość","Horizontal text alignment toolbar":"Pasek narzÄ™dzi wyrównania tekstu w poziomie","Insert a new table row (when in the last cell of a table)":"Wstawia nowy wiersz tabeli (w przypadku ostatniej komórki tabeli)","Insert column left":"Wstaw kolumnÄ™ z lewej","Insert column right":"Wstaw kolumnÄ™ z prawej","Insert row above":"Wstaw wiersz ponad","Insert row below":"Wstaw wiersz poniżej","Insert table":"Wstaw tabelÄ™",Inset:"ZapadniÄ™te","Justify cell text":"Wyjustuj tekst komórki","Keystrokes that can be used in a table cell":"Klawisze, których można używać w komórce tabeli","Merge cell down":"Scal komórkÄ™ w dół","Merge cell left":"Scal komórkÄ™ w lewo","Merge cell right":"Scal komórkÄ™ w prawo","Merge cell up":"Scal komórkÄ™ w górÄ™","Merge cells":"Scal komórki","Move the selection to the next cell":"Przenosi zaznaczenie do nastÄ™pnej komórki","Move the selection to the previous cell":"Przenosi zaznaczenie do poprzedniej komórki","Navigate through the table":"Umożliwia poruszanie siÄ™ po tabeli",None:"Brak",Outset:"WysuniÄ™te",Padding:"DopeÅ‚nienie",Ridge:"WypukÅ‚e",Row:"Wiersz","Select column":"Zaznacz kolumnÄ™","Select row":"Zaznacz wiersz",Solid:"CiÄ…gÅ‚e","Split cell horizontally":"Podziel komórkÄ™ poziomo","Split cell vertically":"Podziel komórkÄ™ pionowo",Style:"Styl",Table:"Tabela","Table alignment toolbar":"Pasek narzÄ™dzi wyrównania tabeli","Table cell text alignment":"Wyrównanie tekstu komórki tabeli","Table properties":"WÅ‚aÅ›ciwoÅ›ci tabeli","Table toolbar":"Pasek narzÄ™dzi tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Kolor jest niepoprawny. Spróbuj wpisać "#FF0000", "rgb(255,0,0)" lub "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Wartość jest niepoprawna. Spróbuj wpisać "10px", "2em" lub po prostu "2".',"Vertical text alignment toolbar":"Pasek narzÄ™dzi wyrównania tekstu w pionie",Width:"Szerokość"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/pt-br.js b/core/assets/vendor/ckeditor5/table/translations/pt-br.js index 25c31823db455335a8b9fef37d116410525b0c69..1f37b9820a7f81a0f6d3983107b51ab428bd1d32 100644 --- a/core/assets/vendor/ckeditor5/table/translations/pt-br.js +++ b/core/assets/vendor/ckeditor5/table/translations/pt-br.js @@ -1 +1 @@ -!function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinhar texto da célula para baixo","Align cell text to the center":"Alinhar texto da célula centralizado","Align cell text to the left":"Alinhar texto da célula para a esquerda","Align cell text to the middle":"Alinhar texto da célula para o meio","Align cell text to the right":"Alinhar texto da célula para a direita","Align cell text to the top":"Alinhar texto da célula para o topo","Align table to the left":"Alinhar tabela para esquerda","Align table to the right":"Alinhar tabela para direita",Alignment:"Alinhamento",Background:"Cor de fundo",Border:"Borda","Cell properties":"Propriedades da célula","Center table":"Centralizar tabela",Color:"Cor","Color picker":"Seletor de cor",Column:"Coluna",Dashed:"Tracejada","Delete column":"Excluir coluna","Delete row":"Excluir linha",Dimensions:"Dimensões",Dotted:"Pontilhada",Double:"Dupla","Enter table caption":"Inserir legenda da tabela",Groove:"Ranhura","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",Height:"Altura","Horizontal text alignment toolbar":"Ferramentas de alinhamento horizontal do texto","Insert a new table row (when in the last cell of a table)":"Inserir uma nova linha de tabela (quando na última célula de uma tabela)","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Baixo relevo","Justify cell text":"Justificar texto da célula","Keystrokes that can be used in a table cell":"Teclas que podem ser usadas em uma célula de tabela","Merge cell down":"Mesclar abaixo","Merge cell left":"Mesclar à esquerda","Merge cell right":"Mesclar à direita","Merge cell up":"Mesclar acima","Merge cells":"Mesclar células","Move the selection to the next cell":"Mover a seleção para a próxima célula","Move the selection to the previous cell":"Mover a seleção para a célula anterior","Navigate through the table":"Navegar pela tabela",None:"Sem borda",Outset:"Alto relevo",Padding:"Margem interna",Ridge:"Crista",Row:"Linha","Select column":"Selecionar coluna","Select row":"Selecionar linha",Solid:"Sólida","Split cell horizontally":"Dividir horizontalmente","Split cell vertically":"Dividir verticalmente",Style:"Estilo",Table:"Tabela","Table alignment toolbar":"Ferramentas de alinhamento da tabela","Table cell text alignment":"Alinhamento do texto na célula","Table properties":"Propriedades da tabela","Table toolbar":"Ferramentas de Tabela",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Cor inválida. Tente "#FF0000" ou "rgb(255,0,0)" ou "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'Valor inválido. Tente "10px" ou "2em" ou apenas "2"',"Vertical text alignment toolbar":"Ferramentas de alinhamento vertical do texto",Width:"Largura"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinhar texto da célula para baixo","Align cell text to the center":"Alinhar texto da célula centralizado","Align cell text to the left":"Alinhar texto da célula para a esquerda","Align cell text to the middle":"Alinhar texto da célula para o meio","Align cell text to the right":"Alinhar texto da célula para a direita","Align cell text to the top":"Alinhar texto da célula para o topo","Align table to the left":"Alinhar tabela para esquerda","Align table to the right":"Alinhar tabela para direita",Alignment:"Alinhamento",Background:"Cor de fundo",Border:"Borda","Cell properties":"Propriedades da célula","Center table":"Centralizar tabela",Color:"Cor",Column:"Coluna",Dashed:"Tracejada","Delete column":"Excluir coluna","Delete row":"Excluir linha",Dimensions:"Dimensões",Dotted:"Pontilhada",Double:"Dupla","Enter table caption":"Inserir legenda da tabela",Groove:"Ranhura","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",Height:"Altura","Horizontal text alignment toolbar":"Ferramentas de alinhamento horizontal do texto","Insert a new table row (when in the last cell of a table)":"Inserir uma nova linha de tabela (quando na última célula de uma tabela)","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Baixo relevo","Justify cell text":"Justificar texto da célula","Keystrokes that can be used in a table cell":"Teclas que podem ser usadas em uma célula de tabela","Merge cell down":"Mesclar abaixo","Merge cell left":"Mesclar à esquerda","Merge cell right":"Mesclar à direita","Merge cell up":"Mesclar acima","Merge cells":"Mesclar células","Move the selection to the next cell":"Mover a seleção para a próxima célula","Move the selection to the previous cell":"Mover a seleção para a célula anterior","Navigate through the table":"Navegar pela tabela",None:"Sem borda",Outset:"Alto relevo",Padding:"Margem interna",Ridge:"Crista",Row:"Linha","Select column":"Selecionar coluna","Select row":"Selecionar linha",Solid:"Sólida","Split cell horizontally":"Dividir horizontalmente","Split cell vertically":"Dividir verticalmente",Style:"Estilo",Table:"Tabela","Table alignment toolbar":"Ferramentas de alinhamento da tabela","Table cell text alignment":"Alinhamento do texto na célula","Table properties":"Propriedades da tabela","Table toolbar":"Ferramentas de Tabela",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Cor inválida. Tente "#FF0000" ou "rgb(255,0,0)" ou "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'Valor inválido. Tente "10px" ou "2em" ou apenas "2"',"Vertical text alignment toolbar":"Ferramentas de alinhamento vertical do texto",Width:"Largura"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/pt.js b/core/assets/vendor/ckeditor5/table/translations/pt.js index e9c605b4c7033bfdfe04a7fac11cd916e0052193..fdf3ed178cea5081c8e1e2a6583c487280fc2185 100644 --- a/core/assets/vendor/ckeditor5/table/translations/pt.js +++ b/core/assets/vendor/ckeditor5/table/translations/pt.js @@ -1 +1 @@ -!function(e){const a=e.pt=e.pt||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinhar texto da célula no fundo","Align cell text to the center":"Alinhar texto da célula ao centro","Align cell text to the left":"Alinhar texto da célula à esquerda","Align cell text to the middle":"Alinhar texto da célula ao meio","Align cell text to the right":"Alinhar texto da célula à direita","Align cell text to the top":"Alinhar texto da célula no topo","Align table to the left":"Alinhar tabela à esquerda","Align table to the right":"Alinhar tabela à direita",Alignment:"Alinhamento",Background:"Fundo",Border:"Borda","Cell properties":"Propriedades da célula","Center table":"Centrar tabela",Color:"Cor","Color picker":"Seletor de cor",Column:"Coluna",Dashed:"Tracejado","Delete column":"Eliminar coluna","Delete row":"Eliminar linha",Dimensions:"Dimensões",Dotted:"Pontilhado",Double:"Duplo","Enter table caption":"Introduzir legenda da tabela",Groove:"Sulcos","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",Height:"Altura","Horizontal text alignment toolbar":"Barra de ferramentas do alinhamento horizontal de texto","Insert a new table row (when in the last cell of a table)":"Inserir uma nova linha de tabela (quando o utilizador estiver na última célula de uma tabela)","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Interior","Justify cell text":"Justificar texto da célula","Keystrokes that can be used in a table cell":"Batimentos de teclas que podem ser utilizados numa célula de tabela","Merge cell down":"Unir célula abaixo","Merge cell left":"Unir célula à esquerda","Merge cell right":"Unir célula à direita","Merge cell up":"Unir célula acima","Merge cells":"Fundir células","Move the selection to the next cell":"Mover a seleção para a célula seguinte","Move the selection to the previous cell":"Mover a seleção para a célula anterior","Navigate through the table":"Navegar pela tabela",None:"Nenhum",Outset:"Exterior",Padding:"Espaçamento",Ridge:"Rebordo",Row:"Linha","Select column":"Selecionar coluna","Select row":"Selecionar linha",Solid:"Sólido","Split cell horizontally":"Dividir célula horizontalmente","Split cell vertically":"Dividir célula verticalmente",Style:"Estilo",Table:"Tabela","Table alignment toolbar":"Barra de ferramentas do alinhamento da tabela","Table cell text alignment":"Alinhamento de texto das células da tabela","Table properties":"Propriedades da tabela","Table toolbar":"Barra de ferramentas da tabela",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'A cor é inválida. Tente "#FF0000" ou "rgb(255,0,0)" ou "vermelho".','The value is invalid. Try "10px" or "2em" or simply "2".':'O valor é inválido. Tente "10px" ou "2em" ou simplesmente "2".',"Vertical text alignment toolbar":"Barra de ferramentas do alinhamento vertical de texto",Width:"Largura"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e.pt=e.pt||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinhar texto da célula no fundo","Align cell text to the center":"Alinhar texto da célula ao centro","Align cell text to the left":"Alinhar texto da célula à esquerda","Align cell text to the middle":"Alinhar texto da célula ao meio","Align cell text to the right":"Alinhar texto da célula à direita","Align cell text to the top":"Alinhar texto da célula no topo","Align table to the left":"Alinhar tabela à esquerda","Align table to the right":"Alinhar tabela à direita",Alignment:"Alinhamento",Background:"Fundo",Border:"Borda","Cell properties":"Propriedades da célula","Center table":"Centrar tabela",Color:"Cor",Column:"Coluna",Dashed:"Tracejado","Delete column":"Eliminar coluna","Delete row":"Eliminar linha",Dimensions:"Dimensões",Dotted:"Pontilhado",Double:"Duplo","Enter table caption":"Introduzir legenda da tabela",Groove:"Sulcos","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",Height:"Altura","Horizontal text alignment toolbar":"Barra de ferramentas do alinhamento horizontal de texto","Insert a new table row (when in the last cell of a table)":"Inserir uma nova linha de tabela (quando o utilizador estiver na última célula de uma tabela)","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Interior","Justify cell text":"Justificar texto da célula","Keystrokes that can be used in a table cell":"Batimentos de teclas que podem ser utilizados numa célula de tabela","Merge cell down":"Unir célula abaixo","Merge cell left":"Unir célula à esquerda","Merge cell right":"Unir célula à direita","Merge cell up":"Unir célula acima","Merge cells":"Fundir células","Move the selection to the next cell":"Mover a seleção para a célula seguinte","Move the selection to the previous cell":"Mover a seleção para a célula anterior","Navigate through the table":"Navegar pela tabela",None:"Nenhum",Outset:"Exterior",Padding:"Espaçamento",Ridge:"Rebordo",Row:"Linha","Select column":"Selecionar coluna","Select row":"Selecionar linha",Solid:"Sólido","Split cell horizontally":"Dividir célula horizontalmente","Split cell vertically":"Dividir célula verticalmente",Style:"Estilo",Table:"Tabela","Table alignment toolbar":"Barra de ferramentas do alinhamento da tabela","Table cell text alignment":"Alinhamento de texto das células da tabela","Table properties":"Propriedades da tabela","Table toolbar":"Barra de ferramentas da tabela",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'A cor é inválida. Tente "#FF0000" ou "rgb(255,0,0)" ou "vermelho".','The value is invalid. Try "10px" or "2em" or simply "2".':'O valor é inválido. Tente "10px" ou "2em" ou simplesmente "2".',"Vertical text alignment toolbar":"Barra de ferramentas do alinhamento vertical de texto",Width:"Largura"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ro.js b/core/assets/vendor/ckeditor5/table/translations/ro.js index f9fa10cb34459e29078b7ad63bfad835414e7514..472ad77bcc615a1e123061750b837274e7e06923 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ro.js +++ b/core/assets/vendor/ckeditor5/table/translations/ro.js @@ -1 +1 @@ -!function(e){const l=e.ro=e.ro||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Alinează textul celulei jos","Align cell text to the center":"Alinează textul celulei la centru","Align cell text to the left":"Alinează textul celulei la stânga","Align cell text to the middle":"Alinează textul celulei la mijloc","Align cell text to the right":"Alinează textul celulei la dreapta","Align cell text to the top":"Alinează textul celulei sus","Align table to the left":"Alinează tabela la stânga","Align table to the right":"Alinează tabela la dreapta",Alignment:"Aliniere",Background:"Fundal",Border:"Bordură","Cell properties":"Proprietățile celulei","Center table":"Tabelă centrată",Color:"Culoare","Color picker":"Alegere culoare",Column:"Coloană",Dashed:"Linii întrerupte","Delete column":"Șterge coloană","Delete row":"Șterge rând",Dimensions:"Dimensiuni",Dotted:"Punctată",Double:"Dublă","Enter table caption":"Adaugă subtitlul tabelei",Groove:"Groove","Header column":"Antet coloană","Header row":"Rând antet",Height:"ÃŽnălÈ›ime","Horizontal text alignment toolbar":"Toolbar aliniere text orizontală","Insert a new table row (when in the last cell of a table)":"Inserează un nou rând de tabel (când poziÈ›ia activă este în ultima celulă a unui tabel)","Insert column left":"Inserează coloană la stânga","Insert column right":"Inserează coloană la dreapta","Insert row above":"Inserează rând deasupra","Insert row below":"Inserează rând dedesubt","Insert table":"Inserează tabel",Inset:"Inserează","Justify cell text":"Textul celulei justify","Keystrokes that can be used in a table cell":"Comenzi din tastatură care pot fi utilizate într-o celulă de tabel","Merge cell down":"ÃŽmbină celula în jos","Merge cell left":"ÃŽmbină celula la stânga","Merge cell right":"ÃŽmbină celula la dreapta","Merge cell up":"ÃŽmbină celula în sus","Merge cells":"ÃŽmbină celulele","Move the selection to the next cell":"Mută selecÈ›ia în următoarea celulă","Move the selection to the previous cell":"Mută selecÈ›ia în celula anterioară","Navigate through the table":"Navigare în tabel",None:"Nimic",Outset:"Elimină",Padding:"SpaÈ›iere",Ridge:"Crestată",Row:"Rând","Select column":"Selectează coloana","Select row":"Selectează linia",Solid:"Solidă","Split cell horizontally":"Scindează celula pe orizontală","Split cell vertically":"Scindează celula pe verticală",Style:"Stil",Table:"Tabel","Table alignment toolbar":"Toolbar aliniere tabelă","Table cell text alignment":"Alinierea textului celulei tabelei","Table properties":"Proprietățile tabelei","Table toolbar":"Bară tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Culoarea este invalidă. ÃŽncearcă "#FF0000" sau "rgb(255,0,0)" sau "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Valoarea este invalidă. ÃŽncearcă "10px" sau "2em" sau simplu "2".',"Vertical text alignment toolbar":"Toolbar aliniere text verticală",Width:"Lungime"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.ro=e.ro||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Alinează textul celulei jos","Align cell text to the center":"Alinează textul celulei la centru","Align cell text to the left":"Alinează textul celulei la stânga","Align cell text to the middle":"Alinează textul celulei la mijloc","Align cell text to the right":"Alinează textul celulei la dreapta","Align cell text to the top":"Alinează textul celulei sus","Align table to the left":"Alinează tabela la stânga","Align table to the right":"Alinează tabela la dreapta",Alignment:"Aliniere",Background:"Fundal",Border:"Bordură","Cell properties":"Proprietățile celulei","Center table":"Tabelă centrată",Color:"Culoare",Column:"Coloană",Dashed:"Linii întrerupte","Delete column":"Șterge coloană","Delete row":"Șterge rând",Dimensions:"Dimensiuni",Dotted:"Punctată",Double:"Dublă","Enter table caption":"Adaugă subtitlul tabelei",Groove:"Groove","Header column":"Antet coloană","Header row":"Rând antet",Height:"ÃŽnălÈ›ime","Horizontal text alignment toolbar":"Toolbar aliniere text orizontală","Insert a new table row (when in the last cell of a table)":"Inserează un nou rând de tabel (când poziÈ›ia activă este în ultima celulă a unui tabel)","Insert column left":"Inserează coloană la stânga","Insert column right":"Inserează coloană la dreapta","Insert row above":"Inserează rând deasupra","Insert row below":"Inserează rând dedesubt","Insert table":"Inserează tabel",Inset:"Inserează","Justify cell text":"Textul celulei justify","Keystrokes that can be used in a table cell":"Comenzi din tastatură care pot fi utilizate într-o celulă de tabel","Merge cell down":"ÃŽmbină celula în jos","Merge cell left":"ÃŽmbină celula la stânga","Merge cell right":"ÃŽmbină celula la dreapta","Merge cell up":"ÃŽmbină celula în sus","Merge cells":"ÃŽmbină celulele","Move the selection to the next cell":"Mută selecÈ›ia în următoarea celulă","Move the selection to the previous cell":"Mută selecÈ›ia în celula anterioară","Navigate through the table":"Navigare în tabel",None:"Nimic",Outset:"Elimină",Padding:"SpaÈ›iere",Ridge:"Crestată",Row:"Rând","Select column":"Selectează coloana","Select row":"Selectează linia",Solid:"Solidă","Split cell horizontally":"Scindează celula pe orizontală","Split cell vertically":"Scindează celula pe verticală",Style:"Stil",Table:"Tabel","Table alignment toolbar":"Toolbar aliniere tabelă","Table cell text alignment":"Alinierea textului celulei tabelei","Table properties":"Proprietățile tabelei","Table toolbar":"Bară tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Culoarea este invalidă. ÃŽncearcă "#FF0000" sau "rgb(255,0,0)" sau "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Valoarea este invalidă. ÃŽncearcă "10px" sau "2em" sau simplu "2".',"Vertical text alignment toolbar":"Toolbar aliniere text verticală",Width:"Lungime"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ru.js b/core/assets/vendor/ckeditor5/table/translations/ru.js index 9db255a1d6db5a2e593ea462b3a41b9d3e901af5..7d6a14c232e2695eaa29b08a198f814125b669bd 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ru.js +++ b/core/assets/vendor/ckeditor5/table/translations/ru.js @@ -1 +1 @@ -!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ВыровнÑÑ‚ÑŒ текÑÑ‚ Ñчейки по нижнему краю","Align cell text to the center":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по центру","Align cell text to the left":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по левому краю","Align cell text to the middle":"ВыровнÑÑ‚ÑŒ текÑÑ‚ Ñчейки по центру","Align cell text to the right":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по правому краю","Align cell text to the top":"ВыровнÑÑ‚ÑŒ текÑÑ‚ Ñчейки по верхнему краю","Align table to the left":"ВыровнÑÑ‚ÑŒ таблицу по левому краю","Align table to the right":"ВыровнÑÑ‚ÑŒ таблицу по правому краю",Alignment:"Выравнивание",Background:"Фон",Border:"Граница","Cell properties":"СвойÑтва Ñчейки","Center table":"ВыровнÑÑ‚ÑŒ таблицу по центру",Color:"Цвет","Color picker":"Выбор цвета",Column:"Столбец",Dashed:"ПунктирнаÑ","Delete column":"Удалить Ñтолбец","Delete row":"Удалить Ñтроку",Dimensions:"Размеры",Dotted:"ТочечнаÑ",Double:"ДвойнаÑ","Enter table caption":"ПодпиÑÑŒ таблицы",Groove:"ЖелобчатаÑ","Header column":"Столбец заголовков","Header row":"Строка заголовков",Height:"Ð’Ñ‹Ñота","Horizontal text alignment toolbar":"Панель инÑтрументов горизонтального Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‚ÐµÐºÑта","Insert a new table row (when in the last cell of a table)":"Ð’Ñтавить новую Ñтроку таблицы (в поÑледней Ñчейке таблицы)","Insert column left":"Ð’Ñтавить Ñтолбец Ñлева","Insert column right":"Ð’Ñтавить Ñтолбец Ñправа","Insert row above":"Ð’Ñтавить Ñтроку выше","Insert row below":"Ð’Ñтавить Ñтроку ниже","Insert table":"Ð’Ñтавить таблицу",Inset:"ВдавленнаÑ","Justify cell text":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по ширине","Keystrokes that can be used in a table cell":"ÐÐ°Ð¶Ð°Ñ‚Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ, которые можно иÑпользовать в Ñчейке таблицы","Merge cell down":"Объединить Ñ Ñчейкой Ñнизу","Merge cell left":"Объединить Ñ Ñчейкой Ñлева","Merge cell right":"Объединить Ñ Ñчейкой Ñправа","Merge cell up":"Объединить Ñ Ñчейкой Ñверху","Merge cells":"Объединить Ñчейки","Move the selection to the next cell":"ПеремеÑтить выделение в Ñледующую Ñчейку","Move the selection to the previous cell":"ПеремеÑтить выделение на предыдущую Ñчейку","Navigate through the table":"ÐÐ°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð¿Ð¾ таблице",None:"Ðет",Outset:"ВыпуклаÑ",Padding:"ОтÑтуп",Ridge:"РебриÑтаÑ",Row:"Строка","Select column":"Выбрать Ñтолбец","Select row":"Выбрать Ñтроку",Solid:"СплошнаÑ","Split cell horizontally":"Разделить Ñчейку горизонтально","Split cell vertically":"Разделить Ñчейку вертикально",Style:"Стиль",Table:"Таблица","Table alignment toolbar":"Панель инÑтрументов Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ‹","Table cell text alignment":"Выравнивание текÑта в Ñчейке таблицы","Table properties":"СвойÑтва таблицы","Table toolbar":"Панель инÑтрументов таблицы",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Ðеверный цвет. Попробуйте "#FF0000" или "rgb(255,0,0)" или "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Ðеверное значение. Попробуйте "10px" или "2em" или проÑто "2".',"Vertical text alignment toolbar":"Панель инÑтрументов вертикального Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‚ÐµÐºÑта",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ВыровнÑÑ‚ÑŒ текÑÑ‚ Ñчейки по нижнему краю","Align cell text to the center":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по центру","Align cell text to the left":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по левому краю","Align cell text to the middle":"ВыровнÑÑ‚ÑŒ текÑÑ‚ Ñчейки по центру","Align cell text to the right":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по правому краю","Align cell text to the top":"ВыровнÑÑ‚ÑŒ текÑÑ‚ Ñчейки по верхнему краю","Align table to the left":"ВыровнÑÑ‚ÑŒ таблицу по левому краю","Align table to the right":"ВыровнÑÑ‚ÑŒ таблицу по правому краю",Alignment:"Выравнивание",Background:"Фон",Border:"Граница","Cell properties":"СвойÑтва Ñчейки","Center table":"ВыровнÑÑ‚ÑŒ таблицу по центру",Color:"Цвет",Column:"Столбец",Dashed:"ПунктирнаÑ","Delete column":"Удалить Ñтолбец","Delete row":"Удалить Ñтроку",Dimensions:"Размеры",Dotted:"ТочечнаÑ",Double:"ДвойнаÑ","Enter table caption":"ПодпиÑÑŒ таблицы",Groove:"ЖелобчатаÑ","Header column":"Столбец заголовков","Header row":"Строка заголовков",Height:"Ð’Ñ‹Ñота","Horizontal text alignment toolbar":"Панель инÑтрументов горизонтального Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‚ÐµÐºÑта","Insert a new table row (when in the last cell of a table)":"Ð’Ñтавить новую Ñтроку таблицы (в поÑледней Ñчейке таблицы)","Insert column left":"Ð’Ñтавить Ñтолбец Ñлева","Insert column right":"Ð’Ñтавить Ñтолбец Ñправа","Insert row above":"Ð’Ñтавить Ñтроку выше","Insert row below":"Ð’Ñтавить Ñтроку ниже","Insert table":"Ð’Ñтавить таблицу",Inset:"ВдавленнаÑ","Justify cell text":"ВыровнÑÑ‚ÑŒ текÑÑ‚ по ширине","Keystrokes that can be used in a table cell":"ÐÐ°Ð¶Ð°Ñ‚Ð¸Ñ ÐºÐ»Ð°Ð²Ð¸Ñˆ, которые можно иÑпользовать в Ñчейке таблицы","Merge cell down":"Объединить Ñ Ñчейкой Ñнизу","Merge cell left":"Объединить Ñ Ñчейкой Ñлева","Merge cell right":"Объединить Ñ Ñчейкой Ñправа","Merge cell up":"Объединить Ñ Ñчейкой Ñверху","Merge cells":"Объединить Ñчейки","Move the selection to the next cell":"ПеремеÑтить выделение в Ñледующую Ñчейку","Move the selection to the previous cell":"ПеремеÑтить выделение на предыдущую Ñчейку","Navigate through the table":"ÐÐ°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð¿Ð¾ таблице",None:"Ðет",Outset:"ВыпуклаÑ",Padding:"ОтÑтуп",Ridge:"РебриÑтаÑ",Row:"Строка","Select column":"Выбрать Ñтолбец","Select row":"Выбрать Ñтроку",Solid:"СплошнаÑ","Split cell horizontally":"Разделить Ñчейку горизонтально","Split cell vertically":"Разделить Ñчейку вертикально",Style:"Стиль",Table:"Таблица","Table alignment toolbar":"Панель инÑтрументов Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ‹","Table cell text alignment":"Выравнивание текÑта в Ñчейке таблицы","Table properties":"СвойÑтва таблицы","Table toolbar":"Панель инÑтрументов таблицы",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Ðеверный цвет. Попробуйте "#FF0000" или "rgb(255,0,0)" или "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Ðеверное значение. Попробуйте "10px" или "2em" или проÑто "2".',"Vertical text alignment toolbar":"Панель инÑтрументов вертикального Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‚ÐµÐºÑта",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/sk.js b/core/assets/vendor/ckeditor5/table/translations/sk.js index 93f7ff187190e30cb84288a51558790581aaa60b..c7048fa0a68d4503595e8602bc6f032487645517 100644 --- a/core/assets/vendor/ckeditor5/table/translations/sk.js +++ b/core/assets/vendor/ckeditor5/table/translations/sk.js @@ -1 +1 @@ -!function(e){const t=e.sk=e.sk||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ZarovnaÅ¥ text bunky nadol","Align cell text to the center":"ZarovnaÅ¥ text bunky na stred","Align cell text to the left":"ZarovnaÅ¥ text bunky doľava","Align cell text to the middle":"ZarovnaÅ¥ text bunky na stred","Align cell text to the right":"ZarovnaÅ¥ text bunky doprava","Align cell text to the top":"ZarovnaÅ¥ text bunky nahor","Align table to the left":"ZarovnaÅ¥ tabuľku doľava","Align table to the right":"ZarovnaÅ¥ tabuľku doprava",Alignment:"Zarovnanie",Background:"Pozadie",Border:"Orámovanie","Cell properties":"Vlastnosti bunky","Center table":"CentrovaÅ¥ tabuľku",Color:"Farba","Color picker":"VybraÅ¥ farbu",Column:"Stĺpec",Dashed:"ÄŒiarkovaná","Delete column":"OdstrániÅ¥ stĺpec","Delete row":"OdstrániÅ¥ riadok",Dimensions:"Rozmery",Dotted:"Bodkovaná",Double:"Dvojitá","Enter table caption":"Zadajte popis tabuľky",Groove:"Drážkovaná","Header column":"Stĺpec hlaviÄky","Header row":"Riadok hlaviÄky",Height:"Výška","Horizontal text alignment toolbar":"Horizontálne zarovnanie textu v panely","Insert a new table row (when in the last cell of a table)":"VložiÅ¥ nový riadok tabuľky (keÄ je oznaÄená posledná bunka tabuľky)","Insert column left":"VložiÅ¥ stĺpec vľavo","Insert column right":"VložiÅ¥ stĺpec vpravo","Insert row above":"VložiÅ¥ riadok nad","Insert row below":"VložiÅ¥ riadok pod","Insert table":"VložiÅ¥ tabuľku",Inset:"Vložená z vnútra","Justify cell text":"ZarovnaÅ¥ text bunky z oboch strán","Keystrokes that can be used in a table cell":"Klávesy, ktoré sa dajú použiÅ¥ v bunke tabuľky","Merge cell down":"ZlúÄiÅ¥ bunku dole","Merge cell left":"ZlúÄiÅ¥ bunku vľavo","Merge cell right":"ZlúÄiÅ¥ bunku vpravo","Merge cell up":"ZlúÄiÅ¥ bunku hore","Merge cells":"ZlúÄiÅ¥ bunky","Move the selection to the next cell":"Presunúť výber do nasledujúcej bunky","Move the selection to the previous cell":"Presunúť výber do predchádzajúcej bunky","Navigate through the table":"PrechádzaÅ¥ tabuľkou",None:"Žiadna",Outset:"Vložená zvonku",Padding:"Vnútorný okraj",Ridge:"Rámovaná",Row:"Riadok","Select column":"VybraÅ¥ stĺpec","Select row":"VybraÅ¥ riadok",Solid:"Plná","Split cell horizontally":"RozdeliÅ¥ bunku vodorovne","Split cell vertically":"RozdeliÅ¥ bunku zvislo",Style:"Å týl",Table:"Tabuľka","Table alignment toolbar":"Panel zarovnania tabuľky","Table cell text alignment":"Zarovnanie textu v bunke","Table properties":"Vlastnosti tabuľky","Table toolbar":"Panel nástrojov tabuľky",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Farba má nesprávny formát. Skúste "#FF0000", "rgb(255,0,0)" alebo "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Hodnota je nesprávna. Skúste "10px", "2em" alebo jednoducho "2".',"Vertical text alignment toolbar":"Vertikálne zarovnanie textu v panely",Width:"Å Ãrka"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.sk=e.sk||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ZarovnaÅ¥ text bunky nadol","Align cell text to the center":"ZarovnaÅ¥ text bunky na stred","Align cell text to the left":"ZarovnaÅ¥ text bunky doľava","Align cell text to the middle":"ZarovnaÅ¥ text bunky na stred","Align cell text to the right":"ZarovnaÅ¥ text bunky doprava","Align cell text to the top":"ZarovnaÅ¥ text bunky nahor","Align table to the left":"ZarovnaÅ¥ tabuľku doľava","Align table to the right":"ZarovnaÅ¥ tabuľku doprava",Alignment:"Zarovnanie",Background:"Pozadie",Border:"Orámovanie","Cell properties":"Vlastnosti bunky","Center table":"CentrovaÅ¥ tabuľku",Color:"Farba",Column:"Stĺpec",Dashed:"ÄŒiarkovaná","Delete column":"OdstrániÅ¥ stĺpec","Delete row":"OdstrániÅ¥ riadok",Dimensions:"Rozmery",Dotted:"Bodkovaná",Double:"Dvojitá","Enter table caption":"Zadajte popis tabuľky",Groove:"Drážkovaná","Header column":"Stĺpec hlaviÄky","Header row":"Riadok hlaviÄky",Height:"Výška","Horizontal text alignment toolbar":"Horizontálne zarovnanie textu v panely","Insert a new table row (when in the last cell of a table)":"VložiÅ¥ nový riadok tabuľky (keÄ je oznaÄená posledná bunka tabuľky)","Insert column left":"VložiÅ¥ stĺpec vľavo","Insert column right":"VložiÅ¥ stĺpec vpravo","Insert row above":"VložiÅ¥ riadok nad","Insert row below":"VložiÅ¥ riadok pod","Insert table":"VložiÅ¥ tabuľku",Inset:"Vložená z vnútra","Justify cell text":"ZarovnaÅ¥ text bunky z oboch strán","Keystrokes that can be used in a table cell":"Klávesy, ktoré sa dajú použiÅ¥ v bunke tabuľky","Merge cell down":"ZlúÄiÅ¥ bunku dole","Merge cell left":"ZlúÄiÅ¥ bunku vľavo","Merge cell right":"ZlúÄiÅ¥ bunku vpravo","Merge cell up":"ZlúÄiÅ¥ bunku hore","Merge cells":"ZlúÄiÅ¥ bunky","Move the selection to the next cell":"Presunúť výber do nasledujúcej bunky","Move the selection to the previous cell":"Presunúť výber do predchádzajúcej bunky","Navigate through the table":"PrechádzaÅ¥ tabuľkou",None:"Žiadna",Outset:"Vložená zvonku",Padding:"Vnútorný okraj",Ridge:"Rámovaná",Row:"Riadok","Select column":"VybraÅ¥ stĺpec","Select row":"VybraÅ¥ riadok",Solid:"Plná","Split cell horizontally":"RozdeliÅ¥ bunku vodorovne","Split cell vertically":"RozdeliÅ¥ bunku zvislo",Style:"Å týl",Table:"Tabuľka","Table alignment toolbar":"Panel zarovnania tabuľky","Table cell text alignment":"Zarovnanie textu v bunke","Table properties":"Vlastnosti tabuľky","Table toolbar":"Panel nástrojov tabuľky",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Farba má nesprávny formát. Skúste "#FF0000", "rgb(255,0,0)" alebo "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Hodnota je nesprávna. Skúste "10px", "2em" alebo jednoducho "2".',"Vertical text alignment toolbar":"Vertikálne zarovnanie textu v panely",Width:"Å Ãrka"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/sl.js b/core/assets/vendor/ckeditor5/table/translations/sl.js index a1db358d73ce185df3b41d9608e35124326ee44f..f7f79096c9b1e0a43b88d81ac8ab74aa70c5e1f1 100644 --- a/core/assets/vendor/ckeditor5/table/translations/sl.js +++ b/core/assets/vendor/ckeditor5/table/translations/sl.js @@ -1 +1 @@ -!function(e){const t=e.sl=e.sl||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"Vstavi tabelo",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.sl=e.sl||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"",Column:"",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"Vstavi tabelo",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/sq.js b/core/assets/vendor/ckeditor5/table/translations/sq.js index 65e9902e9199e759d83a53bdbb85da11c3cbe49a..ec69c55844fab5fb1733bf428fd4f606c5a2ebe5 100644 --- a/core/assets/vendor/ckeditor5/table/translations/sq.js +++ b/core/assets/vendor/ckeditor5/table/translations/sq.js @@ -1 +1 @@ -!function(t){const e=t.sq=t.sq||{};e.dictionary=Object.assign(e.dictionary||{},{"Align cell text to the bottom":"Radhite tesktin e qelisë në fund","Align cell text to the center":"Radhite tekstin në mes","Align cell text to the left":"Radhit tekstin e qelisë majtas","Align cell text to the middle":"Radhit tekstin e qelisë në mes","Align cell text to the right":"Radhit tekstin e qelisë në të djathtë","Align cell text to the top":"Radhit tekstin e qelisë sipër","Align table to the left":"Radhit tabelën majtas","Align table to the right":"Radhit tabelën në të djathtë",Alignment:"Radhitja",Background:"Prapavija",Border:"","Cell properties":"Karakteristikat e qelisë","Center table":"",Color:"Ngjyra","Color picker":"",Column:"Kolona",Dashed:"","Delete column":"Gris kolonën","Delete row":"Grish rreshtin",Dimensions:"Dimensionet",Dotted:"Me pika",Double:"Me dy vija","Enter table caption":"",Groove:"","Header column":"Kolona e kokës","Header row":"Rreshti i kokës",Height:"Lartësia","Horizontal text alignment toolbar":"Kokështrirja e rradhitjes së tekstit horizontalisht","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Shto kolonë majtas","Insert column right":"Shto kolonë djathtas","Insert row above":"Shto rresht sipër","Insert row below":"Shto rresht poshtë","Insert table":"Shto tabelë",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Bashko kutizat poshtë","Merge cell left":"Bashko kutizat majtas","Merge cell right":"Bashko kutizat djathtas","Merge cell up":"Bashko kutizat sipër","Merge cells":"Bashko kutizat","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Asnjë",Outset:"",Padding:"",Ridge:"",Row:"Rreshti","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Ndaj kutizat horizontalisht","Split cell vertically":"Ndajë kutizat vertikalisht",Style:"Stili",Table:"","Table alignment toolbar":"Kokështrirja e radhitjes së tabelës","Table cell text alignment":"Rradhitja e tekstit të qelisë së tabelës","Table properties":"Karakteristikat e tabelës","Table toolbar":"Kokështrirja e tabelës",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Kodi është i pavlefshëm. Provo"#FF0000" ose "rgb(255,0,0)" ose "red".','The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"Kokështrirja e rradhitjes së tekstit vertikalisht",Width:"Gjerësia"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(t){const e=t.sq=t.sq||{};e.dictionary=Object.assign(e.dictionary||{},{"Align cell text to the bottom":"Radhite tesktin e qelisë në fund","Align cell text to the center":"Radhite tekstin në mes","Align cell text to the left":"Radhit tekstin e qelisë majtas","Align cell text to the middle":"Radhit tekstin e qelisë në mes","Align cell text to the right":"Radhit tekstin e qelisë në të djathtë","Align cell text to the top":"Radhit tekstin e qelisë sipër","Align table to the left":"Radhit tabelën majtas","Align table to the right":"Radhit tabelën në të djathtë",Alignment:"Radhitja",Background:"Prapavija",Border:"","Cell properties":"Karakteristikat e qelisë","Center table":"",Color:"Ngjyra",Column:"Kolona",Dashed:"","Delete column":"Gris kolonën","Delete row":"Grish rreshtin",Dimensions:"Dimensionet",Dotted:"Me pika",Double:"Me dy vija","Enter table caption":"",Groove:"","Header column":"Kolona e kokës","Header row":"Rreshti i kokës",Height:"Lartësia","Horizontal text alignment toolbar":"Kokështrirja e rradhitjes së tekstit horizontalisht","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Shto kolonë majtas","Insert column right":"Shto kolonë djathtas","Insert row above":"Shto rresht sipër","Insert row below":"Shto rresht poshtë","Insert table":"Shto tabelë",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"Bashko kutizat poshtë","Merge cell left":"Bashko kutizat majtas","Merge cell right":"Bashko kutizat djathtas","Merge cell up":"Bashko kutizat sipër","Merge cells":"Bashko kutizat","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Asnjë",Outset:"",Padding:"",Ridge:"",Row:"Rreshti","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Ndaj kutizat horizontalisht","Split cell vertically":"Ndajë kutizat vertikalisht",Style:"Stili",Table:"","Table alignment toolbar":"Kokështrirja e radhitjes së tabelës","Table cell text alignment":"Rradhitja e tekstit të qelisë së tabelës","Table properties":"Karakteristikat e tabelës","Table toolbar":"Kokështrirja e tabelës",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Kodi është i pavlefshëm. Provo"#FF0000" ose "rgb(255,0,0)" ose "red".','The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"Kokështrirja e rradhitjes së tekstit vertikalisht",Width:"Gjerësia"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/sr-latn.js b/core/assets/vendor/ckeditor5/table/translations/sr-latn.js index 9683e4b5671084726812a5bcf7256c592f6a09de..021d88ec3967fd8586ddb1b0965fa0fb466a8bdd 100644 --- a/core/assets/vendor/ckeditor5/table/translations/sr-latn.js +++ b/core/assets/vendor/ckeditor5/table/translations/sr-latn.js @@ -1 +1 @@ -!function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Poravnajte tekst cÌelije prema dole","Align cell text to the center":"Poravnajte tekst cÌelije u sredinu","Align cell text to the left":"Poravnajte tekst cÌelije levo","Align cell text to the middle":"Poravnajte tekst cÌelije u sredinu","Align cell text to the right":"Poravnajte tekst cÌelije desno","Align cell text to the top":"Poravnajte tekst cÌelije prema gore","Align table to the left":"Poravnajte tabelu na levu stranu","Align table to the right":"Poravnajte tabelu na desnu stranu",Alignment:"Poravnanje",Background:"Pozadina",Border:"Granica","Cell properties":"Svojstva ćelije","Center table":"Centar tabele",Color:"Boja","Color picker":"BiraÄ boja",Column:"Kolona",Dashed:"Razbijeno","Delete column":"BriÅ¡i kolonu","Delete row":"BriÅ¡i red",Dimensions:"Dimenzija",Dotted:"Sa taÄkama",Double:"Dvostruki","Enter table caption":"Unesite naslov tabele",Groove:"Kolosek","Header column":"Kolona za zaglavlje","Header row":"Red za zaglavlje",Height:"Visina","Horizontal text alignment toolbar":"Horizontalna traka sa alatkama za poravnavanje teksta","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Dodaj kolonu levo","Insert column right":"Dodaj kolonu desno","Insert row above":"Dodaj red iznad","Insert row below":"Dodaj red ispod","Insert table":"Dodaj tabelu",Inset:"Prilog","Justify cell text":"Opravdajte tekst cÌelije","Keystrokes that can be used in a table cell":"","Merge cell down":"Spoj ćelije na dole","Merge cell left":"Spoj ćelije na levo","Merge cell right":"Spoj ćelije na desno","Merge cell up":"Spoj ćelije na gore","Merge cells":"Spoj ćelije","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Nijedan",Outset:"PoÄetak",Padding:"Postavljanje",Ridge:"Greben",Row:"Red","Select column":"Odaberi kolonu","Select row":"Odaberi red",Solid:"ÄŒvrst","Split cell horizontally":"Deli ćelije vodoravno","Split cell vertically":"Deli ćelije uspravno",Style:"Stil",Table:"","Table alignment toolbar":"Traka sa alatkama za poravnavanje tabele","Table cell text alignment":"Poravnaj tekst u tabeli","Table properties":"Svojstva tabele","Table toolbar":"Tabela traka sa alatkama",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Boja je nevažecÌa. PokuÅ¡ajte sa "# FF0000" ili "rgb (255,0,0)" ili "crvena".','The value is invalid. Try "10px" or "2em" or simply "2".':"Vrednost je nevažecÌa. PokuÅ¡ajte sa „10pk“ ili „2em“ ili jednostavno „2“.","Vertical text alignment toolbar":"Vertikalna traka sa alatkama za poravnavanje teksta",Width:"Å irina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Poravnajte tekst cÌelije prema dole","Align cell text to the center":"Poravnajte tekst cÌelije u sredinu","Align cell text to the left":"Poravnajte tekst cÌelije levo","Align cell text to the middle":"Poravnajte tekst cÌelije u sredinu","Align cell text to the right":"Poravnajte tekst cÌelije desno","Align cell text to the top":"Poravnajte tekst cÌelije prema gore","Align table to the left":"Poravnajte tabelu na levu stranu","Align table to the right":"Poravnajte tabelu na desnu stranu",Alignment:"Poravnanje",Background:"Pozadina",Border:"Granica","Cell properties":"Svojstva ćelije","Center table":"Centar tabele",Color:"Boja",Column:"Kolona",Dashed:"Razbijeno","Delete column":"BriÅ¡i kolonu","Delete row":"BriÅ¡i red",Dimensions:"Dimenzija",Dotted:"Sa taÄkama",Double:"Dvostruki","Enter table caption":"Unesite naslov tabele",Groove:"Kolosek","Header column":"Kolona za zaglavlje","Header row":"Red za zaglavlje",Height:"Visina","Horizontal text alignment toolbar":"Horizontalna traka sa alatkama za poravnavanje teksta","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Dodaj kolonu levo","Insert column right":"Dodaj kolonu desno","Insert row above":"Dodaj red iznad","Insert row below":"Dodaj red ispod","Insert table":"Dodaj tabelu",Inset:"Prilog","Justify cell text":"Opravdajte tekst cÌelije","Keystrokes that can be used in a table cell":"","Merge cell down":"Spoj ćelije na dole","Merge cell left":"Spoj ćelije na levo","Merge cell right":"Spoj ćelije na desno","Merge cell up":"Spoj ćelije na gore","Merge cells":"Spoj ćelije","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Nijedan",Outset:"PoÄetak",Padding:"Postavljanje",Ridge:"Greben",Row:"Red","Select column":"Odaberi kolonu","Select row":"Odaberi red",Solid:"ÄŒvrst","Split cell horizontally":"Deli ćelije vodoravno","Split cell vertically":"Deli ćelije uspravno",Style:"Stil",Table:"","Table alignment toolbar":"Traka sa alatkama za poravnavanje tabele","Table cell text alignment":"Poravnaj tekst u tabeli","Table properties":"Svojstva tabele","Table toolbar":"Tabela traka sa alatkama",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Boja je nevažecÌa. PokuÅ¡ajte sa "# FF0000" ili "rgb (255,0,0)" ili "crvena".','The value is invalid. Try "10px" or "2em" or simply "2".':"Vrednost je nevažecÌa. PokuÅ¡ajte sa „10pk“ ili „2em“ ili jednostavno „2“.","Vertical text alignment toolbar":"Vertikalna traka sa alatkama za poravnavanje teksta",Width:"Å irina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/sr.js b/core/assets/vendor/ckeditor5/table/translations/sr.js index 99522825ddd3f018a64a4278195a3067ef39f4cf..1646cb531b2a0746fb874eb345fcb74cf8f63fe1 100644 --- a/core/assets/vendor/ckeditor5/table/translations/sr.js +++ b/core/assets/vendor/ckeditor5/table/translations/sr.js @@ -1 +1 @@ -!function(e){const t=e.sr=e.sr||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Поравнајте текÑÑ‚ ћелије према доле","Align cell text to the center":"Поравнајте текÑÑ‚ ћелије у Ñредину","Align cell text to the left":"Поравнајте текÑÑ‚ ћелије лево","Align cell text to the middle":"Поравнајте текÑÑ‚ ћелије у Ñредину","Align cell text to the right":"Поравнајте текÑÑ‚ ћелије деÑно","Align cell text to the top":"Поравнајте текÑÑ‚ ћелије према горе","Align table to the left":"Поравнајте табелу на леву Ñтрану","Align table to the right":"Поравнајте табелу на деÑну Ñтрану",Alignment:"Поравнање",Background:"Позадина",Border:"Граница","Cell properties":"СвојÑтва ћелије","Center table":"Центар табеле",Color:"Боја","Color picker":"Бирач боја",Column:"Колона",Dashed:"Разбијено","Delete column":"Бриши колону","Delete row":"Бриши ред",Dimensions:"Димензија",Dotted:"Са тачкама",Double:"ДвоÑтруко","Enter table caption":"УнеÑите наÑлов табеле ",Groove:"КолоÑек","Header column":"Колона за заглавље","Header row":"Ред за заглавлје",Height:"ВиÑина","Horizontal text alignment toolbar":"Хоризонтална трака Ñа алаткама за поравнање текÑта","Insert a new table row (when in the last cell of a table)":"Umetni novi red u tabeli (kada je u poslednjoj cÌeliji tabele)","Insert column left":"Додај колону лево","Insert column right":"Додај колону деÑно","Insert row above":"Додај ред изнад","Insert row below":"Додај ред иÑпод","Insert table":"Додај табелу",Inset:"Прилог","Justify cell text":"Оправдајте текÑÑ‚ ћелије","Keystrokes that can be used in a table cell":"Tasteri koji se mogu koristiti u cÌeliji tabele","Merge cell down":"Спој ћелије на доле","Merge cell left":"Cпој ћелије на лево","Merge cell right":"Спој ћелије на деÑно","Merge cell up":"Спој ћелије на горе","Merge cells":"Спој ћелије","Move the selection to the next cell":"Pomeri odabir u sledeću ćeliju","Move the selection to the previous cell":"Pomeri odabir u prethodnu ćeliju","Navigate through the table":"Kretanje kroz tabelu",None:"Ðиједан",Outset:"Почетак",Padding:"ПоÑтављање",Ridge:"Гребен",Row:"Ред","Select column":"Изабери колону","Select row":"Изабери ред",Solid:"ЧврÑÑ‚","Split cell horizontally":"Дели ћелије водоравно","Split cell vertically":"Дели ћелије уÑправно",Style:"Стил",Table:"Tabela","Table alignment toolbar":"Трака Ñа алаткама за поравнање табеле","Table cell text alignment":"Поравнај текÑту табели","Table properties":"СвојÑтва табеле","Table toolbar":"Табела трака Ñа алаткама",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Боја је неважећа. Покушајте Ñа "#FF0000" или "rgb(255,0,0)" или "црвена".','The value is invalid. Try "10px" or "2em" or simply "2".':'ВредноÑÑ‚ је неважећа. Покушајте Ñа "10px" или "2em" или једноÑтавно "2".',"Vertical text alignment toolbar":"Вертикална трака Ñа алаткама за поравнање текÑта",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.sr=e.sr||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Поравнајте текÑÑ‚ ћелије према доле","Align cell text to the center":"Поравнајте текÑÑ‚ ћелије у Ñредину","Align cell text to the left":"Поравнајте текÑÑ‚ ћелије лево","Align cell text to the middle":"Поравнајте текÑÑ‚ ћелије у Ñредину","Align cell text to the right":"Поравнајте текÑÑ‚ ћелије деÑно","Align cell text to the top":"Поравнајте текÑÑ‚ ћелије према горе","Align table to the left":"Поравнајте табелу на леву Ñтрану","Align table to the right":"Поравнајте табелу на деÑну Ñтрану",Alignment:"Поравнање",Background:"Позадина",Border:"Граница","Cell properties":"СвојÑтва ћелије","Center table":"Центар табеле",Color:"Боја",Column:"Колона",Dashed:"Разбијено","Delete column":"Бриши колону","Delete row":"Бриши ред",Dimensions:"Димензија",Dotted:"Са тачкама",Double:"ДвоÑтруко","Enter table caption":"УнеÑите наÑлов табеле ",Groove:"КолоÑек","Header column":"Колона за заглавље","Header row":"Ред за заглавлје",Height:"ВиÑина","Horizontal text alignment toolbar":"Хоризонтална трака Ñа алаткама за поравнање текÑта","Insert a new table row (when in the last cell of a table)":"Umetni novi red u tabeli (kada je u poslednjoj cÌeliji tabele)","Insert column left":"Додај колону лево","Insert column right":"Додај колону деÑно","Insert row above":"Додај ред изнад","Insert row below":"Додај ред иÑпод","Insert table":"Додај табелу",Inset:"Прилог","Justify cell text":"Оправдајте текÑÑ‚ ћелије","Keystrokes that can be used in a table cell":"Tasteri koji se mogu koristiti u cÌeliji tabele","Merge cell down":"Спој ћелије на доле","Merge cell left":"Cпој ћелије на лево","Merge cell right":"Спој ћелије на деÑно","Merge cell up":"Спој ћелије на горе","Merge cells":"Спој ћелије","Move the selection to the next cell":"Pomeri odabir u sledeću ćeliju","Move the selection to the previous cell":"Pomeri odabir u prethodnu ćeliju","Navigate through the table":"Kretanje kroz tabelu",None:"Ðиједан",Outset:"Почетак",Padding:"ПоÑтављање",Ridge:"Гребен",Row:"Ред","Select column":"Изабери колону","Select row":"Изабери ред",Solid:"ЧврÑÑ‚","Split cell horizontally":"Дели ћелије водоравно","Split cell vertically":"Дели ћелије уÑправно",Style:"Стил",Table:"Tabela","Table alignment toolbar":"Трака Ñа алаткама за поравнање табеле","Table cell text alignment":"Поравнај текÑту табели","Table properties":"СвојÑтва табеле","Table toolbar":"Табела трака Ñа алаткама",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Боја је неважећа. Покушајте Ñа "#FF0000" или "rgb(255,0,0)" или "црвена".','The value is invalid. Try "10px" or "2em" or simply "2".':'ВредноÑÑ‚ је неважећа. Покушајте Ñа "10px" или "2em" или једноÑтавно "2".',"Vertical text alignment toolbar":"Вертикална трака Ñа алаткама за поравнање текÑта",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/sv.js b/core/assets/vendor/ckeditor5/table/translations/sv.js index 3b0500b18281d7c7d5fe4c479ecee6777fb7dd78..5b591ca5146b4a78f3261b545c33528d17196b82 100644 --- a/core/assets/vendor/ckeditor5/table/translations/sv.js +++ b/core/assets/vendor/ckeditor5/table/translations/sv.js @@ -1 +1 @@ -!function(e){const l=e.sv=e.sv||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Bottenjustera celltext","Align cell text to the center":"Centrera celltext","Align cell text to the left":"Vänsterjustera celltext","Align cell text to the middle":"Centrera celltext","Align cell text to the right":"Högerjustera celltext","Align cell text to the top":"Toppjustera celltext","Align table to the left":"Vänsterjustera tabell","Align table to the right":"Högerjustera tabell",Alignment:"Justering",Background:"Bakgrund",Border:"Kant","Cell properties":"Cellegenskaper","Center table":"Centrera tabell",Color:"Färg","Color picker":"Färgväljare",Column:"Kolumn",Dashed:"Streckad","Delete column":"Ta bort kolumn","Delete row":"Ta bort rad",Dimensions:"MÃ¥tt",Dotted:"Prickig",Double:"Dubbel","Enter table caption":"Ange tabellrubrik",Groove:"SkÃ¥ra","Header column":"Rubrikkolumn","Header row":"Rubrikrad",Height:"Höjd","Horizontal text alignment toolbar":"Verktygsfält för horisontell textjustering","Insert a new table row (when in the last cell of a table)":"Infoga en ny tabellrad (när du är pÃ¥ den sista cellen i en tabell)","Insert column left":"Infoga kolumn till vänster","Insert column right":"Infoga kolumn till höger","Insert row above":"Infoga rad ovanför","Insert row below":"Infoga rad nedanför","Insert table":"Lägg in tabell",Inset:"Infälld","Justify cell text":"Anpassa celltext","Keystrokes that can be used in a table cell":"Tangenter som fungerar i en tabellcell","Merge cell down":"Sammanfoga celler nerÃ¥t","Merge cell left":"Sammanfoga celler Ã¥t vänster","Merge cell right":"Sammanfoga celler Ã¥t höger","Merge cell up":"Sammanfoga celler uppÃ¥t","Merge cells":"Sammanfoga celler","Move the selection to the next cell":"Flytta markeringen till nästa cell","Move the selection to the previous cell":"Flytta markeringen till föregÃ¥ende cell","Navigate through the table":"Navigera i tabellen",None:"Inget",Outset:"Utfälld",Padding:"Marginal",Ridge:"Kant",Row:"Rad","Select column":"Välj kolumn","Select row":"Välj rad",Solid:"Enfärgad","Split cell horizontally":"Dela cell horisontellt","Split cell vertically":"Dela cell vertikalt",Style:"Stil",Table:"Tabell","Table alignment toolbar":"Verktygsfält för tabelljustering","Table cell text alignment":"Textjustering i tabellcell","Table properties":"Tabellegenskaper","Table toolbar":"Tabellverktygsfält",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Färgen är ogiltig. Testa "#FF0000" eller "rgb(255,0,0)" eller "röd".','The value is invalid. Try "10px" or "2em" or simply "2".':'Värdet är ogiltigt. Testa "10px" eller "2em" eller helt enkelt "2".',"Vertical text alignment toolbar":"Verktygsfält för vertikal textjustering",Width:"Bredd"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.sv=e.sv||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Bottenjustera celltext","Align cell text to the center":"Centrera celltext","Align cell text to the left":"Vänsterjustera celltext","Align cell text to the middle":"Centrera celltext","Align cell text to the right":"Högerjustera celltext","Align cell text to the top":"Toppjustera celltext","Align table to the left":"Vänsterjustera tabell","Align table to the right":"Högerjustera tabell",Alignment:"Justering",Background:"Bakgrund",Border:"Kant","Cell properties":"Cellegenskaper","Center table":"Centrera tabell",Color:"Färg",Column:"Kolumn",Dashed:"Streckad","Delete column":"Ta bort kolumn","Delete row":"Ta bort rad",Dimensions:"MÃ¥tt",Dotted:"Prickig",Double:"Dubbel","Enter table caption":"Ange tabellrubrik",Groove:"SkÃ¥ra","Header column":"Rubrikkolumn","Header row":"Rubrikrad",Height:"Höjd","Horizontal text alignment toolbar":"Verktygsfält för horisontell textjustering","Insert a new table row (when in the last cell of a table)":"Infoga en ny tabellrad (när du är pÃ¥ den sista cellen i en tabell)","Insert column left":"Infoga kolumn till vänster","Insert column right":"Infoga kolumn till höger","Insert row above":"Infoga rad ovanför","Insert row below":"Infoga rad nedanför","Insert table":"Lägg in tabell",Inset:"Infälld","Justify cell text":"Anpassa celltext","Keystrokes that can be used in a table cell":"Tangenter som fungerar i en tabellcell","Merge cell down":"Sammanfoga celler nerÃ¥t","Merge cell left":"Sammanfoga celler Ã¥t vänster","Merge cell right":"Sammanfoga celler Ã¥t höger","Merge cell up":"Sammanfoga celler uppÃ¥t","Merge cells":"Sammanfoga celler","Move the selection to the next cell":"Flytta markeringen till nästa cell","Move the selection to the previous cell":"Flytta markeringen till föregÃ¥ende cell","Navigate through the table":"Navigera i tabellen",None:"Inget",Outset:"Utfälld",Padding:"Marginal",Ridge:"Kant",Row:"Rad","Select column":"Välj kolumn","Select row":"Välj rad",Solid:"Enfärgad","Split cell horizontally":"Dela cell horisontellt","Split cell vertically":"Dela cell vertikalt",Style:"Stil",Table:"Tabell","Table alignment toolbar":"Verktygsfält för tabelljustering","Table cell text alignment":"Textjustering i tabellcell","Table properties":"Tabellegenskaper","Table toolbar":"Tabellverktygsfält",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Färgen är ogiltig. Testa "#FF0000" eller "rgb(255,0,0)" eller "röd".','The value is invalid. Try "10px" or "2em" or simply "2".':'Värdet är ogiltigt. Testa "10px" eller "2em" eller helt enkelt "2".',"Vertical text alignment toolbar":"Verktygsfält för vertikal textjustering",Width:"Bredd"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/th.js b/core/assets/vendor/ckeditor5/table/translations/th.js index 919c5386320a67a8a7a66038f76ffe609c5923ac..7fe1bb58f089906e686387d0496496f0ed7d1cf8 100644 --- a/core/assets/vendor/ckeditor5/table/translations/th.js +++ b/core/assets/vendor/ckeditor5/table/translations/th.js @@ -1 +1 @@ -!function(e){const t=e.th=e.th||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ด้านล่าง","Align cell text to the center":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¹„ว้à¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡","Align cell text to the left":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ซ้าย","Align cell text to the middle":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¹„ว้à¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡","Align cell text to the right":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ขวา","Align cell text to the top":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ด้านบน","Align table to the left":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡à¸Šà¸´à¸”ด้านซ้าย","Align table to the right":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡à¸Šà¸´à¸”ด้านขวา",Alignment:"à¸à¸²à¸£à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡",Background:"พื้นหลัง",Border:"เส้นขà¸à¸š","Cell properties":"คุณสมบัติขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œ","Center table":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡à¹„ว้ตรงà¸à¸¥à¸²à¸‡",Color:"สี","Color picker":"เครื่à¸à¸‡à¸¡à¸·à¸à¹€à¸¥à¸·à¸à¸à¸ªà¸µ",Column:"คà¸à¸¥à¸±à¸¡à¸™à¹Œ",Dashed:"เส้นประ","Delete column":"ลบคà¸à¸¥à¸±à¸¡à¸™à¹Œ","Delete row":"ลบà¹à¸–ว",Dimensions:"ขนาด",Dotted:"เส้นไข่ปลา",Double:"คู่","Enter table caption":"ป้à¸à¸™à¸„ำบรรยายตาราง",Groove:"ร่à¸à¸‡","Header column":"หัวข้à¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œ","Header row":"ส่วนหัวà¹à¸–ว",Height:"ความสูง","Horizontal text alignment toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามในà¹à¸™à¸§à¸™à¸à¸™","Insert a new table row (when in the last cell of a table)":"à¹à¸—รà¸à¹à¸–วในตารางใหม่ (เมื่à¸à¸à¸¢à¸¹à¹ˆà¹ƒà¸™à¹€à¸‹à¸¥à¸¥à¹Œà¸ªà¸¸à¸”ท้ายขà¸à¸‡à¸•à¸²à¸£à¸²à¸‡)","Insert column left":"à¹à¸—รà¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œà¸—างซ้าย","Insert column right":"à¹à¸—รà¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œà¸—างขวา","Insert row above":"à¹à¸—รà¸à¸ªà¹ˆà¸§à¸™à¸«à¸±à¸§à¸”้านบน","Insert row below":"à¹à¸—รà¸à¸ªà¹ˆà¸§à¸™à¸«à¸±à¸§à¸”้านล่าง","Insert table":"à¹à¸—รà¸à¸•à¸²à¸£à¸²à¸‡",Inset:"ยุบ","Justify cell text":"จัดขà¸à¸šà¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¹ƒà¸«à¹‰à¸à¸£à¸°à¸ˆà¸²à¸¢à¹€à¸•à¹‡à¸¡à¹à¸™à¸§","Keystrokes that can be used in a table cell":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ที่สามารถใช้ได้ในเซลล์ตาราง","Merge cell down":"ผสานเซลล์ด้านล่าง","Merge cell left":"ผสานเซลล์ด้านซ้าย","Merge cell right":"ผสานเซลล์ด้านขวา","Merge cell up":"ผสานเซลล์ด้านบน","Merge cells":"ผสานเซลล์","Move the selection to the next cell":"ย้ายà¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¹„ปยังเซลล์ถัดไป","Move the selection to the previous cell":"ย้ายà¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¹„ปยังเซลล์à¸à¹ˆà¸à¸™à¸«à¸™à¹‰à¸²","Navigate through the table":"นำทางผ่านตาราง",None:"ไม่มี",Outset:"นูน",Padding:"à¸à¸²à¸£à¹€à¸ªà¸£à¸´à¸¡à¹€à¸•à¹‡à¸¡",Ridge:"สัน",Row:"à¹à¸–ว","Select column":"เลืà¸à¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œ","Select row":"เลืà¸à¸à¹à¸–ว",Solid:"เส้นทึบ","Split cell horizontally":"à¹à¸¢à¸à¹€à¸‹à¸¥à¸¥à¹Œà¹à¸™à¸§à¸™à¸à¸™","Split cell vertically":"à¹à¸¢à¸à¹€à¸‹à¸¥à¸¥à¹Œà¹à¸™à¸§à¸•à¸±à¹‰à¸‡",Style:"รูปà¹à¸šà¸š",Table:"ตาราง","Table alignment toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡","Table cell text alignment":"à¸à¸²à¸£à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸•à¸²à¸£à¸²à¸‡","Table properties":"คุณสมบัติขà¸à¸‡à¸•à¸²à¸£à¸²à¸‡","Table toolbar":"เครื่à¸à¸‡à¸¡à¸·à¸à¸•à¸²à¸£à¸²à¸‡",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'สีไม่ถูà¸à¸•à¹‰à¸à¸‡ ลà¸à¸‡ "#FF0000" หรืภ"rgb(255,0,0)" หรืภ"red"','The value is invalid. Try "10px" or "2em" or simply "2".':'ค่าไม่ถูà¸à¸•à¹‰à¸à¸‡ ลà¸à¸‡ "10px" หรืภ"2em" หรืà¸à¹à¸„่เพียง "2"',"Vertical text alignment toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามà¹à¸™à¸§à¸•à¸±à¹‰à¸‡",Width:"ความà¸à¸§à¹‰à¸²à¸‡"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.th=e.th||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ด้านล่าง","Align cell text to the center":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¹„ว้à¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡","Align cell text to the left":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ซ้าย","Align cell text to the middle":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¹„ว้à¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡","Align cell text to the right":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ขวา","Align cell text to the top":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸Šà¸´à¸”ด้านบน","Align table to the left":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡à¸Šà¸´à¸”ด้านซ้าย","Align table to the right":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡à¸Šà¸´à¸”ด้านขวา",Alignment:"à¸à¸²à¸£à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡",Background:"พื้นหลัง",Border:"เส้นขà¸à¸š","Cell properties":"คุณสมบัติขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œ","Center table":"จัดตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡à¹„ว้ตรงà¸à¸¥à¸²à¸‡",Color:"สี",Column:"คà¸à¸¥à¸±à¸¡à¸™à¹Œ",Dashed:"เส้นประ","Delete column":"ลบคà¸à¸¥à¸±à¸¡à¸™à¹Œ","Delete row":"ลบà¹à¸–ว",Dimensions:"ขนาด",Dotted:"เส้นไข่ปลา",Double:"คู่","Enter table caption":"ป้à¸à¸™à¸„ำบรรยายตาราง",Groove:"ร่à¸à¸‡","Header column":"หัวข้à¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œ","Header row":"ส่วนหัวà¹à¸–ว",Height:"ความสูง","Horizontal text alignment toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามในà¹à¸™à¸§à¸™à¸à¸™","Insert a new table row (when in the last cell of a table)":"à¹à¸—รà¸à¹à¸–วในตารางใหม่ (เมื่à¸à¸à¸¢à¸¹à¹ˆà¹ƒà¸™à¹€à¸‹à¸¥à¸¥à¹Œà¸ªà¸¸à¸”ท้ายขà¸à¸‡à¸•à¸²à¸£à¸²à¸‡)","Insert column left":"à¹à¸—รà¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œà¸—างซ้าย","Insert column right":"à¹à¸—รà¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œà¸—างขวา","Insert row above":"à¹à¸—รà¸à¸ªà¹ˆà¸§à¸™à¸«à¸±à¸§à¸”้านบน","Insert row below":"à¹à¸—รà¸à¸ªà¹ˆà¸§à¸™à¸«à¸±à¸§à¸”้านล่าง","Insert table":"à¹à¸—รà¸à¸•à¸²à¸£à¸²à¸‡",Inset:"ยุบ","Justify cell text":"จัดขà¸à¸šà¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¹ƒà¸«à¹‰à¸à¸£à¸°à¸ˆà¸²à¸¢à¹€à¸•à¹‡à¸¡à¹à¸™à¸§","Keystrokes that can be used in a table cell":"à¹à¸›à¹‰à¸™à¸žà¸´à¸¡à¸žà¹Œà¸¥à¸±à¸”ที่สามารถใช้ได้ในเซลล์ตาราง","Merge cell down":"ผสานเซลล์ด้านล่าง","Merge cell left":"ผสานเซลล์ด้านซ้าย","Merge cell right":"ผสานเซลล์ด้านขวา","Merge cell up":"ผสานเซลล์ด้านบน","Merge cells":"ผสานเซลล์","Move the selection to the next cell":"ย้ายà¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¹„ปยังเซลล์ถัดไป","Move the selection to the previous cell":"ย้ายà¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¹„ปยังเซลล์à¸à¹ˆà¸à¸™à¸«à¸™à¹‰à¸²","Navigate through the table":"นำทางผ่านตาราง",None:"ไม่มี",Outset:"นูน",Padding:"à¸à¸²à¸£à¹€à¸ªà¸£à¸´à¸¡à¹€à¸•à¹‡à¸¡",Ridge:"สัน",Row:"à¹à¸–ว","Select column":"เลืà¸à¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œ","Select row":"เลืà¸à¸à¹à¸–ว",Solid:"เส้นทึบ","Split cell horizontally":"à¹à¸¢à¸à¹€à¸‹à¸¥à¸¥à¹Œà¹à¸™à¸§à¸™à¸à¸™","Split cell vertically":"à¹à¸¢à¸à¹€à¸‹à¸¥à¸¥à¹Œà¹à¸™à¸§à¸•à¸±à¹‰à¸‡",Style:"รูปà¹à¸šà¸š",Table:"ตาราง","Table alignment toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸•à¸²à¸£à¸²à¸‡","Table cell text alignment":"à¸à¸²à¸£à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามขà¸à¸‡à¹€à¸‹à¸¥à¸¥à¹Œà¸•à¸²à¸£à¸²à¸‡","Table properties":"คุณสมบัติขà¸à¸‡à¸•à¸²à¸£à¸²à¸‡","Table toolbar":"เครื่à¸à¸‡à¸¡à¸·à¸à¸•à¸²à¸£à¸²à¸‡",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'สีไม่ถูà¸à¸•à¹‰à¸à¸‡ ลà¸à¸‡ "#FF0000" หรืภ"rgb(255,0,0)" หรืภ"red"','The value is invalid. Try "10px" or "2em" or simply "2".':'ค่าไม่ถูà¸à¸•à¹‰à¸à¸‡ ลà¸à¸‡ "10px" หรืภ"2em" หรืà¸à¹à¸„่เพียง "2"',"Vertical text alignment toolbar":"à¹à¸–บเครื่à¸à¸‡à¸¡à¸·à¸à¸ˆà¸±à¸”ตำà¹à¸«à¸™à¹ˆà¸‡à¸‚้à¸à¸„วามà¹à¸™à¸§à¸•à¸±à¹‰à¸‡",Width:"ความà¸à¸§à¹‰à¸²à¸‡"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/tk.js b/core/assets/vendor/ckeditor5/table/translations/tk.js index cebdfb9c4868ad249beaa12a887a68f21b197657..2a35f684d5dac8be895b8b3f9281b288ed74252b 100644 --- a/core/assets/vendor/ckeditor5/table/translations/tk.js +++ b/core/assets/vendor/ckeditor5/table/translations/tk.js @@ -1 +1 @@ -!function(e){const l=e.tk=e.tk||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Öýjük tekstini aÅŸagyna deňleÅŸdiriň","Align cell text to the center":"Öýjük tekstini merkeze deňleÅŸdiriň","Align cell text to the left":"Öýjük tekstini çepe deňleÅŸdiriň","Align cell text to the middle":"Öýjük tekstini ortasyna deňleÅŸdiriň","Align cell text to the right":"Öýjük tekstini saga deňleÅŸdiriň","Align cell text to the top":"Öýjük tekstini ýokarsyna deňleÅŸdiriň","Align table to the left":"Tablisany çepe deňleÅŸdiriň","Align table to the right":"Tablisany sag tarapa deňleÅŸdiriň",Alignment:"DeňleÅŸdirmek",Background:"Arka",Border:"Serhet","Cell properties":"Öýjük aýratynlyklary","Center table":"Tablisany merkezleÅŸdiriň",Color:"Reňk","Color picker":"Reňk saýlaýjy",Column:"Sütün",Dashed:"Çyzykly","Delete column":"Sütüni pozuň","Delete row":"Setiri poz",Dimensions:"Ölçegleri",Dotted:"Nokatly",Double:"GoÅŸa","Enter table caption":"",Groove:"Groove","Header column":"SözbaÅŸy sütüni","Header row":"SözbaÅŸy hatary",Height:"Boý","Horizontal text alignment toolbar":"Kese tekst tekizlemek gurallar paneli","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Sütüni çepe goýuň","Insert column right":"Sütüni saga goýuň","Insert row above":"Hatary ýokaryk goýuň","Insert row below":"Hatary aÅŸak goýuň","Insert table":"Tablisa goýuň",Inset:"Inset","Justify cell text":"Öýjük tekstini esaslandyryň","Keystrokes that can be used in a table cell":"","Merge cell down":"Öýjügi aÅŸak birleÅŸdiriň","Merge cell left":"Öýjügi çepe birleÅŸdiriň","Merge cell right":"Öýjügi saga birleÅŸdiriň","Merge cell up":"Öýjügi ýokary birleÅŸdiriň","Merge cells":"Öýjükleri birleÅŸdiriň","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Hiç",Outset:"Outset",Padding:"Padding",Ridge:"Kertik",Row:"Setir","Select column":"Sütün saýlaň","Select row":"Setir saýlaň",Solid:"Gaty","Split cell horizontally":"Öýjügi keseligine bölüň","Split cell vertically":"Öýjügi dikligine bölüň",Style:"Stil",Table:"","Table alignment toolbar":"Tablisa deňleÅŸdirmek gurallar paneli","Table cell text alignment":"Tablisa öýjükleriniň tekstini deňleÅŸdirmek","Table properties":"Tablisa aýratynlyklary","Table toolbar":"Tablisa gurallar paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Reňki nädogry "#FF0000" ýa-da "rgb(255,0,0)" ýa-da "gyzyl" barlap görüň.','The value is invalid. Try "10px" or "2em" or simply "2".':'Baha nädogry "10px" ýa-da "2em" ýa-da diňe "2" barlap görüň.',"Vertical text alignment toolbar":"Dik tekst tekizlemek gurallar paneli",Width:"Ini"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.tk=e.tk||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Öýjük tekstini aÅŸagyna deňleÅŸdiriň","Align cell text to the center":"Öýjük tekstini merkeze deňleÅŸdiriň","Align cell text to the left":"Öýjük tekstini çepe deňleÅŸdiriň","Align cell text to the middle":"Öýjük tekstini ortasyna deňleÅŸdiriň","Align cell text to the right":"Öýjük tekstini saga deňleÅŸdiriň","Align cell text to the top":"Öýjük tekstini ýokarsyna deňleÅŸdiriň","Align table to the left":"Tablisany çepe deňleÅŸdiriň","Align table to the right":"Tablisany sag tarapa deňleÅŸdiriň",Alignment:"DeňleÅŸdirmek",Background:"Arka",Border:"Serhet","Cell properties":"Öýjük aýratynlyklary","Center table":"Tablisany merkezleÅŸdiriň",Color:"Reňk",Column:"Sütün",Dashed:"Çyzykly","Delete column":"Sütüni pozuň","Delete row":"Setiri poz",Dimensions:"Ölçegleri",Dotted:"Nokatly",Double:"GoÅŸa","Enter table caption":"",Groove:"Groove","Header column":"SözbaÅŸy sütüni","Header row":"SözbaÅŸy hatary",Height:"Boý","Horizontal text alignment toolbar":"Kese tekst tekizlemek gurallar paneli","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Sütüni çepe goýuň","Insert column right":"Sütüni saga goýuň","Insert row above":"Hatary ýokaryk goýuň","Insert row below":"Hatary aÅŸak goýuň","Insert table":"Tablisa goýuň",Inset:"Inset","Justify cell text":"Öýjük tekstini esaslandyryň","Keystrokes that can be used in a table cell":"","Merge cell down":"Öýjügi aÅŸak birleÅŸdiriň","Merge cell left":"Öýjügi çepe birleÅŸdiriň","Merge cell right":"Öýjügi saga birleÅŸdiriň","Merge cell up":"Öýjügi ýokary birleÅŸdiriň","Merge cells":"Öýjükleri birleÅŸdiriň","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Hiç",Outset:"Outset",Padding:"Padding",Ridge:"Kertik",Row:"Setir","Select column":"Sütün saýlaň","Select row":"Setir saýlaň",Solid:"Gaty","Split cell horizontally":"Öýjügi keseligine bölüň","Split cell vertically":"Öýjügi dikligine bölüň",Style:"Stil",Table:"","Table alignment toolbar":"Tablisa deňleÅŸdirmek gurallar paneli","Table cell text alignment":"Tablisa öýjükleriniň tekstini deňleÅŸdirmek","Table properties":"Tablisa aýratynlyklary","Table toolbar":"Tablisa gurallar paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Reňki nädogry "#FF0000" ýa-da "rgb(255,0,0)" ýa-da "gyzyl" barlap görüň.','The value is invalid. Try "10px" or "2em" or simply "2".':'Baha nädogry "10px" ýa-da "2em" ýa-da diňe "2" barlap görüň.',"Vertical text alignment toolbar":"Dik tekst tekizlemek gurallar paneli",Width:"Ini"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/tr.js b/core/assets/vendor/ckeditor5/table/translations/tr.js index f433ff54a334684d4aa2c379d8d77d22f9bd21b9..d0ad8d825a710d4bfb45d9ee81df8aa03c383b9d 100644 --- a/core/assets/vendor/ckeditor5/table/translations/tr.js +++ b/core/assets/vendor/ckeditor5/table/translations/tr.js @@ -1 +1 @@ -!function(e){const l=e.tr=e.tr||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Hücre içindeki metni alta hizala","Align cell text to the center":"Hücre içindeki metnini ortaya hizalama","Align cell text to the left":"Hücre içindeki metnini sola hizala","Align cell text to the middle":"Hücre içindeki metni ortaya hizala","Align cell text to the right":"Hücre içindeki metnini saÄŸa hizala","Align cell text to the top":"Hücre içindeki metni üste hizala","Align table to the left":"Tabloyu sola hizala","Align table to the right":"Tabloyu saÄŸa hizala",Alignment:"Hizalama",Background:"Arkaplan",Border:"Kenar","Cell properties":"Hücre özellikleri","Center table":"Tabloyu ortala",Color:"Renk","Color picker":"Renk seçici",Column:"Kolon",Dashed:"Kesik çizgili","Delete column":"Kolonu sil","Delete row":"Satırı sil",Dimensions:"Ölçüler",Dotted:"Noktalı",Double:"Çift","Enter table caption":"Tablo açıklaması gir",Groove:"Yiv","Header column":"BaÅŸlık kolonu","Header row":"BaÅŸlık satırı",Height:"Yükseklik","Horizontal text alignment toolbar":"Yatay metin hizalama araç çubuÄŸu","Insert a new table row (when in the last cell of a table)":"Yeni bir tablo satırı ekle (tablonun son hücresindeyken)","Insert column left":"Sola kolon ekle","Insert column right":"SaÄŸa kolon ekle","Insert row above":"Ãœste satır ekle","Insert row below":"Alta satır ekle","Insert table":"Tablo Ekle",Inset:"İçe","Justify cell text":"Hücre içindeki metini iki yana yasla","Keystrokes that can be used in a table cell":"Tablo hücresinde kullanılabilecek tuÅŸ vuruÅŸları","Merge cell down":"AÅŸağıya doÄŸru birleÅŸtir","Merge cell left":"Sola doÄŸru birleÅŸtir","Merge cell right":"SaÄŸa doÄŸru birleÅŸtir","Merge cell up":"Yukarı doÄŸru birleÅŸtir","Merge cells":"Hücreleri birleÅŸtir","Move the selection to the next cell":"Seçimi sonraki hücreye taşı","Move the selection to the previous cell":"Seçimi önceki hücreye taşı","Navigate through the table":"Tabloda gezin",None:"Yok",Outset:"Dışarıya",Padding:"İç boÅŸluk",Ridge:"Yükselti",Row:"Satır","Select column":"Kolon seç","Select row":"Satır seç",Solid:"Dolu","Split cell horizontally":"Hücreyi yatay böl","Split cell vertically":"Hücreyi dikey böl",Style:"Stil",Table:"Tablo","Table alignment toolbar":"Tablo hizalama araç çubuÄŸu","Table cell text alignment":"Tablo hücresi metin hizalaması","Table properties":"Tablo özellikleri","Table toolbar":"Tablo araç çubuÄŸu",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Geçersiz renk. "#FF0000" veya "rgb(255,0,0)" veya "red" deneyin.','The value is invalid. Try "10px" or "2em" or simply "2".':'Geçersiz deÄŸer. "10px" veya "2em" veya sadece "2" deneyin.',"Vertical text alignment toolbar":"Dikey metin hizalama araç çubuÄŸu",Width:"GeniÅŸlik"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const l=e.tr=e.tr||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"Hücre içindeki metni alta hizala","Align cell text to the center":"Hücre içindeki metnini ortaya hizalama","Align cell text to the left":"Hücre içindeki metnini sola hizala","Align cell text to the middle":"Hücre içindeki metni ortaya hizala","Align cell text to the right":"Hücre içindeki metnini saÄŸa hizala","Align cell text to the top":"Hücre içindeki metni üste hizala","Align table to the left":"Tabloyu sola hizala","Align table to the right":"Tabloyu saÄŸa hizala",Alignment:"Hizalama",Background:"Arkaplan",Border:"Kenar","Cell properties":"Hücre özellikleri","Center table":"Tabloyu ortala",Color:"Renk",Column:"Kolon",Dashed:"Kesik çizgili","Delete column":"Kolonu sil","Delete row":"Satırı sil",Dimensions:"Ölçüler",Dotted:"Noktalı",Double:"Çift","Enter table caption":"Tablo açıklaması gir",Groove:"Yiv","Header column":"BaÅŸlık kolonu","Header row":"BaÅŸlık satırı",Height:"Yükseklik","Horizontal text alignment toolbar":"Yatay metin hizalama araç çubuÄŸu","Insert a new table row (when in the last cell of a table)":"Yeni bir tablo satırı ekle (tablonun son hücresindeyken)","Insert column left":"Sola kolon ekle","Insert column right":"SaÄŸa kolon ekle","Insert row above":"Ãœste satır ekle","Insert row below":"Alta satır ekle","Insert table":"Tablo Ekle",Inset:"İçe","Justify cell text":"Hücre içindeki metini iki yana yasla","Keystrokes that can be used in a table cell":"Tablo hücresinde kullanılabilecek tuÅŸ vuruÅŸları","Merge cell down":"AÅŸağıya doÄŸru birleÅŸtir","Merge cell left":"Sola doÄŸru birleÅŸtir","Merge cell right":"SaÄŸa doÄŸru birleÅŸtir","Merge cell up":"Yukarı doÄŸru birleÅŸtir","Merge cells":"Hücreleri birleÅŸtir","Move the selection to the next cell":"Seçimi sonraki hücreye taşı","Move the selection to the previous cell":"Seçimi önceki hücreye taşı","Navigate through the table":"Tabloda gezin",None:"Yok",Outset:"Dışarıya",Padding:"İç boÅŸluk",Ridge:"Yükselti",Row:"Satır","Select column":"Kolon seç","Select row":"Satır seç",Solid:"Dolu","Split cell horizontally":"Hücreyi yatay böl","Split cell vertically":"Hücreyi dikey böl",Style:"Stil",Table:"Tablo","Table alignment toolbar":"Tablo hizalama araç çubuÄŸu","Table cell text alignment":"Tablo hücresi metin hizalaması","Table properties":"Tablo özellikleri","Table toolbar":"Tablo araç çubuÄŸu",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Geçersiz renk. "#FF0000" veya "rgb(255,0,0)" veya "red" deneyin.','The value is invalid. Try "10px" or "2em" or simply "2".':'Geçersiz deÄŸer. "10px" veya "2em" veya sadece "2" deneyin.',"Vertical text alignment toolbar":"Dikey metin hizalama araç çubuÄŸu",Width:"GeniÅŸlik"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/tt.js b/core/assets/vendor/ckeditor5/table/translations/tt.js index 3aaedee345ddf5850d312d1213fb0e2e4bb81856..d11887048b76bf9063bcff5c74ac99aec590d8ed 100644 --- a/core/assets/vendor/ckeditor5/table/translations/tt.js +++ b/core/assets/vendor/ckeditor5/table/translations/tt.js @@ -1 +1 @@ -!function(e){const t=e.tt=e.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"ТөÑ","Color picker":"",Column:"",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.tt=e.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"ТөÑ",Column:"",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ug.js b/core/assets/vendor/ckeditor5/table/translations/ug.js index a6463ac99a36879617d835e2c1c56d6ddbabaac7..e41cc2b693e19389128c304c0ab532507b0d4960 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ug.js +++ b/core/assets/vendor/ckeditor5/table/translations/ug.js @@ -1 +1 @@ -!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"جەدۋەل قىستۇر",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"","Select column":"","Select row":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"كاتەكچە تÛكىستىنى ئاستىغا توغرىلا","Align cell text to the center":"كاتەكچە تÛكىستىنى مەركەزگە توغرىلا","Align cell text to the left":"كاتەكچە تÛكىستىنى سولغا توغرىلا","Align cell text to the middle":"كاتەكچە تÛكىستىنى ئوتتۇرىغا توغرىلا","Align cell text to the right":"كاتەكچە تÛكىستىنى ئوÚغا توغرىلا","Align cell text to the top":"كاتەكچە تÛكىستىنى چوققىغا توغرىلا","Align table to the left":"جەدۋەلنى سولغا توغرىلا","Align table to the right":"جەدۋەلنى ئوÚغا توغرىلا",Alignment:"توغرىلاش",Background:"تەگلىك",Border:"گىرۋەك","Cell properties":"كاتەكچە خاسلىقى","Center table":"جەدۋەلنى ئوتتۇرىغا توغرىلا",Color:"رەÚ",Column:"رەت",Dashed:"سىزىقچە","Delete column":"رەت ئۆچۈر","Delete row":"قۇر ئۆچۈر",Dimensions:"ئۆلچىمى",Dotted:"Ú†Ûكىتلىك",Double:"قوش","Enter table caption":"جەدۋەل چۈشەندۈرۈشى كىرگۈزۈلىدۇ",Groove:"ئويمان","Header column":"ماۋزۇ رەت","Header row":"ماۋزۇ قۇر",Height:"ئÛگىزلىك","Horizontal text alignment toolbar":"توغرىسىغا تÛكىست توغرىلاش قورال بالدىقى","Insert a new table row (when in the last cell of a table)":"","Insert column left":"سولغا رەت قىستۇر","Insert column right":"ئوÚغا رەت قىستۇر","Insert row above":"ئۈستىگە قۇر قىستۇر","Insert row below":"ئاستىغا قۇر قىستۇر","Insert table":"جەدۋەل قىستۇر",Inset:"Ù¾Ûتىنقى","Justify cell text":"كاتەكچە تÛكىستىنى Ø¦ÙˆÚ Ø³ÙˆÙ„ØºØ§ توغرىلا","Keystrokes that can be used in a table cell":"","Merge cell down":"كاتەكچىنى ئاستىغا بىرلەشتۈر","Merge cell left":"كاتەكچىنى سولغا بىرلەشتۈر","Merge cell right":"كاتەكچىنى ئوÚغا بىرلەشتۈر","Merge cell up":"كاتەكچىنى ئۈستىگە بىرلەشتۈر","Merge cells":"كاتەكچە بىرلەشتۈر","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"يوق",Outset:"كۆپۈنكى",Padding:"ئىچكى ئارىلىقى",Ridge:"چوققا",Row:"قۇر","Select column":"رەت تاللا","Select row":"قۇر تاللا",Solid:"ئۇيۇل","Split cell horizontally":"كاتەكچىنى توغرىسىغا پارچىلا","Split cell vertically":"كاتەكچىنى بويىغا پارچىلا",Style:"ئۇسلۇب",Table:"","Table alignment toolbar":"جەدۋەل توغرىلاش قورال بالدىقى","Table cell text alignment":"جەدۋەل كاتەكچىسىدىكى تÛكىست توغرىلىنىشى","Table properties":"جەدۋەل خاسلىقى","Table toolbar":"جەدۋەل قورال بالداق",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Ø±Û•Ú Ø¦Ù‰Ù†Ø§Û‹Û•ØªØ³Ù‰Ø². «#FF0000» ياكى «rgb(255,0,0)» ياكى «red» نى سىناÚ.",'The value is invalid. Try "10px" or "2em" or simply "2".':"قىممىتى ئىناۋەتسىز. «10px» ياكى «2em» ياكى «2» نى سىناÚ.","Vertical text alignment toolbar":"بويىغا تÛكىست توغرىلاش قورال بالدىقى",Width:"ÙƒÛ•Úلىك"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/uk.js b/core/assets/vendor/ckeditor5/table/translations/uk.js index a8197252c58b5320ae078e5e751d7f29e09c4c33..7334c90befdb6082865f7e8c62bb3a90c000f4f2 100644 --- a/core/assets/vendor/ckeditor5/table/translations/uk.js +++ b/core/assets/vendor/ckeditor5/table/translations/uk.js @@ -1 +1 @@ -!function(e){const t=e.uk=e.uk||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ВирівнÑти текÑÑ‚ комірки по низу","Align cell text to the center":"ВирівнÑти текÑÑ‚ по центру","Align cell text to the left":"ВирівнÑти текÑÑ‚ по лівому краю","Align cell text to the middle":"ВирівнÑти текÑÑ‚ комірки по Ñередині","Align cell text to the right":"ВирівнÑти текÑÑ‚ по правому краю","Align cell text to the top":"ВирівнÑти текÑÑ‚ комірки по верху ","Align table to the left":"ВирівнÑти таблицю по лівому краю","Align table to the right":"ВирівнÑти таблицю по правому краю ",Alignment:"ВирівнюваннÑ",Background:"Фон",Border:"Межа","Cell properties":"ВлаÑтивоÑÑ‚Ñ– комірок","Center table":"Відцентрувати таблицю",Color:"Колір","Color picker":"Вибір кольору",Column:"Стовпець",Dashed:"Пунктирна","Delete column":"Видалити Ñтовпець","Delete row":"Видалити Ñ€Ñдок",Dimensions:"Розміри",Dotted:"Точкова",Double:"Подвійна","Enter table caption":"Введіть Ð¿Ñ–Ð´Ð¿Ð¸Ñ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ–",Groove:"ЖолобчаÑта","Header column":"Заголовок ÑтовпцÑ","Header row":"Заголовок Ñ€Ñдка",Height:"ВиÑота","Horizontal text alignment toolbar":"Панель інÑтрументів Ð²Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ð³Ð¾Ñ€Ð¸Ð·Ð¾Ð½Ñ‚Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ текÑту","Insert a new table row (when in the last cell of a table)":"Ð’Ñтавити новий Ñ€Ñдок таблиці (Ñкщо в оÑтанній клітинці таблиці)","Insert column left":"Ð’Ñтавити Ñтовпець зліва","Insert column right":"Ð’Ñтавити Ñтовпець Ñправа","Insert row above":"Ð’Ñтавити Ñ€Ñдок знизу","Insert row below":"Ð’Ñтавити Ñ€Ñдок зверху","Insert table":"Ð’Ñтавити таблицю",Inset:"Угнута","Justify cell text":"ВирівнÑти текÑÑ‚ по ширині ","Keystrokes that can be used in a table cell":"ÐатиÑÐºÐ°Ð½Ð½Ñ ÐºÐ»Ð°Ð²Ñ–Ñˆ, Ñкі можна викориÑтовувати в комірці таблиці","Merge cell down":"Поєднати комірки внизу","Merge cell left":"Поєднати комірки ліворуч","Merge cell right":"Поєднати комірки праворуч","Merge cell up":"Поєднати комірки вгору","Merge cells":"Поєднати комірки","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"ПереміÑтити Ð²Ð¸Ð´Ñ–Ð»ÐµÐ½Ð½Ñ Ð² попередню клітинку","Navigate through the table":"ÐÐ°Ð²Ñ–Ð³Ð°Ñ†Ñ–Ñ Ð¿Ð¾ таблиці",None:"Ðе вказано",Outset:"Випукла",Padding:"ЗаповненнÑ",Ridge:"РебриÑта",Row:"Ð Ñдок","Select column":"Виберіть Ñтовпчик","Select row":"Виберіть Ñ€Ñдок",Solid:"Суцільний","Split cell horizontally":"Розділити комірки горизонтально","Split cell vertically":"Розділити комірки вертикально",Style:"Стиль",Table:"ТаблицÑ","Table alignment toolbar":"Панель інÑтрументів Ð²Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ–","Table cell text alignment":"Ð’Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ñ‚ÐµÐºÑту комірки","Table properties":"ВлаÑтивоÑÑ‚Ñ– таблиці","Table toolbar":"Панель інÑтрументів таблиці",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Колір недійÑний. Спробуйте "#FF0000" або "rgb(255,0,0)" або "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'Ð—Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð½ÐµÐ´Ñ–Ð¹Ñне. Спробуйте "10px" або "2em" або проÑто "2"',"Vertical text alignment toolbar":"Панель інÑтрументів вертикального Ð²Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ñ‚ÐµÐºÑту",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.uk=e.uk||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"ВирівнÑти текÑÑ‚ комірки по низу","Align cell text to the center":"ВирівнÑти текÑÑ‚ по центру","Align cell text to the left":"ВирівнÑти текÑÑ‚ по лівому краю","Align cell text to the middle":"ВирівнÑти текÑÑ‚ комірки по Ñередині","Align cell text to the right":"ВирівнÑти текÑÑ‚ по правому краю","Align cell text to the top":"ВирівнÑти текÑÑ‚ комірки по верху ","Align table to the left":"ВирівнÑти таблицю по лівому краю","Align table to the right":"ВирівнÑти таблицю по правому краю ",Alignment:"ВирівнюваннÑ",Background:"Фон",Border:"Межа","Cell properties":"ВлаÑтивоÑÑ‚Ñ– комірок","Center table":"Відцентрувати таблицю",Color:"Колір",Column:"Стовпець",Dashed:"Пунктирна","Delete column":"Видалити Ñтовпець","Delete row":"Видалити Ñ€Ñдок",Dimensions:"Розміри",Dotted:"Точкова",Double:"Подвійна","Enter table caption":"Введіть Ð¿Ñ–Ð´Ð¿Ð¸Ñ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ–",Groove:"ЖолобчаÑта","Header column":"Заголовок ÑтовпцÑ","Header row":"Заголовок Ñ€Ñдка",Height:"ВиÑота","Horizontal text alignment toolbar":"Панель інÑтрументів Ð²Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ð³Ð¾Ñ€Ð¸Ð·Ð¾Ð½Ñ‚Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ текÑту","Insert a new table row (when in the last cell of a table)":"Ð’Ñтавити новий Ñ€Ñдок таблиці (Ñкщо в оÑтанній клітинці таблиці)","Insert column left":"Ð’Ñтавити Ñтовпець зліва","Insert column right":"Ð’Ñтавити Ñтовпець Ñправа","Insert row above":"Ð’Ñтавити Ñ€Ñдок знизу","Insert row below":"Ð’Ñтавити Ñ€Ñдок зверху","Insert table":"Ð’Ñтавити таблицю",Inset:"Угнута","Justify cell text":"ВирівнÑти текÑÑ‚ по ширині ","Keystrokes that can be used in a table cell":"ÐатиÑÐºÐ°Ð½Ð½Ñ ÐºÐ»Ð°Ð²Ñ–Ñˆ, Ñкі можна викориÑтовувати в комірці таблиці","Merge cell down":"Поєднати комірки внизу","Merge cell left":"Поєднати комірки ліворуч","Merge cell right":"Поєднати комірки праворуч","Merge cell up":"Поєднати комірки вгору","Merge cells":"Поєднати комірки","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"ПереміÑтити Ð²Ð¸Ð´Ñ–Ð»ÐµÐ½Ð½Ñ Ð² попередню клітинку","Navigate through the table":"ÐÐ°Ð²Ñ–Ð³Ð°Ñ†Ñ–Ñ Ð¿Ð¾ таблиці",None:"Ðе вказано",Outset:"Випукла",Padding:"ЗаповненнÑ",Ridge:"РебриÑта",Row:"Ð Ñдок","Select column":"Виберіть Ñтовпчик","Select row":"Виберіть Ñ€Ñдок",Solid:"Суцільний","Split cell horizontally":"Розділити комірки горизонтально","Split cell vertically":"Розділити комірки вертикально",Style:"Стиль",Table:"ТаблицÑ","Table alignment toolbar":"Панель інÑтрументів Ð²Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ–","Table cell text alignment":"Ð’Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ñ‚ÐµÐºÑту комірки","Table properties":"ВлаÑтивоÑÑ‚Ñ– таблиці","Table toolbar":"Панель інÑтрументів таблиці",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Колір недійÑний. Спробуйте "#FF0000" або "rgb(255,0,0)" або "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'Ð—Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð½ÐµÐ´Ñ–Ð¹Ñне. Спробуйте "10px" або "2em" або проÑто "2"',"Vertical text alignment toolbar":"Панель інÑтрументів вертикального Ð²Ð¸Ñ€Ñ–Ð²Ð½ÑŽÐ²Ð°Ð½Ð½Ñ Ñ‚ÐµÐºÑту",Width:"Ширина"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/ur.js b/core/assets/vendor/ckeditor5/table/translations/ur.js index fe07c0acf83b364251876223e576a0e1f7ccd115..737b7050f6501f8b618ae961038a735234e6df93 100644 --- a/core/assets/vendor/ckeditor5/table/translations/ur.js +++ b/core/assets/vendor/ckeditor5/table/translations/ur.js @@ -1 +1 @@ -!function(e){const t=e.ur=e.ur||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"ØاشیÛ","Cell properties":"","Center table":"",Color:"رنگ","Color picker":"",Column:"ستون",Dashed:"Ù‚Ø·Ø¹Û Ø¯Ø§Ø±","Delete column":"ستون Øذ٠کریں","Delete row":"قطار Øذ٠کریں",Dimensions:"",Dotted:"Ù†Ù‚Ø·Û Ø¯Ø§Ø±",Double:"دو گنا","Enter table caption":"",Groove:"","Header column":"سر ستون","Header row":"سر قطار",Height:"اونچائی","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"بائیں جانب کالم بنائیں","Insert column right":"دائیں جانب کالم بنائیں","Insert row above":"قطار بالا نصب کریں","Insert row below":"قطار زیریں نصب کریں","Insert table":"جدول داخل کریں",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"سیل Ù†Ú†Ù„ÛŒ طر٠یکجا کریں","Merge cell left":"سیل بائیں طر٠یکجا کریں","Merge cell right":"سیل دائیں طر٠یکجا کریں","Merge cell up":"سیل اوپر یکجا کریں","Merge cells":"سیل یکجا کریں","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"قطار","Select column":"","Select row":"",Solid:"","Split cell horizontally":"سیل Ú©ÛŒ اÙÙ‚ÛŒ تقسیم","Split cell vertically":"سیل Ú©ÛŒ عمودی تقسیم",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"Ø¢Ù„Û Ø¬Ø§Øª برائے جدول",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:"چوڑائی"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.ur=e.ur||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"ØاشیÛ","Cell properties":"","Center table":"",Color:"رنگ",Column:"ستون",Dashed:"Ù‚Ø·Ø¹Û Ø¯Ø§Ø±","Delete column":"ستون Øذ٠کریں","Delete row":"قطار Øذ٠کریں",Dimensions:"",Dotted:"Ù†Ù‚Ø·Û Ø¯Ø§Ø±",Double:"دو گنا","Enter table caption":"",Groove:"","Header column":"سر ستون","Header row":"سر قطار",Height:"اونچائی","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"بائیں جانب کالم بنائیں","Insert column right":"دائیں جانب کالم بنائیں","Insert row above":"قطار بالا نصب کریں","Insert row below":"قطار زیریں نصب کریں","Insert table":"جدول داخل کریں",Inset:"","Justify cell text":"","Keystrokes that can be used in a table cell":"","Merge cell down":"سیل Ù†Ú†Ù„ÛŒ طر٠یکجا کریں","Merge cell left":"سیل بائیں طر٠یکجا کریں","Merge cell right":"سیل دائیں طر٠یکجا کریں","Merge cell up":"سیل اوپر یکجا کریں","Merge cells":"سیل یکجا کریں","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"",Outset:"",Padding:"",Ridge:"",Row:"قطار","Select column":"","Select row":"",Solid:"","Split cell horizontally":"سیل Ú©ÛŒ اÙÙ‚ÛŒ تقسیم","Split cell vertically":"سیل Ú©ÛŒ عمودی تقسیم",Style:"",Table:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"Ø¢Ù„Û Ø¬Ø§Øª برائے جدول",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Vertical text alignment toolbar":"",Width:"چوڑائی"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/uz.js b/core/assets/vendor/ckeditor5/table/translations/uz.js index 246df53cc1eb16f3bc8db75243ffb5ffacc96df2..e12746bd7deed81a401af737aa78952abe412fe2 100644 --- a/core/assets/vendor/ckeditor5/table/translations/uz.js +++ b/core/assets/vendor/ckeditor5/table/translations/uz.js @@ -1 +1 @@ -!function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Align cell text to the bottom":"Hujayra matnini pastga tekislash","Align cell text to the center":"Matnni markazga tekislash","Align cell text to the left":"Matnni chapga tekislash","Align cell text to the middle":"Hujayra matnini markazga tekislash","Align cell text to the right":"Matnni o'ngga tekislash","Align cell text to the top":"Hujayra matnini tepaga tekislash","Align table to the left":"Jadvalni chap tomonga tekislash","Align table to the right":"Jadvalni o'ngga tekislash",Alignment:"Tekislash",Background:"Fon",Border:"Chegara","Cell properties":"Hujayra xususiyatlari","Center table":"Jadvalni markazga tekislash",Color:"Rang","Color picker":"Rang tanlash",Column:"Ustun",Dashed:"Nuqtali","Delete column":"Ustunni o'chirish","Delete row":"Satrni o'chirish",Dimensions:"O'lchamlar",Dotted:"Nuqta",Double:"Ikkitalik","Enter table caption":"",Groove:"Yivli","Header column":"Ustun sarlavhalari","Header row":"Sarlavhalar satri",Height:"Balandligi","Horizontal text alignment toolbar":"Matnni gorizontal tekislash asboblar paneli","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Ustunni chapga kiritish","Insert column right":"Ustunni o'ngga kiritish","Insert row above":"Yuqoriga qatorni kiritish","Insert row below":"Pastga qatorni kiritish","Insert table":"Jadvalni kiritish",Inset:"Tushkunlikka tushgan","Justify cell text":"Matnni kenglikka tekislash","Keystrokes that can be used in a table cell":"","Merge cell down":"Pastdagi katak bilan birlashtirish","Merge cell left":"Chapdagi katakcha bilan birlashtirish","Merge cell right":"O'ngdagi katakcha bilan birlashtirish","Merge cell up":"Yuqoridagi katak bilan birlashtirish","Merge cells":"Hujayralarni birlashtirish","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Yo'q",Outset:"Qavariq",Padding:"Chekinish",Ridge:"Qirrali",Row:"Satr","Select column":"Ustunni tanlash","Select row":"Satrni tanlang",Solid:"Qattiq","Split cell horizontally":"Hujayrani gorizontal ravishda ajratish","Split cell vertically":"Hujayrani vertikal ravishda ajratish",Style:"Uslub",Table:"","Table alignment toolbar":"Jadvalni tekislash asboblar paneli","Table cell text alignment":"Jadval katakchasidagi matnni tekislash","Table properties":"Jadvalning xususiyatlari","Table toolbar":"Jadval asboblar paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Noto\'g\'ri rang. \\ "# FF0000 \\" yoki \\ "rgb (255,0,0) \\" yoki \\ "red \\" ni sinab ko\'ring.','The value is invalid. Try "10px" or "2em" or simply "2".':'Noto\'g\'ri qiymat. \\ "10px \\" yoki \\ "2em \\" yoki shunchaki \\ "2 \\" ni sinab ko\'ring.',"Vertical text alignment toolbar":"Vertikal matnni tekislash asboblar paneli",Width:"Kengligi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Align cell text to the bottom":"Hujayra matnini pastga tekislash","Align cell text to the center":"Matnni markazga tekislash","Align cell text to the left":"Matnni chapga tekislash","Align cell text to the middle":"Hujayra matnini markazga tekislash","Align cell text to the right":"Matnni o'ngga tekislash","Align cell text to the top":"Hujayra matnini tepaga tekislash","Align table to the left":"Jadvalni chap tomonga tekislash","Align table to the right":"Jadvalni o'ngga tekislash",Alignment:"Tekislash",Background:"Fon",Border:"Chegara","Cell properties":"Hujayra xususiyatlari","Center table":"Jadvalni markazga tekislash",Color:"Rang",Column:"Ustun",Dashed:"Nuqtali","Delete column":"Ustunni o'chirish","Delete row":"Satrni o'chirish",Dimensions:"O'lchamlar",Dotted:"Nuqta",Double:"Ikkitalik","Enter table caption":"",Groove:"Yivli","Header column":"Ustun sarlavhalari","Header row":"Sarlavhalar satri",Height:"Balandligi","Horizontal text alignment toolbar":"Matnni gorizontal tekislash asboblar paneli","Insert a new table row (when in the last cell of a table)":"","Insert column left":"Ustunni chapga kiritish","Insert column right":"Ustunni o'ngga kiritish","Insert row above":"Yuqoriga qatorni kiritish","Insert row below":"Pastga qatorni kiritish","Insert table":"Jadvalni kiritish",Inset:"Tushkunlikka tushgan","Justify cell text":"Matnni kenglikka tekislash","Keystrokes that can be used in a table cell":"","Merge cell down":"Pastdagi katak bilan birlashtirish","Merge cell left":"Chapdagi katakcha bilan birlashtirish","Merge cell right":"O'ngdagi katakcha bilan birlashtirish","Merge cell up":"Yuqoridagi katak bilan birlashtirish","Merge cells":"Hujayralarni birlashtirish","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"",None:"Yo'q",Outset:"Qavariq",Padding:"Chekinish",Ridge:"Qirrali",Row:"Satr","Select column":"Ustunni tanlash","Select row":"Satrni tanlang",Solid:"Qattiq","Split cell horizontally":"Hujayrani gorizontal ravishda ajratish","Split cell vertically":"Hujayrani vertikal ravishda ajratish",Style:"Uslub",Table:"","Table alignment toolbar":"Jadvalni tekislash asboblar paneli","Table cell text alignment":"Jadval katakchasidagi matnni tekislash","Table properties":"Jadvalning xususiyatlari","Table toolbar":"Jadval asboblar paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Noto\'g\'ri rang. \\ "# FF0000 \\" yoki \\ "rgb (255,0,0) \\" yoki \\ "red \\" ni sinab ko\'ring.','The value is invalid. Try "10px" or "2em" or simply "2".':'Noto\'g\'ri qiymat. \\ "10px \\" yoki \\ "2em \\" yoki shunchaki \\ "2 \\" ni sinab ko\'ring.',"Vertical text alignment toolbar":"Vertikal matnni tekislash asboblar paneli",Width:"Kengligi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/vi.js b/core/assets/vendor/ckeditor5/table/translations/vi.js index 6b9828f6f48e8764ba629855cc8dfc7ef6278bdf..9b6aaf7e01a5f421bd2ddf1ca4393279c58654ef 100644 --- a/core/assets/vendor/ckeditor5/table/translations/vi.js +++ b/core/assets/vendor/ckeditor5/table/translations/vi.js @@ -1 +1 @@ -!function(n){const t=n.vi=n.vi||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Căn chỉnh văn bản trong ô xuống dÆ°á»›i cùng","Align cell text to the center":"Căn chỉnh văn bản trong ô và o chÃnh giữa","Align cell text to the left":"Căn chỉnh văn bản trong ô vá» bên trái","Align cell text to the middle":"Căn chỉnh văn bản trong ô và o giữa","Align cell text to the right":"Căn chỉnh văn bản trong ô vá» bên phải","Align cell text to the top":"Căn chỉnh văn bản trong ô lên trên cùng","Align table to the left":"Căn chỉnh bảng vá» phÃa bên trái","Align table to the right":"Căn chỉnh bảng vá» phÃa bên phải",Alignment:"Căn lá»",Background:"Mà u ná»n",Border:"Viá»n","Cell properties":"Thuá»™c tÃnh của ô","Center table":"Căn chỉnh bảng và o chÃnh giữa",Color:"Mà u","Color picker":"Bá»™ chá»n mà u",Column:"Cá»™t",Dashed:"Dạng Ä‘Æ°á»ng đứt nét","Delete column":"Xoá cá»™t","Delete row":"Xoá hà ng",Dimensions:"KÃch thÆ°á»›c",Dotted:"Dạng chấm",Double:"Dạng nét đôi","Enter table caption":"Nháºp chú thÃch cho bảng",Groove:"Dạng Ä‘Æ°á»ng rãnh","Header column":"Tiêu Ä‘á» cá»™t","Header row":"Tiêu Ä‘á» hà ng",Height:"Cao","Horizontal text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiá»u ngang","Insert a new table row (when in the last cell of a table)":"Chèn má»™t hà ng má»›i trong bảng (khi ở ô cuối cùng của bảng)","Insert column left":"Thêm cá»™t và o bên trái","Insert column right":"Thêm cá»™t và o bên phải","Insert row above":"Thêm hà ng phÃa trên","Insert row below":"Thêm hà ng ở dÆ°á»›i","Insert table":"Tạo bảng",Inset:"Dạng chìm","Justify cell text":"Căn Ä‘á»u văn bản trong ô","Keystrokes that can be used in a table cell":"Tổ hợp phÃm mà bạn có thể dùng trong má»™t ô bảng","Merge cell down":"Sát nháºp ô xuống dÆ°á»›i","Merge cell left":"Sát nháºp ô qua trái","Merge cell right":"Sát nháºp ô qua phải","Merge cell up":"Sát nháºp ô lên trên","Merge cells":"Sát nháºp ô","Move the selection to the next cell":"Di chuyển vùng chá»n đến ô tiếp theo","Move the selection to the previous cell":"Di chuyển vùng chá»n đến ô trÆ°á»›c đó","Navigate through the table":"Äiá»u hÆ°á»›ng qua bảng",None:"Không có kiểu nà o",Outset:"Dạng nổi",Padding:"Cách lá»",Ridge:"Dạng gá»",Row:"Hà ng","Select column":"Chá»n cá»™t","Select row":"Chá»n hà ng",Solid:"Dạng nét liá»n","Split cell horizontally":"Tách ô theo chiá»u ngang","Split cell vertically":"Tách ô theo chiá»u dá»c",Style:"Kiểu",Table:"Bảng","Table alignment toolbar":"Thanh công cụ căn chỉnh bảng","Table cell text alignment":"Căn lá» văn bản trong ô","Table properties":"Thuá»™c tÃnh của bảng","Table toolbar":"Thanh công cụ bảng",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Mà u nà y không hợp lệ. Hãy thá» "#FF0000" hoặc "rgb(255,0,0)" hoặc "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Giá trị nà y không hợp lệ. Hãy thá» "10px" hoặc "2em" hoặc chỉ "2".',"Vertical text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiá»u dá»c",Width:"Rá»™ng"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(n){const t=n.vi=n.vi||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"Căn chỉnh văn bản trong ô xuống dÆ°á»›i cùng","Align cell text to the center":"Căn chỉnh văn bản trong ô và o chÃnh giữa","Align cell text to the left":"Căn chỉnh văn bản trong ô vá» bên trái","Align cell text to the middle":"Căn chỉnh văn bản trong ô và o giữa","Align cell text to the right":"Căn chỉnh văn bản trong ô vá» bên phải","Align cell text to the top":"Căn chỉnh văn bản trong ô lên trên cùng","Align table to the left":"Căn chỉnh bảng vá» phÃa bên trái","Align table to the right":"Căn chỉnh bảng vá» phÃa bên phải",Alignment:"Căn lá»",Background:"Mà u ná»n",Border:"Viá»n","Cell properties":"Thuá»™c tÃnh của ô","Center table":"Căn chỉnh bảng và o chÃnh giữa",Color:"Mà u",Column:"Cá»™t",Dashed:"Dạng Ä‘Æ°á»ng đứt nét","Delete column":"Xoá cá»™t","Delete row":"Xoá hà ng",Dimensions:"KÃch thÆ°á»›c",Dotted:"Dạng chấm",Double:"Dạng nét đôi","Enter table caption":"Nháºp chú thÃch cho bảng",Groove:"Dạng Ä‘Æ°á»ng rãnh","Header column":"Tiêu Ä‘á» cá»™t","Header row":"Tiêu Ä‘á» hà ng",Height:"Cao","Horizontal text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiá»u ngang","Insert a new table row (when in the last cell of a table)":"Chèn má»™t hà ng má»›i trong bảng (khi ở ô cuối cùng của bảng)","Insert column left":"Thêm cá»™t và o bên trái","Insert column right":"Thêm cá»™t và o bên phải","Insert row above":"Thêm hà ng phÃa trên","Insert row below":"Thêm hà ng ở dÆ°á»›i","Insert table":"Tạo bảng",Inset:"Dạng chìm","Justify cell text":"Căn Ä‘á»u văn bản trong ô","Keystrokes that can be used in a table cell":"Tổ hợp phÃm mà bạn có thể dùng trong má»™t ô bảng","Merge cell down":"Sát nháºp ô xuống dÆ°á»›i","Merge cell left":"Sát nháºp ô qua trái","Merge cell right":"Sát nháºp ô qua phải","Merge cell up":"Sát nháºp ô lên trên","Merge cells":"Sát nháºp ô","Move the selection to the next cell":"Di chuyển vùng chá»n đến ô tiếp theo","Move the selection to the previous cell":"Di chuyển vùng chá»n đến ô trÆ°á»›c đó","Navigate through the table":"Äiá»u hÆ°á»›ng qua bảng",None:"Không có kiểu nà o",Outset:"Dạng nổi",Padding:"Cách lá»",Ridge:"Dạng gá»",Row:"Hà ng","Select column":"Chá»n cá»™t","Select row":"Chá»n hà ng",Solid:"Dạng nét liá»n","Split cell horizontally":"Tách ô theo chiá»u ngang","Split cell vertically":"Tách ô theo chiá»u dá»c",Style:"Kiểu",Table:"Bảng","Table alignment toolbar":"Thanh công cụ căn chỉnh bảng","Table cell text alignment":"Căn lá» văn bản trong ô","Table properties":"Thuá»™c tÃnh của bảng","Table toolbar":"Thanh công cụ bảng",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Mà u nà y không hợp lệ. Hãy thá» "#FF0000" hoặc "rgb(255,0,0)" hoặc "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Giá trị nà y không hợp lệ. Hãy thá» "10px" hoặc "2em" hoặc chỉ "2".',"Vertical text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiá»u dá»c",Width:"Rá»™ng"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/zh-cn.js b/core/assets/vendor/ckeditor5/table/translations/zh-cn.js index c9fa8f676a7d90f95682bc53f88dbcebe7ebd09e..a6aacd01d839e8c709840431aa5cd8b0ab3b86d5 100644 --- a/core/assets/vendor/ckeditor5/table/translations/zh-cn.js +++ b/core/assets/vendor/ckeditor5/table/translations/zh-cn.js @@ -1 +1 @@ -!function(e){const t=e["zh-cn"]=e["zh-cn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"使å•å…ƒæ ¼æ–‡æœ¬å¯¹é½åˆ°åº•éƒ¨","Align cell text to the center":"使å•å…ƒæ ¼æ–‡æœ¬æ°´å¹³å±…ä¸","Align cell text to the left":"使å•å…ƒæ ¼æ–‡æœ¬å·¦å¯¹é½","Align cell text to the middle":"使å•å…ƒæ ¼æ–‡æœ¬åž‚ç›´å±…ä¸","Align cell text to the right":"使å•å…ƒæ ¼æ–‡æœ¬å³å¯¹é½","Align cell text to the top":"使å•å…ƒæ ¼æ–‡æœ¬å¯¹é½åˆ°é¡¶éƒ¨","Align table to the left":"ä½¿è¡¨æ ¼å·¦å¯¹é½","Align table to the right":"ä½¿è¡¨æ ¼å³å¯¹é½",Alignment:"对é½",Background:"背景",Border:"边框","Cell properties":"å•å…ƒæ ¼å±žæ€§","Center table":"è¡¨æ ¼å±…ä¸",Color:"颜色","Color picker":"颜色选择器",Column:"列",Dashed:"虚线","Delete column":"åˆ é™¤æœ¬åˆ—","Delete row":"åˆ é™¤æœ¬è¡Œ",Dimensions:"尺寸",Dotted:"点状虚线",Double:"åŒçº¿","Enter table caption":"è¾“å…¥è¡¨æ ‡é¢˜",Groove:"凹槽边框","Header column":"æ ‡é¢˜åˆ—","Header row":"æ ‡é¢˜è¡Œ",Height:"高度","Horizontal text alignment toolbar":"水平文本对é½å·¥å…·æ ","Insert a new table row (when in the last cell of a table)":"æ’å…¥æ–°çš„è¡¨æ ¼è¡Œï¼ˆå½“ä½äºŽè¡¨æ ¼çš„最åŽä¸€ä¸ªå•å…ƒæ ¼æ—¶ï¼‰","Insert column left":"左侧æ’入列","Insert column right":"å³ä¾§æ’入列","Insert row above":"在上é¢æ’入一行","Insert row below":"在下é¢æ’入一行","Insert table":"æ’å…¥è¡¨æ ¼",Inset:"凹边框","Justify cell text":"对é½å•å…ƒæ ¼æ–‡æœ¬","Keystrokes that can be used in a table cell":"å¯åœ¨è¡¨æ ¼å•å…ƒæ ¼ä¸ä½¿ç”¨çš„按键","Merge cell down":"å‘下åˆå¹¶å•å…ƒæ ¼","Merge cell left":"å‘å·¦åˆå¹¶å•å…ƒæ ¼","Merge cell right":"å‘å³åˆå¹¶å•å…ƒæ ¼","Merge cell up":"å‘上åˆå¹¶å•å…ƒæ ¼","Merge cells":"åˆå¹¶å•å…ƒæ ¼","Move the selection to the next cell":"将所选内容移动到下一个å•å…ƒæ ¼","Move the selection to the previous cell":"将所选内容移至上一个å•å…ƒæ ¼","Navigate through the table":"åœ¨è¡¨æ ¼ä¸è¿›è¡Œå¯¼è§ˆ",None:"æ— ",Outset:"凸边框",Padding:"内边è·",Ridge:"垄状边框",Row:"è¡Œ","Select column":"选择列","Select row":"选择行",Solid:"实线","Split cell horizontally":"横å‘拆分å•å…ƒæ ¼","Split cell vertically":"纵å‘拆分å•å…ƒæ ¼",Style:"æ ·å¼",Table:"è¡¨æ ¼","Table alignment toolbar":"è¡¨æ ¼å¯¹é½å·¥å…·æ ","Table cell text alignment":"è¡¨æ ¼å•å…ƒæ ¼ä¸çš„文本水平对é½","Table properties":"è¡¨æ ¼å±žæ€§","Table toolbar":"è¡¨æ ¼å·¥å…·æ ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'é¢œè‰²æ— æ•ˆã€‚å°è¯•ä½¿ç”¨"#FF0000"ã€"rgb(255,0,0)"或者"red"。','The value is invalid. Try "10px" or "2em" or simply "2".':"æ— æ•ˆå€¼ã€‚å°è¯•ä½¿ç”¨â€œ10pxâ€ã€â€œ2exâ€æˆ–者åªå†™â€œ2â€ã€‚","Vertical text alignment toolbar":"垂直文本对é½å·¥å…·æ ",Width:"宽度"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e["zh-cn"]=e["zh-cn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"使å•å…ƒæ ¼æ–‡æœ¬å¯¹é½åˆ°åº•éƒ¨","Align cell text to the center":"使å•å…ƒæ ¼æ–‡æœ¬æ°´å¹³å±…ä¸","Align cell text to the left":"使å•å…ƒæ ¼æ–‡æœ¬å·¦å¯¹é½","Align cell text to the middle":"使å•å…ƒæ ¼æ–‡æœ¬åž‚ç›´å±…ä¸","Align cell text to the right":"使å•å…ƒæ ¼æ–‡æœ¬å³å¯¹é½","Align cell text to the top":"使å•å…ƒæ ¼æ–‡æœ¬å¯¹é½åˆ°é¡¶éƒ¨","Align table to the left":"ä½¿è¡¨æ ¼å·¦å¯¹é½","Align table to the right":"ä½¿è¡¨æ ¼å³å¯¹é½",Alignment:"对é½",Background:"背景",Border:"边框","Cell properties":"å•å…ƒæ ¼å±žæ€§","Center table":"è¡¨æ ¼å±…ä¸",Color:"颜色",Column:"列",Dashed:"虚线","Delete column":"åˆ é™¤æœ¬åˆ—","Delete row":"åˆ é™¤æœ¬è¡Œ",Dimensions:"尺寸",Dotted:"点状虚线",Double:"åŒçº¿","Enter table caption":"è¾“å…¥è¡¨æ ‡é¢˜",Groove:"凹槽边框","Header column":"æ ‡é¢˜åˆ—","Header row":"æ ‡é¢˜è¡Œ",Height:"高度","Horizontal text alignment toolbar":"水平文本对é½å·¥å…·æ ","Insert a new table row (when in the last cell of a table)":"æ’å…¥æ–°çš„è¡¨æ ¼è¡Œï¼ˆå½“ä½äºŽè¡¨æ ¼çš„最åŽä¸€ä¸ªå•å…ƒæ ¼æ—¶ï¼‰","Insert column left":"左侧æ’入列","Insert column right":"å³ä¾§æ’入列","Insert row above":"在上é¢æ’入一行","Insert row below":"在下é¢æ’入一行","Insert table":"æ’å…¥è¡¨æ ¼",Inset:"凹边框","Justify cell text":"对é½å•å…ƒæ ¼æ–‡æœ¬","Keystrokes that can be used in a table cell":"å¯åœ¨è¡¨æ ¼å•å…ƒæ ¼ä¸ä½¿ç”¨çš„按键","Merge cell down":"å‘下åˆå¹¶å•å…ƒæ ¼","Merge cell left":"å‘å·¦åˆå¹¶å•å…ƒæ ¼","Merge cell right":"å‘å³åˆå¹¶å•å…ƒæ ¼","Merge cell up":"å‘上åˆå¹¶å•å…ƒæ ¼","Merge cells":"åˆå¹¶å•å…ƒæ ¼","Move the selection to the next cell":"将所选内容移动到下一个å•å…ƒæ ¼","Move the selection to the previous cell":"将所选内容移至上一个å•å…ƒæ ¼","Navigate through the table":"åœ¨è¡¨æ ¼ä¸è¿›è¡Œå¯¼è§ˆ",None:"æ— ",Outset:"凸边框",Padding:"内边è·",Ridge:"垄状边框",Row:"è¡Œ","Select column":"选择列","Select row":"选择行",Solid:"实线","Split cell horizontally":"横å‘拆分å•å…ƒæ ¼","Split cell vertically":"纵å‘拆分å•å…ƒæ ¼",Style:"æ ·å¼",Table:"è¡¨æ ¼","Table alignment toolbar":"è¡¨æ ¼å¯¹é½å·¥å…·æ ","Table cell text alignment":"è¡¨æ ¼å•å…ƒæ ¼ä¸çš„文本水平对é½","Table properties":"è¡¨æ ¼å±žæ€§","Table toolbar":"è¡¨æ ¼å·¥å…·æ ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'é¢œè‰²æ— æ•ˆã€‚å°è¯•ä½¿ç”¨"#FF0000"ã€"rgb(255,0,0)"或者"red"。','The value is invalid. Try "10px" or "2em" or simply "2".':"æ— æ•ˆå€¼ã€‚å°è¯•ä½¿ç”¨â€œ10pxâ€ã€â€œ2exâ€æˆ–者åªå†™â€œ2â€ã€‚","Vertical text alignment toolbar":"垂直文本对é½å·¥å…·æ ",Width:"宽度"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/table/translations/zh.js b/core/assets/vendor/ckeditor5/table/translations/zh.js index c1a13dcf480652c22583f532dec9b4926219d858..fb65c085ab07de208a6102ca311f0f4e6891a363 100644 --- a/core/assets/vendor/ckeditor5/table/translations/zh.js +++ b/core/assets/vendor/ckeditor5/table/translations/zh.js @@ -1 +1 @@ -!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"å‘下å°é½Š","Align cell text to the center":"ç½®ä¸å°é½Š","Align cell text to the left":"é å·¦å°é½Š","Align cell text to the middle":"ç½®ä¸å°é½Š","Align cell text to the right":"é å³å°é½Š","Align cell text to the top":"å‘上å°é½Š","Align table to the left":"é å·¦å°é½Š","Align table to the right":"é å³å°é½Š",Alignment:"å°é½Š",Background:"背景é¡è‰²",Border:"邊框","Cell properties":"儲å˜æ ¼å±¬æ€§","Center table":"ç½®ä¸å°é½Š",Color:"æ–‡å—é¡è‰²","Color picker":"é¡è‰²é¸æ“‡",Column:"欄",Dashed:"虛線","Delete column":"刪除欄","Delete row":"刪除列",Dimensions:"尺寸",Dotted:"點線",Double:"雙線","Enter table caption":"輸入表標題",Groove:"內凹線","Header column":"標題欄","Header row":"標題列",Height:"高度","Horizontal text alignment toolbar":"æ°´å¹³å°é½Š","Insert a new table row (when in the last cell of a table)":"æ’å…¥æ–°çš„è¡¨æ ¼æ©«æŽ’ï¼ˆç•¶ä½æ–¼è¡¨æ ¼çš„æœ€å¾Œä¸€å€‹å–®å…ƒæ ¼æ™‚ï¼‰","Insert column left":"æ’入左方欄","Insert column right":"æ’å…¥å³æ–¹æ¬„","Insert row above":"æ’入上方列","Insert row below":"æ’入下方列","Insert table":"æ’å…¥è¡¨æ ¼",Inset:"內邊線","Justify cell text":"分散å°é½Š","Keystrokes that can be used in a table cell":"å¯åœ¨è¡¨æ ¼å–®å…ƒæ ¼ä¸ä½¿ç”¨çš„按éµ","Merge cell down":"åˆä½µä¸‹æ–¹å„²å˜æ ¼","Merge cell left":"åˆä½µå·¦æ–¹å„²å˜æ ¼","Merge cell right":"åˆä½µå³æ–¹å„²å˜æ ¼","Merge cell up":"åˆä½µä¸Šæ–¹å„²å˜æ ¼","Merge cells":"åˆä½µå„²å˜æ ¼","Move the selection to the next cell":"å°‡é¸å–範åœç§»å‹•åˆ°ä¸‹ä¸€å€‹å–®å…ƒæ ¼","Move the selection to the previous cell":"å°‡é¸å–範åœç§»å‹•åˆ°ä¸Šä¸€å€‹å–®å…ƒæ ¼","Navigate through the table":"åœ¨è¡¨æ ¼ä¸ç§»å‹•",None:"ç„¡",Outset:"外框線",Padding:"儲å˜æ ¼ç•™ç™½",Ridge:"凸起線",Row:"列","Select column":"é¸æ“‡æ¬„","Select row":"é¸æ“‡åˆ—",Solid:"實線","Split cell horizontally":"水平分割儲å˜æ ¼","Split cell vertically":"垂直分割儲å˜æ ¼",Style:"樣å¼",Table:"è¡¨æ ¼","Table alignment toolbar":"è¡¨æ ¼å°é½Š","Table cell text alignment":"儲å˜æ ¼æ–‡å—å°é½Š","Table properties":"è¡¨æ ¼å±¬æ€§","Table toolbar":"è¡¨æ ¼å·¥å…·",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'é¡è‰²ä»£ç¢¼éŒ¯èª¤ã€‚試試看 "#FF0000" 或 "rgb(255, 0, 0)" 或 "red"。','The value is invalid. Try "10px" or "2em" or simply "2".':'尺寸代碼錯誤。試試看 "10px" 或 "2em" 或簡單寫 "2"。',"Vertical text alignment toolbar":"åž‚ç›´å°é½Š",Width:"寬度"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file +!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"å‘下å°é½Š","Align cell text to the center":"ç½®ä¸å°é½Š","Align cell text to the left":"é å·¦å°é½Š","Align cell text to the middle":"ç½®ä¸å°é½Š","Align cell text to the right":"é å³å°é½Š","Align cell text to the top":"å‘上å°é½Š","Align table to the left":"é å·¦å°é½Š","Align table to the right":"é å³å°é½Š",Alignment:"å°é½Š",Background:"背景é¡è‰²",Border:"邊框","Cell properties":"儲å˜æ ¼å±¬æ€§","Center table":"ç½®ä¸å°é½Š",Color:"æ–‡å—é¡è‰²",Column:"欄",Dashed:"虛線","Delete column":"刪除欄","Delete row":"刪除列",Dimensions:"尺寸",Dotted:"點線",Double:"雙線","Enter table caption":"輸入表標題",Groove:"內凹線","Header column":"標題欄","Header row":"標題列",Height:"高度","Horizontal text alignment toolbar":"æ°´å¹³å°é½Š","Insert a new table row (when in the last cell of a table)":"æ’å…¥æ–°çš„è¡¨æ ¼æ©«æŽ’ï¼ˆç•¶ä½æ–¼è¡¨æ ¼çš„æœ€å¾Œä¸€å€‹å–®å…ƒæ ¼æ™‚ï¼‰","Insert column left":"æ’入左方欄","Insert column right":"æ’å…¥å³æ–¹æ¬„","Insert row above":"æ’入上方列","Insert row below":"æ’入下方列","Insert table":"æ’å…¥è¡¨æ ¼",Inset:"內邊線","Justify cell text":"分散å°é½Š","Keystrokes that can be used in a table cell":"å¯åœ¨è¡¨æ ¼å–®å…ƒæ ¼ä¸ä½¿ç”¨çš„按éµ","Merge cell down":"åˆä½µä¸‹æ–¹å„²å˜æ ¼","Merge cell left":"åˆä½µå·¦æ–¹å„²å˜æ ¼","Merge cell right":"åˆä½µå³æ–¹å„²å˜æ ¼","Merge cell up":"åˆä½µä¸Šæ–¹å„²å˜æ ¼","Merge cells":"åˆä½µå„²å˜æ ¼","Move the selection to the next cell":"å°‡é¸å–範åœç§»å‹•åˆ°ä¸‹ä¸€å€‹å–®å…ƒæ ¼","Move the selection to the previous cell":"å°‡é¸å–範åœç§»å‹•åˆ°ä¸Šä¸€å€‹å–®å…ƒæ ¼","Navigate through the table":"åœ¨è¡¨æ ¼ä¸ç§»å‹•",None:"ç„¡",Outset:"外框線",Padding:"儲å˜æ ¼ç•™ç™½",Ridge:"凸起線",Row:"列","Select column":"é¸æ“‡æ¬„","Select row":"é¸æ“‡åˆ—",Solid:"實線","Split cell horizontally":"水平分割儲å˜æ ¼","Split cell vertically":"垂直分割儲å˜æ ¼",Style:"樣å¼",Table:"è¡¨æ ¼","Table alignment toolbar":"è¡¨æ ¼å°é½Š","Table cell text alignment":"儲å˜æ ¼æ–‡å—å°é½Š","Table properties":"è¡¨æ ¼å±¬æ€§","Table toolbar":"è¡¨æ ¼å·¥å…·",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'é¡è‰²ä»£ç¢¼éŒ¯èª¤ã€‚試試看 "#FF0000" 或 "rgb(255, 0, 0)" 或 "red"。','The value is invalid. Try "10px" or "2em" or simply "2".':'尺寸代碼錯誤。試試看 "10px" 或 "2em" 或簡單寫 "2"。',"Vertical text alignment toolbar":"åž‚ç›´å°é½Š",Width:"寬度"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/core/assets/vendor/ckeditor5/word-count/word-count.js b/core/assets/vendor/ckeditor5/word-count/word-count.js index be6d7faa0b20cf5a8a074de58d528513edfc0d49..1bdbc4feb995839f7e54c856b5687eb1cd2d2816 100644 --- a/core/assets/vendor/ckeditor5/word-count/word-count.js +++ b/core/assets/vendor/ckeditor5/word-count/word-count.js @@ -2,4 +2,4 @@ /*! * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. - */(()=>{var t={782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{WordCount:()=>z});var t=r(782),e=r(311),n=r(584);function i(t){if(t.is("$text")||t.is("$textProxy"))return t.data;const e=t;let r="",o=null;for(const t of e.getChildren()){const e=i(t);o&&o.is("element")&&(r+="\n"),r+=e,o=t}return r}const s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const c="object"==typeof global&&global&&global.Object===Object&&global;var a="object"==typeof self&&self&&self.Object===Object&&self;const u=c||a||Function("return this")();const d=function(){return u.Date.now()};var l=/\s/;const f=function(t){for(var e=t.length;e--&&l.test(t.charAt(e)););return e};var h=/^\s+/;const p=function(t){return t?t.slice(0,f(t)+1).replace(h,""):t};const g=u.Symbol;var v=Object.prototype,b=v.hasOwnProperty,w=v.toString,y=g?g.toStringTag:void 0;const _=function(t){var e=b.call(t,y),r=t[y];try{t[y]=void 0;var o=!0}catch(t){}var n=w.call(t);return o&&(e?t[y]=r:delete t[y]),n};var m=Object.prototype.toString;const j=function(t){return m.call(t)};var x=g?g.toStringTag:void 0;const O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":x&&x in Object(t)?_(t):j(t)};const T=function(t){return null!=t&&"object"==typeof t};const C=function(t){return"symbol"==typeof t||T(t)&&"[object Symbol]"==O(t)};var S=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,W=/^0o[0-7]+$/i,N=parseInt;const P=function(t){if("number"==typeof t)return t;if(C(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=p(t);var r=E.test(t);return r||W.test(t)?N(t.slice(2),r?2:8):S.test(t)?NaN:+t};var V=Math.max,L=Math.min;const R=function(t,e,r){var o,n,i,c,a,u,l=0,f=!1,h=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=o,i=n;return o=n=void 0,l=e,c=t.apply(i,r)}function v(t){var r=t-u;return void 0===u||r>=e||r<0||h&&t-l>=i}function b(){var t=d();if(v(t))return w(t);a=setTimeout(b,function(t){var r=e-(t-u);return h?L(r,i-(t-l)):r}(t))}function w(t){return a=void 0,p&&o?g(t):(o=n=void 0,c)}function y(){var t=d(),r=v(t);if(o=arguments,n=this,u=t,r){if(void 0===a)return function(t){return l=t,a=setTimeout(b,e),f?g(t):c}(u);if(h)return clearTimeout(a),a=setTimeout(b,e),g(u)}return void 0===a&&(a=setTimeout(b,e)),c}return e=P(e)||0,s(r)&&(f=!!r.leading,i=(h="maxWait"in r)?V(P(r.maxWait)||0,e):i,p="trailing"in r?!!r.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=u=n=a=void 0},y.flush=function(){return void 0===a?c:w(d())},y};const A=function(t,e,r){var o=!0,n=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(r)&&(o="leading"in r?!!r.leading:o,n="trailing"in r?!!r.trailing:n),R(t,e,{leading:o,maxWait:e,trailing:n})};const M=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object);var I=Function.prototype,K=Object.prototype,$=I.toString,k=K.hasOwnProperty,U=$.call(Object);const D=function(t){if(!T(t)||"[object Object]"!=O(t))return!1;var e=M(t);if(null===e)return!0;var r=k.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&$.call(r)==U};const F=function(t){return T(t)&&1===t.nodeType&&!D(t)};class z extends t.Plugin{constructor(t){super(t),this.set("characters",0),this.set("words",0),Object.defineProperties(this,{characters:{get(){return this.characters=this._getCharacters(this._getText())}},words:{get(){return this.words=this._getWords(this._getText())}}}),this.set("_wordsLabel",void 0),this.set("_charactersLabel",void 0),this._config=t.config.get("wordCount")||{},this._outputView=void 0,this._wordsMatchRegExp=n.env.features.isRegExpUnicodePropertySupported?new RegExp("([\\p{L}\\p{N}]+\\S?)+","gu"):/([a-zA-Z0-9À-ž]+\S?)+/gu}static get pluginName(){return"WordCount"}init(){this.editor.model.document.on("change:data",A(this._refreshStats.bind(this),250)),"function"==typeof this._config.onUpdate&&this.on("update",((t,e)=>{this._config.onUpdate(e)})),F(this._config.container)&&this._config.container.appendChild(this.wordCountContainer)}destroy(){this._outputView&&(this._outputView.element.remove(),this._outputView.destroy()),super.destroy()}get wordCountContainer(){const t=this.editor,r=t.t,o=t.config.get("wordCount.displayWords"),n=t.config.get("wordCount.displayCharacters"),i=e.Template.bind(this,this),s=[];return this._outputView||(this._outputView=new e.View,(o||void 0===o)&&(this.bind("_wordsLabel").to(this,"words",(t=>r("Words: %0",t))),s.push({tag:"div",children:[{text:[i.to("_wordsLabel")]}],attributes:{class:"ck-word-count__words"}})),(n||void 0===n)&&(this.bind("_charactersLabel").to(this,"characters",(t=>r("Characters: %0",t))),s.push({tag:"div",children:[{text:[i.to("_charactersLabel")]}],attributes:{class:"ck-word-count__characters"}})),this._outputView.setTemplate({tag:"div",attributes:{class:["ck","ck-word-count"]},children:s}),this._outputView.render()),this._outputView.element}_getText(){let t="";for(const e of this.editor.model.document.getRoots())""!==t&&(t+="\n"),t+=i(e);return t}_getCharacters(t){return t.replace(/\n/g,"").length}_getWords(t){return(t.match(this._wordsMatchRegExp)||[]).length}_refreshStats(){const t=this._getText(),e=this.words=this._getWords(t),r=this.characters=this._getCharacters(t);this.fire("update",{words:e,characters:r})}}})(),(window.CKEditor5=window.CKEditor5||{}).wordCount=o})(); \ No newline at end of file + */(()=>{var t={782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{WordCount:()=>z});var t=r(782),e=r(311),n=r(584);function i(t){if(t.is("$text")||t.is("$textProxy"))return t.data;const e=t;let r="",o=null;for(const t of e.getChildren()){const e=i(t);o&&o.is("element")&&(r+="\n"),r+=e,o=t}return r}const s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const c="object"==typeof global&&global&&global.Object===Object&&global;var a="object"==typeof self&&self&&self.Object===Object&&self;const u=c||a||Function("return this")();const d=function(){return u.Date.now()};var l=/\s/;const f=function(t){for(var e=t.length;e--&&l.test(t.charAt(e)););return e};var h=/^\s+/;const p=function(t){return t?t.slice(0,f(t)+1).replace(h,""):t};const g=u.Symbol;var v=Object.prototype,b=v.hasOwnProperty,w=v.toString,y=g?g.toStringTag:void 0;const _=function(t){var e=b.call(t,y),r=t[y];try{t[y]=void 0;var o=!0}catch(t){}var n=w.call(t);return o&&(e?t[y]=r:delete t[y]),n};var m=Object.prototype.toString;const j=function(t){return m.call(t)};var x=g?g.toStringTag:void 0;const O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":x&&x in Object(t)?_(t):j(t)};const T=function(t){return null!=t&&"object"==typeof t};const C=function(t){return"symbol"==typeof t||T(t)&&"[object Symbol]"==O(t)};var S=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,P=/^0o[0-7]+$/i,W=parseInt;const N=function(t){if("number"==typeof t)return t;if(C(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=p(t);var r=E.test(t);return r||P.test(t)?W(t.slice(2),r?2:8):S.test(t)?NaN:+t};var V=Math.max,L=Math.min;const R=function(t,e,r){var o,n,i,c,a,u,l=0,f=!1,h=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=o,i=n;return o=n=void 0,l=e,c=t.apply(i,r)}function v(t){var r=t-u;return void 0===u||r>=e||r<0||h&&t-l>=i}function b(){var t=d();if(v(t))return w(t);a=setTimeout(b,function(t){var r=e-(t-u);return h?L(r,i-(t-l)):r}(t))}function w(t){return a=void 0,p&&o?g(t):(o=n=void 0,c)}function y(){var t=d(),r=v(t);if(o=arguments,n=this,u=t,r){if(void 0===a)return function(t){return l=t,a=setTimeout(b,e),f?g(t):c}(u);if(h)return clearTimeout(a),a=setTimeout(b,e),g(u)}return void 0===a&&(a=setTimeout(b,e)),c}return e=N(e)||0,s(r)&&(f=!!r.leading,i=(h="maxWait"in r)?V(N(r.maxWait)||0,e):i,p="trailing"in r?!!r.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=u=n=a=void 0},y.flush=function(){return void 0===a?c:w(d())},y};const A=function(t,e,r){var o=!0,n=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(r)&&(o="leading"in r?!!r.leading:o,n="trailing"in r?!!r.trailing:n),R(t,e,{leading:o,maxWait:e,trailing:n})};const M=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object);var I=Function.prototype,K=Object.prototype,$=I.toString,k=K.hasOwnProperty,U=$.call(Object);const D=function(t){if(!T(t)||"[object Object]"!=O(t))return!1;var e=M(t);if(null===e)return!0;var r=k.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&$.call(r)==U};const F=function(t){return T(t)&&1===t.nodeType&&!D(t)};class z extends t.Plugin{constructor(t){super(t),this.set("characters",0),this.set("words",0),Object.defineProperties(this,{characters:{get(){return this.characters=this._getCharacters(this._getText())}},words:{get(){return this.words=this._getWords(this._getText())}}}),this.set("_wordsLabel",void 0),this.set("_charactersLabel",void 0),this._config=t.config.get("wordCount")||{},this._outputView=void 0,this._wordsMatchRegExp=n.env.features.isRegExpUnicodePropertySupported?new RegExp("([\\p{L}\\p{N}]+\\S?)+","gu"):/([a-zA-Z0-9À-ž]+\S?)+/gu}static get pluginName(){return"WordCount"}static get isOfficialPlugin(){return!0}init(){this.editor.model.document.on("change:data",A(this._refreshStats.bind(this),250)),"function"==typeof this._config.onUpdate&&this.on("update",((t,e)=>{this._config.onUpdate(e)})),F(this._config.container)&&this._config.container.appendChild(this.wordCountContainer)}destroy(){this._outputView&&(this._outputView.element.remove(),this._outputView.destroy()),super.destroy()}get wordCountContainer(){const t=this.editor,r=t.t,o=t.config.get("wordCount.displayWords"),n=t.config.get("wordCount.displayCharacters"),i=e.Template.bind(this,this),s=[];return this._outputView||(this._outputView=new e.View,(o||void 0===o)&&(this.bind("_wordsLabel").to(this,"words",(t=>r("Words: %0",t))),s.push({tag:"div",children:[{text:[i.to("_wordsLabel")]}],attributes:{class:"ck-word-count__words"}})),(n||void 0===n)&&(this.bind("_charactersLabel").to(this,"characters",(t=>r("Characters: %0",t))),s.push({tag:"div",children:[{text:[i.to("_charactersLabel")]}],attributes:{class:"ck-word-count__characters"}})),this._outputView.setTemplate({tag:"div",attributes:{class:["ck","ck-word-count"]},children:s}),this._outputView.render()),this._outputView.element}_getText(){let t="";for(const e of this.editor.model.document.getRoots())""!==t&&(t+="\n"),t+=i(e);return t}_getCharacters(t){return t.replace(/\n/g,"").length}_getWords(t){return(t.match(this._wordsMatchRegExp)||[]).length}_refreshStats(){const t=this._getText(),e=this.words=this._getWords(t),r=this.characters=this._getCharacters(t);this.fire("update",{words:e,characters:r})}}})(),(window.CKEditor5=window.CKEditor5||{}).wordCount=o})(); \ No newline at end of file diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 52196dca17c6ab5e9db900c34290513e978009d3..238e5fe633c6cdfcd8b844eae5f653ac885711ab 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -19,10 +19,10 @@ internal.backbone: ckeditor5: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: # This file is not aggregated to force the creation of a new aggregate file @@ -36,10 +36,10 @@ ckeditor5: ckeditor5.editorClassic: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/editor-classic/editor-classic.js: { minified: true } @@ -48,10 +48,10 @@ ckeditor5.editorClassic: ckeditor5.editorDecoupled: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js: { minified: true } @@ -74,10 +74,10 @@ ckeditor5.essentials: ckeditor5.heading: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/heading/heading.js: { minified: true } @@ -87,10 +87,10 @@ ckeditor5.heading: ckeditor5.basic: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/basic-styles/basic-styles.js: { minified: true } @@ -100,10 +100,10 @@ ckeditor5.basic: ckeditor5.specialCharacters: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/special-characters/special-characters.js: { minified: true } @@ -113,10 +113,10 @@ ckeditor5.specialCharacters: ckeditor5.blockquote: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/block-quote/block-quote.js: { minified: true } @@ -126,10 +126,10 @@ ckeditor5.blockquote: ckeditor5.image: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/image/image.js: { minified: true } @@ -139,10 +139,10 @@ ckeditor5.image: ckeditor5.link: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/link/link.js: { minified: true } @@ -152,10 +152,10 @@ ckeditor5.link: ckeditor5.list: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/list/list.js: { minified: true } @@ -165,10 +165,10 @@ ckeditor5.list: ckeditor5.horizontalLine: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/horizontal-line/horizontal-line.js: { minified: true } @@ -178,10 +178,10 @@ ckeditor5.horizontalLine: ckeditor5.htmlSupport: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/html-support/html-support.js: { minified: true } @@ -191,10 +191,10 @@ ckeditor5.htmlSupport: ckeditor5.alignment: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/alignment/alignment.js: { minified: true } @@ -204,10 +204,10 @@ ckeditor5.alignment: ckeditor5.removeFormat: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/remove-format/remove-format.js: { minified: true } @@ -217,10 +217,10 @@ ckeditor5.removeFormat: ckeditor5.pasteFromOffice: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/paste-from-office/paste-from-office.js: { minified: true } @@ -229,10 +229,10 @@ ckeditor5.pasteFromOffice: ckeditor5.indent: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/indent/indent.js: { minified: true } @@ -242,10 +242,10 @@ ckeditor5.indent: ckeditor5.sourceEditing: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/source-editing/source-editing.js: { minified: true } @@ -255,10 +255,10 @@ ckeditor5.sourceEditing: ckeditor5.table: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/table/table.js: { minified: true } @@ -268,10 +268,10 @@ ckeditor5.table: ckeditor5.language: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/language/language.js: { minified: true } @@ -281,10 +281,10 @@ ckeditor5.language: ckeditor5.codeBlock: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/code-block/code-block.js: { minified: true } @@ -294,7 +294,7 @@ ckeditor5.codeBlock: ckeditor5.showBlocks: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v37.1.0/LICENSE.md @@ -307,10 +307,10 @@ ckeditor5.showBlocks: ckeditor5.style: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/style/style.js: { minified: true } @@ -329,10 +329,10 @@ ckeditor5.translations: ckeditor5.autoformat: remote: https://github.com/ckeditor/ckeditor5 - version: "43.1.1" + version: "43.3.1" license: name: GPL-2.0-or-later - url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md + url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.3.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor5/autoformat/autoformat.js: { minified: true } diff --git a/core/package.json b/core/package.json index 20361dbdc44524a96a3af811accf0f4bcec4f15c..bd5d82271822edfe1c2a056d66c1251596312116 100644 --- a/core/package.json +++ b/core/package.json @@ -33,34 +33,34 @@ "watch:ckeditor5-dev": "yarn watch:ckeditor5 --mode=development" }, "devDependencies": { - "@ckeditor/ckeditor5-alignment": "~43.1.1", - "@ckeditor/ckeditor5-autoformat": "~43.1.1", - "@ckeditor/ckeditor5-basic-styles": "~43.1.1", - "@ckeditor/ckeditor5-block-quote": "~43.1.1", - "@ckeditor/ckeditor5-code-block": "~43.1.1", - "@ckeditor/ckeditor5-editor-classic": "~43.1.1", - "@ckeditor/ckeditor5-editor-decoupled": "~43.1.1", - "@ckeditor/ckeditor5-essentials": "~43.1.1", - "@ckeditor/ckeditor5-heading": "~43.1.1", - "@ckeditor/ckeditor5-horizontal-line": "~43.1.1", - "@ckeditor/ckeditor5-html-support": "~43.1.1", - "@ckeditor/ckeditor5-image": "~43.1.1", - "@ckeditor/ckeditor5-indent": "~43.1.1", - "@ckeditor/ckeditor5-language": "~43.1.1", - "@ckeditor/ckeditor5-link": "~43.1.1", - "@ckeditor/ckeditor5-list": "~43.1.1", - "@ckeditor/ckeditor5-paste-from-office": "~43.1.1", - "@ckeditor/ckeditor5-remove-format": "~43.1.1", - "@ckeditor/ckeditor5-show-blocks": "~43.1.1", - "@ckeditor/ckeditor5-source-editing": "~43.1.1", - "@ckeditor/ckeditor5-special-characters": "~43.1.1", - "@ckeditor/ckeditor5-style": "~43.1.1", - "@ckeditor/ckeditor5-table": "~43.1.1", + "@ckeditor/ckeditor5-alignment": "~43.3.1", + "@ckeditor/ckeditor5-autoformat": "~43.3.1", + "@ckeditor/ckeditor5-basic-styles": "~43.3.1", + "@ckeditor/ckeditor5-block-quote": "~43.3.1", + "@ckeditor/ckeditor5-code-block": "~43.3.1", + "@ckeditor/ckeditor5-editor-classic": "~43.3.1", + "@ckeditor/ckeditor5-editor-decoupled": "~43.3.1", + "@ckeditor/ckeditor5-essentials": "~43.3.1", + "@ckeditor/ckeditor5-heading": "~43.3.1", + "@ckeditor/ckeditor5-horizontal-line": "~43.3.1", + "@ckeditor/ckeditor5-html-support": "~43.3.1", + "@ckeditor/ckeditor5-image": "~43.3.1", + "@ckeditor/ckeditor5-indent": "~43.3.1", + "@ckeditor/ckeditor5-language": "~43.3.1", + "@ckeditor/ckeditor5-link": "~43.3.1", + "@ckeditor/ckeditor5-list": "~43.3.1", + "@ckeditor/ckeditor5-paste-from-office": "~43.3.1", + "@ckeditor/ckeditor5-remove-format": "~43.3.1", + "@ckeditor/ckeditor5-show-blocks": "~43.3.1", + "@ckeditor/ckeditor5-source-editing": "~43.3.1", + "@ckeditor/ckeditor5-special-characters": "~43.3.1", + "@ckeditor/ckeditor5-style": "~43.3.1", + "@ckeditor/ckeditor5-table": "~43.3.1", "@drupal/once": "^1.0.1", "@floating-ui/dom": "^1.6.8", "backbone": "^1.6.0", "chokidar": "^3.6.0", - "ckeditor5": "~43.1.1", + "ckeditor5": "~43.3.1", "cspell": "^8.13.0", "dotenv": "^16.4.5", "dotenv-safe": "^9.1.0", @@ -102,7 +102,7 @@ "transliteration": "^2.3.5", "tua-body-scroll-lock": "^1.5.0", "underscore": "~1.13.7", - "webpack": "^5.95.0", + "webpack": "^5.96.1", "webpack-cli": "^5.1.4" }, "browserslist": [ diff --git a/core/yarn.lock b/core/yarn.lock index b37dcdf498e356794e3ee073343f2d8f535ea6ba..88d5b973945caaa241216ba59cf6419289e34075 100644 --- a/core/yarn.lock +++ b/core/yarn.lock @@ -40,744 +40,745 @@ __metadata: languageName: node linkType: hard -"@ckeditor/ckeditor5-adapter-ckfinder@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-adapter-ckfinder@npm:43.1.1" +"@ckeditor/ckeditor5-adapter-ckfinder@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-adapter-ckfinder@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-upload": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/f674c332b6f5989f7cd5cbaa20f2d288c72ee109dd1d4570a51b7d1b15c793085f64b3c83bddda2ffc693ec7fff85dee6c7e1f7da161b9886fb682286712f0ae + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-upload": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/f11fedc538765f54785c7a918ca616662aec096511d9e0dc51efb7b585670cac58bea87c26c9fb720b433683a91ec05117007f6861c6a5c7aec04e62265d2b75 languageName: node linkType: hard -"@ckeditor/ckeditor5-alignment@npm:43.1.1, @ckeditor/ckeditor5-alignment@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-alignment@npm:43.1.1" +"@ckeditor/ckeditor5-alignment@npm:43.3.1, @ckeditor/ckeditor5-alignment@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-alignment@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/bb8ce59aa0ceb0b2c873644cea39b438465b9987a7b4a38ca34eda614cc281283827d21d34b3aaf25c7b3f89edb36db69190306041711c7cb7ff7394d7c442e1 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/64cd5b180d9d6d8c69005ba9f279ac5db0ffcc66b2c212e3248e206c38c4faeafd757da46995efdb0cc4bcabd963a702d2ec4e132b5cbb0e60567648d727ed94 languageName: node linkType: hard -"@ckeditor/ckeditor5-autoformat@npm:43.1.1, @ckeditor/ckeditor5-autoformat@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-autoformat@npm:43.1.1" +"@ckeditor/ckeditor5-autoformat@npm:43.3.1, @ckeditor/ckeditor5-autoformat@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-autoformat@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/48294238d25e4bdd84b56281180b026d549b819395876a1148f525cf2bd3b54ba2c3bb863f6cbc862470ca09354a03896b97b95512945aee5d00cbc0da60e6b7 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/05aeb0a15b6d4a93b62b911c87645efd399efdeb77c0dddc07d24999f71de3284bfd2262d816f5adb7d992855b8d95ab5d4188d7c86e7fc8468a1e054b214664 languageName: node linkType: hard -"@ckeditor/ckeditor5-autosave@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-autosave@npm:43.1.1" +"@ckeditor/ckeditor5-autosave@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-autosave@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/2a6625a64317a89b2dedf3aa527b9c161a582df72152635f05a3eb2a36389238a0e3a007bd8d7c4dc5284c46d927d6d16418a97267212453467425712991cf16 + checksum: 10c0/beec7771f8c017146dddfb2cc2973b1a883dee9b17979b995bdd0a628586d9d0454c81b1ca0d79b0e1628bee1b7867eb7dba1105a3b604a81ef1c3f3b12da0f0 languageName: node linkType: hard -"@ckeditor/ckeditor5-basic-styles@npm:43.1.1, @ckeditor/ckeditor5-basic-styles@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-basic-styles@npm:43.1.1" +"@ckeditor/ckeditor5-basic-styles@npm:43.3.1, @ckeditor/ckeditor5-basic-styles@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-basic-styles@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/374c5dfa7a2374e51935a95e6ebe9d051297395147b188a1653456778f60df28fbfeeb390ea6ad76827b964af1f770b7f61eae06e42c206d0b0fae1af771d443 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/a2fc697bffc65f38dba9c42789c8696f0793fb33985e78c076959154623bf45ad2cd7c1a83de8dbb75d863223cc4817600824a89b24a19da0e37957be8e5e7da languageName: node linkType: hard -"@ckeditor/ckeditor5-block-quote@npm:43.1.1, @ckeditor/ckeditor5-block-quote@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-block-quote@npm:43.1.1" +"@ckeditor/ckeditor5-block-quote@npm:43.3.1, @ckeditor/ckeditor5-block-quote@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-block-quote@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/1d2842ff406161a6f63d319b6098487bc086b48c793624d947cd0cf993c2b0dfef6c73e59dbcb78a8879878378266fdc774812045eb15c36a7034816b1c5729d + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/c8f2c547c1e6a3eb1a9f6fcba045dadc1079ba6b60a81b39f77ef1a8ec0ff40f6afa6fbd586e4fd3b05417f82fcba305b4192f3f7f8732975a8bced4d0e3a47d languageName: node linkType: hard -"@ckeditor/ckeditor5-ckbox@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-ckbox@npm:43.1.1" +"@ckeditor/ckeditor5-ckbox@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-ckbox@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-upload": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-upload": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" blurhash: "npm:2.0.5" - ckeditor5: "npm:43.1.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/bc59bf37c548a4bf6d6e1a4f5888f5a22d2c14ef99564f84fb080434e1a348b3ad1f6893688ee07fec04c36c42a79020de28a155d35ebed90a919f7d4694c683 + checksum: 10c0/4215ca01af954c25752382fbc9160b5fe86afeb4679736631d4e3a1d65420c27c8dd6c7a4d65bba62e46a9eae0eb42243a40bf241c2168a54b9f8ac905055410 languageName: node linkType: hard -"@ckeditor/ckeditor5-ckfinder@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-ckfinder@npm:43.1.1" +"@ckeditor/ckeditor5-ckfinder@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-ckfinder@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/dfdab430a91fb97a1056a04236b90ec7704ee8853888918a2f8e79a5c750001936158f6eab09f74fa0ddf3f1b04293fe2317a8909766e15a7435734ea5c223fc + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/097d84ce25a48a05f9d7cf5f542237e9a2135094c8e69db9b5457400043cf79af6a33af17556880001af7942c751337e6be3496d77e3cbed3e2914cd0f252588 languageName: node linkType: hard -"@ckeditor/ckeditor5-clipboard@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-clipboard@npm:43.1.1" +"@ckeditor/ckeditor5-clipboard@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-clipboard@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/4333d35d187d363f0c05553c3e7f386fe76e64ec7fd540dc9edc353d96e7ec15725f5e6af4e491a93b291603161b24e03321a512d93bd62d4c3ced4539a77058 + checksum: 10c0/b4db6d229dd8d1be9cf2d144c45bf7ff8eaae9c06e0dcbaf63247399abcb7af42496a177f451651436e0c0c9b0e6c8dd87f0f809089e637aba330965207ef049 languageName: node linkType: hard -"@ckeditor/ckeditor5-cloud-services@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-cloud-services@npm:43.1.1" +"@ckeditor/ckeditor5-cloud-services@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-cloud-services@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/6072219d0c996e3910dd3d536ab4d70cac9b7cfcdb03854e7b819cc61e71894b786f98c083c1364469f13c9621e895fae0786b5285934533e980c48840438e76 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/2d634efe784b0170f6e080d91aac684c3c3a4aafee190f149277917a49b6fcc8f9b421e2c418af2730e4bd3496237f79bed75abd648578985633d021cbb66b9b languageName: node linkType: hard -"@ckeditor/ckeditor5-code-block@npm:43.1.1, @ckeditor/ckeditor5-code-block@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-code-block@npm:43.1.1" +"@ckeditor/ckeditor5-code-block@npm:43.3.1, @ckeditor/ckeditor5-code-block@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-code-block@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/218015df6792124ddc863af8309fe4c380d676432fcdfe1b48101435abbc646adf185ac8cdf6d91107055980b79f0c3d043547bafc430f45e5de110f2a3302a8 + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/e30daaca8019fec7cefd4a0640279f247b7e1aea4d89c7dc2be39698c8ed80a97e06266674f56dff68f80f76bd748da385b6b93b8860ec1ba8af11f1f6d49100 languageName: node linkType: hard -"@ckeditor/ckeditor5-core@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-core@npm:43.1.1" +"@ckeditor/ckeditor5-core@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-core@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-watchdog": "npm:43.1.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-watchdog": "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/874e50265c795bc645b6e31aebe056ea39bcdf40dfd31390c9cd4995ac5d4c2935d5aa0ef89fc9e1e40962fd282c53aaef422e9d11139efe51fa2c9c601d339e + checksum: 10c0/855475b6f87bf509f4f70c5e0bb27f2deda847eb2bca163899699d64d442cd8e0e1bc70f3b588f583400d56e1bee6afcc49a6bc9561a9fba447c09d3006aba48 languageName: node linkType: hard -"@ckeditor/ckeditor5-easy-image@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-easy-image@npm:43.1.1" +"@ckeditor/ckeditor5-easy-image@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-easy-image@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-upload": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/bd4c0be7e5587370c3b91bd9db40a8ca1f282432c70b8edd9347bb264a96dfa135b69a2c3cf55bf072b39b8f3e8a2632bf287a1a40bfc1e586ccc5e512a3794e + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-upload": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/8106f65d5c1eafaae916bc0002e2b4004b79c7caf817b2201018073f0c8054692b9c2e96623d5b5b28fd85dc45cabc1fbd96c0789c6c71732c339a46c6322bed languageName: node linkType: hard -"@ckeditor/ckeditor5-editor-balloon@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-editor-balloon@npm:43.1.1" +"@ckeditor/ckeditor5-editor-balloon@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-editor-balloon@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/a770fac3170dd710c2287cf8b3a3c7823d2036adbcee16f00e468e412a00883b4556c0e8316f92a00585ab00c579aa89c74f3062b986b321d92a0fc35b0a9d32 + checksum: 10c0/61e9feb90a9f867d72b03e2063757294a4f03ed086baea4b5a078117d8577f543620550f85c9ab5978a60f9d47c774a724dafd75f9b0b5f7854a1bd119e3d6b0 languageName: node linkType: hard -"@ckeditor/ckeditor5-editor-classic@npm:43.1.1, @ckeditor/ckeditor5-editor-classic@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-editor-classic@npm:43.1.1" +"@ckeditor/ckeditor5-editor-classic@npm:43.3.1, @ckeditor/ckeditor5-editor-classic@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-editor-classic@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/c90d79f5d02a5aac3321fe54df69fdf922c2ece0d9e96bfce4a22fc5d74226984bf9b90ecca6036bb95a6774eb5977a52dde8a4a31d0093325e06d9bb4fcf283 + checksum: 10c0/c2a838b2e9c5cbe1d6017ef5d24897da9686dbc40e1928931ed079cd588eb646e19e817b5125474ad57cfad86383a927adedba7fa0aef4a5d2faeb0e9d8e31df languageName: node linkType: hard -"@ckeditor/ckeditor5-editor-decoupled@npm:43.1.1, @ckeditor/ckeditor5-editor-decoupled@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-editor-decoupled@npm:43.1.1" +"@ckeditor/ckeditor5-editor-decoupled@npm:43.3.1, @ckeditor/ckeditor5-editor-decoupled@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-editor-decoupled@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/7e6b95dbc8761f8ee52ee1a74701086c7152ce1eca165ee87215571199fe6ad5f067b2611e409167e6a63835826785e9e4d85cb4c0f165532dc440c1caeb3c9c + checksum: 10c0/d35444f15fca682e7a7bed1a8ae9aa7d01b52f714ea292eae24c12fe704564f9d6d1752e295a2e9f8853a25124377abdd885a016d7438c91c1a2233d1aa12b21 languageName: node linkType: hard -"@ckeditor/ckeditor5-editor-inline@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-editor-inline@npm:43.1.1" +"@ckeditor/ckeditor5-editor-inline@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-editor-inline@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/eefe4ec8aa13f5301f79aef54b5a900f7cc9df7c860c65ad242f952ea26a6005e50331e49c6236fac23be0f4a0092c65f3e2058f798163dc78e23ac3d486b2aa + checksum: 10c0/e7ad3eaf2a6a120052824c817e803d34f6949eafe1f89989b1d679870b397491b521fefbf256ee1725e827eeb5f0238439937e42ffd95c1efed55cfec5e55da2 languageName: node linkType: hard -"@ckeditor/ckeditor5-editor-multi-root@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-editor-multi-root@npm:43.1.1" +"@ckeditor/ckeditor5-editor-multi-root@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-editor-multi-root@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/d577f68570e3c08a0c8eaac9a2cc60f3d236817c6e86bb9f15df23753cced4476da6973bd4834aa174e1168229d703c72a1e3082ee2ce640229f5c6ee8574ed5 + checksum: 10c0/4cec2d8c73bf706928e46a614e15757ad4967c6c24b0b91b9c0248257813d48c61aec6b6d9cf066c97f5b88ee3963c2b8256426a5c86d18be217b31f5bc03317 languageName: node linkType: hard -"@ckeditor/ckeditor5-engine@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-engine@npm:43.1.1" +"@ckeditor/ckeditor5-engine@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-engine@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-utils": "npm:43.1.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/afad165c632fb15c2fd0e8bc1f3b6cf2aaf4e218e5fdd3faa8f451d9b2b69a755dd43691eaebbd81ef7513161be5afb06941068cb576232800f76aae5ff4ade5 + checksum: 10c0/8a0345731e5246ca6fe57cca31828c6ba88ee7e1e81394bbf690d85f0255a986ed4ac917630b3a0886214c2237c88fdf6941c186657db95c219d21a6c939e5e5 languageName: node linkType: hard -"@ckeditor/ckeditor5-enter@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-enter@npm:43.1.1" +"@ckeditor/ckeditor5-enter@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-enter@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - checksum: 10c0/f9da843590328837881cd572560bb6ed8f3f7c879d864c0ddcf173767b331ad8b6572c120d6c01e423518d7887f41f16391040fa26e4c9b1cde4613960a1e90f + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + checksum: 10c0/eee1b8b161debd8343207b371e1d50ed087605adec47c0f74c89b0c4bf4f58618490dc09038a8cdbec13319f28f5ea23c3e1fad2d11e5ce8dff9fb3025326d38 languageName: node linkType: hard -"@ckeditor/ckeditor5-essentials@npm:43.1.1, @ckeditor/ckeditor5-essentials@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-essentials@npm:43.1.1" +"@ckeditor/ckeditor5-essentials@npm:43.3.1, @ckeditor/ckeditor5-essentials@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-essentials@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-select-all": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-undo": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/eaa32b74e19acd9b121cc16798cd4bfeaaed18364b7c6d2ff85081967859db4a777e510ccffef62e47cea21755805fcc73fb43ecda6a4082e775f3c89442ae62 + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-select-all": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-undo": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/1bebd366aaf1508c4ca367a8cb8dbf8aefa954f02dfb685f5573c9117a01a581bbc2ed6c5bce989e5a8aabf34ca7d5a5ef629ed02b162f9e3a563623948f489b languageName: node linkType: hard -"@ckeditor/ckeditor5-find-and-replace@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-find-and-replace@npm:43.1.1" +"@ckeditor/ckeditor5-find-and-replace@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-find-and-replace@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/d1134ec8d1de935f8d0108985c5cc09452b4c2c71611734cd908db9ff9c4e155a7a8b232a6b3bb54376025161695fdda88b4781d7e3c0ecadc8a0b2d24cd5ffa + checksum: 10c0/39c6910dd579e2b6af8e25b7c859ec673329442e7a95ef28056665ab136f703139021be33b8ae84ec3518637f1d8632f604bc28de38a09272a1a21fc93f45c06 languageName: node linkType: hard -"@ckeditor/ckeditor5-font@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-font@npm:43.1.1" +"@ckeditor/ckeditor5-font@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-font@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/dd8dbfdf675673e57ec1880257fa2fdbe0e5442040c3b953d37d7ce380fe220da3cecee769048faa5021d43c3e68e6d29b35c650d47c4ec51e22f6613793cce7 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/cceefbcd6d225cc7d3cc7315605967533531ac34375f683e4391a4ce662bff1d22781f07b3ed98dcf6d014ee001e23ffcca618adfbb39fa0bbeb41626b387658 languageName: node linkType: hard -"@ckeditor/ckeditor5-heading@npm:43.1.1, @ckeditor/ckeditor5-heading@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-heading@npm:43.1.1" +"@ckeditor/ckeditor5-heading@npm:43.3.1, @ckeditor/ckeditor5-heading@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-heading@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-paragraph": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/67a7061a7aae1f6ebeb0d98a6591cb8aeae92fb9b9a1dc68bb889f66b035ee8c81da9279def94a9b0391ebf18a778e1a35c7bd87f734d9f4c090dce80d79fcb6 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-paragraph": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/b3f8d5e371f6a58f8b79d8e94aba24437816b53f27062a710c0901c7de8bd638925390be4c5926617f7ddd8f68563df3358c77c36e91487135f21cee9cd84e10 languageName: node linkType: hard -"@ckeditor/ckeditor5-highlight@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-highlight@npm:43.1.1" +"@ckeditor/ckeditor5-highlight@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-highlight@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/ad91b573e1607f3fb2e5b7d3f20b2025c4308392b47d00af5093b8fc857dfcc1666846e76ac2fed0c58e4b317fc12d13d700ada082aff0e96d2833bd32cda64e + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/fcc191f3a4c6ac1fba6300653fda88eb787a8f9a80c7cdaa72c4757be2217a435547b538f79bf5a1c5a69e53e5fbaa88150cddc983a34fd89ff64560abe16482 languageName: node linkType: hard -"@ckeditor/ckeditor5-horizontal-line@npm:43.1.1, @ckeditor/ckeditor5-horizontal-line@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-horizontal-line@npm:43.1.1" +"@ckeditor/ckeditor5-horizontal-line@npm:43.3.1, @ckeditor/ckeditor5-horizontal-line@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-horizontal-line@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/98cddcacb2e5216ea4c7961af6fca1c2c2702f71ffc173951a007dd182ca3234186a9eabcc8bab996cd3f307c3d78001002c1a28767b3acb23d773230692ced7 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/d97f8de7b486a014205f10f9261151371641f2871451938b8896f8b9bcc179e3ea7670a8c5864d540c63c60877071dc8be908031dfef1a14f1e10d94fd742d5e languageName: node linkType: hard -"@ckeditor/ckeditor5-html-embed@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-html-embed@npm:43.1.1" +"@ckeditor/ckeditor5-html-embed@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-html-embed@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/9c219b802db733053d2b093c02cc943ab4e04379e9bfe000fb8379abbe3362ce12252980bf5446183267f870046ca2bedd5dcf11fe1f9474e9a3f22899880314 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/6e500274a9cefe2f602e60b1bc5180b50e05bc292f7256d1e054debb96fc674d085df5d41f5fb52211f8ba209a46d35529906c8e2d5fd73bcae054ff9d10f6cc languageName: node linkType: hard -"@ckeditor/ckeditor5-html-support@npm:43.1.1, @ckeditor/ckeditor5-html-support@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-html-support@npm:43.1.1" +"@ckeditor/ckeditor5-html-support@npm:43.3.1, @ckeditor/ckeditor5-html-support@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-html-support@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/77db5eaf4f9c2c56100edd411e8d7bfd71bf9deef026729ca1855a9171a90e35bed3d25ea0f0a19545082777661dc71ddec62c518550a162444a3442786f8429 + checksum: 10c0/76a448314ae1da9f9a3e16cd53b71c15da1d442f40b768958037b79e77cf2833c52816ba45853e5071d0b5f84fe568a3b584b90ff4ce3c4ed7e26fb5aef26c0d languageName: node linkType: hard -"@ckeditor/ckeditor5-image@npm:43.1.1, @ckeditor/ckeditor5-image@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-image@npm:43.1.1" +"@ckeditor/ckeditor5-image@npm:43.3.1, @ckeditor/ckeditor5-image@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-image@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-undo": "npm:43.1.1" - "@ckeditor/ckeditor5-upload": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-undo": "npm:43.3.1" + "@ckeditor/ckeditor5-upload": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/e3986f07d224aede6435cf271cc911178975be6cebd89cc9f63ce6911e6ce02c8e4638a9db032586d6446053030d12cd0a6649352cb3cbc8233a9c6f605147bb + checksum: 10c0/caf55cec68665a844a81d3bc0a6863baa71e68cecc6bebea1398f5d3046d173485789802c200c6df75b2eb1f16c3f0b4f507150d8329f3c465946486e18e9565 languageName: node linkType: hard -"@ckeditor/ckeditor5-indent@npm:43.1.1, @ckeditor/ckeditor5-indent@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-indent@npm:43.1.1" +"@ckeditor/ckeditor5-indent@npm:43.3.1, @ckeditor/ckeditor5-indent@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-indent@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/cc546a109a4b9c72af4b79b098c998d3bcf0460bdcd21b52070391a13ae1ae4e734a9820cc03e2ee1ad46265b1bcea53ecd331ed7b4406f74020eab81c2ec5fb + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/cc32569f722777341d4e88e2eca2800aa0c9a2d0b1b25d263e3246f7abea66566570c3110747b4f1ce8d7ff8b3c856b7e2e1074fe87268dd6c431b1933c367ee languageName: node linkType: hard -"@ckeditor/ckeditor5-language@npm:43.1.1, @ckeditor/ckeditor5-language@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-language@npm:43.1.1" +"@ckeditor/ckeditor5-language@npm:43.3.1, @ckeditor/ckeditor5-language@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-language@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/27fff198ce92d0e4dcafe7afb91c55069c6b213468f73dc329d6118744d6202d89afe208d3229eec236ce5afd5573011aff3bf87723c94a6abfeeb47bf87fc6c + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/16d861af704bb98f430b69dab718d060dcc3de0c3dcea1a0cffda8bac3d8d639a4412302852c6d929407e0c10a0c7897759cb2332b14e7e4a3d33fd74041361a languageName: node linkType: hard -"@ckeditor/ckeditor5-link@npm:43.1.1, @ckeditor/ckeditor5-link@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-link@npm:43.1.1" +"@ckeditor/ckeditor5-link@npm:43.3.1, @ckeditor/ckeditor5-link@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-link@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/dea2c8a95433097e12ac2ae99c6d21949a28df5e8363247ae11a0770f880ca86f8b8396d28d30e774e353251cf3bd3864a61766c6fc14b30eb09f1a2fe04b33e + checksum: 10c0/55776b7dfb456a8c3d7b5d62f324771396fe475026e185fe1d546ecdac8d4906db43b00f8a1e9292f31fc730b39c5c2252ff613b55417057a3f5b1f0c442301a languageName: node linkType: hard -"@ckeditor/ckeditor5-list@npm:43.1.1, @ckeditor/ckeditor5-list@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-list@npm:43.1.1" +"@ckeditor/ckeditor5-list@npm:43.3.1, @ckeditor/ckeditor5-list@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-list@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/5b3e4d9963b91b8abde4d0112d7d6bd625291990e1b97e3285da3d87705c9148edbc0027d6cab9096453c51b20479602965e225377dcab391278d1d97c465a02 + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/06fe5ca9c4e4c8d170660e3c904780475084faeae7d637e6608156752f5631b36a8958d3e6d1e6891041768851d1a77a15997100d80b0ceee7078cf40e7fb3d3 languageName: node linkType: hard -"@ckeditor/ckeditor5-markdown-gfm@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-markdown-gfm@npm:43.1.1" +"@ckeditor/ckeditor5-markdown-gfm@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-markdown-gfm@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + ckeditor5: "npm:43.3.1" marked: "npm:4.0.12" turndown: "npm:7.2.0" turndown-plugin-gfm: "npm:1.0.2" - checksum: 10c0/a781de4820d84d282a209767d832ec0dfaae7ee1beb0eab77ef3c9868f11b627fb9abc2bb858c33bf59950225381ceab7f5767290301cc5097117562a1ac8a91 + checksum: 10c0/2251b0900958016ea98e1903fa7955ef867f18383fe6f9dcd9e291a7bc12fc1faf626381939165033b44700eec9b2e6cbda67cc3616ec0d74f19240f33ac5ecb languageName: node linkType: hard -"@ckeditor/ckeditor5-media-embed@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-media-embed@npm:43.1.1" +"@ckeditor/ckeditor5-media-embed@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-media-embed@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-undo": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/36aeba1bb71a476b2de39829240ce4631cd9eebe60e928f25146cc79222b96b56a326123dd37becbb9c6d06b8d003acd563366801f533135af91d12c73c172f6 + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-undo": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/7b72cb64c2ea4907d54c8ba18656f6d8a34e78a5f868f408ee36a48e16853a84148b6b392b536163e8fedb22a1a5ccf94a77165037fa4d3e5d5fe45bbc8e8cdf languageName: node linkType: hard -"@ckeditor/ckeditor5-mention@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-mention@npm:43.1.1" +"@ckeditor/ckeditor5-mention@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-mention@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/29a9096d1bc2368fcbeaf9f3a647338776eae3aaa876da74932d3ef5b0ead9916fc4e1773578525c317a9385a2fd2ba500bb384277d4b7fea4d8b664097c4715 + checksum: 10c0/279b857e542baab8254b72ed51459fa1656eba7d890c98be527f3c4fa59fc7fab57fbe2578ab32d2cc4d116c9448f79634d39e3b138210cad3fa0d74371e6a6e languageName: node linkType: hard -"@ckeditor/ckeditor5-minimap@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-minimap@npm:43.1.1" +"@ckeditor/ckeditor5-minimap@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-minimap@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/9d9409e1f9023ccc4e1595b86c29c02786075ffd13556a2bce81cf8119be766f375aa22b0d135e63f6ec2453ade51eddc88c7295cef96a740805fa9669e66ec2 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/975c6ae048e8e844cf99cdc9d5dd2f7d21ef7cecd281a66eb34c5fefae49e567e8ee58c9efcc2e69899d15702b8f2cb3eee97006bc0f284a1d63ef8b63fe60b3 languageName: node linkType: hard -"@ckeditor/ckeditor5-page-break@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-page-break@npm:43.1.1" +"@ckeditor/ckeditor5-page-break@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-page-break@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/7d1ee8f2526c87155527b92b7ded6bbe3548be615bec1b8db10fa859ba0db1b8d0b0eee9ccc49bf35f24d6ec21e0041ce8172feee6c102be758d545d3c0a3391 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/0084bc158060e8dac01876887f8b216f0da12234198e3f602360dd35aa1bbe808b7df0ed0a4b87c8d9d3b31c1e97f4e311b580c293ea907720dd050d7079b31b languageName: node linkType: hard -"@ckeditor/ckeditor5-paragraph@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-paragraph@npm:43.1.1" +"@ckeditor/ckeditor5-paragraph@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-paragraph@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - checksum: 10c0/b22b7d8393eac7764cb71f5f1642f684c8591b6f737fac98dd811906a12753b6e4a9a97c86990709a09b492d05e02529718ea6009361f991879d340069d7fd18 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + checksum: 10c0/ff33b4874a42a249058ae470d95bec03cd5b309beed37262ee75b04dbed3dde5ec50e7a2a125b39bc732639ca7403e9e0bc4481c9caece0c45b78e10fd04bc8b languageName: node linkType: hard -"@ckeditor/ckeditor5-paste-from-office@npm:43.1.1, @ckeditor/ckeditor5-paste-from-office@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-paste-from-office@npm:43.1.1" +"@ckeditor/ckeditor5-paste-from-office@npm:43.3.1, @ckeditor/ckeditor5-paste-from-office@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-paste-from-office@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/166ac0a722c35cd9955d9ef7c32a0a07ff9e2665a9e8c58ba22fc725c6a358b4bde7a7db74934ef27fd34b1b4679ff1c42480ef83e6bab08287106f4426c965b + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/02760c230c2d0be119978fa7af35918034aef2797d382f63ea17596bb306c01c986a550a981b4e3f9e025892bf64157b426d2527e31552a5012c5127ad9cc0ac languageName: node linkType: hard -"@ckeditor/ckeditor5-remove-format@npm:43.1.1, @ckeditor/ckeditor5-remove-format@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-remove-format@npm:43.1.1" +"@ckeditor/ckeditor5-remove-format@npm:43.3.1, @ckeditor/ckeditor5-remove-format@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-remove-format@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/9c95b791c989582d20989591911869c6ed96951f3c2958c6e13e2445547f863297d29109e0b1ea8379b3e68e942122de84a2beafd9980c59a021e8f534fb4f74 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/c55d8096a4622f4025975f287861a7ce61cb9f2e51436ddc2189f8ddb8afbcf9d352d723e198388d775921c7d2b45a375963344ae7f664c2962cc4b2e5206264 languageName: node linkType: hard -"@ckeditor/ckeditor5-restricted-editing@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-restricted-editing@npm:43.1.1" +"@ckeditor/ckeditor5-restricted-editing@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-restricted-editing@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/d3bcc3812829fd329948c4cc7913e85d8d12faacbff8c815e43456b3acca46ba1d0432ca75fd5458d35925905e0927e263fbfc861827c357ae0fe2528c776e6f + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/0bf738cf1e9e5645cca157a2891b3d9563ce8fb6bbc0ff25c5e0fd2abca072625a4b153d1ea6473d94ce9dda908fce91e90880d37ba52b45acd2a214fcdfc42f languageName: node linkType: hard -"@ckeditor/ckeditor5-select-all@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-select-all@npm:43.1.1" +"@ckeditor/ckeditor5-select-all@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-select-all@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - checksum: 10c0/d372d95f146da2a1f2bdf55c33e185e99e103b9e5b2dda596e7c77f1db59290cdde7f45ba8c2b436a76615853f69ce417ee9cb2a1e9677436352d0173f18ccf8 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + checksum: 10c0/7db87beaf3b1a8033ddff6debbc5791025b3f3277bb6c77fea256f337a7f52d9a5c8ae0daa4f8fd6f7f23392b744430c8a8a5a884b1471a27184eac078c4f204 languageName: node linkType: hard -"@ckeditor/ckeditor5-show-blocks@npm:43.1.1, @ckeditor/ckeditor5-show-blocks@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-show-blocks@npm:43.1.1" +"@ckeditor/ckeditor5-show-blocks@npm:43.3.1, @ckeditor/ckeditor5-show-blocks@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-show-blocks@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/7a9bcdbb0e2324692bf1059eb25b3a3edbb27a245aaf42d7954f320139ff77e1ea49e9e06b47d849ef45ee52e6376b6e7d0c423d36192f346c941ca2ca0e05f2 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/6597295bf0ac45cc4675d5a084a249adcd32fa0303d71445e55080f864aa27db02eeedb71ff690e62e604fdfb221401726dfad2e57af4e73a1c0b19e5a2b2bcb languageName: node linkType: hard -"@ckeditor/ckeditor5-source-editing@npm:43.1.1, @ckeditor/ckeditor5-source-editing@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-source-editing@npm:43.1.1" +"@ckeditor/ckeditor5-source-editing@npm:43.3.1, @ckeditor/ckeditor5-source-editing@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-source-editing@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-theme-lark": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/9513bce4f3585937ad40c6c79bf97bc30939bfaaa84784589d3e4501b9fc2aae49f1c845a35e4479df08fbba4e3c35c44e003f64b65f7c3bc8ca7548b8827e43 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-theme-lark": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/4b6d8a64270d6e107ac68bf1bcb5ba1187893a7c984d3e1eef5b60f6dfbc403d9f17afe2bdb990b17dbac58b0eb7fc5aa4fac2aa7fdc889a7e841e8c5236572d languageName: node linkType: hard -"@ckeditor/ckeditor5-special-characters@npm:43.1.1, @ckeditor/ckeditor5-special-characters@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-special-characters@npm:43.1.1" +"@ckeditor/ckeditor5-special-characters@npm:43.3.1, @ckeditor/ckeditor5-special-characters@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-special-characters@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" - checksum: 10c0/2b6a22792eed3ca2b13677643b639e49bbb0be1887b5dbc24ad3e89eef966099f35a7ecd2d6cebb8024d5e3a9c15f26b72a0977268bb48ba1e2af03e556349e4 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" + checksum: 10c0/84959cdb8c26ea262669d59b32e84b383c9680e5c88d0781fd4812f024d3efa441b04c79f6de7293c092c567b85da5f35b4ddb8905667d0962b311d2a1f5de3b languageName: node linkType: hard -"@ckeditor/ckeditor5-style@npm:43.1.1, @ckeditor/ckeditor5-style@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-style@npm:43.1.1" +"@ckeditor/ckeditor5-style@npm:43.3.1, @ckeditor/ckeditor5-style@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-style@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/eeccb33433963eb947e3e14dad89ba28652e1b6ba26e3bc5a80d058b408a8a7fc4979cf5aa68dc2c2ada55d28612d77d77ae12d82bb5a21d235a7ff02c1bd812 + checksum: 10c0/082b48f000a01a1b1d246e7fb186b128f298e60d35c3212edbabe26aa8d8898e0d9146979918a207b2c38766475ae864a3aa3dd8af9dbecee6cb20b6a95805d0 languageName: node linkType: hard -"@ckeditor/ckeditor5-table@npm:43.1.1, @ckeditor/ckeditor5-table@npm:~43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-table@npm:43.1.1" +"@ckeditor/ckeditor5-table@npm:43.3.1, @ckeditor/ckeditor5-table@npm:~43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-table@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/104c3b37cccb051b7264526e63a767d3238ebcc000ecb9e117e8197c45da1fe7937e6476eb705db9ee74fc8089814d042c39d32bdd564c29234edf13e33a0f92 + checksum: 10c0/e1246c8299ed5bccdc033c5777caf3c68d0fb4490f95660355180a270b65d793a4275c720e5f932f68eaf454d296b59ebcbb978e1bc2c0c2066cbc59f26eb27a languageName: node linkType: hard -"@ckeditor/ckeditor5-theme-lark@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-theme-lark@npm:43.1.1" +"@ckeditor/ckeditor5-theme-lark@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-theme-lark@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - checksum: 10c0/c1e8cb23d7b591c5f695f34ace0e7bb3e00145419ca0a4f4e872a9139cf08e269823b986d4926ad1d01bdb2bfa26c1d6ec5e0fe49f4cc444ab7fa76a663f5a0f + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + checksum: 10c0/b6893ed05009e75c54f92e8d289a5bdf48e72ac2b838845c5205c123b53a9ebf654d54ca8b20925b8e6cc83db23167e1fd23733c4f3b09e132195d83300fbdd5 languageName: node linkType: hard -"@ckeditor/ckeditor5-typing@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-typing@npm:43.1.1" +"@ckeditor/ckeditor5-typing@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-typing@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/366b3463ac21a73aa947d2653ffc3bbbb8262300c06d037294308e1be6d53de7a7d626f5fcc45046a1652296c55c7e66cb1eadf069d2ac9acafe8e7302879b17 + checksum: 10c0/fa3a006b122019990fa9cc27ed0aff716cf1275096d419ebfd76e2162bbe9d8d5f872dca1d6f5be7c15e307c1daedc6672bf4815264295a310aa2ff83954ce69 languageName: node linkType: hard -"@ckeditor/ckeditor5-ui@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-ui@npm:43.1.1" +"@ckeditor/ckeditor5-ui@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-ui@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" color-convert: "npm:2.0.1" color-parse: "npm:1.4.2" lodash-es: "npm:4.17.21" vanilla-colorful: "npm:0.7.2" - checksum: 10c0/807ff85e45b9d6d4c392f14bc49c80035e4c432f16132dd71c32259ea0f4845898c35fd3c4f01e28b3c98c14c2e1b263539cb702cbf726c977aa8e30802ad2d5 + checksum: 10c0/57f7e0282465016274e959e7f5ea650f90735e8700db17c2786a6649e914c02ccb2dc6110a1a7d536045dc05362832450bd84416229db8f1793de0933cc6a4bf languageName: node linkType: hard -"@ckeditor/ckeditor5-undo@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-undo@npm:43.1.1" +"@ckeditor/ckeditor5-undo@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-undo@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - checksum: 10c0/99fbf891dcf5cf2286d2b987e8df7ecda153762d52d2d0feed0999cd5fab362e5c284393b1958883e18e91f1d09f6af3eb379c9636fb754beaec14a60e861e05 + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + checksum: 10c0/5b7c55e8af8776f54db3b5f3609b5e42885b7e987cc2a21cf6569113d2b7ebcf14bbe3b27996d42fd82e3cca9bbfb2fb4ce200bb52a9eb465a485c7a76209b17 languageName: node linkType: hard -"@ckeditor/ckeditor5-upload@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-upload@npm:43.1.1" +"@ckeditor/ckeditor5-upload@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-upload@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - checksum: 10c0/f8d61eb6a34efb7fbe6d95a913ce2ef33714b577409cec145ea6196967ceeb15958c08b650c038d5f3750511f803f24d4a95c41ed8ece7626af16cccf7f1aa5c + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + checksum: 10c0/6516db30406f20df1beee1aa9fd48dd678734e996dfb18541e0129f18e86e5a3c7f1d66abaa15f199880e5100cf8ced10e8a713d3606db7597be43ce6a048d70 languageName: node linkType: hard -"@ckeditor/ckeditor5-utils@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-utils@npm:43.1.1" +"@ckeditor/ckeditor5-utils@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-utils@npm:43.3.1" dependencies: + "@ckeditor/ckeditor5-ui": "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/af04d3752229e338e32304802dc98139f5eecc3c0e10e3777e798c753ad0b6d46aafde968512078189a49699c7ae8247c46b44883047f9b44f00780d58c76e17 + checksum: 10c0/51530358cd0be103442f9c250420af85c4700fdbe30c34b9eb72b5da58aaf76ec8e64f5acbff7e6867237bc504c93a139822ae028111d4807b2f16c03c55898d languageName: node linkType: hard -"@ckeditor/ckeditor5-watchdog@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-watchdog@npm:43.1.1" +"@ckeditor/ckeditor5-watchdog@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-watchdog@npm:43.3.1" dependencies: lodash-es: "npm:4.17.21" - checksum: 10c0/e936e13bffb5f7ca71b991a4a087b26d4b53b0a107779eafcaff6e9088fd22ca787e95364a82c7e2f637a3716c648c4f75eda155d69397f24274724a8c91ccfa + checksum: 10c0/668a3a024da24ee4be72cc499d573754af666bbfaf22cb4124d438e393c162e27a956e042abcde419b1e1f80a426ee8acc1fc6fdf30586516c61c20568547f53 languageName: node linkType: hard -"@ckeditor/ckeditor5-widget@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-widget@npm:43.1.1" +"@ckeditor/ckeditor5-widget@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-widget@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/c59988ef518ccb21d29ecd08968e43eb1a8b5da389611deda57040f89c1e7fb3075add49f0300afbd668b7df89ec9b93ac293243a17e8df16d3e7997576eb677 + checksum: 10c0/e1db2b4a3c2df560f807dd328494c6f7bb75be91887c5c48ed1290ffca3dc5a50e93b81d980c78af5ec8608287a92663279439bb46690a2dfd3f4c1ee21ba324 languageName: node linkType: hard -"@ckeditor/ckeditor5-word-count@npm:43.1.1": - version: 43.1.1 - resolution: "@ckeditor/ckeditor5-word-count@npm:43.1.1" +"@ckeditor/ckeditor5-word-count@npm:43.3.1": + version: 43.3.1 + resolution: "@ckeditor/ckeditor5-word-count@npm:43.3.1" dependencies: - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - ckeditor5: "npm:43.1.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + ckeditor5: "npm:43.3.1" lodash-es: "npm:4.17.21" - checksum: 10c0/2733638d884cfdaf3b56ecefef6bb58b1ab59d1634fcaa75e3eac422b67361f557b6d0f0bfca46f4fba52ca12cd675678235b7cc44d81a2197edf63364e5532e + checksum: 10c0/a0a0f3898d56411d69955c85c43039982dc62fae588c217e9174355aca87a7af99620601e75657d0e58164dcf5752413b46fa757bbb9e9d79fd85569137e7124 languageName: node linkType: hard @@ -2079,14 +2080,34 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^1.0.5": - version: 1.0.5 - resolution: "@types/estree@npm:1.0.5" - checksum: 10c0/b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d +"@types/eslint-scope@npm:^3.7.7": + version: 3.7.7 + resolution: "@types/eslint-scope@npm:3.7.7" + dependencies: + "@types/eslint": "npm:*" + "@types/estree": "npm:*" + checksum: 10c0/a0ecbdf2f03912679440550817ff77ef39a30fa8bfdacaf6372b88b1f931828aec392f52283240f0d648cf3055c5ddc564544a626bcf245f3d09fcb099ebe3cc languageName: node linkType: hard -"@types/json-schema@npm:^7.0.8": +"@types/eslint@npm:*": + version: 9.6.1 + resolution: "@types/eslint@npm:9.6.1" + dependencies: + "@types/estree": "npm:*" + "@types/json-schema": "npm:*" + checksum: 10c0/69ba24fee600d1e4c5abe0df086c1a4d798abf13792d8cfab912d76817fe1a894359a1518557d21237fbaf6eda93c5ab9309143dee4c59ef54336d1b3570420e + languageName: node + linkType: hard + +"@types/estree@npm:*, @types/estree@npm:^1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a + languageName: node + linkType: hard + +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.8": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -2351,34 +2372,34 @@ __metadata: version: 0.0.0-use.local resolution: "Drupal@workspace:." dependencies: - "@ckeditor/ckeditor5-alignment": "npm:~43.1.1" - "@ckeditor/ckeditor5-autoformat": "npm:~43.1.1" - "@ckeditor/ckeditor5-basic-styles": "npm:~43.1.1" - "@ckeditor/ckeditor5-block-quote": "npm:~43.1.1" - "@ckeditor/ckeditor5-code-block": "npm:~43.1.1" - "@ckeditor/ckeditor5-editor-classic": "npm:~43.1.1" - "@ckeditor/ckeditor5-editor-decoupled": "npm:~43.1.1" - "@ckeditor/ckeditor5-essentials": "npm:~43.1.1" - "@ckeditor/ckeditor5-heading": "npm:~43.1.1" - "@ckeditor/ckeditor5-horizontal-line": "npm:~43.1.1" - "@ckeditor/ckeditor5-html-support": "npm:~43.1.1" - "@ckeditor/ckeditor5-image": "npm:~43.1.1" - "@ckeditor/ckeditor5-indent": "npm:~43.1.1" - "@ckeditor/ckeditor5-language": "npm:~43.1.1" - "@ckeditor/ckeditor5-link": "npm:~43.1.1" - "@ckeditor/ckeditor5-list": "npm:~43.1.1" - "@ckeditor/ckeditor5-paste-from-office": "npm:~43.1.1" - "@ckeditor/ckeditor5-remove-format": "npm:~43.1.1" - "@ckeditor/ckeditor5-show-blocks": "npm:~43.1.1" - "@ckeditor/ckeditor5-source-editing": "npm:~43.1.1" - "@ckeditor/ckeditor5-special-characters": "npm:~43.1.1" - "@ckeditor/ckeditor5-style": "npm:~43.1.1" - "@ckeditor/ckeditor5-table": "npm:~43.1.1" + "@ckeditor/ckeditor5-alignment": "npm:~43.3.1" + "@ckeditor/ckeditor5-autoformat": "npm:~43.3.1" + "@ckeditor/ckeditor5-basic-styles": "npm:~43.3.1" + "@ckeditor/ckeditor5-block-quote": "npm:~43.3.1" + "@ckeditor/ckeditor5-code-block": "npm:~43.3.1" + "@ckeditor/ckeditor5-editor-classic": "npm:~43.3.1" + "@ckeditor/ckeditor5-editor-decoupled": "npm:~43.3.1" + "@ckeditor/ckeditor5-essentials": "npm:~43.3.1" + "@ckeditor/ckeditor5-heading": "npm:~43.3.1" + "@ckeditor/ckeditor5-horizontal-line": "npm:~43.3.1" + "@ckeditor/ckeditor5-html-support": "npm:~43.3.1" + "@ckeditor/ckeditor5-image": "npm:~43.3.1" + "@ckeditor/ckeditor5-indent": "npm:~43.3.1" + "@ckeditor/ckeditor5-language": "npm:~43.3.1" + "@ckeditor/ckeditor5-link": "npm:~43.3.1" + "@ckeditor/ckeditor5-list": "npm:~43.3.1" + "@ckeditor/ckeditor5-paste-from-office": "npm:~43.3.1" + "@ckeditor/ckeditor5-remove-format": "npm:~43.3.1" + "@ckeditor/ckeditor5-show-blocks": "npm:~43.3.1" + "@ckeditor/ckeditor5-source-editing": "npm:~43.3.1" + "@ckeditor/ckeditor5-special-characters": "npm:~43.3.1" + "@ckeditor/ckeditor5-style": "npm:~43.3.1" + "@ckeditor/ckeditor5-table": "npm:~43.3.1" "@drupal/once": "npm:^1.0.1" "@floating-ui/dom": "npm:^1.6.8" backbone: "npm:^1.6.0" chokidar: "npm:^3.6.0" - ckeditor5: "npm:~43.1.1" + ckeditor5: "npm:~43.3.1" cspell: "npm:^8.13.0" dotenv: "npm:^16.4.5" dotenv-safe: "npm:^9.1.0" @@ -2420,7 +2441,7 @@ __metadata: transliteration: "npm:^2.3.5" tua-body-scroll-lock: "npm:^1.5.0" underscore: "npm:~1.13.7" - webpack: "npm:^5.95.0" + webpack: "npm:^5.96.1" webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -2432,15 +2453,6 @@ __metadata: languageName: node linkType: hard -"acorn-import-attributes@npm:^1.9.5": - version: 1.9.5 - resolution: "acorn-import-attributes@npm:1.9.5" - peerDependencies: - acorn: ^8 - checksum: 10c0/5926eaaead2326d5a86f322ff1b617b0f698aa61dc719a5baa0e9d955c9885cc71febac3fb5bacff71bbf2c4f9c12db2056883c68c53eb962c048b952e1e013d - languageName: node - linkType: hard - "acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" @@ -2450,7 +2462,16 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.14.0": + version: 8.14.0 + resolution: "acorn@npm:8.14.0" + bin: + acorn: bin/acorn + checksum: 10c0/6d4ee461a7734b2f48836ee0fbb752903606e576cc100eb49340295129ca0b452f3ba91ddd4424a1d4406a98adfb2ebb6bd0ff4c49d7a0930c10e462719bbfd7 + languageName: node + linkType: hard + +"acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.11.2 resolution: "acorn@npm:8.11.2" bin: @@ -2925,20 +2946,6 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.21.10": - version: 4.22.2 - resolution: "browserslist@npm:4.22.2" - dependencies: - caniuse-lite: "npm:^1.0.30001565" - electron-to-chromium: "npm:^1.4.601" - node-releases: "npm:^2.0.14" - update-browserslist-db: "npm:^1.0.13" - bin: - browserslist: cli.js - checksum: 10c0/2a331aab90503130043ca41dd5d281fa1e89d5e076d07a2d75e76bf4d693bd56e73d5abcd8c4f39119da6328d450578c216cf1cd5c99b82d8a90a2ae6271b465 - languageName: node - linkType: hard - "browserslist@npm:^4.23.0": version: 4.23.0 resolution: "browserslist@npm:4.23.0" @@ -2967,6 +2974,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.24.0": + version: 4.24.2 + resolution: "browserslist@npm:4.24.2" + dependencies: + caniuse-lite: "npm:^1.0.30001669" + electron-to-chromium: "npm:^1.5.41" + node-releases: "npm:^2.0.18" + update-browserslist-db: "npm:^1.1.1" + bin: + browserslist: cli.js + checksum: 10c0/d747c9fb65ed7b4f1abcae4959405707ed9a7b835639f8a9ba0da2911995a6ab9b0648fd05baf2a4d4e3cf7f9fdbad56d3753f91881e365992c1d49c8d88ff7a + languageName: node + linkType: hard + "buffer-crc32@npm:^0.2.1, buffer-crc32@npm:^0.2.13": version: 0.2.13 resolution: "buffer-crc32@npm:0.2.13" @@ -3061,13 +3082,6 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001565": - version: 1.0.30001568 - resolution: "caniuse-lite@npm:1.0.30001568" - checksum: 10c0/13f01e5a2481134bd61cf565ce9fecbd8e107902927a0dcf534230a92191a81f1715792170f5f39719c767c3a96aa6df9917a8d5601f15bbd5e4041a8cfecc99 - languageName: node - linkType: hard - "caniuse-lite@npm:^1.0.30001587, caniuse-lite@npm:^1.0.30001599": version: 1.0.30001617 resolution: "caniuse-lite@npm:1.0.30001617" @@ -3082,6 +3096,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001669": + version: 1.0.30001680 + resolution: "caniuse-lite@npm:1.0.30001680" + checksum: 10c0/11a4e7f6f5d5f965cfd4b7dc4aef34e12a26e99647f02b5ac9fd7f7670845473b95ada416a785473237e4b1b67281f7b043c8736c85b77097f6b697e8950b15f + languageName: node + linkType: hard + "chai-nightwatch@npm:^0.5.3": version: 0.5.3 resolution: "chai-nightwatch@npm:0.5.3" @@ -3194,68 +3215,68 @@ __metadata: languageName: node linkType: hard -"ckeditor5@npm:43.1.1, ckeditor5@npm:~43.1.1": - version: 43.1.1 - resolution: "ckeditor5@npm:43.1.1" - dependencies: - "@ckeditor/ckeditor5-adapter-ckfinder": "npm:43.1.1" - "@ckeditor/ckeditor5-alignment": "npm:43.1.1" - "@ckeditor/ckeditor5-autoformat": "npm:43.1.1" - "@ckeditor/ckeditor5-autosave": "npm:43.1.1" - "@ckeditor/ckeditor5-basic-styles": "npm:43.1.1" - "@ckeditor/ckeditor5-block-quote": "npm:43.1.1" - "@ckeditor/ckeditor5-ckbox": "npm:43.1.1" - "@ckeditor/ckeditor5-ckfinder": "npm:43.1.1" - "@ckeditor/ckeditor5-clipboard": "npm:43.1.1" - "@ckeditor/ckeditor5-cloud-services": "npm:43.1.1" - "@ckeditor/ckeditor5-code-block": "npm:43.1.1" - "@ckeditor/ckeditor5-core": "npm:43.1.1" - "@ckeditor/ckeditor5-easy-image": "npm:43.1.1" - "@ckeditor/ckeditor5-editor-balloon": "npm:43.1.1" - "@ckeditor/ckeditor5-editor-classic": "npm:43.1.1" - "@ckeditor/ckeditor5-editor-decoupled": "npm:43.1.1" - "@ckeditor/ckeditor5-editor-inline": "npm:43.1.1" - "@ckeditor/ckeditor5-editor-multi-root": "npm:43.1.1" - "@ckeditor/ckeditor5-engine": "npm:43.1.1" - "@ckeditor/ckeditor5-enter": "npm:43.1.1" - "@ckeditor/ckeditor5-essentials": "npm:43.1.1" - "@ckeditor/ckeditor5-find-and-replace": "npm:43.1.1" - "@ckeditor/ckeditor5-font": "npm:43.1.1" - "@ckeditor/ckeditor5-heading": "npm:43.1.1" - "@ckeditor/ckeditor5-highlight": "npm:43.1.1" - "@ckeditor/ckeditor5-horizontal-line": "npm:43.1.1" - "@ckeditor/ckeditor5-html-embed": "npm:43.1.1" - "@ckeditor/ckeditor5-html-support": "npm:43.1.1" - "@ckeditor/ckeditor5-image": "npm:43.1.1" - "@ckeditor/ckeditor5-indent": "npm:43.1.1" - "@ckeditor/ckeditor5-language": "npm:43.1.1" - "@ckeditor/ckeditor5-link": "npm:43.1.1" - "@ckeditor/ckeditor5-list": "npm:43.1.1" - "@ckeditor/ckeditor5-markdown-gfm": "npm:43.1.1" - "@ckeditor/ckeditor5-media-embed": "npm:43.1.1" - "@ckeditor/ckeditor5-mention": "npm:43.1.1" - "@ckeditor/ckeditor5-minimap": "npm:43.1.1" - "@ckeditor/ckeditor5-page-break": "npm:43.1.1" - "@ckeditor/ckeditor5-paragraph": "npm:43.1.1" - "@ckeditor/ckeditor5-paste-from-office": "npm:43.1.1" - "@ckeditor/ckeditor5-remove-format": "npm:43.1.1" - "@ckeditor/ckeditor5-restricted-editing": "npm:43.1.1" - "@ckeditor/ckeditor5-select-all": "npm:43.1.1" - "@ckeditor/ckeditor5-show-blocks": "npm:43.1.1" - "@ckeditor/ckeditor5-source-editing": "npm:43.1.1" - "@ckeditor/ckeditor5-special-characters": "npm:43.1.1" - "@ckeditor/ckeditor5-style": "npm:43.1.1" - "@ckeditor/ckeditor5-table": "npm:43.1.1" - "@ckeditor/ckeditor5-theme-lark": "npm:43.1.1" - "@ckeditor/ckeditor5-typing": "npm:43.1.1" - "@ckeditor/ckeditor5-ui": "npm:43.1.1" - "@ckeditor/ckeditor5-undo": "npm:43.1.1" - "@ckeditor/ckeditor5-upload": "npm:43.1.1" - "@ckeditor/ckeditor5-utils": "npm:43.1.1" - "@ckeditor/ckeditor5-watchdog": "npm:43.1.1" - "@ckeditor/ckeditor5-widget": "npm:43.1.1" - "@ckeditor/ckeditor5-word-count": "npm:43.1.1" - checksum: 10c0/5e792216f8e55e2bd5318cfac67e312c4b4ee40b22fe351f61dbf18219527f781f6bd8a6c2df64c97f4231068b93a8d304ab1da68be2a0fb2ccfa725844a4181 +"ckeditor5@npm:43.3.1, ckeditor5@npm:~43.3.1": + version: 43.3.1 + resolution: "ckeditor5@npm:43.3.1" + dependencies: + "@ckeditor/ckeditor5-adapter-ckfinder": "npm:43.3.1" + "@ckeditor/ckeditor5-alignment": "npm:43.3.1" + "@ckeditor/ckeditor5-autoformat": "npm:43.3.1" + "@ckeditor/ckeditor5-autosave": "npm:43.3.1" + "@ckeditor/ckeditor5-basic-styles": "npm:43.3.1" + "@ckeditor/ckeditor5-block-quote": "npm:43.3.1" + "@ckeditor/ckeditor5-ckbox": "npm:43.3.1" + "@ckeditor/ckeditor5-ckfinder": "npm:43.3.1" + "@ckeditor/ckeditor5-clipboard": "npm:43.3.1" + "@ckeditor/ckeditor5-cloud-services": "npm:43.3.1" + "@ckeditor/ckeditor5-code-block": "npm:43.3.1" + "@ckeditor/ckeditor5-core": "npm:43.3.1" + "@ckeditor/ckeditor5-easy-image": "npm:43.3.1" + "@ckeditor/ckeditor5-editor-balloon": "npm:43.3.1" + "@ckeditor/ckeditor5-editor-classic": "npm:43.3.1" + "@ckeditor/ckeditor5-editor-decoupled": "npm:43.3.1" + "@ckeditor/ckeditor5-editor-inline": "npm:43.3.1" + "@ckeditor/ckeditor5-editor-multi-root": "npm:43.3.1" + "@ckeditor/ckeditor5-engine": "npm:43.3.1" + "@ckeditor/ckeditor5-enter": "npm:43.3.1" + "@ckeditor/ckeditor5-essentials": "npm:43.3.1" + "@ckeditor/ckeditor5-find-and-replace": "npm:43.3.1" + "@ckeditor/ckeditor5-font": "npm:43.3.1" + "@ckeditor/ckeditor5-heading": "npm:43.3.1" + "@ckeditor/ckeditor5-highlight": "npm:43.3.1" + "@ckeditor/ckeditor5-horizontal-line": "npm:43.3.1" + "@ckeditor/ckeditor5-html-embed": "npm:43.3.1" + "@ckeditor/ckeditor5-html-support": "npm:43.3.1" + "@ckeditor/ckeditor5-image": "npm:43.3.1" + "@ckeditor/ckeditor5-indent": "npm:43.3.1" + "@ckeditor/ckeditor5-language": "npm:43.3.1" + "@ckeditor/ckeditor5-link": "npm:43.3.1" + "@ckeditor/ckeditor5-list": "npm:43.3.1" + "@ckeditor/ckeditor5-markdown-gfm": "npm:43.3.1" + "@ckeditor/ckeditor5-media-embed": "npm:43.3.1" + "@ckeditor/ckeditor5-mention": "npm:43.3.1" + "@ckeditor/ckeditor5-minimap": "npm:43.3.1" + "@ckeditor/ckeditor5-page-break": "npm:43.3.1" + "@ckeditor/ckeditor5-paragraph": "npm:43.3.1" + "@ckeditor/ckeditor5-paste-from-office": "npm:43.3.1" + "@ckeditor/ckeditor5-remove-format": "npm:43.3.1" + "@ckeditor/ckeditor5-restricted-editing": "npm:43.3.1" + "@ckeditor/ckeditor5-select-all": "npm:43.3.1" + "@ckeditor/ckeditor5-show-blocks": "npm:43.3.1" + "@ckeditor/ckeditor5-source-editing": "npm:43.3.1" + "@ckeditor/ckeditor5-special-characters": "npm:43.3.1" + "@ckeditor/ckeditor5-style": "npm:43.3.1" + "@ckeditor/ckeditor5-table": "npm:43.3.1" + "@ckeditor/ckeditor5-theme-lark": "npm:43.3.1" + "@ckeditor/ckeditor5-typing": "npm:43.3.1" + "@ckeditor/ckeditor5-ui": "npm:43.3.1" + "@ckeditor/ckeditor5-undo": "npm:43.3.1" + "@ckeditor/ckeditor5-upload": "npm:43.3.1" + "@ckeditor/ckeditor5-utils": "npm:43.3.1" + "@ckeditor/ckeditor5-watchdog": "npm:43.3.1" + "@ckeditor/ckeditor5-widget": "npm:43.3.1" + "@ckeditor/ckeditor5-word-count": "npm:43.3.1" + checksum: 10c0/5280473377d7dcbffcf066f9519b0288e3ce85c5e6108e6fe8dbc0ba503bf91abcea47e9ccd76efa59a1020e7430c65905bab3eb3f3a86132b6626886de6eada languageName: node linkType: hard @@ -4009,13 +4030,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.601": - version: 1.4.611 - resolution: "electron-to-chromium@npm:1.4.611" - checksum: 10c0/597dcb3f0e73fa6218aab48a2622fc8a5b692d8d72303fe57ac318ae2714b89272567b8b3634245a755ca7afc47d7c8cd3bb53a9b48507aa7d4a17ab20951716 - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.4.668": version: 1.4.762 resolution: "electron-to-chromium@npm:1.4.762" @@ -4030,6 +4044,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.5.41": + version: 1.5.58 + resolution: "electron-to-chromium@npm:1.5.58" + checksum: 10c0/a3f5544ef12a84a7046b297195d19937f396683be8f245e1569cb9a877afd59f3630c8de9bb07f57aee1e6cda564c1a80c7d0b2fd28effb70db1558ca4669996 + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -4257,6 +4278,13 @@ __metadata: languageName: node linkType: hard +"escalade@npm:^3.2.0": + version: 3.2.0 + resolution: "escalade@npm:3.2.0" + checksum: 10c0/ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65 + languageName: node + linkType: hard + "escape-string-regexp@npm:4.0.0, escape-string-regexp@npm:^4.0.0": version: 4.0.0 resolution: "escape-string-regexp@npm:4.0.0" @@ -6731,6 +6759,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.18": + version: 2.0.18 + resolution: "node-releases@npm:2.0.18" + checksum: 10c0/786ac9db9d7226339e1dc84bbb42007cb054a346bd9257e6aa154d294f01bc6a6cddb1348fa099f079be6580acbb470e3c048effd5f719325abd0179e566fd27 + languageName: node + linkType: hard + "nopt@npm:^7.0.0": version: 7.2.0 resolution: "nopt@npm:7.2.0" @@ -7104,6 +7139,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.1.0": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -9057,6 +9099,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.1.1": + version: 1.1.1 + resolution: "update-browserslist-db@npm:1.1.1" + dependencies: + escalade: "npm:^3.2.0" + picocolors: "npm:^1.1.0" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 10c0/536a2979adda2b4be81b07e311bd2f3ad5e978690987956bc5f514130ad50cac87cd22c710b686d79731e00fbee8ef43efe5fcd72baa241045209195d43dcc80 + languageName: node + linkType: hard + "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -9208,17 +9264,17 @@ __metadata: languageName: node linkType: hard -"webpack@npm:^5.95.0": - version: 5.95.0 - resolution: "webpack@npm:5.95.0" +"webpack@npm:^5.96.1": + version: 5.96.1 + resolution: "webpack@npm:5.96.1" dependencies: - "@types/estree": "npm:^1.0.5" + "@types/eslint-scope": "npm:^3.7.7" + "@types/estree": "npm:^1.0.6" "@webassemblyjs/ast": "npm:^1.12.1" "@webassemblyjs/wasm-edit": "npm:^1.12.1" "@webassemblyjs/wasm-parser": "npm:^1.12.1" - acorn: "npm:^8.7.1" - acorn-import-attributes: "npm:^1.9.5" - browserslist: "npm:^4.21.10" + acorn: "npm:^8.14.0" + browserslist: "npm:^4.24.0" chrome-trace-event: "npm:^1.0.2" enhanced-resolve: "npm:^5.17.1" es-module-lexer: "npm:^1.2.1" @@ -9240,7 +9296,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 10c0/b9e6d0f8ebcbf0632494ac0b90fe4acb8f4a9b83f7ace4a67a15545a36fe58599c912ab58e625e1bf58ab3b0916c75fe99da6196d412ee0cab0b5065edd84238 + checksum: 10c0/ae6052fde9a546f79f14987b65823ba4024c6642a8489339ecfee7a351dff93325842aad453295bbdc6b65fb1690e4ef07529db63aa84ece55c7869e991a0039 languageName: node linkType: hard