Upgrade to CKEditor5 v38.1.1
authorAlexander Ebert <ebert@woltlab.com>
Wed, 26 Jul 2023 12:25:16 +0000 (14:25 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 26 Jul 2023 12:25:16 +0000 (14:25 +0200)
67 files changed:
ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts
wcfsetup/install/files/js/3rdParty/ckeditor/ckeditor5.bundle.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ar.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ast.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/az.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/bg.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/bn.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/bs.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ca.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/cs.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/da.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/de-ch.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/de.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/el.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/en-au.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/en-gb.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/eo.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/es.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/et.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/eu.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/fa.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/fi.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/fr.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/gl.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/he.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/hi.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/hr.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/hu.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/id.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/it.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ja.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/jv.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/km.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/kn.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ko.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ku.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/lt.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/lv.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ms.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/nb.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ne.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/nl.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/no.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/pl.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/pt-br.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/pt.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ro.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ru.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/sk.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/sl.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/sq.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/sr-latn.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/sr.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/sv.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/th.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/tk.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/tr.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/tt.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ug.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/uk.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/ur.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/uz.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/vi.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/zh-cn.js
wcfsetup/install/files/js/3rdParty/ckeditor/translations/zh.js
wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Configuration.js
wcfsetup/install/files/style/ui/ckeditor.scss

index 797c072a20bbb6a9a62bea2db995b89dd8e4e1c9..0d415655ac594731569f14c837484093f3a6493f 100644 (file)
@@ -365,6 +365,9 @@ class ConfigurationBuilder {
       },
       toolbar: this.#getToolbar(),
       ui: {
+        poweredBy: {
+          label: null,
+        },
         viewportOffset: {
           top: 50,
         },
index 0e4e5ce972d8344e657e743263e4289d8416d592..6c086ecdd7b69d7a280b3a82fc1ac9e9c72f8ad7 100644 (file)
@@ -1,2 +1,2 @@
 /*! For license information please see ckeditor5.bundle.js.LICENSE.txt */
-var CKEditor5;!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1","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 center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Edit source":"Edit source","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Empty snippet content":"Empty snippet content","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",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",Height:"Height",Highlight:"Highlight","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML snippet":"HTML snippet",Huge:"Huge","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert HTML":"Insert HTML","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset",Italic:"Italic",Justify:"Justify","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Next","No preview available":"No preview available",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste raw HTML here...":"Paste raw HTML here...","Pink marker":"Pink marker","Plain text":"Plain text","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","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Save changes":"Save changes","Saving changes":"Saving changes","Select all":"Select all","Select column":"Select column","Select row":"Select row","Show more items":"Show more items","Side image":"Side image",Small:"Small",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative","Text highlight toolbar":"Text highlight 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".',"This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),(()=>{var e={511:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Alignment:()=>p,AlignmentEditing:()=>u,AlignmentUI:()=>g});var o=i(6854),n=i(6553);const r=["left","right","center","justify"];function s(e){return r.includes(e)}function a(e,t){return"rtl"==t.contentLanguageDirection?"right"===e:"left"===e}function l(e){const t=e.map((e=>{let t;return t="string"==typeof e?{name:e}:e,t})).filter((e=>{const t=r.includes(e.name);return t||(0,n.KE)("alignment-config-name-not-recognized",{option:e}),t})),i=t.filter((e=>Boolean(e.className))).length;if(i&&i<t.length)throw new n.Bb("alignment-config-classnames-are-missing",{configuredOptions:e});return t.forEach(((t,i,o)=>{const r=o.slice(i+1);if(r.some((e=>e.name==t.name)))throw new n.Bb("alignment-config-name-already-defined",{option:t,configuredOptions:e});if(t.className&&r.some((e=>e.className==t.className)))throw new n.Bb("alignment-config-classname-already-defined",{option:t,configuredOptions:e})})),t}const c="alignment";class d extends o.mY{refresh(){const e=this.editor.locale,t=(0,n.Ps)(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=Boolean(t)&&this._canBeAligned(t),this.isEnabled&&t.hasAttribute("alignment")?this.value=t.getAttribute("alignment"):this.value="rtl"===e.contentLanguageDirection?"right":"left"}execute(e={}){const t=this.editor,i=t.locale,o=t.model,n=o.document,r=e.value;o.change((e=>{const t=Array.from(n.selection.getSelectedBlocks()).filter((e=>this._canBeAligned(e))),o=t[0].getAttribute("alignment");a(r,i)||o===r||!r?function(e,t){for(const i of e)t.removeAttribute(c,i)}(t,e):function(e,t,i){for(const o of e)t.setAttribute(c,i,o)}(t,e,r)}))}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,c)}}class u extends o.Sy{static get pluginName(){return"AlignmentEditing"}constructor(e){super(e),e.config.define("alignment",{options:r.map((e=>({name:e})))})}init(){const e=this.editor,t=e.locale,i=e.model.schema,o=l(e.config.get("alignment.options")).filter((e=>s(e.name)&&!a(e.name,t))),n=o.some((e=>!!e.className));i.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),n?e.conversion.attributeToAttribute(function(e){const t={};for(const i of e)t[i.name]={key:"class",value:i.className};return{model:{key:"alignment",values:e.map((e=>e.name))},view:t}}(o)):e.conversion.for("downcast").attributeToAttribute(function(e){const t={};for(const{name:i}of e)t[i]={key:"style",value:{"text-align":i}};return{model:{key:"alignment",values:e.map((e=>e.name))},view:t}}(o));const r=function(e){const t=[];for(const{name:i}of e)t.push({view:{key:"style",value:{"text-align":i}},model:{key:"alignment",value:i}});return t}(o);for(const t of r)e.conversion.for("upcast").attributeToAttribute(t);const c=function(e){const t=[];for(const{name:i}of e)t.push({view:{key:"align",value:i},model:{key:"alignment",value:i}});return t}(o);for(const t of c)e.conversion.for("upcast").attributeToAttribute(t);e.commands.add("alignment",new d(e))}}var h=i(7095);const m=new Map([["left",o.icons.alignLeft],["right",o.icons.alignRight],["center",o.icons.alignCenter],["justify",o.icons.alignJustify]]);class g extends o.Sy{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=this.editor,t=e.ui.componentFactory,i=e.t,o=l(e.config.get("alignment.options"));o.map((e=>e.name)).filter(s).forEach((e=>this._addButton(e))),t.add("alignment",(n=>{const r=(0,h.t9)(n);(0,h.up)(r,(()=>o.map((e=>t.create(`alignment:${e.name}`)))),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:i("Text alignment toolbar")}),r.buttonView.set({label:i("Text alignment"),tooltip:!0}),r.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const s="rtl"===n.contentLanguageDirection?m.get("right"):m.get("left"),a=e.commands.get("alignment");return r.buttonView.bind("icon").to(a,"value",(e=>m.get(e)||s)),r.bind("isEnabled").to(a,"isEnabled"),this.listenTo(r,"execute",(()=>{e.editing.view.focus()})),r}))}_addButton(e){const t=this.editor;t.ui.componentFactory.add(`alignment:${e}`,(i=>{const o=t.commands.get("alignment"),n=new h.r5(i);return n.set({label:this.localizedOptionTitles[e],icon:m.get(e),tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(o),n.bind("isOn").to(o,"value",(t=>t===e)),this.listenTo(n,"execute",(()=>{t.execute("alignment",{value:e}),t.editing.view.focus()})),n}))}}class p extends o.Sy{static get requires(){return[u,g]}static get pluginName(){return"Alignment"}}},6549:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Autosave:()=>s});var o=i(6854),n=i(6553),r=i(6682);class s extends o.Sy{static get pluginName(){return"Autosave"}static get requires(){return[o.lR]}constructor(e){super(e),this._action=null;const t=e.config.get("autosave")||{},i=t.waitingTime||1e3;this.set("state","synchronized"),this._debouncedSave=(0,r.Z)(this._save.bind(this),i),this._lastDocumentVersion=e.model.document.version,this._savePromise=null,this._domEmitter=new((0,n.Xu)()),this._config=t,this._pendingActions=e.plugins.get(o.lR),this._makeImmediateSave=!1}init(){const e=this.editor,t=e.model.document;this.listenTo(e,"ready",(()=>{this.listenTo(t,"change:data",((e,t)=>{this._saveCallbacks.length&&t.isLocal&&("synchronized"===this.state&&(this.state="waiting",this._setPendingAction()),"waiting"===this.state&&this._debouncedSave())}))})),this.listenTo(e,"destroy",(()=>this._flush()),{priority:"highest"}),this._domEmitter.listenTo(window,"beforeunload",((e,t)=>{this._pendingActions.hasAny&&(t.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((e=>e(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((e=>{throw this.state="error",this.state="saving",this._debouncedSave(),e})),this._savePromise)}_setPendingAction(){const e=this.editor.t;this._action||(this._action=this._pendingActions.add(e("Saving changes")))}get _saveCallbacks(){const e=[];return this.adapter&&this.adapter.save&&e.push(this.adapter.save),this._config.save&&e.push(this._config.save),e}}},1214:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Bold:()=>d,BoldEditing:()=>s,BoldUI:()=>c,Code:()=>S,CodeEditing:()=>m,CodeUI:()=>T,Italic:()=>O,ItalicEditing:()=>I,ItalicUI:()=>R,Strikethrough:()=>D,StrikethroughEditing:()=>M,StrikethroughUI:()=>N,Subscript:()=>Z,SubscriptEditing:()=>F,SubscriptUI:()=>W,Superscript:()=>K,SuperscriptEditing:()=>j,SuperscriptUI:()=>q,Underline:()=>X,UnderlineEditing:()=>J,UnderlineUI:()=>Q});var o=i(6854);class n extends o.mY{constructor(e,t){super(e),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,i=t.document.selection,o=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i.isCollapsed)o?e.setSelectionAttribute(this.attributeKey,!0):e.removeSelectionAttribute(this.attributeKey);else{const n=t.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const t of n)o?e.setAttribute(this.attributeKey,o,t):e.removeAttribute(this.attributeKey,t)}}))}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,i=e.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const e of i.getRanges())for(const i of e.getItems())if(t.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const r="bold";class s extends o.Sy{static get pluginName(){return"BoldEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:r}),e.model.schema.setAttributeProperties(r,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:r,view:"strong",upcastAlso:["b",e=>{const t=e.getStyle("font-weight");return t&&("bold"==t||Number(t)>=600)?{name:!0,styles:["font-weight"]}:null}]}),e.commands.add(r,new n(e,r)),e.keystrokes.set("CTRL+B",r)}}var a=i(7095);const l="bold";class c extends o.Sy{static get pluginName(){return"BoldUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(l,(i=>{const n=e.commands.get(l),r=new a.r5(i);return r.set({label:t("Bold"),icon:o.icons.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(r,"execute",(()=>{e.execute(l),e.editing.view.focus()})),r}))}}class d extends o.Sy{static get requires(){return[s,c]}static get pluginName(){return"Bold"}}var u=i(5187);const h="code";class m extends o.Sy{static get pluginName(){return"CodeEditing"}static get requires(){return[u.mh]}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:h}),e.model.schema.setAttributeProperties(h,{isFormatting:!0,copyOnEnter:!1}),e.conversion.attributeToElement({model:h,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),e.commands.add(h,new n(e,h)),e.plugins.get(u.mh).registerAttribute(h),(0,u.Im)(e,h,"code","ck-code_selected")}}var g=i(3379),p=i.n(g),f=i(9037),b=i.n(f),w=i(569),k=i.n(w),_=i(8575),v=i.n(_),y=i(9216),C=i.n(y),x=i(5363),A={attributes:{"data-cke":!0}};A.setAttributes=v(),A.insert=k().bind(null,"head"),A.domAPI=b(),A.insertStyleElement=C(),p()(x.Z,A),x.Z&&x.Z.locals&&x.Z.locals;const E="code";class T extends o.Sy{static get pluginName(){return"CodeUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(E,(i=>{const o=e.commands.get(E),n=new a.r5(i);return n.set({label:t("Code"),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>',tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(E),e.editing.view.focus()})),n}))}}class S extends o.Sy{static get requires(){return[m,T]}static get pluginName(){return"Code"}}const P="italic";class I extends o.Sy{static get pluginName(){return"ItalicEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:P}),e.model.schema.setAttributeProperties(P,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:P,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),e.commands.add(P,new n(e,P)),e.keystrokes.set("CTRL+I",P)}}const V="italic";class R extends o.Sy{static get pluginName(){return"ItalicUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(V,(i=>{const o=e.commands.get(V),n=new a.r5(i);return n.set({label:t("Italic"),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",tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(V),e.editing.view.focus()})),n}))}}class O extends o.Sy{static get requires(){return[I,R]}static get pluginName(){return"Italic"}}const B="strikethrough";class M extends o.Sy{static get pluginName(){return"StrikethroughEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:B}),e.model.schema.setAttributeProperties(B,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:B,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),e.commands.add(B,new n(e,B)),e.keystrokes.set("CTRL+SHIFT+X","strikethrough")}}const z="strikethrough";class N extends o.Sy{static get pluginName(){return"StrikethroughUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(z,(i=>{const o=e.commands.get(z),n=new a.r5(i);return n.set({label:t("Strikethrough"),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",tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(z),e.editing.view.focus()})),n}))}}class D extends o.Sy{static get requires(){return[M,N]}static get pluginName(){return"Strikethrough"}}const L="subscript";class F extends o.Sy{static get pluginName(){return"SubscriptEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:L}),e.model.schema.setAttributeProperties(L,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:L,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),e.commands.add(L,new n(e,L))}}const H="subscript";class W extends o.Sy{static get pluginName(){return"SubscriptUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(H,(i=>{const o=e.commands.get(H),n=new a.r5(i);return n.set({label:t("Subscript"),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>',tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(H),e.editing.view.focus()})),n}))}}class Z extends o.Sy{static get requires(){return[F,W]}static get pluginName(){return"Subscript"}}const U="superscript";class j extends o.Sy{static get pluginName(){return"SuperscriptEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:U}),e.model.schema.setAttributeProperties(U,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:U,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),e.commands.add(U,new n(e,U))}}const $="superscript";class q extends o.Sy{static get pluginName(){return"SuperscriptUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add($,(i=>{const o=e.commands.get($),n=new a.r5(i);return n.set({label:t("Superscript"),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>',tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute($),e.editing.view.focus()})),n}))}}class K extends o.Sy{static get requires(){return[j,q]}static get pluginName(){return"Superscript"}}const G="underline";class J extends o.Sy{static get pluginName(){return"UnderlineEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:G}),e.model.schema.setAttributeProperties(G,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:G,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),e.commands.add(G,new n(e,G)),e.keystrokes.set("CTRL+U","underline")}}const Y="underline";class Q extends o.Sy{static get pluginName(){return"UnderlineUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(Y,(i=>{const o=e.commands.get(Y),n=new a.r5(i);return n.set({label:t("Underline"),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>',keystroke:"CTRL+U",tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(Y),e.editing.view.focus()})),n}))}}class X extends o.Sy{static get requires(){return[J,Q]}static get pluginName(){return"Underline"}}},4210:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BlockQuote:()=>E,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>A});var o=i(6854),n=i(1863),r=i(5187),s=i(6553);class a extends o.mY{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.schema,o=t.document.selection,n=Array.from(o.getSelectedBlocks()),r=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(r){const t=n.filter((e=>l(e)||d(i,e)));this._applyQuote(e,t)}else this._removeQuote(e,n.filter(l))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,s.Ps)(e.getSelectedBlocks());return!(!t||!l(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=(0,s.Ps)(e.getSelectedBlocks());return!!i&&d(t,i)}_removeQuote(e,t){c(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const i=e.createPositionBefore(t.start.parent);return void e.move(t,i)}t.end.isAtEnd||e.split(t.end);const i=e.createPositionAfter(t.end.parent);e.move(t,i)}))}_applyQuote(e,t){const i=[];c(e,t).reverse().forEach((t=>{let o=l(t.start);o||(o=e.createElement("blockQuote"),e.wrap(t,o)),i.push(o)})),i.reverse().reduce(((t,i)=>t.nextSibling==i?(e.merge(e.createPositionAfter(t)),t):i))}}function l(e){return"blockQuote"==e.parent.name?e.parent:null}function c(e,t){let i,o=0;const n=[];for(;o<t.length;){const r=t[o],s=t[o+1];i||(i=e.createPositionBefore(r)),s&&r.nextSibling==s||(n.push(e.createRange(i,e.createPositionAfter(r))),i=null),o++}return n}function d(e,t){const i=e.checkChild(t.parent,"blockQuote"),o=e.checkChild(["$root","blockQuote"],t);return i&&o}class u extends o.Sy{static get pluginName(){return"BlockQuoteEditing"}static get requires(){return[n.C,r.HG]}init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new a(e)),t.register("blockQuote",{inheritAllFrom:"$container"}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer((i=>{const o=e.model.document.differ.getChanges();for(const e of o)if("insert"==e.type){const o=e.position.nodeAfter;if(!o)continue;if(o.is("element","blockQuote")&&o.isEmpty)return i.remove(o),!0;if(o.is("element","blockQuote")&&!t.checkChild(e.position,o))return i.unwrap(o),!0;if(o.is("element")){const e=i.createRangeIn(o);for(const o of e.getItems())if(o.is("element","blockQuote")&&!t.checkChild(i.createPositionBefore(o),o))return i.unwrap(o),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return i.remove(t),!0}return!1}));const i=this.editor.editing.view.document,o=e.model.document.selection,n=e.commands.get("blockQuote");this.listenTo(i,"enter",((t,i)=>{o.isCollapsed&&n.value&&o.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),i.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(i,"delete",((t,i)=>{if("backward"!=i.direction||!o.isCollapsed||!n.value)return;const r=o.getLastPosition().parent;r.isEmpty&&!r.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),i.preventDefault(),t.stop())}),{context:"blockquote"})}}var h=i(7095),m=i(3379),g=i.n(m),p=i(9037),f=i.n(p),b=i(569),w=i.n(b),k=i(8575),_=i.n(k),v=i(9216),y=i.n(v),C=i(3789),x={attributes:{"data-cke":!0}};x.setAttributes=_(),x.insert=w().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=y(),g()(C.Z,x),C.Z&&C.Z.locals&&C.Z.locals;class A extends o.Sy{static get pluginName(){return"BlockQuoteUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("blockQuote",(i=>{const n=e.commands.get("blockQuote"),r=new h.r5(i);return r.set({label:t("Block quote"),icon:o.icons.quote,tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(r,"execute",(()=>{e.execute("blockQuote"),e.editing.view.focus()})),r}))}}class E extends o.Sy{static get requires(){return[u,A]}static get pluginName(){return"BlockQuote"}}},9998:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CodeBlock:()=>V,CodeBlockEditing:()=>g,CodeBlockUI:()=>I});var o=i(6854),n=i(1863),r=i(3291),s=i(6553),a=i(4934);class l extends o.mY{constructor(e){super(e),this._lastLanguage=null}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor,i=t.model,o=i.document.selection,n=(0,a.getNormalizedAndLocalizedLanguageDefinitions)(t)[0],r=Array.from(o.getSelectedBlocks()),s=null==e.forceValue?!this.value:e.forceValue,l=function(e,t,i){return e.language?e.language:e.usePreviousLanguageChoice&&t?t:i}(e,this._lastLanguage,n.language);i.change((e=>{s?this._applyCodeBlock(e,r,l):this._removeCodeBlock(e,r)}))}_getValue(){const e=this.editor.model.document.selection,t=(0,s.Ps)(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,i=(0,s.Ps)(e.getSelectedBlocks());return!!i&&(0,a.canBeCodeBlock)(t,i)}_applyCodeBlock(e,t,i){this._lastLanguage=i;const o=this.editor.model.schema,n=t.filter((e=>(0,a.canBeCodeBlock)(o,e)));for(const t of n)e.rename(t,"codeBlock"),e.setAttribute("language",i,t),o.removeDisallowedAttributes([t],e),Array.from(t.getChildren()).filter((e=>!o.checkChild(t,e))).forEach((t=>e.remove(t)));n.reverse().forEach(((t,i)=>{const o=n[i+1];t.previousSibling===o&&(e.appendElement("softBreak",o),e.merge(e.createPositionBefore(t)))}))}_removeCodeBlock(e,t){const i=t.filter((e=>e.is("element","codeBlock")));for(const t of i){const i=e.createRangeOn(t);for(const t of Array.from(i.getItems()).reverse())if(t.is("element","softBreak")&&t.parent.is("element","codeBlock")){const{position:i}=e.split(e.createPositionBefore(t)),o=i.nodeAfter;e.rename(o,"paragraph"),e.removeAttribute("language",o),e.remove(t)}e.rename(t,"paragraph"),e.removeAttribute("language",t)}}}class c extends o.mY{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 i=(0,a.getIndentOutdentPositions)(e);for(const o of i){const i=t.createText(this._indentSequence);e.insertContent(i,o)}}))}_checkEnabled(){return!!this._indentSequence&&(0,a.isModelSelectionInCodeBlock)(this.editor.model.document.selection)}}class d extends o.mY{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=(0,a.getIndentOutdentPositions)(e);for(const i of t){const t=u(e,i,this._indentSequence);t&&e.deleteContent(e.createSelection(t))}}))}_checkEnabled(){if(!this._indentSequence)return!1;const e=this.editor.model;return!!(0,a.isModelSelectionInCodeBlock)(e.document.selection)&&(0,a.getIndentOutdentPositions)(e).some((t=>u(e,t,this._indentSequence)))}}function u(e,t,i){const o=function(e){let t=e.parent.getChild(e.index);return t&&!t.is("element","softBreak")||(t=e.nodeBefore),!t||t.is("element","softBreak")?null:t}(t);if(!o)return null;const n=(0,a.getLeadingWhiteSpaces)(o),r=n.lastIndexOf(i);if(r+i.length!==n.length)return null;if(-1===r)return null;const{parent:s,startOffset:l}=o;return e.createRange(e.createPositionAt(s,l+r),e.createPositionAt(s,l+r+i.length))}function h(e,t,i=!1){const o=(0,a.getPropertyAssociation)(t,"language","class"),n=(0,a.getPropertyAssociation)(t,"language","label");return(t,r,s)=>{const{writer:a,mapper:l,consumable:c}=s;if(!c.consume(r.item,"insert"))return;const d=r.item.getAttribute("language"),u=l.toViewPosition(e.createPositionBefore(r.item)),h={};i&&(h["data-language"]=n[d],h.spellcheck="false");const m=o[d]?{class:o[d]}:void 0,g=a.createContainerElement("code",m),p=a.createContainerElement("pre",h,g);a.insert(u,p),l.bindElements(r.item,g)}}const m="paragraph";class g extends o.Sy{static get pluginName(){return"CodeBlockEditing"}static get requires(){return[n.G]}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,i=e.model,o=e.editing.view,n=e.plugins.has("DocumentListEditing"),s=(0,a.getNormalizedAndLocalizedLanguageDefinitions)(e);e.commands.add("codeBlock",new l(e)),e.commands.add("indentCodeBlock",new c(e)),e.commands.add("outdentCodeBlock",new d(e)),this.listenTo(o.document,"tab",((t,i)=>{const o=i.shiftKey?"outdentCodeBlock":"indentCodeBlock";e.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())}),{context:"pre"}),t.register("codeBlock",{allowWhere:"$block",allowChildren:"$text",isBlock:!0,allowAttributes:["language"]}),t.addAttributeCheck(((e,t)=>{const i=e.endsWith("codeBlock")&&t.startsWith("list")&&"list"!==t;return!(!n||!i)||!e.endsWith("codeBlock $text")&&void 0})),e.model.schema.addChildCheck(((e,t)=>{if(e.endsWith("codeBlock")&&t.isObject)return!1})),e.editing.downcastDispatcher.on("insert:codeBlock",h(i,s,!0)),e.data.downcastDispatcher.on("insert:codeBlock",h(i,s)),e.data.downcastDispatcher.on("insert:softBreak",function(e){return(t,i,o)=>{if("codeBlock"!==i.item.parent.name)return;const{writer:n,mapper:r,consumable:s}=o;if(!s.consume(i.item,"insert"))return;const a=r.toViewPosition(e.createPositionBefore(i.item));n.insert(a,n.createText("\n"))}}(i),{priority:"high"}),e.data.upcastDispatcher.on("element:code",function(e,t){const i=(0,a.getPropertyAssociation)(t,"class","language"),o=t[0].language;return(e,t,n)=>{const r=t.viewItem,s=r.parent;if(!s||!s.is("element","pre"))return;if(t.modelCursor.findAncestor("codeBlock"))return;const{consumable:a,writer:l}=n;if(!a.test(r,{name:!0}))return;const c=l.createElement("codeBlock"),d=[...r.getClassNames()];d.length||d.push("");for(const e of d){const t=i[e];if(t){l.setAttribute("language",t,c);break}}c.hasAttribute("language")||l.setAttribute("language",o,c),n.convertChildren(r,c),n.safeInsert(c,t.modelCursor)&&(a.consume(r,{name:!0}),n.updateConversionResult(c,t))}}(0,s)),e.data.upcastDispatcher.on("text",((e,t,{consumable:i,writer:o})=>{let n=t.modelCursor;if(!i.test(t.viewItem))return;if(!n.findAncestor("codeBlock"))return;i.consume(t.viewItem);const r=t.viewItem.data.split("\n").map((e=>o.createText(e))),s=r[r.length-1];for(const e of r)if(o.insert(e,n),n=n.getShiftedBy(e.offsetSize),e!==s){const e=o.createElement("softBreak");o.insert(e,n),n=o.createPositionAfter(e)}t.modelRange=o.createRange(t.modelCursor,n),t.modelCursor=n})),e.data.upcastDispatcher.on("element:pre",((e,t,{consumable:i})=>{const o=t.viewItem;if(o.findAncestor("pre"))return;const n=Array.from(o.getChildren()),r=n.find((e=>e.is("element","code")));if(r)for(const e of n)e!==r&&e.is("$text")&&i.consume(e,{name:!0})}),{priority:"high"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,o)=>{let n=i.createRange(i.document.selection.anchor);if(o.targetRanges&&(n=e.editing.mapper.toModelRange(o.targetRanges[0])),!n.start.parent.is("element","codeBlock"))return;const s=o.dataTransfer.getData("text/plain"),l=new r.yj(e.editing.view.document);o.content=(0,a.rawSnippetTextToViewDocumentFragment)(l,s)})),this.listenTo(i,"getSelectedContent",((e,[o])=>{const n=o.anchor;!o.isCollapsed&&n.parent.is("element","codeBlock")&&n.hasSameParentAs(o.focus)&&i.change((i=>{const r=e.return;if(n.parent.is("element")&&(r.childCount>1||o.containsEntireContent(n.parent))){const t=i.createElement("codeBlock",n.parent.getAttributes());i.append(r,t);const o=i.createDocumentFragment();return i.append(t,o),void(e.return=o)}const s=r.getChild(0);t.checkAttribute(s,"code")&&i.setAttribute("code",!0,s)}))}))}afterInit(){const e=this.editor,t=e.commands,i=t.get("indent"),o=t.get("outdent");i&&i.registerChildCommand(t.get("indentCodeBlock"),{priority:"highest"}),o&&o.registerChildCommand(t.get("outdentCodeBlock")),this.listenTo(e.editing.view.document,"enter",((t,i)=>{e.model.document.selection.getLastPosition().parent.is("element","codeBlock")&&(function(e,t){const i=e.model.document,o=e.editing.view,n=i.selection.getLastPosition(),r=n.nodeAfter;return!(t||!i.selection.isCollapsed||!n.isAtStart)&&(!!f(r)&&(e.model.change((t=>{e.execute("enter");const o=i.selection.anchor.parent.previousSibling;t.rename(o,m),t.setSelection(o,"in"),e.model.schema.removeDisallowedAttributes([o],t),t.remove(r)})),o.scrollToTheSelection(),!0))}(e,i.isSoft)||function(e,t){const i=e.model,o=i.document,n=e.editing.view,r=o.selection.getLastPosition(),s=r.nodeBefore;let a;if(t||!o.selection.isCollapsed||!r.isAtEnd||!s||!s.previousSibling)return!1;if(f(s)&&f(s.previousSibling))a=i.createRange(i.createPositionBefore(s.previousSibling),i.createPositionAfter(s));else if(p(s)&&f(s.previousSibling)&&f(s.previousSibling.previousSibling))a=i.createRange(i.createPositionBefore(s.previousSibling.previousSibling),i.createPositionAfter(s));else{if(!(p(s)&&f(s.previousSibling)&&p(s.previousSibling.previousSibling)&&s.previousSibling.previousSibling&&f(s.previousSibling.previousSibling.previousSibling)))return!1;a=i.createRange(i.createPositionBefore(s.previousSibling.previousSibling.previousSibling),i.createPositionAfter(s))}return e.model.change((t=>{t.remove(a),e.execute("enter");const i=o.selection.anchor.parent;t.rename(i,m),e.model.schema.removeDisallowedAttributes([i],t)})),n.scrollToTheSelection(),!0}(e,i.isSoft)||function(e){const t=e.model.document,i=t.selection.getLastPosition(),o=i.nodeBefore||i.textNode;let n;o&&o.is("$text")&&(n=(0,a.getLeadingWhiteSpaces)(o)),e.model.change((i=>{e.execute("shiftEnter"),n&&i.insertText(n,t.selection.anchor)}))}(e),i.preventDefault(),t.stop())}),{context:"pre"})}}function p(e){return e&&e.is("$text")&&!e.data.match(/\S/)}function f(e){return e&&e.is("element","softBreak")}var b=i(7095),w=i(3379),k=i.n(w),_=i(9037),v=i.n(_),y=i(569),C=i.n(y),x=i(8575),A=i.n(x),E=i(9216),T=i.n(E),S=i(3229),P={attributes:{"data-cke":!0}};P.setAttributes=A(),P.insert=C().bind(null,"head"),P.domAPI=v(),P.insertStyleElement=T(),k()(S.Z,P),S.Z&&S.Z.locals&&S.Z.locals;class I extends o.Sy{static get pluginName(){return"CodeBlockUI"}init(){const e=this.editor,t=e.t,i=e.ui.componentFactory,o=(0,a.getNormalizedAndLocalizedLanguageDefinitions)(e);i.add("codeBlock",(i=>{const n=e.commands.get("codeBlock"),r=(0,b.t9)(i,b.Rm),s=r.buttonView;return s.set({label:t("Insert code block"),tooltip:!0,icon:'<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>',isToggleable:!0}),s.bind("isOn").to(n,"value",(e=>!!e)),s.on("execute",(()=>{e.execute("codeBlock",{usePreviousLanguageChoice:!0}),e.editing.view.focus()})),r.on("execute",(t=>{e.execute("codeBlock",{language:t.source._codeBlockLanguage,forceValue:!0}),e.editing.view.focus()})),r.class="ck-code-block-dropdown",r.bind("isEnabled").to(n),(0,b.Pm)(r,(()=>this._getLanguageListItemDefinitions(o))),r}))}_getLanguageListItemDefinitions(e){const t=this.editor.commands.get("codeBlock"),i=new s.FE;for(const o of e){const e={type:"button",model:new b.Hn({_codeBlockLanguage:o.language,label:o.label,withText:!0})};e.model.bind("isOn").to(t,"value",(t=>t===e.model._codeBlockLanguage)),i.add(e)}return i}}class V extends o.Sy{static get requires(){return[g,I]}static get pluginName(){return"CodeBlock"}}},4934:(e,t,i)=>{"use strict";i.r(t),i.d(t,{canBeCodeBlock:()=>d,getIndentOutdentPositions:()=>l,getLeadingWhiteSpaces:()=>s,getNormalizedAndLocalizedLanguageDefinitions:()=>n,getPropertyAssociation:()=>r,isModelSelectionInCodeBlock:()=>c,rawSnippetTextToViewDocumentFragment:()=>a});var o=i(6553);function n(e){const t=e.t,i=e.config.get("codeBlock.languages");for(const e of i)"Plain text"===e.label&&(e.label=t("Plain text")),void 0===e.class&&(e.class=`language-${e.language}`);return i}function r(e,t,i){const o={};for(const n of e)"class"===t?o[n[t].split(" ").shift()]=n[i]:o[n[t]]=n[i];return o}function s(e){return e.data.match(/^(\s*)/)[0]}function a(e,t){const i=e.createDocumentFragment(),o=t.split("\n"),n=o.reduce(((t,i,n)=>(t.push(i),n<o.length-1&&t.push(e.createElement("br")),t)),[]);return e.appendChild(n,i),i}function l(e){const t=e.document.selection,i=[];if(t.isCollapsed)return[t.anchor];const o=t.getFirstRange().getWalker({ignoreElementEnd:!0,direction:"backward"});for(const{item:t}of o){if(!t.is("$textProxy"))continue;const{parent:o,startOffset:n}=t.textNode;if(!o.is("element","codeBlock"))continue;const r=s(t.textNode),a=e.createPositionAt(o,n+r.length);i.push(a)}return i}function c(e){const t=(0,o.Ps)(e.getSelectedBlocks());return!!t&&t.is("element","codeBlock")}function d(e,t){return!t.is("rootElement")&&!e.isLimit(t)&&e.checkChild(t.parent,"codeBlock")}},7578:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Command:()=>s,Context:()=>d,ContextPlugin:()=>u,DataApiMixin:()=>w,Editor:()=>p,ElementApiMixin:()=>k,MultiCommand:()=>l,PendingActions:()=>v,Plugin:()=>n,attachToForm:()=>b,icons:()=>y,secureSourceElement:()=>_});var o=i(7732);class n extends((0,o.ObservableMixin)()){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",r,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",r),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function r(e){e.return=!1,e.stop()}class s extends((0,o.ObservableMixin)()){constructor(e){super(),this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",(()=>{this.refresh()})),this.on("execute",(e=>{this.isEnabled||e.stop()}),{priority:"high"}),this.listenTo(e,"change:isReadOnly",((e,t,i)=>{i&&this.affectsData?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}))}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 l extends s{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...e){const t=this._getFirstEnabledCommand();return!!t&&t.execute(e)}registerChildCommand(e,t={}){(0,o.insertToPriorityArray)(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 c extends((0,o.EmitterMixin)()){constructor(e,t=[],i=[]){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 i)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 o.CKEditorError("plugincollection-plugin-not-loaded",this._context,{plugin:t})}return t}has(e){return this._plugins.has(e)}init(e,t=[],i=[]){const n=this,r=this._context;!function e(t,i=new Set){t.forEach((t=>{l(t)&&(i.has(t)||(i.add(t),t.pluginName&&!n._availablePlugins.has(t.pluginName)&&n._availablePlugins.set(t.pluginName,t),t.requires&&e(t.requires,i)))}))}(e),h(e);const s=[...function e(t,i=new Set){return t.map((e=>l(e)?e:n._availablePlugins.get(e))).reduce(((t,o)=>i.has(o)?t:(i.add(o),o.requires&&(h(o.requires,o),e(o.requires,i).forEach((e=>t.add(e)))),t.add(o))),new Set)}(e.filter((e=>!d(e,t))))];!function(e,t){for(const i of t){if("function"!=typeof i)throw new o.CKEditorError("plugincollection-replace-plugin-invalid-type",null,{pluginItem:i});const t=i.pluginName;if(!t)throw new o.CKEditorError("plugincollection-replace-plugin-missing-name",null,{pluginItem:i});if(i.requires&&i.requires.length)throw new o.CKEditorError("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:t});const r=n._availablePlugins.get(t);if(!r)throw new o.CKEditorError("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:t});const s=e.indexOf(r);if(-1===s){if(n._contextPlugins.has(r))return;throw new o.CKEditorError("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:t})}if(r.requires&&r.requires.length)throw new o.CKEditorError("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:t});e.splice(s,1,i),n._availablePlugins.set(t,i)}}(s,i);const a=function(e){return e.map((e=>{let t=n._contextPlugins.get(e);return t=t||new e(r),n._add(e,t),t}))}(s);return m(a,"init").then((()=>m(a,"afterInit"))).then((()=>a));function l(e){return"function"==typeof e}function c(e){return l(e)&&!!e.isContextPlugin}function d(e,t){return t.some((t=>t===e||u(e)===t||u(t)===e))}function u(e){return l(e)?e.pluginName||e.name:e}function h(e,i=null){e.map((e=>l(e)?e:n._availablePlugins.get(e)||e)).forEach((e=>{!function(e,t){if(!l(e)){if(t)throw new o.CKEditorError("plugincollection-soft-required",r,{missingPlugin:e,requiredBy:u(t)});throw new o.CKEditorError("plugincollection-plugin-not-found",r,{plugin:e})}}(e,i),function(e,t){if(c(t)&&!c(e))throw new o.CKEditorError("plugincollection-context-required",r,{plugin:u(e),requiredBy:u(t)})}(e,i),function(e,i){if(i&&d(e,t))throw new o.CKEditorError("plugincollection-required",r,{plugin:u(e),requiredBy:u(i)})}(e,i)}))}function m(e,t){return e.reduce(((e,i)=>i[t]?n._contextPlugins.has(i)?e:e.then(i[t].bind(i)):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 i=e.pluginName;if(i){if(this._plugins.has(i))throw new o.CKEditorError("plugincollection-plugin-name-conflict",null,{pluginName:i,plugin1:this._plugins.get(i).constructor,plugin2:e});this._plugins.set(i,t)}}}class d{constructor(e){this._contextOwner=null,this.config=new o.Config(e,this.constructor.defaultConfig);const t=this.constructor.builtinPlugins;this.config.define("plugins",t),this.plugins=new c(this,t);const i=this.config.get("language")||{};this.locale=new o.Locale({uiLanguage:"string"==typeof i?i:i.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new o.Collection}initPlugins(){const e=this.config.get("plugins")||[],t=this.config.get("substitutePlugins")||[];for(const i of e.concat(t)){if("function"!=typeof i)throw new o.CKEditorError("context-initplugins-constructor-only",null,{Plugin:i});if(!0!==i.isContextPlugin)throw new o.CKEditorError("context-initplugins-invalid-plugin",null,{Plugin:i})}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 o.CKEditorError("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 i=new this(e);t(i.initPlugins().then((()=>i)))}))}}class u extends((0,o.ObservableMixin)()){constructor(e){super(),this.context=e}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}var h=i(600);class m{constructor(){this._commands=new Map}add(e,t){this._commands.set(e,t)}get(e){return this._commands.get(e)}execute(e,...t){const i=this.get(e);if(!i)throw new o.CKEditorError("commandcollection-command-not-found",this,{commandName:e});return i.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 g extends o.KeystrokeHandler{constructor(e){super(),this.editor=e}set(e,t,i={}){if("string"==typeof t){const e=t;t=(t,i)=>{this.editor.execute(e),i()}}super.set(e,t,i)}}class p extends((0,o.ObservableMixin)()){constructor(e={}){super();const t=this.constructor,i=e.language||t.defaultConfig&&t.defaultConfig.language;this._context=e.context||new d({language:i}),this._context._addEditor(this,!e.context);const n=Array.from(t.builtinPlugins||[]);this.config=new o.Config(e,t.defaultConfig),this.config.define("plugins",n),this.config.define(this._context._getEditorConfig()),this.plugins=new c(this,n,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new m,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new h.Model;const r=new h.StylesProcessor;this.data=new h.DataController(this.model,r),this.editing=new h.EditingController(this.model,r),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new h.Conversion([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 g(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(e){throw new o.CKEditorError("editor-isreadonly-has-no-setter")}enableReadOnlyMode(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new o.CKEditorError("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 o.CKEditorError("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))}initPlugins(){const e=this.config,t=e.get("plugins"),i=e.get("removePlugins")||[],o=e.get("extraPlugins")||[],n=e.get("substitutePlugins")||[];return this.plugins.init(t.concat(o),i,n)}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){o.CKEditorError.rethrowUnexpectedError(e,this)}}focus(){this.editing.view.focus()}static create(...e){throw new Error("This is an abstract method.")}}var f=i(3234);function b(e){if(!(0,f.Z)(e.updateSourceElement))throw new o.CKEditorError("attachtoform-missing-elementapi-interface",e);const t=e.sourceElement;if(function(e){return!!e&&"textarea"===e.tagName.toLowerCase()}(t)&&t.form){let i;const o=t.form,n=()=>e.updateSourceElement();(0,f.Z)(o.submit)&&(i=o.submit,o.submit=()=>{n(),i.apply(o)}),o.addEventListener("submit",n),e.on("destroy",(()=>{o.removeEventListener("submit",n),i&&(o.submit=i)}))}}function w(e){return class extends e{setData(e){this.data.set(e)}getData(e){return this.data.get(e)}}}{const e=w(Object);w.setData=e.prototype.setData,w.getData=e.prototype.getData}function k(e){return class extends e{updateSourceElement(e=this.data.get()){if(!this.sourceElement)throw new o.CKEditorError("editor-missing-sourceelement",this);const t=this.config.get("updateSourceElementOnDestroy"),i=this.sourceElement instanceof HTMLTextAreaElement;t||i?(0,o.setDataInElement)(this.sourceElement,e):(0,o.setDataInElement)(this.sourceElement,"")}}}function _(e,t){if(t.ckeditorInstance)throw new o.CKEditorError("editor-source-element-already-used",e);t.ckeditorInstance=e,e.once("destroy",(()=>{delete t.ckeditorInstance}))}k.updateSourceElement=k(Object).prototype.updateSourceElement;class v extends u{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new o.Collection({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if("string"!=typeof e)throw new o.CKEditorError("pendingactions-add-invalid-message",this);const t=new((0,o.ObservableMixin)());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 y={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>',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>',image:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.91 10.54c.26-.23.64-.21.88.03l3.36 3.14 2.23-2.06a.64.64 0 0 1 .87 0l2.52 2.97V4.5H3.2v10.12l3.71-4.08zm10.27-7.51c.6 0 1.09.47 1.09 1.05v11.84c0 .59-.49 1.06-1.09 1.06H2.79c-.6 0-1.09-.47-1.09-1.06V4.08c0-.58.49-1.05 1.1-1.05h14.38zm-5.22 5.56a1.96 1.96 0 1 1 3.4-1.96 1.96 1.96 0 0 1-3.4 1.96z"/></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>',importExport:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path clip-rule="evenodd" 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"/></g><defs><clipPath id="a"><path d="M0 0h20v20H0z"/></clipPath></defs></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"><g clip-path="url(#a)"><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 clip-rule="evenodd" 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"/></g><defs><clipPath id="a"><path d="M0 0h20v20H0z"/></clipPath></defs></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>',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 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="M13 6H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zm0 1.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5h11z"/></svg>',objectSizeSmall:'<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="M7 10H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2zm0 1.5a.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 .5-.5h5z"/></svg>',objectSizeMedium:'<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="M10 8H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm0 1.5a.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 .5-.5h8z"/></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>'}},1184:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ClassicEditor:()=>R});var o=i(7095),n=i(3291),r=i(6553);class s extends o.S8{constructor(e,t){super(e),this.view=t,this._toolbarConfig=(0,o.iw)(e.config.get("toolbar")),this._elementReplacer=new r.a6}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 s=n.element;this.setEditableElement(n.name,s),i.editable.bind("isFocused").to(this.focusTracker),o.attachDomRoot(s),e&&this._elementReplacer.replace(e,this.element),this._initPlaceholder(),this._initToolbar(),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,t=e.editing.view,i=t.document.getRoot(),o=e.sourceElement;let r;const s=e.config.get("placeholder");s&&(r="string"==typeof s?s:s[this.view.editable.name]),!r&&o&&"textarea"===o.tagName.toLowerCase()&&(r=o.getAttribute("placeholder")),r&&(0,n.ID)({view:t,element:i,text:r,isDirectHost:!1,keepOnFocus:!0})}}var a=i(3379),l=i.n(a),c=i(9037),d=i.n(c),u=i(569),h=i.n(u),m=i(8575),g=i.n(m),p=i(9216),f=i.n(p),b=i(3624),w={attributes:{"data-cke":!0}};w.setAttributes=g(),w.insert=h().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=f(),l()(b.Z,w),b.Z&&b.Z.locals&&b.Z.locals;class k extends o.py{constructor(e,t,i={}){super(e),this.stickyPanel=new o.lp(e),this.toolbar=new o.jB(e,{shouldGroupWhenFull:i.shouldToolbarGroupWhenFull}),this.editable=new o.r1(e,t)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}var _=i(6854);class v{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 i=this._listeners[e]||[];for(const e of i)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 i=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:e,causesRestart:i}),i?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(){return this.crashes.length<=this._crashNumberLimit||(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function y(e,t=new Set){const i=[e],o=new Set;let n=0;for(;i.length>n;){const e=i[n++];if(!o.has(e)&&C(e)&&!t.has(e))if(o.add(e),Symbol.iterator in e)try{for(const t of e)i.push(t)}catch(e){}else for(const t in e)"defaultValue"!==t&&i.push(e[t])}return o}function C(e){const t=Object.prototype.toString.call(e),i=typeof e;return!("number"===i||"boolean"===i||"string"===i||"symbol"===i||"function"===i||"[object Date]"===t||"[object RegExp]"===t||"[object Module]"===t||null==e||e._watchdogExcluded||e instanceof EventTarget||e instanceof Event)}function x(e,t,i=new Set){if(e===t&&"object"==typeof(o=e)&&null!==o)return!0;var o;const n=y(e,i),r=y(t,i);for(const e of n)if(r.has(e))return!0;return!1}var A=i(111),E=i(4612),T=i(3251);class S extends v{constructor(e,t={}){super(t),this._editor=null,this._throttledSave=(0,A.Z)(this._save.bind(this),"number"==typeof t.saveInterval?t.saveInterval:5e3),e&&(this._creator=(t,i)=>e.create(t,i)),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((()=>{if("string"==typeof this._elementOrData)return this.create(this._data,this._config,this._config.context);{const e=Object.assign({},this._config,{initialData:this._data});return this.create(this._elementOrData,e,e.context)}})).then((()=>{this._fire("restart")}))}create(e=this._elementOrData,t=this._config,i){return Promise.resolve().then((()=>(super._startErrorHandling(),this._elementOrData=e,this._config=this._cloneEditorConfiguration(t)||{},this._config.context=i,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.state="ready",this._fire("stateChange")}))}destroy(){return Promise.resolve().then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.flush();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._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={};for(const t of this._editor.model.document.getRootNames())e[t]=this._editor.data.get({rootName:t});return e}_isErrorComingFromThisItem(e){return x(this._editor,e.context,this._excludedProps)}_cloneEditorConfiguration(e){return(0,E.Z)(e,((e,t)=>(0,T.Z)(e)||"context"===t?e:void 0))}}const P=Symbol("MainQueueId");class I{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(e){this._onEmptyCallbacks.push(e)}enqueue(e,t){const i=e===P;this._activeActions++,this._queues.get(e)||this._queues.set(e,Promise.resolve());const o=(i?Promise.all(this._queues.values()):Promise.all([this._queues.get(P),this._queues.get(e)])).then(t),n=o.catch((()=>{}));return this._queues.set(e,n),o.finally((()=>{this._activeActions--,this._queues.get(e)===n&&0===this._activeActions&&this._onEmptyCallbacks.forEach((e=>e()))}))}}function V(e){return Array.isArray(e)?e:[e]}class R extends((0,_.W9)((0,_.xK)(_.ML))){constructor(e,t={}){if(!O(e)&&void 0!==t.initialData)throw new r.Bb("editor-create-initial-data",null);super(t),void 0===this.config.get("initialData")&&this.config.set("initialData",function(e){return O(e)?(0,r.yy)(e):e}(e)),O(e)&&(this.sourceElement=e),this.model.document.createRoot();const i=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=new k(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:i});this.ui=new s(this,o),(0,_.P$)(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(O(e)?e:null))).then((()=>o.data.init(o.config.get("initialData")))).then((()=>o.fire("ready"))).then((()=>o)))}))}}function O(e){return(0,T.Z)(e)}R.Context=_._y,R.EditorWatchdog=S,R.ContextWatchdog=class extends v{constructor(e,t={}){super(t),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new I,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(P,(()=>(this._contextConfig=e,this._create())))}getItem(e){return this._getWatchdog(e)._item}getItemState(e){return this._getWatchdog(e).state}add(e){const t=V(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 S(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",((i,{error:o,causesRestart:n})=>{this._fire("itemError",{itemId:e.id,error:o}),n&&this._actionQueues.enqueue(e.id,(()=>new Promise((i=>{const o=()=>{t.off("restart",o),this._fire("itemRestart",{itemId:e.id}),i()};t.on("restart",o)}))))})),t.create(e.sourceElementOrData,e.config,this._context);throw new Error(`Not supported item type: '${e.type}'.`)})))))}remove(e){const t=V(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(P,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(P,(()=>(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=y(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 x(this._context,e.context)}}},600:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AttributeElement:()=>Ge,AttributeOperation:()=>rn,BubblingEventInfo:()=>He,ClickObserver:()=>lr,Conversion:()=>Ho,DataController:()=>Fo,DataTransfer:()=>ti,DocumentFragment:()=>Ln,DocumentSelection:()=>Li,DomConverter:()=>Nt,DomEventData:()=>Zt,DomEventObserver:()=>Ut,DowncastWriter:()=>rt,EditingController:()=>bo,Element:()=>hi,History:()=>Vn,HtmlDataProcessor:()=>Do,InsertOperation:()=>Xo,LivePosition:()=>Cn,LiveRange:()=>Mi,MarkerOperation:()=>on,Matcher:()=>R,MergeOperation:()=>tn,Model:()=>sr,MouseObserver:()=>cr,MoveOperation:()=>Qo,Observer:()=>Ht,OperationFactory:()=>un,Position:()=>pi,Range:()=>vi,RenameOperation:()=>an,Renderer:()=>Et,RootAttributeOperation:()=>ln,RootOperation:()=>cn,SplitOperation:()=>en,StylesProcessor:()=>Ae,TabObserver:()=>ri,Text:()=>di,TextProxy:()=>ui,TreeWalker:()=>mi,UpcastWriter:()=>dr,View:()=>si,ViewAttributeElement:()=>Ge,ViewContainerElement:()=>Ie,ViewDocument:()=>Ke,ViewDocumentFragment:()=>nt,ViewEditableElement:()=>Re,ViewElement:()=>Se,ViewEmptyElement:()=>Qe,ViewRawElement:()=>it,ViewText:()=>P,ViewUIElement:()=>et,addBackgroundRules:()=>Nr,addBorderRules:()=>Dr,addMarginRules:()=>Kr,addPaddingRules:()=>Gr,disablePlaceholder:()=>b,enablePlaceholder:()=>f,findOptimalInsertionRange:()=>er,getBoxSidesShorthandValue:()=>Br,getBoxSidesValueReducer:()=>Or,getBoxSidesValues:()=>Rr,getFillerOffset:()=>Ve,getPositionShorthandNormalizer:()=>Mr,getShorthandValues:()=>zr,hidePlaceholder:()=>k,isAttachment:()=>Pr,isColor:()=>br,isLength:()=>vr,isLineStyle:()=>kr,isPercentage:()=>Cr,isPosition:()=>Tr,isRepeat:()=>Ar,isURL:()=>Vr,needsPlaceholder:()=>_,showPlaceholder:()=>w,transformSets:()=>fn});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(7372),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g),m.Z&&m.Z.locals&&m.Z.locals;const p=new WeakMap;function f({view:e,element:t,text:i,isDirectHost:o=!0,keepOnFocus:n=!1}){const r=e.document;p.has(r)||(p.set(r,new Map),r.registerPostFixer((e=>v(r,e))),r.on("change:isComposing",(()=>{e.change((e=>v(r,e)))}),{priority:"high"})),p.get(r).set(t,{text:i,isDirectHost:o,keepOnFocus:n,hostElement:o?t:null}),e.change((e=>v(r,e)))}function b(e,t){const i=t.document;p.has(i)&&e.change((e=>{const o=p.get(i),n=o.get(t);e.removeAttribute("data-placeholder",n.hostElement),k(e,n.hostElement),o.delete(t)}))}function w(e,t){return!t.hasClass("ck-placeholder")&&(e.addClass("ck-placeholder",t),!0)}function k(e,t){return!!t.hasClass("ck-placeholder")&&(e.removeClass("ck-placeholder",t),!0)}function _(e,t){if(!e.isAttached())return!1;const i=Array.from(e.getChildren()).some((e=>!e.is("uiElement")));if(i)return!1;const o=e.document,n=o.selection.anchor;return!(o.isComposing&&n&&n.parent===e||!t&&o.isFocused&&(!n||n.parent===e))}function v(e,t){const i=p.get(e),o=[];let n=!1;for(const[e,r]of i)r.isDirectHost&&(o.push(e),y(t,e,r)&&(n=!0));for(const[e,r]of i){if(r.isDirectHost)continue;const i=C(e);i&&(o.includes(i)||(r.hostElement=i,y(t,e,r)&&(n=!0)))}return n}function y(e,t,i){const{text:o,isDirectHost:n,hostElement:r}=i;let s=!1;return r.getAttribute("data-placeholder")!==o&&(e.setAttribute("data-placeholder",o,r),s=!0),(n||1==t.childCount)&&_(r,i.keepOnFocus)?w(e,r)&&(s=!0):k(e,r)&&(s=!0),s}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}var x=i(7732);class A{is(){throw new Error("is() method is abstract")}}var E=i(9256);const T=function(e){return(0,E.Z)(e,4)};i(9807);class S extends((0,x.EmitterMixin)(A)){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 x.CKEditorError("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 i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}getCommonAncestor(e,t={}){const i=this.getAncestors(t),o=e.getAncestors(t);let n=0;for(;i[n]==o[n]&&i[n];)n++;return 0===n?null:i[n-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),i=e.getPath(),o=(0,x.compareArrays)(t,i);switch(o){case"prefix":return!0;case"extension":return!1;default:return t[o]<i[o]}}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 P 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 P&&(this===e||this.data===e.data)}_clone(){return new P(this.document,this.data)}}P.prototype.is=function(e){return"$text"===e||"view:$text"===e||"text"===e||"view:text"===e||"node"===e||"view:node"===e};class I extends A{constructor(e,t,i){if(super(),this.textNode=e,t<0||t>e.data.length)throw new x.CKEditorError("view-textproxy-wrong-offsetintext",this);if(i<0||t+i>e.data.length)throw new x.CKEditorError("view-textproxy-wrong-length",this);this.data=e.data.substring(t,t+i),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 i=e.includeSelf?this.textNode:this.parent;for(;null!==i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}}I.prototype.is=function(e){return"$textProxy"===e||"view:$textProxy"===e||"textProxy"===e||"view:textProxy"===e};var V=i(7514);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 i=O(t,e);if(i)return{element:t,pattern:e,match:i}}return null}matchAll(...e){const t=[];for(const i of e)for(const e of this._patterns){const o=O(i,e);o&&t.push({element:i,pattern:e,match:o})}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 O(e,t){if("function"==typeof t)return t(e);const i={};return t.name&&(i.name=function(e,t){return e instanceof RegExp?!!t.match(e):e===t}(t.name,e.name),!i.name)||t.attributes&&(i.attributes=function(e,t){const i=new Set(t.getAttributeKeys());return(0,V.Z)(e)?(void 0!==e.style&&(0,x.logWarning)("matcher-pattern-deprecated-attributes-style-key",e),void 0!==e.class&&(0,x.logWarning)("matcher-pattern-deprecated-attributes-class-key",e)):(i.delete("style"),i.delete("class")),B(e,i,(e=>t.getAttribute(e)))}(t.attributes,e),!i.attributes)||t.classes&&(i.classes=function(e,t){return B(e,t.getClassNames(),(()=>{}))}(t.classes,e),!i.classes)||t.styles&&(i.styles=function(e,t){return B(e,t.getStyleNames(!0),(e=>t.getStyle(e)))}(t.styles,e),!i.styles)?null:i}function B(e,t,i){const o=function(e){return Array.isArray(e)?e.map((e=>(0,V.Z)(e)?(void 0!==e.key&&void 0!==e.value||(0,x.logWarning)("matcher-pattern-missing-key-or-value",e),[e.key,e.value]):[e,!0])):(0,V.Z)(e)?Object.entries(e):[[e,!0]]}(e),n=Array.from(t),r=[];if(o.forEach((([e,t])=>{n.forEach((o=>{(function(e,t){return!0===e||e===t||e instanceof RegExp&&t.match(e)})(e,o)&&function(e,t,i){if(!0===e)return!0;const o=i(t);return e===o||e instanceof RegExp&&!!String(o).match(e)}(t,o,i)&&r.push(o)}))})),o.length&&!(r.length<o.length))return r}var M=i(7226),z=i(7771),N=i(2714),D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;var F=i(520);function H(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var o=arguments,n=t?t.apply(this,o):o[0],r=i.cache;if(r.has(n))return r.get(n);var s=e.apply(this,o);return i.cache=r.set(n,s)||r,s};return i.cache=new(H.Cache||F.Z),i}H.Cache=F.Z;var W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z=/\\(\\)?/g;const U=(j=H((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,i,o,n){t.push(o?n.replace(Z,"$1"):i||e)})),t}),(function(e){return 500===$.size&&$.clear(),e})),$=j.cache,j);var j,$,q=i(9939);const K=function(e,t){return(0,z.Z)(e)?e:function(e,t){if((0,z.Z)(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!(0,N.Z)(e))||L.test(e)||!D.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:U((0,q.Z)(e))},G=function(e){if("string"==typeof e||(0,N.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},J=function(e,t){for(var i=0,o=(t=K(t,e)).length;null!=e&&i<o;)e=e[G(t[i++])];return i&&i==o?e:void 0};var Y=i(7855);const Q=function(e,t){return null==(e=function(e,t){return t.length<2?e:J(e,(0,Y.Z)(t,0,-1))}(e,t=K(t,e)))||delete e[G((i=t,o=null==i?0:i.length,o?i[o-1]:void 0))];var i,o},X=function(e,t,i){var o=null==e?void 0:J(e,t);return void 0===o?i:o};var ee=i(5365),te=i(4752),ie=i(9651);const oe=function(e,t,i){(void 0!==i&&!(0,ie.Z)(e[t],i)||void 0===i&&!(t in e))&&(0,te.Z)(e,t,i)},ne=function(e,t,i){for(var o=-1,n=Object(e),r=i(e),s=r.length;s--;){var a=r[++o];if(!1===t(n[a],a,n))break}return e};var re=i(1050),se=i(2701),ae=i(7215),le=i(5418),ce=i(4732),de=i(585),ue=i(8533);var he=i(6706),me=i(3234),ge=i(7212);const pe=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var fe=i(1899),be=i(7590);const we=function(e,t,i,o,n,r,s){var a,l=pe(e,i),c=pe(t,i),d=s.get(c);if(d)oe(e,i,d);else{var u=r?r(l,c,i+"",e,t,s):void 0,h=void 0===u;if(h){var m=(0,z.Z)(c),g=!m&&(0,he.Z)(c),p=!m&&!g&&(0,ge.Z)(c);u=c,m||g||p?(0,z.Z)(l)?u=l:(a=l,(0,ue.Z)(a)&&(0,de.Z)(a)?u=(0,ae.Z)(l):g?(h=!1,u=(0,re.Z)(c,!0)):p?(h=!1,u=(0,se.Z)(c,!0)):u=[]):(0,V.Z)(c)||(0,ce.Z)(c)?(u=l,(0,ce.Z)(l)?u=function(e){return(0,fe.Z)(e,(0,be.Z)(e))}(l):(0,M.Z)(l)&&!(0,me.Z)(l)||(u=(0,le.Z)(c))):h=!1}h&&(s.set(c,u),n(u,c,o,r,s),s.delete(c)),oe(e,i,u)}},ke=function e(t,i,o,n,r){t!==i&&ne(i,(function(s,a){if(r||(r=new ee.Z),(0,M.Z)(s))we(t,i,a,o,e,n,r);else{var l=n?n(pe(t,a),s,a+"",t,i,r):void 0;void 0===l&&(l=s),oe(t,a,l)}}),be.Z)},_e=(0,i(288).Z)((function(e,t,i){ke(e,t,i)}));var ve=i(2954),ye=i(6009);const Ce=function(e,t,i){return null==e?e:function(e,t,i,o){if(!(0,M.Z)(e))return e;for(var n=-1,r=(t=K(t,e)).length,s=r-1,a=e;null!=a&&++n<r;){var l=G(t[n]),c=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(n!=s){var d=a[l];void 0===(c=o?o(d,l,a):void 0)&&(c=(0,M.Z)(d)?d:(0,ye.Z)(t[n+1])?[]:{})}(0,ve.Z)(a,l,c),a=a[l]}return e}(e,t,i)};class xe{constructor(e){this._styles={},this._styleProcessor=e}get isEmpty(){const e=Object.entries(this._styles);return!Array.from(e).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(e){this.clear();const t=Array.from(function(e){let t=null,i=0,o=0,n=null;const r=new Map;if(""===e)return r;";"!=e.charAt(e.length-1)&&(e+=";");for(let s=0;s<e.length;s++){const a=e.charAt(s);if(null===t)switch(a){case":":n||(n=e.substr(i,s-i),o=s+1);break;case'"':case"'":t=a;break;case";":{const t=e.substr(o,s-o);n&&r.set(n.trim(),t.trim()),n=null,i=s+1;break}}else a===t&&(t=null)}return r}(e).entries());for(const[e,i]of t)this._styleProcessor.toNormalizedForm(e,i,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,M.Z)(e))for(const[t,i]of Object.entries(e))this._styleProcessor.toNormalizedForm(t,i,this._styles);else this._styleProcessor.toNormalizedForm(e,t,this._styles)}remove(e){const t=Ee(e);(function(e,t){null==e||Q(e,t)})(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,M.Z)(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){return this.isEmpty?[]:e?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map((([e])=>e))}clear(){this._styles={}}_getStylesEntries(){const e=[],t=Object.keys(this._styles);for(const i of t)e.push(...this._styleProcessor.getReducedForm(i,this._styles));return e}_cleanEmptyObjectsOnPath(e){const t=e.split(".");if(!(t.length>1))return;const i=t.splice(0,t.length-1).join("."),o=X(this._styles,i);o&&!Array.from(Object.keys(o)).length&&this.remove(i)}}class Ae{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(e,t,i){if((0,M.Z)(t))Te(i,Ee(e),t);else if(this._normalizers.has(e)){const o=this._normalizers.get(e),{path:n,value:r}=o(t);Te(i,n,r)}else Te(i,e,t)}getNormalized(e,t){if(!e)return _e({},t);if(void 0!==t[e])return t[e];if(this._extractors.has(e)){const i=this._extractors.get(e);if("string"==typeof i)return X(t,i);const o=i(e,t);if(o)return o}return X(t,Ee(e))}getReducedForm(e,t){const i=this.getNormalized(e,t);return void 0===i?[]:this._reducers.has(e)?this._reducers.get(e)(i):[[e,i]]}getStyleNames(e){const t=Array.from(this._consumables.keys()).filter((t=>{const i=this.getNormalized(t,e);return i&&"object"==typeof i?Object.keys(i).length:i})),i=new Set([...t,...Object.keys(e)]);return Array.from(i.values())}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 i of t)this._mapStyleNames(i,[e])}_mapStyleNames(e,t){this._consumables.has(e)||this._consumables.set(e,[]),this._consumables.get(e).push(...t)}}function Ee(e){return e.replace("-",".")}function Te(e,t,i){let o=i;(0,M.Z)(i)&&(o=_e({},X(e,t),i)),Ce(e,t,o)}class Se extends S{constructor(e,t,i,o){if(super(e),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=t,this._attrs=function(e){const t=(0,x.toMap)(e);for(const[e,i]of t)null===i?t.delete(e):"string"!=typeof i&&t.set(e,String(i));return t}(i),this._children=[],o&&this._insertChild(0,o),this._classes=new Set,this._attrs.has("class")){const e=this._attrs.get("class");Pe(this._classes,e),this._attrs.delete("class")}this._styles=new xe(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 Se))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,i]of this._attrs)if(!e._attrs.has(t)||e._attrs.get(t)!==i)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 i=this.parent;for(;i&&!i.is("documentFragment");){if(t.match(i))return i;i=i.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(),i=Array.from(this._attrs).map((e=>`${e[0]}="${e[1]}"`)).sort().join(" ");return this.name+(""==e?"":` class="${e}"`)+(t?` style="${t}"`:"")+(""==i?"":` ${i}`)}shouldRenderUnsafeAttribute(e){return this._unsafeAttributesToRender.includes(e)}_clone(e=!1){const t=[];if(e)for(const i of this.getChildren())t.push(i._clone(e));const i=new this.constructor(this.document,this.name,this._attrs,t);return i._classes=new Set(this._classes),i._styles.set(this._styles.getNormalized()),i._customProperties=new Map(this._customProperties),i.getFillerOffset=this.getFillerOffset,i._unsafeAttributesToRender=this._unsafeAttributesToRender,i}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,t){this._fireChange("children",this);let i=0;const o=function(e,t){return"string"==typeof t?[new P(e,t)]:((0,x.isIterable)(t)||(t=[t]),Array.from(t).map((t=>"string"==typeof t?new P(e,t):t instanceof I?new P(e,t.data):t)))}(this.document,t);for(const t of o)null!==t.parent&&t._remove(),t.parent=this,t.document=this.document,this._children.splice(e,0,t),e++,i++;return i}_removeChildren(e,t=1){this._fireChange("children",this);for(let i=e;i<e+t;i++)this._children[i].parent=null;return this._children.splice(e,t)}_setAttribute(e,t){const i=String(t);this._fireChange("attributes",this),"class"==e?Pe(this._classes,i):"style"==e?this._styles.setTo(i):this._attrs.set(e,i)}_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,x.toArray)(e))this._classes.add(t)}_removeClass(e){this._fireChange("attributes",this);for(const t of(0,x.toArray)(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,x.toArray)(e))this._styles.remove(t)}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}function Pe(e,t){const i=t.split(/\s+/);e.clear(),i.forEach((t=>e.add(t)))}Se.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 Ie extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=Ve}}function Ve(){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}Ie.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 Re extends((0,x.ObservableMixin)(Ie)){constructor(e,t,i,o){super(e,t,i,o),this.set("isReadOnly",!1),this.set("isFocused",!1),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()}}Re.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 Oe=Symbol("rootName");class Be extends Re{constructor(e,t){super(e,t),this.rootName="main"}get rootName(){return this.getCustomProperty(Oe)}set rootName(e){this._setCustomProperty(Oe,e)}set _name(e){this.name=e}}Be.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 Me{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new x.CKEditorError("view-tree-walker-no-start-position",null);if(e.direction&&"forward"!=e.direction&&"backward"!=e.direction)throw new x.CKEditorError("view-tree-walker-unknown-direction",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this._position=ze._createAt(e.startPosition):this._position=ze._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,i;do{i=this.position,t=this.next()}while(!t.done&&e(t.value));t.done||(this._position=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let e=this.position.clone();const t=this.position,i=e.parent;if(null===i.parent&&e.offset===i.childCount)return{done:!0,value:void 0};if(i===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let o;if(i instanceof P){if(e.isAtEnd)return this._position=ze._createAfter(i),this._next();o=i.data[e.offset]}else o=i.getChild(e.offset);if(o instanceof Se)return this.shallow?e.offset++:e=new ze(o,0),this._position=e,this._formatReturnValue("elementStart",o,t,e,1);if(o instanceof P){if(this.singleCharacters)return e=new ze(o,0),this._position=e,this._next();{let i,n=o.data.length;return o==this._boundaryEndParent?(n=this.boundaries.end.offset,i=new I(o,0,n),e=ze._createAfter(i)):(i=new I(o,0,o.data.length),e.offset++),this._position=e,this._formatReturnValue("text",i,t,e,n)}}if("string"==typeof o){let o;o=this.singleCharacters?1:(i===this._boundaryEndParent?this.boundaries.end.offset:i.data.length)-e.offset;const n=new I(i,e.offset,o);return e.offset+=o,this._position=e,this._formatReturnValue("text",n,t,e,o)}return e=ze._createAfter(i),this._position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",i,t,e)}_previous(){let e=this.position.clone();const t=this.position,i=e.parent;if(null===i.parent&&0===e.offset)return{done:!0,value:void 0};if(i==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let o;if(i instanceof P){if(e.isAtStart)return this._position=ze._createBefore(i),this._previous();o=i.data[e.offset-1]}else o=i.getChild(e.offset-1);if(o instanceof Se)return this.shallow?(e.offset--,this._position=e,this._formatReturnValue("elementStart",o,t,e,1)):(e=new ze(o,o.childCount),this._position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",o,t,e));if(o instanceof P){if(this.singleCharacters)return e=new ze(o,o.data.length),this._position=e,this._previous();{let i,n=o.data.length;if(o==this._boundaryStartParent){const t=this.boundaries.start.offset;i=new I(o,t,o.data.length-t),n=i.data.length,e=ze._createBefore(i)}else i=new I(o,0,o.data.length),e.offset--;return this._position=e,this._formatReturnValue("text",i,t,e,n)}}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{const t=i===this._boundaryStartParent?this.boundaries.start.offset:0;o=e.offset-t}e.offset-=o;const n=new I(i,e.offset,o);return this._position=e,this._formatReturnValue("text",n,t,e,o)}return e=ze._createBefore(i),this._position=e,this._formatReturnValue("elementStart",i,t,e,1)}_formatReturnValue(e,t,i,o,n){return t instanceof I&&(t.offsetInText+t.data.length==t.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?i=ze._createAfter(t.textNode):(o=ze._createAfter(t.textNode),this._position=o)),0===t.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?i=ze._createBefore(t.textNode):(o=ze._createBefore(t.textNode),this._position=o))),{done:!1,value:{type:e,item:t,previousPosition:i,nextPosition:o,length:n}}}}class ze extends A{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 Re);){if(!e.parent)return null;e=e.parent}return e}getShiftedBy(e){const t=ze._createAt(this),i=t.offset+e;return t.offset=i<0?0:i,t}getLastMatchingPosition(e,t={}){t.startPosition=this;const i=new Me(t);return i.skip(e),i.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const t=this.getAncestors(),i=e.getAncestors();let o=0;for(;t[o]==i[o]&&t[o];)o++;return 0===o?null:t[o-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():[],i=e.parent.is("node")?e.parent.getPath():[];t.push(this.offset),i.push(e.offset);const o=(0,x.compareArrays)(t,i);switch(o){case"prefix":return"before";case"extension":return"after";default:return t[o]<i[o]?"before":"after"}}getWalker(e={}){return e.startPosition=this,new Me(e)}clone(){return new ze(this.parent,this.offset)}static _createAt(e,t){if(e instanceof ze)return new this(e.parent,e.offset);{const i=e;if("end"==t)t=i.is("$text")?i.data.length:i.childCount;else{if("before"==t)return this._createBefore(i);if("after"==t)return this._createAfter(i);if(0!==t&&!t)throw new x.CKEditorError("view-createpositionat-offset-required",i)}return new ze(i,t)}}static _createAfter(e){if(e.is("$textProxy"))return new ze(e.textNode,e.offsetInText+e.data.length);if(!e.parent)throw new x.CKEditorError("view-position-after-root",e,{root:e});return new ze(e.parent,e.index+1)}static _createBefore(e){if(e.is("$textProxy"))return new ze(e.textNode,e.offsetInText);if(!e.parent)throw new x.CKEditorError("view-position-before-root",e,{root:e});return new ze(e.parent,e.index)}}ze.prototype.is=function(e){return"position"===e||"view:position"===e};class Ne extends A{constructor(e,t=null){super(),this.start=e.clone(),this.end=t?t.clone():e.clone()}*[Symbol.iterator](){yield*new Me({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(De,{direction:"backward"}),t=this.end.getLastMatchingPosition(De);return e.parent.is("$text")&&e.isAtStart&&(e=ze._createBefore(e.parent)),t.parent.is("$text")&&t.isAtEnd&&(t=ze._createAfter(t.parent)),new Ne(e,t)}getTrimmed(){let e=this.start.getLastMatchingPosition(De);if(e.isAfter(this.end)||e.isEqual(this.end))return new Ne(e,e);let t=this.end.getLastMatchingPosition(De,{direction:"backward"});const i=e.nodeAfter,o=t.nodeBefore;return i&&i.is("$text")&&(e=new ze(i,0)),o&&o.is("$text")&&(t=new ze(o,o.data.length)),new Ne(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 i=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),o=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return i&&o}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new Ne(this.start,e.start)),this.containsPosition(e.end)&&t.push(new Ne(e.end,this.end))):t.push(this.clone()),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,i=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(i=e.end),new Ne(t,i)}return null}getWalker(e={}){return e.boundaries=this,new Me(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 Ne(this.start,this.end)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new Me(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new Me(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,i,o){return new this(new ze(e,t),new ze(i,o))}static _createFromPositionAndShift(e,t){const i=e,o=e.getShiftedBy(t);return t>0?new this(i,o):new this(o,i)}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(ze._createBefore(e),t)}}function De(e){return!(!e.item.is("attributeElement")&&!e.item.is("uiElement"))}Ne.prototype.is=function(e){return"range"===e||"view:range"===e};class Le extends((0,x.EmitterMixin)(A)){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 i=!1;for(const o of e._ranges)if(t.isEqual(o)){i=!0;break}if(!i)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const t=(0,x.count)(this.getRanges());if(t!=(0,x.count)(e.getRanges()))return!1;if(0==t)return!0;for(let t of this.getRanges()){t=t.getTrimmed();let i=!1;for(let o of e.getRanges())if(o=o.getTrimmed(),t.start.isEqual(o.start)&&t.end.isEqual(o.end)){i=!0;break}if(!i)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...e){let[t,i,o]=e;if("object"==typeof i&&(o=i,i=void 0),null===t)this._setRanges([]),this._setFakeOptions(o);else if(t instanceof Le||t instanceof Fe)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof Ne)this._setRanges([t],o&&o.backward),this._setFakeOptions(o);else if(t instanceof ze)this._setRanges([new Ne(t)]),this._setFakeOptions(o);else if(t instanceof S){const e=!!o&&!!o.backward;let n;if(void 0===i)throw new x.CKEditorError("view-selection-setto-required-second-parameter",this);n="in"==i?Ne._createIn(t):"on"==i?Ne._createOn(t):new Ne(ze._createAt(t,i)),this._setRanges([n],e),this._setFakeOptions(o)}else{if(!(0,x.isIterable)(t))throw new x.CKEditorError("view-selection-setto-not-selectable",this);this._setRanges(t,o&&o.backward),this._setFakeOptions(o)}this.fire("change")}setFocus(e,t){if(null===this.anchor)throw new x.CKEditorError("view-selection-setfocus-no-ranges",this);const i=ze._createAt(e,t);if("same"==i.compareWith(this.focus))return;const o=this.anchor;this._ranges.pop(),"before"==i.compareWith(o)?this._addRange(new Ne(i,o),!0):this._addRange(new Ne(o,i)),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 Ne))throw new x.CKEditorError("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 x.CKEditorError("view-selection-range-intersects",this,{addedRange:e,intersectingRange:t});this._ranges.push(new Ne(e.start,e.end))}}Le.prototype.is=function(e){return"selection"===e||"view:selection"===e};class Fe extends((0,x.EmitterMixin)(A)){constructor(...e){super(),this._selection=new Le,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)}}Fe.prototype.is=function(e){return"selection"===e||"documentSelection"==e||"view:selection"==e||"view:documentSelection"==e};class He extends x.EventInfo{constructor(e,t,i){super(e,t),this.startRange=i,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const We=Symbol("bubbling contexts");function Ze(e){return class extends e{fire(e,...t){try{const i=e instanceof x.EventInfo?e:new x.EventInfo(this,e),o=qe(this);if(!o.size)return;if(Ue(i,"capturing",this),je(o,"$capture",i,...t))return i.return;const n=i.startRange||this.selection.getFirstRange(),r=n?n.getContainedElement():null,s=!!r&&Boolean($e(o,r));let a=r||function(e){if(!e)return null;const t=e.start.parent,i=e.end.parent,o=t.getPath(),n=i.getPath();return o.length>n.length?t:i}(n);if(Ue(i,"atTarget",a),!s){if(je(o,"$text",i,...t))return i.return;Ue(i,"bubbling",a)}for(;a;){if(a.is("rootElement")){if(je(o,"$root",i,...t))return i.return}else if(a.is("element")&&je(o,a.name,i,...t))return i.return;if(je(o,a,i,...t))return i.return;a=a.parent,Ue(i,"bubbling",a)}return Ue(i,"bubbling",this),je(o,"$document",i,...t),i.return}catch(e){x.CKEditorError.rethrowUnexpectedError(e,this)}}_addEventListener(e,t,i){const o=(0,x.toArray)(i.context||"$document"),n=qe(this);for(const r of o){let o=n.get(r);o||(o=new((0,x.EmitterMixin)()),n.set(r,o)),this.listenTo(o,e,t,i)}}_removeEventListener(e,t){const i=qe(this);for(const o of i.values())this.stopListening(o,e,t)}}}{const e=Ze(Object);["fire","_addEventListener","_removeEventListener"].forEach((t=>{Ze[t]=e.prototype[t]}))}function Ue(e,t,i){e instanceof He&&(e._eventPhase=t,e._currentTarget=i)}function je(e,t,i,...o){const n="string"==typeof t?e.get(t):$e(e,t);return!!n&&(n.fire(i,...o),i.stop.called)}function $e(e,t){for(const[i,o]of e)if("function"==typeof i&&i(t))return o;return null}function qe(e){return e[We]||(e[We]=new Map),e[We]}class Ke extends(Ze((0,x.ObservableMixin)())){constructor(e){super(),this._postFixers=new Set,this.selection=new Fe,this.roots=new x.Collection({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.map((e=>e.destroy())),this.stopListening()}_callPostFixers(e){let t=!1;do{for(const i of this._postFixers)if(t=i(e),t)break}while(t)}}class Ge extends Se{constructor(e,t,i,o){super(e,t,i,o),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=Je}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new x.CKEditorError("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 Je(){if(Ye(this))return null;let e=this.parent;for(;e&&e.is("attributeElement");){if(Ye(e)>1)return null;e=e.parent}return!e||Ye(e)>1?null:this.childCount}function Ye(e){return Array.from(e.getChildren()).filter((e=>!e.is("uiElement"))).length}Ge.DEFAULT_PRIORITY=10,Ge.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 Qe extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=Xe}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new x.CKEditorError("view-emptyelement-cannot-add",[this,t]);return 0}}function Xe(){return null}Qe.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 et extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=tt}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new x.CKEditorError("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 tt(){return null}et.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 it extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=ot}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new x.CKEditorError("view-rawelement-cannot-add",[this,t]);return 0}render(e,t){}}function ot(){return null}it.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 nt extends((0,x.EmitterMixin)(A)){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(){}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 i=0;const o=function(e,t){return"string"==typeof t?[new P(e,t)]:((0,x.isIterable)(t)||(t=[t]),Array.from(t).map((t=>"string"==typeof t?new P(e,t):t instanceof I?new P(e,t.data):t)))}(this.document,t);for(const t of o)null!==t.parent&&t._remove(),t.parent=this,this._children.splice(e,0,t),e++,i++;return i}_removeChildren(e,t=1){this._fireChange("children",this);for(let i=e;i<e+t;i++)this._children[i].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)}}nt.prototype.is=function(e){return"documentFragment"===e||"view:documentFragment"===e};class rt{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 nt(this.document,e)}createText(e){return new P(this.document,e)}createAttributeElement(e,t,i={}){const o=new Ge(this.document,e,t);return"number"==typeof i.priority&&(o._priority=i.priority),i.id&&(o._id=i.id),i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createContainerElement(e,t,i={},o={}){let n=null;(0,V.Z)(i)?o=i:n=i;const r=new Ie(this.document,e,t,n);return o.renderUnsafeAttributes&&r._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),r}createEditableElement(e,t,i={}){const o=new Re(this.document,e,t);return i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createEmptyElement(e,t,i={}){const o=new Qe(this.document,e,t);return i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createUIElement(e,t,i){const o=new et(this.document,e,t);return i&&(o.render=i),o}createRawElement(e,t,i,o={}){const n=new it(this.document,e,t);return i&&(n.render=i),o.renderUnsafeAttributes&&n._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),n}setAttribute(e,t,i){i._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,i){(0,V.Z)(e)&&void 0===i?t._setStyle(e):i._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,i){i._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}breakAttributes(e){return e instanceof ze?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const t=e.parent;if(!t.is("containerElement"))throw new x.CKEditorError("view-writer-break-non-container-element",this.document);if(!t.parent)throw new x.CKEditorError("view-writer-break-root",this.document);if(e.isAtStart)return ze._createBefore(t);if(!e.isAtEnd){const i=t._clone(!1);this.insert(ze._createAfter(t),i);const o=new Ne(e,ze._createAt(t,"end")),n=new ze(i,0);this.move(o,n)}return ze._createAfter(t)}mergeAttributes(e){const t=e.offset,i=e.parent;if(i.is("$text"))return e;if(i.is("attributeElement")&&0===i.childCount){const e=i.parent,t=i.index;return i._remove(),this._removeFromClonedElementsGroup(i),this.mergeAttributes(new ze(e,t))}const o=i.getChild(t-1),n=i.getChild(t);if(!o||!n)return e;if(o.is("$text")&&n.is("$text"))return ct(o,n);if(o.is("attributeElement")&&n.is("attributeElement")&&o.isSimilar(n)){const e=o.childCount;return o._appendChild(n.getChildren()),n._remove(),this._removeFromClonedElementsGroup(n),this.mergeAttributes(new ze(o,e))}return e}mergeContainers(e){const t=e.nodeBefore,i=e.nodeAfter;if(!(t&&i&&t.is("containerElement")&&i.is("containerElement")))throw new x.CKEditorError("view-writer-merge-containers-invalid-position",this.document);const o=t.getChild(t.childCount-1),n=o instanceof P?ze._createAt(o,"end"):ze._createAt(t,"end");return this.move(Ne._createIn(i),ze._createAt(t,"end")),this.remove(Ne._createOn(i)),n}insert(e,t){ut(t=(0,x.isIterable)(t)?[...t]:[t],this.document);const i=t.reduce(((e,t)=>{const i=e[e.length-1],o=!t.is("uiElement");return i&&i.breakAttributes==o?i.nodes.push(t):e.push({breakAttributes:o,nodes:[t]}),e}),[]);let o=null,n=e;for(const{nodes:e,breakAttributes:t}of i){const i=this._insertNodes(n,e,t);o||(o=i.start),n=i.end}return o?new Ne(o,n):new Ne(e)}remove(e){const t=e instanceof Ne?e:Ne._createOn(e);if(mt(t,this.document),t.isCollapsed)return new nt(this.document);const{start:i,end:o}=this._breakAttributesRange(t,!0),n=i.parent,r=o.offset-i.offset,s=n._removeChildren(i.offset,r);for(const e of s)this._removeFromClonedElementsGroup(e);const a=this.mergeAttributes(i);return t.start=a,t.end=a.clone(),new nt(this.document,s)}clear(e,t){mt(e,this.document);const i=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const o of i){const i=o.item;let n;if(i.is("element")&&t.isSimilar(i))n=Ne._createOn(i);else if(!o.nextPosition.isAfter(e.start)&&i.is("$textProxy")){const e=i.getAncestors().find((e=>e.is("element")&&t.isSimilar(e)));e&&(n=Ne._createIn(e))}n&&(n.end.isAfter(e.end)&&(n.end=e.end),n.start.isBefore(e.start)&&(n.start=e.start),this.remove(n))}}move(e,t){let i;if(t.isAfter(e.end)){const o=(t=this._breakAttributes(t,!0)).parent,n=o.childCount;e=this._breakAttributesRange(e,!0),i=this.remove(e),t.offset+=o.childCount-n}else i=this.remove(e);return this.insert(t,i)}wrap(e,t){if(!(t instanceof Ge))throw new x.CKEditorError("view-writer-wrap-invalid-attribute",this.document);if(mt(e,this.document),e.isCollapsed){let o=e.start;o.parent.is("element")&&(i=o.parent,!Array.from(i.getChildren()).some((e=>!e.is("uiElement"))))&&(o=o.getLastMatchingPosition((e=>e.item.is("uiElement")))),o=this._wrapPosition(o,t);const n=this.document.selection;return n.isCollapsed&&n.getFirstPosition().isEqual(e.start)&&this.setSelection(o),new Ne(o)}return this._wrapRange(e,t);var i}unwrap(e,t){if(!(t instanceof Ge))throw new x.CKEditorError("view-writer-unwrap-invalid-attribute",this.document);if(mt(e,this.document),e.isCollapsed)return e;const{start:i,end:o}=this._breakAttributesRange(e,!0),n=i.parent,r=this._unwrapChildren(n,i.offset,o.offset,t),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new Ne(s,a)}rename(e,t){const i=new Ie(this.document,e,t.getAttributes());return this.insert(ze._createAfter(t),i),this.move(Ne._createIn(t),ze._createAt(i,0)),this.remove(Ne._createOn(t)),i}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,t){return ze._createAt(e,t)}createPositionAfter(e){return ze._createAfter(e)}createPositionBefore(e){return ze._createBefore(e)}createRange(e,t){return new Ne(e,t)}createRangeOn(e){return Ne._createOn(e)}createRangeIn(e){return Ne._createIn(e)}createSelection(...e){return new Le(...e)}createSlot(e="children"){if(!this._slotFactory)throw new x.CKEditorError("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,i){let o,n;if(o=i?st(e):e.parent.is("$text")?e.parent.parent:e.parent,!o)throw new x.CKEditorError("view-writer-invalid-position-container",this.document);n=i?this._breakAttributes(e,!0):e.parent.is("$text")?lt(e):e;const r=o._insertChild(n.offset,t);for(const e of t)this._addToClonedElementsGroup(e);const s=n.getShiftedBy(r),a=this.mergeAttributes(n);a.isEqual(n)||s.offset--;const l=this.mergeAttributes(s);return new Ne(a,l)}_wrapChildren(e,t,i,o){let n=t;const r=[];for(;n<i;){const t=e.getChild(n),i=t.is("$text"),l=t.is("attributeElement");if(l&&this._wrapAttributeElement(o,t))r.push(new ze(e,n));else if(i||!l||(a=t,(s=o).priority<a.priority||!(s.priority>a.priority)&&s.getIdentity()<a.getIdentity())){const i=o._clone();t._remove(),i._appendChild(t),e._insertChild(n,i),this._addToClonedElementsGroup(i),r.push(new ze(e,n))}else this._wrapChildren(t,0,t.childCount,o);n++}var s,a;let l=0;for(const e of r)e.offset-=l,e.offset!=t&&(this.mergeAttributes(e).isEqual(e)||(l++,i--));return Ne._createFromParentsAndOffsets(e,t,e,i)}_unwrapChildren(e,t,i,o){let n=t;const r=[];for(;n<i;){const t=e.getChild(n);if(t.is("attributeElement"))if(t.isSimilar(o)){const o=t.getChildren(),s=t.childCount;t._remove(),e._insertChild(n,o),this._removeFromClonedElementsGroup(t),r.push(new ze(e,n),new ze(e,n+s)),n+=s,i+=s-1}else this._unwrapAttributeElement(o,t)?(r.push(new ze(e,n),new ze(e,n+1)),n++):(this._unwrapChildren(t,0,t.childCount,o),n++);else n++}let s=0;for(const e of r)e.offset-=s,e.offset!=t&&e.offset!=i&&(this.mergeAttributes(e).isEqual(e)||(s++,i--));return Ne._createFromParentsAndOffsets(e,t,e,i)}_wrapRange(e,t){const{start:i,end:o}=this._breakAttributesRange(e,!0),n=i.parent,r=this._wrapChildren(n,i.offset,o.offset,t),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new Ne(s,a)}_wrapPosition(e,t){if(t.isSimilar(e.parent))return at(e.clone());e.parent.is("$text")&&(e=lt(e));const i=this.createAttributeElement("_wrapPosition-fake-element");i._priority=Number.POSITIVE_INFINITY,i.isSimilar=()=>!1,e.parent._insertChild(e.offset,i);const o=new Ne(e,e.getShiftedBy(1));this.wrap(o,t);const n=new ze(i.parent,i.index);i._remove();const r=n.nodeBefore,s=n.nodeAfter;return r instanceof P&&s instanceof P?ct(r,s):at(n)}_wrapAttributeElement(e,t){if(!gt(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const i of e.getAttributeKeys())if("class"!==i&&"style"!==i&&t.hasAttribute(i)&&t.getAttribute(i)!==e.getAttribute(i))return!1;for(const i of e.getStyleNames())if(t.hasStyle(i)&&t.getStyle(i)!==e.getStyle(i))return!1;for(const i of e.getAttributeKeys())"class"!==i&&"style"!==i&&(t.hasAttribute(i)||this.setAttribute(i,e.getAttribute(i),t));for(const i of e.getStyleNames())t.hasStyle(i)||this.setStyle(i,e.getStyle(i),t);for(const i of e.getClassNames())t.hasClass(i)||this.addClass(i,t);return!0}_unwrapAttributeElement(e,t){if(!gt(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const i of e.getAttributeKeys())if("class"!==i&&"style"!==i&&(!t.hasAttribute(i)||t.getAttribute(i)!==e.getAttribute(i)))return!1;if(!t.hasClass(...e.getClassNames()))return!1;for(const i of e.getStyleNames())if(!t.hasStyle(i)||t.getStyle(i)!==e.getStyle(i))return!1;for(const i of e.getAttributeKeys())"class"!==i&&"style"!==i&&this.removeAttribute(i,t);return this.removeClass(Array.from(e.getClassNames()),t),this.removeStyle(Array.from(e.getStyleNames()),t),!0}_breakAttributesRange(e,t=!1){const i=e.start,o=e.end;if(mt(e,this.document),e.isCollapsed){const i=this._breakAttributes(e.start,t);return new Ne(i,i)}const n=this._breakAttributes(o,t),r=n.parent.childCount,s=this._breakAttributes(i,t);return n.offset+=n.parent.childCount-r,new Ne(s,n)}_breakAttributes(e,t=!1){const i=e.offset,o=e.parent;if(e.parent.is("emptyElement"))throw new x.CKEditorError("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new x.CKEditorError("view-writer-cannot-break-ui-element",this.document);if(e.parent.is("rawElement"))throw new x.CKEditorError("view-writer-cannot-break-raw-element",this.document);if(!t&&o.is("$text")&&ht(o.parent))return e.clone();if(ht(o))return e.clone();if(o.is("$text"))return this._breakAttributes(lt(e),t);if(i==o.childCount){const e=new ze(o.parent,o.index+1);return this._breakAttributes(e,t)}if(0===i){const e=new ze(o.parent,o.index);return this._breakAttributes(e,t)}{const e=o.index+1,n=o._clone();o.parent._insertChild(e,n),this._addToClonedElementsGroup(n);const r=o.childCount-i,s=o._removeChildren(i,r);n._appendChild(s);const a=new ze(o.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 i=this._cloneGroups.get(t);i||(i=new Set,this._cloneGroups.set(t,i)),i.add(e),e._clonesGroup=i}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const t of e.getChildren())this._removeFromClonedElementsGroup(t);const t=e.id;if(!t)return;const i=this._cloneGroups.get(t);i&&i.delete(e)}}function st(e){let t=e.parent;for(;!ht(t);){if(!t)return;t=t.parent}return t}function at(e){const t=e.nodeBefore;if(t&&t.is("$text"))return new ze(t,t.data.length);const i=e.nodeAfter;return i&&i.is("$text")?new ze(i,0):e}function lt(e){if(e.offset==e.parent.data.length)return new ze(e.parent.parent,e.parent.index+1);if(0===e.offset)return new ze(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 P(e.root.document,t)),new ze(e.parent.parent,e.parent.index+1)}function ct(e,t){const i=e.data.length;return e._data+=t.data,t._remove(),new ze(e,i)}const dt=[P,Ge,Ie,Qe,it,et];function ut(e,t){for(const i of e){if(!dt.some((e=>i instanceof e)))throw new x.CKEditorError("view-writer-insert-invalid-node-type",t);i.is("$text")||ut(i.getChildren(),t)}}function ht(e){return e&&(e.is("containerElement")||e.is("documentFragment"))}function mt(e,t){const i=st(e.start),o=st(e.end);if(!i||!o||i!==o)throw new x.CKEditorError("view-writer-invalid-range-container",t)}function gt(e,t){return null===e.id&&null===t.id}const pt=e=>e.createTextNode(" "),ft=e=>{const t=e.createElement("span");return t.dataset.ckeFiller="true",t.innerText=" ",t},bt=e=>{const t=e.createElement("br");return t.dataset.ckeFiller="true",t},wt=7,kt="⁠".repeat(wt);function _t(e){return(0,x.isText)(e)&&e.data.substr(0,wt)===kt}function vt(e){return e.data.length==wt&&_t(e)}function yt(e){return _t(e)?e.data.slice(wt):e.data}function Ct(e,t){if(t.keyCode==x.keyCodes.arrowleft){const e=t.domTarget.ownerDocument.defaultView.getSelection();if(1==e.rangeCount&&e.getRangeAt(0).collapsed){const t=e.getRangeAt(0).startContainer,i=e.getRangeAt(0).startOffset;_t(t)&&i<=wt&&e.collapse(t,0)}}}var xt=i(5037),At={attributes:{"data-cke":!0}};At.setAttributes=d(),At.insert=l().bind(null,"head"),At.domAPI=s(),At.insertStyleElement=h(),n()(xt.Z,At),xt.Z&&xt.Z.locals&&xt.Z.locals;class Et extends((0,x.ObservableMixin)()){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),x.env.isBlink&&!x.env.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()})),this.set("isComposing",!1),this.on("change:isComposing",(()=>{this.isComposing||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 x.CKEditorError("view-renderer-unknown-type",this);this.markedChildren.add(t)}}}render(){if(this.isComposing&&!x.env.isAndroid)return;let e=null;const t=!(x.env.isBlink&&!x.env.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=ze._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),i=t.parent.ownerDocument;_t(t.parent)?this._inlineFiller=t.parent:this._inlineFiller=Tt(i,t.parent,t.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){if(!this.domConverter.mapViewToDom(e))return;const t=Array.from(this.domConverter.mapViewToDom(e).childNodes),i=Array.from(this.domConverter.viewChildrenToDom(e,{withChildren:!1})),o=this._diffNodeLists(t,i),n=this._findUpdateActions(o,t,i,St);if(-1!==n.indexOf("update")){const o={equal:0,insert:0,delete:0};for(const r of n)if("update"===r){const n=o.equal+o.insert,r=o.equal+o.delete,s=e.getChild(n);!s||s.is("uiElement")||s.is("rawElement")||this._updateElementMappings(s,t[r]),(0,x.remove)(i[n]),o.equal++}else o[r]++}}_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")?ze._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,x.isText)(t.parent)&&_t(t.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!_t(e))throw new x.CKEditorError("view-renderer-filler-was-lost",this);vt(e)?e.remove():e.data=e.data.substr(wt),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=e.parent,i=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;if(i===t.getFillerOffset())return!1;const o=e.nodeBefore,n=e.nodeAfter;return!(o instanceof P||n instanceof P||x.env.isAndroid&&(o||n))}_updateText(e,t){const i=this.domConverter.findCorrespondingDomText(e);let o=this.domConverter.viewToDom(e).data;const n=t.inlineFillerPosition;n&&n.parent==e.parent&&n.offset==e.index&&(o=kt+o),Vt(i,o)}_updateAttrs(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const i=Array.from(t.attributes).map((e=>e.name)),o=e.getAttributeKeys();for(const i of o)this.domConverter.setDomElementAttribute(t,i,e.getAttribute(i),e);for(const o of i)e.hasAttribute(o)||this.domConverter.removeDomElementAttribute(t,o)}_updateChildren(e,t){const i=this.domConverter.mapViewToDom(e);if(!i)return;if(x.env.isAndroid){let e=null;for(const t of Array.from(i.childNodes)){if(e&&(0,x.isText)(e)&&(0,x.isText)(t)){i.normalize();break}e=t}}const o=t.inlineFillerPosition,n=i.childNodes,r=Array.from(this.domConverter.viewChildrenToDom(e,{bind:!0}));o&&o.parent===e&&Tt(i.ownerDocument,r,o.offset);const s=this._diffNodeLists(n,r),a=this._findUpdateActions(s,n,r,Pt);let l=0;const c=new Set;for(const e of a)"delete"===e?(c.add(n[l]),(0,x.remove)(n[l])):"equal"!==e&&"update"!==e||l++;l=0;for(const e of a)"insert"===e?((0,x.insertAt)(i,l,r[l]),l++):"update"===e?(Vt(n[l],r[l].data),l++):"equal"===e&&(this._markDescendantTextToSync(this.domConverter.domToView(r[l])),l++);for(const e of c)e.parentNode||this.domConverter.unbindDomElement(e)}_diffNodeLists(e,t){return e=function(e,t){const i=Array.from(e);if(0==i.length||!t)return i;return i[i.length-1]==t&&i.pop(),i}(e,this._fakeSelectionContainer),(0,x.diff)(e,t,It.bind(null,this.domConverter))}_findUpdateActions(e,t,i,o){if(-1===e.indexOf("insert")||-1===e.indexOf("delete"))return e;let n=[],r=[],s=[];const a={equal:0,insert:0,delete:0};for(const l of e)"insert"===l?s.push(i[a.equal+a.insert]):"delete"===l?r.push(t[a.equal+a.delete]):(n=n.concat((0,x.diff)(r,s,o).map((e=>"equal"===e?"update":e))),n.push("equal"),r=[],s=[]),a[l]++;return n.concat((0,x.diff)(r,s,o).map((e=>"equal"===e?"update":e)))}_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(x.env.isBlink&&!x.env.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&&x.env.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 i=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(i,this.selection),!this._fakeSelectionNeedsUpdate(e))return;i.parentElement&&i.parentElement==e||e.appendChild(i),i.textContent=this.selection.fakeSelectionLabel||" ";const o=t.getSelection(),n=t.createRange();o.removeAllRanges(),n.selectNodeContents(i),o.addRange(n)}_updateDomSelection(e){const t=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(t))return;const i=this.domConverter.viewPositionToDom(this.selection.anchor),o=this.domConverter.viewPositionToDom(this.selection.focus);t.collapse(i.parent,i.offset),t.extend(o.parent,o.offset),x.env.isGecko&&function(e,t){const i=e.parent;if(i.nodeType!=Node.ELEMENT_NODE||e.offset!=i.childNodes.length-1)return;const o=i.childNodes[e.offset];o&&"BR"==o.tagName&&t.addRange(t.getRangeAt(0))}(o,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,i=e.ownerDocument.getSelection();return!t||t.parentElement!==e||i.anchorNode!==t&&!t.contains(i.anchorNode)||t.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const e of this.domDocuments){const t=e.getSelection();if(t.rangeCount){const i=e.activeElement,o=this.domConverter.mapDomToView(i);i&&o&&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,i){const o=t instanceof Array?t:t.childNodes,n=o[i];if((0,x.isText)(n))return n.data=kt+n.data,n;{const n=e.createTextNode(kt);return Array.isArray(t)?o.splice(i,0,n):(0,x.insertAt)(t,i,n),n}}function St(e,t){return(0,x.isNode)(e)&&(0,x.isNode)(t)&&!(0,x.isText)(e)&&!(0,x.isText)(t)&&!(0,x.isComment)(e)&&!(0,x.isComment)(t)&&e.tagName.toLowerCase()===t.tagName.toLowerCase()}function Pt(e,t){return(0,x.isNode)(e)&&(0,x.isNode)(t)&&(0,x.isText)(e)&&(0,x.isText)(t)}function It(e,t,i){return t===i||((0,x.isText)(t)&&(0,x.isText)(i)?t.data===i.data:!(!e.isBlockFiller(t)||!e.isBlockFiller(i)))}function Vt(e,t){const i=e.data;if(i==t)return;const o=(0,x.fastDiff)(i,t);for(const t of o)"insert"===t.type?e.insertData(t.index,t.values.join("")):e.deleteData(t.index,t.howMany)}const Rt=bt(x.global.document),Ot=pt(x.global.document),Bt=ft(x.global.document),Mt="data-ck-unsafe-attribute-",zt="data-ck-unsafe-element";class Nt{constructor(e,{blockFillerMode:t,renderingMode:i="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new R,this._encounteredRawContentDomNodes=new WeakSet,this.document=e,this.renderingMode=i,this.blockFillerMode=t||("editing"===i?"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?x.global.document:x.global.document.implementation.createHTMLDocument("")}bindFakeSelection(e,t){this._fakeSelectionMapping.set(e,new Le(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,i){return"data"===this.renderingMode||!(e=e.toLowerCase()).startsWith("on")&&("srcdoc"!==e||!t.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===i&&("src"===e||"srcset"===e)||"source"===i&&"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 i=(new DOMParser).parseFromString(t,"text/html"),o=i.createDocumentFragment(),n=i.body.childNodes;for(;n.length>0;)o.appendChild(n[0]);const r=i.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),s=[];let a;for(;a=r.nextNode();)s.push(a);for(const e of s){for(const t of e.getAttributeNames())this.setDomElementAttribute(e,t,e.getAttribute(t));const t=e.tagName.toLowerCase();this._shouldRenameElement(t)&&(Ft(t),e.replaceWith(this._createReplacementDomElement(t,e)))}for(;e.firstChild;)e.firstChild.remove();e.append(o)}viewToDom(e,t={}){if(e.is("$text")){const t=this._processDataFromViewText(e);return this._domDocument.createTextNode(t)}{if(this.mapViewToDom(e))return this.mapViewToDom(e);let i;if(e.is("documentFragment"))i=this._domDocument.createDocumentFragment(),t.bind&&this.bindDocumentFragments(i,e);else{if(e.is("uiElement"))return i="$comment"===e.name?this._domDocument.createComment(e.getCustomProperty("$rawContent")):e.render(this._domDocument,this),t.bind&&this.bindElements(i,e),i;this._shouldRenameElement(e.name)?(Ft(e.name),i=this._createReplacementDomElement(e.name)):i=e.hasAttribute("xmlns")?this._domDocument.createElementNS(e.getAttribute("xmlns"),e.name):this._domDocument.createElement(e.name),e.is("rawElement")&&e.render(i,this),t.bind&&this.bindElements(i,e);for(const t of e.getAttributeKeys())this.setDomElementAttribute(i,t,e.getAttribute(t),e)}if(!1!==t.withChildren)for(const o of this.viewChildrenToDom(e,t))i.appendChild(o);return i}}setDomElementAttribute(e,t,i,o){const n=this.shouldRenderAttribute(t,i,e.tagName.toLowerCase())||o&&o.shouldRenderUnsafeAttribute(t);n||(0,x.logWarning)("domconverter-unsafe-attribute-detected",{domElement:e,key:t,value:i}),e.hasAttribute(t)&&!n?e.removeAttribute(t):e.hasAttribute(Mt+t)&&n&&e.removeAttribute(Mt+t),e.setAttribute(n?t:Mt+t,i)}removeDomElementAttribute(e,t){t!=zt&&(e.removeAttribute(t),e.removeAttribute(Mt+t))}*viewChildrenToDom(e,t={}){const i=e.getFillerOffset&&e.getFillerOffset();let o=0;for(const n of e.getChildren()){i===o&&(yield this._getBlockFiller());const e=n.is("element")&&!!n.getCustomProperty("dataPipeline:transparentRendering")&&!(0,x.first)(n.getAttributes());e&&"data"==this.renderingMode?yield*this.viewChildrenToDom(n,t):(e&&(0,x.logWarning)("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:n}),yield this.viewToDom(n,t)),o++}i===o&&(yield this._getBlockFiller())}viewRangeToDom(e){const t=this.viewPositionToDom(e.start),i=this.viewPositionToDom(e.end),o=this._domDocument.createRange();return o.setStart(t.parent,t.offset),o.setEnd(i.parent,i.offset),o}viewPositionToDom(e){const t=e.parent;if(t.is("$text")){const i=this.findCorrespondingDomText(t);if(!i)return null;let o=e.offset;return _t(i)&&(o+=wt),{parent:i,offset:o}}{let i,o,n;if(0===e.offset){if(i=this.mapViewToDom(t),!i)return null;n=i.childNodes[0]}else{const t=e.nodeBefore;if(o=t.is("$text")?this.findCorrespondingDomText(t):this.mapViewToDom(t),!o)return null;i=o.parentNode,n=o.nextSibling}return(0,x.isText)(n)&&_t(n)?{parent:n,offset:wt}:{parent:i,offset:o?(0,x.indexOf)(o)+1:0}}}domToView(e,t={}){if(this.isBlockFiller(e))return null;const i=this.getHostViewElement(e);if(i)return i;if((0,x.isComment)(e)&&t.skipComments)return null;if((0,x.isText)(e)){if(vt(e))return null;{const t=this._processDataFromDomText(e);return""===t?null:new P(this.document,t)}}{if(this.mapDomToView(e))return this.mapDomToView(e);let i;if(this.isDocumentFragment(e))i=new nt(this.document),t.bind&&this.bindDocumentFragments(e,i);else{i=this._createViewElement(e,t),t.bind&&this.bindElements(e,i);const o=e.attributes;if(o)for(let e=o.length,t=0;t<e;t++)i._setAttribute(o[t].name,o[t].value);if(this._isViewElementWithRawContent(i,t)||(0,x.isComment)(e)){const t=(0,x.isComment)(e)?e.data:e.innerHTML;return i._setCustomProperty("$rawContent",t),this._encounteredRawContentDomNodes.add(e),i}}if(!1!==t.withChildren)for(const o of this.domChildrenToView(e,t))i._appendChild(o);return i}}*domChildrenToView(e,t){for(let i=0;i<e.childNodes.length;i++){const o=e.childNodes[i],n=this.domToView(o,t);null!==n&&(yield n)}}domSelectionToView(e){if(1===e.rangeCount){let t=e.getRangeAt(0).startContainer;(0,x.isText)(t)&&(t=t.parentNode);const i=this.fakeSelectionToView(t);if(i)return i}const t=this.isDomSelectionBackward(e),i=[];for(let t=0;t<e.rangeCount;t++){const o=e.getRangeAt(t),n=this.domRangeToView(o);n&&i.push(n)}return new Le(i,{backward:t})}domRangeToView(e){const t=this.domPositionToView(e.startContainer,e.startOffset),i=this.domPositionToView(e.endContainer,e.endOffset);return t&&i?new Ne(t,i):null}domPositionToView(e,t=0){if(this.isBlockFiller(e))return this.domPositionToView(e.parentNode,(0,x.indexOf)(e));const i=this.mapDomToView(e);if(i&&(i.is("uiElement")||i.is("rawElement")))return ze._createBefore(i);if((0,x.isText)(e)){if(vt(e))return this.domPositionToView(e.parentNode,(0,x.indexOf)(e));const i=this.findCorrespondingViewText(e);let o=t;return i?(_t(e)&&(o-=wt,o=o<0?0:o),new ze(i,o)):null}if(0===t){const t=this.mapDomToView(e);if(t)return new ze(t,0)}else{const i=e.childNodes[t-1];if((0,x.isText)(i)&&vt(i)||i&&this.isBlockFiller(i))return this.domPositionToView(i.parentNode,(0,x.indexOf)(i));const o=(0,x.isText)(i)?this.findCorrespondingViewText(i):this.mapDomToView(i);if(o&&o.parent)return new ze(o.parent,o.index+1)}return null}mapDomToView(e){return this.getHostViewElement(e)||this._domToViewMapping.get(e)}findCorrespondingViewText(e){if(vt(e))return null;const t=this.getHostViewElement(e);if(t)return t;const i=e.previousSibling;if(i){if(!this.isElement(i))return null;const e=this.mapDomToView(i);if(e){const t=e.nextSibling;return t instanceof P?t:null}}else{const t=this.mapDomToView(e.parentNode);if(t){const e=t.getChild(0);return e instanceof P?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:i}=x.global.window,o=[];Dt(t,(e=>{const{scrollLeft:t,scrollTop:i}=e;o.push([t,i])})),t.focus(),Dt(t,(e=>{const[t,i]=o.shift();e.scrollLeft=t,e.scrollTop=i})),x.global.window.scrollTo(e,i)}}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(Rt):!("BR"!==e.tagName||!Lt(e,this.blockElements)||1!==e.parentNode.childNodes.length)||e.isEqualNode(Bt)||function(e,t){return e.isEqualNode(Ot)&&Lt(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 i=t.collapsed;return t.detach(),i}getHostViewElement(e){const t=(0,x.getAncestors)(e);for(t.pop();t.length;){const e=t.pop(),i=this._domToViewMapping.get(e);if(i&&(i.is("uiElement")||i.is("rawElement")))return i}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}registerRawContentMatcher(e){this._rawContentElementMatcher.add(e)}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return pt(this._domDocument);case"markedNbsp":return ft(this._domDocument);case"br":return bt(this._domDocument)}}_isDomSelectionPositionCorrect(e,t){if((0,x.isText)(e)&&_t(e)&&t<wt)return!1;if(this.isElement(e)&&_t(e.childNodes[t]))return!1;const i=this.mapDomToView(e);return!i||!i.is("uiElement")&&!i.is("rawElement")}_processDataFromViewText(e){let t=e.data;if(e.getAncestors().some((e=>this.preElements.includes(e.name))))return t;if(" "==t.charAt(0)){const i=this._getTouchingInlineViewNode(e,!1);!(i&&i.is("$textProxy")&&this._nodeEndsWithSpace(i))&&i||(t=" "+t.substr(1))}if(" "==t.charAt(t.length-1)){const i=this._getTouchingInlineViewNode(e,!0),o=i&&i.is("$textProxy")&&" "==i.data.charAt(0);" "!=t.charAt(t.length-2)&&i&&!o||(t=t.substr(0,t.length-1)+" ")}return t.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(e){if(e.getAncestors().some((e=>this.preElements.includes(e.name))))return!1;const t=this._processDataFromViewText(e);return" "==t.charAt(t.length-1)}_processDataFromDomText(e){let t=e.data;if(function(e,t){return(0,x.getAncestors)(e).some((e=>e.tagName&&t.includes(e.tagName.toLowerCase())))}(e,this.preElements))return yt(e);t=t.replace(/[ \n\t\r]{1,}/g," ");const i=this._getTouchingInlineDomNode(e,!1),o=this._getTouchingInlineDomNode(e,!0),n=this._checkShouldLeftTrimDomText(e,i),r=this._checkShouldRightTrimDomText(e,o);n&&(t=t.replace(/^ /,"")),r&&(t=t.replace(/ $/,"")),t=yt(new Text(t)),t=t.replace(/ \u00A0/g,"  ");const s=o&&this.isElement(o)&&"BR"!=o.tagName,a=o&&(0,x.isText)(o)&&" "==o.data.charAt(0);return(/( |\u00A0)\u00A0$/.test(t)||!o||s||a)&&(t=t.replace(/\u00A0$/," ")),(n||i&&this.isElement(i)&&"BR"!=i.tagName)&&(t=t.replace(/^\u00A0/," ")),t}_checkShouldLeftTrimDomText(e,t){return!t||(this.isElement(t)?"BR"===t.tagName:!this._encounteredRawContentDomNodes.has(e.previousSibling)&&/[^\S\u00A0]/.test(t.data.charAt(t.data.length-1)))}_checkShouldRightTrimDomText(e,t){return!t&&!_t(e)}_getTouchingInlineViewNode(e,t){const i=new Me({startPosition:t?ze._createAfter(e):ze._createBefore(e),direction:t?"forward":"backward"});for(const e of i){if(e.item.is("element")&&this.inlineObjectElements.includes(e.item.name))return e.item;if(e.item.is("containerElement"))return null;if(e.item.is("element","br"))return null;if(e.item.is("$textProxy"))return e.item}return null}_getTouchingInlineDomNode(e,t){if(!e.parentNode)return null;const i=t?"firstChild":"lastChild",o=t?"nextSibling":"previousSibling";let n=!0,r=e;do{if(!n&&r[i]?r=r[i]:r[o]?(r=r[o],n=!1):(r=r.parentNode,n=!0),!r||this._isBlockElement(r))return null}while(!(0,x.isText)(r)&&"BR"!=r.tagName&&!this._isInlineObjectElement(r));return r}_isBlockElement(e){return this.isElement(e)&&this.blockElements.includes(e.tagName.toLowerCase())}_isInlineObjectElement(e){return this.isElement(e)&&this.inlineObjectElements.includes(e.tagName.toLowerCase())}_createViewElement(e,t){if((0,x.isComment)(e))return new et(this.document,"$comment");const i=t.keepOriginalCase?e.tagName:e.tagName.toLowerCase();return new Se(this.document,i)}_isViewElementWithRawContent(e,t){return!1!==t.withChildren&&!!this._rawContentElementMatcher.match(e)}_shouldRenameElement(e){const t=e.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(t)}_createReplacementDomElement(e,t){const i=this._domDocument.createElement("span");if(i.setAttribute(zt,e),t){for(;t.firstChild;)i.appendChild(t.firstChild);for(const e of t.getAttributeNames())i.setAttribute(e,t.getAttribute(e))}return i}}function Dt(e,t){let i=e;for(;i;)t(i),i=i.parentElement}function Lt(e,t){const i=e.parentNode;return!!i&&!!i.tagName&&t.includes(i.tagName.toLowerCase())}function Ft(e){"script"===e&&(0,x.logWarning)("domconverter-unsafe-script-element-detected"),"style"===e&&(0,x.logWarning)("domconverter-unsafe-style-element-detected")}class Ht extends((0,x.DomEmitterMixin)()){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 Wt=i(207);class Zt{constructor(e,t,i){this.view=e,this.document=e.document,this.domEvent=t,this.domTarget=t.target,(0,Wt.Z)(this,i)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Ut extends Ht{constructor(){super(...arguments),this.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,i){this.isEnabled&&this.document.fire(e,new Zt(this.view,t,i))}}class jt extends Ut{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,x.getCode)(this)}};this.fire(e.type,e,t)}}var $t=i(6682);class qt extends Ht{constructor(e){super(e),this._fireSelectionChangeDoneDebounced=(0,$t.Z)((e=>{this.document.fire("selectionChangeDone",e)}),200)}observe(){const e=this.document;e.on("arrowKey",((t,i)=>{e.selection.isFake&&this.isEnabled&&i.preventDefault()}),{context:"$capture"}),e.on("arrowKey",((t,i)=>{e.selection.isFake&&this.isEnabled&&this._handleSelectionMove(i.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const t=this.document.selection,i=new Le(t.getRanges(),{backward:t.isBackward,fake:!1});e!=x.keyCodes.arrowleft&&e!=x.keyCodes.arrowup||i.setTo(i.getFirstPosition()),e!=x.keyCodes.arrowright&&e!=x.keyCodes.arrowdown||i.setTo(i.getLastPosition());const o={oldSelection:t,newSelection:i,domSelection:null};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}var Kt=i(1152);const Gt=function(e,t,i){var o=(i="function"==typeof i?i:void 0)?i(e,t):void 0;return void 0===o?(0,Kt.Z)(e,t,void 0,i):!!o};class Jt extends Ht{constructor(e){super(e),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=e.domConverter,this.renderer=e._renderer,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,i=new Set,o=new Set;for(const i of e){const e=t.mapDomToView(i.target);e&&(e.is("uiElement")||e.is("rawElement")||"childList"!==i.type||this._isBogusBrMutation(i)||o.add(e))}for(const n of e){const e=t.mapDomToView(n.target);if((!e||!e.is("uiElement")&&!e.is("rawElement"))&&"characterData"===n.type){const e=t.findCorrespondingViewText(n.target);e&&!o.has(e.parent)?i.add(e):!e&&_t(n.target)&&o.add(t.mapDomToView(n.target.parentNode))}}let n=!1;for(const e of i)n=!0,this.renderer.markToSync("text",e);for(const e of o){const i=t.mapViewToDom(e),o=Array.from(e.getChildren()),r=Array.from(t.domChildrenToView(i,{withChildren:!1}));Gt(o,r,Yt)||(n=!0,this.renderer.markToSync("children",e))}n&&this.view.forceRender()}_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 Yt(e,t){if(!Array.isArray(e))return e===t||!(!e.is("$text")||!t.is("$text"))&&e.data===t.data}class Qt extends Ut{constructor(e){super(e),this._isFocusChanging=!1,this.domEventType=["focus","blur"],this.useCapture=!0;const t=this.document;t.on("focus",(()=>{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this.flush(),e.change((()=>{}))}),50)})),t.on("blur",((i,o)=>{const n=t.selection.editableElement;null!==n&&n!==o.target||(t.isFocused=!1,this._isFocusChanging=!1,e.change((()=>{})))}))}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(e){this.fire(e.type,e)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class Xt extends Ht{constructor(e){super(e),this.mutationObserver=e.getObserver(Jt),this.focusObserver=e.getObserver(Qt),this.selection=this.document.selection,this.domConverter=e.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=(0,$t.Z)((e=>{this.document.fire("selectionChangeDone",e)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=(0,$t.Z)((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(e){const t=e.ownerDocument,i=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,t),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(e,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(e,"keydown",i,{priority:"highest",useCapture:!0}),this.listenTo(e,"keyup",i,{priority:"highest",useCapture:!0}),this._documents.has(t)||(this.listenTo(t,"mouseup",i,{priority:"highest",useCapture:!0}),this.listenTo(t,"selectionchange",((e,i)=>{this.document.isComposing&&!x.env.isAndroid||(this._handleSelectionChange(i,t),this._documentIsSelectingInactivityTimeoutDebounced())})),this._documents.add(t))}stopObserving(e){this.stopListening(e)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(e,t){if(!this.isEnabled)return;const i=t.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(i.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(i);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(i))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.focusObserver.flush(),this.selection.isSimilar(o))this.view.forceRender();else{const e={oldSelection:this.selection,newSelection:o,domSelection:i};this.document.fire("selectionChange",e),this._fireSelectionChangeDoneDebounced(e)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class ei extends Ut{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 ti{constructor(e,t={}){this._files=t.cacheFiles?ii(e):null,this._native=e}get files(){return this._files||(this._files=ii(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}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function ii(e){const t=Array.from(e.files||[]),i=Array.from(e.items||[]);return t.length?t:i.filter((e=>"file"===e.kind)).map((e=>e.getAsFile()))}class oi extends Ut{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(e){const t=e.getTargetRanges(),i=this.view,o=i.document;let n=null,r=null,s=[];if(e.dataTransfer&&(n=new ti(e.dataTransfer)),null!==e.data?r=e.data:n&&(r=n.getData("text/plain")),o.selection.isFake)s=Array.from(o.selection.getRanges());else if(t.length)s=t.map((e=>i.domConverter.domRangeToView(e)));else if(x.env.isAndroid){const t=e.target.ownerDocument.defaultView.getSelection();s=Array.from(i.domConverter.domSelectionToView(t).getRanges())}if(x.env.isAndroid&&"insertCompositionText"==e.inputType&&r&&r.endsWith("\n"))this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:[i.createRange(s[0].end)]});else if("insertText"==e.inputType&&r&&r.includes("\n")){const t=r.split(/\n{1,2}/g);let i=s;for(let r=0;r<t.length;r++){const s=t[r];""!=s&&(this.fire(e.type,e,{data:s,dataTransfer:n,targetRanges:i,inputType:e.inputType,isComposing:e.isComposing}),i=[o.selection.getFirstRange()]),r+1<t.length&&(this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:i}),i=[o.selection.getFirstRange()])}}else this.fire(e.type,e,{data:r,dataTransfer:n,targetRanges:s,inputType:e.inputType,isComposing:e.isComposing})}}class ni extends Ht{constructor(e){super(e),this.document.on("keydown",((e,t)=>{if(this.isEnabled&&(0,x.isArrowKeyCode)(t.keyCode)){const i=new He(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(i,t),i.stop.called&&e.stop()}}))}observe(){}stopObserving(){}}class ri extends Ht{constructor(e){super(e);const t=this.document;t.on("keydown",((e,i)=>{if(!this.isEnabled||i.keyCode!=x.keyCodes.tab||i.ctrlKey)return;const o=new He(t,"tab",t.selection.getFirstRange());t.fire(o,i),o.stop.called&&e.stop()}))}observe(){}stopObserving(){}}class si extends((0,x.ObservableMixin)()){constructor(e){var t;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 Ke(e),this.domConverter=new Nt(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 rt(this.document),this.addObserver(Jt),this.addObserver(Qt),this.addObserver(Xt),this.addObserver(jt),this.addObserver(qt),this.addObserver(ei),this.addObserver(ni),this.addObserver(oi),this.addObserver(ri),this.document.on("arrowKey",Ct,{priority:"low"}),(t=this).document.on("arrowKey",((e,i)=>function(e,t,i){if(t.keyCode==x.keyCodes.arrowright){const e=t.domTarget.ownerDocument.defaultView.getSelection(),o=1==e.rangeCount&&e.getRangeAt(0).collapsed;if(o||t.shiftKey){const t=e.focusNode,n=e.focusOffset,r=i.domPositionToView(t,n);if(null===r)return;let s=!1;const a=r.getLastMatchingPosition((e=>(e.item.is("uiElement")&&(s=!0),!(!e.item.is("uiElement")&&!e.item.is("attributeElement")))));if(s){const t=i.viewPositionToDom(a);o?e.collapse(t.parent,t.offset):e.extend(t.parent,t.offset)}}}}(0,i,t.domConverter)),{priority:"low"}),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}))}attachDomRoot(e,t="main"){const i=this.document.getRoot(t);i._name=e.tagName.toLowerCase();const o={};for(const{name:t,value:n}of Array.from(e.attributes))o[t]=n,"class"===t?this._writer.addClass(n.split(" "),i):this._writer.setAttribute(t,n,i);this._initialDomRootAttributes.set(e,o);const n=()=>{this._writer.setAttribute("contenteditable",(!i.isReadOnly).toString(),i),i.isReadOnly?this._writer.addClass("ck-read-only",i):this._writer.removeClass("ck-read-only",i)};n(),this.domRoots.set(t,e),this.domConverter.bindElements(e,i),this._renderer.markToSync("children",i),this._renderer.markToSync("attributes",i),this._renderer.domDocuments.add(e.ownerDocument),i.on("change:children",((e,t)=>this._renderer.markToSync("children",t))),i.on("change:attributes",((e,t)=>this._renderer.markToSync("attributes",t))),i.on("change:text",((e,t)=>this._renderer.markToSync("text",t))),i.on("change:isReadOnly",(()=>this.change(n))),i.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const i of this._observers.values())i.observe(e,t)}detachDomRoot(e){const t=this.domRoots.get(e);Array.from(t.attributes).forEach((({name:e})=>t.removeAttribute(e)));const i=this._initialDomRootAttributes.get(t);for(const e in i)t.setAttribute(e,i[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,i]of this.domRoots)t.observe(i,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:i=20,ancestorOffset:o=20}={}){const n=this.document.selection.getFirstRange();n&&(0,x.scrollViewportToShowTarget)({target:this.domConverter.viewRangeToDom(n),viewportOffset:i,ancestorOffset:o,alignToTop:e,forceScroll:t})}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 x.CKEditorError("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){x.CKEditorError.rethrowUnexpectedError(e,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(Qt).flush(),this.change((()=>{}))}destroy(){for(const e of this._observers.values())e.destroy();this.document.destroy(),this.stopListening()}createPositionAt(e,t){return ze._createAt(e,t)}createPositionAfter(e){return ze._createAfter(e)}createPositionBefore(e){return ze._createBefore(e)}createRange(e,t){return new Ne(e,t)}createRangeOn(e){return Ne._createOn(e)}createRangeIn(e){return Ne._createIn(e)}createSelection(...e){return new Le(...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 ai{is(){throw new Error("is() method is abstract")}}class li extends ai{constructor(e){super(),this.parent=null,this._attrs=(0,x.toMap)(e)}get document(){return null}get index(){let e;if(!this.parent)return null;if(null===(e=this.parent.getChildIndex(this)))throw new x.CKEditorError("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 x.CKEditorError("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 i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}getCommonAncestor(e,t={}){const i=this.getAncestors(t),o=e.getAncestors(t);let n=0;for(;i[n]==o[n]&&i[n];)n++;return 0===n?null:i[n-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),i=e.getPath(),o=(0,x.compareArrays)(t,i);switch(o){case"prefix":return!0;case"extension":return!1;default:return t[o]<i[o]}}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,x.toMap)(e)}_removeAttribute(e){return this._attrs.delete(e)}_clearAttributes(){this._attrs.clear()}}li.prototype.is=function(e){return"node"===e||"model:node"===e};class ci{constructor(e){this._nodes=[],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 x.CKEditorError("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(t)}offsetToIndex(e){let t=0;for(const i of this._nodes){if(e>=t&&e<t+i.offsetSize)return this.getNodeIndex(i);t+=i.offsetSize}if(t!=e)throw new x.CKEditorError("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 li))throw new x.CKEditorError("model-nodelist-insertnodes-not-node",this);this._nodes=(0,x.spliceArray)(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 di extends li{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 di(this.data,this.getAttributes())}static fromJSON(e){return new di(e.data,e.attributes)}}di.prototype.is=function(e){return"$text"===e||"model:$text"===e||"text"===e||"model:text"===e||"node"===e||"model:node"===e};class ui extends ai{constructor(e,t,i){if(super(),this.textNode=e,t<0||t>e.offsetSize)throw new x.CKEditorError("model-textproxy-wrong-offsetintext",this);if(i<0||t+i>e.offsetSize)throw new x.CKEditorError("model-textproxy-wrong-length",this);this.data=e.data.substring(t,t+i),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 i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.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()}}ui.prototype.is=function(e){return"$textProxy"===e||"model:$textProxy"===e||"textProxy"===e||"model:textProxy"===e};class hi extends li{constructor(e,t,i){super(t),this._children=new ci,this.name=e,i&&this._insertChild(0,i)}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 i of e)t=t.getChild(t.offsetToIndex(i));return t}findAncestor(e,t={}){let i=t.includeSelf?this:this.parent;for(;i;){if(i.name===e)return i;i=i.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 hi(this.name,this.getAttributes(),t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const i=function(e){return"string"==typeof e?[new di(e)]:((0,x.isIterable)(e)||(e=[e]),Array.from(e).map((e=>"string"==typeof e?new di(e):e instanceof ui?new di(e.data,e.getAttributes()):e)))}(t);for(const e of i)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,i)}_removeChildren(e,t=1){const i=this._children._removeNodes(e,t);for(const e of i)e.parent=null;return i}static fromJSON(e){let t;if(e.children){t=[];for(const i of e.children)i.name?t.push(hi.fromJSON(i)):t.push(di.fromJSON(i))}return new hi(e.name,e.attributes,t)}}hi.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 mi{constructor(e){if(!e||!e.boundaries&&!e.startPosition)throw new x.CKEditorError("model-tree-walker-no-start-position",null);const t=e.direction||"forward";if("forward"!=t&&"backward"!=t)throw new x.CKEditorError("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=pi._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,i,o,n;do{o=this.position,n=this._visitedParent,({done:t,value:i}=this.next())}while(!t&&e(i));t||(this._position=o,this._visitedParent=n)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const e=this.position,t=this.position.clone(),i=this._visitedParent;if(null===i.parent&&t.offset===i.maxOffset)return{done:!0,value:void 0};if(i===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const o=fi(t,i),n=o||bi(t,i,o);if(n instanceof hi)return this.shallow?t.offset++:(t.path.push(0),this._visitedParent=n),this._position=t,gi("elementStart",n,e,t,1);if(n instanceof di){let o;if(this.singleCharacters)o=1;else{let e=n.endOffset;this._boundaryEndParent==i&&this.boundaries.end.offset<e&&(e=this.boundaries.end.offset),o=e-t.offset}const r=t.offset-n.startOffset,s=new ui(n,r,o);return t.offset+=o,this._position=t,gi("text",s,e,t,o)}return t.path.pop(),t.offset++,this._position=t,this._visitedParent=i.parent,this.ignoreElementEnd?this._next():gi("elementEnd",i,e,t)}_previous(){const e=this.position,t=this.position.clone(),i=this._visitedParent;if(null===i.parent&&0===t.offset)return{done:!0,value:void 0};if(i==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};const o=t.parent,n=fi(t,o),r=n||wi(t,o,n);if(r instanceof hi)return t.offset--,this.shallow?(this._position=t,gi("elementStart",r,e,t,1)):(t.path.push(r.maxOffset),this._position=t,this._visitedParent=r,this.ignoreElementEnd?this._previous():gi("elementEnd",r,e,t));if(r instanceof di){let o;if(this.singleCharacters)o=1;else{let e=r.startOffset;this._boundaryStartParent==i&&this.boundaries.start.offset>e&&(e=this.boundaries.start.offset),o=t.offset-e}const n=t.offset-r.startOffset,s=new ui(r,n-o,o);return t.offset-=o,this._position=t,gi("text",s,e,t,o)}return t.path.pop(),this._position=t,this._visitedParent=i.parent,gi("elementStart",i,e,t,1)}}function gi(e,t,i,o,n){return{done:!1,value:{type:e,item:t,previousPosition:i,nextPosition:o,length:n}}}class pi extends ai{constructor(e,t,i="toNone"){if(super(),!e.is("element")&&!e.is("documentFragment"))throw new x.CKEditorError("model-position-root-invalid",e);if(!(t instanceof Array)||0===t.length)throw new x.CKEditorError("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=i}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 x.CKEditorError("model-position-path-incorrect",this,{position:this});if(e.is("$text"))throw new x.CKEditorError("model-position-path-incorrect",this,{position:this});return e}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){return fi(this,this.parent)}get nodeAfter(){const e=this.parent;return bi(this,e,fi(this,e))}get nodeBefore(){const e=this.parent;return wi(this,e,fi(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,x.compareArrays)(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 i=new mi(t);return i.skip(e),i.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,x.compareArrays)(this.path,e.path),i="string"==typeof t?Math.min(this.path.length,e.path.length):t;return this.path.slice(0,i)}getCommonAncestor(e){const t=this.getAncestors(),i=e.getAncestors();let o=0;for(;t[o]==i[o]&&t[o];)o++;return 0===o?null:t[o-1]}getShiftedBy(e){const t=this.clone(),i=t.offset+e;return t.offset=i<0?0:i,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 i=0;i<t;i++){const t=this.path[i]-e.path[i];if(t<-1||t>1)return!1;if(1===t)return ki(e,this,i);if(-1===t)return ki(this,e,i)}return this.path.length===e.path.length||(this.path.length>e.path.length?_i(this.path,t):_i(e.path,t))}hasSameParentAs(e){if(this.root!==e.root)return!1;const t=this.getParentPath(),i=e.getParentPath();return"same"==(0,x.compareArrays)(t,i)}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=pi._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 i;return t.containsPosition(this)||t.start.isEqual(this)?(i=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(i=i._getTransformedByDeletion(e.deletionPosition,1))):i=this.isEqual(e.deletionPosition)?pi._createAt(e.deletionPosition):this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),i}_getTransformedByDeletion(e,t){const i=pi._createAt(this);if(this.root!=e.root)return i;if("same"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath())){if(e.offset<this.offset){if(e.offset+t>this.offset)return null;i.offset-=t}}else if("prefix"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath())){const o=e.path.length-1;if(e.offset<=this.path[o]){if(e.offset+t>this.path[o])return null;i.path[o]-=t}}return i}_getTransformedByInsertion(e,t){const i=pi._createAt(this);if(this.root!=e.root)return i;if("same"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath()))(e.offset<this.offset||e.offset==this.offset&&"toPrevious"!=this.stickiness)&&(i.offset+=t);else if("prefix"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath())){const o=e.path.length-1;e.offset<=this.path[o]&&(i.path[o]+=t)}return i}_getTransformedByMove(e,t,i){if(t=t._getTransformedByDeletion(e,i),e.isEqual(t))return pi._createAt(this);const o=this._getTransformedByDeletion(e,i);return null===o||e.isEqual(this)&&"toNext"==this.stickiness||e.getShiftedBy(i).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(e,t):o._getTransformedByInsertion(t,i)}_getCombined(e,t){const i=e.path.length-1,o=pi._createAt(t);return o.stickiness=this.stickiness,o.offset=o.offset+this.path[i]-e.offset,o.path=[...o.path,...this.path.slice(i+1)],o}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,i="toNone"){if(e instanceof pi)return new pi(e.root,e.path,e.stickiness);{const o=e;if("end"==t)t=o.maxOffset;else{if("before"==t)return this._createBefore(o,i);if("after"==t)return this._createAfter(o,i);if(0!==t&&!t)throw new x.CKEditorError("model-createpositionat-offset-required",[this,e])}if(!o.is("element")&&!o.is("documentFragment"))throw new x.CKEditorError("model-position-parent-incorrect",[this,e]);const n=o.getPath();return n.push(t),new this(o.root,n,i)}}static _createAfter(e,t){if(!e.parent)throw new x.CKEditorError("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 x.CKEditorError("model-position-before-root",e,{root:e});return this._createAt(e.parent,e.startOffset,t)}static fromJSON(e,t){if("$graveyard"===e.root){const i=new pi(t.graveyard,e.path);return i.stickiness=e.stickiness,i}if(!t.getRoot(e.root))throw new x.CKEditorError("model-position-fromjson-no-root",t,{rootName:e.root});return new pi(t.getRoot(e.root),e.path,e.stickiness)}}function fi(e,t){const i=t.getChild(t.offsetToIndex(e.offset));return i&&i.is("$text")&&i.startOffset<e.offset?i:null}function bi(e,t,i){return null!==i?null:t.getChild(t.offsetToIndex(e.offset))}function wi(e,t,i){return null!==i?null:t.getChild(t.offsetToIndex(e.offset)-1)}function ki(e,t,i){return i+1!==e.path.length&&!!_i(t.path,i+1)&&!!function(e,t){let i=e.parent,o=e.path.length-1,n=0;for(;o>=t;){if(e.path[o]+n!==i.maxOffset)return!1;n=1,o--,i=i.parent}return!0}(e,i+1)}function _i(e,t){for(;t<e.length;){if(0!==e[t])return!1;t++}return!0}pi.prototype.is=function(e){return"position"===e||"model:position"===e};class vi extends ai{constructor(e,t){super(),this.start=pi._createAt(e),this.end=t?pi._createAt(t):pi._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new mi({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,x.compareArrays)(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 i=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),o=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return i&&o}containsItem(e){const t=pi._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 vi(this.start,e.start)),this.containsPosition(e.end)&&t.push(new vi(e.end,this.end))):t.push(new vi(this.start,this.end)),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,i=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(i=e.end),new vi(t,i)}return null}getJoined(e,t=!1){let i=this.isIntersecting(e);if(i||(i=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)),!i)return null;let o=this.start,n=this.end;return e.start.isBefore(o)&&(o=e.start),e.end.isAfter(n)&&(n=e.end),new vi(o,n)}getMinimalFlatRanges(){const e=[],t=this.start.getCommonPath(this.end).length,i=pi._createAt(this.start);let o=i.parent;for(;i.path.length>t+1;){const t=o.maxOffset-i.offset;0!==t&&e.push(new vi(i,i.getShiftedBy(t))),i.path=i.path.slice(0,-1),i.offset++,o=o.parent}for(;i.path.length<=this.end.path.length;){const t=this.end.path[i.path.length-1],o=t-i.offset;0!==o&&e.push(new vi(i,i.getShiftedBy(o))),i.offset=t,i.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new mi(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new mi(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new mi(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 vi(this.start,this.end)]}getTransformedByOperations(e){const t=[new vi(this.start,this.end)];for(const i of e)for(let e=0;e<t.length;e++){const o=t[e].getTransformedByOperation(i);t.splice(e,1,...o),e+=o.length-1}for(let e=0;e<t.length;e++){const i=t[e];for(let o=e+1;o<t.length;o++){const e=t[o];(i.containsRange(e)||e.containsRange(i)||i.isEqual(e))&&t.splice(o,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 i=e.sourcePosition,o=e.howMany,n=e.targetPosition;return this._getTransformedByMove(i,n,o,t)}_getTransformedBySplitOperation(e){const t=this.start._getTransformedBySplitOperation(e);let i=this.end._getTransformedBySplitOperation(e);return this.end.isEqual(e.insertionPosition)&&(i=this.end.getShiftedBy(1)),t.root!=i.root&&(i=this.end.getShiftedBy(-1)),new vi(t,i)}_getTransformedByMergeOperation(e){if(this.start.isEqual(e.targetPosition)&&this.end.isEqual(e.deletionPosition))return new vi(this.start);let t=this.start._getTransformedByMergeOperation(e),i=this.end._getTransformedByMergeOperation(e);return t.root!=i.root&&(i=this.end.getShiftedBy(-1)),t.isAfter(i)?(e.sourcePosition.isBefore(e.targetPosition)?(t=pi._createAt(i),t.offset=0):(e.deletionPosition.isEqual(t)||(i=e.deletionPosition),t=e.targetPosition),new vi(t,i)):new vi(t,i)}_getTransformedByInsertion(e,t,i=!1){if(i&&this.containsPosition(e))return[new vi(this.start,e),new vi(e.getShiftedBy(t),this.end._getTransformedByInsertion(e,t))];{const i=new vi(this.start,this.end);return i.start=i.start._getTransformedByInsertion(e,t),i.end=i.end._getTransformedByInsertion(e,t),[i]}}_getTransformedByMove(e,t,i,o=!1){if(this.isCollapsed){const o=this.start._getTransformedByMove(e,t,i);return[new vi(o)]}const n=vi._createFromPositionAndShift(e,i),r=t._getTransformedByDeletion(e,i);if(this.containsPosition(t)&&!o&&(n.containsPosition(this.start)||n.containsPosition(this.end))){const o=this.start._getTransformedByMove(e,t,i),n=this.end._getTransformedByMove(e,t,i);return[new vi(o,n)]}let s;const a=this.getDifference(n);let l=null;const c=this.getIntersection(n);if(1==a.length?l=new vi(a[0].start._getTransformedByDeletion(e,i),a[0].end._getTransformedByDeletion(e,i)):2==a.length&&(l=new vi(this.start,this.end._getTransformedByDeletion(e,i))),s=l?l._getTransformedByInsertion(r,i,null!==c||o):[],c){const e=new vi(c.start._getCombined(n.start,r),c.end._getCombined(n.start,r));2==s.length?s.splice(1,0,e):s.push(e)}return s}_getTransformedByDeletion(e,t){let i=this.start._getTransformedByDeletion(e,t),o=this.end._getTransformedByDeletion(e,t);return null==i&&null==o?null:(null==i&&(i=e),null==o&&(o=e),new vi(i,o))}static _createFromPositionAndShift(e,t){const i=e,o=e.getShiftedBy(t);return t>0?new this(i,o):new this(o,i)}static _createIn(e){return new this(pi._createAt(e,0),pi._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift(pi._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(0===e.length)throw new x.CKEditorError("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 i=e.indexOf(t),o=new this(t.start,t.end);if(i>0)for(let t=i-1;e[t].end.isEqual(o.start);t++)o.start=pi._createAt(e[t].start);for(let t=i+1;t<e.length&&e[t].start.isEqual(o.end);t++)o.end=pi._createAt(e[t].end);return o}static fromJSON(e,t){return new this(pi.fromJSON(e.start,t),pi.fromJSON(e.end,t))}}vi.prototype.is=function(e){return"range"===e||"model:range"===e};class yi extends((0,x.EmitterMixin)()){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 i=this._modelToViewMapping.get(t.modelPosition.parent);if(!i)throw new x.CKEditorError("mapping-model-position-view-parent-not-found",this,{modelPosition:t.modelPosition});t.viewPosition=this.findPositionIn(i,t.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((e,t)=>{if(t.modelPosition)return;const i=this.findMappedViewAncestor(t.viewPosition),o=this._viewToModelMapping.get(i),n=this._toModelOffset(t.viewPosition.parent,t.viewPosition.offset,i);t.modelPosition=pi._createAt(o,n)}),{priority:"low"})}bindElements(e,t){this._modelToViewMapping.set(e,t),this._viewToModelMapping.set(t,e)}unbindViewElement(e,t={}){const i=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(i)==e&&this._modelToViewMapping.delete(i))}unbindModelElement(e){const t=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(t)==e&&this._viewToModelMapping.delete(t)}bindElementToMarker(e,t){const i=this._markerNameToElements.get(t)||new Set;i.add(e);const o=this._elementToMarkerNames.get(e)||new Set;o.add(t),this._markerNameToElements.set(t,i),this._elementToMarkerNames.set(e,o)}unbindElementFromMarkerName(e,t){const i=this._markerNameToElements.get(t);i&&(i.delete(e),0==i.size&&this._markerNameToElements.delete(t));const o=this._elementToMarkerNames.get(e);o&&(o.delete(t),0==o.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 vi(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new Ne(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 i={modelPosition:e,mapper:this,isPhantom:t.isPhantom};return this.fire("modelToViewPosition",i),i.viewPosition}markerNameToElements(e){const t=this._markerNameToElements.get(e);if(!t)return null;const i=new Set;for(const e of t)if(e.is("attributeElement"))for(const t of e.getElementsWithSameId())i.add(t);else i.add(e);return i}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,i){if(i!=e)return this._toModelOffset(e.parent,e.index,i)+this._toModelOffset(e,t,e);if(e.is("$text"))return t;let o=0;for(let i=0;i<t;i++)o+=this.getModelLength(e.getChild(i));return o}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 i of e.getChildren())t+=this.getModelLength(i);return t}}findPositionIn(e,t){let i,o=0,n=0,r=0;if(e.is("$text"))return new ze(e,t);for(;n<t;)i=e.getChild(r),o=this.getModelLength(i),n+=o,r++;return n==t?this._moveViewPositionToTextNode(new ze(e,r)):this.findPositionIn(i,t-(n-o))}_moveViewPositionToTextNode(e){const t=e.nodeBefore,i=e.nodeAfter;return t instanceof P?new ze(t,t.data.length):i instanceof P?new ze(i,0):e}}class Ci{constructor(){this._consumable=new Map,this._textProxyRegistry=new Map}add(e,t){t=xi(t),e instanceof ui&&(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=xi(t),e instanceof ui&&(e=this._getSymbolForTextProxy(e)),!!this.test(e,t)&&(this._consumable.get(e).set(t,!1),!0)}test(e,t){t=xi(t),e instanceof ui&&(e=this._getSymbolForTextProxy(e));const i=this._consumable.get(e);if(void 0===i)return null;const o=i.get(t);return void 0===o?null:o}revert(e,t){t=xi(t),e instanceof ui&&(e=this._getSymbolForTextProxy(e));const i=this.test(e,t);return!1===i?(this._consumable.get(e).set(t,!0),!0):!0!==i&&null}verifyAllConsumed(e){const t=[];for(const[i,o]of this._consumable)for(const[n,r]of o){const o=n.split(":")[0];r&&e==o&&t.push({event:n,item:i.name||i.description})}if(t.length)throw new x.CKEditorError("conversion-model-consumable-not-consumed",null,{items:t})}_getSymbolForTextProxy(e){let t=null;const i=this._textProxyRegistry.get(e.startOffset);if(i){const o=i.get(e.endOffset);o&&(t=o.get(e.parent))}return t||(t=this._addSymbolForTextProxy(e)),t}_addSymbolForTextProxy(e){const t=e.startOffset,i=e.endOffset,o=e.parent,n=Symbol("$textProxy:"+e.data);let r,s;return r=this._textProxyRegistry.get(t),r||(r=new Map,this._textProxyRegistry.set(t,r)),s=r.get(i),s||(s=new Map,r.set(i,s)),s.set(o,n),n}}function xi(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 Ai extends((0,x.EmitterMixin)()){constructor(e){super(),this._conversionApi={dispatcher:this,...e},this._firedEventsMap=new WeakMap}convertChanges(e,t,i){const o=this._createConversionApi(i,e.getRefreshedItems());for(const t of e.getMarkersToRemove())this._convertMarkerRemove(t.name,t.range,o);const n=this._reduceChanges(e.getChanges());for(const e of n)"insert"===e.type?this._convertInsert(vi._createFromPositionAndShift(e.position,e.length),o):"reinsert"===e.type?this._convertReinsert(vi._createFromPositionAndShift(e.position,e.length),o):"remove"===e.type?this._convertRemove(e.position,e.length,e.name,o):this._convertAttribute(e.range,e.attributeKey,e.attributeOldValue,e.attributeNewValue,o);for(const e of o.mapper.flushUnboundMarkerNames()){const i=t.get(e).getRange();this._convertMarkerRemove(e,i,o),this._convertMarkerAdd(e,i,o)}for(const t of e.getMarkersToAdd())this._convertMarkerAdd(t.name,t.range,o);o.mapper.flushDeferredBindings(),o.consumable.verifyAllConsumed("insert")}convert(e,t,i,o={}){const n=this._createConversionApi(i,void 0,o);this._convertInsert(e,n);for(const[e,i]of t)this._convertMarkerAdd(e,i,n);n.consumable.verifyAllConsumed("insert")}convertSelection(e,t,i){const o=Array.from(t.getMarkersAtPosition(e.getFirstPosition())),n=this._createConversionApi(i);if(this._addConsumablesForSelection(n.consumable,e,o),this.fire("selection",{selection:e},n),e.isCollapsed){for(const t of o){const i=t.getRange();if(!Ei(e.getFirstPosition(),t,n.mapper))continue;const o={item:e,markerName:t.name,markerRange:i};n.consumable.test(e,"addMarker:"+t.name)&&this.fire(`addMarker:${t.name}`,o,n)}for(const t of e.getAttributeKeys()){const i={item:e,range:e.getFirstRange(),attributeKey:t,attributeOldValue:null,attributeNewValue:e.getAttribute(t)};n.consumable.test(e,"attribute:"+i.attributeKey)&&this.fire(`attribute:${i.attributeKey}:$text`,i,n)}}}_convertInsert(e,t,i={}){i.doNotAddConsumables||this._addConsumablesForInsert(t.consumable,Array.from(e));for(const i of Array.from(e.getWalker({shallow:!0})).map(Ti))this._testAndFire("insert",i,t)}_convertRemove(e,t,i,o){this.fire(`remove:${i}`,{position:e,length:t},o)}_convertAttribute(e,t,i,o,n){this._addConsumablesForRange(n.consumable,e,`attribute:${t}`);for(const r of e){const e={item:r.item,range:vi._createFromPositionAndShift(r.previousPosition,r.length),attributeKey:t,attributeOldValue:i,attributeNewValue:o};this._testAndFire(`attribute:${t}`,e,n)}}_convertReinsert(e,t){const i=Array.from(e.getWalker({shallow:!0}));this._addConsumablesForInsert(t.consumable,i);for(const e of i.map(Ti))this._testAndFire("insert",{...e,reconversion:!0},t)}_convertMarkerAdd(e,t,i){if("$graveyard"==t.root.rootName)return;const o=`addMarker:${e}`;if(i.consumable.add(t,o),this.fire(o,{markerName:e,markerRange:t},i),i.consumable.consume(t,o)){this._addConsumablesForRange(i.consumable,t,o);for(const n of t.getItems()){if(!i.consumable.test(n,o))continue;const r={item:n,range:vi._createOn(n),markerName:e,markerRange:t};this.fire(o,r,i)}}}_convertMarkerRemove(e,t,i){"$graveyard"!=t.root.rootName&&this.fire(`removeMarker:${e}`,{markerName:e,markerRange:t},i)}_reduceChanges(e){const t={changes:e};return this.fire("reduceChanges",t),t.changes}_addConsumablesForInsert(e,t){for(const i of t){const t=i.item;if(null===e.test(t,"insert")){e.add(t,"insert");for(const i of t.getAttributeKeys())e.add(t,"attribute:"+i)}}return e}_addConsumablesForRange(e,t,i){for(const o of t.getItems())e.add(o,i);return e}_addConsumablesForSelection(e,t,i){e.add(t,"selection");for(const o of i)e.add(t,"addMarker:"+o.name);for(const i of t.getAttributeKeys())e.add(t,"attribute:"+i);return e}_testAndFire(e,t,i){const o=function(e,t){return`${e}:${t.item.is("element")?t.item.name:"$text"}`}(e,t),n=t.item.is("$textProxy")?i.consumable._getSymbolForTextProxy(t.item):t.item,r=this._firedEventsMap.get(i),s=r.get(n);if(s){if(s.has(o))return;s.add(o)}else r.set(n,new Set([o]));this.fire(o,t,i)}_testAndFireAddAttributes(e,t){const i={item:e,range:vi._createOn(e)};for(const e of i.item.getAttributeKeys())i.attributeKey=e,i.attributeOldValue=null,i.attributeNewValue=i.item.getAttribute(e),this._testAndFire(`attribute:${e}`,i,t)}_createConversionApi(e,t=new Set,i={}){const o={...this._conversionApi,consumable:new Ci,writer:e,options:i,convertItem:e=>this._convertInsert(vi._createOn(e),o),convertChildren:e=>this._convertInsert(vi._createIn(e),o,{doNotAddConsumables:!0}),convertAttributes:e=>this._testAndFireAddAttributes(e,o),canReuseView:e=>!t.has(o.mapper.toModelElement(e))};return this._firedEventsMap.set(o,new Map),o}}function Ei(e,t,i){const o=t.getRange(),n=Array.from(e.getAncestors());return n.shift(),n.reverse(),!n.some((e=>{if(o.containsItem(e))return!!i.toViewElement(e).getCustomProperty("addHighlight")}))}function Ti(e){return{item:e.item,range:vi._createFromPositionAndShift(e.previousPosition,e.length)}}class Si extends((0,x.EmitterMixin)(ai)){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 i=!1;for(const o of e._ranges)if(t.isEqual(o)){i=!0;break}if(!i)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new vi(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 vi(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 vi(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,i,o]=e;if("object"==typeof i&&(o=i,i=void 0),null===t)this._setRanges([]);else if(t instanceof Si)this._setRanges(t.getRanges(),t.isBackward);else if(t&&"function"==typeof t.getRanges)this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof vi)this._setRanges([t],!!o&&!!o.backward);else if(t instanceof pi)this._setRanges([new vi(t)]);else if(t instanceof li){const e=!!o&&!!o.backward;let n;if("in"==i)n=vi._createIn(t);else if("on"==i)n=vi._createOn(t);else{if(void 0===i)throw new x.CKEditorError("model-selection-setto-required-second-parameter",[this,t]);n=new vi(pi._createAt(t,i))}this._setRanges([n],e)}else{if(!(0,x.isIterable)(t))throw new x.CKEditorError("model-selection-setto-not-selectable",[this,t]);this._setRanges(t,o&&!!o.backward)}}_setRanges(e,t=!1){const i=Array.from(e),o=i.some((t=>{if(!(t instanceof vi))throw new x.CKEditorError("model-selection-set-ranges-not-range",[this,e]);return this._ranges.every((e=>!e.isEqual(t)))}));(i.length!==this._ranges.length||o)&&(this._replaceAllRanges(i),this._lastRangeBackward=!!t,this.fire("change:range",{directChange:!0}))}setFocus(e,t){if(null===this.anchor)throw new x.CKEditorError("model-selection-setfocus-no-ranges",[this,e]);const i=pi._createAt(e,t);if("same"==i.compareWith(this.focus))return;const o=this.anchor;this._ranges.length&&this._popRange(),"before"==i.compareWith(o)?(this._pushRange(new vi(i,o)),this._lastRangeBackward=!0):(this._pushRange(new vi(o,i)),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 i=Vi(t.start,e);Oi(i,t)&&(yield i);for(const i of t.getWalker()){const o=i.item;"elementEnd"==i.type&&Ii(o,e,t)&&(yield o)}const o=Vi(t.end,e);Bi(o,t)&&(yield o)}}containsEntireContent(e=this.anchor.root){const t=pi._createAt(e,0),i=pi._createAt(e,"end");return t.isTouching(this.getFirstPosition())&&i.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new vi(e.start,e.end))}_checkRange(e){for(let t=0;t<this._ranges.length;t++)if(e.isIntersecting(this._ranges[t]))throw new x.CKEditorError("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 Pi(e,t){return!t.has(e)&&(t.add(e),e.root.document.model.schema.isBlock(e)&&!!e.parent)}function Ii(e,t,i){return Pi(e,t)&&Ri(e,i)}function Vi(e,t){const i=e.parent.root.document.model.schema,o=e.parent.getAncestors({parentFirst:!0,includeSelf:!0});let n=!1;const r=o.find((e=>!n&&(n=i.isLimit(e),!n&&Pi(e,t))));return o.forEach((e=>t.add(e))),r}function Ri(e,t){const i=function(e){const t=e.root.document.model.schema;let i=e.parent;for(;i;){if(t.isBlock(i))return i;i=i.parent}}(e);return!i||!t.containsRange(vi._createOn(i),!0)}function Oi(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.start.isTouching(pi._createAt(e,e.maxOffset))&&Ri(e,t))}function Bi(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.end.isTouching(pi._createAt(e,0))&&Ri(e,t))}Si.prototype.is=function(e){return"selection"===e||"model:selection"===e};class Mi extends((0,x.EmitterMixin)(vi)){constructor(e,t){super(e,t),zi.call(this)}detach(){this.stopListening()}toRange(){return new vi(this.start,this.end)}static fromRange(e){return new Mi(e.start,e.end)}}function zi(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&Ni.call(this,i)}),{priority:"low"})}function Ni(e){const t=this.getTransformedByOperation(e),i=vi._createFromRanges(t),o=!i.isEqual(this),n=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 r=null;if(o){"$graveyard"==i.root.rootName&&(r="remove"==e.type?e.sourcePosition:e.deletionPosition);const t=this.toRange();this.start=i.start,this.end=i.end,this.fire("change:range",t,{deletionPosition:r})}else n&&this.fire("change:content",this.toRange(),{deletionPosition:r})}Mi.prototype.is=function(e){return"liveRange"===e||"model:liveRange"===e||"range"==e||"model:range"===e};const Di="selection:";class Li extends((0,x.EmitterMixin)(ai)){constructor(e){super(),this._selection=new Fi(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 Di+e}static _isStoreAttributeKey(e){return e.startsWith(Di)}}Li.prototype.is=function(e){return"selection"===e||"model:selection"==e||"documentSelection"==e||"model:documentSelection"==e};class Fi extends Si{constructor(e){super(),this.markers=new x.Collection({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 i=t[0];i.isDocumentOperation&&"marker"!=i.type&&"rename"!=i.type&&"noop"!=i.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,i,o)=>{this._updateMarker(t,o)})),this.listenTo(this._document,"change",((e,t)=>{!function(e,t){const i=e.document.differ;for(const o of i.getChanges()){if("insert"!=o.type)continue;const i=o.position.parent;o.length===i.maxOffset&&e.enqueueChange(t,(e=>{const t=Array.from(i.getAttributeKeys()).filter((e=>e.startsWith(Di)));for(const o of t)e.removeAttribute(o,i)}))}}(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,x.uid)();return this._overriddenGravityRegister.add(e),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),e}restoreGravity(e){if(!this._overriddenGravityRegister.has(e))throw new x.CKEditorError("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 x.CKEditorError("document-selection-wrong-position",this,{range:t})}_prepareRange(e){if(this._checkRange(e),e.root==this._document.graveyard)return;const t=Mi.fromRange(e);return t.on("change:range",((e,i,o)=>{if(this._hasChangedRange=!0,t.root==this._document.graveyard){this._selectionRestorePosition=o.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 i=t.name.split(":",1)[0];if(!this._observedMarkers.has(i))continue;const o=t.getRange();for(const i of this.getRanges())o.containsRange(i,!i.isCollapsed)&&e.push(t)}const i=Array.from(this.markers);for(const i of e)this.markers.has(i)||(this.markers.add(i),t=!0);for(const i of Array.from(this.markers))e.includes(i)||(this.markers.remove(i),t=!0);t&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateMarker(e,t){const i=e.name.split(":",1)[0];if(!this._observedMarkers.has(i))return;let o=!1;const n=Array.from(this.markers),r=this.markers.has(e);if(t){let i=!1;for(const e of this.getRanges())if(t.containsRange(e,!e.isCollapsed)){i=!0;break}i&&!r?(this.markers.add(e),o=!0):!i&&r&&(this.markers.remove(e),o=!0)}else r&&(this.markers.remove(e),o=!0);o&&this.fire("change:marker",{oldMarkers:n,directChange:!1})}_updateAttributes(e){const t=(0,x.toMap)(this._getSurroundingAttributes()),i=(0,x.toMap)(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 o=[];for(const[e,t]of this.getAttributes())i.has(e)&&i.get(e)===t||o.push(e);for(const[e]of i)this.hasAttribute(e)||o.push(e);o.length>0&&this.fire("change:attribute",{attributeKeys:o,directChange:!1})}_setAttribute(e,t,i=!0){const o=i?"normal":"low";return("low"!=o||"normal"!=this._attributePriority.get(e))&&(super.getAttribute(e)!==t&&(this._attrs.set(e,t),this._attributePriority.set(e,o),!0))}_removeAttribute(e,t=!0){const i=t?"normal":"low";return!("low"==i&&"normal"==this._attributePriority.get(e)||(this._attributePriority.set(e,i),!super.hasAttribute(e)||(this._attrs.delete(e),0)))}_setAttributesTo(e){const t=new Set;for(const[t,i]of this.getAttributes())e.get(t)!==i&&this._removeAttribute(t,!1);for(const[i,o]of e)this._setAttribute(i,o,!1)&&t.add(i);return t}*getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const t of e.getAttributeKeys())if(t.startsWith(Di)){const i=t.substr(10);yield[i,e.getAttribute(t)]}}_getSurroundingAttributes(){const e=this.getFirstPosition(),t=this._model.schema;let i=null;if(this.isCollapsed){const o=e.textNode?e.textNode:e.nodeBefore,n=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(i=Hi(o)),i||(i=Hi(n)),!this.isGravityOverridden&&!i){let e=o;for(;e&&!t.isInline(e)&&!i;)e=e.previousSibling,i=Hi(e)}if(!i){let e=n;for(;e&&!t.isInline(e)&&!i;)e=e.nextSibling,i=Hi(e)}i||(i=this.getStoredAttributes())}else{const e=this.getFirstRange();for(const o of e){if(o.item.is("element")&&t.isObject(o.item))break;if("text"==o.type){i=o.item.getAttributes();break}}}return i}_fixGraveyardSelection(e){const t=this._model.schema.getNearestSelectionRange(e);t&&this._pushRange(t)}}function Hi(e){return e instanceof ui||e instanceof di?e.getAttributes():null}class Wi{constructor(e){this._dispatchers=e}add(e){for(const t of this._dispatchers)e(t);return this}}const Zi=function(e){return(0,E.Z)(e,5)};class Ui extends Wi{elementToElement(e){return this.add(function(e){const t=qi(e.model),i=Ki(e.view,"container");return t.attributes.length&&(t.children=!0),o=>{o.on(`insert:${t.name}`,function(e,t=io){return(i,o,n)=>{if(!t(o.item,n.consumable,{preflight:!0}))return;const r=e(o.item,n,o);if(!r)return;t(o.item,n.consumable);const s=n.mapper.toViewPosition(o.range.start);n.mapper.bindElements(o.item,r),n.writer.insert(s,r),n.convertAttributes(o.item),eo(r,o.item.getChildren(),n,{reconversion:o.reconversion})}}(i,Xi(t)),{priority:e.converterPriority||"normal"}),(t.children||t.attributes.length)&&o.on("reduceChanges",Qi(t),{priority:"low"})}}(e))}elementToStructure(e){return this.add(function(e){const t=qi(e.model),i=Ki(e.view,"container");return t.children=!0,o=>{if(o._conversionApi.schema.checkChild(t.name,"$text"))throw new x.CKEditorError("conversion-element-to-structure-disallowed-text",o,{elementName:t.name});var n,r;o.on(`insert:${t.name}`,(n=i,r=Xi(t),(e,t,i)=>{if(!r(t.item,i.consumable,{preflight:!0}))return;const o=new Map;i.writer._registerSlotFactory(function(e,t,i){return(o,n)=>{const r=o.createContainerElement("$slot");let s=null;if("children"===n)s=Array.from(e.getChildren());else{if("function"!=typeof n)throw new x.CKEditorError("conversion-slot-mode-unknown",i.dispatcher,{modeOrFilter:n});s=Array.from(e.getChildren()).filter((e=>n(e)))}return t.set(r,s),r}}(t.item,o,i));const s=n(t.item,i,t);if(i.writer._clearSlotFactory(),!s)return;!function(e,t,i){const o=Array.from(t.values()).flat(),n=new Set(o);if(n.size!=o.length)throw new x.CKEditorError("conversion-slot-filter-overlap",i.dispatcher,{element:e});if(n.size!=e.childCount)throw new x.CKEditorError("conversion-slot-filter-incomplete",i.dispatcher,{element:e})}(t.item,o,i),r(t.item,i.consumable);const a=i.mapper.toViewPosition(t.range.start);i.mapper.bindElements(t.item,s),i.writer.insert(a,s),i.convertAttributes(t.item),function(e,t,i,o){i.mapper.on("modelToViewPosition",s,{priority:"highest"});let n=null,r=null;for([n,r]of t)eo(e,r,i,o),i.writer.move(i.writer.createRangeIn(n),i.writer.createPositionBefore(n)),i.writer.remove(n);function s(e,t){const i=t.modelPosition.nodeAfter,o=r.indexOf(i);o<0||(t.viewPosition=t.mapper.findPositionIn(n,o))}i.mapper.off("modelToViewPosition",s)}(s,o,i,{reconversion:t.reconversion})}),{priority:e.converterPriority||"normal"}),o.on("reduceChanges",Qi(t),{priority:"low"})}}(e))}attributeToElement(e){return this.add(function(e){let t=(e=Zi(e)).model;"string"==typeof t&&(t={key:t});let i=`attribute:${t.key}`;if(t.name&&(i+=":"+t.name),t.values)for(const i of t.values)e.view[i]=Ki(e.view[i],"attribute");else e.view=Ki(e.view,"attribute");const o=Gi(e);return t=>{t.on(i,function(e){return(t,i,o)=>{if(!o.consumable.test(i.item,t.name))return;const n=e(i.attributeOldValue,o,i),r=e(i.attributeNewValue,o,i);if(!n&&!r)return;o.consumable.consume(i.item,t.name);const s=o.writer,a=s.document.selection;if(i.item instanceof Si||i.item instanceof Li)s.wrap(a.getFirstRange(),r);else{let e=o.mapper.toViewRange(i.range);null!==i.attributeOldValue&&n&&(e=s.unwrap(e,n)),null!==i.attributeNewValue&&r&&s.wrap(e,r)}}}(o),{priority:e.converterPriority||"normal"})}}(e))}attributeToAttribute(e){return this.add(function(e){let t=(e=Zi(e)).model;"string"==typeof t&&(t={key:t});let i=`attribute:${t.key}`;if(t.name&&(i+=":"+t.name),t.values)for(const i of t.values)e.view[i]=Ji(e.view[i]);else e.view=Ji(e.view);const o=Gi(e);return t=>{var n;t.on(i,(n=o,(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const o=n(t.attributeOldValue,i,t),r=n(t.attributeNewValue,i,t);if(!o&&!r)return;i.consumable.consume(t.item,e.name);const s=i.mapper.toViewElement(t.item),a=i.writer;if(!s)throw new x.CKEditorError("conversion-attribute-to-attribute-on-text",i.dispatcher,t);if(null!==t.attributeOldValue&&o)if("class"==o.key){const e=(0,x.toArray)(o.value);for(const t of e)a.removeClass(t,s)}else if("style"==o.key){const e=Object.keys(o.value);for(const t of e)a.removeStyle(t,s)}else a.removeAttribute(o.key,s);if(null!==t.attributeNewValue&&r)if("class"==r.key){const e=(0,x.toArray)(r.value);for(const t of e)a.addClass(t,s)}else if("style"==r.key){const e=Object.keys(r.value);for(const t of e)a.setStyle(t,r.value[t],s)}else a.setAttribute(r.key,r.value,s)}),{priority:e.converterPriority||"normal"})}}(e))}markerToElement(e){return this.add(function(e){const t=Ki(e.view,"ui");return i=>{var o;i.on(`addMarker:${e.model}`,(o=t,(e,t,i)=>{t.isOpening=!0;const n=o(t,i);t.isOpening=!1;const r=o(t,i);if(!n||!r)return;const s=t.markerRange;if(s.isCollapsed&&!i.consumable.consume(s,e.name))return;for(const t of s)if(!i.consumable.consume(t.item,e.name))return;const a=i.mapper,l=i.writer;l.insert(a.toViewPosition(s.start),n),i.mapper.bindElementToMarker(n,t.markerName),s.isCollapsed||(l.insert(a.toViewPosition(s.end),r),i.mapper.bindElementToMarker(r,t.markerName)),e.stop()}),{priority:e.converterPriority||"normal"}),i.on(`removeMarker:${e.model}`,((e,t,i)=>{const o=i.mapper.markerNameToElements(t.markerName);if(o){for(const e of o)i.mapper.unbindElementFromMarkerName(e,t.markerName),i.writer.clear(i.writer.createRangeOn(e),e);i.writer.clearClonedElementsGroup(t.markerName),e.stop()}}),{priority:e.converterPriority||"normal"})}}(e))}markerToHighlight(e){return this.add(function(e){return t=>{var i;t.on(`addMarker:${e.model}`,(i=e.view,(e,t,o)=>{if(!t.item)return;if(!(t.item instanceof Si||t.item instanceof Li||t.item.is("$textProxy")))return;const n=Yi(i,t,o);if(!n)return;if(!o.consumable.consume(t.item,e.name))return;const r=o.writer,s=ji(r,n),a=r.document.selection;if(t.item instanceof Si||t.item instanceof Li)r.wrap(a.getFirstRange(),s);else{const e=o.mapper.toViewRange(t.range),i=r.wrap(e,s);for(const e of i.getItems())if(e.is("attributeElement")&&e.isSimilar(s)){o.mapper.bindElementToMarker(e,t.markerName);break}}}),{priority:e.converterPriority||"normal"}),t.on(`addMarker:${e.model}`,function(e){return(t,i,o)=>{if(!i.item)return;if(!(i.item instanceof hi))return;const n=Yi(e,i,o);if(!n)return;if(!o.consumable.test(i.item,t.name))return;const r=o.mapper.toViewElement(i.item);if(r&&r.getCustomProperty("addHighlight")){o.consumable.consume(i.item,t.name);for(const e of vi._createIn(i.item))o.consumable.consume(e.item,t.name);r.getCustomProperty("addHighlight")(r,n,o.writer),o.mapper.bindElementToMarker(r,i.markerName)}}}(e.view),{priority:e.converterPriority||"normal"}),t.on(`removeMarker:${e.model}`,function(e){return(t,i,o)=>{if(i.markerRange.isCollapsed)return;const n=Yi(e,i,o);if(!n)return;const r=ji(o.writer,n),s=o.mapper.markerNameToElements(i.markerName);if(s){for(const e of s)o.mapper.unbindElementFromMarkerName(e,i.markerName),e.is("attributeElement")?o.writer.unwrap(o.writer.createRangeOn(e),r):e.getCustomProperty("removeHighlight")(e,n.id,o.writer);o.writer.clearClonedElementsGroup(i.markerName),t.stop()}}}(e.view),{priority:e.converterPriority||"normal"})}}(e))}markerToData(e){return this.add(function(e){const t=(e=Zi(e)).model;let i=e.view;return i||(i=i=>({group:t,name:i.substr(e.model.length+1)})),o=>{var n;o.on(`addMarker:${t}`,(n=i,(e,t,i)=>{const o=n(t.markerName,i);if(!o)return;const r=t.markerRange;i.consumable.consume(r,e.name)&&($i(r,!1,i,t,o),$i(r,!0,i,t,o),e.stop())}),{priority:e.converterPriority||"normal"}),o.on(`removeMarker:${t}`,function(e){return(t,i,o)=>{const n=e(i.markerName,o);if(!n)return;const r=o.mapper.markerNameToElements(i.markerName);if(r){for(const e of r)o.mapper.unbindElementFromMarkerName(e,i.markerName),e.is("containerElement")?(s(`data-${n.group}-start-before`,e),s(`data-${n.group}-start-after`,e),s(`data-${n.group}-end-before`,e),s(`data-${n.group}-end-after`,e)):o.writer.clear(o.writer.createRangeOn(e),e);o.writer.clearClonedElementsGroup(i.markerName),t.stop()}function s(e,t){if(t.hasAttribute(e)){const i=new Set(t.getAttribute(e).split(","));i.delete(n.name),0==i.size?o.writer.removeAttribute(e,t):o.writer.setAttribute(e,Array.from(i).join(","),t)}}}}(i),{priority:e.converterPriority||"normal"})}}(e))}}function ji(e,t){const i=e.createAttributeElement("span",t.attributes);return t.classes&&i._addClass(t.classes),"number"==typeof t.priority&&(i._priority=t.priority),i._id=t.id,i}function $i(e,t,i,o,n){const r=t?e.start:e.end,s=r.nodeAfter&&r.nodeAfter.is("element")?r.nodeAfter:null,a=r.nodeBefore&&r.nodeBefore.is("element")?r.nodeBefore:null;if(s||a){let e,r;t&&s||!t&&!a?(e=s,r=!0):(e=a,r=!1);const l=i.mapper.toViewElement(e);if(l)return void function(e,t,i,o,n,r){const s=`data-${r.group}-${t?"start":"end"}-${i?"before":"after"}`,a=e.hasAttribute(s)?e.getAttribute(s).split(","):[];a.unshift(r.name),o.writer.setAttribute(s,a.join(","),e),o.mapper.bindElementToMarker(e,n.markerName)}(l,t,r,i,o,n)}!function(e,t,i,o,n){const r=`${n.group}-${t?"start":"end"}`,s=n.name?{name:n.name}:null,a=i.writer.createUIElement(r,s);i.writer.insert(e,a),i.mapper.bindElementToMarker(a,o.markerName)}(i.mapper.toViewPosition(r),t,i,o,n)}function qi(e){return"string"==typeof e&&(e={name:e}),e.attributes?Array.isArray(e.attributes)||(e.attributes=[e.attributes]):e.attributes=[],e.children=!!e.children,e}function Ki(e,t){return"function"==typeof e?e:(i,o)=>function(e,t,i){let o;"string"==typeof e&&(e={name:e});const n=t.writer,r=Object.assign({},e.attributes);if("container"==i)o=n.createContainerElement(e.name,r);else if("attribute"==i){const t={priority:e.priority||Ge.DEFAULT_PRIORITY};o=n.createAttributeElement(e.name,r,t)}else o=n.createUIElement(e.name,r);if(e.styles){const t=Object.keys(e.styles);for(const i of t)n.setStyle(i,e.styles[i],o)}if(e.classes){const t=e.classes;if("string"==typeof t)n.addClass(t,o);else for(const e of t)n.addClass(e,o)}return o}(e,o,t)}function Gi(e){return e.model.values?(t,i,o)=>{const n=e.view[t];return n?n(t,i,o):null}:e.view}function Ji(e){return"string"==typeof e?t=>({key:e,value:t}):"object"==typeof e?e.value?()=>e:t=>({key:e.key,value:t}):e}function Yi(e,t,i){const o="function"==typeof e?e(t,i):e;return o?(o.priority||(o.priority=10),o.id||(o.id=t.markerName),o):null}function Qi(e){const t=function(e){return(t,i)=>{if(!t.is("element",e.name))return!1;if("attribute"==i.type){if(e.attributes.includes(i.attributeKey))return!0}else if(e.children)return!0;return!1}}(e);return(e,i)=>{const o=[];i.reconvertedElements||(i.reconvertedElements=new Set);for(const e of i.changes){const n="attribute"==e.type?e.range.start.nodeAfter:e.position.parent;if(n&&t(n,e)){if(!i.reconvertedElements.has(n)){i.reconvertedElements.add(n);const e=pi._createBefore(n);let t=o.length;for(let i=o.length-1;i>=0;i--){const n=o[i],r=("attribute"==n.type?n.range.start:n.position).compareWith(e);if("before"==r||"remove"==n.type&&"same"==r)break;t=i}o.splice(t,0,{type:"remove",name:n.name,position:e,length:1},{type:"reinsert",name:n.name,position:e,length:1})}}else o.push(e)}i.changes=o}}function Xi(e){return(t,i,o={})=>{const n=["insert"];for(const i of e.attributes)t.hasAttribute(i)&&n.push(`attribute:${i}`);return!!n.every((e=>i.test(t,e)))&&(o.preflight||n.forEach((e=>i.consume(t,e))),!0)}}function eo(e,t,i,o){for(const n of t)to(e.root,n,i,o)||i.convertItem(n)}function to(e,t,i,o){const{writer:n,mapper:r}=i;if(!o.reconversion)return!1;const s=r.toViewElement(t);return!(!s||s.root==e||!i.canReuseView(s)||(n.move(n.createRangeOn(s),r.toViewPosition(pi._createBefore(t))),0))}function io(e,t,{preflight:i}={}){return i?t.test(e,"insert"):t.consume(e,"insert")}function oo(e){const{schema:t,document:i}=e.model;for(const o of i.getRootNames()){const n=i.getRoot(o);if(n.isEmpty&&!t.checkChild(n,"$text")&&t.checkChild(n,"paragraph"))return e.insertElement("paragraph",n),!0}return!1}function no(e,t,i){const o=i.createContext(e);return!!i.checkChild(o,"paragraph")&&!!i.checkChild(o.push("paragraph"),t)}function ro(e,t){const i=t.createElement("paragraph");return t.insert(i,e),t.createPositionAt(i,0)}class so extends Wi{elementToElement(e){return this.add(ao(e))}elementToAttribute(e){return this.add(function(e){uo(e=Zi(e));const t=ho(e,!1),i=lo(e.view),o=i?`element:${i}`:"element";return i=>{i.on(o,t,{priority:e.converterPriority||"low"})}}(e))}attributeToAttribute(e){return this.add(function(e){let t=null;("string"==typeof(e=Zi(e)).view||e.view.key)&&(t=function(e){"string"==typeof e.view&&(e.view={key:e.view});const t=e.view.key;let i;return i="class"==t||"style"==t?{["class"==t?"classes":"styles"]:e.view.value}:{attributes:{[t]:void 0===e.view.value?/[\s\S]*/:e.view.value}},e.view.name&&(i.name=e.view.name),e.view=i,t}(e)),uo(e,t);const i=ho(e,!0);return t=>{t.on("element",i,{priority:e.converterPriority||"low"})}}(e))}elementToMarker(e){return this.add(function(e){const t=function(e){return(t,i)=>{const o="string"==typeof e?e:e(t,i);return i.writer.createElement("$marker",{"data-name":o})}}(e.model);return ao({...e,model:t})}(e))}dataToMarker(e){return this.add(function(e){(e=Zi(e)).model||(e.model=t=>t?e.view+":"+t:e.view);const t={view:e.view,model:e.model},i=co(mo(t,"start")),o=co(mo(t,"end"));return n=>{n.on(`element:${e.view}-start`,i,{priority:e.converterPriority||"normal"}),n.on(`element:${e.view}-end`,o,{priority:e.converterPriority||"normal"});const r=x.priorities.get("low"),s=x.priorities.get("highest"),a=x.priorities.get(e.converterPriority)/s;n.on("element",function(e){return(t,i,o)=>{const n=`data-${e.view}`;function r(t,n){for(const r of n){const n=e.model(r,o),s=o.writer.createElement("$marker",{"data-name":n});o.writer.insert(s,t),i.modelCursor.isEqual(t)?i.modelCursor=i.modelCursor.getShiftedBy(1):i.modelCursor=i.modelCursor._getTransformedByInsertion(t,1),i.modelRange=i.modelRange._getTransformedByInsertion(t,1)[0]}}(o.consumable.test(i.viewItem,{attributes:n+"-end-after"})||o.consumable.test(i.viewItem,{attributes:n+"-start-after"})||o.consumable.test(i.viewItem,{attributes:n+"-end-before"})||o.consumable.test(i.viewItem,{attributes:n+"-start-before"}))&&(i.modelRange||Object.assign(i,o.convertChildren(i.viewItem,i.modelCursor)),o.consumable.consume(i.viewItem,{attributes:n+"-end-after"})&&r(i.modelRange.end,i.viewItem.getAttribute(n+"-end-after").split(",")),o.consumable.consume(i.viewItem,{attributes:n+"-start-after"})&&r(i.modelRange.end,i.viewItem.getAttribute(n+"-start-after").split(",")),o.consumable.consume(i.viewItem,{attributes:n+"-end-before"})&&r(i.modelRange.start,i.viewItem.getAttribute(n+"-end-before").split(",")),o.consumable.consume(i.viewItem,{attributes:n+"-start-before"})&&r(i.modelRange.start,i.viewItem.getAttribute(n+"-start-before").split(",")))}}(t),{priority:r+a})}}(e))}}function ao(e){const t=co(e=Zi(e)),i=lo(e.view),o=i?`element:${i}`:"element";return i=>{i.on(o,t,{priority:e.converterPriority||"normal"})}}function lo(e){return"string"==typeof e?e:"object"==typeof e&&"string"==typeof e.name?e.name:null}function co(e){const t=new R(e.view);return(i,o,n)=>{const r=t.match(o.viewItem);if(!r)return;const s=r.match;if(s.name=!0,!n.consumable.test(o.viewItem,s))return;const a=function(e,t,i){return e instanceof Function?e(t,i):i.writer.createElement(e)}(e.model,o.viewItem,n);a&&n.safeInsert(a,o.modelCursor)&&(n.consumable.consume(o.viewItem,s),n.convertChildren(o.viewItem,a),n.updateConversionResult(a,o))}}function uo(e,t=null){const i=null===t||(e=>e.getAttribute(t)),o="object"!=typeof e.model?e.model:e.model.key,n="object"!=typeof e.model||void 0===e.model.value?i:e.model.value;e.model={key:o,value:n}}function ho(e,t){const i=new R(e.view);return(o,n,r)=>{if(!n.modelRange&&t)return;const s=i.match(n.viewItem);if(!s)return;if(function(e,t){const i="function"==typeof e?e(t):e;return!("object"==typeof i&&!lo(i))&&(!i.classes&&!i.attributes&&!i.styles)}(e.view,n.viewItem)?s.match.name=!0:delete s.match.name,!r.consumable.test(n.viewItem,s.match))return;const a=e.model.key,l="function"==typeof e.model.value?e.model.value(n.viewItem,r):e.model.value;if(null===l)return;n.modelRange||Object.assign(n,r.convertChildren(n.viewItem,n.modelCursor));const c=function(e,t,i,o){let n=!1;for(const r of Array.from(e.getItems({shallow:i})))o.schema.checkAttribute(r,t.key)&&(n=!0,r.hasAttribute(t.key)||o.writer.setAttribute(t.key,t.value,r));return n}(n.modelRange,{key:a,value:l},t,r);c&&(r.consumable.test(n.viewItem,{name:!0})&&(s.match.name=!0),r.consumable.consume(n.viewItem,s.match))}}function mo(e,t){return{view:`${e.view}-${t}`,model:(t,i)=>{const o=t.getAttribute("name"),n=e.model(o,i);return i.writer.createElement("$marker",{"data-name":n})}}}function go(e,t){return e.isCollapsed?function(e,t){const i=e.start,o=t.getNearestSelectionRange(i);if(!o){const e=i.getAncestors().reverse().find((e=>t.isObject(e)));return e?vi._createOn(e):null}if(!o.isCollapsed)return o;const n=o.start;return i.isEqual(n)?null:new vi(n)}(e,t):function(e,t){const{start:i,end:o}=e,n=t.checkChild(i,"$text"),r=t.checkChild(o,"$text"),s=t.getLimitElement(i),a=t.getLimitElement(o);if(s===a){if(n&&r)return null;if(function(e,t,i){const o=e.nodeAfter&&!i.isLimit(e.nodeAfter)||i.checkChild(e,"$text"),n=t.nodeBefore&&!i.isLimit(t.nodeBefore)||i.checkChild(t,"$text");return o||n}(i,o,t)){const e=i.nodeAfter&&t.isSelectable(i.nodeAfter)?null:t.getNearestSelectionRange(i,"forward"),n=o.nodeBefore&&t.isSelectable(o.nodeBefore)?null:t.getNearestSelectionRange(o,"backward"),r=e?e.start:i,s=n?n.end:o;return new vi(r,s)}}const l=s&&!s.is("rootElement"),c=a&&!a.is("rootElement");if(l||c){const e=i.nodeAfter&&o.nodeBefore&&i.nodeAfter.parent===o.nodeBefore.parent,n=l&&(!e||!fo(i.nodeAfter,t)),r=c&&(!e||!fo(o.nodeBefore,t));let d=i,u=o;return n&&(d=pi._createBefore(po(s,t))),r&&(u=pi._createAfter(po(a,t))),new vi(d,u)}return null}(e,t)}function po(e,t){let i=e,o=i;for(;t.isLimit(o)&&o.parent;)i=o,o=o.parent;return i}function fo(e,t){return e&&t.isSelectable(e)}class bo extends((0,x.ObservableMixin)()){constructor(e,t){super(),this.model=e,this.view=new si(t),this.mapper=new yi,this.downcastDispatcher=new Ai({mapper:this.mapper,schema:e.schema});const i=this.model.document,o=i.selection,n=this.model.markers;var r,s,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(i,"change",(()=>{this.view.change((e=>{this.downcastDispatcher.convertChanges(i.differ,n,e),this.downcastDispatcher.convertSelection(o,n,e)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(e,t){return(i,o)=>{const n=o.newSelection,r=[];for(const e of n.getRanges())r.push(t.toModelRange(e));const s=e.createSelection(r,{backward:n.isBackward});s.isEqual(e.document.selection)||e.change((e=>{e.setSelection(s)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(r=this.mapper,s=this.model.schema,a=this.view,(e,t)=>{if(!a.document.isComposing||x.env.isAndroid)for(let e=0;e<t.targetRanges.length;e++){const i=t.targetRanges[e],o=r.toModelRange(i),n=go(o,s);n&&!n.isEqual(o)&&(t.targetRanges[e]=r.toViewRange(n))}}),{priority:"high"}),this.downcastDispatcher.on("insert:$text",((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.writer,n=i.mapper.toViewPosition(t.range.start),r=o.createText(t.item.data);o.insert(n,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,i)=>{i.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||i.convertChildren(t.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((e,t,i)=>{const o=i.mapper.toViewPosition(t.position),n=t.position.getShiftedBy(t.length),r=i.mapper.toViewPosition(n,{isPhantom:!0}),s=i.writer.createRange(o,r),a=i.writer.remove(s.getTrimmed());for(const e of i.writer.createRangeIn(a).getItems())i.mapper.unbindViewElement(e,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("selection",((e,t,i)=>{const o=i.writer,n=o.document.selection;for(const e of n.getRanges())e.isCollapsed&&e.end.parent.isAttached()&&i.writer.mergeAttributes(e.start);o.setSelection(null)}),{priority:"high"}),this.downcastDispatcher.on("selection",((e,t,i)=>{const o=t.selection;if(o.isCollapsed)return;if(!i.consumable.consume(o,"selection"))return;const n=[];for(const e of o.getRanges())n.push(i.mapper.toViewRange(e));i.writer.setSelection(n,{backward:o.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((e,t,i)=>{const o=t.selection;if(!o.isCollapsed)return;if(!i.consumable.consume(o,"selection"))return;const n=i.writer,r=o.getFirstPosition(),s=i.mapper.toViewPosition(r),a=n.breakAttributes(s);n.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((e=>{if("$graveyard"==e.rootName)return null;const t=new Be(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,i=this.model.markers.get(t);if(!i)throw new x.CKEditorError("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:t});this.model.change((()=>{this.model.markers._refresh(i)}))}reconvertItem(e){this.model.change((()=>{this.model.document.differ._refreshItem(e)}))}}class wo{constructor(){this._consumables=new Map}add(e,t){let i;e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):(this._consumables.has(e)?i=this._consumables.get(e):(i=new _o(e),this._consumables.set(e,i)),i.add(t))}test(e,t){const i=this._consumables.get(e);return void 0===i?null:e.is("$text")||e.is("documentFragment")?i:i.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 i=this._consumables.get(e);void 0!==i&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):i.revert(t))}static consumablesFromElement(e){const t={element:e,name:!0,attributes:[],classes:[],styles:[]},i=e.getAttributeKeys();for(const e of i)"style"!=e&&"class"!=e&&t.attributes.push(e);const o=e.getClassNames();for(const e of o)t.classes.push(e);const n=e.getStyleNames();for(const e of n)t.styles.push(e);return t}static createFrom(e,t){if(t||(t=new wo),e.is("$text"))return t.add(e),t;e.is("element")&&t.add(e,wo.consumablesFromElement(e)),e.is("documentFragment")&&t.add(e);for(const i of e.getChildren())t=wo.createFrom(i,t);return t}}const ko=["attributes","classes","styles"];class _o{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 ko)t in e&&this._add(t,e[t])}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const t of ko)if(t in e){const i=this._test(t,e[t]);if(!0!==i)return i}return!0}consume(e){e.name&&(this._canConsumeName=!1);for(const t of ko)t in e&&this._consume(t,e[t])}revert(e){e.name&&(this._canConsumeName=!0);for(const t of ko)t in e&&this._revert(t,e[t])}_add(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i){if("attributes"===e&&("class"===t||"style"===t))throw new x.CKEditorError("viewconsumable-invalid-attribute",this);if(o.set(t,!0),"styles"===e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))o.set(e,!0)}}_test(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i)if("attributes"!==e||"class"!==t&&"style"!==t){const e=o.get(t);if(void 0===e)return null;if(!e)return!1}else{const e="class"==t?"classes":"styles",i=this._test(e,[...this._consumables[e].keys()]);if(!0!==i)return i}return!0}_consume(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i)if("attributes"!==e||"class"!==t&&"style"!==t){if(o.set(t,!1),"styles"==e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))o.set(e,!1)}else{const e="class"==t?"classes":"styles";this._consume(e,[...this._consumables[e].keys()])}}_revert(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i)if("attributes"!==e||"class"!==t&&"style"!==t)!1===o.get(t)&&o.set(t,!0);else{const e="class"==t?"classes":"styles";this._revert(e,[...this._consumables[e].keys()])}}}class vo extends((0,x.ObservableMixin)()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((e,t)=>{t[0]=new yo(t[0])}),{priority:"highest"}),this.on("checkChild",((e,t)=>{t[0]=new yo(t[0]),t[1]=this.getDefinition(t[1])}),{priority:"highest"})}register(e,t){if(this._sourceDefinitions[e])throw new x.CKEditorError("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 x.CKEditorError("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(t,e)}checkAttribute(e,t){const i=this.getDefinition(e.last);return!!i&&i.allowAttributes.includes(t)}checkMerge(e,t){if(e instanceof pi){const t=e.nodeBefore,i=e.nodeAfter;if(!(t instanceof hi))throw new x.CKEditorError("schema-check-merge-no-element-before",this);if(!(i instanceof hi))throw new x.CKEditorError("schema-check-merge-no-element-after",this);return this.checkMerge(t,i)}for(const i of t.getChildren())if(!this.checkChild(e,i))return!1;return!0}addChildCheck(e){this.on("checkChild",((t,[i,o])=>{if(!o)return;const n=e(i,o);"boolean"==typeof n&&(t.stop(),t.return=n)}),{priority:"high"})}addAttributeCheck(e){this.on("checkAttribute",((t,[i,o])=>{const n=e(i,o);"boolean"==typeof n&&(t.stop(),t.return=n)}),{priority:"high"})}setAttributeProperties(e,t){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),t)}getAttributeProperties(e){return this._attributeProperties[e]||{}}getLimitElement(e){let t;for(t=e instanceof pi?e.parent:(e instanceof vi?[e]:Array.from(e.getRanges())).reduce(((e,t)=>{const i=t.getCommonAncestor();return e?e.getCommonAncestor(i,{includeSelf:!0}):i}),null);!this.isLimit(t)&&t.parent;)t=t.parent;return t}checkAttributeInSelection(e,t){if(e.isCollapsed){const i=[...e.getFirstPosition().getAncestors(),new di("",e.getAttributes())];return this.checkAttribute(i,t)}{const i=e.getRanges();for(const e of i)for(const i of e)if(this.checkAttribute(i.item,t))return!0}return!1}*getValidRanges(e,t){e=function*(e){for(const t of e)yield*t.getMinimalFlatRanges()}(e);for(const i of e)yield*this._getValidRangesForRange(i,t)}getNearestSelectionRange(e,t="both"){if(this.checkChild(e,"$text"))return new vi(e);let i,o;const n=e.getAncestors().reverse().find((e=>this.isLimit(e)))||e.root;"both"!=t&&"backward"!=t||(i=new mi({boundaries:vi._createIn(n),startPosition:e,direction:"backward"})),"both"!=t&&"forward"!=t||(o=new mi({boundaries:vi._createIn(n),startPosition:e}));for(const e of function*(e,t){let i=!1;for(;!i;){if(i=!0,e){const t=e.next();t.done||(i=!1,yield{walker:e,value:t.value})}if(t){const e=t.next();e.done||(i=!1,yield{walker:t,value:e.value})}}}(i,o)){const t=e.walker==i?"elementEnd":"elementStart",o=e.value;if(o.type==t&&this.isObject(o.item))return vi._createOn(o.item);if(this.checkChild(o.nextPosition,"$text"))return new vi(o.nextPosition)}return null}findAllowedParent(e,t){let i=e.parent;for(;i;){if(this.checkChild(i,t))return i;if(this.isLimit(i))return null;i=i.parent}return null}setAllowedAttributes(e,t,i){const o=i.model;for(const[n,r]of Object.entries(t))o.schema.checkAttribute(e,n)&&i.setAttribute(n,r,e)}removeDisallowedAttributes(e,t){for(const i of e)if(i.is("$text"))Mo(this,i,t);else{const e=vi._createIn(i).getPositions();for(const i of e)Mo(this,i.nodeBefore||i.parent,t)}}getAttributesWithProperty(e,t,i){const o={};for(const[n,r]of e.getAttributes()){const e=this.getAttributeProperties(n);void 0!==e[t]&&(void 0!==i&&i!==e[t]||(o[n]=r))}return o}createContext(e){return new yo(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},t=this._sourceDefinitions,i=Object.keys(t);for(const o of i)e[o]=Co(t[o],o);for(const t of i)xo(e,t);for(const t of i)Ao(e,t);for(const t of i)Eo(e,t);for(const t of i)To(e,t),So(e,t);for(const t of i)Po(e,t),Io(e,t),Vo(e,t);this._compiledDefinitions=e}_checkContextMatch(e,t,i=t.length-1){const o=t.getItem(i);if(e.allowIn.includes(o.name)){if(0==i)return!0;{const e=this.getDefinition(o);return this._checkContextMatch(e,t,i-1)}}return!1}*_getValidRangesForRange(e,t){let i=e.start,o=e.start;for(const n of e.getItems({shallow:!0}))n.is("element")&&(yield*this._getValidRangesForRange(vi._createIn(n),t)),this.checkAttribute(n,t)||(i.isEqual(o)||(yield new vi(i,o)),i=pi._createAfter(n)),o=pi._createAfter(n);i.isEqual(o)||(yield new vi(i,o))}}class yo{constructor(e){if(e instanceof yo)return e;let t;t="string"==typeof e?[e]:Array.isArray(e)?e:e.getAncestors({includeSelf:!0}),this._items=t.map(Bo)}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 yo([e]);return t._items=[...this._items,...t._items],t}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 Co(e,t){const i={name:t,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(e,t){for(const i of e){const e=Object.keys(i).filter((e=>e.startsWith("is")));for(const o of e)t[o]=!!i[o]}}(e,i),Ro(e,i,"allowIn"),Ro(e,i,"allowContentOf"),Ro(e,i,"allowWhere"),Ro(e,i,"allowAttributes"),Ro(e,i,"allowAttributesOf"),Ro(e,i,"allowChildren"),Ro(e,i,"inheritTypesFrom"),function(e,t){for(const i of e){const e=i.inheritAllFrom;e&&(t.allowContentOf.push(e),t.allowWhere.push(e),t.allowAttributesOf.push(e),t.inheritTypesFrom.push(e))}}(e,i),i}function xo(e,t){const i=e[t];for(const o of i.allowChildren){const i=e[o];i&&i.allowIn.push(t)}i.allowChildren.length=0}function Ao(e,t){for(const i of e[t].allowContentOf)e[i]&&Oo(e,i).forEach((e=>{e.allowIn.push(t)}));delete e[t].allowContentOf}function Eo(e,t){for(const i of e[t].allowWhere){const o=e[i];if(o){const i=o.allowIn;e[t].allowIn.push(...i)}}delete e[t].allowWhere}function To(e,t){for(const i of e[t].allowAttributesOf){const o=e[i];if(o){const i=o.allowAttributes;e[t].allowAttributes.push(...i)}}delete e[t].allowAttributesOf}function So(e,t){const i=e[t];for(const t of i.inheritTypesFrom){const o=e[t];if(o){const e=Object.keys(o).filter((e=>e.startsWith("is")));for(const t of e)t in i||(i[t]=o[t])}}delete i.inheritTypesFrom}function Po(e,t){const i=e[t],o=i.allowIn.filter((t=>e[t]));i.allowIn=Array.from(new Set(o))}function Io(e,t){const i=e[t];for(const o of i.allowIn)e[o].allowChildren.push(t)}function Vo(e,t){const i=e[t];i.allowAttributes=Array.from(new Set(i.allowAttributes))}function Ro(e,t,i){for(const o of e){const e=o[i];"string"==typeof e?t[i].push(e):Array.isArray(e)&&t[i].push(...e)}}function Oo(e,t){const i=e[t];return(o=e,Object.keys(o).map((e=>o[e]))).filter((e=>e.allowIn.includes(i.name)));var o}function Bo(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 Mo(e,t,i){for(const o of t.getAttributeKeys())e.checkAttribute(t,o)||i.removeAttribute(o,t)}class zo extends((0,x.EmitterMixin)()){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,i=["$root"]){this.fire("viewCleanup",e),this._modelCursor=function(e,t){let i;for(const o of new yo(e)){const e={};for(const t of o.getAttributeKeys())e[t]=o.getAttribute(t);const n=t.createElement(o.name,e);i&&t.insert(n,i),i=pi._createAt(n,0)}return i}(i,t),this.conversionApi.writer=t,this.conversionApi.consumable=wo.createFrom(e),this.conversionApi.store={};const{modelRange:o}=this._convertItem(e,this._modelCursor),n=t.createDocumentFragment();if(o){this._removeEmptyElements();for(const e of Array.from(this._modelCursor.parent.getChildren()))t.append(e,n);n.markers=function(e,t){const i=new Set,o=new Map,n=vi._createIn(e).getItems();for(const e of n)e.is("element","$marker")&&i.add(e);for(const e of i){const i=e.getAttribute("data-name"),n=t.createPositionBefore(e);o.has(i)?o.get(i).end=n.clone():o.set(i,new vi(n.clone())),t.remove(e)}return o}(n,t)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,n}_convertItem(e,t){const i={viewItem:e,modelCursor:t,modelRange:null};if(e.is("element")?this.fire(`element:${e.name}`,i,this.conversionApi):e.is("$text")?this.fire("text",i,this.conversionApi):this.fire("documentFragment",i,this.conversionApi),i.modelRange&&!(i.modelRange instanceof vi))throw new x.CKEditorError("view-conversion-dispatcher-incorrect-result",this);return{modelRange:i.modelRange,modelCursor:i.modelCursor}}_convertChildren(e,t){let i=t.is("position")?t:pi._createAt(t,0);const o=new vi(i);for(const t of Array.from(e.getChildren())){const e=this._convertItem(t,i);e.modelRange instanceof vi&&(o.end=e.modelRange.end,i=e.modelCursor)}return{modelRange:o,modelCursor:i}}_safeInsert(e,t){const i=this._splitToAllowedParent(e,t);return!!i&&(this.conversionApi.writer.insert(e,i.position),!0)}_updateConversionResult(e,t){const i=this._getSplitParts(e),o=this.conversionApi.writer;t.modelRange||(t.modelRange=o.createRange(o.createPositionBefore(e),o.createPositionAfter(i[i.length-1])));const n=this._cursorParents.get(e);t.modelCursor=n?o.createPositionAt(n,0):t.modelRange.end}_splitToAllowedParent(e,t){const{schema:i,writer:o}=this.conversionApi;let n=i.findAllowedParent(t,e);if(n){if(n===t.parent)return{position:t};this._modelCursor.parent.getAncestors().includes(n)&&(n=null)}if(!n)return no(t,e,i)?{position:ro(t,o)}:null;const r=this.conversionApi.writer.split(t,n),s=[];for(const e of r.range.getWalker())if("elementEnd"==e.type)s.push(e.item);else{const t=s.pop(),i=e.item;this._registerSplitPair(t,i)}const a=r.range.end.parent;return this._cursorParents.set(e,a),{position:r.position,cursorParent:a}}_registerSplitPair(e,t){this._splitParts.has(e)||this._splitParts.set(e,[e]);const i=this._splitParts.get(e);this._splitParts.set(t,i),i.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 No{getHtml(e){const t=document.implementation.createHTMLDocument("").createElement("div");return t.appendChild(e),t.innerHTML}}class Do{constructor(e){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Nt(e,{renderingMode:"data"}),this.htmlWriter=new No}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){e.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(e=`<body>${e}</body>`);const t=this.domParser.parseFromString(e,"text/html"),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return i}}var Lo=i(8378);class Fo extends((0,x.EmitterMixin)()){constructor(e,t){super(),this.model=e,this.mapper=new yi,this.downcastDispatcher=new Ai({mapper:this.mapper,schema:e.schema}),this.downcastDispatcher.on("insert:$text",((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.writer,n=i.mapper.toViewPosition(t.range.start),r=o.createText(t.item.data);o.insert(n,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,i)=>{i.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||i.convertChildren(t.item)}),{priority:"lowest"}),this.upcastDispatcher=new zo({schema:e.schema}),this.viewDocument=new Ke(t),this.stylesProcessor=t,this.htmlProcessor=new Do(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new rt(this.viewDocument),this.upcastDispatcher.on("text",((e,t,{schema:i,consumable:o,writer:n})=>{let r=t.modelCursor;if(!o.test(t.viewItem))return;if(!i.checkChild(r,"$text")){if(!no(r,"$text",i))return;if(0==t.viewItem.data.trim().length)return;const e=r.nodeBefore;r=ro(r,n),e&&e.is("element","$marker")&&(n.move(n.createRangeOn(e),r),r=n.createPositionAfter(e))}o.consume(t.viewItem);const s=n.createText(t.viewItem.data);n.insert(s,r),t.modelRange=n.createRange(r,r.getShiftedBy(s.offsetSize)),t.modelCursor=t.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((e,t,i)=>{if(!t.modelRange&&i.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:o}=i.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=o}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((e,t,i)=>{if(!t.modelRange&&i.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:o}=i.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=o}}),{priority:"lowest"}),(0,x.ObservableMixin)().prototype.decorate.call(this,"init"),(0,x.ObservableMixin)().prototype.decorate.call(this,"set"),(0,x.ObservableMixin)().prototype.decorate.call(this,"get"),(0,x.ObservableMixin)().prototype.decorate.call(this,"toView"),(0,x.ObservableMixin)().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},oo)}),{priority:"lowest"})}get(e={}){const{rootName:t="main",trim:i="empty"}=e;if(!this._checkIfRootsExists([t]))throw new x.CKEditorError("datacontroller-get-non-existent-root",this);const o=this.model.document.getRoot(t);return o.isAttached()||(0,Lo.KE)("datacontroller-get-detached-root",this),"empty"!==i||this.model.hasContent(o,{ignoreWhitespaces:!0})?this.stringify(o,e):""}stringify(e,t={}){const i=this.toView(e,t);return this.processor.toData(i)}toView(e,t={}){const i=this.viewDocument,o=this._viewWriter;this.mapper.clearBindings();const n=vi._createIn(e),r=new nt(i);this.mapper.bindElements(e,r);const s=e.is("documentFragment")?e.markers:function(e){const t=[],i=e.root.document;if(!i)return new Map;const o=vi._createIn(e);for(const e of i.model.markers){const i=e.getRange(),n=i.isCollapsed,r=i.start.isEqual(o.start)||i.end.isEqual(o.end);if(n&&r)t.push([e.name,i]);else{const n=o.getIntersection(i);n&&t.push([e.name,n])}}return t.sort((([e,t],[i,o])=>{if("after"!==t.end.compareWith(o.start))return 1;if("before"!==t.start.compareWith(o.end))return-1;switch(t.start.compareWith(o.start)){case"before":return 1;case"after":return-1;default:switch(t.end.compareWith(o.end)){case"before":return 1;case"after":return-1;default:return i.localeCompare(e)}}})),new Map(t)}(e);return this.downcastDispatcher.convert(n,s,o,t),r}init(e){if(this.model.document.version)throw new x.CKEditorError("datacontroller-init-document-not-empty",this);let t={};if("string"==typeof e?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new x.CKEditorError("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(e=>{for(const i of Object.keys(t)){const o=this.model.document.getRoot(i);e.insert(this.parse(t[i],o),o,0)}})),Promise.resolve()}set(e,t={}){let i={};if("string"==typeof e?i.main=e:i=e,!this._checkIfRootsExists(Object.keys(i)))throw new x.CKEditorError("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(i)){const o=this.model.document.getRoot(t);e.remove(e.createRangeIn(o)),e.insert(this.parse(i[t],o),o,0)}}))}parse(e,t="$root"){const i=this.processor.toView(e);return this.toModel(i,t)}toModel(e,t="$root"){return this.model.change((i=>this.upcastDispatcher.convert(e,i,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 Ho{constructor(e,t){this._helpers=new Map,this._downcast=(0,x.toArray)(e),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=(0,x.toArray)(t),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,t){const i=this._downcast.includes(t);if(!this._upcast.includes(t)&&!i)throw new x.CKEditorError("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:e,dispatchers:[t],isDowncast:i})}for(e){if(!this._helpers.has(e))throw new x.CKEditorError("conversion-for-unknown-group",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:t,view:i}of Wo(e))this.for("upcast").elementToElement({model:t,view:i,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:t,view:i}of Wo(e))this.for("upcast").elementToAttribute({view:i,model:t,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:t,view:i}of Wo(e))this.for("upcast").attributeToAttribute({view:i,model:t})}_createConversionHelpers({name:e,dispatchers:t,isDowncast:i}){if(this._helpers.has(e))throw new x.CKEditorError("conversion-group-exists",this);const o=i?new Ui(t):new so(t);this._helpers.set(e,o)}}function*Wo(e){if(e.model.values)for(const t of e.model.values){const i={key:e.model.key,value:t},o=e.view[t],n=e.upcastAlso?e.upcastAlso[t]:void 0;yield*Zo(i,o,n)}else yield*Zo(e.model,e.view,e.upcastAlso)}function*Zo(e,t,i){if(yield{model:e,view:t},i)for(const t of(0,x.toArray)(i))yield{model:e,view:t}}class Uo{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 jo(e,t){const i=Ko(t),o=i.reduce(((e,t)=>e+t.offsetSize),0),n=e.parent;Jo(e);const r=e.index;return n._insertChild(r,i),Go(n,r+i.length),Go(n,r),new vi(e,e.getShiftedBy(o))}function $o(e){if(!e.isFlat)throw new x.CKEditorError("operation-utils-remove-range-not-flat",this);const t=e.start.parent;Jo(e.start),Jo(e.end);const i=t._removeChildren(e.start.index,e.end.index-e.start.index);return Go(t,e.start.index),i}function qo(e,t){if(!e.isFlat)throw new x.CKEditorError("operation-utils-move-range-not-flat",this);const i=$o(e);return jo(t=t._getTransformedByDeletion(e.start,e.end.offset-e.start.offset),i)}function Ko(e){const t=[];!function e(i){if("string"==typeof i)t.push(new di(i));else if(i instanceof ui)t.push(new di(i.data,i.getAttributes()));else if(i instanceof li)t.push(i);else if((0,x.isIterable)(i))for(const t of i)e(t)}(e);for(let e=1;e<t.length;e++){const i=t[e],o=t[e-1];i instanceof di&&o instanceof di&&Yo(i,o)&&(t.splice(e-1,2,new di(o.data+i.data,o.getAttributes())),e--)}return t}function Go(e,t){const i=e.getChild(t-1),o=e.getChild(t);if(i&&o&&i.is("$text")&&o.is("$text")&&Yo(i,o)){const n=new di(i.data+o.data,i.getAttributes());e._removeChildren(t-1,2),e._insertChild(t-1,n)}}function Jo(e){const t=e.textNode,i=e.parent;if(t){const o=e.offset-t.startOffset,n=t.index;i._removeChildren(n,1);const r=new di(t.data.substr(0,o),t.getAttributes()),s=new di(t.data.substr(o),t.getAttributes());i._insertChild(n,[r,s])}}function Yo(e,t){const i=e.getAttributes(),o=t.getAttributes();for(const e of i){if(e[1]!==t.getAttribute(e[0]))return!1;o.next()}return o.next().done}class Qo extends Uo{constructor(e,t,i,o){super(o),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toNext",this.howMany=t,this.targetPosition=i.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}clone(){return new Qo(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 Qo(this.getMovedRangeStart(),this.howMany,e,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent,i=this.sourcePosition.offset,o=this.targetPosition.offset;if(i+this.howMany>e.maxOffset)throw new x.CKEditorError("move-operation-nodes-do-not-exist",this);if(e===t&&i<o&&o<i+this.howMany)throw new x.CKEditorError("move-operation-range-into-itself",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==(0,x.compareArrays)(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const e=this.sourcePosition.path.length-1;if(this.targetPosition.path[e]>=i&&this.targetPosition.path[e]<i+this.howMany)throw new x.CKEditorError("move-operation-node-into-itself",this)}}_execute(){qo(vi._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 i=pi.fromJSON(e.sourcePosition,t),o=pi.fromJSON(e.targetPosition,t);return new this(i,e.howMany,o,e.baseVersion)}}class Xo extends Uo{constructor(e,t,i){super(i),this.position=e.clone(),this.position.stickiness="toNone",this.nodes=new ci(Ko(t)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}clone(){const e=new ci([...this.nodes].map((e=>e._clone(!0)))),t=new Xo(this.position,e,this.baseVersion);return t.shouldReceiveAttributes=this.shouldReceiveAttributes,t}getReversed(){const e=this.position.root.document.graveyard,t=new pi(e,[0]);return new Qo(this.position,this.nodes.maxOffset,t,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffset<this.position.offset)throw new x.CKEditorError("insert-operation-position-invalid",this)}_execute(){const e=this.nodes;this.nodes=new ci([...e].map((e=>e._clone(!0)))),jo(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 i=[];for(const t of e.nodes)t.name?i.push(hi.fromJSON(t)):i.push(di.fromJSON(t));const o=new Xo(pi.fromJSON(e.position,t),i,e.baseVersion);return o.shouldReceiveAttributes=e.shouldReceiveAttributes,o}}class en extends Uo{constructor(e,t,i,o,n){super(n),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=t,this.insertionPosition=i,this.graveyardPosition=o?o.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 pi(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new vi(this.splitPosition,e)}clone(){return new en(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.splitPosition.root.document.graveyard,t=new pi(e,[0]);return new tn(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 x.CKEditorError("split-operation-position-invalid",this);if(!e.parent)throw new x.CKEditorError("split-operation-split-in-root",this);if(this.howMany!=e.maxOffset-this.splitPosition.offset)throw new x.CKEditorError("split-operation-how-many-invalid",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new x.CKEditorError("split-operation-graveyard-position-invalid",this)}_execute(){const e=this.splitPosition.parent;if(this.graveyardPosition)qo(vi._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const t=e._clone();jo(this.insertionPosition,t)}qo(new vi(pi._createAt(e,this.splitPosition.offset),pi._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 pi(e.root,t,"toPrevious")}static fromJSON(e,t){const i=pi.fromJSON(e.splitPosition,t),o=pi.fromJSON(e.insertionPosition,t),n=e.graveyardPosition?pi.fromJSON(e.graveyardPosition,t):null;return new this(i,e.howMany,o,n,e.baseVersion)}}class tn extends Uo{constructor(e,t,i,o,n){super(n),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=t,this.targetPosition=i.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=o.clone()}get type(){return"merge"}get deletionPosition(){return new pi(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const e=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new vi(this.sourcePosition,e)}clone(){return new tn(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.targetPosition._getTransformedByMergeOperation(this),t=this.sourcePosition.path.slice(0,-1),i=new pi(this.sourcePosition.root,t)._getTransformedByMergeOperation(this);return new en(e,this.howMany,i,this.graveyardPosition,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent;if(!e.parent)throw new x.CKEditorError("merge-operation-source-position-invalid",this);if(!t.parent)throw new x.CKEditorError("merge-operation-target-position-invalid",this);if(this.howMany!=e.maxOffset)throw new x.CKEditorError("merge-operation-how-many-invalid",this)}_execute(){const e=this.sourcePosition.parent;qo(vi._createIn(e),this.targetPosition),qo(vi._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 i=pi.fromJSON(e.sourcePosition,t),o=pi.fromJSON(e.targetPosition,t),n=pi.fromJSON(e.graveyardPosition,t);return new this(i,e.howMany,o,n,e.baseVersion)}}class on extends Uo{constructor(e,t,i,o,n,r){super(r),this.name=e,this.oldRange=t?t.clone():null,this.newRange=i?i.clone():null,this.affectsData=n,this._markers=o}get type(){return"marker"}clone(){return new on(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new on(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 on(e.name,e.oldRange?vi.fromJSON(e.oldRange,t):null,e.newRange?vi.fromJSON(e.newRange,t):null,t.model.markers,e.affectsData,e.baseVersion)}}var nn=i(576);class rn extends Uo{constructor(e,t,i,o,n){super(n),this.range=e.clone(),this.key=t,this.oldValue=void 0===i?null:i,this.newValue=void 0===o?null:o}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}clone(){return new rn(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new rn(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 x.CKEditorError("attribute-operation-range-not-flat",this);for(const e of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!(0,nn.Z)(e.getAttribute(this.key),this.oldValue))throw new x.CKEditorError("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 x.CKEditorError("attribute-operation-attribute-exists",this,{node:e,key:this.key})}}_execute(){(0,nn.Z)(this.oldValue,this.newValue)||function(e,t,i){Jo(e.start),Jo(e.end);for(const o of e.getItems({shallow:!0})){const e=o.is("$textProxy")?o.textNode:o;null!==i?e._setAttribute(t,i):e._removeAttribute(t),Go(e.parent,e.index)}Go(e.end.parent,e.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(e,t){return new rn(vi.fromJSON(e.range,t),e.key,e.oldValue,e.newValue,e.baseVersion)}}class sn extends Uo{get type(){return"noop"}clone(){return new sn(this.baseVersion)}getReversed(){return new sn(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}class an extends Uo{constructor(e,t,i,o){super(o),this.position=e,this.position.stickiness="toNext",this.oldName=t,this.newName=i}get type(){return"rename"}clone(){return new an(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new an(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const e=this.position.nodeAfter;if(!(e instanceof hi))throw new x.CKEditorError("rename-operation-wrong-position",this);if(e.name!==this.oldName)throw new x.CKEditorError("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 an(pi.fromJSON(e.position,t),e.oldName,e.newName,e.baseVersion)}}class ln extends Uo{constructor(e,t,i,o,n){super(n),this.root=e,this.key=t,this.oldValue=void 0===i?null:i,this.newValue=void 0===o?null:o}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}clone(){return new ln(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new ln(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new x.CKEditorError("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 x.CKEditorError("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 x.CKEditorError("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 x.CKEditorError("rootattribute-operation-fromjson-no-root",this,{rootName:e.root});return new ln(t.getRoot(e.root),e.key,e.oldValue,e.newValue,e.baseVersion)}}class cn extends Uo{constructor(e,t,i,o,n){super(n),this.rootName=e,this.elementName=t,this.isAdd=i,this._document=o,this._document.getRoot(this.rootName)||(this._document.createRoot(this.elementName,this.rootName)._isAttached=!1)}get type(){return this.isAdd?"addRoot":"detachRoot"}clone(){return new cn(this.rootName,this.elementName,this.isAdd,this._document,this.baseVersion)}getReversed(){return new cn(this.rootName,this.elementName,!this.isAdd,this._document,this.baseVersion+1)}_validate(){const e=this._document.getRoot(this.rootName);if(e.isAttached()&&this.isAdd)throw new x.CKEditorError("root-operation-root-attached",this);if(!e.isAttached()&&!this.isAdd)throw new x.CKEditorError("root-operation-root-detached",this)}_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 cn(e.rootName,e.elementName,e.isAdd,t,e.baseVersion)}}const dn={};dn[rn.className]=rn,dn[Xo.className]=Xo,dn[on.className]=on,dn[Qo.className]=Qo,dn[sn.className]=sn,dn[Uo.className]=Uo,dn[an.className]=an,dn[ln.className]=ln,dn[cn.className]=cn,dn[en.className]=en,dn[tn.className]=tn;class un{static fromJSON(e,t){return dn[e.__className].fromJSON(e,t)}}const hn=new Map;function mn(e,t,i){let o=hn.get(e);o||(o=new Map,hn.set(e,o)),o.set(t,i)}function gn(e){return[e]}function pn(e,t,i={}){const o=function(e,t){const i=hn.get(e);return i&&i.has(t)?i.get(t):gn}(e.constructor,t.constructor);try{return o(e=e.clone(),t,i)}catch(e){throw e}}function fn(e,t,i){e=e.slice(),t=t.slice();const o=new bn(i.document,i.useRelations,i.forceWeakRemove);o.setOriginalOperations(e),o.setOriginalOperations(t);const n=o.originalOperations;if(0==e.length||0==t.length)return{operationsA:e,operationsB:t,originalOperations:n};const r=new WeakMap;for(const t of e)r.set(t,0);const s={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 i=e[a],n=r.get(i);if(n==t.length){a++;continue}const s=t[n],l=pn(i,s,o.getContext(i,s,!0)),c=pn(s,i,o.getContext(s,i,!1));o.updateRelation(i,s),o.setOriginalOperations(l,i),o.setOriginalOperations(c,s);for(const e of l)r.set(e,n+c.length);e.splice(a,1,...l),t.splice(n,1,...c)}if(i.padWithNoOps){const i=e.length-s.originalOperationsACount,o=t.length-s.originalOperationsBCount;kn(e,o-i),kn(t,i-o)}return wn(e,s.nextBaseVersionB),wn(t,s.nextBaseVersionA),{operationsA:e,operationsB:t,originalOperations:n}}class bn{constructor(e,t,i=!1){this.originalOperations=new Map,this._history=e.history,this._useRelations=t,this._forceWeakRemove=!!i,this._relations=new Map}setOriginalOperations(e,t=null){const i=t?this.originalOperations.get(t):null;for(const t of e)this.originalOperations.set(t,i||t)}updateRelation(e,t){if(e instanceof Qo)t instanceof tn?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 Qo&&(e.targetPosition.isEqual(t.sourcePosition)||e.targetPosition.isBefore(t.sourcePosition)?this._setRelation(e,t,"insertBefore"):this._setRelation(e,t,"insertAfter"));else if(e instanceof en){if(t instanceof tn)e.splitPosition.isBefore(t.sourcePosition)&&this._setRelation(e,t,"splitBefore");else if(t instanceof Qo)if(e.splitPosition.isEqual(t.sourcePosition)||e.splitPosition.isBefore(t.sourcePosition))this._setRelation(e,t,"splitBefore");else{const i=vi._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&i.containsPosition(e.splitPosition)){const o=i.end.offset-e.splitPosition.offset,n=e.splitPosition.offset-i.start.offset;this._setRelation(e,t,{howMany:o,offset:n})}}}else if(e instanceof tn)t instanceof tn?(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 en&&e.sourcePosition.isEqual(t.splitPosition)&&this._setRelation(e,t,"splitAtSource");else if(e instanceof on){const i=e.newRange;if(!i)return;if(t instanceof Qo){const o=vi._createFromPositionAndShift(t.sourcePosition,t.howMany),n=o.containsPosition(i.start)||o.start.isEqual(i.start),r=o.containsPosition(i.end)||o.end.isEqual(i.end);!n&&!r||o.containsRange(i)||this._setRelation(e,t,{side:n?"left":"right",path:n?i.start.path.slice():i.end.path.slice()})}else if(t instanceof tn){const o=i.start.isEqual(t.targetPosition),n=i.start.isEqual(t.deletionPosition),r=i.end.isEqual(t.deletionPosition),s=i.end.isEqual(t.sourcePosition);(o||n||r||s)&&this._setRelation(e,t,{wasInLeftElement:o,wasStartBeforeMergedElement:n,wasEndBeforeMergedElement:r,wasInRightElement:s})}}}getContext(e,t,i){return{aIsStrong:i,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 i=this.originalOperations.get(t),o=this._history.getUndoneOperation(i);if(!o)return null;const n=this.originalOperations.get(e),r=this._relations.get(n);return r&&r.get(o)||null}_setRelation(e,t,i){const o=this.originalOperations.get(e),n=this.originalOperations.get(t);let r=this._relations.get(o);r||(r=new Map,this._relations.set(o,r)),r.set(n,i)}}function wn(e,t){for(const i of e)i.baseVersion=t++}function kn(e,t){for(let i=0;i<t;i++)e.push(new sn(0))}function _n(e,t,i){const o=e.nodes.getNode(0).getAttribute(t);if(o==i)return null;const n=new vi(e.position,e.position.getShiftedBy(e.howMany));return new rn(n,t,o,i,0)}function vn(e,t){return null===e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany)}function yn(e,t){const i=[];for(let o=0;o<e.length;o++){const n=e[o],r=new Qo(n.start,n.end.offset-n.start.offset,t,0);i.push(r);for(let t=o+1;t<e.length;t++)e[t]=e[t]._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany)[0];t=t._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany)}return i}mn(rn,rn,((e,t,i)=>{if(e.key===t.key&&e.range.start.hasSameParentAs(t.range.start)){const o=e.range.getDifference(t.range).map((t=>new rn(t,e.key,e.oldValue,e.newValue,0))),n=e.range.getIntersection(t.range);return n&&i.aIsStrong&&o.push(new rn(n,t.key,t.newValue,e.newValue,0)),0==o.length?[new sn(0)]:o}return[e]})),mn(rn,Xo,((e,t)=>{if(e.range.start.hasSameParentAs(t.position)&&e.range.containsPosition(t.position)){const i=e.range._getTransformedByInsertion(t.position,t.howMany,!t.shouldReceiveAttributes).map((t=>new rn(t,e.key,e.oldValue,e.newValue,e.baseVersion)));if(t.shouldReceiveAttributes){const o=_n(t,e.key,e.oldValue);o&&i.unshift(o)}return i}return e.range=e.range._getTransformedByInsertion(t.position,t.howMany,!1)[0],[e]})),mn(rn,tn,((e,t)=>{const i=[];e.range.start.hasSameParentAs(t.deletionPosition)&&(e.range.containsPosition(t.deletionPosition)||e.range.start.isEqual(t.deletionPosition))&&i.push(vi._createFromPositionAndShift(t.graveyardPosition,1));const o=e.range._getTransformedByMergeOperation(t);return o.isCollapsed||i.push(o),i.map((t=>new rn(t,e.key,e.oldValue,e.newValue,e.baseVersion)))})),mn(rn,Qo,((e,t)=>function(e,t){const i=vi._createFromPositionAndShift(t.sourcePosition,t.howMany);let o=null,n=[];i.containsRange(e,!0)?o=e:e.start.hasSameParentAs(i.start)?(n=e.getDifference(i),o=e.getIntersection(i)):n=[e];const r=[];for(let e of n){e=e._getTransformedByDeletion(t.sourcePosition,t.howMany);const i=t.getMovedRangeStart(),o=e.start.hasSameParentAs(i),n=e._getTransformedByInsertion(i,t.howMany,o);r.push(...n)}return o&&r.push(o._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany,!1)[0]),r}(e.range,t).map((t=>new rn(t,e.key,e.oldValue,e.newValue,e.baseVersion))))),mn(rn,en,((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 i=e.clone();return i.range=new vi(t.moveTargetPosition.clone(),e.range.end._getCombined(t.splitPosition,t.moveTargetPosition)),e.range.end=t.splitPosition.clone(),e.range.end.stickiness="toPrevious",[e,i]}return e.range=e.range._getTransformedBySplitOperation(t),[e]})),mn(Xo,rn,((e,t)=>{const i=[e];if(e.shouldReceiveAttributes&&e.position.hasSameParentAs(t.range.start)&&t.range.containsPosition(e.position)){const o=_n(e,t.key,t.newValue);o&&i.push(o)}return i})),mn(Xo,Xo,((e,t,i)=>(e.position.isEqual(t.position)&&i.aIsStrong||(e.position=e.position._getTransformedByInsertOperation(t)),[e]))),mn(Xo,Qo,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),mn(Xo,en,((e,t)=>(e.position=e.position._getTransformedBySplitOperation(t),[e]))),mn(Xo,tn,((e,t)=>(e.position=e.position._getTransformedByMergeOperation(t),[e]))),mn(on,Xo,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByInsertOperation(t)[0]),e.newRange&&(e.newRange=e.newRange._getTransformedByInsertOperation(t)[0]),[e]))),mn(on,on,((e,t,i)=>{if(e.name==t.name){if(!i.aIsStrong)return[new sn(0)];e.oldRange=t.newRange?t.newRange.clone():null}return[e]})),mn(on,tn,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByMergeOperation(t)),e.newRange&&(e.newRange=e.newRange._getTransformedByMergeOperation(t)),[e]))),mn(on,Qo,((e,t,i)=>{if(e.oldRange&&(e.oldRange=vi._createFromRanges(e.oldRange._getTransformedByMoveOperation(t))),e.newRange){if(i.abRelation){const o=vi._createFromRanges(e.newRange._getTransformedByMoveOperation(t));if("left"==i.abRelation.side&&t.targetPosition.isEqual(e.newRange.start))return e.newRange.end=o.end,e.newRange.start.path=i.abRelation.path,[e];if("right"==i.abRelation.side&&t.targetPosition.isEqual(e.newRange.end))return e.newRange.start=o.start,e.newRange.end.path=i.abRelation.path,[e]}e.newRange=vi._createFromRanges(e.newRange._getTransformedByMoveOperation(t))}return[e]})),mn(on,en,((e,t,i)=>{if(e.oldRange&&(e.oldRange=e.oldRange._getTransformedBySplitOperation(t)),e.newRange){if(i.abRelation){const o=e.newRange._getTransformedBySplitOperation(t);return e.newRange.start.isEqual(t.splitPosition)&&i.abRelation.wasStartBeforeMergedElement?e.newRange.start=pi._createAt(t.insertionPosition):e.newRange.start.isEqual(t.splitPosition)&&!i.abRelation.wasInLeftElement&&(e.newRange.start=pi._createAt(t.moveTargetPosition)),e.newRange.end.isEqual(t.splitPosition)&&i.abRelation.wasInRightElement?e.newRange.end=pi._createAt(t.moveTargetPosition):e.newRange.end.isEqual(t.splitPosition)&&i.abRelation.wasEndBeforeMergedElement?e.newRange.end=pi._createAt(t.insertionPosition):e.newRange.end=o.end,[e]}e.newRange=e.newRange._getTransformedBySplitOperation(t)}return[e]})),mn(tn,Xo,((e,t)=>(e.sourcePosition.hasSameParentAs(t.position)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByInsertOperation(t),e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t),[e]))),mn(tn,tn,((e,t,i)=>{if(e.sourcePosition.isEqual(t.sourcePosition)&&e.targetPosition.isEqual(t.targetPosition)){if(i.bWasUndone){const i=t.graveyardPosition.path.slice();return i.push(0),e.sourcePosition=new pi(t.graveyardPosition.root,i),e.howMany=0,[e]}return[new sn(0)]}if(e.sourcePosition.isEqual(t.sourcePosition)&&!e.targetPosition.isEqual(t.targetPosition)&&!i.bWasUndone&&"splitAtSource"!=i.abRelation){const o="$graveyard"==e.targetPosition.root.rootName,n="$graveyard"==t.targetPosition.root.rootName;if(n&&!o||(!o||n)&&i.aIsStrong){const i=t.targetPosition._getTransformedByMergeOperation(t),o=e.targetPosition._getTransformedByMergeOperation(t);return[new Qo(i,e.howMany,o,0)]}return[new sn(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)&&i.aIsStrong||(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),mn(tn,Qo,((e,t,i)=>{const o=vi._createFromPositionAndShift(t.sourcePosition,t.howMany);return"remove"==t.type&&!i.bWasUndone&&!i.forceWeakRemove&&e.deletionPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.sourcePosition)?[new sn(0)]:(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.graveyardPosition.isEqual(t.targetPosition)||(e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)),[e])})),mn(tn,en,((e,t,i)=>{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 o=0!=t.howMany,n=t.graveyardPosition&&e.deletionPosition.isEqual(t.graveyardPosition);if(o||n||"mergeTargetNotMoved"==i.abRelation)return e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),[e]}if(e.sourcePosition.isEqual(t.splitPosition)){if("mergeSourceNotMoved"==i.abRelation)return e.howMany=0,e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e];if("mergeSameElement"==i.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]})),mn(Qo,Xo,((e,t)=>{const i=vi._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByInsertOperation(t,!1)[0];return e.sourcePosition=i.start,e.howMany=i.end.offset-i.start.offset,e.targetPosition.isEqual(t.position)||(e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t)),[e]})),mn(Qo,Qo,((e,t,i)=>{const o=vi._createFromPositionAndShift(e.sourcePosition,e.howMany),n=vi._createFromPositionAndShift(t.sourcePosition,t.howMany);let r,s=i.aIsStrong,a=!i.aIsStrong;if("insertBefore"==i.abRelation||"insertAfter"==i.baRelation?a=!0:"insertAfter"!=i.abRelation&&"insertBefore"!=i.baRelation||(a=!1),r=e.targetPosition.isEqual(t.targetPosition)&&a?e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany):e.targetPosition._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),vn(e,t)&&vn(t,e))return[t.getReversed()];if(o.containsPosition(t.targetPosition)&&o.containsRange(n,!0))return o.start=o.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),o.end=o.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),yn([o],r);if(n.containsPosition(e.targetPosition)&&n.containsRange(o,!0))return o.start=o.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),o.end=o.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),yn([o],r);const l=(0,x.compareArrays)(e.sourcePosition.getParentPath(),t.sourcePosition.getParentPath());if("prefix"==l||"extension"==l)return o.start=o.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),o.end=o.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),yn([o],r);"remove"!=e.type||"remove"==t.type||i.aWasUndone||i.forceWeakRemove?"remove"==e.type||"remove"!=t.type||i.bWasUndone||i.forceWeakRemove||(s=!1):s=!0;const c=[],d=o.getDifference(n);for(const e of d){e.start=e.start._getTransformedByDeletion(t.sourcePosition,t.howMany),e.end=e.end._getTransformedByDeletion(t.sourcePosition,t.howMany);const i="same"==(0,x.compareArrays)(e.start.getParentPath(),t.getMovedRangeStart().getParentPath()),o=e._getTransformedByInsertion(t.getMovedRangeStart(),t.howMany,i);c.push(...o)}const u=o.getIntersection(n);return null!==u&&s&&(u.start=u.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),u.end=u.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),0===c.length?c.push(u):1==c.length?n.start.isBefore(o.start)||n.start.isEqual(o.start)?c.unshift(u):c.push(u):c.splice(1,0,u)),0===c.length?[new sn(e.baseVersion)]:yn(c,r)})),mn(Qo,en,((e,t,i)=>{let o=e.targetPosition.clone();e.targetPosition.isEqual(t.insertionPosition)&&t.graveyardPosition&&"moveTargetAfter"!=i.abRelation||(o=e.targetPosition._getTransformedBySplitOperation(t));const n=vi._createFromPositionAndShift(e.sourcePosition,e.howMany);if(n.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.howMany++,e.targetPosition=o,[e];if(n.start.hasSameParentAs(t.splitPosition)&&n.containsPosition(t.splitPosition)){let e=new vi(t.splitPosition,n.end);return e=e._getTransformedBySplitOperation(t),yn([new vi(n.start,t.splitPosition),e],o)}e.targetPosition.isEqual(t.splitPosition)&&"insertAtSource"==i.abRelation&&(o=t.moveTargetPosition),e.targetPosition.isEqual(t.insertionPosition)&&"insertBetween"==i.abRelation&&(o=e.targetPosition);const r=[n._getTransformedBySplitOperation(t)];if(t.graveyardPosition){const o=n.start.isEqual(t.graveyardPosition)||n.containsPosition(t.graveyardPosition);e.howMany>1&&o&&!i.aWasUndone&&r.push(vi._createFromPositionAndShift(t.insertionPosition,1))}return yn(r,o)})),mn(Qo,tn,((e,t,i)=>{const o=vi._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.deletionPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.sourcePosition))if("remove"!=e.type||i.forceWeakRemove){if(1==e.howMany)return i.bWasUndone?(e.sourcePosition=t.graveyardPosition.clone(),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]):[new sn(0)]}else if(!i.aWasUndone){const i=[];let o=t.graveyardPosition.clone(),n=t.targetPosition._getTransformedByMergeOperation(t);e.howMany>1&&(i.push(new Qo(e.sourcePosition,e.howMany-1,e.targetPosition,0)),o=o._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1),n=n._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1));const r=t.deletionPosition._getCombined(e.sourcePosition,e.targetPosition),s=new Qo(o,1,r,0),a=s.getMovedRangeStart().path.slice();a.push(0);const l=new pi(s.targetPosition.root,a);n=n._getTransformedByMove(o,r,1);const c=new Qo(n,t.howMany,l,0);return i.push(s),i.push(c),i}const n=vi._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByMergeOperation(t);return e.sourcePosition=n.start,e.howMany=n.end.offset-n.start.offset,e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]})),mn(an,Xo,((e,t)=>(e.position=e.position._getTransformedByInsertOperation(t),[e]))),mn(an,tn,((e,t)=>e.position.isEqual(t.deletionPosition)?(e.position=t.graveyardPosition.clone(),e.position.stickiness="toNext",[e]):(e.position=e.position._getTransformedByMergeOperation(t),[e]))),mn(an,Qo,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),mn(an,an,((e,t,i)=>{if(e.position.isEqual(t.position)){if(!i.aIsStrong)return[new sn(0)];e.oldName=t.newName}return[e]})),mn(an,en,((e,t)=>{const i=e.position.path,o=t.splitPosition.getParentPath();if("same"==(0,x.compareArrays)(i,o)&&!t.graveyardPosition){const t=new an(e.position.getShiftedBy(1),e.oldName,e.newName,0);return[e,t]}return e.position=e.position._getTransformedBySplitOperation(t),[e]})),mn(ln,ln,((e,t,i)=>{if(e.root===t.root&&e.key===t.key){if(!i.aIsStrong||e.newValue===t.newValue)return[new sn(0)];e.oldValue=t.newValue}return[e]})),mn(cn,cn,((e,t,i)=>e.rootName!==t.rootName||e.isAdd!==t.isAdd||i.bWasUndone?[e]:[new sn(0)])),mn(en,Xo,((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]))),mn(en,tn,((e,t,i)=>{if(!e.graveyardPosition&&!i.bWasUndone&&e.splitPosition.hasSameParentAs(t.sourcePosition)){const i=t.graveyardPosition.path.slice();i.push(0);const o=new pi(t.graveyardPosition.root,i),n=en.getInsertionPosition(new pi(t.graveyardPosition.root,i)),r=new en(o,0,n,null,0);return e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=en.getInsertionPosition(e.splitPosition),e.graveyardPosition=r.insertionPosition.clone(),e.graveyardPosition.stickiness="toNext",[r,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=en.getInsertionPosition(e.splitPosition),e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),mn(en,Qo,((e,t,i)=>{const o=vi._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.graveyardPosition){const n=o.start.isEqual(e.graveyardPosition)||o.containsPosition(e.graveyardPosition);if(!i.bWasUndone&&n){const i=e.splitPosition._getTransformedByMoveOperation(t),o=e.graveyardPosition._getTransformedByMoveOperation(t),n=o.path.slice();n.push(0);const r=new pi(o.root,n);return[new Qo(i,e.howMany,r,0)]}e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)}const n=e.splitPosition.isEqual(t.targetPosition);if(n&&("insertAtSource"==i.baRelation||"splitBefore"==i.abRelation))return e.howMany+=t.howMany,e.splitPosition=e.splitPosition._getTransformedByDeletion(t.sourcePosition,t.howMany),e.insertionPosition=en.getInsertionPosition(e.splitPosition),[e];if(n&&i.abRelation&&i.abRelation.howMany){const{howMany:t,offset:o}=i.abRelation;return e.howMany+=t,e.splitPosition=e.splitPosition.getShiftedBy(o),[e]}if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.splitPosition)){const i=t.howMany-(e.splitPosition.offset-t.sourcePosition.offset);return e.howMany-=i,e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany),e.splitPosition=t.sourcePosition.clone(),e.insertionPosition=en.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=en.getInsertionPosition(e.splitPosition),[e]})),mn(en,en,((e,t,i)=>{if(e.splitPosition.isEqual(t.splitPosition)){if(!e.graveyardPosition&&!t.graveyardPosition)return[new sn(0)];if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition))return[new sn(0)];if("splitBefore"==i.abRelation)return e.howMany=0,e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t),[e]}if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition)){const o="$graveyard"==e.splitPosition.root.rootName,n="$graveyard"==t.splitPosition.root.rootName;if(n&&!o||(!o||n)&&i.aIsStrong){const i=[];return t.howMany&&i.push(new Qo(t.moveTargetPosition,t.howMany,t.splitPosition,0)),e.howMany&&i.push(new Qo(e.splitPosition,e.howMany,e.moveTargetPosition,0)),i}return[new sn(0)]}if(e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t)),e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==i.abRelation)return e.howMany++,[e];if(t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==i.baRelation){const i=t.insertionPosition.path.slice();i.push(0);const o=new pi(t.insertionPosition.root,i);return[e,new Qo(e.insertionPosition,1,o,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=en.getInsertionPosition(e.splitPosition),[e]}));class Cn extends((0,x.EmitterMixin)(pi)){constructor(e,t,i="toNone"){if(super(e,t,i),!this.root.is("rootElement"))throw new x.CKEditorError("model-liveposition-root-not-rootelement",e);xn.call(this)}detach(){this.stopListening()}toPosition(){return new pi(this.root,this.path.slice(),this.stickiness)}static fromPosition(e,t){return new this(e.root,e.path.slice(),t||e.stickiness)}}function xn(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&An.call(this,i)}),{priority:"low"})}function An(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)}}Cn.prototype.is=function(e){return"livePosition"===e||"model:livePosition"===e||"position"==e||"model:position"===e};class En{constructor(e={}){"string"==typeof e&&(e="transparent"===e?{isUndoable:!1}:{},(0,x.logWarning)("batch-constructor-deprecated-string-type"));const{isUndoable:t=!0,isLocal:i=!0,isUndo:o=!1,isTyping:n=!1}=e;this.operations=[],this.isUndoable=t,this.isLocal=i,this.isUndo=o,this.isTyping=n}get type(){return(0,x.logWarning)("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 Tn{constructor(e){this._changesInElement=new Map,this._elementSnapshots=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}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),i=this._isInInsertedElement(t.targetPosition.parent);e||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),i||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);break}case"rename":{if(this._isInInsertedElement(t.position.parent))return;this._markRemove(t.position.parent,t.position.offset,1),this._markInsert(t.position.parent,t.position.offset,1);const e=vi._createFromPositionAndShift(t.position,1);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}break}case"split":{const e=t.splitPosition.parent;this._isInInsertedElement(e)||this._markRemove(e,t.splitPosition.offset,t.howMany),this._isInInsertedElement(t.insertionPosition.parent)||this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1),t.graveyardPosition&&this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1);break}case"merge":{const e=t.sourcePosition.parent;this._isInInsertedElement(e.parent)||this._markRemove(e.parent,e.startOffset,1);const i=t.graveyardPosition.parent;this._markInsert(i,t.graveyardPosition.offset,1);const o=t.targetPosition.parent;this._isInInsertedElement(o)||this._markInsert(o,t.targetPosition.offset,e.maxOffset);break}case"detachRoot":case"addRoot":this._bufferRootStateChange(t.rootName,t.isAdd);break;case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{const e=t.root.rootName;this._bufferRootAttributeChange(e,t.key,t.oldValue,t.newValue);break}}this._cachedChanges=null}bufferMarkerChange(e,t,i){const o=this._changedMarkers.get(e);o?(o.newMarkerData=i,null==o.oldMarkerData.range&&null==i.range&&this._changedMarkers.delete(e)):this._changedMarkers.set(e,{newMarkerData:i,oldMarkerData:t})}getMarkersToRemove(){const e=[];for(const[t,i]of this._changedMarkers)null!=i.oldMarkerData.range&&e.push({name:t,range:i.oldMarkerData.range});return e}getMarkersToAdd(){const e=[];for(const[t,i]of this._changedMarkers)null!=i.newMarkerData.range&&e.push({name:t,range:i.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._changesInElement.size>0)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 i=e.range&&!t.range,o=!e.range&&t.range,n=e.range&&t.range&&!e.range.isEqual(t.range);if(i||o||n)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 i=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)),o=this._elementSnapshots.get(e),n=Sn(e.getChildren()),r=Pn(o.length,i);let s=0,a=0;for(const i of r)if("i"===i)t.push(this._getInsertDiff(e,s,n[s])),s++;else if("r"===i)t.push(this._getRemoveDiff(e,s,o[a])),a++;else if("a"===i){const i=n[s].attributes,r=o[a].attributes;let l;if("$text"==n[s].name)l=new vi(pi._createAt(e,s),pi._createAt(e,s+1));else{const t=e.offsetToIndex(s);l=new vi(pi._createAt(e,s),pi._createAt(e.getChild(t),0))}t.push(...this._getAttributesDiff(l,r,i)),s++,a++}else s++,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,i=0;e<t.length;e++){const o=t[i],n=t[e],r="remove"==o.type&&"remove"==n.type&&"$text"==o.name&&"$text"==n.name&&o.position.isEqual(n.position),s="insert"==o.type&&"insert"==n.type&&"$text"==o.name&&"$text"==n.name&&o.position.parent==n.position.parent&&o.position.offset+o.length==n.position.offset,a="attribute"==o.type&&"attribute"==n.type&&o.position.parent==n.position.parent&&o.range.isFlat&&n.range.isFlat&&o.position.offset+o.length==n.position.offset&&o.attributeKey==n.attributeKey&&o.attributeOldValue==n.attributeOldValue&&o.attributeNewValue==n.attributeNewValue;r||s||a?(o.length++,a&&(o.range.end=o.range.end.getShiftedBy(1)),t[e]=null):i=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(In),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._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(e,t){if(!this._changedRoots.has(e))return void this._changedRoots.set(e,{name:e,state:t?"attached":"detached"});const i=this._changedRoots.get(e);void 0!==i.state?(delete i.state,void 0===i.attributes&&this._changedRoots.delete(e)):i.state=t?"attached":"detached"}_bufferRootAttributeChange(e,t,i,o){const n=this._changedRoots.get(e)||{name:e},r=n.attributes||{};if(r[t]){const e=r[t];o===e.oldValue?delete r[t]:e.newValue=o}else r[t]={oldValue:i,newValue:o};0===Object.entries(r).length?(delete n.attributes,void 0===n.state&&this._changedRoots.delete(e)):(n.attributes=r,this._changedRoots.set(e,n))}_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);const t=vi._createOn(e);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}this._cachedChanges=null}_markInsert(e,t,i){const o={type:"insert",offset:t,howMany:i,count:this._changeCount++};this._markChange(e,o)}_markRemove(e,t,i){const o={type:"remove",offset:t,howMany:i,count:this._changeCount++};this._markChange(e,o),this._removeAllNestedChanges(e,t,i)}_markAttribute(e){const t={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,t)}_markChange(e,t){this._makeSnapshot(e);const i=this._getChangesForElement(e);this._handleChange(t,i),i.push(t);for(let e=0;e<i.length;e++)i[e].howMany<1&&(i.splice(e,1),e--)}_getChangesForElement(e){let t;return this._changesInElement.has(e)?t=this._changesInElement.get(e):(t=[],this._changesInElement.set(e,t)),t}_makeSnapshot(e){this._elementSnapshots.has(e)||this._elementSnapshots.set(e,Sn(e.getChildren()))}_handleChange(e,t){e.nodesToHandle=e.howMany;for(const i of t){const o=e.offset+e.howMany,n=i.offset+i.howMany;if("insert"==e.type&&("insert"==i.type&&(e.offset<=i.offset?i.offset+=e.howMany:e.offset<n&&(i.howMany+=e.nodesToHandle,e.nodesToHandle=0)),"remove"==i.type&&e.offset<i.offset&&(i.offset+=e.howMany),"attribute"==i.type))if(e.offset<=i.offset)i.offset+=e.howMany;else if(e.offset<n){const n=i.howMany;i.howMany=e.offset-i.offset,t.unshift({type:"attribute",offset:o,howMany:n-i.howMany,count:this._changeCount++})}if("remove"==e.type){if("insert"==i.type)if(o<=i.offset)i.offset-=e.howMany;else if(o<=n)if(e.offset<i.offset){const t=o-i.offset;i.offset=e.offset,i.howMany-=t,e.nodesToHandle-=t}else i.howMany-=e.nodesToHandle,e.nodesToHandle=0;else if(e.offset<=i.offset)e.nodesToHandle-=i.howMany,i.howMany=0;else if(e.offset<n){const t=n-e.offset;i.howMany-=t,e.nodesToHandle-=t}if("remove"==i.type&&(o<=i.offset?i.offset-=e.howMany:e.offset<i.offset&&(e.nodesToHandle+=i.howMany,i.howMany=0)),"attribute"==i.type)if(o<=i.offset)i.offset-=e.howMany;else if(e.offset<i.offset){const t=o-i.offset;i.offset=e.offset,i.howMany-=t}else if(e.offset<n)if(o<=n){const o=i.howMany;i.howMany=e.offset-i.offset;const n=o-i.howMany-e.nodesToHandle;t.unshift({type:"attribute",offset:e.offset,howMany:n,count:this._changeCount++})}else i.howMany-=n-e.offset}if("attribute"==e.type){if("insert"==i.type)if(e.offset<i.offset&&o>i.offset){if(o>n){const e={type:"attribute",offset:n,howMany:o-n,count:this._changeCount++};this._handleChange(e,t),t.push(e)}e.nodesToHandle=i.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=i.offset&&e.offset<n&&(o>n?(e.nodesToHandle=o-n,e.offset=n):e.nodesToHandle=0);if("remove"==i.type&&e.offset<i.offset&&o>i.offset){const n={type:"attribute",offset:i.offset,howMany:o-i.offset,count:this._changeCount++};this._handleChange(n,t),t.push(n),e.nodesToHandle=i.offset-e.offset,e.howMany=e.nodesToHandle}"attribute"==i.type&&(e.offset>=i.offset&&o<=n?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=i.offset&&o>=n&&(i.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,t,i){return{type:"insert",position:pi._createAt(e,t),name:i.name,attributes:new Map(i.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(e,t,i){return{type:"remove",position:pi._createAt(e,t),name:i.name,attributes:new Map(i.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,t,i){const o=[];i=new Map(i);for(const[n,r]of t){const t=i.has(n)?i.get(n):null;t!==r&&o.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:n,attributeOldValue:r,attributeNewValue:t,changeCount:this._changeCount++}),i.delete(n)}for(const[t,n]of i)o.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:t,attributeOldValue:null,attributeNewValue:n,changeCount:this._changeCount++});return o}_isInInsertedElement(e){const t=e.parent;if(!t)return!1;const i=this._changesInElement.get(t),o=e.startOffset;if(i)for(const e of i)if("insert"==e.type&&o>=e.offset&&o<e.offset+e.howMany)return!0;return this._isInInsertedElement(t)}_removeAllNestedChanges(e,t,i){const o=new vi(pi._createAt(e,t),pi._createAt(e,t+i));for(const e of o.getItems({shallow:!0}))e.is("element")&&(this._elementSnapshots.delete(e),this._changesInElement.delete(e),this._removeAllNestedChanges(e,0,e.maxOffset))}}function Sn(e){const t=[];for(const i of e)if(i.is("$text"))for(let e=0;e<i.data.length;e++)t.push({name:"$text",attributes:new Map(i.getAttributes())});else t.push({name:i.name,attributes:new Map(i.getAttributes())});return t}function Pn(e,t){const i=[];let o=0,n=0;for(const e of t){if(e.offset>o){for(let t=0;t<e.offset-o;t++)i.push("e");n+=e.offset-o}if("insert"==e.type){for(let t=0;t<e.howMany;t++)i.push("i");o=e.offset+e.howMany}else if("remove"==e.type){for(let t=0;t<e.howMany;t++)i.push("r");o=e.offset,n+=e.howMany}else i.push(..."a".repeat(e.howMany).split("")),o=e.offset+e.howMany,n+=e.howMany}if(n<e)for(let t=0;t<e-n-o;t++)i.push("e");return i}function In(e){const t="position"in e&&"$graveyard"==e.position.root.rootName,i="range"in e&&"$graveyard"==e.range.root.rootName;return!t&&!i}class Vn{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 x.CKEditorError("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 i=this._operations[0];void 0===e&&(e=i.baseVersion);let o=t-1;for(const[t,i]of this._gaps)e>t&&e<i&&(e=i),o>t&&o<i&&(o=t-1);if(o<i.baseVersion||e>this.lastOperation.baseVersion)return[];let n=this._baseVersionToOperationIndex.get(e);void 0===n&&(n=0);let r=this._baseVersionToOperationIndex.get(o);return void 0===r&&(r=this._operations.length-1),this._operations.slice(n,r+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 Rn extends hi{constructor(e,t,i="main"){super(t),this._isAttached=!0,this._document=e,this.rootName=i}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}Rn.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 On="$graveyard";class Bn extends((0,x.EmitterMixin)()){constructor(e){super(),this.model=e,this.history=new Vn,this.selection=new Li(this),this.roots=new x.Collection({idProperty:"rootName"}),this.differ=new Tn(e.markers),this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",On),this.listenTo(e,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&this.differ.bufferOperation(i)}),{priority:"high"}),this.listenTo(e,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&this.history.addOperation(i)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(e.markers,"update",((e,t,i,o,n)=>{const r={...t.getData(),range:o};this.differ.bufferMarkerChange(t.name,n,r),null===i&&t.on("change",((e,i)=>{const o=t.getData();this.differ.bufferMarkerChange(t.name,{...o,range:i},o)}))})),this.registerPostFixer((e=>{let t=!1;for(const i of this.roots)i.isAttached()||i.isEmpty||(e.remove(e.createRangeIn(i)),t=!0);for(const i of this.model.markers)i.getRange().root.isAttached()||(e.removeMarker(i),t=!0);return t}))}get version(){return this.history.version}set version(e){this.history.version=e}get graveyard(){return this.getRoot(On)}createRoot(e="$root",t="main"){if(this.roots.get(t))throw new x.CKEditorError("model-document-createroot-name-exists",this,{name:t});const i=new Rn(this,e,t);return this.roots.add(i),i}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(e=!1){return Array.from(this.roots).filter((t=>t.rootName!=On&&(e||t.isAttached()))).map((e=>e.rootName))}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(){for(const e of this.roots)if(e!==this.graveyard)return e;return this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),t=this.model,i=t.schema,o=t.createPositionFromPath(e,[0]);return i.getNearestSelectionRange(o)||t.createRange(o)}_validateSelectionRange(e){return Mn(e.start)&&Mn(e.end)}_callPostFixers(e){let t=!1;do{for(const i of this._postFixers)if(this.selection.refresh(),t=i(e),t)break}while(t)}}function Mn(e){const t=e.textNode;if(t){const i=t.data,o=e.offset-t.startOffset;return!(0,x.isInsideSurrogatePair)(i,o)&&!(0,x.isInsideCombinedSymbol)(i,o)}return!0}class zn extends((0,x.EmitterMixin)()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(e){const t=e instanceof Nn?e.name:e;return this._markers.has(t)}get(e){return this._markers.get(e)||null}_set(e,t,i=!1,o=!1){const n=e instanceof Nn?e.name:e;if(n.includes(","))throw new x.CKEditorError("markercollection-incorrect-marker-name",this);const r=this._markers.get(n);if(r){const e=r.getData(),s=r.getRange();let a=!1;return s.isEqual(t)||(r._attachLiveRange(Mi.fromRange(t)),a=!0),i!=r.managedUsingOperations&&(r._managedUsingOperations=i,a=!0),"boolean"==typeof o&&o!=r.affectsData&&(r._affectsData=o,a=!0),a&&this.fire(`update:${n}`,r,s,t,e),r}const s=Mi.fromRange(t),a=new Nn(n,s,i,o);return this._markers.set(n,a),this.fire(`update:${n}`,a,null,t,{...a.getData(),range:null}),a}_remove(e){const t=e instanceof Nn?e.name:e,i=this._markers.get(t);return!!i&&(this._markers.delete(t),this.fire(`update:${t}`,i,i.getRange(),null,i.getData()),this._destroyMarker(i),!0)}_refresh(e){const t=e instanceof Nn?e.name:e,i=this._markers.get(t);if(!i)throw new x.CKEditorError("markercollection-refresh-marker-not-exists",this);const o=i.getRange();this.fire(`update:${t}`,i,o,o,i.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 Nn extends((0,x.EmitterMixin)(ai)){constructor(e,t,i,o){super(),this.name=e,this._liveRange=this._attachLiveRange(t),this._managedUsingOperations=i,this._affectsData=o}get managedUsingOperations(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new x.CKEditorError("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}}Nn.prototype.is=function(e){return"marker"===e||"model:marker"===e};class Dn extends Uo{constructor(e,t){super(null),this.sourcePosition=e.clone(),this.howMany=t}get type(){return"detach"}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e}_validate(){if(this.sourcePosition.root.document)throw new x.CKEditorError("detach-operation-on-document-node",this)}_execute(){$o(vi._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Ln extends ai{constructor(e){super(),this.markers=new Map,this._children=new ci,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 i of e)t=t.getChild(t.offsetToIndex(i));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 i of e)i.name?t.push(hi.fromJSON(i)):t.push(di.fromJSON(i));return new Ln(t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const i=function(e){return"string"==typeof e?[new di(e)]:((0,x.isIterable)(e)||(e=[e]),Array.from(e).map((e=>"string"==typeof e?new di(e):e instanceof ui?new di(e.data,e.getAttributes()):e)))}(t);for(const e of i)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,i)}_removeChildren(e,t=1){const i=this._children._removeNodes(e,t);for(const e of i)e.parent=null;return i}}Ln.prototype.is=function(e){return"documentFragment"===e||"model:documentFragment"===e};class Fn{constructor(e,t){this.model=e,this.batch=t}createText(e,t){return new di(e,t)}createElement(e,t){return new hi(e,t)}createDocumentFragment(){return new Ln}cloneElement(e,t=!0){return e._clone(t)}insert(e,t,i=0){if(this._assertWriterUsedCorrectly(),e instanceof di&&""==e.data)return;const o=pi._createAt(t,i);if(e.parent){if(jn(e.root,o.root))return void this.move(vi._createOn(e),o);if(e.root.document)throw new x.CKEditorError("model-writer-insert-forbidden-move",this);this.remove(e)}const n=o.root.document?o.root.document.version:null,r=new Xo(o,e,n);if(e instanceof di&&(r.shouldReceiveAttributes=!0),this.batch.addOperation(r),this.model.applyOperation(r),e instanceof Ln)for(const[t,i]of e.markers){const e=pi._createAt(i.root,0),n={range:new vi(i.start._getCombined(e,o),i.end._getCombined(e,o)),usingOperation:!0,affectsData:!0};this.model.markers.has(t)?this.updateMarker(t,n):this.addMarker(t,n)}}insertText(e,t,i,o){t instanceof Ln||t instanceof hi||t instanceof pi?this.insert(this.createText(e),t,i):this.insert(this.createText(e,t),i,o)}insertElement(e,t,i,o){t instanceof Ln||t instanceof hi||t instanceof pi?this.insert(this.createElement(e),t,i):this.insert(this.createElement(e,t),i,o)}append(e,t){this.insert(e,t,"end")}appendText(e,t,i){t instanceof Ln||t instanceof hi?this.insert(this.createText(e),t,"end"):this.insert(this.createText(e,t),i,"end")}appendElement(e,t,i){t instanceof Ln||t instanceof hi?this.insert(this.createElement(e),t,"end"):this.insert(this.createElement(e,t),i,"end")}setAttribute(e,t,i){if(this._assertWriterUsedCorrectly(),i instanceof vi){const o=i.getMinimalFlatRanges();for(const i of o)Hn(this,e,t,i)}else Wn(this,e,t,i)}setAttributes(e,t){for(const[i,o]of(0,x.toMap)(e))this.setAttribute(i,o,t)}removeAttribute(e,t){if(this._assertWriterUsedCorrectly(),t instanceof vi){const i=t.getMinimalFlatRanges();for(const t of i)Hn(this,e,null,t)}else Wn(this,e,null,t)}clearAttributes(e){this._assertWriterUsedCorrectly();const t=e=>{for(const t of e.getAttributeKeys())this.removeAttribute(t,e)};if(e instanceof vi)for(const i of e.getItems())t(i);else t(e)}move(e,t,i){if(this._assertWriterUsedCorrectly(),!(e instanceof vi))throw new x.CKEditorError("writer-move-invalid-range",this);if(!e.isFlat)throw new x.CKEditorError("writer-move-range-not-flat",this);const o=pi._createAt(t,i);if(o.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!jn(e.root,o.root))throw new x.CKEditorError("writer-move-different-document",this);const n=e.root.document?e.root.document.version:null,r=new Qo(e.start,e.end.offset-e.start.offset,o,n);this.batch.addOperation(r),this.model.applyOperation(r)}remove(e){this._assertWriterUsedCorrectly();const t=(e instanceof vi?e:vi._createOn(e)).getMinimalFlatRanges().reverse();for(const e of t)this._addOperationForAffectedMarkers("move",e),Un(e.start,e.end.offset-e.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const t=e.nodeBefore,i=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(t instanceof hi))throw new x.CKEditorError("writer-merge-no-element-before",this);if(!(i instanceof hi))throw new x.CKEditorError("writer-merge-no-element-after",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,t,i){return this.model.createPositionFromPath(e,t,i)}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,i=e.nodeAfter;this.move(vi._createIn(i),pi._createAt(t,"end")),this.remove(i)}_merge(e){const t=pi._createAt(e.nodeBefore,"end"),i=pi._createAt(e.nodeAfter,0),o=e.root.document.graveyard,n=new pi(o,[0]),r=e.root.document.version,s=new tn(i,e.nodeAfter.maxOffset,t,n,r);this.batch.addOperation(s),this.model.applyOperation(s)}rename(e,t){if(this._assertWriterUsedCorrectly(),!(e instanceof hi))throw new x.CKEditorError("writer-rename-not-element-instance",this);const i=e.root.document?e.root.document.version:null,o=new an(pi._createBefore(e),e.name,t,i);this.batch.addOperation(o),this.model.applyOperation(o)}split(e,t){this._assertWriterUsedCorrectly();let i,o,n=e.parent;if(!n.parent)throw new x.CKEditorError("writer-split-element-no-parent",this);if(t||(t=n.parent),!e.parent.getAncestors({includeSelf:!0}).includes(t))throw new x.CKEditorError("writer-split-invalid-limit-element",this);do{const t=n.root.document?n.root.document.version:null,r=n.maxOffset-e.offset,s=en.getInsertionPosition(e),a=new en(e,r,s,null,t);this.batch.addOperation(a),this.model.applyOperation(a),i||o||(i=n,o=e.parent.nextSibling),n=(e=this.createPositionAfter(e.parent)).parent}while(n!==t);return{position:e,range:new vi(pi._createAt(i,"end"),pi._createAt(o,0))}}wrap(e,t){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new x.CKEditorError("writer-wrap-range-not-flat",this);const i=t instanceof hi?t:new hi(t);if(i.childCount>0)throw new x.CKEditorError("writer-wrap-element-not-empty",this);if(null!==i.parent)throw new x.CKEditorError("writer-wrap-element-attached",this);this.insert(i,e.start);const o=new vi(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(o,pi._createAt(i,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),null===e.parent)throw new x.CKEditorError("writer-unwrap-element-no-parent",this);this.move(vi._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,t){if(this._assertWriterUsedCorrectly(),!t||"boolean"!=typeof t.usingOperation)throw new x.CKEditorError("writer-addmarker-no-usingoperation",this);const i=t.usingOperation,o=t.range,n=void 0!==t.affectsData&&t.affectsData;if(this.model.markers.has(e))throw new x.CKEditorError("writer-addmarker-marker-exists",this);if(!o)throw new x.CKEditorError("writer-addmarker-no-range",this);return i?(Zn(this,e,null,o,n),this.model.markers.get(e)):this.model.markers._set(e,o,i,n)}updateMarker(e,t){this._assertWriterUsedCorrectly();const i="string"==typeof e?e:e.name,o=this.model.markers.get(i);if(!o)throw new x.CKEditorError("writer-updatemarker-marker-not-exists",this);if(!t)return(0,x.logWarning)("writer-updatemarker-reconvert-using-editingcontroller",{markerName:i}),void this.model.markers._refresh(o);const n="boolean"==typeof t.usingOperation,r="boolean"==typeof t.affectsData,s=r?t.affectsData:o.affectsData;if(!n&&!t.range&&!r)throw new x.CKEditorError("writer-updatemarker-wrong-options",this);const a=o.getRange(),l=t.range?t.range:a;n&&t.usingOperation!==o.managedUsingOperations?t.usingOperation?Zn(this,i,null,l,s):(Zn(this,i,a,null,s),this.model.markers._set(i,l,void 0,s)):o.managedUsingOperations?Zn(this,i,a,l,s):this.model.markers._set(i,l,void 0,s)}removeMarker(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?e:e.name;if(!this.model.markers.has(t))throw new x.CKEditorError("writer-removemarker-no-marker",this);const i=this.model.markers.get(t);i.managedUsingOperations?Zn(this,t,i.getRange(),null,i.affectsData):this.model.markers._remove(t)}addRoot(e,t="$root"){this._assertWriterUsedCorrectly();const i=this.model.document.getRoot(e);if(i&&i.isAttached())throw new x.CKEditorError("writer-addroot-root-exists",this);const o=this.model.document,n=new cn(e,t,!0,o,o.version);return this.batch.addOperation(n),this.model.applyOperation(n),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 x.CKEditorError("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 i=this.model.document,o=new cn(t.rootName,t.name,!1,i,i.version);this.batch.addOperation(o),this.model.applyOperation(o)}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,i]of(0,x.toMap)(e))this._setSelectionAttribute(t,i)}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 i=this.model.document.selection;if(i.isCollapsed&&i.anchor.parent.isEmpty){const o=Li._getStoreAttributeKey(e);this.setAttribute(o,t,i.anchor.parent)}i._setAttribute(e,t)}_removeSelectionAttribute(e){const t=this.model.document.selection;if(t.isCollapsed&&t.anchor.parent.isEmpty){const i=Li._getStoreAttributeKey(e);this.removeAttribute(i,t.anchor.parent)}t._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new x.CKEditorError("writer-incorrect-use",this)}_addOperationForAffectedMarkers(e,t){for(const i of this.model.markers){if(!i.managedUsingOperations)continue;const o=i.getRange();let n=!1;if("move"===e){const e=t;n=e.containsPosition(o.start)||e.start.isEqual(o.start)||e.containsPosition(o.end)||e.end.isEqual(o.end)}else{const e=t,i=e.nodeBefore,r=e.nodeAfter,s=o.start.parent==i&&o.start.isAtEnd,a=o.end.parent==r&&0==o.end.offset,l=o.end.nodeAfter==r,c=o.start.nodeAfter==r;n=s||a||l||c}n&&this.updateMarker(i.name,{range:o})}}}function Hn(e,t,i,o){const n=e.model,r=n.document;let s,a,l,c=o.start;for(const e of o.getWalker({shallow:!0}))l=e.item.getAttribute(t),s&&a!=l&&(a!=i&&d(),c=s),s=e.nextPosition,a=l;function d(){const o=new vi(c,s),l=o.root.document?r.version:null,d=new rn(o,t,a,i,l);e.batch.addOperation(d),n.applyOperation(d)}s instanceof pi&&s!=c&&a!=i&&d()}function Wn(e,t,i,o){const n=e.model,r=n.document,s=o.getAttribute(t);let a,l;if(s!=i){if(o.root===o){const e=o.document?r.version:null;l=new ln(o,t,s,i,e)}else{a=new vi(pi._createBefore(o),e.createPositionAfter(o));const n=a.root.document?r.version:null;l=new rn(a,t,s,i,n)}e.batch.addOperation(l),n.applyOperation(l)}}function Zn(e,t,i,o,n){const r=e.model,s=r.document,a=new on(t,i,o,r.markers,!!n,s.version);e.batch.addOperation(a),r.applyOperation(a)}function Un(e,t,i,o){let n;if(e.root.document){const i=o.document,r=new pi(i.graveyard,[0]);n=new Qo(e,t,r,i.version)}else n=new Dn(e,t);i.addOperation(n),o.applyOperation(n)}function jn(e,t){return e===t||e instanceof Rn&&t instanceof Rn}function $n(e,t,i={}){if(t.isCollapsed)return;const o=t.getFirstRange();if("$graveyard"==o.root.rootName)return;const n=e.schema;e.change((e=>{if(!i.doNotResetEntireContent&&function(e,t){const i=e.getLimitElement(t);if(!t.containsEntireContent(i))return!1;const o=t.getFirstRange();return o.start.parent!=o.end.parent&&e.checkChild(i,"paragraph")}(n,t))return void function(e,t){const i=e.model.schema.getLimitElement(t);e.remove(e.createRangeIn(i)),Jn(e,e.createPositionAt(i,0),t)}(e,t);const r={};if(!i.doNotAutoparagraph){const e=t.getSelectedElement();e&&Object.assign(r,n.getAttributesWithProperty(e,"copyOnReplace",!0))}const[s,a]=function(e){const t=e.root.document.model,i=e.start;let o=e.end;if(t.hasContent(e,{ignoreMarkers:!0})){const i=function(e){const t=e.parent,i=t.root.document.model.schema,o=t.getAncestors({parentFirst:!0,includeSelf:!0});for(const e of o){if(i.isLimit(e))return null;if(i.isBlock(e))return e}}(o);if(i&&o.isTouching(t.createPositionAt(i,0))){const i=t.createSelection(e);t.modifySelection(i,{direction:"backward"});const n=i.getLastPosition(),r=t.createRange(n,o);t.hasContent(r,{ignoreMarkers:!0})||(o=n)}}return[Cn.fromPosition(i,"toPrevious"),Cn.fromPosition(o,"toNext")]}(o);s.isTouching(a)||e.remove(e.createRange(s,a)),i.leaveUnmerged||(function(e,t,i){const o=e.model;if(!Gn(e.model.schema,t,i))return;const[n,r]=function(e,t){const i=e.getAncestors(),o=t.getAncestors();let n=0;for(;i[n]&&i[n]==o[n];)n++;return[i[n],o[n]]}(t,i);n&&r&&(!o.hasContent(n,{ignoreMarkers:!0})&&o.hasContent(r,{ignoreMarkers:!0})?Kn(e,t,i,n.parent):qn(e,t,i,n.parent))}(e,s,a),n.removeDisallowedAttributes(s.parent.getChildren(),e)),Yn(e,t,s),!i.doNotAutoparagraph&&function(e,t){const i=e.checkChild(t,"$text"),o=e.checkChild(t,"paragraph");return!i&&o}(n,s)&&Jn(e,s,t,r),s.detach(),a.detach()}))}function qn(e,t,i,o){const n=t.parent,r=i.parent;if(n!=o&&r!=o){for(t=e.createPositionAfter(n),(i=e.createPositionBefore(r)).isEqual(t)||e.insert(r,t),e.merge(t);i.parent.isEmpty;){const t=i.parent;i=e.createPositionBefore(t),e.remove(t)}Gn(e.model.schema,t,i)&&qn(e,t,i,o)}}function Kn(e,t,i,o){const n=t.parent,r=i.parent;if(n!=o&&r!=o){for(t=e.createPositionAfter(n),(i=e.createPositionBefore(r)).isEqual(t)||e.insert(n,i);t.parent.isEmpty;){const i=t.parent;t=e.createPositionBefore(i),e.remove(i)}i=e.createPositionBefore(r),function(e,t){const i=t.nodeBefore,o=t.nodeAfter;i.name!=o.name&&e.rename(i,o.name),e.clearAttributes(i),e.setAttributes(Object.fromEntries(o.getAttributes()),i),e.merge(t)}(e,i),Gn(e.model.schema,t,i)&&Kn(e,t,i,o)}}function Gn(e,t,i){const o=t.parent,n=i.parent;return o!=n&&!e.isLimit(o)&&!e.isLimit(n)&&function(e,t,i){const o=new vi(e,t);for(const e of o.getWalker())if(i.isLimit(e.item))return!1;return!0}(t,i,e)}function Jn(e,t,i,o={}){const n=e.createElement("paragraph");e.model.schema.setAllowedAttributes(n,o,e),e.insert(n,t),Yn(e,i,e.createPositionAt(n,0))}function Yn(e,t,i){t instanceof Li?e.setSelection(i):t.setTo(i)}function Qn(e,t){const i=[];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=>{i.push(e.start.parent),t.remove(e)})),i.forEach((e=>{let i=e;for(;i.parent&&i.isEmpty;){const e=t.createRangeOn(i);i=i.parent,t.remove(e)}}))}class Xn{constructor(e,t,i){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=i,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),i=this.writer.createPositionAfter(e);if(i.isAfter(t)){if(this._lastNode=e,this.position.parent!=e||!this.position.isAtEnd)throw new x.CKEditorError("insertcontent-invalid-insertion-position",this);this.position=i,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?vi._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new vi(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e){if(this.schema.isObject(e))return void this._handleObject(e);let t=this._checkAndAutoParagraphToAllowedPosition(e);t||(t=this._checkAndSplitToAllowedPosition(e),t)?(this._appendToFragment(e),this._firstNode||(this._firstNode=e),this._lastNode=e):this._handleDisallowedNode(e)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const e=Cn.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()}_handleObject(e){this._checkAndSplitToAllowedPosition(e)?this._appendToFragment(e):this._tryAutoparagraphing(e)}_handleDisallowedNode(e){e.is("element")?this.handleNodes(e.getChildren()):this._tryAutoparagraphing(e)}_appendToFragment(e){if(!this.schema.checkChild(this.position,e))throw new x.CKEditorError("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=Cn.fromPosition(e,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(e)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=Cn.fromPosition(e,"toNext"))}_mergeOnLeft(){const e=this._firstNode;if(!(e instanceof hi))return;if(!this._canMergeLeft(e))return;const t=Cn._createBefore(e);t.stickiness="toNext";const i=Cn.fromPosition(this.position,"toNext");this._affectedStart.isEqual(t)&&(this._affectedStart.detach(),this._affectedStart=Cn._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=Cn._createAt(t.nodeBefore,"end","toNext")),this.position=i.toPosition(),i.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_mergeOnRight(){const e=this._lastNode;if(!(e instanceof hi))return;if(!this._canMergeRight(e))return;const t=Cn._createAfter(e);if(t.stickiness="toNext",!this.position.isEqual(t))throw new x.CKEditorError("insertcontent-invalid-insertion-position",this);this.position=pi._createAt(t.nodeBefore,"end");const i=Cn.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(t)&&(this._affectedEnd.detach(),this._affectedEnd=Cn._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=Cn._createAt(t.nodeBefore,0,"toPrevious")),this.position=i.toPosition(),i.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_canMergeLeft(e){const t=e.previousSibling;return t instanceof hi&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(t,e)}_canMergeRight(e){const t=e.nextSibling;return t instanceof hi&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(e,t)}_tryAutoparagraphing(e){const t=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,t)&&this.schema.checkChild(t,e)&&(t._appendChild(e),this._handleNode(t))}_checkAndAutoParagraphToAllowedPosition(e){if(this.schema.checkChild(this.position.parent,e))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",e))return!1;this._insertPartialFragment();const t=this.writer.createElement("paragraph");return this.writer.insert(t,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=t,this.position=this.writer.createPositionAt(t,0),!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!0}_getAllowedIn(e,t){return this.schema.checkChild(e,t)?e:this.schema.isLimit(e)?null:this._getAllowedIn(e.parent,t)}}function er(e,t,i="auto"){const o=e.getSelectedElement();if(o&&t.schema.isObject(o)&&!t.schema.isInline(o))return"before"==i||"after"==i?t.createRange(t.createPositionAt(o,i)):t.createRangeOn(o);const n=(0,x.first)(e.getSelectedBlocks());if(!n)return t.createRange(e.focus);if(n.isEmpty)return t.createRange(t.createPositionAt(n,0));const r=t.createPositionAfter(n);return e.focus.isTouching(r)?t.createRange(r):t.createRange(t.createPositionBefore(n))}const tr=' ,.?!:;"-()';function ir(e,t){const{isForward:i,walker:o,unit:n,schema:r,treatEmojiAsSingleUnit:s}=e,{type:a,item:l,nextPosition:c}=t;if("text"==a)return"word"===e.unit?function(e,t){let i=e.position.textNode;for(i||(i=t?e.position.nodeAfter:e.position.nodeBefore);i&&i.is("$text");){const o=e.position.offset-i.startOffset;if(rr(i,o,t))i=t?e.position.nodeAfter:e.position.nodeBefore;else{if(nr(i.data,o,t))break;e.next()}}return e.position}(o,i):function(e,t,i){const o=e.position.textNode;if(o){const n=o.data;let r=e.position.offset-o.startOffset;for(;(0,x.isInsideSurrogatePair)(n,r)||"character"==t&&(0,x.isInsideCombinedSymbol)(n,r)||i&&(0,x.isInsideEmojiSequence)(n,r);)e.next(),r=e.position.offset-o.startOffset}return e.position}(o,n,s);if(a==(i?"elementStart":"elementEnd")){if(r.isSelectable(l))return pi._createAt(l,i?"after":"before");if(r.checkChild(c,"$text"))return c}else{if(r.isLimit(l))return void o.skip((()=>!0));if(r.checkChild(c,"$text"))return c}}function or(e,t){const i=e.root,o=pi._createAt(i,t?"end":0);return t?new vi(e,o):new vi(o,e)}function nr(e,t,i){const o=t+(i?0:-1);return tr.includes(e.charAt(o))}function rr(e,t,i){return t===(i?e.offsetSize:0)}class sr extends((0,x.ObservableMixin)()){constructor(){var e;super(),this.markers=new zn,this.document=new Bn(this),this.schema=new vo,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(((e,t)=>{if("$marker"===t.name)return!0})),(e=this).document.registerPostFixer((t=>function(e,t){const i=t.document.selection,o=t.schema,n=[];let r=!1;for(const e of i.getRanges()){const t=go(e,o);t&&!t.isEqual(e)?(n.push(t),r=!0):n.push(e)}return r&&e.setSelection(function(e){const t=[...e],i=new Set;let o=1;for(;o<t.length;){const e=t[o],n=t.slice(0,o);for(const[r,s]of n.entries())if(!i.has(r))if(e.isEqual(s))i.add(r);else if(e.isIntersecting(s)){i.add(r),i.add(o);const n=e.getJoined(s);t.push(n)}o++}return t.filter(((e,t)=>!i.has(t)))}(n),{backward:i.isBackward}),!1}(t,e))),this.document.registerPostFixer(oo),this.on("insertContent",((e,[t,i])=>{e.return=function(e,t,i){return e.change((o=>{const n=i||e.document.selection;n.isCollapsed||e.deleteContent(n,{doNotAutoparagraph:!0});const r=new Xn(e,o,n.anchor),s=[];let a;if(t.is("documentFragment")){if(t.markers.size){const e=[];for(const[i,o]of t.markers){const{start:t,end:n}=o,r=t.isEqual(n);e.push({position:t,name:i,isCollapsed:r},{position:n,name:i,isCollapsed:r})}e.sort((({position:e},{position:t})=>e.isBefore(t)?1:-1));for(const{position:i,name:n,isCollapsed:r}of e){let e=null,a=null;const l=i.parent===t&&i.isAtStart,c=i.parent===t&&i.isAtEnd;l||c?r&&(a=l?"start":"end"):(e=o.createElement("$marker"),o.insert(e,i)),s.push({name:n,element:e,collapsed:a})}}a=t.getChildren()}else a=[t];r.handleNodes(a);let l=r.getSelectionRange();if(t.is("documentFragment")&&s.length){const e=l?Mi.fromRange(l):null,t={};for(let e=s.length-1;e>=0;e--){const{name:i,element:n,collapsed:a}=s[e],l=!t[i];if(l&&(t[i]=[]),n){const e=o.createPositionAt(n,"before");t[i].push(e),o.remove(n)}else{const e=r.getAffectedRange();if(!e){a&&t[i].push(r.position);continue}a?t[i].push(e[a]):t[i].push(l?e.start:e.end)}}for(const[e,[i,n]]of Object.entries(t))i&&n&&i.root===n.root&&o.addMarker(e,{usingOperation:!0,affectsData:!0,range:new vi(i,n)});e&&(l=e.toRange(),e.detach())}l&&(n instanceof Li?o.setSelection(l):n.setTo(l));const c=r.getAffectedRange()||e.createRange(n.anchor);return r.destroy(),c}))}(this,t,i)})),this.on("insertObject",((e,[t,i,o])=>{e.return=function(e,t,i,o={}){if(!e.schema.isObject(t))throw new x.CKEditorError("insertobject-element-not-an-object",e,{object:t});const n=i||e.document.selection;let r=n;o.findOptimalPosition&&e.schema.isBlock(t)&&(r=e.createSelection(er(n,e,o.findOptimalPosition)));const s=(0,x.first)(n.getSelectedBlocks()),a={};return s&&Object.assign(a,e.schema.getAttributesWithProperty(s,"copyOnReplace",!0)),e.change((i=>{r.isCollapsed||e.deleteContent(r,{doNotAutoparagraph:!0});let n=t;const s=r.anchor.parent;!e.schema.checkChild(s,t)&&e.schema.checkChild(s,"paragraph")&&e.schema.checkChild("paragraph",t)&&(n=i.createElement("paragraph"),i.insert(t,n)),e.schema.setAllowedAttributes(n,a,i);const l=e.insertContent(n,r);return l.isCollapsed||o.setSelection&&function(e,t,i,o){const n=e.model;if("on"==i)return void e.setSelection(t,"on");if("after"!=i)throw new x.CKEditorError("insertobject-invalid-place-parameter-value",n);let r=t.nextSibling;n.schema.isInline(t)?e.setSelection(t,"after"):(!(r&&n.schema.checkChild(r,"$text"))&&n.schema.checkChild(t.parent,"paragraph")&&(r=e.createElement("paragraph"),n.schema.setAllowedAttributes(r,o,e),n.insertContent(r,e.createPositionAfter(t))),r&&e.setSelection(r,0))}(i,t,o.setSelection,a),l}))}(this,t,i,o)}))}change(e){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new En,callback:e}),this._runPendingChanges()[0]):e(this._currentWriter)}catch(e){x.CKEditorError.rethrowUnexpectedError(e,this)}}enqueueChange(e,t){try{e?"function"==typeof e?(t=e,e=new En):e instanceof En||(e=new En(e)):e=new En,this._pendingChanges.push({batch:e,callback:t}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(e){x.CKEditorError.rethrowUnexpectedError(e,this)}}applyOperation(e){e._execute()}insertContent(e,t,i,...o){const n=ar(t,i);return this.fire("insertContent",[e,n,i,...o])}insertObject(e,t,i,o,...n){const r=ar(t,i);return this.fire("insertObject",[e,r,o,o,...n])}deleteContent(e,t){$n(this,e,t)}modifySelection(e,t){!function(e,t,i={}){const o=e.schema,n="backward"!=i.direction,r=i.unit?i.unit:"character",s=!!i.treatEmojiAsSingleUnit,a=t.focus,l=new mi({boundaries:or(a,n),singleCharacters:!0,direction:n?"forward":"backward"}),c={walker:l,schema:o,isForward:n,unit:r,treatEmojiAsSingleUnit:s};let d;for(;d=l.next();){if(d.done)return;const i=ir(c,d.value);if(i)return void(t instanceof Li?e.change((e=>{e.setSelectionFocus(i)})):t.setFocus(i))}}(this,e,t)}getSelectedContent(e){return function(e,t){return e.change((e=>{const i=e.createDocumentFragment(),o=t.getFirstRange();if(!o||o.isCollapsed)return i;const n=o.start.root,r=o.start.getCommonPath(o.end),s=n.getNodeByPath(r);let a;a=o.start.parent==o.end.parent?o:e.createRange(e.createPositionAt(s,o.start.path[r.length]),e.createPositionAt(s,o.end.path[r.length]+1));const l=a.end.offset-a.start.offset;for(const t of a.getItems({shallow:!0}))t.is("$textProxy")?e.appendText(t.data,t.getAttributes(),i):e.append(e.cloneElement(t,!0),i);if(a!=o){const t=o._getTransformedByMove(a.start,e.createPositionAt(i,0),l)[0],n=e.createRange(e.createPositionAt(i,0),t.start);Qn(e.createRange(t.end,e.createPositionAt(i,"end")),e),Qn(n,e)}return i}))}(this,e)}hasContent(e,t={}){const i=e instanceof vi?e:vi._createIn(e);if(i.isCollapsed)return!1;const{ignoreWhitespaces:o=!1,ignoreMarkers:n=!1}=t;if(!n)for(const e of this.markers.getMarkersIntersectingRange(i))if(e.affectsData)return!0;for(const e of i.getItems())if(this.schema.isContent(e)){if(!e.is("$textProxy"))return!0;if(!o)return!0;if(-1!==e.data.search(/\S/))return!0}return!1}createPositionFromPath(e,t,i){return new pi(e,t,i)}createPositionAt(e,t){return pi._createAt(e,t)}createPositionAfter(e){return pi._createAfter(e)}createPositionBefore(e){return pi._createBefore(e)}createRange(e,t){return new vi(e,t)}createRangeIn(e){return vi._createIn(e)}createRangeOn(e){return vi._createOn(e)}createSelection(...e){return new Si(...e)}createBatch(e){return new En(e)}createOperationFromJSON(e){return un.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 Fn(this,t);const i=this._pendingChanges[0].callback(this._currentWriter);e.push(i),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 ar(e,t){if(e)return e instanceof Si||e instanceof Li?e:e instanceof li?new Si(e,t):new Si(e)}class lr extends Ut{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(e){this.fire(e.type,e)}}class cr extends Ut{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(e){this.fire(e.type,e)}}class dr{constructor(e){this.document=e}createDocumentFragment(e){return new nt(this.document,e)}createElement(e,t,i){return new Se(this.document,e,t,i)}createText(e){return new P(this.document,e)}clone(e,t=!1){return e._clone(t)}appendChild(e,t){return t._appendChild(e)}insertChild(e,t,i){return i._insertChild(e,t)}removeChildren(e,t,i){return i._removeChildren(e,t)}remove(e){const t=e.parent;return t?this.removeChildren(t.getChildIndex(e),1,t):[]}replace(e,t){const i=e.parent;if(i){const o=i.getChildIndex(e);return this.removeChildren(o,1,i),this.insertChild(o,t,i),!0}return!1}unwrapElement(e){const t=e.parent;if(t){const i=t.getChildIndex(e);this.remove(e),this.insertChild(i,e.getChildren(),t)}}rename(e,t){const i=new Se(this.document,e,t.getAttributes(),t.getChildren());return this.replace(t,i)?i:null}setAttribute(e,t,i){i._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,i){(0,V.Z)(e)&&void 0===i?t._setStyle(e):i._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,i){i._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}createPositionAt(e,t){return ze._createAt(e,t)}createPositionAfter(e){return ze._createAfter(e)}createPositionBefore(e){return ze._createBefore(e)}createRange(e,t){return new Ne(e,t)}createRangeOn(e){return Ne._createOn(e)}createRangeIn(e){return Ne._createIn(e)}createSelection(...e){return new Le(...e)}}const ur=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,hr=/^rgb\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}[0-9]{1,3}[ %]?\)$/i,mr=/^rgba\([ ]?([0-9]{1,3}[ %]?,[ ]?){3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,gr=/^hsl\([ ]?([0-9]{1,3}[ %]?[,]?[ ]*){3}(1|[0-9]+%|[0]?\.?[0-9]+)?\)$/i,pr=/^hsla\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,fr=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 br(e){return e.startsWith("#")?ur.test(e):e.startsWith("rgb")?hr.test(e)||mr.test(e):e.startsWith("hsl")?gr.test(e)||pr.test(e):fr.has(e.toLowerCase())}const wr=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function kr(e){return wr.includes(e)}const _r=/^([+-]?[0-9]*([.][0-9]+)?(px|cm|mm|in|pc|pt|ch|em|ex|rem|vh|vw|vmin|vmax)|0)$/;function vr(e){return _r.test(e)}const yr=/^[+-]?[0-9]*([.][0-9]+)?%$/;function Cr(e){return yr.test(e)}const xr=["repeat-x","repeat-y","repeat","space","round","no-repeat"];function Ar(e){return xr.includes(e)}const Er=["center","top","bottom","left","right"];function Tr(e){return Er.includes(e)}const Sr=["fixed","scroll","local"];function Pr(e){return Sr.includes(e)}const Ir=/^url\(/;function Vr(e){return Ir.test(e)}function Rr(e=""){if(""===e)return{top:void 0,right:void 0,bottom:void 0,left:void 0};const t=zr(e),i=t[0],o=t[2]||i,n=t[1]||i;return{top:i,bottom:o,right:n,left:t[3]||n}}function Or(e){return t=>{const{top:i,right:o,bottom:n,left:r}=t,s=[];return[i,o,r,n].every((e=>!!e))?s.push([e,Br(t)]):(i&&s.push([e+"-top",i]),o&&s.push([e+"-right",o]),n&&s.push([e+"-bottom",n]),r&&s.push([e+"-left",r])),s}}function Br({top:e,right:t,bottom:i,left:o}){const n=[];return o!==t?n.push(e,t,i,o):i!==e?n.push(e,t,i):t!==e?n.push(e,t):n.push(e),n.join(" ")}function Mr(e){return t=>({path:e,value:Rr(t)})}function zr(e){return e.replace(/, /g,",").split(" ").map((e=>e.replace(/,/g,", ")))}function Nr(e){e.setNormalizer("background",(e=>{const t={},i=zr(e);for(const e of i)Ar(e)?(t.repeat=t.repeat||[],t.repeat.push(e)):Tr(e)?(t.position=t.position||[],t.position.push(e)):Pr(e)?t.attachment=e:br(e)?t.color=e:Vr(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 Dr(e){e.setNormalizer("border",(e=>{const{color:t,style:i,width:o}=jr(e);return{path:"border",value:{color:Rr(t),style:Rr(i),width:Rr(o)}}})),e.setNormalizer("border-top",Lr("top")),e.setNormalizer("border-right",Lr("right")),e.setNormalizer("border-bottom",Lr("bottom")),e.setNormalizer("border-left",Lr("left")),e.setNormalizer("border-color",Fr("color")),e.setNormalizer("border-width",Fr("width")),e.setNormalizer("border-style",Fr("style")),e.setNormalizer("border-top-color",Wr("color","top")),e.setNormalizer("border-top-style",Wr("style","top")),e.setNormalizer("border-top-width",Wr("width","top")),e.setNormalizer("border-right-color",Wr("color","right")),e.setNormalizer("border-right-style",Wr("style","right")),e.setNormalizer("border-right-width",Wr("width","right")),e.setNormalizer("border-bottom-color",Wr("color","bottom")),e.setNormalizer("border-bottom-style",Wr("style","bottom")),e.setNormalizer("border-bottom-width",Wr("width","bottom")),e.setNormalizer("border-left-color",Wr("color","left")),e.setNormalizer("border-left-style",Wr("style","left")),e.setNormalizer("border-left-width",Wr("width","left")),e.setExtractor("border-top",Zr("top")),e.setExtractor("border-right",Zr("right")),e.setExtractor("border-bottom",Zr("bottom")),e.setExtractor("border-left",Zr("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",Or("border-color")),e.setReducer("border-style",Or("border-style")),e.setReducer("border-width",Or("border-width")),e.setReducer("border-top",$r("top")),e.setReducer("border-right",$r("right")),e.setReducer("border-bottom",$r("bottom")),e.setReducer("border-left",$r("left")),e.setReducer("border",function(){return t=>{const i=Ur(t,"top"),o=Ur(t,"right"),n=Ur(t,"bottom"),r=Ur(t,"left"),s=[i,o,n,r],a={width:e(s,"width"),style:e(s,"style"),color:e(s,"color")},l=qr(a,"all");if(l.length)return l;const c=Object.entries(a).reduce(((e,[t,i])=>(i&&(e.push([`border-${t}`,i]),s.forEach((e=>delete e[t]))),e)),[]);return[...c,...qr(i,"top"),...qr(o,"right"),...qr(n,"bottom"),...qr(r,"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 Lr(e){return t=>{const{color:i,style:o,width:n}=jr(t),r={};return void 0!==i&&(r.color={[e]:i}),void 0!==o&&(r.style={[e]:o}),void 0!==n&&(r.width={[e]:n}),{path:"border",value:r}}}function Fr(e){return t=>({path:"border",value:Hr(t,e)})}function Hr(e,t){return{[t]:Rr(e)}}function Wr(e,t){return i=>({path:"border",value:{[e]:{[t]:i}}})}function Zr(e){return(t,i)=>{if(i.border)return Ur(i.border,e)}}function Ur(e,t){const i={};return e.width&&e.width[t]&&(i.width=e.width[t]),e.style&&e.style[t]&&(i.style=e.style[t]),e.color&&e.color[t]&&(i.color=e.color[t]),i}function jr(e){const t={},i=zr(e);for(const e of i)vr(e)||/thin|medium|thick/.test(e)?t.width=e:kr(e)?t.style=e:t.color=e;return t}function $r(e){return t=>qr(t,e)}function qr(e,t){const i=[];if(e&&e.width&&i.push("width"),e&&e.style&&i.push("style"),e&&e.color&&i.push("color"),3==i.length){const o=i.map((t=>e[t])).join(" ");return["all"==t?["border",o]:[`border-${t}`,o]]}return"all"==t?[]:i.map((i=>[`border-${t}-${i}`,e[i]]))}function Kr(e){e.setNormalizer("margin",Mr("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",Or("margin")),e.setStyleRelation("margin",["margin-top","margin-right","margin-bottom","margin-left"])}function Gr(e){e.setNormalizer("padding",Mr("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",Or("padding")),e.setStyleRelation("padding",["padding-top","padding-right","padding-bottom","padding-left"])}},5725:(e,t,i)=>{"use strict";i.d(t,{C:()=>u,G:()=>p});var o=i(7578);function*n(e,t){for(const i of t)i&&e.getAttributeProperties(i[0]).copyOnEnter&&(yield i)}class r extends o.Command{execute(){this.editor.model.change((e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})}))}enterBlock(e){const t=this.editor.model,i=t.document.selection,o=t.schema,r=i.isCollapsed,a=i.getFirstRange(),l=a.start.parent,c=a.end.parent;if(o.isLimit(l)||o.isLimit(c))return r||l!=c||t.deleteContent(i),!1;if(r){const t=n(e.model.schema,i.getAttributes());return s(e,a.start),e.setSelectionAttribute(t),!0}{const o=!(a.start.isAtStart&&a.end.isAtEnd),n=l==c;if(t.deleteContent(i,{leaveUnmerged:o}),o){if(n)return s(e,i.focus),!0;e.setSelection(c,0)}}return!1}}function s(e,t){e.split(t),e.setSelection(t.parent.nextSibling,0)}var a=i(600),l=i(7732);const c={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class d extends a.Observer{constructor(e){super(e);const t=this.document;let i=!1;t.on("keydown",((e,t)=>{i=t.shiftKey})),t.on("beforeinput",((o,n)=>{if(!this.isEnabled)return;let r=n.inputType;l.env.isSafari&&i&&"insertParagraph"==r&&(r="insertLineBreak");const s=n.domEvent,d=c[r];if(!d)return;const u=new a.BubblingEventInfo(t,"enter",n.targetRanges[0]);t.fire(u,new a.DomEventData(e,s,{isSoft:d.isSoft})),u.stop.called&&o.stop()}))}observe(){}stopObserving(){}}class u extends o.Plugin{static get pluginName(){return"Enter"}init(){const e=this.editor,t=e.editing.view,i=t.document;t.addObserver(d),e.commands.add("enter",new r(e)),this.listenTo(i,"enter",((o,n)=>{i.isComposing||n.preventDefault(),n.isSoft||(e.execute("enter"),t.scrollToTheSelection())}),{priority:"low"})}}class h extends o.Command{execute(){const e=this.editor.model,t=e.document;e.change((i=>{!function(e,t,i){const o=i.isCollapsed,r=i.getFirstRange(),s=r.start.parent,a=r.end.parent,l=s==a;if(o){const o=n(e.schema,i.getAttributes());m(e,t,r.end),t.removeSelectionAttribute(i.getAttributeKeys()),t.setSelectionAttribute(o)}else{const o=!(r.start.isAtStart&&r.end.isAtEnd);e.deleteContent(i,{leaveUnmerged:o}),l?m(e,t,i.focus):o&&t.setSelection(a,0)}}(e,i,t.selection),this.fire("afterExecute",{writer:i})}))}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=function(e,t){if(t.rangeCount>1)return!1;const i=t.anchor;if(!i||!e.checkChild(i,"softBreak"))return!1;const o=t.getFirstRange(),n=o.start.parent,r=o.end.parent;return!g(n,e)&&!g(r,e)||n===r}(e.schema,t.selection)}}function m(e,t,i){const o=t.createElement("softBreak");e.insertContent(o,i),t.setSelection(o,"after")}function g(e,t){return!e.is("rootElement")&&(t.isLimit(e)||g(e.parent,t))}class p extends o.Plugin{static get pluginName(){return"ShiftEnter"}init(){const e=this.editor,t=e.model.schema,i=e.conversion,o=e.editing.view,n=o.document;t.register("softBreak",{allowWhere:"$text",isInline:!0}),i.for("upcast").elementToElement({model:"softBreak",view:"br"}),i.for("downcast").elementToElement({model:"softBreak",view:(e,{writer:t})=>t.createEmptyElement("br")}),o.addObserver(d),e.commands.add("shiftEnter",new h(e)),this.listenTo(n,"enter",((t,i)=>{n.isComposing||i.preventDefault(),i.isSoft&&(e.execute("shiftEnter"),o.scrollToTheSelection())}),{priority:"low"})}}},1638:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Essentials:()=>b});var o=i(6854),n=i(7197),r=i(1863),s=i(7578),a=i(7732);class l extends s.Command{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,t=e.document.selection;let i=e.schema.getLimitElement(t);if(t.containsEntireContent(i)||!c(e.schema,i))do{if(i=i.parent,!i)return}while(!c(e.schema,i));e.change((e=>{e.setSelection(i,"in")}))}}function c(e,t){return e.isLimit(t)&&(e.checkChild(t,"$text")||e.checkChild(t,"paragraph"))}const d=(0,a.parseKeystroke)("Ctrl+A");class u extends s.Plugin{static get pluginName(){return"SelectAllEditing"}init(){const e=this.editor,t=e.editing.view.document;e.commands.add("selectAll",new l(e)),this.listenTo(t,"keydown",((t,i)=>{(0,a.getCode)(i)===d&&(e.execute("selectAll"),i.preventDefault())}))}}var h=i(3905);class m extends s.Plugin{static get pluginName(){return"SelectAllUI"}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",(t=>{const i=e.commands.get("selectAll"),o=new h.ButtonView(t),n=t.t;return o.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",tooltip:!0}),o.bind("isEnabled").to(i,"isEnabled"),this.listenTo(o,"execute",(()=>{e.execute("selectAll"),e.editing.view.focus()})),o}))}}class g extends s.Plugin{static get requires(){return[u,m]}static get pluginName(){return"SelectAll"}}var p=i(5187),f=i(1903);class b extends o.Sy{static get requires(){return[n.TU,r.C,g,r.G,p.Mq,f.WP]}static get pluginName(){return"Essentials"}}},1281:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Font:()=>te,FontBackgroundColor:()=>ee,FontBackgroundColorEditing:()=>Q,FontBackgroundColorUI:()=>X,FontColor:()=>J,FontColorEditing:()=>q,FontColorUI:()=>G,FontFamily:()=>B,FontFamilyEditing:()=>R,FontFamilyUI:()=>O,FontSize:()=>j,FontSizeEditing:()=>H,FontSizeUI:()=>U});var o=i(6854);class n extends o.mY{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,i=t.document.selection,o=e.value;t.change((e=>{if(i.isCollapsed)o?e.setSelectionAttribute(this.attributeKey,o):e.removeSelectionAttribute(this.attributeKey);else{const n=t.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const t of n)o?e.setAttribute(this.attributeKey,o,t):e.removeAttribute(this.attributeKey,t)}}))}}var r=i(7095),s=i(6553);class a extends((0,s.Re)(s.FE)){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))}}var l=i(3379),c=i.n(l),d=i(9037),u=i.n(d),h=i(569),m=i.n(h),g=i(8575),p=i.n(g),f=i(9216),b=i.n(f),w=i(8915),k={attributes:{"data-cke":!0}};k.setAttributes=p(),k.insert=m().bind(null,"head"),k.domAPI=u(),k.insertStyleElement=b(),c()(w.Z,k),w.Z&&w.Z.locals&&w.Z.locals;class _ extends r.G7{constructor(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:n,documentColorsCount:l}){super(e),this.items=this.createCollection(),this.colorDefinitions=t,this.focusTracker=new s.Rh,this.keystrokes=new s.VD,this.set("selectedColor",void 0),this.removeButtonLabel=o,this.columns=i,this.documentColors=new a,this.documentColorsCount=l,this._focusables=new r.vX,this._focusCycler=new r.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._documentColorsLabel=n,this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-table"]},children:this.items}),this.items.add(this._createRemoveColorButton())}updateDocumentColors(e,t){const i=e.document,o=this.documentColorsCount;this.documentColors.clear();for(const n of i.getRootNames()){const r=i.getRoot(n),s=e.createRangeIn(r);for(const e of s.getItems())if(e.is("$textProxy")&&e.hasAttribute(t)&&(this._addColorToDocumentColors(e.getAttribute(t)),this.documentColors.length>=o))return}}updateSelectedColors(){const e=this.documentColorsGrid,t=this.staticColorsGrid,i=this.selectedColor;t.selectedColor=i,e&&(e.selectedColor=i)}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}appendGrids(){if(!this.staticColorsGrid&&(this.staticColorsGrid=this._createStaticColorsGrid(),this.items.add(this.staticColorsGrid),this.focusTracker.add(this.staticColorsGrid.element),this._focusables.add(this.staticColorsGrid),this.documentColorsCount)){const e=r.YS.bind(this.documentColors,this.documentColors),t=new r.Dn(this.locale);t.text=this._documentColorsLabel,t.extendTemplate({attributes:{class:["ck","ck-color-grid__label",e.if("isEmpty","ck-hidden")]}}),this.items.add(t),this.documentColorsGrid=this._createDocumentColorsGrid(),this.items.add(this.documentColorsGrid),this.focusTracker.add(this.documentColorsGrid.element),this._focusables.add(this.documentColorsGrid)}}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_createRemoveColorButton(){const e=new r.r5;return e.set({withText:!0,icon:o.icons.eraser,label:this.removeButtonLabel}),e.class="ck-color-table__remove-color",e.on("execute",(()=>{this.fire("execute",{value:null})})),e.render(),this.focusTracker.add(e.element),this._focusables.add(e),e}_createStaticColorsGrid(){const e=new r.J6(this.locale,{colorDefinitions:this.colorDefinitions,columns:this.columns});return e.delegate("execute").to(this),e}_createDocumentColorsGrid(){const e=r.YS.bind(this.documentColors,this.documentColors),t=new r.J6(this.locale,{columns:this.columns});return t.delegate("execute").to(this),t.extendTemplate({attributes:{class:e.if("isEmpty","ck-hidden")}}),t.items.bindTo(this.documentColors).using((e=>{const t=new r._9;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})})),t})),this.documentColors.on("change:isEmpty",((e,i,o)=>{o&&(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}})}}const v="fontSize",y="fontFamily",C="fontColor",x="fontBackgroundColor";function A(e,t){const i={model:{key:e,values:[]},view:{},upcastAlso:{}};for(const e of t)i.model.values.push(e.model),i.view[e.model]=e.view,e.upcastAlso&&(i.upcastAlso[e.model]=e.upcastAlso);return i}function E(e){return t=>t.getStyle(e).replace(/\s/g,"")}function T(e){return(t,{writer:i})=>i.createAttributeElement("span",{style:`${e}:${t}`},{priority:7})}class S extends n{constructor(e){super(e,y)}}function P(e){return e.map(I).filter((e=>void 0!==e))}function I(e){return"object"==typeof e?e:"default"===e?{title:"Default",model:void 0}:"string"==typeof e?function(e){const t=e.replace(/"|'/g,"").split(","),i=t[0],o=t.map(V).join(", ");return{title:i,model:o,view:{name:"span",styles:{"font-family":o},priority:7}}}(e):void 0}function V(e){return(e=e.trim()).indexOf(" ")>0&&(e=`'${e}'`),e}class R extends o.Sy{static get pluginName(){return"FontFamilyEditing"}constructor(e){super(e),e.config.define(y,{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:y}),e.model.schema.setAttributeProperties(y,{isFormatting:!0,copyOnEnter:!0});const t=P(e.config.get("fontFamily.options")).filter((e=>e.model)),i=A(y,t);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(i),e.commands.add(y,new S(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:y,view:(e,{writer:t})=>t.createAttributeElement("span",{style:"font-family:"+e},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:y,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:y,value:e=>e.getAttribute("face")}})}}class O extends o.Sy{static get pluginName(){return"FontFamilyUI"}init(){const e=this.editor,t=e.t,i=this._getLocalizedOptions(),o=e.commands.get(y);e.ui.componentFactory.add(y,(n=>{const a=(0,r.t9)(n);return(0,r.Pm)(a,(()=>function(e,t){const i=new s.FE;for(const o of e){const e={type:"button",model:new r.Hn({commandName:y,commandParam:o.model,label:o.title,withText:!0})};e.model.bind("isOn").to(t,"value",(e=>e===o.model||!(!e||!o.model)&&e.split(",")[0].replace(/'/g,"").toLowerCase()===o.model.toLowerCase())),o.view&&"string"!=typeof o.view&&o.view.styles&&e.model.set("labelStyle",`font-family: ${o.view.styles["font-family"]}`),i.add(e)}return i}(i,o))),a.buttonView.set({label:t("Font Family"),icon:'<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>',tooltip:!0}),a.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),a.bind("isEnabled").to(o),this.listenTo(a,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),a}))}_getLocalizedOptions(){const e=this.editor,t=e.t;return P(e.config.get(y).options).map((e=>("Default"===e.title&&(e.title=t("Default")),e)))}}class B extends o.Sy{static get requires(){return[R,O]}static get pluginName(){return"FontFamily"}}var M=i(3291);class z extends n{constructor(e){super(e,v)}}function N(e){return e.map((e=>function(e){if("number"==typeof e&&(e=String(e)),"object"==typeof e&&((t=e).title&&t.model&&t.view))return L(e);var t;const i=function(e){return"string"==typeof e?D[e]:D[e.model]}(e);return i?L(i):"default"===e?{model:void 0,title:"Default"}:function(e){let t;if("object"==typeof e){if(!e.model)throw new s.Bb("font-size-invalid-definition",null,e);t=parseFloat(e.model)}else t=parseFloat(e);return isNaN(t)}(e)?void 0:function(e){return"string"==typeof e&&(e={title:e,model:`${parseFloat(e)}px`}),e.view={name:"span",styles:{"font-size":e.model}},L(e)}(e)}(e))).filter((e=>void 0!==e))}const D={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 F=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class H extends o.Sy{static get pluginName(){return"FontSizeEditing"}constructor(e){super(e),e.config.define(v,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:v}),e.model.schema.setAttributeProperties(v,{isFormatting:!0,copyOnEnter:!0});const t=e.config.get("fontSize.supportAllValues"),i=N(this.editor.config.get("fontSize.options")).filter((e=>e.model)),o=A(v,i);t?(this._prepareAnyValueConverters(o),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(o),e.commands.add(v,new z(e))}_prepareAnyValueConverters(e){const t=this.editor,i=e.model.values.filter((e=>!(0,M.G9)(String(e))&&!(0,M.zz)(String(e))));if(i.length)throw new s.Bb("font-size-invalid-use-of-named-presets",null,{presets:i});t.conversion.for("downcast").attributeToElement({model:v,view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{style:"font-size:"+e},{priority:7})}}),t.conversion.for("upcast").elementToAttribute({model:{key:v,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:v,value:e=>{const t=e.getAttribute("size"),i="-"===t[0]||"+"===t[0];let o=parseInt(t,10);i&&(o=3+o);const n=F.length-1,r=Math.min(Math.max(o,0),n);return F[r]}}})}}var W=i(5991),Z={attributes:{"data-cke":!0}};Z.setAttributes=p(),Z.insert=m().bind(null,"head"),Z.domAPI=u(),Z.insertStyleElement=b(),c()(W.Z,Z),W.Z&&W.Z.locals&&W.Z.locals;class U extends o.Sy{static get pluginName(){return"FontSizeUI"}init(){const e=this.editor,t=e.t,i=this._getLocalizedOptions(),o=e.commands.get(v);e.ui.componentFactory.add(v,(n=>{const a=(0,r.t9)(n);return(0,r.Pm)(a,(()=>function(e,t){const i=new s.FE;for(const o of e){const e={type:"button",model:new r.Hn({commandName:v,commandParam:o.model,label:o.title,class:"ck-fontsize-option",withText:!0})};o.view&&"string"!=typeof o.view&&(o.view.styles&&e.model.set("labelStyle",`font-size:${o.view.styles["font-size"]}`),o.view.classes&&e.model.set("class",`${e.model.class} ${o.view.classes}`)),e.model.bind("isOn").to(t,"value",(e=>e===o.model)),i.add(e)}return i}(i,o))),a.buttonView.set({label:t("Font Size"),icon:'<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>',tooltip:!0}),a.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),a.bind("isEnabled").to(o),this.listenTo(a,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),a}))}_getLocalizedOptions(){const e=this.editor,t=e.t,i={Default:t("Default"),Tiny:t("Tiny"),Small:t("Small"),Big:t("Big"),Huge:t("Huge")};return N(e.config.get(v).options).map((e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e}))}}class j extends o.Sy{static get requires(){return[H,U]}static get pluginName(){return"FontSize"}normalizeSizeOptions(e){return N(e)}}class $ extends n{constructor(e){super(e,C)}}class q extends o.Sy{static get pluginName(){return"FontColorEditing"}constructor(e){super(e),e.config.define(C,{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:C,value:E("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:C,value:e=>e.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:C,view:T("color")}),e.commands.add(C,new $(e)),e.model.schema.extend("$text",{allowAttributes:C}),e.model.schema.setAttributeProperties(C,{isFormatting:!0,copyOnEnter:!0})}}class K extends o.Sy{constructor(e,{commandName:t,componentName:i,icon:o,dropdownLabel:n}){super(e),this.commandName=t,this.componentName=i,this.icon=o,this.dropdownLabel=n,this.columns=e.config.get(`${this.componentName}.columns`),this.colorTableView=void 0}init(){const e=this.editor,t=e.locale,i=t.t,o=e.commands.get(this.commandName),n=(0,r.S1)(e.config.get(this.componentName).colors),s=(0,r.k6)(t,n),a=e.config.get(`${this.componentName}.documentColors`);e.ui.componentFactory.add(this.componentName,(t=>{const n=(0,r.t9)(t);return this.colorTableView=function({dropdownView:e,colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:n,documentColorsCount:r}){const s=e.locale,a=new _(s,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:n,documentColorsCount:r});return e.colorTableView=a,e.panelView.children.add(a),a.delegate("execute").to(e,"execute"),a}({dropdownView:n,colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:i("Remove color"),documentColorsLabel:0!==a?i("Document colors"):"",documentColorsCount:void 0===a?this.columns:a}),this.colorTableView.bind("selectedColor").to(o,"value"),n.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),n.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),n.bind("isEnabled").to(o),n.on("execute",((t,i)=>{e.execute(this.commandName,i),e.editing.view.focus()})),n.on("change:isOpen",((t,i,o)=>{n.colorTableView.appendGrids(),o&&(0!==a&&this.colorTableView.updateDocumentColors(e.model,this.componentName),this.colorTableView.updateSelectedColors())})),(0,r.Mh)(n,(()=>n.colorTableView.staticColorsGrid.items.find((e=>e.isOn)))),n}))}}class G extends K{constructor(e){const t=e.locale.t;super(e,{commandName:C,componentName:C,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 J extends o.Sy{static get requires(){return[q,G]}static get pluginName(){return"FontColor"}}class Y extends n{constructor(e){super(e,x)}}class Q extends o.Sy{static get pluginName(){return"FontBackgroundColorEditing"}constructor(e){super(e),e.config.define(x,{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(M.QR),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:x,value:E("background-color")}}),e.conversion.for("downcast").attributeToElement({model:x,view:T("background-color")}),e.commands.add(x,new Y(e)),e.model.schema.extend("$text",{allowAttributes:x}),e.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0})}}class X extends K{constructor(e){const t=e.locale.t;super(e,{commandName:x,componentName:x,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 ee extends o.Sy{static get requires(){return[Q,X]}static get pluginName(){return"FontBackgroundColor"}}class te extends o.Sy{static get requires(){return[B,j,J,ee]}static get pluginName(){return"Font"}}},4507:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Heading:()=>A,HeadingButtonsUI:()=>T,HeadingEditing:()=>c,HeadingUI:()=>x,Title:()=>I});var o=i(6854),n=i(4690),r=i(6553);class s extends o.mY{constructor(e,t){super(e),this.modelElements=t}refresh(){const e=(0,r.Ps)(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,i=t.document,o=e.value;t.change((e=>{const n=Array.from(i.selection.getSelectedBlocks()).filter((e=>a(e,o,t.schema)));for(const t of n)t.is("element",o)||e.rename(t,o)}))}}function a(e,t,i){return i.checkChild(e.parent,t)&&!i.isObject(e)}const l="paragraph";class c extends o.Sy{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[n.Paragraph]}init(){const e=this.editor,t=e.config.get("heading.options"),i=[];for(const o of t)"paragraph"!==o.model&&(e.model.schema.register(o.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(o),i.push(o.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new s(e,i))}afterInit(){const e=this.editor,t=e.commands.get("enter"),i=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",((t,o)=>{const n=e.model.document.selection.getFirstPosition().parent;i.some((e=>n.is("element",e.model)))&&!n.is("element",l)&&0===n.childCount&&o.writer.rename(n,l)}))}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:r.tA.get("low")+1})}}var d=i(7095);function u(e){const t=e.t,i={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=i[e.title];return t&&t!=e.title&&(e.title=t),e}))}var h=i(3379),m=i.n(h),g=i(9037),p=i.n(g),f=i(569),b=i.n(f),w=i(8575),k=i.n(w),_=i(9216),v=i.n(_),y=i(4249),C={attributes:{"data-cke":!0}};C.setAttributes=k(),C.insert=b().bind(null,"head"),C.domAPI=p(),C.insertStyleElement=v(),m()(y.Z,C),y.Z&&y.Z.locals&&y.Z.locals;class x extends o.Sy{static get pluginName(){return"HeadingUI"}init(){const e=this.editor,t=e.t,i=u(e),o=t("Choose heading"),n=t("Heading");e.ui.componentFactory.add("heading",(t=>{const s={},a=new r.FE,l=e.commands.get("heading"),c=e.commands.get("paragraph"),u=[l];for(const e of i){const t={type:"button",model:new d.Hn({label:e.title,class:e.class,withText:!0})};"paragraph"===e.model?(t.model.bind("isOn").to(c,"value"),t.model.set("commandName","paragraph"),u.push(c)):(t.model.bind("isOn").to(l,"value",(t=>t===e.model)),t.model.set({commandName:"heading",commandValue:e.model})),a.add(t),s[e.model]=e.title}const h=(0,d.t9)(t);return(0,d.Pm)(h,a),h.buttonView.set({isOn:!1,withText:!0,tooltip:n}),h.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),h.bind("isEnabled").toMany(u,"isEnabled",((...e)=>e.some((e=>e)))),h.buttonView.bind("label").to(l,"value",c,"value",((e,t)=>{const i=e||t&&"paragraph";return"boolean"==typeof i?o:s[i]?s[i]:o})),this.listenTo(h,"execute",(t=>{const{commandName:i,commandValue:o}=t.source;e.execute(i,o?{value:o}:void 0),e.editing.view.focus()})),h}))}}class A extends o.Sy{static get requires(){return[c,x]}static get pluginName(){return"Heading"}}const E={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>'};class T extends o.Sy{init(){u(this.editor).filter((e=>"paragraph"!==e.model)).map((e=>this._createButton(e)))}_createButton(e){const t=this.editor;t.ui.componentFactory.add(e.model,(i=>{const o=new d.r5(i),n=t.commands.get("heading");return o.label=e.title,o.icon=e.icon||E[e.model],o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(n),o.bind("isOn").to(n,"value",(t=>t==e.model)),o.on("execute",(()=>{t.execute("heading",{value:e.model}),t.editing.view.focus()})),o}))}}var S=i(3291);const P=new Set(["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"]);class I extends o.Sy{static get pluginName(){return"Title"}static get requires(){return["Paragraph"]}init(){const e=this.editor,t=e.model;this._bodyPlaceholder=null,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",R(e.editing.view)),e.data.mapper.on("modelToViewPosition",R(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,i)=>{i.consumable.consume(t.item,e.name)})))),e.data.upcastDispatcher.on("element:h1",V,{priority:"high"}),e.data.upcastDispatcher.on("element:h2",V,{priority:"high"}),e.data.upcastDispatcher.on("element:h3",V,{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=this._getTitleElement().getChild(0);return this.editor.data.stringify(t,e)}getBody(e={}){const t=this.editor,i=t.data,o=t.model,n=t.model.document.getRoot(),r=t.editing.view,s=new S.qD(r.document),a=o.createRangeIn(n),l=s.createDocumentFragment(),c=o.createPositionAfter(n.getChild(0)),d=o.createRange(c,o.createPositionAt(n,"end")),u=new Map;for(const e of o.markers){const t=d.getIntersection(e.getRange());t&&u.set(e.name,t)}return i.mapper.clearBindings(),i.mapper.bindElements(n,l),i.downcastDispatcher.convert(a,u,s,e),s.remove(s.createRangeOn(l.getChild(0))),t.data.processor.toData(l)}_getTitleElement(){const e=this.editor.model.document.getRoot();for(const t of e.getChildren())if(O(t))return t}_fixTitleContent(e){const t=this._getTitleElement();if(!t||1===t.maxOffset)return!1;const i=Array.from(t.getChildren());i.shift();for(const o of i)e.move(e.createRangeOn(o),t,"after"),e.rename(o,"paragraph");return!0}_fixTitleElement(e){const t=this.editor.model,i=t.document.getRoot(),o=Array.from(i.getChildren()).filter(O),n=o[0],r=i.getChild(0);if(r.is("element","title"))return B(o,e,t);if(!n&&!P.has(r.name)){const t=e.createElement("title");return e.insert(t,i),e.insertElement("title-content",t),!0}return P.has(r.name)?function(e,t,i){const o=t.createElement("title");t.insert(o,e,"before"),t.insert(e,o,0),t.rename(e,"title-content"),i.schema.removeDisallowedAttributes([e],t)}(r,e,t):e.move(e.createRangeOn(n),i,0),B(o,e,t),!0}_fixBodyElement(e){const t=this.editor.model.document.getRoot();return t.childCount<2&&(this._bodyPlaceholder=e.createElement("paragraph"),e.insert(this._bodyPlaceholder,t,1),!0)}_fixExtraParagraph(e){const t=this.editor.model.document.getRoot(),i=this._bodyPlaceholder;return!!function(e,t){return!(!e||!e.is("element","paragraph")||e.childCount)&&!(t.childCount<=2||t.getChild(t.childCount-1)!==e)}(i,t)&&(this._bodyPlaceholder=null,e.remove(i),!0)}_attachPlaceholders(){const e=this.editor,t=e.t,i=e.editing.view,o=i.document.getRoot(),n=e.sourceElement,r=e.config.get("title.placeholder")||t("Type your title"),s=e.config.get("placeholder")||n&&"textarea"===n.tagName.toLowerCase()&&n.getAttribute("placeholder")||t("Type or paste your content here.");let a;e.editing.downcastDispatcher.on("insert:title-content",((e,t,o)=>{(0,S.ID)({view:i,element:o.mapper.toViewElement(t.item),text:r,keepOnFocus:!0})})),i.document.registerPostFixer((e=>{const t=o.getChild(1);let i=!1;return t!==a&&(a&&((0,S.$_)(e,a),e.removeAttribute("data-placeholder",a)),e.setAttribute("data-placeholder",s,t),a=t,i=!0),i=(0,S.Q7)(t,!0)&&2===o.childCount&&"p"===t.name?!!(0,S.NJ)(e,t)||i:!!(0,S.$_)(e,t)||i,i}))}_attachTabPressHandling(){const e=this.editor,t=e.model;e.keystrokes.set("TAB",((e,i)=>{t.change((e=>{const o=t.document.selection,n=Array.from(o.getSelectedBlocks());if(1===n.length&&n[0].is("element","title-content")){const o=t.document.getRoot().getChild(1);e.setSelection(o,0),i()}}))})),e.keystrokes.set("SHIFT + TAB",((i,o)=>{t.change((i=>{const n=t.document.selection;if(!n.isCollapsed)return;const s=e.model.document.getRoot(),a=(0,r.Ps)(n.getSelectedBlocks()),l=n.getFirstPosition(),c=s.getChild(0);a===s.getChild(1)&&l.isAtStart&&(i.setSelection(c.getChild(0),0),o())}))}))}}function V(e,t,i){const o=t.modelCursor,n=t.viewItem;if(!o.isAtStart||!o.parent.is("element","$root"))return;if(!i.consumable.consume(n,{name:!0}))return;const r=i.writer,s=r.createElement("title"),a=r.createElement("title-content");r.append(a,s),r.insert(s,o),i.convertChildren(n,a),i.updateConversionResult(s,t)}function R(e){return(t,i)=>{const o=i.modelPosition.parent;if(!o.is("element","title"))return;const n=o.parent,r=i.mapper.toViewElement(n);i.viewPosition=e.createPositionAt(r,0),t.stop()}}function O(e){return e.is("element","title")}function B(e,t,i){let o=!1;for(const n of e)0!==n.index&&(M(n,t,i),o=!0);return o}function M(e,t,i){const o=e.getChild(0);o.isEmpty?t.remove(e):(t.move(t.createRangeOn(o),e,"before"),t.rename(o,"paragraph"),t.remove(e),i.schema.removeDisallowedAttributes([o],t))}},128:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Highlight:()=>v,HighlightEditing:()=>r,HighlightUI:()=>k});var o=i(6854);class n extends o.mY{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,o=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,n=t.getLastMatchingPosition(i,{direction:"backward"}),r=t.getLastMatchingPosition(i),s=e.createRange(n,r);o&&this.value!==o?(t.isEqual(r)||e.setAttribute("highlight",o,s),e.setSelectionAttribute("highlight",o)):(t.isEqual(r)||e.removeAttribute("highlight",s),e.removeSelectionAttribute("highlight"))}else o&&e.setSelectionAttribute("highlight",o)}else{const n=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of n)o?e.setAttribute("highlight",o,t):e.removeAttribute("highlight",t)}}))}}class r extends o.Sy{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 t=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}(t)),e.commands.add("highlight",new n(e))}}var s=i(7095),a=i(3379),l=i.n(a),c=i(9037),d=i.n(c),u=i(569),h=i.n(u),m=i(8575),g=i.n(m),p=i(9216),f=i.n(p),b=i(7263),w={attributes:{"data-cke":!0}};w.setAttributes=g(),w.insert=h().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=f(),l()(b.Z,w),b.Z&&b.Z.locals&&b.Z.locals;class k extends o.Sy{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)}_addRemoveHighlightButton(){const e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),o.icons.eraser,null,(e=>{e.bind("isEnabled").to(t,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,_(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,o,n){const r=this.editor;r.ui.componentFactory.add(e,(e=>{const a=new s.r5(e),l=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:l,icon:i,tooltip:!0}),a.on("execute",(()=>{r.execute("highlight",{value:o}),r.editing.view.focus()})),n(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,o=t.ui.componentFactory,n=e[0],r=e.reduce(((e,t)=>(e[t.model]=t,e)),{});o.add("highlight",(a=>{const l=t.commands.get("highlight"),c=(0,s.t9)(a,s.Rm),d=c.buttonView;function u(e,t){const i=e&&e!==d.lastExecuted?e:d.lastExecuted;return r[i][t]}return d.set({label:i("Highlight"),tooltip:!0,lastExecuted:n.model,commandValue:n.model,isToggleable:!0}),d.bind("icon").to(l,"value",(e=>_(u(e,"type")))),d.bind("color").to(l,"value",(e=>u(e,"color"))),d.bind("commandValue").to(l,"value",(e=>u(e,"model"))),d.bind("isOn").to(l,"value",(e=>!!e)),d.delegate("execute").to(c),c.bind("isEnabled").to(l,"isEnabled"),(0,s.up)(c,(()=>{const t=e.map((e=>{const t=o.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{c.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new s.$y),t.push(o.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){e.buttonView.actionView.iconView.bind("fillColor").to(e.buttonView,"color")}(c),d.on("execute",(()=>{t.execute("highlight",{value:d.commandValue})})),this.listenTo(c,"execute",(()=>{t.editing.view.focus()})),c}))}}function _(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 v extends o.Sy{static get requires(){return[r,k]}static get pluginName(){return"Highlight"}}},8428:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HorizontalLine:()=>v,HorizontalLineEditing:()=>w,HorizontalLineUI:()=>_});var o=i(6854),n=i(5549);class r extends o.mY{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection;this.isEnabled=function(e,t,i){const o=function(e,t){const i=(0,n.KT)(e,t).start.parent;return i.isEmpty&&!i.is("element","$root")?i.parent:i}(e,i);return t.checkChild(o,"horizontalLine")}(i,t,e)}execute(){const e=this.editor.model;e.change((t=>{const i=t.createElement("horizontalLine");e.insertObject(i,null,null,{setSelection:"after"})}))}}var s=i(3379),a=i.n(s),l=i(9037),c=i.n(l),d=i(569),u=i.n(d),h=i(8575),m=i.n(h),g=i(9216),p=i.n(g),f=i(9893),b={attributes:{"data-cke":!0}};b.setAttributes=m(),b.insert=u().bind(null,"head"),b.domAPI=c(),b.insertStyleElement=p(),a()(f.Z,b),f.Z&&f.Z.locals&&f.Z.locals;class w extends o.Sy{static get pluginName(){return"HorizontalLineEditing"}init(){const e=this.editor,t=e.model.schema,i=e.t,o=e.conversion;t.register("horizontalLine",{inheritAllFrom:"$blockObject"}),o.for("dataDowncast").elementToElement({model:"horizontalLine",view:(e,{writer:t})=>t.createEmptyElement("hr")}),o.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(e,{writer:t})=>{const o=i("Horizontal line"),r=t.createContainerElement("div",null,t.createEmptyElement("hr"));return t.addClass("ck-horizontal-line",r),t.setCustomProperty("hr",!0,r),function(e,t,i){return t.setCustomProperty("horizontalLine",!0,e),(0,n.XC)(e,t,{label:i})}(r,t,o)}}),o.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),e.commands.add("horizontalLine",new r(e))}}var k=i(7095);class _ extends o.Sy{static get pluginName(){return"HorizontalLineUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("horizontalLine",(i=>{const o=e.commands.get("horizontalLine"),n=new k.r5(i);return n.set({label:t("Horizontal line"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 9h16v2H2z"/></svg>',tooltip:!0}),n.bind("isEnabled").to(o,"isEnabled"),this.listenTo(n,"execute",(()=>{e.execute("horizontalLine"),e.editing.view.focus()})),n}))}}class v extends o.Sy{static get requires(){return[w,_,n.$L]}static get pluginName(){return"HorizontalLine"}}},4195:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HtmlEmbed:()=>x,HtmlEmbedEditing:()=>v,HtmlEmbedUI:()=>C});var o=i(6854),n=i(5549),r=i(7095),s=i(6553);class a extends o.mY{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection,o=l(i);this.isEnabled=function(e,t,i){const o=function(e,t){const i=(0,n.KT)(e,t).start.parent;return i.isEmpty&&!i.is("rootElement")?i.parent:i}(e,i);return t.checkChild(o,"rawHtml")}(i,t,e),this.value=o?o.getAttribute("value")||"":null}execute(e){const t=this.editor.model,i=t.document.selection;t.change((o=>{let n;null!==this.value?n=l(i):(n=o.createElement("rawHtml"),t.insertObject(n,null,null,{setSelection:"on"})),o.setAttribute("value",e,n)}))}}function l(e){const t=e.getSelectedElement();return t&&t.is("element","rawHtml")?t:null}var c=i(3379),d=i.n(c),u=i(9037),h=i.n(u),m=i(569),g=i.n(m),p=i(8575),f=i.n(p),b=i(9216),w=i.n(b),k=i(7319),_={attributes:{"data-cke":!0}};_.setAttributes=f(),_.insert=g().bind(null,"head"),_.domAPI=h(),_.insertStyleElement=w(),d()(k.Z,_),k.Z&&k.Z.locals&&k.Z.locals;class v extends o.Sy{static get pluginName(){return"HtmlEmbedEditing"}constructor(e){super(e),this._widgetButtonViewReferences=new Set,e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:e=>((0,s.KE)("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 a(e)),this._setupConversion()}_setupConversion(){const e=this.editor,t=e.t,i=e.editing.view,o=this._widgetButtonViewReferences,r=e.config.get("htmlEmbed");function a({editor:e,domElement:i,state:n,props:r}){i.textContent="";const a=i.ownerDocument;let c;if(n.isEditable){const e={isDisabled:!1,placeholder:r.textareaPlaceholder};c=l({domDocument:a,state:n,props:e}),i.append(c)}else if(n.showPreviews){const o={sanitizeHtml:r.sanitizeHtml};i.append(function({editor:e,domDocument:i,state:o,props:n}){const r=n.sanitizeHtml(o.getRawHtmlValue()),a=o.getRawHtmlValue().length>0?t("No preview available"):t("Empty snippet content"),l=(0,s.az)(i,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},a),c=(0,s.az)(i,"div",{class:"raw-html-embed__preview-content",dir:e.locale.contentLanguageDirection}),d=i.createRange().createContextualFragment(r.html);c.appendChild(d);return(0,s.az)(i,"div",{class:"raw-html-embed__preview"},[l,c])}({domDocument:a,state:n,props:o,editor:e}))}else{const e={isDisabled:!0,placeholder:r.textareaPlaceholder};i.append(l({domDocument:a,state:n,props:e}))}const d={onEditClick:r.onEditClick,onSaveClick:()=>{r.onSaveClick(c.value)},onCancelClick:r.onCancelClick};i.prepend(function({editor:e,domDocument:t,state:i,props:n}){const r=(0,s.az)(t,"div",{class:"raw-html-embed__buttons-wrapper"});if(i.isEditable){const t=y(e,"save",n.onSaveClick),i=y(e,"cancel",n.onCancelClick);r.append(t.element,i.element),o.add(t).add(i)}else{const t=y(e,"edit",n.onEditClick);r.append(t.element),o.add(t)}return r}({editor:e,domDocument:a,state:n,props:d}))}function l({domDocument:e,state:t,props:i}){const o=(0,s.az)(e,"textarea",{placeholder:i.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return o.disabled=i.isDisabled,o.value=t.getRawHtmlValue(),o}this.editor.editing.view.on("render",(()=>{for(const e of o){if(e.element&&e.element.isConnected)return;e.destroy(),o.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:(o,{writer:s})=>{let l,c,d;const u=s.createRawElement("div",{class:"raw-html-embed__content-wrapper"},(function(t){l=t,a({editor:e,domElement:t,state:c,props:d}),l.addEventListener("mousedown",(()=>{if(c.isEditable){const t=e.model;t.document.selection.getSelectedElement()!==o&&t.change((e=>e.setSelection(o,"on")))}}),!0)})),h={makeEditable(){c=Object.assign({},c,{isEditable:!0}),a({domElement:l,editor:e,state:c,props:d}),i.change((e=>{e.setAttribute("data-cke-ignore-events","true",u)})),l.querySelector("textarea").focus()},save(t){t!==c.getRawHtmlValue()?(e.execute("htmlEmbed",t),e.editing.view.focus()):this.cancel()},cancel(){c=Object.assign({},c,{isEditable:!1}),a({domElement:l,editor:e,state:c,props:d}),e.editing.view.focus(),i.change((e=>{e.removeAttribute("data-cke-ignore-events",u)}))}};c={showPreviews:r.showPreviews,isEditable:!1,getRawHtmlValue:()=>o.getAttribute("value")||""},d={sanitizeHtml:r.sanitizeHtml,textareaPlaceholder:t("Paste raw HTML here..."),onEditClick(){h.makeEditable()},onSaveClick(e){h.save(e)},onCancelClick(){h.cancel()}};const m=s.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":t("HTML snippet"),dir:e.locale.uiLanguageDirection},u);return s.setCustomProperty("rawHtmlApi",h,m),s.setCustomProperty("rawHtml",!0,m),(0,n.XC)(m,s,{label:t("HTML snippet"),hasSelectionHandle:!0})}})}}function y(e,t,i){const{t:n}=e.locale,s=new r.r5(e.locale),a=e.commands.get("htmlEmbed");return s.set({class:`raw-html-embed__${t}-button`,icon:o.icons.pencil,tooltip:!0,tooltipPosition:"rtl"===e.locale.uiLanguageDirection?"e":"w"}),s.render(),"edit"===t?(s.set({icon:o.icons.pencil,label:n("Edit source")}),s.bind("isEnabled").to(a)):"save"===t?(s.set({icon:o.icons.check,label:n("Save changes")}),s.bind("isEnabled").to(a)):s.set({icon:o.icons.cancel,label:n("Cancel")}),s.on("execute",i),s}class C extends o.Sy{static get pluginName(){return"HtmlEmbedUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("htmlEmbed",(i=>{const o=e.commands.get("htmlEmbed"),n=new r.r5(i);return n.set({label:t("Insert HTML"),icon:'<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>',tooltip:!0}),n.bind("isEnabled").to(o,"isEnabled"),this.listenTo(n,"execute",(()=>{e.execute("htmlEmbed"),e.editing.view.focus(),e.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()})),n}))}}class x extends o.Sy{static get requires(){return[v,C,n.$L]}static get pluginName(){return"HtmlEmbed"}}},9211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AutoImage:()=>f,Image:()=>G,ImageCaption:()=>ie,ImageCaptionEditing:()=>Q,ImageCaptionUtils:()=>J,ImageEditing:()=>H,ImageInsert:()=>Re,ImageInsertUI:()=>Ie,ImageResize:()=>Ze,ImageResizeButtons:()=>ze,ImageResizeEditing:()=>Be,ImageResizeHandles:()=>Fe,ImageStyle:()=>mt,ImageStyleEditing:()=>nt,ImageStyleUI:()=>ct,ImageTextAlternative:()=>M,ImageTextAlternativeEditing:()=>w,ImageTextAlternativeUI:()=>B,ImageToolbar:()=>gt,ImageUpload:()=>ye,ImageUploadEditing:()=>_e,ImageUploadProgress:()=>me,ImageUploadUI:()=>se,PictureEditing:()=>pt});var o=i(6854),n=i(7197),r=i(3291),s=i(1903),a=i(5187),l=i(6553),c=i(5549);function d(e){return e.createContainerElement("figure",{class:"image"},[e.createEmptyElement("img"),e.createSlot("children")])}function u(e,t){const i=e.plugins.get("ImageUtils"),o=e.plugins.has("ImageInlineEditing")&&e.plugins.has("ImageBlockEditing");return e=>i.isInlineImageView(e)?o&&("block"==e.getStyle("display")||e.findAncestor(i.isBlockImageView)?"imageBlock":"imageInline")!==t?null:n(e):null;function n(e){const t={name:!0};return e.hasAttribute("src")&&(t.attributes=["src"]),t}}function h(e,t){const i=(0,l.Ps)(t.getSelectedBlocks());return!i||e.isObject(i)||i.isEmpty&&"listItem"!=i.name?"imageBlock":"imageInline"}class m extends o.Sy{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){const o=this.editor,n=o.model,r=n.document.selection;i=g(o,t||r,i),e={...Object.fromEntries(r.getAttributes()),...e};for(const t in e)n.schema.checkAttribute(i,t)||delete e[t];return n.change((o=>{const r=o.createElement(i,e);return n.insertObject(r,t,null,{setSelection:"on",findOptimalPosition:t||"imageInline"==i?void 0:"auto"}),r.parent?r:null}))}getClosestSelectedImageWidget(e){const t=e.getFirstPosition();if(!t)return null;const i=e.getSelectedElement();if(i&&this.isImageWidget(i))return i;let o=t.parent;for(;o;){if(o.is("element")&&this.isImageWidget(o))return o;o=o.parent}return null}getClosestSelectedImageElement(e){const t=e.getSelectedElement();return this.isImage(t)?t:e.getFirstPosition().findAncestor("imageBlock")}isImageAllowed(){const e=this.editor.model.document.selection;return function(e,t){if("imageBlock"==g(e,t,null)){const i=function(e,t){const i=(0,c.KT)(e,t).start.parent;return i.isEmpty&&!i.is("element","$root")?i.parent:i}(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){return t.setCustomProperty("image",!0,e),(0,c.XC)(e,t,{label:()=>{const t=this.findViewImgElement(e).getAttribute("alt");return t?`${t} ${i}`:i}})}isImageWidget(e){return!!e.getCustomProperty("image")&&(0,c.Qd)(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}}function g(e,t,i){const o=e.model.schema,n=e.config.get("image.insert.type");return e.plugins.has("ImageBlockEditing")?e.plugins.has("ImageInlineEditing")?i||("inline"===n?"imageInline":"block"===n?"imageBlock":t.is("selection")?h(o,t):o.checkChild(t,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}const p=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 f extends o.Sy{static get requires(){return[n.TU,m,s.WP,a.HG]}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=r.jP.fromPosition(e.start);i.stickiness="toPrevious";const o=r.jP.fromPosition(e.end);o.stickiness="toNext",t.once("change:data",(()=>{this._embedImageBetweenPositions(i,o),i.detach(),o.detach()}),{priority:"high"})})),e.commands.get("undo").on("execute",(()=>{this._timeoutId&&(l.CO.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedImageBetweenPositions(e,t){const i=this.editor,o=new r.iE(e,t),n=o.getWalker({ignoreElementEnd:!0}),s=Object.fromEntries(i.model.document.selection.getAttributes()),a=this.editor.plugins.get("ImageUtils");let l="";for(const e of n)e.item.is("$textProxy")&&(l+=e.item.data);l=l.trim(),l.match(p)?(this._positionToInsert=r.jP.fromPosition(e),this._timeoutId=setTimeout((()=>{i.commands.get("insertImage").isEnabled?(i.model.change((e=>{let t;this._timeoutId=null,e.remove(o),o.detach(),"$graveyard"!==this._positionToInsert.root.rootName&&(t=this._positionToInsert.toPosition()),a.insertImage({...s,src:l},t),this._positionToInsert.detach(),this._positionToInsert=null})),i.plugins.get("Delete").requestUndoOnBackspace()):o.detach()}),100)):o.detach()}}class b extends o.mY{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"),o=t.model,n=i.getClosestSelectedImageElement(o.document.selection);o.change((t=>{t.setAttribute("alt",e.newValue,n)}))}}class w extends o.Sy{static get requires(){return[m]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new b(this.editor))}}var k=i(7095),_=i(3379),v=i.n(_),y=i(9037),C=i.n(y),x=i(569),A=i.n(x),E=i(8575),T=i.n(E),S=i(9216),P=i.n(S),I=i(5269),V={attributes:{"data-cke":!0}};V.setAttributes=T(),V.insert=A().bind(null,"head"),V.domAPI=C(),V.insertStyleElement=P(),v()(I.Z,V),I.Z&&I.Z.locals&&I.Z.locals,i(2151);class R extends k.G7{constructor(e){super(e);const t=this.locale.t;this.focusTracker=new l.Rh,this.keystrokes=new l.VD,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(t("Save"),o.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(t("Cancel"),o.icons.cancel,"ck-button-cancel","cancel"),this._focusables=new k.vX,this._focusCycler=new k.I0({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,k.GI)({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,o){const n=new k.r5(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n.extendTemplate({attributes:{class:i}}),o&&n.delegate("execute").to(this,o),n}_createLabeledInputView(){const e=this.locale.t,t=new k.KP(this.locale,k.R);return t.label=e("Text alternative"),t}}function O(e){const t=e.editing.view,i=k.no.defaultPositions,o=e.plugins.get("ImageUtils");return{target:t.domConverter.mapViewToDom(o.getClosestSelectedImageWidget(t.document.selection)),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast,i.viewportStickyNorth]}}class B extends o.Sy{static get requires(){return[k.WB]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("imageTextAlternative",(i=>{const n=e.commands.get("imageTextAlternative"),r=new k.r5(i);return r.set({label:t("Change image text alternative"),icon:o.icons.lowVision,tooltip:!0}),r.bind("isEnabled").to(n,"isEnabled"),r.bind("isOn").to(n,"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,k.RX)(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=O(e);t.updatePosition(i)}}(e):this._hideForm(!0)})),(0,k.eC)({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:O(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 M extends o.Sy{static get requires(){return[w,B]}static get pluginName(){return"ImageTextAlternative"}}function z(e,t){const i=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const n=o.writer,r=o.mapper.toViewElement(i.item),s=e.findViewImgElement(r);if(null===i.attributeNewValue){const e=i.attributeOldValue;e&&e.data&&(n.removeAttribute("srcset",s),n.removeAttribute("sizes",s),e.width&&n.removeAttribute("width",s))}else{const e=i.attributeNewValue;e&&e.data&&(n.setAttribute("srcset",e.data,s),n.setAttribute("sizes","100vw",s),e.width&&n.setAttribute("width",e.width,s))}};return e=>{e.on(`attribute:srcset:${t}`,i)}}function N(e,t,i){const o=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const n=o.writer,r=o.mapper.toViewElement(i.item),s=e.findViewImgElement(r);n.setAttribute(i.attributeKey,i.attributeNewValue||"",s)};return e=>{e.on(`attribute:${i}:${t}`,o)}}class D extends r.Qj{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 L extends o.mY{constructor(e){super(e);const t=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||"block"===t&&(0,l.KE)("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||"inline"===t&&(0,l.KE)("image-inline-plugin-required")}refresh(){const e=this.editor.plugins.get("ImageUtils");this.isEnabled=e.isImageAllowed()}execute(e){const t=(0,l.qo)(e.source),i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),n=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if("string"==typeof e&&(e={src:e}),t&&r&&o.isImage(r)){const t=this.editor.model.createPositionAfter(r);o.insertImage({...e,...n},t)}else o.insertImage({...e,...n})}))}}class F extends o.mY{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();this.editor.model.change((i=>{i.setAttribute("src",e.source,t),i.removeAttribute("srcset",t),i.removeAttribute("sizes",t)}))}}class H extends o.Sy{static get requires(){return[m]}static get pluginName(){return"ImageEditing"}init(){const e=this.editor,t=e.conversion;e.editing.view.addObserver(D),t.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:{key:"srcset",value:e=>{const t={data:e.getAttribute("srcset")};return e.hasAttribute("width")&&(t.width=e.getAttribute("width")),t}}});const i=new L(e),o=new F(e);e.commands.add("insertImage",i),e.commands.add("replaceImageSource",o),e.commands.add("imageInsert",i)}}class W extends o.mY{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(){const e=this.editor,t=this.editor.model,i=e.plugins.get("ImageUtils"),o=i.getClosestSelectedImageElement(t.document.selection),n=Object.fromEntries(o.getAttributes());return n.src||n.uploadId?t.change((e=>{const r=Array.from(t.markers).filter((e=>e.getRange().containsItem(o))),s=i.insertImage(n,t.createSelection(o,"on"),this._modelElementName);if(!s)return null;const a=e.createRangeOn(s);for(const t of r){const i=t.getRange(),o="$graveyard"!=i.root.rootName?i.getJoined(a,!0):a;e.updateMarker(t,{range:o})}return{oldElement:o,newElement:s}})):null}}class Z extends o.Sy{static get requires(){return[H,m,n._l]}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 W(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,o=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:t})=>d(t)}),i.for("editingDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:i})=>o.toImageWidget(d(i),i,t("image widget"))}),i.for("downcast").add(N(o,"imageBlock","src")).add(N(o,"imageBlock","alt")).add(z(o,"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,o)=>{if(!o.consumable.test(i.viewItem,{name:!0,classes:"image"}))return;const n=e.findViewImgElement(i.viewItem);if(!n||!o.consumable.test(n,{name:!0}))return;o.consumable.consume(i.viewItem,{name:!0,classes:"image"});const r=o.convertItem(n,i.modelCursor),s=(0,l.Ps)(r.modelRange.getItems());s?(o.convertChildren(i.viewItem,s),o.updateConversionResult(s,i)):o.consumable.revert(i.viewItem,{name:!0,classes:"image"})};return e=>{e.on("element:figure",t)}}(o))}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,o=e.plugins.get("ImageUtils"),n=e.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",((n,s)=>{const a=Array.from(s.content.getChildren());let l;if(!a.every(o.isInlineImageView))return;l=s.targetRanges?e.editing.mapper.toModelRange(s.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageBlock"===h(t.schema,c)){const e=new r.yj(i.document),t=a.map((t=>e.createElement("figure",{class:"image"},t)));s.content=e.createDocumentFragment(t)}}))}}var U=i(2430),j={attributes:{"data-cke":!0}};j.setAttributes=T(),j.insert=A().bind(null,"head"),j.domAPI=C(),j.insertStyleElement=P(),v()(U.Z,j),U.Z&&U.Z.locals&&U.Z.locals;class $ extends o.Sy{static get requires(){return[Z,c.$L,M]}static get pluginName(){return"ImageBlock"}}class q extends o.Sy{static get requires(){return[H,m,n._l]}static get pluginName(){return"ImageInlineEditing"}init(){const e=this.editor,t=e.model.schema;t.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),t.addChildCheck(((e,t)=>{if(e.endsWith("caption")&&"imageInline"===t.name)return!1})),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new W(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,o=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})=>o.toImageWidget(function(e){return e.createContainerElement("span",{class:"image-inline"},e.createEmptyElement("img"))}(i),i,t("image widget"))}),i.for("downcast").add(N(o,"imageInline","src")).add(N(o,"imageInline","alt")).add(z(o,"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,o=e.plugins.get("ImageUtils"),n=e.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",((n,s)=>{const a=Array.from(s.content.getChildren());let l;if(!a.every(o.isBlockImageView))return;l=s.targetRanges?e.editing.mapper.toModelRange(s.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageInline"===h(t.schema,c)){const e=new r.yj(i.document),t=a.map((t=>1===t.childCount?(Array.from(t.getAttributes()).forEach((i=>e.setAttribute(...i,o.findViewImgElement(t)))),t.getChild(0)):t));s.content=e.createDocumentFragment(t)}}))}}class K extends o.Sy{static get requires(){return[q,c.$L,M]}static get pluginName(){return"ImageInline"}}class G extends o.Sy{static get requires(){return[$,K]}static get pluginName(){return"Image"}}class J extends o.Sy{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[m]}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 Y extends o.mY{refresh(){const e=this.editor,t=e.plugins.get("ImageCaptionUtils"),i=e.plugins.get("ImageUtils");if(!e.plugins.has(Z))return this.isEnabled=!1,void(this.value=!1);const o=e.model.document.selection,n=o.getSelectedElement();if(!n){const e=t.getCaptionFromModelSelection(o);return this.isEnabled=!!e,void(this.value=!!e)}this.isEnabled=i.isImage(n),this.isEnabled?this.value=!!t.getCaptionFromImageModelElement(n):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,o=this.editor.plugins.get("ImageCaptionEditing"),n=this.editor.plugins.get("ImageUtils");let r=i.getSelectedElement();const s=o._getSavedCaption(r);n.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=i.getSelectedElement());const a=s||e.createElement("caption");e.append(a,r),t&&e.setSelection(a,"in")}_hideImageCaption(e){const t=this.editor,i=t.model.document.selection,o=t.plugins.get("ImageCaptionEditing"),n=t.plugins.get("ImageCaptionUtils");let r,s=i.getSelectedElement();s?r=n.getCaptionFromImageModelElement(s):(r=n.getCaptionFromModelSelection(i),s=r.parent),o._saveCaption(s,r),e.setSelection(s,"on"),e.remove(r)}}class Q extends o.Sy{static get requires(){return[m,J]}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 Y(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils"),o=e.plugins.get("ImageCaptionUtils"),n=e.t;e.conversion.for("upcast").elementToElement({view:e=>o.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:o})=>{if(!i.isBlockImage(e.parent))return null;const s=o.createEditableElement("figcaption");o.setCustomProperty("imageCaption",!0,s),(0,r.ID)({view:t,element:s,text:n("Enter image caption"),keepOnFocus:!0});const a=e.parent.getAttribute("alt"),l=a?n("Caption for image: %0",[a]):n("Caption for the image");return(0,c.sC)(s,o,{label:l})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),o=e.commands.get("imageTypeInline"),n=e.commands.get("imageTypeBlock"),r=e=>{if(!e.return)return;const{oldElement:o,newElement:n}=e.return;if(!o)return;if(t.isBlockImage(o)){const e=i.getCaptionFromImageModelElement(o);if(e)return void this._saveCaption(n,e)}const r=this._getSavedCaption(o);r&&this._saveCaption(n,r)};o&&this.listenTo(o,"execute",r,{priority:"low"}),n&&this.listenTo(n,"execute",r,{priority:"low"})}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?r.W_.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"),o=e.plugins.get("ImageCaptionUtils");t.document.on("change:data",(()=>{const n=t.document.differ.getChanges();for(const t of n){if("alt"!==t.attributeKey)continue;const n=t.range.start.nodeAfter;if(i.isBlockImage(n)){const t=o.getCaptionFromImageModelElement(n);if(!t)return;e.editing.reconvertItem(t)}}}))}}class X extends o.Sy{static get requires(){return[J]}static get pluginName(){return"ImageCaptionUI"}init(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageCaptionUtils"),n=e.t;e.ui.componentFactory.add("toggleImageCaption",(r=>{const s=e.commands.get("toggleImageCaption"),a=new k.r5(r);return a.set({icon:o.icons.caption,tooltip:!0,isToggleable:!0}),a.bind("isOn","isEnabled").to(s,"value","isEnabled"),a.bind("label").to(s,"value",(e=>n(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(a,"execute",(()=>{e.execute("toggleImageCaption",{focusCaptionOnShow:!0});const o=i.getCaptionFromModelSelection(e.model.document.selection);if(o){const i=e.editing.mapper.toViewElement(o);t.scrollToTheSelection(),t.change((e=>{e.addClass("image__caption_highlighted",i)}))}e.editing.view.focus()})),a}))}}var ee=i(2423),te={attributes:{"data-cke":!0}};te.setAttributes=T(),te.insert=A().bind(null,"head"),te.domAPI=C(),te.insertStyleElement=P(),v()(ee.Z,te),ee.Z&&ee.Z.locals&&ee.Z.locals;class ie extends o.Sy{static get requires(){return[Q,X]}static get pluginName(){return"ImageCaption"}}var oe=i(1070);function ne(e){const t=e.map((e=>e.replace("+","\\+")));return new RegExp(`^image\\/(${t.join("|")})$`)}function re(e,t){return e.type?e.type:t.match(/data:(image\/\w+);base64/)?t.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class se extends o.Sy{static get pluginName(){return"ImageUploadUI"}init(){const e=this.editor,t=e.t,i=i=>{const n=new oe.FileDialogButtonView(i),r=e.commands.get("uploadImage"),s=e.config.get("image.upload.types"),a=ne(s);return n.set({acceptedType:s.map((e=>`image/${e}`)).join(","),allowMultipleFiles:!0}),n.buttonView.set({label:t("Insert image"),icon:o.icons.image,tooltip:!0}),n.buttonView.bind("isEnabled").to(r),n.on("done",((t,i)=>{const o=Array.from(i).filter((e=>a.test(e.type)));o.length&&(e.execute("uploadImage",{file:o}),e.editing.view.focus())})),n};e.ui.componentFactory.add("uploadImage",i),e.ui.componentFactory.add("imageUpload",i)}}var ae=i(2926),le={attributes:{"data-cke":!0}};le.setAttributes=T(),le.insert=A().bind(null,"head"),le.domAPI=C(),le.insertStyleElement=P(),v()(ae.Z,le),ae.Z&&ae.Z.locals&&ae.Z.locals;var ce=i(1547),de={attributes:{"data-cke":!0}};de.setAttributes=T(),de.insert=A().bind(null,"head"),de.domAPI=C(),de.insertStyleElement=P(),v()(ce.Z,de),ce.Z&&ce.Z.locals&&ce.Z.locals;var ue=i(6618),he={attributes:{"data-cke":!0}};he.setAttributes=T(),he.insert=A().bind(null,"head"),he.domAPI=C(),he.insertStyleElement=P(),v()(ue.Z,he),ue.Z&&ue.Z.locals&&ue.Z.locals;class me extends o.Sy{static get pluginName(){return"ImageUploadProgress"}constructor(e){super(e),this.uploadStatusChange=(e,t,i)=>{const o=this.editor,n=t.item,r=n.getAttribute("uploadId");if(!i.consumable.consume(t.item,e.name))return;const s=o.plugins.get("ImageUtils"),a=o.plugins.get(oe.FileRepository),l=r?t.attributeNewValue:null,c=this.placeholder,d=o.editing.mapper.toViewElement(n),u=i.writer;if("reading"==l)return ge(d,u),void pe(s,c,d,u);if("uploading"==l){const e=a.loaders.get(r);return ge(d,u),void(e?(fe(d,u),function(e,t,i,o){const n=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"),n),i.on("change:uploadedPercent",((e,t,i)=>{o.change((e=>{e.setStyle("width",i+"%",n)}))}))}(d,u,e,o.editing.view),function(e,t,i,o){if(o.data){const n=e.findViewImgElement(t);i.setAttribute("src",o.data,n)}}(s,d,u,e)):pe(s,c,d,u))}"complete"==l&&a.loaders.get(r)&&function(e,t,i){const o=t.createUIElement("div",{class:"ck-image-upload-complete-icon"});t.insert(t.createPositionAt(e,"end"),o),setTimeout((()=>{i.change((e=>e.remove(e.createRangeOn(o))))}),3e3)}(d,u,o.editing.view),function(e,t){we(e,t,"progressBar")}(d,u),fe(d,u),function(e,t){t.removeClass("ck-appear",e)}(d,u)},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 ge(e,t){e.hasClass("ck-appear")||t.addClass("ck-appear",e)}function pe(e,t,i,o){i.hasClass("ck-image-upload-placeholder")||o.addClass("ck-image-upload-placeholder",i);const n=e.findViewImgElement(i);n.getAttribute("src")!==t&&o.setAttribute("src",t,n),be(i,"placeholder")||o.insert(o.createPositionAfter(n),function(e){const t=e.createUIElement("div",{class:"ck-upload-placeholder-loader"});return e.setCustomProperty("placeholder",!0,t),t}(o))}function fe(e,t){e.hasClass("ck-image-upload-placeholder")&&t.removeClass("ck-image-upload-placeholder",e),we(e,t,"placeholder")}function be(e,t){for(const i of e.getChildren())if(i.getCustomProperty(t))return i}function we(e,t,i){const o=be(e,i);o&&t.remove(t.createRangeOn(o))}class ke extends o.mY{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,l.qo)(e.file),i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),n=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if(t&&r&&o.isImage(r)){const t=this.editor.model.createPositionAfter(r);this._uploadImage(e,n,t)}else this._uploadImage(e,n)}))}_uploadImage(e,t,i){const o=this.editor,n=o.plugins.get(oe.FileRepository).createLoader(e),r=o.plugins.get("ImageUtils");n&&r.insertImage({...t,uploadId:n.id},i)}}class _e extends o.Sy{static get requires(){return[oe.FileRepository,k.P_,n._l,m]}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,o=e.plugins.get(oe.FileRepository),n=e.plugins.get("ImageUtils"),s=e.plugins.get("ClipboardPipeline"),a=ne(e.config.get("image.upload.types")),c=new ke(e);e.commands.add("uploadImage",c),e.commands.add("imageUpload",c),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,i)=>{if(o=i.dataTransfer,Array.from(o.types).includes("text/html")&&""!==o.getData("text/html"))return;var o;const n=Array.from(i.dataTransfer.files).filter((e=>!!e&&a.test(e.type)));n.length&&(t.stop(),e.model.change((t=>{i.targetRanges&&t.setSelection(i.targetRanges.map((t=>e.editing.mapper.toModelRange(t)))),e.model.enqueueChange((()=>{e.execute("uploadImage",{file:n})}))})))})),this.listenTo(s,"inputTransformation",((t,i)=>{const s=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))}(n,e)&&!e.getAttribute("uploadProcessed"))).map((e=>{return{promise:(t=e,new Promise(((e,i)=>{const o=t.getAttribute("src");fetch(o).then((e=>e.blob())).then((t=>{const i=re(t,o),n=i.replace("image/",""),r=new File([t],`image.${n}`,{type:i});e(r)})).catch((t=>t&&"TypeError"===t.name?function(e){return function(e){return new Promise(((t,i)=>{const o=l.CO.document.createElement("img");o.addEventListener("load",(()=>{const e=l.CO.document.createElement("canvas");e.width=o.width,e.height=o.height,e.getContext("2d").drawImage(o,0,0),e.toBlob((e=>e?t(e):i()))})),o.addEventListener("error",(()=>i())),o.src=e}))}(e).then((t=>{const i=re(t,e),o=i.replace("image/","");return new File([t],`image.${o}`,{type:i})}))}(o).then(e).catch(i):i(t)))}))),imageElement:e};var t}));if(!s.length)return;const a=new r.yj(e.editing.view.document);for(const e of s){a.setAttribute("uploadProcessed",!0,e.imageElement);const t=o.createLoader(e.promise);t&&(a.setAttribute("src","",e.imageElement),a.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(),n=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 ve(e,i)){const e=t.getAttribute("uploadId");if(!e)continue;const i=o.loaders.get(e);i&&(r?n.has(e)||i.abort():(n.add(e),this._uploadImageElements.set(e,t),"idle"==i.status&&this._readAndUpload(i)))}}})),this.on("uploadComplete",((e,{imageElement:t,data:i})=>{const o=i.urls?i.urls:i;this.editor.model.change((e=>{e.setAttribute("src",o.default,t),this._parseAndSetSrcsetAttributeOnImage(o,t,e)}))}),{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,o=t.locale.t,n=t.plugins.get(oe.FileRepository),r=t.plugins.get(k.P_),s=t.plugins.get("ImageUtils"),a=this._uploadImageElements;return i.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","reading",a.get(e.id))})),e.read().then((()=>{const o=e.upload(),n=a.get(e.id);if(l.OB.isSafari){const e=t.editing.mapper.toViewElement(n),i=s.findViewImgElement(e);t.editing.view.once("render",(()=>{if(!i.parent)return;const e=t.editing.view.domConverter.mapViewToDom(i.parent);if(!e)return;const o=e.style.display;e.style.display="none",e._ckHack=e.offsetHeight,e.style.display=o}))}return i.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","uploading",n)})),o})).then((t=>{i.enqueueChange({isUndoable:!1},(i=>{const o=a.get(e.id);i.setAttribute("uploadStatus","complete",o),this.fire("uploadComplete",{data:t,imageElement:o})})),c()})).catch((t=>{if("error"!==e.status&&"aborted"!==e.status)throw t;"error"==e.status&&t&&r.showWarning(t,{title:o("Upload failed"),namespace:"upload"}),i.enqueueChange({isUndoable:!1},(t=>{t.remove(a.get(e.id))})),c()}));function c(){i.enqueueChange({isUndoable:!1},(t=>{const i=a.get(e.id);t.removeAttribute("uploadId",i),t.removeAttribute("uploadStatus",i),a.delete(e.id)})),n.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,i){let o=0;const n=Object.keys(e).filter((e=>{const t=parseInt(e,10);if(!isNaN(t))return o=Math.max(o,t),!0})).map((t=>`${e[t]} ${t}w`)).join(", ");""!=n&&i.setAttribute("srcset",{data:n,width:o},t)}}function ve(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 ye extends o.Sy{static get pluginName(){return"ImageUpload"}static get requires(){return[_e,se,me]}}var Ce=i(8340),xe={attributes:{"data-cke":!0}};xe.setAttributes=T(),xe.insert=A().bind(null,"head"),xe.domAPI=C(),xe.insertStyleElement=P(),v()(Ce.Z,xe),Ce.Z&&Ce.Z.locals&&Ce.Z.locals;class Ae extends k.G7{constructor(e,t={}){super(e);const i=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",i.to("class")],role:i.to("_role"),"aria-labelledby":i.to("_ariaLabelledBy")},children:this.children})}}var Ee=i(8879),Te={attributes:{"data-cke":!0}};Te.setAttributes=T(),Te.insert=A().bind(null,"head"),Te.domAPI=C(),Te.insertStyleElement=P(),v()(Ee.Z,Te),Ee.Z&&Ee.Z.locals&&Ee.Z.locals;class Se extends k.G7{constructor(e,t={}){super(e);const{insertButtonView:i,cancelButtonView:o}=this._createActionButtons(e);this.insertButtonView=i,this.cancelButtonView=o,this.set("imageURLInputValue",""),this.focusTracker=new l.Rh,this.keystrokes=new l.VD,this._focusables=new k.vX,this._focusCycler=new k.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.set("_integrations",new l.FE);for(const[e,i]of Object.entries(t))"insertImageViaUrl"===e&&(i.fieldView.bind("value").to(this,"imageURLInputValue",(e=>e||"")),i.fieldView.on("input",(()=>{this.imageURLInputValue=i.fieldView.element.value.trim()}))),i.name=e,this._integrations.add(i);this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:"-1"},children:[...this._integrations,new Ae(e,{children:[this.insertButtonView,this.cancelButtonView],class:"ck-image-insert-form__action-row"})]})}render(){super.render(),(0,k.GI)({view:this});const e=[...this._integrations,this.insertButtonView,this.cancelButtonView];e.forEach((e=>{this._focusables.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element);const t=e=>e.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t),this.listenTo(e[0].element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}getIntegration(e){return this._integrations.find((t=>t.name===e))}_createActionButtons(e){const t=e.t,i=new k.r5(e),n=new k.r5(e);return i.set({label:t("Insert"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0,isEnabled:this.imageURLInputValue}),n.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),i.bind("isEnabled").to(this,"imageURLInputValue",(e=>!!e)),i.delegate("execute").to(this,"submit"),n.delegate("execute").to(this,"cancel"),{insertButtonView:i,cancelButtonView:n}}focus(){this._focusCycler.focusFirst()}}function Pe(e){const t=e.t,i=new k.KP(e,k.R);return i.set({label:t("Insert image via URL")}),i.fieldView.placeholder="https://example.com/image.png",i}class Ie extends o.Sy{static get pluginName(){return"ImageInsertUI"}init(){const e=this.editor,t=e=>this._createDropdownView(e);e.ui.componentFactory.add("insertImage",t),e.ui.componentFactory.add("imageInsert",t)}_createDropdownView(e){const t=this.editor,i=e.t,n=t.commands.get("uploadImage"),r=t.commands.get("insertImage");this.dropdownView=(0,k.t9)(e,n?k.Rm:void 0);const s=this.dropdownView.buttonView,a=this.dropdownView.panelView;if(s.set({label:i("Insert image"),icon:o.icons.image,tooltip:!0}),a.extendTemplate({attributes:{class:"ck-image-insert__panel"}}),n){const e=this.dropdownView.buttonView;e.actionView=t.ui.componentFactory.create("uploadImage"),e.actionView.extendTemplate({attributes:{class:"ck ck-button ck-splitbutton__action"}})}return this._setUpDropdown(n||r)}_setUpDropdown(e){const t=this.editor,i=t.t,o=this.dropdownView,n=o.panelView,r=this.editor.plugins.get("ImageUtils"),s=t.commands.get("replaceImageSource");let a;function l(){t.editing.view.focus(),o.isOpen=!1}return o.bind("isEnabled").to(e),o.once("change:isOpen",(()=>{a=new Se(t.locale,function(e){const t=e.config.get("image.insert.integrations"),i=e.plugins.get("ImageInsertUI"),o={insertImageViaUrl:Pe(e.locale)};if(!t)return o;if(t.find((e=>"openCKFinder"===e))&&e.ui.componentFactory.has("ckfinder")){const t=e.ui.componentFactory.create("ckfinder");t.set({withText:!0,class:"ck-image-insert__ck-finder-button"}),t.delegate("execute").to(i,"cancel"),o.openCKFinder=t}return t.reduce(((t,i)=>(o[i]?t[i]=o[i]:e.ui.componentFactory.has(i)&&(t[i]=e.ui.componentFactory.create(i)),t)),{})}(t)),a.delegate("submit","cancel").to(o),n.children.add(a)})),o.on("change:isOpen",(()=>{const e=t.model.document.selection.getSelectedElement(),n=a.insertButtonView,l=a.getIntegration("insertImageViaUrl");o.isOpen&&(r.isImage(e)?(a.imageURLInputValue=s.value,n.label=i("Update"),l.label=i("Update image URL")):(a.imageURLInputValue="",n.label=i("Insert"),l.label=i("Insert image via URL")))}),{priority:"low"}),this.delegate("cancel").to(o),o.on("submit",(()=>{l(),function(){const e=t.model.document.selection.getSelectedElement();r.isImage(e)?t.execute("replaceImageSource",{source:a.imageURLInputValue}):t.execute("insertImage",{source:a.imageURLInputValue})}()})),o.on("cancel",(()=>{l()})),o}}class Ve extends o.Sy{static get pluginName(){return"ImageInsertViaUrl"}static get requires(){return[Ie]}}class Re extends o.Sy{static get pluginName(){return"ImageInsert"}static get requires(){return[ye,Ve,Ie]}}class Oe extends o.mY{refresh(){const e=this.editor,t=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!t,t&&t.hasAttribute("width")?this.value={width:t.getAttribute("width"),height:null}:this.value=null}execute(e){const t=this.editor,i=t.model,o=t.plugins.get("ImageUtils").getClosestSelectedImageElement(i.document.selection);this.value={width:e.width,height:null},o&&i.change((t=>{t.setAttribute("width",e.width,o)}))}}class Be extends o.Sy{static get requires(){return[m]}static get pluginName(){return"ImageResizeEditing"}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{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 Oe(e);this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",t),e.commands.add("imageResize",t)}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:"width"}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:"width"})}_registerConverters(e){const t=this.editor;t.conversion.for("downcast").add((t=>t.on(`attribute:width:${e}`,((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.writer,n=i.mapper.toViewElement(t.item);null!==t.attributeNewValue?(o.setStyle("width",t.attributeNewValue,n),o.addClass("image_resized",n)):(o.removeStyle("width",n),o.removeClass("image_resized",n))})))),t.conversion.for("upcast").attributeToAttribute({view:{name:"imageBlock"===e?"figure":"img",styles:{width:/.+/}},model:{key:"width",value:e=>e.getStyle("width")}})}}const Me={small:o.icons.objectSizeSmall,medium:o.icons.objectSizeMedium,large:o.icons.objectSizeLarge,original:o.icons.objectSizeFull};class ze extends o.Sy{static get requires(){return[Be]}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:o,icon:n}=e,r=o?o+this._resizeUnit:null;t.ui.componentFactory.add(i,(i=>{const o=new k.r5(i),s=t.commands.get("resizeImage"),a=this._getOptionLabelValue(e,!0);if(!Me[n])throw new l.Bb("imageresizebuttons-missing-icon",t,e);return o.set({label:a,icon:Me[n],tooltip:a,isToggleable:!0}),o.bind("isEnabled").to(this),o.bind("isOn").to(s,"value",Ne(r)),this.listenTo(o,"execute",(()=>{t.execute("resizeImage",{width:r})})),o}))}_registerImageResizeDropdown(e){const t=this.editor,i=t.t,o=e.find((e=>!e.value)),n=n=>{const r=t.commands.get("resizeImage"),s=(0,k.t9)(n,k.J0),a=s.buttonView;return a.set({tooltip:i("Resize image"),commandValue:o.value,icon:Me.medium,isToggleable:!0,label:this._getOptionLabelValue(o),withText:!0,class:"ck-resize-image-button"}),a.bind("label").to(r,"value",(e=>e&&e.width?e.width:this._getOptionLabelValue(o))),s.bind("isEnabled").to(this),(0,k.Pm)(s,(()=>this._getResizeDropdownListItemDefinitions(e,r)),{ariaLabel:i("Image resize list")}),this.listenTo(s,"execute",(e=>{t.execute(e.source.commandName,{width:e.source.commandValue}),t.editing.view.focus()})),s};t.ui.componentFactory.add("resizeImage",n),t.ui.componentFactory.add("imageResize",n)}_getOptionLabelValue(e,t=!1){const i=this.editor.t;return e.label?e.label:t?e.value?i("Resize image to %0",e.value+this._resizeUnit):i("Resize image to the original size"):e.value?e.value+this._resizeUnit:i("Original")}_getResizeDropdownListItemDefinitions(e,t){const i=new l.FE;return e.map((e=>{const o=e.value?e.value+this._resizeUnit:null,n={type:"button",model:new k.Hn({commandName:"resizeImage",commandValue:o,label:this._getOptionLabelValue(e),withText:!0,icon:null})};n.model.bind("isOn").to(t,"value",Ne(o)),i.add(n)})),i}}function Ne(e){return t=>null===e&&t===e||null!==t&&t.width===e}const De=/(image|image-inline)/,Le="image_resized";class Fe extends o.Sy{static get requires(){return[c.WR]}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;t.addObserver(D),this.listenTo(t.document,"imageLoaded",((i,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 n=e.editing.view.domConverter,r=n.domToView(o.target).findAncestor({classes:De});let s=this.editor.plugins.get(c.WR).getResizerByViewElement(r);if(s)return void s.redraw();const a=e.editing.mapper,l=a.toModelElement(r);s=e.plugins.get(c.WR).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:l,viewElement:r,editor:e,getHandleHost:e=>e.querySelector("img"),getResizeHost:()=>n.mapViewToDom(a.toViewElement(l.parent)),isCentered(){const e=l.getAttribute("imageStyle");return!e||"block"==e||"alignCenter"==e},onCommit(i){t.change((e=>{e.removeClass(Le,r)})),e.execute("resizeImage",{width:i})}}),s.on("updateSize",(()=>{r.hasClass(Le)||t.change((e=>{e.addClass(Le,r)}))})),s.bind("isEnabled").to(this)}))}}var He=i(2400),We={attributes:{"data-cke":!0}};We.setAttributes=T(),We.insert=A().bind(null,"head"),We.domAPI=C(),We.insertStyleElement=P(),v()(He.Z,We),He.Z&&He.Z.locals&&He.Z.locals;class Ze extends o.Sy{static get requires(){return[Be,Fe,ze]}static get pluginName(){return"ImageResize"}}class Ue extends o.mY{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,o=t.plugins.get("ImageUtils");i.change((t=>{const n=e.value;let r=o.getClosestSelectedImageElement(i.document.selection);n&&this.shouldConvertImageType(n,r)&&(this.editor.execute(o.isBlockImage(r)?"imageTypeInline":"imageTypeBlock"),r=o.getClosestSelectedImageElement(i.document.selection)),!n||this._styles.get(n).isDefault?t.removeAttribute("imageStyle",r):t.setAttribute("imageStyle",n,r)}))}shouldConvertImageType(e,t){return!this._styles.get(e).modelElements.includes(t.name)}}const{objectFullWidth:je,objectInline:$e,objectLeft:qe,objectRight:Ke,objectCenter:Ge,objectBlockLeft:Je,objectBlockRight:Ye}=o.icons,Qe={get inline(){return{name:"inline",title:"In line",icon:$e,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:qe,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:Je,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:Ge,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:Ke,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:Ye,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:Ge,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:Ke,modelElements:["imageBlock"],className:"image-style-side"}}},Xe={full:je,left:Je,right:Ye,center:Ge,inlineLeft:qe,inlineRight:Ke,inline:$e},et=[{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 tt(e){(0,l.KE)("image-style-configuration-definition-invalid",e)}const it={normalizeStyles:function(e){return(e.configuredStyles.options||[]).map((e=>{return"string"==typeof(t="string"==typeof(t=e)?Qe[t]?{...Qe[t]}:{name:t}:function(e,t){const i={...t};for(const o in e)Object.prototype.hasOwnProperty.call(t,o)||(i[o]=e[o]);return i}(Qe[t.name],t)).icon&&(t.icon=Xe[t.icon]||t.icon),t;var t})).filter((t=>function(e,{isBlockPluginLoaded:t,isInlinePluginLoaded:i}){const{modelElements:o,name:n}=e;if(!(o&&o.length&&n))return tt({style:e}),!1;{const n=[t?"imageBlock":null,i?"imageInline":null];if(!o.some((e=>n.includes(e))))return(0,l.KE)("image-style-missing-dependency",{style:e,missingPlugins:o.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")?[...et]:[]},warnInvalidStyle:tt,DEFAULT_OPTIONS:Qe,DEFAULT_ICONS:Xe,DEFAULT_DROPDOWN_DEFINITIONS:et};function ot(e,t){for(const i of t)if(i.name===e)return i}class nt extends o.Sy{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[m]}init(){const{normalizeStyles:e,getDefaultStylesConfiguration:t}=it,i=this.editor,o=i.plugins.has("ImageBlockEditing"),n=i.plugins.has("ImageInlineEditing");i.config.define("image.styles",t(o,n)),this.normalizedStyles=e({configuredStyles:i.config.get("image.styles"),isBlockPluginLoaded:o,isInlinePluginLoaded:n}),this._setupConversion(o,n),this._setupPostFixer(),i.commands.add("imageStyle",new Ue(i,this.normalizedStyles))}_setupConversion(e,t){const i=this.editor,o=i.model.schema,n=(r=this.normalizedStyles,(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=ot(t.attributeNewValue,r),n=ot(t.attributeOldValue,r),s=i.mapper.toViewElement(t.item),a=i.writer;n&&a.removeClass(n.className,s),o&&a.addClass(o.className,s)});var r;const s=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,o)=>{if(!i.modelRange)return;const n=i.viewItem,r=(0,l.Ps)(i.modelRange.getItems());if(r&&o.schema.checkAttribute(r,"imageStyle"))for(const e of t[r.name])o.consumable.consume(n,{classes:e.className})&&o.writer.setAttribute("imageStyle",e.name,r)}}(this.normalizedStyles);i.editing.downcastDispatcher.on("attribute:imageStyle",n),i.data.downcastDispatcher.on("attribute:imageStyle",n),e&&(o.extend("imageBlock",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:figure",s,{priority:"low"})),t&&(o.extend("imageInline",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:img",s,{priority:"low"}))}_setupPostFixer(){const e=this.editor,t=e.model.document,i=e.plugins.get(m),o=new Map(this.normalizedStyles.map((e=>[e.name,e])));t.registerPostFixer((e=>{let n=!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 s=t.getAttribute("imageStyle");if(!s)continue;const a=o.get(s);a&&a.modelElements.includes(t.name)||(e.removeAttribute("imageStyle",t),n=!0)}return n}))}}var rt=i(7226),st=i(9203),at=i(3534),lt={attributes:{"data-cke":!0}};lt.setAttributes=T(),lt.insert=A().bind(null,"head"),lt.domAPI=C(),lt.insertStyleElement=P(),v()(at.Z,lt),at.Z&&at.Z.locals&&at.Z.locals;class ct extends o.Sy{static get requires(){return[nt]}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=dt(e.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const e of i)this._createButton(e);const o=dt([...t.filter(rt.Z),...it.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const e of o)this._createDropdown(e,i)}_createDropdown(e,t){const i=this.editor.ui.componentFactory;i.add(e.name,(o=>{let n;const{defaultItem:r,items:s,title:a}=e,l=s.filter((e=>t.find((({name:t})=>ut(t)===e)))).map((e=>{const t=i.create(e);return e===r&&(n=t),t}));s.length!==l.length&&it.warnInvalidStyle({dropdown:e});const c=(0,k.t9)(o,k.Rm),d=c.buttonView,u=d.arrowView;return(0,k.up)(c,l,{enableActiveItemFocusOnDropdownOpen:!0}),d.set({label:ht(a,n.label),class:null,tooltip:!0}),u.unbind("label"),u.set({label:a}),d.bind("icon").toMany(l,"isOn",((...e)=>{const t=e.findIndex(st.Z);return t<0?n.icon:l[t].icon})),d.bind("label").toMany(l,"isOn",((...e)=>{const t=e.findIndex(st.Z);return ht(a,t<0?n.label:l[t].label)})),d.bind("isOn").toMany(l,"isOn",((...e)=>e.some(st.Z))),d.bind("class").toMany(l,"isOn",((...e)=>e.some(st.Z)?"ck-splitbutton_flatten":void 0)),d.on("execute",(()=>{l.some((({isOn:e})=>e))?c.isOpen=!c.isOpen:n.fire("execute")})),c.bind("isEnabled").toMany(l,"isEnabled",((...e)=>e.some(st.Z))),this.listenTo(c,"execute",(()=>{this.editor.editing.view.focus()})),c}))}_createButton(e){const t=e.name;this.editor.ui.componentFactory.add(ut(t),(i=>{const o=this.editor.commands.get("imageStyle"),n=new k.r5(i);return n.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(o,"isEnabled"),n.bind("isOn").to(o,"value",(e=>e===t)),n.on("execute",this._executeCommand.bind(this,t)),n}))}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function dt(e,t){for(const i of e)t[i.title]&&(i.title=t[i.title]);return e}function ut(e){return`imageStyle:${e}`}function ht(e,t){return(e?e+": ":"")+t}class mt extends o.Sy{static get requires(){return[nt,ct]}static get pluginName(){return"ImageStyle"}}class gt extends o.Sy{static get requires(){return[c.e8,m]}static get pluginName(){return"ImageToolbar"}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(c.e8),o=e.plugins.get("ImageUtils");var n;i.register("image",{ariaLabel:t("Image toolbar"),items:(n=e.config.get("image.toolbar")||[],n.map((e=>(0,rt.Z)(e)?e.name:e))),getRelatedElement:e=>o.getClosestSelectedImageWidget(e)})}}class pt extends o.Sy{static get requires(){return[H,m]}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,o,n)=>{const r=o.viewItem;if(!n.consumable.test(r,{name:!0}))return;const s=new Map;for(const e of r.getChildren())if(e.is("element","source")){const i={};for(const o of t)e.hasAttribute(o)&&n.consumable.test(e,{attributes:o})&&(i[o]=e.getAttribute(o));Object.keys(i).length&&s.set(e,i)}const a=e.findViewImgElement(r);if(!a)return;let c=o.modelCursor.parent;if(!c.is("element","imageBlock")){const e=n.convertItem(a,o.modelCursor);o.modelRange=e.modelRange,o.modelCursor=e.modelCursor,c=(0,l.Ps)(e.modelRange.getItems())}n.consumable.consume(r,{name:!0});for(const[e,t]of s)n.consumable.consume(e,{attributes:Object.keys(t)});s.size&&n.writer.setAttribute("sources",Array.from(s.values()),c),n.convertChildren(r,c)};return e=>{e.on("element:picture",i)}}(i)),t.for("downcast").add(function(e){const t=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const n=o.writer,r=o.mapper.toViewElement(i.item),s=e.findViewImgElement(r),a=i.attributeNewValue;if(a&&a.length){const e=n.createContainerElement("picture",null,a.map((e=>n.createEmptyElement("source",e)))),t=[];let i=s.parent;for(;i&&i.is("attributeElement");){const e=i.parent;n.unwrap(n.createRangeOn(s),i),t.unshift(i),i=e}n.insert(n.createPositionBefore(s),e),n.move(n.createRangeOn(s),n.createPositionAt(e,"end"));for(const i of t)n.wrap(n.createRangeOn(e),i)}else if(s.parent.is("element","picture")){const e=s.parent;n.move(n.createRangeOn(s),n.createPositionBefore(e)),n.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:o})=>{const n=o.sources;n&&e.model.change((e=>{e.setAttributes({sources:n},i)}))}))}}},3531:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Indent:()=>c,IndentBlock:()=>f,IndentEditing:()=>n,IndentUI:()=>l});var o=i(6854);class n extends o.Sy{static get pluginName(){return"IndentEditing"}init(){const e=this.editor;e.commands.add("indent",new o.AJ(e)),e.commands.add("outdent",new o.AJ(e))}}var r=i(7095);const s='<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>',a='<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>';class l extends o.Sy{static get pluginName(){return"IndentUI"}init(){const e=this.editor,t=e.locale,i=e.t,o="ltr"==t.uiLanguageDirection?s:a,n="ltr"==t.uiLanguageDirection?a:s;this._defineButton("indent",i("Increase indent"),o),this._defineButton("outdent",i("Decrease indent"),n)}_defineButton(e,t,i){const o=this.editor;o.ui.componentFactory.add(e,(n=>{const s=o.commands.get(e),a=new r.r5(n);return a.set({label:t,icon:i,tooltip:!0}),a.bind("isEnabled").to(s,"isEnabled"),this.listenTo(a,"execute",(()=>{o.execute(e),o.editing.view.focus()})),a}))}}class c extends o.Sy{static get pluginName(){return"Indent"}static get requires(){return[n,l]}}var d=i(3291),u=i(6553);class h extends o.mY{constructor(e,t){super(e),this._indentBehavior=t}refresh(){const e=this.editor.model,t=(0,u.Ps)(e.document.selection.getSelectedBlocks());t&&e.schema.checkAttribute(t,"blockIndent")?this.isEnabled=this._indentBehavior.checkEnabled(t.getAttribute("blockIndent")):this.isEnabled=!1}execute(){const e=this.editor.model,t=function(e){const t=e.document.selection,i=e.schema;return Array.from(t.getSelectedBlocks()).filter((e=>i.checkAttribute(e,"blockIndent")))}(e);e.change((e=>{for(const i of t){const t=i.getAttribute("blockIndent"),o=this._indentBehavior.getNextIndent(t);o?e.setAttribute("blockIndent",o,i):e.removeAttribute("blockIndent",i)}}))}}class m{constructor(e){this.isForward="forward"===e.direction,this.offset=e.offset,this.unit=e.unit}checkEnabled(e){const t=parseFloat(e||"0");return this.isForward||t>0}getNextIndent(e){const t=parseFloat(e||"0");if(e&&!e.endsWith(this.unit))return this.isForward?this.offset+this.unit:void 0;const i=t+(this.isForward?this.offset:-this.offset);return i>0?i+this.unit:void 0}}class g{constructor(e){this.isForward="forward"===e.direction,this.classes=e.classes}checkEnabled(e){const t=this.classes.indexOf(e);return this.isForward?t<this.classes.length-1:t>=0}getNextIndent(e){const t=this.classes.indexOf(e),i=this.isForward?1:-1;return this.classes[t+i]}}const p=["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"];class f extends o.Sy{constructor(e){super(e),e.config.define("indentBlock",{offset:40,unit:"px"})}static get pluginName(){return"IndentBlock"}init(){const e=this.editor,t=e.config.get("indentBlock");t.classes&&t.classes.length?(this._setupConversionUsingClasses(t.classes),e.commands.add("indentBlock",new h(e,new g({direction:"forward",classes:t.classes}))),e.commands.add("outdentBlock",new h(e,new g({direction:"backward",classes:t.classes})))):(e.data.addStyleProcessorRules(d.vt),this._setupConversionUsingOffset(),e.commands.add("indentBlock",new h(e,new m({direction:"forward",offset:t.offset,unit:t.unit}))),e.commands.add("outdentBlock",new h(e,new m({direction:"backward",offset:t.offset,unit:t.unit}))))}afterInit(){const e=this.editor,t=e.model.schema,i=e.commands.get("indent"),o=e.commands.get("outdent"),n=e.config.get("heading.options");(n&&n.map((e=>e.model))||p).forEach((e=>{t.isRegistered(e)&&t.extend(e,{allowAttributes:"blockIndent"})})),t.setAttributeProperties("blockIndent",{isFormatting:!0}),i.registerChildCommand(e.commands.get("indentBlock")),o.registerChildCommand(e.commands.get("outdentBlock"))}_setupConversionUsingOffset(){const e=this.editor.conversion,t="rtl"===this.editor.locale.contentLanguageDirection?"margin-right":"margin-left";e.for("upcast").attributeToAttribute({view:{styles:{[t]:/[\s\S]+/}},model:{key:"blockIndent",value:e=>e.getStyle(t)}}),e.for("downcast").attributeToAttribute({model:"blockIndent",view:e=>({key:"style",value:{[t]:e}})})}_setupConversionUsingClasses(e){const t={model:{key:"blockIndent",values:[]},view:{}};for(const i of e)t.model.values.push(i),t.view[i]={key:"class",value:[i]};this.editor.conversion.attributeToAttribute(t)}}},9920:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AutoLink:()=>ke,Link:()=>ve,LinkCommand:()=>D,LinkEditing:()=>ie,LinkImage:()=>Se,LinkImageEditing:()=>ye,LinkImageUI:()=>Ae,LinkUI:()=>fe,UnlinkCommand:()=>F});var o=i(6854),n=i(3291),r=i(5187),s=i(7197),a=i(6553);class l{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 o=i.writer,n=o.document.selection;for(const e of this._definitions){const r=o.createAttributeElement("a",e.attributes,{priority:5});e.classes&&o.addClass(e.classes,r);for(const t in e.styles)o.setStyle(t,e.styles[t],r);o.setCustomProperty("link",!0,r),e.callback(t.attributeNewValue)?t.item.is("selection")?o.wrap(n.getFirstRange(),r):o.wrap(i.mapper.toViewRange(t.range),r):o.unwrap(i.mapper.toViewRange(t.range),r)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return e=>{e.on("attribute:linkHref:imageBlock",((e,t,{writer:i,mapper:o})=>{const n=o.toViewElement(t.item),r=Array.from(n.getChildren()).find((e=>e.is("element","a")));for(const e of this._definitions){const o=(0,a.qL)(e.attributes);if(e.callback(t.attributeNewValue)){for(const[e,t]of o)"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 o)"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)}}}))}}}var c=i(7855);var d=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const u=function(e){return d.test(e)};var h="\\ud800-\\udfff",m="["+h+"]",g="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",p="\\ud83c[\\udffb-\\udfff]",f="[^"+h+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",w="[\\ud800-\\udbff][\\udc00-\\udfff]",k="(?:"+g+"|"+p+")?",_="[\\ufe0e\\ufe0f]?",v=_+k+"(?:\\u200d(?:"+[f,b,w].join("|")+")"+_+k+")*",y="(?:"+[f+g+"?",g,b,w,m].join("|")+")",C=RegExp(p+"(?="+p+")|"+y+v,"g");const x=function(e){return u(e)?function(e){return e.match(C)||[]}(e):function(e){return e.split("")}(e)};var A=i(9939);const E=function(e){e=(0,A.Z)(e);var t,i,o,n,r=u(e)?x(e):void 0,s=r?r[0]:e.charAt(0),a=r?(t=r,i=1,n=t.length,o=void 0===o?n:o,!i&&o>=n?t:(0,c.Z)(t,i,o)).join(""):e.slice(1);return s.toUpperCase()+a},T=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,S=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,P=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,I=/^((\w+:(\/{2,})?)|(\W))/i,V="Ctrl+K";function R(e,{writer:t}){const i=t.createAttributeElement("a",{href:e},{priority:5});return t.setCustomProperty("link",!0,i),i}function O(e){const t=String(e);return function(e){return!!e.replace(T,"").match(S)}(t)?t:"#"}function B(e,t){return!!e&&t.checkAttribute(e.name,"linkHref")}function M(e,t){const i=(o=e,P.test(o)?"mailto:":t);var o;const n=!!i&&!z(e);return e&&n?i+e:e}function z(e){return I.test(e)}function N(e){window.open(e,"_blank","noopener")}class D extends o.mY{constructor(){super(...arguments),this.manualDecorators=new a.FE,this.automaticDecorators=new l}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,a.Ps)(t.getSelectedBlocks());B(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,t={}){const i=this.editor.model,o=i.document.selection,n=[],s=[];for(const e in t)t[e]?n.push(e):s.push(e);i.change((t=>{if(o.isCollapsed){const l=o.getFirstPosition();if(o.hasAttribute("linkHref")){const a=L(o);let c=(0,r.VD)(l,"linkHref",o.getAttribute("linkHref"),i);o.getAttribute("linkHref")===a&&(c=this._updateLinkContent(i,t,c,e)),t.setAttribute("linkHref",e,c),n.forEach((e=>{t.setAttribute(e,!0,c)})),s.forEach((e=>{t.removeAttribute(e,c)})),t.setSelection(t.createPositionAfter(c.end.nodeBefore))}else if(""!==e){const r=(0,a.qL)(o.getAttributes());r.set("linkHref",e),n.forEach((e=>{r.set(e,!0)}));const{end:s}=i.insertContent(t.createText(e,r),l);t.setSelection(s)}["linkHref",...n,...s].forEach((e=>{t.removeSelectionAttribute(e)}))}else{const r=i.schema.getValidRanges(o.getRanges(),"linkHref"),a=[];for(const e of o.getSelectedBlocks())i.schema.checkAttribute(e,"linkHref")&&a.push(t.createRangeOn(e));const l=a.slice();for(const e of r)this._isRangeToUpdate(e,a)&&l.push(e);for(const r of l){let a=r;if(1===l.length){const n=L(o);o.getAttribute("linkHref")===n&&(a=this._updateLinkContent(i,t,r,e),t.setSelection(t.createSelection(a)))}t.setAttribute("linkHref",e,a),n.forEach((e=>{t.setAttribute(e,!0,a)})),s.forEach((e=>{t.removeAttribute(e,a)}))}}}))}_getDecoratorStateFromModel(e){const t=this.editor.model,i=t.document.selection,o=i.getSelectedElement();return B(o,t.schema)?o.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,o){const n=t.createText(o,{linkHref:o});return e.insertContent(n,i)}}function L(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 F extends o.mY{refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement();B(i,e.schema)?this.isEnabled=e.schema.checkAttribute(i,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref")}execute(){const e=this.editor,t=this.editor.model,i=t.document.selection,o=e.commands.get("link");t.change((e=>{const n=i.isCollapsed?[(0,r.VD)(i.getFirstPosition(),"linkHref",i.getAttribute("linkHref"),t)]:t.schema.getValidRanges(i.getRanges(),"linkHref");for(const t of n)if(e.removeAttribute("linkHref",t),o)for(const i of o.manualDecorators)e.removeAttribute(i.id,t)}))}}class H extends((0,a.Re)()){constructor({id:e,label:t,attributes:i,classes:o,styles:n,defaultValue:r}){super(),this.id=e,this.set("value",void 0),this.defaultValue=r,this.label=t,this.attributes=i,this.classes=o,this.styles=n}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var W=i(3379),Z=i.n(W),U=i(9037),j=i.n(U),$=i(569),q=i.n($),K=i(8575),G=i.n(K),J=i(9216),Y=i.n(J),Q=i(3925),X={attributes:{"data-cke":!0}};X.setAttributes=G(),X.insert=q().bind(null,"head"),X.domAPI=j(),X.insertStyleElement=Y(),Z()(Q.Z,X),Q.Z&&Q.Z.locals&&Q.Z.locals;const ee="automatic",te=/^(https?:)?\/\//;class ie extends o.Sy{static get pluginName(){return"LinkEditing"}static get requires(){return[r.mh,r.II,s._l]}constructor(e){super(e),e.config.define("link",{addTargetToExternalLinks:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:R}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(e,t)=>R(O(e),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 D(e)),e.commands.add("unlink",new F(e));const t=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,o]of Object.entries(e)){const e=Object.assign({},o,{id:`link${E(i)}`});t.push(e)}return t}(e.config.get("link.decorators")));this._enableAutomaticDecorators(t.filter((e=>e.mode===ee))),this._enableManualDecorators(t.filter((e=>"manual"===e.mode))),e.plugins.get(r.mh).registerAttribute("linkHref"),(0,r.Im)(e,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableInsertContentSelectionAttributesFixer(),this._enableClickingAfterLink(),this._enableTypingOverLink(),this._handleDeleteContentAfterLink(),this._enableClipboardIntegration()}_enableAutomaticDecorators(e){const t=this.editor,i=t.commands.get("link").automaticDecorators;t.config.get("link.addTargetToExternalLinks")&&i.add({id:"linkIsExternal",mode:ee,callback:e=>!!e&&te.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 o=new H(e);i.add(o),t.conversion.for("downcast").attributeToElement({model:o.id,view:(e,{writer:t,schema:i},{item:n})=>{if((n.is("selection")||i.isInline(n))&&e){const e=t.createAttributeElement("a",o.attributes,{priority:5});o.classes&&t.addClass(o.classes,e);for(const i in o.styles)t.setStyle(i,o.styles[i],e);return t.setCustomProperty("link",!0,e),e}}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",...o._createPattern()},model:{key:o.id}})}))}_enableLinkOpen(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",((e,t)=>{if(!(a.OB.isMac?t.domEvent.metaKey:t.domEvent.ctrlKey))return;let i=t.domTarget;if("a"!=i.tagName.toLowerCase()&&(i=i.closest("a")),!i)return;const o=i.getAttribute("href");o&&(e.stop(),t.preventDefault(),N(o))}),{context:"$capture"}),this.listenTo(t,"keydown",((t,i)=>{const o=e.commands.get("link").value;o&&i.keyCode===a.Do.enter&&i.altKey&&(t.stop(),N(o))}))}_enableInsertContentSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection;this.listenTo(e,"insertContent",(()=>{const i=t.anchor.nodeBefore,o=t.anchor.nodeAfter;t.hasAttribute("linkHref")&&i&&i.hasAttribute("linkHref")&&(o&&o.hasAttribute("linkHref")||e.change((t=>{oe(t,re(e.schema))})))}),{priority:"low"})}_enableClickingAfterLink(){const e=this.editor,t=e.model;e.editing.view.addObserver(n.dM);let i=!1;this.listenTo(e.editing.view.document,"mousedown",(()=>{i=!0})),this.listenTo(e.editing.view.document,"selectionChange",(()=>{if(!i)return;i=!1;const e=t.document.selection;if(!e.isCollapsed)return;if(!e.hasAttribute("linkHref"))return;const o=e.getFirstPosition(),n=(0,r.VD)(o,"linkHref",e.getAttribute("linkHref"),t);(o.isTouching(n.start)||o.isTouching(n.end))&&t.change((e=>{oe(e,re(t.schema))}))}))}_enableTypingOverLink(){const e=this.editor,t=e.editing.view;let i=null,o=!1;this.listenTo(t.document,"delete",(()=>{o=!0}),{priority:"high"}),this.listenTo(e.model,"deleteContent",(()=>{const t=e.model.document.selection;t.isCollapsed||(o?o=!1:ne(e)&&function(e){const t=e.document.selection,i=t.getFirstPosition(),o=t.getLastPosition(),n=i.nodeAfter;if(!n)return!1;if(!n.is("$text"))return!1;if(!n.hasAttribute("linkHref"))return!1;return n===(o.textNode||o.nodeBefore)||(0,r.VD)(i,"linkHref",n.getAttribute("linkHref"),e).containsRange(e.createRange(i,o),!0)}(e.model)&&(i=t.getAttributes()))}),{priority:"high"}),this.listenTo(e.model,"insertContent",((t,[n])=>{o=!1,ne(e)&&i&&(e.model.change((e=>{for(const[t,o]of i)e.setAttribute(t,o,n)})),i=null)}),{priority:"high"})}_handleDeleteContentAfterLink(){const e=this.editor,t=e.model,i=t.document.selection,o=e.editing.view;let n=!1,s=!1;this.listenTo(o.document,"delete",((e,t)=>{s="backward"===t.direction}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{n=!1;const e=i.getFirstPosition(),o=i.getAttribute("linkHref");if(!o)return;const s=(0,r.VD)(e,"linkHref",o,t);n=s.containsPosition(e)||s.end.isEqual(e)}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{s&&(s=!1,n||e.model.enqueueChange((e=>{oe(e,re(t.schema))})))}),{priority:"low"})}_enableClipboardIntegration(){const e=this.editor,t=e.model,i=this.editor.config.get("link.defaultProtocol");i&&this.listenTo(e.plugins.get("ClipboardPipeline"),"contentInsertion",((e,o)=>{t.change((e=>{const t=e.createRangeIn(o.content);for(const o of t.getItems())if(o.hasAttribute("linkHref")){const t=M(o.getAttribute("linkHref"),i);e.setAttribute("linkHref",t,o)}}))}))}}function oe(e,t){e.removeSelectionAttribute("linkHref");for(const i of t)e.removeSelectionAttribute(i)}function ne(e){return e.model.change((e=>e.batch)).isTyping}function re(e){return e.getDefinition("$text").allowAttributes.filter((e=>e.startsWith("link")))}var se=i(7095),ae=i(5549),le=(i(2151),i(4874)),ce={attributes:{"data-cke":!0}};ce.setAttributes=G(),ce.insert=q().bind(null,"head"),ce.domAPI=j(),ce.insertStyleElement=Y(),Z()(le.Z,ce),le.Z&&le.Z.locals&&le.Z.locals;class de extends se.G7{constructor(e,t){super(e),this.focusTracker=new a.Rh,this.keystrokes=new a.VD,this._focusables=new se.vX;const i=e.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(i("Save"),o.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(i("Cancel"),o.icons.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(t),this.children=this._createFormChildren(t.manualDecorators),this._focusCycler=new se.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const n=["ck","ck-link-form","ck-responsive-form"];t.manualDecorators.length&&n.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:n,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((e,t)=>(e[t.name]=t.isOn,e)),{})}render(){super.render(),(0,se.GI)({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()}_createUrlInput(){const e=this.locale.t,t=new se.KP(this.locale,se.R);return t.label=e("Link URL"),t}_createButton(e,t,i,o){const n=new se.r5(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n.extendTemplate({attributes:{class:i}}),o&&n.delegate("execute").to(this,o),n}_createManualDecoratorSwitches(e){const t=this.createCollection();for(const i of e.manualDecorators){const o=new se.BM(this.locale);o.set({name:i.id,label:i.label,withText:!0}),o.bind("isOn").toMany([i,e],"value",((e,t)=>void 0===t&&void 0===e?!!i.defaultValue:!!e)),o.on("execute",(()=>{i.set("value",!o.isOn)})),t.add(o)}return t}_createFormChildren(e){const t=this.createCollection();if(t.add(this.urlInputView),e.length){const e=new se.G7;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}}var ue=i(7536),he={attributes:{"data-cke":!0}};he.setAttributes=G(),he.insert=q().bind(null,"head"),he.domAPI=j(),he.insertStyleElement=Y(),Z()(ue.Z,he),ue.Z&&ue.Z.locals&&ue.Z.locals;class me extends se.G7{constructor(e){super(e),this.focusTracker=new a.Rh,this.keystrokes=new a.VD,this._focusables=new se.vX;const t=e.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(t("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(t("Edit link"),o.icons.pencil,"edit"),this.set("href",void 0),this._focusCycler=new se.I0({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 o=new se.r5(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.delegate("execute").to(this,i),o}_createPreviewButton(){const e=new se.r5(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&&O(e))),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 ge='<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>',pe="link-ui";class fe extends o.Sy{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[se.WB]}static get pluginName(){return"LinkUI"}init(){const e=this.editor;e.editing.view.addObserver(n.KU),this._balloon=e.plugins.get(se.WB),this._createToolbarLinkButton(),this._enableBalloonActivators(),e.conversion.for("editingDowncast").markerToHighlight({model:pe,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:pe,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}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 me(e.locale),i=e.commands.get("link"),o=e.commands.get("unlink");return t.bind("href").to(i,"value"),t.editButtonView.bind("isEnabled").to(i),t.unlinkButtonView.bind("isEnabled").to(o),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(V,((e,t)=>{this._addFormView(),t()})),t}_createFormView(){const e=this.editor,t=e.commands.get("link"),i=e.config.get("link.defaultProtocol"),o=new((0,se.RX)(de))(e.locale,t);return o.urlInputView.fieldView.bind("value").to(t,"value"),o.urlInputView.bind("isEnabled").to(t,"isEnabled"),o.saveButtonView.bind("isEnabled").to(t),this.listenTo(o,"submit",(()=>{const{value:t}=o.urlInputView.fieldView.element,n=M(t,i);e.execute("link",n,o.getDecoratorSwitchesState()),this._closeFormView()})),this.listenTo(o,"cancel",(()=>{this._closeFormView()})),o.keystrokes.set("Esc",((e,t)=>{this._closeFormView(),t()})),o}_createToolbarLinkButton(){const e=this.editor,t=e.commands.get("link"),i=e.t;e.ui.componentFactory.add("link",(e=>{const o=new se.r5(e);return o.isEnabled=!0,o.label=i("Link"),o.icon=ge,o.keystroke=V,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(t,"isEnabled"),o.bind("isOn").to(t,"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(V,((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,se.eC)({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._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=e.value||""}_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._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(),o=r();const n=()=>{const e=this._getSelectedLinkElement(),t=r();i&&!e||!i&&t!==o?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=e,o=t};function r(){return t.selection.focus.getAncestors().reverse().find((e=>e.is("element")))}this.listenTo(e.ui,"update",n),this.listenTo(this._balloon,"change:visibleView",n)}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 o;if(t.markers.has(pe)){const t=Array.from(this.editor.editing.mapper.markerNameToElements(pe)),i=e.createRange(e.createPositionBefore(t[0]),e.createPositionAfter(t[t.length-1]));o=e.domConverter.viewRangeToDom(i)}else o=()=>{const t=this._getSelectedLinkElement();return t?e.domConverter.mapViewToDom(t):e.domConverter.viewRangeToDom(i.selection.getFirstRange())};return{target:o}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection,i=t.getSelectedElement();if(t.isCollapsed||i&&(0,ae.Qd)(i))return be(t.getFirstPosition());{const i=t.getFirstRange().getTrimmed(),o=be(i.start),n=be(i.end);return o&&o==n&&e.createRangeIn(o).getTrimmed().isEqual(i)?o:null}}_showFakeVisualSelection(){const e=this.editor.model;e.change((t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(pe))t.updateMarker(pe,{range:i});else if(i.start.isAtEnd){const o=i.start.getLastMatchingPosition((({item:t})=>!e.schema.isContent(t)),{boundaries:i});t.addMarker(pe,{usingOperation:!1,affectsData:!1,range:t.createRange(o,i.end)})}else t.addMarker(pe,{usingOperation:!1,affectsData:!1,range:i})}))}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(pe)&&e.change((e=>{e.removeMarker(pe)}))}}function be(e){return e.getAncestors().find((e=>{return(t=e).is("attributeElement")&&!!t.getCustomProperty("link");var t}))||null}const we=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 ke extends o.Sy{static get requires(){return[r.HG]}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()}_enableTypingHandling(){const e=this.editor,t=new r.uL(e.model,(e=>{if(!function(e){return e.length>4&&" "===e[e.length-1]&&" "!==e[e.length-2]}(e))return;const t=_e(e.substr(0,e.length-1));return t?{url:t}:void 0}));t.on("matched:data",((t,i)=>{const{batch:o,range:n,url:r}=i;if(!o.isTyping)return;const s=n.end.getShiftedBy(-1),a=s.getShiftedBy(-r.length),l=e.model.createRange(a,s);this._applyAutoLink(r,l)})),t.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 t=this.editor.model,{text:i,range:o}=(0,r.Up)(e,t),n=_e(i);if(n){const e=t.createRange(o.end.getShiftedBy(-n.length),o.end);this._applyAutoLink(n,e)}}_applyAutoLink(e,t){const i=this.editor.model,o=M(e,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(e,t){return t.schema.checkAttributeInSelection(t.createSelection(e),"linkHref")}(t,i)&&z(o)&&!function(e){const t=e.start.nodeAfter;return!!t&&t.hasAttribute("linkHref")}(t)&&this._persistAutoLink(o,t)}_persistAutoLink(e,t){const i=this.editor.model,o=this.editor.plugins.get("Delete");i.enqueueChange((n=>{n.setAttribute("linkHref",e,t),i.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))}}function _e(e){const t=we.exec(e);return t?t[2]:null}class ve extends o.Sy{static get requires(){return[ie,fe,ke]}static get pluginName(){return"Link"}}class ye extends o.Sy{static get requires(){return["ImageEditing","ImageUtils",ie]}static get pluginName(){return"LinkImageEditing"}init(){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,o,n)=>{const r=o.viewItem,s=i.findViewImgElement(r);if(!s)return;const a=s.findAncestor((e=>i.isBlockImageView(e)));if(t&&!a)return;if(!n.consumable.consume(r,{attributes:["href"]}))return;const l=r.getAttribute("href");if(!l)return;let c=o.modelCursor.parent;if(!c.is("element","imageBlock")){const e=n.convertItem(s,o.modelCursor);o.modelRange=e.modelRange,o.modelCursor=e.modelCursor,c=o.modelCursor.nodeBefore}c&&c.is("element","imageBlock")&&n.writer.setAttribute("linkHref",l,c)}),{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,o)=>{if(!o.consumable.consume(i.item,e.name))return;const n=o.mapper.toViewElement(i.item),r=o.writer,s=Array.from(n.getChildren()).find((e=>e.is("element","a"))),a=t.findViewImgElement(n),l=a.parent.is("element","picture")?a.parent:a;if(s)i.attributeNewValue?r.setAttribute("href",i.attributeNewValue,s):(r.move(r.createRangeOn(l),r.createPositionAt(n,0)),r.remove(s));else{const e=r.createContainerElement("a",{href:i.attributeNewValue});r.insert(r.createPositionAt(n,0),e),r.move(r.createRangeOn(l),r.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(Ce(i)),e.conversion.for("upcast").add(xe(e,i))}}function Ce(e){return t=>{t.on(`attribute:${e.id}:imageBlock`,((t,i,o)=>{const n=o.mapper.toViewElement(i.item),r=Array.from(n.getChildren()).find((e=>e.is("element","a")));if(r){for(const[t,i]of(0,a.qL)(e.attributes))o.writer.setAttribute(t,i,r);e.classes&&o.writer.addClass(e.classes,r);for(const t in e.styles)o.writer.setStyle(t,e.styles[t],r)}}))}}function xe(e,t){const i=e.plugins.has("ImageInlineEditing"),o=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,r,s)=>{const a=r.viewItem,l=o.findViewImgElement(a);if(!l)return;const c=l.findAncestor((e=>o.isBlockImageView(e)));if(i&&!c)return;const d=new n.xO(t._createPattern()).match(a);if(!d)return;if(!s.consumable.consume(a,d.match))return;const u=r.modelCursor.nodeBefore||r.modelCursor.parent;s.writer.setAttribute(t.id,!0,u)}),{priority:"high"})}}class Ae extends o.Sy{static get requires(){return[ie,fe,"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 o=new se.r5(i),n=e.plugins.get("LinkUI"),r=e.commands.get("link");return o.set({isEnabled:!0,label:t("Link image"),icon:ge,keystroke:V,tooltip:!0,isToggleable:!0}),o.bind("isEnabled").to(r,"isEnabled"),o.bind("isOn").to(r,"value",(e=>!!e)),this.listenTo(o,"execute",(()=>{this._isSelectedLinkedImage(e.model.document.selection)?n._addActionsView():n._showUI(!0)})),o}))}_isSelectedLinkedImage(e){const t=e.getSelectedElement();return this.editor.plugins.get("ImageUtils").isImage(t)&&t.hasAttribute("linkHref")}}var Ee=i(4330),Te={attributes:{"data-cke":!0}};Te.setAttributes=G(),Te.insert=q().bind(null,"head"),Te.domAPI=j(),Te.insertStyleElement=Y(),Z()(Ee.Z,Te),Ee.Z&&Ee.Z.locals&&Ee.Z.locals;class Se extends o.Sy{static get requires(){return[ye,Ae]}static get pluginName(){return"LinkImage"}}},1640:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DocumentList:()=>Ae,DocumentListEditing:()=>se,DocumentListIndentCommand:()=>T,DocumentListProperties:()=>Qe,DocumentListPropertiesEditing:()=>Fe,DocumentListPropertiesUtils:()=>De,DocumentListUtils:()=>R,IndentCommand:()=>Xe,List:()=>kt,ListEditing:()=>bt,ListProperties:()=>It,ListPropertiesEditing:()=>xt,ListPropertiesUI:()=>Je,ListUI:()=>xe,ListUtils:()=>ot,TodoList:()=>Wt,TodoListEditing:()=>Dt,TodoListUI:()=>Lt});var o=i(6854),n=i(5187),r=i(1863),s=i(6553);class a{constructor(e,t){this._startElement=e,this._referenceIndent=e.getAttribute("listIndent"),this._isForward="forward"==t.direction,this._includeSelf=!!t.includeSelf,this._sameAttributes=(0,s.qo)(t.sameAttributes||[]),this._sameIndent=!!t.sameIndent,this._lowerIndent=!!t.lowerIndent,this._higherIndent=!!t.higherIndent}static first(e,t){const i=new this(e,t)[Symbol.iterator]();return(0,s.Ps)(i)}*[Symbol.iterator](){const e=[];for(const{node:t}of l(this._getStartNode(),this._isForward?"forward":"backward")){const i=t.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){e.push(t);continue}}else{if(!this._sameIndent){if(this._higherIndent){e.length&&(yield*e,e.length=0);break}continue}if(this._sameAttributes.some((e=>t.getAttribute(e)!==this._startElement.getAttribute(e))))break}e.length&&(yield*e,e.length=0),yield t}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}function*l(e,t="forward"){const i="forward"==t;let o=null;for(;u(e);)yield{node:e,previous:o},o=e,e=i?e.nextSibling:e.previousSibling}class c{constructor(e){this._listHead=e}[Symbol.iterator](){return l(this._listHead,"forward")}}class d{static next(){return(0,s.hQ)()}}function u(e){return!!e&&e.is("element")&&e.hasAttribute("listItemId")}function h(e,t={}){return[...m(e,{...t,direction:"backward"}),...m(e,{...t,direction:"forward"})]}function m(e,t={}){const i="forward"==t.direction,o=Array.from(new a(e,{...t,includeSelf:i,sameIndent:!0,sameAttributes:"listItemId"}));return i?o:o.reverse()}function g(e){const t=new a(e,{sameIndent:!0,sameAttributes:"listType"}),i=new a(e,{sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward"});return[...Array.from(t).reverse(),...i]}function p(e){return!a.first(e,{sameIndent:!0,sameAttributes:"listItemId"})}function f(e){return!a.first(e,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function b(e,t={}){e=(0,s.qo)(e);const i=!1!==t.withNested,o=new Set;for(const t of e)for(const e of h(t,{higherIndent:i}))o.add(e);return x(o)}function w(e){e=(0,s.qo)(e);const t=new Set;for(const i of e)for(const e of g(i))t.add(e);return x(t)}function k(e,t){const i=m(e,{direction:"forward"}),o=d.next();for(const e of i)t.setAttribute("listItemId",o,e);return i}function _(e,t,i){const o={};for(const[e,i]of t.getAttributes())e.startsWith("list")&&(o[e]=i);const n=m(e,{direction:"forward"});for(const e of n)i.setAttributes(o,e);return n}function v(e,t,{expand:i,indentBy:o=1}={}){e=(0,s.qo)(e);const n=i?b(e):e;for(const e of n){const i=e.getAttribute("listIndent")+o;i<0?y(e,t):t.setAttribute("listIndent",i,e)}return n}function y(e,t){e=(0,s.qo)(e);for(const i of e)for(const e of i.getAttributeKeys())e.startsWith("list")&&t.removeAttribute(e,i);return e}function C(e){if(!e.length)return!1;const t=e[0].getAttribute("listItemId");return!!t&&!e.some((e=>e.getAttribute("listItemId")!=t))}function x(e){return Array.from(e).filter((e=>"$graveyard"!==e.root.rootName)).sort(((e,t)=>e.index-t.index))}function A(e){const t=e.document.selection.getSelectedElement();return t&&e.schema.isObject(t)&&e.schema.isBlock(t)?t:null}function E(e,t,i){return m(t,{direction:"forward"}).pop().index>e.index?_(e,t,i):[]}class T extends o.mY{constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=S(e.document.selection);e.change((e=>{const i=[];C(t)&&!p(t[0])?("forward"==this._direction&&i.push(...v(t,e)),i.push(...k(t[0],e))):"forward"==this._direction?i.push(...v(t,e,{expand:!0})):i.push(...function(e,t){const i=b(e=(0,s.qo)(e)),o=new Set,n=Math.min(...i.map((e=>e.getAttribute("listIndent")))),r=new Map;for(const e of i)r.set(e,a.first(e,{lowerIndent:!0}));for(const e of i){if(o.has(e))continue;o.add(e);const i=e.getAttribute("listIndent")-1;if(i<0)y(e,t);else{if(e.getAttribute("listIndent")==n){const i=E(e,r.get(e),t);for(const e of i)o.add(e);if(i.length)continue}t.setAttribute("listIndent",i,e)}}return x(o)}(t,e));for(const t of i){if(!t.hasAttribute("listType"))continue;const i=a.first(t,{sameIndent:!0});i&&e.setAttribute("listType",i.getAttribute("listType"),t)}this._fireAfterExecute(i)}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_checkEnabled(){let e=S(this.editor.model.document.selection),t=e[0];if(!t)return!1;if("backward"==this._direction)return!0;if(C(e)&&!p(e[0]))return!0;e=b(e),t=e[0];const i=a.first(t,{sameIndent:!0});return!!i&&i.getAttribute("listType")==t.getAttribute("listType")}}function S(e){const t=Array.from(e.getSelectedBlocks()),i=t.findIndex((e=>!u(e)));return-1!=i&&(t.length=i),t}class P extends o.mY{constructor(e,t){super(e),this.type=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document,o=A(t),n=Array.from(i.selection.getSelectedBlocks()).filter((e=>t.schema.checkAttribute(e,"listType"))),r=void 0!==e.forceValue?!e.forceValue:this.value;t.change((e=>{if(r){const t=n[n.length-1],i=m(t,{direction:"forward"}),o=[];i.length>1&&o.push(...k(i[1],e)),o.push(...y(n,e)),o.push(...function(e,t){const i=[];let o=Number.POSITIVE_INFINITY;for(const{node:n}of l(e.nextSibling,"forward")){const e=n.getAttribute("listIndent");if(0==e)break;e<o&&(o=e);const r=e-o;t.setAttribute("listIndent",r,n),i.push(n)}return i}(t,e)),this._fireAfterExecute(o)}else if((o||i.selection.isCollapsed)&&u(n[0])){const t=g(o||n[0]);for(const i of t)e.setAttribute("listType",this.type,i);this._fireAfterExecute(t)}else{const t=[];for(const i of n)if(i.hasAttribute("listType"))for(const o of b(i,{withNested:!1}))o.getAttribute("listType")!=this.type&&(e.setAttribute("listType",this.type,o),t.push(o));else e.setAttributes({listIndent:0,listItemId:d.next(),listType:this.type},i),t.push(i);this._fireAfterExecute(t)}}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_getValue(){const e=this.editor.model.document.selection,t=Array.from(e.getSelectedBlocks());if(!t.length)return!1;for(const e of t)if(e.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const e=this.editor.model.document.selection,t=this.editor.model.schema,i=Array.from(e.getSelectedBlocks());if(!i.length)return!1;if(this.value)return!0;for(const e of i)if(t.checkAttribute(e,"listType"))return!0;return!1}}class I extends o.mY{constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:e=!1}={}){const t=this.editor.model,i=t.document.selection,o=[];t.change((n=>{const{firstElement:r,lastElement:s}=this._getMergeSubjectElements(i,e),l=r.getAttribute("listIndent")||0,c=s.getAttribute("listIndent"),d=s.getAttribute("listItemId");if(l!=c){const e=(u=s,Array.from(new a(u,{direction:"forward",higherIndent:!0})));o.push(...v([s,...e],n,{indentBy:l-c,expand:l<c}))}var u;if(e){let e=i;i.isCollapsed&&(e=n.createSelection(n.createRange(n.createPositionAt(r,"end"),n.createPositionAt(s,0)))),t.deleteContent(e,{doNotResetEntireContent:i.isCollapsed});const a=e.getLastPosition().parent,l=a.nextSibling;o.push(a),l&&l!==s&&l.getAttribute("listItemId")==d&&o.push(..._(l,a,n))}else o.push(..._(s,r,n));this._fireAfterExecute(o)}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_checkEnabled(){const e=this.editor.model,t=e.document.selection,i=A(e);if(t.isCollapsed||i){const e=i||t.getFirstPosition().parent;if(!u(e))return!1;const o="backward"==this._direction?e.previousSibling:e.nextSibling;if(!o)return!1;if(C([e,o]))return!1}else{const e=t.getLastPosition(),i=t.getFirstPosition();if(e.parent===i.parent)return!1;if(!u(e.parent))return!1}return!0}_getMergeSubjectElements(e,t){const i=A(this.editor.model);let o,n;if(e.isCollapsed||i){const r=i||e.getFirstPosition().parent,s=p(r);"backward"==this._direction?(n=r,o=s&&!t?a.first(r,{sameIndent:!0,lowerIndent:!0}):r.previousSibling):(o=r,n=r.nextSibling)}else o=e.getFirstPosition().parent,n=e.getLastPosition().parent;return{firstElement:o,lastElement:n}}}class V extends o.mY{constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){this.editor.model.change((e=>{const t=k(this._getStartBlock(),e);this._fireAfterExecute(t)}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_checkEnabled(){const e=this.editor.model.document.selection,t=this._getStartBlock();return e.isCollapsed&&u(t)&&!p(t)}_getStartBlock(){const e=this.editor.model.document.selection.getFirstPosition().parent;return"before"==this._direction?e:e.nextSibling}}class R extends o.Sy{static get pluginName(){return"DocumentListUtils"}expandListBlocksToCompleteList(e){return w(e)}isFirstBlockOfListItem(e){return p(e)}isListItemBlock(e){return u(e)}}var O=i(3291);function B(e){return e.is("element","ol")||e.is("element","ul")}function M(e){return e.is("element","li")}function z(e){let t=0,i=e.parent;for(;i;){if(M(i))t++;else{const e=i.previousSibling;e&&M(e)&&t++}i=i.parent}return t}function N(e,t,i,o=F(i,t)){return e.createAttributeElement(L(i),null,{priority:2*t/100-100,id:o})}function D(e,t,i){return e.createAttributeElement("li",null,{priority:(2*t+1)/100-100,id:i})}function L(e){return"numbered"==e?"ol":"ul"}function F(e,t){return`list-${e}-${t}`}function H(e,t){const i=e.nodeBefore;if(u(i)){let e=i;for(const{node:i}of l(e,"backward"))if(e=i,t.has(e))return;t.set(i,e)}else{const i=e.nodeAfter;u(i)&&t.set(i,i)}}function W(){return(e,t,i)=>{if(!i.consumable.test(t.viewItem,{name:!0}))return;const o=new O.yj(t.viewItem.document);for(const e of Array.from(t.viewItem.getChildren()))M(e)||B(e)||o.remove(e)}}function Z(e,{dataPipeline:t}={}){return(i,{writer:o})=>{if(!U(i,e))return null;if(!t)return o.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const n=o.createContainerElement("p");return o.setCustomProperty("dataPipeline:transparentRendering",!0,n),n}}function U(e,t,i=h(e)){if(!u(e))return!1;for(const i of e.getAttributeKeys())if(!i.startsWith("selection:")&&!t.includes(i))return!1;return i.length<2}var j=i(3379),$=i.n(j),q=i(9037),K=i.n(q),G=i(569),J=i.n(G),Y=i(8575),Q=i.n(Y),X=i(9216),ee=i.n(X),te=i(3190),ie={attributes:{"data-cke":!0}};ie.setAttributes=Q(),ie.insert=J().bind(null,"head"),ie.domAPI=K(),ie.insertStyleElement=ee(),$()(te.Z,ie),te.Z&&te.Z.locals&&te.Z.locals;var oe=i(4784),ne={attributes:{"data-cke":!0}};ne.setAttributes=Q(),ne.insert=J().bind(null,"head"),ne.domAPI=K(),ne.insertStyleElement=ee(),$()(oe.Z,ne),oe.Z&&oe.Z.locals&&oe.Z.locals;const re=["listType","listIndent","listItemId"];class se extends o.Sy{constructor(){super(...arguments),this._downcastStrategies=[]}static get pluginName(){return"DocumentListEditing"}static get requires(){return[r.C,n.HG,R]}init(){const e=this.editor,t=e.model;if(e.plugins.has("ListEditing"))throw new s.Bb("document-list-feature-conflict",this,{conflictPlugin:"ListEditing"});t.schema.extend("$container",{allowAttributes:re}),t.schema.extend("$block",{allowAttributes:re}),t.schema.extend("$blockObject",{allowAttributes:re});for(const e of re)t.schema.setAttributeProperties(e,{copyOnReplace:!0});e.commands.add("numberedList",new P(e,"numbered")),e.commands.add("bulletedList",new P(e,"bulleted")),e.commands.add("indentList",new T(e,"forward")),e.commands.add("outdentList",new T(e,"backward")),e.commands.add("mergeListItemBackward",new I(e,"backward")),e.commands.add("mergeListItemForward",new I(e,"forward")),e.commands.add("splitListItemBefore",new V(e,"before")),e.commands.add("splitListItemAfter",new V(e,"after")),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration()}afterInit(){const e=this.editor.commands,t=e.get("indent"),i=e.get("outdent");t&&t.registerChildCommand(e.get("indentList"),{priority:"high"}),i&&i.registerChildCommand(e.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(e){this._downcastStrategies.push(e)}_getListAttributeNames(){return[...re,...this._downcastStrategies.map((e=>e.attributeName))]}_setupDeleteIntegration(){const e=this.editor,t=e.commands.get("mergeListItemBackward"),i=e.commands.get("mergeListItemForward");this.listenTo(e.editing.view.document,"delete",((o,n)=>{const r=e.model.document.selection;A(e.model)||e.model.change((()=>{const s=r.getFirstPosition();if(r.isCollapsed&&"backward"==n.direction){if(!s.isAtStart)return;const i=s.parent;if(!u(i))return;if(a.first(i,{sameAttributes:"listType",sameIndent:!0})||0!==i.getAttribute("listIndent")){if(!t.isEnabled)return;t.execute({shouldMergeOnBlocksContentLevel:ae(e.model,"backward")})}else f(i)||e.execute("splitListItemAfter"),e.execute("outdentList");n.preventDefault(),o.stop()}else{if(r.isCollapsed&&!r.getLastPosition().isAtEnd)return;if(!i.isEnabled)return;i.execute({shouldMergeOnBlocksContentLevel:ae(e.model,"forward")}),n.preventDefault(),o.stop()}}))}),{context:"li"})}_setupEnterIntegration(){const e=this.editor,t=e.model,i=e.commands,o=i.get("enter");this.listenTo(e.editing.view.document,"enter",((i,o)=>{const n=t.document,r=n.selection.getFirstPosition().parent;if(n.selection.isCollapsed&&u(r)&&r.isEmpty&&!o.isSoft){const t=p(r),n=f(r);t&&n?(e.execute("outdentList"),o.preventDefault(),i.stop()):t&&!n?(e.execute("splitListItemAfter"),o.preventDefault(),i.stop()):n&&(e.execute("splitListItemBefore"),o.preventDefault(),i.stop())}}),{context:"li"}),this.listenTo(o,"afterExecute",(()=>{const t=i.get("splitListItemBefore");t.refresh(),t.isEnabled&&2===h(e.model.document.selection.getLastPosition().parent).length&&t.execute()}))}_setupTabIntegration(){const e=this.editor;this.listenTo(e.editing.view.document,"tab",((t,i)=>{const o=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())}),{context:"li"})}_setupConversion(){const e=this.editor,t=e.model,i=this._getListAttributeNames();e.conversion.for("upcast").elementToElement({view:"li",model:"paragraph"}).add((e=>{e.on("element:li",((e,t,i)=>{const{writer:o,schema:n}=i;if(!t.modelRange)return;const r=Array.from(t.modelRange.getItems({shallow:!0})).filter((e=>n.checkAttribute(e,"listItemId")));if(!r.length)return;const s={listItemId:d.next(),listIndent:z(t.viewItem),listType:t.viewItem.parent&&t.viewItem.parent.is("element","ol")?"numbered":"bulleted"};for(const e of r)u(e)||o.setAttributes(s,e);r.length>1&&r[1].getAttribute("listItemId")!=s.listItemId&&i.keepEmptyElement(r[0])})),e.on("element:ul",W(),{priority:"high"}),e.on("element:ol",W(),{priority:"high"})})),e.conversion.for("editingDowncast").elementToElement({model:"paragraph",view:Z(i),converterPriority:"high"}),e.conversion.for("dataDowncast").elementToElement({model:"paragraph",view:Z(i,{dataPipeline:!0}),converterPriority:"high"}),e.conversion.for("downcast").add((e=>{e.on("attribute",function(e,t,i){const o=function(e){return(t,i)=>{const o=[];for(const i of e)t.hasAttribute(i)&&o.push(`attribute:${i}`);return!!o.every((e=>!1!==i.test(t,e)))&&(o.forEach((e=>i.consume(t,e))),!0)}}(e);return(n,r,s)=>{const{writer:l,mapper:c,consumable:d}=s,u=r.item;if(!e.includes(r.attributeKey))return;if(!o(u,d))return;const h=function(e,t,i){const o=i.createRangeOn(e);return t.toViewRange(o).getTrimmed().getContainedElement()}(u,c,i);!function(e,t){let i=e.parent;for(;i.is("attributeElement")&&["ul","ol","li"].includes(i.name);){const o=i.parent;t.unwrap(t.createRangeOn(e),i),i=o}}(h,l),function(e,t,i,o){if(!e.hasAttribute("listIndent"))return;const n=e.getAttribute("listIndent");let r=e;for(let e=n;e>=0;e--){const n=D(o,e,r.getAttribute("listItemId")),s=N(o,e,r.getAttribute("listType"));for(const e of i)r.hasAttribute(e.attributeName)&&e.setAttributeOnDowncast(o,r.getAttribute(e.attributeName),"list"==e.scope?s:n);if(t=o.wrap(t,n),t=o.wrap(t,s),0==e)break;if(r=a.first(r,{lowerIndent:!0}),!r)break}}(u,l.createRangeOn(h),t,l)}}(i,this._downcastStrategies,t))})),this.listenTo(t.document,"change:data",function(e,t,i,o){return()=>{const o=e.document.differ.getChanges(),s=[],a=new Map,l=new Set;for(const e of o)if("insert"==e.type&&"$text"!=e.name)H(e.position,a),e.attributes.has("listItemId")?l.add(e.position.nodeAfter):H(e.position.getShiftedBy(e.length),a);else if("remove"==e.type&&e.attributes.has("listItemId"))H(e.position,a);else if("attribute"==e.type){const t=e.range.start.nodeAfter;i.includes(e.attributeKey)?(H(e.range.start,a),null===e.attributeNewValue?(H(e.range.start.getShiftedBy(1),a),r(t)&&s.push(t)):l.add(t)):u(t)&&r(t)&&s.push(t)}for(const e of a.values())s.push(...n(e,l));for(const e of new Set(s))t.reconvertItem(e)};function n(e,t){const o=[],n=new Set,a=[];for(const{node:c,previous:d}of l(e,"forward")){if(n.has(c))continue;const e=c.getAttribute("listIndent");d&&e<d.getAttribute("listIndent")&&(a.length=e+1),a[e]=Object.fromEntries(Array.from(c.getAttributes()).filter((([e])=>i.includes(e))));const l=m(c,{direction:"forward"});for(const e of l)n.add(e),(r(e,l)||s(e,a,t))&&o.push(e)}return o}function r(e,o){if(!e.is("element","paragraph"))return!1;const n=t.mapper.toViewElement(e);if(!n)return!1;const r=U(e,i,o);return!(!r||!n.is("element","p"))||!(r||!n.is("element","span"))}function s(e,i,n){if(n.has(e))return!1;const r=t.mapper.toViewElement(e);let s=i.length-1;for(let e=r.parent;!e.is("editableElement");e=e.parent){const t=M(e),n=B(e);if(!n&&!t)continue;const r="checkAttributes:"+(t?"item":"list");if(o.fire(r,{viewElement:e,modelAttributes:i[s]}))break;if(n&&(s--,s<0))return!1}return!0}}(t,e.editing,i,this),{priority:"high"}),this.on("checkAttributes:item",((e,{viewElement:t,modelAttributes:i})=>{t.id!=i.listItemId&&(e.return=!0,e.stop())})),this.on("checkAttributes:list",((e,{viewElement:t,modelAttributes:i})=>{t.name==L(i.listType)&&t.id==F(i.listType,i.listIndent)||(e.return=!0,e.stop())}))}_setupModelPostFixing(){const e=this.editor.model,t=this._getListAttributeNames();e.document.registerPostFixer((i=>function(e,t,i,o){const n=e.document.differ.getChanges(),r=new Map;let s=!1;for(const o of n)if("insert"==o.type&&"$text"!=o.name){const n=o.position.nodeAfter;if(!e.schema.checkAttribute(n,"listItemId"))for(const e of Array.from(n.getAttributeKeys()))i.includes(e)&&(t.removeAttribute(e,n),s=!0);H(o.position,r),o.attributes.has("listItemId")||H(o.position.getShiftedBy(o.length),r);for(const{item:t,previousPosition:i}of e.createRangeIn(n))u(t)&&H(i,r)}else"remove"==o.type?H(o.position,r):"attribute"==o.type&&i.includes(o.attributeKey)&&(H(o.range.start,r),null===o.attributeNewValue&&H(o.range.start.getShiftedBy(1),r));const a=new Set;for(const e of r.values())s=o.fire("postFixer",{listNodes:new c(e),listHead:e,writer:t,seenIds:a})||s;return s}(e,i,t,this))),this.on("postFixer",((e,{listNodes:t,writer:i})=>{e.return=function(e,t){let i=0,o=-1,n=null,r=!1;for(const{node:s}of e){const e=s.getAttribute("listIndent");if(e>i){let a;null===n?(n=e-i,a=i):(n>e&&(n=e),a=e-n),a>o+1&&(a=o+1),t.setAttribute("listIndent",a,s),r=!0,o=a}else n=null,i=e+1,o=e}return r}(t,i)||e.return}),{priority:"high"}),this.on("postFixer",((e,{listNodes:t,writer:i,seenIds:o})=>{e.return=function(e,t,i){const o=new Set;let n=!1;for(const{node:r}of e){if(o.has(r))continue;let e=r.getAttribute("listType"),s=r.getAttribute("listItemId");t.has(s)&&(s=d.next()),t.add(s);for(const t of m(r,{direction:"forward"}))o.add(t),t.getAttribute("listType")!=e&&(s=d.next(),e=t.getAttribute("listType")),t.getAttribute("listItemId")!=s&&(i.setAttribute("listItemId",s,t),n=!0)}return n}(t,o,i)||e.return}),{priority:"high"})}_setupClipboardIntegration(){const e=this.editor.model;this.listenTo(e,"insertContent",function(e){return(t,[i,o])=>{const n=i.is("documentFragment")?i.getChild(0):i;if(!u(n))return;let r;r=o?e.createSelection(o):e.document.selection;const s=r.getFirstPosition();let a=null;if(u(s.parent)?a=s.parent:u(s.nodeBefore)&&(a=s.nodeBefore),!a)return;const c=a.getAttribute("listIndent")-n.getAttribute("listIndent");c<=0||e.change((e=>{for(const{node:t}of l(n,"forward"))e.setAttribute("listIndent",t.getAttribute("listIndent")+c,t)}))}}(e),{priority:"high"}),this.listenTo(e,"getSelectedContent",((t,[i])=>{C(Array.from(i.getSelectedBlocks()))&&e.change((e=>y(Array.from(t.return.getChildren()),e)))}))}}function ae(e,t){const i=e.document.selection;if(!i.isCollapsed)return!A(e);if("forward"===t)return!0;const o=i.getFirstPosition().parent,n=o.previousSibling;return!e.schema.isObject(n)&&(!!n.isEmpty||C([o,n]))}var le=i(7095);function ce(e,t){const i=t.mapper,o=t.writer,n="numbered"==e.getAttribute("listType")?"ol":"ul",r=function(e){const t=e.createContainerElement("li");return t.getFillerOffset=ve,t}(o),s=o.createContainerElement(n,null);return o.insert(o.createPositionAt(s,0),r),i.bindElements(e,r),r}function de(e,t,i,o){const n=t.parent,r=i.mapper,s=i.writer;let a=r.toViewPosition(o.createPositionBefore(e));const l=me(e.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:e.getAttribute("listIndent")}),c=e.previousSibling;if(l&&l.getAttribute("listIndent")==e.getAttribute("listIndent")){const e=r.toViewElement(l);a=s.breakContainer(s.createPositionAfter(e))}else if(c&&"listItem"==c.name){a=r.toViewPosition(o.createPositionAt(c,"end"));const e=r.findMappedViewAncestor(a),t=pe(e);a=t?s.createPositionBefore(t):s.createPositionAt(e,"end")}else a=r.toViewPosition(o.createPositionBefore(e));if(a=he(a),s.insert(a,n),c&&"listItem"==c.name){const e=r.toViewElement(c),i=s.createRange(s.createPositionAt(e,0),a).getWalker({ignoreElementEnd:!0});for(const e of i)if(e.item.is("element","li")){const o=s.breakContainer(s.createPositionBefore(e.item)),n=e.item.parent,r=s.createPositionAt(t,"end");ue(s,r.nodeBefore,r.nodeAfter),s.move(s.createRangeOn(n),r),i._position=o}}else{const i=n.nextSibling;if(i&&(i.is("element","ul")||i.is("element","ol"))){let o=null;for(const t of i.getChildren()){const i=r.toModelElement(t);if(!(i&&i.getAttribute("listIndent")>e.getAttribute("listIndent")))break;o=t}o&&(s.breakContainer(s.createPositionAfter(o)),s.move(s.createRangeOn(o.parent),s.createPositionAt(t,"end")))}}ue(s,n,n.nextSibling),ue(s,n.previousSibling,n)}function ue(e,t,i){return!t||!i||"ul"!=t.name&&"ol"!=t.name||t.name!=i.name||t.getAttribute("class")!==i.getAttribute("class")?null:e.mergeContainers(e.createPositionAfter(t))}function he(e){return e.getLastMatchingPosition((e=>e.item.is("uiElement")))}function me(e,t){const i=!!t.sameIndent,o=!!t.smallerIndent,n=t.listIndent;let r=e;for(;r&&"listItem"==r.name;){const e=r.getAttribute("listIndent");if(i&&n==e||o&&n>e)return r;r="forward"===t.direction?r.nextSibling:r.previousSibling}return null}function ge(e,t,i,o){e.ui.componentFactory.add(t,(n=>{const r=e.commands.get(t),s=new le.r5(n);return s.set({label:i,icon:o,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.on("execute",(()=>{e.execute(t),e.editing.view.focus()})),s}))}function pe(e){for(const t of e.getChildren())if("ul"==t.name||"ol"==t.name)return t;return null}function fe(e,t){const i=[],o=e.parent,n={ignoreElementEnd:!1,startPosition:e,shallow:!0,direction:t},r=o.getAttribute("listIndent"),s=[...new O.Po(n)].filter((e=>e.item.is("element"))).map((e=>e.item));for(const e of s){if(!e.is("element","listItem"))break;if(e.getAttribute("listIndent")<r)break;if(!(e.getAttribute("listIndent")>r)){if(e.getAttribute("listType")!==o.getAttribute("listType"))break;if(e.getAttribute("listStyle")!==o.getAttribute("listStyle"))break;if(e.getAttribute("listReversed")!==o.getAttribute("listReversed"))break;if(e.getAttribute("listStart")!==o.getAttribute("listStart"))break;"backward"===t?i.unshift(e):i.push(e)}}return i}function be(e){let t=[...e.document.selection.getSelectedBlocks()].filter((e=>e.is("element","listItem"))).map((t=>{const i=e.change((e=>e.createPositionAt(t,0)));return[...fe(i,"backward"),...fe(i,"forward")]})).flat();return t=[...new Set(t)],t}const we=["disc","circle","square"],ke=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function _e(e){return we.includes(e)?"bulleted":ke.includes(e)?"numbered":null}function ve(){const e=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||e?0:O.YG.call(this)}const ye='<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>',Ce='<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>';class xe extends o.Sy{static get pluginName(){return"ListUI"}init(){const e=this.editor.t;ge(this.editor,"numberedList",e("Numbered List"),ye),ge(this.editor,"bulletedList",e("Bulleted List"),Ce)}}class Ae extends o.Sy{static get requires(){return[se,xe]}static get pluginName(){return"DocumentList"}}class Ee extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute({startIndex:e=1}={}){const t=this.editor.model,i=t.document;let o=Array.from(i.selection.getSelectedBlocks()).filter((e=>u(e)&&"numbered"==e.getAttribute("listType")));o=w(o),t.change((t=>{for(const i of o)t.setAttribute("listStart",e>=0?e:1,i)}))}_getValue(){const e=this.editor.model.document,t=(0,s.Ps)(e.selection.getSelectedBlocks());return t&&u(t)&&"numbered"==t.getAttribute("listType")?t.getAttribute("listStart"):null}}const Te={},Se={},Pe={},Ie=[{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:e,typeAttribute:t,listType:i}of Ie)Te[e]=i,Se[e]=t,t&&(Pe[t]=e);function Ve(){return Ie.map((e=>e.listStyle))}function Re(e){return Te[e]||null}function Oe(e){return Pe[e]||null}function Be(e){return Se[e]||null}class Me extends o.mY{constructor(e,t,i){super(e),this.defaultType=t,this._supportedTypes=i}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document;t.change((t=>{this._tryToConvertItemsToList(e);let o=Array.from(i.selection.getSelectedBlocks()).filter((e=>e.hasAttribute("listType")));if(o.length){o=w(o);for(const i of o)t.setAttribute("listStyle",e.type||this.defaultType,i)}}))}isStyleTypeSupported(e){return!this._supportedTypes||this._supportedTypes.includes(e)}_getValue(){const e=(0,s.Ps)(this.editor.model.document.selection.getSelectedBlocks());return u(e)?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,t=e.commands.get("numberedList"),i=e.commands.get("bulletedList");return t.isEnabled||i.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const t=Re(e.type);if(!t)return;const i=this.editor,o=`${t}List`;i.commands.get(o).value||i.execute(o)}}class ze extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute(e={}){const t=this.editor.model,i=t.document;let o=Array.from(i.selection.getSelectedBlocks()).filter((e=>u(e)&&"numbered"==e.getAttribute("listType")));o=w(o),t.change((t=>{for(const i of o)t.setAttribute("listReversed",!!e.reversed,i)}))}_getValue(){const e=this.editor.model.document,t=(0,s.Ps)(e.selection.getSelectedBlocks());return u(t)&&"numbered"==t.getAttribute("listType")?t.getAttribute("listReversed"):null}}function Ne(e){return(t,i,o)=>{const{writer:n,schema:r,consumable:s}=o;if(!1===s.test(i.viewItem,e.viewConsumables))return;i.modelRange||Object.assign(i,o.convertChildren(i.viewItem,i.modelCursor));let a=!1;for(const t of i.modelRange.getItems({shallow:!0}))r.checkAttribute(t,e.attributeName)&&e.appliesToListItem(t)&&(t.hasAttribute(e.attributeName)||(n.setAttribute(e.attributeName,e.getAttributeOnUpcast(i.viewItem),t),a=!0));a&&s.consume(i.viewItem,e.viewConsumables)}}class De extends o.Sy{static get pluginName(){return"DocumentListPropertiesUtils"}getAllSupportedStyleTypes(){return Ve()}getListTypeFromListStyleType(e){return Re(e)}getListStyleTypeFromTypeAttribute(e){return Oe(e)}getTypeAttributeFromListStyleType(e){return Be(e)}}const Le="default";class Fe extends o.Sy{static get requires(){return[se,De]}static get pluginName(){return"DocumentListPropertiesEditing"}constructor(e){super(e),e.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const e=this.editor,t=e.model,i=e.plugins.get(se),o=function(e){const t=[];if(e.styles){const i="object"==typeof e.styles&&e.styles.useAttribute;t.push({attributeName:"listStyle",defaultValue:Le,viewConsumables:{styles:"list-style-type"},addCommand(e){let t=Ve();i&&(t=t.filter((e=>!!Be(e)))),e.commands.add("listStyle",new Me(e,Le,t))},appliesToListItem:()=>!0,hasValidAttribute(e){if(!e.hasAttribute("listStyle"))return!1;const t=e.getAttribute("listStyle");return t==Le||Re(t)==e.getAttribute("listType")},setAttributeOnDowncast(e,t,o){if(t&&t!==Le){if(!i)return void e.setStyle("list-style-type",t,o);{const i=Be(t);if(i)return void e.setAttribute("type",i,o)}}e.removeStyle("list-style-type",o),e.removeAttribute("type",o)},getAttributeOnUpcast(e){const t=e.getStyle("list-style-type");if(t)return t;const i=e.getAttribute("type");return i?Oe(i):Le}})}return e.reversed&&t.push({attributeName:"listReversed",defaultValue:!1,viewConsumables:{attributes:"reversed"},addCommand(e){e.commands.add("listReversed",new ze(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),hasValidAttribute(e){return this.appliesToListItem(e)==e.hasAttribute("listReversed")},setAttributeOnDowncast(e,t,i){t?e.setAttribute("reversed","reversed",i):e.removeAttribute("reversed",i)},getAttributeOnUpcast:e=>e.hasAttribute("reversed")}),e.startIndex&&t.push({attributeName:"listStart",defaultValue:1,viewConsumables:{attributes:"start"},addCommand(e){e.commands.add("listStart",new Ee(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),hasValidAttribute(e){return this.appliesToListItem(e)==e.hasAttribute("listStart")},setAttributeOnDowncast(e,t,i){0==t||t>1?e.setAttribute("start",t,i):e.removeAttribute("start",i)},getAttributeOnUpcast(e){const t=e.getAttribute("start");return t>=0?t:1}}),t}(e.config.get("list.properties"));for(const n of o)n.addCommand(e),t.schema.extend("$container",{allowAttributes:n.attributeName}),t.schema.extend("$block",{allowAttributes:n.attributeName}),t.schema.extend("$blockObject",{allowAttributes:n.attributeName}),i.registerDowncastStrategy({scope:"list",attributeName:n.attributeName,setAttributeOnDowncast(e,t,i){n.setAttributeOnDowncast(e,t,i)}});e.conversion.for("upcast").add((e=>{for(const t of o)e.on("element:ol",Ne(t)),e.on("element:ul",Ne(t))})),i.on("checkAttributes:list",((e,{viewElement:t,modelAttributes:i})=>{for(const n of o)n.getAttributeOnUpcast(t)!=i[n.attributeName]&&(e.return=!0,e.stop())})),this.listenTo(e.commands.get("indentList"),"afterExecute",((e,i)=>{t.change((e=>{for(const t of i)for(const i of o)i.appliesToListItem(t)&&e.setAttribute(i.attributeName,i.defaultValue,t)}))})),i.on("postFixer",((e,{listNodes:t,writer:i})=>{for(const{node:n}of t)for(const t of o)t.hasValidAttribute(n)||(t.appliesToListItem(n)?i.setAttribute(t.attributeName,t.defaultValue,n):i.removeAttribute(t.attributeName,n),e.return=!0)})),i.on("postFixer",((e,{listNodes:t,writer:i})=>{const n=[];for(const{node:r,previous:s}of t){if(!s)continue;const t=r.getAttribute("listIndent"),a=s.getAttribute("listIndent");let l=null;if(t>a?n[a]=s:t<a?(l=n[t],n.length=t):l=s,l&&l.getAttribute("listType")==r.getAttribute("listType"))for(const t of o){const{attributeName:o}=t;if(!t.appliesToListItem(r))continue;const n=l.getAttribute(o);r.getAttribute(o)!=n&&(i.setAttribute(o,n,r),e.return=!0)}}}))}}var He=i(8217),We=i(5782),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Q(),Ze.insert=J().bind(null,"head"),Ze.domAPI=K(),Ze.insertStyleElement=ee(),$()(We.Z,Ze),We.Z&&We.Z.locals&&We.Z.locals;class Ue extends le.G7{constructor(e,t){super(e);const i=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",i.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:i.if("isCollapsed","hidden"),"aria-labelledby":i.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}_createButtonView(){const e=new le.r5(this.locale),t=e.bindTemplate;return e.set({withText:!0,icon:He.Z}),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}}var je=i(9938),$e={attributes:{"data-cke":!0}};$e.setAttributes=Q(),$e.insert=J().bind(null,"head"),$e.domAPI=K(),$e.insertStyleElement=ee(),$()(je.Z,$e),je.Z&&je.Z.locals&&je.Z.locals;class qe extends le.G7{constructor(e,{enabledProperties:t,styleButtonViews:i,styleGridAriaLabel:o}){super(e),this.stylesView=null,this.additionalPropertiesCollapsibleView=null,this.startIndexFieldView=null,this.reversedSwitchButtonView=null,this.focusTracker=new s.Rh,this.keystrokes=new s.VD,this.focusables=new le.vX;const n=["ck","ck-list-properties"];this.children=this.createCollection(),this.focusCycler=new le.I0({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),t.styles?(this.stylesView=this._createStylesView(i,o),this.children.add(this.stylesView)):n.push("ck-list-properties_without-styles"),(t.startIndex||t.reversed)&&(this._addNumberedListPropertyViews(t),n.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:n},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 e of this.stylesView.children)this.stylesView.focusTracker.add(e.element);(0,le.IJ)({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>s.CO.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),this.listenTo(this.startIndexFieldView.element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"});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)}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(e,t){const i=new le.G7(this.locale);return i.children=i.createCollection(),i.children.addMany(e),i.setTemplate({tag:"div",attributes:{"aria-label":t,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 s.Rh,i.keystrokes=new s.VD,i.render(),i.keystrokes.listenTo(i.element),i}_addNumberedListPropertyViews(e){const t=this.locale.t,i=[];e.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),i.push(this.startIndexFieldView)),e.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),i.push(this.reversedSwitchButtonView)),e.styles?(this.additionalPropertiesCollapsibleView=new Ue(this.locale,i),this.additionalPropertiesCollapsibleView.set({label:t("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(i,"isEnabled",((...e)=>e.some((e=>e)))),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",((e,t,i)=>{i||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)})),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(i)}_createStartIndexField(){const e=this.locale.t,t=new le.KP(this.locale,le.sh);return t.set({label:e("Start at"),class:"ck-numbered-list-properties__start-index"}),t.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),t.fieldView.on("input",(()=>{const i=t.fieldView.element,o=i.valueAsNumber;Number.isNaN(o)||(i.checkValidity()?this.fire("listStart",{startIndex:o}):t.errorText=e("Start index must be greater than 0."))})),t}_createReversedSwitchButton(){const e=this.locale.t,t=new le.BM(this.locale);return t.set({withText:!0,label:e("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),t.delegate("execute").to(this,"listReversed"),t}}var Ke=i(2591),Ge={attributes:{"data-cke":!0}};Ge.setAttributes=Q(),Ge.insert=J().bind(null,"head"),Ge.domAPI=K(),Ge.insertStyleElement=ee(),$()(Ke.Z,Ge),Ke.Z&&Ke.Z.locals&&Ke.Z.locals;class Je extends o.Sy{static get pluginName(){return"ListPropertiesUI"}init(){const e=this.editor,t=e.locale.t,i=e.config.get("list.properties");i.styles&&e.ui.componentFactory.add("bulletedList",Ye({editor:e,parentCommandName:"bulletedList",buttonLabel:t("Bulleted List"),buttonIcon:Ce,styleGridAriaLabel:t("Bulleted list styles toolbar"),styleDefinitions:[{label:t("Toggle the disc list style"),tooltip:t("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:t("Toggle the circle list style"),tooltip:t("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:t("Toggle the square list style"),tooltip:t("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>'}]})),(i.styles||i.startIndex||i.reversed)&&e.ui.componentFactory.add("numberedList",Ye({editor:e,parentCommandName:"numberedList",buttonLabel:t("Numbered List"),buttonIcon:ye,styleGridAriaLabel:t("Numbered list styles toolbar"),styleDefinitions:[{label:t("Toggle the decimal list style"),tooltip:t("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:t("Toggle the decimal with leading zero list style"),tooltip:t("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:t("Toggle the lower–roman list style"),tooltip:t("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:t("Toggle the upper–roman list style"),tooltip:t("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:t("Toggle the lower–latin list style"),tooltip:t("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:t("Toggle the upper–latin list style"),tooltip:t("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>'}]}))}}function Ye({editor:e,parentCommandName:t,buttonLabel:i,buttonIcon:o,styleGridAriaLabel:n,styleDefinitions:r}){const s=e.commands.get(t);return a=>{const l=(0,le.t9)(a,le.Rm),c=l.buttonView;return l.bind("isEnabled").to(s),l.class="ck-list-styles-dropdown",c.on("execute",(()=>{e.execute(t),e.editing.view.focus()})),c.set({label:i,icon:o,tooltip:!0,isToggleable:!0}),c.bind("isOn").to(s,"value",(e=>!!e)),l.once("change:isOpen",(()=>{const i=function({editor:e,dropdownView:t,parentCommandName:i,styleDefinitions:o,styleGridAriaLabel:n}){const r=e.locale,s=e.config.get("list.properties");let a=null;if("numberedList"!=i&&(s.startIndex=!1,s.reversed=!1),s.styles){const t=e.commands.get("listStyle"),n=function({editor:e,listStyleCommand:t,parentCommandName:i}){const o=e.locale,n=e.commands.get(i);return({label:i,type:r,icon:s,tooltip:a})=>{const l=new le.r5(o);return l.set({label:i,icon:s,tooltip:a}),t.on("change:value",(()=>{l.isOn=t.value===r})),l.on("execute",(()=>{n.value?t.value!==r?e.execute("listStyle",{type:r}):e.execute("listStyle",{type:t.defaultType}):e.model.change((()=>{e.execute("listStyle",{type:r})}))})),l}}({editor:e,parentCommandName:i,listStyleCommand:t}),r="function"==typeof t.isStyleTypeSupported?e=>t.isStyleTypeSupported(e.type):()=>!0;a=o.filter(r).map(n)}const l=new qe(r,{styleGridAriaLabel:n,enabledProperties:s,styleButtonViews:a});if(s.styles&&(0,le.Mh)(t,(()=>l.stylesView.children.find((e=>e.isOn)))),s.startIndex){const t=e.commands.get("listStart");l.startIndexFieldView.bind("isEnabled").to(t),l.startIndexFieldView.fieldView.bind("value").to(t),l.on("listStart",((t,i)=>e.execute("listStart",i)))}if(s.reversed){const t=e.commands.get("listReversed");l.reversedSwitchButtonView.bind("isEnabled").to(t),l.reversedSwitchButtonView.bind("isOn").to(t,"value",(e=>!!e)),l.on("listReversed",(()=>{const i=t.value;e.execute("listReversed",{reversed:!i})}))}return l.delegate("execute").to(t),l}({editor:e,dropdownView:l,parentCommandName:t,styleGridAriaLabel:n,styleDefinitions:r});l.panelView.children.add(i)})),l.on("execute",(()=>{e.editing.view.focus()})),l}}class Qe extends o.Sy{static get requires(){return[Fe,Je]}static get pluginName(){return"DocumentListProperties"}}class Xe extends o.mY{constructor(e,t){super(e),this._indentBy="forward"==t?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=e.document;let i=Array.from(t.selection.getSelectedBlocks());e.change((e=>{const t=i[i.length-1];let o=t.nextSibling;for(;o&&"listItem"==o.name&&o.getAttribute("listIndent")>t.getAttribute("listIndent");)i.push(o),o=o.nextSibling;this._indentBy<0&&(i=i.reverse());for(const t of i){const i=t.getAttribute("listIndent")+this._indentBy;i<0?e.rename(t,"paragraph"):e.setAttribute("listIndent",i,t)}this.fire("_executeCleanup",i)}))}_checkEnabled(){const e=(0,s.Ps)(this.editor.model.document.selection.getSelectedBlocks());if(!e||!e.is("element","listItem"))return!1;if(this._indentBy>0){const t=e.getAttribute("listIndent"),i=e.getAttribute("listType");let o=e.previousSibling;for(;o&&o.is("element","listItem")&&o.getAttribute("listIndent")>=t;){if(o.getAttribute("listIndent")==t)return o.getAttribute("listType")==i;o=o.previousSibling}return!1}return!0}}class et extends o.mY{constructor(e,t){super(e),this.type=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document,o=Array.from(i.selection.getSelectedBlocks()).filter((e=>it(e,t.schema))),n=void 0!==e.forceValue?!e.forceValue:this.value;t.change((e=>{if(n){let t=o[o.length-1].nextSibling,i=Number.POSITIVE_INFINITY,n=[];for(;t&&"listItem"==t.name&&0!==t.getAttribute("listIndent");){const e=t.getAttribute("listIndent");e<i&&(i=e);const o=e-i;n.push({element:t,listIndent:o}),t=t.nextSibling}n=n.reverse();for(const t of n)e.setAttribute("listIndent",t.listIndent,t.element)}if(!n){let e=Number.POSITIVE_INFINITY;for(const t of o)t.is("element","listItem")&&t.getAttribute("listIndent")<e&&(e=t.getAttribute("listIndent"));e=0===e?1:e,tt(o,!0,e),tt(o,!1,e)}for(const t of o.reverse())n&&"listItem"==t.name?e.rename(t,"paragraph"):n||"listItem"==t.name?n||"listItem"!=t.name||t.getAttribute("listType")==this.type||e.setAttribute("listType",this.type,t):(e.setAttributes({listType:this.type,listIndent:0},t),e.rename(t,"listItem"));this.fire("_executeCleanup",o)}))}_getValue(){const e=(0,s.Ps)(this.editor.model.document.selection.getSelectedBlocks());return!!e&&e.is("element","listItem")&&e.getAttribute("listType")==this.type}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=(0,s.Ps)(e.getSelectedBlocks());return!!i&&it(i,t)}}function tt(e,t,i){const o=t?e[0]:e[e.length-1];if(o.is("element","listItem")){let n=o[t?"previousSibling":"nextSibling"],r=o.getAttribute("listIndent");for(;n&&n.is("element","listItem")&&n.getAttribute("listIndent")>=i;)r>n.getAttribute("listIndent")&&(r=n.getAttribute("listIndent")),n.getAttribute("listIndent")==r&&e[t?"unshift":"push"](n),n=n[t?"previousSibling":"nextSibling"]}}function it(e,t){return t.checkChild(e.parent,"listItem")&&!t.isObject(e)}class ot extends o.Sy{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(e){return _e(e)}getSelectedListItems(e){return be(e)}getSiblingNodes(e,t){return fe(e,t)}}function nt(e){return(t,i,o)=>{const n=o.consumable;if(!n.test(i.item,"insert")||!n.test(i.item,"attribute:listType")||!n.test(i.item,"attribute:listIndent"))return;n.consume(i.item,"insert"),n.consume(i.item,"attribute:listType"),n.consume(i.item,"attribute:listIndent");const r=i.item;de(r,ce(r,o),o,e)}}const rt=(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const o=i.mapper.toViewElement(t.item),n=i.writer;n.breakContainer(n.createPositionBefore(o)),n.breakContainer(n.createPositionAfter(o));const r=o.parent,s="numbered"==t.attributeNewValue?"ol":"ul";n.rename(s,r)},st=(e,t,i)=>{i.consumable.consume(t.item,e.name);const o=i.mapper.toViewElement(t.item).parent,n=i.writer;ue(n,o,o.nextSibling),ue(n,o.previousSibling,o)},at=(e,t,i)=>{if(i.consumable.test(t.item,e.name)&&"listItem"!=t.item.name){let e=i.mapper.toViewPosition(t.range.start);const o=i.writer,n=[];for(;("ul"==e.parent.name||"ol"==e.parent.name)&&(e=o.breakContainer(e),"li"==e.parent.name);){const t=e,i=o.createPositionAt(e.parent,"end");if(!t.isEqual(i)){const e=o.remove(o.createRange(t,i));n.push(e)}e=o.createPositionAfter(e.parent)}if(n.length>0){for(let t=0;t<n.length;t++){const i=e.nodeBefore;if(e=o.insert(e,n[t]).end,t>0){const t=ue(o,i,i.nextSibling);t&&t.parent==i&&e.offset--}}ue(o,e.nodeBefore,e.nodeAfter)}}},lt=(e,t,i)=>{const o=i.mapper.toViewPosition(t.position),n=o.nodeBefore,r=o.nodeAfter;ue(i.writer,n,r)},ct=(e,t,i)=>{if(i.consumable.consume(t.viewItem,{name:!0})){const e=i.writer,o=e.createElement("listItem"),n=function(e){let t=0,i=e.parent;for(;i;){if(i.is("element","li"))t++;else{const e=i.previousSibling;e&&e.is("element","li")&&t++}i=i.parent}return t}(t.viewItem);e.setAttribute("listIndent",n,o);const r=t.viewItem.parent&&"ol"==t.viewItem.parent.name?"numbered":"bulleted";if(e.setAttribute("listType",r,o),!i.safeInsert(o,t.modelCursor))return;const s=function(e,t,i){const{writer:o,schema:n}=i;let r=o.createPositionAfter(e);for(const s of t)if("ul"==s.name||"ol"==s.name)r=i.convertItem(s,r).modelCursor;else{const t=i.convertItem(s,o.createPositionAt(e,"end")),a=t.modelRange.start.nodeAfter;a&&a.is("element")&&!n.checkChild(e,a.name)&&(e=t.modelCursor.parent.is("element","listItem")?t.modelCursor.parent:gt(t.modelCursor),r=o.createPositionAfter(e))}return r}(o,t.viewItem.getChildren(),i);t.modelRange=e.createRange(t.modelCursor,s),i.updateConversionResult(o,t)}},dt=(e,t,i)=>{if(i.consumable.test(t.viewItem,{name:!0})){const e=Array.from(t.viewItem.getChildren());for(const t of e)!t.is("element","li")&&!ft(t)&&t._remove()}},ut=(e,t,i)=>{if(i.consumable.test(t.viewItem,{name:!0})){if(0===t.viewItem.childCount)return;const e=[...t.viewItem.getChildren()];let i=!1;for(const t of e)i&&!ft(t)&&t._remove(),ft(t)&&(i=!0)}};function ht(e){return(t,i)=>{if(i.isPhantom)return;const o=i.modelPosition.nodeBefore;if(o&&o.is("element","listItem")){const t=i.mapper.toViewElement(o),n=t.getAncestors().find(ft),r=e.createPositionAt(t,0).getWalker();for(const e of r){if("elementStart"==e.type&&e.item.is("element","li")){i.viewPosition=e.previousPosition;break}if("elementEnd"==e.type&&e.item==n){i.viewPosition=e.nextPosition;break}}}}}const mt=function(e,[t,i]){let o,n=t.is("documentFragment")?t.getChild(0):t;if(o=i?this.createSelection(i):this.document.selection,n&&n.is("element","listItem")){const e=o.getFirstPosition();let t=null;if(e.parent.is("element","listItem")?t=e.parent:e.nodeBefore&&e.nodeBefore.is("element","listItem")&&(t=e.nodeBefore),t){const e=t.getAttribute("listIndent");if(e>0)for(;n&&n.is("element","listItem");)n._setAttribute("listIndent",n.getAttribute("listIndent")+e),n=n.nextSibling}}};function gt(e){const t=new O.Po({startPosition:e});let i;do{i=t.next()}while(!i.value.item.is("element","listItem"));return i.value.item}function pt(e,t,i,o,n,r){const s=me(t.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:e}),a=n.mapper,l=n.writer,c=s?s.getAttribute("listIndent"):null;let d;if(s)if(c==e){const e=a.toViewElement(s).parent;d=l.createPositionAfter(e)}else{const e=r.createPositionAt(s,"end");d=a.toViewPosition(e)}else d=i;d=he(d);for(const e of[...o.getChildren()])ft(e)&&(d=l.move(l.createRangeOn(e),d).end,ue(l,e,e.nextSibling),ue(l,e.previousSibling,e))}function ft(e){return e.is("element","ol")||e.is("element","ul")}class bt extends o.Sy{static get pluginName(){return"ListEditing"}static get requires(){return[r.C,n.HG,ot]}init(){const e=this.editor;e.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const t=e.data,i=e.editing;var o;e.model.document.registerPostFixer((t=>function(e,t){const i=e.document.differ.getChanges(),o=new Map;let n=!1;for(const o of i)if("insert"==o.type&&"listItem"==o.name)r(o.position);else if("insert"==o.type&&"listItem"!=o.name){if("$text"!=o.name){const i=o.position.nodeAfter;i.hasAttribute("listIndent")&&(t.removeAttribute("listIndent",i),n=!0),i.hasAttribute("listType")&&(t.removeAttribute("listType",i),n=!0),i.hasAttribute("listStyle")&&(t.removeAttribute("listStyle",i),n=!0),i.hasAttribute("listReversed")&&(t.removeAttribute("listReversed",i),n=!0),i.hasAttribute("listStart")&&(t.removeAttribute("listStart",i),n=!0);for(const t of Array.from(e.createRangeIn(i)).filter((e=>e.item.is("element","listItem"))))r(t.previousPosition)}r(o.position.getShiftedBy(o.length))}else"remove"==o.type&&"listItem"==o.name?r(o.position):("attribute"==o.type&&"listIndent"==o.attributeKey||"attribute"==o.type&&"listType"==o.attributeKey)&&r(o.range.start);for(const e of o.values())s(e),a(e);return n;function r(e){const t=e.nodeBefore;if(t&&t.is("element","listItem")){let e=t;if(o.has(e))return;for(let t=e.previousSibling;t&&t.is("element","listItem");t=e.previousSibling)if(e=t,o.has(e))return;o.set(t,e)}else{const t=e.nodeAfter;t&&t.is("element","listItem")&&o.set(t,t)}}function s(e){let i=0,o=null;for(;e&&e.is("element","listItem");){const r=e.getAttribute("listIndent");if(r>i){let s;null===o?(o=r-i,s=i):(o>r&&(o=r),s=r-o),t.setAttribute("listIndent",s,e),n=!0}else o=null,i=e.getAttribute("listIndent")+1;e=e.nextSibling}}function a(e){let i=[],o=null;for(;e&&e.is("element","listItem");){const r=e.getAttribute("listIndent");if(o&&o.getAttribute("listIndent")>r&&(i=i.slice(0,r+1)),0!=r)if(i[r]){const o=i[r];e.getAttribute("listType")!=o&&(t.setAttribute("listType",o,e),n=!0)}else i[r]=e.getAttribute("listType");o=e,e=e.nextSibling}}}(e.model,t))),i.mapper.registerViewToModelLength("li",wt),t.mapper.registerViewToModelLength("li",wt),i.mapper.on("modelToViewPosition",ht(i.view)),i.mapper.on("viewToModelPosition",(o=e.model,(e,t)=>{const i=t.viewPosition,n=i.parent,r=t.mapper;if("ul"==n.name||"ol"==n.name){if(i.isAtEnd){const e=r.toModelElement(i.nodeBefore),n=r.getModelLength(i.nodeBefore);t.modelPosition=o.createPositionBefore(e).getShiftedBy(n)}else{const e=r.toModelElement(i.nodeAfter);t.modelPosition=o.createPositionBefore(e)}e.stop()}else if("li"==n.name&&i.nodeBefore&&("ul"==i.nodeBefore.name||"ol"==i.nodeBefore.name)){const s=r.toModelElement(n);let a=1,l=i.nodeBefore;for(;l&&ft(l);)a+=r.getModelLength(l),l=l.previousSibling;t.modelPosition=o.createPositionBefore(s).getShiftedBy(a),e.stop()}})),t.mapper.on("modelToViewPosition",ht(i.view)),e.conversion.for("editingDowncast").add((t=>{t.on("insert",at,{priority:"high"}),t.on("insert:listItem",nt(e.model)),t.on("attribute:listType:listItem",rt,{priority:"high"}),t.on("attribute:listType:listItem",st,{priority:"low"}),t.on("attribute:listIndent:listItem",function(e){return(t,i,o)=>{if(!o.consumable.consume(i.item,"attribute:listIndent"))return;const n=o.mapper.toViewElement(i.item),r=o.writer;r.breakContainer(r.createPositionBefore(n)),r.breakContainer(r.createPositionAfter(n));const s=n.parent,a=s.previousSibling,l=r.createRangeOn(s);r.remove(l),a&&a.nextSibling&&ue(r,a,a.nextSibling),pt(i.attributeOldValue+1,i.range.start,l.start,n,o,e),de(i.item,n,o,e);for(const e of i.item.getChildren())o.consumable.consume(e,"insert")}}(e.model)),t.on("remove:listItem",function(e){return(t,i,o)=>{const n=o.mapper.toViewPosition(i.position).getLastMatchingPosition((e=>!e.item.is("element","li"))).nodeAfter,r=o.writer;r.breakContainer(r.createPositionBefore(n)),r.breakContainer(r.createPositionAfter(n));const s=n.parent,a=s.previousSibling,l=r.createRangeOn(s),c=r.remove(l);a&&a.nextSibling&&ue(r,a,a.nextSibling),pt(o.mapper.toModelElement(n).getAttribute("listIndent")+1,i.position,l.start,n,o,e);for(const e of r.createRangeIn(c).getItems())o.mapper.unbindViewElement(e);t.stop()}}(e.model)),t.on("remove",lt,{priority:"low"})})),e.conversion.for("dataDowncast").add((t=>{t.on("insert",at,{priority:"high"}),t.on("insert:listItem",nt(e.model))})),e.conversion.for("upcast").add((e=>{e.on("element:ul",dt,{priority:"high"}),e.on("element:ol",dt,{priority:"high"}),e.on("element:li",ut,{priority:"high"}),e.on("element:li",ct)})),e.model.on("insertContent",mt,{priority:"high"}),e.commands.add("numberedList",new et(e,"numbered")),e.commands.add("bulletedList",new et(e,"bulleted")),e.commands.add("indentList",new Xe(e,"forward")),e.commands.add("outdentList",new Xe(e,"backward"));const n=i.view.document;this.listenTo(n,"enter",((e,t)=>{const i=this.editor.model.document,o=i.selection.getLastPosition().parent;i.selection.isCollapsed&&"listItem"==o.name&&o.isEmpty&&(this.editor.execute("outdentList"),t.preventDefault(),e.stop())}),{context:"li"}),this.listenTo(n,"delete",((e,t)=>{if("backward"!==t.direction)return;const i=this.editor.model.document.selection;if(!i.isCollapsed)return;const o=i.getFirstPosition();if(!o.isAtStart)return;const n=o.parent;"listItem"===n.name&&(n.previousSibling&&"listItem"===n.previousSibling.name||(this.editor.execute("outdentList"),t.preventDefault(),e.stop()))}),{context:"li"}),this.listenTo(e.editing.view.document,"tab",((t,i)=>{const o=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())}),{context:"li"})}afterInit(){const e=this.editor.commands,t=e.get("indent"),i=e.get("outdent");t&&t.registerChildCommand(e.get("indentList")),i&&i.registerChildCommand(e.get("outdentList"))}}function wt(e){let t=1;for(const i of e.getChildren())if("ul"==i.name||"ol"==i.name)for(const e of i.getChildren())t+=wt(e);return t}class kt extends o.Sy{static get requires(){return[bt,xe]}static get pluginName(){return"List"}}class _t extends o.mY{constructor(e,t){super(e),this.defaultType=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){this._tryToConvertItemsToList(e);const t=this.editor.model,i=be(t);i.length&&t.change((t=>{for(const o of i)t.setAttribute("listStyle",e.type||this.defaultType,o)}))}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,t=e.commands.get("numberedList"),i=e.commands.get("bulletedList");return t.isEnabled||i.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const t=_e(e.type);if(!t)return;const i=this.editor,o=`${t}List`;i.commands.get(o).value||i.execute(o)}}class vt extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute(e={}){const t=this.editor.model,i=be(t).filter((e=>"numbered"==e.getAttribute("listType")));t.change((t=>{for(const o of i)t.setAttribute("listReversed",!!e.reversed,o)}))}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")&&"numbered"==e.getAttribute("listType")?e.getAttribute("listReversed"):null}}class yt extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute({startIndex:e=1}={}){const t=this.editor.model,i=be(t).filter((e=>"numbered"==e.getAttribute("listType")));t.change((t=>{for(const o of i)t.setAttribute("listStart",e>=0?e:1,o)}))}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")&&"numbered"==e.getAttribute("listType")?e.getAttribute("listStart"):null}}const Ct="default";class xt extends o.Sy{static get requires(){return[bt]}static get pluginName(){return"ListPropertiesEditing"}constructor(e){super(e),e.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const e=this.editor,t=e.model,i=function(e){const t=[];return e.styles&&t.push({attributeName:"listStyle",defaultValue:Ct,addCommand(e){e.commands.add("listStyle",new _t(e,Ct))},appliesToListItem:()=>!0,setAttributeOnDowncast(e,t,i){t&&t!==Ct?e.setStyle("list-style-type",t,i):e.removeStyle("list-style-type",i)},getAttributeOnUpcast:e=>e.getStyle("list-style-type")||Ct}),e.reversed&&t.push({attributeName:"listReversed",defaultValue:!1,addCommand(e){e.commands.add("listReversed",new vt(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),setAttributeOnDowncast(e,t,i){t?e.setAttribute("reversed","reversed",i):e.removeAttribute("reversed",i)},getAttributeOnUpcast:e=>e.hasAttribute("reversed")}),e.startIndex&&t.push({attributeName:"listStart",defaultValue:1,addCommand(e){e.commands.add("listStart",new yt(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),setAttributeOnDowncast(e,t,i){0==t||t>1?e.setAttribute("start",t,i):e.removeAttribute("start",i)},getAttributeOnUpcast(e){const t=e.getAttribute("start");return t>=0?t:1}}),t}(e.config.get("list.properties"));t.schema.extend("listItem",{allowAttributes:i.map((e=>e.attributeName))});for(const t of i)t.addCommand(e);var o;this.listenTo(e.commands.get("indentList"),"_executeCleanup",function(e,t){return(i,o)=>{const n=o[0],r=n.getAttribute("listIndent"),s=o.filter((e=>e.getAttribute("listIndent")===r));let a=null;n.previousSibling.getAttribute("listIndent")+1!==r&&(a=me(n.previousSibling,{sameIndent:!0,direction:"backward",listIndent:r})),e.model.change((e=>{for(const i of s)for(const o of t)if(o.appliesToListItem(i)){const t=null==a?o.defaultValue:a.getAttribute(o.attributeName);e.setAttribute(o.attributeName,t,i)}}))}}(e,i)),this.listenTo(e.commands.get("outdentList"),"_executeCleanup",function(e,t){return(i,o)=>{if(!(o=o.reverse().filter((e=>e.is("element","listItem")))).length)return;const n=o[0].getAttribute("listIndent"),r=o[0].getAttribute("listType");let s=o[0].previousSibling;if(s.is("element","listItem"))for(;s.getAttribute("listIndent")!==n;)s=s.previousSibling;else s=null;s||(s=o[o.length-1].nextSibling),s&&s.is("element","listItem")&&s.getAttribute("listType")===r&&e.model.change((e=>{const i=o.filter((e=>e.getAttribute("listIndent")===n));for(const o of i)for(const i of t)if(i.appliesToListItem(o)){const t=i.attributeName,n=s.getAttribute(t);e.setAttribute(t,n,o)}}))}}(e,i)),this.listenTo(e.commands.get("bulletedList"),"_executeCleanup",Tt(e)),this.listenTo(e.commands.get("numberedList"),"_executeCleanup",Tt(e)),t.document.registerPostFixer(function(e,t){return i=>{let o=!1;const n=St(e.model.document.differ.getChanges()).filter((e=>"todo"!==e.getAttribute("listType")));if(!n.length)return o;let r=n[n.length-1].nextSibling;if((!r||!r.is("element","listItem"))&&(r=n[0].previousSibling,r)){const e=n[0].getAttribute("listIndent");for(;r.is("element","listItem")&&r.getAttribute("listIndent")!==e&&(r=r.previousSibling,r););}for(const e of t){const t=e.attributeName;for(const s of n)if(e.appliesToListItem(s))if(s.hasAttribute(t)){const n=s.previousSibling;Et(n,s,e.attributeName)&&(i.setAttribute(t,n.getAttribute(t),s),o=!0)}else At(r,s,e)?i.setAttribute(t,r.getAttribute(t),s):i.setAttribute(t,e.defaultValue,s),o=!0;else i.removeAttribute(t,s)}return o}}(e,i)),e.conversion.for("upcast").add((o=i,e=>{e.on("element:li",((e,t,i)=>{if(!t.modelRange)return;const n=t.viewItem.parent,r=t.modelRange.start.nodeAfter||t.modelRange.end.nodeBefore;for(const e of o)if(e.appliesToListItem(r)){const t=e.getAttributeOnUpcast(n);i.writer.setAttribute(e.attributeName,t,r)}}),{priority:"low"})})),e.conversion.for("downcast").add(function(e){return t=>{for(const i of e)t.on(`attribute:${i.attributeName}:listItem`,((e,t,o)=>{const n=o.writer,r=t.item,s=me(r.previousSibling,{sameIndent:!0,listIndent:r.getAttribute("listIndent"),direction:"backward"}),a=o.mapper.toViewElement(r);var l,c;l=r,(c=s)&&l.getAttribute("listType")===c.getAttribute("listType")&&l.getAttribute("listIndent")===c.getAttribute("listIndent")&&l.getAttribute("listStyle")===c.getAttribute("listStyle")&&l.getAttribute("listReversed")===c.getAttribute("listReversed")&&l.getAttribute("listStart")===c.getAttribute("listStart")||n.breakContainer(n.createPositionBefore(a)),i.setAttributeOnDowncast(n,t.attributeNewValue,a.parent)}),{priority:"low"})}}(i)),this._mergeListAttributesWhileMergingLists(i)}afterInit(){const e=this.editor;e.commands.get("todoList")&&e.model.document.registerPostFixer(function(e){return t=>{const i=St(e.model.document.differ.getChanges()).filter((e=>"todo"===e.getAttribute("listType")&&(e.hasAttribute("listStyle")||e.hasAttribute("listReversed")||e.hasAttribute("listStart"))));if(!i.length)return!1;for(const e of i)t.removeAttribute("listStyle",e),t.removeAttribute("listReversed",e),t.removeAttribute("listStart",e);return!0}}(e))}_mergeListAttributesWhileMergingLists(e){const t=this.editor.model;let i;this.listenTo(t,"deleteContent",((e,[t])=>{const o=t.getFirstPosition(),n=t.getLastPosition();if(o.parent===n.parent)return;if(!o.parent.is("element","listItem"))return;const r=n.parent.nextSibling;if(!r||!r.is("element","listItem"))return;const s=me(o.parent,{sameIndent:!0,listIndent:r.getAttribute("listIndent")});s&&s.getAttribute("listType")===r.getAttribute("listType")&&(i=s)}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{i&&(t.change((t=>{const o=me(i.nextSibling,{sameIndent:!0,listIndent:i.getAttribute("listIndent"),direction:"forward"});if(!o)return void(i=null);const n=[o,...fe(t.createPositionAt(o,0),"forward")];for(const o of n)for(const n of e)if(n.appliesToListItem(o)){const e=n.attributeName,r=i.getAttribute(e);t.setAttribute(e,r,o)}})),i=null)}),{priority:"low"})}}function At(e,t,i){if(!e)return!1;const o=e.getAttribute(i.attributeName);return!!o&&o!=i.defaultValue&&e.getAttribute("listType")===t.getAttribute("listType")}function Et(e,t,i){if(!e||!e.is("element","listItem"))return!1;if(t.getAttribute("listType")!==e.getAttribute("listType"))return!1;const o=e.getAttribute("listIndent");if(o<1||o!==t.getAttribute("listIndent"))return!1;const n=e.getAttribute(i);return!(!n||n===t.getAttribute(i))}function Tt(e){return(t,i)=>{i=i.filter((e=>e.is("element","listItem"))),e.model.change((e=>{for(const t of i)e.removeAttribute("listStyle",t)}))}}function St(e){const t=[];for(const i of e){const e=Pt(i);e&&e.is("element","listItem")&&t.push(e)}return t}function Pt(e){return"attribute"===e.type?e.range.start.nodeAfter:"insert"===e.type?e.position.nodeAfter:null}class It extends o.Sy{static get requires(){return[xt,Je]}static get pluginName(){return"ListProperties"}}const Vt="todoListChecked";class Rt extends o.mY{constructor(e){super(e),this._selectedElements=[],this.on("execute",(()=>{this.refresh()}),{priority:"highest"})}refresh(){this._selectedElements=this._getSelectedItems(),this.value=this._selectedElements.every((e=>!!e.getAttribute(Vt))),this.isEnabled=!!this._selectedElements.length}_getSelectedItems(){const e=this.editor.model,t=e.schema,i=e.document.selection.getFirstRange(),o=i.start.parent,n=[];t.checkAttribute(o,Vt)&&n.push(o);for(const e of i.getItems())t.checkAttribute(e,Vt)&&!n.includes(e)&&n.push(e);return n}execute(e={}){this.editor.model.change((t=>{for(const i of this._selectedElements)(void 0===e.forceValue?!this.value:e.forceValue)?t.setAttribute(Vt,!0,i):t.removeAttribute(Vt,i)}))}}const Ot=(e,t,i)=>{const o=t.modelCursor,n=o.parent,r=t.viewItem;if("checkbox"!=r.getAttribute("type")||"listItem"!=n.name||!o.isAtStart)return;if(!i.consumable.consume(r,{name:!0}))return;const s=i.writer;s.setAttribute("listType","todo",n),t.viewItem.hasAttribute("checked")&&s.setAttribute("todoListChecked",!0,n),t.modelRange=s.createRange(o)};function Bt(e){return(t,i)=>{const o=i.modelPosition,n=o.parent;if(!n.is("element","listItem")||"todo"!=n.getAttribute("listType"))return;const r=zt(i.mapper.toViewElement(n),e);r&&(i.viewPosition=i.mapper.findPositionIn(r,o.offset))}}function Mt(e,t,i,o){return t.createUIElement("label",{class:"todo-list__label",contenteditable:!1},(function(t){const n=(0,s.az)(document,"input",{type:"checkbox",tabindex:"-1"});i&&n.setAttribute("checked","checked"),n.addEventListener("change",(()=>o(e)));const r=this.toDomElement(t);return r.appendChild(n),r}))}function zt(e,t){const i=t.createRangeIn(e);for(const e of i)if(e.item.is("containerElement","span")&&e.item.hasClass("todo-list__label__description"))return e.item}const Nt=(0,s.Zz)("Ctrl+Enter");class Dt extends o.Sy{static get pluginName(){return"TodoListEditing"}static get requires(){return[bt]}init(){const e=this.editor,{editing:t,data:i,model:o}=e;o.schema.extend("listItem",{allowAttributes:["todoListChecked"]}),o.schema.addAttributeCheck(((e,t)=>{const i=e.last;if("todoListChecked"==t&&"listItem"==i.name&&"todo"!=i.getAttribute("listType"))return!1})),e.commands.add("todoList",new et(e,"todo"));const n=new Rt(e);var r,a;e.commands.add("checkTodoList",n),e.commands.add("todoListCheck",n),i.downcastDispatcher.on("insert:listItem",function(e){return(t,i,o)=>{const n=o.consumable;if(!n.test(i.item,"insert")||!n.test(i.item,"attribute:listType")||!n.test(i.item,"attribute:listIndent"))return;if("todo"!=i.item.getAttribute("listType"))return;const r=i.item;n.consume(r,"insert"),n.consume(r,"attribute:listType"),n.consume(r,"attribute:listIndent"),n.consume(r,"attribute:todoListChecked");const s=o.writer,a=ce(r,o);s.addClass("todo-list",a.parent);const l=s.createContainerElement("label",{class:"todo-list__label"}),c=s.createEmptyElement("input",{type:"checkbox",disabled:"disabled"}),d=s.createContainerElement("span",{class:"todo-list__label__description"});r.getAttribute("todoListChecked")&&s.setAttribute("checked","checked",c),s.insert(s.createPositionAt(a,0),l),s.insert(s.createPositionAt(l,0),c),s.insert(s.createPositionAfter(c),d),de(r,a,o,e)}}(o),{priority:"high"}),i.upcastDispatcher.on("element:input",Ot,{priority:"high"}),t.downcastDispatcher.on("insert:listItem",function(e,t){return(i,o,n)=>{const r=n.consumable;if(!r.test(o.item,"insert")||!r.test(o.item,"attribute:listType")||!r.test(o.item,"attribute:listIndent"))return;if("todo"!=o.item.getAttribute("listType"))return;const s=o.item;r.consume(s,"insert"),r.consume(s,"attribute:listType"),r.consume(s,"attribute:listIndent"),r.consume(s,"attribute:todoListChecked");const a=n.writer,l=ce(s,n),c=!!s.getAttribute("todoListChecked"),d=Mt(s,a,c,t),u=a.createContainerElement("span",{class:"todo-list__label__description"});a.addClass("todo-list",l.parent),a.insert(a.createPositionAt(l,0),d),a.insert(a.createPositionAfter(d),u),de(s,l,n,e)}}(o,(e=>this._handleCheckmarkChange(e))),{priority:"high"}),t.downcastDispatcher.on("attribute:listType:listItem",(r=e=>this._handleCheckmarkChange(e),a=t.view,(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.mapper.toViewElement(t.item),n=i.writer,s=function(e,t){const i=t.createRangeIn(e);for(const e of i)if(e.item.is("uiElement","label"))return e.item}(o,a);if("todo"==t.attributeNewValue){const e=!!t.item.getAttribute("todoListChecked"),i=Mt(t.item,n,e,r),s=n.createContainerElement("span",{class:"todo-list__label__description"}),a=n.createRangeIn(o),l=pe(o),c=he(a.start),d=l?n.createPositionBefore(l):a.end,u=n.createRange(c,d);n.addClass("todo-list",o.parent),n.move(u,n.createPositionAt(s,0)),n.insert(n.createPositionAt(o,0),i),n.insert(n.createPositionAfter(i),s)}else if("todo"==t.attributeOldValue){const e=zt(o,a);n.removeClass("todo-list",o.parent),n.remove(s),n.move(n.createRangeIn(e),n.createPositionBefore(e)),n.remove(e)}})),t.downcastDispatcher.on("attribute:todoListChecked:listItem",function(e){return(t,i,o)=>{if("todo"!=i.item.getAttribute("listType"))return;if(!o.consumable.consume(i.item,"attribute:todoListChecked"))return;const{mapper:n,writer:r}=o,s=!!i.item.getAttribute("todoListChecked"),a=n.toViewElement(i.item).getChild(0),l=Mt(i.item,r,s,e);r.insert(r.createPositionAfter(a),l),r.remove(a)}}((e=>this._handleCheckmarkChange(e)))),t.mapper.on("modelToViewPosition",Bt(t.view)),i.mapper.on("modelToViewPosition",Bt(t.view)),this.listenTo(t.view.document,"arrowKey",function(e,t){return(i,o)=>{if("left"!=(0,s.mA)(o.keyCode,t.contentLanguageDirection))return;const n=e.schema,r=e.document.selection;if(!r.isCollapsed)return;const a=r.getFirstPosition(),l=a.parent;if("listItem"===l.name&&"todo"==l.getAttribute("listType")&&a.isAtStart){const t=n.getNearestSelectionRange(e.createPositionBefore(l),"backward");t&&e.change((e=>e.setSelection(t))),o.preventDefault(),o.stopPropagation(),i.stop()}}}(o,e.locale),{context:"li"}),this.listenTo(t.view.document,"keydown",((t,i)=>{(0,s.Cq)(i)===Nt&&(e.execute("checkTodoList"),t.stop())}),{priority:"high"});const l=new Set;this.listenTo(o,"applyOperation",((e,t)=>{const i=t[0];if("rename"==i.type&&"listItem"==i.oldName){const e=i.position.nodeAfter;e.hasAttribute("todoListChecked")&&l.add(e)}else if("changeAttribute"==i.type&&"listType"==i.key&&"todo"===i.oldValue)for(const e of i.range.getItems())e.hasAttribute("todoListChecked")&&"todo"!==e.getAttribute("listType")&&l.add(e)})),o.document.registerPostFixer((e=>{let t=!1;for(const i of l)e.removeAttribute("todoListChecked",i),t=!0;return l.clear(),t}))}_handleCheckmarkChange(e){const t=this.editor,i=t.model,o=Array.from(i.document.selection.getRanges());i.change((i=>{i.setSelection(e,"end"),t.execute("checkTodoList"),i.setSelection(o)}))}}class Lt extends o.Sy{static get pluginName(){return"TodoListUI"}init(){const e=this.editor.t;ge(this.editor,"todoList",e("To-do List"),'<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>')}}var Ft=i(9292),Ht={attributes:{"data-cke":!0}};Ht.setAttributes=Q(),Ht.insert=J().bind(null,"head"),Ht.domAPI=K(),Ht.insertStyleElement=ee(),$()(Ft.Z,Ht),Ft.Z&&Ft.Z.locals&&Ft.Z.locals;class Wt extends o.Sy{static get requires(){return[Dt,Lt]}static get pluginName(){return"TodoList"}}},9829:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Mention:()=>W,MentionEditing:()=>s,MentionUI:()=>O});var o=i(6854),n=i(6553);class r extends o.mY{refresh(){const e=this.editor.model,t=e.document;this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"mention")}execute(e){const t=this.editor.model,i=t.document.selection,o="string"==typeof e.mention?{id:e.mention}:e.mention,r=o.id,s=e.range||i.getFirstRange(),l=e.text||r,c=a({_text:l,id:r},o);if(1!=e.marker.length)throw new n.Bb("mentioncommand-incorrect-marker",this);if(r.charAt(0)!=e.marker)throw new n.Bb("mentioncommand-incorrect-id",this);t.change((e=>{const o=(0,n.qL)(i.getAttributes()),r=new Map(o.entries());r.set("mention",c),t.insertContent(e.createText(l,r),s),t.insertContent(e.createText(" ",o),s.start.getShiftedBy(l.length))}))}}class s extends o.Sy{static get pluginName(){return"MentionEditing"}init(){const e=this.editor,t=e.model,i=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=>l(e)}}),e.conversion.for("downcast").attributeToElement({model:"mention",view:d}),e.conversion.for("downcast").add(c),i.registerPostFixer((e=>function(e,t,i){const o=t.differ.getChanges();let n=!1;for(const t of o){if("attribute"==t.type)continue;const o=t.position;if("$text"==t.name){const t=o.textNode&&o.textNode.nextSibling;n=h(o.textNode,e)||n,n=h(t,e)||n,n=h(o.nodeBefore,e)||n,n=h(o.nodeAfter,e)||n}if("$text"!=t.name&&"insert"==t.type){const t=o.nodeAfter;for(const i of e.createRangeIn(t).getItems())n=h(i,e)||n}if("insert"==t.type&&i.isInline(t.name)){const t=o.nodeAfter&&o.nodeAfter.nextSibling;n=h(o.nodeBefore,e)||n,n=h(t,e)||n}}return n}(e,i,t.schema))),i.registerPostFixer((e=>function(e,t){const i=t.differ.getChanges();let o=!1;for(const t of i)if("attribute"===t.type&&"mention"!=t.attributeKey){const i=t.range.start.nodeBefore,n=t.range.end.nodeAfter;for(const r of[i,n])u(r)&&r.getAttribute(t.attributeKey)!=t.attributeNewValue&&(e.setAttribute(t.attributeKey,t.attributeNewValue,r),o=!0)}return o}(e,i))),i.registerPostFixer((e=>function(e,t){const i=t.selection,o=i.focus;return!!(i.isCollapsed&&i.hasAttribute("mention")&&function(e){const t=e.isAtStart;return e.nodeBefore&&e.nodeBefore.is("$text")||t}(o))&&(e.removeSelectionAttribute("mention"),!0)}(e,i))),e.commands.add("mention",new r(e))}}function a(e,t){return Object.assign({uid:(0,n.hQ)()},e,t||{})}function l(e,t){const i=e.getAttribute("data-mention"),o=e.getChild(0);if(o)return a({id:i,_text:o.data},t)}function c(e){e.on("attribute:mention",((e,t,i)=>{const o=t.attributeNewValue;if(!t.item.is("$textProxy")||!o)return;const n=t.range.start;(n.textNode||n.nodeAfter).data!=o._text&&i.consumable.consume(t.item,e.name)}),{priority:"highest"})}function d(e,{writer:t}){if(!e)return;const i={class:"mention","data-mention":e.id},o={id:e.uid,priority:20};return t.createAttributeElement("span",i,o)}function u(e){return!(!e||!e.is("$text")&&!e.is("$textProxy")||!e.hasAttribute("mention"))&&e.data!=e.getAttribute("mention")._text}function h(e,t){return!!u(e)&&(t.removeAttribute("mention",e),!0)}var m=i(7095),g=i(5187),p=i(6682),f=i(3379),b=i.n(f),w=i(9037),k=i.n(w),_=i(569),v=i.n(_),y=i(8575),C=i.n(y),x=i(9216),A=i.n(x),E=i(9139),T={attributes:{"data-cke":!0}};T.setAttributes=C(),T.insert=v().bind(null,"head"),T.domAPI=k(),T.insertStyleElement=A(),b()(E.Z,T),E.Z&&E.Z.locals&&E.Z.locals;class S extends m.Bv{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 i=this.items.get(t);this.selected!==i&&(this.selected&&this.selected.removeHighlight(),i.highlight(),this.selected=i,this._isItemVisibleInScrolledArea(i)||(this.element.scrollTop=i.element.offsetTop))}executeSelected(){this.selected.fire("execute")}_isItemVisibleInScrolledArea(e){return new n.UL(this.element).contains(new n.UL(e.element))}}class P extends m.G7{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,i)=>{i?(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}}class I extends m.dn{highlight(){this.children.first.isOn=!0}removeHighlight(){this.children.first.isOn=!1}}const V=[n.Do.arrowup,n.Do.arrowdown,n.Do.esc],R=[n.Do.enter,n.Do.tab];class O extends o.Sy{static get pluginName(){return"MentionUI"}static get requires(){return[m.WB]}constructor(e){super(e),this._items=new n.FE,this._mentionsView=this._createMentionView(),this._mentionsConfigurations=new Map,this._requestFeedDebounced=(0,p.Z)(this._requestFeed,100),e.config.define("mention",{feeds:[]})}init(){const e=this.editor,t=e.config.get("mention.commitKeys")||R,i=V.concat(t);this._balloon=e.plugins.get(m.WB),e.editing.view.document.on("keydown",((e,o)=>{var r;r=o.keyCode,i.includes(r)&&this._isUIVisible&&(o.preventDefault(),e.stop(),o.keyCode==n.Do.arrowdown&&this._mentionsView.selectNext(),o.keyCode==n.Do.arrowup&&this._mentionsView.selectPrevious(),t.includes(o.keyCode)&&this._mentionsView.executeSelected(),o.keyCode==n.Do.esc&&this._hideUIAndRemoveMarker())}),{priority:"highest"}),(0,m.eC)({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:t,marker:i,dropdownLimit:o}=e;if(!D(i))throw new n.Bb("mentionconfig-incorrect-marker",null,{marker:i});const r={marker:i,feedCallback:"function"==typeof t?t.bind(this.editor):N(t),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 S(e);return t.items.bindTo(this._items).using((i=>{const{item:o,marker:n}=i,{dropdownLimit:r}=this._mentionsConfigurations.get(n),s=r||this.editor.config.get("mention.dropdownLimit")||10;if(t.items.length>=s)return null;const a=new I(e),l=this._renderItem(o,n);return l.delegate("execute").to(a),a.children.add(l),a.item=o,a.marker=n,a.on("execute",(()=>{t.fire("execute",{item:o,marker:n})})),a})),t.on("execute",((e,t)=>{const i=this.editor,o=i.model,n=t.item,r=t.marker,s=i.model.markers.get("mention"),a=o.createPositionAt(o.document.selection.focus),l=o.createPositionAt(s.getStart()),c=o.createRange(l,a);this._hideUIAndRemoveMarker(),i.execute("mention",{mention:n,text:n.text,marker:r,range:c}),i.editing.view.focus()})),t}_getItemRenderer(e){const{itemRenderer:t}=this._mentionsConfigurations.get(e);return t}_requestFeed(e,t){this._lastRequested=t;const{feedCallback:i}=this._mentionsConfigurations.get(e),o=i(t);o instanceof Promise?o.then((i=>{this._lastRequested==t?this.fire("requestFeed:response",{feed:i,marker:e,feedText:t}):this.fire("requestFeed:discarded",{feed:i,marker:e,feedText:t})})).catch((t=>{this.fire("requestFeed:error",{error:t}),(0,n.KE)("mention-feed-callback-error",{marker:e})})):this.fire("requestFeed:response",{feed:o,marker:e,feedText:t})}_setupTextWatcher(e){const t=this.editor,i=e.map((e=>({...e,pattern:z(e.marker,e.minimumCharacters||0)}))),o=new g.uL(t.model,function(e){return t=>{const i=M(e,t);if(!i)return!1;let o=0;0!==i.position&&(o=i.position-1);const n=t.substring(o);return i.pattern.test(n)}}(i));o.on("matched",((e,o)=>{const n=M(i,o.text),r=t.model.document.selection.focus,s=t.model.createPositionAt(r.parent,n.position);if(function(e){const t=e.textNode&&e.textNode.hasAttribute("mention"),i=e.nodeBefore;return t||i&&i.is("$text")&&i.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 i=0;0!==e.position&&(i=e.position-1);const o=z(e.marker,0);return t.substring(i).match(o)[2]}(n,o.text),l=n.marker.length+a.length,c=r.getShiftedBy(-l),d=r.getShiftedBy(-a.length),u=t.model.createRange(c,d);if(L(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(n.marker,a)})),o.on("unmatched",(()=>{this._hideUIAndRemoveMarker()}));const n=t.commands.get("mention");return o.bind("isEnabled").to(n),o}_handleFeedResponse(e){const{feed:t,marker:i}=e;if(!L(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:i})}const o=this.editor.model.markers.get("mention");this._items.length?this._showOrUpdateUI(o):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),L(this.editor)&&this.editor.model.change((e=>e.removeMarker("mention"))),this._mentionsView.position=void 0}_renderItem(e,t){const i=this.editor;let o,n=e.id;const r=this._getItemRenderer(t);if(r){const t=r(e);"string"!=typeof t?o=new P(i.locale,t):n=t}if(!o){const e=new m.r5(i.locale);e.label=n,e.withText=!0,o=e}return o}_getBalloonPanelPositionData(e,t){const i=this.editor,o=i.editing,r=o.view.domConverter,s=o.mapper;return{target:()=>{let t=e.getRange();"$graveyard"==t.start.root.rootName&&(t=i.model.document.selection.getFirstRange());const o=s.toViewRange(t);return n.UL.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:B(t,i.locale.uiLanguageDirection)}}}function B(e,t){const i={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(i,e)?[i[e]]:"rtl"!==t?[i.caret_se,i.caret_sw,i.caret_ne,i.caret_nw]:[i.caret_sw,i.caret_se,i.caret_nw,i.caret_ne]}function M(e,t){let i;for(const o of e){const e=t.lastIndexOf(o.marker);e>0&&!t.substring(e-1).match(o.pattern)||(!i||e>=i.position)&&(i={marker:o.marker,position:e,minimumCharacters:o.minimumCharacters,pattern:o.pattern})}return i}function z(e,t){const i=0==t?"*":`{${t},}`,o=n.OB.features.isRegExpUnicodePropertySupported?"\\p{Ps}\\p{Pi}\"'":"\\(\\[{\"'";return new RegExp(`(?:^|[ ${o}])([${e}])(.${i})$`,"u")}function N(e){return t=>e.filter((e=>("string"==typeof e?e:String(e.id)).toLowerCase().includes(t.toLowerCase())))}function D(e){return e&&1==e.length}function L(e){return e.model.markers.has("mention")}var F=i(8544),H={attributes:{"data-cke":!0}};H.setAttributes=C(),H.insert=v().bind(null,"head"),H.domAPI=k(),H.insertStyleElement=A(),b()(F.Z,H),F.Z&&F.Z.locals&&F.Z.locals;class W extends o.Sy{toMentionAttribute(e,t){return l(e,t)}static get pluginName(){return"Mention"}static get requires(){return[s,O]}}},4690:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Paragraph:()=>l,ParagraphButtonUI:()=>u});var o=i(7578),n=i(7732);class r extends o.Command{refresh(){const e=this.editor.model,t=e.document,i=(0,n.first)(t.selection.getSelectedBlocks());this.value=!!i&&i.is("element","paragraph"),this.isEnabled=!!i&&s(i,e.schema)}execute(e={}){const t=this.editor.model,i=t.document;t.change((o=>{const n=(e.selection||i.selection).getSelectedBlocks();for(const e of n)!e.is("element","paragraph")&&s(e,t.schema)&&o.rename(e,"paragraph")}))}}function s(e,t){return t.checkChild(e.parent,"paragraph")&&!t.isObject(e)}class a extends o.Command{execute(e){const t=this.editor.model,i=e.attributes;let o=e.position;t.change((e=>{const n=e.createElement("paragraph");if(i&&t.schema.setAllowedAttributes(n,i,e),!t.schema.checkChild(o.parent,n)){const i=t.schema.findAllowedParent(o,n);if(!i)return;o=e.split(o,i).position}t.insertContent(n,o),e.setSelection(n,"in")}))}}class l extends o.Plugin{static get pluginName(){return"Paragraph"}init(){const e=this.editor,t=e.model;e.commands.add("paragraph",new r(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})=>l.paragraphLikeElements.has(e.name)?e.isEmpty?null:t.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}}l.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);var c=i(3905);const d=o.icons.paragraph;class u extends o.Plugin{static get requires(){return[l]}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("paragraph",(i=>{const o=new c.ButtonView(i),n=e.commands.get("paragraph");return o.label=t("Paragraph"),o.icon=d,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(n),o.bind("isOn").to(n,"value"),o.on("execute",(()=>{e.execute("paragraph")})),o}))}}},189:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PasteFromOffice:()=>b});var o=i(6854),n=i(7197),r=i(3291);function s(e,t,i,{blockElements:o,inlineObjectElements:n}){let r=i.createPositionAt(e,"forward"==t?"after":"before");return r=r.getLastMatchingPosition((({item:e})=>e.is("element")&&!o.includes(e.name)&&!n.includes(e.name)),{direction:t}),"forward"==t?r.nodeAfter:r.nodeBefore}function a(e,t){return!!e&&e.is("element")&&t.includes(e.name)}function l(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 c(e,t,i){const o=t.parent,n=i.createElement(e.type),r=o.getChildIndex(t)+1;return i.insertChild(r,n,o),e.style&&i.setStyle("list-style-type",e.style,n),e.startIndex&&e.startIndex>1&&i.setAttribute("start",e.startIndex,n),n}function d(e){const t={},i=e.getStyle("mso-list");if(i){const e=i.match(/(^|\s{1,100})l(\d+)/i),o=i.match(/\s{0,100}lfo(\d+)/i),n=i.match(/\s{0,100}level(\d+)/i);e&&o&&n&&(t.id=e[2],t.order=o[1],t.indent=parseInt(n[1]))}return t}const u=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class h{constructor(e){this.document=e}isActive(e){return u.test(e)}execute(e){const t=new r.yj(this.document),{body:i}=e._parsedData;!function(e,t){for(const i of e.getChildren())if(i.is("element","b")&&"normal"===i.getStyle("font-weight")){const o=e.getChildIndex(i);t.remove(i),t.insertChild(o,i.getChildren(),e)}}(i,t),function(e,t){for(const i of t.createRangeIn(e)){const e=i.item;if(e.is("element","li")){const i=e.getChild(0);i&&i.is("element","p")&&t.unwrapElement(i)}}}(i,t),function(e,t){const i=new r.Ux(t.document.stylesProcessor),o=new r.pG(i,{renderingMode:"data"}),n=o.blockElements,l=o.inlineObjectElements,c=[];for(const i of t.createRangeIn(e)){const e=i.item;if(e.is("element","br")){const i=s(e,"forward",t,{blockElements:n,inlineObjectElements:l}),o=s(e,"backward",t,{blockElements:n,inlineObjectElements:l}),r=a(i,n);(a(o,n)||r)&&c.push(e)}}for(const e of c)e.hasClass("Apple-interchange-newline")?t.remove(e):t.replace(e,t.createElement("p"))}(i,t),e.content=i}}const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,g=/xmlns:o="urn:schemas-microsoft-com/i;class p{constructor(e){this.document=e}isActive(e){return m.test(e)||g.test(e)}execute(e){const{body:t,stylesString:i}=e._parsedData;(function(e,t){if(!e.childCount)return;const i=new r.yj(e.document),o=function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),n=[];for(const e of i)if("elementStart"===e.type&&o.match(e.item)){const t=d(e.item);n.push({element:e.item,id:t.id,order:t.order,indent:t.indent})}return n}(e,i);if(!o.length)return;let n=null,s=1;o.forEach(((e,a)=>{const d=function(e,t){if(!e)return!0;if(e.id!==t.id)return t.indent-e.indent!=1;const i=t.element.previousSibling;return!i||!((o=i).is("element","ol")||o.is("element","ul"));var o}(o[a-1],e),u=(m=e,(h=d?null:o[a-1])?m.indent-h.indent:m.indent-1);var h,m;if(d&&(n=null,s=1),!n||0!==u){const o=function(e,t){const i=/mso-level-number-format:([^;]{0,100});/gi,o=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi").exec(t);let r="decimal",s="ol",a=null;if(n&&n[1]){const t=i.exec(n[1]);if(t&&t[1]&&(r=t[1].trim(),s="bullet"!==r&&"image"!==r?"ol":"ul"),"bullet"===r){const t=function(e){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 i=t._data;return"o"===i?"circle":"·"===i?"disc":"§"===i?"square":null}(e.element);t&&(r=t)}else{const e=o.exec(n[1]);e&&e[1]&&(a=parseInt(e[1]))}}return{type:s,startIndex:a,style:l(r)}}(e,t);if(n){if(e.indent>s){const e=n.getChild(n.childCount-1),t=e.getChild(e.childCount-1);n=c(o,t,i),s+=1}else if(e.indent<s){const t=s-e.indent;n=function(e,t){const i=e.getAncestors({parentFirst:!0});let o=null,n=0;for(const e of i)if((e.is("element","ul")||e.is("element","ol"))&&n++,n===t){o=e;break}return o}(n,t),s=e.indent}}else n=c(o,e.element,i);e.indent<=s&&(n.is("element",o.type)||(n=i.rename(o.type,n)))}const g=function(e,t){return function(e,t){const i=new r.xO({name:"span",styles:{"mso-list":"Ignore"}}),o=t.createRangeIn(e);for(const e of o)"elementStart"===e.type&&i.match(e.item)&&t.remove(e.item)}(e,t),t.rename("li",e)}(e.element,i);i.appendChild(g,n)}))})(t,i),function(e,t){if(!e.childCount)return;const i=new r.yj(e.document),o=function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:/v:(.+)/}),n=[];for(const e of i){if("elementStart"!=e.type)continue;const t=e.item,i=t.previousSibling,r=i&&i.is("element")?i.name:null;o.match(t)&&t.getAttribute("o:gfxdata")&&"v:shapetype"!==r&&n.push(e.item.getAttribute("id"))}return n}(e,i);!function(e,t,i){const o=i.createRangeIn(t),n=new r.xO({name:"img"}),s=[];for(const t of o)if(t.item.is("element")&&n.match(t.item)){const i=t.item,o=i.getAttribute("v:shapes")?i.getAttribute("v:shapes").split(" "):[];o.length&&o.every((t=>e.indexOf(t)>-1))?s.push(i):i.getAttribute("src")||s.push(i)}for(const e of s)i.remove(e)}(o,e,i),function(e,t,i){const o=i.createRangeIn(t),n=[];for(const t of o)if("elementStart"==t.type&&t.item.is("element","v:shape")){const i=t.item.getAttribute("id");if(e.includes(i))continue;r(t.item.parent.getChildren(),i)||n.push(t.item)}for(const e of n){const t={src:s(e)};e.hasAttribute("alt")&&(t.alt=e.getAttribute("alt"));const o=i.createElement("img",t);i.insertChild(e.index+1,o,e.parent)}function r(e,t){for(const i of e)if(i.is("element")){if("img"==i.name&&i.getAttribute("v:shapes")==t)return!0;if(r(i.getChildren(),t))return!0}return!1}function s(e){for(const t of e.getChildren())if(t.is("element")&&t.getAttribute("src"))return t.getAttribute("src")}}(o,e,i),function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:/v:(.+)/}),n=[];for(const e of i)"elementStart"==e.type&&o.match(e.item)&&n.push(e.item);for(const e of n)t.remove(e)}(e,i);const n=function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:"img"}),n=[];for(const e of i)e.item.is("element")&&o.match(e.item)&&e.item.getAttribute("src").startsWith("file://")&&n.push(e.item);return n}(e,i);n.length&&function(e,t,i){if(e.length===t.length)for(let n=0;n<e.length;n++){const r=`data:${t[n].type};base64,${o=t[n].hex,btoa(o.match(/\w{2}/g).map((e=>String.fromCharCode(parseInt(e,16)))).join(""))}`;i.setAttribute("src",r,e[n])}var o}(n,function(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,i=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),o=e.match(i),n=[];if(o)for(const e of o){let i=!1;e.includes("\\pngblip")?i="image/png":e.includes("\\jpegblip")&&(i="image/jpeg"),i&&n.push({hex:e.replace(t,"").replace(/[^\da-fA-F]/g,""),type:i})}return n}(t),i)}(t,e.dataTransfer.getData("text/rtf")),e.content=t}}function f(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)))}class b extends o.Sy{static get pluginName(){return"PasteFromOffice"}static get requires(){return[n._l]}init(){const e=this.editor,t=e.plugins.get("ClipboardPipeline"),i=e.editing.view.document,o=[];o.push(new p(i)),o.push(new h(i)),t.on("inputTransformation",((t,n)=>{if(n._isTransformedWithPasteFromOffice)return;if(e.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const s=n.dataTransfer.getData("text/html"),a=o.find((e=>e.isActive(s)));a&&(n._parsedData=function(e,t){const i=new DOMParser,o=function(e){return f(f(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(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(e){const t="</body>",i=e.indexOf(t);if(i<0)return e;const o=e.indexOf("</html>",i+7);return e.substring(0,i+7)+(o>=0?e.substring(o):"")}(e=e.replace(/<!--\[if gte vml 1]>/g,""))),n=i.parseFromString(o,"text/html");!function(e){e.querySelectorAll("span[style*=spacerun]").forEach((e=>{const t=e,i=t.innerText.length||0;t.innerText=Array(i+1).join("  ").substr(0,i)}))}(n);const s=n.body.innerHTML,a=function(e,t){const i=new r.Ux(t),o=new r.pG(i,{renderingMode:"data"}),n=e.createDocumentFragment(),s=e.body.childNodes;for(;s.length>0;)n.appendChild(s[0]);return o.domToView(n,{skipComments:!0})}(n,t),l=function(e){const t=[],i=[],o=Array.from(e.getElementsByTagName("style"));for(const e of o)e.sheet&&e.sheet.cssRules&&e.sheet.cssRules.length&&(t.push(e.sheet),i.push(e.innerHTML));return{styles:t,stylesString:i.join(" ")}}(n);return{body:a,bodyString:s,styles:l.styles,stylesString:l.stylesString}}(s,i.stylesProcessor),a.execute(n),n._isTransformedWithPasteFromOffice=!0)}),{priority:"high"})}}},9501:(e,t,i)=>{"use strict";i.r(t),i.d(t,{RemoveFormat:()=>d,RemoveFormatEditing:()=>c,RemoveFormatUI:()=>s});var o=i(6854),n=i(7095);const r="removeFormat";class s extends o.Sy{static get pluginName(){return"RemoveFormatUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(r,(i=>{const o=e.commands.get(r),s=new n.r5(i);return s.set({label:t("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>',tooltip:!0}),s.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(s,"execute",(()=>{e.execute(r),e.editing.view.focus()})),s}))}}var a=i(6553);class l extends o.mY{refresh(){const e=this.editor.model;this.isEnabled=!!(0,a.Ps)(this._getFormattingItems(e.document.selection,e.schema))}execute(){const e=this.editor.model,t=e.schema;e.change((i=>{for(const o of this._getFormattingItems(e.document.selection,t))if(o.is("selection"))for(const e of this._getFormattingAttributes(o,t))i.removeSelectionAttribute(e);else{const e=i.createRangeOn(o);for(const n of this._getFormattingAttributes(o,t))i.removeAttribute(n,e)}}))}*_getFormattingItems(e,t){const i=e=>!!(0,a.Ps)(this._getFormattingAttributes(e,t));for(const o of e.getRanges())for(const e of o.getItems())!t.isBlock(e)&&i(e)&&(yield e);for(const t of e.getSelectedBlocks())i(t)&&(yield t);i(e)&&(yield e)}*_getFormattingAttributes(e,t){for(const[i]of e.getAttributes()){const e=t.getAttributeProperties(i);e&&e.isFormatting&&(yield i)}}}class c extends o.Sy{static get pluginName(){return"RemoveFormatEditing"}init(){const e=this.editor;e.commands.add("removeFormat",new l(e))}}class d extends o.Sy{static get requires(){return[c,s]}static get pluginName(){return"RemoveFormat"}}},8497:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PlainTableOutput:()=>Ue,Table:()=>Ze,TableCaption:()=>Ti,TableCaptionEditing:()=>Ci,TableCaptionUI:()=>xi,TableCellProperties:()=>Yt,TableCellPropertiesEditing:()=>Jt,TableCellPropertiesUI:()=>zt,TableCellWidthEditing:()=>Lt,TableClipboard:()=>Re,TableColumnResize:()=>$i,TableColumnResizeEditing:()=>Zi,TableEditing:()=>ve,TableKeyboard:()=>ze,TableMouse:()=>Le,TableProperties:()=>bi,TablePropertiesEditing:()=>li,TablePropertiesUI:()=>fi,TableSelection:()=>Ve,TableToolbar:()=>Ge,TableUI:()=>Te,TableUtils:()=>U});var o=i(6854),n=i(5549);function r(e,t){const{modelAttribute:i,styleName:o,viewElement:n,defaultValue:r,reduceBoxSides:s=!1,shouldUpcast:a=(()=>!0)}=t;e.for("upcast").attributeToAttribute({view:{name:n,styles:{[o]:/[\s\S]+/}},model:{key:i,value:e=>{if(!a(e))return;const t=e.getNormalizedStyle(o),i=s?c(t):t;return r!==i?i:void 0}}})}function s(e,t,i,o){e.for("upcast").add((e=>e.on("element:"+t,((e,t,n)=>{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 s={styles:r};if(!n.consumable.test(t.viewItem,s))return;const a=[...t.modelRange.getItems({shallow:!0})].pop();n.consumable.consume(t.viewItem,s);const l={style:t.viewItem.getNormalizedStyle("border-style"),color:t.viewItem.getNormalizedStyle("border-color"),width:t.viewItem.getNormalizedStyle("border-width")},d={style:c(l.style),color:c(l.color),width:c(l.width)};d.style!==o.style&&n.writer.setAttribute(i.style,d.style,a),d.color!==o.color&&n.writer.setAttribute(i.color,d.color,a),d.width!==o.width&&n.writer.setAttribute(i.width,d.width,a)}))))}function a(e,t){const{modelElement:i,modelAttribute:o,styleName:n}=t;e.for("downcast").attributeToAttribute({model:{name:i,key:o},view:e=>({key:"style",value:{[n]:e}})})}function l(e,t){const{modelAttribute:i,styleName:o}=t;e.for("downcast").add((e=>e.on(`attribute:${i}:table`,((e,t,i)=>{const{item:n,attributeNewValue:r}=t,{mapper:s,writer:a}=i;if(!i.consumable.consume(t.item,e.name))return;const l=[...s.toViewElement(n).getChildren()].find((e=>e.is("element","table")));r?a.setStyle(o,r,l):a.removeStyle(o,l)}))))}function c(e){if(!e)return;const t=["top","right","bottom","left"];if(!t.every((t=>e[t])))return e;const i=e.top;return t.every((t=>e[t]===i))?i:e}function d(e,t,i,o,n=1){null!=t&&null!=n&&t>n?o.setAttribute(e,t,i):o.removeAttribute(e,i)}function u(e,t,i={}){const o=e.createElement("tableCell",i);return e.insertElement("paragraph",o),e.insert(o,t),o}function h(e,t){const i=t.parent.parent,o=parseInt(i.getAttribute("headingColumns")||"0"),{column:n}=e.getCellLocation(t);return!!o&&n<o}function m(e,t,i){const{modelAttribute:o}=i;e.extend("tableCell",{allowAttributes:[o]}),r(t,{viewElement:/^(td|th)$/,...i}),a(t,{modelElement:"tableCell",...i})}var g=i(6553);function p(e){return t=>{t.on(`element:${e}`,((e,t,{writer:i})=>{if(!t.modelRange)return;const o=t.modelRange.start.nodeAfter,n=i.createPositionAt(o,0);if(t.viewItem.isEmpty)return void i.insertElement("paragraph",n);const r=Array.from(o.getChildren());if(r.every((e=>e.is("element","$marker")))){const e=i.createElement("paragraph");i.insert(e,i.createPositionAt(o,0));for(const t of r)i.move(i.createRangeOn(t),i.createPositionAt(e,"end"))}}),{priority:"low"})}}function f(e){let t=0,i=0;const o=Array.from(e.getChildren()).filter((e=>"th"===e.name||"td"===e.name));for(;i<o.length&&"th"===o[i].name;){const e=o[i];t+=parseInt(e.getAttribute("colspan")||"1"),i++}return t}class b{constructor(e,t={}){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(){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 i=this._getSpanned();if(i)this._includeAllSlots&&!this._shouldSkipSlot()&&(t=this._formatOutValue(i.cell,i.row,i.column));else{const i=e.getChild(this._cellIndex);if(!i)return this._advanceToNextRow();const o=parseInt(i.getAttribute("colspan")||"1"),n=parseInt(i.getAttribute("rowspan")||"1");(o>1||n>1)&&this._recordSpans(i,n,o),this._shouldSkipSlot()||(t=this._formatOutValue(i)),this._nextCellAtColumn=this._column+o}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,i=this._column){return{done:!1,value:new w(this,e,t,i)}}_shouldSkipSlot(){const e=this._skipRows.has(this._row),t=this._row<this._startRow,i=this._column<this._startColumn,o=void 0!==this._endColumn&&this._column>this._endColumn;return e||t||i||o}_getSpanned(){const e=this._spannedCells.get(this._row);return e&&e.get(this._column)||null}_recordSpans(e,t,i){const o={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+i;t++)e==this._row&&t==this._column||this._markSpannedCell(e,t,o)}_markSpannedCell(e,t,i){this._spannedCells.has(e)||this._spannedCells.set(e,new Map),this._spannedCells.get(e).set(t,i)}}class w{constructor(e,t,i,o){this.cell=t,this.row=e._row,this.column=e._column,this.cellAnchorRow=i,this.cellAnchorColumn=o,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,t){return(i,{writer:o})=>{const r=i.getAttribute("headingRows")||0,s=o.createContainerElement("table",null,[]),a=o.createContainerElement("figure",{class:"table"},s);r>0&&o.insert(o.createPositionAt(s,"end"),o.createContainerElement("thead",null,o.createSlot((e=>e.is("element","tableRow")&&e.index<r)))),r<e.getRows(i)&&o.insert(o.createPositionAt(s,"end"),o.createContainerElement("tbody",null,o.createSlot((e=>e.is("element","tableRow")&&e.index>=r))));for(const{positionOffset:e,filter:i}of t.additionalSlots)o.insert(o.createPositionAt(s,e),o.createSlot(i));return o.insert(o.createPositionAt(s,"after"),o.createSlot((e=>!e.is("element","tableRow")&&!t.additionalSlots.some((({filter:t})=>t(e)))))),t.asWidget?function(e,t){return t.setCustomProperty("table",!0,e),(0,n.XC)(e,t,{hasSelectionHandle:!0})}(a,o):a}}function _(e={}){return(t,{writer:i})=>{const o=t.parent,r=o.parent,s=r.getChildIndex(o),a=new b(r,{row:s}),l=r.getAttribute("headingRows")||0,c=r.getAttribute("headingColumns")||0;let d=null;for(const o of a)if(o.cell==t){const t=o.row<l||o.column<c?"th":"td";d=e.asWidget?(0,n.sC)(i.createEditableElement(t),i):i.createContainerElement(t);break}return d}}function v(e={}){return(t,{writer:i})=>{if(!t.parent.is("element","tableCell"))return null;if(!y(t))return null;if(e.asWidget)return i.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const e=i.createContainerElement("p");return i.setCustomProperty("dataPipeline:transparentRendering",!0,e),e}}}function y(e){return 1==e.parent.childCount&&!!e.getAttributeKeys().next().done}class C extends o.mY{refresh(){const e=this.editor.model,t=e.document.selection,i=e.schema;this.isEnabled=function(e,t){const i=e.getFirstPosition().parent,o=i===i.root?i:i.parent;return t.checkChild(o,"table")}(t,i)}execute(e={}){const t=this.editor,i=t.model,o=t.plugins.get("TableUtils"),n=t.config.get("table.defaultHeadings.rows"),r=t.config.get("table.defaultHeadings.columns");void 0===e.headingRows&&n&&(e.headingRows=n),void 0===e.headingColumns&&r&&(e.headingColumns=r),i.change((t=>{const n=o.createTable(t,e);i.insertObject(n,null,null,{findOptimalPosition:"auto"}),t.setSelection(t.createPositionAt(n.getNodeByPath([0,0,0]),0))}))}}class x extends o.mY{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,i=e.plugins.get("TableUtils"),o="above"===this.order,n=i.getSelectionAffectedTableCells(t),r=i.getRowIndexes(n),s=o?r.first:r.last,a=n[0].findAncestor("table");i.insertRows(a,{at:o?s:s+1,copyStructureFromAbove:!o})}}class A extends o.mY{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,i=e.plugins.get("TableUtils"),o="left"===this.order,n=i.getSelectionAffectedTableCells(t),r=i.getColumnIndexes(n),s=o?r.first:r.last,a=n[0].findAncestor("table");i.insertColumns(a,{columns:1,at:o?s:s+1})}}class E extends o.mY{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 T(e,t,i){const{startRow:o,startColumn:n,endRow:r,endColumn:s}=t,a=i.createElement("table"),l=r-o+1;for(let e=0;e<l;e++)i.insertElement("tableRow",a,"end");const c=[...new b(e,{startRow:o,endRow:r,startColumn:n,endColumn:s,includeAllSlots:!0})];for(const{row:e,column:t,cell:l,isAnchor:d,cellAnchorRow:h,cellAnchorColumn:m}of c){const c=e-o,g=a.getChild(c);if(d){const o=i.cloneElement(l);i.append(o,g),R(o,e,t,r,s,i)}else(h<o||m<n)&&u(i,i.createPositionAt(g,"end"))}return function(e,t,i,o,n){const r=parseInt(t.getAttribute("headingRows")||"0");r>0&&d("headingRows",r-i,e,n,0);const s=parseInt(t.getAttribute("headingColumns")||"0");s>0&&d("headingColumns",s-o,e,n,0)}(a,e,o,n,i),a}function S(e,t,i=0){const o=[],n=new b(e,{startRow:i,endRow:t-1});for(const e of n){const{row:i,cellHeight:n}=e;i<t&&t<=i+n-1&&o.push(e)}return o}function P(e,t,i){const o=e.parent,n=o.parent,r=o.index,s=t-r,a={},l=parseInt(e.getAttribute("rowspan"))-s;l>1&&(a.rowspan=l);const c=parseInt(e.getAttribute("colspan")||"1");c>1&&(a.colspan=c);const h=r+s,m=[...new b(n,{startRow:r,endRow:h,includeAllSlots:!0})];let g,p=null;for(const t of m){const{row:o,column:n,cell:r}=t;r===e&&void 0===g&&(g=n),void 0!==g&&g===n&&o===h&&(p=u(i,t.getPositionBefore(),a))}return d("rowspan",s,e,i),p}function I(e,t){const i=[],o=new b(e);for(const e of o){const{column:o,cellWidth:n}=e;o<t&&t<=o+n-1&&i.push(e)}return i}function V(e,t,i,o){const n=i-t,r={},s=parseInt(e.getAttribute("colspan"))-n;s>1&&(r.colspan=s);const a=parseInt(e.getAttribute("rowspan")||"1");a>1&&(r.rowspan=a);const l=u(o,o.createPositionAfter(e),r);return d("colspan",n,e,o),l}function R(e,t,i,o,n,r){const s=parseInt(e.getAttribute("colspan")||"1"),a=parseInt(e.getAttribute("rowspan")||"1");i+s-1>n&&d("colspan",n-i+1,e,r,1),t+a-1>o&&d("rowspan",o-t+1,e,r,1)}function O(e,t){const i=t.getColumns(e),o=new Array(i).fill(0);for(const{column:t}of new b(e))o[t]++;const n=o.reduce(((e,t,i)=>t?e:[...e,i]),[]);if(n.length>0){const i=n[n.length-1];return t.removeColumns(e,{at:i}),!0}return!1}function B(e,t){const i=[],o=t.getRows(e);for(let t=0;t<o;t++)e.getChild(t).isEmpty&&i.push(t);if(i.length>0){const o=i[i.length-1];return t.removeRows(e,{at:o}),!0}return!1}function M(e,t){O(e,t)||B(e,t)}function z(e,t){const i=Array.from(new b(e,{startColumn:t.firstColumn,endColumn:t.lastColumn,row:t.lastRow}));if(i.every((({cellHeight:e})=>1===e)))return t.lastRow;const o=i[0].cellHeight-1;return t.lastRow+o}function N(e,t){const i=Array.from(new b(e,{startRow:t.firstRow,endRow:t.lastRow,column:t.lastColumn}));if(i.every((({cellWidth:e})=>1===e)))return t.lastColumn;const o=i[0].cellWidth-1;return t.lastColumn+o}class D extends o.mY{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,i=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(t.selection)[0],o=this.value,n=this.direction;e.change((e=>{const t="right"==n||"down"==n,r=t?i:o,s=t?o:i,a=s.parent;!function(e,t,i){L(e)||(L(t)&&i.remove(i.createRangeIn(t)),i.move(i.createRangeIn(e),i.createPositionAt(t,"end"))),i.remove(e)}(s,r,e);const l=this.isHorizontal?"colspan":"rowspan",c=parseInt(i.getAttribute(l)||"1"),d=parseInt(o.getAttribute(l)||"1");e.setAttribute(l,c+d,r),e.setSelection(e.createRangeIn(r));const u=this.editor.plugins.get("TableUtils");M(a.findAncestor("table"),u)}))}_getMergeableCell(){const e=this.editor.model.document,t=this.editor.plugins.get("TableUtils"),i=t.getTableCellsContainingSelection(e.selection)[0];if(!i)return;const o=this.isHorizontal?function(e,t,i){const o=e.parent.parent,n="right"==t?e.nextSibling:e.previousSibling,r=(o.getAttribute("headingColumns")||0)>0;if(!n)return;const s="right"==t?e:n,a="right"==t?n:e,{column:l}=i.getCellLocation(s),{column:c}=i.getCellLocation(a),d=parseInt(s.getAttribute("colspan")||"1"),u=h(i,s),m=h(i,a);return r&&u!=m?void 0:l+d===c?n:void 0}(i,this.direction,t):function(e,t,i){const o=e.parent,n=o.parent,r=n.getChildIndex(o);if("down"==t&&r===i.getRows(n)-1||"up"==t&&0===r)return null;const s=parseInt(e.getAttribute("rowspan")||"1"),a=n.getAttribute("headingRows")||0;if(a&&("down"==t&&r+s===a||"up"==t&&r===a))return null;const l=parseInt(e.getAttribute("rowspan")||"1"),c="down"==t?r+l:r,d=[...new b(n,{endRow:c})],u=d.find((t=>t.cell===e)).column,h=d.find((({row:e,cellHeight:i,column:o})=>o===u&&("down"==t?e===c:c===e+i)));return h&&h.cell?h.cell:null}(i,this.direction,t);if(!o)return;const n=this.isHorizontal?"rowspan":"colspan",r=parseInt(i.getAttribute(n)||"1");return parseInt(o.getAttribute(n)||"1")===r?o:void 0}}function L(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}class F extends o.mY{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),i=t[0];if(i){const o=i.findAncestor("table"),n=e.getRows(o)-1,r=e.getRowIndexes(t),s=0===r.first&&r.last===n;this.isEnabled=!s}else this.isEnabled=!1}execute(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),i=t.getSelectionAffectedTableCells(e.document.selection),o=t.getRowIndexes(i),n=i[0],r=n.findAncestor("table"),s=t.getCellLocation(n).column;e.change((e=>{const i=o.last-o.first+1;t.removeRows(r,{at:o.first,rows:i});const n=function(e,t,i,o){const n=e.getChild(Math.min(t,o-1));let r=n.getChild(0),s=0;for(const e of n.getChildren()){if(s>i)return r;r=e,s+=parseInt(e.getAttribute("colspan")||"1")}return r}(r,o.first,s,t.getRows(r));e.setSelection(e.createPositionAt(n,0))}))}}class H extends o.mY{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),i=t[0];if(i){const o=i.findAncestor("table"),n=e.getColumns(o),{first:r,last:s}=e.getColumnIndexes(t);this.isEnabled=s-r<n-1}else this.isEnabled=!1}execute(){const e=this.editor.plugins.get("TableUtils"),[t,i]=function(e,t){const i=t.getSelectionAffectedTableCells(e),o=i[0],n=i.pop(),r=[o,n];return o.isBefore(n)?r:r.reverse()}(this.editor.model.document.selection,e),o=t.parent.parent,n=[...new b(o)],r={first:n.find((e=>e.cell===t)).column,last:n.find((e=>e.cell===i)).column},s=function(e,t,i,o){return parseInt(i.getAttribute("colspan")||"1")>1?i:t.previousSibling||i.nextSibling?i.nextSibling||t.previousSibling:o.first?e.reverse().find((({column:e})=>e<o.first)).cell:e.reverse().find((({column:e})=>e>o.last)).cell}(n,t,i,r);this.editor.model.change((t=>{const i=r.last-r.first+1;e.removeColumns(o,{at:r.first,columns:i}),t.setSelection(t.createPositionAt(s,0))}))}}class W extends o.mY{refresh(){const e=this.editor.plugins.get("TableUtils"),t=this.editor.model,i=e.getSelectionAffectedTableCells(t.document.selection),o=i.length>0;this.isEnabled=o,this.value=o&&i.every((e=>this._isInHeading(e,e.parent.parent)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),i=this.editor.model,o=t.getSelectionAffectedTableCells(i.document.selection),n=o[0].findAncestor("table"),{first:r,last:s}=t.getRowIndexes(o),a=this.value?r:s+1,l=n.getAttribute("headingRows")||0;i.change((e=>{if(a){const t=S(n,a,a>l?l:0);for(const{cell:i}of t)P(i,a,e)}d("headingRows",a,n,e,0)}))}_isInHeading(e,t){const i=parseInt(t.getAttribute("headingRows")||"0");return!!i&&e.parent.index<i}}class Z extends o.mY{refresh(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),i=t.getSelectionAffectedTableCells(e.document.selection),o=i.length>0;this.isEnabled=o,this.value=o&&i.every((e=>h(t,e)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),i=this.editor.model,o=t.getSelectionAffectedTableCells(i.document.selection),n=o[0].findAncestor("table"),{first:r,last:s}=t.getColumnIndexes(o),a=this.value?r:s+1;i.change((e=>{if(a){const t=I(n,a);for(const{cell:i,column:o}of t)V(i,o,a,e)}d("headingColumns",a,n,e,0)}))}}class U extends o.Sy{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(e){const t=e.parent,i=t.parent,o=i.getChildIndex(t),n=new b(i,{row:o});for(const{cell:t,row:i,column:o}of n)if(t===e)return{row:i,column:o}}createTable(e,t){const i=e.createElement("table"),o=t.rows||2,n=t.columns||2;return j(e,i,0,o,n),t.headingRows&&d("headingRows",Math.min(t.headingRows,o),i,e,0),t.headingColumns&&d("headingColumns",Math.min(t.headingColumns,n),i,e,0),i}insertRows(e,t={}){const i=this.editor.model,o=t.at||0,n=t.rows||1,r=void 0!==t.copyStructureFromAbove,s=t.copyStructureFromAbove?o-1:o,a=this.getRows(e),l=this.getColumns(e);if(o>a)throw new g.Bb("tableutils-insertrows-insert-out-of-range",this,{options:t});i.change((t=>{const i=e.getAttribute("headingRows")||0;if(i>o&&d("headingRows",i+n,e,t,0),!r&&(0===o||o===a))return void j(t,e,o,n,l);const c=r?Math.max(o,s):o,h=new b(e,{endRow:c}),m=new Array(l).fill(1);for(const{row:e,column:i,cellHeight:a,cellWidth:l,cell:c}of h){const d=e+a-1,u=e<=s&&s<=d;e<o&&o<=d?(t.setAttribute("rowspan",a+n,c),m[i]=-l):r&&u&&(m[i]=l)}for(let i=0;i<n;i++){const i=t.createElement("tableRow");t.insert(i,e,o);for(let e=0;e<m.length;e++){const o=m[e],n=t.createPositionAt(i,"end");o>0&&u(t,n,o>1?{colspan:o}:void 0),e+=Math.abs(o)-1}}}))}insertColumns(e,t={}){const i=this.editor.model,o=t.at||0,n=t.columns||1;i.change((t=>{const i=e.getAttribute("headingColumns");o<i&&t.setAttribute("headingColumns",i+n,e);const r=this.getColumns(e);if(0===o||r===o){for(const i of e.getChildren())i.is("element","tableRow")&&$(n,t,t.createPositionAt(i,o?"end":0));return}const s=new b(e,{column:o,includeAllSlots:!0});for(const e of s){const{row:i,cell:r,cellAnchorColumn:a,cellAnchorRow:l,cellWidth:c,cellHeight:d}=e;if(a<o){t.setAttribute("colspan",c+n,r);const e=l+d-1;for(let t=i;t<=e;t++)s.skipRow(t)}else $(n,t,e.getPositionBefore())}}))}removeRows(e,t){const i=this.editor.model,o=t.rows||1,n=this.getRows(e),r=t.at,s=r+o-1;if(s>n-1)throw new g.Bb("tableutils-removerows-row-index-out-of-range",this,{table:e,options:t});i.change((t=>{const i={first:r,last:s},{cellsToMove:o,cellsToTrim:n}=function(e,{first:t,last:i}){const o=new Map,n=[];for(const{row:r,column:s,cellHeight:a,cell:l}of new b(e,{endRow:i})){const e=r+a-1;if(r>=t&&r<=i&&e>i){const e=a-(i-r+1);o.set(s,{cell:l,rowspan:e})}if(r<t&&e>=t){let o;o=e>=i?i-t+1:e-t+1,n.push({cell:l,rowspan:a-o})}}return{cellsToMove:o,cellsToTrim:n}}(e,i);o.size&&function(e,t,i,o){const n=[...new b(e,{includeAllSlots:!0,row:t})],r=e.getChild(t);let s;for(const{column:e,cell:t,isAnchor:a}of n)if(i.has(e)){const{cell:t,rowspan:n}=i.get(e),a=s?o.createPositionAfter(s):o.createPositionAt(r,0);o.move(o.createRangeOn(t),a),d("rowspan",n,t,o),s=t}else a&&(s=t)}(e,s+1,o,t);for(let i=s;i>=r;i--)t.remove(e.getChild(i));for(const{rowspan:e,cell:i}of n)d("rowspan",e,i,t);!function(e,{first:t,last:i},o){const n=e.getAttribute("headingRows")||0;t<n&&d("headingRows",i<n?n-(i-t+1):t,e,o,0)}(e,i,t),O(e,this)||B(e,this)}))}removeColumns(e,t){const i=this.editor.model,o=t.at,n=t.columns||1,r=t.at+n-1;i.change((t=>{!function(e,t,i){const o=e.getAttribute("headingColumns")||0;if(o&&t.first<o){const n=Math.min(o-1,t.last)-t.first+1;i.setAttribute("headingColumns",o-n,e)}}(e,{first:o,last:r},t);for(let i=r;i>=o;i--)for(const{cell:o,column:n,cellWidth:r}of[...new b(e)])n<=i&&r>1&&n+r>i?d("colspan",r-1,o,t):n===i&&t.remove(o);B(e,this)||O(e,this)}))}splitCellVertically(e,t=2){const i=this.editor.model,o=e.parent.parent,n=parseInt(e.getAttribute("rowspan")||"1"),r=parseInt(e.getAttribute("colspan")||"1");i.change((i=>{if(r>1){const{newCellsSpan:o,updatedSpan:s}=q(r,t);d("colspan",s,e,i);const a={};o>1&&(a.colspan=o),n>1&&(a.rowspan=n),$(r>t?t-1:r-1,i,i.createPositionAfter(e),a)}if(r<t){const s=t-r,a=[...new b(o)],{column:l}=a.find((({cell:t})=>t===e)),c=a.filter((({cell:t,cellWidth:i,column:o})=>t!==e&&o===l||o<l&&o+i>l));for(const{cell:e,cellWidth:t}of c)i.setAttribute("colspan",t+s,e);const u={};n>1&&(u.rowspan=n),$(s,i,i.createPositionAfter(e),u);const h=o.getAttribute("headingColumns")||0;h>l&&d("headingColumns",h+s,o,i)}}))}splitCellHorizontally(e,t=2){const i=this.editor.model,o=e.parent,n=o.parent,r=n.getChildIndex(o),s=parseInt(e.getAttribute("rowspan")||"1"),a=parseInt(e.getAttribute("colspan")||"1");i.change((i=>{if(s>1){const o=[...new b(n,{startRow:r,endRow:r+s-1,includeAllSlots:!0})],{newCellsSpan:l,updatedSpan:c}=q(s,t);d("rowspan",c,e,i);const{column:u}=o.find((({cell:t})=>t===e)),h={};l>1&&(h.rowspan=l),a>1&&(h.colspan=a);for(const e of o){const{column:t,row:o}=e;o>=r+c&&t===u&&(o+r+c)%l==0&&$(1,i,e.getPositionBefore(),h)}}if(s<t){const o=t-s,l=[...new b(n,{startRow:0,endRow:r})];for(const{cell:t,cellHeight:n,row:s}of l)if(t!==e&&s+n>r){const e=n+o;i.setAttribute("rowspan",e,t)}const c={};a>1&&(c.colspan=a),j(i,n,r+1,o,1,c);const u=n.getAttribute("headingRows")||0;u>r&&d("headingRows",u+o,n,i)}}))}getColumns(e){return[...e.getChild(0).getChildren()].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 b(e,t)}getSelectedTableCells(e){const t=[];for(const i of this.sortRanges(e.getRanges())){const e=i.getContainedElement();e&&e.is("element","tableCell")&&t.push(e)}return t}getTableCellsContainingSelection(e){const t=[];for(const i of e.getRanges()){const e=i.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"),i=[...new b(t)].filter((t=>e.includes(t.cell))).map((e=>e.column));return this._getFirstLastIndexesObject(i)}isSelectionRectangular(e){if(e.length<2||!this._areCellInTheSameTableSection(e))return!1;const t=new Set,i=new Set;let o=0;for(const n of e){const{row:e,column:r}=this.getCellLocation(n),s=parseInt(n.getAttribute("rowspan"))||1,a=parseInt(n.getAttribute("colspan"))||1;t.add(e),i.add(r),s>1&&t.add(e+s-1),a>1&&i.add(r+a-1),o+=s*a}const n=function(e,t){const i=Array.from(e.values()),o=Array.from(t.values());return(Math.max(...i)-Math.min(...i)+1)*(Math.max(...o)-Math.min(...o)+1)}(t,i);return n==o}sortRanges(e){return Array.from(e).sort(K)}_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"),i=this.getRowIndexes(e),o=parseInt(t.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(i,o))return!1;const n=this.getColumnIndexes(e),r=parseInt(t.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(n,r)}_areIndexesInSameSection({first:e,last:t},i){return e<i==t<i}}function j(e,t,i,o,n,r={}){for(let s=0;s<o;s++){const o=e.createElement("tableRow");e.insert(o,t,i),$(n,e,e.createPositionAt(o,"end"),r)}}function $(e,t,i,o={}){for(let n=0;n<e;n++)u(t,i,o)}function q(e,t){if(e<t)return{newCellsSpan:1,updatedSpan:1};const i=Math.floor(e/t);return{newCellsSpan:i,updatedSpan:e-i*t+i}}function K(e,t){const i=e.start,o=t.start;return i.isBefore(o)?-1:1}class G extends o.mY{refresh(){const e=this.editor.plugins.get(U),t=e.getSelectedTableCells(this.editor.model.document.selection);this.isEnabled=e.isSelectionRectangular(t)}execute(){const e=this.editor.model,t=this.editor.plugins.get(U);e.change((i=>{const o=t.getSelectedTableCells(e.document.selection),n=o.shift(),{mergeWidth:r,mergeHeight:s}=function(e,t,i){let o=0,n=0;for(const e of t){const{row:t,column:r}=i.getCellLocation(e);o=Q(e,r,o,"colspan"),n=Q(e,t,n,"rowspan")}const{row:r,column:s}=i.getCellLocation(e);return{mergeWidth:o-s,mergeHeight:n-r}}(n,o,t);d("colspan",r,n,i),d("rowspan",s,n,i);for(const e of o)J(e,n,i);M(n.findAncestor("table"),t),i.setSelection(n,"in")}))}}function J(e,t,i){Y(e)||(Y(t)&&i.remove(i.createRangeIn(t)),i.move(i.createRangeIn(e),i.createPositionAt(t,"end"))),i.remove(e)}function Y(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}function Q(e,t,i,o){const n=parseInt(e.getAttribute(o)||"1");return Math.max(i,t+n)}class X extends o.mY{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"),i=t.getSelectionAffectedTableCells(e.document.selection),o=t.getRowIndexes(i),n=i[0].findAncestor("table"),r=[];for(let t=o.first;t<=o.last;t++)for(const i of n.getChild(t).getChildren())r.push(e.createRangeOn(i));e.change((e=>{e.setSelection(r)}))}}class ee extends o.mY{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,i=e.getSelectionAffectedTableCells(t.document.selection),o=i[0],n=i.pop(),r=o.findAncestor("table"),s=e.getCellLocation(o),a=e.getCellLocation(n),l=Math.min(s.column,a.column),c=Math.max(s.column,a.column),d=[];for(const e of new b(r,{startColumn:l,endColumn:c}))d.push(t.createRangeOn(e.cell));t.change((e=>{e.setSelection(d)}))}}function te(e,t){let i=!1;const o=function(e){const t=parseInt(e.getAttribute("headingRows")||"0"),i=Array.from(e.getChildren()).reduce(((e,t)=>t.is("element","tableRow")?e+1:e),0),o=[];for(const{row:n,cell:r,cellHeight:s}of new b(e)){if(s<2)continue;const e=n<t?t:i;if(n+s>e){const t=e-n;o.push({cell:r,rowspan:t})}}return o}(e);if(o.length){i=!0;for(const e of o)d("rowspan",e.rowspan,e.cell,t,1)}return i}function ie(e,t){let i=!1;const o=function(e){const t=new Array(e.childCount).fill(0);for(const{rowIndex:i}of new b(e,{includeAllSlots:!0}))t[i]++;return t}(e),n=[];for(const[t,i]of o.entries())!i&&e.getChild(t).is("element","tableRow")&&n.push(t);if(n.length){i=!0;for(const i of n.reverse())t.remove(e.getChild(i)),o.splice(i,1)}const r=o.filter(((t,i)=>e.getChild(i).is("element","tableRow"))),s=r[0];if(!r.every((e=>e===s))){const o=r.reduce(((e,t)=>t>e?t:e),0);for(const[n,s]of r.entries()){const r=o-s;if(r){for(let i=0;i<r;i++)u(t,t.createPositionAt(e.getChild(n),"end"));i=!0}}}return i}function oe(e){if("attribute"!==e.type)return!1;const t=e.attributeKey;return"headingRows"===t||"colspan"===t||"rowspan"===t}function ne(e,t){let i=!1;for(const o of e.getChildren())o.is("element","tableRow")&&(i=re(o,t)||i);return i}function re(e,t){let i=!1;for(const o of e.getChildren())i=se(o,t)||i;return i}function se(e,t){if(0==e.childCount)return t.insertElement("paragraph",e),!0;const i=Array.from(e.getChildren()).filter((e=>e.is("$text")));for(const e of i)t.wrap(t.createRangeOn(e),"paragraph");return!!i.length}function ae(e){return!!e.position.parent.is("element","tableCell")&&("insert"==e.type&&"$text"==e.name||"remove"==e.type)}function le(e,t){if(!e.is("element","paragraph"))return!1;const i=t.toViewElement(e);return!!i&&y(e)!==i.is("element","span")}var ce=i(3379),de=i.n(ce),ue=i(9037),he=i.n(ue),me=i(569),ge=i.n(me),pe=i(8575),fe=i.n(pe),be=i(9216),we=i.n(be),ke=i(8361),_e={attributes:{"data-cke":!0}};_e.setAttributes=fe(),_e.insert=ge().bind(null,"head"),_e.domAPI=he(),_e.insertStyleElement=we(),de()(ke.Z,_e),ke.Z&&ke.Z.locals&&ke.Z.locals;class ve extends o.Sy{static get pluginName(){return"TableEditing"}static get requires(){return[U]}constructor(e){super(e),this._additionalSlots=[]}init(){const e=this.editor,t=e.model,i=t.schema,o=e.conversion,n=e.plugins.get(U);i.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),i.register("tableRow",{allowIn:"table",isLimit:!0}),i.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),o.for("upcast").add((e=>{e.on("element:figure",((e,t,i)=>{if(!i.consumable.test(t.viewItem,{name:!0,classes:"table"}))return;const o=function(e){for(const t of e.getChildren())if(t.is("element","table"))return t}(t.viewItem);if(!o||!i.consumable.test(o,{name:!0}))return;i.consumable.consume(t.viewItem,{name:!0,classes:"table"});const n=i.convertItem(o,t.modelCursor),r=(0,g.Ps)(n.modelRange.getItems());r?(i.convertChildren(t.viewItem,i.writer.createPositionAt(r,"end")),i.updateConversionResult(r,t)):i.consumable.revert(t.viewItem,{name:!0,classes:"table"})}))})),o.for("upcast").add((e=>{e.on("element:table",((e,t,i)=>{const o=t.viewItem;if(!i.consumable.test(o,{name:!0}))return;const{rows:n,headingRows:r,headingColumns:s}=function(e){let t,i=0;const o=[],n=[];let r;for(const s of Array.from(e.getChildren())){if("tbody"!==s.name&&"thead"!==s.name&&"tfoot"!==s.name)continue;"thead"!==s.name||r||(r=s);const e=Array.from(s.getChildren()).filter((e=>e.is("element","tr")));for(const a of e)if(r&&s===r||"tbody"===s.name&&Array.from(a.getChildren()).length&&Array.from(a.getChildren()).every((e=>e.is("element","th"))))i++,o.push(a);else{n.push(a);const e=f(a);(!t||e<t)&&(t=e)}}return{headingRows:i,headingColumns:t||0,rows:[...o,...n]}}(o),a={};s&&(a.headingColumns=s),r&&(a.headingRows=r);const l=i.writer.createElement("table",a);if(i.safeInsert(l,t.modelCursor)){if(i.consumable.consume(o,{name:!0}),n.forEach((e=>i.convertItem(e,i.writer.createPositionAt(l,"end")))),i.convertChildren(o,i.writer.createPositionAt(l,"end")),l.isEmpty){const e=i.writer.createElement("tableRow");i.writer.insert(e,i.writer.createPositionAt(l,"end")),u(i.writer,i.writer.createPositionAt(e,"end"))}i.updateConversionResult(l,t)}}))})),o.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(n,{asWidget:!0,additionalSlots:this._additionalSlots})}),o.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(n,{additionalSlots:this._additionalSlots})}),o.for("upcast").elementToElement({model:"tableRow",view:"tr"}),o.for("upcast").add((e=>{e.on("element:tr",((e,t)=>{t.viewItem.isEmpty&&0==t.modelCursor.index&&e.stop()}),{priority:"high"})})),o.for("downcast").elementToElement({model:"tableRow",view:(e,{writer:t})=>e.isEmpty?t.createEmptyElement("tr"):t.createContainerElement("tr")}),o.for("upcast").elementToElement({model:"tableCell",view:"td"}),o.for("upcast").elementToElement({model:"tableCell",view:"th"}),o.for("upcast").add(p("td")),o.for("upcast").add(p("th")),o.for("editingDowncast").elementToElement({model:"tableCell",view:_({asWidget:!0})}),o.for("dataDowncast").elementToElement({model:"tableCell",view:_()}),o.for("editingDowncast").elementToElement({model:"paragraph",view:v({asWidget:!0}),converterPriority:"high"}),o.for("dataDowncast").elementToElement({model:"paragraph",view:v(),converterPriority:"high"}),o.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),o.for("upcast").attributeToAttribute({model:{key:"colspan",value:ye("colspan")},view:"colspan"}),o.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),o.for("upcast").attributeToAttribute({model:{key:"rowspan",value:ye("rowspan")},view:"rowspan"}),e.config.define("table.defaultHeadings.rows",0),e.config.define("table.defaultHeadings.columns",0),e.commands.add("insertTable",new C(e)),e.commands.add("insertTableRowAbove",new x(e,{order:"above"})),e.commands.add("insertTableRowBelow",new x(e,{order:"below"})),e.commands.add("insertTableColumnLeft",new A(e,{order:"left"})),e.commands.add("insertTableColumnRight",new A(e,{order:"right"})),e.commands.add("removeTableRow",new F(e)),e.commands.add("removeTableColumn",new H(e)),e.commands.add("splitTableCellVertically",new E(e,{direction:"vertically"})),e.commands.add("splitTableCellHorizontally",new E(e,{direction:"horizontally"})),e.commands.add("mergeTableCells",new G(e)),e.commands.add("mergeTableCellRight",new D(e,{direction:"right"})),e.commands.add("mergeTableCellLeft",new D(e,{direction:"left"})),e.commands.add("mergeTableCellDown",new D(e,{direction:"down"})),e.commands.add("mergeTableCellUp",new D(e,{direction:"up"})),e.commands.add("setTableColumnHeader",new Z(e)),e.commands.add("setTableRowHeader",new W(e)),e.commands.add("selectTableRow",new X(e)),e.commands.add("selectTableColumn",new ee(e)),function(e){e.document.registerPostFixer((t=>function(e,t){const i=t.document.differ.getChanges();let o=!1;const n=new Set;for(const t of i){let i=null;"insert"==t.type&&"table"==t.name&&(i=t.position.nodeAfter),"insert"!=t.type&&"remove"!=t.type||"tableRow"!=t.name&&"tableCell"!=t.name||(i=t.position.findAncestor("table")),oe(t)&&(i=t.range.start.findAncestor("table")),i&&!n.has(i)&&(o=te(i,e)||o,o=ie(i,e)||o,n.add(i))}return o}(t,e)))}(t),function(e){e.document.registerPostFixer((t=>function(e,t){const i=t.document.differ.getChanges();let o=!1;for(const t of i)"insert"==t.type&&"table"==t.name&&(o=ne(t.position.nodeAfter,e)||o),"insert"==t.type&&"tableRow"==t.name&&(o=re(t.position.nodeAfter,e)||o),"insert"==t.type&&"tableCell"==t.name&&(o=se(t.position.nodeAfter,e)||o),"remove"!=t.type&&"insert"!=t.type||!ae(t)||(o=se(t.position.parent,e)||o);return o}(t,e)))}(t),this.listenTo(t.document,"change:data",(()=>{!function(e,t){const i=e.document.differ;for(const e of i.getChanges()){let i,o=!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;i=t,o="headingRows"==e.attributeKey}else"tableRow"!=e.name&&"tableCell"!=e.name||(i=e.position.findAncestor("table"),o="tableRow"==e.name);if(!i)continue;const n=i.getAttribute("headingRows")||0,r=i.getAttribute("headingColumns")||0,s=new b(i);for(const e of s){const i=e.row<n||e.column<r?"th":"td",s=t.mapper.toViewElement(e.cell);s&&s.is("element")&&s.name!=i&&t.reconvertItem(o?e.cell.parent:e.cell)}}}(t,e.editing),function(e,t){const i=e.document.differ,o=new Set;for(const e of i.getChanges()){const t="attribute"==e.type?e.range.start.parent:e.position.parent;t.is("element","tableCell")&&o.add(t)}for(const e of o.values()){const i=Array.from(e.getChildren()).filter((e=>le(e,t.mapper)));for(const e of i)t.reconvertItem(e)}}(t,e.editing)}))}registerAdditionalSlot(e){this._additionalSlots.push(e)}}function ye(e){return t=>{const i=parseInt(t.getAttribute(e));return Number.isNaN(i)||i<=0?null:i}}var Ce=i(7095),xe=i(468),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=fe(),Ae.insert=ge().bind(null,"head"),Ae.domAPI=he(),Ae.insertStyleElement=we(),de()(xe.Z,Ae),xe.Z&&xe.Z.locals&&xe.Z.locals;class Ee extends Ce.G7{constructor(e){super(e);const t=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new g.VD,this.focusTracker=new g.Rh,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:i,column:o}=t.target.dataset;this.items.get(10*(parseInt(i,10)-1)+(parseInt(o,10)-1)).focus()})),this.focusTracker.on("change:focusedElement",((e,t,i)=>{if(!i)return;const{row:o,column:n}=i.dataset;this.set({rows:parseInt(o),columns:parseInt(n)})})),this.on("change:columns",(()=>this._highlightGridBoxes())),this.on("change:rows",(()=>this._highlightGridBoxes()))}render(){super.render(),(0,Ce.IJ)({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)}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const e=this.rows,t=this.columns;this.items.map(((i,o)=>{const n=Math.floor(o/10)<e&&o%10<t;i.set("isOn",n)}))}_createGridButton(e,t,i,o){const n=new Ce.r5(e);return n.set({label:o,class:"ck-insert-table-dropdown-grid-box"}),n.extendTemplate({attributes:{"data-row":t,"data-column":i}}),n}_createGridCollection(){const e=[];for(let t=0;t<100;t++){const i=Math.floor(t/10),o=t%10,n=`${i+1} × ${o+1}`;e.push(this._createGridButton(this.locale,i+1,o+1,n))}return this.createCollection(e)}}class Te extends o.Sy{static get pluginName(){return"TableUI"}init(){const e=this.editor,t=this.editor.t,i="ltr"===e.locale.contentLanguageDirection;e.ui.componentFactory.add("insertTable",(i=>{const o=e.commands.get("insertTable"),n=(0,Ce.t9)(i);let r;return n.bind("isEnabled").to(o),n.buttonView.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 6v3h4V6H3zm0 4v3h4v-3H3zm0 4v3h4v-3H3zm5 3h4v-3H8v3zm5 0h4v-3h-4v3zm4-4v-3h-4v3h4zm0-4V6h-4v3h4zm1.5 8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 17V4c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13zM12 13v-3H8v3h4zm0-4V6H8v3h4z"/></svg>',label:t("Insert table"),tooltip:!0}),n.on("change:isOpen",(()=>{r||(r=new Ee(i),n.panelView.children.add(r),r.delegate("execute").to(n),n.on("execute",(()=>{e.execute("insertTable",{rows:r.rows,columns:r.columns}),e.editing.view.focus()})))})),n})),e.ui.componentFactory.add("tableColumn",(e=>{const o=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:t("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:i?"insertTableColumnLeft":"insertTableColumnRight",label:t("Insert column left")}},{type:"button",model:{commandName:i?"insertTableColumnRight":"insertTableColumnLeft",label:t("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:t("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:t("Select column")}}];return this._prepareDropdown(t("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>',o,e)})),e.ui.componentFactory.add("tableRow",(e=>{const i=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:t("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:t("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:t("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:t("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:t("Select row")}}];return this._prepareDropdown(t("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>',i,e)})),e.ui.componentFactory.add("mergeTableCells",(e=>{const o=[{type:"button",model:{commandName:"mergeTableCellUp",label:t("Merge cell up")}},{type:"button",model:{commandName:i?"mergeTableCellRight":"mergeTableCellLeft",label:t("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:t("Merge cell down")}},{type:"button",model:{commandName:i?"mergeTableCellLeft":"mergeTableCellRight",label:t("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:t("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:t("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(t("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>',o,e)}))}_prepareDropdown(e,t,i,o){const n=this.editor,r=(0,Ce.t9)(o),s=this._fillDropdownWithListOptions(r,i);return r.buttonView.set({label:e,icon:t,tooltip:!0}),r.bind("isEnabled").toMany(s,"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r,"execute",(e=>{n.execute(e.source.commandName),e.source instanceof Ce.BM||n.editing.view.focus()})),r}_prepareMergeSplitButtonDropdown(e,t,i,o){const n=this.editor,r=(0,Ce.t9)(o,Ce.Rm),s="mergeTableCells",a=n.commands.get(s),l=this._fillDropdownWithListOptions(r,i);return r.buttonView.set({label:e,icon:t,tooltip:!0,isEnabled:!0}),r.bind("isEnabled").toMany([a,...l],"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r.buttonView,"execute",(()=>{n.execute(s),n.editing.view.focus()})),this.listenTo(r,"execute",(e=>{n.execute(e.source.commandName),n.editing.view.focus()})),r}_fillDropdownWithListOptions(e,t){const i=this.editor,o=[],n=new g.FE;for(const e of t)Se(e,i,o,n);return(0,Ce.Pm)(e,n),o}}function Se(e,t,i,o){if("button"===e.type||"switchbutton"===e.type){const o=e.model=new Ce.Hn(e.model),{commandName:n,bindIsOn:r}=e.model,s=t.commands.get(n);i.push(s),o.set({commandName:n}),o.bind("isEnabled").to(s),r&&o.bind("isOn").to(s,"value"),o.set({withText:!0})}o.add(e)}var Pe=i(1546),Ie={attributes:{"data-cke":!0}};Ie.setAttributes=fe(),Ie.insert=ge().bind(null,"head"),Ie.domAPI=he(),Ie.insertStyleElement=we(),de()(Pe.Z,Ie),Pe.Z&&Pe.Z.locals&&Pe.Z.locals;class Ve extends o.Sy{static get pluginName(){return"TableSelection"}static get requires(){return[U,U]}init(){const e=this.editor,t=e.model,i=e.editing.view;this.listenTo(t,"deleteContent",((e,t)=>this._handleDeleteContent(e,t)),{priority:"high"}),this.listenTo(i.document,"insertText",((e,t)=>this._handleInsertTextEvent(e,t)),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const e=this.editor.plugins.get(U),t=this.editor.model.document.selection,i=e.getSelectedTableCells(t);return 0==i.length?null:i}getSelectionAsFragment(){const e=this.editor.plugins.get(U),t=this.getSelectedTableCells();return t?this.editor.model.change((i=>{const o=i.createDocumentFragment(),{first:n,last:r}=e.getColumnIndexes(t),{first:s,last:a}=e.getRowIndexes(t),l=t[0].findAncestor("table");let c=a,d=r;if(e.isSelectionRectangular(t)){const e={firstColumn:n,lastColumn:r,firstRow:s,lastRow:a};c=z(l,e),d=N(l,e)}const u=T(l,{startRow:s,startColumn:n,endRow:c,endColumn:d},i);return i.insert(u,o,0),o})):null}setCellSelection(e,t){const i=this._getCellsToSelect(e,t);this.editor.model.change((e=>{e.setSelection(i.cells.map((t=>e.createRangeOn(t))),{backward:i.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,g.Ps)(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,i,o)=>{const n=o.writer;!function(e){for(const i of t)e.removeClass("ck-editor__editable_selected",i);t.clear()}(n);const r=this.getSelectedTableCells();if(!r)return;for(const e of r){const i=o.mapper.toViewElement(e);n.addClass("ck-editor__editable_selected",i),t.add(i)}const s=o.mapper.toViewElement(r[r.length-1]);n.setSelection(s,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((i=>{const o=i.createPositionAt(t[0],0),n=e.model.schema.getNearestSelectionRange(o);i.setSelection(n)}))}}))}_handleDeleteContent(e,t){const i=this.editor.plugins.get(U),o=t[0],n=t[1],r=this.editor.model,s=!n||"backward"==n.direction,a=i.getSelectedTableCells(o);a.length&&(e.stop(),r.change((e=>{const t=a[s?a.length-1:0];r.change((e=>{for(const t of a)r.deleteContent(e.createSelection(t,"in"))}));const i=r.schema.getNearestSelectionRange(e.createPositionAt(t,0));o.is("documentSelection")?e.setSelection(i):o.setTo(i)})))}_handleInsertTextEvent(e,t){const i=this.editor,o=this.getSelectedTableCells();if(!o)return;const n=i.editing.view,r=i.editing.mapper,s=o.map((e=>n.createRangeOn(r.toViewElement(e))));t.selection=n.createSelection(s)}_getCellsToSelect(e,t){const i=this.editor.plugins.get("TableUtils"),o=i.getCellLocation(e),n=i.getCellLocation(t),r=Math.min(o.row,n.row),s=Math.max(o.row,n.row),a=Math.min(o.column,n.column),l=Math.max(o.column,n.column),c=new Array(s-r+1).fill(null).map((()=>[])),d={startRow:r,endRow:s,startColumn:a,endColumn:l};for(const{row:t,cell:i}of new b(e.findAncestor("table"),d))c[t-r].push(i);const u=n.row<o.row,h=n.column<o.column;return u&&c.reverse(),h&&c.forEach((e=>e.reverse())),{cells:c.flat(),backward:u||h}}}class Re extends o.Sy{static get pluginName(){return"TableClipboard"}static get requires(){return[Ve,U]}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,i])=>this._onInsertContent(e,t,i)),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(e,t){const i=this.editor.plugins.get(Ve);if(!i.getSelectedTableCells())return;if("cut"==e.name&&this.editor.isReadOnly)return;t.preventDefault(),e.stop();const o=this.editor.data,n=this.editor.editing.view.document,r=o.toView(i.getSelectionAsFragment());n.fire("clipboardOutput",{dataTransfer:t.dataTransfer,content:r,method:e.name})}_onInsertContent(e,t,i){if(i&&!i.is("documentSelection"))return;const o=this.editor.model,n=this.editor.plugins.get(U);let r=this.getTableIfOnlyTableInContent(t,o);if(!r)return;const s=n.getSelectionAffectedTableCells(o.document.selection);s.length?(e.stop(),o.change((e=>{const t={width:n.getColumns(r),height:n.getRows(r)},i=function(e,t,i,o){const n=e[0].findAncestor("table"),r=o.getColumnIndexes(e),s=o.getRowIndexes(e),a={firstColumn:r.first,lastColumn:r.last,firstRow:s.first,lastRow:s.last},l=1===e.length;return l&&(a.lastRow+=t.height-1,a.lastColumn+=t.width-1,function(e,t,i,o){const n=o.getColumns(e),r=o.getRows(e);i>n&&o.insertColumns(e,{at:n,columns:i-n}),t>r&&o.insertRows(e,{at:r,rows:t-r})}(n,a.lastRow+1,a.lastColumn+1,o)),l||!o.isSelectionRectangular(e)?function(e,t,i){const{firstRow:o,lastRow:n,firstColumn:r,lastColumn:s}=t,a={first:o,last:n},l={first:r,last:s};Be(e,r,a,i),Be(e,s+1,a,i),Oe(e,o,l,i),Oe(e,n+1,l,i,o)}(n,a,i):(a.lastRow=z(n,a),a.lastColumn=N(n,a)),a}(s,t,e,n),o=i.lastRow-i.firstRow+1,a=i.lastColumn-i.firstColumn+1,l={startRow:0,startColumn:0,endRow:Math.min(o,t.height)-1,endColumn:Math.min(a,t.width)-1};r=T(r,l,e);const c=s[0].findAncestor("table"),d=this._replaceSelectedCellsWithPasted(r,t,c,i,e);if(this.editor.plugins.get("TableSelection").isEnabled){const t=n.sortRanges(d.map((t=>e.createRangeOn(t))));e.setSelection(t)}else e.setSelection(d[0],0)}))):M(r,n)}_replaceSelectedCellsWithPasted(e,t,i,o,n){const{width:r,height:s}=t,a=function(e,t,i){const o=new Array(i).fill(null).map((()=>new Array(t).fill(null)));for(const{column:t,row:i,cell:n}of new b(e))o[i][t]=n;return o}(e,r,s),l=[...new b(i,{startRow:o.firstRow,endRow:o.lastRow,startColumn:o.firstColumn,endColumn:o.lastColumn,includeAllSlots:!0})],c=[];let d;for(const e of l){const{row:t,column:i}=e;i===o.firstColumn&&(d=e.getPositionBefore());const l=t-o.firstRow,u=i-o.firstColumn,h=a[l%s][u%r],m=h?n.cloneElement(h):null,g=this._replaceTableSlotCell(e,m,d,n);g&&(R(g,t,i,o.lastRow,o.lastColumn,n),c.push(g),d=n.createPositionAfter(g))}const u=parseInt(i.getAttribute("headingRows")||"0"),h=parseInt(i.getAttribute("headingColumns")||"0"),m=o.firstRow<u&&u<=o.lastRow,g=o.firstColumn<h&&h<=o.lastColumn;if(m){const e=Oe(i,u,{first:o.firstColumn,last:o.lastColumn},n,o.firstRow);c.push(...e)}if(g){const e=Be(i,h,{first:o.firstRow,last:o.lastRow},n);c.push(...e)}return c}_replaceTableSlotCell(e,t,i,o){const{cell:n,isAnchor:r}=e;return r&&o.remove(n),t?(o.insert(t,i),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 i=t.createRangeIn(e);for(const e of i.getItems())if(e.is("element","table")){const o=t.createRange(i.start,t.createPositionBefore(e));if(t.hasContent(o,{ignoreWhitespaces:!0}))return null;const n=t.createRange(t.createPositionAfter(e),i.end);return t.hasContent(n,{ignoreWhitespaces:!0})?null:e}return null}}function Oe(e,t,i,o,n=0){if(!(t<1))return S(e,t,n).filter((({column:e,cellWidth:t})=>Me(e,t,i))).map((({cell:e})=>P(e,t,o)))}function Be(e,t,i,o){if(!(t<1))return I(e,t).filter((({row:e,cellHeight:t})=>Me(e,t,i))).map((({cell:e,column:i})=>V(e,i,t,o)))}function Me(e,t,i){const o=e+t-1,{first:n,last:r}=i;return e>=n&&e<=r||e<n&&o>=n}class ze extends o.Sy{static get pluginName(){return"TableKeyboard"}static get requires(){return[Ve,U]}init(){const e=this.editor.editing.view.document;this.listenTo(e,"arrowKey",((...e)=>this._onArrowKey(...e)),{context:"table"}),this.listenTo(e,"tab",((...e)=>this._handleTabOnSelectedTable(...e)),{context:"figure"}),this.listenTo(e,"tab",((...e)=>this._handleTab(...e)),{context:["th","td"]})}_handleTabOnSelectedTable(e,t){const i=this.editor,o=i.model.document.selection.getSelectedElement();o&&o.is("element","table")&&(t.preventDefault(),t.stopPropagation(),e.stop(),i.model.change((e=>{e.setSelection(e.createRangeIn(o.getChild(0).getChild(0)))})))}_handleTab(e,t){const i=this.editor,o=this.editor.plugins.get(U),n=this.editor.plugins.get("TableSelection"),r=i.model.document.selection,s=!t.shiftKey;let a=o.getTableCellsContainingSelection(r)[0];if(a||(a=n.getFocusCell()),!a)return;t.preventDefault(),t.stopPropagation(),e.stop();const l=a.parent,c=l.parent,d=c.getChildIndex(l),u=l.getChildIndex(a),h=0===u;if(!s&&h&&0===d)return void i.model.change((e=>{e.setSelection(e.createRangeOn(c))}));const m=u===l.childCount-1,g=d===o.getRows(c)-1;if(s&&g&&m&&(i.execute("insertTableRowBelow"),d===o.getRows(c)-1))return void i.model.change((e=>{e.setSelection(e.createRangeOn(c))}));let p;if(s&&m){const e=c.getChild(d+1);p=e.getChild(0)}else if(!s&&h){const e=c.getChild(d-1);p=e.getChild(e.childCount-1)}else p=l.getChild(u+(s?1:-1));i.model.change((e=>{e.setSelection(e.createRangeIn(p))}))}_onArrowKey(e,t){const i=this.editor,o=t.keyCode,n=(0,g.mA)(o,i.locale.contentLanguageDirection);this._handleArrowKeys(n,t.shiftKey)&&(t.preventDefault(),t.stopPropagation(),e.stop())}_handleArrowKeys(e,t){const i=this.editor.plugins.get(U),o=this.editor.plugins.get("TableSelection"),n=this.editor.model,r=n.document.selection,s=["right","down"].includes(e),a=i.getSelectedTableCells(r);if(a.length){let i;return i=t?o.getFocusCell():s?a[a.length-1]:a[0],this._navigateFromCellInDirection(i,e,t),!0}const l=r.focus.findAncestor("tableCell");if(!l)return!1;if(!r.isCollapsed)if(t){if(r.isBackward==s&&!r.containsEntireContent(l))return!1}else{const e=r.getSelectedElement();if(!e||!n.schema.isObject(e))return!1}return!!this._isSelectionAtCellEdge(r,l,s)&&(this._navigateFromCellInDirection(l,e,t),!0)}_isSelectionAtCellEdge(e,t,i){const o=this.editor.model,n=this.editor.model.schema,r=i?e.getLastPosition():e.getFirstPosition();if(!n.getLimitElement(r).is("element","tableCell"))return o.createPositionAt(t,i?"end":0).isTouching(r);const s=o.createSelection(r);return o.modifySelection(s,{direction:i?"forward":"backward"}),r.isEqual(s.focus)}_navigateFromCellInDirection(e,t,i=!1){const o=this.editor.model,n=e.findAncestor("table"),r=[...new b(n,{includeAllSlots:!0})],{row:s,column:a}=r[r.length-1],l=r.find((({cell:t})=>t==e));let{row:c,column:d}=l;switch(t){case"left":d--;break;case"up":c--;break;case"right":d+=l.cellWidth;break;case"down":c+=l.cellHeight}if(c<0||c>s||d<0&&c<=0||d>a&&c>=s)return void o.change((e=>{e.setSelection(e.createRangeOn(n))}));d<0?(d=i?0:a,c--):d>a&&(d=i?a:0,c++);const u=r.find((e=>e.row==c&&e.column==d)).cell,h=["right","down"].includes(t),m=this.editor.plugins.get("TableSelection");if(i&&m.isEnabled){const t=m.getAnchorCell()||e;m.setCellSelection(t,u)}else{const e=o.createPositionAt(u,h?0:"end");o.change((t=>{t.setSelection(e)}))}}}var Ne=i(3291);class De extends Ne.qZ{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(e){this.fire(e.type,e)}}class Le extends o.Sy{static get pluginName(){return"TableMouse"}static get requires(){return[Ve,U]}init(){this.editor.editing.view.addObserver(De),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const e=this.editor,t=e.plugins.get(U);let i=!1;const o=e.plugins.get(Ve);this.listenTo(e.editing.view.document,"mousedown",((n,r)=>{const s=e.model.document.selection;if(!this.isEnabled||!o.isEnabled)return;if(!r.domEvent.shiftKey)return;const a=o.getAnchorCell()||t.getTableCellsContainingSelection(s)[0];if(!a)return;const l=this._getModelTableCellFromDomEvent(r);l&&Fe(a,l)&&(i=!0,o.setCellSelection(a,l),r.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{i=!1})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{i&&e.stop()}),{priority:"highest"})}_enableMouseDragSelection(){const e=this.editor;let t,i,o=!1,n=!1;const r=e.plugins.get(Ve);this.listenTo(e.editing.view.document,"mousedown",((e,i)=>{this.isEnabled&&r.isEnabled&&(i.domEvent.shiftKey||i.domEvent.ctrlKey||i.domEvent.altKey||(t=this._getModelTableCellFromDomEvent(i)))})),this.listenTo(e.editing.view.document,"mousemove",((e,s)=>{if(!s.domEvent.buttons)return;if(!t)return;const a=this._getModelTableCellFromDomEvent(s);a&&Fe(t,a)&&(i=a,o||i==t||(o=!0)),o&&(n=!0,r.setCellSelection(t,i),s.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{o=!1,n=!1,t=null,i=null})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{n&&e.stop()}),{priority:"highest"})}_getModelTableCellFromDomEvent(e){const t=e.target,i=this.editor.editing.view.createPositionAt(t,0);return this.editor.editing.mapper.toModelPosition(i).parent.findAncestor("tableCell",{includeSelf:!0})}}function Fe(e,t){return e.parent.parent==t.parent.parent}var He=i(2510),We={attributes:{"data-cke":!0}};We.setAttributes=fe(),We.insert=ge().bind(null,"head"),We.domAPI=he(),We.insertStyleElement=we(),de()(He.Z,We),He.Z&&He.Z.locals&&He.Z.locals;class Ze extends o.Sy{static get requires(){return[ve,Te,Ve,Le,ze,Re,n.$L]}static get pluginName(){return"Table"}}class Ue extends o.Sy{static get pluginName(){return"PlainTableOutput"}static get requires(){return[Ze]}init(){const e=this.editor;e.conversion.for("dataDowncast").elementToStructure({model:"table",view:je,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[i,o]of Object.entries(t))e.conversion.for("dataDowncast").add((e=>e.on(`attribute:${o}:table`,((e,t,o)=>{const{item:n,attributeNewValue:r}=t,{mapper:s,writer:a}=o;if(!o.consumable.consume(n,e.name))return;const l=s.toViewElement(n);r?a.setStyle(i,r,l):a.removeStyle(i,l)}),{priority:"high"})))}(e)}}function je(e,{writer:t}){const i=e.getAttribute("headingRows")||0,o=t.createSlot((e=>e.is("element","tableRow")&&e.index<i)),n=t.createSlot((e=>e.is("element","tableRow")&&e.index>=i)),r=t.createSlot((e=>!e.is("element","tableRow"))),s=t.createContainerElement("thead",null,o),a=t.createContainerElement("tbody",null,n),l=[];return i&&l.push(s),i<e.childCount&&l.push(a),t.createContainerElement("table",null,[r,...l])}function $e(e){const t=e.getSelectedElement();return t&&Ke(t)?t:null}function qe(e){const t=e.getFirstPosition();if(!t)return null;let i=t.parent;for(;i;){if(i.is("element")&&Ke(i))return i;i=i.parent}return null}function Ke(e){return!!e.getCustomProperty("table")&&(0,n.Qd)(e)}class Ge extends o.Sy{static get requires(){return[n.e8]}static get pluginName(){return"TableToolbar"}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(n.e8),o=e.config.get("table.contentToolbar"),r=e.config.get("table.tableToolbar");o&&i.register("tableContent",{ariaLabel:t("Table toolbar"),items:o,getRelatedElement:qe}),r&&i.register("table",{ariaLabel:t("Table toolbar"),items:r,getRelatedElement:$e})}}var Je=i(9953),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=fe(),Ye.insert=ge().bind(null,"head"),Ye.domAPI=he(),Ye.insertStyleElement=we(),de()(Je.Z,Ye),Je.Z&&Je.Z.locals&&Je.Z.locals;class Qe extends Ce.G7{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 g.Rh,this._focusables=new Ce.vX,this.dropdownView=this._createDropdownView(),this.inputView=this._createInputTextView(),this.keystrokes=new g.VD,this._stillTyping=!1,this._focusCycler=new Ce.I0({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,i)=>this._setInputValue(i)))}render(){super.render(),this.keystrokes.listenTo(this.dropdownView.panelView.element)}focus(){this.inputView.focus()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createDropdownView(){const e=this.locale,t=e.t,i=this.bindTemplate,o=this._createColorGrid(e),n=(0,Ce.t9)(e),r=new Ce.G7,s=this._createRemoveColorButton();return r.setTemplate({tag:"span",attributes:{class:["ck","ck-input-color__button__preview"],style:{backgroundColor:i.to("value")}},children:[{tag:"span",attributes:{class:["ck","ck-input-color__button__preview__no-color-indicator",i.if("value","ck-hidden",(e=>""!=e))]}}]}),n.buttonView.extendTemplate({attributes:{class:"ck-input-color__button"}}),n.buttonView.children.add(r),n.buttonView.label=t("Color picker"),n.buttonView.tooltip=!0,n.panelPosition="rtl"===e.uiLanguageDirection?"se":"sw",n.panelView.children.add(s),n.panelView.children.add(o),n.bind("isEnabled").to(this,"isReadOnly",(e=>!e)),this._focusables.add(s),this._focusables.add(o),this.focusTracker.add(s.element),this.focusTracker.add(o.element),n}_createInputTextView(){const e=this.locale,t=new Ce.pq(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,i=this.options.colorDefinitions.find((t=>e===t.label));this._stillTyping=!0,this.value=i&&i.color||e})),t.on("blur",(()=>{this._stillTyping=!1,this._setInputValue(t.element.value)})),t.delegate("input").to(this),t}_createRemoveColorButton(){const e=this.locale,t=e.t,i=new Ce.r5(e),n=this.options.defaultColorValue||"",r=t(n?"Restore default":"Remove color");return i.class="ck-input-color__remove-color",i.withText=!0,i.icon=o.icons.eraser,i.label=r,i.on("execute",(()=>{this.value=n,this.dropdownView.isOpen=!1,this.fire("input")})),i}_createColorGrid(e){const t=new Ce.J6(e,{colorDefinitions:this.options.colorDefinitions,columns:this.options.columns});return t.on("execute",((e,t)=>{this.value=t.value,this.dropdownView.isOpen=!1,this.fire("input")})),t.bind("selectedColor").to(this,"value"),t}_setInputValue(e){if(!this._stillTyping){const t=Xe(e),i=this.options.colorDefinitions.find((e=>t===Xe(e.color)));this.inputView.value=i?i.label:e||""}}}function Xe(e){return e.replace(/([(,])\s+/g,"$1").replace(/^\s+|\s+(?=[),\s]|$)/g,"").replace(/,|\s/g," ")}const et=e=>""===e;function tt(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 it(e){return e('The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".')}function ot(e){return e('The value is invalid. Try "10px" or "2em" or simply "2".')}function nt(e){return e=e.trim(),et(e)||(0,Ne.D5)(e)}function rt(e){return e=e.trim(),et(e)||ut(e)||(0,Ne.G9)(e)||(0,Ne.zz)(e)}function st(e){return e=e.trim(),et(e)||ut(e)||(0,Ne.G9)(e)}function at(e,t){const i=new g.FE,o=tt(e.t);for(const n in o){const r={type:"button",model:new Ce.Hn({_borderStyleValue:n,label:o[n],withText:!0})};"none"===n?r.model.bind("isOn").to(e,"borderStyle",(e=>"none"===t?!e:e===n)):r.model.bind("isOn").to(e,"borderStyle",(e=>e===n)),i.add(r)}return i}function lt(e){const{view:t,icons:i,toolbar:o,labels:n,propertyName:r,nameToValue:s,defaultValue:a}=e;for(const e in n){const l=new Ce.r5(t.locale);l.set({label:n[e],icon:i[e],tooltip:n[e]});const c=s?s(e):e;l.bind("isOn").to(t,r,(e=>{let t=e;return""===e&&a&&(t=a),c===t})),l.on("execute",(()=>{t[r]=c})),o.items.add(l)}}const ct=[{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 dt(e){return(t,i,o)=>{const n=new Qe(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});var r;return n.inputView.set({id:i,ariaDescribedById:o}),n.bind("isReadOnly").to(t,"isEnabled",(e=>!e)),n.bind("hasError").to(t,"errorText",(e=>!!e)),n.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused").to(n),n}}function ut(e){const t=parseFloat(e);return!Number.isNaN(t)&&e===String(t)}var ht=i(6908),mt={attributes:{"data-cke":!0}};mt.setAttributes=fe(),mt.insert=ge().bind(null,"head"),mt.domAPI=he(),mt.insertStyleElement=we(),de()(ht.Z,mt),ht.Z&&ht.Z.locals&&ht.Z.locals;class gt extends Ce.G7{constructor(e,t={}){super(e);const i=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",i.to("class")],role:i.to("_role"),"aria-labelledby":i.to("_ariaLabelledBy")},children:this.children})}}var pt=i(7502),ft={attributes:{"data-cke":!0}};ft.setAttributes=fe(),ft.insert=ge().bind(null,"head"),ft.domAPI=he(),ft.insertStyleElement=we(),de()(pt.Z,ft),pt.Z&&pt.Z.locals&&pt.Z.locals;var bt=i(9429),wt={attributes:{"data-cke":!0}};wt.setAttributes=fe(),wt.insert=ge().bind(null,"head"),wt.domAPI=he(),wt.insertStyleElement=we(),de()(bt.Z,wt),bt.Z&&bt.Z.locals&&bt.Z.locals;var kt=i(3964),_t={attributes:{"data-cke":!0}};_t.setAttributes=fe(),_t.insert=ge().bind(null,"head"),_t.domAPI=he(),_t.insertStyleElement=we(),de()(kt.Z,_t),kt.Z&&kt.Z.locals&&kt.Z.locals;const vt={left:o.icons.alignLeft,center:o.icons.alignCenter,right:o.icons.alignRight,justify:o.icons.alignJustify,top:o.icons.alignTop,middle:o.icons.alignMiddle,bottom:o.icons.alignBottom};class yt extends Ce.G7{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",padding:"",backgroundColor:"",width:"",height:"",horizontalAlignment:"",verticalAlignment:""}),this.options=t;const{borderStyleDropdown:i,borderWidthInput:o,borderColorInput:n,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:s,backgroundInput:a}=this._createBackgroundFields(),{widthInput:l,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{horizontalAlignmentToolbar:h,verticalAlignmentToolbar:m,alignmentLabel:p}=this._createAlignmentFields();this.focusTracker=new g.Rh,this.keystrokes=new g.VD,this.children=this.createCollection(),this.borderStyleDropdown=i,this.borderWidthInput=o,this.borderColorInput=n,this.backgroundInput=a,this.paddingInput=this._createPaddingField(),this.widthInput=l,this.heightInput=d,this.horizontalAlignmentToolbar=h,this.verticalAlignmentToolbar=m;const{saveButtonView:f,cancelButtonView:b}=this._createActionButtons();this.saveButtonView=f,this.cancelButtonView=b,this._focusables=new Ce.vX,this._focusCycler=new Ce.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Ce.Gp(e,{label:this.t("Cell properties")})),this.children.add(new gt(e,{labelView:r,children:[r,i,n,o],class:"ck-table-form__border-row"})),this.children.add(new gt(e,{labelView:s,children:[s,a],class:"ck-table-form__background-row"})),this.children.add(new gt(e,{children:[new gt(e,{labelView:u,children:[u,l,c,d],class:"ck-table-form__dimensions-row"}),new gt(e,{children:[this.paddingInput],class:"ck-table-cell-properties-form__padding-row"})]})),this.children.add(new gt(e,{labelView:p,children:[p,h,m],class:"ck-table-cell-properties-form__alignment-row"})),this.children.add(new gt(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,Ce.GI)({view:this}),[this.borderStyleDropdown,this.borderColorInput,this.borderColorInput.fieldView.dropdownView.buttonView,this.borderWidthInput,this.backgroundInput,this.backgroundInput.fieldView.dropdownView.buttonView,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},i=dt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color}),o=this.locale,n=this.t,r=new Ce.Dn(o);r.text=n("Border");const s=tt(n),a=new Ce.KP(o,Ce.FH);a.set({label:n("Style"),class:"ck-table-form__border-style"}),a.fieldView.buttonView.set({isOn:!1,withText:!0,tooltip:n("Style")}),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,Ce.Pm)(a.fieldView,at(this,t.style));const l=new Ce.KP(o,Ce.R);l.set({label:n("Width"),class:"ck-table-form__border-width"}),l.fieldView.bind("value").to(this,"borderWidth"),l.bind("isEnabled").to(this,"borderStyle",Ct),l.fieldView.on("input",(()=>{this.borderWidth=l.fieldView.element.value}));const c=new Ce.KP(o,i);return c.set({label:n("Color"),class:"ck-table-form__border-color"}),c.fieldView.bind("value").to(this,"borderColor"),c.bind("isEnabled").to(this,"borderStyle",Ct),c.fieldView.on("input",(()=>{this.borderColor=c.fieldView.value})),this.on("change:borderStyle",((e,i,o,n)=>{Ct(o)||(this.borderColor="",this.borderWidth=""),Ct(n)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:r,borderStyleDropdown:a,borderColorInput:c,borderWidthInput:l}}_createBackgroundFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Background");const o=dt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableCellProperties.backgroundColor}),n=new Ce.KP(e,o);return n.set({label:t("Color"),class:"ck-table-cell-properties-form__background"}),n.fieldView.bind("value").to(this,"backgroundColor"),n.fieldView.on("input",(()=>{this.backgroundColor=n.fieldView.value})),{backgroundRowLabel:i,backgroundInput:n}}_createDimensionFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Dimensions");const o=new Ce.KP(e,Ce.R);o.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),o.fieldView.bind("value").to(this,"width"),o.fieldView.on("input",(()=>{this.width=o.fieldView.element.value}));const n=new Ce.G7(e);n.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Ce.KP(e,Ce.R);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:i,widthInput:o,operatorLabel:n,heightInput:r}}_createPaddingField(){const e=this.locale,t=this.t,i=new Ce.KP(e,Ce.R);return i.set({label:t("Padding"),class:"ck-table-cell-properties-form__padding"}),i.fieldView.bind("value").to(this,"padding"),i.fieldView.on("input",(()=>{this.padding=i.fieldView.element.value})),i}_createAlignmentFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Table cell text alignment");const o=new Ce.jB(e),n="rtl"===e.contentLanguageDirection;o.set({isCompact:!0,ariaLabel:t("Horizontal text alignment toolbar")}),lt({view:this,icons:vt,toolbar:o,labels:this._horizontalAlignmentLabels,propertyName:"horizontalAlignment",nameToValue:e=>{if(n){if("left"===e)return"right";if("right"===e)return"left"}return e},defaultValue:this.options.defaultTableCellProperties.horizontalAlignment});const r=new Ce.jB(e);return r.set({isCompact:!0,ariaLabel:t("Vertical text alignment toolbar")}),lt({view:this,icons:vt,toolbar:r,labels:this._verticalAlignmentLabels,propertyName:"verticalAlignment",defaultValue:this.options.defaultTableCellProperties.verticalAlignment}),{horizontalAlignmentToolbar:o,verticalAlignmentToolbar:r,alignmentLabel:i}}_createActionButtons(){const e=this.locale,t=this.t,i=new Ce.r5(e),n=new Ce.r5(e),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.paddingInput];return i.set({label:t("Save"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0}),i.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),n.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),n.delegate("execute").to(this,"cancel"),{saveButtonView:i,cancelButtonView:n}}get _horizontalAlignmentLabels(){const e=this.locale,t=this.t,i=t("Align cell text to the left"),o=t("Align cell text to the center"),n=t("Align cell text to the right"),r=t("Justify cell text");return"rtl"===e.uiLanguageDirection?{right:n,center:o,left:i,justify:r}:{left:i,center:o,right:n,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 Ct(e){return"none"!==e}var xt=i(6682);const At=Ce.no.defaultPositions,Et=[At.northArrowSouth,At.northArrowSouthWest,At.northArrowSouthEast,At.southArrowNorth,At.southArrowNorthWest,At.southArrowNorthEast,At.viewportStickyNorth];function Tt(e,t){const i=e.plugins.get("ContextualBalloon");if(qe(e.editing.view.document.selection)){let o;o="cell"===t?Pt(e):St(e),i.updatePosition(o)}}function St(e){const t=e.model.document.selection.getFirstPosition().findAncestor("table"),i=e.editing.mapper.toViewElement(t);return{target:e.editing.view.domConverter.mapViewToDom(i),positions:Et}}function Pt(e){const t=e.editing.mapper,i=e.editing.view.domConverter,o=e.model.document.selection;if(o.rangeCount>1)return{target:()=>function(e,t){const i=t.editing.mapper,o=t.editing.view.domConverter,n=Array.from(e).map((e=>{const t=It(e.start),n=i.toViewElement(t);return new g.UL(o.mapViewToDom(n))}));return g.UL.getBoundingRect(n)}(o.getRanges(),e),positions:Et};const n=It(o.getFirstPosition()),r=t.toViewElement(n);return{target:i.mapViewToDom(r),positions:Et}}function It(e){return e.nodeAfter&&e.nodeAfter.is("element","tableCell")?e.nodeAfter:e.findAncestor("tableCell")}var Vt=i(7226);function Rt(e){if(!e||!(0,Vt.Z)(e))return e;const{top:t,right:i,bottom:o,left:n}=e;return t==i&&i==o&&o==n?t:void 0}function Ot(e,t){const i=parseFloat(e);return Number.isNaN(i)||String(i)!==String(e)?e:`${i}${t}`}function Bt(e,t={}){const i={borderStyle:"none",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",...e};return t.includeAlignmentProperty&&!i.alignment&&(i.alignment="center"),t.includePaddingProperty&&!i.padding&&(i.padding=""),t.includeVerticalAlignmentProperty&&!i.verticalAlignment&&(i.verticalAlignment="middle"),t.includeHorizontalAlignmentProperty&&!i.horizontalAlignment&&(i.horizontalAlignment=t.isRightToLeftContent?"right":"left"),i}const Mt={borderStyle:"tableCellBorderStyle",borderColor:"tableCellBorderColor",borderWidth:"tableCellBorderWidth",height:"tableCellHeight",width:"tableCellWidth",padding:"tableCellPadding",backgroundColor:"tableCellBackgroundColor",horizontalAlignment:"tableCellHorizontalAlignment",verticalAlignment:"tableCellVerticalAlignment"};class zt extends o.Sy{static get requires(){return[Ce.WB]}static get pluginName(){return"TableCellPropertiesUI"}constructor(e){super(e),e.config.define("table.tableCellProperties",{borderColors:ct,backgroundColors:ct})}init(){const e=this.editor,t=e.t;this._defaultTableCellProperties=Bt(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection}),this._balloon=e.plugins.get(Ce.WB),this.view=null,this._isReady=!1,e.ui.componentFactory.add("tableCellProperties",(i=>{const o=new Ce.r5(i);o.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(o,"execute",(()=>this._showView()));const n=Object.values(Mt).map((t=>e.commands.get(t)));return o.bind("isEnabled").toMany(n,"isEnabled",((...e)=>e.some((e=>e)))),o}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableCellProperties"),i=(0,Ce.S1)(t.borderColors),o=(0,Ce.k6)(e.locale,i),n=(0,Ce.S1)(t.backgroundColors),r=(0,Ce.k6)(e.locale,n),s=new yt(e.locale,{borderColors:o,backgroundColors:r,defaultTableCellProperties:this._defaultTableCellProperties}),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,Ce.eC)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const l=it(a),c=ot(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableCellBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableCellBorderColor",errorText:l,validator:nt})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableCellBorderWidth",errorText:c,validator:st})),s.on("change:padding",this._getValidatedPropertyChangeCallback({viewField:s.paddingInput,commandName:"tableCellPadding",errorText:c,validator:rt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableCellWidth",errorText:c,validator:rt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableCellHeight",errorText:c,validator:rt})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableCellBackgroundColor",errorText:l,validator:nt})),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(Mt).map((([t,i])=>{const o=this._defaultTableCellProperties[t]||"";return[t,e.get(i).value||o]})).forEach((([e,i])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,i)})),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:Pt(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;qe(e.editing.view.document.selection)?this._isViewVisible&&Tt(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,i,o)=>{this._isReady&&this.editor.execute(e,{value:o,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:i,validator:o,errorText:n}=e,r=(0,xt.Z)((()=>{i.errorText=n}),500);return(e,n,s)=>{r.cancel(),this._isReady&&(o(s)?(this.editor.execute(t,{value:s,batch:this._undoStepBatch}),i.errorText=null):r())}}}class Nt extends o.mY{constructor(e,t,i){super(e),this.attributeName=t,this._defaultValue=i}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:i}=e,o=this.editor.model,n=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(o.document.selection),r=this._getValueToSet(t);o.enqueueChange(i,(e=>{r?n.forEach((t=>e.setAttribute(this.attributeName,r,t))):n.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 Dt extends Nt{constructor(e,t){super(e,"tableCellWidth",t)}_getValueToSet(e){if((e=Ot(e,"px"))!==this._defaultValue)return e}}class Lt extends o.Sy{static get pluginName(){return"TableCellWidthEditing"}static get requires(){return[ve]}init(){const e=this.editor,t=Bt(e.config.get("table.tableCellProperties.defaultProperties"));m(e.model.schema,e.conversion,{modelAttribute:"tableCellWidth",styleName:"width",defaultValue:t.width}),e.commands.add("tableCellWidth",new Dt(e,t.width))}}class Ft extends Nt{constructor(e,t){super(e,"tableCellPadding",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}class Ht extends Nt{constructor(e,t){super(e,"tableCellHeight",t)}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}class Wt extends Nt{constructor(e,t){super(e,"tableCellBackgroundColor",t)}}class Zt extends Nt{constructor(e,t){super(e,"tableCellVerticalAlignment",t)}}class Ut extends Nt{constructor(e,t){super(e,"tableCellHorizontalAlignment",t)}}class jt extends Nt{constructor(e,t){super(e,"tableCellBorderStyle",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class $t extends Nt{constructor(e,t){super(e,"tableCellBorderColor",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class qt extends Nt{constructor(e,t){super(e,"tableCellBorderWidth",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}const Kt=/^(top|middle|bottom)$/,Gt=/^(left|center|right|justify)$/;class Jt extends o.Sy{static get pluginName(){return"TableCellPropertiesEditing"}static get requires(){return[ve,Lt]}init(){const e=this.editor,t=e.model.schema,i=e.conversion;e.config.define("table.tableCellProperties.defaultProperties",{});const o=Bt(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection});e.data.addStyleProcessorRules(Ne.sI),function(e,t,i){const o={width:"tableCellBorderWidth",color:"tableCellBorderColor",style:"tableCellBorderStyle"};e.extend("tableCell",{allowAttributes:Object.values(o)}),s(t,"td",o,i),s(t,"th",o,i),a(t,{modelElement:"tableCell",modelAttribute:o.style,styleName:"border-style"}),a(t,{modelElement:"tableCell",modelAttribute:o.color,styleName:"border-color"}),a(t,{modelElement:"tableCell",modelAttribute:o.width,styleName:"border-width"})}(t,i,{color:o.borderColor,style:o.borderStyle,width:o.borderWidth}),e.commands.add("tableCellBorderStyle",new jt(e,o.borderStyle)),e.commands.add("tableCellBorderColor",new $t(e,o.borderColor)),e.commands.add("tableCellBorderWidth",new qt(e,o.borderWidth)),m(t,i,{modelAttribute:"tableCellHeight",styleName:"height",defaultValue:o.height}),e.commands.add("tableCellHeight",new Ht(e,o.height)),e.data.addStyleProcessorRules(Ne.J8),m(t,i,{modelAttribute:"tableCellPadding",styleName:"padding",reduceBoxSides:!0,defaultValue:o.padding}),e.commands.add("tableCellPadding",new Ft(e,o.padding)),e.data.addStyleProcessorRules(Ne.QR),m(t,i,{modelAttribute:"tableCellBackgroundColor",styleName:"background-color",defaultValue:o.backgroundColor}),e.commands.add("tableCellBackgroundColor",new Wt(e,o.backgroundColor)),function(e,t,i){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":Gt}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getStyle("text-align");return t===i?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{align:Gt}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getAttribute("align");return t===i?null:t}}})}(t,i,o.horizontalAlignment),e.commands.add("tableCellHorizontalAlignment",new Ut(e,o.horizontalAlignment)),function(e,t,i){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":Kt}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getStyle("vertical-align");return t===i?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{valign:Kt}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getAttribute("valign");return t===i?null:t}}})}(t,i,o.verticalAlignment),e.commands.add("tableCellVerticalAlignment",new Zt(e,o.verticalAlignment))}}class Yt extends o.Sy{static get pluginName(){return"TableCellProperties"}static get requires(){return[Jt,zt]}}class Qt extends o.mY{constructor(e,t,i){super(e),this.attributeName=t,this._defaultValue=i}refresh(){const e=this.editor.model.document.selection.getFirstPosition().findAncestor("table");this.isEnabled=!!e,this.value=this._getValue(e)}execute(e={}){const t=this.editor.model,i=t.document.selection,{value:o,batch:n}=e,r=i.getFirstPosition().findAncestor("table"),s=this._getValueToSet(o);t.enqueueChange(n,(e=>{s?e.setAttribute(this.attributeName,s,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 Xt extends Qt{constructor(e,t){super(e,"tableBackgroundColor",t)}}class ei extends Qt{constructor(e,t){super(e,"tableBorderColor",t)}_getValue(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class ti extends Qt{constructor(e,t){super(e,"tableBorderStyle",t)}_getValue(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class ii extends Qt{constructor(e,t){super(e,"tableBorderWidth",t)}_getValue(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}class oi extends Qt{constructor(e,t){super(e,"tableWidth",t)}_getValueToSet(e){if((e=Ot(e,"px"))!==this._defaultValue)return e}}class ni extends Qt{constructor(e,t){super(e,"tableHeight",t)}_getValueToSet(e){if((e=Ot(e,"px"))!==this._defaultValue)return e}}class ri extends Qt{constructor(e,t){super(e,"tableAlignment",t)}}const si=/^(left|center|right)$/,ai=/^(left|none|right)$/;class li extends o.Sy{static get pluginName(){return"TablePropertiesEditing"}static get requires(){return[ve]}init(){const e=this.editor,t=e.model.schema,i=e.conversion;e.config.define("table.tableProperties.defaultProperties",{});const o=Bt(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0});e.data.addStyleProcessorRules(Ne.sI),function(e,t,i){const o={width:"tableBorderWidth",color:"tableBorderColor",style:"tableBorderStyle"};e.extend("table",{allowAttributes:Object.values(o)}),s(t,"table",o,i),l(t,{modelAttribute:o.color,styleName:"border-color"}),l(t,{modelAttribute:o.style,styleName:"border-style"}),l(t,{modelAttribute:o.width,styleName:"border-width"})}(t,i,{color:o.borderColor,style:o.borderStyle,width:o.borderWidth}),e.commands.add("tableBorderColor",new ei(e,o.borderColor)),e.commands.add("tableBorderStyle",new ti(e,o.borderStyle)),e.commands.add("tableBorderWidth",new ii(e,o.borderWidth)),function(e,t,i){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:ai}},model:{key:"tableAlignment",value:e=>{let t=e.getStyle("float");return"none"===t&&(t="center"),t===i?null:t}}}).attributeToAttribute({view:{attributes:{align:si}},model:{name:"table",key:"tableAlignment",value:e=>{const t=e.getAttribute("align");return t===i?null:t}}})}(t,i,o.alignment),e.commands.add("tableAlignment",new ri(e,o.alignment)),ci(t,i,{modelAttribute:"tableWidth",styleName:"width",defaultValue:o.width}),e.commands.add("tableWidth",new oi(e,o.width)),ci(t,i,{modelAttribute:"tableHeight",styleName:"height",defaultValue:o.height}),e.commands.add("tableHeight",new ni(e,o.height)),e.data.addStyleProcessorRules(Ne.QR),function(e,t,i){const{modelAttribute:o}=i;e.extend("table",{allowAttributes:[o]}),r(t,{viewElement:"table",...i}),l(t,i)}(t,i,{modelAttribute:"tableBackgroundColor",styleName:"background-color",defaultValue:o.backgroundColor}),e.commands.add("tableBackgroundColor",new Xt(e,o.backgroundColor))}}function ci(e,t,i){const{modelAttribute:o}=i;e.extend("table",{allowAttributes:[o]}),r(t,{viewElement:/^(table|figure)$/,shouldUpcast:e=>!("table"==e.name&&"figure"==e.parent.name),...i}),a(t,{modelElement:"table",...i})}var di=i(6596),ui={attributes:{"data-cke":!0}};ui.setAttributes=fe(),ui.insert=ge().bind(null,"head"),ui.domAPI=he(),ui.insertStyleElement=we(),de()(di.Z,ui),di.Z&&di.Z.locals&&di.Z.locals;const hi={left:o.icons.objectLeft,center:o.icons.objectCenter,right:o.icons.objectRight};class mi extends Ce.G7{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",alignment:""}),this.options=t;const{borderStyleDropdown:i,borderWidthInput:o,borderColorInput:n,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:s,backgroundInput:a}=this._createBackgroundFields(),{widthInput:l,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{alignmentToolbar:h,alignmentLabel:m}=this._createAlignmentFields();this.focusTracker=new g.Rh,this.keystrokes=new g.VD,this.children=this.createCollection(),this.borderStyleDropdown=i,this.borderWidthInput=o,this.borderColorInput=n,this.backgroundInput=a,this.widthInput=l,this.heightInput=d,this.alignmentToolbar=h;const{saveButtonView:p,cancelButtonView:f}=this._createActionButtons();this.saveButtonView=p,this.cancelButtonView=f,this._focusables=new Ce.vX,this._focusCycler=new Ce.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Ce.Gp(e,{label:this.t("Table properties")})),this.children.add(new gt(e,{labelView:r,children:[r,i,n,o],class:"ck-table-form__border-row"})),this.children.add(new gt(e,{labelView:s,children:[s,a],class:"ck-table-form__background-row"})),this.children.add(new gt(e,{children:[new gt(e,{labelView:u,children:[u,l,c,d],class:"ck-table-form__dimensions-row"}),new gt(e,{labelView:m,children:[m,h],class:"ck-table-properties-form__alignment-row"})]})),this.children.add(new gt(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,Ce.GI)({view:this}),[this.borderStyleDropdown,this.borderColorInput,this.borderColorInput.fieldView.dropdownView.buttonView,this.borderWidthInput,this.backgroundInput,this.backgroundInput.fieldView.dropdownView.buttonView,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},i=dt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color}),o=this.locale,n=this.t,r=new Ce.Dn(o);r.text=n("Border");const s=tt(n),a=new Ce.KP(o,Ce.FH);a.set({label:n("Style"),class:"ck-table-form__border-style"}),a.fieldView.buttonView.set({isOn:!1,withText:!0,tooltip:n("Style")}),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,Ce.Pm)(a.fieldView,at(this,t.style));const l=new Ce.KP(o,Ce.R);l.set({label:n("Width"),class:"ck-table-form__border-width"}),l.fieldView.bind("value").to(this,"borderWidth"),l.bind("isEnabled").to(this,"borderStyle",gi),l.fieldView.on("input",(()=>{this.borderWidth=l.fieldView.element.value}));const c=new Ce.KP(o,i);return c.set({label:n("Color"),class:"ck-table-form__border-color"}),c.fieldView.bind("value").to(this,"borderColor"),c.bind("isEnabled").to(this,"borderStyle",gi),c.fieldView.on("input",(()=>{this.borderColor=c.fieldView.value})),this.on("change:borderStyle",((e,i,o,n)=>{gi(o)||(this.borderColor="",this.borderWidth=""),gi(n)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:r,borderStyleDropdown:a,borderColorInput:c,borderWidthInput:l}}_createBackgroundFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Background");const o=dt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableProperties.backgroundColor}),n=new Ce.KP(e,o);return n.set({label:t("Color"),class:"ck-table-properties-form__background"}),n.fieldView.bind("value").to(this,"backgroundColor"),n.fieldView.on("input",(()=>{this.backgroundColor=n.fieldView.value})),{backgroundRowLabel:i,backgroundInput:n}}_createDimensionFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Dimensions");const o=new Ce.KP(e,Ce.R);o.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),o.fieldView.bind("value").to(this,"width"),o.fieldView.on("input",(()=>{this.width=o.fieldView.element.value}));const n=new Ce.G7(e);n.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Ce.KP(e,Ce.R);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:i,widthInput:o,operatorLabel:n,heightInput:r}}_createAlignmentFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Alignment");const o=new Ce.jB(e);return o.set({isCompact:!0,ariaLabel:t("Table alignment toolbar")}),lt({view:this,icons:hi,toolbar:o,labels:this._alignmentLabels,propertyName:"alignment",defaultValue:this.options.defaultTableProperties.alignment}),{alignmentLabel:i,alignmentToolbar:o}}_createActionButtons(){const e=this.locale,t=this.t,i=new Ce.r5(e),n=new Ce.r5(e),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.widthInput,this.heightInput];return i.set({label:t("Save"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0}),i.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),n.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),n.delegate("execute").to(this,"cancel"),{saveButtonView:i,cancelButtonView:n}}get _alignmentLabels(){const e=this.locale,t=this.t,i=t("Align table to the left"),o=t("Center table"),n=t("Align table to the right");return"rtl"===e.uiLanguageDirection?{right:n,center:o,left:i}:{left:i,center:o,right:n}}}function gi(e){return"none"!==e}const pi={borderStyle:"tableBorderStyle",borderColor:"tableBorderColor",borderWidth:"tableBorderWidth",backgroundColor:"tableBackgroundColor",width:"tableWidth",height:"tableHeight",alignment:"tableAlignment"};class fi extends o.Sy{static get requires(){return[Ce.WB]}static get pluginName(){return"TablePropertiesUI"}constructor(e){super(e),this.view=null,e.config.define("table.tableProperties",{borderColors:ct,backgroundColors:ct})}init(){const e=this.editor,t=e.t;this._defaultTableProperties=Bt(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0}),this._balloon=e.plugins.get(Ce.WB),e.ui.componentFactory.add("tableProperties",(i=>{const o=new Ce.r5(i);o.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(o,"execute",(()=>this._showView()));const n=Object.values(pi).map((t=>e.commands.get(t)));return o.bind("isEnabled").toMany(n,"isEnabled",((...e)=>e.some((e=>e)))),o}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableProperties"),i=(0,Ce.S1)(t.borderColors),o=(0,Ce.k6)(e.locale,i),n=(0,Ce.S1)(t.backgroundColors),r=(0,Ce.k6)(e.locale,n),s=new mi(e.locale,{borderColors:o,backgroundColors:r,defaultTableProperties:this._defaultTableProperties}),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,Ce.eC)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const l=it(a),c=ot(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableBorderColor",errorText:l,validator:nt})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableBorderWidth",errorText:c,validator:st})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableBackgroundColor",errorText:l,validator:nt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableWidth",errorText:c,validator:rt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableHeight",errorText:c,validator:rt})),s.on("change:alignment",this._getPropertyChangeCallback("tableAlignment")),s}_fillViewFormFromCommandValues(){const e=this.editor.commands,t=e.get("tableBorderStyle");Object.entries(pi).map((([t,i])=>{const o=t,n=this._defaultTableProperties[o]||"";return[o,e.get(i).value||n]})).forEach((([e,i])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,i)})),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:St(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;qe(e.editing.view.document.selection)?this._isViewVisible&&Tt(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,i,o)=>{this._isReady&&this.editor.execute(e,{value:o,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:i,validator:o,errorText:n}=e,r=(0,xt.Z)((()=>{i.errorText=n}),500);return(e,n,s)=>{r.cancel(),this._isReady&&(o(s)?(this.editor.execute(t,{value:s,batch:this._undoStepBatch}),i.errorText=null):r())}}}class bi extends o.Sy{static get pluginName(){return"TableProperties"}static get requires(){return[li,fi]}}function wi(e){return!!e&&e.is("element","table")}function ki(e){for(const t of e.getChildren())if(t.is("element","caption"))return t;return null}function _i(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}function vi(e){const t=e.getSelectedElement();return t&&t.is("element","table")?t:e.getFirstPosition().findAncestor("table")}class yi extends o.mY{refresh(){const e=vi(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?this.value=!!ki(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 i=this.editor.model,o=vi(i.document.selection),n=this.editor.plugins.get("TableCaptionEditing")._getSavedCaption(o)||e.createElement("caption");i.insertContent(n,o,"end"),t&&e.setSelection(n,"in")}_hideTableCaption(e){const t=this.editor.model,i=vi(t.document.selection),o=this.editor.plugins.get("TableCaptionEditing"),n=ki(i);o._saveCaption(i,n),t.deleteContent(e.createSelection(n,"on"))}}class Ci extends o.Sy{static get pluginName(){return"TableCaptionEditing"}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,t=e.model.schema,i=e.editing.view,o=e.t;var r;t.isRegistered("caption")?t.extend("caption",{allowIn:"table"}):t.register("caption",{allowIn:"table",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleTableCaption",new yi(this.editor)),e.conversion.for("upcast").elementToElement({view:_i,model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>wi(e.parent)?t.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>{if(!wi(e.parent))return null;const r=t.createEditableElement("figcaption");return t.setCustomProperty("tableCaption",!0,r),(0,Ne.ID)({view:i,element:r,text:o("Enter table caption"),keepOnFocus:!0}),(0,n.sC)(r,t)}}),(r=e.model).document.registerPostFixer((e=>function(e,t){const i=t.document.differ.getChanges();let o=!1;for(const t of i){if("insert"!=t.type)continue;const i=t.position.parent;if(i.is("element","table")||"table"==t.name){const n="table"==t.name?t.position.nodeAfter:i,r=Array.from(n.getChildren()).filter((e=>e.is("element","caption"))),s=r.shift();if(!s)continue;for(const t of r)e.move(e.createRangeIn(t),s,"end"),e.remove(t);s.nextSibling&&(e.move(e.createRangeOn(s),n,"end"),o=!0),o=!!r.length||o}}return o}(e,r)))}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?Ne.W_.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}}class xi extends o.Sy{static get pluginName(){return"TableCaptionUI"}init(){const e=this.editor,t=e.editing.view,i=e.t;e.ui.componentFactory.add("toggleTableCaption",(n=>{const r=e.commands.get("toggleTableCaption"),s=new Ce.r5(n);return s.set({icon:o.icons.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.bind("label").to(r,"value",(e=>i(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{if(e.execute("toggleTableCaption",{focusCaptionOnShow:!0}),r.value){const i=function(e){const t=vi(e);return t?ki(t):null}(e.model.document.selection),o=e.editing.mapper.toViewElement(i);if(!o)return;t.scrollToTheSelection(),t.change((e=>{e.addClass("table__caption_highlighted",o)}))}e.editing.view.focus()})),s}))}}var Ai=i(1111),Ei={attributes:{"data-cke":!0}};Ei.setAttributes=fe(),Ei.insert=ge().bind(null,"head"),Ei.domAPI=he(),Ei.insertStyleElement=we(),de()(Ai.Z,Ei),Ai.Z&&Ai.Z.locals&&Ai.Z.locals;class Ti extends o.Sy{static get pluginName(){return"TableCaption"}static get requires(){return[Ci,xi]}}var Si=i(576),Pi=i(111);const Ii=2;function Vi(e,t){const i=Ri(e,"tbody",t)||Ri(e,"thead",t);return Oi(t.editing.view.domConverter.mapViewToDom(i))}function Ri(e,t,i){return[...[...i.editing.mapper.toViewElement(e).getChildren()].find((e=>e.is("element","table"))).getChildren()].find((e=>e.is("element",t)))}function Oi(e){const t=g.CO.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 Bi(e){const t=Math.pow(10,Ii),i="number"==typeof e?e:parseFloat(e);return Math.round(i*t)/t}function Mi(e){return e.map((e=>"number"==typeof e?e:parseFloat(e))).filter((e=>!Number.isNaN(e))).reduce(((e,t)=>e+t),0)}function zi(e){let t=function(e){const t=e.filter((e=>"auto"===e)).length;if(0===t)return e.map((e=>Bi(e)));const i=Mi(e),o=Math.max((100-i)/t,5);return e.map((e=>"auto"===e?o:e)).map((e=>Bi(e)))}(e.map((e=>"auto"===e?e:parseFloat(e.replace("%","")))));const i=Mi(t);return 100!==i&&(t=t.map((e=>Bi(100*e/i))).map(((e,t,i)=>t!==i.length-1?e:Bi(e+100-Mi(i))))),t.map((e=>e+"%"))}function Ni(e){const t=g.CO.window.getComputedStyle(e);return"border-box"===t.boxSizing?parseInt(t.width):parseFloat(t.width)+parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderWidth)}function Di(e,t,i,o){for(let n=0;n<Math.max(i.length,e.length);n++){const r=e[n],s=i[n];s?r?o.setAttribute("columnWidth",s,r):o.appendElement("tableColumn",{columnWidth:s},t):o.remove(r)}}function Li(e){if(e.is("element","tableColumnGroup"))return e;const t=e.getChildren();return Array.from(t).find((e=>e.is("element","tableColumnGroup")))}function Fi(e){return Array.from(Li(e).getChildren())}function Hi(e){return Fi(e).map((e=>e.getAttribute("columnWidth")))}class Wi extends o.mY{refresh(){this.isEnabled=!0}execute(e={}){const{model:t,plugins:i}=this.editor;let{table:o=t.document.selection.getSelectedElement(),columnWidths:n,tableWidth:r}=e;n&&(n=Array.isArray(n)?n:n.split(",")),t.change((e=>{r?e.setAttribute("tableWidth",r,o):e.removeAttribute("tableWidth",o);const t=i.get("TableColumnResizeEditing").getColumnGroupElement(o);if(!n&&!t)return;if(!n)return e.remove(t);const s=zi(n);if(t)Array.from(t.getChildren()).forEach(((t,i)=>e.setAttribute("columnWidth",s[i],t)));else{const t=e.createElement("tableColumnGroup");s.forEach((i=>e.appendElement("tableColumn",{columnWidth:i},t))),e.append(t,o)}}))}}class Zi extends o.Sy{static get requires(){return[ve,U]}static get pluginName(){return"TableColumnResizeEditing"}constructor(e){super(e),this._isResizingActive=!1,this.set("_isResizingAllowed",!0),this._resizingData=null,this._domEmitter=new((0,g.Xu)()),this._tableUtilsPlugin=e.plugins.get("TableUtils"),this.on("change:_isResizingAllowed",((t,i,o)=>{e.editing.view.change((t=>{t[o?"removeClass":"addClass"]("ck-column-resize_disabled",e.editing.view.document.getRoot())}))}))}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 i=new Wi(e);e.commands.add("resizeTableWidth",i),e.commands.add("resizeColumnWidths",i),this.bind("_isResizingAllowed").to(e,"isReadOnly",t,"isEnabled",i,"isEnabled",((e,t,i)=>!e&&t&&i))}destroy(){this._domEmitter.stopListening(),super.destroy()}getColumnGroupElement(e){return Li(e)}getTableColumnElements(e){return Fi(e)}getTableColumnsWidths(e){return Hi(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"],isLimit:!0})}_registerPostFixer(){const e=this.editor.model;function t(e,t,i){const o=i._tableUtilsPlugin.getColumns(t);if(0==o-e.length)return e;const n=e.map((e=>Number(e.replace("%","")))),r=function(e,t){const i=new Set;for(const o of e.getChanges())if("insert"==o.type&&o.position.nodeAfter&&"tableCell"==o.position.nodeAfter.name&&o.position.nodeAfter.getAncestors().includes(t))i.add(o.position.nodeAfter);else if("remove"==o.type){const e=o.position.nodeBefore||o.position.nodeAfter;"tableCell"==e.name&&e.getAncestors().includes(t)&&i.add(e)}return i}(i.editor.model.document.differ,t);for(const e of r){const r=o-n.length;if(0===r)continue;const c=r>0,d=i._tableUtilsPlugin.getCellLocation(e).column;if(c){const e=(l=(s=t,a=i.editor,4e3/Vi(s,a)),Array(r).fill(l));n.splice(d,0,...e)}else{const e=n.splice(d,Math.abs(r));n[d]+=Mi(e)}}var s,a,l;return n.map((e=>e+"%"))}e.document.registerPostFixer((i=>{let o=!1;for(const n of function(e){const t=new Set;for(const i of e.document.differ.getChanges()){let o=null;switch(i.type){case"insert":o=["table","tableRow","tableCell"].includes(i.name)?i.position:null;break;case"remove":o=["tableRow","tableCell"].includes(i.name)?i.position:null;break;case"attribute":i.range.start.nodeAfter&&(o=["table","tableRow","tableCell"].includes(i.range.start.nodeAfter.name)?i.range.start:null)}if(!o)continue;const n=o.nodeAfter&&o.nodeAfter.is("element","table")?o.nodeAfter:o.findAncestor("table");for(const i of e.createRangeOn(n).getItems())i.is("element","table")&&Li(i)&&t.add(i)}return t}(e)){const e=this.getColumnGroupElement(n),r=this.getTableColumnElements(e),s=this.getTableColumnsWidths(e);let a=zi(s);a=t(a,n,this),(0,Si.Z)(s,a)||(Di(r,e,a,i),o=!0)}return o}))}_registerConverters(){const e=this.editor.conversion;var t;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,i)=>{const o=i.writer,n=t.item,r=i.mapper.toViewElement(n),s=r.is("element","table")?r:Array.from(r.getChildren()).find((e=>e.is("element","table")));Li(t.item)?o.addClass("ck-table-resized",s):o.removeClass("ck-table-resized",s)}),{priority:"low"}))),e.for("upcast").add((t=this._tableUtilsPlugin,e=>e.on("element:colgroup",((e,i,o)=>{const n=i.modelCursor.findAncestor("table"),r=Li(n);if(!r)return;const s=Fi(r);let a=Hi(r);const l=t.getColumns(n);a=Array.from({length:l},((e,t)=>a[t]||"auto")),(a.length!=s.length||a.includes("auto"))&&Di(s,r,zi(a),o.writer)}),{priority:"low"}))),e.for("upcast").attributeToAttribute({view:{name:"col",styles:{width:/.*/}},model:{key:"columnWidth",value:e=>{const t=e.getStyle("width");return t&&t.endsWith("%")?t:"auto"}}}),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(De),e.document.on("mousedown",this._onMouseDownHandler.bind(this),{priority:"high"}),this._domEmitter.listenTo(g.CO.window.document,"mousemove",(0,Pi.Z)(this._onMouseMoveHandler.bind(this),50)),this._domEmitter.listenTo(g.CO.window.document,"mouseup",this._onMouseUpHandler.bind(this))}_onMouseDownHandler(e,t){const i=t.target;if(!i.hasClass("ck-table-column-resizer"))return;if(!this._isResizingAllowed)return;t.preventDefault(),e.stop();const o=this.editor,n=function(e,t,i){const o=Array(t.getColumns(e)),n=new b(e);for(const e of n){const t=i.editing.mapper.toViewElement(e.cell),n=Ni(i.editing.view.domConverter.mapViewToDom(t));(!o[e.column]||n<o[e.column])&&(o[e.column]=Bi(n))}return o}(o.editing.mapper.toModelElement(i.findAncestor("figure")),this._tableUtilsPlugin,o),r=i.findAncestor("table"),s=o.editing.view;Array.from(r.getChildren()).find((e=>e.is("element","colgroup")))||s.change((e=>{!function(e,t,i){const o=e.createContainerElement("colgroup");for(let i=0;i<t.length;i++){const n=e.createEmptyElement("col"),r=`${Bi(t[i]/Mi(t)*100)}%`;e.setStyle("width",r,n),e.insert(e.createPositionAt(o,"end"),n)}e.insert(e.createPositionAt(i,0),o)}(e,n,r)})),this._isResizingActive=!0,this._resizingData=this._getResizingData(t,n),s.change((e=>function(e,t,i){const o=i.widths.viewFigureWidth/i.widths.viewFigureParentWidth;e.addClass("ck-table-resized",t),e.addClass("ck-table-column-resizer__active",i.elements.viewResizer),e.setStyle("width",`${Bi(100*o)}%`,t.findAncestor("figure"))}(e,r,this._resizingData)))}_onMouseMoveHandler(e,t){if(!this._isResizingActive)return;if(!this._isResizingAllowed)return void this._onMouseUpHandler();const{columnPosition:i,flags:{isRightEdge:o,isTableCentered:n,isLtrContent:r},elements:{viewFigure:s,viewLeftColumn:a,viewRightColumn:l},widths:{viewFigureParentWidth:c,tableWidth:d,leftColumnWidth:u,rightColumnWidth:h}}=this._resizingData,m=40-u,g=o?c-d:h-40,p=(r?1:-1)*(o&&n?2:1),f=(b=(t.clientX-i)*p,w=Math.min(m,0),k=Math.max(g,0),Bi(b<=w?w:b>=k?k:b));var b,w,k;0!==f&&this.editor.editing.view.change((e=>{const t=Bi(100*(u+f)/d);if(e.setStyle("width",`${t}%`,a),o){const t=Bi(100*(d+f)/c);e.setStyle("width",`${t}%`,s)}else{const t=Bi(100*(h-f)/d);e.setStyle("width",`${t}%`,l)}}))}_onMouseUpHandler(){if(!this._isResizingActive)return;const{viewResizer:e,modelTable:t,viewFigure:i,viewColgroup:o}=this._resizingData.elements,n=this.editor,r=n.editing.view,s=this.getColumnGroupElement(t),a=Array.from(o.getChildren()).filter((e=>e.is("view:element"))),l=s?this.getTableColumnsWidths(s):null,c=a.map((e=>e.getStyle("width"))),d=!(0,Si.Z)(l,c),u=t.getAttribute("tableWidth"),h=i.getStyle("width"),m=u!==h;(d||m)&&(this._isResizingAllowed?n.execute("resizeTableWidth",{table:t,tableWidth:`${Bi(h)}%`,columnWidths:c}):r.change((e=>{if(l)for(const t of a)e.setStyle("width",l.shift(),t);else e.remove(o);m&&(u?e.setStyle("width",u,i):e.removeStyle("width",i)),l||u||e.removeClass("ck-table-resized",[...i.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 i=this.editor,o=e.domEvent.clientX,n=e.target,r=n.findAncestor("td")||n.findAncestor("th"),s=i.editing.mapper.toModelElement(r),a=s.findAncestor("table"),l=function(e,t){const i=t.getCellLocation(e).column;return{leftEdge:i,rightEdge:i+(e.getAttribute("colspan")||1)-1}}(s,this._tableUtilsPlugin).rightEdge,c=l===this._tableUtilsPlugin.getColumns(a)-1,d=!a.hasAttribute("tableAlignment"),u="rtl"!==i.locale.contentLanguageDirection,h=r.findAncestor("table"),m=h.findAncestor("figure"),g=[...h.getChildren()].find((e=>e.is("element","colgroup"))),p=g.getChild(l),f=c?void 0:g.getChild(l+1);return{columnPosition:o,flags:{isRightEdge:c,isTableCentered:d,isLtrContent:u},elements:{viewResizer:n,modelTable:a,viewFigure:m,viewColgroup:g,viewLeftColumn:p,viewRightColumn:f},widths:{viewFigureParentWidth:Oi(i.editing.view.domConverter.mapViewToDom(m.parent)),viewFigureWidth:Oi(i.editing.view.domConverter.mapViewToDom(m)),tableWidth:Vi(a,i),leftColumnWidth:t[l],rightColumnWidth:c?void 0:t[l+1]}}}_registerResizerInserter(){this.editor.conversion.for("editingDowncast").add((e=>{e.on("insert:tableCell",((e,t,i)=>{const o=t.item,n=i.mapper.toViewElement(o),r=i.writer;r.insert(r.createPositionAt(n,"end"),r.createUIElement("div",{class:"ck-table-column-resizer"}))}),{priority:"lowest"})}))}}var Ui=i(7176),ji={attributes:{"data-cke":!0}};ji.setAttributes=fe(),ji.insert=ge().bind(null,"head"),ji.domAPI=he(),ji.insertStyleElement=we(),de()(Ui.Z,ji),Ui.Z&&Ui.Z.locals&&Ui.Z.locals;class $i extends o.Sy{static get requires(){return[Zi,Lt]}static get pluginName(){return"TableColumnResize"}}},3701:(e,t,i)=>{"use strict";i.d(t,{HG:()=>k,II:()=>d,uL:()=>y,mh:()=>C,Mq:()=>_,VD:()=>P,Up:()=>v,Im:()=>V});var o=i(7578),n=i(7732);class r{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 s extends o.Command{constructor(e,t){super(e),this._buffer=new r(e.model,t)}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const t=this.editor.model,i=t.document,o=e.text||"",n=o.length;let r=i.selection;e.selection?r=e.selection:e.range&&(r=t.createSelection(e.range));const s=e.resultRange;t.enqueueChange(this._buffer.batch,(e=>{this._buffer.lock(),t.deleteContent(r),o&&t.insertContent(e.createText(o,i.selection.getAttributes()),r),s?e.setSelection(s):r.is("documentSelection")||e.setSelection(r),this._buffer.unlock(),this._buffer.input(n)}))}}var a=i(600);const l=["insertText","insertReplacementText"];class c extends a.Observer{constructor(e){super(e),n.env.isAndroid&&l.push("insertCompositionText");const t=e.document;t.on("beforeinput",((i,o)=>{if(!this.isEnabled)return;const{data:r,targetRanges:s,inputType:c,domEvent:d}=o;if(!l.includes(c))return;const u=new n.EventInfo(t,"insertText");t.fire(u,new a.DomEventData(e,d,{text:r,selection:e.createSelection(s)})),u.stop.called&&i.stop()})),t.on("compositionend",((i,{data:o,domEvent:r})=>{this.isEnabled&&!n.env.isAndroid&&o&&t.fire("insertText",new a.DomEventData(e,r,{text:o,selection:t.selection}))}),{priority:"lowest"})}observe(){}stopObserving(){}}class d extends o.Plugin{static get pluginName(){return"Input"}init(){const e=this.editor,t=e.model,i=e.editing.view,o=t.document.selection;i.addObserver(c);const r=new s(e,e.config.get("typing.undoStep")||20);e.commands.add("insertText",r),e.commands.add("input",r),this.listenTo(i.document,"insertText",((o,r)=>{i.document.isComposing||r.preventDefault();const{text:s,selection:a,resultRange:l}=r,c=Array.from(a.getRanges()).map((t=>e.editing.mapper.toModelRange(t)));let d=s;if(n.env.isAndroid){const e=Array.from(c[0].getItems()).reduce(((e,t)=>e+(t.is("$textProxy")?t.data:"")),"");e&&(e.length<=d.length?d.startsWith(e)&&(d=d.substring(e.length),c[0].start=c[0].start.getShiftedBy(e.length)):e.startsWith(d)&&(c[0].start=c[0].start.getShiftedBy(d.length),d=""))}const u={text:d,selection:t.createSelection(c)};l&&(u.resultRange=e.editing.mapper.toModelRange(l)),e.execute("insertText",u)})),n.env.isAndroid?this.listenTo(i.document,"keydown",((e,n)=>{!o.isCollapsed&&229==n.keyCode&&i.document.isComposing&&u(t,r)})):this.listenTo(i.document,"compositionstart",(()=>{o.isCollapsed||u(t,r)}))}}function u(e,t){if(!t.isEnabled)return;const i=t.buffer;i.lock(),e.enqueueChange(i.batch,(()=>{e.deleteContent(e.document.selection)})),i.unlock()}class h extends o.Command{constructor(e,t){super(e),this.direction=t,this._buffer=new r(e.model,e.config.get("typing.undoStep"))}get buffer(){return this._buffer}execute(e={}){const t=this.editor.model,i=t.document;t.enqueueChange(this._buffer.batch,(o=>{this._buffer.lock();const r=o.createSelection(e.selection||i.selection),s=e.sequence||1,a=r.isCollapsed;if(r.isCollapsed&&t.modifySelection(r,{direction:this.direction,unit:e.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(s))return void this._replaceEntireContentWithParagraph(o);if(this._shouldReplaceFirstBlockWithParagraph(r,s))return void this.editor.execute("paragraph",{selection:r});if(r.isCollapsed)return;let l=0;r.getFirstRange().getMinimalFlatRanges().forEach((e=>{l+=(0,n.count)(e.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),t.deleteContent(r,{doNotResetEntireContent:a,direction:this.direction}),this._buffer.input(l),o.setSelection(r),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const t=this.editor.model,i=t.document.selection,o=t.schema.getLimitElement(i);if(!i.isCollapsed||!i.containsEntireContent(o))return!1;if(!t.schema.checkChild(o,"paragraph"))return!1;const n=o.getChild(0);return!n||!n.is("element","paragraph")}_replaceEntireContentWithParagraph(e){const t=this.editor.model,i=t.document.selection,o=t.schema.getLimitElement(i),n=e.createElement("paragraph");e.remove(e.createRangeIn(o)),e.insert(n,o),e.setSelection(n,0)}_shouldReplaceFirstBlockWithParagraph(e,t){const i=this.editor.model;if(t>1||"backward"!=this.direction)return!1;if(!e.isCollapsed)return!1;const o=e.getFirstPosition(),n=i.schema.getLimitElement(o),r=n.getChild(0);return o.parent==r&&!!e.containsEntireContent(r)&&!!i.schema.checkChild(n,"paragraph")&&"paragraph"!=r.name}}const m="word",g="selection",p="backward",f="forward",b={deleteContent:{unit:g,direction:p},deleteContentBackward:{unit:"codePoint",direction:p},deleteWordBackward:{unit:m,direction:p},deleteHardLineBackward:{unit:g,direction:p},deleteSoftLineBackward:{unit:g,direction:p},deleteContentForward:{unit:"character",direction:f},deleteWordForward:{unit:m,direction:f},deleteHardLineForward:{unit:g,direction:f},deleteSoftLineForward:{unit:g,direction:f}};class w extends a.Observer{constructor(e){super(e);const t=e.document;let i=0;t.on("keydown",(()=>{i++})),t.on("keyup",(()=>{i=0})),t.on("beforeinput",((o,r)=>{if(!this.isEnabled)return;const{targetRanges:s,domEvent:l,inputType:c}=r,d=b[c];if(!d)return;const u={direction:d.direction,unit:d.unit,sequence:i};u.unit==g&&(u.selectionToRemove=e.createSelection(s[0])),"deleteContentBackward"===c&&(n.env.isAndroid&&(u.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 i=0;for(const{nextPosition:e}of t){if(e.parent.is("$text")){const t=e.parent.data,o=e.offset;if((0,n.isInsideSurrogatePair)(t,o)||(0,n.isInsideCombinedSymbol)(t,o)||(0,n.isInsideEmojiSequence)(t,o))continue;i++}else i++;if(i>1)return!0}return!1}(s)&&(u.unit=g,u.selectionToRemove=e.createSelection(s)));const h=new a.BubblingEventInfo(t,"delete",s[0]);t.fire(h,new a.DomEventData(e,l,u)),h.stop.called&&o.stop()})),n.env.isBlink&&function(e){const t=e.view,i=t.document;let o=null,r=!1;function s(e){return e==n.keyCodes.backspace||e==n.keyCodes.delete}function l(e){return e==n.keyCodes.backspace?p:f}i.on("keydown",((e,{keyCode:t})=>{o=t,r=!1})),i.on("keyup",((n,{keyCode:c,domEvent:d})=>{const u=i.selection,h=e.isEnabled&&c==o&&s(c)&&!u.isCollapsed&&!r;if(o=null,h){const e=u.getFirstRange(),o=new a.BubblingEventInfo(i,"delete",e),n={unit:g,direction:l(c),selectionToRemove:u};i.fire(o,new a.DomEventData(t,d,n))}})),i.on("beforeinput",((e,{inputType:t})=>{const i=b[t];s(o)&&i&&i.direction==l(o)&&(r=!0)}),{priority:"high"}),i.on("beforeinput",((e,{inputType:t,data:i})=>{o==n.keyCodes.delete&&"insertText"==t&&"\7f"==i&&e.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class k extends o.Plugin{static get pluginName(){return"Delete"}init(){const e=this.editor,t=e.editing.view,i=t.document,o=e.model.document;t.addObserver(w),this._undoOnBackspace=!1;const n=new h(e,"forward");e.commands.add("deleteForward",n),e.commands.add("forwardDelete",n),e.commands.add("delete",new h(e,"backward")),this.listenTo(i,"delete",((o,n)=>{i.isComposing||n.preventDefault();const{direction:r,sequence:s,selectionToRemove:a,unit:l}=n,c="forward"===r?"deleteForward":"delete",d={sequence:s};if("selection"==l){const t=Array.from(a.getRanges()).map((t=>e.editing.mapper.toModelRange(t)));d.selection=e.model.createSelection(t)}else d.unit=l;e.execute(c,d),t.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(i,"delete",((t,i)=>{this._undoOnBackspace&&"backward"==i.direction&&1==i.sequence&&"codePoint"==i.unit&&(this._undoOnBackspace=!1,e.execute("undo"),i.preventDefault(),t.stop())}),{context:"$capture"}),this.listenTo(o,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class _ extends o.Plugin{static get requires(){return[d,k]}static get pluginName(){return"Typing"}}function v(e,t){let i=e.start;return{text:Array.from(e.getItems()).reduce(((e,o)=>o.is("$text")||o.is("$textProxy")?e+o.data:(i=t.createPositionAfter(o),"")),""),range:t.createRange(i,e.end)}}class y extends((0,n.ObservableMixin)()){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:i})=>{i&&(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 i=this.model,o=i.document.selection,n=i.createRange(i.createPositionAt(o.focus.parent,0),o.focus),{text:r,range:s}=v(n,i),a=this.testCallback(r);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const i=Object.assign(t,{text:r,range:s});"object"==typeof a&&Object.assign(i,a),this.fire(`matched:${e}`,i)}}}class C extends o.Plugin{static get pluginName(){return"TwoStepCaretMovement"}constructor(e){super(e),this.attributes=new Set,this._overrideUid=null}init(){const e=this.editor,t=e.model,i=e.editing.view,o=e.locale,r=t.document.selection;this.listenTo(i.document,"arrowKey",((e,t)=>{if(!r.isCollapsed)return;if(t.shiftKey||t.altKey||t.ctrlKey)return;const i=t.keyCode==n.keyCodes.arrowright,s=t.keyCode==n.keyCodes.arrowleft;if(!i&&!s)return;const a=o.contentLanguageDirection;let l=!1;l="ltr"===a&&i||"rtl"===a&&s?this._handleForwardMovement(t):this._handleBackwardMovement(t),!0===l&&e.stop()}),{context:"$text",priority:"highest"}),this._isNextGravityRestorationSkipped=!1,this.listenTo(r,"change:range",((e,t)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!t.directChange&&T(r.getFirstPosition(),this.attributes)||this._restoreGravity())}))}registerAttribute(e){this.attributes.add(e)}_handleForwardMovement(e){const t=this.attributes,i=this.editor.model.document.selection,o=i.getFirstPosition();return!(this._isGravityOverridden||o.isAtStart&&x(i,t)||!T(o,t)||(E(e),this._overrideGravity(),0))}_handleBackwardMovement(e){const t=this.attributes,i=this.editor.model,o=i.document.selection,n=o.getFirstPosition();return this._isGravityOverridden?(E(e),this._restoreGravity(),A(i,t,n),!0):n.isAtStart?!!x(o,t)&&(E(e),A(i,t,n),!0):!!function(e,t){return T(e.getShiftedBy(-1),t)}(n,t)&&(n.isAtEnd&&!x(o,t)&&T(n,t)?(E(e),A(i,t,n),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}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 x(e,t){for(const i of t)if(e.hasAttribute(i))return!0;return!1}function A(e,t,i){const o=i.nodeBefore;e.change((e=>{o?e.setSelectionAttribute(o.getAttributes()):e.removeSelectionAttribute(t)}))}function E(e){e.preventDefault()}function T(e,t){const{nodeBefore:i,nodeAfter:o}=e;for(const e of t){const t=i?i.getAttribute(e):void 0;if((o?o.getAttribute(e):void 0)!==t)return!0}return!1}function S(e){return new RegExp(`(^|\\s)(${e})([^${e}]*)(${e})$`)}function P(e,t,i,o){return o.createRange(I(e,t,i,!0,o),I(e,t,i,!1,o))}function I(e,t,i,o,n){let r=e.textNode||(o?e.nodeBefore:e.nodeAfter),s=null;for(;r&&r.getAttribute(t)==i;)s=r,r=o?r.previousSibling:r.nextSibling;return s?n.createPositionAt(s,o?"before":"after"):e}function V(e,t,i,o){const n=e.editing.view,r=new Set;n.document.registerPostFixer((n=>{const s=e.model.document.selection;let a=!1;if(s.hasAttribute(t)){const l=P(s.getFirstPosition(),t,s.getAttribute(t),e.model),c=e.editing.mapper.toViewRange(l);for(const e of c.getItems())e.is("element",i)&&!e.hasClass(o)&&(n.addClass(o,e),r.add(e),a=!0)}return a})),e.conversion.for("editingDowncast").add((e=>{function t(){n.change((e=>{for(const t of r.values())e.removeClass(o,t),r.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"})}))}S('"'),S("'"),S("'"),S('"'),S('"'),S("'")},3905:(e,t,i)=>{"use strict";function o({emitter:e,activator:t,callback:i,contextElements:o}){e.listenTo(document,"mousedown",((e,n)=>{if(!t())return;const r="function"==typeof n.composedPath?n.composedPath():[],s="function"==typeof o?o():o;for(const e of s)if(e.contains(n.target)||r.includes(e))return;i()}))}function n(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 r(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 s({view:e}){e.listenTo(e.element,"submit",((t,i)=>{i.preventDefault(),e.fire("submit")}),{useCapture:!0})}function a({keystrokeHandler:e,focusTracker:t,gridItems:i,numberOfColumns:o,uiLanguageDirection:n}){const r="number"==typeof o?()=>o:o;function s(e){return o=>{const n=i.find((e=>e.element===t.focusedElement)),r=i.getIndex(n),s=e(r,i);i.get(s).focus(),o.stopPropagation(),o.preventDefault()}}function a(e,t){return e===t-1?0:e+1}function l(e,t){return 0===e?t-1:e-1}e.set("arrowright",s(((e,t)=>"rtl"===n?l(e,t.length):a(e,t.length)))),e.set("arrowleft",s(((e,t)=>"rtl"===n?a(e,t.length):l(e,t.length)))),e.set("arrowup",s(((e,t)=>{let i=e-r();return i<0&&(i=e+r()*Math.floor(t.length/r()),i>t.length-1&&(i-=r())),i}))),e.set("arrowdown",s(((e,t)=>{let i=e+r();return i>t.length-1&&(i=e%r()),i})))}i.r(t),i.d(t,{BalloonPanelView:()=>et,BalloonToolbar:()=>Yt,BlockToolbar:()=>ni,BodyCollection:()=>$,BoxedEditorUIView:()=>bt,ButtonView:()=>Q,ColorGridView:()=>le,ColorTileView:()=>re,ComponentFactory:()=>ce,ContextualBalloon:()=>Zt,CssTransitionDisablerMixin:()=>r,DropdownButtonView:()=>fe,DropdownPanelView:()=>ge,DropdownView:()=>me,EditorUI:()=>ct,EditorUIView:()=>mt,FocusCycler:()=>_e,FormHeaderView:()=>yt,IconView:()=>G,IframeView:()=>St,InlineEditableUIView:()=>kt,InputNumberView:()=>Tt,InputTextView:()=>Et,InputView:()=>At,LabelView:()=>ft,LabeledFieldView:()=>Vt,ListItemView:()=>Ne,ListView:()=>ze,Model:()=>Nt,Notification:()=>Mt,SplitButtonView:()=>ke,StickyPanelView:()=>Gt,SwitchButtonView:()=>te,Template:()=>A,ToolbarSeparatorView:()=>ye,ToolbarView:()=>Ie,TooltipManager:()=>at,View:()=>y,ViewCollection:()=>c,addKeyboardHandlingForGrid:()=>a,addListToDropdown:()=>$e,addToolbarToDropdown:()=>Ue,clickOutsideHandler:()=>o,createDropdown:()=>Ze,createLabeledDropdown:()=>Bt,createLabeledInputNumber:()=>Ot,createLabeledInputText:()=>Rt,focusChildOnDropdownOpen:()=>Ke,getLocalizedColorOptions:()=>ie,injectCssTransitionDisabler:()=>n,normalizeColorOptions:()=>oe,normalizeSingleColorDefinition:()=>ne,normalizeToolbarConfig:()=>xe,submitHandler:()=>s});var l=i(7732);class c extends l.Collection{constructor(e=[]){super(e,{idProperty:"viewUid"}),this.on("add",((e,t,i)=>{this._renderViewIntoCollectionParent(t,i)})),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 l.CKEditorError("ui-viewcollection-delegate-wrong-events",this);return{to:t=>{for(const i of this)for(const o of e)i.delegate(o).to(t);this.on("add",((i,o)=>{for(const i of e)o.delegate(i).to(t)})),this.on("remove",((i,o)=>{for(const i of e)o.stopDelegating(i,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 d=i(3379),u=i.n(d),h=i(9037),m=i.n(h),g=i(569),p=i.n(g),f=i(8575),b=i.n(f),w=i(9216),k=i.n(w),_=i(5167),v={attributes:{"data-cke":!0}};v.setAttributes=b(),v.insert=p().bind(null,"head"),v.domAPI=m(),v.insertStyleElement=k(),u()(_.Z,v),_.Z&&_.Z.locals&&_.Z.locals;class y extends((0,l.DomEmitterMixin)((0,l.ObservableMixin)())){constructor(e){super(),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new l.Collection,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((t,i)=>{i.locale=e,i.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 c(e);return this._viewCollections.add(t),t}registerChild(e){(0,l.isIterable)(e)||(e=[e]);for(const t of e)this._unboundChildren.add(t)}deregisterChild(e){(0,l.isIterable)(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 l.CKEditorError("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)}}var C=i(4612),x=i(7226);class A extends((0,l.EmitterMixin)()){constructor(e){super(),Object.assign(this,M(B(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 l.CKEditorError("ui-template-revert-not-applied",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){yield*function*e(t){if(t.children)for(const i of t.children)H(i)?yield i:W(i)&&(yield*e(i))}(this)}static bind(e,t){return{to:(i,o)=>new T({eventNameOrFunction:i,attribute:i,observable:e,emitter:t,callback:o}),if:(i,o,n)=>new S({observable:e,emitter:t,attribute:i,valueIfTrue:o,callback:n})}}static extend(e,t){if(e._isRendered)throw new l.CKEditorError("template-extend-render",[this,e]);L(e,M(B(t)))}_renderNode(e){let t;if(t=e.node?this.tag&&this.text:this.tag?this.text:!this.text,t)throw new l.CKEditorError("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(""),P(this.text)?this._bindToObservable({schema:this.text,updater:V(t),data:e}):t.textContent=this.text.join(""),t}_renderAttributes(e){if(!this.attributes)return;const t=e.node,i=e.revertData;for(const o in this.attributes){const n=t.getAttribute(o),r=this.attributes[o];i&&(i.attributes[o]=n);const s=U(r)?r[0].ns:null;if(P(r)){const a=U(r)?r[0].value:r;i&&j(o)&&a.unshift(n),this._bindToObservable({schema:a,updater:R(t,o,s),data:e})}else if("style"==o&&"string"!=typeof r[0])this._renderStyleAttribute(r[0],e);else{i&&n&&j(o)&&r.unshift(n);const e=r.map((e=>e&&e.value||e)).reduce(((e,t)=>e.concat(t)),[]).reduce(N,"");F(e)||t.setAttributeNS(s,o,e)}}}_renderStyleAttribute(e,t){const i=t.node;for(const o in e){const n=e[o];P(n)?this._bindToObservable({schema:[n],updater:O(i,o),data:t}):i.style[o]=n}}_renderElementChildren(e){const t=e.node,i=e.intoFragment?document.createDocumentFragment():t,o=e.isApplying;let n=0;for(const r of this.children)if(Z(r)){if(!o){r.setParent(t);for(const e of r)i.appendChild(e.element)}}else if(H(r))o||(r.isRendered||r.render(),i.appendChild(r.element));else if((0,l.isNode)(r))i.appendChild(r);else if(o){const t={children:[],bindings:[],attributes:{}};e.revertData.children.push(t),r._renderNode({intoFragment:!1,node:i.childNodes[n++],isApplying:!0,revertData:t})}else i.appendChild(r.render());e.intoFragment&&t.appendChild(i)}_setUpListeners(e){if(this.eventListeners)for(const t in this.eventListeners){const i=this.eventListeners[t].map((i=>{const[o,n]=t.split("@");return i.activateDomEventListener(o,n,e)}));e.revertData&&e.revertData.bindings.push(i)}}_bindToObservable({schema:e,updater:t,data:i}){const o=i.revertData;I(e,t,i);const n=e.filter((e=>!F(e))).filter((e=>e.observable)).map((o=>o.activateAttributeListener(e,t,i)));o&&o.bindings.push(n)}_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 i=e;for(const e in t.attributes){const o=t.attributes[e];null===o?i.removeAttribute(e):i.setAttribute(e,o)}for(let e=0;e<t.children.length;++e)this._revertTemplateFromNode(i.childNodes[e],t.children[e])}}class E{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,i){const o=()=>I(e,t,i);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,o),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,o)}}}class T extends E{constructor(e){super(e),this.eventNameOrFunction=e.eventNameOrFunction}activateDomEventListener(e,t,i){const o=(e,i)=>{t&&!i.target.matches(t)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(i):this.observable.fire(this.eventNameOrFunction,i))};return this.emitter.listenTo(i.node,e,o),()=>{this.emitter.stopListening(i.node,e,o)}}}class S extends E{constructor(e){super(e),this.valueIfTrue=e.valueIfTrue}getValue(e){return!F(super.getValue(e))&&(this.valueIfTrue||!0)}}function P(e){return!!e&&(e.value&&(e=e.value),Array.isArray(e)?e.some(P):e instanceof E)}function I(e,t,{node:i}){const o=function(e,t){return e.map((e=>e instanceof E?e.getValue(t):e))}(e,i);let n;n=1==e.length&&e[0]instanceof S?o[0]:o.reduce(N,""),F(n)?t.remove():t.set(n)}function V(e){return{set(t){e.textContent=t},remove(){e.textContent=""}}}function R(e,t,i){return{set(o){e.setAttributeNS(i,t,o)},remove(){e.removeAttributeNS(i,t)}}}function O(e,t){return{set(i){e.style[t]=i},remove(){e.style[t]=null}}}function B(e){return(0,C.Z)(e,(e=>{if(e&&(e instanceof E||W(e)||H(e)||Z(e)))return e}))}function M(e){if("string"==typeof e?e=function(e){return{text:[e]}}(e):e.text&&function(e){e.text=(0,l.toArray)(e.text)}(e),e.on&&(e.eventListeners=function(e){for(const t in e)z(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,l.toArray)(e[t].value)),z(e,t)}(e.attributes);const t=[];if(e.children)if(Z(e.children))t.push(e.children);else for(const i of e.children)W(i)||H(i)||(0,l.isNode)(i)?t.push(i):t.push(new A(i));e.children=t}return e}function z(e,t){e[t]=(0,l.toArray)(e[t])}function N(e,t){return F(t)?e:F(e)?t:`${e} ${t}`}function D(e,t){for(const i in t)e[i]?e[i].push(...t[i]):e[i]=t[i]}function L(e,t){if(t.attributes&&(e.attributes||(e.attributes={}),D(e.attributes,t.attributes)),t.eventListeners&&(e.eventListeners||(e.eventListeners={}),D(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 l.CKEditorError("ui-template-extend-children-mismatch",e);let i=0;for(const o of t.children)L(e.children[i++],o)}}function F(e){return!e&&0!==e}function H(e){return e instanceof y}function W(e){return e instanceof A}function Z(e){return e instanceof c}function U(e){return(0,x.Z)(e[0])&&e[0].ns}function j(e){return"class"==e||"style"==e}class $ extends c{constructor(e,t=[]){super(t),this.locale=e}attachToDom(){this._bodyCollectionContainer=new A({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let e=document.querySelector(".ck-body-wrapper");e||(e=(0,l.createElement)(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 q=i(1977),K={attributes:{"data-cke":!0}};K.setAttributes=b(),K.insert=p().bind(null,"head"),K.domAPI=m(),K.insertStyleElement=k(),u()(q.Z,K),q.Z&&q.Z.locals&&q.Z.locals;class G extends y{constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon","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:i}of Array.from(e.attributes))G.presentationalAttributeNames.includes(t)&&this.element.setAttribute(t,i);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}))}}G.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"];var J=i(4971),Y={attributes:{"data-cke":!0}};Y.setAttributes=b(),Y.insert=p().bind(null,"head"),Y.domAPI=m(),Y.insertStyleElement=k(),u()(J.Z,Y),J.Z&&J.Z.locals&&J.Z.locals;class Q extends y{constructor(e){super(e);const t=this.bindTemplate,i=(0,l.uid)();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("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._createLabelView(i),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 o={tag:"button",attributes:{class:["ck","ck-button",t.to("class"),t.if("isEnabled","ck-disabled",(e=>!e)),t.if("isVisible","ck-hidden",(e=>!e)),t.to("isOn",(e=>e?"ck-on":"ck-off")),t.if("withText","ck-button_with-text"),t.if("withKeystroke","ck-button_with-keystroke")],type:t.to("type",(e=>e||"button")),tabindex:t.to("tabindex"),"aria-labelledby":`ck-editor__aria-label_${i}`,"aria-disabled":t.if("isEnabled",!0,(e=>!e)),"aria-pressed":t.to("isOn",(e=>!!this.isToggleable&&String(!!e))),"data-cke-tooltip-text":t.to("_tooltipString"),"data-cke-tooltip-position":t.to("tooltipPosition")},children:this.children,on:{click:t.to((e=>{this.isEnabled?this.fire("execute"):e.preventDefault()}))}};l.env.isSafari&&(o.on.mousedown=t.to((e=>{this.focus(),e.preventDefault()}))),this.setTemplate(o)}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()}_createLabelView(e){const t=new y,i=this.bindTemplate;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:i.to("labelStyle"),id:`ck-editor__aria-label_${e}`},children:[{text:i.to("label")}]}),t}_createKeystrokeView(){const e=new y;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(e=>(0,l.getEnvKeystrokeText)(e)))}]}),e}_getTooltipString(e,t,i){return e?"string"==typeof e?e:(i&&(i=(0,l.getEnvKeystrokeText)(i)),e instanceof Function?e(t,i):`${t}${i?` (${i})`:""}`):""}}var X=i(7258),ee={attributes:{"data-cke":!0}};ee.setAttributes=b(),ee.insert=p().bind(null,"head"),ee.domAPI=m(),ee.insertStyleElement=k(),u()(X.Z,ee),X.Z&&X.Z.locals&&X.Z.locals;class te 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 y;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}function ie(e,t){const i=e.t,o={Black:i("Black"),"Dim grey":i("Dim grey"),Grey:i("Grey"),"Light grey":i("Light grey"),White:i("White"),Red:i("Red"),Orange:i("Orange"),Yellow:i("Yellow"),"Light green":i("Light green"),Green:i("Green"),Aquamarine:i("Aquamarine"),Turquoise:i("Turquoise"),"Light blue":i("Light blue"),Blue:i("Blue"),Purple:i("Purple")};return t.map((e=>{const t=o[e.label];return t&&t!=e.label&&(e.label=t),e}))}function oe(e){return e.map(ne).filter((e=>!!e))}function ne(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 re 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")},class:["ck","ck-color-grid__tile",t.if("hasBorder","ck-color-table__color-tile_bordered")]}})}render(){super.render(),this.iconView.fillColor="hsl(0, 0%, 100%)"}}var se=i(4923),ae={attributes:{"data-cke":!0}};ae.setAttributes=b(),ae.insert=p().bind(null,"head"),ae.domAPI=m(),ae.insertStyleElement=k(),u()(se.Z,ae),se.Z&&se.Z.locals&&se.Z.locals;class le extends y{constructor(e,t){super(e);const i=t&&t.colorDefinitions?t.colorDefinitions:[];this.columns=t&&t.columns?t.columns:5;const o={gridTemplateColumns:`repeat( ${this.columns}, 1fr)`};this.set("selectedColor",void 0),this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.items.on("add",((e,t)=>{t.isOn=t.color===this.selectedColor})),i.forEach((e=>{const t=new re;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:o}}),this.on("change:selectedColor",((e,t,i)=>{for(const e of this.items)e.isOn=e.color===i}))}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),a({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()}}class ce{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(de(e),{callback:t,originalName:e})}create(e){if(!this.has(e))throw new l.CKEditorError("componentfactory-item-missing",this,{name:e});return this._components.get(de(e)).callback(this.editor.locale)}has(e){return this._components.has(de(e))}}function de(e){return String(e).toLowerCase()}var ue=i(5062),he={attributes:{"data-cke":!0}};he.setAttributes=b(),he.insert=p().bind(null,"head"),he.domAPI=m(),he.insertStyleElement=k(),u()(ue.Z,he),ue.Z&&ue.Z.locals&&ue.Z.locals;class me extends y{constructor(e,t,i){super(e);const o=this.bindTemplate;this.buttonView=t,this.panelView=i,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.keystrokes=new l.KeystrokeHandler,this.focusTracker=new l.FocusTracker,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",o.to("class"),o.if("isEnabled","ck-disabled",(e=>!e))],id:o.to("id"),"aria-describedby":o.to("ariaDescribedById")},children:[t,i]}),t.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":o.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.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",((e,t,i)=>{i&&("auto"===this.panelPosition?this.panelView.position=me._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions}).name: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:i,southWest:o,northEast:n,northWest:r,southMiddleEast:s,southMiddleWest:a,northMiddleEast:l,northMiddleWest:c}=me.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[i,o,s,a,e,n,r,l,c,t]:[o,i,a,s,e,r,n,c,l,t]}}me.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"})},me._getOptimalPosition=l.getOptimalPosition;class ge extends y{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")]},children:this.children,on:{selectstart:t.to((e=>e.preventDefault()))}})}focus(){if(this.children.length){const e=this.children.first;"function"==typeof e.focus?e.focus():(0,l.logWarning)("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 pe=i(8217);class fe 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=pe.Z,e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}var be=i(4791),we={attributes:{"data-cke":!0}};we.setAttributes=b(),we.insert=p().bind(null,"head"),we.domAPI=m(),we.insertStyleElement=k(),u()(be.Z,we),be.Z&&be.Z.locals&&be.Z.locals;class ke extends y{constructor(e){super(e);const t=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(),this.arrowView=this._createArrowView(),this.keystrokes=new l.KeystrokeHandler,this.focusTracker=new l.FocusTracker,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",t.to("class"),t.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(){const e=new Q;return e.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),e.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),e.delegate("execute").to(this),e}_createArrowView(){const e=new Q,t=e.bindTemplate;return e.icon=pe.Z,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}}class _e{constructor(e){if(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 i=e.actions[t];"string"==typeof i&&(i=[i]);for(const o of i)e.keystrokeHandler.set(o,((e,i)=>{this[t](),i()}))}}get first(){return this.focusables.find(ve)||null}get last(){return this.focusables.filter(ve).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let e=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((t,i)=>{const o=t.element===this.focusTracker.focusedElement;return o&&(e=i),o})),e)}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(e){e&&e.focus()}_getFocusableItem(e){const t=this.current,i=this.focusables.length;if(!i)return null;if(null===t)return this[1===e?"first":"last"];let o=(t+i+e)%i;do{const t=this.focusables.get(o);if(ve(t))return t;o=(o+i+e)%i}while(o!==t);return null}}function ve(e){return!(!e.focus||!(0,l.isVisible)(e.element))}class ye extends y{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class Ce extends y{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function xe(e){return Array.isArray(e)?{items:e,removeItems:[]}:e?Object.assign({items:[],removeItems:[]},e):{items:[],removeItems:[]}}var Ae=i(7578),Ee=i(4768),Te={attributes:{"data-cke":!0}};Te.setAttributes=b(),Te.insert=p().bind(null,"head"),Te.domAPI=m(),Te.insertStyleElement=k(),u()(Ee.Z,Te),Ee.Z&&Ee.Z.locals&&Ee.Z.locals;const{threeVerticalDots:Se}=Ae.icons,Pe={alignLeft:Ae.icons.alignLeft,bold:Ae.icons.bold,importExport:Ae.icons.importExport,paragraph:Ae.icons.paragraph,plus:Ae.icons.plus,text:Ae.icons.text,threeVerticalDots:Ae.icons.threeVerticalDots};class Ie extends y{constructor(e,t){super(e);const i=this.bindTemplate,o=this.t;this.options=t||{},this.set("ariaLabel",o("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new Ve(e),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const n="rtl"===e.uiLanguageDirection;this._focusCycler=new _e({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",i.to("class"),i.if("isCompact","ck-toolbar_compact")];var s;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":i.to("ariaLabel"),style:{maxWidth:i.to("maxWidth")}},children:this.children,on:{mousedown:(s=this,s.bindTemplate.to((e=>{e.target===s.element&&e.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new Oe(this):new Re(this)}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),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,i){this.items.addMany(this._buildItemsFromConfig(e,t,i))}_buildItemsFromConfig(e,t,i){const o=xe(e),n=i||o.removeItems;return this._cleanItemsConfiguration(o.items,t,n).map((e=>(0,x.Z)(e)?this._createNestedToolbarDropdown(e,t,n):"|"===e?new ye:"-"===e?new Ce:t.create(e))).filter((e=>!!e))}_cleanItemsConfiguration(e,t,i){const o=e.filter(((e,o,n)=>"|"===e||-1===i.indexOf(e)&&("-"===e?!this.options.shouldGroupWhenFull||((0,l.logWarning)("toolbarview-line-break-ignored-when-grouping-items",n),!1):!(!(0,x.Z)(e)&&!t.has(e)&&((0,l.logWarning)("toolbarview-item-unavailable",{item:e}),1)))));return this._cleanSeparatorsAndLineBreaks(o)}_cleanSeparatorsAndLineBreaks(e){const t=e=>"-"!==e&&"|"!==e,i=e.length,o=e.findIndex(t);if(-1===o)return[];const n=i-e.slice().reverse().findIndex(t);return e.slice(o,n).filter(((e,i,o)=>!!t(e)||!(i>0&&o[i-1]===e)))}_createNestedToolbarDropdown(e,t,i){let{label:o,icon:n,items:r,tooltip:s=!0,withText:a=!1}=e;if(r=this._cleanItemsConfiguration(r,t,i),!r.length)return null;const c=Ze(this.locale);return o||(0,l.logWarning)("toolbarview-nested-toolbar-dropdown-missing-label",e),c.class="ck-toolbar__nested-toolbar-dropdown",c.buttonView.set({label:o,tooltip:s,withText:!!a}),!1!==n?c.buttonView.icon=Pe[n]||n||Se:c.buttonView.withText=!0,Ue(c,(()=>c.toolbarView._buildItemsFromConfig(r,t,i))),c}}class Ve extends y{constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Re{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=>e)),e.extendTemplate({attributes:{class:[t.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class Oe{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._updateFocusCycleableItems.bind(this)),e.children.on("change",this._updateFocusCycleableItems.bind(this)),e.items.on("change",((e,t)=>{const i=t.index,o=Array.from(t.added);for(const e of t.removed)i>=this.ungroupedItems.length?this.groupedItems.remove(e):this.ungroupedItems.remove(e);for(let e=i;e<i+o.length;e++){const t=o[e-i];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,l.isVisible)(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,i=new l.Rect(e.lastChild),o=new l.Rect(e);if(!this.cachedPadding){const i=l.global.window.getComputedStyle(e),o="ltr"===t?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(i[o])}return"ltr"===t?i.right>o.right-this.cachedPadding:i.left<o.left+this.cachedPadding}_enableGroupingOnResize(){let e;this.resizeObserver=new l.ResizeObserver(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 ye),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,i=Ze(e);return i.class="ck-toolbar__grouped-dropdown",i.panelPosition="ltr"===e.uiLanguageDirection?"sw":"se",Ue(i,this.groupedItems),i.buttonView.set({label:t("Show more items"),tooltip:!0,tooltipPosition:"rtl"===e.uiLanguageDirection?"se":"sw",icon:Se}),i}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((e=>{this.viewFocusables.add(e)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}var Be=i(179),Me={attributes:{"data-cke":!0}};Me.setAttributes=b(),Me.insert=p().bind(null,"head"),Me.domAPI=m(),Me.insertStyleElement=k(),u()(Be.Z,Me),Be.Z&&Be.Z.locals&&Be.Z.locals;class ze extends y{constructor(e){super(e);const t=this.bindTemplate;this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this._focusCycler=new _e({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],"aria-label":t.to("ariaLabel")},children:this.items})}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)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class Ne extends y{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))]},children:this.children})}focus(){this.children.first.focus()}}class De extends y{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}var Le=i(2704),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=b(),Fe.insert=p().bind(null,"head"),Fe.domAPI=m(),Fe.insertStyleElement=k(),u()(Le.Z,Fe),Le.Z&&Le.Z.locals&&Le.Z.locals;var He=i(1883),We={attributes:{"data-cke":!0}};function Ze(e,t=fe){const i=new t(e),n=new ge(e),r=new me(e,i,n);return i.bind("isEnabled").to(r),i instanceof ke?i.arrowView.bind("isOn").to(r,"isOpen"):i.bind("isOn").to(r,"isOpen"),function(e){(function(e){e.on("render",(()=>{o({emitter:e,activator:()=>e.isOpen,callback:()=>{e.isOpen=!1},contextElements:[e.element]})}))})(e),function(e){e.on("execute",(t=>{t.source instanceof te||(e.isOpen=!1)}))}(e),function(e){e.focusTracker.on("change:isFocused",((t,i,o)=>{e.isOpen&&!o&&(e.isOpen=!1)}))}(e),function(e){e.keystrokes.set("arrowdown",((t,i)=>{e.isOpen&&(e.panelView.focus(),i())})),e.keystrokes.set("arrowup",((t,i)=>{e.isOpen&&(e.panelView.focusLast(),i())}))}(e),function(e){e.on("change:isOpen",((t,i,o)=>{if(o)return;const n=e.panelView.element;n&&n.contains(l.global.document.activeElement)&&e.buttonView.focus()}))}(e),function(e){e.on("change:isOpen",((t,i,o)=>{o&&e.panelView.focus()}),{priority:"low"})}(e)}(r),r}function Ue(e,t,i={}){e.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.isOpen?je(e,t,i):e.once("change:isOpen",(()=>je(e,t,i)),{priority:"highest"}),i.enableActiveItemFocusOnDropdownOpen&&Ke(e,(()=>e.toolbarView.items.find((e=>e.isOn))))}function je(e,t,i){const o=e.locale,n=o.t,r=e.toolbarView=new Ie(o),s="function"==typeof t?t():t;r.ariaLabel=i.ariaLabel||n("Dropdown toolbar"),i.maxWidth&&(r.maxWidth=i.maxWidth),i.class&&(r.class=i.class),i.isCompact&&(r.isCompact=i.isCompact),i.isVertical&&(r.isVertical=!0),s instanceof c?r.items.bindTo(s).using((e=>e)):r.items.addMany(s),e.panelView.children.add(r),r.items.delegate("execute").to(e)}function $e(e,t,i={}){e.isOpen?qe(e,t,i):e.once("change:isOpen",(()=>qe(e,t,i)),{priority:"highest"}),Ke(e,(()=>e.listView.items.find((e=>e instanceof Ne&&e.children.first.isOn))))}function qe(e,t,i){const o=e.locale,n=e.listView=new ze(o),r="function"==typeof t?t():t;n.ariaLabel=i.ariaLabel,n.items.bindTo(r).using((e=>{if("separator"===e.type)return new De(o);if("button"===e.type||"switchbutton"===e.type){const t=new Ne(o);let i;return i="button"===e.type?new Q(o):new te(o),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(t),t.children.add(i),t}return null})),e.panelView.children.add(n),n.items.delegate("execute").to(e)}function Ke(e,t){e.on("change:isOpen",(()=>{if(!e.isOpen)return;const i=t();i&&("function"==typeof i.focus?i.focus():(0,l.logWarning)("ui-dropdown-focus-child-on-open-child-missing-focus",{view:i}))}),{priority:l.priorities.low-10})}We.setAttributes=b(),We.insert=p().bind(null,"head"),We.domAPI=m(),We.insertStyleElement=k(),u()(He.Z,We),He.Z&&He.Z.locals&&He.Z.locals;var Ge=i(3251),Je=i(4460),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=b(),Ye.insert=p().bind(null,"head"),Ye.domAPI=m(),Ye.insertStyleElement=k(),u()(Je.Z,Ye),Je.Z&&Je.Z.locals&&Je.Z.locals;const Qe=(0,l.toUnit)("px"),Xe=l.global.document.body;class et extends y{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.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",Qe),left:t.to("left",Qe)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){this.show();const t=et.defaultPositions,i=Object.assign({},{element:this.element,positions:[t.southArrowNorth,t.southArrowNorthMiddleWest,t.southArrowNorthMiddleEast,t.southArrowNorthWest,t.southArrowNorthEast,t.northArrowSouth,t.northArrowSouthMiddleWest,t.northArrowSouthMiddleEast,t.northArrowSouthWest,t.northArrowSouthEast,t.viewportStickyNorth],limiter:Xe,fitInViewport:!0},e),o=et._getOptimalPosition(i),n=parseInt(o.left),r=parseInt(o.top),s=o.name,a=o.config||{},{withArrow:l=!0}=a;this.top=r,this.left=n,this.position=s,this.withArrow=l}pin(e){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this._startPinning(e),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){this.attachTo(e);const t=tt(e.target),i=e.limiter?tt(e.limiter):Xe;this.listenTo(l.global.document,"scroll",((o,n)=>{const r=n.target,s=t&&r.contains(t),a=i&&r.contains(i);!s&&!a&&t&&i||this.attachTo(e)}),{useCapture:!0}),this.listenTo(l.global.window,"resize",(()=>{this.attachTo(e)}))}_stopPinning(){this.stopListening(l.global.document,"scroll"),this.stopListening(l.global.window,"resize")}}function tt(e){return(0,Ge.Z)(e)?e:(0,l.isRange)(e)?e.commonAncestorContainer:"function"==typeof e?tt(e()):null}function it(e={}){const{sideOffset:t=et.arrowSideOffset,heightOffset:i=et.arrowHeightOffset,stickyVerticalOffset:o=et.stickyVerticalOffset,config:n}=e;return{northWestArrowSouthWest:(e,i)=>({top:r(e,i),left:e.left-t,name:"arrow_sw",...n&&{config:n}}),northWestArrowSouthMiddleWest:(e,i)=>({top:r(e,i),left:e.left-.25*i.width-t,name:"arrow_smw",...n&&{config:n}}),northWestArrowSouth:(e,t)=>({top:r(e,t),left:e.left-t.width/2,name:"arrow_s",...n&&{config:n}}),northWestArrowSouthMiddleEast:(e,i)=>({top:r(e,i),left:e.left-.75*i.width+t,name:"arrow_sme",...n&&{config:n}}),northWestArrowSouthEast:(e,i)=>({top:r(e,i),left:e.left-i.width+t,name:"arrow_se",...n&&{config:n}}),northArrowSouthWest:(e,i)=>({top:r(e,i),left:e.left+e.width/2-t,name:"arrow_sw",...n&&{config:n}}),northArrowSouthMiddleWest:(e,i)=>({top:r(e,i),left:e.left+e.width/2-.25*i.width-t,name:"arrow_smw",...n&&{config:n}}),northArrowSouth:(e,t)=>({top:r(e,t),left:e.left+e.width/2-t.width/2,name:"arrow_s",...n&&{config:n}}),northArrowSouthMiddleEast:(e,i)=>({top:r(e,i),left:e.left+e.width/2-.75*i.width+t,name:"arrow_sme",...n&&{config:n}}),northArrowSouthEast:(e,i)=>({top:r(e,i),left:e.left+e.width/2-i.width+t,name:"arrow_se",...n&&{config:n}}),northEastArrowSouthWest:(e,i)=>({top:r(e,i),left:e.right-t,name:"arrow_sw",...n&&{config:n}}),northEastArrowSouthMiddleWest:(e,i)=>({top:r(e,i),left:e.right-.25*i.width-t,name:"arrow_smw",...n&&{config:n}}),northEastArrowSouth:(e,t)=>({top:r(e,t),left:e.right-t.width/2,name:"arrow_s",...n&&{config:n}}),northEastArrowSouthMiddleEast:(e,i)=>({top:r(e,i),left:e.right-.75*i.width+t,name:"arrow_sme",...n&&{config:n}}),northEastArrowSouthEast:(e,i)=>({top:r(e,i),left:e.right-i.width+t,name:"arrow_se",...n&&{config:n}}),southWestArrowNorthWest:e=>({top:s(e),left:e.left-t,name:"arrow_nw",...n&&{config:n}}),southWestArrowNorthMiddleWest:(e,i)=>({top:s(e),left:e.left-.25*i.width-t,name:"arrow_nmw",...n&&{config:n}}),southWestArrowNorth:(e,t)=>({top:s(e),left:e.left-t.width/2,name:"arrow_n",...n&&{config:n}}),southWestArrowNorthMiddleEast:(e,i)=>({top:s(e),left:e.left-.75*i.width+t,name:"arrow_nme",...n&&{config:n}}),southWestArrowNorthEast:(e,i)=>({top:s(e),left:e.left-i.width+t,name:"arrow_ne",...n&&{config:n}}),southArrowNorthWest:e=>({top:s(e),left:e.left+e.width/2-t,name:"arrow_nw",...n&&{config:n}}),southArrowNorthMiddleWest:(e,i)=>({top:s(e),left:e.left+e.width/2-.25*i.width-t,name:"arrow_nmw",...n&&{config:n}}),southArrowNorth:(e,t)=>({top:s(e),left:e.left+e.width/2-t.width/2,name:"arrow_n",...n&&{config:n}}),southArrowNorthMiddleEast:(e,i)=>({top:s(e),left:e.left+e.width/2-.75*i.width+t,name:"arrow_nme",...n&&{config:n}}),southArrowNorthEast:(e,i)=>({top:s(e),left:e.left+e.width/2-i.width+t,name:"arrow_ne",...n&&{config:n}}),southEastArrowNorthWest:e=>({top:s(e),left:e.right-t,name:"arrow_nw",...n&&{config:n}}),southEastArrowNorthMiddleWest:(e,i)=>({top:s(e),left:e.right-.25*i.width-t,name:"arrow_nmw",...n&&{config:n}}),southEastArrowNorth:(e,t)=>({top:s(e),left:e.right-t.width/2,name:"arrow_n",...n&&{config:n}}),southEastArrowNorthMiddleEast:(e,i)=>({top:s(e),left:e.right-.75*i.width+t,name:"arrow_nme",...n&&{config:n}}),southEastArrowNorthEast:(e,i)=>({top:s(e),left:e.right-i.width+t,name:"arrow_ne",...n&&{config:n}}),westArrowEast:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.left-t.width-i,name:"arrow_e",...n&&{config:n}}),eastArrowWest:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.right+i,name:"arrow_w",...n&&{config:n}}),viewportStickyNorth:(e,t,i)=>e.getIntersection(i)?{top:i.top+o,left:e.left+e.width/2-t.width/2,name:"arrowless",config:{withArrow:!1,...n}}:null};function r(e,t){return e.top-t.height-i}function s(e){return e.bottom+i}}et.arrowSideOffset=25,et.arrowHeightOffset=10,et.stickyVerticalOffset=20,et._getOptimalPosition=l.getOptimalPosition,et.defaultPositions=it();var ot=i(6682),nt=i(3888),rt={attributes:{"data-cke":!0}};rt.setAttributes=b(),rt.insert=p().bind(null,"head"),rt.domAPI=m(),rt.insertStyleElement=k(),u()(nt.Z,rt),nt.Z&&nt.Z.locals&&nt.Z.locals;const st="ck-tooltip";class at extends((0,l.DomEmitterMixin)()){constructor(e){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,at._editors.add(e),at._instance)return at._instance;at._instance=this,this.tooltipTextView=new y(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 et(e.locale),this.balloonPanelView.class=st,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=(0,ot.Z)(this._pinTooltip,600),this.listenTo(l.global.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(e){const t=e.ui.view&&e.ui.view.body;at._editors.delete(e),this.stopListening(e.ui),t&&t.has(this.balloonPanelView)&&t.remove(this.balloonPanelView),at._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),at._instance=null)}static getPositioningFunctions(e){const t=at.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]}_onEnterOrFocus(e,{target:t}){const i=lt(t);var o;i&&i!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(i,{text:(o=i).dataset.ckeTooltipText,position:o.dataset.ckeTooltipPosition||"s",cssClass:o.dataset.ckeTooltipClass||""}))}_onLeaveOrBlur(e,{target:t,relatedTarget:i}){if("mouseleave"===e.name){if(!(0,Ge.Z)(t))return;if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;const e=lt(t),o=lt(i);e&&e!==o&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(e,{target:t}){this._currentElementWithTooltip&&(t.contains(this.balloonPanelView.element)&&t.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(e,{text:t,position:i,cssClass:o}){const n=(0,l.first)(at._editors.values()).ui.view.body;n.has(this.balloonPanelView)||n.add(this.balloonPanelView),this.tooltipTextView.text=t,this.balloonPanelView.pin({target:e,positions:at.getPositioningFunctions(i)}),this._resizeObserver=new l.ResizeObserver(e,(()=>{(0,l.isVisible)(e)||this._unpinTooltip()})),this.balloonPanelView.class=[st,o].filter((e=>e)).join(" ");for(const e of at._editors)this.listenTo(e.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=e,this._currentTooltipPosition=i}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const e of at._editors)this.stopListening(e.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){(0,l.isVisible)(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:at.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}}function lt(e){return(0,Ge.Z)(e)?e.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}at.defaultBalloonPositions=it({heightOffset:5,sideOffset:13}),at._editors=new Set,at._instance=null;class ct extends((0,l.ObservableMixin)()){constructor(e){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[],this.editor=e,this.componentFactory=new ce(e),this.focusTracker=new l.FocusTracker,this.tooltipManager=new at(e),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{this.isReady=!0})),this.listenTo(e.editing.view.document,"layoutChanged",(()=>this.update())),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor);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 i=()=>{this.editor.editing.view.getDomRoot(e)||this.editor.keystrokes.listenTo(t)};this.isReady?i():this.once("ready",i)}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})}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}_readViewportOffsetFromConfig(){const e=this.editor,t=e.config.get("ui.viewportOffset");if(t)return t;const i=e.config.get("toolbar.viewportTopOffset");return i?(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:i}):{top:0}}_initFocusTracking(){const e=this.editor,t=e.editing.view;let i,o;e.keystrokes.set("Alt+F10",((e,n)=>{const r=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(r)&&!Array.from(t.domRoots.values()).includes(r)&&(i=r);const s=this._getCurrentFocusedToolbarDefinition();s&&o||(o=this._getFocusableCandidateToolbarDefinitions());for(let e=0;e<o.length;e++){const e=o.shift();if(o.push(e),e!==s&&this._focusFocusableCandidateToolbar(e)){s&&s.options.afterBlur&&s.options.afterBlur();break}}n()})),e.keystrokes.set("Esc",((t,o)=>{const n=this._getCurrentFocusedToolbarDefinition();n&&(i?(i.focus(),i=null):e.editing.view.focus(),n.options.afterBlur&&n.options.afterBlur(),o())}))}_getFocusableCandidateToolbarDefinitions(){const e=[];for(const t of this._focusableToolbarDefinitions){const{toolbarView:i,options:o}=t;((0,l.isVisible)(i.element)||o.beforeFocus)&&e.push(t)}return e.sort(((e,t)=>dt(e)-dt(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:i}}=e;return i&&i(),!!(0,l.isVisible)(t.element)&&(t.focus(),!0)}}function dt(e){const{toolbarView:t,options:i}=e;let o=10;return(0,l.isVisible)(t.element)&&o--,i.isContextual&&o--,o}var ut=i(9847),ht={attributes:{"data-cke":!0}};ht.setAttributes=b(),ht.insert=p().bind(null,"head"),ht.domAPI=m(),ht.insertStyleElement=k(),u()(ut.Z,ht),ut.Z&&ut.Z.locals&&ut.Z.locals;class mt extends y{constructor(e){super(e),this.body=new $(e)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}var gt=i(3525),pt={attributes:{"data-cke":!0}};pt.setAttributes=b(),pt.insert=p().bind(null,"head"),pt.domAPI=m(),pt.insertStyleElement=k(),u()(gt.Z,pt),gt.Z&&gt.Z.locals&&gt.Z.locals;class ft extends y{constructor(e){super(e),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${(0,l.uid)()}`;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 bt extends mt{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 ft;return t.text=e("Rich Text Editor"),t.extendTemplate({attributes:{class:"ck-voice-label"}}),t}}class wt extends y{constructor(e,t,i){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=i,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((i=>{const o=e.document.getRoot(t.name);i.addClass(t.isFocused?"ck-focused":"ck-blurred",o),i.removeClass(t.isFocused?"ck-blurred":"ck-focused",o)}))}e.isRenderingInProgress?function i(o){e.once("change:isRenderingInProgress",((e,n,r)=>{r?i(o):t(o)}))}(this):t(this)}}class kt extends wt{constructor(e,t,i,o={}){super(e,t,i);const n=e.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=o.label||(()=>n("Editor editing area: %0",this.name))}render(){super.render();const e=this._editingView;e.change((t=>{const i=e.document.getRoot(this.name);t.setAttribute("aria-label",this._generateLabel(this),i)}))}}var _t=i(1874),vt={attributes:{"data-cke":!0}};vt.setAttributes=b(),vt.insert=p().bind(null,"head"),vt.domAPI=m(),vt.insertStyleElement=k(),u()(_t.Z,vt),_t.Z&&_t.Z.locals&&_t.Z.locals;class yt extends y{constructor(e,t={}){super(e);const i=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",i.to("class")]},children:this.children});const o=new y(e);o.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"]},children:[{text:i.to("label")}]}),this.children.add(o)}}var Ct=i(2470),xt={attributes:{"data-cke":!0}};xt.setAttributes=b(),xt.insert=p().bind(null,"head"),xt.domAPI=m(),xt.insertStyleElement=k(),u()(Ct.Z,xt),Ct.Z&&Ct.Z.locals&&Ct.Z.locals;class At extends y{constructor(e){super(e),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new l.FocusTracker,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0),this.set("inputMode","text");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"),readonly:t.to("isReadOnly"),inputmode:t.to("inputMode"),"aria-invalid":t.if("hasError",!0),"aria-describedby":t.to("ariaDescribedById")},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,i)=>{this._setDomElementValue(i),this._updateIsEmpty()}))}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(e){this.element.value=e||0===e?e:""}}class Et extends At{constructor(e){super(e),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}class Tt extends At{constructor(e,{min:t,max:i,step:o}={}){super(e);const n=this.bindTemplate;this.set("min",t),this.set("max",i),this.set("step",o),this.extendTemplate({attributes:{type:"number",class:["ck-input-number"],min:n.to("min"),max:n.to("max"),step:n.to("step")}})}}class St extends y{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())))}}var Pt=i(2933),It={attributes:{"data-cke":!0}};It.setAttributes=b(),It.insert=p().bind(null,"head"),It.domAPI=m(),It.insertStyleElement=k(),u()(Pt.Z,It),Pt.Z&&Pt.Z.locals&&Pt.Z.locals;class Vt extends y{constructor(e,t){super(e);const i=`ck-labeled-field-view-${(0,l.uid)()}`,o=`ck-labeled-field-view-status-${(0,l.uid)()}`;this.fieldView=t(this,i,o),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(i),this.statusView=this._createStatusView(o),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 ft(this.locale);return t.for=e,t.bind("text").to(this,"label"),t}_createStatusView(e){const t=new y(this.locale),i=this.bindTemplate;return t.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",i.if("errorText","ck-labeled-field-view__status_error"),i.if("_statusText","ck-hidden",(e=>!e))],id:e,role:i.if("errorText","alert")},children:[{text:i.to("_statusText")}]}),t}focus(){this.fieldView.focus()}}function Rt(e,t,i){const o=new Et(e.locale);return o.set({id:t,ariaDescribedById:i}),o.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),o.bind("hasError").to(e,"errorText",(e=>!!e)),o.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(o),o}function Ot(e,t,i){const o=new Tt(e.locale);return o.set({id:t,ariaDescribedById:i,inputMode:"numeric"}),o.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),o.bind("hasError").to(e,"errorText",(e=>!!e)),o.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(o),o}function Bt(e,t,i){const o=Ze(e.locale);return o.set({id:t,ariaDescribedById:i}),o.bind("isEnabled").to(e),o}class Mt extends Ae.ContextPlugin{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 zt=i(207);class Nt extends((0,l.ObservableMixin)()){constructor(e,t){super(),t&&(0,zt.Z)(this,t),e&&this.set(e)}}var Dt=i(7592),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=b(),Lt.insert=p().bind(null,"head"),Lt.domAPI=m(),Lt.insertStyleElement=k(),u()(Dt.Z,Lt),Dt.Z&&Dt.Z.locals&&Dt.Z.locals;var Ft=i(6356),Ht={attributes:{"data-cke":!0}};Ht.setAttributes=b(),Ht.insert=p().bind(null,"head"),Ht.domAPI=m(),Ht.insertStyleElement=k(),u()(Ft.Z,Ht),Ft.Z&&Ft.Z.locals&&Ft.Z.locals;const Wt=(0,l.toUnit)("px");class Zt extends Ae.Plugin{static get pluginName(){return"ContextualBalloon"}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.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 l.CKEditorError("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 i=this._idToStack.get(t);e.singleViewMode&&this.showStack(t),i.set(e.view,e),this._viewToStack.set(e.view,i),i===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new l.CKEditorError("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._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(e){this.visibleStack=e;const t=this._idToStack.get(e);if(!t)throw new l.CKEditorError("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==t&&this._showView(Array.from(t.values()).pop())}_createPanelView(){this._view=new et(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),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 Ut(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,i)=>{if(i<2)return"";const o=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return t("%0 of %1",[o,i])})),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 jt(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:i=!0,singleViewMode:o=!1}){this.view.class=t,this.view.withArrow=i,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),o&&(this._singleViewMode=!0)}_getBalloonPosition(){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}}class Ut extends y{constructor(e){super(e);const t=e.t,i=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new l.FocusTracker,this.buttonPrevView=this._createButtonView(t("Previous"),'<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>'),this.buttonNextView=this._createButtonView(t("Next"),'<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>'),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",i.to("isNavigationVisible",(e=>e?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:i.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 i=new Q(this.locale);return i.set({label:e,icon:t,tooltip:!0}),i}}class jt extends y{constructor(e,t){super(e);const i=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",i.to("numberOfPanels",(e=>e?"":"ck-hidden"))],style:{top:i.to("top",Wt),left:i.to("left",Wt),width:i.to("width",Wt),height:i.to("height",Wt)}},children:this.content}),this.on("change:numberOfPanels",((e,t,i,o)=>{i>o?this._addPanels(i-o):this._removePanels(o-i),this.updatePosition()}))}_addPanels(e){for(;e--;){const e=new y;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:i,height:o}=new l.Rect(this._balloonPanelView.element);Object.assign(this,{top:e,left:t,width:i,height:o})}}}var $t=i(3707),qt={attributes:{"data-cke":!0}};qt.setAttributes=b(),qt.insert=p().bind(null,"head"),qt.domAPI=m(),qt.insertStyleElement=k(),u()($t.Z,qt),$t.Z&&$t.Z.locals&&$t.Z.locals;const Kt=(0,l.toUnit)("px");class Gt extends y{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("_isStickyToTheLimiter",!1),this.set("_hasViewportTopOffset",!1),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?Kt(this._panelRect.height):null))}}}).render(),this._contentPanel=new A({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",t.if("isSticky","ck-sticky-panel__content_sticky"),t.if("_isStickyToTheLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:t.to("isSticky",(e=>e?Kt(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:t.to("_hasViewportTopOffset",(e=>e?Kt(this.viewportTopOffset):null)),bottom:t.to("_isStickyToTheLimiter",(e=>e?Kt(this.limiterBottomOffset):null)),marginLeft:t.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this._checkIfShouldBeSticky(),this.listenTo(l.global.window,"scroll",(()=>{this._checkIfShouldBeSticky()})),this.listenTo(this,"change:isActive",(()=>{this._checkIfShouldBeSticky()}))}_checkIfShouldBeSticky(){const e=this._panelRect=this._contentPanel.getBoundingClientRect();let t;this.limiterElement?(t=this._limiterRect=this.limiterElement.getBoundingClientRect(),this.isSticky=this.isActive&&t.top<this.viewportTopOffset&&this._panelRect.height+this.limiterBottomOffset<t.height):this.isSticky=!1,this.isSticky?(this._isStickyToTheLimiter=t.bottom<e.height+this.limiterBottomOffset+this.viewportTopOffset,this._hasViewportTopOffset=!this._isStickyToTheLimiter&&!!this.viewportTopOffset,this._marginLeft=this._isStickyToTheLimiter?null:Kt(-l.global.window.scrollX)):(this._isStickyToTheLimiter=!1,this._hasViewportTopOffset=!1,this._marginLeft=null)}}const Jt=(0,l.toUnit)("px");class Yt extends Ae.Plugin{static get pluginName(){return"BalloonToolbar"}static get requires(){return[Zt]}constructor(e){super(e),this._resizeObserver=null,this._balloonConfig=xe(e.config.get("balloonToolbar")),this.toolbarView=this._createToolbarView(),this.focusTracker=new l.FocusTracker,e.ui.once("ready",(()=>{this.focusTracker.add(e.ui.getEditableElement()),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(Zt),this._fireSelectionChangeDebounced=(0,ot.Z)((()=>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,i)=>{const o=this._balloon.visibleView===this.toolbarView;!i&&o?this.hide():i&&this.show()})),this.listenTo(t,"change:range",((e,i)=>{(i.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 l.ResizeObserver(t,(e=>{this.toolbarView.maxWidth=Jt(.9*e.contentRect.width)}))})),this.listenTo(this.toolbarView,"groupedItemsUpdate",(()=>{this._updatePosition()}))}afterInit(){const e=this.editor.ui.componentFactory;this.toolbarView.fillFromConfig(this._balloonConfig,e)}_createToolbarView(){const e=this.editor.locale.t,t=!this._balloonConfig.shouldNotGroupWhenFull,i=new Ie(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return i.ariaLabel=e("Editor contextual toolbar"),i.render(),i}show(e=!1){const t=this.editor,i=t.model.document.selection,o=t.model.schema;this._balloon.hasView(this.toolbarView)||i.isCollapsed&&!e||function(e,t){return 1!==e.rangeCount&&[...e.getRanges()].every((e=>{const i=e.getContainedElement();return i&&t.isSelectable(i)}))}(i,o)||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))}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document,i=t.selection,o=t.selection.isBackward;return{target:()=>{const t=o?i.getFirstRange():i.getLastRange(),n=l.Rect.getDomRangeRects(e.domConverter.viewRangeToDom(t));return o?n[0]:(n.length>1&&0===n[n.length-1].width&&n.pop(),n[n.length-1])},positions:this._getBalloonPositions(o)}}_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=l.env.isSafari&&l.env.isiOS?it({heightOffset:Math.max(et.arrowHeightOffset,Math.round(20/l.global.window.visualViewport.scale))}):et.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 Qt=i(4176),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=b(),Xt.insert=p().bind(null,"head"),Xt.domAPI=m(),Xt.insertStyleElement=k(),u()(Qt.Z,Xt),Qt.Z&&Qt.Z.locals&&Qt.Z.locals;const ei=(0,l.toUnit)("px");class ti 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=>ei(e))),left:t.to("left",(e=>ei(e)))}}})}}const ii=(0,l.toUnit)("px"),{pilcrow:oi}=Ae.icons;class ni extends Ae.Plugin{static get pluginName(){return"BlockToolbar"}constructor(e){super(e),this._resizeObserver=null,this._blockToolbarConfig=xe(this.editor.config.get("blockToolbar")),this.toolbarView=this._createToolbarView(),this.panelView=this._createPanelView(),this.buttonView=this._createButtonView(),o({emitter:this.panelView,contextElements:[this.panelView.element,this.buttonView.element],activator:()=>this.panelView.isVisible,callback:()=>this._hidePanel()})}init(){const e=this.editor;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,i)=>{i?this.buttonView.listenTo(window,"resize",(()=>this._updateButton())):(this.buttonView.stopListening(window,"resize"),this._hidePanel())})),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this._showPanel(),afterBlur:()=>this._hidePanel()})}afterInit(){const e=this.editor.ui.componentFactory,t=this._blockToolbarConfig;this.toolbarView.fillFromConfig(t,e);for(const e of this.toolbarView.items)e.on("execute",(()=>this._hidePanel(!0)),{priority:"high"});t.shouldNotGroupWhenFull||this.listenTo(this.editor,"ready",(()=>{const e=this.editor.ui.view.editable.element;this._resizeObserver=new l.ResizeObserver(e,(()=>{this.toolbarView.maxWidth=this._getToolbarMaxWidth()}))}))}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,i=new Ie(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return i.ariaLabel=e("Editor block content toolbar"),i.focusTracker.on("change:isFocused",((e,t,i)=>{i||this._hidePanel()})),i}_createPanelView(){const e=this.editor,t=new et(e.locale);return t.content.add(this.toolbarView),t.class="ck-toolbar-container",e.ui.view.body.add(t),e.ui.focusTracker.add(t.element),this.toolbarView.keystrokes.set("Esc",((e,t)=>{this._hidePanel(!0),t()})),t}_createButtonView(){const e=this.editor,t=e.t,i=new ti(e.locale),o=i.bindTemplate;return i.set({label:t("Edit block"),icon:oi,withText:!1}),i.extendTemplate({on:{mousedown:o.to((e=>{l.env.isSafari&&this.panelView.isVisible&&this.toolbarView.focus(),e.preventDefault()}))}}),i.bind("isOn").to(this.panelView,"isVisible"),i.bind("tooltip").to(this.panelView,"isVisible",(e=>!e)),this.listenTo(i,"execute",(()=>{this.panelView.isVisible?this._hidePanel(!0):this._showPanel()})),e.ui.view.body.add(i),e.ui.focusTracker.add(i.element),i}_updateButton(){const e=this.editor,t=e.model,i=e.editing.view;if(!e.ui.focusTracker.isFocused)return void this._hideButton();if(e.isReadOnly)return void this._hideButton();const o=Array.from(t.document.selection.getSelectedBlocks())[0];if(!o||Array.from(this.toolbarView.items).every((e=>!e.isEnabled)))return void this._hideButton();const n=i.domConverter.mapViewToDom(e.editing.mapper.toViewElement(o));this.buttonView.isVisible=!0,this._attachButtonToElement(n),this.panelView.isVisible&&this._showPanel()}_hideButton(){this.buttonView.isVisible=!1}_showPanel(){if(!this.buttonView.isVisible)return;const e=this.panelView.isVisible;this.panelView.show(),this.toolbarView.maxWidth=this._getToolbarMaxWidth(),this.panelView.pin({target:this.buttonView.element,limiter:this.editor.ui.getEditableElement()}),e||this.toolbarView.items.get(0).focus()}_hidePanel(e){this.panelView.isVisible=!1,e&&this.editor.editing.view.focus()}_attachButtonToElement(e){const t=window.getComputedStyle(e),i=new l.Rect(this.editor.ui.getEditableElement()),o=parseInt(t.paddingTop,10),n=parseInt(t.lineHeight,10)||1.2*parseInt(t.fontSize,10),r=(0,l.getOptimalPosition)({element:this.buttonView.element,target:e,positions:[(e,t)=>{let r;return r="ltr"===this.editor.locale.uiLanguageDirection?i.left-t.width:i.right,{top:e.top+o+(n-t.height)/2,left:r}}]});this.buttonView.top=r.top,this.buttonView.left=r.left}_getToolbarMaxWidth(){const e=this.editor.ui.view.editable.element,t=new l.Rect(e),i=new l.Rect(this.buttonView.element),o="rtl"===this.editor.locale.uiLanguageDirection?i.left-t.right+i.width:t.left-i.left;return ii(t.width+o)}}},8779:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Undo:()=>p,UndoEditing:()=>d,UndoUI:()=>g});var o=i(7578),n=i(600);class r extends o.Command{constructor(e){super(e),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this.listenTo(e.data,"set",((e,t)=>{t[1]={...t[1]};const i=t[1];i.batchType||(i.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,i={ranges:t.hasOwnRange?Array.from(t.getRanges()):[],isBackward:t.isBackward};this._stack.push({batch:e,selection:i}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,t,i){const o=this.editor.model,n=o.document,r=[],l=e.map((e=>e.getTransformedByOperations(i))),c=l.flat();for(const e of l){const t=e.filter((e=>e.root!=n.graveyard)).filter((e=>!a(e,c)));t.length&&(s(t),r.push(t[0]))}r.length&&o.change((e=>{e.setSelection(r,{backward:t})}))}_undo(e,t){const i=this.editor.model,o=i.document;this._createdBatches.add(t);const r=e.operations.slice().filter((e=>e.isDocumentOperation));r.reverse();for(const e of r){const r=e.baseVersion+1,s=Array.from(o.history.getOperations(r)),a=(0,n.transformSets)([e.getReversed()],s,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(const n of a)t.addOperation(n),i.applyOperation(n),o.history.setOperationAsUndone(e,n)}}}function s(e){e.sort(((e,t)=>e.start.isBefore(t.start)?-1:1));for(let t=1;t<e.length;t++){const i=e[t-1].getJoined(e[t],!0);i&&(t--,e.splice(t,2,i))}}function a(e,t){return t.some((t=>t!==e&&t.containsRange(e,!0)))}class l extends r{execute(e=null){const t=e?this._stack.findIndex((t=>t.batch==e)):this._stack.length-1,i=this._stack.splice(t,1)[0],o=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(o,(()=>{this._undo(i.batch,o);const e=this.editor.model.document.history.getOperations(i.batch.baseVersion);this._restoreSelection(i.selection.ranges,i.selection.isBackward,e),this.fire("revert",i.batch,o)})),this.refresh()}}class c extends r{execute(){const e=this._stack.pop(),t=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(t,(()=>{const i=e.batch.operations[e.batch.operations.length-1].baseVersion+1,o=this.editor.model.document.history.getOperations(i);this._restoreSelection(e.selection.ranges,e.selection.isBackward,o),this._undo(e.batch,t)})),this.refresh()}}class d extends o.Plugin{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const e=this.editor;this._undoCommand=new l(e),this._redoCommand=new c(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",((e,t)=>{const i=t[0];if(!i.isDocumentOperation)return;const o=i.batch,n=this._redoCommand.createdBatches.has(o),r=this._undoCommand.createdBatches.has(o);this._batchRegistry.has(o)||(this._batchRegistry.add(o),o.isUndoable&&(n?this._undoCommand.addBatch(o):r||(this._undoCommand.addBatch(o),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((e,t,i)=>{this._redoCommand.addBatch(i)})),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo")}}var u=i(3905);const h='<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>',m='<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>';class g extends o.Plugin{static get pluginName(){return"UndoUI"}init(){const e=this.editor,t=e.locale,i=e.t,o="ltr"==t.uiLanguageDirection?h:m,n="ltr"==t.uiLanguageDirection?m:h;this._addButton("undo",i("Undo"),"CTRL+Z",o),this._addButton("redo",i("Redo"),"CTRL+Y",n)}_addButton(e,t,i,o){const n=this.editor;n.ui.componentFactory.add(e,(r=>{const s=n.commands.get(e),a=new u.ButtonView(r);return a.set({label:t,icon:o,keystroke:i,tooltip:!0}),a.bind("isEnabled").to(s,"isEnabled"),this.listenTo(a,"execute",(()=>{n.execute(e),n.editing.view.focus()})),a}))}}class p extends o.Plugin{static get requires(){return[d,g]}static get pluginName(){return"Undo"}}},1070:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Base64UploadAdapter:()=>u,FileDialogButtonView:()=>c,FileRepository:()=>s,SimpleUploadAdapter:()=>m});var o=i(7578),n=i(7732);class r extends((0,n.ObservableMixin)()){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(((i,o)=>{t.onload=()=>{const e=t.result;this._data=e,i(e)},t.onerror=()=>{o("error")},t.onabort=()=>{o("aborted")},this._reader.readAsDataURL(e)}))}abort(){this._reader.abort()}}class s extends o.Plugin{constructor(){super(...arguments),this.loaders=new n.Collection,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[o.PendingActions]}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,n.logWarning)("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,i)=>{e===t&&this._loadersMap.delete(i)}))}_updatePendingAction(){const e=this.editor.plugins.get(o.PendingActions);if(this.loaders.length){if(!this._pendingAction){const t=this.editor.t,i=e=>`${t("Upload in progress")} ${parseInt(e)}%.`;this._pendingAction=e.add(i(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",i)}}else e.remove(this._pendingAction),this._pendingAction=null}}class a extends((0,n.ObservableMixin)()){constructor(e,t){super(),this.id=(0,n.uid)(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=t(this),this._reader=new r,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 n.CKEditorError("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 n.CKEditorError("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(((i,o)=>{t.rejecter=o,t.isFulfilled=!1,e.then((e=>{t.isFulfilled=!0,i(e)})).catch((e=>{t.isFulfilled=!0,o(e)}))})),t}}var l=i(3905);class c extends l.View{constructor(e){super(e),this.buttonView=new l.ButtonView(e),this._fileInputView=new d(e),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.setTemplate({tag:"span",attributes:{class:"ck-file-dialog-button"},children:[this.buttonView,this._fileInputView]}),this.buttonView.on("execute",(()=>{this._fileInputView.open()}))}focus(){this.buttonView.focus()}}class d extends l.View{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()}}class u extends o.Plugin{static get requires(){return[s]}static get pluginName(){return"Base64UploadAdapter"}init(){this.editor.plugins.get(s).createUploadAdapter=e=>new h(e)}}class h{constructor(e){this.loader=e}upload(){return new Promise(((e,t)=>{const i=this.reader=new window.FileReader;i.addEventListener("load",(()=>{e({default:i.result})})),i.addEventListener("error",(e=>{t(e)})),i.addEventListener("abort",(()=>{t()})),this.loader.file.then((e=>{i.readAsDataURL(e)}))}))}abort(){this.reader.abort()}}class m extends o.Plugin{static get requires(){return[s]}static get pluginName(){return"SimpleUploadAdapter"}init(){const e=this.editor.config.get("simpleUpload");e&&(e.uploadUrl?this.editor.plugins.get(s).createUploadAdapter=t=>new g(t,e):(0,n.logWarning)("simple-upload-adapter-missing-uploadurl"))}}class g{constructor(e,t){this.loader=e,this.options=t}upload(){return this.loader.file.then((e=>new Promise(((t,i)=>{this._initRequest(),this._initListeners(t,i,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,i){const o=this.xhr,n=this.loader,r=`Couldn't upload file: ${i.name}.`;o.addEventListener("error",(()=>t(r))),o.addEventListener("abort",(()=>t())),o.addEventListener("load",(()=>{const i=o.response;if(!i||i.error)return t(i&&i.error&&i.error.message?i.error.message:r);const n=i.url?{default:i.url}:i.urls;e({...i,urls:n})})),o.upload&&o.upload.addEventListener("progress",(e=>{e.lengthComputable&&(n.uploadTotal=e.total,n.uploaded=e.loaded)}))}_sendRequest(e){const t=this.options.headers||{},i=this.options.withCredentials||!1;for(const e of Object.keys(t))this.xhr.setRequestHeader(e,t[e]);this.xhr.withCredentials=i;const o=new FormData;o.append("upload",e),this.xhr.send(o)}}},8378:(e,t,i)=>{"use strict";i.d(t,{H:()=>s,KE:()=>r,ZP:()=>n});const o="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class n extends Error{constructor(e,t,i){super(function(e,t){const i=new WeakSet;return e+(t?` ${JSON.stringify(t,((e,t)=>{if("object"==typeof t&&null!==t){if(i.has(t))return`[object ${t.constructor.name}]`;i.add(t)}return t}))}`:"")+a(e)}(e,i)),this.name="CKEditorError",this.context=t,this.data=i}is(e){return"CKEditorError"===e}static rethrowUnexpectedError(e,t){if(e.is&&e.is("CKEditorError"))throw e;const i=new n(e.message,t);throw i.stack=e.stack,i}}function r(e,t){console.warn(...l(e,t))}function s(e,t){console.error(...l(e,t))}function a(e){return`\nRead more: ${o}#error-${e}`}function l(e,t){const i=a(e);return t?[e,t,i]:[e,i]}},7732:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CKEditorError:()=>k.ZP,Collection:()=>lt,Config:()=>oe,DomEmitterMixin:()=>ce,ElementReplacer:()=>j,EmitterMixin:()=>x,EventInfo:()=>m,FocusTracker:()=>dt,KeystrokeHandler:()=>ut,Locale:()=>at,ObservableMixin:()=>L,Rect:()=>ve,ResizeObserver:()=>Ae,compareArrays:()=>q,count:()=>$,createElement:()=>X,diff:()=>d,diffToChanges:()=>u,env:()=>r,fastDiff:()=>a,findClosestScrollableAncestor:()=>he,first:()=>ct,getAncestors:()=>pe,getCode:()=>Qe,getDataFromElement:()=>fe,getEnvKeystrokeText:()=>et,getLanguageDirection:()=>rt,getLocalizedArrowKeyCodeDirection:()=>it,getOptimalPosition:()=>Oe,global:()=>ge,indexOf:()=>Se,insertAt:()=>Pe,insertToPriorityArray:()=>b,isArrowKeyCode:()=>tt,isCombiningMark:()=>pt,isComment:()=>Ie,isForwardArrowKeyCode:()=>ot,isHighSurrogateHalf:()=>ft,isInsideCombinedSymbol:()=>kt,isInsideEmojiSequence:()=>vt,isInsideSurrogatePair:()=>wt,isIterable:()=>K,isLowSurrogateHalf:()=>bt,isNode:()=>se,isRange:()=>we,isText:()=>be,isVisible:()=>Ve,keyCodes:()=>Je,logError:()=>k.H,logWarning:()=>k.KE,mix:()=>h,parseKeystroke:()=>Xe,priorities:()=>f,remove:()=>ze,scrollAncestorsToShowTarget:()=>De,scrollViewportToShowTarget:()=>Ne,setDataInElement:()=>Ee,spliceArray:()=>gt,toArray:()=>st,toMap:()=>ht,toUnit:()=>Te,uid:()=>p,version:()=>w.Z});const o=function(){try{return navigator.userAgent.toLowerCase()}catch(e){return""}}(),n={isMac:s(o),isWindows:function(e){return e.indexOf("windows")>-1}(o),isGecko:function(e){return!!e.match(/gecko\/\d+/)}(o),isSafari:function(e){return e.indexOf(" applewebkit/")>-1&&-1===e.indexOf("chrome")}(o),isiOS:function(e){return!!e.match(/iphone|ipad/i)||s(e)&&navigator.maxTouchPoints>0}(o),isAndroid:function(e){return e.indexOf("android")>-1}(o),isBlink:function(e){return e.indexOf("chrome/")>-1&&e.indexOf("edge/")<0}(o),features:{isRegExpUnicodePropertySupported:function(){let e=!1;try{e=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(e){}return e}()}},r=n;function s(e){return e.indexOf("macintosh")>-1}function a(e,t,i,o){i=i||function(e,t){return e===t};const n=Array.isArray(e)?e:Array.prototype.slice.call(e),r=Array.isArray(t)?t:Array.prototype.slice.call(t),s=function(e,t,i){const o=l(e,t,i);if(-1===o)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const n=l(c(e,o),c(t,o),i);return{firstIndex:o,lastIndexOld:e.length-n,lastIndexNew:t.length-n}}(n,r,i),a=o?function(e,t){const{firstIndex:i,lastIndexOld:o,lastIndexNew:n}=e;if(-1===i)return Array(t).fill("equal");let r=[];return i>0&&(r=r.concat(Array(i).fill("equal"))),n-i>0&&(r=r.concat(Array(n-i).fill("insert"))),o-i>0&&(r=r.concat(Array(o-i).fill("delete"))),n<t&&(r=r.concat(Array(t-n).fill("equal"))),r}(s,r.length):function(e,t){const i=[],{firstIndex:o,lastIndexOld:n,lastIndexNew:r}=t;return r-o>0&&i.push({index:o,type:"insert",values:e.slice(o,r)}),n-o>0&&i.push({index:o+(r-o),type:"delete",howMany:n-o}),i}(r,s);return a}function l(e,t,i){for(let o=0;o<Math.max(e.length,t.length);o++)if(void 0===e[o]||void 0===t[o]||!i(e[o],t[o]))return o;return-1}function c(e,t){return e.slice(t).reverse()}function d(e,t,i){i=i||function(e,t){return e===t};const o=e.length,n=t.length;if(o>200||n>200||o+n>300)return d.fastDiff(e,t,i,!0);let r,s;if(n<o){const i=e;e=t,t=i,r="delete",s="insert"}else r="insert",s="delete";const a=e.length,l=t.length,c=l-a,u={},h={};function m(o){const n=(void 0!==h[o-1]?h[o-1]:-1)+1,c=void 0!==h[o+1]?h[o+1]:-1,d=n>c?-1:1;u[o+d]&&(u[o]=u[o+d].slice(0)),u[o]||(u[o]=[]),u[o].push(n>c?r:s);let m=Math.max(n,c),g=m-o;for(;g<a&&m<l&&i(e[g],t[m]);)g++,m++,u[o].push("equal");return m}let g,p=0;do{for(g=-p;g<c;g++)h[g]=m(g);for(g=c+p;g>c;g--)h[g]=m(g);h[c]=m(c),p++}while(h[c]!==l);return u[c].slice(1)}function u(e,t){const i=[];let o=0,n=null;return e.forEach((e=>{"equal"==e?(r(),o++):"insert"==e?(n&&"insert"==n.type?n.values.push(t[o]):(r(),n={type:"insert",index:o,values:[t[o]]}),o++):n&&"delete"==n.type?n.howMany++:(r(),n={type:"delete",index:o,howMany:1})})),r(),i;function r(){n&&(i.push(n),n=null)}}function h(e,...t){t.forEach((t=>{const i=Object.getOwnPropertyNames(t),o=Object.getOwnPropertySymbols(t);i.concat(o).forEach((i=>{if(i in e.prototype)return;if("function"==typeof t&&("length"==i||"name"==i||"prototype"==i))return;const o=Object.getOwnPropertyDescriptor(t,i);o.enumerable=!1,Object.defineProperty(e.prototype,i,o)}))}))}d.fastDiff=a;class m{constructor(e,t){this.source=e,this.name=t,this.path=[],this.stop=function e(){e.called=!0},this.off=function e(){e.called=!0}}}const g=new Array(256).fill("").map(((e,t)=>("0"+t.toString(16)).slice(-2)));function p(){const e=4294967296*Math.random()>>>0,t=4294967296*Math.random()>>>0,i=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0;return"e"+g[e>>0&255]+g[e>>8&255]+g[e>>16&255]+g[e>>24&255]+g[t>>0&255]+g[t>>8&255]+g[t>>16&255]+g[t>>24&255]+g[i>>0&255]+g[i>>8&255]+g[i>>16&255]+g[i>>24&255]+g[o>>0&255]+g[o>>8&255]+g[o>>16&255]+g[o>>24&255]}const f={get(e="normal"){return"number"!=typeof e?this[e]||this.normal:e},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function b(e,t){const i=f.get(t.priority);for(let o=0;o<e.length;o++)if(f.get(e[o].priority)<i)return void e.splice(o,0,t);e.push(t)}var w=i(9807),k=i(8378);const _=Symbol("listeningTo"),v=Symbol("emitterId"),y=Symbol("delegations"),C=x(Object);function x(e){return e?class extends e{on(e,t,i){this.listenTo(this,e,t,i)}once(e,t,i){let o=!1;this.listenTo(this,e,((e,...i)=>{o||(o=!0,e.off(),t.call(this,e,...i))}),i)}off(e,t){this.stopListening(this,e,t)}listenTo(e,t,i,o={}){let n,r;this[_]||(this[_]={});const s=this[_];E(e)||A(e);const a=E(e);(n=s[a])||(n=s[a]={emitter:e,callbacks:{}}),(r=n.callbacks[t])||(r=n.callbacks[t]=[]),r.push(i),function(e,t,i,o,n){t._addEventListener?t._addEventListener(i,o,n):e._addEventListener.call(t,i,o,n)}(this,e,t,i,o)}stopListening(e,t,i){const o=this[_];let n=e&&E(e);const r=o&&n?o[n]:void 0,s=r&&t?r.callbacks[t]:void 0;if(!(!o||e&&!r||t&&!s))if(i)V(this,e,t,i),-1!==s.indexOf(i)&&(1===s.length?delete r.callbacks[t]:V(this,e,t,i));else if(s){for(;i=s.pop();)V(this,e,t,i);delete r.callbacks[t]}else if(r){for(t in r.callbacks)this.stopListening(e,t);delete o[n]}else{for(n in o)this.stopListening(o[n].emitter);delete this[_]}}fire(e,...t){try{const i=e instanceof m?e:new m(this,e),o=i.name;let n=P(this,o);if(i.path.push(this),n){const e=[i,...t];n=Array.from(n);for(let t=0;t<n.length&&(n[t].callback.apply(this,e),i.off.called&&(delete i.off.called,this._removeEventListener(o,n[t].callback)),!i.stop.called);t++);}const r=this[y];if(r){const e=r.get(o),n=r.get("*");e&&I(e,i,t),n&&I(n,i,t)}return i.return}catch(e){k.ZP.rethrowUnexpectedError(e,this)}}delegate(...e){return{to:(t,i)=>{this[y]||(this[y]=new Map),e.forEach((e=>{const o=this[y].get(e);o?o.set(t,i):this[y].set(e,new Map([[t,i]]))}))}}}stopDelegating(e,t){if(this[y])if(e)if(t){const i=this[y].get(e);i&&i.delete(t)}else this[y].delete(e);else this[y].clear()}_addEventListener(e,t,i){!function(e,t){const i=T(e);if(i[t])return;let o=t,n=null;const r=[];for(;""!==o&&!i[o];)i[o]={callbacks:[],childEvents:[]},r.push(i[o]),n&&i[o].childEvents.push(n),n=o,o=o.substr(0,o.lastIndexOf(":"));if(""!==o){for(const e of r)e.callbacks=i[o].callbacks.slice();i[o].childEvents.push(n)}}(this,e);const o=S(this,e),n={callback:t,priority:f.get(i.priority)};for(const e of o)b(e,n)}_removeEventListener(e,t){const i=S(this,e);for(const e of i)for(let i=0;i<e.length;i++)e[i].callback==t&&(e.splice(i,1),i--)}}:C}function A(e,t){e[v]||(e[v]=t||p())}function E(e){return e[v]}function T(e){return e._events||Object.defineProperty(e,"_events",{value:{}}),e._events}function S(e,t){const i=T(e)[t];if(!i)return[];let o=[i.callbacks];for(let t=0;t<i.childEvents.length;t++){const n=S(e,i.childEvents[t]);o=o.concat(n)}return o}function P(e,t){let i;return e._events&&(i=e._events[t])&&i.callbacks.length?i.callbacks:t.indexOf(":")>-1?P(e,t.substr(0,t.lastIndexOf(":"))):null}function I(e,t,i){for(let[o,n]of e){n?"function"==typeof n&&(n=n(t.name)):n=t.name;const e=new m(t.source,n);e.path=[...t.path],o.fire(e,...i)}}function V(e,t,i,o){t._removeEventListener?t._removeEventListener(i,o):e._removeEventListener.call(t,i,o)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{x[e]=C.prototype[e]}));var R=i(7226);const O=Symbol("observableProperties"),B=Symbol("boundObservables"),M=Symbol("boundProperties"),z=Symbol("decoratedMethods"),N=Symbol("decoratedOriginal"),D=L(x());function L(e){return e?class extends e{set(e,t){if((0,R.Z)(e))return void Object.keys(e).forEach((t=>{this.set(t,e[t])}),this);F(this);const i=this[O];if(e in this&&!i.has(e))throw new k.ZP("observable-set-cannot-override",this);Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>i.get(e),set(t){const o=i.get(e);let n=this.fire(`set:${e}`,e,t,o);void 0===n&&(n=t),o===n&&i.has(e)||(i.set(e,n),this.fire(`change:${e}`,e,n,o))}}),this[e]=t}bind(...e){if(!e.length||!Z(e))throw new k.ZP("observable-bind-wrong-properties",this);if(new Set(e).size!==e.length)throw new k.ZP("observable-bind-duplicate-properties",this);F(this);const t=this[M];e.forEach((e=>{if(t.has(e))throw new k.ZP("observable-bind-rebind",this)}));const i=new Map;return e.forEach((e=>{const o={property:e,to:[]};t.set(e,o),i.set(e,o)})),{to:H,toMany:W,_observable:this,_bindProperties:e,_to:[],_bindings:i}}unbind(...e){if(!this[O])return;const t=this[M],i=this[B];if(e.length){if(!Z(e))throw new k.ZP("observable-unbind-wrong-properties",this);e.forEach((e=>{const o=t.get(e);o&&(o.to.forEach((([e,t])=>{const n=i.get(e),r=n[t];r.delete(o),r.size||delete n[t],Object.keys(n).length||(i.delete(e),this.stopListening(e,"change"))})),t.delete(e))}))}else i.forEach(((e,t)=>{this.stopListening(t,"change")})),i.clear(),t.clear()}decorate(e){F(this);const t=this[e];if(!t)throw new k.ZP("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:e});this.on(e,((e,i)=>{e.return=t.apply(this,i)})),this[e]=function(...t){return this.fire(e,t)},this[e][N]=t,this[z]||(this[z]=[]),this[z].push(e)}stopListening(e,t,i){if(!e&&this[z]){for(const e of this[z])this[e]=this[e][N];delete this[z]}super.stopListening(e,t,i)}}:D}function F(e){e[O]||(Object.defineProperty(e,O,{value:new Map}),Object.defineProperty(e,B,{value:new Map}),Object.defineProperty(e,M,{value:new Map}))}function H(...e){const t=function(...e){if(!e.length)throw new k.ZP("observable-bind-to-parse-error",null);const t={to:[]};let i;return"function"==typeof e[e.length-1]&&(t.callback=e.pop()),e.forEach((e=>{if("string"==typeof e)i.properties.push(e);else{if("object"!=typeof e)throw new k.ZP("observable-bind-to-parse-error",null);i={observable:e,properties:[]},t.to.push(i)}})),t}(...e),i=Array.from(this._bindings.keys()),o=i.length;if(!t.callback&&t.to.length>1)throw new k.ZP("observable-bind-to-no-callback",this);if(o>1&&t.callback)throw new k.ZP("observable-bind-to-extra-callback",this);var n;t.to.forEach((e=>{if(e.properties.length&&e.properties.length!==o)throw new k.ZP("observable-bind-to-properties-length",this);e.properties.length||(e.properties=this._bindProperties)})),this._to=t.to,t.callback&&(this._bindings.get(i[0]).callback=t.callback),n=this._observable,this._to.forEach((e=>{const t=n[B];let i;t.get(e.observable)||n.listenTo(e.observable,"change",((o,r)=>{i=t.get(e.observable)[r],i&&i.forEach((e=>{U(n,e.property)}))}))})),function(e){let t;e._bindings.forEach(((i,o)=>{e._to.forEach((n=>{t=n.properties[i.callback?0:e._bindProperties.indexOf(o)],i.to.push([n.observable,t]),function(e,t,i,o){const n=e[B],r=n.get(i),s=r||{};s[o]||(s[o]=new Set),s[o].add(t),r||n.set(i,s)}(e._observable,i,n.observable,t)}))}))}(this),this._bindProperties.forEach((e=>{U(this._observable,e)}))}function W(e,t,i){if(this._bindings.size>1)throw new k.ZP("observable-bind-to-many-not-one-binding",this);this.to(...function(e,t){const i=e.map((e=>[e,t]));return Array.prototype.concat.apply([],i)}(e,t),i)}function Z(e){return e.every((e=>"string"==typeof e))}function U(e,t){const i=e[M].get(t);let o;i.callback?o=i.callback.apply(e,i.to.map((e=>e[0][e[1]]))):(o=i.to[0],o=o[0][o[1]]),Object.prototype.hasOwnProperty.call(e,t)?e[t]=o:e.set(t,o)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{L[e]=D.prototype[e]}));class j{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 $(e){let t=0;for(const i of e)t++;return t}function q(e,t){const i=Math.min(e.length,t.length);for(let o=0;o<i;o++)if(e[o]!=t[o])return o;return e.length==t.length?"same":e.length<t.length?"prefix":"extension"}function K(e){return!(!e||!e[Symbol.iterator])}var G=i(3243),J=i(7771),Y=i(8533);const Q=function(e){return"string"==typeof e||!(0,J.Z)(e)&&(0,Y.Z)(e)&&"[object String]"==(0,G.Z)(e)};function X(e,t,i={},o=[]){const n=i&&i.xmlns,r=n?e.createElementNS(n,t):e.createElement(t);for(const e in i)r.setAttribute(e,i[e]);!Q(o)&&K(o)||(o=[o]);for(let t of o)Q(t)&&(t=e.createTextNode(t)),r.appendChild(t);return r}var ee=i(7514),te=i(4612),ie=i(3251);class oe{constructor(e,t){this._config={},t&&this.define(ne(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,i,o=!1){if((0,ee.Z)(t))return void this._setObjectToTarget(e,t,o);const n=t.split(".");t=n.pop();for(const t of n)(0,ee.Z)(e[t])||(e[t]={}),e=e[t];if((0,ee.Z)(i))return(0,ee.Z)(e[t])||(e[t]={}),e=e[t],void this._setObjectToTarget(e,i,o);o&&void 0!==e[t]||(e[t]=i)}_getFromSource(e,t){const i=t.split(".");t=i.pop();for(const t of i){if(!(0,ee.Z)(e[t])){e=null;break}e=e[t]}return e?ne(e[t]):void 0}_setObjectToTarget(e,t,i){Object.keys(t).forEach((o=>{this._setToTarget(e,o,t[o],i)}))}}function ne(e){return(0,te.Z)(e,re)}function re(e){return(0,ie.Z)(e)?e:void 0}function se(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 ae(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}const le=ce(x());function ce(e){return e?class extends e{listenTo(e,t,i,o={}){if(se(e)||ae(e)){const n={capture:!!o.useCapture,passive:!!o.usePassive},r=this._getProxyEmitter(e,n)||new de(e,n);this.listenTo(r,t,i,o)}else super.listenTo(e,t,i,o)}stopListening(e,t,i){if(se(e)||ae(e)){const o=this._getAllProxyEmitters(e);for(const e of o)this.stopListening(e,t,i)}else super.stopListening(e,t,i)}_getProxyEmitter(e,t){return function(e,t){const i=e[_];return i&&i[t]?i[t].emitter:null}(this,ue(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))}}:le}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{ce[e]=le.prototype[e]}));class de extends(x()){constructor(e,t){super(),A(this,ue(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,i){this.attach(e),x().prototype._addEventListener.call(this,e,t,i)}_removeEventListener(e,t){x().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 ue(e,t){let i=function(e){return e["data-ck-expando"]||(e["data-ck-expando"]=p())}(e);for(const e of Object.keys(t).sort())t[e]&&(i+="-"+e);return i}function he(e){let t=e.parentElement;if(!t)return null;for(;"BODY"!=t.tagName;){const e=t.style.overflowY||i.g.window.getComputedStyle(t).overflowY;if("auto"===e||"scroll"===e)break;if(t=t.parentElement,!t)return null}return t}let me;try{me={window,document}}catch(e){me={window:{},document:{}}}const ge=me;function pe(e){const t=[];let i=e;for(;i&&i.nodeType!=Node.DOCUMENT_NODE;)t.unshift(i),i=i.parentNode;return t}function fe(e){return e instanceof HTMLTextAreaElement?e.value:e.innerHTML}function be(e){return"[object Text]"==Object.prototype.toString.call(e)}function we(e){return"[object Range]"==Object.prototype.toString.apply(e)}function ke(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)}}const _e=["top","right","bottom","left","width","height"];class ve{constructor(e){const t=we(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),xe(e)||t)if(t){const t=ve.getDomRangeRects(e);ye(this,ve.getBoundingRect(t))}else ye(this,e.getBoundingClientRect());else if(ae(e)){const{innerWidth:t,innerHeight:i}=e;ye(this,{top:0,right:t,bottom:i,left:0,width:t,height:i})}else ye(this,e)}clone(){return new ve(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};return t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0?null:new ve(t)}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(!Ce(e)){let i=e.parentNode||e.commonAncestorContainer;for(;i&&!Ce(i);){const e=new ve(i),o=t.getIntersection(e);if(!o)return null;o.getArea()<t.getArea()&&(t=o),i=i.parentNode}}return t}isEqual(e){for(const t of _e)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}excludeScrollbarsAndBorders(){const e=this._source;let t,i,o;if(ae(e))t=e.innerWidth-e.document.documentElement.clientWidth,i=e.innerHeight-e.document.documentElement.clientHeight,o=e.getComputedStyle(e.document.documentElement).direction;else{const n=ke(e);t=e.offsetWidth-e.clientWidth-n.left-n.right,i=e.offsetHeight-e.clientHeight-n.top-n.bottom,o=e.ownerDocument.defaultView.getComputedStyle(e).direction,this.left+=n.left,this.top+=n.top,this.right-=n.right,this.bottom-=n.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===o?this.right-=t:this.left+=t,this.height-=i,this.bottom-=i,this}static getDomRangeRects(e){const t=[],i=Array.from(e.getClientRects());if(i.length)for(const e of i)t.push(new ve(e));else{let i=e.startContainer;be(i)&&(i=i.parentNode);const o=new ve(i.getBoundingClientRect());o.right=o.left,o.width=0,t.push(o)}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 i=0;for(const o of e)i++,t.left=Math.min(t.left,o.left),t.top=Math.min(t.top,o.top),t.right=Math.max(t.right,o.right),t.bottom=Math.max(t.bottom,o.bottom);return 0==i?null:(t.width=t.right-t.left,t.height=t.bottom-t.top,new ve(t))}}function ye(e,t){for(const i of _e)e[i]=t[i]}function Ce(e){return!!xe(e)&&e===e.ownerDocument.body}function xe(e){return null!==e&&"object"==typeof e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect}class Ae{constructor(e,t){Ae._observerInstance||Ae._createObserver(),this._element=e,this._callback=t,Ae._addElementCallback(e,t),Ae._observerInstance.observe(e)}destroy(){Ae._deleteElementCallback(this._element,this._callback)}static _addElementCallback(e,t){Ae._elementCallbacks||(Ae._elementCallbacks=new Map);let i=Ae._elementCallbacks.get(e);i||(i=new Set,Ae._elementCallbacks.set(e,i)),i.add(t)}static _deleteElementCallback(e,t){const i=Ae._getElementCallbacks(e);i&&(i.delete(t),i.size||(Ae._elementCallbacks.delete(e),Ae._observerInstance.unobserve(e))),Ae._elementCallbacks&&!Ae._elementCallbacks.size&&(Ae._observerInstance=null,Ae._elementCallbacks=null)}static _getElementCallbacks(e){return Ae._elementCallbacks?Ae._elementCallbacks.get(e):null}static _createObserver(){Ae._observerInstance=new ge.window.ResizeObserver((e=>{for(const t of e){const e=Ae._getElementCallbacks(t.target);if(e)for(const i of e)i(t)}}))}}function Ee(e,t){e instanceof HTMLTextAreaElement&&(e.value=t),e.innerHTML=t}function Te(e){return t=>t+e}function Se(e){let t=0;for(;e.previousSibling;)e=e.previousSibling,t++;return t}function Pe(e,t,i){e.insertBefore(i,e.childNodes[t]||null)}function Ie(e){return e&&e.nodeType===Node.COMMENT_NODE}function Ve(e){return!!(e&&e.getClientRects&&e.getClientRects().length)}Ae._observerInstance=null,Ae._elementCallbacks=null;var Re=i(3234);function Oe({element:e,target:t,positions:i,limiter:o,fitInViewport:n,viewportOffsetConfig:r}){(0,Re.Z)(t)&&(t=t()),(0,Re.Z)(o)&&(o=o());const s=function(e){return e&&e.parentNode?e.offsetParent===ge.document.body?null:e.offsetParent:null}(e),a=new ve(e),l=new ve(t);let c;const d=n&&function(e){e=Object.assign({top:0,bottom:0,left:0,right:0},e);const t=new ve(ge.window);return t.top+=e.top,t.height-=e.top,t.bottom-=e.bottom,t.height-=e.bottom,t}(r)||null,u={targetRect:l,elementRect:a,positionedElementAncestor:s,viewportRect:d};if(o||n){const e=o&&new ve(o).getVisible();Object.assign(u,{limiterRect:e,viewportRect:d}),c=function(e,t){const{elementRect:i}=t,o=i.getArea(),n=e.map((e=>new Me(e,t))).filter((e=>!!e.name));let r=0,s=null;for(const e of n){const{limiterIntersectionArea:t,viewportIntersectionArea:i}=e;if(t===o)return e;const n=i**2+t**2;n>r&&(r=n,s=e)}return s}(i,u)||new Me(i[0],u)}else c=new Me(i[0],u);return c}function Be(e){const{scrollX:t,scrollY:i}=ge.window;return e.clone().moveBy(t,i)}class Me{constructor(e,t){const i=e(t.targetRect,t.elementRect,t.viewportRect);if(!i)return;const{left:o,top:n,name:r,config:s}=i;this.name=r,this.config=s,this._positioningFunctionCorrdinates={left:o,top:n},this._options=t}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const e=this._options.limiterRect;if(e){const t=this._options.viewportRect;if(!t)return e.getIntersectionArea(this._rect);{const i=e.getIntersection(t);if(i)return i.getIntersectionArea(this._rect)}}return 0}get viewportIntersectionArea(){const e=this._options.viewportRect;return e?e.getIntersectionArea(this._rect):0}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCorrdinates.left,this._positioningFunctionCorrdinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=Be(this._rect),this._options.positionedElementAncestor&&function(e,t){const i=Be(new ve(t)),o=ke(t);let n=0,r=0;n-=i.left,r-=i.top,n+=t.scrollLeft,r+=t.scrollTop,n-=o.left,r-=o.top,e.moveBy(n,r)}(this._cachedAbsoluteRect,this._options.positionedElementAncestor)),this._cachedAbsoluteRect}}function ze(e){const t=e.parentNode;t&&t.removeChild(e)}function Ne({target:e,viewportOffset:t=0,ancestorOffset:i=0,alignToTop:o,forceScroll:n}){const r=je(e);let s=r,a=null;for(;s;){let l;l=$e(s==r?e:a),Fe({parent:l,getRect:()=>qe(e,s),alignToTop:o,ancestorOffset:i,forceScroll:n});const c=qe(e,s);if(Le({window:s,rect:c,viewportOffset:t,alignToTop:o,forceScroll:n}),s.parent!=s){if(a=s.frameElement,s=s.parent,!a)return}else s=null}}function De(e,t){Fe({parent:$e(e),getRect:()=>new ve(e),ancestorOffset:t})}function Le({window:e,rect:t,alignToTop:i,forceScroll:o,viewportOffset:n}){const r=t.clone().moveBy(0,n),s=t.clone().moveBy(0,-n),a=new ve(e).excludeScrollbarsAndBorders(),l=i&&o,c=[s,r].every((e=>a.contains(e)));let{scrollX:d,scrollY:u}=e;const h=d,m=u;l?u-=a.top-t.top+n:c||(We(s,a)?u-=a.top-t.top+n:He(r,a)&&(u+=i?t.top-a.top-n:t.bottom-a.bottom+n)),c||(Ze(t,a)?d-=a.left-t.left+n:Ue(t,a)&&(d+=t.right-a.right+n)),d==h&&u===m||e.scrollTo(d,u)}function Fe({parent:e,getRect:t,alignToTop:i,forceScroll:o,ancestorOffset:n=0}){const r=je(e),s=i&&o;let a,l,c;for(;e!=r.document.body;)l=t(),a=new ve(e).excludeScrollbarsAndBorders(),c=a.contains(l),s?e.scrollTop-=a.top-l.top+n:c||(We(l,a)?e.scrollTop-=a.top-l.top+n:He(l,a)&&(e.scrollTop+=i?l.top-a.top-n:l.bottom-a.bottom+n)),c||(Ze(l,a)?e.scrollLeft-=a.left-l.left+n:Ue(l,a)&&(e.scrollLeft+=l.right-a.right+n)),e=e.parentNode}function He(e,t){return e.bottom>t.bottom}function We(e,t){return e.top<t.top}function Ze(e,t){return e.left<t.left}function Ue(e,t){return e.right>t.right}function je(e){return we(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function $e(e){if(we(e)){let t=e.commonAncestorContainer;return be(t)&&(t=t.parentNode),t}return e.parentNode}function qe(e,t){const i=je(e),o=new ve(e);if(i===t)return o;{let e=i;for(;e!=t;){const t=e.frameElement,i=new ve(t).excludeScrollbarsAndBorders();o.moveBy(i.left,i.top),e=e.parent}}return o}const Ke={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},Ge={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},Je=function(){const e={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;for(const t of"`-=[];',./\\")e[t]=t.charCodeAt(0);return e}(),Ye=Object.fromEntries(Object.entries(Je).map((([e,t])=>[t,e.charAt(0).toUpperCase()+e.slice(1)])));function Qe(e){let t;if("string"==typeof e){if(t=Je[e.toLowerCase()],!t)throw new k.ZP("keyboard-unknown-key",null,{key:e})}else t=e.keyCode+(e.altKey?Je.alt:0)+(e.ctrlKey?Je.ctrl:0)+(e.shiftKey?Je.shift:0)+(e.metaKey?Je.cmd:0);return t}function Xe(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 Qe(e.slice(0,-1));const t=Qe(e);return r.isMac&&t==Je.ctrl?Je.cmd:t}(e):e)).reduce(((e,t)=>t+e),0)}function et(e){let t=Xe(e);return Object.entries(r.isMac?Ke:Ge).reduce(((e,[i,o])=>(0!=(t&Je[i])&&(t&=~Je[i],e+=o),e)),"")+(t?Ye[t]:"")}function tt(e){return e==Je.arrowright||e==Je.arrowleft||e==Je.arrowup||e==Je.arrowdown}function it(e,t){const i="ltr"===t;switch(e){case Je.arrowleft:return i?"left":"right";case Je.arrowright:return i?"right":"left";case Je.arrowup:return"up";case Je.arrowdown:return"down"}}function ot(e,t){const i=it(e,t);return"down"===i||"right"===i}const nt=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function rt(e){return nt.includes(e)?"rtl":"ltr"}function st(e){return Array.isArray(e)?e:[e]}ge.window.CKEDITOR_TRANSLATIONS||(ge.window.CKEDITOR_TRANSLATIONS={});class at{constructor({uiLanguage:e="en",contentLanguage:t}={}){this.uiLanguage=e,this.contentLanguage=t||this.uiLanguage,this.uiLanguageDirection=rt(this.uiLanguage),this.contentLanguageDirection=rt(this.contentLanguage),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=st(t),"string"==typeof e&&(e={string:e});const i=e.plural?t[0]:1;return function(e,t){return e.replace(/%(\d+)/g,((e,i)=>i<t.length?t[i]:e))}(function(e,t,i=1){if("number"!=typeof i)throw new k.ZP("translation-service-quantity-not-a-number",null,{quantity:i});const o=Object.keys(ge.window.CKEDITOR_TRANSLATIONS).length;1===o&&(e=Object.keys(ge.window.CKEDITOR_TRANSLATIONS)[0]);const n=t.id||t.string;if(0===o||!function(e,t){return!!ge.window.CKEDITOR_TRANSLATIONS[e]&&!!ge.window.CKEDITOR_TRANSLATIONS[e].dictionary[t]}(e,n))return 1!==i?t.plural:t.string;const r=ge.window.CKEDITOR_TRANSLATIONS[e].dictionary,s=ge.window.CKEDITOR_TRANSLATIONS[e].getPluralForm||(e=>1===e?0:1),a=r[n];return"string"==typeof a?a:a[Number(s(i))]}(this.uiLanguage,e,i),t)}}class lt extends(x()){constructor(e={},t={}){super();const i=K(e);if(i||(t=e),this._items=[],this._itemMap=new Map,this._idProperty=t.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],i)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 k.ZP("collection-add-item-invalid-index",this);let i=0;for(const o of e){const e=this._getItemIdBeforeAdding(o),n=t+i;this._items.splice(n,0,o),this._itemMap.set(e,o),this.fire("add",o,n),i++}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 k.ZP("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,i]=this._remove(e);return this.fire("change",{added:[],removed:[t],index:i}),t}map(e,t){return this._items.map(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 k.ZP("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,i=(i,o,n)=>{const r=t._bindToCollection==this,s=t._bindToInternalToExternalMap.get(o);if(r&&s)this._bindToExternalToInternalMap.set(o,s),this._bindToInternalToExternalMap.set(s,o);else{const i=e(o);if(!i)return void this._skippedIndexesFromExternal.push(n);let r=n;for(const e of this._skippedIndexesFromExternal)n>e&&r--;for(const e of t._skippedIndexesFromExternal)r>=e&&r++;this._bindToExternalToInternalMap.set(o,i),this._bindToInternalToExternalMap.set(i,o),this.add(i,r);for(let e=0;e<t._skippedIndexesFromExternal.length;e++)r<=t._skippedIndexesFromExternal[e]&&t._skippedIndexesFromExternal[e]++}};for(const e of t)i(0,e,t.getIndex(e));this.listenTo(t,"add",i),this.listenTo(t,"remove",((e,t,i)=>{const o=this._bindToExternalToInternalMap.get(t);o&&this.remove(o),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((e,t)=>(i<t&&e.push(t-1),i>t&&e.push(t),e)),[])}))}_getItemIdBeforeAdding(e){const t=this._idProperty;let i;if(t in e){if(i=e[t],"string"!=typeof i)throw new k.ZP("collection-add-invalid-id",this);if(this.get(i))throw new k.ZP("collection-add-item-already-exists",this)}else e[t]=i=p();return i}_remove(e){let t,i,o,n=!1;const r=this._idProperty;if("string"==typeof e?(i=e,o=this._itemMap.get(i),n=!o,o&&(t=this._items.indexOf(o))):"number"==typeof e?(t=e,o=this._items[t],n=!o,o&&(i=o[r])):(o=e,i=o[r],t=this._items.indexOf(o),n=-1==t||!this._itemMap.get(i)),n)throw new k.ZP("collection-remove-404",this);this._items.splice(t,1),this._itemMap.delete(i);const s=this._bindToInternalToExternalMap.get(o);return this._bindToInternalToExternalMap.delete(o),this._bindToExternalToInternalMap.delete(s),this.fire("remove",o,t),[o,t]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function ct(e){const t=e.next();return t.done?null:t.value}class dt extends(ce(L())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(e){if(this._elements.has(e))throw new k.ZP("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 ut{constructor(){this._listener=new(ce())}listenTo(e){this._listener.listenTo(e,"keydown",((e,t)=>{this._listener.fire("_keydown:"+Qe(t),t)}))}set(e,t,i={}){const o=Xe(e),n=i.priority;this._listener.listenTo(this._listener,"_keydown:"+o,((e,i)=>{t(i,(()=>{i.preventDefault(),i.stopPropagation(),e.stop()})),e.return=!0}),{priority:n})}press(e){return!!this._listener.fire("_keydown:"+Qe(e),e)}stopListening(e){this._listener.stopListening(e)}destroy(){this.stopListening()}}function ht(e){return K(e)?new Map(e):function(e){const t=new Map;for(const i in e)t.set(i,e[i]);return t}(e)}const mt=1e4;function gt(e,t,i,o){if(Math.max(t.length,e.length)>mt)return e.slice(0,i).concat(t).concat(e.slice(i+o,e.length));{const n=Array.from(e);return n.splice(i,o,...t),n}}function pt(e){return!!e&&1==e.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(e)}function ft(e){return!!e&&1==e.length&&/[\ud800-\udbff]/.test(e)}function bt(e){return!!e&&1==e.length&&/[\udc00-\udfff]/.test(e)}function wt(e,t){return ft(e.charAt(t-1))&&bt(e.charAt(t))}function kt(e,t){return pt(e.charAt(t))}const _t=function(){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")}();function vt(e,t){const i=String(e).matchAll(_t);return Array.from(i).some((e=>e.index<t&&t<e.index+e[0].length))}},9807:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(8378);const n="37.1.0",r=n,s="object"==typeof window?window:i.g;if(s.CKEDITOR_VERSION)throw new o.ZP("ckeditor-duplicated-modules",null);s.CKEDITOR_VERSION=n},4156:(e,t,i)=>{"use strict";i.r(t),i.d(t,{WIDGET_CLASS_NAME:()=>m,WIDGET_SELECTED_CLASS_NAME:()=>g,Widget:()=>G,WidgetResize:()=>re,WidgetToolbarRepository:()=>J,WidgetTypeAround:()=>U,findOptimalInsertionRange:()=>C,getLabel:()=>v,isWidget:()=>p,setHighlightHandling:()=>k,setLabel:()=>_,toWidget:()=>f,toWidgetEditable:()=>y,viewToModelPositionOutsideModelElement:()=>x});var o=i(7578),n=i(600),r=i(3701),s=i(7732),a=i(3905),l=i(5725);class c extends((0,s.EmitterMixin)()){constructor(){super(...arguments),this._stack=[]}add(e,t){const i=this._stack,o=i[0];this._insertDescriptor(e);const n=i[0];o===n||d(o,n)||this.fire("change:top",{oldDescriptor:o,newDescriptor:n,writer:t})}remove(e,t){const i=this._stack,o=i[0];this._removeDescriptor(e);const n=i[0];o===n||d(o,n)||this.fire("change:top",{oldDescriptor:o,newDescriptor:n,writer:t})}_insertDescriptor(e){const t=this._stack,i=t.findIndex((t=>t.id===e.id));if(d(e,t[i]))return;i>-1&&t.splice(i,1);let o=0;for(;t[o]&&(n=t[o],r=e,n.priority>r.priority||!(n.priority<r.priority)&&u(n.classes)>u(r.classes));)o++;var n,r;t.splice(o,0,e)}_removeDescriptor(e){const t=this._stack,i=t.findIndex((t=>t.id===e));i>-1&&t.splice(i,1)}}function d(e,t){return e&&t&&e.priority==t.priority&&u(e.classes)==u(t.classes)}function u(e){return Array.isArray(e)?e.sort().join(","):e}const h='<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>',m="ck-widget",g="ck-widget_selected";function p(e){return!!e.is("element")&&!!e.getCustomProperty("widget")}function f(e,t,i={}){if(!e.is("containerElement"))throw new s.CKEditorError("widget-to-widget-wrong-element-type",null,{element:e});return t.setAttribute("contenteditable","false",e),t.addClass(m,e),t.setCustomProperty("widget",!0,e),e.getFillerOffset=A,t.setCustomProperty("widgetLabel",[],e),i.label&&_(e,i.label),i.hasSelectionHandle&&function(e,t){const i=t.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(e){const t=this.toDomElement(e),i=new a.IconView;return i.set("content",h),i.render(),t.appendChild(i.element),t}));t.insert(t.createPositionAt(e,0),i),t.addClass(["ck-widget_with-selection-handle"],e)}(e,t),k(e,t),e}function b(e,t,i){if(t.classes&&i.addClass((0,s.toArray)(t.classes),e),t.attributes)for(const o in t.attributes)i.setAttribute(o,t.attributes[o],e)}function w(e,t,i){if(t.classes&&i.removeClass((0,s.toArray)(t.classes),e),t.attributes)for(const o in t.attributes)i.removeAttribute(o,e)}function k(e,t,i=b,o=w){const n=new c;n.on("change:top",((t,n)=>{n.oldDescriptor&&o(e,n.oldDescriptor,n.writer),n.newDescriptor&&i(e,n.newDescriptor,n.writer)})),t.setCustomProperty("addHighlight",((e,t,i)=>n.add(t,i)),e),t.setCustomProperty("removeHighlight",((e,t,i)=>n.remove(t,i)),e)}function _(e,t){e.getCustomProperty("widgetLabel").push(t)}function v(e){return e.getCustomProperty("widgetLabel").reduce(((e,t)=>"function"==typeof t?e?e+". "+t():t():e?e+". "+t:t),"")}function y(e,t,i={}){return t.addClass(["ck-editor__editable","ck-editor__nested-editable"],e),t.setAttribute("role","textbox",e),i.label&&t.setAttribute("aria-label",i.label,e),t.setAttribute("contenteditable",e.isReadOnly?"false":"true",e),e.on("change:isReadOnly",((i,o,n)=>{t.setAttribute("contenteditable",n?"false":"true",e)})),e.on("change:isFocused",((i,o,n)=>{n?t.addClass("ck-editor__nested-editable_focused",e):t.removeClass("ck-editor__nested-editable_focused",e)})),k(e,t),e}function C(e,t){const i=e.getSelectedElement();if(i){const o=S(e);if(o)return t.createRange(t.createPositionAt(i,o))}return(0,n.findOptimalInsertionRange)(e,t)}function x(e,t){return(i,o)=>{const{mapper:n,viewPosition:r}=o,s=n.findMappedViewAncestor(r);if(!t(s))return;const a=n.toModelElement(s);o.modelPosition=e.createPositionAt(a,r.isAtStart?"before":"after")}}function A(){return null}const E="widget-type-around";function T(e,t,i){return!!e&&p(e)&&!i.isInline(t)}function S(e){return e.getAttribute(E)}var P=i(3379),I=i.n(P),V=i(9037),R=i.n(V),O=i(569),B=i.n(O),M=i(8575),z=i.n(M),N=i(9216),D=i.n(N),L=i(2347),F={attributes:{"data-cke":!0}};F.setAttributes=z(),F.insert=B().bind(null,"head"),F.domAPI=R(),F.insertStyleElement=D(),I()(L.Z,F),L.Z&&L.Z.locals&&L.Z.locals;const H=["before","after"],W=(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,Z="ck-widget__type-around_disabled";class U extends o.Plugin{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[l.C,r.HG]}init(){const e=this.editor,t=e.editing.view;this.on("change:isEnabled",((i,o,n)=>{t.change((e=>{for(const i of t.document.roots)n?e.removeClass(Z,i):e.addClass(Z,i)})),n||e.model.change((e=>{e.removeSelectionAttribute(E)}))})),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 i=this.editor,o=i.editing.view,n=i.model.schema.getAttributesWithProperty(e,"copyOnReplace",!0);i.execute("insertParagraph",{position:i.model.createPositionAt(e,t),attributes:n}),o.focus(),o.scrollToTheSelection()}_listenToIfEnabled(e,t,i,o){this.listenTo(e,t,((...e)=>{this.isEnabled&&i(...e)}),o)}_insertParagraphAccordingToFakeCaretPosition(){const e=this.editor.model.document.selection,t=S(e);if(!t)return!1;const i=e.getSelectedElement();return this._insertParagraph(i,t),!0}_enableTypeAroundUIInjection(){const e=this.editor,t=e.model.schema,i=e.locale.t,o={before:i("Insert paragraph before block"),after:i("Insert paragraph after block")};e.editing.downcastDispatcher.on("insert",((e,n,r)=>{const s=r.mapper.toViewElement(n.item);s&&T(s,n.item,t)&&(!function(e,t,i){const o=e.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(e){const i=this.toDomElement(e);return function(e,t){for(const i of H){const o=new a.Template({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${i}`],title:t[i],"aria-hidden":"true"},children:[e.ownerDocument.importNode(W,!0)]});e.appendChild(o.render())}}(i,t),function(e){const t=new a.Template({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});e.appendChild(t.render())}(i),i}));e.insert(e.createPositionAt(i,"end"),o)}(r.writer,o,s),s.getCustomProperty("widgetLabel").push((()=>this.isEnabled?i("Press Enter to type after or press Shift + Enter to type before the widget"):"")))}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const e=this.editor,t=e.model,i=t.document.selection,o=t.schema,n=e.editing.view;function r(e){return`ck-widget_type-around_show-fake-caret_${e}`}this._listenToIfEnabled(n.document,"arrowKey",((e,t)=>{this._handleArrowKeyPress(e,t)}),{context:[p,"$text"],priority:"high"}),this._listenToIfEnabled(i,"change:range",((t,i)=>{i.directChange&&e.model.change((e=>{e.removeSelectionAttribute(E)}))})),this._listenToIfEnabled(t.document,"change:data",(()=>{const t=i.getSelectedElement();t&&T(e.editing.mapper.toViewElement(t),t,o)||e.model.change((e=>{e.removeSelectionAttribute(E)}))})),this._listenToIfEnabled(e.editing.downcastDispatcher,"selection",((e,t,i)=>{const n=i.writer;if(this._currentFakeCaretModelElement){const e=i.mapper.toViewElement(this._currentFakeCaretModelElement);e&&(n.removeClass(H.map(r),e),this._currentFakeCaretModelElement=null)}const s=t.selection.getSelectedElement();if(!s)return;const a=i.mapper.toViewElement(s);if(!T(a,s,o))return;const l=S(t.selection);l&&(n.addClass(r(l),a),this._currentFakeCaretModelElement=s)})),this._listenToIfEnabled(e.ui.focusTracker,"change:isFocused",((t,i,o)=>{o||e.model.change((e=>{e.removeSelectionAttribute(E)}))}))}_handleArrowKeyPress(e,t){const i=this.editor,o=i.model,n=o.document.selection,r=o.schema,a=i.editing.view,l=t.keyCode,c=(0,s.isForwardArrowKeyCode)(l,i.locale.contentLanguageDirection),d=a.document.selection.getSelectedElement();let u;T(d,i.editing.mapper.toModelElement(d),r)?u=this._handleArrowKeyPressOnSelectedWidget(c):n.isCollapsed?u=this._handleArrowKeyPressWhenSelectionNextToAWidget(c):t.shiftKey||(u=this._handleArrowKeyPressWhenNonCollapsedSelection(c)),u&&(t.preventDefault(),e.stop())}_handleArrowKeyPressOnSelectedWidget(e){const t=this.editor.model,i=S(t.document.selection);return t.change((t=>i?i!==(e?"after":"before")&&(t.removeSelectionAttribute(E),!0):(t.setSelectionAttribute(E,e?"after":"before"),!0)))}_handleArrowKeyPressWhenSelectionNextToAWidget(e){const t=this.editor,i=t.model,o=i.schema,n=t.plugins.get("Widget"),r=n._getObjectElementNextToSelection(e);return!!T(t.editing.mapper.toViewElement(r),r,o)&&(i.change((t=>{n._setSelectionOverElement(r),t.setSelectionAttribute(E,e?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(e){const t=this.editor,i=t.model,o=i.schema,n=t.editing.mapper,r=i.document.selection,s=e?r.getLastPosition().nodeBefore:r.getFirstPosition().nodeAfter;return!!T(n.toViewElement(s),s,o)&&(i.change((t=>{t.setSelection(s,"on"),t.setSelectionAttribute(E,e?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const e=this.editor,t=e.editing.view;this._listenToIfEnabled(t.document,"mousedown",((i,o)=>{const n=o.domTarget.closest(".ck-widget__type-around__button");if(!n)return;const r=n.classList.contains("ck-widget__type-around__button_before")?"before":"after",s=function(e,t){const i=e.closest(".ck-widget");return t.mapDomToView(i)}(n,t.domConverter),a=e.editing.mapper.toModelElement(s);this._insertParagraph(a,r),o.preventDefault(),i.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const e=this.editor,t=e.model.document.selection,i=e.editing.view;this._listenToIfEnabled(i.document,"enter",((i,o)=>{if("atTarget"!=i.eventPhase)return;const n=t.getSelectedElement(),r=e.editing.mapper.toViewElement(n),s=e.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:T(r,n,s)&&(this._insertParagraph(n,o.isSoft?"before":"after"),a=!0),a&&(o.preventDefault(),i.stop())}),{context:p})}_enableInsertingParagraphsOnTypingKeystroke(){const e=this.editor.editing.view.document;this._listenToIfEnabled(e,"insertText",((t,i)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(i.selection=e.selection)}),{priority:"high"}),s.env.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,i=e.model,o=i.schema;this._listenToIfEnabled(t.document,"delete",((t,n)=>{if("atTarget"!=t.eventPhase)return;const r=S(i.document.selection);if(!r)return;const s=n.direction,a=i.document.selection.getSelectedElement(),l="forward"==s;if("before"===r===l)e.execute("delete",{selection:i.createSelection(a,"on")});else{const t=o.getNearestSelectionRange(i.createPositionAt(a,r),s);if(t)if(t.isCollapsed){const n=i.createSelection(t.start);if(i.modifySelection(n,{direction:s}),n.focus.isEqual(t.start)){const e=function(e,t){let i=t;for(const o of t.getAncestors({parentFirst:!0})){if(o.childCount>1||e.isLimit(o))break;i=o}return i}(o,t.start.parent);i.deleteContent(i.createSelection(e,"on"),{doNotAutoparagraph:!0})}else i.change((i=>{i.setSelection(t),e.execute(l?"deleteForward":"delete")}))}else i.change((i=>{i.setSelection(t),e.execute(l?"deleteForward":"delete")}))}n.preventDefault(),t.stop()}),{context:p})}_enableInsertContentIntegration(){const e=this.editor,t=this.editor.model,i=t.document.selection;this._listenToIfEnabled(e.model,"insertContent",((e,[o,n])=>{if(n&&!n.is("documentSelection"))return;const r=S(i);return r?(e.stop(),t.change((e=>{const n=i.getSelectedElement(),s=t.createPositionAt(n,r),a=e.createSelection(s),l=t.insertContent(o,a);return e.setSelection(a),l}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"insertObject",((e,i)=>{const[,o,n={}]=i;if(o&&!o.is("documentSelection"))return;const r=S(t);r&&(n.findOptimalPosition=r,i[3]=n)}),{priority:"high"})}_enableDeleteContentIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"deleteContent",((e,[i])=>{i&&!i.is("documentSelection")||S(t)&&e.stop()}),{priority:"high"})}}function j(e,t,i){const o=e.schema,n=e.createRangeIn(t.root),r="forward"==i?"elementStart":"elementEnd";for(const{previousPosition:e,item:s,type:a}of n.getWalker({startPosition:t,direction:i})){if(o.isLimit(s)&&!o.isInline(s))return e;if(a==r&&o.isBlock(s))return null}return null}function $(e,t,i){const o="backward"==i?t.end:t.start;if(e.checkChild(o,"$text"))return o;for(const{nextPosition:o}of t.getWalker({direction:i}))if(e.checkChild(o,"$text"))return o;return null}var q=i(7153),K={attributes:{"data-cke":!0}};K.setAttributes=z(),K.insert=B().bind(null,"head"),K.domAPI=R(),K.insertStyleElement=D(),I()(q.Z,K),q.Z&&q.Z.locals&&q.Z.locals;class G extends o.Plugin{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[U,r.HG]}init(){const e=this.editor,t=e.editing.view,i=t.document;this.editor.editing.downcastDispatcher.on("selection",((t,i,o)=>{const n=o.writer,r=i.selection;if(r.isCollapsed)return;const s=r.getSelectedElement();if(!s)return;const a=e.editing.mapper.toViewElement(s);p(a)&&o.consumable.consume(r,"selection")&&n.setSelection(n.createRangeOn(a),{fake:!0,label:v(a)})})),this.editor.editing.downcastDispatcher.on("selection",((e,t,i)=>{this._clearPreviouslySelectedWidgets(i.writer);const o=i.writer,n=o.document.selection;let r=null;for(const e of n.getRanges())for(const t of e){const e=t.item;p(e)&&(s=e,!(a=r)||!Array.from(s.getAncestors()).includes(a))&&(o.addClass(g,e),this._previouslySelected.add(e),r=e)}var s,a}),{priority:"low"}),t.addObserver(n.MouseObserver),this.listenTo(i,"mousedown",((...e)=>this._onMousedown(...e))),this.listenTo(i,"arrowKey",((...e)=>{this._handleSelectionChangeOnArrowKeyPress(...e)}),{context:[p,"$text"]}),this.listenTo(i,"arrowKey",((...e)=>{this._preventDefaultOnArrowKeyPress(...e)}),{context:"$root"}),this.listenTo(i,"arrowKey",function(e){const t=e.model;return(i,o)=>{const n=o.keyCode==s.keyCodes.arrowup,r=o.keyCode==s.keyCodes.arrowdown,a=o.shiftKey,l=t.document.selection;if(!n&&!r)return;const c=r;if(a&&function(e,t){return!e.isCollapsed&&e.isBackward==t}(l,c))return;const d=function(e,t,i){const o=e.model;if(i){const e=t.isCollapsed?t.focus:t.getLastPosition(),i=j(o,e,"forward");if(!i)return null;const n=o.createRange(e,i),r=$(o.schema,n,"backward");return r?o.createRange(e,r):null}{const e=t.isCollapsed?t.focus:t.getFirstPosition(),i=j(o,e,"backward");if(!i)return null;const n=o.createRange(i,e),r=$(o.schema,n,"forward");return r?o.createRange(r,e):null}}(e,l,c);if(d){if(d.isCollapsed){if(l.isCollapsed)return;if(a)return}(d.isCollapsed||function(e,t,i){const o=e.model,n=e.view.domConverter;if(i){const e=o.createSelection(t.start);o.modifySelection(e),e.focus.isAtEnd||t.start.isEqual(e.focus)||(t=o.createRange(e.focus,t.end))}const r=e.mapper.toViewRange(t),a=n.viewRangeToDom(r),l=s.Rect.getDomRangeRects(a);let c;for(const e of l)if(void 0!==c){if(Math.round(e.top)>=c)return!1;c=Math.max(c,Math.round(e.bottom))}else c=Math.round(e.bottom);return!0}(e,d,c))&&(t.change((e=>{const i=c?d.end:d.start;if(a){const o=t.createSelection(l.anchor);o.setFocus(i),e.setSelection(o)}else e.setSelection(i)})),i.stop(),o.preventDefault(),o.stopPropagation())}}}(this.editor.editing),{context:"$text"}),this.listenTo(i,"delete",((e,t)=>{this._handleDelete("forward"==t.direction)&&(t.preventDefault(),e.stop())}),{context:"$root"})}_onMousedown(e,t){const i=this.editor,o=i.editing.view,n=o.document;let r=t.target;if(function(e){let t=e;for(;t;){if(t.is("editableElement")&&!t.is("rootElement"))return!0;if(p(t))return!1;t=t.parent}return!1}(r)){if((s.env.isSafari||s.env.isGecko)&&t.domEvent.detail>=3){const e=i.editing.mapper,o=r.is("attributeElement")?r.findAncestor((e=>!e.is("attributeElement"))):r,n=e.toModelElement(o);t.preventDefault(),this.editor.model.change((e=>{e.setSelection(n,"in")}))}return}if(!p(r)&&(r=r.findAncestor(p),!r))return;s.env.isAndroid&&t.preventDefault(),n.isFocused||o.focus();const a=i.editing.mapper.toModelElement(r);this._setSelectionOverElement(a)}_handleSelectionChangeOnArrowKeyPress(e,t){const i=t.keyCode,o=this.editor.model,n=o.schema,r=o.document.selection,a=r.getSelectedElement(),l=(0,s.getLocalizedArrowKeyCodeDirection)(i,this.editor.locale.contentLanguageDirection),c="down"==l||"right"==l,d="up"==l||"down"==l;if(a&&n.isObject(a)){const i=c?r.getLastPosition():r.getFirstPosition(),s=n.getNearestSelectionRange(i,c?"forward":"backward");return void(s&&(o.change((e=>{e.setSelection(s)})),t.preventDefault(),e.stop()))}if(!r.isCollapsed&&!t.shiftKey){const i=r.getFirstPosition(),s=r.getLastPosition(),a=i.nodeAfter,l=s.nodeBefore;return void((a&&n.isObject(a)||l&&n.isObject(l))&&(o.change((e=>{e.setSelection(c?s:i)})),t.preventDefault(),e.stop()))}if(!r.isCollapsed)return;const u=this._getObjectElementNextToSelection(c);if(u&&n.isObject(u)){if(n.isInline(u)&&d)return;this._setSelectionOverElement(u),t.preventDefault(),e.stop()}}_preventDefaultOnArrowKeyPress(e,t){const i=this.editor.model,o=i.schema,n=i.document.selection.getSelectedElement();n&&o.isObject(n)&&(t.preventDefault(),e.stop())}_handleDelete(e){if(this.editor.isReadOnly)return;const t=this.editor.model.document.selection;if(!t.isCollapsed)return;const i=this._getObjectElementNextToSelection(e);return i?(this.editor.model.change((e=>{let o=t.anchor.parent;for(;o.isEmpty;){const t=o;o=t.parent,e.remove(t)}this._setSelectionOverElement(i)})),!0):void 0}_setSelectionOverElement(e){this.editor.model.change((t=>{t.setSelection(t.createRangeOn(e))}))}_getObjectElementNextToSelection(e){const t=this.editor.model,i=t.schema,o=t.document.selection,n=t.createSelection(o);if(t.modifySelection(n,{direction:e?"forward":"backward"}),n.isEqual(o))return null;const r=e?n.focus.nodeBefore:n.focus.nodeAfter;return r&&i.isObject(r)?r:null}_clearPreviouslySelectedWidgets(e){for(const t of this._previouslySelected)e.removeClass(g,t);this._previouslySelected.clear()}}class J extends o.Plugin{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[a.ContextualBalloon]}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||!p(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:i,getRelatedElement:o,balloonClassName:n="ck-toolbar-container"}){if(!i.length)return void(0,s.logWarning)("widget-toolbar-no-items",{toolbarId:e});const r=this.editor,l=r.t,c=new a.ToolbarView(r.locale);if(c.ariaLabel=t||l("Widget toolbar"),this._toolbarDefinitions.has(e))throw new s.CKEditorError("widget-toolbar-duplicated",this,{toolbarId:e});const d={view:c,getRelatedElement:o,balloonClassName:n,itemsConfig:i,initialized:!1};r.ui.addToolbar(c,{isContextual:!0,beforeFocus:()=>{const e=o(r.editing.view.document.selection);e&&this._showToolbar(d,e)},afterBlur:()=>{this._hideToolbar(d)}}),this._toolbarDefinitions.set(e,d)}_updateToolbarsVisibility(){let e=0,t=null,i=null;for(const o of this._toolbarDefinitions.values()){const n=o.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&n)if(this.editor.ui.focusTracker.isFocused){const r=n.getAncestors().length;r>e&&(e=r,t=n,i=o)}else this._isToolbarVisible(o)&&this._hideToolbar(o);else this._isToolbarInBalloon(o)&&this._hideToolbar(o)}i&&this._showToolbar(i,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:Q(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 i=e.plugins.get("ContextualBalloon"),o=Q(e,t);i.updatePosition(o)}function Q(e,t){const i=e.editing.view,o=a.BalloonPanelView.defaultPositions;return{target:i.domConverter.mapViewToDom(t),positions:[o.northArrowSouth,o.northArrowSouthWest,o.northArrowSouthEast,o.southArrowNorth,o.southArrowNorthWest,o.southArrowNorthEast,o.viewportStickyNorth]}}class X extends((0,s.ObservableMixin)()){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,i){const o=new s.Rect(t);this.activeHandlePosition=function(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const i of t)if(e.classList.contains(`ck-widget__resizer__handle-${i}`))return i}(e),this._referenceCoordinates=function(e,t){const i=new s.Rect(e),o=t.split("-"),n={x:"right"==o[1]?i.right:i.left,y:"bottom"==o[0]?i.bottom:i.top};return n.x+=e.ownerDocument.defaultView.scrollX,n.y+=e.ownerDocument.defaultView.scrollY,n}(t,function(e){const t=e.split("-"),i={top:"bottom",bottom:"top",left:"right",right:"left"};return`${i[t[0]]}-${i[t[1]]}`}(this.activeHandlePosition)),this._originalWidth=o.width,this._originalHeight=o.height,this._aspectRatio=o.width/o.height;const n=i.style.width;n&&n.match(/^\d+(\.\d*)?%$/)?this._originalWidthPercents=parseFloat(n):this._originalWidthPercents=function(e,t){const i=e.parentElement;let o=parseFloat(i.ownerDocument.defaultView.getComputedStyle(i).width);let n=0,r=i;for(;isNaN(o);){if(r=r.parentElement,++n>5)return 0;o=parseFloat(i.ownerDocument.defaultView.getComputedStyle(r).width)}return t.width/o*100}(i,o)}update(e){this.proposedWidth=e.width,this.proposedHeight=e.height,this.proposedWidthPercents=e.widthPercents,this.proposedHandleHostWidth=e.handleHostWidth,this.proposedHandleHostHeight=e.handleHostHeight}}class ee extends a.View{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,i,o)=>"px"===e.unit?`${t}×${i}`:`${o}%`)),this.bind("_viewPosition").to(t,"activeHandlePosition",t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",((e,t,i)=>t<50||i<50?"above-center":e))}_dismiss(){this.unbind(),this._isVisible=!1}}class te extends((0,s.ObservableMixin)()){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((i=>{const o=i.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},(function(t){const i=this.toDomElement(t);return e._appendHandles(i),e._appendSizeUI(i),i}));i.insert(i.createPositionAt(t,"end"),o),i.addClass("ck-widget_with-resizer",t),this._viewResizerWrapper=o,this.isVisible||this.hide()})),this.on("change:isVisible",(()=>{this.isVisible?(this.show(),this.redraw()):this.hide()}))}begin(e){this._state=new X(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 i=this._options.unit||"%",o=("%"===i?t.widthPercents:t.width)+i;e.setStyle("width",o,this._options.viewElement)}));const i=this._getHandleHost(),o=new s.Rect(i),n=Math.round(o.width),r=Math.round(o.height),a=new s.Rect(i);t.width=Math.round(a.width),t.height=Math.round(a.height),this.redraw(o),this.state.update({...t,handleHostWidth:n,handleHostHeight:r})}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(!((i=t)&&i.ownerDocument&&i.ownerDocument.contains(i)))return;var i;const o=t.parentElement,n=this._getHandleHost(),r=this._viewResizerWrapper,a=[r.getStyle("width"),r.getStyle("height"),r.getStyle("left"),r.getStyle("top")];let l;if(o.isSameNode(n)){const t=e||new s.Rect(n);l=[t.width+"px",t.height+"px",void 0,void 0]}else l=[n.offsetWidth+"px",n.offsetHeight+"px",n.offsetLeft+"px",n.offsetTop+"px"];"same"!==(0,s.compareArrays)(a,l)&&this._options.editor.editing.view.change((e=>{e.setStyle({width:l[0],height:l[1],left:l[2],top:l[3]},r)}))}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,i=(n=e).pageX,o=n.pageY;var n;const r=!this._options.isCentered||this._options.isCentered(this),s={x:t._referenceCoordinates.x-(i+t.originalWidth),y:o-t.originalHeight-t._referenceCoordinates.y};r&&t.activeHandlePosition.endsWith("-right")&&(s.x=i-(t._referenceCoordinates.x+t.originalWidth)),r&&(s.x*=2);let a=Math.abs(t.originalWidth+s.x),l=Math.abs(t.originalHeight+s.y);return"width"==(a/t.aspectRatio>l?"width":"height")?l=a/t.aspectRatio:a=l*t.aspectRatio,{width:Math.round(a),height:Math.round(l),widthPercents:Math.min(Math.round(t.originalWidthPercents/t.originalWidth*a*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 o of t)e.appendChild(new a.Template({tag:"div",attributes:{class:"ck-widget__resizer__handle "+(i=o,`ck-widget__resizer__handle-${i}`)}}).render());var i}_appendSizeUI(e){this._sizeView=new ee,this._sizeView.render(),e.appendChild(this._sizeView.element)}}var ie=i(111),oe=i(4875),ne={attributes:{"data-cke":!0}};ne.setAttributes=z(),ne.insert=B().bind(null,"head"),ne.domAPI=R(),ne.insertStyleElement=D(),I()(oe.Z,ne),oe.Z&&oe.Z.locals&&oe.Z.locals;class re extends o.Plugin{constructor(){super(...arguments),this._resizers=new Map}static get pluginName(){return"WidgetResize"}init(){const e=this.editor.editing,t=s.global.window.document;this.set("selectedResizer",null),this.set("_activeResizer",null),e.view.addObserver(n.MouseObserver),this._observer=new((0,s.DomEmitterMixin)()),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,ie.Z)((()=>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(s.global.window,"resize",this._redrawSelectedResizerThrottled);const i=this.editor.editing.view.document.selection;i.on("change",(()=>{const e=i.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 te(e),i=this.editor.plugins;if(t.attach(),i.has("WidgetToolbarRepository")){const e=i.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 o=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(o)==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 i=t.domTarget;te.isResizeHandle(i)&&(this._activeResizer=this._getResizerByHandle(i)||null,this._activeResizer&&(this._activeResizer.begin(i),e.stop(),t.preventDefault()))}_mouseMoveListener(e,t){this._activeResizer&&this._activeResizer.updateSize(t)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}}},7197:(e,t,i)=>{"use strict";i.d(t,{TU:()=>I,_l:()=>c});var o=i(7578),n=i(7732),r=i(600);class s extends r.DomEventObserver{constructor(e){super(e),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const t=this.document;function i(e){return(i,o)=>{o.preventDefault();const r=o.dropRange?[o.dropRange]:null,s=new n.EventInfo(t,e);t.fire(s,{dataTransfer:o.dataTransfer,method:i.name,targetRanges:r,target:o.target}),s.stop.called&&o.stopPropagation()}}this.listenTo(t,"paste",i("clipboardInput"),{priority:"low"}),this.listenTo(t,"drop",i("clipboardInput"),{priority:"low"}),this.listenTo(t,"dragover",i("dragging"),{priority:"low"})}onDomEvent(e){const t="clipboardData"in e?e.clipboardData:e.dataTransfer,i="drop"==e.type||"paste"==e.type,o={dataTransfer:new r.DataTransfer(t,{cacheFiles:i})};"drop"!=e.type&&"dragover"!=e.type||(o.dropRange=function(e,t){const i=t.target.ownerDocument,o=t.clientX,n=t.clientY;let r;return i.caretRangeFromPoint&&i.caretRangeFromPoint(o,n)?r=i.caretRangeFromPoint(o,n):t.rangeParent&&(r=i.createRange(),r.setStart(t.rangeParent,t.rangeOffset),r.collapse(!0)),r?e.domConverter.domRangeToView(r):null}(this.view,e)),this.fire(e.type,e,o)}}const a=["figcaption","li"];function l(e){let t="";if(e.is("$text")||e.is("$textProxy"))t=e.data;else if(e.is("element","img")&&e.hasAttribute("alt"))t=e.getAttribute("alt");else if(e.is("element","br"))t="\n";else{let i=null;for(const o of e.getChildren()){const e=l(o);i&&(i.is("containerElement")||o.is("containerElement"))&&(a.includes(i.name)||a.includes(o.name)?t+="\n":t+="\n\n"),t+=e,i=o}}return t}class c extends o.Plugin{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(s),this._setupPasteDrop(),this._setupCopyCut()}_setupPasteDrop(){const e=this.editor,t=e.model,i=e.editing.view,o=i.document;this.listenTo(o,"clipboardInput",(t=>{e.isReadOnly&&t.stop()}),{priority:"highest"}),this.listenTo(o,"clipboardInput",((e,t)=>{const o=t.dataTransfer;let r;if(t.content)r=t.content;else{let e="";o.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,"")}(o.getData("text/html")):o.getData("text/plain")&&(((s=(s=o.getData("text/plain")).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/^\s/,"&nbsp;").replace(/\s$/,"&nbsp;").replace(/\s\s/g," &nbsp;")).includes("</p><p>")||s.includes("<br>"))&&(s=`<p>${s}</p>`),e=s),r=this.editor.data.htmlProcessor.toView(e)}var s;const a=new n.EventInfo(this,"inputTransformation");this.fire(a,{content:r,dataTransfer:o,targetRanges:t.targetRanges,method:t.method}),a.stop.called&&e.stop(),i.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((e,i)=>{if(i.content.isEmpty)return;const o=this.editor.data.toModel(i.content,"$clipboardHolder");0!=o.childCount&&(e.stop(),t.change((()=>{this.fire("contentInsertion",{content:o,method:i.method,dataTransfer:i.dataTransfer,targetRanges:i.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((e,i)=>{i.resultRange=t.insertContent(i.content)}),{priority:"low"})}_setupCopyCut(){const e=this.editor,t=e.model.document,i=e.editing.view.document,o=(o,n)=>{const r=n.dataTransfer;n.preventDefault();const s=e.data.toView(e.model.getSelectedContent(t.selection));i.fire("clipboardOutput",{dataTransfer:r,content:s,method:o.name})};this.listenTo(i,"copy",o,{priority:"low"}),this.listenTo(i,"cut",((t,i)=>{e.isReadOnly?i.preventDefault():o(t,i)}),{priority:"low"}),this.listenTo(i,"clipboardOutput",((i,o)=>{o.content.isEmpty||(o.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",l(o.content))),"cut"==o.method&&e.model.deleteContent(t.selection)}),{priority:"low"})}}var d=i(4156),u=i(111),h=i(3379),m=i.n(h),g=i(9037),p=i.n(g),f=i(569),b=i.n(f),w=i(8575),k=i.n(w),_=i(9216),v=i.n(_),y=i(799),C={attributes:{"data-cke":!0}};C.setAttributes=k(),C.insert=b().bind(null,"head"),C.domAPI=p(),C.insertStyleElement=v(),m()(y.Z,C),y.Z&&y.Z.locals&&y.Z.locals;class x extends o.Plugin{static get pluginName(){return"DragDrop"}static get requires(){return[c,d.Widget]}init(){const e=this.editor,t=e.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,this._updateDropMarkerThrottled=(0,u.Z)((e=>this._updateDropMarker(e)),40),this._removeDropMarkerDelayed=T((()=>this._removeDropMarker()),40),this._clearDraggableAttributesDelayed=T((()=>this._clearDraggableAttributes()),40),t.addObserver(s),t.addObserver(r.MouseObserver),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDropMarker(),this._setupDraggableAttributeHandling(),this.listenTo(e,"change:isReadOnly",((e,t,i)=>{i?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((e,t,i)=>{i||this._finalizeDragging(!1)})),n.env.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._updateDropMarkerThrottled.cancel(),this._removeDropMarkerDelayed.cancel(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const e=this.editor,t=e.model,i=t.document,o=e.editing.view,s=o.document;this.listenTo(s,"dragstart",((o,a)=>{const l=i.selection;if(a.target&&a.target.is("editableElement"))return void a.preventDefault();const c=a.target?S(a.target):null;if(c){const i=e.editing.mapper.toModelElement(c);this._draggedRange=r.LiveRange.fromRange(t.createRangeOn(i)),e.plugins.has("WidgetToolbarRepository")&&e.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}else if(!s.selection.isCollapsed){const e=s.selection.getSelectedElement();e&&(0,d.isWidget)(e)||(this._draggedRange=r.LiveRange.fromRange(l.getFirstRange()))}if(!this._draggedRange)return void a.preventDefault();this._draggingUid=(0,n.uid)(),a.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",a.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const u=t.createSelection(this._draggedRange.toRange()),h=e.data.toView(t.getSelectedContent(u));s.fire("clipboardOutput",{dataTransfer:a.dataTransfer,content:h,method:"dragstart"}),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.listenTo(s,"dragenter",(()=>{this.isEnabled&&o.focus()})),this.listenTo(s,"dragleave",(()=>{this._removeDropMarkerDelayed()})),this.listenTo(s,"dragging",((t,i)=>{if(!this.isEnabled)return void(i.dataTransfer.dropEffect="none");this._removeDropMarkerDelayed.cancel();const o=A(e,i.targetRanges,i.target);this._draggedRange||(i.dataTransfer.dropEffect="copy"),n.env.isGecko||("copy"==i.dataTransfer.effectAllowed?i.dataTransfer.dropEffect="copy":["all","copyMove"].includes(i.dataTransfer.effectAllowed)&&(i.dataTransfer.dropEffect="move")),o&&this._updateDropMarkerThrottled(o)}),{priority:"low"})}_setupClipboardInputIntegration(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"clipboardInput",((t,i)=>{if("drop"!=i.method)return;const o=A(e,i.targetRanges,i.target);return this._removeDropMarker(),o?(this._draggedRange&&this._draggingUid!=i.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==E(i.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(o,!0)?(this._finalizeDragging(!1),void t.stop()):void(i.targetRanges=[e.editing.mapper.toViewRange(o)])):(this._finalizeDragging(!1),void t.stop())}),{priority:"high"})}_setupContentInsertionIntegration(){const e=this.editor.plugins.get(c);e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const i=t.targetRanges.map((e=>this.editor.editing.mapper.toModelRange(e)));this.editor.model.change((e=>e.setSelection(i)))}),{priority:"high"}),e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const i="move"==E(t.dataTransfer),o=!t.resultRange||!t.resultRange.isCollapsed;this._finalizeDragging(o&&i)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const e=this.editor,t=e.editing.view,i=t.document;this.listenTo(i,"mousedown",((o,r)=>{if(n.env.isAndroid||!r)return;this._clearDraggableAttributesDelayed.cancel();let s=S(r.target);if(n.env.isBlink&&!e.isReadOnly&&!s&&!i.selection.isCollapsed){const e=i.selection.getSelectedElement();e&&(0,d.isWidget)(e)||(s=i.selection.editableElement)}s&&(t.change((e=>{e.setAttribute("draggable","true",s)})),this._draggableElement=e.editing.mapper.toModelElement(s))})),this.listenTo(i,"mouseup",(()=>{n.env.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}))}_setupDropMarker(){const e=this.editor;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:i})=>{if(e.model.schema.checkChild(t.markerRange.start,"$text"))return i.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(e){const t=this.toDomElement(e);return t.append("⁠",e.createElement("span"),"⁠"),t}))}})}_updateDropMarker(e){const t=this.editor,i=t.model.markers;t.model.change((t=>{i.has("drop-target")?i.get("drop-target").getRange().isEqual(e)||t.updateMarker("drop-target",{range:e}):t.addMarker("drop-target",{range:e,usingOperation:!1,affectsData:!1})}))}_removeDropMarker(){const e=this.editor.model;this._removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),e.markers.has("drop-target")&&e.change((e=>{e.removeMarker("drop-target")}))}_finalizeDragging(e){const t=this.editor,i=t.model;this._removeDropMarker(),this._clearDraggableAttributes(),t.plugins.has("WidgetToolbarRepository")&&t.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._draggedRange&&(e&&this.isEnabled&&i.deleteContent(i.createSelection(this._draggedRange),{doNotAutoparagraph:!0}),this._draggedRange.detach(),this._draggedRange=null)}}function A(e,t,i){const o=e.model,r=e.editing.mapper;let s=null;const a=t?t[0].start:null;if(i.is("uiElement")&&(i=i.parent),s=function(e,t){const i=e.model,o=e.editing.mapper;if((0,d.isWidget)(t))return i.createRangeOn(o.toModelElement(t));if(!t.is("editableElement")){const e=t.findAncestor((e=>(0,d.isWidget)(e)||e.is("editableElement")));if((0,d.isWidget)(e))return i.createRangeOn(o.toModelElement(e))}return null}(e,i),s)return s;const l=function(e,t){const i=e.editing.mapper,o=e.editing.view,n=i.toModelElement(t);if(n)return n;const r=o.createPositionBefore(t),s=i.findMappedViewAncestor(r);return i.toModelElement(s)}(e,i),c=a?r.toModelPosition(a):null;return c?(s=function(e,t,i){const o=e.model;if(!o.schema.checkChild(i,"$block"))return null;const n=o.createPositionAt(i,0),r=t.path.slice(0,n.path.length),s=o.createPositionFromPath(t.root,r).nodeAfter;return s&&o.schema.isObject(s)?o.createRangeOn(s):null}(e,c,l),s||(s=o.schema.getNearestSelectionRange(c,n.env.isGecko?"forward":"backward"),s||function(e,t){const i=e.model;let o=t;for(;o;){if(i.schema.isObject(o))return i.createRangeOn(o);o=o.parent}return null}(e,c.parent))):function(e,t){const i=e.model,o=i.schema,n=i.createPositionAt(t,0);return o.getNearestSelectionRange(n,"forward")}(e,l)}function E(e){return n.env.isGecko?e.dropEffect:["all","copyMove"].includes(e.effectAllowed)?"move":"copy"}function T(e,t){let i;function o(...n){o.cancel(),i=setTimeout((()=>e(...n)),t)}return o.cancel=()=>{clearTimeout(i)},o}function S(e){if(e.is("editableElement"))return null;if(e.hasClass("ck-widget__selection-handle"))return e.findAncestor(d.isWidget);if((0,d.isWidget)(e))return e;const t=e.findAncestor((e=>(0,d.isWidget)(e)||e.is("editableElement")));return(0,d.isWidget)(t)?t:null}class P extends o.Plugin{static get pluginName(){return"PastePlainText"}static get requires(){return[c]}init(){const e=this.editor,t=e.model,i=e.editing.view,o=i.document,n=t.document.selection;let r=!1;i.addObserver(s),this.listenTo(o,"keydown",((e,t)=>{r=t.shiftKey})),e.plugins.get(c).on("contentInsertion",((e,i)=>{(r||function(e,t){if(e.childCount>1)return!1;const i=e.getChild(0);return!t.isObject(i)&&0==Array.from(i.getAttributeKeys()).length}(i.content,t.schema))&&t.change((e=>{const o=Array.from(n.getAttributes()).filter((([e])=>t.schema.getAttributeProperties(e).isFormatting));n.isCollapsed||t.deleteContent(n,{doNotAutoparagraph:!0}),o.push(...n.getAttributes());const r=e.createRangeIn(i.content);for(const t of r.getItems())t.is("$textProxy")&&e.setAttributes(o,t)}))}))}}class I extends o.Plugin{static get pluginName(){return"Clipboard"}static get requires(){return[c,x,P]}}},6854:(e,t,i)=>{"use strict";i.d(t,{AJ:()=>o.MultiCommand,ML:()=>o.Editor,P$:()=>o.attachToForm,Sy:()=>o.Plugin,W9:()=>o.DataApiMixin,_y:()=>o.Context,icons:()=>o.icons,lR:()=>o.PendingActions,mY:()=>o.Command,xK:()=>o.ElementApiMixin});var o=i(7578)},3291:(e,t,i)=>{"use strict";i.d(t,{$_:()=>o.hidePlaceholder,D5:()=>o.isColor,G9:()=>o.isLength,ID:()=>o.enablePlaceholder,J8:()=>o.addPaddingRules,KU:()=>o.ClickObserver,NJ:()=>o.showPlaceholder,Po:()=>o.TreeWalker,Q7:()=>o.needsPlaceholder,QR:()=>o.addBackgroundRules,Qj:()=>o.Observer,Ux:()=>o.ViewDocument,W_:()=>o.Element,YG:()=>o.getFillerOffset,dM:()=>o.MouseObserver,iE:()=>o.LiveRange,jP:()=>o.LivePosition,pG:()=>o.DomConverter,qD:()=>o.DowncastWriter,qZ:()=>o.DomEventObserver,sI:()=>o.addBorderRules,vt:()=>o.addMarginRules,xO:()=>o.Matcher,yj:()=>o.UpcastWriter,zz:()=>o.isPercentage});var o=i(600)},1863:(e,t,i)=>{"use strict";i.d(t,{C:()=>o.C,G:()=>o.G});var o=i(5725)},5187:(e,t,i)=>{"use strict";i.d(t,{HG:()=>o.HG,II:()=>o.II,Im:()=>o.Im,Mq:()=>o.Mq,Up:()=>o.Up,VD:()=>o.VD,mh:()=>o.mh,uL:()=>o.uL});var o=i(3701)},7095:(e,t,i)=>{"use strict";i.d(t,{$y:()=>o.ToolbarSeparatorView,BM:()=>o.SwitchButtonView,Bv:()=>o.ListView,Dn:()=>o.LabelView,FH:()=>o.createLabeledDropdown,G7:()=>o.View,GI:()=>o.submitHandler,Gp:()=>o.FormHeaderView,Hn:()=>o.Model,I0:()=>o.FocusCycler,IJ:()=>o.addKeyboardHandlingForGrid,J0:()=>o.DropdownButtonView,J6:()=>o.ColorGridView,KP:()=>o.LabeledFieldView,Mh:()=>o.focusChildOnDropdownOpen,P_:()=>o.Notification,Pm:()=>o.addListToDropdown,R:()=>o.createLabeledInputText,RX:()=>o.CssTransitionDisablerMixin,Rm:()=>o.SplitButtonView,S1:()=>o.normalizeColorOptions,S8:()=>o.EditorUI,WB:()=>o.ContextualBalloon,YS:()=>o.Template,_9:()=>o.ColorTileView,dn:()=>o.ListItemView,eC:()=>o.clickOutsideHandler,iw:()=>o.normalizeToolbarConfig,jB:()=>o.ToolbarView,k6:()=>o.getLocalizedColorOptions,lp:()=>o.StickyPanelView,no:()=>o.BalloonPanelView,pq:()=>o.InputTextView,py:()=>o.BoxedEditorUIView,r1:()=>o.InlineEditableUIView,r5:()=>o.ButtonView,sh:()=>o.createLabeledInputNumber,t9:()=>o.createDropdown,up:()=>o.addToolbarToDropdown,vX:()=>o.ViewCollection});var o=i(3905)},1903:(e,t,i)=>{"use strict";i.d(t,{WP:()=>o.Undo});var o=i(8779)},6553:(e,t,i)=>{"use strict";i.d(t,{Bb:()=>o.CKEditorError,CO:()=>o.global,Cq:()=>o.getCode,Do:()=>o.keyCodes,FE:()=>o.Collection,KE:()=>o.logWarning,OB:()=>o.env,Ps:()=>o.first,Re:()=>o.ObservableMixin,Rh:()=>o.FocusTracker,UL:()=>o.Rect,VD:()=>o.KeystrokeHandler,Xu:()=>o.DomEmitterMixin,Zz:()=>o.parseKeystroke,a6:()=>o.ElementReplacer,az:()=>o.createElement,hQ:()=>o.uid,mA:()=>o.getLocalizedArrowKeyCodeDirection,qL:()=>o.toMap,qo:()=>o.toArray,tA:()=>o.priorities,yy:()=>o.getDataFromElement});var o=i(7732)},5549:(e,t,i)=>{"use strict";i.d(t,{$L:()=>o.Widget,KT:()=>o.findOptimalInsertionRange,Qd:()=>o.isWidget,WR:()=>o.WidgetResize,XC:()=>o.toWidget,e8:()=>o.WidgetToolbarRepository,sC:()=>o.toWidgetEditable});var o=i(4156)},5363:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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=s},3789:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());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 a=s},799:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}: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}',""]);const a=s},3229:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},3624:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=s},7372:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}",""]);const a=s},5037:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}",""]);const a=s},8915:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck .ck-button.ck-color-table__remove-color{align-items:center;display:flex;width:100%}label.ck.ck-color-grid__label{font-weight:unset}.ck .ck-button.ck-color-table__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck .ck-button.ck-color-table__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-base-border)}[dir=ltr] .ck .ck-button.ck-color-table__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck .ck-button.ck-color-table__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard)}",""]);const a=s},5991:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},4249:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}",""]);const a=s},7263:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},9893:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},7319:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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]{-webkit-text-fill-color:var(--ck-html-embed-source-disabled-color);background:var(--ck-html-embed-source-disabled-background);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 a=s},2430:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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;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-inline.ck-widget_selected,.ck.ck-editor__editable .image.ck-widget_selected{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}",""]);const a=s},2423:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-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}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}",""]);const a=s},8879:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-image-insert__panel{padding:var(--ck-spacing-large)}.ck.ck-image-insert__ck-finder-button{border:1px solid #ccc;border-radius:var(--ck-border-radius);display:block;margin:var(--ck-spacing-standard) auto;width:100%}.ck.ck-splitbutton>.ck-file-dialog-button.ck-button{border:none;margin:0;padding:0}",""]);const a=s},8340:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-image-insert-form:focus{outline:none}.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-image-insert-form__action-row{margin-top:var(--ck-spacing-standard)}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const a=s},2400:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".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 a=s},3534:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.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 a=s},1547:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}@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 a=s},6618:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},2926:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},5269:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},3925:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},7536:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},4874:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-link-form{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:var(--ck-spacing-standard) 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=s},4330:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r),a=i(1667),l=i.n(a),c=new URL(i(8491),i.b),d=s()(n()),u=l()(c);d.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(${u});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 h=d},5782:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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;padding:var(--ck-spacing-medium) var(--ck-spacing-large);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:0 var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}",""]);const a=s},3190:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}",""]);const a=s},4784:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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 a=s},9938:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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 a=s},2591:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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 a=s},9292:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px}.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 .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,background .25s ease-in-out,border .25s ease-in-out;width:100%}.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}[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable .todo-list .todo-list__label>input{cursor:pointer}.ck-editor__editable .todo-list .todo-list__label>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}',""]);const a=s},8544:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());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},9139:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());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},9953:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},7502:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},6908:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},468:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},2510:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},1111:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-table-caption-background:#f7f7f7;--ck-color-table-caption-text:#333;--ck-color-table-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-table-caption-background);caption-side:top;color:var(--ck-color-table-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.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-table-caption-highlighted-background)}to{background-color:var(--ck-color-table-caption-background)}}",""]);const a=s},3964:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},7176:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-table-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{position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:-999999px;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:-999999px;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-table-column-resizer-hover);opacity:.25}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}",""]);const a=s},8361:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-table-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-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}",""]);const a=s},9429:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},6596:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},1546:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},4971:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;justify-content:left;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.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}.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{font-weight:700;opacity:.7}.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-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[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-small);margin-right:calc(var(--ck-spacing-small)*-1)}.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 a=s},7258:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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)}.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=s},4923:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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{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;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-table__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.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{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.ck-on .ck.ck-icon{display:block}.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: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)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}",""]);const a=s},5062:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-modal)}.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-modal) + 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}",""]);const a=s},1883:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},4791:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},2704:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},9847:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}",""]);const a=s},1874:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}:root{--ck-form-header-height:38px}.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)}.ck.ck-form__header .ck-form__header__label{font-weight:700}",""]);const a=s},1977:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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.ck-icon{font-size:.8333350694em;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=s},2470:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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)}.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=s},3525:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}",""]);const a=s},2933:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right: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;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.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>.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)>.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>.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)>.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>.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)>.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 a=s},179:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*.4*var(--ck-font-size-base));text-align:left;width:100%}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}",""]);const a=s},4460:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-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 a=s},7592:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},6356:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 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=s},3707:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.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=s},6603:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-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=s},4176:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},4768:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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{align-self:stretch;background:var(--ck-color-toolbar-border);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-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=s},3888:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.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{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}",""]);const a=s},5167:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}: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-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-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{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.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=s},7153:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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)}.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{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;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)}.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)}.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=s},4875:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},2347:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.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}.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=s},7558:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-content blockquote{font-style:normal;padding-left:10px}.ck.ck-content blockquote>:first-child{margin-top:10px}.ck.ck-content blockquote>:last-child{margin-bottom:15px}.ck.ck-content blockquote:before{content:attr(data-source);display:block;margin:15px 0 10px}",""]);const a=s},3855:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-woltlabblockquote-insert-form:focus{outline:none}.ck.ck-woltlabblockquote-insert-form{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-woltlabblockquote-insert-form>:not(.ck-label){flex-grow:1}.ck.ck-woltlabblockquote-insert-form__action-row{padding:0}.ck.ck-woltlabblockquote-insert-form__action-row .ck-button-cancel,.ck.ck-woltlabblockquote-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-woltlabblockquote-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const a=s},1857:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-woltlabcodeblock-insert-form:focus{outline:none}.ck.ck-woltlabcodeblock-insert-form{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-woltlabcodeblock-insert-form>:not(.ck-label){flex-grow:1}.ck.ck-woltlabcodeblock-insert-form__action-row{padding:0}.ck.ck-woltlabcodeblock-insert-form__action-row .ck-button-cancel,.ck.ck-woltlabcodeblock-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-woltlabcodeblock-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const a=s},1491:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck .ck-widget.smiley{pointer-events:none}",""]);const a=s},5151:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,'.ck.ck-content .ck-woltlabspoiler{margin-top:var(--ck-spacing-large);padding:5px 5px 5px 15px;position:relative}.ck.ck-content .ck-woltlabspoiler:after{border:5px solid #ccc;border-right-width:0;bottom:1px;content:"";left:1px;position:absolute;top:1px;width:5px}.ck.ck-content .ck-woltlabspoiler__title{column-gap:10px;display:flex}.ck.ck-content .ck-woltlabspoiler__title:before{align-self:center;color:#999;content:attr(data-label)}',""]);const a=s},3645: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 s={};if(o)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);o&&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),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},1667: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}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},8217:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o='<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>'},2151:(e,t,i)=>{"use strict";var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(6603),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g),m.Z&&m.Z.locals&&m.Z.locals},1627:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(7558),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},1158:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(3855),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},8375:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(1857),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},2997:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(1491),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},5025:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(5151),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},3379: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={},s=[],a=0;a<e.length;a++){var l=e[a],c=o.base?l[0]+o.base:l[0],d=r[c]||0,u="".concat(c," ").concat(d);r[c]=d+1;var h=i(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)t[h].references++,t[h].updater(m);else{var g=n(m,o);o.byIndex=a,t.splice(a,0,{identifier:u,updater:g,references:1})}s.push(u)}return s}function n(e,t){var i=t.domAPI(t);return i.update(e),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 s=0;s<r.length;s++){var a=i(r[s]);t[a].references--}for(var l=o(e,n),c=0;c<r.length;c++){var d=i(r[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=l}}},569: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)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},8575:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},9037: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 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(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var a=document.createTextNode(r),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(a,l[t]):e.appendChild(a)}}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)}}}},366:(e,t,i)=>{var o,n;o=[i,t,i(511),i(6549),i(1214),i(4210),i(9998),i(7578),i(1184),i(1638),i(1281),i(4507),i(128),i(4195),i(8428),i(9211),i(3531),i(9920),i(1640),i(9829),i(4690),i(189),i(9501),i(8497),i(8779),i(766),i(9910),i(2823),i(8029),i(3706),i(5600),i(8206),i(5825),i(9782),i(4201),i(7080),i(8427),i(5469),i(9402),i(8152)],n=function(e,t,i,o,n,r,s,a,l,c,d,u,h,m,g,p,f,b,w,k,_,v,y,C,x,A,E,T,S,P,I,V,R,O,B,M,z,N,D,L){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;const F={plugins:[o.Autosave,c.Essentials,f.Indent,k.Mention,_.Paragraph,v.PasteFromOffice,x.Undo,i.Alignment,n.Bold,n.Code,d.FontColor,d.FontFamily,d.FontSize,u.Heading,h.Highlight,n.Italic,y.RemoveFormat,n.Strikethrough,n.Subscript,n.Superscript,n.Underline,r.BlockQuote,s.CodeBlock,m.HtmlEmbed,g.HorizontalLine,p.Image,p.ImageInsertUI,p.ImageToolbar,p.ImageStyle,p.ImageUpload,p.ImageUploadUI,b.Link,b.LinkImage,w.List,C.Table,C.TableToolbar,A.WoltlabAttachment,E.WoltlabAutosave,S.WoltlabBlockQuote,T.WoltlabBbcode,P.WoltlabCode,I.WoltlabCodeBlock,V.WoltlabImage,R.WoltlabMagicParagraph,O.WoltlabMedia,B.WoltlabMention,M.WoltlabMetacode,z.WoltlabSmiley,N.WoltlabSpoiler,D.WoltlabToolbarGroup,L.WoltlabUpload]};t.create=async function(e,t){const i=(t=Object.assign(t,F)).removePlugins||[];i.includes("Image")||(t.image={insert:{integrations:["insertImageViaUrl"],type:"inline"},toolbar:["imageStyle:inline","imageStyle:sideLeft","imageStyle:block","imageStyle:side"],styles:{options:["inline",{name:"sideLeft",title:"Left aligned image",icon:a.icons.objectLeft,modelElements:["imageBlock"],className:"image-style-side-left"},"block","side"]}},i.includes("Link")||t.image.toolbar.push("|","linkImage")),i.includes("Table")||(t.table={contentToolbar:["tableColumn","tableRow","mergeTableCells"]});const o=await l.ClassicEditor.create(e,t),n=o.plugins.get(b.AutoLink);return n?.forceDisabled("app.ts"),o}}.apply(t,o),void 0===n||(e.exports=n)},766:(e,t,i)=>{var o,n;o=[i,t,i(4815)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAttachment=void 0,Object.defineProperty(t,"WoltlabAttachment",{enumerable:!0,get:function(){return i.WoltlabAttachment}})}.apply(t,o),void 0===n||(e.exports=n)},4815:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9211)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAttachment=void 0;class n extends i.Plugin{static get pluginName(){return"WoltlabAttachment"}static get requires(){return[o.Image]}init(){const{conversion:e,model:t,plugins:i}=this.editor,{schema:o}=t,n=["imageBlock","imageInline"];n.forEach((e=>{o.extend(e,{allowAttributes:["attachmentId"]})}));const r=new Map([["attachmentId","data-attachment-id"]]);Array.from(r.entries()).forEach((([t,i])=>{e.for("upcast").attributeToAttribute({view:i,model:t}),e.for("downcast").add((e=>{n.forEach((o=>{e.on(`attribute:${t}:${o}`,((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const n=o.writer;let r=o.mapper.toViewElement(t.item);r.is("element","figure")&&(r=r.getChild(0)),r.is("element","img")&&(null!==t.attributeNewValue?(n.setAttribute(i,t.attributeNewValue,r),n.addClass("woltlabAttachment",r)):n.removeAttribute(i,r))}))}))}))})),i.get("ImageUploadEditing").on("uploadComplete",((e,{data:i,imageElement:o})=>{t.change((e=>{e.setAttribute("attachmentId",i["data-attachment-id"],o)}))})),this.#e()}#e(){const e=this.editor.config.get("woltlabAttachment");this.editor.plugins.get("WoltlabMetacode").on("upcast",((t,i)=>{if("attach"!==i.name)return;const o=parseInt(i.attributes[0].toString());if(Number.isNaN(o))return;if(!e.inlineImageIds.includes(o))return;let n=i.attributes[1]?i.attributes[1].toString():"none";"left"!==n&&"right"!==n&&"none"!==n&&(n="none");let r=i.attributes[2];"boolean"!=typeof r&&("string"==typeof r?"true"===r?r=!0:"false"===r?r=!1:(r=parseInt(r),r=!Number.isNaN(r)&&0!==r):r=!1);let s=i.attributes[3];void 0!==s&&/^(100%|\d{2}(\.\d{2})%)$/.test(s.toString())||(s="100%"),s="auto",this.#t(i,e.resolveAttachmentUrl,o,n,r,s)&&t.stop()}))}#t(e,t,i,o,n,r){const{conversionApi:s,data:a}=e,{consumable:l,writer:c}=s,{viewItem:d}=a;let u="imageInline",h={attachmentId:i,src:t(i,n),width:r};"left"===o?(u="imageBlock",h.imageStyle="sideLeft"):"right"===o&&(u="imageBlock",h.imageStyle="side");const m=c.createElement(u);return c.setAttributes(h,m),s.convertChildren(d,m),!!s.safeInsert(m,a.modelCursor)&&(l.consume(d,{name:!0}),s.updateConversionResult(m,a),!0)}}t.WoltlabAttachment=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},9910:(e,t,i)=>{var o,n;o=[i,t,i(6076)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAutosave=void 0,Object.defineProperty(t,"WoltlabAutosave",{enumerable:!0,get:function(){return i.WoltlabAutosave}})}.apply(t,o),void 0===n||(e.exports=n)},6076:(e,t,i)=>{var o,n;o=[i,t,i(6549),i(7578)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAutosave=void 0;class n extends o.Plugin{static get pluginName(){return"WoltlabAutosave"}static get requires(){return[i.Autosave]}init(){const e=this.editor.plugins.get("PendingActions");e.hasAny=!1,e.on("set:hasAny",(e=>{e.return=!1,e.stop()}),{priority:"highest"})}}t.WoltlabAutosave=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},2823:(e,t,i)=>{var o,n;o=[i,t,i(9800),i(7489)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBbcodeCommand=t.WoltlabBbcode=void 0,Object.defineProperty(t,"WoltlabBbcode",{enumerable:!0,get:function(){return i.WoltlabBbcode}}),Object.defineProperty(t,"WoltlabBbcodeCommand",{enumerable:!0,get:function(){return o.WoltlabBbcodeCommand}})}.apply(t,o),void 0===n||(e.exports=n)},9800:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(3905),i(7489)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBbcode=void 0;class r extends i.Plugin{static get pluginName(){return"WoltlabBbcode"}init(){const{componentFactory:e}=this.editor.ui,t=this.editor.config.get("woltlabBbcode");if(!t)return;const i=new n.default(this.editor);this.editor.commands.add("insertBbcode",i);for(const o of t)this.#i(o,e,i)}#i(e,t,i){const{icon:n,name:r,label:s}=e;t.add(`woltlabBbcode_${r}`,(()=>{const e=new o.ButtonView;if(e.label=s,e.tooltip=!0,e.withText=!0,n)if(n.includes(";")){const[t,i]=n.split(";",2);let o={name:t};"true"===i&&(o.solid="true"),e.labelView.setTemplate({tag:"fa-icon",attributes:o})}else e.labelView.setTemplate({tag:"img",attributes:{src:n}});return e.bind("isEnabled").to(i,"isEnabled"),this.listenTo(e,"execute",(()=>{this.editor.execute("insertBbcode",r)})),e}))}}t.WoltlabBbcode=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},7489:(e,t,i)=>{var o,n;o=[i,t,i(7578)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBbcodeCommand=void 0;class o extends i.Command{execute(e){const{model:t}=this.editor,i=this.editor.sourceElement,o=new CustomEvent("ckeditor5:bbcode",{cancelable:!0,detail:{bbcode:e}});i.dispatchEvent(o),o.defaultPrevented||t.change((i=>{const o=i.createText(`[${e}][/${e}]`);t.insertContent(o),this.editor.editing.view.focus()}))}refresh(){this.isEnabled=this.#o()}#o(){const{document:e,schema:t}=this.editor.model,{selection:i}=e;return!!i.isCollapsed&&t.checkAttributeInSelection(i,"bold")}}t.WoltlabBbcodeCommand=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},8029:(e,t,i)=>{var o,n;o=[i,t,i(4587)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuote=void 0,Object.defineProperty(t,"WoltlabBlockQuote",{enumerable:!0,get:function(){return i.WoltlabBlockQuote}})}.apply(t,o),void 0===n||(e.exports=n)},6812:(e,t,i)=>{var o,n;o=[i,t,i(3905),i(1158)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuoteFormRowView=void 0;class o extends i.View{children;constructor(e,t={}){super(e);const i=this.bindTemplate;this.set("class",t.class||""),this.children=this.createCollection(),t.children&&t.children.forEach((e=>this.children.add(e))),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__row",i.to("class")]},children:this.children})}}t.WoltlabBlockQuoteFormRowView=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},8668:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(3905),i(7732),i(6812)],n=function(e,t,i,o,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuotePanelView=void 0;class s extends o.View{#n;#r;#s;#a;focusTracker;keystrokes;#l;#c;constructor(e){const{locale:t}=e;super(t),this.set("author",""),this.set("link",""),this.focusTracker=new n.FocusTracker,this.keystrokes=new n.KeystrokeHandler,this.#l=new o.ViewCollection,this.#c=this.#d();const i=this.#u(t);this.#s=i.fieldView;const r=this.#h(t);this.#a=r.fieldView,this.#n=this.#m(t),this.#r=this.#g(t),this.#p(t,i,r)}render(){super.render(),(0,o.submitHandler)({view:this});const e=[this.#s,this.#a,this.#n,this.#r];e.forEach((e=>{this.#l.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(e=>e.stopPropagation())),this.keystrokes.set("arrowleft",(e=>e.stopPropagation())),this.keystrokes.set("arrowup",(e=>e.stopPropagation())),this.keystrokes.set("arrowdown",(e=>e.stopPropagation())),this.listenTo(e[0].element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"}),this.on("submit",(()=>{this.fire("execute")}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.#c.focusFirst()}#u(e){const t=e.t,i=new o.LabeledFieldView(e,o.createLabeledInputText);return i.label=t("Author"),i.fieldView.bind("value").to(this,"author",(e=>e||"")),i.fieldView.on("input",(()=>{this.author=i.fieldView.element.value})),i}#h(e){const t=e.t,i=new o.LabeledFieldView(e,o.createLabeledInputText);return i.label=t("Link"),i.fieldView.bind("value").to(this,"link",(e=>e||"")),i.fieldView.on("input",(()=>{this.link=i.fieldView.element.value})),i}#m(e){const t=e.t,n=new o.ButtonView(e);return n.set({label:t("Insert"),icon:i.icons.check,class:"ck-button-save",type:"submit",withText:!0,isEnabled:!0}),n}#g(e){const t=e.t,n=new o.ButtonView(e);return n.set({label:t("Cancel"),icon:i.icons.cancel,class:"ck-button-cancel",withText:!0}),n.delegate("execute").to(this,"cancel"),n}#p(e,t,i){this.setTemplate({tag:"form",attributes:{class:["ck","ck-vertical-form","ck-woltlabblockquote-insert-form"],tabindex:"-1"},children:[t,i,new r.default(e,{children:[this.#n,this.#r],class:"ck-woltlabblockquote-insert-form__action-row"})]})}#d(){return new o.FocusCycler({focusables:this.#l,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}})}}t.WoltlabBlockQuotePanelView=s,t.default=s}.apply(t,o),void 0===n||(e.exports=n)},4587:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(3905),i(7732),i(8668),i(1627)],n=function(e,t,i,o,n,r){"use strict";function s(e){switch(typeof e){case"string":return e;case"number":case"boolean":return e.toString();default:return""}}Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuote=void 0;class a extends i.Plugin{#f=void 0;static get pluginName(){return"WoltlabBlockQuote"}init(){const e=this.editor;e.model.schema.extend("blockQuote",{allowAttributes:["author","link"]});const t=e.commands.get("blockQuote");this.#b(t),this.#w(),this.#k(),this.#_(),this.listenTo(t,"execute",(()=>{this.#v(this.#f)}),{priority:"high"})}#b(e){const t=this.editor,n=t.t;this.editor.ui.componentFactory.add("blockQuote",(a=>{const l=(0,o.createDropdown)(a,o.SplitButtonView),c=l.buttonView;c.set({label:n("Block quote"),tooltip:!0,icon:i.icons.quote,isToggleable:!0}),c.bind("isOn").to(e,"value",(e=>!!e)),c.on("execute",(()=>{t.execute("blockQuote"),t.editing.view.focus()})),l.on("submit",(e=>{const i=e.path.find((e=>e instanceof r.WoltlabBlockQuotePanelView));i instanceof r.WoltlabBlockQuotePanelView&&(this.#f=i,t.execute("blockQuote",{forceValue:!0}),this.#f=void 0,t.editing.view.focus(),l.isOpen=!1)})),l.on("cancel",(()=>{t.editing.view.focus(),l.isOpen=!1})),l.bind("isEnabled").to(e);const d=new r.WoltlabBlockQuotePanelView(t);return l.on("change:isOpen",(()=>{if(l.isOpen){const e=this.#y();e?(d.author=s(e.getAttribute("author")),d.link=s(e.getAttribute("link"))):(d.author="",d.link="")}})),l.panelView.children.add(d),d.delegate("submit","cancel").to(l),l}))}#w(){this.editor.data.upcastDispatcher.on("element:woltlab-quote",((e,t,i)=>{const{viewItem:o}=t,{consumable:n,writer:r}=i,s=r.createElement("blockQuote");r.setAttributes({author:o.getAttribute("data-author")||"",link:o.getAttribute("data-link")||""},s),i.convertChildren(o,s),i.safeInsert(s,t.modelCursor)&&(n.consume(o,{name:!0}),i.updateConversionResult(s,t))}),{priority:"high"})}#_(){this.editor.editing.downcastDispatcher.on("insert:blockQuote",((e,t,i)=>{const{writer:o,mapper:n,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const a=s(t.item.getAttribute("author")),l=s(t.item.getAttribute("link")),c=this.getSource(a,l),d={};""!==c&&(d["data-source"]=c);const u=o.createContainerElement("blockquote",d),h=n.toViewPosition(this.editor.model.createPositionBefore(t.item));o.insert(h,u),n.bindElements(t.item,u)}),{priority:"high"}),this.editor.editing.downcastDispatcher.on("attribute:author:blockQuote",((e,t,i)=>{const{writer:o,mapper:n}=i,r=s(t.attributeNewValue),a=s(t.item.getAttribute("link")),l=this.getSource(r,a),c=n.toViewElement(t.item);""===l?o.removeAttribute("data-source",c):o.setAttribute("data-source",l,c)})),this.editor.editing.downcastDispatcher.on("attribute:link:blockQuote",((e,t,i)=>{const{writer:o,mapper:n}=i,r=s(t.item.getAttribute("author")),a=s(t.attributeNewValue),l=this.getSource(r,a),c=n.toViewElement(t.item);""===l?o.removeAttribute("data-source",c):o.setAttribute("data-source",l,c)}))}#k(){this.editor.data.downcastDispatcher.on("insert:blockQuote",((e,t,i)=>{const{writer:o,mapper:n,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const a=s(t.item.getAttribute("author")),l=s(t.item.getAttribute("link")),c=n.toViewPosition(this.editor.model.createPositionBefore(t.item)),d=o.createContainerElement("woltlab-quote",{"data-author":a,"data-link":l});o.insert(c,d),n.bindElements(t.item,d)}),{priority:"high"})}#v(e){const t=this.#y();t&&void 0!==e&&this.editor.model.change((i=>{i.setAttribute("author",e.author,t),i.setAttribute("link",e.link,t)}))}#y(){const e=this.editor.model.document.selection,t=(0,n.first)(e.getSelectedBlocks());return this.#C(t)}#C(e){return e.is("element","blockQuote")?e:e.parent&&!e.parent.is("element","$root")?this.#C(e.parent):null}getSource(e,t){const{t:i}=this.editor;return e?i("Quote from %0",e):i("Quote")}}t.WoltlabBlockQuote=a,t.default=a}.apply(t,o),void 0===n||(e.exports=n)},5600:(e,t,i)=>{var o,n;o=[i,t,i(2806)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlock=void 0,Object.defineProperty(t,"WoltlabCodeBlock",{enumerable:!0,get:function(){return i.WoltlabCodeBlock}})}.apply(t,o),void 0===n||(e.exports=n)},8649:(e,t,i)=>{var o,n;o=[i,t,i(3905),i(8375)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlockFormRowView=void 0;class o extends i.View{children;constructor(e,t={}){super(e);const i=this.bindTemplate;this.set("class",t.class||""),this.children=this.createCollection(),t.children&&t.children.forEach((e=>this.children.add(e))),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__row",i.to("class")]},children:this.children})}}t.WoltlabCodeBlockFormRowView=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},3953:(e,t,i)=>{var o,n;o=[i,t,i(4934),i(7578),i(3905),i(7732),i(8649)],n=function(e,t,i,o,n,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlockPanelView=void 0;class a extends n.View{#n;#r;#x;#A;#E;focusTracker;keystrokes;#l;#c;constructor(e){const{locale:t}=e;super(t),this.set("file",""),this.set("highlighter",""),this.set("line",""),this.focusTracker=new r.FocusTracker,this.keystrokes=new r.KeystrokeHandler,this.#l=new n.ViewCollection,this.#c=this.#d();const o=(0,i.getNormalizedAndLocalizedLanguageDefinitions)(e);this.#x=this.#T(t,o);const s=this.#S(t);this.#A=s.fieldView;const a=this.#h(t);this.#E=a.fieldView,this.#n=this.#m(t),this.#r=this.#g(t),this.#p(t,s,a)}render(){super.render(),(0,n.submitHandler)({view:this});const e=[this.#x,this.#A,this.#E,this.#n,this.#r];e.forEach((e=>{this.#l.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(e=>e.stopPropagation())),this.keystrokes.set("arrowleft",(e=>e.stopPropagation())),this.keystrokes.set("arrowup",(e=>e.stopPropagation())),this.keystrokes.set("arrowdown",(e=>e.stopPropagation())),this.listenTo(e[0].element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"}),this.on("submit",(()=>{this.fire("execute")}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.#c.focusFirst()}#T(e,t){const i=e.t,o=(0,n.createDropdown)(e),r=this.#P(t);return this.highlighter=r.first.model._codeBlockLanguage,o.buttonView.bind("label").to(this,"highlighter",(e=>{const i=e?e.toString():"plain";return t.find((e=>e.language==i)).label})),o.buttonView.set({isOn:!1,withText:!0,tooltip:i("Language"),class:["ck-dropdown__button_label-width_auto"]}),o.on("execute",(e=>{this.highlighter=e.source._codeBlockLanguage})),(0,n.addListToDropdown)(o,r),o}#S(e){const t=e.t,i=new n.LabeledFieldView(e,n.createLabeledInputNumber);i.label=t("Line number");const{fieldView:o}=i;return o.min=0,o.bind("value").to(this,"line",(e=>e||"")),o.on("input",(()=>{this.line=o.element.value})),i}#h(e){const t=e.t,i=new n.LabeledFieldView(e,n.createLabeledInputText);return i.label=t("Filename"),i.fieldView.bind("value").to(this,"file",(e=>e||"")),i.fieldView.on("input",(()=>{this.file=i.fieldView.element.value})),i}#P(e){const t=new r.Collection;for(const i of e){const e={type:"button",model:new n.Model({_codeBlockLanguage:i.language,label:i.label,withText:!0})};e.model.bind("isOn").to(this,"highlighter",(t=>t===e.model._codeBlockLanguage)),t.add(e)}return t}#m(e){const t=e.t,i=new n.ButtonView(e);return i.set({label:t("Insert"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0,isEnabled:!0}),i}#g(e){const t=e.t,i=new n.ButtonView(e);return i.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),i.delegate("execute").to(this,"cancel"),i}#p(e,t,i){this.setTemplate({tag:"form",attributes:{class:["ck","ck-vertical-form","ck-woltlabcodeblock-insert-form"],tabindex:"-1"},children:[this.#x,t,i,new s.default(e,{children:[this.#n,this.#r],class:"ck-woltlabcodeblock-insert-form__action-row"})]})}#d(){return new n.FocusCycler({focusables:this.#l,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}})}}t.WoltlabCodeBlockPanelView=a,t.default=a}.apply(t,o),void 0===n||(e.exports=n)},2806:(e,t,i)=>{var o,n;o=[i,t,i(4934),i(7578),i(3905),i(7732),i(3953)],n=function(e,t,i,o,n,r,s){"use strict";function a(e){switch(typeof e){case"string":return e;case"number":case"boolean":return e.toString();default:return""}}Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlock=void 0;class l extends o.Plugin{#I;#f=void 0;static get pluginName(){return"WoltlabCodeBlock"}init(){const e=this.editor;this.#I=e.commands.get("codeBlock"),e.model.schema.extend("codeBlock",{allowAttributes:["file","line"]}),this.#V(),this.#w(),this.#k(),this.#_(),this.#R(),this.listenTo(this.#I,"execute",(()=>{this.#v(this.#f)}))}#V(){const e=this.editor,t=e.t;e.ui.componentFactory.add("codeBlock",(i=>{const o=(0,n.createDropdown)(i,n.SplitButtonView),r=o.buttonView;r.set({label:t("Insert code block"),tooltip:!0,icon:'<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>',isToggleable:!0}),r.bind("isOn").to(this.#I,"value",(e=>!!e)),r.on("execute",(()=>{e.execute("codeBlock",{usePreviousLanguageChoice:!1}),e.editing.view.focus()})),o.on("submit",(t=>{const i=t.path.find((e=>e instanceof s.WoltlabCodeBlockPanelView));i instanceof s.WoltlabCodeBlockPanelView&&(this.#f=i,e.execute("codeBlock",{language:i.highlighter,forceValue:!0}),this.#f=void 0,e.editing.view.focus(),o.isOpen=!1)})),o.on("cancel",(()=>{e.editing.view.focus(),o.isOpen=!1})),o.bind("isEnabled").to(this.#I);const l=new s.WoltlabCodeBlockPanelView(e);return o.on("change:isOpen",(()=>{if(o.isOpen){const e=this.#O();e?(l.file=a(e.getAttribute("file")),l.highlighter=a(e.getAttribute("language")),l.line=a(e.getAttribute("line"))):(l.file="",l.highlighter="",l.line="")}})),o.panelView.children.add(l),l.delegate("submit","cancel").to(o),o}))}#w(){this.editor.data.upcastDispatcher.on("element:pre",((e,t,i)=>{const{viewItem:o}=t,{consumable:n,writer:r}=i,s=r.createElement("codeBlock");r.setAttributes({file:o.getAttribute("data-file")||"",language:o.getAttribute("data-highlighter")||"",line:o.getAttribute("data-line")||""},s),i.convertChildren(o,s),i.safeInsert(s,t.modelCursor)&&(n.consume(o,{name:!0}),i.updateConversionResult(s,t))}),{priority:"high"})}#_(){const e=(0,i.getNormalizedAndLocalizedLanguageDefinitions)(this.editor);this.editor.editing.downcastDispatcher.on("insert:codeBlock",((t,i,o)=>{const{writer:n,mapper:r,consumable:s}=o;if(!s.consume(i.item,"insert"))return;const l=a(i.item.getAttribute("file")),c=a(i.item.getAttribute("language")),d=a(i.item.getAttribute("line")),u=n.createContainerElement("code",{class:`language-${c}`});let h="";const m=e.find((e=>e.language===c));h+=m?m.label:`Unknown (${c})`,(l||d)&&(h+=" (",l&&(h+=l),d&&(l&&(h+=" "),h+=`@ ${d}`),h+=")");const g=n.createContainerElement("pre",{"data-language":h,spellcheck:"false"},u),p=r.toViewPosition(this.editor.model.createPositionBefore(i.item));n.insert(p,g),r.bindElements(i.item,u)}),{priority:"high"})}#k(){this.editor.data.downcastDispatcher.on("insert:codeBlock",((e,t,i)=>{const{writer:o,mapper:n,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const s=a(t.item.getAttribute("file")),l=a(t.item.getAttribute("language")),c=a(t.item.getAttribute("line")),d=n.toViewPosition(this.editor.model.createPositionBefore(t.item)),u=o.createContainerElement("pre",{"data-file":s,"data-highlighter":l,"data-line":c});o.insert(d,u),n.bindElements(t.item,u)}),{priority:"high"})}#v(e){const t=this.#O();t&&void 0!==e&&this.editor.model.change((i=>{i.setAttribute("file",e.file,t),i.setAttribute("line",e.line,t)}))}#R(){const e=(0,i.getNormalizedAndLocalizedLanguageDefinitions)(this.editor),t=["file","line"];for(const i of t)this.editor.editing.downcastDispatcher.on(`attribute:${i}:codeBlock`,((t,i,o)=>{const{mapper:n}=o,r=n.toViewElement(i.item);if(void 0===r)return;const s=r.getAncestors(),l=s[s.length-1];if(!l.is("element","pre"))return;const c=a(i.item.getAttribute("file")),d=a(i.item.getAttribute("language")),u=a(i.item.getAttribute("line"));let h="";const m=e.find((e=>e.language===d));h+=m?m.label:`Unknown (${d})`,(c||u)&&(h+=" (",c&&(h+=c),u&&(c&&(h+=" "),h+=`@ ${u}`),h+=")"),this.editor.editing.view.change((e=>{e.setAttribute("data-language",h,l)}))}))}#O(){const e=this.editor.model.document.selection,t=(0,r.first)(e.getSelectedBlocks());return t&&t.is("element","codeBlock")?t:null}}t.WoltlabCodeBlock=l,t.default=l}.apply(t,o),void 0===n||(e.exports=n)},3706:(e,t,i)=>{var o,n;o=[i,t,i(2379)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCode=void 0,Object.defineProperty(t,"WoltlabCode",{enumerable:!0,get:function(){return i.WoltlabCode}})}.apply(t,o),void 0===n||(e.exports=n)},2379:(e,t,i)=>{var o,n;o=[i,t,i(1214),i(7578)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCode=void 0;class n extends o.Plugin{static get pluginName(){return"WoltlabCode"}static get requires(){return[i.Code]}init(){const{conversion:e}=this.editor;e.for("upcast").elementToAttribute({view:"kbd",model:"code",converterPriority:"high"}),e.for("dataDowncast").attributeToElement({model:"code",view:"kbd",converterPriority:"high"})}}t.WoltlabCode=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},8206:(e,t,i)=>{var o,n;o=[i,t,i(2265)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabImage=void 0,Object.defineProperty(t,"WoltlabImage",{enumerable:!0,get:function(){return i.WoltlabImage}})}.apply(t,o),void 0===n||(e.exports=n)},2265:(e,t,i)=>{var o,n;o=[i,t,i(7578)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabImage=void 0;class o extends i.Plugin{static get pluginName(){return"WoltlabImage"}init(){this.editor.conversion.for("dataDowncast").add((e=>{e.on("insert:imageInline",((e,t,i)=>{const{item:o}=t;if(!o.is("element"))return;const n=o.getAttribute("width");if("string"!=typeof n)return;const{mapper:r,writer:s}=i,a=r.toViewElement(o);void 0!==a&&s.setAttribute("data-width",n,a)}),{priority:"lowest"}),e.on("insert:imageBlock",((e,t,i)=>{const{item:o}=t;if(!o.is("element"))return;const n=o.getAttribute("width");if("string"!=typeof n)return;const{mapper:r,writer:s}=i,a=r.toViewElement(o);void 0!==a&&s.setAttribute("data-width",n,a)}),{priority:"lowest"})}))}}t.WoltlabImage=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},5825:(e,t,i)=>{var o,n;o=[i,t,i(4413)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMagicParagraph=void 0,Object.defineProperty(t,"WoltlabMagicParagraph",{enumerable:!0,get:function(){return i.WoltlabMagicParagraph}})}.apply(t,o),void 0===n||(e.exports=n)},4413:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(600)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMagicParagraph=void 0;class n extends i.Plugin{static blockModels=["blockQuote","codeBlock","spoiler","table"];static get pluginName(){return"WoltlabMagicParagraph"}init(){const{mapper:e,view:t}=this.editor.editing,{document:i,domConverter:r}=t;t.addObserver(o.ClickObserver),this.listenTo(i,"click",((t,o)=>{const{domEvent:s,target:a}=o,l=a.getAncestors();l.push(a);for(const e of l)if(e.is("element","p")||e.is("element","li"))return;const{clientY:c}=s,d=i.getRoot(),u=d.getChild(0);if(void 0!==u){if(u.is("containerElement")){const i=e.toModelElement(u);if(i&&n.blockModels.includes(i.name)){const e=r.mapViewToDom(u),{top:i}=e.getBoundingClientRect();if(c<=i)return t.stop(),void this.#B(u)}}if(0!==d.childCount){const i=d.getChild(d.childCount-1);if(i.is("containerElement")){const o=e.toModelElement(i);if(o&&n.blockModels.includes(o.name)){const e=r.mapViewToDom(i),{bottom:o}=e.getBoundingClientRect();if(c>=o)return t.stop(),void this.#M(i)}}}for(const e of this.#z()){const i=r.mapViewToDom(e),{bottom:o,top:n}=i.getBoundingClientRect(),{marginBottom:s,marginTop:a}=window.getComputedStyle(i),l=n-parseInt(a),d=o+parseInt(s);if(c<l)return;if(c>=l&&c<=n)return this.#B(e),void t.stop();if(c>=o&&c<=d)return this.#M(e),void t.stop()}}}))}#B(e){const{mapper:t}=this.editor.editing;let i;i=e.previousSibling&&e.previousSibling.is("element","p")?t.toModelElement(e.previousSibling):void 0,this.editor.model.change((o=>{if(void 0===i){i=o.createElement("paragraph");const n=o.createPositionBefore(t.toModelElement(e));o.insert(i,n)}o.setSelection(i,"end")}))}#M(e){const{mapper:t}=this.editor.editing;let i;i=e.nextSibling&&e.nextSibling.is("element","p")?t.toModelElement(e.nextSibling):void 0,this.editor.model.change((o=>{if(void 0===i){i=o.createElement("paragraph");const n=o.createPositionAfter(t.toModelElement(e));o.insert(i,n)}o.setSelection(i,"end")}))}*#z(){const{mapper:e,view:t}=this.editor.editing,i=t.document.getRoot(),o=t.createRangeIn(i);for(const t of o.getWalker({ignoreElementEnd:!0})){const i=t.item;if(!i.is("containerElement"))continue;const o=e.toModelElement(i);void 0!==o&&n.blockModels.includes(o.name)&&(yield i)}}}t.WoltlabMagicParagraph=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},9782:(e,t,i)=>{var o,n;o=[i,t,i(6761)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMedia=void 0,Object.defineProperty(t,"WoltlabMedia",{enumerable:!0,get:function(){return i.WoltlabMedia}})}.apply(t,o),void 0===n||(e.exports=n)},6761:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9211),i(7080)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMedia=void 0;class r extends i.Plugin{static get pluginName(){return"WoltlabMedia"}static get requires(){return[o.Image,n.WoltlabMetacode]}init(){this.#N(),this.#D()}#N(){const{conversion:e,model:t}=this.editor,{schema:i}=t,o=["imageBlock","imageInline"];o.forEach((e=>{i.extend(e,{allowAttributes:["mediaId","mediaSize"]})})),e.attributeToAttribute({model:"classList",view:{name:"img",key:"class",value:["woltlabSuiteMedia"]}});const n=new Map([["mediaId","data-media-id"],["mediaSize","data-media-size"]]);Array.from(n.entries()).forEach((([t,i])=>{e.for("upcast").attributeToAttribute({view:i,model:t}),e.for("downcast").add((e=>{o.forEach((o=>{e.on(`attribute:${t}:${o}`,((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const n=o.writer;let r=o.mapper.toViewElement(t.item);r.is("element","figure")&&(r=r.getChild(0)),r.is("element","img")&&(null!==t.attributeNewValue?n.setAttribute(i,t.attributeNewValue,r):n.removeAttribute(i,r))}))}))}))}))}#D(){const e=this.editor.config.get("woltlabMedia");this.editor.plugins.get("WoltlabMetacode").on("upcast",((t,i)=>{if("wsm"===i.name){const o=parseInt(i.attributes[0].toString());if(Number.isNaN(o))return;const n=i.attributes[1]?i.attributes[1].toString():"original";this.#L(i,e.resolveMediaUrl,o,n)&&t.stop()}}))}#L(e,t,i,o){const{conversionApi:n,data:r}=e,{consumable:s,writer:a}=n,{viewItem:l}=r,c=a.createElement("imageInline");return a.setAttributes({src:t(i,o),mediaId:i,mediaSize:o},c),n.convertChildren(l,c),!!n.safeInsert(c,r.modelCursor)&&(s.consume(l,{name:!0}),n.updateConversionResult(c,r),!0)}}t.WoltlabMedia=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},4201:(e,t,i)=>{var o,n;o=[i,t,i(644)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMention=void 0,Object.defineProperty(t,"WoltlabMention",{enumerable:!0,get:function(){return i.WoltlabMention}})}.apply(t,o),void 0===n||(e.exports=n)},644:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9829),i(7080),i(7732)],n=function(e,t,i,o,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMention=void 0;class s extends i.Plugin{static get pluginName(){return"WoltlabMention"}static get requires(){return[o.Mention,n.WoltlabMetacode]}init(){this.editor.plugins.get("WoltlabMetacode").on("upcast",((e,t)=>{"user"===t.name&&1===t.attributes.length&&(Number.isNaN(parseInt(t.attributes[0].toString()))||(e.stop(),this.#F(t)))})),this.#k()}#F(e){const{attributes:t,conversionApi:i,data:o,name:n}=e,{writer:s}=i,{viewItem:a}=o,l=a.getChild(0);Object.assign(o,i.convertChildren(o.viewItem,o.modelCursor));for(const e of Array.from(o.modelRange.getItems()))(e.is("$text")||e.is("$textProxy"))&&s.setAttribute("mention",{id:t[0].toString(),objectId:t[0],type:n,uid:(0,r.uid)(),_text:l.data},e)}#k(){this.editor.conversion.for("dataDowncast").attributeToElement({model:"mention",view:(e,{writer:t})=>{if(!e)return;const i=e.objectId;return t.createAttributeElement("woltlab-metacode",{"data-name":e.type,"data-attributes":btoa(JSON.stringify([i]))},{priority:20,id:e.uid})},converterPriority:"high"})}}t.WoltlabMention=s,t.default=s}.apply(t,o),void 0===n||(e.exports=n)},7080:(e,t,i)=>{var o,n;o=[i,t,i(2505)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMetacode=void 0,Object.defineProperty(t,"WoltlabMetacode",{enumerable:!0,get:function(){return i.WoltlabMetacode}})}.apply(t,o),void 0===n||(e.exports=n)},2505:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(7732)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMetacode=void 0;class n extends i.Plugin{static get pluginName(){return"WoltlabMetacode"}init(){this.#H()}#H(){this.editor.conversion.for("upcast").add((e=>{e.on("element:woltlab-metacode",((e,t,i)=>{const{consumable:n,writer:r}=i,{viewItem:s}=t;if(!n.test(s,{name:!0}))return;const a=s.getAttribute("data-name");if(void 0===a)return;const l=this.#W(s.getAttribute("data-attributes")||""),c=new o.EventInfo(this,"upcast"),d={attributes:l,conversionApi:i,data:t,name:a};if(this.fire(c,d),c.stop.called)return;let{modelCursor:u}=t;const h=u.getAncestors();let m;1===h.length&&"$root"===h[0].name&&(m=r.createElement("paragraph"),r.insert(m,u,0),u=r.createPositionAt(m,0));const g=this.#Z(l),p=r.createText(`[${a}${g}]`),f=r.createText(`[/${a}]`);r.insert(p,u,0),u=u.getShiftedBy(p.offsetSize),r.insert(f,u,"end"),void 0!==m&&(u=r.createPositionAfter(m)),t.modelCursor=u}))}))}#W(e){if(""===e)return[];const t=atob(e);let i;try{i=JSON.parse(t)}catch(e){return[]}return i}#Z(e){return 0===e.length?"":"="+e.map((e=>"number"==typeof e?e.toString():`'${e}'`)).join(",")}}t.WoltlabMetacode=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},8427:(e,t,i)=>{var o,n;o=[i,t,i(4054)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSmiley=void 0,Object.defineProperty(t,"WoltlabSmiley",{enumerable:!0,get:function(){return i.WoltlabSmiley}})}.apply(t,o),void 0===n||(e.exports=n)},4054:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9211),i(2997)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSmiley=void 0;class n extends i.Plugin{static get pluginName(){return"WoltlabSmiley"}static get requires(){return[o.Image]}init(){const{conversion:e,model:t}=this.editor,i=["imageBlock","imageInline"];for(const e of i)t.schema.extend(e,{allowAttributes:["classList"]});e.attributeToAttribute({model:"classList",view:{name:"img",key:"class",value:["smiley"]}}),e.for("editingDowncast").add((e=>{e.on("insert:imageInline",((e,t,i)=>{const{item:o}=t;if("smiley"!==o.getAttribute("classList"))return;if(!o.is("element"))return;const{consumable:n,mapper:r,writer:s}=i;if(!n.test(o,"insert"))return;n.consume(o,"insert");const a=s.createEmptyElement("img"),l=r.toViewPosition(this.editor.model.createPositionBefore(o));s.insert(l,a),r.bindElements(o,a)}),{priority:"high"})}))}}t.WoltlabSmiley=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},5469:(e,t,i)=>{var o,n;o=[i,t,i(7591),i(2553)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoilerCommand=t.WoltlabSpoiler=void 0,Object.defineProperty(t,"WoltlabSpoiler",{enumerable:!0,get:function(){return i.WoltlabSpoiler}}),Object.defineProperty(t,"WoltlabSpoilerCommand",{enumerable:!0,get:function(){return o.WoltlabSpoilerCommand}})}.apply(t,o),void 0===n||(e.exports=n)},7591:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(6004)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoiler=void 0;class n extends i.Plugin{static get requires(){return[o.default]}static get pluginName(){return"WoltlabSpoiler"}}t.WoltlabSpoiler=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},2553:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(600),i(7732)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoilerCommand=void 0;class r extends i.Command{execute(){const{model:e}=this.editor,{schema:t}=e,{selection:i}=e.document,o=Array.from(i.getSelectedBlocks());e.change((e=>{if(this.value)this.#U(e,o);else{const i=o.filter((e=>this.#j(e)||this.#$(t,e)));this.#q(e,i)}}))}refresh(){this.value=this.#K(),this.isEnabled=this.#o()}#U(e,t){for(const i of t){const t=this.#j(i);if(null===t)continue;const n=t.previousSibling;if(null===n||!n.is("element","spoilerTitle"))throw new Error("Invalid structure, expected a `<spoilerTitle>` adjacent to `<spoilerContent>`",{cause:{spoilerTitle:n}});const r=t.parent;if(!(r instanceof o.Element&&r.is("element","spoiler")))throw new Error("Invalid structure, expected a `<spoiler>` as the parent of a `<spoilerContent>`",{cause:{spoiler:r}});e.remove(n),e.unwrap(r),e.unwrap(t)}}#q(e,t){const i=[];this.#G(e,t).reverse().forEach((t=>{let o=this.#j(t.start);o||(o=this.#J(e,t)),i.push(o.parent)})),i.reverse().reduce(((t,i)=>{if(t.nextSibling===i){const o=t.getChild(1),n=i.getChild(1);return e.move(e.createRangeIn(n),e.createPositionAt(o,"end")),e.remove(i),t}return i}))}#G(e,t){let i=null,o=0;const n=[];for(;o<t.length;){const r=t[o],s=t[o+1];i||(i=e.createPositionBefore(r)),s&&r.nextSibling===s||(n.push(e.createRange(i,e.createPositionAfter(r))),i=null),o++}return n}#o(){if(this.value)return!0;const{selection:e}=this.editor.model.document,t=(0,n.first)(e.getSelectedBlocks());if(!t)return!1;const{schema:i}=this.editor.model;return this.#$(i,t)}#K(){const{selection:e}=this.editor.model.document,t=(0,n.first)(e.getSelectedBlocks());return!(!t||!this.#j(t))}#j(e){return e.parent instanceof o.Element?"spoilerContent"===e.parent.name?e.parent:this.#j(e.parent):null}#$(e,t){const i=e.checkChild(t.parent,"spoiler"),o=e.checkChild("spoilerContent",t);return i&&o}#J(e,t){const i=e.createElement("spoilerContent");e.wrap(t,i);const o=e.createElement("spoiler");e.wrap(e.createRangeOn(i),o);const n=e.createElement("spoilerTitle");return e.insert(n,o,0),i}}t.WoltlabSpoilerCommand=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},6004:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(4156),i(600),i(3905),i(2553),i(5025)],n=function(e,t,i,o,n,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoilerEditing=void 0;class a extends i.Plugin{static get pluginName(){return"WoltlabSpoilerEditing"}static get requires(){return[o.Widget]}init(){this.#Y(),this.#H(),this.editor.commands.add("insertSpoiler",new s.default(this.editor)),this.#Q()}#Q(){const{t:e}=this.editor.locale;this.editor.ui.componentFactory.add("spoiler",(t=>{const i=this.editor.commands.get("insertSpoiler"),o=new r.ButtonView(t);return o.set({label:e("Spoiler"),tooltip:!0,withText:!0}),o.labelView.setTemplate({tag:"fa-icon",attributes:{name:"eye-slash"}}),o.bind("isOn").to(i,"value"),o.bind("isEnabled").to(i,"isEnabled"),this.listenTo(o,"execute",(()=>this.editor.execute("insertSpoiler"))),o}))}#Y(){const{schema:e}=this.editor.model;e.register("spoiler",{allowWhere:"$block",isObject:!0}),e.register("spoilerTitle",{allowChildren:"$text",allowIn:"spoiler",isLimit:!0}),e.register("spoilerContent",{allowContentOf:"$root",allowIn:"spoiler",isLimit:!0}),e.addChildCheck(((e,t)=>("spoiler"!==t.name||!Array.from(e.getNames()).includes("spoiler"))&&(!e.endsWith("spoilerContent")||"spoiler"!==t.name)&&(!e.endsWith("spoilerTitle")||"$text"===t.name)&&void 0)),e.addAttributeCheck((e=>{if(e.endsWith("spoilerTitle $text"))return!1}))}#H(){const{conversion:e}=this.editor,{t}=this.editor.locale;e.for("upcast").add((e=>{e.on("element:woltlab-spoiler",((e,t,i)=>{const{consumable:o,writer:n,safeInsert:r,convertChildren:s,updateConversionResult:a}=i,{viewItem:l}=t,c={name:!0};if(!o.test(l,c))return;const d=n.createElement("spoiler"),u=n.createElement("spoilerTitle");n.append(u,d);const h=(l.getAttribute("data-label")||"").trim();n.appendText(h,u);const m=n.createElement("spoilerContent");n.append(m,d),r(d,t.modelCursor)&&(o.consume(l,c),s(l,m),a(d,t))}))})),e.for("dataDowncast").add((e=>{e.on("insert:spoiler",((e,t,i)=>{const{item:o}=t,{consumable:n,mapper:r,writer:s}=i;if(2!==o.childCount)return null;const a=o.getChild(0);if(!a.is("element","spoilerTitle"))return null;if(!n.consume(o,"insert"))return;n.consume(a,"insert");let l="";if(1===a.childCount){const e=a.getChild(0);e.is("$text")&&(l=e.data)}const c=s.createContainerElement("woltlab-spoiler",{"data-label":l}),d=r.toViewPosition(this.editor.model.createPositionBefore(o));s.insert(d,c),r.bindElements(o,c),r.bindElements(a,c);const u=o.getChild(1);u.is("element","spoilerContent")&&(r.bindElements(u,c),n.consume(u,"insert"))})),e.on("insert:$text",((e,t,i)=>{const o=t.item.parent;o&&o.is("element","spoilerTitle")&&i.consumable.consume(t.item,"insert")}))})),e.for("editingDowncast").elementToElement({model:"spoiler",view:(e,{writer:t})=>{const i=t.createContainerElement("div",{class:"ck-woltlabspoiler"});return(0,o.toWidget)(i,t,{hasSelectionHandle:!0,label:"spoiler widget"})}}).elementToElement({model:"spoilerTitle",view:(e,{writer:i})=>{const r=i.createEditableElement("div",{class:"ck-woltlabspoiler__title","data-label":t("Spoiler")});return(0,n.enablePlaceholder)({view:this.editor.editing.view,element:r,text:t("Type your title"),keepOnFocus:!0}),(0,o.toWidgetEditable)(r,i)}}).elementToElement({model:"spoilerContent",view:(e,{writer:t})=>{const i=t.createEditableElement("div",{class:"ck-woltlabspoiler__content"});return(0,o.toWidgetEditable)(i,t)}})}}t.WoltlabSpoilerEditing=a,t.default=a}.apply(t,o),void 0===n||(e.exports=n)},9402:(e,t,i)=>{var o,n;o=[i,t,i(6909)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabToolbarGroup=void 0,Object.defineProperty(t,"WoltlabToolbarGroup",{enumerable:!0,get:function(){return i.WoltlabToolbarGroup}})}.apply(t,o),void 0===n||(e.exports=n)},6909:(e,t,i)=>{var o,n;o=[i,t,i(7578)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabToolbarGroup=void 0;class o extends i.Plugin{static get pluginName(){return"WoltlabToolbarGroup"}init(){const e=this.editor.config.get("woltlabToolbarGroup");e&&this.editor.once("ready",(()=>{const t=this.editor.ui.view.toolbar.items;Object.entries(e).forEach((([e,i])=>{const o=t.find((t=>null!==t.element?.querySelector(`[data-cke-tooltip-text="woltlabToolbarGroup_${e}"]`))),n=o.element,r=n.querySelector(".ck-button__icon"),[s,a]=i.icon.split(";",2),l=document.createElement("fa-icon");l.setIcon(s,"true"===a),r.replaceWith(l),o.buttonView.label=i.label,n.dataset.ckeTooltipText=i.label}))}))}}t.WoltlabToolbarGroup=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},8152:(e,t,i)=>{var o,n;o=[i,t,i(6916)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabUpload=void 0,Object.defineProperty(t,"WoltlabUpload",{enumerable:!0,get:function(){return i.WoltlabUpload}})}.apply(t,o),void 0===n||(e.exports=n)},6916:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(1070),i(2263)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabUpload=void 0;class r extends i.Plugin{static get pluginName(){return"WoltlabUpload"}static get requires(){return[o.FileRepository]}init(){const{config:e,editing:t,plugins:i}=this.editor,r=e.get("woltlabUpload");r&&"function"==typeof r.uploadImage&&(i.get(o.FileRepository).createUploadAdapter=e=>new n.WoltlabUploadAdapter(e,r),"function"==typeof r.uploadOther&&this.listenTo(t.view.document,"clipboardInput",((e,t)=>{if(e.stop.called)return;const{dataTransfer:i,method:o}=t;if("drop"===o){for(const e of i.files)null!==e&&r.uploadOther(e);e.stop()}}),{priority:"lowest"}))}}t.WoltlabUpload=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},2263:(e,t,i)=>{var o;o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabUploadAdapter=void 0;class i{#X;#ee;#te;constructor(e,t){this.#X=e,this.#ee=t}abort(){this.#te?.abort()}async upload(){const e=await this.#X.file;return this.#te=new AbortController,this.#ee.uploadImage(e,this.#te)}}t.WoltlabUploadAdapter=i,t.default=i}.apply(t,[i,t]),void 0===o||(e.exports=o)},8491:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+"},2536:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(9651);const n=function(e,t){for(var i=e.length;i--;)if((0,o.Z)(e[i][0],t))return i;return-1};var r=Array.prototype.splice;function s(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=function(){this.__data__=[],this.size=0},s.prototype.delete=function(e){var t=this.__data__,i=n(t,e);return!(i<0||(i==t.length-1?t.pop():r.call(t,i,1),--this.size,0))},s.prototype.get=function(e){var t=this.__data__,i=n(t,e);return i<0?void 0:t[i][1]},s.prototype.has=function(e){return n(this.__data__,e)>-1},s.prototype.set=function(e,t){var i=this.__data__,o=n(i,e);return o<0?(++this.size,i.push([e,t])):i[o][1]=t,this};const a=s},6183:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(2119),n=i(6092);const r=(0,o.Z)(n.Z,"Map")},520:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});const o=(0,i(2119).Z)(Object,"create");var n=Object.prototype.hasOwnProperty;var r=Object.prototype.hasOwnProperty;function s(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=function(){this.__data__=o?o(null):{},this.size=0},s.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s.prototype.get=function(e){var t=this.__data__;if(o){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return n.call(t,e)?t[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)},s.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this};const a=s;var l=i(2536),c=i(6183);const d=function(e,t){var i,o,n=e.__data__;return("string"==(o=typeof(i=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?n["string"==typeof t?"string":"hash"]:n.map};function u(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}u.prototype.clear=function(){this.size=0,this.__data__={hash:new a,map:new(c.Z||l.Z),string:new a}},u.prototype.delete=function(e){var t=d(this,e).delete(e);return this.size-=t?1:0,t},u.prototype.get=function(e){return d(this,e).get(e)},u.prototype.has=function(e){return d(this,e).has(e)},u.prototype.set=function(e,t){var i=d(this,e),o=i.size;return i.set(e,t),this.size+=i.size==o?0:1,this};const h=u},5365:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(2536);var n=i(6183),r=i(520);function s(e){var t=this.__data__=new o.Z(e);this.size=t.size}s.prototype.clear=function(){this.__data__=new o.Z,this.size=0},s.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},s.prototype.get=function(e){return this.__data__.get(e)},s.prototype.has=function(e){return this.__data__.has(e)},s.prototype.set=function(e,t){var i=this.__data__;if(i instanceof o.Z){var s=i.__data__;if(!n.Z||s.length<199)return s.push([e,t]),this.size=++i.size,this;i=this.__data__=new r.Z(s)}return i.set(e,t),this.size=i.size,this};const a=s},7685:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=i(6092).Z.Symbol},4073:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=i(6092).Z.Uint8Array},9001:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(4732),n=i(7771),r=i(6706),s=i(6009),a=i(7212),l=Object.prototype.hasOwnProperty;const c=function(e,t){var i=(0,n.Z)(e),c=!i&&(0,o.Z)(e),d=!i&&!c&&(0,r.Z)(e),u=!i&&!c&&!d&&(0,a.Z)(e),h=i||c||d||u,m=h?function(e,t){for(var i=-1,o=Array(e);++i<e;)o[i]=t(i);return o}(e.length,String):[],g=m.length;for(var p in e)!t&&!l.call(e,p)||h&&("length"==p||d&&("offset"==p||"parent"==p)||u&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||(0,s.Z)(p,g))||m.push(p);return m}},8694:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){for(var i=-1,o=t.length,n=e.length;++i<o;)e[n+i]=t[i];return e}},2954:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(4752),n=i(9651),r=Object.prototype.hasOwnProperty;const s=function(e,t,i){var s=e[t];r.call(e,t)&&(0,n.Z)(s,i)&&(void 0!==i||t in e)||(0,o.Z)(e,t,i)}},4752:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(7904);const n=function(e,t,i){"__proto__"==t&&o.Z?(0,o.Z)(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}},9256:(e,t,i)=>{"use strict";i.d(t,{Z:()=>W});var o=i(5365);var n=i(2954),r=i(1899),s=i(703);var a=i(7590);var l=i(1050),c=i(7215),d=i(3573);var u=i(8694),h=i(2513),m=i(532);const g=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,u.Z)(t,(0,d.Z)(e)),e=(0,h.Z)(e);return t}:m.Z;var p=i(1808),f=i(3327);const b=function(e){return(0,f.Z)(e,a.Z,g)};var w=i(4158),k=Object.prototype.hasOwnProperty;var _=i(1884);var v=/\w*$/;var y=i(7685),C=y.Z?y.Z.prototype:void 0,x=C?C.valueOf:void 0;var A=i(2701);const E=function(e,t,i){var o,n,r,s=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,_.Z)(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return function(e,t){var i=t?(0,_.Z)(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);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,A.Z)(e,i);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return(r=new(n=e).constructor(n.source,v.exec(n))).lastIndex=n.lastIndex,r;case"[object Symbol]":return o=e,x?Object(x.call(o)):{}}};var T=i(5418),S=i(7771),P=i(6706),I=i(8533);var V=i(1162),R=i(8351),O=R.Z&&R.Z.isMap;const B=O?(0,V.Z)(O):function(e){return(0,I.Z)(e)&&"[object Map]"==(0,w.Z)(e)};var M=i(7226);var z=R.Z&&R.Z.isSet;const N=z?(0,V.Z)(z):function(e){return(0,I.Z)(e)&&"[object Set]"==(0,w.Z)(e)};var D="[object Arguments]",L="[object Function]",F="[object Object]",H={};H[D]=H["[object Array]"]=H["[object ArrayBuffer]"]=H["[object DataView]"]=H["[object Boolean]"]=H["[object Date]"]=H["[object Float32Array]"]=H["[object Float64Array]"]=H["[object Int8Array]"]=H["[object Int16Array]"]=H["[object Int32Array]"]=H["[object Map]"]=H["[object Number]"]=H[F]=H["[object RegExp]"]=H["[object Set]"]=H["[object String]"]=H["[object Symbol]"]=H["[object Uint8Array]"]=H["[object Uint8ClampedArray]"]=H["[object Uint16Array]"]=H["[object Uint32Array]"]=!0,H["[object Error]"]=H[L]=H["[object WeakMap]"]=!1;const W=function e(t,i,u,h,m,f){var _,v=1&i,y=2&i,C=4&i;if(u&&(_=m?u(t,h,m,f):u(t)),void 0!==_)return _;if(!(0,M.Z)(t))return t;var x=(0,S.Z)(t);if(x){if(_=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&k.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(t),!v)return(0,c.Z)(t,_)}else{var A=(0,w.Z)(t),I=A==L||"[object GeneratorFunction]"==A;if((0,P.Z)(t))return(0,l.Z)(t,v);if(A==F||A==D||I&&!m){if(_=y||I?{}:(0,T.Z)(t),!v)return y?function(e,t){return(0,r.Z)(e,g(e),t)}(t,function(e,t){return e&&(0,r.Z)(t,(0,a.Z)(t),e)}(_,t)):function(e,t){return(0,r.Z)(e,(0,d.Z)(e),t)}(t,function(e,t){return e&&(0,r.Z)(t,(0,s.Z)(t),e)}(_,t))}else{if(!H[A])return m?t:{};_=E(t,A,v)}}f||(f=new o.Z);var V=f.get(t);if(V)return V;f.set(t,_),N(t)?t.forEach((function(o){_.add(e(o,i,u,o,t,f))})):B(t)&&t.forEach((function(o,n){_.set(n,e(o,i,u,n,t,f))}));var R=C?y?b:p.Z:y?a.Z:s.Z,O=x?void 0:R(t);return function(e,t){for(var i=-1,o=null==e?0:e.length;++i<o&&!1!==t(e[i],i,e););}(O||t,(function(o,r){O&&(o=t[r=o]),(0,n.Z)(_,r,e(o,i,u,r,t,f))})),_}},3327:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(8694),n=i(7771);const r=function(e,t,i){var r=t(e);return(0,n.Z)(e)?r:(0,o.Z)(r,i(e))}},3243:(e,t,i)=>{"use strict";i.d(t,{Z:()=>d});var o=i(7685),n=Object.prototype,r=n.hasOwnProperty,s=n.toString,a=o.Z?o.Z.toStringTag:void 0;var l=Object.prototype.toString;var c=o.Z?o.Z.toStringTag:void 0;const d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=r.call(e,a),i=e[a];try{e[a]=void 0;var o=!0}catch(e){}var n=s.call(e);return o&&(t?e[a]=i:delete e[a]),n}(e):function(e){return l.call(e)}(e)}},1152:(e,t,i)=>{"use strict";i.d(t,{Z:()=>S});var o=i(5365),n=i(520);function r(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new n.Z;++t<i;)this.add(e[t])}r.prototype.add=r.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},r.prototype.has=function(e){return this.__data__.has(e)};const s=r,a=function(e,t){for(var i=-1,o=null==e?0:e.length;++i<o;)if(t(e[i],i,e))return!0;return!1},l=function(e,t,i,o,n,r){var l=1&i,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var m=-1,g=!0,p=2&i?new s:void 0;for(r.set(e,t),r.set(t,e);++m<c;){var f=e[m],b=t[m];if(o)var w=l?o(b,f,m,t,e,r):o(f,b,m,e,t,r);if(void 0!==w){if(w)continue;g=!1;break}if(p){if(!a(t,(function(e,t){if(s=t,!p.has(s)&&(f===e||n(f,e,i,o,r)))return p.push(t);var s}))){g=!1;break}}else if(f!==b&&!n(f,b,i,o,r)){g=!1;break}}return r.delete(e),r.delete(t),g};var c=i(7685),d=i(4073),u=i(9651);const h=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,o){i[++t]=[o,e]})),i},m=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i};var g=c.Z?c.Z.prototype:void 0,p=g?g.valueOf:void 0;var f=i(1808),b=Object.prototype.hasOwnProperty;var w=i(4158),k=i(7771),_=i(6706),v=i(7212),y="[object Arguments]",C="[object Array]",x="[object Object]",A=Object.prototype.hasOwnProperty;const E=function(e,t,i,n,r,s){var a=(0,k.Z)(e),c=(0,k.Z)(t),g=a?C:(0,w.Z)(e),E=c?C:(0,w.Z)(t),T=(g=g==y?x:g)==x,S=(E=E==y?x:E)==x,P=g==E;if(P&&(0,_.Z)(e)){if(!(0,_.Z)(t))return!1;a=!0,T=!1}if(P&&!T)return s||(s=new o.Z),a||(0,v.Z)(e)?l(e,t,i,n,r,s):function(e,t,i,o,n,r,s){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 d.Z(e),new d.Z(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,u.Z)(+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=h;case"[object Set]":var c=1&o;if(a||(a=m),e.size!=t.size&&!c)return!1;var g=s.get(e);if(g)return g==t;o|=2,s.set(e,t);var f=l(a(e),a(t),o,n,r,s);return s.delete(e),f;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1}(e,t,g,i,n,r,s);if(!(1&i)){var I=T&&A.call(e,"__wrapped__"),V=S&&A.call(t,"__wrapped__");if(I||V){var R=I?e.value():e,O=V?t.value():t;return s||(s=new o.Z),r(R,O,i,n,s)}}return!!P&&(s||(s=new o.Z),function(e,t,i,o,n,r){var s=1&i,a=(0,f.Z)(e),l=a.length;if(l!=(0,f.Z)(t).length&&!s)return!1;for(var c=l;c--;){var d=a[c];if(!(s?d in t:b.call(t,d)))return!1}var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var m=!0;r.set(e,t),r.set(t,e);for(var g=s;++c<l;){var p=e[d=a[c]],w=t[d];if(o)var k=s?o(w,p,d,t,e,r):o(p,w,d,e,t,r);if(!(void 0===k?p===w||n(p,w,i,o,r):k)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var _=e.constructor,v=t.constructor;_==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof v&&v instanceof v||(m=!1)}return r.delete(e),r.delete(t),m}(e,t,i,n,r,s))};var T=i(8533);const S=function e(t,i,o,n,r){return t===i||(null==t||null==i||!(0,T.Z)(t)&&!(0,T.Z)(i)?t!=t&&i!=i:E(t,i,o,n,e,r))}},7855:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t,i){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(i=i>n?n:i)<0&&(i+=n),n=t>i?0:i-t>>>0,t>>>=0;for(var r=Array(n);++o<n;)r[o]=e[o+t];return r}},1162:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return function(t){return e(t)}}},1884:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(4073);const n=function(e){var t=new e.constructor(e.byteLength);return new o.Z(t).set(new o.Z(e)),t}},1050:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var o=i(6092),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===n?o.Z.Buffer:void 0,a=s?s.allocUnsafe:void 0;const l=function(e,t){if(t)return e.slice();var i=e.length,o=a?a(i):new e.constructor(i);return e.copy(o),o}},2701:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(1884);const n=function(e,t){var i=t?(0,o.Z)(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}},7215:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){var i=-1,o=e.length;for(t||(t=Array(o));++i<o;)t[i]=e[i];return t}},1899:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(2954),n=i(4752);const r=function(e,t,i,r){var s=!i;i||(i={});for(var a=-1,l=t.length;++a<l;){var c=t[a],d=r?r(i[c],e[c],c,i,e):void 0;void 0===d&&(d=e[c]),s?(0,n.Z)(i,c,d):(0,o.Z)(i,c,d)}return i}},288:(e,t,i)=>{"use strict";i.d(t,{Z:()=>b});var o=i(9203);var n=Math.max;var r=i(7904);const s=r.Z?function(e,t){return(0,r.Z)(e,"toString",{configurable:!0,enumerable:!1,value:(i=t,function(){return i}),writable:!0});var i}:o.Z;var a=Date.now;const l=(c=s,d=0,u=0,function(){var e=a(),t=16-(e-u);if(u=e,t>0){if(++d>=800)return arguments[0]}else d=0;return c.apply(void 0,arguments)});var c,d,u;const h=function(e,t){return l(function(e,t,i){return t=n(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,s=n(o.length-t,0),a=Array(s);++r<s;)a[r]=o[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=o[r];return l[t]=i(a),function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}(e,this,l)}}(e,t,o.Z),e+"")};var m=i(9651),g=i(585),p=i(6009),f=i(7226);const b=function(e){return h((function(t,i){var o=-1,n=i.length,r=n>1?i[n-1]:void 0,s=n>2?i[2]:void 0;for(r=e.length>3&&"function"==typeof r?(n--,r):void 0,s&&function(e,t,i){if(!(0,f.Z)(i))return!1;var o=typeof t;return!!("number"==o?(0,g.Z)(i)&&(0,p.Z)(t,i.length):"string"==o&&t in i)&&(0,m.Z)(i[t],e)}(i[0],i[1],s)&&(r=n<3?void 0:r,n=1),t=Object(t);++o<n;){var a=i[o];a&&e(t,a,o,r)}return t}))}},7904:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(2119);const n=function(){try{var e=(0,o.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},3413:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o="object"==typeof global&&global&&global.Object===Object&&global},1808:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(3327),n=i(3573),r=i(703);const s=function(e){return(0,o.Z)(e,r.Z,n.Z)}},2119:(e,t,i)=>{"use strict";i.d(t,{Z:()=>f});var o=i(3234);const n=i(6092).Z["__core-js_shared__"];var r,s=(r=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var a=i(7226),l=i(19),c=/^\[object .+?Constructor\]$/,d=Function.prototype,u=Object.prototype,h=d.toString,m=u.hasOwnProperty,g=RegExp("^"+h.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const p=function(e){return!(!(0,a.Z)(e)||(t=e,s&&s in t))&&((0,o.Z)(e)?g:c).test((0,l.Z)(e));var t},f=function(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return p(i)?i:void 0}},2513:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=(0,i(1851).Z)(Object.getPrototypeOf,Object)},3573:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(532),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;const s=r?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var i=-1,o=null==e?0:e.length,n=0,r=[];++i<o;){var s=e[i];t(s,i,e)&&(r[n++]=s)}return r}(r(e),(function(t){return n.call(e,t)})))}:o.Z},4158:(e,t,i)=>{"use strict";i.d(t,{Z:()=>C});var o=i(2119),n=i(6092);const r=(0,o.Z)(n.Z,"DataView");var s=i(6183);const a=(0,o.Z)(n.Z,"Promise"),l=(0,o.Z)(n.Z,"Set"),c=(0,o.Z)(n.Z,"WeakMap");var d=i(3243),u=i(19),h="[object Map]",m="[object Promise]",g="[object Set]",p="[object WeakMap]",f="[object DataView]",b=(0,u.Z)(r),w=(0,u.Z)(s.Z),k=(0,u.Z)(a),_=(0,u.Z)(l),v=(0,u.Z)(c),y=d.Z;(r&&y(new r(new ArrayBuffer(1)))!=f||s.Z&&y(new s.Z)!=h||a&&y(a.resolve())!=m||l&&y(new l)!=g||c&&y(new c)!=p)&&(y=function(e){var t=(0,d.Z)(e),i="[object Object]"==t?e.constructor:void 0,o=i?(0,u.Z)(i):"";if(o)switch(o){case b:return f;case w:return h;case k:return m;case _:return g;case v:return p}return t});const C=y},5418:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var o=i(7226),n=Object.create;const r=function(){function e(){}return function(t){if(!(0,o.Z)(t))return{};if(n)return n(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();var s=i(2513),a=i(2764);const l=function(e){return"function"!=typeof e.constructor||(0,a.Z)(e)?{}:r((0,s.Z)(e))}},6009:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=/^(?:0|[1-9]\d*)$/;const n=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&o.test(e))&&e>-1&&e%1==0&&e<t}},2764:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=Object.prototype;const n=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||o)}},8351:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(3413),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===n&&o.Z.process;const a=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}()},1851:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){return function(i){return e(t(i))}}},6092:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3413),n="object"==typeof self&&self&&self.Object===Object&&self;const r=o.Z||n||Function("return this")()},19:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=Function.prototype.toString;const n=function(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},207:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(1899),n=i(288),r=i(7590);const s=(0,n.Z)((function(e,t){(0,o.Z)(t,(0,r.Z)(t),e)}))},4612:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(9256);const n=function(e,t){return t="function"==typeof t?t:void 0,(0,o.Z)(e,5,t)}},6682:(e,t,i)=>{"use strict";i.d(t,{Z:()=>b});var o=i(7226),n=i(6092);const r=function(){return n.Z.Date.now()};var s=/\s/;var a=/^\s+/;const l=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&s.test(e.charAt(t)););return t}(e)+1).replace(a,""):e};var c=i(2714),d=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,h=/^0o[0-7]+$/i,m=parseInt;const g=function(e){if("number"==typeof e)return e;if((0,c.Z)(e))return NaN;if((0,o.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=l(e);var i=u.test(e);return i||h.test(e)?m(e.slice(2),i?2:8):d.test(e)?NaN:+e};var p=Math.max,f=Math.min;const b=function(e,t,i){var n,s,a,l,c,d,u=0,h=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function w(t){var i=n,o=s;return n=s=void 0,u=t,l=e.apply(o,i)}function k(e){var i=e-d;return void 0===d||i>=t||i<0||m&&e-u>=a}function _(){var e=r();if(k(e))return v(e);c=setTimeout(_,function(e){var i=t-(e-d);return m?f(i,a-(e-u)):i}(e))}function v(e){return c=void 0,b&&n?w(e):(n=s=void 0,l)}function y(){var e=r(),i=k(e);if(n=arguments,s=this,d=e,i){if(void 0===c)return function(e){return u=e,c=setTimeout(_,t),h?w(e):l}(d);if(m)return clearTimeout(c),c=setTimeout(_,t),w(d)}return void 0===c&&(c=setTimeout(_,t)),l}return t=g(t)||0,(0,o.Z)(i)&&(h=!!i.leading,a=(m="maxWait"in i)?p(g(i.maxWait)||0,t):a,b="trailing"in i?!!i.trailing:b),y.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=d=s=c=void 0},y.flush=function(){return void 0===c?l:v(r())},y}},9651:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){return e===t||e!=e&&t!=t}},9203:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return e}},4732:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(3243),n=i(8533);const r=function(e){return(0,n.Z)(e)&&"[object Arguments]"==(0,o.Z)(e)};var s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable;const c=r(function(){return arguments}())?r:function(e){return(0,n.Z)(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},7771:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=Array.isArray},585:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3234),n=i(1656);const r=function(e){return null!=e&&(0,n.Z)(e.length)&&!(0,o.Z)(e)}},6706:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(6092);var n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===n?o.Z.Buffer:void 0;const a=(s?s.isBuffer:void 0)||function(){return!1}},3251:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(8533),n=i(7514);const r=function(e){return(0,o.Z)(e)&&1===e.nodeType&&!(0,n.Z)(e)}},576:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(1152);const n=function(e,t){return(0,o.Z)(e,t)}},3234:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3243),n=i(7226);const r=function(e){if(!(0,n.Z)(e))return!1;var t=(0,o.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1656:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7226:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},8533:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return null!=e&&"object"==typeof e}},7514:(e,t,i)=>{"use strict";i.d(t,{Z:()=>u});var o=i(3243),n=i(2513),r=i(8533),s=Function.prototype,a=Object.prototype,l=s.toString,c=a.hasOwnProperty,d=l.call(Object);const u=function(e){if(!(0,r.Z)(e)||"[object Object]"!=(0,o.Z)(e))return!1;var t=(0,n.Z)(e);if(null===t)return!0;var i=c.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==d}},2714:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3243),n=i(8533);const r=function(e){return"symbol"==typeof e||(0,n.Z)(e)&&"[object Symbol]"==(0,o.Z)(e)}},7212:(e,t,i)=>{"use strict";i.d(t,{Z:()=>d});var o=i(3243),n=i(1656),r=i(8533),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var a=i(1162),l=i(8351),c=l.Z&&l.Z.isTypedArray;const d=c?(0,a.Z)(c):function(e){return(0,r.Z)(e)&&(0,n.Z)(e.length)&&!!s[(0,o.Z)(e)]}},703:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var o=i(9001),n=i(2764);const r=(0,i(1851).Z)(Object.keys,Object);var s=Object.prototype.hasOwnProperty;var a=i(585);const l=function(e){return(0,a.Z)(e)?(0,o.Z)(e):function(e){if(!(0,n.Z)(e))return r(e);var t=[];for(var i in Object(e))s.call(e,i)&&"constructor"!=i&&t.push(i);return t}(e)}},7590:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(9001),n=i(7226),r=i(2764);var s=Object.prototype.hasOwnProperty;const a=function(e){if(!(0,n.Z)(e))return function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}(e);var t=(0,r.Z)(e),i=[];for(var o in e)("constructor"!=o||!t&&s.call(e,o))&&i.push(o);return i};var l=i(585);const c=function(e){return(0,l.Z)(e)?(0,o.Z)(e,!0):a(e)}},532:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(){return[]}},111:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(6682),n=i(7226);const r=function(e,t,i){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,n.Z)(i)&&(r="leading"in i?!!i.leading:r,s="trailing"in i?!!i.trailing:s),(0,o.Z)(e,t,{leading:r,maxWait:t,trailing:s})}},9939:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(7685);var n=i(7771),r=i(2714),s=o.Z?o.Z.prototype:void 0,a=s?s.toString:void 0;const l=function e(t){if("string"==typeof t)return t;if((0,n.Z)(t))return function(e,t){for(var i=-1,o=null==e?0:e.length,n=Array(o);++i<o;)n[i]=t(e[i],i,e);return n}(t,e)+"";if((0,r.Z)(t))return a?a.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i},c=function(e){return null==e?"":l(e)}}},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.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 o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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 o=i(366);CKEditor5=o})();
\ No newline at end of file
+var CKEditor5;!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1",Accept:"Accept","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 center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Edit source":"Edit source","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Empty snippet content":"Empty snippet content","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",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",Height:"Height",HEX:"HEX",Highlight:"Highlight","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML snippet":"HTML snippet",Huge:"Huge","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert HTML":"Insert HTML","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset",Italic:"Italic",Justify:"Justify","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Next","No preview available":"No preview available",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste raw HTML here...":"Paste raw HTML here...","Pink marker":"Pink marker","Plain text":"Plain text","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","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Save changes":"Save changes","Saving changes":"Saving changes","Select all":"Select all","Select column":"Select column","Select row":"Select row","Show more items":"Show more items","Side image":"Side image",Small:"Small",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative","Text highlight toolbar":"Text highlight 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".',"This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),(()=>{var e={511:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Alignment:()=>p,AlignmentEditing:()=>u,AlignmentUI:()=>g});var o=i(6854),n=i(6553);const r=["left","right","center","justify"];function s(e){return r.includes(e)}function a(e,t){return"rtl"==t.contentLanguageDirection?"right"===e:"left"===e}function l(e){const t=e.map((e=>{let t;return t="string"==typeof e?{name:e}:e,t})).filter((e=>{const t=r.includes(e.name);return t||(0,n.KE)("alignment-config-name-not-recognized",{option:e}),t})),i=t.filter((e=>Boolean(e.className))).length;if(i&&i<t.length)throw new n.Bb("alignment-config-classnames-are-missing",{configuredOptions:e});return t.forEach(((t,i,o)=>{const r=o.slice(i+1);if(r.some((e=>e.name==t.name)))throw new n.Bb("alignment-config-name-already-defined",{option:t,configuredOptions:e});if(t.className&&r.some((e=>e.className==t.className)))throw new n.Bb("alignment-config-classname-already-defined",{option:t,configuredOptions:e})})),t}const c="alignment";class d extends o.mY{refresh(){const e=this.editor.locale,t=(0,n.Ps)(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=Boolean(t)&&this._canBeAligned(t),this.isEnabled&&t.hasAttribute("alignment")?this.value=t.getAttribute("alignment"):this.value="rtl"===e.contentLanguageDirection?"right":"left"}execute(e={}){const t=this.editor,i=t.locale,o=t.model,n=o.document,r=e.value;o.change((e=>{const t=Array.from(n.selection.getSelectedBlocks()).filter((e=>this._canBeAligned(e))),o=t[0].getAttribute("alignment");a(r,i)||o===r||!r?function(e,t){for(const i of e)t.removeAttribute(c,i)}(t,e):function(e,t,i){for(const o of e)t.setAttribute(c,i,o)}(t,e,r)}))}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,c)}}class u extends o.Sy{static get pluginName(){return"AlignmentEditing"}constructor(e){super(e),e.config.define("alignment",{options:r.map((e=>({name:e})))})}init(){const e=this.editor,t=e.locale,i=e.model.schema,o=l(e.config.get("alignment.options")).filter((e=>s(e.name)&&!a(e.name,t))),n=o.some((e=>!!e.className));i.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),n?e.conversion.attributeToAttribute(function(e){const t={};for(const i of e)t[i.name]={key:"class",value:i.className};return{model:{key:"alignment",values:e.map((e=>e.name))},view:t}}(o)):e.conversion.for("downcast").attributeToAttribute(function(e){const t={};for(const{name:i}of e)t[i]={key:"style",value:{"text-align":i}};return{model:{key:"alignment",values:e.map((e=>e.name))},view:t}}(o));const r=function(e){const t=[];for(const{name:i}of e)t.push({view:{key:"style",value:{"text-align":i}},model:{key:"alignment",value:i}});return t}(o);for(const t of r)e.conversion.for("upcast").attributeToAttribute(t);const c=function(e){const t=[];for(const{name:i}of e)t.push({view:{key:"align",value:i},model:{key:"alignment",value:i}});return t}(o);for(const t of c)e.conversion.for("upcast").attributeToAttribute(t);e.commands.add("alignment",new d(e))}}var h=i(7095);const m=new Map([["left",o.icons.alignLeft],["right",o.icons.alignRight],["center",o.icons.alignCenter],["justify",o.icons.alignJustify]]);class g extends o.Sy{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=this.editor,t=e.ui.componentFactory,i=e.t,o=l(e.config.get("alignment.options"));o.map((e=>e.name)).filter(s).forEach((e=>this._addButton(e))),t.add("alignment",(n=>{const r=(0,h.t9)(n);(0,h.up)(r,(()=>o.map((e=>t.create(`alignment:${e.name}`)))),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:i("Text alignment toolbar")}),r.buttonView.set({label:i("Text alignment"),tooltip:!0}),r.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const s="rtl"===n.contentLanguageDirection?m.get("right"):m.get("left"),a=e.commands.get("alignment");return r.buttonView.bind("icon").to(a,"value",(e=>m.get(e)||s)),r.bind("isEnabled").to(a,"isEnabled"),this.listenTo(r,"execute",(()=>{e.editing.view.focus()})),r}))}_addButton(e){const t=this.editor;t.ui.componentFactory.add(`alignment:${e}`,(i=>{const o=t.commands.get("alignment"),n=new h.r5(i);return n.set({label:this.localizedOptionTitles[e],icon:m.get(e),tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(o),n.bind("isOn").to(o,"value",(t=>t===e)),this.listenTo(n,"execute",(()=>{t.execute("alignment",{value:e}),t.editing.view.focus()})),n}))}}class p extends o.Sy{static get requires(){return[u,g]}static get pluginName(){return"Alignment"}}},6549:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Autosave:()=>s});var o=i(6854),n=i(6553),r=i(6682);class s extends o.Sy{static get pluginName(){return"Autosave"}static get requires(){return[o.lR]}constructor(e){super(e),this._action=null;const t=e.config.get("autosave")||{},i=t.waitingTime||1e3;this.set("state","synchronized"),this._debouncedSave=(0,r.Z)(this._save.bind(this),i),this._lastDocumentVersion=e.model.document.version,this._savePromise=null,this._domEmitter=new((0,n.Xu)()),this._config=t,this._pendingActions=e.plugins.get(o.lR),this._makeImmediateSave=!1}init(){const e=this.editor,t=e.model.document;this.listenTo(e,"ready",(()=>{this.listenTo(t,"change:data",((e,t)=>{this._saveCallbacks.length&&t.isLocal&&("synchronized"===this.state&&(this.state="waiting",this._setPendingAction()),"waiting"===this.state&&this._debouncedSave())}))})),this.listenTo(e,"destroy",(()=>this._flush()),{priority:"highest"}),this._domEmitter.listenTo(window,"beforeunload",((e,t)=>{this._pendingActions.hasAny&&(t.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((e=>e(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((e=>{throw this.state="error",this.state="saving",this._debouncedSave(),e})),this._savePromise)}_setPendingAction(){const e=this.editor.t;this._action||(this._action=this._pendingActions.add(e("Saving changes")))}get _saveCallbacks(){const e=[];return this.adapter&&this.adapter.save&&e.push(this.adapter.save),this._config.save&&e.push(this._config.save),e}}},1214:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Bold:()=>d,BoldEditing:()=>s,BoldUI:()=>c,Code:()=>S,CodeEditing:()=>m,CodeUI:()=>T,Italic:()=>O,ItalicEditing:()=>I,ItalicUI:()=>R,Strikethrough:()=>D,StrikethroughEditing:()=>M,StrikethroughUI:()=>N,Subscript:()=>W,SubscriptEditing:()=>F,SubscriptUI:()=>H,Superscript:()=>K,SuperscriptEditing:()=>U,SuperscriptUI:()=>q,Underline:()=>X,UnderlineEditing:()=>J,UnderlineUI:()=>Q});var o=i(6854);class n extends o.mY{constructor(e,t){super(e),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,i=t.document.selection,o=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i.isCollapsed)o?e.setSelectionAttribute(this.attributeKey,!0):e.removeSelectionAttribute(this.attributeKey);else{const n=t.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const t of n)o?e.setAttribute(this.attributeKey,o,t):e.removeAttribute(this.attributeKey,t)}}))}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,i=e.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const e of i.getRanges())for(const i of e.getItems())if(t.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const r="bold";class s extends o.Sy{static get pluginName(){return"BoldEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:r}),e.model.schema.setAttributeProperties(r,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:r,view:"strong",upcastAlso:["b",e=>{const t=e.getStyle("font-weight");return t&&("bold"==t||Number(t)>=600)?{name:!0,styles:["font-weight"]}:null}]}),e.commands.add(r,new n(e,r)),e.keystrokes.set("CTRL+B",r)}}var a=i(7095);const l="bold";class c extends o.Sy{static get pluginName(){return"BoldUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(l,(i=>{const n=e.commands.get(l),r=new a.r5(i);return r.set({label:t("Bold"),icon:o.icons.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(r,"execute",(()=>{e.execute(l),e.editing.view.focus()})),r}))}}class d extends o.Sy{static get requires(){return[s,c]}static get pluginName(){return"Bold"}}var u=i(5187);const h="code";class m extends o.Sy{static get pluginName(){return"CodeEditing"}static get requires(){return[u.mh]}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:h}),e.model.schema.setAttributeProperties(h,{isFormatting:!0,copyOnEnter:!1}),e.conversion.attributeToElement({model:h,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),e.commands.add(h,new n(e,h)),e.plugins.get(u.mh).registerAttribute(h),(0,u.Im)(e,h,"code","ck-code_selected")}}var g=i(3379),p=i.n(g),f=i(9037),b=i.n(f),w=i(569),k=i.n(w),_=i(8575),v=i.n(_),y=i(9216),C=i.n(y),x=i(5363),A={attributes:{"data-cke":!0}};A.setAttributes=v(),A.insert=k().bind(null,"head"),A.domAPI=b(),A.insertStyleElement=C(),p()(x.Z,A),x.Z&&x.Z.locals&&x.Z.locals;const E="code";class T extends o.Sy{static get pluginName(){return"CodeUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(E,(i=>{const o=e.commands.get(E),n=new a.r5(i);return n.set({label:t("Code"),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>',tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(E),e.editing.view.focus()})),n}))}}class S extends o.Sy{static get requires(){return[m,T]}static get pluginName(){return"Code"}}const P="italic";class I extends o.Sy{static get pluginName(){return"ItalicEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:P}),e.model.schema.setAttributeProperties(P,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:P,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),e.commands.add(P,new n(e,P)),e.keystrokes.set("CTRL+I",P)}}const V="italic";class R extends o.Sy{static get pluginName(){return"ItalicUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(V,(i=>{const o=e.commands.get(V),n=new a.r5(i);return n.set({label:t("Italic"),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",tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(V),e.editing.view.focus()})),n}))}}class O extends o.Sy{static get requires(){return[I,R]}static get pluginName(){return"Italic"}}const B="strikethrough";class M extends o.Sy{static get pluginName(){return"StrikethroughEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:B}),e.model.schema.setAttributeProperties(B,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:B,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),e.commands.add(B,new n(e,B)),e.keystrokes.set("CTRL+SHIFT+X","strikethrough")}}const z="strikethrough";class N extends o.Sy{static get pluginName(){return"StrikethroughUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(z,(i=>{const o=e.commands.get(z),n=new a.r5(i);return n.set({label:t("Strikethrough"),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",tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(z),e.editing.view.focus()})),n}))}}class D extends o.Sy{static get requires(){return[M,N]}static get pluginName(){return"Strikethrough"}}const L="subscript";class F extends o.Sy{static get pluginName(){return"SubscriptEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:L}),e.model.schema.setAttributeProperties(L,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:L,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),e.commands.add(L,new n(e,L))}}const Z="subscript";class H extends o.Sy{static get pluginName(){return"SubscriptUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(Z,(i=>{const o=e.commands.get(Z),n=new a.r5(i);return n.set({label:t("Subscript"),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>',tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(Z),e.editing.view.focus()})),n}))}}class W extends o.Sy{static get requires(){return[F,H]}static get pluginName(){return"Subscript"}}const j="superscript";class U extends o.Sy{static get pluginName(){return"SuperscriptEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:j}),e.model.schema.setAttributeProperties(j,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:j,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),e.commands.add(j,new n(e,j))}}const $="superscript";class q extends o.Sy{static get pluginName(){return"SuperscriptUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add($,(i=>{const o=e.commands.get($),n=new a.r5(i);return n.set({label:t("Superscript"),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>',tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute($),e.editing.view.focus()})),n}))}}class K extends o.Sy{static get requires(){return[U,q]}static get pluginName(){return"Superscript"}}const G="underline";class J extends o.Sy{static get pluginName(){return"UnderlineEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:G}),e.model.schema.setAttributeProperties(G,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:G,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),e.commands.add(G,new n(e,G)),e.keystrokes.set("CTRL+U","underline")}}const Y="underline";class Q extends o.Sy{static get pluginName(){return"UnderlineUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(Y,(i=>{const o=e.commands.get(Y),n=new a.r5(i);return n.set({label:t("Underline"),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>',keystroke:"CTRL+U",tooltip:!0,isToggleable:!0}),n.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(n,"execute",(()=>{e.execute(Y),e.editing.view.focus()})),n}))}}class X extends o.Sy{static get requires(){return[J,Q]}static get pluginName(){return"Underline"}}},4210:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BlockQuote:()=>E,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>A});var o=i(6854),n=i(1863),r=i(5187),s=i(6553);class a extends o.mY{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.schema,o=t.document.selection,n=Array.from(o.getSelectedBlocks()),r=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(r){const t=n.filter((e=>l(e)||d(i,e)));this._applyQuote(e,t)}else this._removeQuote(e,n.filter(l))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,s.Ps)(e.getSelectedBlocks());return!(!t||!l(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=(0,s.Ps)(e.getSelectedBlocks());return!!i&&d(t,i)}_removeQuote(e,t){c(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const i=e.createPositionBefore(t.start.parent);return void e.move(t,i)}t.end.isAtEnd||e.split(t.end);const i=e.createPositionAfter(t.end.parent);e.move(t,i)}))}_applyQuote(e,t){const i=[];c(e,t).reverse().forEach((t=>{let o=l(t.start);o||(o=e.createElement("blockQuote"),e.wrap(t,o)),i.push(o)})),i.reverse().reduce(((t,i)=>t.nextSibling==i?(e.merge(e.createPositionAfter(t)),t):i))}}function l(e){return"blockQuote"==e.parent.name?e.parent:null}function c(e,t){let i,o=0;const n=[];for(;o<t.length;){const r=t[o],s=t[o+1];i||(i=e.createPositionBefore(r)),s&&r.nextSibling==s||(n.push(e.createRange(i,e.createPositionAfter(r))),i=null),o++}return n}function d(e,t){const i=e.checkChild(t.parent,"blockQuote"),o=e.checkChild(["$root","blockQuote"],t);return i&&o}class u extends o.Sy{static get pluginName(){return"BlockQuoteEditing"}static get requires(){return[n.C,r.HG]}init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new a(e)),t.register("blockQuote",{inheritAllFrom:"$container"}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer((i=>{const o=e.model.document.differ.getChanges();for(const e of o)if("insert"==e.type){const o=e.position.nodeAfter;if(!o)continue;if(o.is("element","blockQuote")&&o.isEmpty)return i.remove(o),!0;if(o.is("element","blockQuote")&&!t.checkChild(e.position,o))return i.unwrap(o),!0;if(o.is("element")){const e=i.createRangeIn(o);for(const o of e.getItems())if(o.is("element","blockQuote")&&!t.checkChild(i.createPositionBefore(o),o))return i.unwrap(o),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return i.remove(t),!0}return!1}));const i=this.editor.editing.view.document,o=e.model.document.selection,n=e.commands.get("blockQuote");this.listenTo(i,"enter",((t,i)=>{o.isCollapsed&&n.value&&o.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),i.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(i,"delete",((t,i)=>{if("backward"!=i.direction||!o.isCollapsed||!n.value)return;const r=o.getLastPosition().parent;r.isEmpty&&!r.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),i.preventDefault(),t.stop())}),{context:"blockquote"})}}var h=i(7095),m=i(3379),g=i.n(m),p=i(9037),f=i.n(p),b=i(569),w=i.n(b),k=i(8575),_=i.n(k),v=i(9216),y=i.n(v),C=i(3789),x={attributes:{"data-cke":!0}};x.setAttributes=_(),x.insert=w().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=y(),g()(C.Z,x),C.Z&&C.Z.locals&&C.Z.locals;class A extends o.Sy{static get pluginName(){return"BlockQuoteUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("blockQuote",(i=>{const n=e.commands.get("blockQuote"),r=new h.r5(i);return r.set({label:t("Block quote"),icon:o.icons.quote,tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(r,"execute",(()=>{e.execute("blockQuote"),e.editing.view.focus()})),r}))}}class E extends o.Sy{static get requires(){return[u,A]}static get pluginName(){return"BlockQuote"}}},9998:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CodeBlock:()=>V,CodeBlockEditing:()=>g,CodeBlockUI:()=>I});var o=i(6854),n=i(1863),r=i(3291),s=i(6553),a=i(4934);class l extends o.mY{constructor(e){super(e),this._lastLanguage=null}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor,i=t.model,o=i.document.selection,n=(0,a.getNormalizedAndLocalizedLanguageDefinitions)(t)[0],r=Array.from(o.getSelectedBlocks()),s=null==e.forceValue?!this.value:e.forceValue,l=function(e,t,i){return e.language?e.language:e.usePreviousLanguageChoice&&t?t:i}(e,this._lastLanguage,n.language);i.change((e=>{s?this._applyCodeBlock(e,r,l):this._removeCodeBlock(e,r)}))}_getValue(){const e=this.editor.model.document.selection,t=(0,s.Ps)(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,i=(0,s.Ps)(e.getSelectedBlocks());return!!i&&(0,a.canBeCodeBlock)(t,i)}_applyCodeBlock(e,t,i){this._lastLanguage=i;const o=this.editor.model.schema,n=t.filter((e=>(0,a.canBeCodeBlock)(o,e)));for(const t of n)e.rename(t,"codeBlock"),e.setAttribute("language",i,t),o.removeDisallowedAttributes([t],e),Array.from(t.getChildren()).filter((e=>!o.checkChild(t,e))).forEach((t=>e.remove(t)));n.reverse().forEach(((t,i)=>{const o=n[i+1];t.previousSibling===o&&(e.appendElement("softBreak",o),e.merge(e.createPositionBefore(t)))}))}_removeCodeBlock(e,t){const i=t.filter((e=>e.is("element","codeBlock")));for(const t of i){const i=e.createRangeOn(t);for(const t of Array.from(i.getItems()).reverse())if(t.is("element","softBreak")&&t.parent.is("element","codeBlock")){const{position:i}=e.split(e.createPositionBefore(t)),o=i.nodeAfter;e.rename(o,"paragraph"),e.removeAttribute("language",o),e.remove(t)}e.rename(t,"paragraph"),e.removeAttribute("language",t)}}}class c extends o.mY{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 i=(0,a.getIndentOutdentPositions)(e);for(const o of i){const i=t.createText(this._indentSequence);e.insertContent(i,o)}}))}_checkEnabled(){return!!this._indentSequence&&(0,a.isModelSelectionInCodeBlock)(this.editor.model.document.selection)}}class d extends o.mY{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=(0,a.getIndentOutdentPositions)(e);for(const i of t){const t=u(e,i,this._indentSequence);t&&e.deleteContent(e.createSelection(t))}}))}_checkEnabled(){if(!this._indentSequence)return!1;const e=this.editor.model;return!!(0,a.isModelSelectionInCodeBlock)(e.document.selection)&&(0,a.getIndentOutdentPositions)(e).some((t=>u(e,t,this._indentSequence)))}}function u(e,t,i){const o=function(e){let t=e.parent.getChild(e.index);return t&&!t.is("element","softBreak")||(t=e.nodeBefore),!t||t.is("element","softBreak")?null:t}(t);if(!o)return null;const n=(0,a.getLeadingWhiteSpaces)(o),r=n.lastIndexOf(i);if(r+i.length!==n.length)return null;if(-1===r)return null;const{parent:s,startOffset:l}=o;return e.createRange(e.createPositionAt(s,l+r),e.createPositionAt(s,l+r+i.length))}function h(e,t,i=!1){const o=(0,a.getPropertyAssociation)(t,"language","class"),n=(0,a.getPropertyAssociation)(t,"language","label");return(t,r,s)=>{const{writer:a,mapper:l,consumable:c}=s;if(!c.consume(r.item,"insert"))return;const d=r.item.getAttribute("language"),u=l.toViewPosition(e.createPositionBefore(r.item)),h={};i&&(h["data-language"]=n[d],h.spellcheck="false");const m=o[d]?{class:o[d]}:void 0,g=a.createContainerElement("code",m),p=a.createContainerElement("pre",h,g);a.insert(u,p),l.bindElements(r.item,g)}}const m="paragraph";class g extends o.Sy{static get pluginName(){return"CodeBlockEditing"}static get requires(){return[n.G]}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,i=e.model,o=e.editing.view,n=e.plugins.has("DocumentListEditing"),s=(0,a.getNormalizedAndLocalizedLanguageDefinitions)(e);e.commands.add("codeBlock",new l(e)),e.commands.add("indentCodeBlock",new c(e)),e.commands.add("outdentCodeBlock",new d(e)),this.listenTo(o.document,"tab",((t,i)=>{const o=i.shiftKey?"outdentCodeBlock":"indentCodeBlock";e.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())}),{context:"pre"}),t.register("codeBlock",{allowWhere:"$block",allowChildren:"$text",isBlock:!0,allowAttributes:["language"]}),t.addAttributeCheck(((e,t)=>{const i=e.endsWith("codeBlock")&&t.startsWith("list")&&"list"!==t;return!(!n||!i)||!e.endsWith("codeBlock $text")&&void 0})),e.model.schema.addChildCheck(((e,t)=>{if(e.endsWith("codeBlock")&&t.isObject)return!1})),e.editing.downcastDispatcher.on("insert:codeBlock",h(i,s,!0)),e.data.downcastDispatcher.on("insert:codeBlock",h(i,s)),e.data.downcastDispatcher.on("insert:softBreak",function(e){return(t,i,o)=>{if("codeBlock"!==i.item.parent.name)return;const{writer:n,mapper:r,consumable:s}=o;if(!s.consume(i.item,"insert"))return;const a=r.toViewPosition(e.createPositionBefore(i.item));n.insert(a,n.createText("\n"))}}(i),{priority:"high"}),e.data.upcastDispatcher.on("element:code",function(e,t){const i=(0,a.getPropertyAssociation)(t,"class","language"),o=t[0].language;return(e,t,n)=>{const r=t.viewItem,s=r.parent;if(!s||!s.is("element","pre"))return;if(t.modelCursor.findAncestor("codeBlock"))return;const{consumable:a,writer:l}=n;if(!a.test(r,{name:!0}))return;const c=l.createElement("codeBlock"),d=[...r.getClassNames()];d.length||d.push("");for(const e of d){const t=i[e];if(t){l.setAttribute("language",t,c);break}}c.hasAttribute("language")||l.setAttribute("language",o,c),n.convertChildren(r,c),n.safeInsert(c,t.modelCursor)&&(a.consume(r,{name:!0}),n.updateConversionResult(c,t))}}(0,s)),e.data.upcastDispatcher.on("text",((e,t,{consumable:i,writer:o})=>{let n=t.modelCursor;if(!i.test(t.viewItem))return;if(!n.findAncestor("codeBlock"))return;i.consume(t.viewItem);const r=t.viewItem.data.split("\n").map((e=>o.createText(e))),s=r[r.length-1];for(const e of r)if(o.insert(e,n),n=n.getShiftedBy(e.offsetSize),e!==s){const e=o.createElement("softBreak");o.insert(e,n),n=o.createPositionAfter(e)}t.modelRange=o.createRange(t.modelCursor,n),t.modelCursor=n})),e.data.upcastDispatcher.on("element:pre",((e,t,{consumable:i})=>{const o=t.viewItem;if(o.findAncestor("pre"))return;const n=Array.from(o.getChildren()),r=n.find((e=>e.is("element","code")));if(r)for(const e of n)e!==r&&e.is("$text")&&i.consume(e,{name:!0})}),{priority:"high"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,o)=>{let n=i.createRange(i.document.selection.anchor);if(o.targetRanges&&(n=e.editing.mapper.toModelRange(o.targetRanges[0])),!n.start.parent.is("element","codeBlock"))return;const s=o.dataTransfer.getData("text/plain"),l=new r.yj(e.editing.view.document);o.content=(0,a.rawSnippetTextToViewDocumentFragment)(l,s)})),this.listenTo(i,"getSelectedContent",((e,[o])=>{const n=o.anchor;!o.isCollapsed&&n.parent.is("element","codeBlock")&&n.hasSameParentAs(o.focus)&&i.change((i=>{const r=e.return;if(n.parent.is("element")&&(r.childCount>1||o.containsEntireContent(n.parent))){const t=i.createElement("codeBlock",n.parent.getAttributes());i.append(r,t);const o=i.createDocumentFragment();return i.append(t,o),void(e.return=o)}const s=r.getChild(0);t.checkAttribute(s,"code")&&i.setAttribute("code",!0,s)}))}))}afterInit(){const e=this.editor,t=e.commands,i=t.get("indent"),o=t.get("outdent");i&&i.registerChildCommand(t.get("indentCodeBlock"),{priority:"highest"}),o&&o.registerChildCommand(t.get("outdentCodeBlock")),this.listenTo(e.editing.view.document,"enter",((t,i)=>{e.model.document.selection.getLastPosition().parent.is("element","codeBlock")&&(function(e,t){const i=e.model.document,o=e.editing.view,n=i.selection.getLastPosition(),r=n.nodeAfter;return!(t||!i.selection.isCollapsed||!n.isAtStart)&&(!!f(r)&&(e.model.change((t=>{e.execute("enter");const o=i.selection.anchor.parent.previousSibling;t.rename(o,m),t.setSelection(o,"in"),e.model.schema.removeDisallowedAttributes([o],t),t.remove(r)})),o.scrollToTheSelection(),!0))}(e,i.isSoft)||function(e,t){const i=e.model,o=i.document,n=e.editing.view,r=o.selection.getLastPosition(),s=r.nodeBefore;let a;if(t||!o.selection.isCollapsed||!r.isAtEnd||!s||!s.previousSibling)return!1;if(f(s)&&f(s.previousSibling))a=i.createRange(i.createPositionBefore(s.previousSibling),i.createPositionAfter(s));else if(p(s)&&f(s.previousSibling)&&f(s.previousSibling.previousSibling))a=i.createRange(i.createPositionBefore(s.previousSibling.previousSibling),i.createPositionAfter(s));else{if(!(p(s)&&f(s.previousSibling)&&p(s.previousSibling.previousSibling)&&s.previousSibling.previousSibling&&f(s.previousSibling.previousSibling.previousSibling)))return!1;a=i.createRange(i.createPositionBefore(s.previousSibling.previousSibling.previousSibling),i.createPositionAfter(s))}return e.model.change((t=>{t.remove(a),e.execute("enter");const i=o.selection.anchor.parent;t.rename(i,m),e.model.schema.removeDisallowedAttributes([i],t)})),n.scrollToTheSelection(),!0}(e,i.isSoft)||function(e){const t=e.model.document,i=t.selection.getLastPosition(),o=i.nodeBefore||i.textNode;let n;o&&o.is("$text")&&(n=(0,a.getLeadingWhiteSpaces)(o)),e.model.change((i=>{e.execute("shiftEnter"),n&&i.insertText(n,t.selection.anchor)}))}(e),i.preventDefault(),t.stop())}),{context:"pre"})}}function p(e){return e&&e.is("$text")&&!e.data.match(/\S/)}function f(e){return e&&e.is("element","softBreak")}var b=i(7095),w=i(3379),k=i.n(w),_=i(9037),v=i.n(_),y=i(569),C=i.n(y),x=i(8575),A=i.n(x),E=i(9216),T=i.n(E),S=i(3229),P={attributes:{"data-cke":!0}};P.setAttributes=A(),P.insert=C().bind(null,"head"),P.domAPI=v(),P.insertStyleElement=T(),k()(S.Z,P),S.Z&&S.Z.locals&&S.Z.locals;class I extends o.Sy{static get pluginName(){return"CodeBlockUI"}init(){const e=this.editor,t=e.t,i=e.ui.componentFactory,o=(0,a.getNormalizedAndLocalizedLanguageDefinitions)(e);i.add("codeBlock",(i=>{const n=e.commands.get("codeBlock"),r=(0,b.t9)(i,b.Rm),s=r.buttonView,a=t("Insert code block");return s.set({label:a,tooltip:!0,icon:'<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>',isToggleable:!0}),s.bind("isOn").to(n,"value",(e=>!!e)),s.on("execute",(()=>{e.execute("codeBlock",{usePreviousLanguageChoice:!0}),e.editing.view.focus()})),r.on("execute",(t=>{e.execute("codeBlock",{language:t.source._codeBlockLanguage,forceValue:!0}),e.editing.view.focus()})),r.class="ck-code-block-dropdown",r.bind("isEnabled").to(n),(0,b.Pm)(r,(()=>this._getLanguageListItemDefinitions(o)),{role:"menu",ariaLabel:a}),r}))}_getLanguageListItemDefinitions(e){const t=this.editor.commands.get("codeBlock"),i=new s.FE;for(const o of e){const e={type:"button",model:new b.Hn({_codeBlockLanguage:o.language,label:o.label,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(t=>t===e.model._codeBlockLanguage)),i.add(e)}return i}}class V extends o.Sy{static get requires(){return[g,I]}static get pluginName(){return"CodeBlock"}}},4934:(e,t,i)=>{"use strict";i.r(t),i.d(t,{canBeCodeBlock:()=>d,getIndentOutdentPositions:()=>l,getLeadingWhiteSpaces:()=>s,getNormalizedAndLocalizedLanguageDefinitions:()=>n,getPropertyAssociation:()=>r,isModelSelectionInCodeBlock:()=>c,rawSnippetTextToViewDocumentFragment:()=>a});var o=i(6553);function n(e){const t=e.t,i=e.config.get("codeBlock.languages");for(const e of i)"Plain text"===e.label&&(e.label=t("Plain text")),void 0===e.class&&(e.class=`language-${e.language}`);return i}function r(e,t,i){const o={};for(const n of e)"class"===t?o[n[t].split(" ").shift()]=n[i]:o[n[t]]=n[i];return o}function s(e){return e.data.match(/^(\s*)/)[0]}function a(e,t){const i=e.createDocumentFragment(),o=t.split("\n"),n=o.reduce(((t,i,n)=>(t.push(i),n<o.length-1&&t.push(e.createElement("br")),t)),[]);return e.appendChild(n,i),i}function l(e){const t=e.document.selection,i=[];if(t.isCollapsed)return[t.anchor];const o=t.getFirstRange().getWalker({ignoreElementEnd:!0,direction:"backward"});for(const{item:t}of o){if(!t.is("$textProxy"))continue;const{parent:o,startOffset:n}=t.textNode;if(!o.is("element","codeBlock"))continue;const r=s(t.textNode),a=e.createPositionAt(o,n+r.length);i.push(a)}return i}function c(e){const t=(0,o.Ps)(e.getSelectedBlocks());return!!t&&t.is("element","codeBlock")}function d(e,t){return!t.is("rootElement")&&!e.isLimit(t)&&e.checkChild(t.parent,"codeBlock")}},7578:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Command:()=>s,Context:()=>d,ContextPlugin:()=>u,DataApiMixin:()=>w,Editor:()=>p,ElementApiMixin:()=>k,MultiCommand:()=>l,PendingActions:()=>v,Plugin:()=>n,attachToForm:()=>b,icons:()=>y,secureSourceElement:()=>_});var o=i(1833);class n extends((0,o.ObservableMixin)()){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",r,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",r),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function r(e){e.return=!1,e.stop()}class s extends((0,o.ObservableMixin)()){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=>{this.affectsData&&(e.isReadOnly||this._isEnabledBasedOnSelection&&!e.model.canEditAt(e.model.document.selection))&&(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 l extends s{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...e){const t=this._getFirstEnabledCommand();return!!t&&t.execute(e)}registerChildCommand(e,t={}){(0,o.insertToPriorityArray)(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 c extends((0,o.EmitterMixin)()){constructor(e,t=[],i=[]){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 i)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 o.CKEditorError("plugincollection-plugin-not-loaded",this._context,{plugin:t})}return t}has(e){return this._plugins.has(e)}init(e,t=[],i=[]){const n=this,r=this._context;!function e(t,i=new Set){t.forEach((t=>{l(t)&&(i.has(t)||(i.add(t),t.pluginName&&!n._availablePlugins.has(t.pluginName)&&n._availablePlugins.set(t.pluginName,t),t.requires&&e(t.requires,i)))}))}(e),h(e);const s=[...function e(t,i=new Set){return t.map((e=>l(e)?e:n._availablePlugins.get(e))).reduce(((t,o)=>i.has(o)?t:(i.add(o),o.requires&&(h(o.requires,o),e(o.requires,i).forEach((e=>t.add(e)))),t.add(o))),new Set)}(e.filter((e=>!d(e,t))))];!function(e,t){for(const i of t){if("function"!=typeof i)throw new o.CKEditorError("plugincollection-replace-plugin-invalid-type",null,{pluginItem:i});const t=i.pluginName;if(!t)throw new o.CKEditorError("plugincollection-replace-plugin-missing-name",null,{pluginItem:i});if(i.requires&&i.requires.length)throw new o.CKEditorError("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:t});const r=n._availablePlugins.get(t);if(!r)throw new o.CKEditorError("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:t});const s=e.indexOf(r);if(-1===s){if(n._contextPlugins.has(r))return;throw new o.CKEditorError("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:t})}if(r.requires&&r.requires.length)throw new o.CKEditorError("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:t});e.splice(s,1,i),n._availablePlugins.set(t,i)}}(s,i);const a=function(e){return e.map((e=>{let t=n._contextPlugins.get(e);return t=t||new e(r),n._add(e,t),t}))}(s);return m(a,"init").then((()=>m(a,"afterInit"))).then((()=>a));function l(e){return"function"==typeof e}function c(e){return l(e)&&!!e.isContextPlugin}function d(e,t){return t.some((t=>t===e||u(e)===t||u(t)===e))}function u(e){return l(e)?e.pluginName||e.name:e}function h(e,i=null){e.map((e=>l(e)?e:n._availablePlugins.get(e)||e)).forEach((e=>{!function(e,t){if(!l(e)){if(t)throw new o.CKEditorError("plugincollection-soft-required",r,{missingPlugin:e,requiredBy:u(t)});throw new o.CKEditorError("plugincollection-plugin-not-found",r,{plugin:e})}}(e,i),function(e,t){if(c(t)&&!c(e))throw new o.CKEditorError("plugincollection-context-required",r,{plugin:u(e),requiredBy:u(t)})}(e,i),function(e,i){if(i&&d(e,t))throw new o.CKEditorError("plugincollection-required",r,{plugin:u(e),requiredBy:u(i)})}(e,i)}))}function m(e,t){return e.reduce(((e,i)=>i[t]?n._contextPlugins.has(i)?e:e.then(i[t].bind(i)):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 i=e.pluginName;if(i){if(this._plugins.has(i))throw new o.CKEditorError("plugincollection-plugin-name-conflict",null,{pluginName:i,plugin1:this._plugins.get(i).constructor,plugin2:e});this._plugins.set(i,t)}}}class d{constructor(e){this._contextOwner=null,this.config=new o.Config(e,this.constructor.defaultConfig);const t=this.constructor.builtinPlugins;this.config.define("plugins",t),this.plugins=new c(this,t);const i=this.config.get("language")||{};this.locale=new o.Locale({uiLanguage:"string"==typeof i?i:i.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new o.Collection}initPlugins(){const e=this.config.get("plugins")||[],t=this.config.get("substitutePlugins")||[];for(const i of e.concat(t)){if("function"!=typeof i)throw new o.CKEditorError("context-initplugins-constructor-only",null,{Plugin:i});if(!0!==i.isContextPlugin)throw new o.CKEditorError("context-initplugins-invalid-plugin",null,{Plugin:i})}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 o.CKEditorError("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 i=new this(e);t(i.initPlugins().then((()=>i)))}))}}class u extends((0,o.ObservableMixin)()){constructor(e){super(),this.context=e}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}var h=i(600);class m{constructor(){this._commands=new Map}add(e,t){this._commands.set(e,t)}get(e){return this._commands.get(e)}execute(e,...t){const i=this.get(e);if(!i)throw new o.CKEditorError("commandcollection-command-not-found",this,{commandName:e});return i.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 g extends o.KeystrokeHandler{constructor(e){super(),this.editor=e}set(e,t,i={}){if("string"==typeof t){const e=t;t=(t,i)=>{this.editor.execute(e),i()}}super.set(e,t,i)}}class p extends((0,o.ObservableMixin)()){constructor(e={}){super();const t=this.constructor,i=e.language||t.defaultConfig&&t.defaultConfig.language;this._context=e.context||new d({language:i}),this._context._addEditor(this,!e.context);const n=Array.from(t.builtinPlugins||[]);this.config=new o.Config(e,t.defaultConfig),this.config.define("plugins",n),this.config.define(this._context._getEditorConfig()),this.plugins=new c(this,n,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new m,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new h.Model,this.on("change:isReadOnly",(()=>{this.model.document.isReadOnly=this.isReadOnly}));const r=new h.StylesProcessor;this.data=new h.DataController(this.model,r),this.editing=new h.EditingController(this.model,r),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new h.Conversion([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 g(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(e){throw new o.CKEditorError("editor-isreadonly-has-no-setter")}enableReadOnlyMode(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new o.CKEditorError("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 o.CKEditorError("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))}initPlugins(){const e=this.config,t=e.get("plugins"),i=e.get("removePlugins")||[],o=e.get("extraPlugins")||[],n=e.get("substitutePlugins")||[];return this.plugins.init(t.concat(o),i,n)}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){o.CKEditorError.rethrowUnexpectedError(e,this)}}focus(){this.editing.view.focus()}static create(...e){throw new Error("This is an abstract method.")}}var f=i(3234);function b(e){if(!(0,f.Z)(e.updateSourceElement))throw new o.CKEditorError("attachtoform-missing-elementapi-interface",e);const t=e.sourceElement;if(function(e){return!!e&&"textarea"===e.tagName.toLowerCase()}(t)&&t.form){let i;const o=t.form,n=()=>e.updateSourceElement();(0,f.Z)(o.submit)&&(i=o.submit,o.submit=()=>{n(),i.apply(o)}),o.addEventListener("submit",n),e.on("destroy",(()=>{o.removeEventListener("submit",n),i&&(o.submit=i)}))}}function w(e){return class extends e{setData(e){this.data.set(e)}getData(e){return this.data.get(e)}}}{const e=w(Object);w.setData=e.prototype.setData,w.getData=e.prototype.getData}function k(e){return class extends e{updateSourceElement(e=this.data.get()){if(!this.sourceElement)throw new o.CKEditorError("editor-missing-sourceelement",this);const t=this.config.get("updateSourceElementOnDestroy"),i=this.sourceElement instanceof HTMLTextAreaElement;t||i?(0,o.setDataInElement)(this.sourceElement,e):(0,o.setDataInElement)(this.sourceElement,"")}}}function _(e,t){if(t.ckeditorInstance)throw new o.CKEditorError("editor-source-element-already-used",e);t.ckeditorInstance=e,e.once("destroy",(()=>{delete t.ckeditorInstance}))}k.updateSourceElement=k(Object).prototype.updateSourceElement;class v extends u{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new o.Collection({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if("string"!=typeof e)throw new o.CKEditorError("pendingactions-add-invalid-message",this);const t=new((0,o.ObservableMixin)());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 y={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>',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>',image:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.91 10.54c.26-.23.64-.21.88.03l3.36 3.14 2.23-2.06a.64.64 0 0 1 .87 0l2.52 2.97V4.5H3.2v10.12l3.71-4.08zm10.27-7.51c.6 0 1.09.47 1.09 1.05v11.84c0 .59-.49 1.06-1.09 1.06H2.79c-.6 0-1.09-.47-1.09-1.06V4.08c0-.58.49-1.05 1.1-1.05h14.38zm-5.22 5.56a1.96 1.96 0 1 1 3.4-1.96 1.96 1.96 0 0 1-3.4 1.96z"/></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>',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>',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 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="M13 6H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zm0 1.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5h11z"/></svg>',objectSizeSmall:'<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="M7 10H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2zm0 1.5a.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 .5-.5h5z"/></svg>',objectSizeMedium:'<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="M10 8H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm0 1.5a.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 .5-.5h8z"/></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>'}},1184:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ClassicEditor:()=>R});var o=i(7095),n=i(3291),r=i(6553);class s extends o.S8{constructor(e,t){super(e),this.view=t,this._toolbarConfig=(0,o.iw)(e.config.get("toolbar")),this._elementReplacer=new r.a6,this.listenTo(e.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 s=n.element;this.setEditableElement(n.name,s),i.editable.bind("isFocused").to(this.focusTracker),o.attachDomRoot(s),e&&this._elementReplacer.replace(e,this.element),this._initPlaceholder(),this._initToolbar(),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,t=e.editing.view,i=t.document.getRoot(),o=e.sourceElement;let r;const s=e.config.get("placeholder");s&&(r="string"==typeof s?s:s[this.view.editable.name]),!r&&o&&"textarea"===o.tagName.toLowerCase()&&(r=o.getAttribute("placeholder")),r&&(0,n.ID)({view:t,element:i,text:r,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(e,t,i){const o=this.view.stickyPanel;if(o.isSticky){const e=new r.UL(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)}}}var a=i(3379),l=i.n(a),c=i(9037),d=i.n(c),u=i(569),h=i.n(u),m=i(8575),g=i.n(m),p=i(9216),f=i.n(p),b=i(3624),w={attributes:{"data-cke":!0}};w.setAttributes=g(),w.insert=h().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=f(),l()(b.Z,w),b.Z&&b.Z.locals&&b.Z.locals;class k extends o.py{constructor(e,t,i={}){super(e),this.stickyPanel=new o.lp(e),this.toolbar=new o.jB(e,{shouldGroupWhenFull:i.shouldToolbarGroupWhenFull}),this.editable=new o.r1(e,t)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}var _=i(6854);class v{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 i=this._listeners[e]||[];for(const e of i)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 i=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:e,causesRestart:i}),i?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(){return this.crashes.length<=this._crashNumberLimit||(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function y(e,t=new Set){const i=[e],o=new Set;let n=0;for(;i.length>n;){const e=i[n++];if(!o.has(e)&&C(e)&&!t.has(e))if(o.add(e),Symbol.iterator in e)try{for(const t of e)i.push(t)}catch(e){}else for(const t in e)"defaultValue"!==t&&i.push(e[t])}return o}function C(e){const t=Object.prototype.toString.call(e),i=typeof e;return!("number"===i||"boolean"===i||"string"===i||"symbol"===i||"function"===i||"[object Date]"===t||"[object RegExp]"===t||"[object Module]"===t||null==e||e._watchdogExcluded||e instanceof EventTarget||e instanceof Event)}function x(e,t,i=new Set){if(e===t&&"object"==typeof(o=e)&&null!==o)return!0;var o;const n=y(e,i),r=y(t,i);for(const e of n)if(r.has(e))return!0;return!1}var A=i(111),E=i(4612),T=i(3251);class S extends v{constructor(e,t={}){super(t),this._editor=null,this._throttledSave=(0,A.Z)(this._save.bind(this),"number"==typeof t.saveInterval?t.saveInterval:5e3),e&&(this._creator=(t,i)=>e.create(t,i)),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((()=>{if("string"==typeof this._elementOrData)return this.create(this._data,this._config,this._config.context);{const e=Object.assign({},this._config,{initialData:this._data});return this.create(this._elementOrData,e,e.context)}})).then((()=>{this._fire("restart")}))}create(e=this._elementOrData,t=this._config,i){return Promise.resolve().then((()=>(super._startErrorHandling(),this._elementOrData=e,this._config=this._cloneEditorConfiguration(t)||{},this._config.context=i,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.state="ready",this._fire("stateChange")}))}destroy(){return Promise.resolve().then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.flush();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._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={};for(const t of this._editor.model.document.getRootNames())e[t]=this._editor.data.get({rootName:t});return e}_isErrorComingFromThisItem(e){return x(this._editor,e.context,this._excludedProps)}_cloneEditorConfiguration(e){return(0,E.Z)(e,((e,t)=>(0,T.Z)(e)||"context"===t?e:void 0))}}const P=Symbol("MainQueueId");class I{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(e){this._onEmptyCallbacks.push(e)}enqueue(e,t){const i=e===P;this._activeActions++,this._queues.get(e)||this._queues.set(e,Promise.resolve());const o=(i?Promise.all(this._queues.values()):Promise.all([this._queues.get(P),this._queues.get(e)])).then(t),n=o.catch((()=>{}));return this._queues.set(e,n),o.finally((()=>{this._activeActions--,this._queues.get(e)===n&&0===this._activeActions&&this._onEmptyCallbacks.forEach((e=>e()))}))}}function V(e){return Array.isArray(e)?e:[e]}class R extends((0,_.W9)((0,_.xK)(_.ML))){constructor(e,t={}){if(!O(e)&&void 0!==t.initialData)throw new r.Bb("editor-create-initial-data",null);super(t),void 0===this.config.get("initialData")&&this.config.set("initialData",function(e){return O(e)?(0,r.yy)(e):e}(e)),O(e)&&(this.sourceElement=e),this.model.document.createRoot();const i=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=new k(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:i});this.ui=new s(this,o),(0,_.P$)(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(O(e)?e:null))).then((()=>o.data.init(o.config.get("initialData")))).then((()=>o.fire("ready"))).then((()=>o)))}))}}function O(e){return(0,T.Z)(e)}R.Context=_._y,R.EditorWatchdog=S,R.ContextWatchdog=class extends v{constructor(e,t={}){super(t),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new I,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(P,(()=>(this._contextConfig=e,this._create())))}getItem(e){return this._getWatchdog(e)._item}getItemState(e){return this._getWatchdog(e).state}add(e){const t=V(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 S(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",((i,{error:o,causesRestart:n})=>{this._fire("itemError",{itemId:e.id,error:o}),n&&this._actionQueues.enqueue(e.id,(()=>new Promise((i=>{const o=()=>{t.off("restart",o),this._fire("itemRestart",{itemId:e.id}),i()};t.on("restart",o)}))))})),t.create(e.sourceElementOrData,e.config,this._context);throw new Error(`Not supported item type: '${e.type}'.`)})))))}remove(e){const t=V(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(P,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(P,(()=>(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=y(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 x(this._context,e.context)}}},600:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AttributeElement:()=>Ge,AttributeOperation:()=>nn,BubblingEventInfo:()=>Ze,ClickObserver:()=>ar,Conversion:()=>Fo,DataController:()=>Lo,DataTransfer:()=>ti,DocumentFragment:()=>Dn,DocumentSelection:()=>Fi,DomConverter:()=>Nt,DomEventData:()=>Wt,DomEventObserver:()=>jt,DowncastWriter:()=>rt,EditingController:()=>bo,Element:()=>mi,History:()=>In,HtmlDataProcessor:()=>Do,InsertOperation:()=>Qo,LivePosition:()=>yn,LiveRange:()=>zi,MarkerOperation:()=>tn,Matcher:()=>R,MergeOperation:()=>en,Model:()=>rr,MouseObserver:()=>lr,MoveOperation:()=>Yo,NoOperation:()=>rn,Observer:()=>Zt,OperationFactory:()=>dn,Position:()=>fi,Range:()=>yi,RenameOperation:()=>sn,Renderer:()=>Et,RootAttributeOperation:()=>an,RootOperation:()=>ln,SplitOperation:()=>Xo,StylesProcessor:()=>Ae,TabObserver:()=>ri,Text:()=>ui,TextProxy:()=>hi,TreeWalker:()=>gi,UpcastWriter:()=>cr,View:()=>ai,ViewAttributeElement:()=>Ge,ViewContainerElement:()=>Ie,ViewDocument:()=>Ke,ViewDocumentFragment:()=>nt,ViewEditableElement:()=>Re,ViewElement:()=>Se,ViewEmptyElement:()=>Qe,ViewRawElement:()=>it,ViewRootEditableElement:()=>Be,ViewText:()=>P,ViewTreeWalker:()=>Me,ViewUIElement:()=>et,addBackgroundRules:()=>Nr,addBorderRules:()=>Dr,addMarginRules:()=>Kr,addPaddingRules:()=>Gr,disablePlaceholder:()=>b,enablePlaceholder:()=>f,findOptimalInsertionRange:()=>Xn,getBoxSidesShorthandValue:()=>Br,getBoxSidesValueReducer:()=>Or,getBoxSidesValues:()=>Rr,getFillerOffset:()=>Ve,getPositionShorthandNormalizer:()=>Mr,getShorthandValues:()=>zr,hidePlaceholder:()=>k,isAttachment:()=>Pr,isColor:()=>br,isLength:()=>vr,isLineStyle:()=>kr,isPercentage:()=>Cr,isPosition:()=>Tr,isRepeat:()=>Ar,isURL:()=>Vr,needsPlaceholder:()=>_,showPlaceholder:()=>w,transformSets:()=>pn});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(7372),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g),m.Z&&m.Z.locals&&m.Z.locals;const p=new WeakMap;function f({view:e,element:t,text:i,isDirectHost:o=!0,keepOnFocus:n=!1}){const r=e.document;p.has(r)||(p.set(r,new Map),r.registerPostFixer((e=>v(r,e))),r.on("change:isComposing",(()=>{e.change((e=>v(r,e)))}),{priority:"high"})),p.get(r).set(t,{text:i,isDirectHost:o,keepOnFocus:n,hostElement:o?t:null}),e.change((e=>v(r,e)))}function b(e,t){const i=t.document;p.has(i)&&e.change((e=>{const o=p.get(i),n=o.get(t);e.removeAttribute("data-placeholder",n.hostElement),k(e,n.hostElement),o.delete(t)}))}function w(e,t){return!t.hasClass("ck-placeholder")&&(e.addClass("ck-placeholder",t),!0)}function k(e,t){return!!t.hasClass("ck-placeholder")&&(e.removeClass("ck-placeholder",t),!0)}function _(e,t){if(!e.isAttached())return!1;const i=Array.from(e.getChildren()).some((e=>!e.is("uiElement")));if(i)return!1;const o=e.document,n=o.selection.anchor;return!(o.isComposing&&n&&n.parent===e||!t&&o.isFocused&&(!n||n.parent===e))}function v(e,t){const i=p.get(e),o=[];let n=!1;for(const[e,r]of i)r.isDirectHost&&(o.push(e),y(t,e,r)&&(n=!0));for(const[e,r]of i){if(r.isDirectHost)continue;const i=C(e);i&&(o.includes(i)||(r.hostElement=i,y(t,e,r)&&(n=!0)))}return n}function y(e,t,i){const{text:o,isDirectHost:n,hostElement:r}=i;let s=!1;return r.getAttribute("data-placeholder")!==o&&(e.setAttribute("data-placeholder",o,r),s=!0),(n||1==t.childCount)&&_(r,i.keepOnFocus)?w(e,r)&&(s=!0):k(e,r)&&(s=!0),s}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}var x=i(1833);class A{is(){throw new Error("is() method is abstract")}}var E=i(9256);const T=function(e){return(0,E.Z)(e,4)};i(9807);class S extends((0,x.EmitterMixin)(A)){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 x.CKEditorError("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 i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}getCommonAncestor(e,t={}){const i=this.getAncestors(t),o=e.getAncestors(t);let n=0;for(;i[n]==o[n]&&i[n];)n++;return 0===n?null:i[n-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),i=e.getPath(),o=(0,x.compareArrays)(t,i);switch(o){case"prefix":return!0;case"extension":return!1;default:return t[o]<i[o]}}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 P 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 P&&(this===e||this.data===e.data)}_clone(){return new P(this.document,this.data)}}P.prototype.is=function(e){return"$text"===e||"view:$text"===e||"text"===e||"view:text"===e||"node"===e||"view:node"===e};class I extends A{constructor(e,t,i){if(super(),this.textNode=e,t<0||t>e.data.length)throw new x.CKEditorError("view-textproxy-wrong-offsetintext",this);if(i<0||t+i>e.data.length)throw new x.CKEditorError("view-textproxy-wrong-length",this);this.data=e.data.substring(t,t+i),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 i=e.includeSelf?this.textNode:this.parent;for(;null!==i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}}I.prototype.is=function(e){return"$textProxy"===e||"view:$textProxy"===e||"textProxy"===e||"view:textProxy"===e};var V=i(7514);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 i=O(t,e);if(i)return{element:t,pattern:e,match:i}}return null}matchAll(...e){const t=[];for(const i of e)for(const e of this._patterns){const o=O(i,e);o&&t.push({element:i,pattern:e,match:o})}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 O(e,t){if("function"==typeof t)return t(e);const i={};return t.name&&(i.name=function(e,t){return e instanceof RegExp?!!t.match(e):e===t}(t.name,e.name),!i.name)||t.attributes&&(i.attributes=function(e,t){const i=new Set(t.getAttributeKeys());return(0,V.Z)(e)?(void 0!==e.style&&(0,x.logWarning)("matcher-pattern-deprecated-attributes-style-key",e),void 0!==e.class&&(0,x.logWarning)("matcher-pattern-deprecated-attributes-class-key",e)):(i.delete("style"),i.delete("class")),B(e,i,(e=>t.getAttribute(e)))}(t.attributes,e),!i.attributes)||t.classes&&(i.classes=function(e,t){return B(e,t.getClassNames(),(()=>{}))}(t.classes,e),!i.classes)||t.styles&&(i.styles=function(e,t){return B(e,t.getStyleNames(!0),(e=>t.getStyle(e)))}(t.styles,e),!i.styles)?null:i}function B(e,t,i){const o=function(e){return Array.isArray(e)?e.map((e=>(0,V.Z)(e)?(void 0!==e.key&&void 0!==e.value||(0,x.logWarning)("matcher-pattern-missing-key-or-value",e),[e.key,e.value]):[e,!0])):(0,V.Z)(e)?Object.entries(e):[[e,!0]]}(e),n=Array.from(t),r=[];if(o.forEach((([e,t])=>{n.forEach((o=>{(function(e,t){return!0===e||e===t||e instanceof RegExp&&t.match(e)})(e,o)&&function(e,t,i){if(!0===e)return!0;const o=i(t);return e===o||e instanceof RegExp&&!!String(o).match(e)}(t,o,i)&&r.push(o)}))})),o.length&&!(r.length<o.length))return r}var M=i(7226),z=i(7771),N=i(2714),D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;var F=i(520);function Z(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var o=arguments,n=t?t.apply(this,o):o[0],r=i.cache;if(r.has(n))return r.get(n);var s=e.apply(this,o);return i.cache=r.set(n,s)||r,s};return i.cache=new(Z.Cache||F.Z),i}Z.Cache=F.Z;var H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/\\(\\)?/g;const j=(U=Z((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(H,(function(e,i,o,n){t.push(o?n.replace(W,"$1"):i||e)})),t}),(function(e){return 500===$.size&&$.clear(),e})),$=U.cache,U);var U,$,q=i(9939);const K=function(e,t){return(0,z.Z)(e)?e:function(e,t){if((0,z.Z)(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!(0,N.Z)(e))||L.test(e)||!D.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:j((0,q.Z)(e))},G=function(e){if("string"==typeof e||(0,N.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},J=function(e,t){for(var i=0,o=(t=K(t,e)).length;null!=e&&i<o;)e=e[G(t[i++])];return i&&i==o?e:void 0};var Y=i(7855);const Q=function(e,t){return null==(e=function(e,t){return t.length<2?e:J(e,(0,Y.Z)(t,0,-1))}(e,t=K(t,e)))||delete e[G((i=t,o=null==i?0:i.length,o?i[o-1]:void 0))];var i,o},X=function(e,t,i){var o=null==e?void 0:J(e,t);return void 0===o?i:o};var ee=i(5365),te=i(4752),ie=i(9651);const oe=function(e,t,i){(void 0!==i&&!(0,ie.Z)(e[t],i)||void 0===i&&!(t in e))&&(0,te.Z)(e,t,i)},ne=function(e,t,i){for(var o=-1,n=Object(e),r=i(e),s=r.length;s--;){var a=r[++o];if(!1===t(n[a],a,n))break}return e};var re=i(1050),se=i(2701),ae=i(7215),le=i(5418),ce=i(4732),de=i(585),ue=i(8533);var he=i(6706),me=i(3234),ge=i(7212);const pe=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var fe=i(1899),be=i(7590);const we=function(e,t,i,o,n,r,s){var a,l=pe(e,i),c=pe(t,i),d=s.get(c);if(d)oe(e,i,d);else{var u=r?r(l,c,i+"",e,t,s):void 0,h=void 0===u;if(h){var m=(0,z.Z)(c),g=!m&&(0,he.Z)(c),p=!m&&!g&&(0,ge.Z)(c);u=c,m||g||p?(0,z.Z)(l)?u=l:(a=l,(0,ue.Z)(a)&&(0,de.Z)(a)?u=(0,ae.Z)(l):g?(h=!1,u=(0,re.Z)(c,!0)):p?(h=!1,u=(0,se.Z)(c,!0)):u=[]):(0,V.Z)(c)||(0,ce.Z)(c)?(u=l,(0,ce.Z)(l)?u=function(e){return(0,fe.Z)(e,(0,be.Z)(e))}(l):(0,M.Z)(l)&&!(0,me.Z)(l)||(u=(0,le.Z)(c))):h=!1}h&&(s.set(c,u),n(u,c,o,r,s),s.delete(c)),oe(e,i,u)}},ke=function e(t,i,o,n,r){t!==i&&ne(i,(function(s,a){if(r||(r=new ee.Z),(0,M.Z)(s))we(t,i,a,o,e,n,r);else{var l=n?n(pe(t,a),s,a+"",t,i,r):void 0;void 0===l&&(l=s),oe(t,a,l)}}),be.Z)},_e=(0,i(288).Z)((function(e,t,i){ke(e,t,i)}));var ve=i(2954),ye=i(6009);const Ce=function(e,t,i){return null==e?e:function(e,t,i,o){if(!(0,M.Z)(e))return e;for(var n=-1,r=(t=K(t,e)).length,s=r-1,a=e;null!=a&&++n<r;){var l=G(t[n]),c=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(n!=s){var d=a[l];void 0===(c=o?o(d,l,a):void 0)&&(c=(0,M.Z)(d)?d:(0,ye.Z)(t[n+1])?[]:{})}(0,ve.Z)(a,l,c),a=a[l]}return e}(e,t,i)};class xe{constructor(e){this._styles={},this._styleProcessor=e}get isEmpty(){const e=Object.entries(this._styles);return!Array.from(e).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(e){this.clear();const t=Array.from(function(e){let t=null,i=0,o=0,n=null;const r=new Map;if(""===e)return r;";"!=e.charAt(e.length-1)&&(e+=";");for(let s=0;s<e.length;s++){const a=e.charAt(s);if(null===t)switch(a){case":":n||(n=e.substr(i,s-i),o=s+1);break;case'"':case"'":t=a;break;case";":{const t=e.substr(o,s-o);n&&r.set(n.trim(),t.trim()),n=null,i=s+1;break}}else a===t&&(t=null)}return r}(e).entries());for(const[e,i]of t)this._styleProcessor.toNormalizedForm(e,i,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,M.Z)(e))for(const[t,i]of Object.entries(e))this._styleProcessor.toNormalizedForm(t,i,this._styles);else this._styleProcessor.toNormalizedForm(e,t,this._styles)}remove(e){const t=Ee(e);(function(e,t){null==e||Q(e,t)})(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,M.Z)(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){return this.isEmpty?[]:e?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map((([e])=>e))}clear(){this._styles={}}_getStylesEntries(){const e=[],t=Object.keys(this._styles);for(const i of t)e.push(...this._styleProcessor.getReducedForm(i,this._styles));return e}_cleanEmptyObjectsOnPath(e){const t=e.split(".");if(!(t.length>1))return;const i=t.splice(0,t.length-1).join("."),o=X(this._styles,i);o&&!Array.from(Object.keys(o)).length&&this.remove(i)}}class Ae{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(e,t,i){if((0,M.Z)(t))Te(i,Ee(e),t);else if(this._normalizers.has(e)){const o=this._normalizers.get(e),{path:n,value:r}=o(t);Te(i,n,r)}else Te(i,e,t)}getNormalized(e,t){if(!e)return _e({},t);if(void 0!==t[e])return t[e];if(this._extractors.has(e)){const i=this._extractors.get(e);if("string"==typeof i)return X(t,i);const o=i(e,t);if(o)return o}return X(t,Ee(e))}getReducedForm(e,t){const i=this.getNormalized(e,t);return void 0===i?[]:this._reducers.has(e)?this._reducers.get(e)(i):[[e,i]]}getStyleNames(e){const t=Array.from(this._consumables.keys()).filter((t=>{const i=this.getNormalized(t,e);return i&&"object"==typeof i?Object.keys(i).length:i})),i=new Set([...t,...Object.keys(e)]);return Array.from(i.values())}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 i of t)this._mapStyleNames(i,[e])}_mapStyleNames(e,t){this._consumables.has(e)||this._consumables.set(e,[]),this._consumables.get(e).push(...t)}}function Ee(e){return e.replace("-",".")}function Te(e,t,i){let o=i;(0,M.Z)(i)&&(o=_e({},X(e,t),i)),Ce(e,t,o)}class Se extends S{constructor(e,t,i,o){if(super(e),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=t,this._attrs=function(e){const t=(0,x.toMap)(e);for(const[e,i]of t)null===i?t.delete(e):"string"!=typeof i&&t.set(e,String(i));return t}(i),this._children=[],o&&this._insertChild(0,o),this._classes=new Set,this._attrs.has("class")){const e=this._attrs.get("class");Pe(this._classes,e),this._attrs.delete("class")}this._styles=new xe(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 Se))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,i]of this._attrs)if(!e._attrs.has(t)||e._attrs.get(t)!==i)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 i=this.parent;for(;i&&!i.is("documentFragment");){if(t.match(i))return i;i=i.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(),i=Array.from(this._attrs).map((e=>`${e[0]}="${e[1]}"`)).sort().join(" ");return this.name+(""==e?"":` class="${e}"`)+(t?` style="${t}"`:"")+(""==i?"":` ${i}`)}shouldRenderUnsafeAttribute(e){return this._unsafeAttributesToRender.includes(e)}_clone(e=!1){const t=[];if(e)for(const i of this.getChildren())t.push(i._clone(e));const i=new this.constructor(this.document,this.name,this._attrs,t);return i._classes=new Set(this._classes),i._styles.set(this._styles.getNormalized()),i._customProperties=new Map(this._customProperties),i.getFillerOffset=this.getFillerOffset,i._unsafeAttributesToRender=this._unsafeAttributesToRender,i}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,t){this._fireChange("children",this);let i=0;const o=function(e,t){return"string"==typeof t?[new P(e,t)]:((0,x.isIterable)(t)||(t=[t]),Array.from(t).map((t=>"string"==typeof t?new P(e,t):t instanceof I?new P(e,t.data):t)))}(this.document,t);for(const t of o)null!==t.parent&&t._remove(),t.parent=this,t.document=this.document,this._children.splice(e,0,t),e++,i++;return i}_removeChildren(e,t=1){this._fireChange("children",this);for(let i=e;i<e+t;i++)this._children[i].parent=null;return this._children.splice(e,t)}_setAttribute(e,t){const i=String(t);this._fireChange("attributes",this),"class"==e?Pe(this._classes,i):"style"==e?this._styles.setTo(i):this._attrs.set(e,i)}_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,x.toArray)(e))this._classes.add(t)}_removeClass(e){this._fireChange("attributes",this);for(const t of(0,x.toArray)(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,x.toArray)(e))this._styles.remove(t)}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}function Pe(e,t){const i=t.split(/\s+/);e.clear(),i.forEach((t=>e.add(t)))}Se.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 Ie extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=Ve}}function Ve(){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}Ie.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 Re extends((0,x.ObservableMixin)(Ie)){constructor(e,t,i,o){super(e,t,i,o),this.set("isReadOnly",!1),this.set("isFocused",!1),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()}}Re.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 Oe=Symbol("rootName");class Be extends Re{constructor(e,t){super(e,t),this.rootName="main"}get rootName(){return this.getCustomProperty(Oe)}set rootName(e){this._setCustomProperty(Oe,e)}set _name(e){this.name=e}}Be.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 Me{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new x.CKEditorError("view-tree-walker-no-start-position",null);if(e.direction&&"forward"!=e.direction&&"backward"!=e.direction)throw new x.CKEditorError("view-tree-walker-unknown-direction",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this._position=ze._createAt(e.startPosition):this._position=ze._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,i;do{i=this.position,t=this.next()}while(!t.done&&e(t.value));t.done||(this._position=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let e=this.position.clone();const t=this.position,i=e.parent;if(null===i.parent&&e.offset===i.childCount)return{done:!0,value:void 0};if(i===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let o;if(i instanceof P){if(e.isAtEnd)return this._position=ze._createAfter(i),this._next();o=i.data[e.offset]}else o=i.getChild(e.offset);if(o instanceof Se){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(e))return{done:!0,value:void 0};e.offset++}else e=new ze(o,0);return this._position=e,this._formatReturnValue("elementStart",o,t,e,1)}if(o instanceof P){if(this.singleCharacters)return e=new ze(o,0),this._position=e,this._next();let i,n=o.data.length;return o==this._boundaryEndParent?(n=this.boundaries.end.offset,i=new I(o,0,n),e=ze._createAfter(i)):(i=new I(o,0,o.data.length),e.offset++),this._position=e,this._formatReturnValue("text",i,t,e,n)}if("string"==typeof o){let o;o=this.singleCharacters?1:(i===this._boundaryEndParent?this.boundaries.end.offset:i.data.length)-e.offset;const n=new I(i,e.offset,o);return e.offset+=o,this._position=e,this._formatReturnValue("text",n,t,e,o)}return e=ze._createAfter(i),this._position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",i,t,e)}_previous(){let e=this.position.clone();const t=this.position,i=e.parent;if(null===i.parent&&0===e.offset)return{done:!0,value:void 0};if(i==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let o;if(i instanceof P){if(e.isAtStart)return this._position=ze._createBefore(i),this._previous();o=i.data[e.offset-1]}else o=i.getChild(e.offset-1);if(o instanceof Se)return this.shallow?(e.offset--,this._position=e,this._formatReturnValue("elementStart",o,t,e,1)):(e=new ze(o,o.childCount),this._position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",o,t,e));if(o instanceof P){if(this.singleCharacters)return e=new ze(o,o.data.length),this._position=e,this._previous();let i,n=o.data.length;if(o==this._boundaryStartParent){const t=this.boundaries.start.offset;i=new I(o,t,o.data.length-t),n=i.data.length,e=ze._createBefore(i)}else i=new I(o,0,o.data.length),e.offset--;return this._position=e,this._formatReturnValue("text",i,t,e,n)}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{const t=i===this._boundaryStartParent?this.boundaries.start.offset:0;o=e.offset-t}e.offset-=o;const n=new I(i,e.offset,o);return this._position=e,this._formatReturnValue("text",n,t,e,o)}return e=ze._createBefore(i),this._position=e,this._formatReturnValue("elementStart",i,t,e,1)}_formatReturnValue(e,t,i,o,n){return t instanceof I&&(t.offsetInText+t.data.length==t.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?i=ze._createAfter(t.textNode):(o=ze._createAfter(t.textNode),this._position=o)),0===t.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?i=ze._createBefore(t.textNode):(o=ze._createBefore(t.textNode),this._position=o))),{done:!1,value:{type:e,item:t,previousPosition:i,nextPosition:o,length:n}}}}class ze extends A{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 Re);){if(!e.parent)return null;e=e.parent}return e}getShiftedBy(e){const t=ze._createAt(this),i=t.offset+e;return t.offset=i<0?0:i,t}getLastMatchingPosition(e,t={}){t.startPosition=this;const i=new Me(t);return i.skip(e),i.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const t=this.getAncestors(),i=e.getAncestors();let o=0;for(;t[o]==i[o]&&t[o];)o++;return 0===o?null:t[o-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():[],i=e.parent.is("node")?e.parent.getPath():[];t.push(this.offset),i.push(e.offset);const o=(0,x.compareArrays)(t,i);switch(o){case"prefix":return"before";case"extension":return"after";default:return t[o]<i[o]?"before":"after"}}getWalker(e={}){return e.startPosition=this,new Me(e)}clone(){return new ze(this.parent,this.offset)}static _createAt(e,t){if(e instanceof ze)return new this(e.parent,e.offset);{const i=e;if("end"==t)t=i.is("$text")?i.data.length:i.childCount;else{if("before"==t)return this._createBefore(i);if("after"==t)return this._createAfter(i);if(0!==t&&!t)throw new x.CKEditorError("view-createpositionat-offset-required",i)}return new ze(i,t)}}static _createAfter(e){if(e.is("$textProxy"))return new ze(e.textNode,e.offsetInText+e.data.length);if(!e.parent)throw new x.CKEditorError("view-position-after-root",e,{root:e});return new ze(e.parent,e.index+1)}static _createBefore(e){if(e.is("$textProxy"))return new ze(e.textNode,e.offsetInText);if(!e.parent)throw new x.CKEditorError("view-position-before-root",e,{root:e});return new ze(e.parent,e.index)}}ze.prototype.is=function(e){return"position"===e||"view:position"===e};class Ne extends A{constructor(e,t=null){super(),this.start=e.clone(),this.end=t?t.clone():e.clone()}*[Symbol.iterator](){yield*new Me({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(De,{direction:"backward"}),t=this.end.getLastMatchingPosition(De);return e.parent.is("$text")&&e.isAtStart&&(e=ze._createBefore(e.parent)),t.parent.is("$text")&&t.isAtEnd&&(t=ze._createAfter(t.parent)),new Ne(e,t)}getTrimmed(){let e=this.start.getLastMatchingPosition(De);if(e.isAfter(this.end)||e.isEqual(this.end))return new Ne(e,e);let t=this.end.getLastMatchingPosition(De,{direction:"backward"});const i=e.nodeAfter,o=t.nodeBefore;return i&&i.is("$text")&&(e=new ze(i,0)),o&&o.is("$text")&&(t=new ze(o,o.data.length)),new Ne(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 i=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),o=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return i&&o}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new Ne(this.start,e.start)),this.containsPosition(e.end)&&t.push(new Ne(e.end,this.end))):t.push(this.clone()),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,i=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(i=e.end),new Ne(t,i)}return null}getWalker(e={}){return e.boundaries=this,new Me(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 Ne(this.start,this.end)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new Me(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new Me(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,i,o){return new this(new ze(e,t),new ze(i,o))}static _createFromPositionAndShift(e,t){const i=e,o=e.getShiftedBy(t);return t>0?new this(i,o):new this(o,i)}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(ze._createBefore(e),t)}}function De(e){return!(!e.item.is("attributeElement")&&!e.item.is("uiElement"))}Ne.prototype.is=function(e){return"range"===e||"view:range"===e};class Le extends((0,x.EmitterMixin)(A)){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 i=!1;for(const o of e._ranges)if(t.isEqual(o)){i=!0;break}if(!i)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const t=(0,x.count)(this.getRanges());if(t!=(0,x.count)(e.getRanges()))return!1;if(0==t)return!0;for(let t of this.getRanges()){t=t.getTrimmed();let i=!1;for(let o of e.getRanges())if(o=o.getTrimmed(),t.start.isEqual(o.start)&&t.end.isEqual(o.end)){i=!0;break}if(!i)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...e){let[t,i,o]=e;if("object"==typeof i&&(o=i,i=void 0),null===t)this._setRanges([]),this._setFakeOptions(o);else if(t instanceof Le||t instanceof Fe)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof Ne)this._setRanges([t],o&&o.backward),this._setFakeOptions(o);else if(t instanceof ze)this._setRanges([new Ne(t)]),this._setFakeOptions(o);else if(t instanceof S){const e=!!o&&!!o.backward;let n;if(void 0===i)throw new x.CKEditorError("view-selection-setto-required-second-parameter",this);n="in"==i?Ne._createIn(t):"on"==i?Ne._createOn(t):new Ne(ze._createAt(t,i)),this._setRanges([n],e),this._setFakeOptions(o)}else{if(!(0,x.isIterable)(t))throw new x.CKEditorError("view-selection-setto-not-selectable",this);this._setRanges(t,o&&o.backward),this._setFakeOptions(o)}this.fire("change")}setFocus(e,t){if(null===this.anchor)throw new x.CKEditorError("view-selection-setfocus-no-ranges",this);const i=ze._createAt(e,t);if("same"==i.compareWith(this.focus))return;const o=this.anchor;this._ranges.pop(),"before"==i.compareWith(o)?this._addRange(new Ne(i,o),!0):this._addRange(new Ne(o,i)),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 Ne))throw new x.CKEditorError("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 x.CKEditorError("view-selection-range-intersects",this,{addedRange:e,intersectingRange:t});this._ranges.push(new Ne(e.start,e.end))}}Le.prototype.is=function(e){return"selection"===e||"view:selection"===e};class Fe extends((0,x.EmitterMixin)(A)){constructor(...e){super(),this._selection=new Le,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)}}Fe.prototype.is=function(e){return"selection"===e||"documentSelection"==e||"view:selection"==e||"view:documentSelection"==e};class Ze extends x.EventInfo{constructor(e,t,i){super(e,t),this.startRange=i,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const He=Symbol("bubbling contexts");function We(e){return class extends e{fire(e,...t){try{const i=e instanceof x.EventInfo?e:new x.EventInfo(this,e),o=qe(this);if(!o.size)return;if(je(i,"capturing",this),Ue(o,"$capture",i,...t))return i.return;const n=i.startRange||this.selection.getFirstRange(),r=n?n.getContainedElement():null,s=!!r&&Boolean($e(o,r));let a=r||function(e){if(!e)return null;const t=e.start.parent,i=e.end.parent,o=t.getPath(),n=i.getPath();return o.length>n.length?t:i}(n);if(je(i,"atTarget",a),!s){if(Ue(o,"$text",i,...t))return i.return;je(i,"bubbling",a)}for(;a;){if(a.is("rootElement")){if(Ue(o,"$root",i,...t))return i.return}else if(a.is("element")&&Ue(o,a.name,i,...t))return i.return;if(Ue(o,a,i,...t))return i.return;a=a.parent,je(i,"bubbling",a)}return je(i,"bubbling",this),Ue(o,"$document",i,...t),i.return}catch(e){x.CKEditorError.rethrowUnexpectedError(e,this)}}_addEventListener(e,t,i){const o=(0,x.toArray)(i.context||"$document"),n=qe(this);for(const r of o){let o=n.get(r);o||(o=new((0,x.EmitterMixin)()),n.set(r,o)),this.listenTo(o,e,t,i)}}_removeEventListener(e,t){const i=qe(this);for(const o of i.values())this.stopListening(o,e,t)}}}{const e=We(Object);["fire","_addEventListener","_removeEventListener"].forEach((t=>{We[t]=e.prototype[t]}))}function je(e,t,i){e instanceof Ze&&(e._eventPhase=t,e._currentTarget=i)}function Ue(e,t,i,...o){const n="string"==typeof t?e.get(t):$e(e,t);return!!n&&(n.fire(i,...o),i.stop.called)}function $e(e,t){for(const[i,o]of e)if("function"==typeof i&&i(t))return o;return null}function qe(e){return e[He]||(e[He]=new Map),e[He]}class Ke extends(We((0,x.ObservableMixin)())){constructor(e){super(),this._postFixers=new Set,this.selection=new Fe,this.roots=new x.Collection({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.map((e=>e.destroy())),this.stopListening()}_callPostFixers(e){let t=!1;do{for(const i of this._postFixers)if(t=i(e),t)break}while(t)}}class Ge extends Se{constructor(e,t,i,o){super(e,t,i,o),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=Je}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new x.CKEditorError("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 Je(){if(Ye(this))return null;let e=this.parent;for(;e&&e.is("attributeElement");){if(Ye(e)>1)return null;e=e.parent}return!e||Ye(e)>1?null:this.childCount}function Ye(e){return Array.from(e.getChildren()).filter((e=>!e.is("uiElement"))).length}Ge.DEFAULT_PRIORITY=10,Ge.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 Qe extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=Xe}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new x.CKEditorError("view-emptyelement-cannot-add",[this,t]);return 0}}function Xe(){return null}Qe.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 et extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=tt}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new x.CKEditorError("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 tt(){return null}et.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 it extends Se{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=ot}_insertChild(e,t){if(t&&(t instanceof S||Array.from(t).length>0))throw new x.CKEditorError("view-rawelement-cannot-add",[this,t]);return 0}render(e,t){}}function ot(){return null}it.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 nt extends((0,x.EmitterMixin)(A)){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(){}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 i=0;const o=function(e,t){return"string"==typeof t?[new P(e,t)]:((0,x.isIterable)(t)||(t=[t]),Array.from(t).map((t=>"string"==typeof t?new P(e,t):t instanceof I?new P(e,t.data):t)))}(this.document,t);for(const t of o)null!==t.parent&&t._remove(),t.parent=this,this._children.splice(e,0,t),e++,i++;return i}_removeChildren(e,t=1){this._fireChange("children",this);for(let i=e;i<e+t;i++)this._children[i].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)}}nt.prototype.is=function(e){return"documentFragment"===e||"view:documentFragment"===e};class rt{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 nt(this.document,e)}createText(e){return new P(this.document,e)}createAttributeElement(e,t,i={}){const o=new Ge(this.document,e,t);return"number"==typeof i.priority&&(o._priority=i.priority),i.id&&(o._id=i.id),i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createContainerElement(e,t,i={},o={}){let n=null;(0,V.Z)(i)?o=i:n=i;const r=new Ie(this.document,e,t,n);return o.renderUnsafeAttributes&&r._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),r}createEditableElement(e,t,i={}){const o=new Re(this.document,e,t);return i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createEmptyElement(e,t,i={}){const o=new Qe(this.document,e,t);return i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createUIElement(e,t,i){const o=new et(this.document,e,t);return i&&(o.render=i),o}createRawElement(e,t,i,o={}){const n=new it(this.document,e,t);return i&&(n.render=i),o.renderUnsafeAttributes&&n._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),n}setAttribute(e,t,i){i._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,i){(0,V.Z)(e)&&void 0===i?t._setStyle(e):i._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,i){i._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}breakAttributes(e){return e instanceof ze?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const t=e.parent;if(!t.is("containerElement"))throw new x.CKEditorError("view-writer-break-non-container-element",this.document);if(!t.parent)throw new x.CKEditorError("view-writer-break-root",this.document);if(e.isAtStart)return ze._createBefore(t);if(!e.isAtEnd){const i=t._clone(!1);this.insert(ze._createAfter(t),i);const o=new Ne(e,ze._createAt(t,"end")),n=new ze(i,0);this.move(o,n)}return ze._createAfter(t)}mergeAttributes(e){const t=e.offset,i=e.parent;if(i.is("$text"))return e;if(i.is("attributeElement")&&0===i.childCount){const e=i.parent,t=i.index;return i._remove(),this._removeFromClonedElementsGroup(i),this.mergeAttributes(new ze(e,t))}const o=i.getChild(t-1),n=i.getChild(t);if(!o||!n)return e;if(o.is("$text")&&n.is("$text"))return ct(o,n);if(o.is("attributeElement")&&n.is("attributeElement")&&o.isSimilar(n)){const e=o.childCount;return o._appendChild(n.getChildren()),n._remove(),this._removeFromClonedElementsGroup(n),this.mergeAttributes(new ze(o,e))}return e}mergeContainers(e){const t=e.nodeBefore,i=e.nodeAfter;if(!(t&&i&&t.is("containerElement")&&i.is("containerElement")))throw new x.CKEditorError("view-writer-merge-containers-invalid-position",this.document);const o=t.getChild(t.childCount-1),n=o instanceof P?ze._createAt(o,"end"):ze._createAt(t,"end");return this.move(Ne._createIn(i),ze._createAt(t,"end")),this.remove(Ne._createOn(i)),n}insert(e,t){ut(t=(0,x.isIterable)(t)?[...t]:[t],this.document);const i=t.reduce(((e,t)=>{const i=e[e.length-1],o=!t.is("uiElement");return i&&i.breakAttributes==o?i.nodes.push(t):e.push({breakAttributes:o,nodes:[t]}),e}),[]);let o=null,n=e;for(const{nodes:e,breakAttributes:t}of i){const i=this._insertNodes(n,e,t);o||(o=i.start),n=i.end}return o?new Ne(o,n):new Ne(e)}remove(e){const t=e instanceof Ne?e:Ne._createOn(e);if(mt(t,this.document),t.isCollapsed)return new nt(this.document);const{start:i,end:o}=this._breakAttributesRange(t,!0),n=i.parent,r=o.offset-i.offset,s=n._removeChildren(i.offset,r);for(const e of s)this._removeFromClonedElementsGroup(e);const a=this.mergeAttributes(i);return t.start=a,t.end=a.clone(),new nt(this.document,s)}clear(e,t){mt(e,this.document);const i=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const o of i){const i=o.item;let n;if(i.is("element")&&t.isSimilar(i))n=Ne._createOn(i);else if(!o.nextPosition.isAfter(e.start)&&i.is("$textProxy")){const e=i.getAncestors().find((e=>e.is("element")&&t.isSimilar(e)));e&&(n=Ne._createIn(e))}n&&(n.end.isAfter(e.end)&&(n.end=e.end),n.start.isBefore(e.start)&&(n.start=e.start),this.remove(n))}}move(e,t){let i;if(t.isAfter(e.end)){const o=(t=this._breakAttributes(t,!0)).parent,n=o.childCount;e=this._breakAttributesRange(e,!0),i=this.remove(e),t.offset+=o.childCount-n}else i=this.remove(e);return this.insert(t,i)}wrap(e,t){if(!(t instanceof Ge))throw new x.CKEditorError("view-writer-wrap-invalid-attribute",this.document);if(mt(e,this.document),e.isCollapsed){let o=e.start;o.parent.is("element")&&(i=o.parent,!Array.from(i.getChildren()).some((e=>!e.is("uiElement"))))&&(o=o.getLastMatchingPosition((e=>e.item.is("uiElement")))),o=this._wrapPosition(o,t);const n=this.document.selection;return n.isCollapsed&&n.getFirstPosition().isEqual(e.start)&&this.setSelection(o),new Ne(o)}return this._wrapRange(e,t);var i}unwrap(e,t){if(!(t instanceof Ge))throw new x.CKEditorError("view-writer-unwrap-invalid-attribute",this.document);if(mt(e,this.document),e.isCollapsed)return e;const{start:i,end:o}=this._breakAttributesRange(e,!0),n=i.parent,r=this._unwrapChildren(n,i.offset,o.offset,t),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new Ne(s,a)}rename(e,t){const i=new Ie(this.document,e,t.getAttributes());return this.insert(ze._createAfter(t),i),this.move(Ne._createIn(t),ze._createAt(i,0)),this.remove(Ne._createOn(t)),i}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,t){return ze._createAt(e,t)}createPositionAfter(e){return ze._createAfter(e)}createPositionBefore(e){return ze._createBefore(e)}createRange(e,t){return new Ne(e,t)}createRangeOn(e){return Ne._createOn(e)}createRangeIn(e){return Ne._createIn(e)}createSelection(...e){return new Le(...e)}createSlot(e="children"){if(!this._slotFactory)throw new x.CKEditorError("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,i){let o,n;if(o=i?st(e):e.parent.is("$text")?e.parent.parent:e.parent,!o)throw new x.CKEditorError("view-writer-invalid-position-container",this.document);n=i?this._breakAttributes(e,!0):e.parent.is("$text")?lt(e):e;const r=o._insertChild(n.offset,t);for(const e of t)this._addToClonedElementsGroup(e);const s=n.getShiftedBy(r),a=this.mergeAttributes(n);a.isEqual(n)||s.offset--;const l=this.mergeAttributes(s);return new Ne(a,l)}_wrapChildren(e,t,i,o){let n=t;const r=[];for(;n<i;){const t=e.getChild(n),i=t.is("$text"),l=t.is("attributeElement");if(l&&this._wrapAttributeElement(o,t))r.push(new ze(e,n));else if(i||!l||(a=t,(s=o).priority<a.priority||!(s.priority>a.priority)&&s.getIdentity()<a.getIdentity())){const i=o._clone();t._remove(),i._appendChild(t),e._insertChild(n,i),this._addToClonedElementsGroup(i),r.push(new ze(e,n))}else this._wrapChildren(t,0,t.childCount,o);n++}var s,a;let l=0;for(const e of r)e.offset-=l,e.offset!=t&&(this.mergeAttributes(e).isEqual(e)||(l++,i--));return Ne._createFromParentsAndOffsets(e,t,e,i)}_unwrapChildren(e,t,i,o){let n=t;const r=[];for(;n<i;){const t=e.getChild(n);if(t.is("attributeElement"))if(t.isSimilar(o)){const o=t.getChildren(),s=t.childCount;t._remove(),e._insertChild(n,o),this._removeFromClonedElementsGroup(t),r.push(new ze(e,n),new ze(e,n+s)),n+=s,i+=s-1}else this._unwrapAttributeElement(o,t)?(r.push(new ze(e,n),new ze(e,n+1)),n++):(this._unwrapChildren(t,0,t.childCount,o),n++);else n++}let s=0;for(const e of r)e.offset-=s,e.offset!=t&&e.offset!=i&&(this.mergeAttributes(e).isEqual(e)||(s++,i--));return Ne._createFromParentsAndOffsets(e,t,e,i)}_wrapRange(e,t){const{start:i,end:o}=this._breakAttributesRange(e,!0),n=i.parent,r=this._wrapChildren(n,i.offset,o.offset,t),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new Ne(s,a)}_wrapPosition(e,t){if(t.isSimilar(e.parent))return at(e.clone());e.parent.is("$text")&&(e=lt(e));const i=this.createAttributeElement("_wrapPosition-fake-element");i._priority=Number.POSITIVE_INFINITY,i.isSimilar=()=>!1,e.parent._insertChild(e.offset,i);const o=new Ne(e,e.getShiftedBy(1));this.wrap(o,t);const n=new ze(i.parent,i.index);i._remove();const r=n.nodeBefore,s=n.nodeAfter;return r instanceof P&&s instanceof P?ct(r,s):at(n)}_wrapAttributeElement(e,t){if(!gt(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const i of e.getAttributeKeys())if("class"!==i&&"style"!==i&&t.hasAttribute(i)&&t.getAttribute(i)!==e.getAttribute(i))return!1;for(const i of e.getStyleNames())if(t.hasStyle(i)&&t.getStyle(i)!==e.getStyle(i))return!1;for(const i of e.getAttributeKeys())"class"!==i&&"style"!==i&&(t.hasAttribute(i)||this.setAttribute(i,e.getAttribute(i),t));for(const i of e.getStyleNames())t.hasStyle(i)||this.setStyle(i,e.getStyle(i),t);for(const i of e.getClassNames())t.hasClass(i)||this.addClass(i,t);return!0}_unwrapAttributeElement(e,t){if(!gt(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const i of e.getAttributeKeys())if("class"!==i&&"style"!==i&&(!t.hasAttribute(i)||t.getAttribute(i)!==e.getAttribute(i)))return!1;if(!t.hasClass(...e.getClassNames()))return!1;for(const i of e.getStyleNames())if(!t.hasStyle(i)||t.getStyle(i)!==e.getStyle(i))return!1;for(const i of e.getAttributeKeys())"class"!==i&&"style"!==i&&this.removeAttribute(i,t);return this.removeClass(Array.from(e.getClassNames()),t),this.removeStyle(Array.from(e.getStyleNames()),t),!0}_breakAttributesRange(e,t=!1){const i=e.start,o=e.end;if(mt(e,this.document),e.isCollapsed){const i=this._breakAttributes(e.start,t);return new Ne(i,i)}const n=this._breakAttributes(o,t),r=n.parent.childCount,s=this._breakAttributes(i,t);return n.offset+=n.parent.childCount-r,new Ne(s,n)}_breakAttributes(e,t=!1){const i=e.offset,o=e.parent;if(e.parent.is("emptyElement"))throw new x.CKEditorError("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new x.CKEditorError("view-writer-cannot-break-ui-element",this.document);if(e.parent.is("rawElement"))throw new x.CKEditorError("view-writer-cannot-break-raw-element",this.document);if(!t&&o.is("$text")&&ht(o.parent))return e.clone();if(ht(o))return e.clone();if(o.is("$text"))return this._breakAttributes(lt(e),t);if(i==o.childCount){const e=new ze(o.parent,o.index+1);return this._breakAttributes(e,t)}if(0===i){const e=new ze(o.parent,o.index);return this._breakAttributes(e,t)}{const e=o.index+1,n=o._clone();o.parent._insertChild(e,n),this._addToClonedElementsGroup(n);const r=o.childCount-i,s=o._removeChildren(i,r);n._appendChild(s);const a=new ze(o.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 i=this._cloneGroups.get(t);i||(i=new Set,this._cloneGroups.set(t,i)),i.add(e),e._clonesGroup=i}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const t of e.getChildren())this._removeFromClonedElementsGroup(t);const t=e.id;if(!t)return;const i=this._cloneGroups.get(t);i&&i.delete(e)}}function st(e){let t=e.parent;for(;!ht(t);){if(!t)return;t=t.parent}return t}function at(e){const t=e.nodeBefore;if(t&&t.is("$text"))return new ze(t,t.data.length);const i=e.nodeAfter;return i&&i.is("$text")?new ze(i,0):e}function lt(e){if(e.offset==e.parent.data.length)return new ze(e.parent.parent,e.parent.index+1);if(0===e.offset)return new ze(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 P(e.root.document,t)),new ze(e.parent.parent,e.parent.index+1)}function ct(e,t){const i=e.data.length;return e._data+=t.data,t._remove(),new ze(e,i)}const dt=[P,Ge,Ie,Qe,it,et];function ut(e,t){for(const i of e){if(!dt.some((e=>i instanceof e)))throw new x.CKEditorError("view-writer-insert-invalid-node-type",t);i.is("$text")||ut(i.getChildren(),t)}}function ht(e){return e&&(e.is("containerElement")||e.is("documentFragment"))}function mt(e,t){const i=st(e.start),o=st(e.end);if(!i||!o||i!==o)throw new x.CKEditorError("view-writer-invalid-range-container",t)}function gt(e,t){return null===e.id&&null===t.id}const pt=e=>e.createTextNode(" "),ft=e=>{const t=e.createElement("span");return t.dataset.ckeFiller="true",t.innerText=" ",t},bt=e=>{const t=e.createElement("br");return t.dataset.ckeFiller="true",t},wt=7,kt="⁠".repeat(wt);function _t(e){return(0,x.isText)(e)&&e.data.substr(0,wt)===kt}function vt(e){return e.data.length==wt&&_t(e)}function yt(e){return _t(e)?e.data.slice(wt):e.data}function Ct(e,t){if(t.keyCode==x.keyCodes.arrowleft){const e=t.domTarget.ownerDocument.defaultView.getSelection();if(1==e.rangeCount&&e.getRangeAt(0).collapsed){const t=e.getRangeAt(0).startContainer,i=e.getRangeAt(0).startOffset;_t(t)&&i<=wt&&e.collapse(t,0)}}}var xt=i(5037),At={attributes:{"data-cke":!0}};At.setAttributes=d(),At.insert=l().bind(null,"head"),At.domAPI=s(),At.insertStyleElement=h(),n()(xt.Z,At),xt.Z&&xt.Z.locals&&xt.Z.locals;class Et extends((0,x.ObservableMixin)()){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),x.env.isBlink&&!x.env.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()})),this.set("isComposing",!1),this.on("change:isComposing",(()=>{this.isComposing||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 x.CKEditorError("view-renderer-unknown-type",this);this.markedChildren.add(t)}}}render(){if(this.isComposing&&!x.env.isAndroid)return;let e=null;const t=!(x.env.isBlink&&!x.env.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=ze._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),i=t.parent.ownerDocument;_t(t.parent)?this._inlineFiller=t.parent:this._inlineFiller=Tt(i,t.parent,t.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){if(!this.domConverter.mapViewToDom(e))return;const t=Array.from(this.domConverter.mapViewToDom(e).childNodes),i=Array.from(this.domConverter.viewChildrenToDom(e,{withChildren:!1})),o=this._diffNodeLists(t,i),n=this._findUpdateActions(o,t,i,St);if(-1!==n.indexOf("update")){const o={equal:0,insert:0,delete:0};for(const r of n)if("update"===r){const n=o.equal+o.insert,r=o.equal+o.delete,s=e.getChild(n);!s||s.is("uiElement")||s.is("rawElement")||this._updateElementMappings(s,t[r]),(0,x.remove)(i[n]),o.equal++}else o[r]++}}_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")?ze._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,x.isText)(t.parent)&&_t(t.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!_t(e))throw new x.CKEditorError("view-renderer-filler-was-lost",this);vt(e)?e.remove():e.data=e.data.substr(wt),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=e.parent,i=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;if(i===t.getFillerOffset())return!1;const o=e.nodeBefore,n=e.nodeAfter;return!(o instanceof P||n instanceof P||x.env.isAndroid&&(o||n))}_updateText(e,t){const i=this.domConverter.findCorrespondingDomText(e);let o=this.domConverter.viewToDom(e).data;const n=t.inlineFillerPosition;n&&n.parent==e.parent&&n.offset==e.index&&(o=kt+o),Vt(i,o)}_updateAttrs(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const i=Array.from(t.attributes).map((e=>e.name)),o=e.getAttributeKeys();for(const i of o)this.domConverter.setDomElementAttribute(t,i,e.getAttribute(i),e);for(const o of i)e.hasAttribute(o)||this.domConverter.removeDomElementAttribute(t,o)}_updateChildren(e,t){const i=this.domConverter.mapViewToDom(e);if(!i)return;if(x.env.isAndroid){let e=null;for(const t of Array.from(i.childNodes)){if(e&&(0,x.isText)(e)&&(0,x.isText)(t)){i.normalize();break}e=t}}const o=t.inlineFillerPosition,n=i.childNodes,r=Array.from(this.domConverter.viewChildrenToDom(e,{bind:!0}));o&&o.parent===e&&Tt(i.ownerDocument,r,o.offset);const s=this._diffNodeLists(n,r),a=this._findUpdateActions(s,n,r,Pt);let l=0;const c=new Set;for(const e of a)"delete"===e?(c.add(n[l]),(0,x.remove)(n[l])):"equal"!==e&&"update"!==e||l++;l=0;for(const e of a)"insert"===e?((0,x.insertAt)(i,l,r[l]),l++):"update"===e?(Vt(n[l],r[l].data),l++):"equal"===e&&(this._markDescendantTextToSync(this.domConverter.domToView(r[l])),l++);for(const e of c)e.parentNode||this.domConverter.unbindDomElement(e)}_diffNodeLists(e,t){return e=function(e,t){const i=Array.from(e);if(0==i.length||!t)return i;return i[i.length-1]==t&&i.pop(),i}(e,this._fakeSelectionContainer),(0,x.diff)(e,t,It.bind(null,this.domConverter))}_findUpdateActions(e,t,i,o){if(-1===e.indexOf("insert")||-1===e.indexOf("delete"))return e;let n=[],r=[],s=[];const a={equal:0,insert:0,delete:0};for(const l of e)"insert"===l?s.push(i[a.equal+a.insert]):"delete"===l?r.push(t[a.equal+a.delete]):(n=n.concat((0,x.diff)(r,s,o).map((e=>"equal"===e?"update":e))),n.push("equal"),r=[],s=[]),a[l]++;return n.concat((0,x.diff)(r,s,o).map((e=>"equal"===e?"update":e)))}_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(x.env.isBlink&&!x.env.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&&x.env.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 i=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(i,this.selection),!this._fakeSelectionNeedsUpdate(e))return;i.parentElement&&i.parentElement==e||e.appendChild(i),i.textContent=this.selection.fakeSelectionLabel||" ";const o=t.getSelection(),n=t.createRange();o.removeAllRanges(),n.selectNodeContents(i),o.addRange(n)}_updateDomSelection(e){const t=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(t))return;const i=this.domConverter.viewPositionToDom(this.selection.anchor),o=this.domConverter.viewPositionToDom(this.selection.focus);t.collapse(i.parent,i.offset),t.extend(o.parent,o.offset),x.env.isGecko&&function(e,t){const i=e.parent;if(i.nodeType!=Node.ELEMENT_NODE||e.offset!=i.childNodes.length-1)return;const o=i.childNodes[e.offset];o&&"BR"==o.tagName&&t.addRange(t.getRangeAt(0))}(o,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,i=e.ownerDocument.getSelection();return!t||t.parentElement!==e||i.anchorNode!==t&&!t.contains(i.anchorNode)||t.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const e of this.domDocuments){const t=e.getSelection();if(t.rangeCount){const i=e.activeElement,o=this.domConverter.mapDomToView(i);i&&o&&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,i){const o=t instanceof Array?t:t.childNodes,n=o[i];if((0,x.isText)(n))return n.data=kt+n.data,n;{const n=e.createTextNode(kt);return Array.isArray(t)?o.splice(i,0,n):(0,x.insertAt)(t,i,n),n}}function St(e,t){return(0,x.isNode)(e)&&(0,x.isNode)(t)&&!(0,x.isText)(e)&&!(0,x.isText)(t)&&!(0,x.isComment)(e)&&!(0,x.isComment)(t)&&e.tagName.toLowerCase()===t.tagName.toLowerCase()}function Pt(e,t){return(0,x.isNode)(e)&&(0,x.isNode)(t)&&(0,x.isText)(e)&&(0,x.isText)(t)}function It(e,t,i){return t===i||((0,x.isText)(t)&&(0,x.isText)(i)?t.data===i.data:!(!e.isBlockFiller(t)||!e.isBlockFiller(i)))}function Vt(e,t){const i=e.data;if(i==t)return;const o=(0,x.fastDiff)(i,t);for(const t of o)"insert"===t.type?e.insertData(t.index,t.values.join("")):e.deleteData(t.index,t.howMany)}const Rt=bt(x.global.document),Ot=pt(x.global.document),Bt=ft(x.global.document),Mt="data-ck-unsafe-attribute-",zt="data-ck-unsafe-element";class Nt{constructor(e,{blockFillerMode:t,renderingMode:i="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new R,this._encounteredRawContentDomNodes=new WeakSet,this.document=e,this.renderingMode=i,this.blockFillerMode=t||("editing"===i?"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?x.global.document:x.global.document.implementation.createHTMLDocument("")}bindFakeSelection(e,t){this._fakeSelectionMapping.set(e,new Le(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,i){return"data"===this.renderingMode||!(e=e.toLowerCase()).startsWith("on")&&("srcdoc"!==e||!t.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===i&&("src"===e||"srcset"===e)||"source"===i&&"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 i=(new DOMParser).parseFromString(t,"text/html"),o=i.createDocumentFragment(),n=i.body.childNodes;for(;n.length>0;)o.appendChild(n[0]);const r=i.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),s=[];let a;for(;a=r.nextNode();)s.push(a);for(const e of s){for(const t of e.getAttributeNames())this.setDomElementAttribute(e,t,e.getAttribute(t));const t=e.tagName.toLowerCase();this._shouldRenameElement(t)&&(Ft(t),e.replaceWith(this._createReplacementDomElement(t,e)))}for(;e.firstChild;)e.firstChild.remove();e.append(o)}viewToDom(e,t={}){if(e.is("$text")){const t=this._processDataFromViewText(e);return this._domDocument.createTextNode(t)}{if(this.mapViewToDom(e))return this.mapViewToDom(e);let i;if(e.is("documentFragment"))i=this._domDocument.createDocumentFragment(),t.bind&&this.bindDocumentFragments(i,e);else{if(e.is("uiElement"))return i="$comment"===e.name?this._domDocument.createComment(e.getCustomProperty("$rawContent")):e.render(this._domDocument,this),t.bind&&this.bindElements(i,e),i;this._shouldRenameElement(e.name)?(Ft(e.name),i=this._createReplacementDomElement(e.name)):i=e.hasAttribute("xmlns")?this._domDocument.createElementNS(e.getAttribute("xmlns"),e.name):this._domDocument.createElement(e.name),e.is("rawElement")&&e.render(i,this),t.bind&&this.bindElements(i,e);for(const t of e.getAttributeKeys())this.setDomElementAttribute(i,t,e.getAttribute(t),e)}if(!1!==t.withChildren)for(const o of this.viewChildrenToDom(e,t))i.appendChild(o);return i}}setDomElementAttribute(e,t,i,o){const n=this.shouldRenderAttribute(t,i,e.tagName.toLowerCase())||o&&o.shouldRenderUnsafeAttribute(t);n||(0,x.logWarning)("domconverter-unsafe-attribute-detected",{domElement:e,key:t,value:i}),(0,x.isValidAttributeName)(t)?(e.hasAttribute(t)&&!n?e.removeAttribute(t):e.hasAttribute(Mt+t)&&n&&e.removeAttribute(Mt+t),e.setAttribute(n?t:Mt+t,i)):(0,x.logWarning)("domconverter-invalid-attribute-detected",{domElement:e,key:t,value:i})}removeDomElementAttribute(e,t){t!=zt&&(e.removeAttribute(t),e.removeAttribute(Mt+t))}*viewChildrenToDom(e,t={}){const i=e.getFillerOffset&&e.getFillerOffset();let o=0;for(const n of e.getChildren()){i===o&&(yield this._getBlockFiller());const e=n.is("element")&&!!n.getCustomProperty("dataPipeline:transparentRendering")&&!(0,x.first)(n.getAttributes());e&&"data"==this.renderingMode?yield*this.viewChildrenToDom(n,t):(e&&(0,x.logWarning)("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:n}),yield this.viewToDom(n,t)),o++}i===o&&(yield this._getBlockFiller())}viewRangeToDom(e){const t=this.viewPositionToDom(e.start),i=this.viewPositionToDom(e.end),o=this._domDocument.createRange();return o.setStart(t.parent,t.offset),o.setEnd(i.parent,i.offset),o}viewPositionToDom(e){const t=e.parent;if(t.is("$text")){const i=this.findCorrespondingDomText(t);if(!i)return null;let o=e.offset;return _t(i)&&(o+=wt),{parent:i,offset:o}}{let i,o,n;if(0===e.offset){if(i=this.mapViewToDom(t),!i)return null;n=i.childNodes[0]}else{const t=e.nodeBefore;if(o=t.is("$text")?this.findCorrespondingDomText(t):this.mapViewToDom(t),!o)return null;i=o.parentNode,n=o.nextSibling}return(0,x.isText)(n)&&_t(n)?{parent:n,offset:wt}:{parent:i,offset:o?(0,x.indexOf)(o)+1:0}}}domToView(e,t={}){if(this.isBlockFiller(e))return null;const i=this.getHostViewElement(e);if(i)return i;if((0,x.isComment)(e)&&t.skipComments)return null;if((0,x.isText)(e)){if(vt(e))return null;{const t=this._processDataFromDomText(e);return""===t?null:new P(this.document,t)}}{if(this.mapDomToView(e))return this.mapDomToView(e);let i;if(this.isDocumentFragment(e))i=new nt(this.document),t.bind&&this.bindDocumentFragments(e,i);else{i=this._createViewElement(e,t),t.bind&&this.bindElements(e,i);const o=e.attributes;if(o)for(let e=o.length,t=0;t<e;t++)i._setAttribute(o[t].name,o[t].value);if(this._isViewElementWithRawContent(i,t)||(0,x.isComment)(e)){const t=(0,x.isComment)(e)?e.data:e.innerHTML;return i._setCustomProperty("$rawContent",t),this._encounteredRawContentDomNodes.add(e),i}}if(!1!==t.withChildren)for(const o of this.domChildrenToView(e,t))i._appendChild(o);return i}}*domChildrenToView(e,t){for(let i=0;i<e.childNodes.length;i++){const o=e.childNodes[i],n=this.domToView(o,t);null!==n&&(yield n)}}domSelectionToView(e){if(1===e.rangeCount){let t=e.getRangeAt(0).startContainer;(0,x.isText)(t)&&(t=t.parentNode);const i=this.fakeSelectionToView(t);if(i)return i}const t=this.isDomSelectionBackward(e),i=[];for(let t=0;t<e.rangeCount;t++){const o=e.getRangeAt(t),n=this.domRangeToView(o);n&&i.push(n)}return new Le(i,{backward:t})}domRangeToView(e){const t=this.domPositionToView(e.startContainer,e.startOffset),i=this.domPositionToView(e.endContainer,e.endOffset);return t&&i?new Ne(t,i):null}domPositionToView(e,t=0){if(this.isBlockFiller(e))return this.domPositionToView(e.parentNode,(0,x.indexOf)(e));const i=this.mapDomToView(e);if(i&&(i.is("uiElement")||i.is("rawElement")))return ze._createBefore(i);if((0,x.isText)(e)){if(vt(e))return this.domPositionToView(e.parentNode,(0,x.indexOf)(e));const i=this.findCorrespondingViewText(e);let o=t;return i?(_t(e)&&(o-=wt,o=o<0?0:o),new ze(i,o)):null}if(0===t){const t=this.mapDomToView(e);if(t)return new ze(t,0)}else{const i=e.childNodes[t-1];if((0,x.isText)(i)&&vt(i)||i&&this.isBlockFiller(i))return this.domPositionToView(i.parentNode,(0,x.indexOf)(i));const o=(0,x.isText)(i)?this.findCorrespondingViewText(i):this.mapDomToView(i);if(o&&o.parent)return new ze(o.parent,o.index+1)}return null}mapDomToView(e){return this.getHostViewElement(e)||this._domToViewMapping.get(e)}findCorrespondingViewText(e){if(vt(e))return null;const t=this.getHostViewElement(e);if(t)return t;const i=e.previousSibling;if(i){if(!this.isElement(i))return null;const e=this.mapDomToView(i);if(e){const t=e.nextSibling;return t instanceof P?t:null}}else{const t=this.mapDomToView(e.parentNode);if(t){const e=t.getChild(0);return e instanceof P?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:i}=x.global.window,o=[];Dt(t,(e=>{const{scrollLeft:t,scrollTop:i}=e;o.push([t,i])})),t.focus(),Dt(t,(e=>{const[t,i]=o.shift();e.scrollLeft=t,e.scrollTop=i})),x.global.window.scrollTo(e,i)}}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(Rt):!("BR"!==e.tagName||!Lt(e,this.blockElements)||1!==e.parentNode.childNodes.length)||e.isEqualNode(Bt)||function(e,t){return e.isEqualNode(Ot)&&Lt(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 i=t.collapsed;return t.detach(),i}getHostViewElement(e){const t=(0,x.getAncestors)(e);for(t.pop();t.length;){const e=t.pop(),i=this._domToViewMapping.get(e);if(i&&(i.is("uiElement")||i.is("rawElement")))return i}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}registerRawContentMatcher(e){this._rawContentElementMatcher.add(e)}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return pt(this._domDocument);case"markedNbsp":return ft(this._domDocument);case"br":return bt(this._domDocument)}}_isDomSelectionPositionCorrect(e,t){if((0,x.isText)(e)&&_t(e)&&t<wt)return!1;if(this.isElement(e)&&_t(e.childNodes[t]))return!1;const i=this.mapDomToView(e);return!i||!i.is("uiElement")&&!i.is("rawElement")}_processDataFromViewText(e){let t=e.data;if(e.getAncestors().some((e=>this.preElements.includes(e.name))))return t;if(" "==t.charAt(0)){const i=this._getTouchingInlineViewNode(e,!1);!(i&&i.is("$textProxy")&&this._nodeEndsWithSpace(i))&&i||(t=" "+t.substr(1))}if(" "==t.charAt(t.length-1)){const i=this._getTouchingInlineViewNode(e,!0),o=i&&i.is("$textProxy")&&" "==i.data.charAt(0);" "!=t.charAt(t.length-2)&&i&&!o||(t=t.substr(0,t.length-1)+" ")}return t.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(e){if(e.getAncestors().some((e=>this.preElements.includes(e.name))))return!1;const t=this._processDataFromViewText(e);return" "==t.charAt(t.length-1)}_processDataFromDomText(e){let t=e.data;if(function(e,t){return(0,x.getAncestors)(e).some((e=>e.tagName&&t.includes(e.tagName.toLowerCase())))}(e,this.preElements))return yt(e);t=t.replace(/[ \n\t\r]{1,}/g," ");const i=this._getTouchingInlineDomNode(e,!1),o=this._getTouchingInlineDomNode(e,!0),n=this._checkShouldLeftTrimDomText(e,i),r=this._checkShouldRightTrimDomText(e,o);n&&(t=t.replace(/^ /,"")),r&&(t=t.replace(/ $/,"")),t=yt(new Text(t)),t=t.replace(/ \u00A0/g,"  ");const s=o&&this.isElement(o)&&"BR"!=o.tagName,a=o&&(0,x.isText)(o)&&" "==o.data.charAt(0);return(/( |\u00A0)\u00A0$/.test(t)||!o||s||a)&&(t=t.replace(/\u00A0$/," ")),(n||i&&this.isElement(i)&&"BR"!=i.tagName)&&(t=t.replace(/^\u00A0/," ")),t}_checkShouldLeftTrimDomText(e,t){return!t||(this.isElement(t)?"BR"===t.tagName:!this._encounteredRawContentDomNodes.has(e.previousSibling)&&/[^\S\u00A0]/.test(t.data.charAt(t.data.length-1)))}_checkShouldRightTrimDomText(e,t){return!t&&!_t(e)}_getTouchingInlineViewNode(e,t){const i=new Me({startPosition:t?ze._createAfter(e):ze._createBefore(e),direction:t?"forward":"backward"});for(const e of i){if(e.item.is("element")&&this.inlineObjectElements.includes(e.item.name))return e.item;if(e.item.is("containerElement"))return null;if(e.item.is("element","br"))return null;if(e.item.is("$textProxy"))return e.item}return null}_getTouchingInlineDomNode(e,t){if(!e.parentNode)return null;const i=t?"firstChild":"lastChild",o=t?"nextSibling":"previousSibling";let n=!0,r=e;do{if(!n&&r[i]?r=r[i]:r[o]?(r=r[o],n=!1):(r=r.parentNode,n=!0),!r||this._isBlockElement(r))return null}while(!(0,x.isText)(r)&&"BR"!=r.tagName&&!this._isInlineObjectElement(r));return r}_isBlockElement(e){return this.isElement(e)&&this.blockElements.includes(e.tagName.toLowerCase())}_isInlineObjectElement(e){return this.isElement(e)&&this.inlineObjectElements.includes(e.tagName.toLowerCase())}_createViewElement(e,t){if((0,x.isComment)(e))return new et(this.document,"$comment");const i=t.keepOriginalCase?e.tagName:e.tagName.toLowerCase();return new Se(this.document,i)}_isViewElementWithRawContent(e,t){return!1!==t.withChildren&&!!this._rawContentElementMatcher.match(e)}_shouldRenameElement(e){const t=e.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(t)}_createReplacementDomElement(e,t){const i=this._domDocument.createElement("span");if(i.setAttribute(zt,e),t){for(;t.firstChild;)i.appendChild(t.firstChild);for(const e of t.getAttributeNames())i.setAttribute(e,t.getAttribute(e))}return i}}function Dt(e,t){let i=e;for(;i;)t(i),i=i.parentElement}function Lt(e,t){const i=e.parentNode;return!!i&&!!i.tagName&&t.includes(i.tagName.toLowerCase())}function Ft(e){"script"===e&&(0,x.logWarning)("domconverter-unsafe-script-element-detected"),"style"===e&&(0,x.logWarning)("domconverter-unsafe-style-element-detected")}class Zt extends((0,x.DomEmitterMixin)()){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 Ht=i(207);class Wt{constructor(e,t,i){this.view=e,this.document=e.document,this.domEvent=t,this.domTarget=t.target,(0,Ht.Z)(this,i)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class jt extends Zt{constructor(){super(...arguments),this.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,i){this.isEnabled&&this.document.fire(e,new Wt(this.view,t,i))}}class Ut extends jt{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,x.getCode)(this)}};this.fire(e.type,e,t)}}var $t=i(6682);class qt extends Zt{constructor(e){super(e),this._fireSelectionChangeDoneDebounced=(0,$t.Z)((e=>{this.document.fire("selectionChangeDone",e)}),200)}observe(){const e=this.document;e.on("arrowKey",((t,i)=>{e.selection.isFake&&this.isEnabled&&i.preventDefault()}),{context:"$capture"}),e.on("arrowKey",((t,i)=>{e.selection.isFake&&this.isEnabled&&this._handleSelectionMove(i.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const t=this.document.selection,i=new Le(t.getRanges(),{backward:t.isBackward,fake:!1});e!=x.keyCodes.arrowleft&&e!=x.keyCodes.arrowup||i.setTo(i.getFirstPosition()),e!=x.keyCodes.arrowright&&e!=x.keyCodes.arrowdown||i.setTo(i.getLastPosition());const o={oldSelection:t,newSelection:i,domSelection:null};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}var Kt=i(1152);const Gt=function(e,t,i){var o=(i="function"==typeof i?i:void 0)?i(e,t):void 0;return void 0===o?(0,Kt.Z)(e,t,void 0,i):!!o};class Jt extends Zt{constructor(e){super(e),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=e.domConverter,this.renderer=e._renderer,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,i=new Set,o=new Set;for(const i of e){const e=t.mapDomToView(i.target);e&&(e.is("uiElement")||e.is("rawElement")||"childList"!==i.type||this._isBogusBrMutation(i)||o.add(e))}for(const n of e){const e=t.mapDomToView(n.target);if((!e||!e.is("uiElement")&&!e.is("rawElement"))&&"characterData"===n.type){const e=t.findCorrespondingViewText(n.target);e&&!o.has(e.parent)?i.add(e):!e&&_t(n.target)&&o.add(t.mapDomToView(n.target.parentNode))}}let n=!1;for(const e of i)n=!0,this.renderer.markToSync("text",e);for(const e of o){const i=t.mapViewToDom(e),o=Array.from(e.getChildren()),r=Array.from(t.domChildrenToView(i,{withChildren:!1}));Gt(o,r,Yt)||(n=!0,this.renderer.markToSync("children",e))}n&&this.view.forceRender()}_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 Yt(e,t){if(!Array.isArray(e))return e===t||!(!e.is("$text")||!t.is("$text"))&&e.data===t.data}class Qt extends jt{constructor(e){super(e),this._isFocusChanging=!1,this.domEventType=["focus","blur"],this.useCapture=!0;const t=this.document;t.on("focus",(()=>{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this.flush(),e.change((()=>{}))}),50)})),t.on("blur",((i,o)=>{const n=t.selection.editableElement;null!==n&&n!==o.target||(t.isFocused=!1,this._isFocusChanging=!1,e.change((()=>{})))}))}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(e){this.fire(e.type,e)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class Xt extends Zt{constructor(e){super(e),this.mutationObserver=e.getObserver(Jt),this.focusObserver=e.getObserver(Qt),this.selection=this.document.selection,this.domConverter=e.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=(0,$t.Z)((e=>{this.document.fire("selectionChangeDone",e)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=(0,$t.Z)((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(e){const t=e.ownerDocument,i=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,t),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(e,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(e,"keydown",i,{priority:"highest",useCapture:!0}),this.listenTo(e,"keyup",i,{priority:"highest",useCapture:!0}),this._documents.has(t)||(this.listenTo(t,"mouseup",i,{priority:"highest",useCapture:!0}),this.listenTo(t,"selectionchange",((e,i)=>{this.document.isComposing&&!x.env.isAndroid||(this._handleSelectionChange(i,t),this._documentIsSelectingInactivityTimeoutDebounced())})),this._documents.add(t))}stopObserving(e){this.stopListening(e)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(e,t){if(!this.isEnabled)return;const i=t.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(i.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(i);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(i))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.focusObserver.flush(),this.selection.isSimilar(o))this.view.forceRender();else{const e={oldSelection:this.selection,newSelection:o,domSelection:i};this.document.fire("selectionChange",e),this._fireSelectionChangeDoneDebounced(e)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class ei extends jt{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 ti{constructor(e,t={}){this._files=t.cacheFiles?ii(e):null,this._native=e}get files(){return this._files||(this._files=ii(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,i){this._native.setDragImage(e,t,i)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function ii(e){const t=Array.from(e.files||[]),i=Array.from(e.items||[]);return t.length?t:i.filter((e=>"file"===e.kind)).map((e=>e.getAsFile()))}class oi extends jt{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(e){const t=e.getTargetRanges(),i=this.view,o=i.document;let n=null,r=null,s=[];if(e.dataTransfer&&(n=new ti(e.dataTransfer)),null!==e.data?r=e.data:n&&(r=n.getData("text/plain")),o.selection.isFake)s=Array.from(o.selection.getRanges());else if(t.length)s=t.map((e=>{const t=i.domConverter.domPositionToView(e.startContainer,e.startOffset),o=i.domConverter.domPositionToView(e.endContainer,e.endOffset);return t?i.createRange(t,o):o?i.createRange(o):void 0})).filter((e=>!!e));else if(x.env.isAndroid){const t=e.target.ownerDocument.defaultView.getSelection();s=Array.from(i.domConverter.domSelectionToView(t).getRanges())}if(x.env.isAndroid&&"insertCompositionText"==e.inputType&&r&&r.endsWith("\n"))this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:[i.createRange(s[0].end)]});else if("insertText"==e.inputType&&r&&r.includes("\n")){const t=r.split(/\n{1,2}/g);let i=s;for(let r=0;r<t.length;r++){const s=t[r];""!=s&&(this.fire(e.type,e,{data:s,dataTransfer:n,targetRanges:i,inputType:e.inputType,isComposing:e.isComposing}),i=[o.selection.getFirstRange()]),r+1<t.length&&(this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:i}),i=[o.selection.getFirstRange()])}}else this.fire(e.type,e,{data:r,dataTransfer:n,targetRanges:s,inputType:e.inputType,isComposing:e.isComposing})}}class ni extends Zt{constructor(e){super(e),this.document.on("keydown",((e,t)=>{if(this.isEnabled&&(0,x.isArrowKeyCode)(t.keyCode)){const i=new Ze(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(i,t),i.stop.called&&e.stop()}}))}observe(){}stopObserving(){}}class ri extends Zt{constructor(e){super(e);const t=this.document;t.on("keydown",((e,i)=>{if(!this.isEnabled||i.keyCode!=x.keyCodes.tab||i.ctrlKey)return;const o=new Ze(t,"tab",t.selection.getFirstRange());t.fire(o,i),o.stop.called&&e.stop()}))}observe(){}stopObserving(){}}const si=function(e){return(0,E.Z)(e,5)};class ai extends((0,x.ObservableMixin)()){constructor(e){var t;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 Ke(e),this.domConverter=new Nt(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 rt(this.document),this.addObserver(Jt),this.addObserver(Qt),this.addObserver(Xt),this.addObserver(Ut),this.addObserver(qt),this.addObserver(ei),this.addObserver(ni),this.addObserver(oi),this.addObserver(ri),this.document.on("arrowKey",Ct,{priority:"low"}),(t=this).document.on("arrowKey",((e,i)=>function(e,t,i){if(t.keyCode==x.keyCodes.arrowright){const e=t.domTarget.ownerDocument.defaultView.getSelection(),o=1==e.rangeCount&&e.getRangeAt(0).collapsed;if(o||t.shiftKey){const t=e.focusNode,n=e.focusOffset,r=i.domPositionToView(t,n);if(null===r)return;let s=!1;const a=r.getLastMatchingPosition((e=>(e.item.is("uiElement")&&(s=!0),!(!e.item.is("uiElement")&&!e.item.is("attributeElement")))));if(s){const t=i.viewPositionToDom(a);o?e.collapse(t.parent,t.offset):e.extend(t.parent,t.offset)}}}}(0,i,t.domConverter)),{priority:"low"}),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}))}attachDomRoot(e,t="main"){const i=this.document.getRoot(t);i._name=e.tagName.toLowerCase();const o={};for(const{name:t,value:n}of Array.from(e.attributes))o[t]=n,"class"===t?this._writer.addClass(n.split(" "),i):this._writer.setAttribute(t,n,i);this._initialDomRootAttributes.set(e,o);const n=()=>{this._writer.setAttribute("contenteditable",(!i.isReadOnly).toString(),i),i.isReadOnly?this._writer.addClass("ck-read-only",i):this._writer.removeClass("ck-read-only",i)};n(),this.domRoots.set(t,e),this.domConverter.bindElements(e,i),this._renderer.markToSync("children",i),this._renderer.markToSync("attributes",i),this._renderer.domDocuments.add(e.ownerDocument),i.on("change:children",((e,t)=>this._renderer.markToSync("children",t))),i.on("change:attributes",((e,t)=>this._renderer.markToSync("attributes",t))),i.on("change:text",((e,t)=>this._renderer.markToSync("text",t))),i.on("change:isReadOnly",(()=>this.change(n))),i.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const i of this._observers.values())i.observe(e,t)}detachDomRoot(e){const t=this.domRoots.get(e);Array.from(t.attributes).forEach((({name:e})=>t.removeAttribute(e)));const i=this._initialDomRootAttributes.get(t);for(const e in i)t.setAttribute(e,i[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,i]of this.domRoots)t.observe(i,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:i=20,ancestorOffset:o=20}={}){const n=this.document.selection.getFirstRange();if(!n)return;const r=si({alignToTop:e,forceScroll:t,viewportOffset:i,ancestorOffset:o});"number"==typeof i&&(i={top:i,bottom:i,left:i,right:i});const s={target:this.domConverter.viewRangeToDom(n),viewportOffset:i,ancestorOffset:o,alignToTop:e,forceScroll:t};this.fire("scrollToTheSelection",s,r),(0,x.scrollViewportToShowTarget)(s)}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 x.CKEditorError("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){x.CKEditorError.rethrowUnexpectedError(e,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(Qt).flush(),this.change((()=>{}))}destroy(){for(const e of this._observers.values())e.destroy();this.document.destroy(),this.stopListening()}createPositionAt(e,t){return ze._createAt(e,t)}createPositionAfter(e){return ze._createAfter(e)}createPositionBefore(e){return ze._createBefore(e)}createRange(e,t){return new Ne(e,t)}createRangeOn(e){return Ne._createOn(e)}createRangeIn(e){return Ne._createIn(e)}createSelection(...e){return new Le(...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 li{is(){throw new Error("is() method is abstract")}}class ci extends li{constructor(e){super(),this.parent=null,this._attrs=(0,x.toMap)(e)}get document(){return null}get index(){let e;if(!this.parent)return null;if(null===(e=this.parent.getChildIndex(this)))throw new x.CKEditorError("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 x.CKEditorError("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 i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}getCommonAncestor(e,t={}){const i=this.getAncestors(t),o=e.getAncestors(t);let n=0;for(;i[n]==o[n]&&i[n];)n++;return 0===n?null:i[n-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),i=e.getPath(),o=(0,x.compareArrays)(t,i);switch(o){case"prefix":return!0;case"extension":return!1;default:return t[o]<i[o]}}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,x.toMap)(e)}_removeAttribute(e){return this._attrs.delete(e)}_clearAttributes(){this._attrs.clear()}}ci.prototype.is=function(e){return"node"===e||"model:node"===e};class di{constructor(e){this._nodes=[],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 x.CKEditorError("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(t)}offsetToIndex(e){let t=0;for(const i of this._nodes){if(e>=t&&e<t+i.offsetSize)return this.getNodeIndex(i);t+=i.offsetSize}if(t!=e)throw new x.CKEditorError("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 ci))throw new x.CKEditorError("model-nodelist-insertnodes-not-node",this);this._nodes=(0,x.spliceArray)(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 ui extends ci{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 ui(this.data,this.getAttributes())}static fromJSON(e){return new ui(e.data,e.attributes)}}ui.prototype.is=function(e){return"$text"===e||"model:$text"===e||"text"===e||"model:text"===e||"node"===e||"model:node"===e};class hi extends li{constructor(e,t,i){if(super(),this.textNode=e,t<0||t>e.offsetSize)throw new x.CKEditorError("model-textproxy-wrong-offsetintext",this);if(i<0||t+i>e.offsetSize)throw new x.CKEditorError("model-textproxy-wrong-length",this);this.data=e.data.substring(t,t+i),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 i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.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()}}hi.prototype.is=function(e){return"$textProxy"===e||"model:$textProxy"===e||"textProxy"===e||"model:textProxy"===e};class mi extends ci{constructor(e,t,i){super(t),this._children=new di,this.name=e,i&&this._insertChild(0,i)}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 i of e)t=t.getChild(t.offsetToIndex(i));return t}findAncestor(e,t={}){let i=t.includeSelf?this:this.parent;for(;i;){if(i.name===e)return i;i=i.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 mi(this.name,this.getAttributes(),t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const i=function(e){return"string"==typeof e?[new ui(e)]:((0,x.isIterable)(e)||(e=[e]),Array.from(e).map((e=>"string"==typeof e?new ui(e):e instanceof hi?new ui(e.data,e.getAttributes()):e)))}(t);for(const e of i)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,i)}_removeChildren(e,t=1){const i=this._children._removeNodes(e,t);for(const e of i)e.parent=null;return i}static fromJSON(e){let t;if(e.children){t=[];for(const i of e.children)i.name?t.push(mi.fromJSON(i)):t.push(ui.fromJSON(i))}return new mi(e.name,e.attributes,t)}}mi.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 gi{constructor(e){if(!e||!e.boundaries&&!e.startPosition)throw new x.CKEditorError("model-tree-walker-no-start-position",null);const t=e.direction||"forward";if("forward"!=t&&"backward"!=t)throw new x.CKEditorError("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=fi._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,i,o,n;do{o=this.position,n=this._visitedParent,({done:t,value:i}=this.next())}while(!t&&e(i));t||(this._position=o,this._visitedParent=n)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const e=this.position,t=this.position.clone(),i=this._visitedParent;if(null===i.parent&&t.offset===i.maxOffset)return{done:!0,value:void 0};if(i===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const o=bi(t,i),n=o||wi(t,i,o);if(n instanceof mi){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=n;return this._position=t,pi("elementStart",n,e,t,1)}if(n instanceof ui){let o;if(this.singleCharacters)o=1;else{let e=n.endOffset;this._boundaryEndParent==i&&this.boundaries.end.offset<e&&(e=this.boundaries.end.offset),o=e-t.offset}const r=t.offset-n.startOffset,s=new hi(n,r,o);return t.offset+=o,this._position=t,pi("text",s,e,t,o)}return t.path.pop(),t.offset++,this._position=t,this._visitedParent=i.parent,this.ignoreElementEnd?this._next():pi("elementEnd",i,e,t)}_previous(){const e=this.position,t=this.position.clone(),i=this._visitedParent;if(null===i.parent&&0===t.offset)return{done:!0,value:void 0};if(i==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};const o=t.parent,n=bi(t,o),r=n||ki(t,o,n);if(r instanceof mi)return t.offset--,this.shallow?(this._position=t,pi("elementStart",r,e,t,1)):(t.path.push(r.maxOffset),this._position=t,this._visitedParent=r,this.ignoreElementEnd?this._previous():pi("elementEnd",r,e,t));if(r instanceof ui){let o;if(this.singleCharacters)o=1;else{let e=r.startOffset;this._boundaryStartParent==i&&this.boundaries.start.offset>e&&(e=this.boundaries.start.offset),o=t.offset-e}const n=t.offset-r.startOffset,s=new hi(r,n-o,o);return t.offset-=o,this._position=t,pi("text",s,e,t,o)}return t.path.pop(),this._position=t,this._visitedParent=i.parent,pi("elementStart",i,e,t,1)}}function pi(e,t,i,o,n){return{done:!1,value:{type:e,item:t,previousPosition:i,nextPosition:o,length:n}}}class fi extends li{constructor(e,t,i="toNone"){if(super(),!e.is("element")&&!e.is("documentFragment"))throw new x.CKEditorError("model-position-root-invalid",e);if(!(t instanceof Array)||0===t.length)throw new x.CKEditorError("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=i}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 x.CKEditorError("model-position-path-incorrect",this,{position:this});if(e.is("$text"))throw new x.CKEditorError("model-position-path-incorrect",this,{position:this});return e}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){return bi(this,this.parent)}get nodeAfter(){const e=this.parent;return wi(this,e,bi(this,e))}get nodeBefore(){const e=this.parent;return ki(this,e,bi(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,x.compareArrays)(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 i=new gi(t);return i.skip(e),i.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,x.compareArrays)(this.path,e.path),i="string"==typeof t?Math.min(this.path.length,e.path.length):t;return this.path.slice(0,i)}getCommonAncestor(e){const t=this.getAncestors(),i=e.getAncestors();let o=0;for(;t[o]==i[o]&&t[o];)o++;return 0===o?null:t[o-1]}getShiftedBy(e){const t=this.clone(),i=t.offset+e;return t.offset=i<0?0:i,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 i=0;i<t;i++){const t=this.path[i]-e.path[i];if(t<-1||t>1)return!1;if(1===t)return _i(e,this,i);if(-1===t)return _i(this,e,i)}return this.path.length===e.path.length||(this.path.length>e.path.length?vi(this.path,t):vi(e.path,t))}hasSameParentAs(e){if(this.root!==e.root)return!1;const t=this.getParentPath(),i=e.getParentPath();return"same"==(0,x.compareArrays)(t,i)}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=fi._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 i;return t.containsPosition(this)||t.start.isEqual(this)?(i=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(i=i._getTransformedByDeletion(e.deletionPosition,1))):i=this.isEqual(e.deletionPosition)?fi._createAt(e.deletionPosition):this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),i}_getTransformedByDeletion(e,t){const i=fi._createAt(this);if(this.root!=e.root)return i;if("same"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath())){if(e.offset<this.offset){if(e.offset+t>this.offset)return null;i.offset-=t}}else if("prefix"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath())){const o=e.path.length-1;if(e.offset<=this.path[o]){if(e.offset+t>this.path[o])return null;i.path[o]-=t}}return i}_getTransformedByInsertion(e,t){const i=fi._createAt(this);if(this.root!=e.root)return i;if("same"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath()))(e.offset<this.offset||e.offset==this.offset&&"toPrevious"!=this.stickiness)&&(i.offset+=t);else if("prefix"==(0,x.compareArrays)(e.getParentPath(),this.getParentPath())){const o=e.path.length-1;e.offset<=this.path[o]&&(i.path[o]+=t)}return i}_getTransformedByMove(e,t,i){if(t=t._getTransformedByDeletion(e,i),e.isEqual(t))return fi._createAt(this);const o=this._getTransformedByDeletion(e,i);return null===o||e.isEqual(this)&&"toNext"==this.stickiness||e.getShiftedBy(i).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(e,t):o._getTransformedByInsertion(t,i)}_getCombined(e,t){const i=e.path.length-1,o=fi._createAt(t);return o.stickiness=this.stickiness,o.offset=o.offset+this.path[i]-e.offset,o.path=[...o.path,...this.path.slice(i+1)],o}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,i="toNone"){if(e instanceof fi)return new fi(e.root,e.path,e.stickiness);{const o=e;if("end"==t)t=o.maxOffset;else{if("before"==t)return this._createBefore(o,i);if("after"==t)return this._createAfter(o,i);if(0!==t&&!t)throw new x.CKEditorError("model-createpositionat-offset-required",[this,e])}if(!o.is("element")&&!o.is("documentFragment"))throw new x.CKEditorError("model-position-parent-incorrect",[this,e]);const n=o.getPath();return n.push(t),new this(o.root,n,i)}}static _createAfter(e,t){if(!e.parent)throw new x.CKEditorError("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 x.CKEditorError("model-position-before-root",e,{root:e});return this._createAt(e.parent,e.startOffset,t)}static fromJSON(e,t){if("$graveyard"===e.root){const i=new fi(t.graveyard,e.path);return i.stickiness=e.stickiness,i}if(!t.getRoot(e.root))throw new x.CKEditorError("model-position-fromjson-no-root",t,{rootName:e.root});return new fi(t.getRoot(e.root),e.path,e.stickiness)}}function bi(e,t){const i=t.getChild(t.offsetToIndex(e.offset));return i&&i.is("$text")&&i.startOffset<e.offset?i:null}function wi(e,t,i){return null!==i?null:t.getChild(t.offsetToIndex(e.offset))}function ki(e,t,i){return null!==i?null:t.getChild(t.offsetToIndex(e.offset)-1)}function _i(e,t,i){return i+1!==e.path.length&&!!vi(t.path,i+1)&&!!function(e,t){let i=e.parent,o=e.path.length-1,n=0;for(;o>=t;){if(e.path[o]+n!==i.maxOffset)return!1;n=1,o--,i=i.parent}return!0}(e,i+1)}function vi(e,t){for(;t<e.length;){if(0!==e[t])return!1;t++}return!0}fi.prototype.is=function(e){return"position"===e||"model:position"===e};class yi extends li{constructor(e,t){super(),this.start=fi._createAt(e),this.end=t?fi._createAt(t):fi._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new gi({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,x.compareArrays)(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 i=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),o=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return i&&o}containsItem(e){const t=fi._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 yi(this.start,e.start)),this.containsPosition(e.end)&&t.push(new yi(e.end,this.end))):t.push(new yi(this.start,this.end)),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,i=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(i=e.end),new yi(t,i)}return null}getJoined(e,t=!1){let i=this.isIntersecting(e);if(i||(i=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)),!i)return null;let o=this.start,n=this.end;return e.start.isBefore(o)&&(o=e.start),e.end.isAfter(n)&&(n=e.end),new yi(o,n)}getMinimalFlatRanges(){const e=[],t=this.start.getCommonPath(this.end).length,i=fi._createAt(this.start);let o=i.parent;for(;i.path.length>t+1;){const t=o.maxOffset-i.offset;0!==t&&e.push(new yi(i,i.getShiftedBy(t))),i.path=i.path.slice(0,-1),i.offset++,o=o.parent}for(;i.path.length<=this.end.path.length;){const t=this.end.path[i.path.length-1],o=t-i.offset;0!==o&&e.push(new yi(i,i.getShiftedBy(o))),i.offset=t,i.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new gi(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new gi(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new gi(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 yi(this.start,this.end)]}getTransformedByOperations(e){const t=[new yi(this.start,this.end)];for(const i of e)for(let e=0;e<t.length;e++){const o=t[e].getTransformedByOperation(i);t.splice(e,1,...o),e+=o.length-1}for(let e=0;e<t.length;e++){const i=t[e];for(let o=e+1;o<t.length;o++){const e=t[o];(i.containsRange(e)||e.containsRange(i)||i.isEqual(e))&&t.splice(o,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 i=e.sourcePosition,o=e.howMany,n=e.targetPosition;return this._getTransformedByMove(i,n,o,t)}_getTransformedBySplitOperation(e){const t=this.start._getTransformedBySplitOperation(e);let i=this.end._getTransformedBySplitOperation(e);return this.end.isEqual(e.insertionPosition)&&(i=this.end.getShiftedBy(1)),t.root!=i.root&&(i=this.end.getShiftedBy(-1)),new yi(t,i)}_getTransformedByMergeOperation(e){if(this.start.isEqual(e.targetPosition)&&this.end.isEqual(e.deletionPosition))return new yi(this.start);let t=this.start._getTransformedByMergeOperation(e),i=this.end._getTransformedByMergeOperation(e);return t.root!=i.root&&(i=this.end.getShiftedBy(-1)),t.isAfter(i)?(e.sourcePosition.isBefore(e.targetPosition)?(t=fi._createAt(i),t.offset=0):(e.deletionPosition.isEqual(t)||(i=e.deletionPosition),t=e.targetPosition),new yi(t,i)):new yi(t,i)}_getTransformedByInsertion(e,t,i=!1){if(i&&this.containsPosition(e))return[new yi(this.start,e),new yi(e.getShiftedBy(t),this.end._getTransformedByInsertion(e,t))];{const i=new yi(this.start,this.end);return i.start=i.start._getTransformedByInsertion(e,t),i.end=i.end._getTransformedByInsertion(e,t),[i]}}_getTransformedByMove(e,t,i,o=!1){if(this.isCollapsed){const o=this.start._getTransformedByMove(e,t,i);return[new yi(o)]}const n=yi._createFromPositionAndShift(e,i),r=t._getTransformedByDeletion(e,i);if(this.containsPosition(t)&&!o&&(n.containsPosition(this.start)||n.containsPosition(this.end))){const o=this.start._getTransformedByMove(e,t,i),n=this.end._getTransformedByMove(e,t,i);return[new yi(o,n)]}let s;const a=this.getDifference(n);let l=null;const c=this.getIntersection(n);if(1==a.length?l=new yi(a[0].start._getTransformedByDeletion(e,i),a[0].end._getTransformedByDeletion(e,i)):2==a.length&&(l=new yi(this.start,this.end._getTransformedByDeletion(e,i))),s=l?l._getTransformedByInsertion(r,i,null!==c||o):[],c){const e=new yi(c.start._getCombined(n.start,r),c.end._getCombined(n.start,r));2==s.length?s.splice(1,0,e):s.push(e)}return s}_getTransformedByDeletion(e,t){let i=this.start._getTransformedByDeletion(e,t),o=this.end._getTransformedByDeletion(e,t);return null==i&&null==o?null:(null==i&&(i=e),null==o&&(o=e),new yi(i,o))}static _createFromPositionAndShift(e,t){const i=e,o=e.getShiftedBy(t);return t>0?new this(i,o):new this(o,i)}static _createIn(e){return new this(fi._createAt(e,0),fi._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift(fi._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(0===e.length)throw new x.CKEditorError("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 i=e.indexOf(t),o=new this(t.start,t.end);if(i>0)for(let t=i-1;e[t].end.isEqual(o.start);t++)o.start=fi._createAt(e[t].start);for(let t=i+1;t<e.length&&e[t].start.isEqual(o.end);t++)o.end=fi._createAt(e[t].end);return o}static fromJSON(e,t){return new this(fi.fromJSON(e.start,t),fi.fromJSON(e.end,t))}}yi.prototype.is=function(e){return"range"===e||"model:range"===e};class Ci extends((0,x.EmitterMixin)()){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 i=this._modelToViewMapping.get(t.modelPosition.parent);if(!i)throw new x.CKEditorError("mapping-model-position-view-parent-not-found",this,{modelPosition:t.modelPosition});t.viewPosition=this.findPositionIn(i,t.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((e,t)=>{if(t.modelPosition)return;const i=this.findMappedViewAncestor(t.viewPosition),o=this._viewToModelMapping.get(i),n=this._toModelOffset(t.viewPosition.parent,t.viewPosition.offset,i);t.modelPosition=fi._createAt(o,n)}),{priority:"low"})}bindElements(e,t){this._modelToViewMapping.set(e,t),this._viewToModelMapping.set(t,e)}unbindViewElement(e,t={}){const i=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(i)==e&&this._modelToViewMapping.delete(i))}unbindModelElement(e){const t=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(t)==e&&this._viewToModelMapping.delete(t)}bindElementToMarker(e,t){const i=this._markerNameToElements.get(t)||new Set;i.add(e);const o=this._elementToMarkerNames.get(e)||new Set;o.add(t),this._markerNameToElements.set(t,i),this._elementToMarkerNames.set(e,o)}unbindElementFromMarkerName(e,t){const i=this._markerNameToElements.get(t);i&&(i.delete(e),0==i.size&&this._markerNameToElements.delete(t));const o=this._elementToMarkerNames.get(e);o&&(o.delete(t),0==o.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 yi(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new Ne(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 i={modelPosition:e,mapper:this,isPhantom:t.isPhantom};return this.fire("modelToViewPosition",i),i.viewPosition}markerNameToElements(e){const t=this._markerNameToElements.get(e);if(!t)return null;const i=new Set;for(const e of t)if(e.is("attributeElement"))for(const t of e.getElementsWithSameId())i.add(t);else i.add(e);return i}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,i){if(i!=e)return this._toModelOffset(e.parent,e.index,i)+this._toModelOffset(e,t,e);if(e.is("$text"))return t;let o=0;for(let i=0;i<t;i++)o+=this.getModelLength(e.getChild(i));return o}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 i of e.getChildren())t+=this.getModelLength(i);return t}}findPositionIn(e,t){let i,o=0,n=0,r=0;if(e.is("$text"))return new ze(e,t);for(;n<t;)i=e.getChild(r),o=this.getModelLength(i),n+=o,r++;return n==t?this._moveViewPositionToTextNode(new ze(e,r)):this.findPositionIn(i,t-(n-o))}_moveViewPositionToTextNode(e){const t=e.nodeBefore,i=e.nodeAfter;return t instanceof P?new ze(t,t.data.length):i instanceof P?new ze(i,0):e}}class xi{constructor(){this._consumable=new Map,this._textProxyRegistry=new Map}add(e,t){t=Ai(t),e instanceof hi&&(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=Ai(t),e instanceof hi&&(e=this._getSymbolForTextProxy(e)),!!this.test(e,t)&&(this._consumable.get(e).set(t,!1),!0)}test(e,t){t=Ai(t),e instanceof hi&&(e=this._getSymbolForTextProxy(e));const i=this._consumable.get(e);if(void 0===i)return null;const o=i.get(t);return void 0===o?null:o}revert(e,t){t=Ai(t),e instanceof hi&&(e=this._getSymbolForTextProxy(e));const i=this.test(e,t);return!1===i?(this._consumable.get(e).set(t,!0),!0):!0!==i&&null}verifyAllConsumed(e){const t=[];for(const[i,o]of this._consumable)for(const[n,r]of o){const o=n.split(":")[0];r&&e==o&&t.push({event:n,item:i.name||i.description})}if(t.length)throw new x.CKEditorError("conversion-model-consumable-not-consumed",null,{items:t})}_getSymbolForTextProxy(e){let t=null;const i=this._textProxyRegistry.get(e.startOffset);if(i){const o=i.get(e.endOffset);o&&(t=o.get(e.parent))}return t||(t=this._addSymbolForTextProxy(e)),t}_addSymbolForTextProxy(e){const t=e.startOffset,i=e.endOffset,o=e.parent,n=Symbol("$textProxy:"+e.data);let r,s;return r=this._textProxyRegistry.get(t),r||(r=new Map,this._textProxyRegistry.set(t,r)),s=r.get(i),s||(s=new Map,r.set(i,s)),s.set(o,n),n}}function Ai(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 Ei extends((0,x.EmitterMixin)()){constructor(e){super(),this._conversionApi={dispatcher:this,...e},this._firedEventsMap=new WeakMap}convertChanges(e,t,i){const o=this._createConversionApi(i,e.getRefreshedItems());for(const t of e.getMarkersToRemove())this._convertMarkerRemove(t.name,t.range,o);const n=this._reduceChanges(e.getChanges());for(const e of n)"insert"===e.type?this._convertInsert(yi._createFromPositionAndShift(e.position,e.length),o):"reinsert"===e.type?this._convertReinsert(yi._createFromPositionAndShift(e.position,e.length),o):"remove"===e.type?this._convertRemove(e.position,e.length,e.name,o):this._convertAttribute(e.range,e.attributeKey,e.attributeOldValue,e.attributeNewValue,o);for(const e of o.mapper.flushUnboundMarkerNames()){const i=t.get(e).getRange();this._convertMarkerRemove(e,i,o),this._convertMarkerAdd(e,i,o)}for(const t of e.getMarkersToAdd())this._convertMarkerAdd(t.name,t.range,o);o.mapper.flushDeferredBindings(),o.consumable.verifyAllConsumed("insert")}convert(e,t,i,o={}){const n=this._createConversionApi(i,void 0,o);this._convertInsert(e,n);for(const[e,i]of t)this._convertMarkerAdd(e,i,n);n.consumable.verifyAllConsumed("insert")}convertSelection(e,t,i){const o=Array.from(t.getMarkersAtPosition(e.getFirstPosition())),n=this._createConversionApi(i);if(this._addConsumablesForSelection(n.consumable,e,o),this.fire("selection",{selection:e},n),e.isCollapsed){for(const t of o){const i=t.getRange();if(!Ti(e.getFirstPosition(),t,n.mapper))continue;const o={item:e,markerName:t.name,markerRange:i};n.consumable.test(e,"addMarker:"+t.name)&&this.fire(`addMarker:${t.name}`,o,n)}for(const t of e.getAttributeKeys()){const i={item:e,range:e.getFirstRange(),attributeKey:t,attributeOldValue:null,attributeNewValue:e.getAttribute(t)};n.consumable.test(e,"attribute:"+i.attributeKey)&&this.fire(`attribute:${i.attributeKey}:$text`,i,n)}}}_convertInsert(e,t,i={}){i.doNotAddConsumables||this._addConsumablesForInsert(t.consumable,Array.from(e));for(const i of Array.from(e.getWalker({shallow:!0})).map(Si))this._testAndFire("insert",i,t)}_convertRemove(e,t,i,o){this.fire(`remove:${i}`,{position:e,length:t},o)}_convertAttribute(e,t,i,o,n){this._addConsumablesForRange(n.consumable,e,`attribute:${t}`);for(const r of e){const e={item:r.item,range:yi._createFromPositionAndShift(r.previousPosition,r.length),attributeKey:t,attributeOldValue:i,attributeNewValue:o};this._testAndFire(`attribute:${t}`,e,n)}}_convertReinsert(e,t){const i=Array.from(e.getWalker({shallow:!0}));this._addConsumablesForInsert(t.consumable,i);for(const e of i.map(Si))this._testAndFire("insert",{...e,reconversion:!0},t)}_convertMarkerAdd(e,t,i){if("$graveyard"==t.root.rootName)return;const o=`addMarker:${e}`;if(i.consumable.add(t,o),this.fire(o,{markerName:e,markerRange:t},i),i.consumable.consume(t,o)){this._addConsumablesForRange(i.consumable,t,o);for(const n of t.getItems()){if(!i.consumable.test(n,o))continue;const r={item:n,range:yi._createOn(n),markerName:e,markerRange:t};this.fire(o,r,i)}}}_convertMarkerRemove(e,t,i){"$graveyard"!=t.root.rootName&&this.fire(`removeMarker:${e}`,{markerName:e,markerRange:t},i)}_reduceChanges(e){const t={changes:e};return this.fire("reduceChanges",t),t.changes}_addConsumablesForInsert(e,t){for(const i of t){const t=i.item;if(null===e.test(t,"insert")){e.add(t,"insert");for(const i of t.getAttributeKeys())e.add(t,"attribute:"+i)}}return e}_addConsumablesForRange(e,t,i){for(const o of t.getItems())e.add(o,i);return e}_addConsumablesForSelection(e,t,i){e.add(t,"selection");for(const o of i)e.add(t,"addMarker:"+o.name);for(const i of t.getAttributeKeys())e.add(t,"attribute:"+i);return e}_testAndFire(e,t,i){const o=function(e,t){return`${e}:${t.item.is("element")?t.item.name:"$text"}`}(e,t),n=t.item.is("$textProxy")?i.consumable._getSymbolForTextProxy(t.item):t.item,r=this._firedEventsMap.get(i),s=r.get(n);if(s){if(s.has(o))return;s.add(o)}else r.set(n,new Set([o]));this.fire(o,t,i)}_testAndFireAddAttributes(e,t){const i={item:e,range:yi._createOn(e)};for(const e of i.item.getAttributeKeys())i.attributeKey=e,i.attributeOldValue=null,i.attributeNewValue=i.item.getAttribute(e),this._testAndFire(`attribute:${e}`,i,t)}_createConversionApi(e,t=new Set,i={}){const o={...this._conversionApi,consumable:new xi,writer:e,options:i,convertItem:e=>this._convertInsert(yi._createOn(e),o),convertChildren:e=>this._convertInsert(yi._createIn(e),o,{doNotAddConsumables:!0}),convertAttributes:e=>this._testAndFireAddAttributes(e,o),canReuseView:e=>!t.has(o.mapper.toModelElement(e))};return this._firedEventsMap.set(o,new Map),o}}function Ti(e,t,i){const o=t.getRange(),n=Array.from(e.getAncestors());return n.shift(),n.reverse(),!n.some((e=>{if(o.containsItem(e))return!!i.toViewElement(e).getCustomProperty("addHighlight")}))}function Si(e){return{item:e.item,range:yi._createFromPositionAndShift(e.previousPosition,e.length)}}class Pi extends((0,x.EmitterMixin)(li)){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 i=!1;for(const o of e._ranges)if(t.isEqual(o)){i=!0;break}if(!i)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new yi(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 yi(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 yi(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,i,o]=e;if("object"==typeof i&&(o=i,i=void 0),null===t)this._setRanges([]);else if(t instanceof Pi)this._setRanges(t.getRanges(),t.isBackward);else if(t&&"function"==typeof t.getRanges)this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof yi)this._setRanges([t],!!o&&!!o.backward);else if(t instanceof fi)this._setRanges([new yi(t)]);else if(t instanceof ci){const e=!!o&&!!o.backward;let n;if("in"==i)n=yi._createIn(t);else if("on"==i)n=yi._createOn(t);else{if(void 0===i)throw new x.CKEditorError("model-selection-setto-required-second-parameter",[this,t]);n=new yi(fi._createAt(t,i))}this._setRanges([n],e)}else{if(!(0,x.isIterable)(t))throw new x.CKEditorError("model-selection-setto-not-selectable",[this,t]);this._setRanges(t,o&&!!o.backward)}}_setRanges(e,t=!1){const i=Array.from(e),o=i.some((t=>{if(!(t instanceof yi))throw new x.CKEditorError("model-selection-set-ranges-not-range",[this,e]);return this._ranges.every((e=>!e.isEqual(t)))}));(i.length!==this._ranges.length||o)&&(this._replaceAllRanges(i),this._lastRangeBackward=!!t,this.fire("change:range",{directChange:!0}))}setFocus(e,t){if(null===this.anchor)throw new x.CKEditorError("model-selection-setfocus-no-ranges",[this,e]);const i=fi._createAt(e,t);if("same"==i.compareWith(this.focus))return;const o=this.anchor;this._ranges.length&&this._popRange(),"before"==i.compareWith(o)?(this._pushRange(new yi(i,o)),this._lastRangeBackward=!0):(this._pushRange(new yi(o,i)),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 i=Ri(t.start,e);Bi(i,t)&&(yield i);for(const i of t.getWalker()){const o=i.item;"elementEnd"==i.type&&Vi(o,e,t)&&(yield o)}const o=Ri(t.end,e);Mi(o,t)&&(yield o)}}containsEntireContent(e=this.anchor.root){const t=fi._createAt(e,0),i=fi._createAt(e,"end");return t.isTouching(this.getFirstPosition())&&i.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new yi(e.start,e.end))}_checkRange(e){for(let t=0;t<this._ranges.length;t++)if(e.isIntersecting(this._ranges[t]))throw new x.CKEditorError("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 Ii(e,t){return!t.has(e)&&(t.add(e),e.root.document.model.schema.isBlock(e)&&!!e.parent)}function Vi(e,t,i){return Ii(e,t)&&Oi(e,i)}function Ri(e,t){const i=e.parent.root.document.model.schema,o=e.parent.getAncestors({parentFirst:!0,includeSelf:!0});let n=!1;const r=o.find((e=>!n&&(n=i.isLimit(e),!n&&Ii(e,t))));return o.forEach((e=>t.add(e))),r}function Oi(e,t){const i=function(e){const t=e.root.document.model.schema;let i=e.parent;for(;i;){if(t.isBlock(i))return i;i=i.parent}}(e);return!i||!t.containsRange(yi._createOn(i),!0)}function Bi(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.start.isTouching(fi._createAt(e,e.maxOffset))&&Oi(e,t))}function Mi(e,t){return!!e&&(!(!t.isCollapsed&&!e.isEmpty)||!t.end.isTouching(fi._createAt(e,0))&&Oi(e,t))}Pi.prototype.is=function(e){return"selection"===e||"model:selection"===e};class zi extends((0,x.EmitterMixin)(yi)){constructor(e,t){super(e,t),Ni.call(this)}detach(){this.stopListening()}toRange(){return new yi(this.start,this.end)}static fromRange(e){return new zi(e.start,e.end)}}function Ni(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&Di.call(this,i)}),{priority:"low"})}function Di(e){const t=this.getTransformedByOperation(e),i=yi._createFromRanges(t),o=!i.isEqual(this),n=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 r=null;if(o){"$graveyard"==i.root.rootName&&(r="remove"==e.type?e.sourcePosition:e.deletionPosition);const t=this.toRange();this.start=i.start,this.end=i.end,this.fire("change:range",t,{deletionPosition:r})}else n&&this.fire("change:content",this.toRange(),{deletionPosition:r})}zi.prototype.is=function(e){return"liveRange"===e||"model:liveRange"===e||"range"==e||"model:range"===e};const Li="selection:";class Fi extends((0,x.EmitterMixin)(li)){constructor(e){super(),this._selection=new Zi(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 Li+e}static _isStoreAttributeKey(e){return e.startsWith(Li)}}Fi.prototype.is=function(e){return"selection"===e||"model:selection"==e||"documentSelection"==e||"model:documentSelection"==e};class Zi extends Pi{constructor(e){super(),this.markers=new x.Collection({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 i=t[0];i.isDocumentOperation&&"marker"!=i.type&&"rename"!=i.type&&"noop"!=i.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,i,o)=>{this._updateMarker(t,o)})),this.listenTo(this._document,"change",((e,t)=>{!function(e,t){const i=e.document.differ;for(const o of i.getChanges()){if("insert"!=o.type)continue;const i=o.position.parent;o.length===i.maxOffset&&e.enqueueChange(t,(e=>{const t=Array.from(i.getAttributeKeys()).filter((e=>e.startsWith(Li)));for(const o of t)e.removeAttribute(o,i)}))}}(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,x.uid)();return this._overriddenGravityRegister.add(e),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),e}restoreGravity(e){if(!this._overriddenGravityRegister.has(e))throw new x.CKEditorError("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 x.CKEditorError("document-selection-wrong-position",this,{range:t})}_prepareRange(e){if(this._checkRange(e),e.root==this._document.graveyard)return;const t=zi.fromRange(e);return t.on("change:range",((e,i,o)=>{if(this._hasChangedRange=!0,t.root==this._document.graveyard){this._selectionRestorePosition=o.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 i=t.name.split(":",1)[0];if(!this._observedMarkers.has(i))continue;const o=t.getRange();for(const i of this.getRanges())o.containsRange(i,!i.isCollapsed)&&e.push(t)}const i=Array.from(this.markers);for(const i of e)this.markers.has(i)||(this.markers.add(i),t=!0);for(const i of Array.from(this.markers))e.includes(i)||(this.markers.remove(i),t=!0);t&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateMarker(e,t){const i=e.name.split(":",1)[0];if(!this._observedMarkers.has(i))return;let o=!1;const n=Array.from(this.markers),r=this.markers.has(e);if(t){let i=!1;for(const e of this.getRanges())if(t.containsRange(e,!e.isCollapsed)){i=!0;break}i&&!r?(this.markers.add(e),o=!0):!i&&r&&(this.markers.remove(e),o=!0)}else r&&(this.markers.remove(e),o=!0);o&&this.fire("change:marker",{oldMarkers:n,directChange:!1})}_updateAttributes(e){const t=(0,x.toMap)(this._getSurroundingAttributes()),i=(0,x.toMap)(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 o=[];for(const[e,t]of this.getAttributes())i.has(e)&&i.get(e)===t||o.push(e);for(const[e]of i)this.hasAttribute(e)||o.push(e);o.length>0&&this.fire("change:attribute",{attributeKeys:o,directChange:!1})}_setAttribute(e,t,i=!0){const o=i?"normal":"low";return("low"!=o||"normal"!=this._attributePriority.get(e))&&(super.getAttribute(e)!==t&&(this._attrs.set(e,t),this._attributePriority.set(e,o),!0))}_removeAttribute(e,t=!0){const i=t?"normal":"low";return!("low"==i&&"normal"==this._attributePriority.get(e)||(this._attributePriority.set(e,i),!super.hasAttribute(e)||(this._attrs.delete(e),0)))}_setAttributesTo(e){const t=new Set;for(const[t,i]of this.getAttributes())e.get(t)!==i&&this._removeAttribute(t,!1);for(const[i,o]of e)this._setAttribute(i,o,!1)&&t.add(i);return t}*getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const t of e.getAttributeKeys())if(t.startsWith(Li)){const i=t.substr(10);yield[i,e.getAttribute(t)]}}_getSurroundingAttributes(){const e=this.getFirstPosition(),t=this._model.schema;let i=null;if(this.isCollapsed){const o=e.textNode?e.textNode:e.nodeBefore,n=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(i=Hi(o,t)),i||(i=Hi(n,t)),!this.isGravityOverridden&&!i){let e=o;for(;e&&!i;)e=e.previousSibling,i=Hi(e,t)}if(!i){let e=n;for(;e&&!i;)e=e.nextSibling,i=Hi(e,t)}i||(i=this.getStoredAttributes())}else{const e=this.getFirstRange();for(const o of e){if(o.item.is("element")&&t.isObject(o.item))break;if("text"==o.type){i=o.item.getAttributes();break}}}return i}_fixGraveyardSelection(e){const t=this._model.schema.getNearestSelectionRange(e);t&&this._pushRange(t)}}function Hi(e,t){if(!e)return null;if(e instanceof hi||e instanceof ui)return e.getAttributes();if(!t.isInline(e))return null;if(!t.isObject(e))return[];const i=[];for(const[o,n]of e.getAttributes())t.checkAttribute("$text",o)&&i.push([o,n]);return i}class Wi{constructor(e){this._dispatchers=e}add(e){for(const t of this._dispatchers)e(t);return this}}class ji extends Wi{elementToElement(e){return this.add(function(e){const t=qi(e.model),i=Ki(e.view,"container");return t.attributes.length&&(t.children=!0),o=>{o.on(`insert:${t.name}`,function(e,t=io){return(i,o,n)=>{if(!t(o.item,n.consumable,{preflight:!0}))return;const r=e(o.item,n,o);if(!r)return;t(o.item,n.consumable);const s=n.mapper.toViewPosition(o.range.start);n.mapper.bindElements(o.item,r),n.writer.insert(s,r),n.convertAttributes(o.item),eo(r,o.item.getChildren(),n,{reconversion:o.reconversion})}}(i,Xi(t)),{priority:e.converterPriority||"normal"}),(t.children||t.attributes.length)&&o.on("reduceChanges",Qi(t),{priority:"low"})}}(e))}elementToStructure(e){return this.add(function(e){const t=qi(e.model),i=Ki(e.view,"container");return t.children=!0,o=>{if(o._conversionApi.schema.checkChild(t.name,"$text"))throw new x.CKEditorError("conversion-element-to-structure-disallowed-text",o,{elementName:t.name});var n,r;o.on(`insert:${t.name}`,(n=i,r=Xi(t),(e,t,i)=>{if(!r(t.item,i.consumable,{preflight:!0}))return;const o=new Map;i.writer._registerSlotFactory(function(e,t,i){return(o,n)=>{const r=o.createContainerElement("$slot");let s=null;if("children"===n)s=Array.from(e.getChildren());else{if("function"!=typeof n)throw new x.CKEditorError("conversion-slot-mode-unknown",i.dispatcher,{modeOrFilter:n});s=Array.from(e.getChildren()).filter((e=>n(e)))}return t.set(r,s),r}}(t.item,o,i));const s=n(t.item,i,t);if(i.writer._clearSlotFactory(),!s)return;!function(e,t,i){const o=Array.from(t.values()).flat(),n=new Set(o);if(n.size!=o.length)throw new x.CKEditorError("conversion-slot-filter-overlap",i.dispatcher,{element:e});if(n.size!=e.childCount)throw new x.CKEditorError("conversion-slot-filter-incomplete",i.dispatcher,{element:e})}(t.item,o,i),r(t.item,i.consumable);const a=i.mapper.toViewPosition(t.range.start);i.mapper.bindElements(t.item,s),i.writer.insert(a,s),i.convertAttributes(t.item),function(e,t,i,o){i.mapper.on("modelToViewPosition",s,{priority:"highest"});let n=null,r=null;for([n,r]of t)eo(e,r,i,o),i.writer.move(i.writer.createRangeIn(n),i.writer.createPositionBefore(n)),i.writer.remove(n);function s(e,t){const i=t.modelPosition.nodeAfter,o=r.indexOf(i);o<0||(t.viewPosition=t.mapper.findPositionIn(n,o))}i.mapper.off("modelToViewPosition",s)}(s,o,i,{reconversion:t.reconversion})}),{priority:e.converterPriority||"normal"}),o.on("reduceChanges",Qi(t),{priority:"low"})}}(e))}attributeToElement(e){return this.add(function(e){let t=(e=si(e)).model;"string"==typeof t&&(t={key:t});let i=`attribute:${t.key}`;if(t.name&&(i+=":"+t.name),t.values)for(const i of t.values)e.view[i]=Ki(e.view[i],"attribute");else e.view=Ki(e.view,"attribute");const o=Gi(e);return t=>{t.on(i,function(e){return(t,i,o)=>{if(!o.consumable.test(i.item,t.name))return;const n=e(i.attributeOldValue,o,i),r=e(i.attributeNewValue,o,i);if(!n&&!r)return;o.consumable.consume(i.item,t.name);const s=o.writer,a=s.document.selection;if(i.item instanceof Pi||i.item instanceof Fi)s.wrap(a.getFirstRange(),r);else{let e=o.mapper.toViewRange(i.range);null!==i.attributeOldValue&&n&&(e=s.unwrap(e,n)),null!==i.attributeNewValue&&r&&s.wrap(e,r)}}}(o),{priority:e.converterPriority||"normal"})}}(e))}attributeToAttribute(e){return this.add(function(e){let t=(e=si(e)).model;"string"==typeof t&&(t={key:t});let i=`attribute:${t.key}`;if(t.name&&(i+=":"+t.name),t.values)for(const i of t.values)e.view[i]=Ji(e.view[i]);else e.view=Ji(e.view);const o=Gi(e);return t=>{var n;t.on(i,(n=o,(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const o=n(t.attributeOldValue,i,t),r=n(t.attributeNewValue,i,t);if(!o&&!r)return;i.consumable.consume(t.item,e.name);const s=i.mapper.toViewElement(t.item),a=i.writer;if(!s)throw new x.CKEditorError("conversion-attribute-to-attribute-on-text",i.dispatcher,t);if(null!==t.attributeOldValue&&o)if("class"==o.key){const e=(0,x.toArray)(o.value);for(const t of e)a.removeClass(t,s)}else if("style"==o.key){const e=Object.keys(o.value);for(const t of e)a.removeStyle(t,s)}else a.removeAttribute(o.key,s);if(null!==t.attributeNewValue&&r)if("class"==r.key){const e=(0,x.toArray)(r.value);for(const t of e)a.addClass(t,s)}else if("style"==r.key){const e=Object.keys(r.value);for(const t of e)a.setStyle(t,r.value[t],s)}else a.setAttribute(r.key,r.value,s)}),{priority:e.converterPriority||"normal"})}}(e))}markerToElement(e){return this.add(function(e){const t=Ki(e.view,"ui");return i=>{var o;i.on(`addMarker:${e.model}`,(o=t,(e,t,i)=>{t.isOpening=!0;const n=o(t,i);t.isOpening=!1;const r=o(t,i);if(!n||!r)return;const s=t.markerRange;if(s.isCollapsed&&!i.consumable.consume(s,e.name))return;for(const t of s)if(!i.consumable.consume(t.item,e.name))return;const a=i.mapper,l=i.writer;l.insert(a.toViewPosition(s.start),n),i.mapper.bindElementToMarker(n,t.markerName),s.isCollapsed||(l.insert(a.toViewPosition(s.end),r),i.mapper.bindElementToMarker(r,t.markerName)),e.stop()}),{priority:e.converterPriority||"normal"}),i.on(`removeMarker:${e.model}`,((e,t,i)=>{const o=i.mapper.markerNameToElements(t.markerName);if(o){for(const e of o)i.mapper.unbindElementFromMarkerName(e,t.markerName),i.writer.clear(i.writer.createRangeOn(e),e);i.writer.clearClonedElementsGroup(t.markerName),e.stop()}}),{priority:e.converterPriority||"normal"})}}(e))}markerToHighlight(e){return this.add(function(e){return t=>{var i;t.on(`addMarker:${e.model}`,(i=e.view,(e,t,o)=>{if(!t.item)return;if(!(t.item instanceof Pi||t.item instanceof Fi||t.item.is("$textProxy")))return;const n=Yi(i,t,o);if(!n)return;if(!o.consumable.consume(t.item,e.name))return;const r=o.writer,s=Ui(r,n),a=r.document.selection;if(t.item instanceof Pi||t.item instanceof Fi)r.wrap(a.getFirstRange(),s);else{const e=o.mapper.toViewRange(t.range),i=r.wrap(e,s);for(const e of i.getItems())if(e.is("attributeElement")&&e.isSimilar(s)){o.mapper.bindElementToMarker(e,t.markerName);break}}}),{priority:e.converterPriority||"normal"}),t.on(`addMarker:${e.model}`,function(e){return(t,i,o)=>{if(!i.item)return;if(!(i.item instanceof mi))return;const n=Yi(e,i,o);if(!n)return;if(!o.consumable.test(i.item,t.name))return;const r=o.mapper.toViewElement(i.item);if(r&&r.getCustomProperty("addHighlight")){o.consumable.consume(i.item,t.name);for(const e of yi._createIn(i.item))o.consumable.consume(e.item,t.name);r.getCustomProperty("addHighlight")(r,n,o.writer),o.mapper.bindElementToMarker(r,i.markerName)}}}(e.view),{priority:e.converterPriority||"normal"}),t.on(`removeMarker:${e.model}`,function(e){return(t,i,o)=>{if(i.markerRange.isCollapsed)return;const n=Yi(e,i,o);if(!n)return;const r=Ui(o.writer,n),s=o.mapper.markerNameToElements(i.markerName);if(s){for(const e of s)o.mapper.unbindElementFromMarkerName(e,i.markerName),e.is("attributeElement")?o.writer.unwrap(o.writer.createRangeOn(e),r):e.getCustomProperty("removeHighlight")(e,n.id,o.writer);o.writer.clearClonedElementsGroup(i.markerName),t.stop()}}}(e.view),{priority:e.converterPriority||"normal"})}}(e))}markerToData(e){return this.add(function(e){const t=(e=si(e)).model;let i=e.view;return i||(i=i=>({group:t,name:i.substr(e.model.length+1)})),o=>{var n;o.on(`addMarker:${t}`,(n=i,(e,t,i)=>{const o=n(t.markerName,i);if(!o)return;const r=t.markerRange;i.consumable.consume(r,e.name)&&($i(r,!1,i,t,o),$i(r,!0,i,t,o),e.stop())}),{priority:e.converterPriority||"normal"}),o.on(`removeMarker:${t}`,function(e){return(t,i,o)=>{const n=e(i.markerName,o);if(!n)return;const r=o.mapper.markerNameToElements(i.markerName);if(r){for(const e of r)o.mapper.unbindElementFromMarkerName(e,i.markerName),e.is("containerElement")?(s(`data-${n.group}-start-before`,e),s(`data-${n.group}-start-after`,e),s(`data-${n.group}-end-before`,e),s(`data-${n.group}-end-after`,e)):o.writer.clear(o.writer.createRangeOn(e),e);o.writer.clearClonedElementsGroup(i.markerName),t.stop()}function s(e,t){if(t.hasAttribute(e)){const i=new Set(t.getAttribute(e).split(","));i.delete(n.name),0==i.size?o.writer.removeAttribute(e,t):o.writer.setAttribute(e,Array.from(i).join(","),t)}}}}(i),{priority:e.converterPriority||"normal"})}}(e))}}function Ui(e,t){const i=e.createAttributeElement("span",t.attributes);return t.classes&&i._addClass(t.classes),"number"==typeof t.priority&&(i._priority=t.priority),i._id=t.id,i}function $i(e,t,i,o,n){const r=t?e.start:e.end,s=r.nodeAfter&&r.nodeAfter.is("element")?r.nodeAfter:null,a=r.nodeBefore&&r.nodeBefore.is("element")?r.nodeBefore:null;if(s||a){let e,r;t&&s||!t&&!a?(e=s,r=!0):(e=a,r=!1);const l=i.mapper.toViewElement(e);if(l)return void function(e,t,i,o,n,r){const s=`data-${r.group}-${t?"start":"end"}-${i?"before":"after"}`,a=e.hasAttribute(s)?e.getAttribute(s).split(","):[];a.unshift(r.name),o.writer.setAttribute(s,a.join(","),e),o.mapper.bindElementToMarker(e,n.markerName)}(l,t,r,i,o,n)}!function(e,t,i,o,n){const r=`${n.group}-${t?"start":"end"}`,s=n.name?{name:n.name}:null,a=i.writer.createUIElement(r,s);i.writer.insert(e,a),i.mapper.bindElementToMarker(a,o.markerName)}(i.mapper.toViewPosition(r),t,i,o,n)}function qi(e){return"string"==typeof e&&(e={name:e}),e.attributes?Array.isArray(e.attributes)||(e.attributes=[e.attributes]):e.attributes=[],e.children=!!e.children,e}function Ki(e,t){return"function"==typeof e?e:(i,o)=>function(e,t,i){let o;"string"==typeof e&&(e={name:e});const n=t.writer,r=Object.assign({},e.attributes);if("container"==i)o=n.createContainerElement(e.name,r);else if("attribute"==i){const t={priority:e.priority||Ge.DEFAULT_PRIORITY};o=n.createAttributeElement(e.name,r,t)}else o=n.createUIElement(e.name,r);if(e.styles){const t=Object.keys(e.styles);for(const i of t)n.setStyle(i,e.styles[i],o)}if(e.classes){const t=e.classes;if("string"==typeof t)n.addClass(t,o);else for(const e of t)n.addClass(e,o)}return o}(e,o,t)}function Gi(e){return e.model.values?(t,i,o)=>{const n=e.view[t];return n?n(t,i,o):null}:e.view}function Ji(e){return"string"==typeof e?t=>({key:e,value:t}):"object"==typeof e?e.value?()=>e:t=>({key:e.key,value:t}):e}function Yi(e,t,i){const o="function"==typeof e?e(t,i):e;return o?(o.priority||(o.priority=10),o.id||(o.id=t.markerName),o):null}function Qi(e){const t=function(e){return(t,i)=>{if(!t.is("element",e.name))return!1;if("attribute"==i.type){if(e.attributes.includes(i.attributeKey))return!0}else if(e.children)return!0;return!1}}(e);return(e,i)=>{const o=[];i.reconvertedElements||(i.reconvertedElements=new Set);for(const e of i.changes){const n="attribute"==e.type?e.range.start.nodeAfter:e.position.parent;if(n&&t(n,e)){if(!i.reconvertedElements.has(n)){i.reconvertedElements.add(n);const e=fi._createBefore(n);let t=o.length;for(let i=o.length-1;i>=0;i--){const n=o[i],r=("attribute"==n.type?n.range.start:n.position).compareWith(e);if("before"==r||"remove"==n.type&&"same"==r)break;t=i}o.splice(t,0,{type:"remove",name:n.name,position:e,length:1},{type:"reinsert",name:n.name,position:e,length:1})}}else o.push(e)}i.changes=o}}function Xi(e){return(t,i,o={})=>{const n=["insert"];for(const i of e.attributes)t.hasAttribute(i)&&n.push(`attribute:${i}`);return!!n.every((e=>i.test(t,e)))&&(o.preflight||n.forEach((e=>i.consume(t,e))),!0)}}function eo(e,t,i,o){for(const n of t)to(e.root,n,i,o)||i.convertItem(n)}function to(e,t,i,o){const{writer:n,mapper:r}=i;if(!o.reconversion)return!1;const s=r.toViewElement(t);return!(!s||s.root==e||!i.canReuseView(s)||(n.move(n.createRangeOn(s),r.toViewPosition(fi._createBefore(t))),0))}function io(e,t,{preflight:i}={}){return i?t.test(e,"insert"):t.consume(e,"insert")}function oo(e){const{schema:t,document:i}=e.model;for(const o of i.getRootNames()){const n=i.getRoot(o);if(n.isEmpty&&!t.checkChild(n,"$text")&&t.checkChild(n,"paragraph"))return e.insertElement("paragraph",n),!0}return!1}function no(e,t,i){const o=i.createContext(e);return!!i.checkChild(o,"paragraph")&&!!i.checkChild(o.push("paragraph"),t)}function ro(e,t){const i=t.createElement("paragraph");return t.insert(i,e),t.createPositionAt(i,0)}class so extends Wi{elementToElement(e){return this.add(ao(e))}elementToAttribute(e){return this.add(function(e){uo(e=si(e));const t=ho(e,!1),i=lo(e.view),o=i?`element:${i}`:"element";return i=>{i.on(o,t,{priority:e.converterPriority||"low"})}}(e))}attributeToAttribute(e){return this.add(function(e){let t=null;("string"==typeof(e=si(e)).view||e.view.key)&&(t=function(e){"string"==typeof e.view&&(e.view={key:e.view});const t=e.view.key;let i;return i="class"==t||"style"==t?{["class"==t?"classes":"styles"]:e.view.value}:{attributes:{[t]:void 0===e.view.value?/[\s\S]*/:e.view.value}},e.view.name&&(i.name=e.view.name),e.view=i,t}(e)),uo(e,t);const i=ho(e,!0);return t=>{t.on("element",i,{priority:e.converterPriority||"low"})}}(e))}elementToMarker(e){return this.add(function(e){const t=function(e){return(t,i)=>{const o="string"==typeof e?e:e(t,i);return i.writer.createElement("$marker",{"data-name":o})}}(e.model);return ao({...e,model:t})}(e))}dataToMarker(e){return this.add(function(e){(e=si(e)).model||(e.model=t=>t?e.view+":"+t:e.view);const t={view:e.view,model:e.model},i=co(mo(t,"start")),o=co(mo(t,"end"));return n=>{n.on(`element:${e.view}-start`,i,{priority:e.converterPriority||"normal"}),n.on(`element:${e.view}-end`,o,{priority:e.converterPriority||"normal"});const r=x.priorities.low,s=x.priorities.highest,a=x.priorities.get(e.converterPriority)/s;n.on("element",function(e){return(t,i,o)=>{const n=`data-${e.view}`;function r(t,n){for(const r of n){const n=e.model(r,o),s=o.writer.createElement("$marker",{"data-name":n});o.writer.insert(s,t),i.modelCursor.isEqual(t)?i.modelCursor=i.modelCursor.getShiftedBy(1):i.modelCursor=i.modelCursor._getTransformedByInsertion(t,1),i.modelRange=i.modelRange._getTransformedByInsertion(t,1)[0]}}(o.consumable.test(i.viewItem,{attributes:n+"-end-after"})||o.consumable.test(i.viewItem,{attributes:n+"-start-after"})||o.consumable.test(i.viewItem,{attributes:n+"-end-before"})||o.consumable.test(i.viewItem,{attributes:n+"-start-before"}))&&(i.modelRange||Object.assign(i,o.convertChildren(i.viewItem,i.modelCursor)),o.consumable.consume(i.viewItem,{attributes:n+"-end-after"})&&r(i.modelRange.end,i.viewItem.getAttribute(n+"-end-after").split(",")),o.consumable.consume(i.viewItem,{attributes:n+"-start-after"})&&r(i.modelRange.end,i.viewItem.getAttribute(n+"-start-after").split(",")),o.consumable.consume(i.viewItem,{attributes:n+"-end-before"})&&r(i.modelRange.start,i.viewItem.getAttribute(n+"-end-before").split(",")),o.consumable.consume(i.viewItem,{attributes:n+"-start-before"})&&r(i.modelRange.start,i.viewItem.getAttribute(n+"-start-before").split(",")))}}(t),{priority:r+a})}}(e))}}function ao(e){const t=co(e=si(e)),i=lo(e.view),o=i?`element:${i}`:"element";return i=>{i.on(o,t,{priority:e.converterPriority||"normal"})}}function lo(e){return"string"==typeof e?e:"object"==typeof e&&"string"==typeof e.name?e.name:null}function co(e){const t=new R(e.view);return(i,o,n)=>{const r=t.match(o.viewItem);if(!r)return;const s=r.match;if(s.name=!0,!n.consumable.test(o.viewItem,s))return;const a=function(e,t,i){return e instanceof Function?e(t,i):i.writer.createElement(e)}(e.model,o.viewItem,n);a&&n.safeInsert(a,o.modelCursor)&&(n.consumable.consume(o.viewItem,s),n.convertChildren(o.viewItem,a),n.updateConversionResult(a,o))}}function uo(e,t=null){const i=null===t||(e=>e.getAttribute(t)),o="object"!=typeof e.model?e.model:e.model.key,n="object"!=typeof e.model||void 0===e.model.value?i:e.model.value;e.model={key:o,value:n}}function ho(e,t){const i=new R(e.view);return(o,n,r)=>{if(!n.modelRange&&t)return;const s=i.match(n.viewItem);if(!s)return;if(function(e,t){const i="function"==typeof e?e(t):e;return!("object"==typeof i&&!lo(i))&&(!i.classes&&!i.attributes&&!i.styles)}(e.view,n.viewItem)?s.match.name=!0:delete s.match.name,!r.consumable.test(n.viewItem,s.match))return;const a=e.model.key,l="function"==typeof e.model.value?e.model.value(n.viewItem,r):e.model.value;if(null===l)return;n.modelRange||Object.assign(n,r.convertChildren(n.viewItem,n.modelCursor));const c=function(e,t,i,o){let n=!1;for(const r of Array.from(e.getItems({shallow:i})))o.schema.checkAttribute(r,t.key)&&(n=!0,r.hasAttribute(t.key)||o.writer.setAttribute(t.key,t.value,r));return n}(n.modelRange,{key:a,value:l},t,r);c&&(r.consumable.test(n.viewItem,{name:!0})&&(s.match.name=!0),r.consumable.consume(n.viewItem,s.match))}}function mo(e,t){return{view:`${e.view}-${t}`,model:(t,i)=>{const o=t.getAttribute("name"),n=e.model(o,i);return i.writer.createElement("$marker",{"data-name":n})}}}function go(e,t){return e.isCollapsed?function(e,t){const i=e.start,o=t.getNearestSelectionRange(i);if(!o){const e=i.getAncestors().reverse().find((e=>t.isObject(e)));return e?yi._createOn(e):null}if(!o.isCollapsed)return o;const n=o.start;return i.isEqual(n)?null:new yi(n)}(e,t):function(e,t){const{start:i,end:o}=e,n=t.checkChild(i,"$text"),r=t.checkChild(o,"$text"),s=t.getLimitElement(i),a=t.getLimitElement(o);if(s===a){if(n&&r)return null;if(function(e,t,i){const o=e.nodeAfter&&!i.isLimit(e.nodeAfter)||i.checkChild(e,"$text"),n=t.nodeBefore&&!i.isLimit(t.nodeBefore)||i.checkChild(t,"$text");return o||n}(i,o,t)){const e=i.nodeAfter&&t.isSelectable(i.nodeAfter)?null:t.getNearestSelectionRange(i,"forward"),n=o.nodeBefore&&t.isSelectable(o.nodeBefore)?null:t.getNearestSelectionRange(o,"backward"),r=e?e.start:i,s=n?n.end:o;return new yi(r,s)}}const l=s&&!s.is("rootElement"),c=a&&!a.is("rootElement");if(l||c){const e=i.nodeAfter&&o.nodeBefore&&i.nodeAfter.parent===o.nodeBefore.parent,n=l&&(!e||!fo(i.nodeAfter,t)),r=c&&(!e||!fo(o.nodeBefore,t));let d=i,u=o;return n&&(d=fi._createBefore(po(s,t))),r&&(u=fi._createAfter(po(a,t))),new yi(d,u)}return null}(e,t)}function po(e,t){let i=e,o=i;for(;t.isLimit(o)&&o.parent;)i=o,o=o.parent;return i}function fo(e,t){return e&&t.isSelectable(e)}class bo extends((0,x.ObservableMixin)()){constructor(e,t){super(),this.model=e,this.view=new ai(t),this.mapper=new Ci,this.downcastDispatcher=new Ei({mapper:this.mapper,schema:e.schema});const i=this.model.document,o=i.selection,n=this.model.markers;var r,s,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(i,"change",(()=>{this.view.change((e=>{this.downcastDispatcher.convertChanges(i.differ,n,e),this.downcastDispatcher.convertSelection(o,n,e)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(e,t){return(i,o)=>{const n=o.newSelection,r=[];for(const e of n.getRanges())r.push(t.toModelRange(e));const s=e.createSelection(r,{backward:n.isBackward});s.isEqual(e.document.selection)||e.change((e=>{e.setSelection(s)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(r=this.mapper,s=this.model.schema,a=this.view,(e,t)=>{if(!a.document.isComposing||x.env.isAndroid)for(let e=0;e<t.targetRanges.length;e++){const i=t.targetRanges[e],o=r.toModelRange(i),n=go(o,s);n&&!n.isEqual(o)&&(t.targetRanges[e]=r.toViewRange(n))}}),{priority:"high"}),this.downcastDispatcher.on("insert:$text",((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.writer,n=i.mapper.toViewPosition(t.range.start),r=o.createText(t.item.data);o.insert(n,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,i)=>{i.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||i.convertChildren(t.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((e,t,i)=>{const o=i.mapper.toViewPosition(t.position),n=t.position.getShiftedBy(t.length),r=i.mapper.toViewPosition(n,{isPhantom:!0}),s=i.writer.createRange(o,r),a=i.writer.remove(s.getTrimmed());for(const e of i.writer.createRangeIn(a).getItems())i.mapper.unbindViewElement(e,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("selection",((e,t,i)=>{const o=i.writer,n=o.document.selection;for(const e of n.getRanges())e.isCollapsed&&e.end.parent.isAttached()&&i.writer.mergeAttributes(e.start);o.setSelection(null)}),{priority:"high"}),this.downcastDispatcher.on("selection",((e,t,i)=>{const o=t.selection;if(o.isCollapsed)return;if(!i.consumable.consume(o,"selection"))return;const n=[];for(const e of o.getRanges())n.push(i.mapper.toViewRange(e));i.writer.setSelection(n,{backward:o.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((e,t,i)=>{const o=t.selection;if(!o.isCollapsed)return;if(!i.consumable.consume(o,"selection"))return;const n=i.writer,r=o.getFirstPosition(),s=i.mapper.toViewPosition(r),a=n.breakAttributes(s);n.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((e=>{if("$graveyard"==e.rootName)return null;const t=new Be(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,i=this.model.markers.get(t);if(!i)throw new x.CKEditorError("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:t});this.model.change((()=>{this.model.markers._refresh(i)}))}reconvertItem(e){this.model.change((()=>{this.model.document.differ._refreshItem(e)}))}}class wo{constructor(){this._consumables=new Map}add(e,t){let i;e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):(this._consumables.has(e)?i=this._consumables.get(e):(i=new _o(e),this._consumables.set(e,i)),i.add(t))}test(e,t){const i=this._consumables.get(e);return void 0===i?null:e.is("$text")||e.is("documentFragment")?i:i.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 i=this._consumables.get(e);void 0!==i&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):i.revert(t))}static consumablesFromElement(e){const t={element:e,name:!0,attributes:[],classes:[],styles:[]},i=e.getAttributeKeys();for(const e of i)"style"!=e&&"class"!=e&&t.attributes.push(e);const o=e.getClassNames();for(const e of o)t.classes.push(e);const n=e.getStyleNames();for(const e of n)t.styles.push(e);return t}static createFrom(e,t){if(t||(t=new wo),e.is("$text"))return t.add(e),t;e.is("element")&&t.add(e,wo.consumablesFromElement(e)),e.is("documentFragment")&&t.add(e);for(const i of e.getChildren())t=wo.createFrom(i,t);return t}}const ko=["attributes","classes","styles"];class _o{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 ko)t in e&&this._add(t,e[t])}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const t of ko)if(t in e){const i=this._test(t,e[t]);if(!0!==i)return i}return!0}consume(e){e.name&&(this._canConsumeName=!1);for(const t of ko)t in e&&this._consume(t,e[t])}revert(e){e.name&&(this._canConsumeName=!0);for(const t of ko)t in e&&this._revert(t,e[t])}_add(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i){if("attributes"===e&&("class"===t||"style"===t))throw new x.CKEditorError("viewconsumable-invalid-attribute",this);if(o.set(t,!0),"styles"===e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))o.set(e,!0)}}_test(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i)if("attributes"!==e||"class"!==t&&"style"!==t){const e=o.get(t);if(void 0===e)return null;if(!e)return!1}else{const e="class"==t?"classes":"styles",i=this._test(e,[...this._consumables[e].keys()]);if(!0!==i)return i}return!0}_consume(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i)if("attributes"!==e||"class"!==t&&"style"!==t){if(o.set(t,!1),"styles"==e)for(const e of this.element.document.stylesProcessor.getRelatedStyles(t))o.set(e,!1)}else{const e="class"==t?"classes":"styles";this._consume(e,[...this._consumables[e].keys()])}}_revert(e,t){const i=(0,z.Z)(t)?t:[t],o=this._consumables[e];for(const t of i)if("attributes"!==e||"class"!==t&&"style"!==t)!1===o.get(t)&&o.set(t,!0);else{const e="class"==t?"classes":"styles";this._revert(e,[...this._consumables[e].keys()])}}}class vo extends((0,x.ObservableMixin)()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((e,t)=>{t[0]=new yo(t[0])}),{priority:"highest"}),this.on("checkChild",((e,t)=>{t[0]=new yo(t[0]),t[1]=this.getDefinition(t[1])}),{priority:"highest"})}register(e,t){if(this._sourceDefinitions[e])throw new x.CKEditorError("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 x.CKEditorError("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(t,e)}checkAttribute(e,t){const i=this.getDefinition(e.last);return!!i&&i.allowAttributes.includes(t)}checkMerge(e,t){if(e instanceof fi){const t=e.nodeBefore,i=e.nodeAfter;if(!(t instanceof mi))throw new x.CKEditorError("schema-check-merge-no-element-before",this);if(!(i instanceof mi))throw new x.CKEditorError("schema-check-merge-no-element-after",this);return this.checkMerge(t,i)}for(const i of t.getChildren())if(!this.checkChild(e,i))return!1;return!0}addChildCheck(e){this.on("checkChild",((t,[i,o])=>{if(!o)return;const n=e(i,o);"boolean"==typeof n&&(t.stop(),t.return=n)}),{priority:"high"})}addAttributeCheck(e){this.on("checkAttribute",((t,[i,o])=>{const n=e(i,o);"boolean"==typeof n&&(t.stop(),t.return=n)}),{priority:"high"})}setAttributeProperties(e,t){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),t)}getAttributeProperties(e){return this._attributeProperties[e]||{}}getLimitElement(e){let t;for(t=e instanceof fi?e.parent:(e instanceof yi?[e]:Array.from(e.getRanges())).reduce(((e,t)=>{const i=t.getCommonAncestor();return e?e.getCommonAncestor(i,{includeSelf:!0}):i}),null);!this.isLimit(t)&&t.parent;)t=t.parent;return t}checkAttributeInSelection(e,t){if(e.isCollapsed){const i=[...e.getFirstPosition().getAncestors(),new ui("",e.getAttributes())];return this.checkAttribute(i,t)}{const i=e.getRanges();for(const e of i)for(const i of e)if(this.checkAttribute(i.item,t))return!0}return!1}*getValidRanges(e,t){e=function*(e){for(const t of e)yield*t.getMinimalFlatRanges()}(e);for(const i of e)yield*this._getValidRangesForRange(i,t)}getNearestSelectionRange(e,t="both"){if(this.checkChild(e,"$text"))return new yi(e);let i,o;const n=e.getAncestors().reverse().find((e=>this.isLimit(e)))||e.root;"both"!=t&&"backward"!=t||(i=new gi({boundaries:yi._createIn(n),startPosition:e,direction:"backward"})),"both"!=t&&"forward"!=t||(o=new gi({boundaries:yi._createIn(n),startPosition:e}));for(const e of function*(e,t){let i=!1;for(;!i;){if(i=!0,e){const t=e.next();t.done||(i=!1,yield{walker:e,value:t.value})}if(t){const e=t.next();e.done||(i=!1,yield{walker:t,value:e.value})}}}(i,o)){const t=e.walker==i?"elementEnd":"elementStart",o=e.value;if(o.type==t&&this.isObject(o.item))return yi._createOn(o.item);if(this.checkChild(o.nextPosition,"$text"))return new yi(o.nextPosition)}return null}findAllowedParent(e,t){let i=e.parent;for(;i;){if(this.checkChild(i,t))return i;if(this.isLimit(i))return null;i=i.parent}return null}setAllowedAttributes(e,t,i){const o=i.model;for(const[n,r]of Object.entries(t))o.schema.checkAttribute(e,n)&&i.setAttribute(n,r,e)}removeDisallowedAttributes(e,t){for(const i of e)if(i.is("$text"))Mo(this,i,t);else{const e=yi._createIn(i).getPositions();for(const i of e)Mo(this,i.nodeBefore||i.parent,t)}}getAttributesWithProperty(e,t,i){const o={};for(const[n,r]of e.getAttributes()){const e=this.getAttributeProperties(n);void 0!==e[t]&&(void 0!==i&&i!==e[t]||(o[n]=r))}return o}createContext(e){return new yo(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},t=this._sourceDefinitions,i=Object.keys(t);for(const o of i)e[o]=Co(t[o],o);for(const t of i)xo(e,t);for(const t of i)Ao(e,t);for(const t of i)Eo(e,t);for(const t of i)To(e,t),So(e,t);for(const t of i)Po(e,t),Io(e,t),Vo(e,t);this._compiledDefinitions=e}_checkContextMatch(e,t,i=t.length-1){const o=t.getItem(i);if(e.allowIn.includes(o.name)){if(0==i)return!0;{const e=this.getDefinition(o);return this._checkContextMatch(e,t,i-1)}}return!1}*_getValidRangesForRange(e,t){let i=e.start,o=e.start;for(const n of e.getItems({shallow:!0}))n.is("element")&&(yield*this._getValidRangesForRange(yi._createIn(n),t)),this.checkAttribute(n,t)||(i.isEqual(o)||(yield new yi(i,o)),i=fi._createAfter(n)),o=fi._createAfter(n);i.isEqual(o)||(yield new yi(i,o))}}class yo{constructor(e){if(e instanceof yo)return e;let t;t="string"==typeof e?[e]:Array.isArray(e)?e:e.getAncestors({includeSelf:!0}),this._items=t.map(Bo)}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 yo([e]);return t._items=[...this._items,...t._items],t}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 Co(e,t){const i={name:t,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(e,t){for(const i of e){const e=Object.keys(i).filter((e=>e.startsWith("is")));for(const o of e)t[o]=!!i[o]}}(e,i),Ro(e,i,"allowIn"),Ro(e,i,"allowContentOf"),Ro(e,i,"allowWhere"),Ro(e,i,"allowAttributes"),Ro(e,i,"allowAttributesOf"),Ro(e,i,"allowChildren"),Ro(e,i,"inheritTypesFrom"),function(e,t){for(const i of e){const e=i.inheritAllFrom;e&&(t.allowContentOf.push(e),t.allowWhere.push(e),t.allowAttributesOf.push(e),t.inheritTypesFrom.push(e))}}(e,i),i}function xo(e,t){const i=e[t];for(const o of i.allowChildren){const i=e[o];i&&i.allowIn.push(t)}i.allowChildren.length=0}function Ao(e,t){for(const i of e[t].allowContentOf)e[i]&&Oo(e,i).forEach((e=>{e.allowIn.push(t)}));delete e[t].allowContentOf}function Eo(e,t){for(const i of e[t].allowWhere){const o=e[i];if(o){const i=o.allowIn;e[t].allowIn.push(...i)}}delete e[t].allowWhere}function To(e,t){for(const i of e[t].allowAttributesOf){const o=e[i];if(o){const i=o.allowAttributes;e[t].allowAttributes.push(...i)}}delete e[t].allowAttributesOf}function So(e,t){const i=e[t];for(const t of i.inheritTypesFrom){const o=e[t];if(o){const e=Object.keys(o).filter((e=>e.startsWith("is")));for(const t of e)t in i||(i[t]=o[t])}}delete i.inheritTypesFrom}function Po(e,t){const i=e[t],o=i.allowIn.filter((t=>e[t]));i.allowIn=Array.from(new Set(o))}function Io(e,t){const i=e[t];for(const o of i.allowIn)e[o].allowChildren.push(t)}function Vo(e,t){const i=e[t];i.allowAttributes=Array.from(new Set(i.allowAttributes))}function Ro(e,t,i){for(const o of e){const e=o[i];"string"==typeof e?t[i].push(e):Array.isArray(e)&&t[i].push(...e)}}function Oo(e,t){const i=e[t];return(o=e,Object.keys(o).map((e=>o[e]))).filter((e=>e.allowIn.includes(i.name)));var o}function Bo(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 Mo(e,t,i){for(const o of t.getAttributeKeys())e.checkAttribute(t,o)||i.removeAttribute(o,t)}class zo extends((0,x.EmitterMixin)()){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,i=["$root"]){this.fire("viewCleanup",e),this._modelCursor=function(e,t){let i;for(const o of new yo(e)){const e={};for(const t of o.getAttributeKeys())e[t]=o.getAttribute(t);const n=t.createElement(o.name,e);i&&t.insert(n,i),i=fi._createAt(n,0)}return i}(i,t),this.conversionApi.writer=t,this.conversionApi.consumable=wo.createFrom(e),this.conversionApi.store={};const{modelRange:o}=this._convertItem(e,this._modelCursor),n=t.createDocumentFragment();if(o){this._removeEmptyElements();for(const e of Array.from(this._modelCursor.parent.getChildren()))t.append(e,n);n.markers=function(e,t){const i=new Set,o=new Map,n=yi._createIn(e).getItems();for(const e of n)e.is("element","$marker")&&i.add(e);for(const e of i){const i=e.getAttribute("data-name"),n=t.createPositionBefore(e);o.has(i)?o.get(i).end=n.clone():o.set(i,new yi(n.clone())),t.remove(e)}return o}(n,t)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,n}_convertItem(e,t){const i={viewItem:e,modelCursor:t,modelRange:null};if(e.is("element")?this.fire(`element:${e.name}`,i,this.conversionApi):e.is("$text")?this.fire("text",i,this.conversionApi):this.fire("documentFragment",i,this.conversionApi),i.modelRange&&!(i.modelRange instanceof yi))throw new x.CKEditorError("view-conversion-dispatcher-incorrect-result",this);return{modelRange:i.modelRange,modelCursor:i.modelCursor}}_convertChildren(e,t){let i=t.is("position")?t:fi._createAt(t,0);const o=new yi(i);for(const t of Array.from(e.getChildren())){const e=this._convertItem(t,i);e.modelRange instanceof yi&&(o.end=e.modelRange.end,i=e.modelCursor)}return{modelRange:o,modelCursor:i}}_safeInsert(e,t){const i=this._splitToAllowedParent(e,t);return!!i&&(this.conversionApi.writer.insert(e,i.position),!0)}_updateConversionResult(e,t){const i=this._getSplitParts(e),o=this.conversionApi.writer;t.modelRange||(t.modelRange=o.createRange(o.createPositionBefore(e),o.createPositionAfter(i[i.length-1])));const n=this._cursorParents.get(e);t.modelCursor=n?o.createPositionAt(n,0):t.modelRange.end}_splitToAllowedParent(e,t){const{schema:i,writer:o}=this.conversionApi;let n=i.findAllowedParent(t,e);if(n){if(n===t.parent)return{position:t};this._modelCursor.parent.getAncestors().includes(n)&&(n=null)}if(!n)return no(t,e,i)?{position:ro(t,o)}:null;const r=this.conversionApi.writer.split(t,n),s=[];for(const e of r.range.getWalker())if("elementEnd"==e.type)s.push(e.item);else{const t=s.pop(),i=e.item;this._registerSplitPair(t,i)}const a=r.range.end.parent;return this._cursorParents.set(e,a),{position:r.position,cursorParent:a}}_registerSplitPair(e,t){this._splitParts.has(e)||this._splitParts.set(e,[e]);const i=this._splitParts.get(e);this._splitParts.set(t,i),i.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 No{getHtml(e){const t=document.implementation.createHTMLDocument("").createElement("div");return t.appendChild(e),t.innerHTML}}class Do{constructor(e){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Nt(e,{renderingMode:"data"}),this.htmlWriter=new No}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){e.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(e=`<body>${e}</body>`);const t=this.domParser.parseFromString(e,"text/html"),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return i}}class Lo extends((0,x.EmitterMixin)()){constructor(e,t){super(),this.model=e,this.mapper=new Ci,this.downcastDispatcher=new Ei({mapper:this.mapper,schema:e.schema}),this.downcastDispatcher.on("insert:$text",((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.writer,n=i.mapper.toViewPosition(t.range.start),r=o.createText(t.item.data);o.insert(n,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((e,t,i)=>{i.convertAttributes(t.item),t.reconversion||!t.item.is("element")||t.item.isEmpty||i.convertChildren(t.item)}),{priority:"lowest"}),this.upcastDispatcher=new zo({schema:e.schema}),this.viewDocument=new Ke(t),this.stylesProcessor=t,this.htmlProcessor=new Do(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new rt(this.viewDocument),this.upcastDispatcher.on("text",((e,t,{schema:i,consumable:o,writer:n})=>{let r=t.modelCursor;if(!o.test(t.viewItem))return;if(!i.checkChild(r,"$text")){if(!no(r,"$text",i))return;if(0==t.viewItem.data.trim().length)return;const e=r.nodeBefore;r=ro(r,n),e&&e.is("element","$marker")&&(n.move(n.createRangeOn(e),r),r=n.createPositionAfter(e))}o.consume(t.viewItem);const s=n.createText(t.viewItem.data);n.insert(s,r),t.modelRange=n.createRange(r,r.getShiftedBy(s.offsetSize)),t.modelCursor=t.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((e,t,i)=>{if(!t.modelRange&&i.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:o}=i.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=o}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((e,t,i)=>{if(!t.modelRange&&i.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:o}=i.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=o}}),{priority:"lowest"}),(0,x.ObservableMixin)().prototype.decorate.call(this,"init"),(0,x.ObservableMixin)().prototype.decorate.call(this,"set"),(0,x.ObservableMixin)().prototype.decorate.call(this,"get"),(0,x.ObservableMixin)().prototype.decorate.call(this,"toView"),(0,x.ObservableMixin)().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},oo)}),{priority:"lowest"})}get(e={}){const{rootName:t="main",trim:i="empty"}=e;if(!this._checkIfRootsExists([t]))throw new x.CKEditorError("datacontroller-get-non-existent-root",this);const o=this.model.document.getRoot(t);return o.isAttached()||(0,x.logWarning)("datacontroller-get-detached-root",this),"empty"!==i||this.model.hasContent(o,{ignoreWhitespaces:!0})?this.stringify(o,e):""}stringify(e,t={}){const i=this.toView(e,t);return this.processor.toData(i)}toView(e,t={}){const i=this.viewDocument,o=this._viewWriter;this.mapper.clearBindings();const n=yi._createIn(e),r=new nt(i);this.mapper.bindElements(e,r);const s=e.is("documentFragment")?e.markers:function(e){const t=[],i=e.root.document;if(!i)return new Map;const o=yi._createIn(e);for(const e of i.model.markers){const i=e.getRange(),n=i.isCollapsed,r=i.start.isEqual(o.start)||i.end.isEqual(o.end);if(n&&r)t.push([e.name,i]);else{const n=o.getIntersection(i);n&&t.push([e.name,n])}}return t.sort((([e,t],[i,o])=>{if("after"!==t.end.compareWith(o.start))return 1;if("before"!==t.start.compareWith(o.end))return-1;switch(t.start.compareWith(o.start)){case"before":return 1;case"after":return-1;default:switch(t.end.compareWith(o.end)){case"before":return 1;case"after":return-1;default:return i.localeCompare(e)}}})),new Map(t)}(e);return this.downcastDispatcher.convert(n,s,o,t),r}init(e){if(this.model.document.version)throw new x.CKEditorError("datacontroller-init-document-not-empty",this);let t={};if("string"==typeof e?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new x.CKEditorError("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(e=>{for(const i of Object.keys(t)){const o=this.model.document.getRoot(i);e.insert(this.parse(t[i],o),o,0)}})),Promise.resolve()}set(e,t={}){let i={};if("string"==typeof e?i.main=e:i=e,!this._checkIfRootsExists(Object.keys(i)))throw new x.CKEditorError("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(i)){const o=this.model.document.getRoot(t);e.remove(e.createRangeIn(o)),e.insert(this.parse(i[t],o),o,0)}}))}parse(e,t="$root"){const i=this.processor.toView(e);return this.toModel(i,t)}toModel(e,t="$root"){return this.model.change((i=>this.upcastDispatcher.convert(e,i,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 Fo{constructor(e,t){this._helpers=new Map,this._downcast=(0,x.toArray)(e),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=(0,x.toArray)(t),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,t){const i=this._downcast.includes(t);if(!this._upcast.includes(t)&&!i)throw new x.CKEditorError("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:e,dispatchers:[t],isDowncast:i})}for(e){if(!this._helpers.has(e))throw new x.CKEditorError("conversion-for-unknown-group",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:t,view:i}of Zo(e))this.for("upcast").elementToElement({model:t,view:i,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:t,view:i}of Zo(e))this.for("upcast").elementToAttribute({view:i,model:t,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:t,view:i}of Zo(e))this.for("upcast").attributeToAttribute({view:i,model:t})}_createConversionHelpers({name:e,dispatchers:t,isDowncast:i}){if(this._helpers.has(e))throw new x.CKEditorError("conversion-group-exists",this);const o=i?new ji(t):new so(t);this._helpers.set(e,o)}}function*Zo(e){if(e.model.values)for(const t of e.model.values){const i={key:e.model.key,value:t},o=e.view[t],n=e.upcastAlso?e.upcastAlso[t]:void 0;yield*Ho(i,o,n)}else yield*Ho(e.model,e.view,e.upcastAlso)}function*Ho(e,t,i){if(yield{model:e,view:t},i)for(const t of(0,x.toArray)(i))yield{model:e,view:t}}class Wo{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 jo(e,t){const i=qo(t),o=i.reduce(((e,t)=>e+t.offsetSize),0),n=e.parent;Go(e);const r=e.index;return n._insertChild(r,i),Ko(n,r+i.length),Ko(n,r),new yi(e,e.getShiftedBy(o))}function Uo(e){if(!e.isFlat)throw new x.CKEditorError("operation-utils-remove-range-not-flat",this);const t=e.start.parent;Go(e.start),Go(e.end);const i=t._removeChildren(e.start.index,e.end.index-e.start.index);return Ko(t,e.start.index),i}function $o(e,t){if(!e.isFlat)throw new x.CKEditorError("operation-utils-move-range-not-flat",this);const i=Uo(e);return jo(t=t._getTransformedByDeletion(e.start,e.end.offset-e.start.offset),i)}function qo(e){const t=[];!function e(i){if("string"==typeof i)t.push(new ui(i));else if(i instanceof hi)t.push(new ui(i.data,i.getAttributes()));else if(i instanceof ci)t.push(i);else if((0,x.isIterable)(i))for(const t of i)e(t)}(e);for(let e=1;e<t.length;e++){const i=t[e],o=t[e-1];i instanceof ui&&o instanceof ui&&Jo(i,o)&&(t.splice(e-1,2,new ui(o.data+i.data,o.getAttributes())),e--)}return t}function Ko(e,t){const i=e.getChild(t-1),o=e.getChild(t);if(i&&o&&i.is("$text")&&o.is("$text")&&Jo(i,o)){const n=new ui(i.data+o.data,i.getAttributes());e._removeChildren(t-1,2),e._insertChild(t-1,n)}}function Go(e){const t=e.textNode,i=e.parent;if(t){const o=e.offset-t.startOffset,n=t.index;i._removeChildren(n,1);const r=new ui(t.data.substr(0,o),t.getAttributes()),s=new ui(t.data.substr(o),t.getAttributes());i._insertChild(n,[r,s])}}function Jo(e,t){const i=e.getAttributes(),o=t.getAttributes();for(const e of i){if(e[1]!==t.getAttribute(e[0]))return!1;o.next()}return o.next().done}class Yo extends Wo{constructor(e,t,i,o){super(o),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toNext",this.howMany=t,this.targetPosition=i.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}get affectedSelectable(){return[yi._createFromPositionAndShift(this.sourcePosition,this.howMany),yi._createFromPositionAndShift(this.targetPosition,0)]}clone(){return new Yo(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 Yo(this.getMovedRangeStart(),this.howMany,e,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent,i=this.sourcePosition.offset,o=this.targetPosition.offset;if(i+this.howMany>e.maxOffset)throw new x.CKEditorError("move-operation-nodes-do-not-exist",this);if(e===t&&i<o&&o<i+this.howMany)throw new x.CKEditorError("move-operation-range-into-itself",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==(0,x.compareArrays)(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const e=this.sourcePosition.path.length-1;if(this.targetPosition.path[e]>=i&&this.targetPosition.path[e]<i+this.howMany)throw new x.CKEditorError("move-operation-node-into-itself",this)}}_execute(){$o(yi._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 i=fi.fromJSON(e.sourcePosition,t),o=fi.fromJSON(e.targetPosition,t);return new this(i,e.howMany,o,e.baseVersion)}}class Qo extends Wo{constructor(e,t,i){super(i),this.position=e.clone(),this.position.stickiness="toNone",this.nodes=new di(qo(t)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}get affectedSelectable(){return this.position.clone()}clone(){const e=new di([...this.nodes].map((e=>e._clone(!0)))),t=new Qo(this.position,e,this.baseVersion);return t.shouldReceiveAttributes=this.shouldReceiveAttributes,t}getReversed(){const e=this.position.root.document.graveyard,t=new fi(e,[0]);return new Yo(this.position,this.nodes.maxOffset,t,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffset<this.position.offset)throw new x.CKEditorError("insert-operation-position-invalid",this)}_execute(){const e=this.nodes;this.nodes=new di([...e].map((e=>e._clone(!0)))),jo(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 i=[];for(const t of e.nodes)t.name?i.push(mi.fromJSON(t)):i.push(ui.fromJSON(t));const o=new Qo(fi.fromJSON(e.position,t),i,e.baseVersion);return o.shouldReceiveAttributes=e.shouldReceiveAttributes,o}}class Xo extends Wo{constructor(e,t,i,o,n){super(n),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=t,this.insertionPosition=i,this.graveyardPosition=o?o.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 fi(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new yi(this.splitPosition,e)}get affectedSelectable(){const e=[yi._createFromPositionAndShift(this.splitPosition,0),yi._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&e.push(yi._createFromPositionAndShift(this.graveyardPosition,0)),e}clone(){return new Xo(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.splitPosition.root.document.graveyard,t=new fi(e,[0]);return new en(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 x.CKEditorError("split-operation-position-invalid",this);if(!e.parent)throw new x.CKEditorError("split-operation-split-in-root",this);if(this.howMany!=e.maxOffset-this.splitPosition.offset)throw new x.CKEditorError("split-operation-how-many-invalid",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new x.CKEditorError("split-operation-graveyard-position-invalid",this)}_execute(){const e=this.splitPosition.parent;if(this.graveyardPosition)$o(yi._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const t=e._clone();jo(this.insertionPosition,t)}$o(new yi(fi._createAt(e,this.splitPosition.offset),fi._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 fi(e.root,t,"toPrevious")}static fromJSON(e,t){const i=fi.fromJSON(e.splitPosition,t),o=fi.fromJSON(e.insertionPosition,t),n=e.graveyardPosition?fi.fromJSON(e.graveyardPosition,t):null;return new this(i,e.howMany,o,n,e.baseVersion)}}class en extends Wo{constructor(e,t,i,o,n){super(n),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=t,this.targetPosition=i.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=o.clone()}get type(){return"merge"}get deletionPosition(){return new fi(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const e=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new yi(this.sourcePosition,e)}get affectedSelectable(){const e=this.sourcePosition.parent;return[yi._createOn(e),yi._createFromPositionAndShift(this.targetPosition,0),yi._createFromPositionAndShift(this.graveyardPosition,0)]}clone(){return new en(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.targetPosition._getTransformedByMergeOperation(this),t=this.sourcePosition.path.slice(0,-1),i=new fi(this.sourcePosition.root,t)._getTransformedByMergeOperation(this);return new Xo(e,this.howMany,i,this.graveyardPosition,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent;if(!e.parent)throw new x.CKEditorError("merge-operation-source-position-invalid",this);if(!t.parent)throw new x.CKEditorError("merge-operation-target-position-invalid",this);if(this.howMany!=e.maxOffset)throw new x.CKEditorError("merge-operation-how-many-invalid",this)}_execute(){const e=this.sourcePosition.parent;$o(yi._createIn(e),this.targetPosition),$o(yi._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 i=fi.fromJSON(e.sourcePosition,t),o=fi.fromJSON(e.targetPosition,t),n=fi.fromJSON(e.graveyardPosition,t);return new this(i,e.howMany,o,n,e.baseVersion)}}class tn extends Wo{constructor(e,t,i,o,n,r){super(r),this.name=e,this.oldRange=t?t.clone():null,this.newRange=i?i.clone():null,this.affectsData=n,this._markers=o}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 tn(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new tn(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 tn(e.name,e.oldRange?yi.fromJSON(e.oldRange,t):null,e.newRange?yi.fromJSON(e.newRange,t):null,t.model.markers,e.affectsData,e.baseVersion)}}var on=i(576);class nn extends Wo{constructor(e,t,i,o,n){super(n),this.range=e.clone(),this.key=t,this.oldValue=void 0===i?null:i,this.newValue=void 0===o?null:o}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}get affectedSelectable(){return this.range.clone()}clone(){return new nn(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new nn(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 x.CKEditorError("attribute-operation-range-not-flat",this);for(const e of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!(0,on.Z)(e.getAttribute(this.key),this.oldValue))throw new x.CKEditorError("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 x.CKEditorError("attribute-operation-attribute-exists",this,{node:e,key:this.key})}}_execute(){(0,on.Z)(this.oldValue,this.newValue)||function(e,t,i){Go(e.start),Go(e.end);for(const o of e.getItems({shallow:!0})){const e=o.is("$textProxy")?o.textNode:o;null!==i?e._setAttribute(t,i):e._removeAttribute(t),Ko(e.parent,e.index)}Ko(e.end.parent,e.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(e,t){return new nn(yi.fromJSON(e.range,t),e.key,e.oldValue,e.newValue,e.baseVersion)}}class rn extends Wo{get type(){return"noop"}get affectedSelectable(){return null}clone(){return new rn(this.baseVersion)}getReversed(){return new rn(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}class sn extends Wo{constructor(e,t,i,o){super(o),this.position=e,this.position.stickiness="toNext",this.oldName=t,this.newName=i}get type(){return"rename"}get affectedSelectable(){return this.position.nodeAfter}clone(){return new sn(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new sn(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const e=this.position.nodeAfter;if(!(e instanceof mi))throw new x.CKEditorError("rename-operation-wrong-position",this);if(e.name!==this.oldName)throw new x.CKEditorError("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 sn(fi.fromJSON(e.position,t),e.oldName,e.newName,e.baseVersion)}}class an extends Wo{constructor(e,t,i,o,n){super(n),this.root=e,this.key=t,this.oldValue=void 0===i?null:i,this.newValue=void 0===o?null:o}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}get affectedSelectable(){return this.root}clone(){return new an(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new an(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new x.CKEditorError("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 x.CKEditorError("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 x.CKEditorError("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 x.CKEditorError("rootattribute-operation-fromjson-no-root",this,{rootName:e.root});return new an(t.getRoot(e.root),e.key,e.oldValue,e.newValue,e.baseVersion)}}class ln extends Wo{constructor(e,t,i,o,n){super(n),this.rootName=e,this.elementName=t,this.isAdd=i,this._document=o,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 ln(this.rootName,this.elementName,this.isAdd,this._document,this.baseVersion)}getReversed(){return new ln(this.rootName,this.elementName,!this.isAdd,this._document,this.baseVersion+1)}_validate(){const e=this._document.getRoot(this.rootName);if(e.isAttached()&&this.isAdd)throw new x.CKEditorError("root-operation-root-attached",this);if(!e.isAttached()&&!this.isAdd)throw new x.CKEditorError("root-operation-root-detached",this)}_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 ln(e.rootName,e.elementName,e.isAdd,t,e.baseVersion)}}const cn={};cn[nn.className]=nn,cn[Qo.className]=Qo,cn[tn.className]=tn,cn[Yo.className]=Yo,cn[rn.className]=rn,cn[Wo.className]=Wo,cn[sn.className]=sn,cn[an.className]=an,cn[ln.className]=ln,cn[Xo.className]=Xo,cn[en.className]=en;class dn{static fromJSON(e,t){return cn[e.__className].fromJSON(e,t)}}const un=new Map;function hn(e,t,i){let o=un.get(e);o||(o=new Map,un.set(e,o)),o.set(t,i)}function mn(e){return[e]}function gn(e,t,i={}){const o=function(e,t){const i=un.get(e);return i&&i.has(t)?i.get(t):mn}(e.constructor,t.constructor);try{return o(e=e.clone(),t,i)}catch(e){throw e}}function pn(e,t,i){e=e.slice(),t=t.slice();const o=new fn(i.document,i.useRelations,i.forceWeakRemove);o.setOriginalOperations(e),o.setOriginalOperations(t);const n=o.originalOperations;if(0==e.length||0==t.length)return{operationsA:e,operationsB:t,originalOperations:n};const r=new WeakMap;for(const t of e)r.set(t,0);const s={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 i=e[a],n=r.get(i);if(n==t.length){a++;continue}const s=t[n],l=gn(i,s,o.getContext(i,s,!0)),c=gn(s,i,o.getContext(s,i,!1));o.updateRelation(i,s),o.setOriginalOperations(l,i),o.setOriginalOperations(c,s);for(const e of l)r.set(e,n+c.length);e.splice(a,1,...l),t.splice(n,1,...c)}if(i.padWithNoOps){const i=e.length-s.originalOperationsACount,o=t.length-s.originalOperationsBCount;wn(e,o-i),wn(t,i-o)}return bn(e,s.nextBaseVersionB),bn(t,s.nextBaseVersionA),{operationsA:e,operationsB:t,originalOperations:n}}class fn{constructor(e,t,i=!1){this.originalOperations=new Map,this._history=e.history,this._useRelations=t,this._forceWeakRemove=!!i,this._relations=new Map}setOriginalOperations(e,t=null){const i=t?this.originalOperations.get(t):null;for(const t of e)this.originalOperations.set(t,i||t)}updateRelation(e,t){if(e instanceof Yo)t instanceof en?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 Yo&&(e.targetPosition.isEqual(t.sourcePosition)||e.targetPosition.isBefore(t.sourcePosition)?this._setRelation(e,t,"insertBefore"):this._setRelation(e,t,"insertAfter"));else if(e instanceof Xo){if(t instanceof en)e.splitPosition.isBefore(t.sourcePosition)&&this._setRelation(e,t,"splitBefore");else if(t instanceof Yo)if(e.splitPosition.isEqual(t.sourcePosition)||e.splitPosition.isBefore(t.sourcePosition))this._setRelation(e,t,"splitBefore");else{const i=yi._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&i.containsPosition(e.splitPosition)){const o=i.end.offset-e.splitPosition.offset,n=e.splitPosition.offset-i.start.offset;this._setRelation(e,t,{howMany:o,offset:n})}}}else if(e instanceof en)t instanceof en?(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 Xo&&e.sourcePosition.isEqual(t.splitPosition)&&this._setRelation(e,t,"splitAtSource");else if(e instanceof tn){const i=e.newRange;if(!i)return;if(t instanceof Yo){const o=yi._createFromPositionAndShift(t.sourcePosition,t.howMany),n=o.containsPosition(i.start)||o.start.isEqual(i.start),r=o.containsPosition(i.end)||o.end.isEqual(i.end);!n&&!r||o.containsRange(i)||this._setRelation(e,t,{side:n?"left":"right",path:n?i.start.path.slice():i.end.path.slice()})}else if(t instanceof en){const o=i.start.isEqual(t.targetPosition),n=i.start.isEqual(t.deletionPosition),r=i.end.isEqual(t.deletionPosition),s=i.end.isEqual(t.sourcePosition);(o||n||r||s)&&this._setRelation(e,t,{wasInLeftElement:o,wasStartBeforeMergedElement:n,wasEndBeforeMergedElement:r,wasInRightElement:s})}}}getContext(e,t,i){return{aIsStrong:i,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 i=this.originalOperations.get(t),o=this._history.getUndoneOperation(i);if(!o)return null;const n=this.originalOperations.get(e),r=this._relations.get(n);return r&&r.get(o)||null}_setRelation(e,t,i){const o=this.originalOperations.get(e),n=this.originalOperations.get(t);let r=this._relations.get(o);r||(r=new Map,this._relations.set(o,r)),r.set(n,i)}}function bn(e,t){for(const i of e)i.baseVersion=t++}function wn(e,t){for(let i=0;i<t;i++)e.push(new rn(0))}function kn(e,t,i){const o=e.nodes.getNode(0).getAttribute(t);if(o==i)return null;const n=new yi(e.position,e.position.getShiftedBy(e.howMany));return new nn(n,t,o,i,0)}function _n(e,t){return null===e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany)}function vn(e,t){const i=[];for(let o=0;o<e.length;o++){const n=e[o],r=new Yo(n.start,n.end.offset-n.start.offset,t,0);i.push(r);for(let t=o+1;t<e.length;t++)e[t]=e[t]._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany)[0];t=t._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany)}return i}hn(nn,nn,((e,t,i)=>{if(e.key===t.key&&e.range.start.hasSameParentAs(t.range.start)){const o=e.range.getDifference(t.range).map((t=>new nn(t,e.key,e.oldValue,e.newValue,0))),n=e.range.getIntersection(t.range);return n&&i.aIsStrong&&o.push(new nn(n,t.key,t.newValue,e.newValue,0)),0==o.length?[new rn(0)]:o}return[e]})),hn(nn,Qo,((e,t)=>{if(e.range.start.hasSameParentAs(t.position)&&e.range.containsPosition(t.position)){const i=e.range._getTransformedByInsertion(t.position,t.howMany,!t.shouldReceiveAttributes).map((t=>new nn(t,e.key,e.oldValue,e.newValue,e.baseVersion)));if(t.shouldReceiveAttributes){const o=kn(t,e.key,e.oldValue);o&&i.unshift(o)}return i}return e.range=e.range._getTransformedByInsertion(t.position,t.howMany,!1)[0],[e]})),hn(nn,en,((e,t)=>{const i=[];e.range.start.hasSameParentAs(t.deletionPosition)&&(e.range.containsPosition(t.deletionPosition)||e.range.start.isEqual(t.deletionPosition))&&i.push(yi._createFromPositionAndShift(t.graveyardPosition,1));const o=e.range._getTransformedByMergeOperation(t);return o.isCollapsed||i.push(o),i.map((t=>new nn(t,e.key,e.oldValue,e.newValue,e.baseVersion)))})),hn(nn,Yo,((e,t)=>function(e,t){const i=yi._createFromPositionAndShift(t.sourcePosition,t.howMany);let o=null,n=[];i.containsRange(e,!0)?o=e:e.start.hasSameParentAs(i.start)?(n=e.getDifference(i),o=e.getIntersection(i)):n=[e];const r=[];for(let e of n){e=e._getTransformedByDeletion(t.sourcePosition,t.howMany);const i=t.getMovedRangeStart(),o=e.start.hasSameParentAs(i),n=e._getTransformedByInsertion(i,t.howMany,o);r.push(...n)}return o&&r.push(o._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany,!1)[0]),r}(e.range,t).map((t=>new nn(t,e.key,e.oldValue,e.newValue,e.baseVersion))))),hn(nn,Xo,((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 i=e.clone();return i.range=new yi(t.moveTargetPosition.clone(),e.range.end._getCombined(t.splitPosition,t.moveTargetPosition)),e.range.end=t.splitPosition.clone(),e.range.end.stickiness="toPrevious",[e,i]}return e.range=e.range._getTransformedBySplitOperation(t),[e]})),hn(Qo,nn,((e,t)=>{const i=[e];if(e.shouldReceiveAttributes&&e.position.hasSameParentAs(t.range.start)&&t.range.containsPosition(e.position)){const o=kn(e,t.key,t.newValue);o&&i.push(o)}return i})),hn(Qo,Qo,((e,t,i)=>(e.position.isEqual(t.position)&&i.aIsStrong||(e.position=e.position._getTransformedByInsertOperation(t)),[e]))),hn(Qo,Yo,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),hn(Qo,Xo,((e,t)=>(e.position=e.position._getTransformedBySplitOperation(t),[e]))),hn(Qo,en,((e,t)=>(e.position=e.position._getTransformedByMergeOperation(t),[e]))),hn(tn,Qo,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByInsertOperation(t)[0]),e.newRange&&(e.newRange=e.newRange._getTransformedByInsertOperation(t)[0]),[e]))),hn(tn,tn,((e,t,i)=>{if(e.name==t.name){if(!i.aIsStrong)return[new rn(0)];e.oldRange=t.newRange?t.newRange.clone():null}return[e]})),hn(tn,en,((e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByMergeOperation(t)),e.newRange&&(e.newRange=e.newRange._getTransformedByMergeOperation(t)),[e]))),hn(tn,Yo,((e,t,i)=>{if(e.oldRange&&(e.oldRange=yi._createFromRanges(e.oldRange._getTransformedByMoveOperation(t))),e.newRange){if(i.abRelation){const o=yi._createFromRanges(e.newRange._getTransformedByMoveOperation(t));if("left"==i.abRelation.side&&t.targetPosition.isEqual(e.newRange.start))return e.newRange.end=o.end,e.newRange.start.path=i.abRelation.path,[e];if("right"==i.abRelation.side&&t.targetPosition.isEqual(e.newRange.end))return e.newRange.start=o.start,e.newRange.end.path=i.abRelation.path,[e]}e.newRange=yi._createFromRanges(e.newRange._getTransformedByMoveOperation(t))}return[e]})),hn(tn,Xo,((e,t,i)=>{if(e.oldRange&&(e.oldRange=e.oldRange._getTransformedBySplitOperation(t)),e.newRange){if(i.abRelation){const o=e.newRange._getTransformedBySplitOperation(t);return e.newRange.start.isEqual(t.splitPosition)&&i.abRelation.wasStartBeforeMergedElement?e.newRange.start=fi._createAt(t.insertionPosition):e.newRange.start.isEqual(t.splitPosition)&&!i.abRelation.wasInLeftElement&&(e.newRange.start=fi._createAt(t.moveTargetPosition)),e.newRange.end.isEqual(t.splitPosition)&&i.abRelation.wasInRightElement?e.newRange.end=fi._createAt(t.moveTargetPosition):e.newRange.end.isEqual(t.splitPosition)&&i.abRelation.wasEndBeforeMergedElement?e.newRange.end=fi._createAt(t.insertionPosition):e.newRange.end=o.end,[e]}e.newRange=e.newRange._getTransformedBySplitOperation(t)}return[e]})),hn(en,Qo,((e,t)=>(e.sourcePosition.hasSameParentAs(t.position)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByInsertOperation(t),e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t),[e]))),hn(en,en,((e,t,i)=>{if(e.sourcePosition.isEqual(t.sourcePosition)&&e.targetPosition.isEqual(t.targetPosition)){if(i.bWasUndone){const i=t.graveyardPosition.path.slice();return i.push(0),e.sourcePosition=new fi(t.graveyardPosition.root,i),e.howMany=0,[e]}return[new rn(0)]}if(e.sourcePosition.isEqual(t.sourcePosition)&&!e.targetPosition.isEqual(t.targetPosition)&&!i.bWasUndone&&"splitAtSource"!=i.abRelation){const o="$graveyard"==e.targetPosition.root.rootName,n="$graveyard"==t.targetPosition.root.rootName;if(n&&!o||(!o||n)&&i.aIsStrong){const i=t.targetPosition._getTransformedByMergeOperation(t),o=e.targetPosition._getTransformedByMergeOperation(t);return[new Yo(i,e.howMany,o,0)]}return[new rn(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)&&i.aIsStrong||(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),hn(en,Yo,((e,t,i)=>{const o=yi._createFromPositionAndShift(t.sourcePosition,t.howMany);return"remove"==t.type&&!i.bWasUndone&&!i.forceWeakRemove&&e.deletionPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.sourcePosition)?[new rn(0)]:(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.graveyardPosition.isEqual(t.targetPosition)||(e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)),[e])})),hn(en,Xo,((e,t,i)=>{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 o=0!=t.howMany,n=t.graveyardPosition&&e.deletionPosition.isEqual(t.graveyardPosition);if(o||n||"mergeTargetNotMoved"==i.abRelation)return e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),[e]}if(e.sourcePosition.isEqual(t.splitPosition)){if("mergeSourceNotMoved"==i.abRelation)return e.howMany=0,e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e];if("mergeSameElement"==i.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]})),hn(Yo,Qo,((e,t)=>{const i=yi._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByInsertOperation(t,!1)[0];return e.sourcePosition=i.start,e.howMany=i.end.offset-i.start.offset,e.targetPosition.isEqual(t.position)||(e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t)),[e]})),hn(Yo,Yo,((e,t,i)=>{const o=yi._createFromPositionAndShift(e.sourcePosition,e.howMany),n=yi._createFromPositionAndShift(t.sourcePosition,t.howMany);let r,s=i.aIsStrong,a=!i.aIsStrong;if("insertBefore"==i.abRelation||"insertAfter"==i.baRelation?a=!0:"insertAfter"!=i.abRelation&&"insertBefore"!=i.baRelation||(a=!1),r=e.targetPosition.isEqual(t.targetPosition)&&a?e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany):e.targetPosition._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),_n(e,t)&&_n(t,e))return[t.getReversed()];if(o.containsPosition(t.targetPosition)&&o.containsRange(n,!0))return o.start=o.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),o.end=o.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),vn([o],r);if(n.containsPosition(e.targetPosition)&&n.containsRange(o,!0))return o.start=o.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),o.end=o.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),vn([o],r);const l=(0,x.compareArrays)(e.sourcePosition.getParentPath(),t.sourcePosition.getParentPath());if("prefix"==l||"extension"==l)return o.start=o.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),o.end=o.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),vn([o],r);"remove"!=e.type||"remove"==t.type||i.aWasUndone||i.forceWeakRemove?"remove"==e.type||"remove"!=t.type||i.bWasUndone||i.forceWeakRemove||(s=!1):s=!0;const c=[],d=o.getDifference(n);for(const e of d){e.start=e.start._getTransformedByDeletion(t.sourcePosition,t.howMany),e.end=e.end._getTransformedByDeletion(t.sourcePosition,t.howMany);const i="same"==(0,x.compareArrays)(e.start.getParentPath(),t.getMovedRangeStart().getParentPath()),o=e._getTransformedByInsertion(t.getMovedRangeStart(),t.howMany,i);c.push(...o)}const u=o.getIntersection(n);return null!==u&&s&&(u.start=u.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),u.end=u.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),0===c.length?c.push(u):1==c.length?n.start.isBefore(o.start)||n.start.isEqual(o.start)?c.unshift(u):c.push(u):c.splice(1,0,u)),0===c.length?[new rn(e.baseVersion)]:vn(c,r)})),hn(Yo,Xo,((e,t,i)=>{let o=e.targetPosition.clone();e.targetPosition.isEqual(t.insertionPosition)&&t.graveyardPosition&&"moveTargetAfter"!=i.abRelation||(o=e.targetPosition._getTransformedBySplitOperation(t));const n=yi._createFromPositionAndShift(e.sourcePosition,e.howMany);if(n.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.howMany++,e.targetPosition=o,[e];if(n.start.hasSameParentAs(t.splitPosition)&&n.containsPosition(t.splitPosition)){let e=new yi(t.splitPosition,n.end);return e=e._getTransformedBySplitOperation(t),vn([new yi(n.start,t.splitPosition),e],o)}e.targetPosition.isEqual(t.splitPosition)&&"insertAtSource"==i.abRelation&&(o=t.moveTargetPosition),e.targetPosition.isEqual(t.insertionPosition)&&"insertBetween"==i.abRelation&&(o=e.targetPosition);const r=[n._getTransformedBySplitOperation(t)];if(t.graveyardPosition){const o=n.start.isEqual(t.graveyardPosition)||n.containsPosition(t.graveyardPosition);e.howMany>1&&o&&!i.aWasUndone&&r.push(yi._createFromPositionAndShift(t.insertionPosition,1))}return vn(r,o)})),hn(Yo,en,((e,t,i)=>{const o=yi._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.deletionPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.sourcePosition))if("remove"!=e.type||i.forceWeakRemove){if(1==e.howMany)return i.bWasUndone?(e.sourcePosition=t.graveyardPosition.clone(),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]):[new rn(0)]}else if(!i.aWasUndone){const i=[];let o=t.graveyardPosition.clone(),n=t.targetPosition._getTransformedByMergeOperation(t);e.howMany>1&&(i.push(new Yo(e.sourcePosition,e.howMany-1,e.targetPosition,0)),o=o._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1),n=n._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1));const r=t.deletionPosition._getCombined(e.sourcePosition,e.targetPosition),s=new Yo(o,1,r,0),a=s.getMovedRangeStart().path.slice();a.push(0);const l=new fi(s.targetPosition.root,a);n=n._getTransformedByMove(o,r,1);const c=new Yo(n,t.howMany,l,0);return i.push(s),i.push(c),i}const n=yi._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByMergeOperation(t);return e.sourcePosition=n.start,e.howMany=n.end.offset-n.start.offset,e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]})),hn(sn,Qo,((e,t)=>(e.position=e.position._getTransformedByInsertOperation(t),[e]))),hn(sn,en,((e,t)=>e.position.isEqual(t.deletionPosition)?(e.position=t.graveyardPosition.clone(),e.position.stickiness="toNext",[e]):(e.position=e.position._getTransformedByMergeOperation(t),[e]))),hn(sn,Yo,((e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e]))),hn(sn,sn,((e,t,i)=>{if(e.position.isEqual(t.position)){if(!i.aIsStrong)return[new rn(0)];e.oldName=t.newName}return[e]})),hn(sn,Xo,((e,t)=>{const i=e.position.path,o=t.splitPosition.getParentPath();if("same"==(0,x.compareArrays)(i,o)&&!t.graveyardPosition){const t=new sn(e.position.getShiftedBy(1),e.oldName,e.newName,0);return[e,t]}return e.position=e.position._getTransformedBySplitOperation(t),[e]})),hn(an,an,((e,t,i)=>{if(e.root===t.root&&e.key===t.key){if(!i.aIsStrong||e.newValue===t.newValue)return[new rn(0)];e.oldValue=t.newValue}return[e]})),hn(ln,ln,((e,t,i)=>e.rootName!==t.rootName||e.isAdd!==t.isAdd||i.bWasUndone?[e]:[new rn(0)])),hn(Xo,Qo,((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]))),hn(Xo,en,((e,t,i)=>{if(!e.graveyardPosition&&!i.bWasUndone&&e.splitPosition.hasSameParentAs(t.sourcePosition)){const i=t.graveyardPosition.path.slice();i.push(0);const o=new fi(t.graveyardPosition.root,i),n=Xo.getInsertionPosition(new fi(t.graveyardPosition.root,i)),r=new Xo(o,0,n,null,0);return e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=Xo.getInsertionPosition(e.splitPosition),e.graveyardPosition=r.insertionPosition.clone(),e.graveyardPosition.stickiness="toNext",[r,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=Xo.getInsertionPosition(e.splitPosition),e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]})),hn(Xo,Yo,((e,t,i)=>{const o=yi._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.graveyardPosition){const n=o.start.isEqual(e.graveyardPosition)||o.containsPosition(e.graveyardPosition);if(!i.bWasUndone&&n){const i=e.splitPosition._getTransformedByMoveOperation(t),o=e.graveyardPosition._getTransformedByMoveOperation(t),n=o.path.slice();n.push(0);const r=new fi(o.root,n);return[new Yo(i,e.howMany,r,0)]}e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)}const n=e.splitPosition.isEqual(t.targetPosition);if(n&&("insertAtSource"==i.baRelation||"splitBefore"==i.abRelation))return e.howMany+=t.howMany,e.splitPosition=e.splitPosition._getTransformedByDeletion(t.sourcePosition,t.howMany),e.insertionPosition=Xo.getInsertionPosition(e.splitPosition),[e];if(n&&i.abRelation&&i.abRelation.howMany){const{howMany:t,offset:o}=i.abRelation;return e.howMany+=t,e.splitPosition=e.splitPosition.getShiftedBy(o),[e]}if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.splitPosition)){const i=t.howMany-(e.splitPosition.offset-t.sourcePosition.offset);return e.howMany-=i,e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany),e.splitPosition=t.sourcePosition.clone(),e.insertionPosition=Xo.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=Xo.getInsertionPosition(e.splitPosition),[e]})),hn(Xo,Xo,((e,t,i)=>{if(e.splitPosition.isEqual(t.splitPosition)){if(!e.graveyardPosition&&!t.graveyardPosition)return[new rn(0)];if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition))return[new rn(0)];if("splitBefore"==i.abRelation)return e.howMany=0,e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t),[e]}if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition)){const o="$graveyard"==e.splitPosition.root.rootName,n="$graveyard"==t.splitPosition.root.rootName;if(n&&!o||(!o||n)&&i.aIsStrong){const i=[];return t.howMany&&i.push(new Yo(t.moveTargetPosition,t.howMany,t.splitPosition,0)),e.howMany&&i.push(new Yo(e.splitPosition,e.howMany,e.moveTargetPosition,0)),i}return[new rn(0)]}if(e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t)),e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==i.abRelation)return e.howMany++,[e];if(t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==i.baRelation){const i=t.insertionPosition.path.slice();i.push(0);const o=new fi(t.insertionPosition.root,i);return[e,new Yo(e.insertionPosition,1,o,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=Xo.getInsertionPosition(e.splitPosition),[e]}));class yn extends((0,x.EmitterMixin)(fi)){constructor(e,t,i="toNone"){if(super(e,t,i),!this.root.is("rootElement"))throw new x.CKEditorError("model-liveposition-root-not-rootelement",e);Cn.call(this)}detach(){this.stopListening()}toPosition(){return new fi(this.root,this.path.slice(),this.stickiness)}static fromPosition(e,t){return new this(e.root,e.path.slice(),t||e.stickiness)}}function Cn(){this.listenTo(this.root.document.model,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&xn.call(this,i)}),{priority:"low"})}function xn(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)}}yn.prototype.is=function(e){return"livePosition"===e||"model:livePosition"===e||"position"==e||"model:position"===e};class An{constructor(e={}){"string"==typeof e&&(e="transparent"===e?{isUndoable:!1}:{},(0,x.logWarning)("batch-constructor-deprecated-string-type"));const{isUndoable:t=!0,isLocal:i=!0,isUndo:o=!1,isTyping:n=!1}=e;this.operations=[],this.isUndoable=t,this.isLocal=i,this.isUndo=o,this.isTyping=n}get type(){return(0,x.logWarning)("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 En{constructor(e){this._changesInElement=new Map,this._elementSnapshots=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}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),i=this._isInInsertedElement(t.targetPosition.parent);e||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),i||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);break}case"rename":{if(this._isInInsertedElement(t.position.parent))return;this._markRemove(t.position.parent,t.position.offset,1),this._markInsert(t.position.parent,t.position.offset,1);const e=yi._createFromPositionAndShift(t.position,1);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}break}case"split":{const e=t.splitPosition.parent;this._isInInsertedElement(e)||this._markRemove(e,t.splitPosition.offset,t.howMany),this._isInInsertedElement(t.insertionPosition.parent)||this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1),t.graveyardPosition&&this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1);break}case"merge":{const e=t.sourcePosition.parent;this._isInInsertedElement(e.parent)||this._markRemove(e.parent,e.startOffset,1);const i=t.graveyardPosition.parent;this._markInsert(i,t.graveyardPosition.offset,1);const o=t.targetPosition.parent;this._isInInsertedElement(o)||this._markInsert(o,t.targetPosition.offset,e.maxOffset);break}case"detachRoot":case"addRoot":this._bufferRootStateChange(t.rootName,t.isAdd);break;case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{const e=t.root.rootName;this._bufferRootAttributeChange(e,t.key,t.oldValue,t.newValue);break}}this._cachedChanges=null}bufferMarkerChange(e,t,i){const o=this._changedMarkers.get(e);o?(o.newMarkerData=i,null==o.oldMarkerData.range&&null==i.range&&this._changedMarkers.delete(e)):this._changedMarkers.set(e,{newMarkerData:i,oldMarkerData:t})}getMarkersToRemove(){const e=[];for(const[t,i]of this._changedMarkers)null!=i.oldMarkerData.range&&e.push({name:t,range:i.oldMarkerData.range});return e}getMarkersToAdd(){const e=[];for(const[t,i]of this._changedMarkers)null!=i.newMarkerData.range&&e.push({name:t,range:i.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._changesInElement.size>0)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 i=e.range&&!t.range,o=!e.range&&t.range,n=e.range&&t.range&&!e.range.isEqual(t.range);if(i||o||n)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 i=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)),o=this._elementSnapshots.get(e),n=Tn(e.getChildren()),r=Sn(o.length,i);let s=0,a=0;for(const i of r)if("i"===i)t.push(this._getInsertDiff(e,s,n[s])),s++;else if("r"===i)t.push(this._getRemoveDiff(e,s,o[a])),a++;else if("a"===i){const i=n[s].attributes,r=o[a].attributes;let l;if("$text"==n[s].name)l=new yi(fi._createAt(e,s),fi._createAt(e,s+1));else{const t=e.offsetToIndex(s);l=new yi(fi._createAt(e,s),fi._createAt(e.getChild(t),0))}t.push(...this._getAttributesDiff(l,r,i)),s++,a++}else s++,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,i=0;e<t.length;e++){const o=t[i],n=t[e],r="remove"==o.type&&"remove"==n.type&&"$text"==o.name&&"$text"==n.name&&o.position.isEqual(n.position),s="insert"==o.type&&"insert"==n.type&&"$text"==o.name&&"$text"==n.name&&o.position.parent==n.position.parent&&o.position.offset+o.length==n.position.offset,a="attribute"==o.type&&"attribute"==n.type&&o.position.parent==n.position.parent&&o.range.isFlat&&n.range.isFlat&&o.position.offset+o.length==n.position.offset&&o.attributeKey==n.attributeKey&&o.attributeOldValue==n.attributeOldValue&&o.attributeNewValue==n.attributeNewValue;r||s||a?(o.length++,a&&(o.range.end=o.range.end.getShiftedBy(1)),t[e]=null):i=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(Pn),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._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(e,t){if(!this._changedRoots.has(e))return void this._changedRoots.set(e,{name:e,state:t?"attached":"detached"});const i=this._changedRoots.get(e);void 0!==i.state?(delete i.state,void 0===i.attributes&&this._changedRoots.delete(e)):i.state=t?"attached":"detached"}_bufferRootAttributeChange(e,t,i,o){const n=this._changedRoots.get(e)||{name:e},r=n.attributes||{};if(r[t]){const e=r[t];o===e.oldValue?delete r[t]:e.newValue=o}else r[t]={oldValue:i,newValue:o};0===Object.entries(r).length?(delete n.attributes,void 0===n.state&&this._changedRoots.delete(e)):(n.attributes=r,this._changedRoots.set(e,n))}_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);const t=yi._createOn(e);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}this._cachedChanges=null}_markInsert(e,t,i){const o={type:"insert",offset:t,howMany:i,count:this._changeCount++};this._markChange(e,o)}_markRemove(e,t,i){const o={type:"remove",offset:t,howMany:i,count:this._changeCount++};this._markChange(e,o),this._removeAllNestedChanges(e,t,i)}_markAttribute(e){const t={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,t)}_markChange(e,t){this._makeSnapshot(e);const i=this._getChangesForElement(e);this._handleChange(t,i),i.push(t);for(let e=0;e<i.length;e++)i[e].howMany<1&&(i.splice(e,1),e--)}_getChangesForElement(e){let t;return this._changesInElement.has(e)?t=this._changesInElement.get(e):(t=[],this._changesInElement.set(e,t)),t}_makeSnapshot(e){this._elementSnapshots.has(e)||this._elementSnapshots.set(e,Tn(e.getChildren()))}_handleChange(e,t){e.nodesToHandle=e.howMany;for(const i of t){const o=e.offset+e.howMany,n=i.offset+i.howMany;if("insert"==e.type&&("insert"==i.type&&(e.offset<=i.offset?i.offset+=e.howMany:e.offset<n&&(i.howMany+=e.nodesToHandle,e.nodesToHandle=0)),"remove"==i.type&&e.offset<i.offset&&(i.offset+=e.howMany),"attribute"==i.type))if(e.offset<=i.offset)i.offset+=e.howMany;else if(e.offset<n){const n=i.howMany;i.howMany=e.offset-i.offset,t.unshift({type:"attribute",offset:o,howMany:n-i.howMany,count:this._changeCount++})}if("remove"==e.type){if("insert"==i.type)if(o<=i.offset)i.offset-=e.howMany;else if(o<=n)if(e.offset<i.offset){const t=o-i.offset;i.offset=e.offset,i.howMany-=t,e.nodesToHandle-=t}else i.howMany-=e.nodesToHandle,e.nodesToHandle=0;else if(e.offset<=i.offset)e.nodesToHandle-=i.howMany,i.howMany=0;else if(e.offset<n){const t=n-e.offset;i.howMany-=t,e.nodesToHandle-=t}if("remove"==i.type&&(o<=i.offset?i.offset-=e.howMany:e.offset<i.offset&&(e.nodesToHandle+=i.howMany,i.howMany=0)),"attribute"==i.type)if(o<=i.offset)i.offset-=e.howMany;else if(e.offset<i.offset){const t=o-i.offset;i.offset=e.offset,i.howMany-=t}else if(e.offset<n)if(o<=n){const o=i.howMany;i.howMany=e.offset-i.offset;const n=o-i.howMany-e.nodesToHandle;t.unshift({type:"attribute",offset:e.offset,howMany:n,count:this._changeCount++})}else i.howMany-=n-e.offset}if("attribute"==e.type){if("insert"==i.type)if(e.offset<i.offset&&o>i.offset){if(o>n){const e={type:"attribute",offset:n,howMany:o-n,count:this._changeCount++};this._handleChange(e,t),t.push(e)}e.nodesToHandle=i.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=i.offset&&e.offset<n&&(o>n?(e.nodesToHandle=o-n,e.offset=n):e.nodesToHandle=0);if("remove"==i.type&&e.offset<i.offset&&o>i.offset){const n={type:"attribute",offset:i.offset,howMany:o-i.offset,count:this._changeCount++};this._handleChange(n,t),t.push(n),e.nodesToHandle=i.offset-e.offset,e.howMany=e.nodesToHandle}"attribute"==i.type&&(e.offset>=i.offset&&o<=n?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=i.offset&&o>=n&&(i.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,t,i){return{type:"insert",position:fi._createAt(e,t),name:i.name,attributes:new Map(i.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(e,t,i){return{type:"remove",position:fi._createAt(e,t),name:i.name,attributes:new Map(i.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,t,i){const o=[];i=new Map(i);for(const[n,r]of t){const t=i.has(n)?i.get(n):null;t!==r&&o.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:n,attributeOldValue:r,attributeNewValue:t,changeCount:this._changeCount++}),i.delete(n)}for(const[t,n]of i)o.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:t,attributeOldValue:null,attributeNewValue:n,changeCount:this._changeCount++});return o}_isInInsertedElement(e){const t=e.parent;if(!t)return!1;const i=this._changesInElement.get(t),o=e.startOffset;if(i)for(const e of i)if("insert"==e.type&&o>=e.offset&&o<e.offset+e.howMany)return!0;return this._isInInsertedElement(t)}_removeAllNestedChanges(e,t,i){const o=new yi(fi._createAt(e,t),fi._createAt(e,t+i));for(const e of o.getItems({shallow:!0}))e.is("element")&&(this._elementSnapshots.delete(e),this._changesInElement.delete(e),this._removeAllNestedChanges(e,0,e.maxOffset))}}function Tn(e){const t=[];for(const i of e)if(i.is("$text"))for(let e=0;e<i.data.length;e++)t.push({name:"$text",attributes:new Map(i.getAttributes())});else t.push({name:i.name,attributes:new Map(i.getAttributes())});return t}function Sn(e,t){const i=[];let o=0,n=0;for(const e of t){if(e.offset>o){for(let t=0;t<e.offset-o;t++)i.push("e");n+=e.offset-o}if("insert"==e.type){for(let t=0;t<e.howMany;t++)i.push("i");o=e.offset+e.howMany}else if("remove"==e.type){for(let t=0;t<e.howMany;t++)i.push("r");o=e.offset,n+=e.howMany}else i.push(..."a".repeat(e.howMany).split("")),o=e.offset+e.howMany,n+=e.howMany}if(n<e)for(let t=0;t<e-n-o;t++)i.push("e");return i}function Pn(e){const t="position"in e&&"$graveyard"==e.position.root.rootName,i="range"in e&&"$graveyard"==e.range.root.rootName;return!t&&!i}class In{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 x.CKEditorError("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 i=this._operations[0];void 0===e&&(e=i.baseVersion);let o=t-1;for(const[t,i]of this._gaps)e>t&&e<i&&(e=i),o>t&&o<i&&(o=t-1);if(o<i.baseVersion||e>this.lastOperation.baseVersion)return[];let n=this._baseVersionToOperationIndex.get(e);void 0===n&&(n=0);let r=this._baseVersionToOperationIndex.get(o);return void 0===r&&(r=this._operations.length-1),this._operations.slice(n,r+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 Vn extends mi{constructor(e,t,i="main"){super(t),this._isAttached=!0,this._document=e,this.rootName=i}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}Vn.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 Rn="$graveyard";class On extends((0,x.EmitterMixin)()){constructor(e){super(),this.model=e,this.history=new In,this.selection=new Fi(this),this.roots=new x.Collection({idProperty:"rootName"}),this.differ=new En(e.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Rn),this.listenTo(e,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&this.differ.bufferOperation(i)}),{priority:"high"}),this.listenTo(e,"applyOperation",((e,t)=>{const i=t[0];i.isDocumentOperation&&this.history.addOperation(i)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(e.markers,"update",((e,t,i,o,n)=>{const r={...t.getData(),range:o};this.differ.bufferMarkerChange(t.name,n,r),null===i&&t.on("change",((e,i)=>{const o=t.getData();this.differ.bufferMarkerChange(t.name,{...o,range:i},o)}))})),this.registerPostFixer((e=>{let t=!1;for(const i of this.roots)i.isAttached()||i.isEmpty||(e.remove(e.createRangeIn(i)),t=!0);for(const i of this.model.markers)i.getRange().root.isAttached()||(e.removeMarker(i),t=!0);return t}))}get version(){return this.history.version}set version(e){this.history.version=e}get graveyard(){return this.getRoot(Rn)}createRoot(e="$root",t="main"){if(this.roots.get(t))throw new x.CKEditorError("model-document-createroot-name-exists",this,{name:t});const i=new Vn(this,e,t);return this.roots.add(i),i}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(e=!1){return Array.from(this.roots).filter((t=>t.rootName!=Rn&&(e||t.isAttached()))).map((e=>e.rootName))}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(){for(const e of this.roots)if(e!==this.graveyard)return e;return this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),t=this.model,i=t.schema,o=t.createPositionFromPath(e,[0]);return i.getNearestSelectionRange(o)||t.createRange(o)}_validateSelectionRange(e){return Bn(e.start)&&Bn(e.end)}_callPostFixers(e){let t=!1;do{for(const i of this._postFixers)if(this.selection.refresh(),t=i(e),t)break}while(t)}}function Bn(e){const t=e.textNode;if(t){const i=t.data,o=e.offset-t.startOffset;return!(0,x.isInsideSurrogatePair)(i,o)&&!(0,x.isInsideCombinedSymbol)(i,o)}return!0}class Mn extends((0,x.EmitterMixin)()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(e){const t=e instanceof zn?e.name:e;return this._markers.has(t)}get(e){return this._markers.get(e)||null}_set(e,t,i=!1,o=!1){const n=e instanceof zn?e.name:e;if(n.includes(","))throw new x.CKEditorError("markercollection-incorrect-marker-name",this);const r=this._markers.get(n);if(r){const e=r.getData(),s=r.getRange();let a=!1;return s.isEqual(t)||(r._attachLiveRange(zi.fromRange(t)),a=!0),i!=r.managedUsingOperations&&(r._managedUsingOperations=i,a=!0),"boolean"==typeof o&&o!=r.affectsData&&(r._affectsData=o,a=!0),a&&this.fire(`update:${n}`,r,s,t,e),r}const s=zi.fromRange(t),a=new zn(n,s,i,o);return this._markers.set(n,a),this.fire(`update:${n}`,a,null,t,{...a.getData(),range:null}),a}_remove(e){const t=e instanceof zn?e.name:e,i=this._markers.get(t);return!!i&&(this._markers.delete(t),this.fire(`update:${t}`,i,i.getRange(),null,i.getData()),this._destroyMarker(i),!0)}_refresh(e){const t=e instanceof zn?e.name:e,i=this._markers.get(t);if(!i)throw new x.CKEditorError("markercollection-refresh-marker-not-exists",this);const o=i.getRange();this.fire(`update:${t}`,i,o,o,i.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 zn extends((0,x.EmitterMixin)(li)){constructor(e,t,i,o){super(),this.name=e,this._liveRange=this._attachLiveRange(t),this._managedUsingOperations=i,this._affectsData=o}get managedUsingOperations(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new x.CKEditorError("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new x.CKEditorError("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}}zn.prototype.is=function(e){return"marker"===e||"model:marker"===e};class Nn extends Wo{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 x.CKEditorError("detach-operation-on-document-node",this)}_execute(){Uo(yi._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Dn extends li{constructor(e){super(),this.markers=new Map,this._children=new di,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 i of e)t=t.getChild(t.offsetToIndex(i));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 i of e)i.name?t.push(mi.fromJSON(i)):t.push(ui.fromJSON(i));return new Dn(t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const i=function(e){return"string"==typeof e?[new ui(e)]:((0,x.isIterable)(e)||(e=[e]),Array.from(e).map((e=>"string"==typeof e?new ui(e):e instanceof hi?new ui(e.data,e.getAttributes()):e)))}(t);for(const e of i)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,i)}_removeChildren(e,t=1){const i=this._children._removeNodes(e,t);for(const e of i)e.parent=null;return i}}Dn.prototype.is=function(e){return"documentFragment"===e||"model:documentFragment"===e};class Ln{constructor(e,t){this.model=e,this.batch=t}createText(e,t){return new ui(e,t)}createElement(e,t){return new mi(e,t)}createDocumentFragment(){return new Dn}cloneElement(e,t=!0){return e._clone(t)}insert(e,t,i=0){if(this._assertWriterUsedCorrectly(),e instanceof ui&&""==e.data)return;const o=fi._createAt(t,i);if(e.parent){if(jn(e.root,o.root))return void this.move(yi._createOn(e),o);if(e.root.document)throw new x.CKEditorError("model-writer-insert-forbidden-move",this);this.remove(e)}const n=o.root.document?o.root.document.version:null,r=new Qo(o,e,n);if(e instanceof ui&&(r.shouldReceiveAttributes=!0),this.batch.addOperation(r),this.model.applyOperation(r),e instanceof Dn)for(const[t,i]of e.markers){const e=fi._createAt(i.root,0),n={range:new yi(i.start._getCombined(e,o),i.end._getCombined(e,o)),usingOperation:!0,affectsData:!0};this.model.markers.has(t)?this.updateMarker(t,n):this.addMarker(t,n)}}insertText(e,t,i,o){t instanceof Dn||t instanceof mi||t instanceof fi?this.insert(this.createText(e),t,i):this.insert(this.createText(e,t),i,o)}insertElement(e,t,i,o){t instanceof Dn||t instanceof mi||t instanceof fi?this.insert(this.createElement(e),t,i):this.insert(this.createElement(e,t),i,o)}append(e,t){this.insert(e,t,"end")}appendText(e,t,i){t instanceof Dn||t instanceof mi?this.insert(this.createText(e),t,"end"):this.insert(this.createText(e,t),i,"end")}appendElement(e,t,i){t instanceof Dn||t instanceof mi?this.insert(this.createElement(e),t,"end"):this.insert(this.createElement(e,t),i,"end")}setAttribute(e,t,i){if(this._assertWriterUsedCorrectly(),i instanceof yi){const o=i.getMinimalFlatRanges();for(const i of o)Fn(this,e,t,i)}else Zn(this,e,t,i)}setAttributes(e,t){for(const[i,o]of(0,x.toMap)(e))this.setAttribute(i,o,t)}removeAttribute(e,t){if(this._assertWriterUsedCorrectly(),t instanceof yi){const i=t.getMinimalFlatRanges();for(const t of i)Fn(this,e,null,t)}else Zn(this,e,null,t)}clearAttributes(e){this._assertWriterUsedCorrectly();const t=e=>{for(const t of e.getAttributeKeys())this.removeAttribute(t,e)};if(e instanceof yi)for(const i of e.getItems())t(i);else t(e)}move(e,t,i){if(this._assertWriterUsedCorrectly(),!(e instanceof yi))throw new x.CKEditorError("writer-move-invalid-range",this);if(!e.isFlat)throw new x.CKEditorError("writer-move-range-not-flat",this);const o=fi._createAt(t,i);if(o.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!jn(e.root,o.root))throw new x.CKEditorError("writer-move-different-document",this);const n=e.root.document?e.root.document.version:null,r=new Yo(e.start,e.end.offset-e.start.offset,o,n);this.batch.addOperation(r),this.model.applyOperation(r)}remove(e){this._assertWriterUsedCorrectly();const t=(e instanceof yi?e:yi._createOn(e)).getMinimalFlatRanges().reverse();for(const e of t)this._addOperationForAffectedMarkers("move",e),Wn(e.start,e.end.offset-e.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const t=e.nodeBefore,i=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(t instanceof mi))throw new x.CKEditorError("writer-merge-no-element-before",this);if(!(i instanceof mi))throw new x.CKEditorError("writer-merge-no-element-after",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,t,i){return this.model.createPositionFromPath(e,t,i)}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,i=e.nodeAfter;this.move(yi._createIn(i),fi._createAt(t,"end")),this.remove(i)}_merge(e){const t=fi._createAt(e.nodeBefore,"end"),i=fi._createAt(e.nodeAfter,0),o=e.root.document.graveyard,n=new fi(o,[0]),r=e.root.document.version,s=new en(i,e.nodeAfter.maxOffset,t,n,r);this.batch.addOperation(s),this.model.applyOperation(s)}rename(e,t){if(this._assertWriterUsedCorrectly(),!(e instanceof mi))throw new x.CKEditorError("writer-rename-not-element-instance",this);const i=e.root.document?e.root.document.version:null,o=new sn(fi._createBefore(e),e.name,t,i);this.batch.addOperation(o),this.model.applyOperation(o)}split(e,t){this._assertWriterUsedCorrectly();let i,o,n=e.parent;if(!n.parent)throw new x.CKEditorError("writer-split-element-no-parent",this);if(t||(t=n.parent),!e.parent.getAncestors({includeSelf:!0}).includes(t))throw new x.CKEditorError("writer-split-invalid-limit-element",this);do{const t=n.root.document?n.root.document.version:null,r=n.maxOffset-e.offset,s=Xo.getInsertionPosition(e),a=new Xo(e,r,s,null,t);this.batch.addOperation(a),this.model.applyOperation(a),i||o||(i=n,o=e.parent.nextSibling),n=(e=this.createPositionAfter(e.parent)).parent}while(n!==t);return{position:e,range:new yi(fi._createAt(i,"end"),fi._createAt(o,0))}}wrap(e,t){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new x.CKEditorError("writer-wrap-range-not-flat",this);const i=t instanceof mi?t:new mi(t);if(i.childCount>0)throw new x.CKEditorError("writer-wrap-element-not-empty",this);if(null!==i.parent)throw new x.CKEditorError("writer-wrap-element-attached",this);this.insert(i,e.start);const o=new yi(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(o,fi._createAt(i,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),null===e.parent)throw new x.CKEditorError("writer-unwrap-element-no-parent",this);this.move(yi._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,t){if(this._assertWriterUsedCorrectly(),!t||"boolean"!=typeof t.usingOperation)throw new x.CKEditorError("writer-addmarker-no-usingoperation",this);const i=t.usingOperation,o=t.range,n=void 0!==t.affectsData&&t.affectsData;if(this.model.markers.has(e))throw new x.CKEditorError("writer-addmarker-marker-exists",this);if(!o)throw new x.CKEditorError("writer-addmarker-no-range",this);return i?(Hn(this,e,null,o,n),this.model.markers.get(e)):this.model.markers._set(e,o,i,n)}updateMarker(e,t){this._assertWriterUsedCorrectly();const i="string"==typeof e?e:e.name,o=this.model.markers.get(i);if(!o)throw new x.CKEditorError("writer-updatemarker-marker-not-exists",this);if(!t)return(0,x.logWarning)("writer-updatemarker-reconvert-using-editingcontroller",{markerName:i}),void this.model.markers._refresh(o);const n="boolean"==typeof t.usingOperation,r="boolean"==typeof t.affectsData,s=r?t.affectsData:o.affectsData;if(!n&&!t.range&&!r)throw new x.CKEditorError("writer-updatemarker-wrong-options",this);const a=o.getRange(),l=t.range?t.range:a;n&&t.usingOperation!==o.managedUsingOperations?t.usingOperation?Hn(this,i,null,l,s):(Hn(this,i,a,null,s),this.model.markers._set(i,l,void 0,s)):o.managedUsingOperations?Hn(this,i,a,l,s):this.model.markers._set(i,l,void 0,s)}removeMarker(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?e:e.name;if(!this.model.markers.has(t))throw new x.CKEditorError("writer-removemarker-no-marker",this);const i=this.model.markers.get(t);i.managedUsingOperations?Hn(this,t,i.getRange(),null,i.affectsData):this.model.markers._remove(t)}addRoot(e,t="$root"){this._assertWriterUsedCorrectly();const i=this.model.document.getRoot(e);if(i&&i.isAttached())throw new x.CKEditorError("writer-addroot-root-exists",this);const o=this.model.document,n=new ln(e,t,!0,o,o.version);return this.batch.addOperation(n),this.model.applyOperation(n),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 x.CKEditorError("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 i=this.model.document,o=new ln(t.rootName,t.name,!1,i,i.version);this.batch.addOperation(o),this.model.applyOperation(o)}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,i]of(0,x.toMap)(e))this._setSelectionAttribute(t,i)}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 i=this.model.document.selection;if(i.isCollapsed&&i.anchor.parent.isEmpty){const o=Fi._getStoreAttributeKey(e);this.setAttribute(o,t,i.anchor.parent)}i._setAttribute(e,t)}_removeSelectionAttribute(e){const t=this.model.document.selection;if(t.isCollapsed&&t.anchor.parent.isEmpty){const i=Fi._getStoreAttributeKey(e);this.removeAttribute(i,t.anchor.parent)}t._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new x.CKEditorError("writer-incorrect-use",this)}_addOperationForAffectedMarkers(e,t){for(const i of this.model.markers){if(!i.managedUsingOperations)continue;const o=i.getRange();let n=!1;if("move"===e){const e=t;n=e.containsPosition(o.start)||e.start.isEqual(o.start)||e.containsPosition(o.end)||e.end.isEqual(o.end)}else{const e=t,i=e.nodeBefore,r=e.nodeAfter,s=o.start.parent==i&&o.start.isAtEnd,a=o.end.parent==r&&0==o.end.offset,l=o.end.nodeAfter==r,c=o.start.nodeAfter==r;n=s||a||l||c}n&&this.updateMarker(i.name,{range:o})}}}function Fn(e,t,i,o){const n=e.model,r=n.document;let s,a,l,c=o.start;for(const e of o.getWalker({shallow:!0}))l=e.item.getAttribute(t),s&&a!=l&&(a!=i&&d(),c=s),s=e.nextPosition,a=l;function d(){const o=new yi(c,s),l=o.root.document?r.version:null,d=new nn(o,t,a,i,l);e.batch.addOperation(d),n.applyOperation(d)}s instanceof fi&&s!=c&&a!=i&&d()}function Zn(e,t,i,o){const n=e.model,r=n.document,s=o.getAttribute(t);let a,l;if(s!=i){if(o.root===o){const e=o.document?r.version:null;l=new an(o,t,s,i,e)}else{a=new yi(fi._createBefore(o),e.createPositionAfter(o));const n=a.root.document?r.version:null;l=new nn(a,t,s,i,n)}e.batch.addOperation(l),n.applyOperation(l)}}function Hn(e,t,i,o,n){const r=e.model,s=r.document,a=new tn(t,i,o,r.markers,!!n,s.version);e.batch.addOperation(a),r.applyOperation(a)}function Wn(e,t,i,o){let n;if(e.root.document){const i=o.document,r=new fi(i.graveyard,[0]);n=new Yo(e,t,r,i.version)}else n=new Nn(e,t);i.addOperation(n),o.applyOperation(n)}function jn(e,t){return e===t||e instanceof Vn&&t instanceof Vn}function Un(e,t,i={}){if(t.isCollapsed)return;const o=t.getFirstRange();if("$graveyard"==o.root.rootName)return;const n=e.schema;e.change((e=>{if(!i.doNotResetEntireContent&&function(e,t){const i=e.getLimitElement(t);if(!t.containsEntireContent(i))return!1;const o=t.getFirstRange();return o.start.parent!=o.end.parent&&e.checkChild(i,"paragraph")}(n,t))return void function(e,t){const i=e.model.schema.getLimitElement(t);e.remove(e.createRangeIn(i)),Gn(e,e.createPositionAt(i,0),t)}(e,t);const r={};if(!i.doNotAutoparagraph){const e=t.getSelectedElement();e&&Object.assign(r,n.getAttributesWithProperty(e,"copyOnReplace",!0))}const[s,a]=function(e){const t=e.root.document.model,i=e.start;let o=e.end;if(t.hasContent(e,{ignoreMarkers:!0})){const i=function(e){const t=e.parent,i=t.root.document.model.schema,o=t.getAncestors({parentFirst:!0,includeSelf:!0});for(const e of o){if(i.isLimit(e))return null;if(i.isBlock(e))return e}}(o);if(i&&o.isTouching(t.createPositionAt(i,0))){const i=t.createSelection(e);t.modifySelection(i,{direction:"backward"});const n=i.getLastPosition(),r=t.createRange(n,o);t.hasContent(r,{ignoreMarkers:!0})||(o=n)}}return[yn.fromPosition(i,"toPrevious"),yn.fromPosition(o,"toNext")]}(o);s.isTouching(a)||e.remove(e.createRange(s,a)),i.leaveUnmerged||(function(e,t,i){const o=e.model;if(!Kn(e.model.schema,t,i))return;const[n,r]=function(e,t){const i=e.getAncestors(),o=t.getAncestors();let n=0;for(;i[n]&&i[n]==o[n];)n++;return[i[n],o[n]]}(t,i);n&&r&&(!o.hasContent(n,{ignoreMarkers:!0})&&o.hasContent(r,{ignoreMarkers:!0})?qn(e,t,i,n.parent):$n(e,t,i,n.parent))}(e,s,a),n.removeDisallowedAttributes(s.parent.getChildren(),e)),Jn(e,t,s),!i.doNotAutoparagraph&&function(e,t){const i=e.checkChild(t,"$text"),o=e.checkChild(t,"paragraph");return!i&&o}(n,s)&&Gn(e,s,t,r),s.detach(),a.detach()}))}function $n(e,t,i,o){const n=t.parent,r=i.parent;if(n!=o&&r!=o){for(t=e.createPositionAfter(n),(i=e.createPositionBefore(r)).isEqual(t)||e.insert(r,t),e.merge(t);i.parent.isEmpty;){const t=i.parent;i=e.createPositionBefore(t),e.remove(t)}Kn(e.model.schema,t,i)&&$n(e,t,i,o)}}function qn(e,t,i,o){const n=t.parent,r=i.parent;if(n!=o&&r!=o){for(t=e.createPositionAfter(n),(i=e.createPositionBefore(r)).isEqual(t)||e.insert(n,i);t.parent.isEmpty;){const i=t.parent;t=e.createPositionBefore(i),e.remove(i)}i=e.createPositionBefore(r),function(e,t){const i=t.nodeBefore,o=t.nodeAfter;i.name!=o.name&&e.rename(i,o.name),e.clearAttributes(i),e.setAttributes(Object.fromEntries(o.getAttributes()),i),e.merge(t)}(e,i),Kn(e.model.schema,t,i)&&qn(e,t,i,o)}}function Kn(e,t,i){const o=t.parent,n=i.parent;return o!=n&&!e.isLimit(o)&&!e.isLimit(n)&&function(e,t,i){const o=new yi(e,t);for(const e of o.getWalker())if(i.isLimit(e.item))return!1;return!0}(t,i,e)}function Gn(e,t,i,o={}){const n=e.createElement("paragraph");e.model.schema.setAllowedAttributes(n,o,e),e.insert(n,t),Jn(e,i,e.createPositionAt(n,0))}function Jn(e,t,i){t instanceof Fi?e.setSelection(i):t.setTo(i)}function Yn(e,t){const i=[];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=>{i.push(e.start.parent),t.remove(e)})),i.forEach((e=>{let i=e;for(;i.parent&&i.isEmpty;){const e=t.createRangeOn(i);i=i.parent,t.remove(e)}}))}class Qn{constructor(e,t,i){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=i,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),i=this.writer.createPositionAfter(e);if(i.isAfter(t)){if(this._lastNode=e,this.position.parent!=e||!this.position.isAtEnd)throw new x.CKEditorError("insertcontent-invalid-insertion-position",this);this.position=i,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?yi._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new yi(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e){if(this.schema.isObject(e))return void this._handleObject(e);let t=this._checkAndAutoParagraphToAllowedPosition(e);t||(t=this._checkAndSplitToAllowedPosition(e),t)?(this._appendToFragment(e),this._firstNode||(this._firstNode=e),this._lastNode=e):this._handleDisallowedNode(e)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const e=yn.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()}_handleObject(e){this._checkAndSplitToAllowedPosition(e)?this._appendToFragment(e):this._tryAutoparagraphing(e)}_handleDisallowedNode(e){e.is("element")?this.handleNodes(e.getChildren()):this._tryAutoparagraphing(e)}_appendToFragment(e){if(!this.schema.checkChild(this.position,e))throw new x.CKEditorError("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=yn.fromPosition(e,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(e)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=yn.fromPosition(e,"toNext"))}_mergeOnLeft(){const e=this._firstNode;if(!(e instanceof mi))return;if(!this._canMergeLeft(e))return;const t=yn._createBefore(e);t.stickiness="toNext";const i=yn.fromPosition(this.position,"toNext");this._affectedStart.isEqual(t)&&(this._affectedStart.detach(),this._affectedStart=yn._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=yn._createAt(t.nodeBefore,"end","toNext")),this.position=i.toPosition(),i.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_mergeOnRight(){const e=this._lastNode;if(!(e instanceof mi))return;if(!this._canMergeRight(e))return;const t=yn._createAfter(e);if(t.stickiness="toNext",!this.position.isEqual(t))throw new x.CKEditorError("insertcontent-invalid-insertion-position",this);this.position=fi._createAt(t.nodeBefore,"end");const i=yn.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(t)&&(this._affectedEnd.detach(),this._affectedEnd=yn._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=yn._createAt(t.nodeBefore,0,"toPrevious")),this.position=i.toPosition(),i.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_canMergeLeft(e){const t=e.previousSibling;return t instanceof mi&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(t,e)}_canMergeRight(e){const t=e.nextSibling;return t instanceof mi&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(e,t)}_tryAutoparagraphing(e){const t=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,t)&&this.schema.checkChild(t,e)&&(t._appendChild(e),this._handleNode(t))}_checkAndAutoParagraphToAllowedPosition(e){if(this.schema.checkChild(this.position.parent,e))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",e))return!1;this._insertPartialFragment();const t=this.writer.createElement("paragraph");return this.writer.insert(t,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=t,this.position=this.writer.createPositionAt(t,0),!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!0}_getAllowedIn(e,t){return this.schema.checkChild(e,t)?e:this.schema.isLimit(e)?null:this._getAllowedIn(e.parent,t)}}function Xn(e,t,i="auto"){const o=e.getSelectedElement();if(o&&t.schema.isObject(o)&&!t.schema.isInline(o))return"before"==i||"after"==i?t.createRange(t.createPositionAt(o,i)):t.createRangeOn(o);const n=(0,x.first)(e.getSelectedBlocks());if(!n)return t.createRange(e.focus);if(n.isEmpty)return t.createRange(t.createPositionAt(n,0));const r=t.createPositionAfter(n);return e.focus.isTouching(r)?t.createRange(r):t.createRange(t.createPositionBefore(n))}const er=' ,.?!:;"-()';function tr(e,t){const{isForward:i,walker:o,unit:n,schema:r,treatEmojiAsSingleUnit:s}=e,{type:a,item:l,nextPosition:c}=t;if("text"==a)return"word"===e.unit?function(e,t){let i=e.position.textNode;for(i||(i=t?e.position.nodeAfter:e.position.nodeBefore);i&&i.is("$text");){const o=e.position.offset-i.startOffset;if(nr(i,o,t))i=t?e.position.nodeAfter:e.position.nodeBefore;else{if(or(i.data,o,t))break;e.next()}}return e.position}(o,i):function(e,t,i){const o=e.position.textNode;if(o){const n=o.data;let r=e.position.offset-o.startOffset;for(;(0,x.isInsideSurrogatePair)(n,r)||"character"==t&&(0,x.isInsideCombinedSymbol)(n,r)||i&&(0,x.isInsideEmojiSequence)(n,r);)e.next(),r=e.position.offset-o.startOffset}return e.position}(o,n,s);if(a==(i?"elementStart":"elementEnd")){if(r.isSelectable(l))return fi._createAt(l,i?"after":"before");if(r.checkChild(c,"$text"))return c}else{if(r.isLimit(l))return void o.skip((()=>!0));if(r.checkChild(c,"$text"))return c}}function ir(e,t){const i=e.root,o=fi._createAt(i,t?"end":0);return t?new yi(e,o):new yi(o,e)}function or(e,t,i){const o=t+(i?0:-1);return er.includes(e.charAt(o))}function nr(e,t,i){return t===(i?e.offsetSize:0)}class rr extends((0,x.ObservableMixin)()){constructor(){var e;super(),this.markers=new Mn,this.document=new On(this),this.schema=new vo,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(((e,t)=>{if("$marker"===t.name)return!0})),(e=this).document.registerPostFixer((t=>function(e,t){const i=t.document.selection,o=t.schema,n=[];let r=!1;for(const e of i.getRanges()){const t=go(e,o);t&&!t.isEqual(e)?(n.push(t),r=!0):n.push(e)}return r&&e.setSelection(function(e){const t=[...e],i=new Set;let o=1;for(;o<t.length;){const e=t[o],n=t.slice(0,o);for(const[r,s]of n.entries())if(!i.has(r))if(e.isEqual(s))i.add(r);else if(e.isIntersecting(s)){i.add(r),i.add(o);const n=e.getJoined(s);t.push(n)}o++}return t.filter(((e,t)=>!i.has(t)))}(n),{backward:i.isBackward}),!1}(t,e))),this.document.registerPostFixer(oo),this.on("insertContent",((e,[t,i])=>{e.return=function(e,t,i){return e.change((o=>{const n=i||e.document.selection;n.isCollapsed||e.deleteContent(n,{doNotAutoparagraph:!0});const r=new Qn(e,o,n.anchor),s=[];let a;if(t.is("documentFragment")){if(t.markers.size){const e=[];for(const[i,o]of t.markers){const{start:t,end:n}=o,r=t.isEqual(n);e.push({position:t,name:i,isCollapsed:r},{position:n,name:i,isCollapsed:r})}e.sort((({position:e},{position:t})=>e.isBefore(t)?1:-1));for(const{position:i,name:n,isCollapsed:r}of e){let e=null,a=null;const l=i.parent===t&&i.isAtStart,c=i.parent===t&&i.isAtEnd;l||c?r&&(a=l?"start":"end"):(e=o.createElement("$marker"),o.insert(e,i)),s.push({name:n,element:e,collapsed:a})}}a=t.getChildren()}else a=[t];r.handleNodes(a);let l=r.getSelectionRange();if(t.is("documentFragment")&&s.length){const e=l?zi.fromRange(l):null,t={};for(let e=s.length-1;e>=0;e--){const{name:i,element:n,collapsed:a}=s[e],l=!t[i];if(l&&(t[i]=[]),n){const e=o.createPositionAt(n,"before");t[i].push(e),o.remove(n)}else{const e=r.getAffectedRange();if(!e){a&&t[i].push(r.position);continue}a?t[i].push(e[a]):t[i].push(l?e.start:e.end)}}for(const[e,[i,n]]of Object.entries(t))i&&n&&i.root===n.root&&o.addMarker(e,{usingOperation:!0,affectsData:!0,range:new yi(i,n)});e&&(l=e.toRange(),e.detach())}l&&(n instanceof Fi?o.setSelection(l):n.setTo(l));const c=r.getAffectedRange()||e.createRange(n.anchor);return r.destroy(),c}))}(this,t,i)})),this.on("insertObject",((e,[t,i,o])=>{e.return=function(e,t,i,o={}){if(!e.schema.isObject(t))throw new x.CKEditorError("insertobject-element-not-an-object",e,{object:t});const n=i||e.document.selection;let r=n;o.findOptimalPosition&&e.schema.isBlock(t)&&(r=e.createSelection(Xn(n,e,o.findOptimalPosition)));const s=(0,x.first)(n.getSelectedBlocks()),a={};return s&&Object.assign(a,e.schema.getAttributesWithProperty(s,"copyOnReplace",!0)),e.change((i=>{r.isCollapsed||e.deleteContent(r,{doNotAutoparagraph:!0});let n=t;const s=r.anchor.parent;!e.schema.checkChild(s,t)&&e.schema.checkChild(s,"paragraph")&&e.schema.checkChild("paragraph",t)&&(n=i.createElement("paragraph"),i.insert(t,n)),e.schema.setAllowedAttributes(n,a,i);const l=e.insertContent(n,r);return l.isCollapsed||o.setSelection&&function(e,t,i,o){const n=e.model;if("on"==i)return void e.setSelection(t,"on");if("after"!=i)throw new x.CKEditorError("insertobject-invalid-place-parameter-value",n);let r=t.nextSibling;n.schema.isInline(t)?e.setSelection(t,"after"):(!(r&&n.schema.checkChild(r,"$text"))&&n.schema.checkChild(t.parent,"paragraph")&&(r=e.createElement("paragraph"),n.schema.setAllowedAttributes(r,o,e),n.insertContent(r,e.createPositionAfter(t))),r&&e.setSelection(r,0))}(i,t,o.setSelection,a),l}))}(this,t,i,o)})),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 An,callback:e}),this._runPendingChanges()[0]):e(this._currentWriter)}catch(e){x.CKEditorError.rethrowUnexpectedError(e,this)}}enqueueChange(e,t){try{e?"function"==typeof e?(t=e,e=new An):e instanceof An||(e=new An(e)):e=new An,this._pendingChanges.push({batch:e,callback:t}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(e){x.CKEditorError.rethrowUnexpectedError(e,this)}}applyOperation(e){e._execute()}insertContent(e,t,i,...o){const n=sr(t,i);return this.fire("insertContent",[e,n,i,...o])}insertObject(e,t,i,o,...n){const r=sr(t,i);return this.fire("insertObject",[e,r,o,o,...n])}deleteContent(e,t){Un(this,e,t)}modifySelection(e,t){!function(e,t,i={}){const o=e.schema,n="backward"!=i.direction,r=i.unit?i.unit:"character",s=!!i.treatEmojiAsSingleUnit,a=t.focus,l=new gi({boundaries:ir(a,n),singleCharacters:!0,direction:n?"forward":"backward"}),c={walker:l,schema:o,isForward:n,unit:r,treatEmojiAsSingleUnit:s};let d;for(;d=l.next();){if(d.done)return;const i=tr(c,d.value);if(i)return void(t instanceof Fi?e.change((e=>{e.setSelectionFocus(i)})):t.setFocus(i))}}(this,e,t)}getSelectedContent(e){return function(e,t){return e.change((e=>{const i=e.createDocumentFragment(),o=t.getFirstRange();if(!o||o.isCollapsed)return i;const n=o.start.root,r=o.start.getCommonPath(o.end),s=n.getNodeByPath(r);let a;a=o.start.parent==o.end.parent?o:e.createRange(e.createPositionAt(s,o.start.path[r.length]),e.createPositionAt(s,o.end.path[r.length]+1));const l=a.end.offset-a.start.offset;for(const t of a.getItems({shallow:!0}))t.is("$textProxy")?e.appendText(t.data,t.getAttributes(),i):e.append(e.cloneElement(t,!0),i);if(a!=o){const t=o._getTransformedByMove(a.start,e.createPositionAt(i,0),l)[0],n=e.createRange(e.createPositionAt(i,0),t.start);Yn(e.createRange(t.end,e.createPositionAt(i,"end")),e),Yn(n,e)}return i}))}(this,e)}hasContent(e,t={}){const i=e instanceof yi?e:yi._createIn(e);if(i.isCollapsed)return!1;const{ignoreWhitespaces:o=!1,ignoreMarkers:n=!1}=t;if(!n)for(const e of this.markers.getMarkersIntersectingRange(i))if(e.affectsData)return!0;for(const e of i.getItems())if(this.schema.isContent(e)){if(!e.is("$textProxy"))return!0;if(!o)return!0;if(-1!==e.data.search(/\S/))return!0}return!1}canEditAt(e){const t=sr(e);return this.fire("canEditAt",[t])}createPositionFromPath(e,t,i){return new fi(e,t,i)}createPositionAt(e,t){return fi._createAt(e,t)}createPositionAfter(e){return fi._createAfter(e)}createPositionBefore(e){return fi._createBefore(e)}createRange(e,t){return new yi(e,t)}createRangeIn(e){return yi._createIn(e)}createRangeOn(e){return yi._createOn(e)}createSelection(...e){return new Pi(...e)}createBatch(e){return new An(e)}createOperationFromJSON(e){return dn.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 Ln(this,t);const i=this._pendingChanges[0].callback(this._currentWriter);e.push(i),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 sr(e,t){if(e)return e instanceof Pi||e instanceof Fi?e:e instanceof ci?t||0===t?new Pi(e,t):e.is("rootElement")?new Pi(e,"in"):new Pi(e,"on"):new Pi(e)}class ar extends jt{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(e){this.fire(e.type,e)}}class lr extends jt{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(e){this.fire(e.type,e)}}class cr{constructor(e){this.document=e}createDocumentFragment(e){return new nt(this.document,e)}createElement(e,t,i){return new Se(this.document,e,t,i)}createText(e){return new P(this.document,e)}clone(e,t=!1){return e._clone(t)}appendChild(e,t){return t._appendChild(e)}insertChild(e,t,i){return i._insertChild(e,t)}removeChildren(e,t,i){return i._removeChildren(e,t)}remove(e){const t=e.parent;return t?this.removeChildren(t.getChildIndex(e),1,t):[]}replace(e,t){const i=e.parent;if(i){const o=i.getChildIndex(e);return this.removeChildren(o,1,i),this.insertChild(o,t,i),!0}return!1}unwrapElement(e){const t=e.parent;if(t){const i=t.getChildIndex(e);this.remove(e),this.insertChild(i,e.getChildren(),t)}}rename(e,t){const i=new Se(this.document,e,t.getAttributes(),t.getChildren());return this.replace(t,i)?i:null}setAttribute(e,t,i){i._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,i){(0,V.Z)(e)&&void 0===i?t._setStyle(e):i._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,i){i._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}createPositionAt(e,t){return ze._createAt(e,t)}createPositionAfter(e){return ze._createAfter(e)}createPositionBefore(e){return ze._createBefore(e)}createRange(e,t){return new Ne(e,t)}createRangeOn(e){return Ne._createOn(e)}createRangeIn(e){return Ne._createIn(e)}createSelection(...e){return new Le(...e)}}const dr=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,ur=/^rgb\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}[0-9]{1,3}[ %]?\)$/i,hr=/^rgba\([ ]?([0-9]{1,3}[ %]?,[ ]?){3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,mr=/^hsl\([ ]?([0-9]{1,3}[ %]?[,]?[ ]*){3}(1|[0-9]+%|[0]?\.?[0-9]+)?\)$/i,gr=/^hsla\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,pr=/\w+\((?:[^()]|\([^()]*\))*\)|\S+/gi,fr=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 br(e){return e.startsWith("#")?dr.test(e):e.startsWith("rgb")?ur.test(e)||hr.test(e):e.startsWith("hsl")?mr.test(e)||gr.test(e):fr.has(e.toLowerCase())}const wr=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function kr(e){return wr.includes(e)}const _r=/^([+-]?[0-9]*([.][0-9]+)?(px|cm|mm|in|pc|pt|ch|em|ex|rem|vh|vw|vmin|vmax)|0)$/;function vr(e){return _r.test(e)}const yr=/^[+-]?[0-9]*([.][0-9]+)?%$/;function Cr(e){return yr.test(e)}const xr=["repeat-x","repeat-y","repeat","space","round","no-repeat"];function Ar(e){return xr.includes(e)}const Er=["center","top","bottom","left","right"];function Tr(e){return Er.includes(e)}const Sr=["fixed","scroll","local"];function Pr(e){return Sr.includes(e)}const Ir=/^url\(/;function Vr(e){return Ir.test(e)}function Rr(e=""){if(""===e)return{top:void 0,right:void 0,bottom:void 0,left:void 0};const t=zr(e),i=t[0],o=t[2]||i,n=t[1]||i;return{top:i,bottom:o,right:n,left:t[3]||n}}function Or(e){return t=>{const{top:i,right:o,bottom:n,left:r}=t,s=[];return[i,o,r,n].every((e=>!!e))?s.push([e,Br(t)]):(i&&s.push([e+"-top",i]),o&&s.push([e+"-right",o]),n&&s.push([e+"-bottom",n]),r&&s.push([e+"-left",r])),s}}function Br({top:e,right:t,bottom:i,left:o}){const n=[];return o!==t?n.push(e,t,i,o):i!==e?n.push(e,t,i):t!==e?n.push(e,t):n.push(e),n.join(" ")}function Mr(e){return t=>({path:e,value:Rr(t)})}function zr(e){const t=e.matchAll(pr);return Array.from(t).map((e=>e[0]))}function Nr(e){e.setNormalizer("background",(e=>{const t={},i=zr(e);for(const e of i)Ar(e)?(t.repeat=t.repeat||[],t.repeat.push(e)):Tr(e)?(t.position=t.position||[],t.position.push(e)):Pr(e)?t.attachment=e:br(e)?t.color=e:Vr(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 Dr(e){e.setNormalizer("border",(e=>{const{color:t,style:i,width:o}=Ur(e);return{path:"border",value:{color:Rr(t),style:Rr(i),width:Rr(o)}}})),e.setNormalizer("border-top",Lr("top")),e.setNormalizer("border-right",Lr("right")),e.setNormalizer("border-bottom",Lr("bottom")),e.setNormalizer("border-left",Lr("left")),e.setNormalizer("border-color",Fr("color")),e.setNormalizer("border-width",Fr("width")),e.setNormalizer("border-style",Fr("style")),e.setNormalizer("border-top-color",Hr("color","top")),e.setNormalizer("border-top-style",Hr("style","top")),e.setNormalizer("border-top-width",Hr("width","top")),e.setNormalizer("border-right-color",Hr("color","right")),e.setNormalizer("border-right-style",Hr("style","right")),e.setNormalizer("border-right-width",Hr("width","right")),e.setNormalizer("border-bottom-color",Hr("color","bottom")),e.setNormalizer("border-bottom-style",Hr("style","bottom")),e.setNormalizer("border-bottom-width",Hr("width","bottom")),e.setNormalizer("border-left-color",Hr("color","left")),e.setNormalizer("border-left-style",Hr("style","left")),e.setNormalizer("border-left-width",Hr("width","left")),e.setExtractor("border-top",Wr("top")),e.setExtractor("border-right",Wr("right")),e.setExtractor("border-bottom",Wr("bottom")),e.setExtractor("border-left",Wr("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",Or("border-color")),e.setReducer("border-style",Or("border-style")),e.setReducer("border-width",Or("border-width")),e.setReducer("border-top",$r("top")),e.setReducer("border-right",$r("right")),e.setReducer("border-bottom",$r("bottom")),e.setReducer("border-left",$r("left")),e.setReducer("border",function(){return t=>{const i=jr(t,"top"),o=jr(t,"right"),n=jr(t,"bottom"),r=jr(t,"left"),s=[i,o,n,r],a={width:e(s,"width"),style:e(s,"style"),color:e(s,"color")},l=qr(a,"all");if(l.length)return l;const c=Object.entries(a).reduce(((e,[t,i])=>(i&&(e.push([`border-${t}`,i]),s.forEach((e=>delete e[t]))),e)),[]);return[...c,...qr(i,"top"),...qr(o,"right"),...qr(n,"bottom"),...qr(r,"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 Lr(e){return t=>{const{color:i,style:o,width:n}=Ur(t),r={};return void 0!==i&&(r.color={[e]:i}),void 0!==o&&(r.style={[e]:o}),void 0!==n&&(r.width={[e]:n}),{path:"border",value:r}}}function Fr(e){return t=>({path:"border",value:Zr(t,e)})}function Zr(e,t){return{[t]:Rr(e)}}function Hr(e,t){return i=>({path:"border",value:{[e]:{[t]:i}}})}function Wr(e){return(t,i)=>{if(i.border)return jr(i.border,e)}}function jr(e,t){const i={};return e.width&&e.width[t]&&(i.width=e.width[t]),e.style&&e.style[t]&&(i.style=e.style[t]),e.color&&e.color[t]&&(i.color=e.color[t]),i}function Ur(e){const t={},i=zr(e);for(const e of i)vr(e)||/thin|medium|thick/.test(e)?t.width=e:kr(e)?t.style=e:t.color=e;return t}function $r(e){return t=>qr(t,e)}function qr(e,t){const i=[];if(e&&e.width&&i.push("width"),e&&e.style&&i.push("style"),e&&e.color&&i.push("color"),3==i.length){const o=i.map((t=>e[t])).join(" ");return["all"==t?["border",o]:[`border-${t}`,o]]}return"all"==t?[]:i.map((i=>[`border-${t}-${i}`,e[i]]))}function Kr(e){e.setNormalizer("margin",Mr("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",Or("margin")),e.setStyleRelation("margin",["margin-top","margin-right","margin-bottom","margin-left"])}function Gr(e){e.setNormalizer("padding",Mr("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",Or("padding")),e.setStyleRelation("padding",["padding-top","padding-right","padding-bottom","padding-left"])}},5725:(e,t,i)=>{"use strict";i.d(t,{C:()=>u,G:()=>p});var o=i(7578);function*n(e,t){for(const i of t)i&&e.getAttributeProperties(i[0]).copyOnEnter&&(yield i)}class r extends o.Command{execute(){this.editor.model.change((e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})}))}enterBlock(e){const t=this.editor.model,i=t.document.selection,o=t.schema,r=i.isCollapsed,a=i.getFirstRange(),l=a.start.parent,c=a.end.parent;if(o.isLimit(l)||o.isLimit(c))return r||l!=c||t.deleteContent(i),!1;if(r){const t=n(e.model.schema,i.getAttributes());return s(e,a.start),e.setSelectionAttribute(t),!0}{const o=!(a.start.isAtStart&&a.end.isAtEnd),n=l==c;if(t.deleteContent(i,{leaveUnmerged:o}),o){if(n)return s(e,i.focus),!0;e.setSelection(c,0)}}return!1}}function s(e,t){e.split(t),e.setSelection(t.parent.nextSibling,0)}var a=i(600),l=i(1833);const c={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class d extends a.Observer{constructor(e){super(e);const t=this.document;let i=!1;t.on("keydown",((e,t)=>{i=t.shiftKey})),t.on("beforeinput",((o,n)=>{if(!this.isEnabled)return;let r=n.inputType;l.env.isSafari&&i&&"insertParagraph"==r&&(r="insertLineBreak");const s=n.domEvent,d=c[r];if(!d)return;const u=new a.BubblingEventInfo(t,"enter",n.targetRanges[0]);t.fire(u,new a.DomEventData(e,s,{isSoft:d.isSoft})),u.stop.called&&o.stop()}))}observe(){}stopObserving(){}}class u extends o.Plugin{static get pluginName(){return"Enter"}init(){const e=this.editor,t=e.editing.view,i=t.document;t.addObserver(d),e.commands.add("enter",new r(e)),this.listenTo(i,"enter",((o,n)=>{i.isComposing||n.preventDefault(),n.isSoft||(e.execute("enter"),t.scrollToTheSelection())}),{priority:"low"})}}class h extends o.Command{execute(){const e=this.editor.model,t=e.document;e.change((i=>{!function(e,t,i){const o=i.isCollapsed,r=i.getFirstRange(),s=r.start.parent,a=r.end.parent,l=s==a;if(o){const o=n(e.schema,i.getAttributes());m(e,t,r.end),t.removeSelectionAttribute(i.getAttributeKeys()),t.setSelectionAttribute(o)}else{const o=!(r.start.isAtStart&&r.end.isAtEnd);e.deleteContent(i,{leaveUnmerged:o}),l?m(e,t,i.focus):o&&t.setSelection(a,0)}}(e,i,t.selection),this.fire("afterExecute",{writer:i})}))}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=function(e,t){if(t.rangeCount>1)return!1;const i=t.anchor;if(!i||!e.checkChild(i,"softBreak"))return!1;const o=t.getFirstRange(),n=o.start.parent,r=o.end.parent;return!g(n,e)&&!g(r,e)||n===r}(e.schema,t.selection)}}function m(e,t,i){const o=t.createElement("softBreak");e.insertContent(o,i),t.setSelection(o,"after")}function g(e,t){return!e.is("rootElement")&&(t.isLimit(e)||g(e.parent,t))}class p extends o.Plugin{static get pluginName(){return"ShiftEnter"}init(){const e=this.editor,t=e.model.schema,i=e.conversion,o=e.editing.view,n=o.document;t.register("softBreak",{allowWhere:"$text",isInline:!0}),i.for("upcast").elementToElement({model:"softBreak",view:"br"}),i.for("downcast").elementToElement({model:"softBreak",view:(e,{writer:t})=>t.createEmptyElement("br")}),o.addObserver(d),e.commands.add("shiftEnter",new h(e)),this.listenTo(n,"enter",((t,i)=>{n.isComposing||i.preventDefault(),i.isSoft&&(e.execute("shiftEnter"),o.scrollToTheSelection())}),{priority:"low"})}}},1638:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Essentials:()=>b});var o=i(6854),n=i(3837),r=i(1863),s=i(7578),a=i(1833);class l extends s.Command{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,t=e.document.selection;let i=e.schema.getLimitElement(t);if(t.containsEntireContent(i)||!c(e.schema,i))do{if(i=i.parent,!i)return}while(!c(e.schema,i));e.change((e=>{e.setSelection(i,"in")}))}}function c(e,t){return e.isLimit(t)&&(e.checkChild(t,"$text")||e.checkChild(t,"paragraph"))}const d=(0,a.parseKeystroke)("Ctrl+A");class u extends s.Plugin{static get pluginName(){return"SelectAllEditing"}init(){const e=this.editor,t=e.editing.view.document;e.commands.add("selectAll",new l(e)),this.listenTo(t,"keydown",((t,i)=>{(0,a.getCode)(i)===d&&(e.execute("selectAll"),i.preventDefault())}))}}var h=i(7230);class m extends s.Plugin{static get pluginName(){return"SelectAllUI"}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",(t=>{const i=e.commands.get("selectAll"),o=new h.ButtonView(t),n=t.t;return o.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",tooltip:!0}),o.bind("isEnabled").to(i,"isEnabled"),this.listenTo(o,"execute",(()=>{e.execute("selectAll"),e.editing.view.focus()})),o}))}}class g extends s.Plugin{static get requires(){return[u,m]}static get pluginName(){return"SelectAll"}}var p=i(5187),f=i(1903);class b extends o.Sy{static get requires(){return[n.TU,r.C,g,r.G,p.Mq,f.WP]}static get pluginName(){return"Essentials"}}},1281:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Font:()=>oe,FontBackgroundColor:()=>ie,FontBackgroundColorEditing:()=>ee,FontBackgroundColorUI:()=>te,FontColor:()=>Q,FontColorEditing:()=>G,FontColorUI:()=>Y,FontFamily:()=>z,FontFamilyEditing:()=>B,FontFamilyUI:()=>M,FontSize:()=>q,FontSizeEditing:()=>W,FontSizeUI:()=>$});var o=i(6854);class n extends o.mY{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,i=t.document.selection,o=e.value,n=e.batch,r=e=>{if(i.isCollapsed)o?e.setSelectionAttribute(this.attributeKey,o):e.removeSelectionAttribute(this.attributeKey);else{const n=t.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const t of n)o?e.setAttribute(this.attributeKey,o,t):e.removeAttribute(this.attributeKey,t)}};n?t.enqueueChange(n,(e=>{r(e)})):t.change((e=>{r(e)}))}}var r=i(7095),s=i(6553);class a extends((0,s.Re)(s.FE)){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))}}var l=i(3379),c=i.n(l),d=i(9037),u=i.n(d),h=i(569),m=i.n(h),g=i(8575),p=i.n(g),f=i(9216),b=i.n(f),w=i(8915),k={attributes:{"data-cke":!0}};k.setAttributes=p(),k.insert=m().bind(null,"head"),k.domAPI=u(),k.insertStyleElement=b(),c()(w.Z,k),w.Z&&w.Z.locals&&w.Z.locals;class _ extends r.G7{constructor(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:n,documentColorsCount:a,colorPickerLabel:l,colorPickerConfig:c}){super(e),this.items=this.createCollection(),this.focusTracker=new s.Rh,this.keystrokes=new s.VD,this._focusables=new r.vX,this._colorPickerConfig=c,this._focusCycler=new r.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.colorGridsPageView=new v(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:n,documentColorsCount:a,colorPickerLabel:l,focusTracker:this.focusTracker,focusables:this._focusables}),this.colorPickerPageView=new y(e,{focusables:this._focusables,focusTracker:this.focusTracker,keystrokes:this.keystrokes,colorPickerConfig:c}),this.set("_isColorGridsPageVisible",!0),this.set("_isColorPickerPageVisible",!1),this.set("selectedColor",void 0),this.colorGridsPageView.bind("isVisible").to(this,"_isColorGridsPageVisible"),this.colorPickerPageView.bind("isVisible").to(this,"_isColorPickerPageVisible"),this.on("change:selectedColor",((e,t,i)=>{this.colorGridsPageView.set("selectedColor",i),this.colorPickerPageView.set("selectedColor",i)})),this.colorGridsPageView.on("change:selectedColor",((e,t,i)=>{this.set("selectedColor",i)})),this.colorPickerPageView.on("change:selectedColor",((e,t,i)=>{this.set("selectedColor",i)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-table"]},children:this.items})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}appendGrids(){this.items.length||(this.items.add(this.colorGridsPageView),this.colorGridsPageView.delegate("execute").to(this),this.colorGridsPageView.delegate("showColorPicker").to(this))}appendUI(){this.appendGrids(),this._colorPickerConfig&&this._appendColorPicker()}showColorPicker(){this.colorPickerPageView.colorPickerView&&(this.set("_isColorPickerPageVisible",!0),this.colorPickerPageView.focus(),this.set("_isColorGridsPageVisible",!1))}showColorGrids(){this.set("_isColorGridsPageVisible",!0),this.set("_isColorPickerPageVisible",!1)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}updateDocumentColors(e,t){this.colorGridsPageView.updateDocumentColors(e,t)}updateSelectedColors(){this.colorGridsPageView.updateSelectedColors()}_appendColorPicker(){2!==this.items.length&&(this.items.add(this.colorPickerPageView),this.colorGridsPageView.colorPickerButtonView&&this.colorGridsPageView.colorPickerButtonView.on("execute",(()=>{this.showColorPicker()})),this.colorGridsPageView.addColorPickerButton(),this.colorPickerPageView.delegate("execute").to(this),this.colorPickerPageView.delegate("cancel").to(this))}}class v extends r.G7{constructor(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:n,documentColorsCount:r,colorPickerLabel:s,focusTracker:l,focusables:c}){super(e);const d=this.bindTemplate;this.set("isVisible",!0),this.focusTracker=l,this.items=this.createCollection(),this.colorDefinitions=t,this.columns=i,this.documentColors=new a,this.documentColorsCount=r,this._focusables=c,this._removeButtonLabel=o,this._colorPickerLabel=s,this._documentColorsLabel=n,this.setTemplate({tag:"div",attributes:{class:["ck-color-grids-page-view",d.if("isVisible","ck-hidden",(e=>!e))]},children:this.items}),this.removeColorButtonView=this._createRemoveColorButton(),this.items.add(this.removeColorButtonView)}updateDocumentColors(e,t){const i=e.document,o=this.documentColorsCount;this.documentColors.clear();for(const n of i.getRootNames()){const r=i.getRoot(n),s=e.createRangeIn(r);for(const e of s.getItems())if(e.is("$textProxy")&&e.hasAttribute(t)&&(this._addColorToDocumentColors(e.getAttribute(t)),this.documentColors.length>=o))return}}updateSelectedColors(){const e=this.documentColorsGrid,t=this.staticColorsGrid,i=this.selectedColor;t.selectedColor=i,e&&(e.selectedColor=i)}render(){if(super.render(),this.staticColorsGrid=this._createStaticColorsGrid(),this.items.add(this.staticColorsGrid),this.documentColorsCount){const e=r.YS.bind(this.documentColors,this.documentColors),t=new r.Dn(this.locale);t.text=this._documentColorsLabel,t.extendTemplate({attributes:{class:["ck","ck-color-grid__label",e.if("isEmpty","ck-hidden")]}}),this.items.add(t),this.documentColorsGrid=this._createDocumentColorsGrid(),this.items.add(this.documentColorsGrid)}this._createColorPickerButton(),this._addColorTablesElementsToFocusTracker(),this.focus()}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))}_addColorTablesElementsToFocusTracker(){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 r.r5,this.colorPickerButtonView.set({label:this._colorPickerLabel,withText:!0,icon:r.ci.colorPaletteIcon,class:"ck-color-table__color-picker"}),this.colorPickerButtonView.on("execute",(()=>{this.fire("showColorPicker")}))}_createRemoveColorButton(){const e=new r.r5;return e.set({withText:!0,icon:o.icons.eraser,label:this._removeButtonLabel}),e.class="ck-color-table__remove-color",e.on("execute",(()=>{this.fire("execute",{value:null,source:"removeColorButton"})})),e.render(),e}_createStaticColorsGrid(){const e=new r.J6(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=r.YS.bind(this.documentColors,this.documentColors),t=new r.J6(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 r._9;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,i,o)=>{o&&(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 y extends r.G7{constructor(e,{focusTracker:t,focusables:i,keystrokes:o,colorPickerConfig:n}){super(e),this.items=this.createCollection(),this.focusTracker=t,this.keystrokes=o,this.set("isVisible",!1),this.set("selectedColor",void 0),this._focusables=i,this._pickerConfig=n;const r=this.bindTemplate,{saveButtonView:s,cancelButtonView:a}=this._createActionButtons();this.saveButtonView=s,this.cancelButtonView=a,this.actionBarView=this._createActionBarView({saveButtonView:s,cancelButtonView:a}),this.setTemplate({tag:"div",attributes:{class:["ck-color-picker-page-view",r.if("isVisible","ck-hidden",(e=>!e))]},children:this.items})}render(){super.render();const e=new r.J2(this.locale,this._pickerConfig);this.colorPickerView=e,this.colorPickerView.render(),this.selectedColor&&(e.color=this.selectedColor),this.listenTo(this,"change:selectedColor",((t,i,o)=>{e.color=o})),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()}_executeOnEnterPress(){this.keystrokes.set("enter",(e=>{this.isVisible&&this.focusTracker.focusedElement!==this.cancelButtonView.element&&(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);this.focusTracker.add(this.colorPickerView.hexInputRow.children.get(1).element),this._focusables.add(this.colorPickerView.hexInputRow.children.get(1)),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 i=new r.G7,o=this.createCollection();return o.add(e),o.add(t),i.setTemplate({tag:"div",attributes:{class:["ck","ck-color-table_action-bar"]},children:o}),i}_createActionButtons(){const e=this.locale,t=e.t,i=new r.r5(e),n=new r.r5(e);return i.set({icon:o.icons.check,class:"ck-button-save",withText:!1,label:t("Accept"),type:"button"}),n.set({icon:o.icons.cancel,class:"ck-button-cancel",withText:!1,label:t("Cancel")}),i.on("execute",(()=>{this.fire("execute",{source:"saveButton",value:this.selectedColor})})),n.on("execute",(()=>{this.fire("cancel")})),{saveButtonView:i,cancelButtonView:n}}_executeUponColorChange(){this.colorPickerView.on("change:color",((e,t,i)=>{this.fire("execute",{value:i,source:"colorPicker"})}))}}const C="fontSize",x="fontFamily",A="fontColor",E="fontBackgroundColor";function T(e,t){const i={model:{key:e,values:[]},view:{},upcastAlso:{}};for(const e of t)i.model.values.push(e.model),i.view[e.model]=e.view,e.upcastAlso&&(i.upcastAlso[e.model]=e.upcastAlso);return i}function S(e){return t=>t.getStyle(e).replace(/\s/g,"")}function P(e){return(t,{writer:i})=>i.createAttributeElement("span",{style:`${e}:${t}`},{priority:7})}class I extends n{constructor(e){super(e,x)}}function V(e){return e.map(R).filter((e=>void 0!==e))}function R(e){return"object"==typeof e?e:"default"===e?{title:"Default",model:void 0}:"string"==typeof e?function(e){const t=e.replace(/"|'/g,"").split(","),i=t[0],o=t.map(O).join(", ");return{title:i,model:o,view:{name:"span",styles:{"font-family":o},priority:7}}}(e):void 0}function O(e){return(e=e.trim()).indexOf(" ")>0&&(e=`'${e}'`),e}class B extends o.Sy{static get pluginName(){return"FontFamilyEditing"}constructor(e){super(e),e.config.define(x,{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:x}),e.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0});const t=V(e.config.get("fontFamily.options")).filter((e=>e.model)),i=T(x,t);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(i),e.commands.add(x,new I(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:x,view:(e,{writer:t})=>t.createAttributeElement("span",{style:"font-family:"+e},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:x,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:x,value:e=>e.getAttribute("face")}})}}class M extends o.Sy{static get pluginName(){return"FontFamilyUI"}init(){const e=this.editor,t=e.t,i=this._getLocalizedOptions(),o=e.commands.get(x),n=t("Font Family");e.ui.componentFactory.add(x,(t=>{const a=(0,r.t9)(t);return(0,r.Pm)(a,(()=>function(e,t){const i=new s.FE;for(const o of e){const e={type:"button",model:new r.Hn({commandName:x,commandParam:o.model,label:o.title,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(e=>e===o.model||!(!e||!o.model)&&e.split(",")[0].replace(/'/g,"").toLowerCase()===o.model.toLowerCase())),o.view&&"string"!=typeof o.view&&o.view.styles&&e.model.set("labelStyle",`font-family: ${o.view.styles["font-family"]}`),i.add(e)}return i}(i,o)),{role:"menu",ariaLabel:n}),a.buttonView.set({label:n,icon:'<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>',tooltip:!0}),a.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),a.bind("isEnabled").to(o),this.listenTo(a,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),a}))}_getLocalizedOptions(){const e=this.editor,t=e.t;return V(e.config.get(x).options).map((e=>("Default"===e.title&&(e.title=t("Default")),e)))}}class z extends o.Sy{static get requires(){return[B,M]}static get pluginName(){return"FontFamily"}}var N=i(3291);class D extends n{constructor(e){super(e,C)}}function L(e){return e.map((e=>function(e){if("number"==typeof e&&(e=String(e)),"object"==typeof e&&((t=e).title&&t.model&&t.view))return Z(e);var t;const i=function(e){return"string"==typeof e?F[e]:F[e.model]}(e);return i?Z(i):"default"===e?{model:void 0,title:"Default"}:function(e){let t;if("object"==typeof e){if(!e.model)throw new s.Bb("font-size-invalid-definition",null,e);t=parseFloat(e.model)}else t=parseFloat(e);return isNaN(t)}(e)?void 0:function(e){return"string"==typeof e&&(e={title:e,model:`${parseFloat(e)}px`}),e.view={name:"span",styles:{"font-size":e.model}},Z(e)}(e)}(e))).filter((e=>void 0!==e))}const F={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 Z(e){return e.view&&"string"!=typeof e.view&&!e.view.priority&&(e.view.priority=7),e}const H=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class W extends o.Sy{static get pluginName(){return"FontSizeEditing"}constructor(e){super(e),e.config.define(C,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:C}),e.model.schema.setAttributeProperties(C,{isFormatting:!0,copyOnEnter:!0});const t=e.config.get("fontSize.supportAllValues"),i=L(this.editor.config.get("fontSize.options")).filter((e=>e.model)),o=T(C,i);t?(this._prepareAnyValueConverters(o),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(o),e.commands.add(C,new D(e))}_prepareAnyValueConverters(e){const t=this.editor,i=e.model.values.filter((e=>!(0,N.G9)(String(e))&&!(0,N.zz)(String(e))));if(i.length)throw new s.Bb("font-size-invalid-use-of-named-presets",null,{presets:i});t.conversion.for("downcast").attributeToElement({model:C,view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{style:"font-size:"+e},{priority:7})}}),t.conversion.for("upcast").elementToAttribute({model:{key:C,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:C,value:e=>{const t=e.getAttribute("size"),i="-"===t[0]||"+"===t[0];let o=parseInt(t,10);i&&(o=3+o);const n=H.length-1,r=Math.min(Math.max(o,0),n);return H[r]}}})}}var j=i(5991),U={attributes:{"data-cke":!0}};U.setAttributes=p(),U.insert=m().bind(null,"head"),U.domAPI=u(),U.insertStyleElement=b(),c()(j.Z,U),j.Z&&j.Z.locals&&j.Z.locals;class $ extends o.Sy{static get pluginName(){return"FontSizeUI"}init(){const e=this.editor,t=e.t,i=this._getLocalizedOptions(),o=e.commands.get(C),n=t("Font Size");e.ui.componentFactory.add(C,(t=>{const a=(0,r.t9)(t);return(0,r.Pm)(a,(()=>function(e,t){const i=new s.FE;for(const o of e){const e={type:"button",model:new r.Hn({commandName:C,commandParam:o.model,label:o.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};o.view&&"string"!=typeof o.view&&(o.view.styles&&e.model.set("labelStyle",`font-size:${o.view.styles["font-size"]}`),o.view.classes&&e.model.set("class",`${e.model.class} ${o.view.classes}`)),e.model.bind("isOn").to(t,"value",(e=>e===o.model)),i.add(e)}return i}(i,o)),{role:"menu",ariaLabel:n}),a.buttonView.set({label:n,icon:'<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>',tooltip:!0}),a.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),a.bind("isEnabled").to(o),this.listenTo(a,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),a}))}_getLocalizedOptions(){const e=this.editor,t=e.t,i={Default:t("Default"),Tiny:t("Tiny"),Small:t("Small"),Big:t("Big"),Huge:t("Huge")};return L(e.config.get(C).options).map((e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e}))}}class q extends o.Sy{static get requires(){return[W,$]}static get pluginName(){return"FontSize"}normalizeSizeOptions(e){return L(e)}}class K extends n{constructor(e){super(e,A)}}class G extends o.Sy{static get pluginName(){return"FontColorEditing"}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.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:A,value:S("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:A,value:e=>e.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:A,view:P("color")}),e.commands.add(A,new K(e)),e.model.schema.extend("$text",{allowAttributes:A}),e.model.schema.setAttributeProperties(A,{isFormatting:!0,copyOnEnter:!0})}}class J extends o.Sy{constructor(e,{commandName:t,componentName:i,icon:o,dropdownLabel:n}){super(e),this.commandName=t,this.componentName=i,this.icon=o,this.dropdownLabel=n,this.columns=e.config.get(`${this.componentName}.columns`),this.colorTableView=void 0}init(){const e=this.editor,t=e.locale,i=t.t,o=e.commands.get(this.commandName),n=e.config.get(this.componentName),s=(0,r.S1)(n.colors),a=(0,r.k6)(t,s),l=n.documentColors,c=!1!==n.colorPicker;e.ui.componentFactory.add(this.componentName,(t=>{const s=(0,r.t9)(t);let d=!1;return this.colorTableView=function({dropdownView:e,colors:t,columns:i,removeButtonLabel:o,colorPickerLabel:n,documentColorsLabel:r,documentColorsCount:s,colorPickerConfig:a}){const l=e.locale,c=new _(l,{colors:t,columns:i,removeButtonLabel:o,colorPickerLabel:n,documentColorsLabel:r,documentColorsCount:s,colorPickerConfig:a});return e.colorTableView=c,e.panelView.children.add(c),c}({dropdownView:s,colors:a.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:i("Remove color"),colorPickerLabel:i("Color picker"),documentColorsLabel:0!==l?i("Document colors"):"",documentColorsCount:void 0===l?this.columns:l,colorPickerConfig:!!c&&(n.colorPicker||{})}),this.colorTableView.bind("selectedColor").to(o,"value"),s.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),s.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),s.bind("isEnabled").to(o),this.colorTableView.on("execute",((t,i)=>{s.isOpen&&e.execute(this.commandName,{value:i.value,batch:this._undoStepBatch}),"colorPicker"!==i.source&&e.editing.view.focus()})),this.colorTableView.on("showColorPicker",(()=>{this._undoStepBatch=e.model.createBatch()})),this.colorTableView.on("cancel",(()=>{this._undoStepBatch.operations.length&&(s.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()})),s.on("change:isOpen",((t,i,o)=>{d||(d=!0,s.colorTableView.appendUI()),o?(0!==l&&this.colorTableView.updateDocumentColors(e.model,this.componentName),this.colorTableView.updateSelectedColors()):this.colorTableView.showColorGrids()})),(0,r.Mh)(s,(()=>s.colorTableView.colorGridsPageView.staticColorsGrid.items.find((e=>e.isOn)))),s}))}}class Y extends J{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="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 Q extends o.Sy{static get requires(){return[G,Y]}static get pluginName(){return"FontColor"}}class X extends n{constructor(e){super(e,E)}}class ee extends o.Sy{static get pluginName(){return"FontBackgroundColorEditing"}constructor(e){super(e),e.config.define(E,{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(N.QR),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:E,value:S("background-color")}}),e.conversion.for("downcast").attributeToElement({model:E,view:P("background-color")}),e.commands.add(E,new X(e)),e.model.schema.extend("$text",{allowAttributes:E}),e.model.schema.setAttributeProperties(E,{isFormatting:!0,copyOnEnter:!0})}}class te extends J{constructor(e){const t=e.locale.t;super(e,{commandName:E,componentName:E,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 ie extends o.Sy{static get requires(){return[ee,te]}static get pluginName(){return"FontBackgroundColor"}}class oe extends o.Sy{static get requires(){return[z,q,Q,ie]}static get pluginName(){return"Font"}}},4507:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Heading:()=>A,HeadingButtonsUI:()=>T,HeadingEditing:()=>c,HeadingUI:()=>x,Title:()=>I});var o=i(6854),n=i(4690),r=i(6553);class s extends o.mY{constructor(e,t){super(e),this.modelElements=t}refresh(){const e=(0,r.Ps)(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,i=t.document,o=e.value;t.change((e=>{const n=Array.from(i.selection.getSelectedBlocks()).filter((e=>a(e,o,t.schema)));for(const t of n)t.is("element",o)||e.rename(t,o)}))}}function a(e,t,i){return i.checkChild(e.parent,t)&&!i.isObject(e)}const l="paragraph";class c extends o.Sy{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[n.Paragraph]}init(){const e=this.editor,t=e.config.get("heading.options"),i=[];for(const o of t)"paragraph"!==o.model&&(e.model.schema.register(o.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(o),i.push(o.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new s(e,i))}afterInit(){const e=this.editor,t=e.commands.get("enter"),i=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",((t,o)=>{const n=e.model.document.selection.getFirstPosition().parent;i.some((e=>n.is("element",e.model)))&&!n.is("element",l)&&0===n.childCount&&o.writer.rename(n,l)}))}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:r.tA.low+1})}}var d=i(7095);function u(e){const t=e.t,i={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=i[e.title];return t&&t!=e.title&&(e.title=t),e}))}var h=i(3379),m=i.n(h),g=i(9037),p=i.n(g),f=i(569),b=i.n(f),w=i(8575),k=i.n(w),_=i(9216),v=i.n(_),y=i(4249),C={attributes:{"data-cke":!0}};C.setAttributes=k(),C.insert=b().bind(null,"head"),C.domAPI=p(),C.insertStyleElement=v(),m()(y.Z,C),y.Z&&y.Z.locals&&y.Z.locals;class x extends o.Sy{static get pluginName(){return"HeadingUI"}init(){const e=this.editor,t=e.t,i=u(e),o=t("Choose heading"),n=t("Heading");e.ui.componentFactory.add("heading",(t=>{const s={},a=new r.FE,l=e.commands.get("heading"),c=e.commands.get("paragraph"),u=[l];for(const e of i){const t={type:"button",model:new d.Hn({label:e.title,class:e.class,role:"menuitemradio",withText:!0})};"paragraph"===e.model?(t.model.bind("isOn").to(c,"value"),t.model.set("commandName","paragraph"),u.push(c)):(t.model.bind("isOn").to(l,"value",(t=>t===e.model)),t.model.set({commandName:"heading",commandValue:e.model})),a.add(t),s[e.model]=e.title}const h=(0,d.t9)(t);return(0,d.Pm)(h,a,{ariaLabel:n,role:"menu"}),h.buttonView.set({ariaLabel:n,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:n}),h.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),h.bind("isEnabled").toMany(u,"isEnabled",((...e)=>e.some((e=>e)))),h.buttonView.bind("label").to(l,"value",c,"value",((e,t)=>{const i=e||t&&"paragraph";return"boolean"==typeof i?o:s[i]?s[i]:o})),this.listenTo(h,"execute",(t=>{const{commandName:i,commandValue:o}=t.source;e.execute(i,o?{value:o}:void 0),e.editing.view.focus()})),h}))}}class A extends o.Sy{static get requires(){return[c,x]}static get pluginName(){return"Heading"}}const E={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>'};class T extends o.Sy{init(){u(this.editor).filter((e=>"paragraph"!==e.model)).map((e=>this._createButton(e)))}_createButton(e){const t=this.editor;t.ui.componentFactory.add(e.model,(i=>{const o=new d.r5(i),n=t.commands.get("heading");return o.label=e.title,o.icon=e.icon||E[e.model],o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(n),o.bind("isOn").to(n,"value",(t=>t==e.model)),o.on("execute",(()=>{t.execute("heading",{value:e.model}),t.editing.view.focus()})),o}))}}var S=i(3291);const P=new Set(["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"]);class I extends o.Sy{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",R(e.editing.view)),e.data.mapper.on("modelToViewPosition",R(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,i)=>{i.consumable.consume(t.item,e.name)})))),e.data.upcastDispatcher.on("element:h1",V,{priority:"high"}),e.data.upcastDispatcher.on("element:h2",V,{priority:"high"}),e.data.upcastDispatcher.on("element:h3",V,{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,i=this._getTitleElement(t).getChild(0);return this.editor.data.stringify(i,e)}getBody(e={}){const t=this.editor,i=t.data,o=t.model,n=e.rootName?e.rootName:void 0,r=t.model.document.getRoot(n),s=t.editing.view,a=new S.qD(s.document),l=o.createRangeIn(r),c=a.createDocumentFragment(),d=o.createPositionAfter(r.getChild(0)),u=o.createRange(d,o.createPositionAt(r,"end")),h=new Map;for(const e of o.markers){const t=u.getIntersection(e.getRange());t&&h.set(e.name,t)}return i.mapper.clearBindings(),i.mapper.bindElements(r,c),i.downcastDispatcher.convert(l,h,a,e),a.remove(a.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(O(e))return e}_fixTitleContent(e){let t=!1;for(const i of this.editor.model.document.getRootNames()){const o=this._getTitleElement(i);if(!o||1===o.maxOffset)continue;const n=Array.from(o.getChildren());n.shift();for(const t of n)e.move(e.createRangeOn(t),o,"after"),e.rename(t,"paragraph");t=!0}return t}_fixTitleElement(e){let t=!1;const i=this.editor.model;for(const o of this.editor.model.document.getRootNames()){const n=i.document.getRoot(o),r=Array.from(n.getChildren()).filter(O),s=r[0],a=n.getChild(0);if(a.is("element","title"))r.length>1&&(M(r,e,i),t=!0);else if(s||P.has(a.name))P.has(a.name)?B(a,e,i):e.move(e.createRangeOn(s),n,0),M(r,e,i),t=!0;else{const i=e.createElement("title");e.insert(i,n),e.insertElement("title-content",i),t=!0}}return t}_fixBodyElement(e){let t=!1;for(const i of this.editor.model.document.getRootNames()){const o=this.editor.model.document.getRoot(i);if(o.childCount<2){const n=e.createElement("paragraph");e.insert(n,o,1),this._bodyPlaceholder.set(i,n),t=!0}}return t}_fixExtraParagraph(e){let t=!1;for(const i of this.editor.model.document.getRootNames()){const o=this.editor.model.document.getRoot(i),n=this._bodyPlaceholder.get(i);N(n,o)&&(this._bodyPlaceholder.delete(i),e.remove(n),t=!0)}return t}_attachPlaceholders(){const e=this.editor,t=e.t,i=e.editing.view,o=e.sourceElement,n=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)=>{(0,S.ID)({view:i,element:o.mapper.toViewElement(t.item),text:n,keepOnFocus:!0})}));const s=new Map;i.document.registerPostFixer((e=>{let t=!1;for(const o of i.document.roots){if(o.isEmpty)continue;const i=o.getChild(1),n=s.get(o.rootName);i!==n&&(n&&((0,S.$_)(e,n),e.removeAttribute("data-placeholder",n)),e.setAttribute("data-placeholder",r,i),s.set(o.rootName,i),t=!0),t=(0,S.Q7)(i,!0)&&2===o.childCount&&"p"===i.name?!!(0,S.NJ)(e,i)||t:!!(0,S.$_)(e,i)||t}return t}))}_attachTabPressHandling(){const e=this.editor,t=e.model;e.keystrokes.set("TAB",((e,i)=>{t.change((e=>{const o=t.document.selection,n=Array.from(o.getSelectedBlocks());if(1===n.length&&n[0].is("element","title-content")){const t=o.getFirstPosition().root.getChild(1);e.setSelection(t,0),i()}}))})),e.keystrokes.set("SHIFT + TAB",((i,o)=>{t.change((i=>{const n=t.document.selection;if(!n.isCollapsed)return;const s=(0,r.Ps)(n.getSelectedBlocks()),a=n.getFirstPosition(),l=e.model.document.getRoot(a.root.rootName),c=l.getChild(0);s===l.getChild(1)&&a.isAtStart&&(i.setSelection(c.getChild(0),0),o())}))}))}}function V(e,t,i){const o=t.modelCursor,n=t.viewItem;if(!o.isAtStart||!o.parent.is("element","$root"))return;if(!i.consumable.consume(n,{name:!0}))return;const r=i.writer,s=r.createElement("title"),a=r.createElement("title-content");r.append(a,s),r.insert(s,o),i.convertChildren(n,a),i.updateConversionResult(s,t)}function R(e){return(t,i)=>{const o=i.modelPosition.parent;if(!o.is("element","title"))return;const n=o.parent,r=i.mapper.toViewElement(n);i.viewPosition=e.createPositionAt(r,0),t.stop()}}function O(e){return e.is("element","title")}function B(e,t,i){const o=t.createElement("title");t.insert(o,e,"before"),t.insert(e,o,0),t.rename(e,"title-content"),i.schema.removeDisallowedAttributes([e],t)}function M(e,t,i){let o=!1;for(const n of e)0!==n.index&&(z(n,t,i),o=!0);return o}function z(e,t,i){const o=e.getChild(0);o.isEmpty?t.remove(e):(t.move(t.createRangeOn(o),e,"before"),t.rename(o,"paragraph"),t.remove(e),i.schema.removeDisallowedAttributes([o],t))}function N(e,t){return!(!e||!e.is("element","paragraph")||e.childCount||t.childCount<=2||t.getChild(t.childCount-1)!==e)}},128:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Highlight:()=>v,HighlightEditing:()=>r,HighlightUI:()=>k});var o=i(6854);class n extends o.mY{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,o=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,n=t.getLastMatchingPosition(i,{direction:"backward"}),r=t.getLastMatchingPosition(i),s=e.createRange(n,r);o&&this.value!==o?(t.isEqual(r)||e.setAttribute("highlight",o,s),e.setSelectionAttribute("highlight",o)):(t.isEqual(r)||e.removeAttribute("highlight",s),e.removeSelectionAttribute("highlight"))}else o&&e.setSelectionAttribute("highlight",o)}else{const n=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of n)o?e.setAttribute("highlight",o,t):e.removeAttribute("highlight",t)}}))}}class r extends o.Sy{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 t=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}(t)),e.commands.add("highlight",new n(e))}}var s=i(7095),a=i(3379),l=i.n(a),c=i(9037),d=i.n(c),u=i(569),h=i.n(u),m=i(8575),g=i.n(m),p=i(9216),f=i.n(p),b=i(7263),w={attributes:{"data-cke":!0}};w.setAttributes=g(),w.insert=h().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=f(),l()(b.Z,w),b.Z&&b.Z.locals&&b.Z.locals;class k extends o.Sy{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)}_addRemoveHighlightButton(){const e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),o.icons.eraser,null,(e=>{e.bind("isEnabled").to(t,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,_(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,o,n){const r=this.editor;r.ui.componentFactory.add(e,(e=>{const a=new s.r5(e),l=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:l,icon:i,tooltip:!0}),a.on("execute",(()=>{r.execute("highlight",{value:o}),r.editing.view.focus()})),n(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,o=t.ui.componentFactory,n=e[0],r=e.reduce(((e,t)=>(e[t.model]=t,e)),{});o.add("highlight",(a=>{const l=t.commands.get("highlight"),c=(0,s.t9)(a,s.Rm),d=c.buttonView;function u(e,t){const i=e&&e!==d.lastExecuted?e:d.lastExecuted;return r[i][t]}return d.set({label:i("Highlight"),tooltip:!0,lastExecuted:n.model,commandValue:n.model,isToggleable:!0}),d.bind("icon").to(l,"value",(e=>_(u(e,"type")))),d.bind("color").to(l,"value",(e=>u(e,"color"))),d.bind("commandValue").to(l,"value",(e=>u(e,"model"))),d.bind("isOn").to(l,"value",(e=>!!e)),d.delegate("execute").to(c),c.bind("isEnabled").to(l,"isEnabled"),(0,s.up)(c,(()=>{const t=e.map((e=>{const t=o.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{c.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new s.$y),t.push(o.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){e.buttonView.actionView.iconView.bind("fillColor").to(e.buttonView,"color")}(c),d.on("execute",(()=>{t.execute("highlight",{value:d.commandValue})})),this.listenTo(c,"execute",(()=>{t.editing.view.focus()})),c}))}}function _(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 v extends o.Sy{static get requires(){return[r,k]}static get pluginName(){return"Highlight"}}},8428:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HorizontalLine:()=>v,HorizontalLineEditing:()=>w,HorizontalLineUI:()=>_});var o=i(6854),n=i(5549);class r extends o.mY{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection;this.isEnabled=function(e,t,i){const o=function(e,t){const i=(0,n.KT)(e,t).start.parent;return i.isEmpty&&!i.is("element","$root")?i.parent:i}(e,i);return t.checkChild(o,"horizontalLine")}(i,t,e)}execute(){const e=this.editor.model;e.change((t=>{const i=t.createElement("horizontalLine");e.insertObject(i,null,null,{setSelection:"after"})}))}}var s=i(3379),a=i.n(s),l=i(9037),c=i.n(l),d=i(569),u=i.n(d),h=i(8575),m=i.n(h),g=i(9216),p=i.n(g),f=i(9893),b={attributes:{"data-cke":!0}};b.setAttributes=m(),b.insert=u().bind(null,"head"),b.domAPI=c(),b.insertStyleElement=p(),a()(f.Z,b),f.Z&&f.Z.locals&&f.Z.locals;class w extends o.Sy{static get pluginName(){return"HorizontalLineEditing"}init(){const e=this.editor,t=e.model.schema,i=e.t,o=e.conversion;t.register("horizontalLine",{inheritAllFrom:"$blockObject"}),o.for("dataDowncast").elementToElement({model:"horizontalLine",view:(e,{writer:t})=>t.createEmptyElement("hr")}),o.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(e,{writer:t})=>{const o=i("Horizontal line"),r=t.createContainerElement("div",null,t.createEmptyElement("hr"));return t.addClass("ck-horizontal-line",r),t.setCustomProperty("hr",!0,r),function(e,t,i){return t.setCustomProperty("horizontalLine",!0,e),(0,n.XC)(e,t,{label:i})}(r,t,o)}}),o.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),e.commands.add("horizontalLine",new r(e))}}var k=i(7095);class _ extends o.Sy{static get pluginName(){return"HorizontalLineUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("horizontalLine",(i=>{const o=e.commands.get("horizontalLine"),n=new k.r5(i);return n.set({label:t("Horizontal line"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 9h16v2H2z"/></svg>',tooltip:!0}),n.bind("isEnabled").to(o,"isEnabled"),this.listenTo(n,"execute",(()=>{e.execute("horizontalLine"),e.editing.view.focus()})),n}))}}class v extends o.Sy{static get requires(){return[w,_,n.$L]}static get pluginName(){return"HorizontalLine"}}},4195:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HtmlEmbed:()=>x,HtmlEmbedEditing:()=>v,HtmlEmbedUI:()=>C});var o=i(6854),n=i(5549),r=i(7095),s=i(6553);class a extends o.mY{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection,o=l(i);this.isEnabled=function(e,t,i){const o=function(e,t){const i=(0,n.KT)(e,t).start.parent;return i.isEmpty&&!i.is("rootElement")?i.parent:i}(e,i);return t.checkChild(o,"rawHtml")}(i,t,e),this.value=o?o.getAttribute("value")||"":null}execute(e){const t=this.editor.model,i=t.document.selection;t.change((o=>{let n;null!==this.value?n=l(i):(n=o.createElement("rawHtml"),t.insertObject(n,null,null,{setSelection:"on"})),o.setAttribute("value",e,n)}))}}function l(e){const t=e.getSelectedElement();return t&&t.is("element","rawHtml")?t:null}var c=i(3379),d=i.n(c),u=i(9037),h=i.n(u),m=i(569),g=i.n(m),p=i(8575),f=i.n(p),b=i(9216),w=i.n(b),k=i(7319),_={attributes:{"data-cke":!0}};_.setAttributes=f(),_.insert=g().bind(null,"head"),_.domAPI=h(),_.insertStyleElement=w(),d()(k.Z,_),k.Z&&k.Z.locals&&k.Z.locals;class v extends o.Sy{static get pluginName(){return"HtmlEmbedEditing"}constructor(e){super(e),this._widgetButtonViewReferences=new Set,e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:e=>((0,s.KE)("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 a(e)),this._setupConversion()}_setupConversion(){const e=this.editor,t=e.t,i=e.editing.view,o=this._widgetButtonViewReferences,r=e.config.get("htmlEmbed");function a({editor:e,domElement:i,state:n,props:r}){i.textContent="";const a=i.ownerDocument;let c;if(n.isEditable){const e={isDisabled:!1,placeholder:r.textareaPlaceholder};c=l({domDocument:a,state:n,props:e}),i.append(c)}else if(n.showPreviews){const o={sanitizeHtml:r.sanitizeHtml};i.append(function({editor:e,domDocument:i,state:o,props:n}){const r=n.sanitizeHtml(o.getRawHtmlValue()),a=o.getRawHtmlValue().length>0?t("No preview available"):t("Empty snippet content"),l=(0,s.az)(i,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},a),c=(0,s.az)(i,"div",{class:"raw-html-embed__preview-content",dir:e.locale.contentLanguageDirection}),d=i.createRange().createContextualFragment(r.html);c.appendChild(d);return(0,s.az)(i,"div",{class:"raw-html-embed__preview"},[l,c])}({domDocument:a,state:n,props:o,editor:e}))}else{const e={isDisabled:!0,placeholder:r.textareaPlaceholder};i.append(l({domDocument:a,state:n,props:e}))}const d={onEditClick:r.onEditClick,onSaveClick:()=>{r.onSaveClick(c.value)},onCancelClick:r.onCancelClick};i.prepend(function({editor:e,domDocument:t,state:i,props:n}){const r=(0,s.az)(t,"div",{class:"raw-html-embed__buttons-wrapper"});if(i.isEditable){const t=y(e,"save",n.onSaveClick),i=y(e,"cancel",n.onCancelClick);r.append(t.element,i.element),o.add(t).add(i)}else{const t=y(e,"edit",n.onEditClick);r.append(t.element),o.add(t)}return r}({editor:e,domDocument:a,state:n,props:d}))}function l({domDocument:e,state:t,props:i}){const o=(0,s.az)(e,"textarea",{placeholder:i.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return o.disabled=i.isDisabled,o.value=t.getRawHtmlValue(),o}this.editor.editing.view.on("render",(()=>{for(const e of o){if(e.element&&e.element.isConnected)return;e.destroy(),o.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:(o,{writer:s})=>{let l,c,d;const u=s.createRawElement("div",{class:"raw-html-embed__content-wrapper"},(function(t){l=t,a({editor:e,domElement:t,state:c,props:d}),l.addEventListener("mousedown",(()=>{if(c.isEditable){const t=e.model;t.document.selection.getSelectedElement()!==o&&t.change((e=>e.setSelection(o,"on")))}}),!0)})),h={makeEditable(){c=Object.assign({},c,{isEditable:!0}),a({domElement:l,editor:e,state:c,props:d}),i.change((e=>{e.setAttribute("data-cke-ignore-events","true",u)})),l.querySelector("textarea").focus()},save(t){t!==c.getRawHtmlValue()?(e.execute("htmlEmbed",t),e.editing.view.focus()):this.cancel()},cancel(){c=Object.assign({},c,{isEditable:!1}),a({domElement:l,editor:e,state:c,props:d}),e.editing.view.focus(),i.change((e=>{e.removeAttribute("data-cke-ignore-events",u)}))}};c={showPreviews:r.showPreviews,isEditable:!1,getRawHtmlValue:()=>o.getAttribute("value")||""},d={sanitizeHtml:r.sanitizeHtml,textareaPlaceholder:t("Paste raw HTML here..."),onEditClick(){h.makeEditable()},onSaveClick(e){h.save(e)},onCancelClick(){h.cancel()}};const m=s.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":t("HTML snippet"),dir:e.locale.uiLanguageDirection},u);return s.setCustomProperty("rawHtmlApi",h,m),s.setCustomProperty("rawHtml",!0,m),(0,n.XC)(m,s,{label:t("HTML snippet"),hasSelectionHandle:!0})}})}}function y(e,t,i){const{t:n}=e.locale,s=new r.r5(e.locale),a=e.commands.get("htmlEmbed");return s.set({class:`raw-html-embed__${t}-button`,icon:o.icons.pencil,tooltip:!0,tooltipPosition:"rtl"===e.locale.uiLanguageDirection?"e":"w"}),s.render(),"edit"===t?(s.set({icon:o.icons.pencil,label:n("Edit source")}),s.bind("isEnabled").to(a)):"save"===t?(s.set({icon:o.icons.check,label:n("Save changes")}),s.bind("isEnabled").to(a)):s.set({icon:o.icons.cancel,label:n("Cancel")}),s.on("execute",i),s}class C extends o.Sy{static get pluginName(){return"HtmlEmbedUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("htmlEmbed",(i=>{const o=e.commands.get("htmlEmbed"),n=new r.r5(i);return n.set({label:t("Insert HTML"),icon:'<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>',tooltip:!0}),n.bind("isEnabled").to(o,"isEnabled"),this.listenTo(n,"execute",(()=>{e.execute("htmlEmbed"),e.editing.view.focus(),e.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()})),n}))}}class x extends o.Sy{static get requires(){return[v,C,n.$L]}static get pluginName(){return"HtmlEmbed"}}},9211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AutoImage:()=>f,Image:()=>G,ImageBlock:()=>$,ImageBlockEditing:()=>W,ImageCaption:()=>ie,ImageCaptionEditing:()=>Q,ImageCaptionUI:()=>X,ImageCaptionUtils:()=>J,ImageEditing:()=>Z,ImageInline:()=>K,ImageInsert:()=>Re,ImageInsertUI:()=>Ie,ImageInsertViaUrl:()=>Ve,ImageResize:()=>We,ImageResizeButtons:()=>ze,ImageResizeEditing:()=>Be,ImageResizeHandles:()=>Fe,ImageStyle:()=>mt,ImageStyleEditing:()=>nt,ImageStyleUI:()=>ct,ImageTextAlternative:()=>M,ImageTextAlternativeEditing:()=>w,ImageTextAlternativeUI:()=>B,ImageToolbar:()=>gt,ImageUpload:()=>ye,ImageUploadEditing:()=>_e,ImageUploadProgress:()=>me,ImageUploadUI:()=>se,ImageUtils:()=>m,PictureEditing:()=>pt});var o=i(6854),n=i(3837),r=i(3291),s=i(1903),a=i(5187),l=i(6553),c=i(5549);function d(e){return e.createContainerElement("figure",{class:"image"},[e.createEmptyElement("img"),e.createSlot("children")])}function u(e,t){const i=e.plugins.get("ImageUtils"),o=e.plugins.has("ImageInlineEditing")&&e.plugins.has("ImageBlockEditing");return e=>i.isInlineImageView(e)?o&&("block"==e.getStyle("display")||e.findAncestor(i.isBlockImageView)?"imageBlock":"imageInline")!==t?null:n(e):null;function n(e){const t={name:!0};return e.hasAttribute("src")&&(t.attributes=["src"]),t}}function h(e,t){const i=(0,l.Ps)(t.getSelectedBlocks());return!i||e.isObject(i)||i.isEmpty&&"listItem"!=i.name?"imageBlock":"imageInline"}class m extends o.Sy{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){const o=this.editor,n=o.model,r=n.document.selection;i=g(o,t||r,i),e={...Object.fromEntries(r.getAttributes()),...e};for(const t in e)n.schema.checkAttribute(i,t)||delete e[t];return n.change((o=>{const r=o.createElement(i,e);return n.insertObject(r,t,null,{setSelection:"on",findOptimalPosition:t||"imageInline"==i?void 0:"auto"}),r.parent?r:null}))}getClosestSelectedImageWidget(e){const t=e.getFirstPosition();if(!t)return null;const i=e.getSelectedElement();if(i&&this.isImageWidget(i))return i;let o=t.parent;for(;o;){if(o.is("element")&&this.isImageWidget(o))return o;o=o.parent}return null}getClosestSelectedImageElement(e){const t=e.getSelectedElement();return this.isImage(t)?t:e.getFirstPosition().findAncestor("imageBlock")}isImageAllowed(){const e=this.editor.model.document.selection;return function(e,t){if("imageBlock"==g(e,t,null)){const i=function(e,t){const i=(0,c.KT)(e,t).start.parent;return i.isEmpty&&!i.is("element","$root")?i.parent:i}(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){return t.setCustomProperty("image",!0,e),(0,c.XC)(e,t,{label:()=>{const t=this.findViewImgElement(e).getAttribute("alt");return t?`${t} ${i}`:i}})}isImageWidget(e){return!!e.getCustomProperty("image")&&(0,c.Qd)(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}}function g(e,t,i){const o=e.model.schema,n=e.config.get("image.insert.type");return e.plugins.has("ImageBlockEditing")?e.plugins.has("ImageInlineEditing")?i||("inline"===n?"imageInline":"block"===n?"imageBlock":t.is("selection")?h(o,t):o.checkChild(t,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}const p=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 f extends o.Sy{static get requires(){return[n.TU,m,s.WP,a.HG]}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=r.jP.fromPosition(e.start);i.stickiness="toPrevious";const o=r.jP.fromPosition(e.end);o.stickiness="toNext",t.once("change:data",(()=>{this._embedImageBetweenPositions(i,o),i.detach(),o.detach()}),{priority:"high"})})),e.commands.get("undo").on("execute",(()=>{this._timeoutId&&(l.CO.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedImageBetweenPositions(e,t){const i=this.editor,o=new r.iE(e,t),n=o.getWalker({ignoreElementEnd:!0}),s=Object.fromEntries(i.model.document.selection.getAttributes()),a=this.editor.plugins.get("ImageUtils");let l="";for(const e of n)e.item.is("$textProxy")&&(l+=e.item.data);l=l.trim(),l.match(p)?(this._positionToInsert=r.jP.fromPosition(e),this._timeoutId=setTimeout((()=>{i.commands.get("insertImage").isEnabled?(i.model.change((e=>{let t;this._timeoutId=null,e.remove(o),o.detach(),"$graveyard"!==this._positionToInsert.root.rootName&&(t=this._positionToInsert.toPosition()),a.insertImage({...s,src:l},t),this._positionToInsert.detach(),this._positionToInsert=null})),i.plugins.get("Delete").requestUndoOnBackspace()):o.detach()}),100)):o.detach()}}class b extends o.mY{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"),o=t.model,n=i.getClosestSelectedImageElement(o.document.selection);o.change((t=>{t.setAttribute("alt",e.newValue,n)}))}}class w extends o.Sy{static get requires(){return[m]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new b(this.editor))}}var k=i(7095),_=i(3379),v=i.n(_),y=i(9037),C=i.n(y),x=i(569),A=i.n(x),E=i(8575),T=i.n(E),S=i(9216),P=i.n(S),I=i(5269),V={attributes:{"data-cke":!0}};V.setAttributes=T(),V.insert=A().bind(null,"head"),V.domAPI=C(),V.insertStyleElement=P(),v()(I.Z,V),I.Z&&I.Z.locals&&I.Z.locals,i(2151);class R extends k.G7{constructor(e){super(e);const t=this.locale.t;this.focusTracker=new l.Rh,this.keystrokes=new l.VD,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(t("Save"),o.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(t("Cancel"),o.icons.cancel,"ck-button-cancel","cancel"),this._focusables=new k.vX,this._focusCycler=new k.I0({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,k.GI)({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,o){const n=new k.r5(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n.extendTemplate({attributes:{class:i}}),o&&n.delegate("execute").to(this,o),n}_createLabeledInputView(){const e=this.locale.t,t=new k.KP(this.locale,k.R);return t.label=e("Text alternative"),t}}function O(e){const t=e.editing.view,i=k.no.defaultPositions,o=e.plugins.get("ImageUtils");return{target:t.domConverter.mapViewToDom(o.getClosestSelectedImageWidget(t.document.selection)),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast,i.viewportStickyNorth]}}class B extends o.Sy{static get requires(){return[k.WB]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("imageTextAlternative",(i=>{const n=e.commands.get("imageTextAlternative"),r=new k.r5(i);return r.set({label:t("Change image text alternative"),icon:o.icons.lowVision,tooltip:!0}),r.bind("isEnabled").to(n,"isEnabled"),r.bind("isOn").to(n,"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,k.RX)(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=O(e);t.updatePosition(i)}}(e):this._hideForm(!0)})),(0,k.eC)({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:O(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 M extends o.Sy{static get requires(){return[w,B]}static get pluginName(){return"ImageTextAlternative"}}function z(e,t){const i=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const n=o.writer,r=o.mapper.toViewElement(i.item),s=e.findViewImgElement(r);if(null===i.attributeNewValue){const e=i.attributeOldValue;e&&e.data&&(n.removeAttribute("srcset",s),n.removeAttribute("sizes",s),e.width&&n.removeAttribute("width",s))}else{const e=i.attributeNewValue;e&&e.data&&(n.setAttribute("srcset",e.data,s),n.setAttribute("sizes","100vw",s),e.width&&n.setAttribute("width",e.width,s))}};return e=>{e.on(`attribute:srcset:${t}`,i)}}function N(e,t,i){const o=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const n=o.writer,r=o.mapper.toViewElement(i.item),s=e.findViewImgElement(r);n.setAttribute(i.attributeKey,i.attributeNewValue||"",s)};return e=>{e.on(`attribute:${i}:${t}`,o)}}class D extends r.Qj{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 L extends o.mY{constructor(e){super(e);const t=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||"block"===t&&(0,l.KE)("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||"inline"===t&&(0,l.KE)("image-inline-plugin-required")}refresh(){const e=this.editor.plugins.get("ImageUtils");this.isEnabled=e.isImageAllowed()}execute(e){const t=(0,l.qo)(e.source),i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),n=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if("string"==typeof e&&(e={src:e}),t&&r&&o.isImage(r)){const t=this.editor.model.createPositionAfter(r);o.insertImage({...e,...n},t)}else o.insertImage({...e,...n})}))}}class F extends o.mY{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();this.editor.model.change((i=>{i.setAttribute("src",e.source,t),i.removeAttribute("srcset",t),i.removeAttribute("sizes",t)}))}}class Z extends o.Sy{static get requires(){return[m]}static get pluginName(){return"ImageEditing"}init(){const e=this.editor,t=e.conversion;e.editing.view.addObserver(D),t.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:{key:"srcset",value:e=>{const t={data:e.getAttribute("srcset")};return e.hasAttribute("width")&&(t.width=e.getAttribute("width")),t}}});const i=new L(e),o=new F(e);e.commands.add("insertImage",i),e.commands.add("replaceImageSource",o),e.commands.add("imageInsert",i)}}class H extends o.mY{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(){const e=this.editor,t=this.editor.model,i=e.plugins.get("ImageUtils"),o=i.getClosestSelectedImageElement(t.document.selection),n=Object.fromEntries(o.getAttributes());return n.src||n.uploadId?t.change((e=>{const r=Array.from(t.markers).filter((e=>e.getRange().containsItem(o))),s=i.insertImage(n,t.createSelection(o,"on"),this._modelElementName);if(!s)return null;const a=e.createRangeOn(s);for(const t of r){const i=t.getRange(),o="$graveyard"!=i.root.rootName?i.getJoined(a,!0):a;e.updateMarker(t,{range:o})}return{oldElement:o,newElement:s}})):null}}class W extends o.Sy{static get requires(){return[Z,m,n._l]}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 H(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,o=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:t})=>d(t)}),i.for("editingDowncast").elementToStructure({model:"imageBlock",view:(e,{writer:i})=>o.toImageWidget(d(i),i,t("image widget"))}),i.for("downcast").add(N(o,"imageBlock","src")).add(N(o,"imageBlock","alt")).add(z(o,"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,o)=>{if(!o.consumable.test(i.viewItem,{name:!0,classes:"image"}))return;const n=e.findViewImgElement(i.viewItem);if(!n||!o.consumable.test(n,{name:!0}))return;o.consumable.consume(i.viewItem,{name:!0,classes:"image"});const r=o.convertItem(n,i.modelCursor),s=(0,l.Ps)(r.modelRange.getItems());s?(o.convertChildren(i.viewItem,s),o.updateConversionResult(s,i)):o.consumable.revert(i.viewItem,{name:!0,classes:"image"})};return e=>{e.on("element:figure",t)}}(o))}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,o=e.plugins.get("ImageUtils"),n=e.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",((n,s)=>{const a=Array.from(s.content.getChildren());let l;if(!a.every(o.isInlineImageView))return;l=s.targetRanges?e.editing.mapper.toModelRange(s.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageBlock"===h(t.schema,c)){const e=new r.yj(i.document),t=a.map((t=>e.createElement("figure",{class:"image"},t)));s.content=e.createDocumentFragment(t)}}))}}var j=i(2430),U={attributes:{"data-cke":!0}};U.setAttributes=T(),U.insert=A().bind(null,"head"),U.domAPI=C(),U.insertStyleElement=P(),v()(j.Z,U),j.Z&&j.Z.locals&&j.Z.locals;class $ extends o.Sy{static get requires(){return[W,c.$L,M]}static get pluginName(){return"ImageBlock"}}class q extends o.Sy{static get requires(){return[Z,m,n._l]}static get pluginName(){return"ImageInlineEditing"}init(){const e=this.editor,t=e.model.schema;t.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),t.addChildCheck(((e,t)=>{if(e.endsWith("caption")&&"imageInline"===t.name)return!1})),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new H(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,o=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})=>o.toImageWidget(function(e){return e.createContainerElement("span",{class:"image-inline"},e.createEmptyElement("img"))}(i),i,t("image widget"))}),i.for("downcast").add(N(o,"imageInline","src")).add(N(o,"imageInline","alt")).add(z(o,"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,o=e.plugins.get("ImageUtils"),n=e.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",((n,s)=>{const a=Array.from(s.content.getChildren());let l;if(!a.every(o.isBlockImageView))return;l=s.targetRanges?e.editing.mapper.toModelRange(s.targetRanges[0]):t.document.selection.getFirstRange();const c=t.createSelection(l);if("imageInline"===h(t.schema,c)){const e=new r.yj(i.document),t=a.map((t=>1===t.childCount?(Array.from(t.getAttributes()).forEach((i=>e.setAttribute(...i,o.findViewImgElement(t)))),t.getChild(0)):t));s.content=e.createDocumentFragment(t)}}))}}class K extends o.Sy{static get requires(){return[q,c.$L,M]}static get pluginName(){return"ImageInline"}}class G extends o.Sy{static get requires(){return[$,K]}static get pluginName(){return"Image"}}class J extends o.Sy{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[m]}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 Y extends o.mY{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 o=e.model.document.selection,n=o.getSelectedElement();if(!n){const e=t.getCaptionFromModelSelection(o);return this.isEnabled=!!e,void(this.value=!!e)}this.isEnabled=i.isImage(n),this.isEnabled?this.value=!!t.getCaptionFromImageModelElement(n):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,o=this.editor.plugins.get("ImageCaptionEditing"),n=this.editor.plugins.get("ImageUtils");let r=i.getSelectedElement();const s=o._getSavedCaption(r);n.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=i.getSelectedElement());const a=s||e.createElement("caption");e.append(a,r),t&&e.setSelection(a,"in")}_hideImageCaption(e){const t=this.editor,i=t.model.document.selection,o=t.plugins.get("ImageCaptionEditing"),n=t.plugins.get("ImageCaptionUtils");let r,s=i.getSelectedElement();s?r=n.getCaptionFromImageModelElement(s):(r=n.getCaptionFromModelSelection(i),s=r.parent),o._saveCaption(s,r),e.setSelection(s,"on"),e.remove(r)}}class Q extends o.Sy{static get requires(){return[m,J]}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 Y(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils"),o=e.plugins.get("ImageCaptionUtils"),n=e.t;e.conversion.for("upcast").elementToElement({view:e=>o.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:o})=>{if(!i.isBlockImage(e.parent))return null;const s=o.createEditableElement("figcaption");o.setCustomProperty("imageCaption",!0,s),(0,r.ID)({view:t,element:s,text:n("Enter image caption"),keepOnFocus:!0});const a=e.parent.getAttribute("alt"),l=a?n("Caption for image: %0",[a]):n("Caption for the image");return(0,c.sC)(s,o,{label:l})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),o=e.commands.get("imageTypeInline"),n=e.commands.get("imageTypeBlock"),r=e=>{if(!e.return)return;const{oldElement:o,newElement:n}=e.return;if(!o)return;if(t.isBlockImage(o)){const e=i.getCaptionFromImageModelElement(o);if(e)return void this._saveCaption(n,e)}const r=this._getSavedCaption(o);r&&this._saveCaption(n,r)};o&&this.listenTo(o,"execute",r,{priority:"low"}),n&&this.listenTo(n,"execute",r,{priority:"low"})}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?r.W_.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"),o=e.plugins.get("ImageCaptionUtils");t.document.on("change:data",(()=>{const n=t.document.differ.getChanges();for(const t of n){if("alt"!==t.attributeKey)continue;const n=t.range.start.nodeAfter;if(i.isBlockImage(n)){const t=o.getCaptionFromImageModelElement(n);if(!t)return;e.editing.reconvertItem(t)}}}))}}class X extends o.Sy{static get requires(){return[J]}static get pluginName(){return"ImageCaptionUI"}init(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageCaptionUtils"),n=e.t;e.ui.componentFactory.add("toggleImageCaption",(r=>{const s=e.commands.get("toggleImageCaption"),a=new k.r5(r);return a.set({icon:o.icons.caption,tooltip:!0,isToggleable:!0}),a.bind("isOn","isEnabled").to(s,"value","isEnabled"),a.bind("label").to(s,"value",(e=>n(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(a,"execute",(()=>{e.execute("toggleImageCaption",{focusCaptionOnShow:!0});const o=i.getCaptionFromModelSelection(e.model.document.selection);if(o){const i=e.editing.mapper.toViewElement(o);t.scrollToTheSelection(),t.change((e=>{e.addClass("image__caption_highlighted",i)}))}e.editing.view.focus()})),a}))}}var ee=i(2423),te={attributes:{"data-cke":!0}};te.setAttributes=T(),te.insert=A().bind(null,"head"),te.domAPI=C(),te.insertStyleElement=P(),v()(ee.Z,te),ee.Z&&ee.Z.locals&&ee.Z.locals;class ie extends o.Sy{static get requires(){return[Q,X]}static get pluginName(){return"ImageCaption"}}var oe=i(1070);function ne(e){const t=e.map((e=>e.replace("+","\\+")));return new RegExp(`^image\\/(${t.join("|")})$`)}function re(e,t){return e.type?e.type:t.match(/data:(image\/\w+);base64/)?t.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class se extends o.Sy{static get pluginName(){return"ImageUploadUI"}init(){const e=this.editor,t=e.t,i=i=>{const n=new oe.FileDialogButtonView(i),r=e.commands.get("uploadImage"),s=e.config.get("image.upload.types"),a=ne(s);return n.set({acceptedType:s.map((e=>`image/${e}`)).join(","),allowMultipleFiles:!0}),n.buttonView.set({label:t("Insert image"),icon:o.icons.image,tooltip:!0}),n.buttonView.bind("isEnabled").to(r),n.on("done",((t,i)=>{const o=Array.from(i).filter((e=>a.test(e.type)));o.length&&(e.execute("uploadImage",{file:o}),e.editing.view.focus())})),n};e.ui.componentFactory.add("uploadImage",i),e.ui.componentFactory.add("imageUpload",i)}}var ae=i(2926),le={attributes:{"data-cke":!0}};le.setAttributes=T(),le.insert=A().bind(null,"head"),le.domAPI=C(),le.insertStyleElement=P(),v()(ae.Z,le),ae.Z&&ae.Z.locals&&ae.Z.locals;var ce=i(1547),de={attributes:{"data-cke":!0}};de.setAttributes=T(),de.insert=A().bind(null,"head"),de.domAPI=C(),de.insertStyleElement=P(),v()(ce.Z,de),ce.Z&&ce.Z.locals&&ce.Z.locals;var ue=i(6618),he={attributes:{"data-cke":!0}};he.setAttributes=T(),he.insert=A().bind(null,"head"),he.domAPI=C(),he.insertStyleElement=P(),v()(ue.Z,he),ue.Z&&ue.Z.locals&&ue.Z.locals;class me extends o.Sy{static get pluginName(){return"ImageUploadProgress"}constructor(e){super(e),this.uploadStatusChange=(e,t,i)=>{const o=this.editor,n=t.item,r=n.getAttribute("uploadId");if(!i.consumable.consume(t.item,e.name))return;const s=o.plugins.get("ImageUtils"),a=o.plugins.get(oe.FileRepository),l=r?t.attributeNewValue:null,c=this.placeholder,d=o.editing.mapper.toViewElement(n),u=i.writer;if("reading"==l)return ge(d,u),void pe(s,c,d,u);if("uploading"==l){const e=a.loaders.get(r);return ge(d,u),void(e?(fe(d,u),function(e,t,i,o){const n=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"),n),i.on("change:uploadedPercent",((e,t,i)=>{o.change((e=>{e.setStyle("width",i+"%",n)}))}))}(d,u,e,o.editing.view),function(e,t,i,o){if(o.data){const n=e.findViewImgElement(t);i.setAttribute("src",o.data,n)}}(s,d,u,e)):pe(s,c,d,u))}"complete"==l&&a.loaders.get(r)&&function(e,t,i){const o=t.createUIElement("div",{class:"ck-image-upload-complete-icon"});t.insert(t.createPositionAt(e,"end"),o),setTimeout((()=>{i.change((e=>e.remove(e.createRangeOn(o))))}),3e3)}(d,u,o.editing.view),function(e,t){we(e,t,"progressBar")}(d,u),fe(d,u),function(e,t){t.removeClass("ck-appear",e)}(d,u)},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 ge(e,t){e.hasClass("ck-appear")||t.addClass("ck-appear",e)}function pe(e,t,i,o){i.hasClass("ck-image-upload-placeholder")||o.addClass("ck-image-upload-placeholder",i);const n=e.findViewImgElement(i);n.getAttribute("src")!==t&&o.setAttribute("src",t,n),be(i,"placeholder")||o.insert(o.createPositionAfter(n),function(e){const t=e.createUIElement("div",{class:"ck-upload-placeholder-loader"});return e.setCustomProperty("placeholder",!0,t),t}(o))}function fe(e,t){e.hasClass("ck-image-upload-placeholder")&&t.removeClass("ck-image-upload-placeholder",e),we(e,t,"placeholder")}function be(e,t){for(const i of e.getChildren())if(i.getCustomProperty(t))return i}function we(e,t,i){const o=be(e,i);o&&t.remove(t.createRangeOn(o))}class ke extends o.mY{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,l.qo)(e.file),i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),n=Object.fromEntries(i.getAttributes());t.forEach(((e,t)=>{const r=i.getSelectedElement();if(t&&r&&o.isImage(r)){const t=this.editor.model.createPositionAfter(r);this._uploadImage(e,n,t)}else this._uploadImage(e,n)}))}_uploadImage(e,t,i){const o=this.editor,n=o.plugins.get(oe.FileRepository).createLoader(e),r=o.plugins.get("ImageUtils");n&&r.insertImage({...t,uploadId:n.id},i)}}class _e extends o.Sy{static get requires(){return[oe.FileRepository,k.P_,n._l,m]}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,o=e.plugins.get(oe.FileRepository),n=e.plugins.get("ImageUtils"),s=e.plugins.get("ClipboardPipeline"),a=ne(e.config.get("image.upload.types")),c=new ke(e);e.commands.add("uploadImage",c),e.commands.add("imageUpload",c),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",((t,i)=>{if(o=i.dataTransfer,Array.from(o.types).includes("text/html")&&""!==o.getData("text/html"))return;var o;const n=Array.from(i.dataTransfer.files).filter((e=>!!e&&a.test(e.type)));n.length&&(t.stop(),e.model.change((t=>{i.targetRanges&&t.setSelection(i.targetRanges.map((t=>e.editing.mapper.toModelRange(t)))),e.model.enqueueChange((()=>{e.execute("uploadImage",{file:n})}))})))})),this.listenTo(s,"inputTransformation",((t,i)=>{const s=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))}(n,e)&&!e.getAttribute("uploadProcessed"))).map((e=>{return{promise:(t=e,new Promise(((e,i)=>{const o=t.getAttribute("src");fetch(o).then((e=>e.blob())).then((t=>{const i=re(t,o),n=i.replace("image/",""),r=new File([t],`image.${n}`,{type:i});e(r)})).catch((t=>t&&"TypeError"===t.name?function(e){return function(e){return new Promise(((t,i)=>{const o=l.CO.document.createElement("img");o.addEventListener("load",(()=>{const e=l.CO.document.createElement("canvas");e.width=o.width,e.height=o.height,e.getContext("2d").drawImage(o,0,0),e.toBlob((e=>e?t(e):i()))})),o.addEventListener("error",(()=>i())),o.src=e}))}(e).then((t=>{const i=re(t,e),o=i.replace("image/","");return new File([t],`image.${o}`,{type:i})}))}(o).then(e).catch(i):i(t)))}))),imageElement:e};var t}));if(!s.length)return;const a=new r.yj(e.editing.view.document);for(const e of s){a.setAttribute("uploadProcessed",!0,e.imageElement);const t=o.createLoader(e.promise);t&&(a.setAttribute("src","",e.imageElement),a.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(),n=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 ve(e,i)){const e=t.getAttribute("uploadId");if(!e)continue;const i=o.loaders.get(e);i&&(r?n.has(e)||i.abort():(n.add(e),this._uploadImageElements.set(e,t),"idle"==i.status&&this._readAndUpload(i)))}}})),this.on("uploadComplete",((e,{imageElement:t,data:i})=>{const o=i.urls?i.urls:i;this.editor.model.change((e=>{e.setAttribute("src",o.default,t),this._parseAndSetSrcsetAttributeOnImage(o,t,e)}))}),{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,o=t.locale.t,n=t.plugins.get(oe.FileRepository),r=t.plugins.get(k.P_),s=t.plugins.get("ImageUtils"),a=this._uploadImageElements;return i.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","reading",a.get(e.id))})),e.read().then((()=>{const o=e.upload(),n=a.get(e.id);if(l.OB.isSafari){const e=t.editing.mapper.toViewElement(n),i=s.findViewImgElement(e);t.editing.view.once("render",(()=>{if(!i.parent)return;const e=t.editing.view.domConverter.mapViewToDom(i.parent);if(!e)return;const o=e.style.display;e.style.display="none",e._ckHack=e.offsetHeight,e.style.display=o}))}return i.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","uploading",n)})),o})).then((t=>{i.enqueueChange({isUndoable:!1},(i=>{const o=a.get(e.id);i.setAttribute("uploadStatus","complete",o),this.fire("uploadComplete",{data:t,imageElement:o})})),c()})).catch((t=>{if("error"!==e.status&&"aborted"!==e.status)throw t;"error"==e.status&&t&&r.showWarning(t,{title:o("Upload failed"),namespace:"upload"}),i.enqueueChange({isUndoable:!1},(t=>{t.remove(a.get(e.id))})),c()}));function c(){i.enqueueChange({isUndoable:!1},(t=>{const i=a.get(e.id);t.removeAttribute("uploadId",i),t.removeAttribute("uploadStatus",i),a.delete(e.id)})),n.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,i){let o=0;const n=Object.keys(e).filter((e=>{const t=parseInt(e,10);if(!isNaN(t))return o=Math.max(o,t),!0})).map((t=>`${e[t]} ${t}w`)).join(", ");""!=n&&i.setAttribute("srcset",{data:n,width:o},t)}}function ve(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 ye extends o.Sy{static get pluginName(){return"ImageUpload"}static get requires(){return[_e,se,me]}}var Ce=i(8340),xe={attributes:{"data-cke":!0}};xe.setAttributes=T(),xe.insert=A().bind(null,"head"),xe.domAPI=C(),xe.insertStyleElement=P(),v()(Ce.Z,xe),Ce.Z&&Ce.Z.locals&&Ce.Z.locals;class Ae extends k.G7{constructor(e,t={}){super(e);const i=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",i.to("class")],role:i.to("_role"),"aria-labelledby":i.to("_ariaLabelledBy")},children:this.children})}}var Ee=i(8879),Te={attributes:{"data-cke":!0}};Te.setAttributes=T(),Te.insert=A().bind(null,"head"),Te.domAPI=C(),Te.insertStyleElement=P(),v()(Ee.Z,Te),Ee.Z&&Ee.Z.locals&&Ee.Z.locals;class Se extends k.G7{constructor(e,t={}){super(e);const{insertButtonView:i,cancelButtonView:o}=this._createActionButtons(e);this.insertButtonView=i,this.cancelButtonView=o,this.set("imageURLInputValue",""),this.focusTracker=new l.Rh,this.keystrokes=new l.VD,this._focusables=new k.vX,this._focusCycler=new k.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.set("_integrations",new l.FE);for(const[e,i]of Object.entries(t))"insertImageViaUrl"===e&&(i.fieldView.bind("value").to(this,"imageURLInputValue",(e=>e||"")),i.fieldView.on("input",(()=>{this.imageURLInputValue=i.fieldView.element.value.trim()}))),i.name=e,this._integrations.add(i);this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:"-1"},children:[...this._integrations,new Ae(e,{children:[this.insertButtonView,this.cancelButtonView],class:"ck-image-insert-form__action-row"})]})}render(){super.render(),(0,k.GI)({view:this}),[...this._integrations,this.insertButtonView,this.cancelButtonView].forEach((e=>{this._focusables.add(e),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()}getIntegration(e){return this._integrations.find((t=>t.name===e))}_createActionButtons(e){const t=e.t,i=new k.r5(e),n=new k.r5(e);return i.set({label:t("Insert"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0,isEnabled:this.imageURLInputValue}),n.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),i.bind("isEnabled").to(this,"imageURLInputValue",(e=>!!e)),i.delegate("execute").to(this,"submit"),n.delegate("execute").to(this,"cancel"),{insertButtonView:i,cancelButtonView:n}}focus(){this._focusCycler.focusFirst()}}function Pe(e){const t=e.t,i=new k.KP(e,k.R);return i.set({label:t("Insert image via URL")}),i.fieldView.placeholder="https://example.com/image.png",i}class Ie extends o.Sy{static get pluginName(){return"ImageInsertUI"}init(){const e=this.editor,t=e=>this._createDropdownView(e);e.ui.componentFactory.add("insertImage",t),e.ui.componentFactory.add("imageInsert",t)}_createDropdownView(e){const t=this.editor,i=e.t,n=t.commands.get("uploadImage"),r=t.commands.get("insertImage");this.dropdownView=(0,k.t9)(e,n?k.Rm:void 0);const s=this.dropdownView.buttonView,a=this.dropdownView.panelView;if(s.set({label:i("Insert image"),icon:o.icons.image,tooltip:!0}),a.extendTemplate({attributes:{class:"ck-image-insert__panel"}}),n){const e=this.dropdownView.buttonView;e.actionView=t.ui.componentFactory.create("uploadImage"),e.actionView.extendTemplate({attributes:{class:"ck ck-button ck-splitbutton__action"}})}return this._setUpDropdown(n||r)}_setUpDropdown(e){const t=this.editor,i=t.t,o=this.dropdownView,n=o.panelView,r=this.editor.plugins.get("ImageUtils"),s=t.commands.get("replaceImageSource");let a;function l(){t.editing.view.focus(),o.isOpen=!1}return o.bind("isEnabled").to(e),o.once("change:isOpen",(()=>{a=new Se(t.locale,function(e){const t=e.config.get("image.insert.integrations"),i=e.plugins.get("ImageInsertUI"),o={insertImageViaUrl:Pe(e.locale)};if(!t)return o;if(t.find((e=>"openCKFinder"===e))&&e.ui.componentFactory.has("ckfinder")){const t=e.ui.componentFactory.create("ckfinder");t.set({withText:!0,class:"ck-image-insert__ck-finder-button"}),t.delegate("execute").to(i,"cancel"),o.openCKFinder=t}return t.reduce(((t,i)=>(o[i]?t[i]=o[i]:e.ui.componentFactory.has(i)&&(t[i]=e.ui.componentFactory.create(i)),t)),{})}(t)),a.delegate("submit","cancel").to(o),n.children.add(a)})),o.on("change:isOpen",(()=>{const e=t.model.document.selection.getSelectedElement(),n=a.insertButtonView,l=a.getIntegration("insertImageViaUrl");o.isOpen&&(r.isImage(e)?(a.imageURLInputValue=s.value,n.label=i("Update"),l.label=i("Update image URL")):(a.imageURLInputValue="",n.label=i("Insert"),l.label=i("Insert image via URL")))}),{priority:"low"}),this.delegate("cancel").to(o),o.on("submit",(()=>{l(),function(){const e=t.model.document.selection.getSelectedElement();r.isImage(e)?t.execute("replaceImageSource",{source:a.imageURLInputValue}):t.execute("insertImage",{source:a.imageURLInputValue})}()})),o.on("cancel",(()=>{l()})),o}}class Ve extends o.Sy{static get pluginName(){return"ImageInsertViaUrl"}static get requires(){return[Ie]}}class Re extends o.Sy{static get pluginName(){return"ImageInsert"}static get requires(){return[ye,Ve,Ie]}}class Oe extends o.mY{refresh(){const e=this.editor,t=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!t,t&&t.hasAttribute("width")?this.value={width:t.getAttribute("width"),height:null}:this.value=null}execute(e){const t=this.editor,i=t.model,o=t.plugins.get("ImageUtils").getClosestSelectedImageElement(i.document.selection);this.value={width:e.width,height:null},o&&i.change((t=>{t.setAttribute("width",e.width,o)}))}}class Be extends o.Sy{static get requires(){return[m]}static get pluginName(){return"ImageResizeEditing"}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{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 Oe(e);this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",t),e.commands.add("imageResize",t)}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:"width"}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:"width"})}_registerConverters(e){const t=this.editor;t.conversion.for("downcast").add((t=>t.on(`attribute:width:${e}`,((e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.writer,n=i.mapper.toViewElement(t.item);null!==t.attributeNewValue?(o.setStyle("width",t.attributeNewValue,n),o.addClass("image_resized",n)):(o.removeStyle("width",n),o.removeClass("image_resized",n))})))),t.conversion.for("upcast").attributeToAttribute({view:{name:"imageBlock"===e?"figure":"img",styles:{width:/.+/}},model:{key:"width",value:e=>e.getStyle("width")}})}}const Me={small:o.icons.objectSizeSmall,medium:o.icons.objectSizeMedium,large:o.icons.objectSizeLarge,original:o.icons.objectSizeFull};class ze extends o.Sy{static get requires(){return[Be]}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:o,icon:n}=e,r=o?o+this._resizeUnit:null;t.ui.componentFactory.add(i,(i=>{const o=new k.r5(i),s=t.commands.get("resizeImage"),a=this._getOptionLabelValue(e,!0);if(!Me[n])throw new l.Bb("imageresizebuttons-missing-icon",t,e);return o.set({label:a,icon:Me[n],tooltip:a,isToggleable:!0}),o.bind("isEnabled").to(this),o.bind("isOn").to(s,"value",Ne(r)),this.listenTo(o,"execute",(()=>{t.execute("resizeImage",{width:r})})),o}))}_registerImageResizeDropdown(e){const t=this.editor,i=t.t,o=e.find((e=>!e.value)),n=n=>{const r=t.commands.get("resizeImage"),s=(0,k.t9)(n,k.J0),a=s.buttonView,l=i("Resize image");return a.set({tooltip:l,commandValue:o.value,icon:Me.medium,isToggleable:!0,label:this._getOptionLabelValue(o),withText:!0,class:"ck-resize-image-button",ariaLabel:l,ariaLabelledBy:void 0}),a.bind("label").to(r,"value",(e=>e&&e.width?e.width:this._getOptionLabelValue(o))),s.bind("isEnabled").to(this),(0,k.Pm)(s,(()=>this._getResizeDropdownListItemDefinitions(e,r)),{ariaLabel:i("Image resize list"),role:"menu"}),this.listenTo(s,"execute",(e=>{t.execute(e.source.commandName,{width:e.source.commandValue}),t.editing.view.focus()})),s};t.ui.componentFactory.add("resizeImage",n),t.ui.componentFactory.add("imageResize",n)}_getOptionLabelValue(e,t=!1){const i=this.editor.t;return e.label?e.label:t?e.value?i("Resize image to %0",e.value+this._resizeUnit):i("Resize image to the original size"):e.value?e.value+this._resizeUnit:i("Original")}_getResizeDropdownListItemDefinitions(e,t){const i=new l.FE;return e.map((e=>{const o=e.value?e.value+this._resizeUnit:null,n={type:"button",model:new k.Hn({commandName:"resizeImage",commandValue:o,label:this._getOptionLabelValue(e),role:"menuitemradio",withText:!0,icon:null})};n.model.bind("isOn").to(t,"value",Ne(o)),i.add(n)})),i}}function Ne(e){return t=>null===e&&t===e||null!==t&&t.width===e}const De=/(image|image-inline)/,Le="image_resized";class Fe extends o.Sy{static get requires(){return[c.WR]}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;t.addObserver(D),this.listenTo(t.document,"imageLoaded",((i,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 n=e.editing.view.domConverter,r=n.domToView(o.target).findAncestor({classes:De});let s=this.editor.plugins.get(c.WR).getResizerByViewElement(r);if(s)return void s.redraw();const a=e.editing.mapper,l=a.toModelElement(r);s=e.plugins.get(c.WR).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:l,viewElement:r,editor:e,getHandleHost:e=>e.querySelector("img"),getResizeHost:()=>n.mapViewToDom(a.toViewElement(l.parent)),isCentered(){const e=l.getAttribute("imageStyle");return!e||"block"==e||"alignCenter"==e},onCommit(i){t.change((e=>{e.removeClass(Le,r)})),e.execute("resizeImage",{width:i})}}),s.on("updateSize",(()=>{r.hasClass(Le)||t.change((e=>{e.addClass(Le,r)}))})),s.bind("isEnabled").to(this)}))}}var Ze=i(2400),He={attributes:{"data-cke":!0}};He.setAttributes=T(),He.insert=A().bind(null,"head"),He.domAPI=C(),He.insertStyleElement=P(),v()(Ze.Z,He),Ze.Z&&Ze.Z.locals&&Ze.Z.locals;class We extends o.Sy{static get requires(){return[Be,Fe,ze]}static get pluginName(){return"ImageResize"}}class je extends o.mY{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,o=t.plugins.get("ImageUtils");i.change((t=>{const n=e.value;let r=o.getClosestSelectedImageElement(i.document.selection);n&&this.shouldConvertImageType(n,r)&&(this.editor.execute(o.isBlockImage(r)?"imageTypeInline":"imageTypeBlock"),r=o.getClosestSelectedImageElement(i.document.selection)),!n||this._styles.get(n).isDefault?t.removeAttribute("imageStyle",r):t.setAttribute("imageStyle",n,r)}))}shouldConvertImageType(e,t){return!this._styles.get(e).modelElements.includes(t.name)}}const{objectFullWidth:Ue,objectInline:$e,objectLeft:qe,objectRight:Ke,objectCenter:Ge,objectBlockLeft:Je,objectBlockRight:Ye}=o.icons,Qe={get inline(){return{name:"inline",title:"In line",icon:$e,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:qe,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:Je,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:Ge,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:Ke,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:Ye,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:Ge,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:Ke,modelElements:["imageBlock"],className:"image-style-side"}}},Xe={full:Ue,left:Je,right:Ye,center:Ge,inlineLeft:qe,inlineRight:Ke,inline:$e},et=[{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 tt(e){(0,l.KE)("image-style-configuration-definition-invalid",e)}const it={normalizeStyles:function(e){return(e.configuredStyles.options||[]).map((e=>{return"string"==typeof(t="string"==typeof(t=e)?Qe[t]?{...Qe[t]}:{name:t}:function(e,t){const i={...t};for(const o in e)Object.prototype.hasOwnProperty.call(t,o)||(i[o]=e[o]);return i}(Qe[t.name],t)).icon&&(t.icon=Xe[t.icon]||t.icon),t;var t})).filter((t=>function(e,{isBlockPluginLoaded:t,isInlinePluginLoaded:i}){const{modelElements:o,name:n}=e;if(!(o&&o.length&&n))return tt({style:e}),!1;{const n=[t?"imageBlock":null,i?"imageInline":null];if(!o.some((e=>n.includes(e))))return(0,l.KE)("image-style-missing-dependency",{style:e,missingPlugins:o.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")?[...et]:[]},warnInvalidStyle:tt,DEFAULT_OPTIONS:Qe,DEFAULT_ICONS:Xe,DEFAULT_DROPDOWN_DEFINITIONS:et};function ot(e,t){for(const i of t)if(i.name===e)return i}class nt extends o.Sy{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[m]}init(){const{normalizeStyles:e,getDefaultStylesConfiguration:t}=it,i=this.editor,o=i.plugins.has("ImageBlockEditing"),n=i.plugins.has("ImageInlineEditing");i.config.define("image.styles",t(o,n)),this.normalizedStyles=e({configuredStyles:i.config.get("image.styles"),isBlockPluginLoaded:o,isInlinePluginLoaded:n}),this._setupConversion(o,n),this._setupPostFixer(),i.commands.add("imageStyle",new je(i,this.normalizedStyles))}_setupConversion(e,t){const i=this.editor,o=i.model.schema,n=(r=this.normalizedStyles,(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=ot(t.attributeNewValue,r),n=ot(t.attributeOldValue,r),s=i.mapper.toViewElement(t.item),a=i.writer;n&&a.removeClass(n.className,s),o&&a.addClass(o.className,s)});var r;const s=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,o)=>{if(!i.modelRange)return;const n=i.viewItem,r=(0,l.Ps)(i.modelRange.getItems());if(r&&o.schema.checkAttribute(r,"imageStyle"))for(const e of t[r.name])o.consumable.consume(n,{classes:e.className})&&o.writer.setAttribute("imageStyle",e.name,r)}}(this.normalizedStyles);i.editing.downcastDispatcher.on("attribute:imageStyle",n),i.data.downcastDispatcher.on("attribute:imageStyle",n),e&&(o.extend("imageBlock",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:figure",s,{priority:"low"})),t&&(o.extend("imageInline",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:img",s,{priority:"low"}))}_setupPostFixer(){const e=this.editor,t=e.model.document,i=e.plugins.get(m),o=new Map(this.normalizedStyles.map((e=>[e.name,e])));t.registerPostFixer((e=>{let n=!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 s=t.getAttribute("imageStyle");if(!s)continue;const a=o.get(s);a&&a.modelElements.includes(t.name)||(e.removeAttribute("imageStyle",t),n=!0)}return n}))}}var rt=i(7226),st=i(9203),at=i(3534),lt={attributes:{"data-cke":!0}};lt.setAttributes=T(),lt.insert=A().bind(null,"head"),lt.domAPI=C(),lt.insertStyleElement=P(),v()(at.Z,lt),at.Z&&at.Z.locals&&at.Z.locals;class ct extends o.Sy{static get requires(){return[nt]}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=dt(e.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const e of i)this._createButton(e);const o=dt([...t.filter(rt.Z),...it.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const e of o)this._createDropdown(e,i)}_createDropdown(e,t){const i=this.editor.ui.componentFactory;i.add(e.name,(o=>{let n;const{defaultItem:r,items:s,title:a}=e,l=s.filter((e=>t.find((({name:t})=>ut(t)===e)))).map((e=>{const t=i.create(e);return e===r&&(n=t),t}));s.length!==l.length&&it.warnInvalidStyle({dropdown:e});const c=(0,k.t9)(o,k.Rm),d=c.buttonView,u=d.arrowView;return(0,k.up)(c,l,{enableActiveItemFocusOnDropdownOpen:!0}),d.set({label:ht(a,n.label),class:null,tooltip:!0}),u.unbind("label"),u.set({label:a}),d.bind("icon").toMany(l,"isOn",((...e)=>{const t=e.findIndex(st.Z);return t<0?n.icon:l[t].icon})),d.bind("label").toMany(l,"isOn",((...e)=>{const t=e.findIndex(st.Z);return ht(a,t<0?n.label:l[t].label)})),d.bind("isOn").toMany(l,"isOn",((...e)=>e.some(st.Z))),d.bind("class").toMany(l,"isOn",((...e)=>e.some(st.Z)?"ck-splitbutton_flatten":void 0)),d.on("execute",(()=>{l.some((({isOn:e})=>e))?c.isOpen=!c.isOpen:n.fire("execute")})),c.bind("isEnabled").toMany(l,"isEnabled",((...e)=>e.some(st.Z))),this.listenTo(c,"execute",(()=>{this.editor.editing.view.focus()})),c}))}_createButton(e){const t=e.name;this.editor.ui.componentFactory.add(ut(t),(i=>{const o=this.editor.commands.get("imageStyle"),n=new k.r5(i);return n.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(o,"isEnabled"),n.bind("isOn").to(o,"value",(e=>e===t)),n.on("execute",this._executeCommand.bind(this,t)),n}))}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function dt(e,t){for(const i of e)t[i.title]&&(i.title=t[i.title]);return e}function ut(e){return`imageStyle:${e}`}function ht(e,t){return(e?e+": ":"")+t}class mt extends o.Sy{static get requires(){return[nt,ct]}static get pluginName(){return"ImageStyle"}}class gt extends o.Sy{static get requires(){return[c.e8,m]}static get pluginName(){return"ImageToolbar"}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(c.e8),o=e.plugins.get("ImageUtils");var n;i.register("image",{ariaLabel:t("Image toolbar"),items:(n=e.config.get("image.toolbar")||[],n.map((e=>(0,rt.Z)(e)?e.name:e))),getRelatedElement:e=>o.getClosestSelectedImageWidget(e)})}}class pt extends o.Sy{static get requires(){return[Z,m]}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,o,n)=>{const r=o.viewItem;if(!n.consumable.test(r,{name:!0}))return;const s=new Map;for(const e of r.getChildren())if(e.is("element","source")){const i={};for(const o of t)e.hasAttribute(o)&&n.consumable.test(e,{attributes:o})&&(i[o]=e.getAttribute(o));Object.keys(i).length&&s.set(e,i)}const a=e.findViewImgElement(r);if(!a)return;let c=o.modelCursor.parent;if(!c.is("element","imageBlock")){const e=n.convertItem(a,o.modelCursor);o.modelRange=e.modelRange,o.modelCursor=e.modelCursor,c=(0,l.Ps)(e.modelRange.getItems())}n.consumable.consume(r,{name:!0});for(const[e,t]of s)n.consumable.consume(e,{attributes:Object.keys(t)});s.size&&n.writer.setAttribute("sources",Array.from(s.values()),c),n.convertChildren(r,c)};return e=>{e.on("element:picture",i)}}(i)),t.for("downcast").add(function(e){const t=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const n=o.writer,r=o.mapper.toViewElement(i.item),s=e.findViewImgElement(r),a=i.attributeNewValue;if(a&&a.length){const e=n.createContainerElement("picture",null,a.map((e=>n.createEmptyElement("source",e)))),t=[];let i=s.parent;for(;i&&i.is("attributeElement");){const e=i.parent;n.unwrap(n.createRangeOn(s),i),t.unshift(i),i=e}n.insert(n.createPositionBefore(s),e),n.move(n.createRangeOn(s),n.createPositionAt(e,"end"));for(const i of t)n.wrap(n.createRangeOn(e),i)}else if(s.parent.is("element","picture")){const e=s.parent;n.move(n.createRangeOn(s),n.createPositionBefore(e)),n.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:o})=>{const n=o.sources;n&&e.model.change((e=>{e.setAttributes({sources:n},i)}))}))}}},3531:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Indent:()=>c,IndentBlock:()=>f,IndentEditing:()=>n,IndentUI:()=>l});var o=i(6854);class n extends o.Sy{static get pluginName(){return"IndentEditing"}init(){const e=this.editor;e.commands.add("indent",new o.AJ(e)),e.commands.add("outdent",new o.AJ(e))}}var r=i(7095);const s='<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>',a='<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>';class l extends o.Sy{static get pluginName(){return"IndentUI"}init(){const e=this.editor,t=e.locale,i=e.t,o="ltr"==t.uiLanguageDirection?s:a,n="ltr"==t.uiLanguageDirection?a:s;this._defineButton("indent",i("Increase indent"),o),this._defineButton("outdent",i("Decrease indent"),n)}_defineButton(e,t,i){const o=this.editor;o.ui.componentFactory.add(e,(n=>{const s=o.commands.get(e),a=new r.r5(n);return a.set({label:t,icon:i,tooltip:!0}),a.bind("isEnabled").to(s,"isEnabled"),this.listenTo(a,"execute",(()=>{o.execute(e),o.editing.view.focus()})),a}))}}class c extends o.Sy{static get pluginName(){return"Indent"}static get requires(){return[n,l]}}var d=i(3291),u=i(6553);class h extends o.mY{constructor(e,t){super(e),this._indentBehavior=t}refresh(){const e=this.editor.model,t=(0,u.Ps)(e.document.selection.getSelectedBlocks());t&&e.schema.checkAttribute(t,"blockIndent")?this.isEnabled=this._indentBehavior.checkEnabled(t.getAttribute("blockIndent")):this.isEnabled=!1}execute(){const e=this.editor.model,t=function(e){const t=e.document.selection,i=e.schema;return Array.from(t.getSelectedBlocks()).filter((e=>i.checkAttribute(e,"blockIndent")))}(e);e.change((e=>{for(const i of t){const t=i.getAttribute("blockIndent"),o=this._indentBehavior.getNextIndent(t);o?e.setAttribute("blockIndent",o,i):e.removeAttribute("blockIndent",i)}}))}}class m{constructor(e){this.isForward="forward"===e.direction,this.offset=e.offset,this.unit=e.unit}checkEnabled(e){const t=parseFloat(e||"0");return this.isForward||t>0}getNextIndent(e){const t=parseFloat(e||"0");if(e&&!e.endsWith(this.unit))return this.isForward?this.offset+this.unit:void 0;const i=t+(this.isForward?this.offset:-this.offset);return i>0?i+this.unit:void 0}}class g{constructor(e){this.isForward="forward"===e.direction,this.classes=e.classes}checkEnabled(e){const t=this.classes.indexOf(e);return this.isForward?t<this.classes.length-1:t>=0}getNextIndent(e){const t=this.classes.indexOf(e),i=this.isForward?1:-1;return this.classes[t+i]}}const p=["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"];class f extends o.Sy{constructor(e){super(e),e.config.define("indentBlock",{offset:40,unit:"px"})}static get pluginName(){return"IndentBlock"}init(){const e=this.editor,t=e.config.get("indentBlock");t.classes&&t.classes.length?(this._setupConversionUsingClasses(t.classes),e.commands.add("indentBlock",new h(e,new g({direction:"forward",classes:t.classes}))),e.commands.add("outdentBlock",new h(e,new g({direction:"backward",classes:t.classes})))):(e.data.addStyleProcessorRules(d.vt),this._setupConversionUsingOffset(),e.commands.add("indentBlock",new h(e,new m({direction:"forward",offset:t.offset,unit:t.unit}))),e.commands.add("outdentBlock",new h(e,new m({direction:"backward",offset:t.offset,unit:t.unit}))))}afterInit(){const e=this.editor,t=e.model.schema,i=e.commands.get("indent"),o=e.commands.get("outdent"),n=e.config.get("heading.options");(n&&n.map((e=>e.model))||p).forEach((e=>{t.isRegistered(e)&&t.extend(e,{allowAttributes:"blockIndent"})})),t.setAttributeProperties("blockIndent",{isFormatting:!0}),i.registerChildCommand(e.commands.get("indentBlock")),o.registerChildCommand(e.commands.get("outdentBlock"))}_setupConversionUsingOffset(){const e=this.editor.conversion,t="rtl"===this.editor.locale.contentLanguageDirection?"margin-right":"margin-left";e.for("upcast").attributeToAttribute({view:{styles:{[t]:/[\s\S]+/}},model:{key:"blockIndent",value:e=>e.getStyle(t)}}),e.for("downcast").attributeToAttribute({model:"blockIndent",view:e=>({key:"style",value:{[t]:e}})})}_setupConversionUsingClasses(e){const t={model:{key:"blockIndent",values:[]},view:{}};for(const i of e)t.model.values.push(i),t.view[i]={key:"class",value:[i]};this.editor.conversion.attributeToAttribute(t)}}},9920:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AutoLink:()=>ke,Link:()=>ve,LinkCommand:()=>D,LinkEditing:()=>ie,LinkImage:()=>Se,LinkImageEditing:()=>ye,LinkImageUI:()=>Ae,LinkUI:()=>fe,UnlinkCommand:()=>F});var o=i(6854),n=i(3291),r=i(5187),s=i(3837),a=i(6553);class l{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 o=i.writer,n=o.document.selection;for(const e of this._definitions){const r=o.createAttributeElement("a",e.attributes,{priority:5});e.classes&&o.addClass(e.classes,r);for(const t in e.styles)o.setStyle(t,e.styles[t],r);o.setCustomProperty("link",!0,r),e.callback(t.attributeNewValue)?t.item.is("selection")?o.wrap(n.getFirstRange(),r):o.wrap(i.mapper.toViewRange(t.range),r):o.unwrap(i.mapper.toViewRange(t.range),r)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return e=>{e.on("attribute:linkHref:imageBlock",((e,t,{writer:i,mapper:o})=>{const n=o.toViewElement(t.item),r=Array.from(n.getChildren()).find((e=>e.is("element","a")));for(const e of this._definitions){const o=(0,a.qL)(e.attributes);if(e.callback(t.attributeNewValue)){for(const[e,t]of o)"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 o)"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)}}}))}}}var c=i(7855);var d=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const u=function(e){return d.test(e)};var h="\\ud800-\\udfff",m="["+h+"]",g="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",p="\\ud83c[\\udffb-\\udfff]",f="[^"+h+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",w="[\\ud800-\\udbff][\\udc00-\\udfff]",k="(?:"+g+"|"+p+")?",_="[\\ufe0e\\ufe0f]?",v=_+k+"(?:\\u200d(?:"+[f,b,w].join("|")+")"+_+k+")*",y="(?:"+[f+g+"?",g,b,w,m].join("|")+")",C=RegExp(p+"(?="+p+")|"+y+v,"g");const x=function(e){return u(e)?function(e){return e.match(C)||[]}(e):function(e){return e.split("")}(e)};var A=i(9939);const E=function(e){e=(0,A.Z)(e);var t,i,o,n,r=u(e)?x(e):void 0,s=r?r[0]:e.charAt(0),a=r?(t=r,i=1,n=t.length,o=void 0===o?n:o,!i&&o>=n?t:(0,c.Z)(t,i,o)).join(""):e.slice(1);return s.toUpperCase()+a},T=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,S=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,P=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,I=/^((\w+:(\/{2,})?)|(\W))/i,V="Ctrl+K";function R(e,{writer:t}){const i=t.createAttributeElement("a",{href:e},{priority:5});return t.setCustomProperty("link",!0,i),i}function O(e){const t=String(e);return function(e){return!!e.replace(T,"").match(S)}(t)?t:"#"}function B(e,t){return!!e&&t.checkAttribute(e.name,"linkHref")}function M(e,t){const i=(o=e,P.test(o)?"mailto:":t);var o;const n=!!i&&!z(e);return e&&n?i+e:e}function z(e){return I.test(e)}function N(e){window.open(e,"_blank","noopener")}class D extends o.mY{constructor(){super(...arguments),this.manualDecorators=new a.FE,this.automaticDecorators=new l}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,a.Ps)(t.getSelectedBlocks());B(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,t={}){const i=this.editor.model,o=i.document.selection,n=[],s=[];for(const e in t)t[e]?n.push(e):s.push(e);i.change((t=>{if(o.isCollapsed){const l=o.getFirstPosition();if(o.hasAttribute("linkHref")){const a=L(o);let c=(0,r.VD)(l,"linkHref",o.getAttribute("linkHref"),i);o.getAttribute("linkHref")===a&&(c=this._updateLinkContent(i,t,c,e)),t.setAttribute("linkHref",e,c),n.forEach((e=>{t.setAttribute(e,!0,c)})),s.forEach((e=>{t.removeAttribute(e,c)})),t.setSelection(t.createPositionAfter(c.end.nodeBefore))}else if(""!==e){const r=(0,a.qL)(o.getAttributes());r.set("linkHref",e),n.forEach((e=>{r.set(e,!0)}));const{end:s}=i.insertContent(t.createText(e,r),l);t.setSelection(s)}["linkHref",...n,...s].forEach((e=>{t.removeSelectionAttribute(e)}))}else{const r=i.schema.getValidRanges(o.getRanges(),"linkHref"),a=[];for(const e of o.getSelectedBlocks())i.schema.checkAttribute(e,"linkHref")&&a.push(t.createRangeOn(e));const l=a.slice();for(const e of r)this._isRangeToUpdate(e,a)&&l.push(e);for(const r of l){let a=r;if(1===l.length){const n=L(o);o.getAttribute("linkHref")===n&&(a=this._updateLinkContent(i,t,r,e),t.setSelection(t.createSelection(a)))}t.setAttribute("linkHref",e,a),n.forEach((e=>{t.setAttribute(e,!0,a)})),s.forEach((e=>{t.removeAttribute(e,a)}))}}}))}_getDecoratorStateFromModel(e){const t=this.editor.model,i=t.document.selection,o=i.getSelectedElement();return B(o,t.schema)?o.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,o){const n=t.createText(o,{linkHref:o});return e.insertContent(n,i)}}function L(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 F extends o.mY{refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement();B(i,e.schema)?this.isEnabled=e.schema.checkAttribute(i,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref")}execute(){const e=this.editor,t=this.editor.model,i=t.document.selection,o=e.commands.get("link");t.change((e=>{const n=i.isCollapsed?[(0,r.VD)(i.getFirstPosition(),"linkHref",i.getAttribute("linkHref"),t)]:t.schema.getValidRanges(i.getRanges(),"linkHref");for(const t of n)if(e.removeAttribute("linkHref",t),o)for(const i of o.manualDecorators)e.removeAttribute(i.id,t)}))}}class Z extends((0,a.Re)()){constructor({id:e,label:t,attributes:i,classes:o,styles:n,defaultValue:r}){super(),this.id=e,this.set("value",void 0),this.defaultValue=r,this.label=t,this.attributes=i,this.classes=o,this.styles=n}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var H=i(3379),W=i.n(H),j=i(9037),U=i.n(j),$=i(569),q=i.n($),K=i(8575),G=i.n(K),J=i(9216),Y=i.n(J),Q=i(3925),X={attributes:{"data-cke":!0}};X.setAttributes=G(),X.insert=q().bind(null,"head"),X.domAPI=U(),X.insertStyleElement=Y(),W()(Q.Z,X),Q.Z&&Q.Z.locals&&Q.Z.locals;const ee="automatic",te=/^(https?:)?\/\//;class ie extends o.Sy{static get pluginName(){return"LinkEditing"}static get requires(){return[r.mh,r.II,s._l]}constructor(e){super(e),e.config.define("link",{addTargetToExternalLinks:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:R}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(e,t)=>R(O(e),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 D(e)),e.commands.add("unlink",new F(e));const t=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,o]of Object.entries(e)){const e=Object.assign({},o,{id:`link${E(i)}`});t.push(e)}return t}(e.config.get("link.decorators")));this._enableAutomaticDecorators(t.filter((e=>e.mode===ee))),this._enableManualDecorators(t.filter((e=>"manual"===e.mode))),e.plugins.get(r.mh).registerAttribute("linkHref"),(0,r.Im)(e,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableInsertContentSelectionAttributesFixer(),this._enableClickingAfterLink(),this._enableTypingOverLink(),this._handleDeleteContentAfterLink(),this._enableClipboardIntegration()}_enableAutomaticDecorators(e){const t=this.editor,i=t.commands.get("link").automaticDecorators;t.config.get("link.addTargetToExternalLinks")&&i.add({id:"linkIsExternal",mode:ee,callback:e=>!!e&&te.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 o=new Z(e);i.add(o),t.conversion.for("downcast").attributeToElement({model:o.id,view:(e,{writer:t,schema:i},{item:n})=>{if((n.is("selection")||i.isInline(n))&&e){const e=t.createAttributeElement("a",o.attributes,{priority:5});o.classes&&t.addClass(o.classes,e);for(const i in o.styles)t.setStyle(i,o.styles[i],e);return t.setCustomProperty("link",!0,e),e}}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",...o._createPattern()},model:{key:o.id}})}))}_enableLinkOpen(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",((e,t)=>{if(!(a.OB.isMac?t.domEvent.metaKey:t.domEvent.ctrlKey))return;let i=t.domTarget;if("a"!=i.tagName.toLowerCase()&&(i=i.closest("a")),!i)return;const o=i.getAttribute("href");o&&(e.stop(),t.preventDefault(),N(o))}),{context:"$capture"}),this.listenTo(t,"keydown",((t,i)=>{const o=e.commands.get("link").value;o&&i.keyCode===a.Do.enter&&i.altKey&&(t.stop(),N(o))}))}_enableInsertContentSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection;this.listenTo(e,"insertContent",(()=>{const i=t.anchor.nodeBefore,o=t.anchor.nodeAfter;t.hasAttribute("linkHref")&&i&&i.hasAttribute("linkHref")&&(o&&o.hasAttribute("linkHref")||e.change((t=>{oe(t,re(e.schema))})))}),{priority:"low"})}_enableClickingAfterLink(){const e=this.editor,t=e.model;e.editing.view.addObserver(n.dM);let i=!1;this.listenTo(e.editing.view.document,"mousedown",(()=>{i=!0})),this.listenTo(e.editing.view.document,"selectionChange",(()=>{if(!i)return;i=!1;const e=t.document.selection;if(!e.isCollapsed)return;if(!e.hasAttribute("linkHref"))return;const o=e.getFirstPosition(),n=(0,r.VD)(o,"linkHref",e.getAttribute("linkHref"),t);(o.isTouching(n.start)||o.isTouching(n.end))&&t.change((e=>{oe(e,re(t.schema))}))}))}_enableTypingOverLink(){const e=this.editor,t=e.editing.view;let i=null,o=!1;this.listenTo(t.document,"delete",(()=>{o=!0}),{priority:"high"}),this.listenTo(e.model,"deleteContent",(()=>{const t=e.model.document.selection;t.isCollapsed||(o?o=!1:ne(e)&&function(e){const t=e.document.selection,i=t.getFirstPosition(),o=t.getLastPosition(),n=i.nodeAfter;if(!n)return!1;if(!n.is("$text"))return!1;if(!n.hasAttribute("linkHref"))return!1;return n===(o.textNode||o.nodeBefore)||(0,r.VD)(i,"linkHref",n.getAttribute("linkHref"),e).containsRange(e.createRange(i,o),!0)}(e.model)&&(i=t.getAttributes()))}),{priority:"high"}),this.listenTo(e.model,"insertContent",((t,[n])=>{o=!1,ne(e)&&i&&(e.model.change((e=>{for(const[t,o]of i)e.setAttribute(t,o,n)})),i=null)}),{priority:"high"})}_handleDeleteContentAfterLink(){const e=this.editor,t=e.model,i=t.document.selection,o=e.editing.view;let n=!1,s=!1;this.listenTo(o.document,"delete",((e,t)=>{s="backward"===t.direction}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{n=!1;const e=i.getFirstPosition(),o=i.getAttribute("linkHref");if(!o)return;const s=(0,r.VD)(e,"linkHref",o,t);n=s.containsPosition(e)||s.end.isEqual(e)}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{s&&(s=!1,n||e.model.enqueueChange((e=>{oe(e,re(t.schema))})))}),{priority:"low"})}_enableClipboardIntegration(){const e=this.editor,t=e.model,i=this.editor.config.get("link.defaultProtocol");i&&this.listenTo(e.plugins.get("ClipboardPipeline"),"contentInsertion",((e,o)=>{t.change((e=>{const t=e.createRangeIn(o.content);for(const o of t.getItems())if(o.hasAttribute("linkHref")){const t=M(o.getAttribute("linkHref"),i);e.setAttribute("linkHref",t,o)}}))}))}}function oe(e,t){e.removeSelectionAttribute("linkHref");for(const i of t)e.removeSelectionAttribute(i)}function ne(e){return e.model.change((e=>e.batch)).isTyping}function re(e){return e.getDefinition("$text").allowAttributes.filter((e=>e.startsWith("link")))}var se=i(7095),ae=i(5549),le=(i(2151),i(4874)),ce={attributes:{"data-cke":!0}};ce.setAttributes=G(),ce.insert=q().bind(null,"head"),ce.domAPI=U(),ce.insertStyleElement=Y(),W()(le.Z,ce),le.Z&&le.Z.locals&&le.Z.locals;class de extends se.G7{constructor(e,t){super(e),this.focusTracker=new a.Rh,this.keystrokes=new a.VD,this._focusables=new se.vX;const i=e.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(i("Save"),o.icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(i("Cancel"),o.icons.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(t),this.children=this._createFormChildren(t.manualDecorators),this._focusCycler=new se.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const n=["ck","ck-link-form","ck-responsive-form"];t.manualDecorators.length&&n.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:n,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((e,t)=>(e[t.name]=t.isOn,e)),{})}render(){super.render(),(0,se.GI)({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()}_createUrlInput(){const e=this.locale.t,t=new se.KP(this.locale,se.R);return t.label=e("Link URL"),t}_createButton(e,t,i,o){const n=new se.r5(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n.extendTemplate({attributes:{class:i}}),o&&n.delegate("execute").to(this,o),n}_createManualDecoratorSwitches(e){const t=this.createCollection();for(const i of e.manualDecorators){const o=new se.BM(this.locale);o.set({name:i.id,label:i.label,withText:!0}),o.bind("isOn").toMany([i,e],"value",((e,t)=>void 0===t&&void 0===e?!!i.defaultValue:!!e)),o.on("execute",(()=>{i.set("value",!o.isOn)})),t.add(o)}return t}_createFormChildren(e){const t=this.createCollection();if(t.add(this.urlInputView),e.length){const e=new se.G7;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}}var ue=i(7536),he={attributes:{"data-cke":!0}};he.setAttributes=G(),he.insert=q().bind(null,"head"),he.domAPI=U(),he.insertStyleElement=Y(),W()(ue.Z,he),ue.Z&&ue.Z.locals&&ue.Z.locals;class me extends se.G7{constructor(e){super(e),this.focusTracker=new a.Rh,this.keystrokes=new a.VD,this._focusables=new se.vX;const t=e.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(t("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(t("Edit link"),o.icons.pencil,"edit"),this.set("href",void 0),this._focusCycler=new se.I0({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 o=new se.r5(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.delegate("execute").to(this,i),o}_createPreviewButton(){const e=new se.r5(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&&O(e))),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 ge='<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>',pe="link-ui";class fe extends o.Sy{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[se.WB]}static get pluginName(){return"LinkUI"}init(){const e=this.editor;e.editing.view.addObserver(n.KU),this._balloon=e.plugins.get(se.WB),this._createToolbarLinkButton(),this._enableBalloonActivators(),e.conversion.for("editingDowncast").markerToHighlight({model:pe,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:pe,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}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 me(e.locale),i=e.commands.get("link"),o=e.commands.get("unlink");return t.bind("href").to(i,"value"),t.editButtonView.bind("isEnabled").to(i),t.unlinkButtonView.bind("isEnabled").to(o),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(V,((e,t)=>{this._addFormView(),t()})),t}_createFormView(){const e=this.editor,t=e.commands.get("link"),i=e.config.get("link.defaultProtocol"),o=new((0,se.RX)(de))(e.locale,t);return o.urlInputView.fieldView.bind("value").to(t,"value"),o.urlInputView.bind("isEnabled").to(t,"isEnabled"),o.saveButtonView.bind("isEnabled").to(t),this.listenTo(o,"submit",(()=>{const{value:t}=o.urlInputView.fieldView.element,n=M(t,i);e.execute("link",n,o.getDecoratorSwitchesState()),this._closeFormView()})),this.listenTo(o,"cancel",(()=>{this._closeFormView()})),o.keystrokes.set("Esc",((e,t)=>{this._closeFormView(),t()})),o}_createToolbarLinkButton(){const e=this.editor,t=e.commands.get("link"),i=e.t;e.ui.componentFactory.add("link",(e=>{const o=new se.r5(e);return o.isEnabled=!0,o.label=i("Link"),o.icon=ge,o.keystroke=V,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(t,"isEnabled"),o.bind("isOn").to(t,"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(V,((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,se.eC)({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._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=e.value||""}_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._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(),o=r();const n=()=>{const e=this._getSelectedLinkElement(),t=r();i&&!e||!i&&t!==o?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=e,o=t};function r(){return t.selection.focus.getAncestors().reverse().find((e=>e.is("element")))}this.listenTo(e.ui,"update",n),this.listenTo(this._balloon,"change:visibleView",n)}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 o;if(t.markers.has(pe)){const t=Array.from(this.editor.editing.mapper.markerNameToElements(pe)),i=e.createRange(e.createPositionBefore(t[0]),e.createPositionAfter(t[t.length-1]));o=e.domConverter.viewRangeToDom(i)}else o=()=>{const t=this._getSelectedLinkElement();return t?e.domConverter.mapViewToDom(t):e.domConverter.viewRangeToDom(i.selection.getFirstRange())};return{target:o}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection,i=t.getSelectedElement();if(t.isCollapsed||i&&(0,ae.Qd)(i))return be(t.getFirstPosition());{const i=t.getFirstRange().getTrimmed(),o=be(i.start),n=be(i.end);return o&&o==n&&e.createRangeIn(o).getTrimmed().isEqual(i)?o:null}}_showFakeVisualSelection(){const e=this.editor.model;e.change((t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(pe))t.updateMarker(pe,{range:i});else if(i.start.isAtEnd){const o=i.start.getLastMatchingPosition((({item:t})=>!e.schema.isContent(t)),{boundaries:i});t.addMarker(pe,{usingOperation:!1,affectsData:!1,range:t.createRange(o,i.end)})}else t.addMarker(pe,{usingOperation:!1,affectsData:!1,range:i})}))}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(pe)&&e.change((e=>{e.removeMarker(pe)}))}}function be(e){return e.getAncestors().find((e=>{return(t=e).is("attributeElement")&&!!t.getCustomProperty("link");var t}))||null}const we=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 ke extends o.Sy{static get requires(){return[r.HG]}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()}_enableTypingHandling(){const e=this.editor,t=new r.uL(e.model,(e=>{if(!function(e){return e.length>4&&" "===e[e.length-1]&&" "!==e[e.length-2]}(e))return;const t=_e(e.substr(0,e.length-1));return t?{url:t}:void 0}));t.on("matched:data",((t,i)=>{const{batch:o,range:n,url:r}=i;if(!o.isTyping)return;const s=n.end.getShiftedBy(-1),a=s.getShiftedBy(-r.length),l=e.model.createRange(a,s);this._applyAutoLink(r,l)})),t.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 t=this.editor.model,{text:i,range:o}=(0,r.Up)(e,t),n=_e(i);if(n){const e=t.createRange(o.end.getShiftedBy(-n.length),o.end);this._applyAutoLink(n,e)}}_applyAutoLink(e,t){const i=this.editor.model,o=M(e,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(e,t){return t.schema.checkAttributeInSelection(t.createSelection(e),"linkHref")}(t,i)&&z(o)&&!function(e){const t=e.start.nodeAfter;return!!t&&t.hasAttribute("linkHref")}(t)&&this._persistAutoLink(o,t)}_persistAutoLink(e,t){const i=this.editor.model,o=this.editor.plugins.get("Delete");i.enqueueChange((n=>{n.setAttribute("linkHref",e,t),i.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))}}function _e(e){const t=we.exec(e);return t?t[2]:null}class ve extends o.Sy{static get requires(){return[ie,fe,ke]}static get pluginName(){return"Link"}}class ye extends o.Sy{static get requires(){return["ImageEditing","ImageUtils",ie]}static get pluginName(){return"LinkImageEditing"}init(){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,o,n)=>{const r=o.viewItem,s=i.findViewImgElement(r);if(!s)return;const a=s.findAncestor((e=>i.isBlockImageView(e)));if(t&&!a)return;if(!n.consumable.consume(r,{attributes:["href"]}))return;const l=r.getAttribute("href");if(!l)return;let c=o.modelCursor.parent;if(!c.is("element","imageBlock")){const e=n.convertItem(s,o.modelCursor);o.modelRange=e.modelRange,o.modelCursor=e.modelCursor,c=o.modelCursor.nodeBefore}c&&c.is("element","imageBlock")&&n.writer.setAttribute("linkHref",l,c)}),{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,o)=>{if(!o.consumable.consume(i.item,e.name))return;const n=o.mapper.toViewElement(i.item),r=o.writer,s=Array.from(n.getChildren()).find((e=>e.is("element","a"))),a=t.findViewImgElement(n),l=a.parent.is("element","picture")?a.parent:a;if(s)i.attributeNewValue?r.setAttribute("href",i.attributeNewValue,s):(r.move(r.createRangeOn(l),r.createPositionAt(n,0)),r.remove(s));else{const e=r.createContainerElement("a",{href:i.attributeNewValue});r.insert(r.createPositionAt(n,0),e),r.move(r.createRangeOn(l),r.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(Ce(i)),e.conversion.for("upcast").add(xe(e,i))}}function Ce(e){return t=>{t.on(`attribute:${e.id}:imageBlock`,((t,i,o)=>{const n=o.mapper.toViewElement(i.item),r=Array.from(n.getChildren()).find((e=>e.is("element","a")));if(r){for(const[t,i]of(0,a.qL)(e.attributes))o.writer.setAttribute(t,i,r);e.classes&&o.writer.addClass(e.classes,r);for(const t in e.styles)o.writer.setStyle(t,e.styles[t],r)}}))}}function xe(e,t){const i=e.plugins.has("ImageInlineEditing"),o=e.plugins.get("ImageUtils");return e=>{e.on("element:a",((e,r,s)=>{const a=r.viewItem,l=o.findViewImgElement(a);if(!l)return;const c=l.findAncestor((e=>o.isBlockImageView(e)));if(i&&!c)return;const d=new n.xO(t._createPattern()).match(a);if(!d)return;if(!s.consumable.consume(a,d.match))return;const u=r.modelCursor.nodeBefore||r.modelCursor.parent;s.writer.setAttribute(t.id,!0,u)}),{priority:"high"})}}class Ae extends o.Sy{static get requires(){return[ie,fe,"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 o=new se.r5(i),n=e.plugins.get("LinkUI"),r=e.commands.get("link");return o.set({isEnabled:!0,label:t("Link image"),icon:ge,keystroke:V,tooltip:!0,isToggleable:!0}),o.bind("isEnabled").to(r,"isEnabled"),o.bind("isOn").to(r,"value",(e=>!!e)),this.listenTo(o,"execute",(()=>{this._isSelectedLinkedImage(e.model.document.selection)?n._addActionsView():n._showUI(!0)})),o}))}_isSelectedLinkedImage(e){const t=e.getSelectedElement();return this.editor.plugins.get("ImageUtils").isImage(t)&&t.hasAttribute("linkHref")}}var Ee=i(4330),Te={attributes:{"data-cke":!0}};Te.setAttributes=G(),Te.insert=q().bind(null,"head"),Te.domAPI=U(),Te.insertStyleElement=Y(),W()(Ee.Z,Te),Ee.Z&&Ee.Z.locals&&Ee.Z.locals;class Se extends o.Sy{static get requires(){return[ye,Ae]}static get pluginName(){return"LinkImage"}}},5114:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AdjacentListsSupport:()=>Ee,DocumentList:()=>Ae,DocumentListEditing:()=>se,DocumentListIndentCommand:()=>T,DocumentListProperties:()=>et,DocumentListPropertiesEditing:()=>He,DocumentListPropertiesUtils:()=>Fe,DocumentListUtils:()=>R,IndentCommand:()=>tt,List:()=>vt,ListEditing:()=>kt,ListProperties:()=>Rt,ListPropertiesEditing:()=>Et,ListPropertiesUI:()=>Qe,ListUI:()=>xe,ListUtils:()=>rt,TodoList:()=>jt,TodoListEditing:()=>Ft,TodoListUI:()=>Zt});var o=i(6854),n=i(5187),r=i(1863),s=i(6553);class a{constructor(e,t){this._startElement=e,this._referenceIndent=e.getAttribute("listIndent"),this._isForward="forward"==t.direction,this._includeSelf=!!t.includeSelf,this._sameAttributes=(0,s.qo)(t.sameAttributes||[]),this._sameIndent=!!t.sameIndent,this._lowerIndent=!!t.lowerIndent,this._higherIndent=!!t.higherIndent}static first(e,t){const i=new this(e,t)[Symbol.iterator]();return(0,s.Ps)(i)}*[Symbol.iterator](){const e=[];for(const{node:t}of l(this._getStartNode(),this._isForward?"forward":"backward")){const i=t.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){e.push(t);continue}}else{if(!this._sameIndent){if(this._higherIndent){e.length&&(yield*e,e.length=0);break}continue}if(this._sameAttributes.some((e=>t.getAttribute(e)!==this._startElement.getAttribute(e))))break}e.length&&(yield*e,e.length=0),yield t}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}function*l(e,t="forward"){const i="forward"==t;let o=null;for(;u(e);)yield{node:e,previous:o},o=e,e=i?e.nextSibling:e.previousSibling}class c{constructor(e){this._listHead=e}[Symbol.iterator](){return l(this._listHead,"forward")}}class d{static next(){return(0,s.hQ)()}}function u(e){return!!e&&e.is("element")&&e.hasAttribute("listItemId")}function h(e,t={}){return[...m(e,{...t,direction:"backward"}),...m(e,{...t,direction:"forward"})]}function m(e,t={}){const i="forward"==t.direction,o=Array.from(new a(e,{...t,includeSelf:i,sameIndent:!0,sameAttributes:"listItemId"}));return i?o:o.reverse()}function g(e){const t=new a(e,{sameIndent:!0,sameAttributes:"listType"}),i=new a(e,{sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward"});return[...Array.from(t).reverse(),...i]}function p(e){return!a.first(e,{sameIndent:!0,sameAttributes:"listItemId"})}function f(e){return!a.first(e,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function b(e,t={}){e=(0,s.qo)(e);const i=!1!==t.withNested,o=new Set;for(const t of e)for(const e of h(t,{higherIndent:i}))o.add(e);return x(o)}function w(e){e=(0,s.qo)(e);const t=new Set;for(const i of e)for(const e of g(i))t.add(e);return x(t)}function k(e,t){const i=m(e,{direction:"forward"}),o=d.next();for(const e of i)t.setAttribute("listItemId",o,e);return i}function _(e,t,i){const o={};for(const[e,i]of t.getAttributes())e.startsWith("list")&&(o[e]=i);const n=m(e,{direction:"forward"});for(const e of n)i.setAttributes(o,e);return n}function v(e,t,{expand:i,indentBy:o=1}={}){e=(0,s.qo)(e);const n=i?b(e):e;for(const e of n){const i=e.getAttribute("listIndent")+o;i<0?y(e,t):t.setAttribute("listIndent",i,e)}return n}function y(e,t){e=(0,s.qo)(e);for(const i of e)for(const e of i.getAttributeKeys())e.startsWith("list")&&t.removeAttribute(e,i);return e}function C(e){if(!e.length)return!1;const t=e[0].getAttribute("listItemId");return!!t&&!e.some((e=>e.getAttribute("listItemId")!=t))}function x(e){return Array.from(e).filter((e=>"$graveyard"!==e.root.rootName)).sort(((e,t)=>e.index-t.index))}function A(e){const t=e.document.selection.getSelectedElement();return t&&e.schema.isObject(t)&&e.schema.isBlock(t)?t:null}function E(e,t,i){return m(t,{direction:"forward"}).pop().index>e.index?_(e,t,i):[]}class T extends o.mY{constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=S(e.document.selection);e.change((e=>{const i=[];C(t)&&!p(t[0])?("forward"==this._direction&&i.push(...v(t,e)),i.push(...k(t[0],e))):"forward"==this._direction?i.push(...v(t,e,{expand:!0})):i.push(...function(e,t){const i=b(e=(0,s.qo)(e)),o=new Set,n=Math.min(...i.map((e=>e.getAttribute("listIndent")))),r=new Map;for(const e of i)r.set(e,a.first(e,{lowerIndent:!0}));for(const e of i){if(o.has(e))continue;o.add(e);const i=e.getAttribute("listIndent")-1;if(i<0)y(e,t);else{if(e.getAttribute("listIndent")==n){const i=E(e,r.get(e),t);for(const e of i)o.add(e);if(i.length)continue}t.setAttribute("listIndent",i,e)}}return x(o)}(t,e));for(const t of i){if(!t.hasAttribute("listType"))continue;const i=a.first(t,{sameIndent:!0});i&&e.setAttribute("listType",i.getAttribute("listType"),t)}this._fireAfterExecute(i)}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_checkEnabled(){let e=S(this.editor.model.document.selection),t=e[0];if(!t)return!1;if("backward"==this._direction)return!0;if(C(e)&&!p(e[0]))return!0;e=b(e),t=e[0];const i=a.first(t,{sameIndent:!0});return!!i&&i.getAttribute("listType")==t.getAttribute("listType")}}function S(e){const t=Array.from(e.getSelectedBlocks()),i=t.findIndex((e=>!u(e)));return-1!=i&&(t.length=i),t}class P extends o.mY{constructor(e,t){super(e),this.type=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document,o=A(t),n=Array.from(i.selection.getSelectedBlocks()).filter((e=>t.schema.checkAttribute(e,"listType"))),r=void 0!==e.forceValue?!e.forceValue:this.value;t.change((e=>{if(r){const t=n[n.length-1],i=m(t,{direction:"forward"}),o=[];i.length>1&&o.push(...k(i[1],e)),o.push(...y(n,e)),o.push(...function(e,t){const i=[];let o=Number.POSITIVE_INFINITY;for(const{node:n}of l(e.nextSibling,"forward")){const e=n.getAttribute("listIndent");if(0==e)break;e<o&&(o=e);const r=e-o;t.setAttribute("listIndent",r,n),i.push(n)}return i}(t,e)),this._fireAfterExecute(o)}else if((o||i.selection.isCollapsed)&&u(n[0])){const t=g(o||n[0]);for(const i of t)e.setAttribute("listType",this.type,i);this._fireAfterExecute(t)}else{const t=[];for(const i of n)if(i.hasAttribute("listType"))for(const o of b(i,{withNested:!1}))o.getAttribute("listType")!=this.type&&(e.setAttribute("listType",this.type,o),t.push(o));else e.setAttributes({listIndent:0,listItemId:d.next(),listType:this.type},i),t.push(i);this._fireAfterExecute(t)}}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_getValue(){const e=this.editor.model.document.selection,t=Array.from(e.getSelectedBlocks());if(!t.length)return!1;for(const e of t)if(e.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const e=this.editor.model.document.selection,t=this.editor.model.schema,i=Array.from(e.getSelectedBlocks());if(!i.length)return!1;if(this.value)return!0;for(const e of i)if(t.checkAttribute(e,"listType"))return!0;return!1}}class I extends o.mY{constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:e=!1}={}){const t=this.editor.model,i=t.document.selection,o=[];t.change((n=>{const{firstElement:r,lastElement:s}=this._getMergeSubjectElements(i,e),l=r.getAttribute("listIndent")||0,c=s.getAttribute("listIndent"),d=s.getAttribute("listItemId");if(l!=c){const e=(u=s,Array.from(new a(u,{direction:"forward",higherIndent:!0})));o.push(...v([s,...e],n,{indentBy:l-c,expand:l<c}))}var u;if(e){let e=i;i.isCollapsed&&(e=n.createSelection(n.createRange(n.createPositionAt(r,"end"),n.createPositionAt(s,0)))),t.deleteContent(e,{doNotResetEntireContent:i.isCollapsed});const a=e.getLastPosition().parent,l=a.nextSibling;o.push(a),l&&l!==s&&l.getAttribute("listItemId")==d&&o.push(..._(l,a,n))}else o.push(..._(s,r,n));this._fireAfterExecute(o)}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_checkEnabled(){const e=this.editor.model,t=e.document.selection,i=A(e);if(t.isCollapsed||i){const e=i||t.getFirstPosition().parent;if(!u(e))return!1;const o="backward"==this._direction?e.previousSibling:e.nextSibling;if(!o)return!1;if(C([e,o]))return!1}else{const e=t.getLastPosition(),i=t.getFirstPosition();if(e.parent===i.parent)return!1;if(!u(e.parent))return!1}return!0}_getMergeSubjectElements(e,t){const i=A(this.editor.model);let o,n;if(e.isCollapsed||i){const r=i||e.getFirstPosition().parent,s=p(r);"backward"==this._direction?(n=r,o=s&&!t?a.first(r,{sameIndent:!0,lowerIndent:!0}):r.previousSibling):(o=r,n=r.nextSibling)}else o=e.getFirstPosition().parent,n=e.getLastPosition().parent;return{firstElement:o,lastElement:n}}}class V extends o.mY{constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){this.editor.model.change((e=>{const t=k(this._getStartBlock(),e);this._fireAfterExecute(t)}))}_fireAfterExecute(e){this.fire("afterExecute",x(new Set(e)))}_checkEnabled(){const e=this.editor.model.document.selection,t=this._getStartBlock();return e.isCollapsed&&u(t)&&!p(t)}_getStartBlock(){const e=this.editor.model.document.selection.getFirstPosition().parent;return"before"==this._direction?e:e.nextSibling}}class R extends o.Sy{static get pluginName(){return"DocumentListUtils"}expandListBlocksToCompleteList(e){return w(e)}isFirstBlockOfListItem(e){return p(e)}isListItemBlock(e){return u(e)}expandListBlocksToCompleteItems(e,t={}){return b(e,t)}}var O=i(3291);function B(e){return e.is("element","ol")||e.is("element","ul")}function M(e){return e.is("element","li")}function z(e){let t=0,i=e.parent;for(;i;){if(M(i))t++;else{const e=i.previousSibling;e&&M(e)&&t++}i=i.parent}return t}function N(e,t,i,o=F(i,t)){return e.createAttributeElement(L(i),null,{priority:2*t/100-100,id:o})}function D(e,t,i){return e.createAttributeElement("li",null,{priority:(2*t+1)/100-100,id:i})}function L(e){return"numbered"==e?"ol":"ul"}function F(e,t){return`list-${e}-${t}`}function Z(e,t){const i=e.nodeBefore;if(u(i)){let e=i;for(const{node:i}of l(e,"backward"))if(e=i,t.has(e))return;t.set(i,e)}else{const i=e.nodeAfter;u(i)&&t.set(i,i)}}function H(){return(e,t,i)=>{if(!i.consumable.test(t.viewItem,{name:!0}))return;const o=new O.yj(t.viewItem.document);for(const e of Array.from(t.viewItem.getChildren()))M(e)||B(e)||o.remove(e)}}function W(e,{dataPipeline:t}={}){return(i,{writer:o})=>{if(!j(i,e))return null;if(!t)return o.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const n=o.createContainerElement("p");return o.setCustomProperty("dataPipeline:transparentRendering",!0,n),n}}function j(e,t,i=h(e)){if(!u(e))return!1;for(const i of e.getAttributeKeys())if(!i.startsWith("selection:")&&!t.includes(i))return!1;return i.length<2}var U=i(3379),$=i.n(U),q=i(9037),K=i.n(q),G=i(569),J=i.n(G),Y=i(8575),Q=i.n(Y),X=i(9216),ee=i.n(X),te=i(3190),ie={attributes:{"data-cke":!0}};ie.setAttributes=Q(),ie.insert=J().bind(null,"head"),ie.domAPI=K(),ie.insertStyleElement=ee(),$()(te.Z,ie),te.Z&&te.Z.locals&&te.Z.locals;var oe=i(4784),ne={attributes:{"data-cke":!0}};ne.setAttributes=Q(),ne.insert=J().bind(null,"head"),ne.domAPI=K(),ne.insertStyleElement=ee(),$()(oe.Z,ne),oe.Z&&oe.Z.locals&&oe.Z.locals;const re=["listType","listIndent","listItemId"];class se extends o.Sy{constructor(){super(...arguments),this._downcastStrategies=[]}static get pluginName(){return"DocumentListEditing"}static get requires(){return[r.C,n.HG,R]}init(){const e=this.editor,t=e.model;if(e.plugins.has("ListEditing"))throw new s.Bb("document-list-feature-conflict",this,{conflictPlugin:"ListEditing"});t.schema.extend("$container",{allowAttributes:re}),t.schema.extend("$block",{allowAttributes:re}),t.schema.extend("$blockObject",{allowAttributes:re});for(const e of re)t.schema.setAttributeProperties(e,{copyOnReplace:!0});e.commands.add("numberedList",new P(e,"numbered")),e.commands.add("bulletedList",new P(e,"bulleted")),e.commands.add("indentList",new T(e,"forward")),e.commands.add("outdentList",new T(e,"backward")),e.commands.add("mergeListItemBackward",new I(e,"backward")),e.commands.add("mergeListItemForward",new I(e,"forward")),e.commands.add("splitListItemBefore",new V(e,"before")),e.commands.add("splitListItemAfter",new V(e,"after")),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration()}afterInit(){const e=this.editor.commands,t=e.get("indent"),i=e.get("outdent");t&&t.registerChildCommand(e.get("indentList"),{priority:"high"}),i&&i.registerChildCommand(e.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(e){this._downcastStrategies.push(e)}_getListAttributeNames(){return[...re,...this._downcastStrategies.map((e=>e.attributeName))]}_setupDeleteIntegration(){const e=this.editor,t=e.commands.get("mergeListItemBackward"),i=e.commands.get("mergeListItemForward");this.listenTo(e.editing.view.document,"delete",((o,n)=>{const r=e.model.document.selection;A(e.model)||e.model.change((()=>{const s=r.getFirstPosition();if(r.isCollapsed&&"backward"==n.direction){if(!s.isAtStart)return;const i=s.parent;if(!u(i))return;if(a.first(i,{sameAttributes:"listType",sameIndent:!0})||0!==i.getAttribute("listIndent")){if(!t.isEnabled)return;t.execute({shouldMergeOnBlocksContentLevel:ae(e.model,"backward")})}else f(i)||e.execute("splitListItemAfter"),e.execute("outdentList");n.preventDefault(),o.stop()}else{if(r.isCollapsed&&!r.getLastPosition().isAtEnd)return;if(!i.isEnabled)return;i.execute({shouldMergeOnBlocksContentLevel:ae(e.model,"forward")}),n.preventDefault(),o.stop()}}))}),{context:"li"})}_setupEnterIntegration(){const e=this.editor,t=e.model,i=e.commands,o=i.get("enter");this.listenTo(e.editing.view.document,"enter",((i,o)=>{const n=t.document,r=n.selection.getFirstPosition().parent;if(n.selection.isCollapsed&&u(r)&&r.isEmpty&&!o.isSoft){const t=p(r),n=f(r);t&&n?(e.execute("outdentList"),o.preventDefault(),i.stop()):t&&!n?(e.execute("splitListItemAfter"),o.preventDefault(),i.stop()):n&&(e.execute("splitListItemBefore"),o.preventDefault(),i.stop())}}),{context:"li"}),this.listenTo(o,"afterExecute",(()=>{const t=i.get("splitListItemBefore");t.refresh(),t.isEnabled&&2===h(e.model.document.selection.getLastPosition().parent).length&&t.execute()}))}_setupTabIntegration(){const e=this.editor;this.listenTo(e.editing.view.document,"tab",((t,i)=>{const o=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())}),{context:"li"})}_setupConversion(){const e=this.editor,t=e.model,i=this._getListAttributeNames();e.conversion.for("upcast").elementToElement({view:"li",model:"paragraph"}).add((e=>{e.on("element:li",((e,t,i)=>{const{writer:o,schema:n}=i;if(!t.modelRange)return;const r=Array.from(t.modelRange.getItems({shallow:!0})).filter((e=>n.checkAttribute(e,"listItemId")));if(!r.length)return;const s={listItemId:d.next(),listIndent:z(t.viewItem),listType:t.viewItem.parent&&t.viewItem.parent.is("element","ol")?"numbered":"bulleted"};for(const e of r)u(e)||o.setAttributes(s,e);r.length>1&&r[1].getAttribute("listItemId")!=s.listItemId&&i.keepEmptyElement(r[0])})),e.on("element:ul",H(),{priority:"high"}),e.on("element:ol",H(),{priority:"high"})})),e.conversion.for("editingDowncast").elementToElement({model:"paragraph",view:W(i),converterPriority:"high"}),e.conversion.for("dataDowncast").elementToElement({model:"paragraph",view:W(i,{dataPipeline:!0}),converterPriority:"high"}),e.conversion.for("downcast").add((e=>{e.on("attribute",function(e,t,i){const o=function(e){return(t,i)=>{const o=[];for(const i of e)t.hasAttribute(i)&&o.push(`attribute:${i}`);return!!o.every((e=>!1!==i.test(t,e)))&&(o.forEach((e=>i.consume(t,e))),!0)}}(e);return(n,r,s)=>{const{writer:l,mapper:c,consumable:d}=s,u=r.item;if(!e.includes(r.attributeKey))return;if(!o(u,d))return;const h=function(e,t,i){const o=i.createRangeOn(e);return t.toViewRange(o).getTrimmed().getContainedElement()}(u,c,i);!function(e,t){let i=e.parent;for(;i.is("attributeElement")&&["ul","ol","li"].includes(i.name);){const o=i.parent;t.unwrap(t.createRangeOn(e),i),i=o}}(h,l),function(e,t,i,o){if(!e.hasAttribute("listIndent"))return;const n=e.getAttribute("listIndent");let r=e;for(let e=n;e>=0;e--){const n=D(o,e,r.getAttribute("listItemId")),s=N(o,e,r.getAttribute("listType"));for(const e of i)r.hasAttribute(e.attributeName)&&e.setAttributeOnDowncast(o,r.getAttribute(e.attributeName),"list"==e.scope?s:n);if(t=o.wrap(t,n),t=o.wrap(t,s),0==e)break;if(r=a.first(r,{lowerIndent:!0}),!r)break}}(u,l.createRangeOn(h),t,l)}}(i,this._downcastStrategies,t))})),this.listenTo(t.document,"change:data",function(e,t,i,o){return()=>{const o=e.document.differ.getChanges(),s=[],a=new Map,l=new Set;for(const e of o)if("insert"==e.type&&"$text"!=e.name)Z(e.position,a),e.attributes.has("listItemId")?l.add(e.position.nodeAfter):Z(e.position.getShiftedBy(e.length),a);else if("remove"==e.type&&e.attributes.has("listItemId"))Z(e.position,a);else if("attribute"==e.type){const t=e.range.start.nodeAfter;i.includes(e.attributeKey)?(Z(e.range.start,a),null===e.attributeNewValue?(Z(e.range.start.getShiftedBy(1),a),r(t)&&s.push(t)):l.add(t)):u(t)&&r(t)&&s.push(t)}for(const e of a.values())s.push(...n(e,l));for(const e of new Set(s))t.reconvertItem(e)};function n(e,t){const o=[],n=new Set,a=[];for(const{node:c,previous:d}of l(e,"forward")){if(n.has(c))continue;const e=c.getAttribute("listIndent");d&&e<d.getAttribute("listIndent")&&(a.length=e+1),a[e]=Object.fromEntries(Array.from(c.getAttributes()).filter((([e])=>i.includes(e))));const l=m(c,{direction:"forward"});for(const e of l)n.add(e),(r(e,l)||s(e,a,t))&&o.push(e)}return o}function r(e,o){if(!e.is("element","paragraph"))return!1;const n=t.mapper.toViewElement(e);if(!n)return!1;const r=j(e,i,o);return!(!r||!n.is("element","p"))||!(r||!n.is("element","span"))}function s(e,i,n){if(n.has(e))return!1;const r=t.mapper.toViewElement(e);let s=i.length-1;for(let e=r.parent;!e.is("editableElement");e=e.parent){const t=M(e),n=B(e);if(!n&&!t)continue;const r="checkAttributes:"+(t?"item":"list");if(o.fire(r,{viewElement:e,modelAttributes:i[s]}))break;if(n&&(s--,s<0))return!1}return!0}}(t,e.editing,i,this),{priority:"high"}),this.on("checkAttributes:item",((e,{viewElement:t,modelAttributes:i})=>{t.id!=i.listItemId&&(e.return=!0,e.stop())})),this.on("checkAttributes:list",((e,{viewElement:t,modelAttributes:i})=>{t.name==L(i.listType)&&t.id==F(i.listType,i.listIndent)||(e.return=!0,e.stop())}))}_setupModelPostFixing(){const e=this.editor.model,t=this._getListAttributeNames();e.document.registerPostFixer((i=>function(e,t,i,o){const n=e.document.differ.getChanges(),r=new Map;let s=!1;for(const o of n)if("insert"==o.type&&"$text"!=o.name){const n=o.position.nodeAfter;if(!e.schema.checkAttribute(n,"listItemId"))for(const e of Array.from(n.getAttributeKeys()))i.includes(e)&&(t.removeAttribute(e,n),s=!0);Z(o.position,r),o.attributes.has("listItemId")||Z(o.position.getShiftedBy(o.length),r);for(const{item:t,previousPosition:i}of e.createRangeIn(n))u(t)&&Z(i,r)}else"remove"==o.type?Z(o.position,r):"attribute"==o.type&&i.includes(o.attributeKey)&&(Z(o.range.start,r),null===o.attributeNewValue&&Z(o.range.start.getShiftedBy(1),r));const a=new Set;for(const e of r.values())s=o.fire("postFixer",{listNodes:new c(e),listHead:e,writer:t,seenIds:a})||s;return s}(e,i,t,this))),this.on("postFixer",((e,{listNodes:t,writer:i})=>{e.return=function(e,t){let i=0,o=-1,n=null,r=!1;for(const{node:s}of e){const e=s.getAttribute("listIndent");if(e>i){let a;null===n?(n=e-i,a=i):(n>e&&(n=e),a=e-n),a>o+1&&(a=o+1),t.setAttribute("listIndent",a,s),r=!0,o=a}else n=null,i=e+1,o=e}return r}(t,i)||e.return}),{priority:"high"}),this.on("postFixer",((e,{listNodes:t,writer:i,seenIds:o})=>{e.return=function(e,t,i){const o=new Set;let n=!1;for(const{node:r}of e){if(o.has(r))continue;let e=r.getAttribute("listType"),s=r.getAttribute("listItemId");t.has(s)&&(s=d.next()),t.add(s);for(const t of m(r,{direction:"forward"}))o.add(t),t.getAttribute("listType")!=e&&(s=d.next(),e=t.getAttribute("listType")),t.getAttribute("listItemId")!=s&&(i.setAttribute("listItemId",s,t),n=!0)}return n}(t,o,i)||e.return}),{priority:"high"})}_setupClipboardIntegration(){const e=this.editor.model;this.listenTo(e,"insertContent",function(e){return(t,[i,o])=>{const n=i.is("documentFragment")?i.getChild(0):i;if(!u(n))return;let r;r=o?e.createSelection(o):e.document.selection;const s=r.getFirstPosition();let a=null;if(u(s.parent)?a=s.parent:u(s.nodeBefore)&&(a=s.nodeBefore),!a)return;const c=a.getAttribute("listIndent")-n.getAttribute("listIndent");c<=0||e.change((e=>{for(const{node:t}of l(n,"forward"))e.setAttribute("listIndent",t.getAttribute("listIndent")+c,t)}))}}(e),{priority:"high"}),this.listenTo(e,"getSelectedContent",((t,[i])=>{C(Array.from(i.getSelectedBlocks()))&&e.change((e=>y(Array.from(t.return.getChildren()),e)))}))}}function ae(e,t){const i=e.document.selection;if(!i.isCollapsed)return!A(e);if("forward"===t)return!0;const o=i.getFirstPosition().parent,n=o.previousSibling;return!e.schema.isObject(n)&&(!!n.isEmpty||C([o,n]))}var le=i(7095);function ce(e,t){const i=t.mapper,o=t.writer,n="numbered"==e.getAttribute("listType")?"ol":"ul",r=function(e){const t=e.createContainerElement("li");return t.getFillerOffset=ve,t}(o),s=o.createContainerElement(n,null);return o.insert(o.createPositionAt(s,0),r),i.bindElements(e,r),r}function de(e,t,i,o){const n=t.parent,r=i.mapper,s=i.writer;let a=r.toViewPosition(o.createPositionBefore(e));const l=me(e.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:e.getAttribute("listIndent")}),c=e.previousSibling;if(l&&l.getAttribute("listIndent")==e.getAttribute("listIndent")){const e=r.toViewElement(l);a=s.breakContainer(s.createPositionAfter(e))}else if(c&&"listItem"==c.name){a=r.toViewPosition(o.createPositionAt(c,"end"));const e=r.findMappedViewAncestor(a),t=pe(e);a=t?s.createPositionBefore(t):s.createPositionAt(e,"end")}else a=r.toViewPosition(o.createPositionBefore(e));if(a=he(a),s.insert(a,n),c&&"listItem"==c.name){const e=r.toViewElement(c),i=s.createRange(s.createPositionAt(e,0),a).getWalker({ignoreElementEnd:!0});for(const e of i)if(e.item.is("element","li")){const o=s.breakContainer(s.createPositionBefore(e.item)),n=e.item.parent,r=s.createPositionAt(t,"end");ue(s,r.nodeBefore,r.nodeAfter),s.move(s.createRangeOn(n),r),i._position=o}}else{const i=n.nextSibling;if(i&&(i.is("element","ul")||i.is("element","ol"))){let o=null;for(const t of i.getChildren()){const i=r.toModelElement(t);if(!(i&&i.getAttribute("listIndent")>e.getAttribute("listIndent")))break;o=t}o&&(s.breakContainer(s.createPositionAfter(o)),s.move(s.createRangeOn(o.parent),s.createPositionAt(t,"end")))}}ue(s,n,n.nextSibling),ue(s,n.previousSibling,n)}function ue(e,t,i){return!t||!i||"ul"!=t.name&&"ol"!=t.name||t.name!=i.name||t.getAttribute("class")!==i.getAttribute("class")?null:e.mergeContainers(e.createPositionAfter(t))}function he(e){return e.getLastMatchingPosition((e=>e.item.is("uiElement")))}function me(e,t){const i=!!t.sameIndent,o=!!t.smallerIndent,n=t.listIndent;let r=e;for(;r&&"listItem"==r.name;){const e=r.getAttribute("listIndent");if(i&&n==e||o&&n>e)return r;r="forward"===t.direction?r.nextSibling:r.previousSibling}return null}function ge(e,t,i,o){e.ui.componentFactory.add(t,(n=>{const r=e.commands.get(t),s=new le.r5(n);return s.set({label:i,icon:o,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.on("execute",(()=>{e.execute(t),e.editing.view.focus()})),s}))}function pe(e){for(const t of e.getChildren())if("ul"==t.name||"ol"==t.name)return t;return null}function fe(e,t){const i=[],o=e.parent,n={ignoreElementEnd:!1,startPosition:e,shallow:!0,direction:t},r=o.getAttribute("listIndent"),s=[...new O.Po(n)].filter((e=>e.item.is("element"))).map((e=>e.item));for(const e of s){if(!e.is("element","listItem"))break;if(e.getAttribute("listIndent")<r)break;if(!(e.getAttribute("listIndent")>r)){if(e.getAttribute("listType")!==o.getAttribute("listType"))break;if(e.getAttribute("listStyle")!==o.getAttribute("listStyle"))break;if(e.getAttribute("listReversed")!==o.getAttribute("listReversed"))break;if(e.getAttribute("listStart")!==o.getAttribute("listStart"))break;"backward"===t?i.unshift(e):i.push(e)}}return i}function be(e){let t=[...e.document.selection.getSelectedBlocks()].filter((e=>e.is("element","listItem"))).map((t=>{const i=e.change((e=>e.createPositionAt(t,0)));return[...fe(i,"backward"),...fe(i,"forward")]})).flat();return t=[...new Set(t)],t}const we=["disc","circle","square"],ke=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function _e(e){return we.includes(e)?"bulleted":ke.includes(e)?"numbered":null}function ve(){const e=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||e?0:O.YG.call(this)}const ye='<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>',Ce='<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>';class xe extends o.Sy{static get pluginName(){return"ListUI"}init(){const e=this.editor.t;ge(this.editor,"numberedList",e("Numbered List"),ye),ge(this.editor,"bulletedList",e("Bulleted List"),Ce)}}class Ae extends o.Sy{static get requires(){return[se,xe]}static get pluginName(){return"DocumentList"}}class Ee extends o.Sy{static get pluginName(){return"AdjacentListsSupport"}init(){const e=this.editor;e.model.schema.register("listSeparator",{allowWhere:"$block",isBlock:!0}),e.conversion.for("upcast").add((e=>{e.on("element:ol",Te()),e.on("element:ul",Te())})).elementToElement({model:"listSeparator",view:"ck-list-separator"}),e.conversion.for("editingDowncast").elementToElement({model:"listSeparator",view:{name:"div",classes:["ck-list-separator","ck-hidden"]}}),e.conversion.for("dataDowncast").elementToElement({model:"listSeparator",view:(e,t)=>{const i=t.writer.createContainerElement("ck-list-separator");return t.writer.setCustomProperty("dataPipeline:transparentRendering",!0,i),i.getFillerOffset=()=>null,i}})}}function Te(){return(e,t,i)=>{const o=t.viewItem,n=o.nextSibling;if(!n)return;if(o.name!==n.name)return;t.modelRange||Object.assign(t,i.convertChildren(t.viewItem,t.modelCursor));const r=i.writer,s=r.createElement("listSeparator");if(!i.safeInsert(s,t.modelCursor))return;const a=i.getSplitParts(s);t.modelRange=r.createRange(t.modelRange.start,r.createPositionAfter(a[a.length-1])),i.updateConversionResult(s,t)}}class Se extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute({startIndex:e=1}={}){const t=this.editor.model,i=t.document;let o=Array.from(i.selection.getSelectedBlocks()).filter((e=>u(e)&&"numbered"==e.getAttribute("listType")));o=w(o),t.change((t=>{for(const i of o)t.setAttribute("listStart",e>=0?e:1,i)}))}_getValue(){const e=this.editor.model.document,t=(0,s.Ps)(e.selection.getSelectedBlocks());return t&&u(t)&&"numbered"==t.getAttribute("listType")?t.getAttribute("listStart"):null}}const Pe={},Ie={},Ve={},Re=[{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:e,typeAttribute:t,listType:i}of Re)Pe[e]=i,Ie[e]=t,t&&(Ve[t]=e);function Oe(){return Re.map((e=>e.listStyle))}function Be(e){return Pe[e]||null}function Me(e){return Ve[e]||null}function ze(e){return Ie[e]||null}class Ne extends o.mY{constructor(e,t,i){super(e),this.defaultType=t,this._supportedTypes=i}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document;t.change((t=>{this._tryToConvertItemsToList(e);let o=Array.from(i.selection.getSelectedBlocks()).filter((e=>e.hasAttribute("listType")));if(o.length){o=w(o);for(const i of o)t.setAttribute("listStyle",e.type||this.defaultType,i)}}))}isStyleTypeSupported(e){return!this._supportedTypes||this._supportedTypes.includes(e)}_getValue(){const e=(0,s.Ps)(this.editor.model.document.selection.getSelectedBlocks());return u(e)?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,t=e.commands.get("numberedList"),i=e.commands.get("bulletedList");return t.isEnabled||i.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const t=Be(e.type);if(!t)return;const i=this.editor,o=`${t}List`;i.commands.get(o).value||i.execute(o)}}class De extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute(e={}){const t=this.editor.model,i=t.document;let o=Array.from(i.selection.getSelectedBlocks()).filter((e=>u(e)&&"numbered"==e.getAttribute("listType")));o=w(o),t.change((t=>{for(const i of o)t.setAttribute("listReversed",!!e.reversed,i)}))}_getValue(){const e=this.editor.model.document,t=(0,s.Ps)(e.selection.getSelectedBlocks());return u(t)&&"numbered"==t.getAttribute("listType")?t.getAttribute("listReversed"):null}}function Le(e){return(t,i,o)=>{const{writer:n,schema:r,consumable:s}=o;if(!1===s.test(i.viewItem,e.viewConsumables))return;i.modelRange||Object.assign(i,o.convertChildren(i.viewItem,i.modelCursor));let a=!1;for(const t of i.modelRange.getItems({shallow:!0}))r.checkAttribute(t,e.attributeName)&&e.appliesToListItem(t)&&(t.hasAttribute(e.attributeName)||(n.setAttribute(e.attributeName,e.getAttributeOnUpcast(i.viewItem),t),a=!0));a&&s.consume(i.viewItem,e.viewConsumables)}}class Fe extends o.Sy{static get pluginName(){return"DocumentListPropertiesUtils"}getAllSupportedStyleTypes(){return Oe()}getListTypeFromListStyleType(e){return Be(e)}getListStyleTypeFromTypeAttribute(e){return Me(e)}getTypeAttributeFromListStyleType(e){return ze(e)}}const Ze="default";class He extends o.Sy{static get requires(){return[se,Fe]}static get pluginName(){return"DocumentListPropertiesEditing"}constructor(e){super(e),e.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const e=this.editor,t=e.model,i=e.plugins.get(se),o=function(e){const t=[];if(e.styles){const i="object"==typeof e.styles&&e.styles.useAttribute;t.push({attributeName:"listStyle",defaultValue:Ze,viewConsumables:{styles:"list-style-type"},addCommand(e){let t=Oe();i&&(t=t.filter((e=>!!ze(e)))),e.commands.add("listStyle",new Ne(e,Ze,t))},appliesToListItem:()=>!0,hasValidAttribute(e){if(!e.hasAttribute("listStyle"))return!1;const t=e.getAttribute("listStyle");return t==Ze||Be(t)==e.getAttribute("listType")},setAttributeOnDowncast(e,t,o){if(t&&t!==Ze){if(!i)return void e.setStyle("list-style-type",t,o);{const i=ze(t);if(i)return void e.setAttribute("type",i,o)}}e.removeStyle("list-style-type",o),e.removeAttribute("type",o)},getAttributeOnUpcast(e){const t=e.getStyle("list-style-type");if(t)return t;const i=e.getAttribute("type");return i?Me(i):Ze}})}return e.reversed&&t.push({attributeName:"listReversed",defaultValue:!1,viewConsumables:{attributes:"reversed"},addCommand(e){e.commands.add("listReversed",new De(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),hasValidAttribute(e){return this.appliesToListItem(e)==e.hasAttribute("listReversed")},setAttributeOnDowncast(e,t,i){t?e.setAttribute("reversed","reversed",i):e.removeAttribute("reversed",i)},getAttributeOnUpcast:e=>e.hasAttribute("reversed")}),e.startIndex&&t.push({attributeName:"listStart",defaultValue:1,viewConsumables:{attributes:"start"},addCommand(e){e.commands.add("listStart",new Se(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),hasValidAttribute(e){return this.appliesToListItem(e)==e.hasAttribute("listStart")},setAttributeOnDowncast(e,t,i){0==t||t>1?e.setAttribute("start",t,i):e.removeAttribute("start",i)},getAttributeOnUpcast(e){const t=e.getAttribute("start");return t>=0?t:1}}),t}(e.config.get("list.properties"));for(const n of o)n.addCommand(e),t.schema.extend("$container",{allowAttributes:n.attributeName}),t.schema.extend("$block",{allowAttributes:n.attributeName}),t.schema.extend("$blockObject",{allowAttributes:n.attributeName}),i.registerDowncastStrategy({scope:"list",attributeName:n.attributeName,setAttributeOnDowncast(e,t,i){n.setAttributeOnDowncast(e,t,i)}});e.conversion.for("upcast").add((e=>{for(const t of o)e.on("element:ol",Le(t)),e.on("element:ul",Le(t))})),i.on("checkAttributes:list",((e,{viewElement:t,modelAttributes:i})=>{for(const n of o)n.getAttributeOnUpcast(t)!=i[n.attributeName]&&(e.return=!0,e.stop())})),this.listenTo(e.commands.get("indentList"),"afterExecute",((e,i)=>{t.change((e=>{for(const t of i)for(const i of o)i.appliesToListItem(t)&&e.setAttribute(i.attributeName,i.defaultValue,t)}))})),i.on("postFixer",((e,{listNodes:t,writer:i})=>{for(const{node:n}of t)for(const t of o)t.hasValidAttribute(n)||(t.appliesToListItem(n)?i.setAttribute(t.attributeName,t.defaultValue,n):i.removeAttribute(t.attributeName,n),e.return=!0)})),i.on("postFixer",((e,{listNodes:t,writer:i})=>{const n=[];for(const{node:r,previous:s}of t){if(!s)continue;const t=r.getAttribute("listIndent"),a=s.getAttribute("listIndent");let l=null;if(t>a?n[a]=s:t<a?(l=n[t],n.length=t):l=s,l&&l.getAttribute("listType")==r.getAttribute("listType"))for(const t of o){const{attributeName:o}=t;if(!t.appliesToListItem(r))continue;const n=l.getAttribute(o);r.getAttribute(o)!=n&&(i.setAttribute(o,n,r),e.return=!0)}}}))}}var We=i(8217),je=i(5782),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Q(),Ue.insert=J().bind(null,"head"),Ue.domAPI=K(),Ue.insertStyleElement=ee(),$()(je.Z,Ue),je.Z&&je.Z.locals&&je.Z.locals;class $e extends le.G7{constructor(e,t){super(e);const i=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",i.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:i.if("isCollapsed","hidden"),"aria-labelledby":i.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}_createButtonView(){const e=new le.r5(this.locale),t=e.bindTemplate;return e.set({withText:!0,icon:We.Z}),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}}var qe=i(9938),Ke={attributes:{"data-cke":!0}};Ke.setAttributes=Q(),Ke.insert=J().bind(null,"head"),Ke.domAPI=K(),Ke.insertStyleElement=ee(),$()(qe.Z,Ke),qe.Z&&qe.Z.locals&&qe.Z.locals;class Ge extends le.G7{constructor(e,{enabledProperties:t,styleButtonViews:i,styleGridAriaLabel:o}){super(e),this.stylesView=null,this.additionalPropertiesCollapsibleView=null,this.startIndexFieldView=null,this.reversedSwitchButtonView=null,this.focusTracker=new s.Rh,this.keystrokes=new s.VD,this.focusables=new le.vX;const n=["ck","ck-list-properties"];this.children=this.createCollection(),this.focusCycler=new le.I0({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),t.styles?(this.stylesView=this._createStylesView(i,o),this.children.add(this.stylesView)):n.push("ck-list-properties_without-styles"),(t.startIndex||t.reversed)&&(this._addNumberedListPropertyViews(t),n.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:n},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 e of this.stylesView.children)this.stylesView.focusTracker.add(e.element);(0,le.IJ)({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>s.CO.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 e=e=>e.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}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(e,t){const i=new le.G7(this.locale);return i.children=i.createCollection(),i.children.addMany(e),i.setTemplate({tag:"div",attributes:{"aria-label":t,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 s.Rh,i.keystrokes=new s.VD,i.render(),i.keystrokes.listenTo(i.element),i}_addNumberedListPropertyViews(e){const t=this.locale.t,i=[];e.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),i.push(this.startIndexFieldView)),e.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),i.push(this.reversedSwitchButtonView)),e.styles?(this.additionalPropertiesCollapsibleView=new $e(this.locale,i),this.additionalPropertiesCollapsibleView.set({label:t("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(i,"isEnabled",((...e)=>e.some((e=>e)))),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",((e,t,i)=>{i||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)})),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(i)}_createStartIndexField(){const e=this.locale.t,t=new le.KP(this.locale,le.sh);return t.set({label:e("Start at"),class:"ck-numbered-list-properties__start-index"}),t.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),t.fieldView.on("input",(()=>{const i=t.fieldView.element,o=i.valueAsNumber;Number.isNaN(o)||(i.checkValidity()?this.fire("listStart",{startIndex:o}):t.errorText=e("Start index must be greater than 0."))})),t}_createReversedSwitchButton(){const e=this.locale.t,t=new le.BM(this.locale);return t.set({withText:!0,label:e("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),t.delegate("execute").to(this,"listReversed"),t}}var Je=i(2591),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=Q(),Ye.insert=J().bind(null,"head"),Ye.domAPI=K(),Ye.insertStyleElement=ee(),$()(Je.Z,Ye),Je.Z&&Je.Z.locals&&Je.Z.locals;class Qe extends o.Sy{static get pluginName(){return"ListPropertiesUI"}init(){const e=this.editor,t=e.locale.t,i=e.config.get("list.properties");i.styles&&e.ui.componentFactory.add("bulletedList",Xe({editor:e,parentCommandName:"bulletedList",buttonLabel:t("Bulleted List"),buttonIcon:Ce,styleGridAriaLabel:t("Bulleted list styles toolbar"),styleDefinitions:[{label:t("Toggle the disc list style"),tooltip:t("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:t("Toggle the circle list style"),tooltip:t("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:t("Toggle the square list style"),tooltip:t("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>'}]})),(i.styles||i.startIndex||i.reversed)&&e.ui.componentFactory.add("numberedList",Xe({editor:e,parentCommandName:"numberedList",buttonLabel:t("Numbered List"),buttonIcon:ye,styleGridAriaLabel:t("Numbered list styles toolbar"),styleDefinitions:[{label:t("Toggle the decimal list style"),tooltip:t("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:t("Toggle the decimal with leading zero list style"),tooltip:t("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:t("Toggle the lower–roman list style"),tooltip:t("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:t("Toggle the upper–roman list style"),tooltip:t("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:t("Toggle the lower–latin list style"),tooltip:t("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:t("Toggle the upper–latin list style"),tooltip:t("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>'}]}))}}function Xe({editor:e,parentCommandName:t,buttonLabel:i,buttonIcon:o,styleGridAriaLabel:n,styleDefinitions:r}){const s=e.commands.get(t);return a=>{const l=(0,le.t9)(a,le.Rm),c=l.buttonView;return l.bind("isEnabled").to(s),l.class="ck-list-styles-dropdown",c.on("execute",(()=>{e.execute(t),e.editing.view.focus()})),c.set({label:i,icon:o,tooltip:!0,isToggleable:!0}),c.bind("isOn").to(s,"value",(e=>!!e)),l.once("change:isOpen",(()=>{const i=function({editor:e,dropdownView:t,parentCommandName:i,styleDefinitions:o,styleGridAriaLabel:n}){const r=e.locale,s=e.config.get("list.properties");let a=null;if("numberedList"!=i&&(s.startIndex=!1,s.reversed=!1),s.styles){const t=e.commands.get("listStyle"),n=function({editor:e,listStyleCommand:t,parentCommandName:i}){const o=e.locale,n=e.commands.get(i);return({label:i,type:r,icon:s,tooltip:a})=>{const l=new le.r5(o);return l.set({label:i,icon:s,tooltip:a}),t.on("change:value",(()=>{l.isOn=t.value===r})),l.on("execute",(()=>{n.value?t.value!==r?e.execute("listStyle",{type:r}):e.execute("listStyle",{type:t.defaultType}):e.model.change((()=>{e.execute("listStyle",{type:r})}))})),l}}({editor:e,parentCommandName:i,listStyleCommand:t}),r="function"==typeof t.isStyleTypeSupported?e=>t.isStyleTypeSupported(e.type):()=>!0;a=o.filter(r).map(n)}const l=new Ge(r,{styleGridAriaLabel:n,enabledProperties:s,styleButtonViews:a});if(s.styles&&(0,le.Mh)(t,(()=>l.stylesView.children.find((e=>e.isOn)))),s.startIndex){const t=e.commands.get("listStart");l.startIndexFieldView.bind("isEnabled").to(t),l.startIndexFieldView.fieldView.bind("value").to(t),l.on("listStart",((t,i)=>e.execute("listStart",i)))}if(s.reversed){const t=e.commands.get("listReversed");l.reversedSwitchButtonView.bind("isEnabled").to(t),l.reversedSwitchButtonView.bind("isOn").to(t,"value",(e=>!!e)),l.on("listReversed",(()=>{const i=t.value;e.execute("listReversed",{reversed:!i})}))}return l.delegate("execute").to(t),l}({editor:e,dropdownView:l,parentCommandName:t,styleGridAriaLabel:n,styleDefinitions:r});l.panelView.children.add(i)})),l.on("execute",(()=>{e.editing.view.focus()})),l}}class et extends o.Sy{static get requires(){return[He,Qe]}static get pluginName(){return"DocumentListProperties"}}class tt extends o.mY{constructor(e,t){super(e),this._indentBy="forward"==t?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=e.document;let i=Array.from(t.selection.getSelectedBlocks());e.change((e=>{const t=i[i.length-1];let o=t.nextSibling;for(;o&&"listItem"==o.name&&o.getAttribute("listIndent")>t.getAttribute("listIndent");)i.push(o),o=o.nextSibling;this._indentBy<0&&(i=i.reverse());for(const t of i){const i=t.getAttribute("listIndent")+this._indentBy;i<0?e.rename(t,"paragraph"):e.setAttribute("listIndent",i,t)}this.fire("_executeCleanup",i)}))}_checkEnabled(){const e=(0,s.Ps)(this.editor.model.document.selection.getSelectedBlocks());if(!e||!e.is("element","listItem"))return!1;if(this._indentBy>0){const t=e.getAttribute("listIndent"),i=e.getAttribute("listType");let o=e.previousSibling;for(;o&&o.is("element","listItem")&&o.getAttribute("listIndent")>=t;){if(o.getAttribute("listIndent")==t)return o.getAttribute("listType")==i;o=o.previousSibling}return!1}return!0}}class it extends o.mY{constructor(e,t){super(e),this.type=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document,o=Array.from(i.selection.getSelectedBlocks()).filter((e=>nt(e,t.schema))),n=void 0!==e.forceValue?!e.forceValue:this.value;t.change((e=>{if(n){let t=o[o.length-1].nextSibling,i=Number.POSITIVE_INFINITY,n=[];for(;t&&"listItem"==t.name&&0!==t.getAttribute("listIndent");){const e=t.getAttribute("listIndent");e<i&&(i=e);const o=e-i;n.push({element:t,listIndent:o}),t=t.nextSibling}n=n.reverse();for(const t of n)e.setAttribute("listIndent",t.listIndent,t.element)}if(!n){let e=Number.POSITIVE_INFINITY;for(const t of o)t.is("element","listItem")&&t.getAttribute("listIndent")<e&&(e=t.getAttribute("listIndent"));e=0===e?1:e,ot(o,!0,e),ot(o,!1,e)}for(const t of o.reverse())n&&"listItem"==t.name?e.rename(t,"paragraph"):n||"listItem"==t.name?n||"listItem"!=t.name||t.getAttribute("listType")==this.type||e.setAttribute("listType",this.type,t):(e.setAttributes({listType:this.type,listIndent:0},t),e.rename(t,"listItem"));this.fire("_executeCleanup",o)}))}_getValue(){const e=(0,s.Ps)(this.editor.model.document.selection.getSelectedBlocks());return!!e&&e.is("element","listItem")&&e.getAttribute("listType")==this.type}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=(0,s.Ps)(e.getSelectedBlocks());return!!i&&nt(i,t)}}function ot(e,t,i){const o=t?e[0]:e[e.length-1];if(o.is("element","listItem")){let n=o[t?"previousSibling":"nextSibling"],r=o.getAttribute("listIndent");for(;n&&n.is("element","listItem")&&n.getAttribute("listIndent")>=i;)r>n.getAttribute("listIndent")&&(r=n.getAttribute("listIndent")),n.getAttribute("listIndent")==r&&e[t?"unshift":"push"](n),n=n[t?"previousSibling":"nextSibling"]}}function nt(e,t){return t.checkChild(e.parent,"listItem")&&!t.isObject(e)}class rt extends o.Sy{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(e){return _e(e)}getSelectedListItems(e){return be(e)}getSiblingNodes(e,t){return fe(e,t)}}function st(e){return(t,i,o)=>{const n=o.consumable;if(!n.test(i.item,"insert")||!n.test(i.item,"attribute:listType")||!n.test(i.item,"attribute:listIndent"))return;n.consume(i.item,"insert"),n.consume(i.item,"attribute:listType"),n.consume(i.item,"attribute:listIndent");const r=i.item;de(r,ce(r,o),o,e)}}const at=(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const o=i.mapper.toViewElement(t.item),n=i.writer;n.breakContainer(n.createPositionBefore(o)),n.breakContainer(n.createPositionAfter(o));const r=o.parent,s="numbered"==t.attributeNewValue?"ol":"ul";n.rename(s,r)},lt=(e,t,i)=>{i.consumable.consume(t.item,e.name);const o=i.mapper.toViewElement(t.item).parent,n=i.writer;ue(n,o,o.nextSibling),ue(n,o.previousSibling,o)},ct=(e,t,i)=>{if(i.consumable.test(t.item,e.name)&&"listItem"!=t.item.name){let e=i.mapper.toViewPosition(t.range.start);const o=i.writer,n=[];for(;("ul"==e.parent.name||"ol"==e.parent.name)&&(e=o.breakContainer(e),"li"==e.parent.name);){const t=e,i=o.createPositionAt(e.parent,"end");if(!t.isEqual(i)){const e=o.remove(o.createRange(t,i));n.push(e)}e=o.createPositionAfter(e.parent)}if(n.length>0){for(let t=0;t<n.length;t++){const i=e.nodeBefore;if(e=o.insert(e,n[t]).end,t>0){const t=ue(o,i,i.nextSibling);t&&t.parent==i&&e.offset--}}ue(o,e.nodeBefore,e.nodeAfter)}}},dt=(e,t,i)=>{const o=i.mapper.toViewPosition(t.position),n=o.nodeBefore,r=o.nodeAfter;ue(i.writer,n,r)},ut=(e,t,i)=>{if(i.consumable.consume(t.viewItem,{name:!0})){const e=i.writer,o=e.createElement("listItem"),n=function(e){let t=0,i=e.parent;for(;i;){if(i.is("element","li"))t++;else{const e=i.previousSibling;e&&e.is("element","li")&&t++}i=i.parent}return t}(t.viewItem);e.setAttribute("listIndent",n,o);const r=t.viewItem.parent&&"ol"==t.viewItem.parent.name?"numbered":"bulleted";if(e.setAttribute("listType",r,o),!i.safeInsert(o,t.modelCursor))return;const s=function(e,t,i){const{writer:o,schema:n}=i;let r=o.createPositionAfter(e);for(const s of t)if("ul"==s.name||"ol"==s.name)r=i.convertItem(s,r).modelCursor;else{const t=i.convertItem(s,o.createPositionAt(e,"end")),a=t.modelRange.start.nodeAfter;a&&a.is("element")&&!n.checkChild(e,a.name)&&(e=t.modelCursor.parent.is("element","listItem")?t.modelCursor.parent:ft(t.modelCursor),r=o.createPositionAfter(e))}return r}(o,t.viewItem.getChildren(),i);t.modelRange=e.createRange(t.modelCursor,s),i.updateConversionResult(o,t)}},ht=(e,t,i)=>{if(i.consumable.test(t.viewItem,{name:!0})){const e=Array.from(t.viewItem.getChildren());for(const t of e)!t.is("element","li")&&!wt(t)&&t._remove()}},mt=(e,t,i)=>{if(i.consumable.test(t.viewItem,{name:!0})){if(0===t.viewItem.childCount)return;const e=[...t.viewItem.getChildren()];let i=!1;for(const t of e)i&&!wt(t)&&t._remove(),wt(t)&&(i=!0)}};function gt(e){return(t,i)=>{if(i.isPhantom)return;const o=i.modelPosition.nodeBefore;if(o&&o.is("element","listItem")){const t=i.mapper.toViewElement(o),n=t.getAncestors().find(wt),r=e.createPositionAt(t,0).getWalker();for(const e of r){if("elementStart"==e.type&&e.item.is("element","li")){i.viewPosition=e.previousPosition;break}if("elementEnd"==e.type&&e.item==n){i.viewPosition=e.nextPosition;break}}}}}const pt=function(e,[t,i]){let o,n=t.is("documentFragment")?t.getChild(0):t;if(o=i?this.createSelection(i):this.document.selection,n&&n.is("element","listItem")){const e=o.getFirstPosition();let t=null;if(e.parent.is("element","listItem")?t=e.parent:e.nodeBefore&&e.nodeBefore.is("element","listItem")&&(t=e.nodeBefore),t){const e=t.getAttribute("listIndent");if(e>0)for(;n&&n.is("element","listItem");)n._setAttribute("listIndent",n.getAttribute("listIndent")+e),n=n.nextSibling}}};function ft(e){const t=new O.Po({startPosition:e});let i;do{i=t.next()}while(!i.value.item.is("element","listItem"));return i.value.item}function bt(e,t,i,o,n,r){const s=me(t.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:e}),a=n.mapper,l=n.writer,c=s?s.getAttribute("listIndent"):null;let d;if(s)if(c==e){const e=a.toViewElement(s).parent;d=l.createPositionAfter(e)}else{const e=r.createPositionAt(s,"end");d=a.toViewPosition(e)}else d=i;d=he(d);for(const e of[...o.getChildren()])wt(e)&&(d=l.move(l.createRangeOn(e),d).end,ue(l,e,e.nextSibling),ue(l,e.previousSibling,e))}function wt(e){return e.is("element","ol")||e.is("element","ul")}class kt extends o.Sy{static get pluginName(){return"ListEditing"}static get requires(){return[r.C,n.HG,rt]}init(){const e=this.editor;e.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const t=e.data,i=e.editing;var o;e.model.document.registerPostFixer((t=>function(e,t){const i=e.document.differ.getChanges(),o=new Map;let n=!1;for(const o of i)if("insert"==o.type&&"listItem"==o.name)r(o.position);else if("insert"==o.type&&"listItem"!=o.name){if("$text"!=o.name){const i=o.position.nodeAfter;i.hasAttribute("listIndent")&&(t.removeAttribute("listIndent",i),n=!0),i.hasAttribute("listType")&&(t.removeAttribute("listType",i),n=!0),i.hasAttribute("listStyle")&&(t.removeAttribute("listStyle",i),n=!0),i.hasAttribute("listReversed")&&(t.removeAttribute("listReversed",i),n=!0),i.hasAttribute("listStart")&&(t.removeAttribute("listStart",i),n=!0);for(const t of Array.from(e.createRangeIn(i)).filter((e=>e.item.is("element","listItem"))))r(t.previousPosition)}r(o.position.getShiftedBy(o.length))}else"remove"==o.type&&"listItem"==o.name?r(o.position):("attribute"==o.type&&"listIndent"==o.attributeKey||"attribute"==o.type&&"listType"==o.attributeKey)&&r(o.range.start);for(const e of o.values())s(e),a(e);return n;function r(e){const t=e.nodeBefore;if(t&&t.is("element","listItem")){let e=t;if(o.has(e))return;for(let t=e.previousSibling;t&&t.is("element","listItem");t=e.previousSibling)if(e=t,o.has(e))return;o.set(t,e)}else{const t=e.nodeAfter;t&&t.is("element","listItem")&&o.set(t,t)}}function s(e){let i=0,o=null;for(;e&&e.is("element","listItem");){const r=e.getAttribute("listIndent");if(r>i){let s;null===o?(o=r-i,s=i):(o>r&&(o=r),s=r-o),t.setAttribute("listIndent",s,e),n=!0}else o=null,i=e.getAttribute("listIndent")+1;e=e.nextSibling}}function a(e){let i=[],o=null;for(;e&&e.is("element","listItem");){const r=e.getAttribute("listIndent");if(o&&o.getAttribute("listIndent")>r&&(i=i.slice(0,r+1)),0!=r)if(i[r]){const o=i[r];e.getAttribute("listType")!=o&&(t.setAttribute("listType",o,e),n=!0)}else i[r]=e.getAttribute("listType");o=e,e=e.nextSibling}}}(e.model,t))),i.mapper.registerViewToModelLength("li",_t),t.mapper.registerViewToModelLength("li",_t),i.mapper.on("modelToViewPosition",gt(i.view)),i.mapper.on("viewToModelPosition",(o=e.model,(e,t)=>{const i=t.viewPosition,n=i.parent,r=t.mapper;if("ul"==n.name||"ol"==n.name){if(i.isAtEnd){const e=r.toModelElement(i.nodeBefore),n=r.getModelLength(i.nodeBefore);t.modelPosition=o.createPositionBefore(e).getShiftedBy(n)}else{const e=r.toModelElement(i.nodeAfter);t.modelPosition=o.createPositionBefore(e)}e.stop()}else if("li"==n.name&&i.nodeBefore&&("ul"==i.nodeBefore.name||"ol"==i.nodeBefore.name)){const s=r.toModelElement(n);let a=1,l=i.nodeBefore;for(;l&&wt(l);)a+=r.getModelLength(l),l=l.previousSibling;t.modelPosition=o.createPositionBefore(s).getShiftedBy(a),e.stop()}})),t.mapper.on("modelToViewPosition",gt(i.view)),e.conversion.for("editingDowncast").add((t=>{t.on("insert",ct,{priority:"high"}),t.on("insert:listItem",st(e.model)),t.on("attribute:listType:listItem",at,{priority:"high"}),t.on("attribute:listType:listItem",lt,{priority:"low"}),t.on("attribute:listIndent:listItem",function(e){return(t,i,o)=>{if(!o.consumable.consume(i.item,"attribute:listIndent"))return;const n=o.mapper.toViewElement(i.item),r=o.writer;r.breakContainer(r.createPositionBefore(n)),r.breakContainer(r.createPositionAfter(n));const s=n.parent,a=s.previousSibling,l=r.createRangeOn(s);r.remove(l),a&&a.nextSibling&&ue(r,a,a.nextSibling),bt(i.attributeOldValue+1,i.range.start,l.start,n,o,e),de(i.item,n,o,e);for(const e of i.item.getChildren())o.consumable.consume(e,"insert")}}(e.model)),t.on("remove:listItem",function(e){return(t,i,o)=>{const n=o.mapper.toViewPosition(i.position).getLastMatchingPosition((e=>!e.item.is("element","li"))).nodeAfter,r=o.writer;r.breakContainer(r.createPositionBefore(n)),r.breakContainer(r.createPositionAfter(n));const s=n.parent,a=s.previousSibling,l=r.createRangeOn(s),c=r.remove(l);a&&a.nextSibling&&ue(r,a,a.nextSibling),bt(o.mapper.toModelElement(n).getAttribute("listIndent")+1,i.position,l.start,n,o,e);for(const e of r.createRangeIn(c).getItems())o.mapper.unbindViewElement(e);t.stop()}}(e.model)),t.on("remove",dt,{priority:"low"})})),e.conversion.for("dataDowncast").add((t=>{t.on("insert",ct,{priority:"high"}),t.on("insert:listItem",st(e.model))})),e.conversion.for("upcast").add((e=>{e.on("element:ul",ht,{priority:"high"}),e.on("element:ol",ht,{priority:"high"}),e.on("element:li",mt,{priority:"high"}),e.on("element:li",ut)})),e.model.on("insertContent",pt,{priority:"high"}),e.commands.add("numberedList",new it(e,"numbered")),e.commands.add("bulletedList",new it(e,"bulleted")),e.commands.add("indentList",new tt(e,"forward")),e.commands.add("outdentList",new tt(e,"backward"));const n=i.view.document;this.listenTo(n,"enter",((e,t)=>{const i=this.editor.model.document,o=i.selection.getLastPosition().parent;i.selection.isCollapsed&&"listItem"==o.name&&o.isEmpty&&(this.editor.execute("outdentList"),t.preventDefault(),e.stop())}),{context:"li"}),this.listenTo(n,"delete",((e,t)=>{if("backward"!==t.direction)return;const i=this.editor.model.document.selection;if(!i.isCollapsed)return;const o=i.getFirstPosition();if(!o.isAtStart)return;const n=o.parent;"listItem"===n.name&&(n.previousSibling&&"listItem"===n.previousSibling.name||(this.editor.execute("outdentList"),t.preventDefault(),e.stop()))}),{context:"li"}),this.listenTo(e.editing.view.document,"tab",((t,i)=>{const o=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())}),{context:"li"})}afterInit(){const e=this.editor.commands,t=e.get("indent"),i=e.get("outdent");t&&t.registerChildCommand(e.get("indentList")),i&&i.registerChildCommand(e.get("outdentList"))}}function _t(e){let t=1;for(const i of e.getChildren())if("ul"==i.name||"ol"==i.name)for(const e of i.getChildren())t+=_t(e);return t}class vt extends o.Sy{static get requires(){return[kt,xe]}static get pluginName(){return"List"}}class yt extends o.mY{constructor(e,t){super(e),this.defaultType=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){this._tryToConvertItemsToList(e);const t=this.editor.model,i=be(t);i.length&&t.change((t=>{for(const o of i)t.setAttribute("listStyle",e.type||this.defaultType,o)}))}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,t=e.commands.get("numberedList"),i=e.commands.get("bulletedList");return t.isEnabled||i.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const t=_e(e.type);if(!t)return;const i=this.editor,o=`${t}List`;i.commands.get(o).value||i.execute(o)}}class Ct extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute(e={}){const t=this.editor.model,i=be(t).filter((e=>"numbered"==e.getAttribute("listType")));t.change((t=>{for(const o of i)t.setAttribute("listReversed",!!e.reversed,o)}))}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")&&"numbered"==e.getAttribute("listType")?e.getAttribute("listReversed"):null}}class xt extends o.mY{refresh(){const e=this._getValue();this.value=e,this.isEnabled=null!=e}execute({startIndex:e=1}={}){const t=this.editor.model,i=be(t).filter((e=>"numbered"==e.getAttribute("listType")));t.change((t=>{for(const o of i)t.setAttribute("listStart",e>=0?e:1,o)}))}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")&&"numbered"==e.getAttribute("listType")?e.getAttribute("listStart"):null}}const At="default";class Et extends o.Sy{static get requires(){return[kt]}static get pluginName(){return"ListPropertiesEditing"}constructor(e){super(e),e.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const e=this.editor,t=e.model,i=function(e){const t=[];return e.styles&&t.push({attributeName:"listStyle",defaultValue:At,addCommand(e){e.commands.add("listStyle",new yt(e,At))},appliesToListItem:()=>!0,setAttributeOnDowncast(e,t,i){t&&t!==At?e.setStyle("list-style-type",t,i):e.removeStyle("list-style-type",i)},getAttributeOnUpcast:e=>e.getStyle("list-style-type")||At}),e.reversed&&t.push({attributeName:"listReversed",defaultValue:!1,addCommand(e){e.commands.add("listReversed",new Ct(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),setAttributeOnDowncast(e,t,i){t?e.setAttribute("reversed","reversed",i):e.removeAttribute("reversed",i)},getAttributeOnUpcast:e=>e.hasAttribute("reversed")}),e.startIndex&&t.push({attributeName:"listStart",defaultValue:1,addCommand(e){e.commands.add("listStart",new xt(e))},appliesToListItem:e=>"numbered"==e.getAttribute("listType"),setAttributeOnDowncast(e,t,i){0==t||t>1?e.setAttribute("start",t,i):e.removeAttribute("start",i)},getAttributeOnUpcast(e){const t=e.getAttribute("start");return t>=0?t:1}}),t}(e.config.get("list.properties"));t.schema.extend("listItem",{allowAttributes:i.map((e=>e.attributeName))});for(const t of i)t.addCommand(e);var o;this.listenTo(e.commands.get("indentList"),"_executeCleanup",function(e,t){return(i,o)=>{const n=o[0],r=n.getAttribute("listIndent"),s=o.filter((e=>e.getAttribute("listIndent")===r));let a=null;n.previousSibling.getAttribute("listIndent")+1!==r&&(a=me(n.previousSibling,{sameIndent:!0,direction:"backward",listIndent:r})),e.model.change((e=>{for(const i of s)for(const o of t)if(o.appliesToListItem(i)){const t=null==a?o.defaultValue:a.getAttribute(o.attributeName);e.setAttribute(o.attributeName,t,i)}}))}}(e,i)),this.listenTo(e.commands.get("outdentList"),"_executeCleanup",function(e,t){return(i,o)=>{if(!(o=o.reverse().filter((e=>e.is("element","listItem")))).length)return;const n=o[0].getAttribute("listIndent"),r=o[0].getAttribute("listType");let s=o[0].previousSibling;if(s.is("element","listItem"))for(;s.getAttribute("listIndent")!==n;)s=s.previousSibling;else s=null;s||(s=o[o.length-1].nextSibling),s&&s.is("element","listItem")&&s.getAttribute("listType")===r&&e.model.change((e=>{const i=o.filter((e=>e.getAttribute("listIndent")===n));for(const o of i)for(const i of t)if(i.appliesToListItem(o)){const t=i.attributeName,n=s.getAttribute(t);e.setAttribute(t,n,o)}}))}}(e,i)),this.listenTo(e.commands.get("bulletedList"),"_executeCleanup",Pt(e)),this.listenTo(e.commands.get("numberedList"),"_executeCleanup",Pt(e)),t.document.registerPostFixer(function(e,t){return i=>{let o=!1;const n=It(e.model.document.differ.getChanges()).filter((e=>"todo"!==e.getAttribute("listType")));if(!n.length)return o;let r=n[n.length-1].nextSibling;if((!r||!r.is("element","listItem"))&&(r=n[0].previousSibling,r)){const e=n[0].getAttribute("listIndent");for(;r.is("element","listItem")&&r.getAttribute("listIndent")!==e&&(r=r.previousSibling,r););}for(const e of t){const t=e.attributeName;for(const s of n)if(e.appliesToListItem(s))if(s.hasAttribute(t)){const n=s.previousSibling;St(n,s,e.attributeName)&&(i.setAttribute(t,n.getAttribute(t),s),o=!0)}else Tt(r,s,e)?i.setAttribute(t,r.getAttribute(t),s):i.setAttribute(t,e.defaultValue,s),o=!0;else i.removeAttribute(t,s)}return o}}(e,i)),e.conversion.for("upcast").add((o=i,e=>{e.on("element:li",((e,t,i)=>{if(!t.modelRange)return;const n=t.viewItem.parent,r=t.modelRange.start.nodeAfter||t.modelRange.end.nodeBefore;for(const e of o)if(e.appliesToListItem(r)){const t=e.getAttributeOnUpcast(n);i.writer.setAttribute(e.attributeName,t,r)}}),{priority:"low"})})),e.conversion.for("downcast").add(function(e){return t=>{for(const i of e)t.on(`attribute:${i.attributeName}:listItem`,((e,t,o)=>{const n=o.writer,r=t.item,s=me(r.previousSibling,{sameIndent:!0,listIndent:r.getAttribute("listIndent"),direction:"backward"}),a=o.mapper.toViewElement(r);var l,c;l=r,(c=s)&&l.getAttribute("listType")===c.getAttribute("listType")&&l.getAttribute("listIndent")===c.getAttribute("listIndent")&&l.getAttribute("listStyle")===c.getAttribute("listStyle")&&l.getAttribute("listReversed")===c.getAttribute("listReversed")&&l.getAttribute("listStart")===c.getAttribute("listStart")||n.breakContainer(n.createPositionBefore(a)),i.setAttributeOnDowncast(n,t.attributeNewValue,a.parent)}),{priority:"low"})}}(i)),this._mergeListAttributesWhileMergingLists(i)}afterInit(){const e=this.editor;e.commands.get("todoList")&&e.model.document.registerPostFixer(function(e){return t=>{const i=It(e.model.document.differ.getChanges()).filter((e=>"todo"===e.getAttribute("listType")&&(e.hasAttribute("listStyle")||e.hasAttribute("listReversed")||e.hasAttribute("listStart"))));if(!i.length)return!1;for(const e of i)t.removeAttribute("listStyle",e),t.removeAttribute("listReversed",e),t.removeAttribute("listStart",e);return!0}}(e))}_mergeListAttributesWhileMergingLists(e){const t=this.editor.model;let i;this.listenTo(t,"deleteContent",((e,[t])=>{const o=t.getFirstPosition(),n=t.getLastPosition();if(o.parent===n.parent)return;if(!o.parent.is("element","listItem"))return;const r=n.parent.nextSibling;if(!r||!r.is("element","listItem"))return;const s=me(o.parent,{sameIndent:!0,listIndent:r.getAttribute("listIndent")});s&&s.getAttribute("listType")===r.getAttribute("listType")&&(i=s)}),{priority:"high"}),this.listenTo(t,"deleteContent",(()=>{i&&(t.change((t=>{const o=me(i.nextSibling,{sameIndent:!0,listIndent:i.getAttribute("listIndent"),direction:"forward"});if(!o)return void(i=null);const n=[o,...fe(t.createPositionAt(o,0),"forward")];for(const o of n)for(const n of e)if(n.appliesToListItem(o)){const e=n.attributeName,r=i.getAttribute(e);t.setAttribute(e,r,o)}})),i=null)}),{priority:"low"})}}function Tt(e,t,i){if(!e)return!1;const o=e.getAttribute(i.attributeName);return!!o&&o!=i.defaultValue&&e.getAttribute("listType")===t.getAttribute("listType")}function St(e,t,i){if(!e||!e.is("element","listItem"))return!1;if(t.getAttribute("listType")!==e.getAttribute("listType"))return!1;const o=e.getAttribute("listIndent");if(o<1||o!==t.getAttribute("listIndent"))return!1;const n=e.getAttribute(i);return!(!n||n===t.getAttribute(i))}function Pt(e){return(t,i)=>{i=i.filter((e=>e.is("element","listItem"))),e.model.change((e=>{for(const t of i)e.removeAttribute("listStyle",t)}))}}function It(e){const t=[];for(const i of e){const e=Vt(i);e&&e.is("element","listItem")&&t.push(e)}return t}function Vt(e){return"attribute"===e.type?e.range.start.nodeAfter:"insert"===e.type?e.position.nodeAfter:null}class Rt extends o.Sy{static get requires(){return[Et,Qe]}static get pluginName(){return"ListProperties"}}const Ot="todoListChecked";class Bt extends o.mY{constructor(e){super(e),this._selectedElements=[],this.on("execute",(()=>{this.refresh()}),{priority:"highest"})}refresh(){this._selectedElements=this._getSelectedItems(),this.value=this._selectedElements.every((e=>!!e.getAttribute(Ot))),this.isEnabled=!!this._selectedElements.length}_getSelectedItems(){const e=this.editor.model,t=e.schema,i=e.document.selection.getFirstRange(),o=i.start.parent,n=[];t.checkAttribute(o,Ot)&&n.push(o);for(const e of i.getItems())t.checkAttribute(e,Ot)&&!n.includes(e)&&n.push(e);return n}execute(e={}){this.editor.model.change((t=>{for(const i of this._selectedElements)(void 0===e.forceValue?!this.value:e.forceValue)?t.setAttribute(Ot,!0,i):t.removeAttribute(Ot,i)}))}}const Mt=(e,t,i)=>{const o=t.modelCursor,n=o.parent,r=t.viewItem;if("checkbox"!=r.getAttribute("type")||"listItem"!=n.name||!o.isAtStart)return;if(!i.consumable.consume(r,{name:!0}))return;const s=i.writer;s.setAttribute("listType","todo",n),t.viewItem.hasAttribute("checked")&&s.setAttribute("todoListChecked",!0,n),t.modelRange=s.createRange(o)};function zt(e){return(t,i)=>{const o=i.modelPosition,n=o.parent;if(!n.is("element","listItem")||"todo"!=n.getAttribute("listType"))return;const r=Dt(i.mapper.toViewElement(n),e);r&&(i.viewPosition=i.mapper.findPositionIn(r,o.offset))}}function Nt(e,t,i,o){return t.createUIElement("label",{class:"todo-list__label",contenteditable:!1},(function(t){const n=(0,s.az)(document,"input",{type:"checkbox",tabindex:"-1"});i&&n.setAttribute("checked","checked"),n.addEventListener("change",(()=>o(e)));const r=this.toDomElement(t);return r.appendChild(n),r}))}function Dt(e,t){const i=t.createRangeIn(e);for(const e of i)if(e.item.is("containerElement","span")&&e.item.hasClass("todo-list__label__description"))return e.item}const Lt=(0,s.Zz)("Ctrl+Enter");class Ft extends o.Sy{static get pluginName(){return"TodoListEditing"}static get requires(){return[kt]}init(){const e=this.editor,{editing:t,data:i,model:o}=e;o.schema.extend("listItem",{allowAttributes:["todoListChecked"]}),o.schema.addAttributeCheck(((e,t)=>{const i=e.last;if("todoListChecked"==t&&"listItem"==i.name&&"todo"!=i.getAttribute("listType"))return!1})),e.commands.add("todoList",new it(e,"todo"));const n=new Bt(e);var r,a;e.commands.add("checkTodoList",n),e.commands.add("todoListCheck",n),i.downcastDispatcher.on("insert:listItem",function(e){return(t,i,o)=>{const n=o.consumable;if(!n.test(i.item,"insert")||!n.test(i.item,"attribute:listType")||!n.test(i.item,"attribute:listIndent"))return;if("todo"!=i.item.getAttribute("listType"))return;const r=i.item;n.consume(r,"insert"),n.consume(r,"attribute:listType"),n.consume(r,"attribute:listIndent"),n.consume(r,"attribute:todoListChecked");const s=o.writer,a=ce(r,o);s.addClass("todo-list",a.parent);const l=s.createContainerElement("label",{class:"todo-list__label"}),c=s.createEmptyElement("input",{type:"checkbox",disabled:"disabled"}),d=s.createContainerElement("span",{class:"todo-list__label__description"});r.getAttribute("todoListChecked")&&s.setAttribute("checked","checked",c),s.insert(s.createPositionAt(a,0),l),s.insert(s.createPositionAt(l,0),c),s.insert(s.createPositionAfter(c),d),de(r,a,o,e)}}(o),{priority:"high"}),i.upcastDispatcher.on("element:input",Mt,{priority:"high"}),t.downcastDispatcher.on("insert:listItem",function(e,t){return(i,o,n)=>{const r=n.consumable;if(!r.test(o.item,"insert")||!r.test(o.item,"attribute:listType")||!r.test(o.item,"attribute:listIndent"))return;if("todo"!=o.item.getAttribute("listType"))return;const s=o.item;r.consume(s,"insert"),r.consume(s,"attribute:listType"),r.consume(s,"attribute:listIndent"),r.consume(s,"attribute:todoListChecked");const a=n.writer,l=ce(s,n),c=!!s.getAttribute("todoListChecked"),d=Nt(s,a,c,t),u=a.createContainerElement("span",{class:"todo-list__label__description"});a.addClass("todo-list",l.parent),a.insert(a.createPositionAt(l,0),d),a.insert(a.createPositionAfter(d),u),de(s,l,n,e)}}(o,(e=>this._handleCheckmarkChange(e))),{priority:"high"}),t.downcastDispatcher.on("attribute:listType:listItem",(r=e=>this._handleCheckmarkChange(e),a=t.view,(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=i.mapper.toViewElement(t.item),n=i.writer,s=function(e,t){const i=t.createRangeIn(e);for(const e of i)if(e.item.is("uiElement","label"))return e.item}(o,a);if("todo"==t.attributeNewValue){const e=!!t.item.getAttribute("todoListChecked"),i=Nt(t.item,n,e,r),s=n.createContainerElement("span",{class:"todo-list__label__description"}),a=n.createRangeIn(o),l=pe(o),c=he(a.start),d=l?n.createPositionBefore(l):a.end,u=n.createRange(c,d);n.addClass("todo-list",o.parent),n.move(u,n.createPositionAt(s,0)),n.insert(n.createPositionAt(o,0),i),n.insert(n.createPositionAfter(i),s)}else if("todo"==t.attributeOldValue){const e=Dt(o,a);n.removeClass("todo-list",o.parent),n.remove(s),n.move(n.createRangeIn(e),n.createPositionBefore(e)),n.remove(e)}})),t.downcastDispatcher.on("attribute:todoListChecked:listItem",function(e){return(t,i,o)=>{if("todo"!=i.item.getAttribute("listType"))return;if(!o.consumable.consume(i.item,"attribute:todoListChecked"))return;const{mapper:n,writer:r}=o,s=!!i.item.getAttribute("todoListChecked"),a=n.toViewElement(i.item).getChild(0),l=Nt(i.item,r,s,e);r.insert(r.createPositionAfter(a),l),r.remove(a)}}((e=>this._handleCheckmarkChange(e)))),t.mapper.on("modelToViewPosition",zt(t.view)),i.mapper.on("modelToViewPosition",zt(t.view)),this.listenTo(t.view.document,"arrowKey",function(e,t){return(i,o)=>{if("left"!=(0,s.mA)(o.keyCode,t.contentLanguageDirection))return;const n=e.schema,r=e.document.selection;if(!r.isCollapsed)return;const a=r.getFirstPosition(),l=a.parent;if("listItem"===l.name&&"todo"==l.getAttribute("listType")&&a.isAtStart){const t=n.getNearestSelectionRange(e.createPositionBefore(l),"backward");t&&e.change((e=>e.setSelection(t))),o.preventDefault(),o.stopPropagation(),i.stop()}}}(o,e.locale),{context:"li"}),this.listenTo(t.view.document,"keydown",((t,i)=>{(0,s.Cq)(i)===Lt&&(e.execute("checkTodoList"),t.stop())}),{priority:"high"});const l=new Set;this.listenTo(o,"applyOperation",((e,t)=>{const i=t[0];if("rename"==i.type&&"listItem"==i.oldName){const e=i.position.nodeAfter;e.hasAttribute("todoListChecked")&&l.add(e)}else if("changeAttribute"==i.type&&"listType"==i.key&&"todo"===i.oldValue)for(const e of i.range.getItems())e.hasAttribute("todoListChecked")&&"todo"!==e.getAttribute("listType")&&l.add(e)})),o.document.registerPostFixer((e=>{let t=!1;for(const i of l)e.removeAttribute("todoListChecked",i),t=!0;return l.clear(),t}))}_handleCheckmarkChange(e){const t=this.editor,i=t.model,o=Array.from(i.document.selection.getRanges());i.change((i=>{i.setSelection(e,"end"),t.execute("checkTodoList"),i.setSelection(o)}))}}class Zt extends o.Sy{static get pluginName(){return"TodoListUI"}init(){const e=this.editor.t;ge(this.editor,"todoList",e("To-do List"),'<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>')}}var Ht=i(9292),Wt={attributes:{"data-cke":!0}};Wt.setAttributes=Q(),Wt.insert=J().bind(null,"head"),Wt.domAPI=K(),Wt.insertStyleElement=ee(),$()(Ht.Z,Wt),Ht.Z&&Ht.Z.locals&&Ht.Z.locals;class jt extends o.Sy{static get requires(){return[Ft,Zt]}static get pluginName(){return"TodoList"}}},9829:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Mention:()=>H,MentionEditing:()=>s,MentionUI:()=>O});var o=i(6854),n=i(6553);class r extends o.mY{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 t=this.editor.model,i=t.document.selection,o="string"==typeof e.mention?{id:e.mention}:e.mention,r=o.id,s=e.range||i.getFirstRange();if(!t.canEditAt(s))return;const l=e.text||r,c=a({_text:l,id:r},o);if(1!=e.marker.length)throw new n.Bb("mentioncommand-incorrect-marker",this);if(r.charAt(0)!=e.marker)throw new n.Bb("mentioncommand-incorrect-id",this);t.change((e=>{const o=(0,n.qL)(i.getAttributes()),r=new Map(o.entries());r.set("mention",c),t.insertContent(e.createText(l,r),s),t.insertContent(e.createText(" ",o),s.start.getShiftedBy(l.length))}))}}class s extends o.Sy{static get pluginName(){return"MentionEditing"}init(){const e=this.editor,t=e.model,i=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=>l(e)}}),e.conversion.for("downcast").attributeToElement({model:"mention",view:d}),e.conversion.for("downcast").add(c),i.registerPostFixer((e=>function(e,t,i){const o=t.differ.getChanges();let n=!1;for(const t of o){if("attribute"==t.type)continue;const o=t.position;if("$text"==t.name){const t=o.textNode&&o.textNode.nextSibling;n=h(o.textNode,e)||n,n=h(t,e)||n,n=h(o.nodeBefore,e)||n,n=h(o.nodeAfter,e)||n}if("$text"!=t.name&&"insert"==t.type){const t=o.nodeAfter;for(const i of e.createRangeIn(t).getItems())n=h(i,e)||n}if("insert"==t.type&&i.isInline(t.name)){const t=o.nodeAfter&&o.nodeAfter.nextSibling;n=h(o.nodeBefore,e)||n,n=h(t,e)||n}}return n}(e,i,t.schema))),i.registerPostFixer((e=>function(e,t){const i=t.differ.getChanges();let o=!1;for(const t of i)if("attribute"===t.type&&"mention"!=t.attributeKey){const i=t.range.start.nodeBefore,n=t.range.end.nodeAfter;for(const r of[i,n])u(r)&&r.getAttribute(t.attributeKey)!=t.attributeNewValue&&(e.setAttribute(t.attributeKey,t.attributeNewValue,r),o=!0)}return o}(e,i))),i.registerPostFixer((e=>function(e,t){const i=t.selection,o=i.focus;return!!(i.isCollapsed&&i.hasAttribute("mention")&&function(e){const t=e.isAtStart;return e.nodeBefore&&e.nodeBefore.is("$text")||t}(o))&&(e.removeSelectionAttribute("mention"),!0)}(e,i))),e.commands.add("mention",new r(e))}}function a(e,t){return Object.assign({uid:(0,n.hQ)()},e,t||{})}function l(e,t){const i=e.getAttribute("data-mention"),o=e.getChild(0);if(o)return a({id:i,_text:o.data},t)}function c(e){e.on("attribute:mention",((e,t,i)=>{const o=t.attributeNewValue;if(!t.item.is("$textProxy")||!o)return;const n=t.range.start;(n.textNode||n.nodeAfter).data!=o._text&&i.consumable.consume(t.item,e.name)}),{priority:"highest"})}function d(e,{writer:t}){if(!e)return;const i={class:"mention","data-mention":e.id},o={id:e.uid,priority:20};return t.createAttributeElement("span",i,o)}function u(e){return!(!e||!e.is("$text")&&!e.is("$textProxy")||!e.hasAttribute("mention"))&&e.data!=e.getAttribute("mention")._text}function h(e,t){return!!u(e)&&(t.removeAttribute("mention",e),!0)}var m=i(7095),g=i(5187),p=i(6682),f=i(3379),b=i.n(f),w=i(9037),k=i.n(w),_=i(569),v=i.n(_),y=i(8575),C=i.n(y),x=i(9216),A=i.n(x),E=i(9139),T={attributes:{"data-cke":!0}};T.setAttributes=C(),T.insert=v().bind(null,"head"),T.domAPI=k(),T.insertStyleElement=A(),b()(E.Z,T),E.Z&&E.Z.locals&&E.Z.locals;class S extends m.Bv{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 i=this.items.get(t);this.selected!==i&&(this.selected&&this.selected.removeHighlight(),i.highlight(),this.selected=i,this._isItemVisibleInScrolledArea(i)||(this.element.scrollTop=i.element.offsetTop))}executeSelected(){this.selected.fire("execute")}_isItemVisibleInScrolledArea(e){return new n.UL(this.element).contains(new n.UL(e.element))}}class P extends m.G7{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,i)=>{i?(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}}class I extends m.dn{highlight(){this.children.first.isOn=!0}removeHighlight(){this.children.first.isOn=!1}}const V=[n.Do.arrowup,n.Do.arrowdown,n.Do.esc],R=[n.Do.enter,n.Do.tab];class O extends o.Sy{static get pluginName(){return"MentionUI"}static get requires(){return[m.WB]}constructor(e){super(e),this._items=new n.FE,this._mentionsView=this._createMentionView(),this._mentionsConfigurations=new Map,this._requestFeedDebounced=(0,p.Z)(this._requestFeed,100),e.config.define("mention",{feeds:[]})}init(){const e=this.editor,t=e.config.get("mention.commitKeys")||R,i=V.concat(t);this._balloon=e.plugins.get(m.WB),e.editing.view.document.on("keydown",((e,o)=>{var r;r=o.keyCode,i.includes(r)&&this._isUIVisible&&(o.preventDefault(),e.stop(),o.keyCode==n.Do.arrowdown&&this._mentionsView.selectNext(),o.keyCode==n.Do.arrowup&&this._mentionsView.selectPrevious(),t.includes(o.keyCode)&&this._mentionsView.executeSelected(),o.keyCode==n.Do.esc&&this._hideUIAndRemoveMarker())}),{priority:"highest"}),(0,m.eC)({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:t,marker:i,dropdownLimit:o}=e;if(!D(i))throw new n.Bb("mentionconfig-incorrect-marker",null,{marker:i});const r={marker:i,feedCallback:"function"==typeof t?t.bind(this.editor):N(t),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 S(e);return t.items.bindTo(this._items).using((i=>{const{item:o,marker:n}=i,{dropdownLimit:r}=this._mentionsConfigurations.get(n),s=r||this.editor.config.get("mention.dropdownLimit")||10;if(t.items.length>=s)return null;const a=new I(e),l=this._renderItem(o,n);return l.delegate("execute").to(a),a.children.add(l),a.item=o,a.marker=n,a.on("execute",(()=>{t.fire("execute",{item:o,marker:n})})),a})),t.on("execute",((e,t)=>{const i=this.editor,o=i.model,n=t.item,r=t.marker,s=i.model.markers.get("mention"),a=o.createPositionAt(o.document.selection.focus),l=o.createPositionAt(s.getStart()),c=o.createRange(l,a);this._hideUIAndRemoveMarker(),i.execute("mention",{mention:n,text:n.text,marker:r,range:c}),i.editing.view.focus()})),t}_getItemRenderer(e){const{itemRenderer:t}=this._mentionsConfigurations.get(e);return t}_requestFeed(e,t){this._lastRequested=t;const{feedCallback:i}=this._mentionsConfigurations.get(e),o=i(t);o instanceof Promise?o.then((i=>{this._lastRequested==t?this.fire("requestFeed:response",{feed:i,marker:e,feedText:t}):this.fire("requestFeed:discarded",{feed:i,marker:e,feedText:t})})).catch((t=>{this.fire("requestFeed:error",{error:t}),(0,n.KE)("mention-feed-callback-error",{marker:e})})):this.fire("requestFeed:response",{feed:o,marker:e,feedText:t})}_setupTextWatcher(e){const t=this.editor,i=e.map((e=>({...e,pattern:z(e.marker,e.minimumCharacters||0)}))),o=new g.uL(t.model,function(e){return t=>{const i=M(e,t);if(!i)return!1;let o=0;0!==i.position&&(o=i.position-1);const n=t.substring(o);return i.pattern.test(n)}}(i));o.on("matched",((e,o)=>{const n=M(i,o.text),r=t.model.document.selection.focus,s=t.model.createPositionAt(r.parent,n.position);if(function(e){const t=e.textNode&&e.textNode.hasAttribute("mention"),i=e.nodeBefore;return t||i&&i.is("$text")&&i.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 i=0;0!==e.position&&(i=e.position-1);const o=z(e.marker,0);return t.substring(i).match(o)[2]}(n,o.text),l=n.marker.length+a.length,c=r.getShiftedBy(-l),d=r.getShiftedBy(-a.length),u=t.model.createRange(c,d);if(L(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(n.marker,a)})),o.on("unmatched",(()=>{this._hideUIAndRemoveMarker()}));const n=t.commands.get("mention");return o.bind("isEnabled").to(n),o}_handleFeedResponse(e){const{feed:t,marker:i}=e;if(!L(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:i})}const o=this.editor.model.markers.get("mention");this._items.length?this._showOrUpdateUI(o):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),L(this.editor)&&this.editor.model.change((e=>e.removeMarker("mention"))),this._mentionsView.position=void 0}_renderItem(e,t){const i=this.editor;let o,n=e.id;const r=this._getItemRenderer(t);if(r){const t=r(e);"string"!=typeof t?o=new P(i.locale,t):n=t}if(!o){const e=new m.r5(i.locale);e.label=n,e.withText=!0,o=e}return o}_getBalloonPanelPositionData(e,t){const i=this.editor,o=i.editing,r=o.view.domConverter,s=o.mapper;return{target:()=>{let t=e.getRange();"$graveyard"==t.start.root.rootName&&(t=i.model.document.selection.getFirstRange());const o=s.toViewRange(t);return n.UL.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:B(t,i.locale.uiLanguageDirection)}}}function B(e,t){const i={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(i,e)?[i[e]]:"rtl"!==t?[i.caret_se,i.caret_sw,i.caret_ne,i.caret_nw]:[i.caret_sw,i.caret_se,i.caret_nw,i.caret_ne]}function M(e,t){let i;for(const o of e){const e=t.lastIndexOf(o.marker);e>0&&!t.substring(e-1).match(o.pattern)||(!i||e>=i.position)&&(i={marker:o.marker,position:e,minimumCharacters:o.minimumCharacters,pattern:o.pattern})}return i}function z(e,t){const i=0==t?"*":`{${t},}`,o=n.OB.features.isRegExpUnicodePropertySupported?"\\p{Ps}\\p{Pi}\"'":"\\(\\[{\"'";return new RegExp(`(?:^|[ ${o}])([${e}])(.${i})$`,"u")}function N(e){return t=>e.filter((e=>("string"==typeof e?e:String(e.id)).toLowerCase().includes(t.toLowerCase())))}function D(e){return e&&1==e.length}function L(e){return e.model.markers.has("mention")}var F=i(8544),Z={attributes:{"data-cke":!0}};Z.setAttributes=C(),Z.insert=v().bind(null,"head"),Z.domAPI=k(),Z.insertStyleElement=A(),b()(F.Z,Z),F.Z&&F.Z.locals&&F.Z.locals;class H extends o.Sy{toMentionAttribute(e,t){return l(e,t)}static get pluginName(){return"Mention"}static get requires(){return[s,O]}}},4690:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Paragraph:()=>l,ParagraphButtonUI:()=>u});var o=i(7578),n=i(1833);class r extends o.Command{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document,i=(0,n.first)(t.selection.getSelectedBlocks());this.value=!!i&&i.is("element","paragraph"),this.isEnabled=!!i&&s(i,e.schema)}execute(e={}){const t=this.editor.model,i=t.document,o=e.selection||i.selection;t.canEditAt(o)&&t.change((e=>{const i=o.getSelectedBlocks();for(const o of i)!o.is("element","paragraph")&&s(o,t.schema)&&e.rename(o,"paragraph")}))}}function s(e,t){return t.checkChild(e.parent,"paragraph")&&!t.isObject(e)}class a extends o.Command{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}execute(e){const t=this.editor.model,i=e.attributes;let o=e.position;t.canEditAt(o)&&t.change((e=>{const n=e.createElement("paragraph");if(i&&t.schema.setAllowedAttributes(n,i,e),!t.schema.checkChild(o.parent,n)){const i=t.schema.findAllowedParent(o,n);if(!i)return;o=e.split(o,i).position}t.insertContent(n,o),e.setSelection(n,"in")}))}}class l extends o.Plugin{static get pluginName(){return"Paragraph"}init(){const e=this.editor,t=e.model;e.commands.add("paragraph",new r(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})=>l.paragraphLikeElements.has(e.name)?e.isEmpty?null:t.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}}l.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);var c=i(7230);const d=o.icons.paragraph;class u extends o.Plugin{static get requires(){return[l]}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("paragraph",(i=>{const o=new c.ButtonView(i),n=e.commands.get("paragraph");return o.label=t("Paragraph"),o.icon=d,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(n),o.bind("isOn").to(n,"value"),o.on("execute",(()=>{e.execute("paragraph")})),o}))}}},7682:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PasteFromOffice:()=>_,parseHtml:()=>k});var o=i(6854),n=i(3837),r=i(3291);function s(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 a(e,t,i){const o=t.parent,n=i.createElement(e.type),r=o.getChildIndex(t)+1;return i.insertChild(r,n,o),e.style&&i.setStyle("list-style-type",e.style,n),e.startIndex&&e.startIndex>1&&i.setAttribute("start",e.startIndex,n),n}function l(e){const t={},i=e.getStyle("mso-list");if(i){const e=i.match(/(^|\s{1,100})l(\d+)/i),o=i.match(/\s{0,100}lfo(\d+)/i),n=i.match(/\s{0,100}level(\d+)/i);e&&o&&n&&(t.id=e[2],t.order=o[1],t.indent=parseInt(n[1]))}return t}const c=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,d=/xmlns:o="urn:schemas-microsoft-com/i;class u{constructor(e){this.document=e}isActive(e){return c.test(e)||d.test(e)}execute(e){const{body:t,stylesString:i}=e._parsedData;(function(e,t){if(!e.childCount)return;const i=new r.yj(e.document),o=function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),n=[];for(const e of i)if("elementStart"===e.type&&o.match(e.item)){const t=l(e.item);n.push({element:e.item,id:t.id,order:t.order,indent:t.indent})}return n}(e,i);if(!o.length)return;let n=null,c=1;o.forEach(((e,l)=>{const d=function(e,t){if(!e)return!0;if(e.id!==t.id)return t.indent-e.indent!=1;const i=t.element.previousSibling;return!i||!((o=i).is("element","ol")||o.is("element","ul"));var o}(o[l-1],e),u=(m=e,(h=d?null:o[l-1])?m.indent-h.indent:m.indent-1);var h,m;if(d&&(n=null,c=1),!n||0!==u){const o=function(e,t){const i=/mso-level-number-format:([^;]{0,100});/gi,o=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi").exec(t);let r="decimal",a="ol",l=null;if(n&&n[1]){const t=i.exec(n[1]);if(t&&t[1]&&(r=t[1].trim(),a="bullet"!==r&&"image"!==r?"ol":"ul"),"bullet"===r){const t=function(e){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 i=t._data;return"o"===i?"circle":"·"===i?"disc":"§"===i?"square":null}(e.element);t&&(r=t)}else{const e=o.exec(n[1]);e&&e[1]&&(l=parseInt(e[1]))}}return{type:a,startIndex:l,style:s(r)}}(e,t);if(n){if(e.indent>c){const e=n.getChild(n.childCount-1),t=e.getChild(e.childCount-1);n=a(o,t,i),c+=1}else if(e.indent<c){const t=c-e.indent;n=function(e,t){const i=e.getAncestors({parentFirst:!0});let o=null,n=0;for(const e of i)if((e.is("element","ul")||e.is("element","ol"))&&n++,n===t){o=e;break}return o}(n,t),c=e.indent}}else n=a(o,e.element,i);e.indent<=c&&(n.is("element",o.type)||(n=i.rename(o.type,n)))}const g=function(e,t){return function(e,t){const i=new r.xO({name:"span",styles:{"mso-list":"Ignore"}}),o=t.createRangeIn(e);for(const e of o)"elementStart"===e.type&&i.match(e.item)&&t.remove(e.item)}(e,t),t.removeStyle("text-indent",e),t.rename("li",e)}(e.element,i);i.appendChild(g,n)}))})(t,i),function(e,t){if(!e.childCount)return;const i=new r.yj(e.document),o=function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:/v:(.+)/}),n=[];for(const e of i){if("elementStart"!=e.type)continue;const t=e.item,i=t.previousSibling,r=i&&i.is("element")?i.name:null;o.match(t)&&t.getAttribute("o:gfxdata")&&"v:shapetype"!==r&&n.push(e.item.getAttribute("id"))}return n}(e,i);!function(e,t,i){const o=i.createRangeIn(t),n=new r.xO({name:"img"}),s=[];for(const t of o)if(t.item.is("element")&&n.match(t.item)){const i=t.item,o=i.getAttribute("v:shapes")?i.getAttribute("v:shapes").split(" "):[];o.length&&o.every((t=>e.indexOf(t)>-1))?s.push(i):i.getAttribute("src")||s.push(i)}for(const e of s)i.remove(e)}(o,e,i),function(e,t,i){const o=i.createRangeIn(t),n=[];for(const t of o)if("elementStart"==t.type&&t.item.is("element","v:shape")){const i=t.item.getAttribute("id");if(e.includes(i))continue;r(t.item.parent.getChildren(),i)||n.push(t.item)}for(const e of n){const t={src:s(e)};e.hasAttribute("alt")&&(t.alt=e.getAttribute("alt"));const o=i.createElement("img",t);i.insertChild(e.index+1,o,e.parent)}function r(e,t){for(const i of e)if(i.is("element")){if("img"==i.name&&i.getAttribute("v:shapes")==t)return!0;if(r(i.getChildren(),t))return!0}return!1}function s(e){for(const t of e.getChildren())if(t.is("element")&&t.getAttribute("src"))return t.getAttribute("src")}}(o,e,i),function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:/v:(.+)/}),n=[];for(const e of i)"elementStart"==e.type&&o.match(e.item)&&n.push(e.item);for(const e of n)t.remove(e)}(e,i);const n=function(e,t){const i=t.createRangeIn(e),o=new r.xO({name:"img"}),n=[];for(const e of i)e.item.is("element")&&o.match(e.item)&&e.item.getAttribute("src").startsWith("file://")&&n.push(e.item);return n}(e,i);n.length&&function(e,t,i){if(e.length===t.length)for(let n=0;n<e.length;n++){const r=`data:${t[n].type};base64,${o=t[n].hex,btoa(o.match(/\w{2}/g).map((e=>String.fromCharCode(parseInt(e,16)))).join(""))}`;i.setAttribute("src",r,e[n])}var o}(n,function(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,i=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),o=e.match(i),n=[];if(o)for(const e of o){let i=!1;e.includes("\\pngblip")?i="image/png":e.includes("\\jpegblip")&&(i="image/jpeg"),i&&n.push({hex:e.replace(t,"").replace(/[^\da-fA-F]/g,""),type:i})}return n}(t),i)}(t,e.dataTransfer.getData("text/rtf")),e.content=t}}function h(e,t,i,{blockElements:o,inlineObjectElements:n}){let r=i.createPositionAt(e,"forward"==t?"after":"before");return r=r.getLastMatchingPosition((({item:e})=>e.is("element")&&!o.includes(e.name)&&!n.includes(e.name)),{direction:t}),"forward"==t?r.nodeAfter:r.nodeBefore}function m(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const g=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class p{constructor(e){this.document=e}isActive(e){return g.test(e)}execute(e){const t=new r.yj(this.document),{body:i}=e._parsedData;!function(e,t){for(const i of e.getChildren())if(i.is("element","b")&&"normal"===i.getStyle("font-weight")){const o=e.getChildIndex(i);t.remove(i),t.insertChild(o,i.getChildren(),e)}}(i,t),function(e,t){for(const i of t.createRangeIn(e)){const e=i.item;if(e.is("element","li")){const i=e.getChild(0);i&&i.is("element","p")&&t.unwrapElement(i)}}}(i,t),function(e,t){const i=new r.Ux(t.document.stylesProcessor),o=new r.pG(i,{renderingMode:"data"}),n=o.blockElements,s=o.inlineObjectElements,a=[];for(const i of t.createRangeIn(e)){const e=i.item;if(e.is("element","br")){const i=h(e,"forward",t,{blockElements:n,inlineObjectElements:s}),o=h(e,"backward",t,{blockElements:n,inlineObjectElements:s}),r=m(i,n);(m(o,n)||r)&&a.push(e)}}for(const e of a)e.hasClass("Apple-interchange-newline")?t.remove(e):t.replace(e,t.createElement("p"))}(i,t),e.content=i}}const f=/<google-sheets-html-origin/i;class b{constructor(e){this.document=e}isActive(e){return f.test(e)}execute(e){const t=new r.yj(this.document),{body:i}=e._parsedData;!function(e,t){for(const i of e.getChildren())if(i.is("element","google-sheets-html-origin")){const o=e.getChildIndex(i);t.remove(i),t.insertChild(o,i.getChildren(),e)}}(i,t),function(e,t){for(const i of e.getChildren())i.is("element","table")&&i.hasAttribute("xmlns")&&t.removeAttribute("xmlns",i)}(i,t),function(e,t){for(const i of e.getChildren())i.is("element","table")&&"0px"===i.getStyle("width")&&t.removeStyle("width",i)}(i,t),function(e,t){for(const i of Array.from(e.getChildren()))i.is("element","style")&&t.remove(i)}(i,t),e.content=i}}function w(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 k(e,t){const i=new DOMParser,o=function(e){return w(w(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(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(e){const t="</body>",i=e.indexOf(t);if(i<0)return e;const o=e.indexOf("</html>",i+7);return e.substring(0,i+7)+(o>=0?e.substring(o):"")}(e=e.replace(/<!--\[if gte vml 1]>/g,""))),n=i.parseFromString(o,"text/html");!function(e){e.querySelectorAll("span[style*=spacerun]").forEach((e=>{const t=e,i=t.innerText.length||0;t.innerText=Array(i+1).join("  ").substr(0,i)}))}(n);const s=n.body.innerHTML,a=function(e,t){const i=new r.Ux(t),o=new r.pG(i,{renderingMode:"data"}),n=e.createDocumentFragment(),s=e.body.childNodes;for(;s.length>0;)n.appendChild(s[0]);return o.domToView(n,{skipComments:!0})}(n,t),l=function(e){const t=[],i=[],o=Array.from(e.getElementsByTagName("style"));for(const e of o)e.sheet&&e.sheet.cssRules&&e.sheet.cssRules.length&&(t.push(e.sheet),i.push(e.innerHTML));return{styles:t,stylesString:i.join(" ")}}(n);return{body:a,bodyString:s,styles:l.styles,stylesString:l.stylesString}}class _ extends o.Sy{static get pluginName(){return"PasteFromOffice"}static get requires(){return[n._l]}init(){const e=this.editor,t=e.plugins.get("ClipboardPipeline"),i=e.editing.view.document,o=[];o.push(new u(i)),o.push(new p(i)),o.push(new b(i)),t.on("inputTransformation",((t,n)=>{if(n._isTransformedWithPasteFromOffice)return;if(e.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const r=n.dataTransfer.getData("text/html"),s=o.find((e=>e.isActive(r)));s&&(n._parsedData||(n._parsedData=k(r,i.stylesProcessor)),s.execute(n),n._isTransformedWithPasteFromOffice=!0)}),{priority:"high"})}}},9501:(e,t,i)=>{"use strict";i.r(t),i.d(t,{RemoveFormat:()=>d,RemoveFormatEditing:()=>c,RemoveFormatUI:()=>s});var o=i(6854),n=i(7095);const r="removeFormat";class s extends o.Sy{static get pluginName(){return"RemoveFormatUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(r,(i=>{const o=e.commands.get(r),s=new n.r5(i);return s.set({label:t("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>',tooltip:!0}),s.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(s,"execute",(()=>{e.execute(r),e.editing.view.focus()})),s}))}}var a=i(6553);class l extends o.mY{refresh(){const e=this.editor.model;this.isEnabled=!!(0,a.Ps)(this._getFormattingItems(e.document.selection,e.schema))}execute(){const e=this.editor.model,t=e.schema;e.change((i=>{for(const o of this._getFormattingItems(e.document.selection,t))if(o.is("selection"))for(const e of this._getFormattingAttributes(o,t))i.removeSelectionAttribute(e);else{const e=i.createRangeOn(o);for(const n of this._getFormattingAttributes(o,t))i.removeAttribute(n,e)}}))}*_getFormattingItems(e,t){const i=e=>!!(0,a.Ps)(this._getFormattingAttributes(e,t));for(const o of e.getRanges())for(const e of o.getItems())!t.isBlock(e)&&i(e)&&(yield e);for(const t of e.getSelectedBlocks())i(t)&&(yield t);i(e)&&(yield e)}*_getFormattingAttributes(e,t){for(const[i]of e.getAttributes()){const e=t.getAttributeProperties(i);e&&e.isFormatting&&(yield i)}}}class c extends o.Sy{static get pluginName(){return"RemoveFormatEditing"}init(){const e=this.editor;e.commands.add("removeFormat",new l(e))}}class d extends o.Sy{static get requires(){return[c,s]}static get pluginName(){return"RemoveFormat"}}},8497:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PlainTableOutput:()=>je,Table:()=>We,TableCaption:()=>Ti,TableCaptionEditing:()=>Ci,TableCaptionUI:()=>xi,TableCellProperties:()=>Yt,TableCellPropertiesEditing:()=>Jt,TableCellPropertiesUI:()=>zt,TableCellWidthEditing:()=>Lt,TableClipboard:()=>Re,TableColumnResize:()=>$i,TableColumnResizeEditing:()=>Wi,TableEditing:()=>ve,TableKeyboard:()=>ze,TableMouse:()=>Le,TableProperties:()=>bi,TablePropertiesEditing:()=>li,TablePropertiesUI:()=>fi,TableSelection:()=>Ve,TableToolbar:()=>Ge,TableUI:()=>Te,TableUtils:()=>j});var o=i(6854),n=i(5549);function r(e,t){const{modelAttribute:i,styleName:o,viewElement:n,defaultValue:r,reduceBoxSides:s=!1,shouldUpcast:a=(()=>!0)}=t;e.for("upcast").attributeToAttribute({view:{name:n,styles:{[o]:/[\s\S]+/}},model:{key:i,value:e=>{if(!a(e))return;const t=e.getNormalizedStyle(o),i=s?c(t):t;return r!==i?i:void 0}}})}function s(e,t,i,o){e.for("upcast").add((e=>e.on("element:"+t,((e,t,n)=>{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 s={styles:r};if(!n.consumable.test(t.viewItem,s))return;const a=[...t.modelRange.getItems({shallow:!0})].pop();n.consumable.consume(t.viewItem,s);const l={style:t.viewItem.getNormalizedStyle("border-style"),color:t.viewItem.getNormalizedStyle("border-color"),width:t.viewItem.getNormalizedStyle("border-width")},d={style:c(l.style),color:c(l.color),width:c(l.width)};d.style!==o.style&&n.writer.setAttribute(i.style,d.style,a),d.color!==o.color&&n.writer.setAttribute(i.color,d.color,a),d.width!==o.width&&n.writer.setAttribute(i.width,d.width,a)}))))}function a(e,t){const{modelElement:i,modelAttribute:o,styleName:n}=t;e.for("downcast").attributeToAttribute({model:{name:i,key:o},view:e=>({key:"style",value:{[n]:e}})})}function l(e,t){const{modelAttribute:i,styleName:o}=t;e.for("downcast").add((e=>e.on(`attribute:${i}:table`,((e,t,i)=>{const{item:n,attributeNewValue:r}=t,{mapper:s,writer:a}=i;if(!i.consumable.consume(t.item,e.name))return;const l=[...s.toViewElement(n).getChildren()].find((e=>e.is("element","table")));r?a.setStyle(o,r,l):a.removeStyle(o,l)}))))}function c(e){if(!e)return;const t=["top","right","bottom","left"];if(!t.every((t=>e[t])))return e;const i=e.top;return t.every((t=>e[t]===i))?i:e}function d(e,t,i,o,n=1){null!=t&&null!=n&&t>n?o.setAttribute(e,t,i):o.removeAttribute(e,i)}function u(e,t,i={}){const o=e.createElement("tableCell",i);return e.insertElement("paragraph",o),e.insert(o,t),o}function h(e,t){const i=t.parent.parent,o=parseInt(i.getAttribute("headingColumns")||"0"),{column:n}=e.getCellLocation(t);return!!o&&n<o}function m(e,t,i){const{modelAttribute:o}=i;e.extend("tableCell",{allowAttributes:[o]}),r(t,{viewElement:/^(td|th)$/,...i}),a(t,{modelElement:"tableCell",...i})}var g=i(6553);function p(e){return t=>{t.on(`element:${e}`,((e,t,{writer:i})=>{if(!t.modelRange)return;const o=t.modelRange.start.nodeAfter,n=i.createPositionAt(o,0);if(t.viewItem.isEmpty)return void i.insertElement("paragraph",n);const r=Array.from(o.getChildren());if(r.every((e=>e.is("element","$marker")))){const e=i.createElement("paragraph");i.insert(e,i.createPositionAt(o,0));for(const t of r)i.move(i.createRangeOn(t),i.createPositionAt(e,"end"))}}),{priority:"low"})}}function f(e){let t=0,i=0;const o=Array.from(e.getChildren()).filter((e=>"th"===e.name||"td"===e.name));for(;i<o.length&&"th"===o[i].name;){const e=o[i];t+=parseInt(e.getAttribute("colspan")||"1"),i++}return t}class b{constructor(e,t={}){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(){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 i=this._getSpanned();if(i)this._includeAllSlots&&!this._shouldSkipSlot()&&(t=this._formatOutValue(i.cell,i.row,i.column));else{const i=e.getChild(this._cellIndex);if(!i)return this._advanceToNextRow();const o=parseInt(i.getAttribute("colspan")||"1"),n=parseInt(i.getAttribute("rowspan")||"1");(o>1||n>1)&&this._recordSpans(i,n,o),this._shouldSkipSlot()||(t=this._formatOutValue(i)),this._nextCellAtColumn=this._column+o}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,i=this._column){return{done:!1,value:new w(this,e,t,i)}}_shouldSkipSlot(){const e=this._skipRows.has(this._row),t=this._row<this._startRow,i=this._column<this._startColumn,o=void 0!==this._endColumn&&this._column>this._endColumn;return e||t||i||o}_getSpanned(){const e=this._spannedCells.get(this._row);return e&&e.get(this._column)||null}_recordSpans(e,t,i){const o={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+i;t++)e==this._row&&t==this._column||this._markSpannedCell(e,t,o)}_markSpannedCell(e,t,i){this._spannedCells.has(e)||this._spannedCells.set(e,new Map),this._spannedCells.get(e).set(t,i)}}class w{constructor(e,t,i,o){this.cell=t,this.row=e._row,this.column=e._column,this.cellAnchorRow=i,this.cellAnchorColumn=o,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,t){return(i,{writer:o})=>{const r=i.getAttribute("headingRows")||0,s=o.createContainerElement("table",null,[]),a=o.createContainerElement("figure",{class:"table"},s);r>0&&o.insert(o.createPositionAt(s,"end"),o.createContainerElement("thead",null,o.createSlot((e=>e.is("element","tableRow")&&e.index<r)))),r<e.getRows(i)&&o.insert(o.createPositionAt(s,"end"),o.createContainerElement("tbody",null,o.createSlot((e=>e.is("element","tableRow")&&e.index>=r))));for(const{positionOffset:e,filter:i}of t.additionalSlots)o.insert(o.createPositionAt(s,e),o.createSlot(i));return o.insert(o.createPositionAt(s,"after"),o.createSlot((e=>!e.is("element","tableRow")&&!t.additionalSlots.some((({filter:t})=>t(e)))))),t.asWidget?function(e,t){return t.setCustomProperty("table",!0,e),(0,n.XC)(e,t,{hasSelectionHandle:!0})}(a,o):a}}function _(e={}){return(t,{writer:i})=>{const o=t.parent,r=o.parent,s=r.getChildIndex(o),a=new b(r,{row:s}),l=r.getAttribute("headingRows")||0,c=r.getAttribute("headingColumns")||0;let d=null;for(const o of a)if(o.cell==t){const t=o.row<l||o.column<c?"th":"td";d=e.asWidget?(0,n.sC)(i.createEditableElement(t),i):i.createContainerElement(t);break}return d}}function v(e={}){return(t,{writer:i})=>{if(!t.parent.is("element","tableCell"))return null;if(!y(t))return null;if(e.asWidget)return i.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const e=i.createContainerElement("p");return i.setCustomProperty("dataPipeline:transparentRendering",!0,e),e}}}function y(e){return 1==e.parent.childCount&&!!e.getAttributeKeys().next().done}class C extends o.mY{refresh(){const e=this.editor.model,t=e.document.selection,i=e.schema;this.isEnabled=function(e,t){const i=e.getFirstPosition().parent,o=i===i.root?i:i.parent;return t.checkChild(o,"table")}(t,i)}execute(e={}){const t=this.editor,i=t.model,o=t.plugins.get("TableUtils"),n=t.config.get("table.defaultHeadings.rows"),r=t.config.get("table.defaultHeadings.columns");void 0===e.headingRows&&n&&(e.headingRows=n),void 0===e.headingColumns&&r&&(e.headingColumns=r),i.change((t=>{const n=o.createTable(t,e);i.insertObject(n,null,null,{findOptimalPosition:"auto"}),t.setSelection(t.createPositionAt(n.getNodeByPath([0,0,0]),0))}))}}class x extends o.mY{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,i=e.plugins.get("TableUtils"),o="above"===this.order,n=i.getSelectionAffectedTableCells(t),r=i.getRowIndexes(n),s=o?r.first:r.last,a=n[0].findAncestor("table");i.insertRows(a,{at:o?s:s+1,copyStructureFromAbove:!o})}}class A extends o.mY{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,i=e.plugins.get("TableUtils"),o="left"===this.order,n=i.getSelectionAffectedTableCells(t),r=i.getColumnIndexes(n),s=o?r.first:r.last,a=n[0].findAncestor("table");i.insertColumns(a,{columns:1,at:o?s:s+1})}}class E extends o.mY{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 T(e,t,i){const{startRow:o,startColumn:n,endRow:r,endColumn:s}=t,a=i.createElement("table"),l=r-o+1;for(let e=0;e<l;e++)i.insertElement("tableRow",a,"end");const c=[...new b(e,{startRow:o,endRow:r,startColumn:n,endColumn:s,includeAllSlots:!0})];for(const{row:e,column:t,cell:l,isAnchor:d,cellAnchorRow:h,cellAnchorColumn:m}of c){const c=e-o,g=a.getChild(c);if(d){const o=i.cloneElement(l);i.append(o,g),R(o,e,t,r,s,i)}else(h<o||m<n)&&u(i,i.createPositionAt(g,"end"))}return function(e,t,i,o,n){const r=parseInt(t.getAttribute("headingRows")||"0");r>0&&d("headingRows",r-i,e,n,0);const s=parseInt(t.getAttribute("headingColumns")||"0");s>0&&d("headingColumns",s-o,e,n,0)}(a,e,o,n,i),a}function S(e,t,i=0){const o=[],n=new b(e,{startRow:i,endRow:t-1});for(const e of n){const{row:i,cellHeight:n}=e;i<t&&t<=i+n-1&&o.push(e)}return o}function P(e,t,i){const o=e.parent,n=o.parent,r=o.index,s=t-r,a={},l=parseInt(e.getAttribute("rowspan"))-s;l>1&&(a.rowspan=l);const c=parseInt(e.getAttribute("colspan")||"1");c>1&&(a.colspan=c);const h=r+s,m=[...new b(n,{startRow:r,endRow:h,includeAllSlots:!0})];let g,p=null;for(const t of m){const{row:o,column:n,cell:r}=t;r===e&&void 0===g&&(g=n),void 0!==g&&g===n&&o===h&&(p=u(i,t.getPositionBefore(),a))}return d("rowspan",s,e,i),p}function I(e,t){const i=[],o=new b(e);for(const e of o){const{column:o,cellWidth:n}=e;o<t&&t<=o+n-1&&i.push(e)}return i}function V(e,t,i,o){const n=i-t,r={},s=parseInt(e.getAttribute("colspan"))-n;s>1&&(r.colspan=s);const a=parseInt(e.getAttribute("rowspan")||"1");a>1&&(r.rowspan=a);const l=u(o,o.createPositionAfter(e),r);return d("colspan",n,e,o),l}function R(e,t,i,o,n,r){const s=parseInt(e.getAttribute("colspan")||"1"),a=parseInt(e.getAttribute("rowspan")||"1");i+s-1>n&&d("colspan",n-i+1,e,r,1),t+a-1>o&&d("rowspan",o-t+1,e,r,1)}function O(e,t){const i=t.getColumns(e),o=new Array(i).fill(0);for(const{column:t}of new b(e))o[t]++;const n=o.reduce(((e,t,i)=>t?e:[...e,i]),[]);if(n.length>0){const i=n[n.length-1];return t.removeColumns(e,{at:i}),!0}return!1}function B(e,t){const i=[],o=t.getRows(e);for(let t=0;t<o;t++)e.getChild(t).isEmpty&&i.push(t);if(i.length>0){const o=i[i.length-1];return t.removeRows(e,{at:o}),!0}return!1}function M(e,t){O(e,t)||B(e,t)}function z(e,t){const i=Array.from(new b(e,{startColumn:t.firstColumn,endColumn:t.lastColumn,row:t.lastRow}));if(i.every((({cellHeight:e})=>1===e)))return t.lastRow;const o=i[0].cellHeight-1;return t.lastRow+o}function N(e,t){const i=Array.from(new b(e,{startRow:t.firstRow,endRow:t.lastRow,column:t.lastColumn}));if(i.every((({cellWidth:e})=>1===e)))return t.lastColumn;const o=i[0].cellWidth-1;return t.lastColumn+o}class D extends o.mY{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,i=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(t.selection)[0],o=this.value,n=this.direction;e.change((e=>{const t="right"==n||"down"==n,r=t?i:o,s=t?o:i,a=s.parent;!function(e,t,i){L(e)||(L(t)&&i.remove(i.createRangeIn(t)),i.move(i.createRangeIn(e),i.createPositionAt(t,"end"))),i.remove(e)}(s,r,e);const l=this.isHorizontal?"colspan":"rowspan",c=parseInt(i.getAttribute(l)||"1"),d=parseInt(o.getAttribute(l)||"1");e.setAttribute(l,c+d,r),e.setSelection(e.createRangeIn(r));const u=this.editor.plugins.get("TableUtils");M(a.findAncestor("table"),u)}))}_getMergeableCell(){const e=this.editor.model.document,t=this.editor.plugins.get("TableUtils"),i=t.getTableCellsContainingSelection(e.selection)[0];if(!i)return;const o=this.isHorizontal?function(e,t,i){const o=e.parent.parent,n="right"==t?e.nextSibling:e.previousSibling,r=(o.getAttribute("headingColumns")||0)>0;if(!n)return;const s="right"==t?e:n,a="right"==t?n:e,{column:l}=i.getCellLocation(s),{column:c}=i.getCellLocation(a),d=parseInt(s.getAttribute("colspan")||"1"),u=h(i,s),m=h(i,a);return r&&u!=m?void 0:l+d===c?n:void 0}(i,this.direction,t):function(e,t,i){const o=e.parent,n=o.parent,r=n.getChildIndex(o);if("down"==t&&r===i.getRows(n)-1||"up"==t&&0===r)return null;const s=parseInt(e.getAttribute("rowspan")||"1"),a=n.getAttribute("headingRows")||0;if(a&&("down"==t&&r+s===a||"up"==t&&r===a))return null;const l=parseInt(e.getAttribute("rowspan")||"1"),c="down"==t?r+l:r,d=[...new b(n,{endRow:c})],u=d.find((t=>t.cell===e)).column,h=d.find((({row:e,cellHeight:i,column:o})=>o===u&&("down"==t?e===c:c===e+i)));return h&&h.cell?h.cell:null}(i,this.direction,t);if(!o)return;const n=this.isHorizontal?"rowspan":"colspan",r=parseInt(i.getAttribute(n)||"1");return parseInt(o.getAttribute(n)||"1")===r?o:void 0}}function L(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}class F extends o.mY{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),i=t[0];if(i){const o=i.findAncestor("table"),n=e.getRows(o)-1,r=e.getRowIndexes(t),s=0===r.first&&r.last===n;this.isEnabled=!s}else this.isEnabled=!1}execute(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),i=t.getSelectionAffectedTableCells(e.document.selection),o=t.getRowIndexes(i),n=i[0],r=n.findAncestor("table"),s=t.getCellLocation(n).column;e.change((e=>{const i=o.last-o.first+1;t.removeRows(r,{at:o.first,rows:i});const n=function(e,t,i,o){const n=e.getChild(Math.min(t,o-1));let r=n.getChild(0),s=0;for(const e of n.getChildren()){if(s>i)return r;r=e,s+=parseInt(e.getAttribute("colspan")||"1")}return r}(r,o.first,s,t.getRows(r));e.setSelection(e.createPositionAt(n,0))}))}}class Z extends o.mY{refresh(){const e=this.editor.plugins.get("TableUtils"),t=e.getSelectionAffectedTableCells(this.editor.model.document.selection),i=t[0];if(i){const o=i.findAncestor("table"),n=e.getColumns(o),{first:r,last:s}=e.getColumnIndexes(t);this.isEnabled=s-r<n-1}else this.isEnabled=!1}execute(){const e=this.editor.plugins.get("TableUtils"),[t,i]=function(e,t){const i=t.getSelectionAffectedTableCells(e),o=i[0],n=i.pop(),r=[o,n];return o.isBefore(n)?r:r.reverse()}(this.editor.model.document.selection,e),o=t.parent.parent,n=[...new b(o)],r={first:n.find((e=>e.cell===t)).column,last:n.find((e=>e.cell===i)).column},s=function(e,t,i,o){return parseInt(i.getAttribute("colspan")||"1")>1?i:t.previousSibling||i.nextSibling?i.nextSibling||t.previousSibling:o.first?e.reverse().find((({column:e})=>e<o.first)).cell:e.reverse().find((({column:e})=>e>o.last)).cell}(n,t,i,r);this.editor.model.change((t=>{const i=r.last-r.first+1;e.removeColumns(o,{at:r.first,columns:i}),t.setSelection(t.createPositionAt(s,0))}))}}class H extends o.mY{refresh(){const e=this.editor.plugins.get("TableUtils"),t=this.editor.model,i=e.getSelectionAffectedTableCells(t.document.selection),o=i.length>0;this.isEnabled=o,this.value=o&&i.every((e=>this._isInHeading(e,e.parent.parent)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),i=this.editor.model,o=t.getSelectionAffectedTableCells(i.document.selection),n=o[0].findAncestor("table"),{first:r,last:s}=t.getRowIndexes(o),a=this.value?r:s+1,l=n.getAttribute("headingRows")||0;i.change((e=>{if(a){const t=S(n,a,a>l?l:0);for(const{cell:i}of t)P(i,a,e)}d("headingRows",a,n,e,0)}))}_isInHeading(e,t){const i=parseInt(t.getAttribute("headingRows")||"0");return!!i&&e.parent.index<i}}class W extends o.mY{refresh(){const e=this.editor.model,t=this.editor.plugins.get("TableUtils"),i=t.getSelectionAffectedTableCells(e.document.selection),o=i.length>0;this.isEnabled=o,this.value=o&&i.every((e=>h(t,e)))}execute(e={}){if(e.forceValue===this.value)return;const t=this.editor.plugins.get("TableUtils"),i=this.editor.model,o=t.getSelectionAffectedTableCells(i.document.selection),n=o[0].findAncestor("table"),{first:r,last:s}=t.getColumnIndexes(o),a=this.value?r:s+1;i.change((e=>{if(a){const t=I(n,a);for(const{cell:i,column:o}of t)V(i,o,a,e)}d("headingColumns",a,n,e,0)}))}}class j extends o.Sy{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(e){const t=e.parent,i=t.parent,o=i.getChildIndex(t),n=new b(i,{row:o});for(const{cell:t,row:i,column:o}of n)if(t===e)return{row:i,column:o}}createTable(e,t){const i=e.createElement("table"),o=t.rows||2,n=t.columns||2;return U(e,i,0,o,n),t.headingRows&&d("headingRows",Math.min(t.headingRows,o),i,e,0),t.headingColumns&&d("headingColumns",Math.min(t.headingColumns,n),i,e,0),i}insertRows(e,t={}){const i=this.editor.model,o=t.at||0,n=t.rows||1,r=void 0!==t.copyStructureFromAbove,s=t.copyStructureFromAbove?o-1:o,a=this.getRows(e),l=this.getColumns(e);if(o>a)throw new g.Bb("tableutils-insertrows-insert-out-of-range",this,{options:t});i.change((t=>{const i=e.getAttribute("headingRows")||0;if(i>o&&d("headingRows",i+n,e,t,0),!r&&(0===o||o===a))return void U(t,e,o,n,l);const c=r?Math.max(o,s):o,h=new b(e,{endRow:c}),m=new Array(l).fill(1);for(const{row:e,column:i,cellHeight:a,cellWidth:l,cell:c}of h){const d=e+a-1,u=e<=s&&s<=d;e<o&&o<=d?(t.setAttribute("rowspan",a+n,c),m[i]=-l):r&&u&&(m[i]=l)}for(let i=0;i<n;i++){const i=t.createElement("tableRow");t.insert(i,e,o);for(let e=0;e<m.length;e++){const o=m[e],n=t.createPositionAt(i,"end");o>0&&u(t,n,o>1?{colspan:o}:void 0),e+=Math.abs(o)-1}}}))}insertColumns(e,t={}){const i=this.editor.model,o=t.at||0,n=t.columns||1;i.change((t=>{const i=e.getAttribute("headingColumns");o<i&&t.setAttribute("headingColumns",i+n,e);const r=this.getColumns(e);if(0===o||r===o){for(const i of e.getChildren())i.is("element","tableRow")&&$(n,t,t.createPositionAt(i,o?"end":0));return}const s=new b(e,{column:o,includeAllSlots:!0});for(const e of s){const{row:i,cell:r,cellAnchorColumn:a,cellAnchorRow:l,cellWidth:c,cellHeight:d}=e;if(a<o){t.setAttribute("colspan",c+n,r);const e=l+d-1;for(let t=i;t<=e;t++)s.skipRow(t)}else $(n,t,e.getPositionBefore())}}))}removeRows(e,t){const i=this.editor.model,o=t.rows||1,n=this.getRows(e),r=t.at,s=r+o-1;if(s>n-1)throw new g.Bb("tableutils-removerows-row-index-out-of-range",this,{table:e,options:t});i.change((t=>{const i={first:r,last:s},{cellsToMove:o,cellsToTrim:n}=function(e,{first:t,last:i}){const o=new Map,n=[];for(const{row:r,column:s,cellHeight:a,cell:l}of new b(e,{endRow:i})){const e=r+a-1;if(r>=t&&r<=i&&e>i){const e=a-(i-r+1);o.set(s,{cell:l,rowspan:e})}if(r<t&&e>=t){let o;o=e>=i?i-t+1:e-t+1,n.push({cell:l,rowspan:a-o})}}return{cellsToMove:o,cellsToTrim:n}}(e,i);o.size&&function(e,t,i,o){const n=[...new b(e,{includeAllSlots:!0,row:t})],r=e.getChild(t);let s;for(const{column:e,cell:t,isAnchor:a}of n)if(i.has(e)){const{cell:t,rowspan:n}=i.get(e),a=s?o.createPositionAfter(s):o.createPositionAt(r,0);o.move(o.createRangeOn(t),a),d("rowspan",n,t,o),s=t}else a&&(s=t)}(e,s+1,o,t);for(let i=s;i>=r;i--)t.remove(e.getChild(i));for(const{rowspan:e,cell:i}of n)d("rowspan",e,i,t);!function(e,{first:t,last:i},o){const n=e.getAttribute("headingRows")||0;t<n&&d("headingRows",i<n?n-(i-t+1):t,e,o,0)}(e,i,t),O(e,this)||B(e,this)}))}removeColumns(e,t){const i=this.editor.model,o=t.at,n=t.columns||1,r=t.at+n-1;i.change((t=>{!function(e,t,i){const o=e.getAttribute("headingColumns")||0;if(o&&t.first<o){const n=Math.min(o-1,t.last)-t.first+1;i.setAttribute("headingColumns",o-n,e)}}(e,{first:o,last:r},t);for(let i=r;i>=o;i--)for(const{cell:o,column:n,cellWidth:r}of[...new b(e)])n<=i&&r>1&&n+r>i?d("colspan",r-1,o,t):n===i&&t.remove(o);B(e,this)||O(e,this)}))}splitCellVertically(e,t=2){const i=this.editor.model,o=e.parent.parent,n=parseInt(e.getAttribute("rowspan")||"1"),r=parseInt(e.getAttribute("colspan")||"1");i.change((i=>{if(r>1){const{newCellsSpan:o,updatedSpan:s}=q(r,t);d("colspan",s,e,i);const a={};o>1&&(a.colspan=o),n>1&&(a.rowspan=n),$(r>t?t-1:r-1,i,i.createPositionAfter(e),a)}if(r<t){const s=t-r,a=[...new b(o)],{column:l}=a.find((({cell:t})=>t===e)),c=a.filter((({cell:t,cellWidth:i,column:o})=>t!==e&&o===l||o<l&&o+i>l));for(const{cell:e,cellWidth:t}of c)i.setAttribute("colspan",t+s,e);const u={};n>1&&(u.rowspan=n),$(s,i,i.createPositionAfter(e),u);const h=o.getAttribute("headingColumns")||0;h>l&&d("headingColumns",h+s,o,i)}}))}splitCellHorizontally(e,t=2){const i=this.editor.model,o=e.parent,n=o.parent,r=n.getChildIndex(o),s=parseInt(e.getAttribute("rowspan")||"1"),a=parseInt(e.getAttribute("colspan")||"1");i.change((i=>{if(s>1){const o=[...new b(n,{startRow:r,endRow:r+s-1,includeAllSlots:!0})],{newCellsSpan:l,updatedSpan:c}=q(s,t);d("rowspan",c,e,i);const{column:u}=o.find((({cell:t})=>t===e)),h={};l>1&&(h.rowspan=l),a>1&&(h.colspan=a);for(const e of o){const{column:t,row:o}=e;o>=r+c&&t===u&&(o+r+c)%l==0&&$(1,i,e.getPositionBefore(),h)}}if(s<t){const o=t-s,l=[...new b(n,{startRow:0,endRow:r})];for(const{cell:t,cellHeight:n,row:s}of l)if(t!==e&&s+n>r){const e=n+o;i.setAttribute("rowspan",e,t)}const c={};a>1&&(c.colspan=a),U(i,n,r+1,o,1,c);const u=n.getAttribute("headingRows")||0;u>r&&d("headingRows",u+o,n,i)}}))}getColumns(e){return[...e.getChild(0).getChildren()].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 b(e,t)}getSelectedTableCells(e){const t=[];for(const i of this.sortRanges(e.getRanges())){const e=i.getContainedElement();e&&e.is("element","tableCell")&&t.push(e)}return t}getTableCellsContainingSelection(e){const t=[];for(const i of e.getRanges()){const e=i.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"),i=[...new b(t)].filter((t=>e.includes(t.cell))).map((e=>e.column));return this._getFirstLastIndexesObject(i)}isSelectionRectangular(e){if(e.length<2||!this._areCellInTheSameTableSection(e))return!1;const t=new Set,i=new Set;let o=0;for(const n of e){const{row:e,column:r}=this.getCellLocation(n),s=parseInt(n.getAttribute("rowspan"))||1,a=parseInt(n.getAttribute("colspan"))||1;t.add(e),i.add(r),s>1&&t.add(e+s-1),a>1&&i.add(r+a-1),o+=s*a}const n=function(e,t){const i=Array.from(e.values()),o=Array.from(t.values());return(Math.max(...i)-Math.min(...i)+1)*(Math.max(...o)-Math.min(...o)+1)}(t,i);return n==o}sortRanges(e){return Array.from(e).sort(K)}_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"),i=this.getRowIndexes(e),o=parseInt(t.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(i,o))return!1;const n=this.getColumnIndexes(e),r=parseInt(t.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(n,r)}_areIndexesInSameSection({first:e,last:t},i){return e<i==t<i}}function U(e,t,i,o,n,r={}){for(let s=0;s<o;s++){const o=e.createElement("tableRow");e.insert(o,t,i),$(n,e,e.createPositionAt(o,"end"),r)}}function $(e,t,i,o={}){for(let n=0;n<e;n++)u(t,i,o)}function q(e,t){if(e<t)return{newCellsSpan:1,updatedSpan:1};const i=Math.floor(e/t);return{newCellsSpan:i,updatedSpan:e-i*t+i}}function K(e,t){const i=e.start,o=t.start;return i.isBefore(o)?-1:1}class G extends o.mY{refresh(){const e=this.editor.plugins.get(j),t=e.getSelectedTableCells(this.editor.model.document.selection);this.isEnabled=e.isSelectionRectangular(t)}execute(){const e=this.editor.model,t=this.editor.plugins.get(j);e.change((i=>{const o=t.getSelectedTableCells(e.document.selection),n=o.shift(),{mergeWidth:r,mergeHeight:s}=function(e,t,i){let o=0,n=0;for(const e of t){const{row:t,column:r}=i.getCellLocation(e);o=Q(e,r,o,"colspan"),n=Q(e,t,n,"rowspan")}const{row:r,column:s}=i.getCellLocation(e);return{mergeWidth:o-s,mergeHeight:n-r}}(n,o,t);d("colspan",r,n,i),d("rowspan",s,n,i);for(const e of o)J(e,n,i);M(n.findAncestor("table"),t),i.setSelection(n,"in")}))}}function J(e,t,i){Y(e)||(Y(t)&&i.remove(i.createRangeIn(t)),i.move(i.createRangeIn(e),i.createPositionAt(t,"end"))),i.remove(e)}function Y(e){const t=e.getChild(0);return 1==e.childCount&&t.is("element","paragraph")&&t.isEmpty}function Q(e,t,i,o){const n=parseInt(e.getAttribute(o)||"1");return Math.max(i,t+n)}class X extends o.mY{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"),i=t.getSelectionAffectedTableCells(e.document.selection),o=t.getRowIndexes(i),n=i[0].findAncestor("table"),r=[];for(let t=o.first;t<=o.last;t++)for(const i of n.getChild(t).getChildren())r.push(e.createRangeOn(i));e.change((e=>{e.setSelection(r)}))}}class ee extends o.mY{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,i=e.getSelectionAffectedTableCells(t.document.selection),o=i[0],n=i.pop(),r=o.findAncestor("table"),s=e.getCellLocation(o),a=e.getCellLocation(n),l=Math.min(s.column,a.column),c=Math.max(s.column,a.column),d=[];for(const e of new b(r,{startColumn:l,endColumn:c}))d.push(t.createRangeOn(e.cell));t.change((e=>{e.setSelection(d)}))}}function te(e,t){let i=!1;const o=function(e){const t=parseInt(e.getAttribute("headingRows")||"0"),i=Array.from(e.getChildren()).reduce(((e,t)=>t.is("element","tableRow")?e+1:e),0),o=[];for(const{row:n,cell:r,cellHeight:s}of new b(e)){if(s<2)continue;const e=n<t?t:i;if(n+s>e){const t=e-n;o.push({cell:r,rowspan:t})}}return o}(e);if(o.length){i=!0;for(const e of o)d("rowspan",e.rowspan,e.cell,t,1)}return i}function ie(e,t){let i=!1;const o=function(e){const t=new Array(e.childCount).fill(0);for(const{rowIndex:i}of new b(e,{includeAllSlots:!0}))t[i]++;return t}(e),n=[];for(const[t,i]of o.entries())!i&&e.getChild(t).is("element","tableRow")&&n.push(t);if(n.length){i=!0;for(const i of n.reverse())t.remove(e.getChild(i)),o.splice(i,1)}const r=o.filter(((t,i)=>e.getChild(i).is("element","tableRow"))),s=r[0];if(!r.every((e=>e===s))){const o=r.reduce(((e,t)=>t>e?t:e),0);for(const[n,s]of r.entries()){const r=o-s;if(r){for(let i=0;i<r;i++)u(t,t.createPositionAt(e.getChild(n),"end"));i=!0}}}return i}function oe(e){if("attribute"!==e.type)return!1;const t=e.attributeKey;return"headingRows"===t||"colspan"===t||"rowspan"===t}function ne(e,t){let i=!1;for(const o of e.getChildren())o.is("element","tableRow")&&(i=re(o,t)||i);return i}function re(e,t){let i=!1;for(const o of e.getChildren())i=se(o,t)||i;return i}function se(e,t){if(0==e.childCount)return t.insertElement("paragraph",e),!0;const i=Array.from(e.getChildren()).filter((e=>e.is("$text")));for(const e of i)t.wrap(t.createRangeOn(e),"paragraph");return!!i.length}function ae(e){return!!e.position.parent.is("element","tableCell")&&("insert"==e.type&&"$text"==e.name||"remove"==e.type)}function le(e,t){if(!e.is("element","paragraph"))return!1;const i=t.toViewElement(e);return!!i&&y(e)!==i.is("element","span")}var ce=i(3379),de=i.n(ce),ue=i(9037),he=i.n(ue),me=i(569),ge=i.n(me),pe=i(8575),fe=i.n(pe),be=i(9216),we=i.n(be),ke=i(8361),_e={attributes:{"data-cke":!0}};_e.setAttributes=fe(),_e.insert=ge().bind(null,"head"),_e.domAPI=he(),_e.insertStyleElement=we(),de()(ke.Z,_e),ke.Z&&ke.Z.locals&&ke.Z.locals;class ve extends o.Sy{static get pluginName(){return"TableEditing"}static get requires(){return[j]}constructor(e){super(e),this._additionalSlots=[]}init(){const e=this.editor,t=e.model,i=t.schema,o=e.conversion,n=e.plugins.get(j);i.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),i.register("tableRow",{allowIn:"table",isLimit:!0}),i.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),o.for("upcast").add((e=>{e.on("element:figure",((e,t,i)=>{if(!i.consumable.test(t.viewItem,{name:!0,classes:"table"}))return;const o=function(e){for(const t of e.getChildren())if(t.is("element","table"))return t}(t.viewItem);if(!o||!i.consumable.test(o,{name:!0}))return;i.consumable.consume(t.viewItem,{name:!0,classes:"table"});const n=i.convertItem(o,t.modelCursor),r=(0,g.Ps)(n.modelRange.getItems());r?(i.convertChildren(t.viewItem,i.writer.createPositionAt(r,"end")),i.updateConversionResult(r,t)):i.consumable.revert(t.viewItem,{name:!0,classes:"table"})}))})),o.for("upcast").add((e=>{e.on("element:table",((e,t,i)=>{const o=t.viewItem;if(!i.consumable.test(o,{name:!0}))return;const{rows:n,headingRows:r,headingColumns:s}=function(e){let t,i=0;const o=[],n=[];let r;for(const s of Array.from(e.getChildren())){if("tbody"!==s.name&&"thead"!==s.name&&"tfoot"!==s.name)continue;"thead"!==s.name||r||(r=s);const e=Array.from(s.getChildren()).filter((e=>e.is("element","tr")));for(const a of e)if(r&&s===r||"tbody"===s.name&&Array.from(a.getChildren()).length&&Array.from(a.getChildren()).every((e=>e.is("element","th"))))i++,o.push(a);else{n.push(a);const e=f(a);(!t||e<t)&&(t=e)}}return{headingRows:i,headingColumns:t||0,rows:[...o,...n]}}(o),a={};s&&(a.headingColumns=s),r&&(a.headingRows=r);const l=i.writer.createElement("table",a);if(i.safeInsert(l,t.modelCursor)){if(i.consumable.consume(o,{name:!0}),n.forEach((e=>i.convertItem(e,i.writer.createPositionAt(l,"end")))),i.convertChildren(o,i.writer.createPositionAt(l,"end")),l.isEmpty){const e=i.writer.createElement("tableRow");i.writer.insert(e,i.writer.createPositionAt(l,"end")),u(i.writer,i.writer.createPositionAt(e,"end"))}i.updateConversionResult(l,t)}}))})),o.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(n,{asWidget:!0,additionalSlots:this._additionalSlots})}),o.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:k(n,{additionalSlots:this._additionalSlots})}),o.for("upcast").elementToElement({model:"tableRow",view:"tr"}),o.for("upcast").add((e=>{e.on("element:tr",((e,t)=>{t.viewItem.isEmpty&&0==t.modelCursor.index&&e.stop()}),{priority:"high"})})),o.for("downcast").elementToElement({model:"tableRow",view:(e,{writer:t})=>e.isEmpty?t.createEmptyElement("tr"):t.createContainerElement("tr")}),o.for("upcast").elementToElement({model:"tableCell",view:"td"}),o.for("upcast").elementToElement({model:"tableCell",view:"th"}),o.for("upcast").add(p("td")),o.for("upcast").add(p("th")),o.for("editingDowncast").elementToElement({model:"tableCell",view:_({asWidget:!0})}),o.for("dataDowncast").elementToElement({model:"tableCell",view:_()}),o.for("editingDowncast").elementToElement({model:"paragraph",view:v({asWidget:!0}),converterPriority:"high"}),o.for("dataDowncast").elementToElement({model:"paragraph",view:v(),converterPriority:"high"}),o.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),o.for("upcast").attributeToAttribute({model:{key:"colspan",value:ye("colspan")},view:"colspan"}),o.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),o.for("upcast").attributeToAttribute({model:{key:"rowspan",value:ye("rowspan")},view:"rowspan"}),e.config.define("table.defaultHeadings.rows",0),e.config.define("table.defaultHeadings.columns",0),e.commands.add("insertTable",new C(e)),e.commands.add("insertTableRowAbove",new x(e,{order:"above"})),e.commands.add("insertTableRowBelow",new x(e,{order:"below"})),e.commands.add("insertTableColumnLeft",new A(e,{order:"left"})),e.commands.add("insertTableColumnRight",new A(e,{order:"right"})),e.commands.add("removeTableRow",new F(e)),e.commands.add("removeTableColumn",new Z(e)),e.commands.add("splitTableCellVertically",new E(e,{direction:"vertically"})),e.commands.add("splitTableCellHorizontally",new E(e,{direction:"horizontally"})),e.commands.add("mergeTableCells",new G(e)),e.commands.add("mergeTableCellRight",new D(e,{direction:"right"})),e.commands.add("mergeTableCellLeft",new D(e,{direction:"left"})),e.commands.add("mergeTableCellDown",new D(e,{direction:"down"})),e.commands.add("mergeTableCellUp",new D(e,{direction:"up"})),e.commands.add("setTableColumnHeader",new W(e)),e.commands.add("setTableRowHeader",new H(e)),e.commands.add("selectTableRow",new X(e)),e.commands.add("selectTableColumn",new ee(e)),function(e){e.document.registerPostFixer((t=>function(e,t){const i=t.document.differ.getChanges();let o=!1;const n=new Set;for(const t of i){let i=null;"insert"==t.type&&"table"==t.name&&(i=t.position.nodeAfter),"insert"!=t.type&&"remove"!=t.type||"tableRow"!=t.name&&"tableCell"!=t.name||(i=t.position.findAncestor("table")),oe(t)&&(i=t.range.start.findAncestor("table")),i&&!n.has(i)&&(o=te(i,e)||o,o=ie(i,e)||o,n.add(i))}return o}(t,e)))}(t),function(e){e.document.registerPostFixer((t=>function(e,t){const i=t.document.differ.getChanges();let o=!1;for(const t of i)"insert"==t.type&&"table"==t.name&&(o=ne(t.position.nodeAfter,e)||o),"insert"==t.type&&"tableRow"==t.name&&(o=re(t.position.nodeAfter,e)||o),"insert"==t.type&&"tableCell"==t.name&&(o=se(t.position.nodeAfter,e)||o),"remove"!=t.type&&"insert"!=t.type||!ae(t)||(o=se(t.position.parent,e)||o);return o}(t,e)))}(t),this.listenTo(t.document,"change:data",(()=>{!function(e,t){const i=e.document.differ;for(const e of i.getChanges()){let i,o=!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;i=t,o="headingRows"==e.attributeKey}else"tableRow"!=e.name&&"tableCell"!=e.name||(i=e.position.findAncestor("table"),o="tableRow"==e.name);if(!i)continue;const n=i.getAttribute("headingRows")||0,r=i.getAttribute("headingColumns")||0,s=new b(i);for(const e of s){const i=e.row<n||e.column<r?"th":"td",s=t.mapper.toViewElement(e.cell);s&&s.is("element")&&s.name!=i&&t.reconvertItem(o?e.cell.parent:e.cell)}}}(t,e.editing),function(e,t){const i=e.document.differ,o=new Set;for(const e of i.getChanges()){const t="attribute"==e.type?e.range.start.parent:e.position.parent;t.is("element","tableCell")&&o.add(t)}for(const e of o.values()){const i=Array.from(e.getChildren()).filter((e=>le(e,t.mapper)));for(const e of i)t.reconvertItem(e)}}(t,e.editing)}))}registerAdditionalSlot(e){this._additionalSlots.push(e)}}function ye(e){return t=>{const i=parseInt(t.getAttribute(e));return Number.isNaN(i)||i<=0?null:i}}var Ce=i(7095),xe=i(468),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=fe(),Ae.insert=ge().bind(null,"head"),Ae.domAPI=he(),Ae.insertStyleElement=we(),de()(xe.Z,Ae),xe.Z&&xe.Z.locals&&xe.Z.locals;class Ee extends Ce.G7{constructor(e){super(e);const t=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new g.VD,this.focusTracker=new g.Rh,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:i,column:o}=t.target.dataset;this.items.get(10*(parseInt(i,10)-1)+(parseInt(o,10)-1)).focus()})),this.focusTracker.on("change:focusedElement",((e,t,i)=>{if(!i)return;const{row:o,column:n}=i.dataset;this.set({rows:parseInt(o),columns:parseInt(n)})})),this.on("change:columns",(()=>this._highlightGridBoxes())),this.on("change:rows",(()=>this._highlightGridBoxes()))}render(){super.render(),(0,Ce.IJ)({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)}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const e=this.rows,t=this.columns;this.items.map(((i,o)=>{const n=Math.floor(o/10)<e&&o%10<t;i.set("isOn",n)}))}_createGridButton(e,t,i,o){const n=new Ce.r5(e);return n.set({label:o,class:"ck-insert-table-dropdown-grid-box"}),n.extendTemplate({attributes:{"data-row":t,"data-column":i}}),n}_createGridCollection(){const e=[];for(let t=0;t<100;t++){const i=Math.floor(t/10),o=t%10,n=`${i+1} × ${o+1}`;e.push(this._createGridButton(this.locale,i+1,o+1,n))}return this.createCollection(e)}}class Te extends o.Sy{static get pluginName(){return"TableUI"}init(){const e=this.editor,t=this.editor.t,i="ltr"===e.locale.contentLanguageDirection;e.ui.componentFactory.add("insertTable",(i=>{const o=e.commands.get("insertTable"),n=(0,Ce.t9)(i);let r;return n.bind("isEnabled").to(o),n.buttonView.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 6v3h4V6H3zm0 4v3h4v-3H3zm0 4v3h4v-3H3zm5 3h4v-3H8v3zm5 0h4v-3h-4v3zm4-4v-3h-4v3h4zm0-4V6h-4v3h4zm1.5 8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 17V4c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13zM12 13v-3H8v3h4zm0-4V6H8v3h4z"/></svg>',label:t("Insert table"),tooltip:!0}),n.on("change:isOpen",(()=>{r||(r=new Ee(i),n.panelView.children.add(r),r.delegate("execute").to(n),n.on("execute",(()=>{e.execute("insertTable",{rows:r.rows,columns:r.columns}),e.editing.view.focus()})))})),n})),e.ui.componentFactory.add("tableColumn",(e=>{const o=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:t("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:i?"insertTableColumnLeft":"insertTableColumnRight",label:t("Insert column left")}},{type:"button",model:{commandName:i?"insertTableColumnRight":"insertTableColumnLeft",label:t("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:t("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:t("Select column")}}];return this._prepareDropdown(t("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>',o,e)})),e.ui.componentFactory.add("tableRow",(e=>{const i=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:t("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:t("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:t("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:t("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:t("Select row")}}];return this._prepareDropdown(t("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>',i,e)})),e.ui.componentFactory.add("mergeTableCells",(e=>{const o=[{type:"button",model:{commandName:"mergeTableCellUp",label:t("Merge cell up")}},{type:"button",model:{commandName:i?"mergeTableCellRight":"mergeTableCellLeft",label:t("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:t("Merge cell down")}},{type:"button",model:{commandName:i?"mergeTableCellLeft":"mergeTableCellRight",label:t("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:t("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:t("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(t("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>',o,e)}))}_prepareDropdown(e,t,i,o){const n=this.editor,r=(0,Ce.t9)(o),s=this._fillDropdownWithListOptions(r,i);return r.buttonView.set({label:e,icon:t,tooltip:!0}),r.bind("isEnabled").toMany(s,"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r,"execute",(e=>{n.execute(e.source.commandName),e.source instanceof Ce.BM||n.editing.view.focus()})),r}_prepareMergeSplitButtonDropdown(e,t,i,o){const n=this.editor,r=(0,Ce.t9)(o,Ce.Rm),s="mergeTableCells",a=n.commands.get(s),l=this._fillDropdownWithListOptions(r,i);return r.buttonView.set({label:e,icon:t,tooltip:!0,isEnabled:!0}),r.bind("isEnabled").toMany([a,...l],"isEnabled",((...e)=>e.some((e=>e)))),this.listenTo(r.buttonView,"execute",(()=>{n.execute(s),n.editing.view.focus()})),this.listenTo(r,"execute",(e=>{n.execute(e.source.commandName),n.editing.view.focus()})),r}_fillDropdownWithListOptions(e,t){const i=this.editor,o=[],n=new g.FE;for(const e of t)Se(e,i,o,n);return(0,Ce.Pm)(e,n),o}}function Se(e,t,i,o){if("button"===e.type||"switchbutton"===e.type){const o=e.model=new Ce.Hn(e.model),{commandName:n,bindIsOn:r}=e.model,s=t.commands.get(n);i.push(s),o.set({commandName:n}),o.bind("isEnabled").to(s),r&&o.bind("isOn").to(s,"value"),o.set({withText:!0})}o.add(e)}var Pe=i(1546),Ie={attributes:{"data-cke":!0}};Ie.setAttributes=fe(),Ie.insert=ge().bind(null,"head"),Ie.domAPI=he(),Ie.insertStyleElement=we(),de()(Pe.Z,Ie),Pe.Z&&Pe.Z.locals&&Pe.Z.locals;class Ve extends o.Sy{static get pluginName(){return"TableSelection"}static get requires(){return[j,j]}init(){const e=this.editor,t=e.model,i=e.editing.view;this.listenTo(t,"deleteContent",((e,t)=>this._handleDeleteContent(e,t)),{priority:"high"}),this.listenTo(i.document,"insertText",((e,t)=>this._handleInsertTextEvent(e,t)),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const e=this.editor.plugins.get(j),t=this.editor.model.document.selection,i=e.getSelectedTableCells(t);return 0==i.length?null:i}getSelectionAsFragment(){const e=this.editor.plugins.get(j),t=this.getSelectedTableCells();return t?this.editor.model.change((i=>{const o=i.createDocumentFragment(),{first:n,last:r}=e.getColumnIndexes(t),{first:s,last:a}=e.getRowIndexes(t),l=t[0].findAncestor("table");let c=a,d=r;if(e.isSelectionRectangular(t)){const e={firstColumn:n,lastColumn:r,firstRow:s,lastRow:a};c=z(l,e),d=N(l,e)}const u=T(l,{startRow:s,startColumn:n,endRow:c,endColumn:d},i);return i.insert(u,o,0),o})):null}setCellSelection(e,t){const i=this._getCellsToSelect(e,t);this.editor.model.change((e=>{e.setSelection(i.cells.map((t=>e.createRangeOn(t))),{backward:i.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,g.Ps)(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,i,o)=>{const n=o.writer;!function(e){for(const i of t)e.removeClass("ck-editor__editable_selected",i);t.clear()}(n);const r=this.getSelectedTableCells();if(!r)return;for(const e of r){const i=o.mapper.toViewElement(e);n.addClass("ck-editor__editable_selected",i),t.add(i)}const s=o.mapper.toViewElement(r[r.length-1]);n.setSelection(s,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((i=>{const o=i.createPositionAt(t[0],0),n=e.model.schema.getNearestSelectionRange(o);i.setSelection(n)}))}}))}_handleDeleteContent(e,t){const i=this.editor.plugins.get(j),o=t[0],n=t[1],r=this.editor.model,s=!n||"backward"==n.direction,a=i.getSelectedTableCells(o);a.length&&(e.stop(),r.change((e=>{const t=a[s?a.length-1:0];r.change((e=>{for(const t of a)r.deleteContent(e.createSelection(t,"in"))}));const i=r.schema.getNearestSelectionRange(e.createPositionAt(t,0));o.is("documentSelection")?e.setSelection(i):o.setTo(i)})))}_handleInsertTextEvent(e,t){const i=this.editor,o=this.getSelectedTableCells();if(!o)return;const n=i.editing.view,r=i.editing.mapper,s=o.map((e=>n.createRangeOn(r.toViewElement(e))));t.selection=n.createSelection(s)}_getCellsToSelect(e,t){const i=this.editor.plugins.get("TableUtils"),o=i.getCellLocation(e),n=i.getCellLocation(t),r=Math.min(o.row,n.row),s=Math.max(o.row,n.row),a=Math.min(o.column,n.column),l=Math.max(o.column,n.column),c=new Array(s-r+1).fill(null).map((()=>[])),d={startRow:r,endRow:s,startColumn:a,endColumn:l};for(const{row:t,cell:i}of new b(e.findAncestor("table"),d))c[t-r].push(i);const u=n.row<o.row,h=n.column<o.column;return u&&c.reverse(),h&&c.forEach((e=>e.reverse())),{cells:c.flat(),backward:u||h}}}class Re extends o.Sy{static get pluginName(){return"TableClipboard"}static get requires(){return[Ve,j]}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,i])=>this._onInsertContent(e,t,i)),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(e,t){const i=this.editor.plugins.get(Ve);if(!i.getSelectedTableCells())return;if("cut"==e.name&&!this.editor.model.canEditAt(this.editor.model.document.selection))return;t.preventDefault(),e.stop();const o=this.editor.data,n=this.editor.editing.view.document,r=o.toView(i.getSelectionAsFragment());n.fire("clipboardOutput",{dataTransfer:t.dataTransfer,content:r,method:e.name})}_onInsertContent(e,t,i){if(i&&!i.is("documentSelection"))return;const o=this.editor.model,n=this.editor.plugins.get(j);let r=this.getTableIfOnlyTableInContent(t,o);if(!r)return;const s=n.getSelectionAffectedTableCells(o.document.selection);s.length?(e.stop(),o.change((e=>{const t={width:n.getColumns(r),height:n.getRows(r)},i=function(e,t,i,o){const n=e[0].findAncestor("table"),r=o.getColumnIndexes(e),s=o.getRowIndexes(e),a={firstColumn:r.first,lastColumn:r.last,firstRow:s.first,lastRow:s.last},l=1===e.length;return l&&(a.lastRow+=t.height-1,a.lastColumn+=t.width-1,function(e,t,i,o){const n=o.getColumns(e),r=o.getRows(e);i>n&&o.insertColumns(e,{at:n,columns:i-n}),t>r&&o.insertRows(e,{at:r,rows:t-r})}(n,a.lastRow+1,a.lastColumn+1,o)),l||!o.isSelectionRectangular(e)?function(e,t,i){const{firstRow:o,lastRow:n,firstColumn:r,lastColumn:s}=t,a={first:o,last:n},l={first:r,last:s};Be(e,r,a,i),Be(e,s+1,a,i),Oe(e,o,l,i),Oe(e,n+1,l,i,o)}(n,a,i):(a.lastRow=z(n,a),a.lastColumn=N(n,a)),a}(s,t,e,n),o=i.lastRow-i.firstRow+1,a=i.lastColumn-i.firstColumn+1,l={startRow:0,startColumn:0,endRow:Math.min(o,t.height)-1,endColumn:Math.min(a,t.width)-1};r=T(r,l,e);const c=s[0].findAncestor("table"),d=this._replaceSelectedCellsWithPasted(r,t,c,i,e);if(this.editor.plugins.get("TableSelection").isEnabled){const t=n.sortRanges(d.map((t=>e.createRangeOn(t))));e.setSelection(t)}else e.setSelection(d[0],0)}))):M(r,n)}_replaceSelectedCellsWithPasted(e,t,i,o,n){const{width:r,height:s}=t,a=function(e,t,i){const o=new Array(i).fill(null).map((()=>new Array(t).fill(null)));for(const{column:t,row:i,cell:n}of new b(e))o[i][t]=n;return o}(e,r,s),l=[...new b(i,{startRow:o.firstRow,endRow:o.lastRow,startColumn:o.firstColumn,endColumn:o.lastColumn,includeAllSlots:!0})],c=[];let d;for(const e of l){const{row:t,column:i}=e;i===o.firstColumn&&(d=e.getPositionBefore());const l=t-o.firstRow,u=i-o.firstColumn,h=a[l%s][u%r],m=h?n.cloneElement(h):null,g=this._replaceTableSlotCell(e,m,d,n);g&&(R(g,t,i,o.lastRow,o.lastColumn,n),c.push(g),d=n.createPositionAfter(g))}const u=parseInt(i.getAttribute("headingRows")||"0"),h=parseInt(i.getAttribute("headingColumns")||"0"),m=o.firstRow<u&&u<=o.lastRow,g=o.firstColumn<h&&h<=o.lastColumn;if(m){const e=Oe(i,u,{first:o.firstColumn,last:o.lastColumn},n,o.firstRow);c.push(...e)}if(g){const e=Be(i,h,{first:o.firstRow,last:o.lastRow},n);c.push(...e)}return c}_replaceTableSlotCell(e,t,i,o){const{cell:n,isAnchor:r}=e;return r&&o.remove(n),t?(o.insert(t,i),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 i=t.createRangeIn(e);for(const e of i.getItems())if(e.is("element","table")){const o=t.createRange(i.start,t.createPositionBefore(e));if(t.hasContent(o,{ignoreWhitespaces:!0}))return null;const n=t.createRange(t.createPositionAfter(e),i.end);return t.hasContent(n,{ignoreWhitespaces:!0})?null:e}return null}}function Oe(e,t,i,o,n=0){if(!(t<1))return S(e,t,n).filter((({column:e,cellWidth:t})=>Me(e,t,i))).map((({cell:e})=>P(e,t,o)))}function Be(e,t,i,o){if(!(t<1))return I(e,t).filter((({row:e,cellHeight:t})=>Me(e,t,i))).map((({cell:e,column:i})=>V(e,i,t,o)))}function Me(e,t,i){const o=e+t-1,{first:n,last:r}=i;return e>=n&&e<=r||e<n&&o>=n}class ze extends o.Sy{static get pluginName(){return"TableKeyboard"}static get requires(){return[Ve,j]}init(){const e=this.editor.editing.view.document;this.listenTo(e,"arrowKey",((...e)=>this._onArrowKey(...e)),{context:"table"}),this.listenTo(e,"tab",((...e)=>this._handleTabOnSelectedTable(...e)),{context:"figure"}),this.listenTo(e,"tab",((...e)=>this._handleTab(...e)),{context:["th","td"]})}_handleTabOnSelectedTable(e,t){const i=this.editor,o=i.model.document.selection.getSelectedElement();o&&o.is("element","table")&&(t.preventDefault(),t.stopPropagation(),e.stop(),i.model.change((e=>{e.setSelection(e.createRangeIn(o.getChild(0).getChild(0)))})))}_handleTab(e,t){const i=this.editor,o=this.editor.plugins.get(j),n=this.editor.plugins.get("TableSelection"),r=i.model.document.selection,s=!t.shiftKey;let a=o.getTableCellsContainingSelection(r)[0];if(a||(a=n.getFocusCell()),!a)return;t.preventDefault(),t.stopPropagation(),e.stop();const l=a.parent,c=l.parent,d=c.getChildIndex(l),u=l.getChildIndex(a),h=0===u;if(!s&&h&&0===d)return void i.model.change((e=>{e.setSelection(e.createRangeOn(c))}));const m=u===l.childCount-1,g=d===o.getRows(c)-1;if(s&&g&&m&&(i.execute("insertTableRowBelow"),d===o.getRows(c)-1))return void i.model.change((e=>{e.setSelection(e.createRangeOn(c))}));let p;if(s&&m){const e=c.getChild(d+1);p=e.getChild(0)}else if(!s&&h){const e=c.getChild(d-1);p=e.getChild(e.childCount-1)}else p=l.getChild(u+(s?1:-1));i.model.change((e=>{e.setSelection(e.createRangeIn(p))}))}_onArrowKey(e,t){const i=this.editor,o=t.keyCode,n=(0,g.mA)(o,i.locale.contentLanguageDirection);this._handleArrowKeys(n,t.shiftKey)&&(t.preventDefault(),t.stopPropagation(),e.stop())}_handleArrowKeys(e,t){const i=this.editor.plugins.get(j),o=this.editor.plugins.get("TableSelection"),n=this.editor.model,r=n.document.selection,s=["right","down"].includes(e),a=i.getSelectedTableCells(r);if(a.length){let i;return i=t?o.getFocusCell():s?a[a.length-1]:a[0],this._navigateFromCellInDirection(i,e,t),!0}const l=r.focus.findAncestor("tableCell");if(!l)return!1;if(!r.isCollapsed)if(t){if(r.isBackward==s&&!r.containsEntireContent(l))return!1}else{const e=r.getSelectedElement();if(!e||!n.schema.isObject(e))return!1}return!!this._isSelectionAtCellEdge(r,l,s)&&(this._navigateFromCellInDirection(l,e,t),!0)}_isSelectionAtCellEdge(e,t,i){const o=this.editor.model,n=this.editor.model.schema,r=i?e.getLastPosition():e.getFirstPosition();if(!n.getLimitElement(r).is("element","tableCell"))return o.createPositionAt(t,i?"end":0).isTouching(r);const s=o.createSelection(r);return o.modifySelection(s,{direction:i?"forward":"backward"}),r.isEqual(s.focus)}_navigateFromCellInDirection(e,t,i=!1){const o=this.editor.model,n=e.findAncestor("table"),r=[...new b(n,{includeAllSlots:!0})],{row:s,column:a}=r[r.length-1],l=r.find((({cell:t})=>t==e));let{row:c,column:d}=l;switch(t){case"left":d--;break;case"up":c--;break;case"right":d+=l.cellWidth;break;case"down":c+=l.cellHeight}if(c<0||c>s||d<0&&c<=0||d>a&&c>=s)return void o.change((e=>{e.setSelection(e.createRangeOn(n))}));d<0?(d=i?0:a,c--):d>a&&(d=i?a:0,c++);const u=r.find((e=>e.row==c&&e.column==d)).cell,h=["right","down"].includes(t),m=this.editor.plugins.get("TableSelection");if(i&&m.isEnabled){const t=m.getAnchorCell()||e;m.setCellSelection(t,u)}else{const e=o.createPositionAt(u,h?0:"end");o.change((t=>{t.setSelection(e)}))}}}var Ne=i(3291);class De extends Ne.qZ{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(e){this.fire(e.type,e)}}class Le extends o.Sy{static get pluginName(){return"TableMouse"}static get requires(){return[Ve,j]}init(){this.editor.editing.view.addObserver(De),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const e=this.editor,t=e.plugins.get(j);let i=!1;const o=e.plugins.get(Ve);this.listenTo(e.editing.view.document,"mousedown",((n,r)=>{const s=e.model.document.selection;if(!this.isEnabled||!o.isEnabled)return;if(!r.domEvent.shiftKey)return;const a=o.getAnchorCell()||t.getTableCellsContainingSelection(s)[0];if(!a)return;const l=this._getModelTableCellFromDomEvent(r);l&&Fe(a,l)&&(i=!0,o.setCellSelection(a,l),r.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{i=!1})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{i&&e.stop()}),{priority:"highest"})}_enableMouseDragSelection(){const e=this.editor;let t,i,o=!1,n=!1;const r=e.plugins.get(Ve);this.listenTo(e.editing.view.document,"mousedown",((e,i)=>{this.isEnabled&&r.isEnabled&&(i.domEvent.shiftKey||i.domEvent.ctrlKey||i.domEvent.altKey||(t=this._getModelTableCellFromDomEvent(i)))})),this.listenTo(e.editing.view.document,"mousemove",((e,s)=>{if(!s.domEvent.buttons)return;if(!t)return;const a=this._getModelTableCellFromDomEvent(s);a&&Fe(t,a)&&(i=a,o||i==t||(o=!0)),o&&(n=!0,r.setCellSelection(t,i),s.preventDefault())})),this.listenTo(e.editing.view.document,"mouseup",(()=>{o=!1,n=!1,t=null,i=null})),this.listenTo(e.editing.view.document,"selectionChange",(e=>{n&&e.stop()}),{priority:"highest"})}_getModelTableCellFromDomEvent(e){const t=e.target,i=this.editor.editing.view.createPositionAt(t,0);return this.editor.editing.mapper.toModelPosition(i).parent.findAncestor("tableCell",{includeSelf:!0})}}function Fe(e,t){return e.parent.parent==t.parent.parent}var Ze=i(2510),He={attributes:{"data-cke":!0}};He.setAttributes=fe(),He.insert=ge().bind(null,"head"),He.domAPI=he(),He.insertStyleElement=we(),de()(Ze.Z,He),Ze.Z&&Ze.Z.locals&&Ze.Z.locals;class We extends o.Sy{static get requires(){return[ve,Te,Ve,Le,ze,Re,n.$L]}static get pluginName(){return"Table"}}class je extends o.Sy{static get pluginName(){return"PlainTableOutput"}static get requires(){return[We]}init(){const e=this.editor;e.conversion.for("dataDowncast").elementToStructure({model:"table",view:Ue,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[i,o]of Object.entries(t))e.conversion.for("dataDowncast").add((e=>e.on(`attribute:${o}:table`,((e,t,o)=>{const{item:n,attributeNewValue:r}=t,{mapper:s,writer:a}=o;if(!o.consumable.consume(n,e.name))return;const l=s.toViewElement(n);r?a.setStyle(i,r,l):a.removeStyle(i,l)}),{priority:"high"})))}(e)}}function Ue(e,{writer:t}){const i=e.getAttribute("headingRows")||0,o=t.createSlot((e=>e.is("element","tableRow")&&e.index<i)),n=t.createSlot((e=>e.is("element","tableRow")&&e.index>=i)),r=t.createSlot((e=>!e.is("element","tableRow"))),s=t.createContainerElement("thead",null,o),a=t.createContainerElement("tbody",null,n),l=[];return i&&l.push(s),i<e.childCount&&l.push(a),t.createContainerElement("table",null,[r,...l])}function $e(e){const t=e.getSelectedElement();return t&&Ke(t)?t:null}function qe(e){const t=e.getFirstPosition();if(!t)return null;let i=t.parent;for(;i;){if(i.is("element")&&Ke(i))return i;i=i.parent}return null}function Ke(e){return!!e.getCustomProperty("table")&&(0,n.Qd)(e)}class Ge extends o.Sy{static get requires(){return[n.e8]}static get pluginName(){return"TableToolbar"}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(n.e8),o=e.config.get("table.contentToolbar"),r=e.config.get("table.tableToolbar");o&&i.register("tableContent",{ariaLabel:t("Table toolbar"),items:o,getRelatedElement:qe}),r&&i.register("table",{ariaLabel:t("Table toolbar"),items:r,getRelatedElement:$e})}}var Je=i(9953),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=fe(),Ye.insert=ge().bind(null,"head"),Ye.domAPI=he(),Ye.insertStyleElement=we(),de()(Je.Z,Ye),Je.Z&&Je.Z.locals&&Je.Z.locals;class Qe extends Ce.G7{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 g.Rh,this._focusables=new Ce.vX,this.dropdownView=this._createDropdownView(),this.inputView=this._createInputTextView(),this.keystrokes=new g.VD,this._stillTyping=!1,this._focusCycler=new Ce.I0({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,i)=>this._setInputValue(i)))}render(){super.render(),this.keystrokes.listenTo(this.dropdownView.panelView.element)}focus(){this.inputView.focus()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createDropdownView(){const e=this.locale,t=e.t,i=this.bindTemplate,o=this._createColorGrid(e),n=(0,Ce.t9)(e),r=new Ce.G7,s=this._createRemoveColorButton();return r.setTemplate({tag:"span",attributes:{class:["ck","ck-input-color__button__preview"],style:{backgroundColor:i.to("value")}},children:[{tag:"span",attributes:{class:["ck","ck-input-color__button__preview__no-color-indicator",i.if("value","ck-hidden",(e=>""!=e))]}}]}),n.buttonView.extendTemplate({attributes:{class:"ck-input-color__button"}}),n.buttonView.children.add(r),n.buttonView.label=t("Color picker"),n.buttonView.tooltip=!0,n.panelPosition="rtl"===e.uiLanguageDirection?"se":"sw",n.panelView.children.add(s),n.panelView.children.add(o),n.bind("isEnabled").to(this,"isReadOnly",(e=>!e)),this._focusables.add(s),this._focusables.add(o),this.focusTracker.add(s.element),this.focusTracker.add(o.element),n}_createInputTextView(){const e=this.locale,t=new Ce.pq(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,i=this.options.colorDefinitions.find((t=>e===t.label));this._stillTyping=!0,this.value=i&&i.color||e})),t.on("blur",(()=>{this._stillTyping=!1,this._setInputValue(t.element.value)})),t.delegate("input").to(this),t}_createRemoveColorButton(){const e=this.locale,t=e.t,i=new Ce.r5(e),n=this.options.defaultColorValue||"",r=t(n?"Restore default":"Remove color");return i.class="ck-input-color__remove-color",i.withText=!0,i.icon=o.icons.eraser,i.label=r,i.on("execute",(()=>{this.value=n,this.dropdownView.isOpen=!1,this.fire("input")})),i}_createColorGrid(e){const t=new Ce.J6(e,{colorDefinitions:this.options.colorDefinitions,columns:this.options.columns});return t.on("execute",((e,t)=>{this.value=t.value,this.dropdownView.isOpen=!1,this.fire("input")})),t.bind("selectedColor").to(this,"value"),t}_setInputValue(e){if(!this._stillTyping){const t=Xe(e),i=this.options.colorDefinitions.find((e=>t===Xe(e.color)));this.inputView.value=i?i.label:e||""}}}function Xe(e){return e.replace(/([(,])\s+/g,"$1").replace(/^\s+|\s+(?=[),\s]|$)/g,"").replace(/,|\s/g," ")}const et=e=>""===e;function tt(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 it(e){return e('The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".')}function ot(e){return e('The value is invalid. Try "10px" or "2em" or simply "2".')}function nt(e){return e=e.trim(),et(e)||(0,Ne.D5)(e)}function rt(e){return e=e.trim(),et(e)||ut(e)||(0,Ne.G9)(e)||(0,Ne.zz)(e)}function st(e){return e=e.trim(),et(e)||ut(e)||(0,Ne.G9)(e)}function at(e,t){const i=new g.FE,o=tt(e.t);for(const n in o){const r={type:"button",model:new Ce.Hn({_borderStyleValue:n,label:o[n],role:"menuitemradio",withText:!0})};"none"===n?r.model.bind("isOn").to(e,"borderStyle",(e=>"none"===t?!e:e===n)):r.model.bind("isOn").to(e,"borderStyle",(e=>e===n)),i.add(r)}return i}function lt(e){const{view:t,icons:i,toolbar:o,labels:n,propertyName:r,nameToValue:s,defaultValue:a}=e;for(const e in n){const l=new Ce.r5(t.locale);l.set({label:n[e],icon:i[e],tooltip:n[e]});const c=s?s(e):e;l.bind("isOn").to(t,r,(e=>{let t=e;return""===e&&a&&(t=a),c===t})),l.on("execute",(()=>{t[r]=c})),o.items.add(l)}}const ct=[{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 dt(e){return(t,i,o)=>{const n=new Qe(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});var r;return n.inputView.set({id:i,ariaDescribedById:o}),n.bind("isReadOnly").to(t,"isEnabled",(e=>!e)),n.bind("hasError").to(t,"errorText",(e=>!!e)),n.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused").to(n),n}}function ut(e){const t=parseFloat(e);return!Number.isNaN(t)&&e===String(t)}var ht=i(6908),mt={attributes:{"data-cke":!0}};mt.setAttributes=fe(),mt.insert=ge().bind(null,"head"),mt.domAPI=he(),mt.insertStyleElement=we(),de()(ht.Z,mt),ht.Z&&ht.Z.locals&&ht.Z.locals;class gt extends Ce.G7{constructor(e,t={}){super(e);const i=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",i.to("class")],role:i.to("_role"),"aria-labelledby":i.to("_ariaLabelledBy")},children:this.children})}}var pt=i(7502),ft={attributes:{"data-cke":!0}};ft.setAttributes=fe(),ft.insert=ge().bind(null,"head"),ft.domAPI=he(),ft.insertStyleElement=we(),de()(pt.Z,ft),pt.Z&&pt.Z.locals&&pt.Z.locals;var bt=i(9429),wt={attributes:{"data-cke":!0}};wt.setAttributes=fe(),wt.insert=ge().bind(null,"head"),wt.domAPI=he(),wt.insertStyleElement=we(),de()(bt.Z,wt),bt.Z&&bt.Z.locals&&bt.Z.locals;var kt=i(3964),_t={attributes:{"data-cke":!0}};_t.setAttributes=fe(),_t.insert=ge().bind(null,"head"),_t.domAPI=he(),_t.insertStyleElement=we(),de()(kt.Z,_t),kt.Z&&kt.Z.locals&&kt.Z.locals;const vt={left:o.icons.alignLeft,center:o.icons.alignCenter,right:o.icons.alignRight,justify:o.icons.alignJustify,top:o.icons.alignTop,middle:o.icons.alignMiddle,bottom:o.icons.alignBottom};class yt extends Ce.G7{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",padding:"",backgroundColor:"",width:"",height:"",horizontalAlignment:"",verticalAlignment:""}),this.options=t;const{borderStyleDropdown:i,borderWidthInput:o,borderColorInput:n,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:s,backgroundInput:a}=this._createBackgroundFields(),{widthInput:l,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{horizontalAlignmentToolbar:h,verticalAlignmentToolbar:m,alignmentLabel:p}=this._createAlignmentFields();this.focusTracker=new g.Rh,this.keystrokes=new g.VD,this.children=this.createCollection(),this.borderStyleDropdown=i,this.borderWidthInput=o,this.borderColorInput=n,this.backgroundInput=a,this.paddingInput=this._createPaddingField(),this.widthInput=l,this.heightInput=d,this.horizontalAlignmentToolbar=h,this.verticalAlignmentToolbar=m;const{saveButtonView:f,cancelButtonView:b}=this._createActionButtons();this.saveButtonView=f,this.cancelButtonView=b,this._focusables=new Ce.vX,this._focusCycler=new Ce.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Ce.Gp(e,{label:this.t("Cell properties")})),this.children.add(new gt(e,{labelView:r,children:[r,i,n,o],class:"ck-table-form__border-row"})),this.children.add(new gt(e,{labelView:s,children:[s,a],class:"ck-table-form__background-row"})),this.children.add(new gt(e,{children:[new gt(e,{labelView:u,children:[u,l,c,d],class:"ck-table-form__dimensions-row"}),new gt(e,{children:[this.paddingInput],class:"ck-table-cell-properties-form__padding-row"})]})),this.children.add(new gt(e,{labelView:p,children:[p,h,m],class:"ck-table-cell-properties-form__alignment-row"})),this.children.add(new gt(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,Ce.GI)({view:this}),[this.borderStyleDropdown,this.borderColorInput,this.borderColorInput.fieldView.dropdownView.buttonView,this.borderWidthInput,this.backgroundInput,this.backgroundInput.fieldView.dropdownView.buttonView,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},i=dt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color}),o=this.locale,n=this.t,r=n("Style"),s=new Ce.Dn(o);s.text=n("Border");const a=tt(n),l=new Ce.KP(o,Ce.FH);l.set({label:r,class:"ck-table-form__border-style"}),l.fieldView.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),l.fieldView.buttonView.bind("label").to(this,"borderStyle",(e=>a[e||"none"])),l.fieldView.on("execute",(e=>{this.borderStyle=e.source._borderStyleValue})),l.bind("isEmpty").to(this,"borderStyle",(e=>!e)),(0,Ce.Pm)(l.fieldView,at(this,t.style),{role:"menu",ariaLabel:r});const c=new Ce.KP(o,Ce.R);c.set({label:n("Width"),class:"ck-table-form__border-width"}),c.fieldView.bind("value").to(this,"borderWidth"),c.bind("isEnabled").to(this,"borderStyle",Ct),c.fieldView.on("input",(()=>{this.borderWidth=c.fieldView.element.value}));const d=new Ce.KP(o,i);return d.set({label:n("Color"),class:"ck-table-form__border-color"}),d.fieldView.bind("value").to(this,"borderColor"),d.bind("isEnabled").to(this,"borderStyle",Ct),d.fieldView.on("input",(()=>{this.borderColor=d.fieldView.value})),this.on("change:borderStyle",((e,i,o,n)=>{Ct(o)||(this.borderColor="",this.borderWidth=""),Ct(n)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:s,borderStyleDropdown:l,borderColorInput:d,borderWidthInput:c}}_createBackgroundFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Background");const o=dt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableCellProperties.backgroundColor}),n=new Ce.KP(e,o);return n.set({label:t("Color"),class:"ck-table-cell-properties-form__background"}),n.fieldView.bind("value").to(this,"backgroundColor"),n.fieldView.on("input",(()=>{this.backgroundColor=n.fieldView.value})),{backgroundRowLabel:i,backgroundInput:n}}_createDimensionFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Dimensions");const o=new Ce.KP(e,Ce.R);o.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),o.fieldView.bind("value").to(this,"width"),o.fieldView.on("input",(()=>{this.width=o.fieldView.element.value}));const n=new Ce.G7(e);n.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Ce.KP(e,Ce.R);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:i,widthInput:o,operatorLabel:n,heightInput:r}}_createPaddingField(){const e=this.locale,t=this.t,i=new Ce.KP(e,Ce.R);return i.set({label:t("Padding"),class:"ck-table-cell-properties-form__padding"}),i.fieldView.bind("value").to(this,"padding"),i.fieldView.on("input",(()=>{this.padding=i.fieldView.element.value})),i}_createAlignmentFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Table cell text alignment");const o=new Ce.jB(e),n="rtl"===e.contentLanguageDirection;o.set({isCompact:!0,ariaLabel:t("Horizontal text alignment toolbar")}),lt({view:this,icons:vt,toolbar:o,labels:this._horizontalAlignmentLabels,propertyName:"horizontalAlignment",nameToValue:e=>{if(n){if("left"===e)return"right";if("right"===e)return"left"}return e},defaultValue:this.options.defaultTableCellProperties.horizontalAlignment});const r=new Ce.jB(e);return r.set({isCompact:!0,ariaLabel:t("Vertical text alignment toolbar")}),lt({view:this,icons:vt,toolbar:r,labels:this._verticalAlignmentLabels,propertyName:"verticalAlignment",defaultValue:this.options.defaultTableCellProperties.verticalAlignment}),{horizontalAlignmentToolbar:o,verticalAlignmentToolbar:r,alignmentLabel:i}}_createActionButtons(){const e=this.locale,t=this.t,i=new Ce.r5(e),n=new Ce.r5(e),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.paddingInput];return i.set({label:t("Save"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0}),i.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),n.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),n.delegate("execute").to(this,"cancel"),{saveButtonView:i,cancelButtonView:n}}get _horizontalAlignmentLabels(){const e=this.locale,t=this.t,i=t("Align cell text to the left"),o=t("Align cell text to the center"),n=t("Align cell text to the right"),r=t("Justify cell text");return"rtl"===e.uiLanguageDirection?{right:n,center:o,left:i,justify:r}:{left:i,center:o,right:n,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 Ct(e){return"none"!==e}var xt=i(6682);const At=Ce.no.defaultPositions,Et=[At.northArrowSouth,At.northArrowSouthWest,At.northArrowSouthEast,At.southArrowNorth,At.southArrowNorthWest,At.southArrowNorthEast,At.viewportStickyNorth];function Tt(e,t){const i=e.plugins.get("ContextualBalloon");if(qe(e.editing.view.document.selection)){let o;o="cell"===t?Pt(e):St(e),i.updatePosition(o)}}function St(e){const t=e.model.document.selection.getFirstPosition().findAncestor("table"),i=e.editing.mapper.toViewElement(t);return{target:e.editing.view.domConverter.mapViewToDom(i),positions:Et}}function Pt(e){const t=e.editing.mapper,i=e.editing.view.domConverter,o=e.model.document.selection;if(o.rangeCount>1)return{target:()=>function(e,t){const i=t.editing.mapper,o=t.editing.view.domConverter,n=Array.from(e).map((e=>{const t=It(e.start),n=i.toViewElement(t);return new g.UL(o.mapViewToDom(n))}));return g.UL.getBoundingRect(n)}(o.getRanges(),e),positions:Et};const n=It(o.getFirstPosition()),r=t.toViewElement(n);return{target:i.mapViewToDom(r),positions:Et}}function It(e){return e.nodeAfter&&e.nodeAfter.is("element","tableCell")?e.nodeAfter:e.findAncestor("tableCell")}var Vt=i(7226);function Rt(e){if(!e||!(0,Vt.Z)(e))return e;const{top:t,right:i,bottom:o,left:n}=e;return t==i&&i==o&&o==n?t:void 0}function Ot(e,t){const i=parseFloat(e);return Number.isNaN(i)||String(i)!==String(e)?e:`${i}${t}`}function Bt(e,t={}){const i={borderStyle:"none",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",...e};return t.includeAlignmentProperty&&!i.alignment&&(i.alignment="center"),t.includePaddingProperty&&!i.padding&&(i.padding=""),t.includeVerticalAlignmentProperty&&!i.verticalAlignment&&(i.verticalAlignment="middle"),t.includeHorizontalAlignmentProperty&&!i.horizontalAlignment&&(i.horizontalAlignment=t.isRightToLeftContent?"right":"left"),i}const Mt={borderStyle:"tableCellBorderStyle",borderColor:"tableCellBorderColor",borderWidth:"tableCellBorderWidth",height:"tableCellHeight",width:"tableCellWidth",padding:"tableCellPadding",backgroundColor:"tableCellBackgroundColor",horizontalAlignment:"tableCellHorizontalAlignment",verticalAlignment:"tableCellVerticalAlignment"};class zt extends o.Sy{static get requires(){return[Ce.WB]}static get pluginName(){return"TableCellPropertiesUI"}constructor(e){super(e),e.config.define("table.tableCellProperties",{borderColors:ct,backgroundColors:ct})}init(){const e=this.editor,t=e.t;this._defaultTableCellProperties=Bt(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection}),this._balloon=e.plugins.get(Ce.WB),this.view=null,this._isReady=!1,e.ui.componentFactory.add("tableCellProperties",(i=>{const o=new Ce.r5(i);o.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(o,"execute",(()=>this._showView()));const n=Object.values(Mt).map((t=>e.commands.get(t)));return o.bind("isEnabled").toMany(n,"isEnabled",((...e)=>e.some((e=>e)))),o}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableCellProperties"),i=(0,Ce.S1)(t.borderColors),o=(0,Ce.k6)(e.locale,i),n=(0,Ce.S1)(t.backgroundColors),r=(0,Ce.k6)(e.locale,n),s=new yt(e.locale,{borderColors:o,backgroundColors:r,defaultTableCellProperties:this._defaultTableCellProperties}),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,Ce.eC)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const l=it(a),c=ot(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableCellBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableCellBorderColor",errorText:l,validator:nt})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableCellBorderWidth",errorText:c,validator:st})),s.on("change:padding",this._getValidatedPropertyChangeCallback({viewField:s.paddingInput,commandName:"tableCellPadding",errorText:c,validator:rt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableCellWidth",errorText:c,validator:rt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableCellHeight",errorText:c,validator:rt})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableCellBackgroundColor",errorText:l,validator:nt})),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(Mt).map((([t,i])=>{const o=this._defaultTableCellProperties[t]||"";return[t,e.get(i).value||o]})).forEach((([e,i])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,i)})),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:Pt(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;qe(e.editing.view.document.selection)?this._isViewVisible&&Tt(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,i,o)=>{this._isReady&&this.editor.execute(e,{value:o,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:i,validator:o,errorText:n}=e,r=(0,xt.Z)((()=>{i.errorText=n}),500);return(e,n,s)=>{r.cancel(),this._isReady&&(o(s)?(this.editor.execute(t,{value:s,batch:this._undoStepBatch}),i.errorText=null):r())}}}class Nt extends o.mY{constructor(e,t,i){super(e),this.attributeName=t,this._defaultValue=i}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:i}=e,o=this.editor.model,n=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(o.document.selection),r=this._getValueToSet(t);o.enqueueChange(i,(e=>{r?n.forEach((t=>e.setAttribute(this.attributeName,r,t))):n.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 Dt extends Nt{constructor(e,t){super(e,"tableCellWidth",t)}_getValueToSet(e){if((e=Ot(e,"px"))!==this._defaultValue)return e}}class Lt extends o.Sy{static get pluginName(){return"TableCellWidthEditing"}static get requires(){return[ve]}init(){const e=this.editor,t=Bt(e.config.get("table.tableCellProperties.defaultProperties"));m(e.model.schema,e.conversion,{modelAttribute:"tableCellWidth",styleName:"width",defaultValue:t.width}),e.commands.add("tableCellWidth",new Dt(e,t.width))}}class Ft extends Nt{constructor(e,t){super(e,"tableCellPadding",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}class Zt extends Nt{constructor(e,t){super(e,"tableCellHeight",t)}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}class Ht extends Nt{constructor(e,t){super(e,"tableCellBackgroundColor",t)}}class Wt extends Nt{constructor(e,t){super(e,"tableCellVerticalAlignment",t)}}class jt extends Nt{constructor(e,t){super(e,"tableCellHorizontalAlignment",t)}}class Ut extends Nt{constructor(e,t){super(e,"tableCellBorderStyle",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class $t extends Nt{constructor(e,t){super(e,"tableCellBorderColor",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class qt extends Nt{constructor(e,t){super(e,"tableCellBorderWidth",t)}_getAttribute(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}const Kt=/^(top|middle|bottom)$/,Gt=/^(left|center|right|justify)$/;class Jt extends o.Sy{static get pluginName(){return"TableCellPropertiesEditing"}static get requires(){return[ve,Lt]}init(){const e=this.editor,t=e.model.schema,i=e.conversion;e.config.define("table.tableCellProperties.defaultProperties",{});const o=Bt(e.config.get("table.tableCellProperties.defaultProperties"),{includeVerticalAlignmentProperty:!0,includeHorizontalAlignmentProperty:!0,includePaddingProperty:!0,isRightToLeftContent:"rtl"===e.locale.contentLanguageDirection});e.data.addStyleProcessorRules(Ne.sI),function(e,t,i){const o={width:"tableCellBorderWidth",color:"tableCellBorderColor",style:"tableCellBorderStyle"};e.extend("tableCell",{allowAttributes:Object.values(o)}),s(t,"td",o,i),s(t,"th",o,i),a(t,{modelElement:"tableCell",modelAttribute:o.style,styleName:"border-style"}),a(t,{modelElement:"tableCell",modelAttribute:o.color,styleName:"border-color"}),a(t,{modelElement:"tableCell",modelAttribute:o.width,styleName:"border-width"})}(t,i,{color:o.borderColor,style:o.borderStyle,width:o.borderWidth}),e.commands.add("tableCellBorderStyle",new Ut(e,o.borderStyle)),e.commands.add("tableCellBorderColor",new $t(e,o.borderColor)),e.commands.add("tableCellBorderWidth",new qt(e,o.borderWidth)),m(t,i,{modelAttribute:"tableCellHeight",styleName:"height",defaultValue:o.height}),e.commands.add("tableCellHeight",new Zt(e,o.height)),e.data.addStyleProcessorRules(Ne.J8),m(t,i,{modelAttribute:"tableCellPadding",styleName:"padding",reduceBoxSides:!0,defaultValue:o.padding}),e.commands.add("tableCellPadding",new Ft(e,o.padding)),e.data.addStyleProcessorRules(Ne.QR),m(t,i,{modelAttribute:"tableCellBackgroundColor",styleName:"background-color",defaultValue:o.backgroundColor}),e.commands.add("tableCellBackgroundColor",new Ht(e,o.backgroundColor)),function(e,t,i){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":Gt}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getStyle("text-align");return t===i?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{align:Gt}},model:{key:"tableCellHorizontalAlignment",value:e=>{const t=e.getAttribute("align");return t===i?null:t}}})}(t,i,o.horizontalAlignment),e.commands.add("tableCellHorizontalAlignment",new jt(e,o.horizontalAlignment)),function(e,t,i){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":Kt}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getStyle("vertical-align");return t===i?null:t}}}).attributeToAttribute({view:{name:/^(td|th)$/,attributes:{valign:Kt}},model:{key:"tableCellVerticalAlignment",value:e=>{const t=e.getAttribute("valign");return t===i?null:t}}})}(t,i,o.verticalAlignment),e.commands.add("tableCellVerticalAlignment",new Wt(e,o.verticalAlignment))}}class Yt extends o.Sy{static get pluginName(){return"TableCellProperties"}static get requires(){return[Jt,zt]}}class Qt extends o.mY{constructor(e,t,i){super(e),this.attributeName=t,this._defaultValue=i}refresh(){const e=this.editor.model.document.selection.getFirstPosition().findAncestor("table");this.isEnabled=!!e,this.value=this._getValue(e)}execute(e={}){const t=this.editor.model,i=t.document.selection,{value:o,batch:n}=e,r=i.getFirstPosition().findAncestor("table"),s=this._getValueToSet(o);t.enqueueChange(n,(e=>{s?e.setAttribute(this.attributeName,s,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 Xt extends Qt{constructor(e,t){super(e,"tableBackgroundColor",t)}}class ei extends Qt{constructor(e,t){super(e,"tableBorderColor",t)}_getValue(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class ti extends Qt{constructor(e,t){super(e,"tableBorderStyle",t)}_getValue(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}}class ii extends Qt{constructor(e,t){super(e,"tableBorderWidth",t)}_getValue(e){if(!e)return;const t=Rt(e.getAttribute(this.attributeName));return t!==this._defaultValue?t:void 0}_getValueToSet(e){const t=Ot(e,"px");if(t!==this._defaultValue)return t}}class oi extends Qt{constructor(e,t){super(e,"tableWidth",t)}_getValueToSet(e){if((e=Ot(e,"px"))!==this._defaultValue)return e}}class ni extends Qt{constructor(e,t){super(e,"tableHeight",t)}_getValueToSet(e){if((e=Ot(e,"px"))!==this._defaultValue)return e}}class ri extends Qt{constructor(e,t){super(e,"tableAlignment",t)}}const si=/^(left|center|right)$/,ai=/^(left|none|right)$/;class li extends o.Sy{static get pluginName(){return"TablePropertiesEditing"}static get requires(){return[ve]}init(){const e=this.editor,t=e.model.schema,i=e.conversion;e.config.define("table.tableProperties.defaultProperties",{});const o=Bt(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0});e.data.addStyleProcessorRules(Ne.sI),function(e,t,i){const o={width:"tableBorderWidth",color:"tableBorderColor",style:"tableBorderStyle"};e.extend("table",{allowAttributes:Object.values(o)}),s(t,"table",o,i),l(t,{modelAttribute:o.color,styleName:"border-color"}),l(t,{modelAttribute:o.style,styleName:"border-style"}),l(t,{modelAttribute:o.width,styleName:"border-width"})}(t,i,{color:o.borderColor,style:o.borderStyle,width:o.borderWidth}),e.commands.add("tableBorderColor",new ei(e,o.borderColor)),e.commands.add("tableBorderStyle",new ti(e,o.borderStyle)),e.commands.add("tableBorderWidth",new ii(e,o.borderWidth)),function(e,t,i){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:ai}},model:{key:"tableAlignment",value:e=>{let t=e.getStyle("float");return"none"===t&&(t="center"),t===i?null:t}}}).attributeToAttribute({view:{attributes:{align:si}},model:{name:"table",key:"tableAlignment",value:e=>{const t=e.getAttribute("align");return t===i?null:t}}})}(t,i,o.alignment),e.commands.add("tableAlignment",new ri(e,o.alignment)),ci(t,i,{modelAttribute:"tableWidth",styleName:"width",defaultValue:o.width}),e.commands.add("tableWidth",new oi(e,o.width)),ci(t,i,{modelAttribute:"tableHeight",styleName:"height",defaultValue:o.height}),e.commands.add("tableHeight",new ni(e,o.height)),e.data.addStyleProcessorRules(Ne.QR),function(e,t,i){const{modelAttribute:o}=i;e.extend("table",{allowAttributes:[o]}),r(t,{viewElement:"table",...i}),l(t,i)}(t,i,{modelAttribute:"tableBackgroundColor",styleName:"background-color",defaultValue:o.backgroundColor}),e.commands.add("tableBackgroundColor",new Xt(e,o.backgroundColor))}}function ci(e,t,i){const{modelAttribute:o}=i;e.extend("table",{allowAttributes:[o]}),r(t,{viewElement:/^(table|figure)$/,shouldUpcast:e=>!("table"==e.name&&"figure"==e.parent.name),...i}),a(t,{modelElement:"table",...i})}var di=i(6596),ui={attributes:{"data-cke":!0}};ui.setAttributes=fe(),ui.insert=ge().bind(null,"head"),ui.domAPI=he(),ui.insertStyleElement=we(),de()(di.Z,ui),di.Z&&di.Z.locals&&di.Z.locals;const hi={left:o.icons.objectLeft,center:o.icons.objectCenter,right:o.icons.objectRight};class mi extends Ce.G7{constructor(e,t){super(e),this.set({borderStyle:"",borderWidth:"",borderColor:"",backgroundColor:"",width:"",height:"",alignment:""}),this.options=t;const{borderStyleDropdown:i,borderWidthInput:o,borderColorInput:n,borderRowLabel:r}=this._createBorderFields(),{backgroundRowLabel:s,backgroundInput:a}=this._createBackgroundFields(),{widthInput:l,operatorLabel:c,heightInput:d,dimensionsLabel:u}=this._createDimensionFields(),{alignmentToolbar:h,alignmentLabel:m}=this._createAlignmentFields();this.focusTracker=new g.Rh,this.keystrokes=new g.VD,this.children=this.createCollection(),this.borderStyleDropdown=i,this.borderWidthInput=o,this.borderColorInput=n,this.backgroundInput=a,this.widthInput=l,this.heightInput=d,this.alignmentToolbar=h;const{saveButtonView:p,cancelButtonView:f}=this._createActionButtons();this.saveButtonView=p,this.cancelButtonView=f,this._focusables=new Ce.vX,this._focusCycler=new Ce.I0({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.add(new Ce.Gp(e,{label:this.t("Table properties")})),this.children.add(new gt(e,{labelView:r,children:[r,i,n,o],class:"ck-table-form__border-row"})),this.children.add(new gt(e,{labelView:s,children:[s,a],class:"ck-table-form__background-row"})),this.children.add(new gt(e,{children:[new gt(e,{labelView:u,children:[u,l,c,d],class:"ck-table-form__dimensions-row"}),new gt(e,{labelView:m,children:[m,h],class:"ck-table-properties-form__alignment-row"})]})),this.children.add(new gt(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,Ce.GI)({view:this}),[this.borderStyleDropdown,this.borderColorInput,this.borderColorInput.fieldView.dropdownView.buttonView,this.borderWidthInput,this.backgroundInput,this.backgroundInput.fieldView.dropdownView.buttonView,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},i=dt({colorConfig:this.options.borderColors,columns:5,defaultColorValue:t.color}),o=this.locale,n=this.t,r=n("Style"),s=new Ce.Dn(o);s.text=n("Border");const a=tt(n),l=new Ce.KP(o,Ce.FH);l.set({label:r,class:"ck-table-form__border-style"}),l.fieldView.buttonView.set({ariaLabel:r,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:r}),l.fieldView.buttonView.bind("label").to(this,"borderStyle",(e=>a[e||"none"])),l.fieldView.on("execute",(e=>{this.borderStyle=e.source._borderStyleValue})),l.bind("isEmpty").to(this,"borderStyle",(e=>!e)),(0,Ce.Pm)(l.fieldView,at(this,t.style),{role:"menu",ariaLabel:r});const c=new Ce.KP(o,Ce.R);c.set({label:n("Width"),class:"ck-table-form__border-width"}),c.fieldView.bind("value").to(this,"borderWidth"),c.bind("isEnabled").to(this,"borderStyle",gi),c.fieldView.on("input",(()=>{this.borderWidth=c.fieldView.element.value}));const d=new Ce.KP(o,i);return d.set({label:n("Color"),class:"ck-table-form__border-color"}),d.fieldView.bind("value").to(this,"borderColor"),d.bind("isEnabled").to(this,"borderStyle",gi),d.fieldView.on("input",(()=>{this.borderColor=d.fieldView.value})),this.on("change:borderStyle",((e,i,o,n)=>{gi(o)||(this.borderColor="",this.borderWidth=""),gi(n)||(this.borderColor=t.color,this.borderWidth=t.width)})),{borderRowLabel:s,borderStyleDropdown:l,borderColorInput:d,borderWidthInput:c}}_createBackgroundFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Background");const o=dt({colorConfig:this.options.backgroundColors,columns:5,defaultColorValue:this.options.defaultTableProperties.backgroundColor}),n=new Ce.KP(e,o);return n.set({label:t("Color"),class:"ck-table-properties-form__background"}),n.fieldView.bind("value").to(this,"backgroundColor"),n.fieldView.on("input",(()=>{this.backgroundColor=n.fieldView.value})),{backgroundRowLabel:i,backgroundInput:n}}_createDimensionFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Dimensions");const o=new Ce.KP(e,Ce.R);o.set({label:t("Width"),class:"ck-table-form__dimensions-row__width"}),o.fieldView.bind("value").to(this,"width"),o.fieldView.on("input",(()=>{this.width=o.fieldView.element.value}));const n=new Ce.G7(e);n.setTemplate({tag:"span",attributes:{class:["ck-table-form__dimension-operator"]},children:[{text:"×"}]});const r=new Ce.KP(e,Ce.R);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:i,widthInput:o,operatorLabel:n,heightInput:r}}_createAlignmentFields(){const e=this.locale,t=this.t,i=new Ce.Dn(e);i.text=t("Alignment");const o=new Ce.jB(e);return o.set({isCompact:!0,ariaLabel:t("Table alignment toolbar")}),lt({view:this,icons:hi,toolbar:o,labels:this._alignmentLabels,propertyName:"alignment",defaultValue:this.options.defaultTableProperties.alignment}),{alignmentLabel:i,alignmentToolbar:o}}_createActionButtons(){const e=this.locale,t=this.t,i=new Ce.r5(e),n=new Ce.r5(e),r=[this.borderWidthInput,this.borderColorInput,this.backgroundInput,this.widthInput,this.heightInput];return i.set({label:t("Save"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0}),i.bind("isEnabled").toMany(r,"errorText",((...e)=>e.every((e=>!e)))),n.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),n.delegate("execute").to(this,"cancel"),{saveButtonView:i,cancelButtonView:n}}get _alignmentLabels(){const e=this.locale,t=this.t,i=t("Align table to the left"),o=t("Center table"),n=t("Align table to the right");return"rtl"===e.uiLanguageDirection?{right:n,center:o,left:i}:{left:i,center:o,right:n}}}function gi(e){return"none"!==e}const pi={borderStyle:"tableBorderStyle",borderColor:"tableBorderColor",borderWidth:"tableBorderWidth",backgroundColor:"tableBackgroundColor",width:"tableWidth",height:"tableHeight",alignment:"tableAlignment"};class fi extends o.Sy{static get requires(){return[Ce.WB]}static get pluginName(){return"TablePropertiesUI"}constructor(e){super(e),this.view=null,e.config.define("table.tableProperties",{borderColors:ct,backgroundColors:ct})}init(){const e=this.editor,t=e.t;this._defaultTableProperties=Bt(e.config.get("table.tableProperties.defaultProperties"),{includeAlignmentProperty:!0}),this._balloon=e.plugins.get(Ce.WB),e.ui.componentFactory.add("tableProperties",(i=>{const o=new Ce.r5(i);o.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(o,"execute",(()=>this._showView()));const n=Object.values(pi).map((t=>e.commands.get(t)));return o.bind("isEnabled").toMany(n,"isEnabled",((...e)=>e.some((e=>e)))),o}))}destroy(){super.destroy(),this.view&&this.view.destroy()}_createPropertiesView(){const e=this.editor,t=e.config.get("table.tableProperties"),i=(0,Ce.S1)(t.borderColors),o=(0,Ce.k6)(e.locale,i),n=(0,Ce.S1)(t.backgroundColors),r=(0,Ce.k6)(e.locale,n),s=new mi(e.locale,{borderColors:o,backgroundColors:r,defaultTableProperties:this._defaultTableProperties}),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,Ce.eC)({emitter:s,activator:()=>this._isViewInBalloon,contextElements:[this._balloon.view.element],callback:()=>this._hideView()});const l=it(a),c=ot(a);return s.on("change:borderStyle",this._getPropertyChangeCallback("tableBorderStyle")),s.on("change:borderColor",this._getValidatedPropertyChangeCallback({viewField:s.borderColorInput,commandName:"tableBorderColor",errorText:l,validator:nt})),s.on("change:borderWidth",this._getValidatedPropertyChangeCallback({viewField:s.borderWidthInput,commandName:"tableBorderWidth",errorText:c,validator:st})),s.on("change:backgroundColor",this._getValidatedPropertyChangeCallback({viewField:s.backgroundInput,commandName:"tableBackgroundColor",errorText:l,validator:nt})),s.on("change:width",this._getValidatedPropertyChangeCallback({viewField:s.widthInput,commandName:"tableWidth",errorText:c,validator:rt})),s.on("change:height",this._getValidatedPropertyChangeCallback({viewField:s.heightInput,commandName:"tableHeight",errorText:c,validator:rt})),s.on("change:alignment",this._getPropertyChangeCallback("tableAlignment")),s}_fillViewFormFromCommandValues(){const e=this.editor.commands,t=e.get("tableBorderStyle");Object.entries(pi).map((([t,i])=>{const o=t,n=this._defaultTableProperties[o]||"";return[o,e.get(i).value||n]})).forEach((([e,i])=>{("borderColor"!==e&&"borderWidth"!==e||"none"!==t.value)&&this.view.set(e,i)})),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:St(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;qe(e.editing.view.document.selection)?this._isViewVisible&&Tt(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,i,o)=>{this._isReady&&this.editor.execute(e,{value:o,batch:this._undoStepBatch})}}_getValidatedPropertyChangeCallback(e){const{commandName:t,viewField:i,validator:o,errorText:n}=e,r=(0,xt.Z)((()=>{i.errorText=n}),500);return(e,n,s)=>{r.cancel(),this._isReady&&(o(s)?(this.editor.execute(t,{value:s,batch:this._undoStepBatch}),i.errorText=null):r())}}}class bi extends o.Sy{static get pluginName(){return"TableProperties"}static get requires(){return[li,fi]}}function wi(e){return!!e&&e.is("element","table")}function ki(e){for(const t of e.getChildren())if(t.is("element","caption"))return t;return null}function _i(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}function vi(e){const t=e.getSelectedElement();return t&&t.is("element","table")?t:e.getFirstPosition().findAncestor("table")}class yi extends o.mY{refresh(){const e=vi(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?this.value=!!ki(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 i=this.editor.model,o=vi(i.document.selection),n=this.editor.plugins.get("TableCaptionEditing")._getSavedCaption(o)||e.createElement("caption");i.insertContent(n,o,"end"),t&&e.setSelection(n,"in")}_hideTableCaption(e){const t=this.editor.model,i=vi(t.document.selection),o=this.editor.plugins.get("TableCaptionEditing"),n=ki(i);o._saveCaption(i,n),t.deleteContent(e.createSelection(n,"on"))}}class Ci extends o.Sy{static get pluginName(){return"TableCaptionEditing"}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,t=e.model.schema,i=e.editing.view,o=e.t;var r;t.isRegistered("caption")?t.extend("caption",{allowIn:"table"}):t.register("caption",{allowIn:"table",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleTableCaption",new yi(this.editor)),e.conversion.for("upcast").elementToElement({view:_i,model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>wi(e.parent)?t.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(e,{writer:t})=>{if(!wi(e.parent))return null;const r=t.createEditableElement("figcaption");return t.setCustomProperty("tableCaption",!0,r),(0,Ne.ID)({view:i,element:r,text:o("Enter table caption"),keepOnFocus:!0}),(0,n.sC)(r,t)}}),(r=e.model).document.registerPostFixer((e=>function(e,t){const i=t.document.differ.getChanges();let o=!1;for(const t of i){if("insert"!=t.type)continue;const i=t.position.parent;if(i.is("element","table")||"table"==t.name){const n="table"==t.name?t.position.nodeAfter:i,r=Array.from(n.getChildren()).filter((e=>e.is("element","caption"))),s=r.shift();if(!s)continue;for(const t of r)e.move(e.createRangeIn(t),s,"end"),e.remove(t);s.nextSibling&&(e.move(e.createRangeOn(s),n,"end"),o=!0),o=!!r.length||o}}return o}(e,r)))}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?Ne.W_.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}}class xi extends o.Sy{static get pluginName(){return"TableCaptionUI"}init(){const e=this.editor,t=e.editing.view,i=e.t;e.ui.componentFactory.add("toggleTableCaption",(n=>{const r=e.commands.get("toggleTableCaption"),s=new Ce.r5(n);return s.set({icon:o.icons.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.bind("label").to(r,"value",(e=>i(e?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{if(e.execute("toggleTableCaption",{focusCaptionOnShow:!0}),r.value){const i=function(e){const t=vi(e);return t?ki(t):null}(e.model.document.selection),o=e.editing.mapper.toViewElement(i);if(!o)return;t.scrollToTheSelection(),t.change((e=>{e.addClass("table__caption_highlighted",o)}))}e.editing.view.focus()})),s}))}}var Ai=i(1111),Ei={attributes:{"data-cke":!0}};Ei.setAttributes=fe(),Ei.insert=ge().bind(null,"head"),Ei.domAPI=he(),Ei.insertStyleElement=we(),de()(Ai.Z,Ei),Ai.Z&&Ai.Z.locals&&Ai.Z.locals;class Ti extends o.Sy{static get pluginName(){return"TableCaption"}static get requires(){return[Ci,xi]}}var Si=i(576),Pi=i(111);const Ii=2;function Vi(e,t){const i=Ri(e,"tbody",t)||Ri(e,"thead",t);return Oi(t.editing.view.domConverter.mapViewToDom(i))}function Ri(e,t,i){return[...[...i.editing.mapper.toViewElement(e).getChildren()].find((e=>e.is("element","table"))).getChildren()].find((e=>e.is("element",t)))}function Oi(e){const t=g.CO.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 Bi(e){const t=Math.pow(10,Ii),i="number"==typeof e?e:parseFloat(e);return Math.round(i*t)/t}function Mi(e){return e.map((e=>"number"==typeof e?e:parseFloat(e))).filter((e=>!Number.isNaN(e))).reduce(((e,t)=>e+t),0)}function zi(e){let t=function(e){const t=e.filter((e=>"auto"===e)).length;if(0===t)return e.map((e=>Bi(e)));const i=Mi(e),o=Math.max((100-i)/t,5);return e.map((e=>"auto"===e?o:e)).map((e=>Bi(e)))}(e.map((e=>"auto"===e?e:parseFloat(e.replace("%","")))));const i=Mi(t);return 100!==i&&(t=t.map((e=>Bi(100*e/i))).map(((e,t,i)=>t!==i.length-1?e:Bi(e+100-Mi(i))))),t.map((e=>e+"%"))}function Ni(e){const t=g.CO.window.getComputedStyle(e);return"border-box"===t.boxSizing?parseInt(t.width):parseFloat(t.width)+parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderWidth)}function Di(e,t,i,o){for(let n=0;n<Math.max(i.length,e.length);n++){const r=e[n],s=i[n];s?r?o.setAttribute("columnWidth",s,r):o.appendElement("tableColumn",{columnWidth:s},t):o.remove(r)}}function Li(e){if(e.is("element","tableColumnGroup"))return e;const t=e.getChildren();return Array.from(t).find((e=>e.is("element","tableColumnGroup")))}function Fi(e){return Array.from(Li(e).getChildren())}function Zi(e){return Fi(e).map((e=>e.getAttribute("columnWidth")))}class Hi extends o.mY{refresh(){this.isEnabled=!0}execute(e={}){const{model:t,plugins:i}=this.editor;let{table:o=t.document.selection.getSelectedElement(),columnWidths:n,tableWidth:r}=e;n&&(n=Array.isArray(n)?n:n.split(",")),t.change((e=>{r?e.setAttribute("tableWidth",r,o):e.removeAttribute("tableWidth",o);const t=i.get("TableColumnResizeEditing").getColumnGroupElement(o);if(!n&&!t)return;if(!n)return e.remove(t);const s=zi(n);if(t)Array.from(t.getChildren()).forEach(((t,i)=>e.setAttribute("columnWidth",s[i],t)));else{const t=e.createElement("tableColumnGroup");s.forEach((i=>e.appendElement("tableColumn",{columnWidth:i},t))),e.append(t,o)}}))}}class Wi extends o.Sy{static get requires(){return[ve,j]}static get pluginName(){return"TableColumnResizeEditing"}constructor(e){super(e),this._isResizingActive=!1,this.set("_isResizingAllowed",!0),this._resizingData=null,this._domEmitter=new((0,g.Xu)()),this._tableUtilsPlugin=e.plugins.get("TableUtils"),this.on("change:_isResizingAllowed",((t,i,o)=>{const n=o?"removeClass":"addClass";e.editing.view.change((t=>{for(const i of e.editing.view.document.roots)t[n]("ck-column-resize_disabled",e.editing.view.document.getRoot(i.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 i=new Hi(e);e.commands.add("resizeTableWidth",i),e.commands.add("resizeColumnWidths",i),this.bind("_isResizingAllowed").to(e,"isReadOnly",t,"isEnabled",i,"isEnabled",((e,t,i)=>!e&&t&&i))}destroy(){this._domEmitter.stopListening(),super.destroy()}getColumnGroupElement(e){return Li(e)}getTableColumnElements(e){return Fi(e)}getTableColumnsWidths(e){return Zi(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"],isLimit:!0})}_registerPostFixer(){const e=this.editor.model;function t(e,t,i){const o=i._tableUtilsPlugin.getColumns(t);if(0==o-e.length)return e;const n=e.map((e=>Number(e.replace("%","")))),r=function(e,t){const i=new Set;for(const o of e.getChanges())if("insert"==o.type&&o.position.nodeAfter&&"tableCell"==o.position.nodeAfter.name&&o.position.nodeAfter.getAncestors().includes(t))i.add(o.position.nodeAfter);else if("remove"==o.type){const e=o.position.nodeBefore||o.position.nodeAfter;"tableCell"==e.name&&e.getAncestors().includes(t)&&i.add(e)}return i}(i.editor.model.document.differ,t);for(const e of r){const r=o-n.length;if(0===r)continue;const c=r>0,d=i._tableUtilsPlugin.getCellLocation(e).column;if(c){const e=(l=(s=t,a=i.editor,4e3/Vi(s,a)),Array(r).fill(l));n.splice(d,0,...e)}else{const e=n.splice(d,Math.abs(r));n[d]+=Mi(e)}}var s,a,l;return n.map((e=>e+"%"))}e.document.registerPostFixer((i=>{let o=!1;for(const n of function(e){const t=new Set;for(const i of e.document.differ.getChanges()){let o=null;switch(i.type){case"insert":o=["table","tableRow","tableCell"].includes(i.name)?i.position:null;break;case"remove":o=["tableRow","tableCell"].includes(i.name)?i.position:null;break;case"attribute":i.range.start.nodeAfter&&(o=["table","tableRow","tableCell"].includes(i.range.start.nodeAfter.name)?i.range.start:null)}if(!o)continue;const n=o.nodeAfter&&o.nodeAfter.is("element","table")?o.nodeAfter:o.findAncestor("table");for(const i of e.createRangeOn(n).getItems())i.is("element","table")&&Li(i)&&t.add(i)}return t}(e)){const e=this.getColumnGroupElement(n),r=this.getTableColumnElements(e),s=this.getTableColumnsWidths(e);let a=zi(s);a=t(a,n,this),(0,Si.Z)(s,a)||(Di(r,e,a,i),o=!0)}return o}))}_registerConverters(){const e=this.editor.conversion;var t;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,i)=>{const o=i.writer,n=t.item,r=i.mapper.toViewElement(n),s=r.is("element","table")?r:Array.from(r.getChildren()).find((e=>e.is("element","table")));Li(n)?o.addClass("ck-table-resized",s):o.removeClass("ck-table-resized",s)}),{priority:"low"}))),e.for("upcast").add((t=this._tableUtilsPlugin,e=>e.on("element:colgroup",((e,i,o)=>{const n=i.modelCursor.findAncestor("table"),r=Li(n);if(!r)return;const s=Fi(r);let a=Zi(r);const l=t.getColumns(n);a=Array.from({length:l},((e,t)=>a[t]||"auto")),(a.length!=s.length||a.includes("auto"))&&Di(s,r,zi(a),o.writer)}),{priority:"low"}))),e.for("upcast").attributeToAttribute({view:{name:"col",styles:{width:/.*/}},model:{key:"columnWidth",value:e=>{const t=e.getStyle("width");return t&&t.endsWith("%")?t:"auto"}}}),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(De),e.document.on("mousedown",this._onMouseDownHandler.bind(this),{priority:"high"}),this._domEmitter.listenTo(g.CO.window.document,"mousemove",(0,Pi.Z)(this._onMouseMoveHandler.bind(this),50)),this._domEmitter.listenTo(g.CO.window.document,"mouseup",this._onMouseUpHandler.bind(this))}_onMouseDownHandler(e,t){const i=t.target;if(!i.hasClass("ck-table-column-resizer"))return;if(!this._isResizingAllowed)return;const o=this.editor,n=o.editing.mapper.toModelElement(i.findAncestor("figure"));if(!o.model.canEditAt(n))return;t.preventDefault(),e.stop();const r=function(e,t,i){const o=Array(t.getColumns(e)),n=new b(e);for(const e of n){const t=i.editing.mapper.toViewElement(e.cell),n=Ni(i.editing.view.domConverter.mapViewToDom(t));(!o[e.column]||n<o[e.column])&&(o[e.column]=Bi(n))}return o}(n,this._tableUtilsPlugin,o),s=i.findAncestor("table"),a=o.editing.view;Array.from(s.getChildren()).find((e=>e.is("element","colgroup")))||a.change((e=>{!function(e,t,i){const o=e.createContainerElement("colgroup");for(let i=0;i<t.length;i++){const n=e.createEmptyElement("col"),r=`${Bi(t[i]/Mi(t)*100)}%`;e.setStyle("width",r,n),e.insert(e.createPositionAt(o,"end"),n)}e.insert(e.createPositionAt(i,0),o)}(e,r,s)})),this._isResizingActive=!0,this._resizingData=this._getResizingData(t,r),a.change((e=>function(e,t,i){const o=i.widths.viewFigureWidth/i.widths.viewFigureParentWidth;e.addClass("ck-table-resized",t),e.addClass("ck-table-column-resizer__active",i.elements.viewResizer),e.setStyle("width",`${Bi(100*o)}%`,t.findAncestor("figure"))}(e,s,this._resizingData)))}_onMouseMoveHandler(e,t){if(!this._isResizingActive)return;if(!this._isResizingAllowed)return void this._onMouseUpHandler();const{columnPosition:i,flags:{isRightEdge:o,isTableCentered:n,isLtrContent:r},elements:{viewFigure:s,viewLeftColumn:a,viewRightColumn:l},widths:{viewFigureParentWidth:c,tableWidth:d,leftColumnWidth:u,rightColumnWidth:h}}=this._resizingData,m=40-u,g=o?c-d:h-40,p=(r?1:-1)*(o&&n?2:1),f=(b=(t.clientX-i)*p,w=Math.min(m,0),k=Math.max(g,0),Bi(b<=w?w:b>=k?k:b));var b,w,k;0!==f&&this.editor.editing.view.change((e=>{const t=Bi(100*(u+f)/d);if(e.setStyle("width",`${t}%`,a),o){const t=Bi(100*(d+f)/c);e.setStyle("width",`${t}%`,s)}else{const t=Bi(100*(h-f)/d);e.setStyle("width",`${t}%`,l)}}))}_onMouseUpHandler(){if(!this._isResizingActive)return;const{viewResizer:e,modelTable:t,viewFigure:i,viewColgroup:o}=this._resizingData.elements,n=this.editor,r=n.editing.view,s=this.getColumnGroupElement(t),a=Array.from(o.getChildren()).filter((e=>e.is("view:element"))),l=s?this.getTableColumnsWidths(s):null,c=a.map((e=>e.getStyle("width"))),d=!(0,Si.Z)(l,c),u=t.getAttribute("tableWidth"),h=i.getStyle("width"),m=u!==h;(d||m)&&(this._isResizingAllowed?n.execute("resizeTableWidth",{table:t,tableWidth:`${Bi(h)}%`,columnWidths:c}):r.change((e=>{if(l)for(const t of a)e.setStyle("width",l.shift(),t);else e.remove(o);m&&(u?e.setStyle("width",u,i):e.removeStyle("width",i)),l||u||e.removeClass("ck-table-resized",[...i.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 i=this.editor,o=e.domEvent.clientX,n=e.target,r=n.findAncestor("td")||n.findAncestor("th"),s=i.editing.mapper.toModelElement(r),a=s.findAncestor("table"),l=function(e,t){const i=t.getCellLocation(e).column;return{leftEdge:i,rightEdge:i+(e.getAttribute("colspan")||1)-1}}(s,this._tableUtilsPlugin).rightEdge,c=l===this._tableUtilsPlugin.getColumns(a)-1,d=!a.hasAttribute("tableAlignment"),u="rtl"!==i.locale.contentLanguageDirection,h=r.findAncestor("table"),m=h.findAncestor("figure"),g=[...h.getChildren()].find((e=>e.is("element","colgroup"))),p=g.getChild(l),f=c?void 0:g.getChild(l+1);return{columnPosition:o,flags:{isRightEdge:c,isTableCentered:d,isLtrContent:u},elements:{viewResizer:n,modelTable:a,viewFigure:m,viewColgroup:g,viewLeftColumn:p,viewRightColumn:f},widths:{viewFigureParentWidth:Oi(i.editing.view.domConverter.mapViewToDom(m.parent)),viewFigureWidth:Oi(i.editing.view.domConverter.mapViewToDom(m)),tableWidth:Vi(a,i),leftColumnWidth:t[l],rightColumnWidth:c?void 0:t[l+1]}}}_registerResizerInserter(){this.editor.conversion.for("editingDowncast").add((e=>{e.on("insert:tableCell",((e,t,i)=>{const o=t.item,n=i.mapper.toViewElement(o),r=i.writer;r.insert(r.createPositionAt(n,"end"),r.createUIElement("div",{class:"ck-table-column-resizer"}))}),{priority:"lowest"})}))}}var ji=i(7176),Ui={attributes:{"data-cke":!0}};Ui.setAttributes=fe(),Ui.insert=ge().bind(null,"head"),Ui.domAPI=he(),Ui.insertStyleElement=we(),de()(ji.Z,Ui),ji.Z&&ji.Z.locals&&ji.Z.locals;class $i extends o.Sy{static get requires(){return[Wi,Lt]}static get pluginName(){return"TableColumnResize"}}},3701:(e,t,i)=>{"use strict";i.d(t,{HG:()=>k,II:()=>d,uL:()=>y,mh:()=>C,Mq:()=>_,VD:()=>P,Up:()=>v,Im:()=>V});var o=i(7578),n=i(1833);class r{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 s extends o.Command{constructor(e,t){super(e),this._buffer=new r(e.model,t),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const t=this.editor.model,i=t.document,o=e.text||"",n=o.length;let r=i.selection;if(e.selection?r=e.selection:e.range&&(r=t.createSelection(e.range)),!t.canEditAt(r))return;const s=e.resultRange;t.enqueueChange(this._buffer.batch,(e=>{this._buffer.lock(),t.deleteContent(r),o&&t.insertContent(e.createText(o,i.selection.getAttributes()),r),s?e.setSelection(s):r.is("documentSelection")||e.setSelection(r),this._buffer.unlock(),this._buffer.input(n)}))}}var a=i(600);const l=["insertText","insertReplacementText"];class c extends a.Observer{constructor(e){super(e),n.env.isAndroid&&l.push("insertCompositionText");const t=e.document;t.on("beforeinput",((i,o)=>{if(!this.isEnabled)return;const{data:r,targetRanges:s,inputType:c,domEvent:d}=o;if(!l.includes(c))return;const u=new n.EventInfo(t,"insertText");t.fire(u,new a.DomEventData(e,d,{text:r,selection:e.createSelection(s)})),u.stop.called&&i.stop()})),t.on("compositionend",((i,{data:o,domEvent:r})=>{this.isEnabled&&!n.env.isAndroid&&o&&t.fire("insertText",new a.DomEventData(e,r,{text:o,selection:t.selection}))}),{priority:"lowest"})}observe(){}stopObserving(){}}class d extends o.Plugin{static get pluginName(){return"Input"}init(){const e=this.editor,t=e.model,i=e.editing.view,o=t.document.selection;i.addObserver(c);const r=new s(e,e.config.get("typing.undoStep")||20);e.commands.add("insertText",r),e.commands.add("input",r),this.listenTo(i.document,"insertText",((o,r)=>{i.document.isComposing||r.preventDefault();const{text:s,selection:a,resultRange:l}=r,c=Array.from(a.getRanges()).map((t=>e.editing.mapper.toModelRange(t)));let d=s;if(n.env.isAndroid){const e=Array.from(c[0].getItems()).reduce(((e,t)=>e+(t.is("$textProxy")?t.data:"")),"");e&&(e.length<=d.length?d.startsWith(e)&&(d=d.substring(e.length),c[0].start=c[0].start.getShiftedBy(e.length)):e.startsWith(d)&&(c[0].start=c[0].start.getShiftedBy(d.length),d=""))}const u={text:d,selection:t.createSelection(c)};l&&(u.resultRange=e.editing.mapper.toModelRange(l)),e.execute("insertText",u)})),n.env.isAndroid?this.listenTo(i.document,"keydown",((e,n)=>{!o.isCollapsed&&229==n.keyCode&&i.document.isComposing&&u(t,r)})):this.listenTo(i.document,"compositionstart",(()=>{o.isCollapsed||u(t,r)}))}}function u(e,t){if(!t.isEnabled)return;const i=t.buffer;i.lock(),e.enqueueChange(i.batch,(()=>{e.deleteContent(e.document.selection)})),i.unlock()}class h extends o.Command{constructor(e,t){super(e),this.direction=t,this._buffer=new r(e.model,e.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(e={}){const t=this.editor.model,i=t.document;t.enqueueChange(this._buffer.batch,(o=>{this._buffer.lock();const r=o.createSelection(e.selection||i.selection);if(!t.canEditAt(r))return;const s=e.sequence||1,a=r.isCollapsed;if(r.isCollapsed&&t.modifySelection(r,{direction:this.direction,unit:e.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(s))return void this._replaceEntireContentWithParagraph(o);if(this._shouldReplaceFirstBlockWithParagraph(r,s))return void this.editor.execute("paragraph",{selection:r});if(r.isCollapsed)return;let l=0;r.getFirstRange().getMinimalFlatRanges().forEach((e=>{l+=(0,n.count)(e.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),t.deleteContent(r,{doNotResetEntireContent:a,direction:this.direction}),this._buffer.input(l),o.setSelection(r),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const t=this.editor.model,i=t.document.selection,o=t.schema.getLimitElement(i);if(!i.isCollapsed||!i.containsEntireContent(o))return!1;if(!t.schema.checkChild(o,"paragraph"))return!1;const n=o.getChild(0);return!n||!n.is("element","paragraph")}_replaceEntireContentWithParagraph(e){const t=this.editor.model,i=t.document.selection,o=t.schema.getLimitElement(i),n=e.createElement("paragraph");e.remove(e.createRangeIn(o)),e.insert(n,o),e.setSelection(n,0)}_shouldReplaceFirstBlockWithParagraph(e,t){const i=this.editor.model;if(t>1||"backward"!=this.direction)return!1;if(!e.isCollapsed)return!1;const o=e.getFirstPosition(),n=i.schema.getLimitElement(o),r=n.getChild(0);return o.parent==r&&!!e.containsEntireContent(r)&&!!i.schema.checkChild(n,"paragraph")&&"paragraph"!=r.name}}const m="word",g="selection",p="backward",f="forward",b={deleteContent:{unit:g,direction:p},deleteContentBackward:{unit:"codePoint",direction:p},deleteWordBackward:{unit:m,direction:p},deleteHardLineBackward:{unit:g,direction:p},deleteSoftLineBackward:{unit:g,direction:p},deleteContentForward:{unit:"character",direction:f},deleteWordForward:{unit:m,direction:f},deleteHardLineForward:{unit:g,direction:f},deleteSoftLineForward:{unit:g,direction:f}};class w extends a.Observer{constructor(e){super(e);const t=e.document;let i=0;t.on("keydown",(()=>{i++})),t.on("keyup",(()=>{i=0})),t.on("beforeinput",((o,r)=>{if(!this.isEnabled)return;const{targetRanges:s,domEvent:l,inputType:c}=r,d=b[c];if(!d)return;const u={direction:d.direction,unit:d.unit,sequence:i};u.unit==g&&(u.selectionToRemove=e.createSelection(s[0])),"deleteContentBackward"===c&&(n.env.isAndroid&&(u.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 i=0;for(const{nextPosition:e}of t){if(e.parent.is("$text")){const t=e.parent.data,o=e.offset;if((0,n.isInsideSurrogatePair)(t,o)||(0,n.isInsideCombinedSymbol)(t,o)||(0,n.isInsideEmojiSequence)(t,o))continue;i++}else i++;if(i>1)return!0}return!1}(s)&&(u.unit=g,u.selectionToRemove=e.createSelection(s)));const h=new a.BubblingEventInfo(t,"delete",s[0]);t.fire(h,new a.DomEventData(e,l,u)),h.stop.called&&o.stop()})),n.env.isBlink&&function(e){const t=e.view,i=t.document;let o=null,r=!1;function s(e){return e==n.keyCodes.backspace||e==n.keyCodes.delete}function l(e){return e==n.keyCodes.backspace?p:f}i.on("keydown",((e,{keyCode:t})=>{o=t,r=!1})),i.on("keyup",((n,{keyCode:c,domEvent:d})=>{const u=i.selection,h=e.isEnabled&&c==o&&s(c)&&!u.isCollapsed&&!r;if(o=null,h){const e=u.getFirstRange(),o=new a.BubblingEventInfo(i,"delete",e),n={unit:g,direction:l(c),selectionToRemove:u};i.fire(o,new a.DomEventData(t,d,n))}})),i.on("beforeinput",((e,{inputType:t})=>{const i=b[t];s(o)&&i&&i.direction==l(o)&&(r=!0)}),{priority:"high"}),i.on("beforeinput",((e,{inputType:t,data:i})=>{o==n.keyCodes.delete&&"insertText"==t&&"\7f"==i&&e.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class k extends o.Plugin{static get pluginName(){return"Delete"}init(){const e=this.editor,t=e.editing.view,i=t.document,o=e.model.document;t.addObserver(w),this._undoOnBackspace=!1;const n=new h(e,"forward");e.commands.add("deleteForward",n),e.commands.add("forwardDelete",n),e.commands.add("delete",new h(e,"backward")),this.listenTo(i,"delete",((o,n)=>{i.isComposing||n.preventDefault();const{direction:r,sequence:s,selectionToRemove:a,unit:l}=n,c="forward"===r?"deleteForward":"delete",d={sequence:s};if("selection"==l){const t=Array.from(a.getRanges()).map((t=>e.editing.mapper.toModelRange(t)));d.selection=e.model.createSelection(t)}else d.unit=l;e.execute(c,d),t.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(i,"delete",((t,i)=>{this._undoOnBackspace&&"backward"==i.direction&&1==i.sequence&&"codePoint"==i.unit&&(this._undoOnBackspace=!1,e.execute("undo"),i.preventDefault(),t.stop())}),{context:"$capture"}),this.listenTo(o,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class _ extends o.Plugin{static get requires(){return[d,k]}static get pluginName(){return"Typing"}}function v(e,t){let i=e.start;return{text:Array.from(e.getWalker({ignoreElementEnd:!1})).reduce(((e,{item:o})=>o.is("$text")||o.is("$textProxy")?e+o.data:(i=t.createPositionAfter(o),"")),""),range:t.createRange(i,e.end)}}class y extends((0,n.ObservableMixin)()){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:i})=>{i&&(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 i=this.model,o=i.document.selection,n=i.createRange(i.createPositionAt(o.focus.parent,0),o.focus),{text:r,range:s}=v(n,i),a=this.testCallback(r);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const i=Object.assign(t,{text:r,range:s});"object"==typeof a&&Object.assign(i,a),this.fire(`matched:${e}`,i)}}}class C extends o.Plugin{static get pluginName(){return"TwoStepCaretMovement"}constructor(e){super(e),this.attributes=new Set,this._overrideUid=null}init(){const e=this.editor,t=e.model,i=e.editing.view,o=e.locale,r=t.document.selection;this.listenTo(i.document,"arrowKey",((e,t)=>{if(!r.isCollapsed)return;if(t.shiftKey||t.altKey||t.ctrlKey)return;const i=t.keyCode==n.keyCodes.arrowright,s=t.keyCode==n.keyCodes.arrowleft;if(!i&&!s)return;const a=o.contentLanguageDirection;let l=!1;l="ltr"===a&&i||"rtl"===a&&s?this._handleForwardMovement(t):this._handleBackwardMovement(t),!0===l&&e.stop()}),{context:"$text",priority:"highest"}),this._isNextGravityRestorationSkipped=!1,this.listenTo(r,"change:range",((e,t)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!t.directChange&&T(r.getFirstPosition(),this.attributes)||this._restoreGravity())}))}registerAttribute(e){this.attributes.add(e)}_handleForwardMovement(e){const t=this.attributes,i=this.editor.model.document.selection,o=i.getFirstPosition();return!(this._isGravityOverridden||o.isAtStart&&x(i,t)||!T(o,t)||(E(e),this._overrideGravity(),0))}_handleBackwardMovement(e){const t=this.attributes,i=this.editor.model,o=i.document.selection,n=o.getFirstPosition();return this._isGravityOverridden?(E(e),this._restoreGravity(),A(i,t,n),!0):n.isAtStart?!!x(o,t)&&(E(e),A(i,t,n),!0):!!function(e,t){return T(e.getShiftedBy(-1),t)}(n,t)&&(n.isAtEnd&&!x(o,t)&&T(n,t)?(E(e),A(i,t,n),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}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 x(e,t){for(const i of t)if(e.hasAttribute(i))return!0;return!1}function A(e,t,i){const o=i.nodeBefore;e.change((e=>{o?e.setSelectionAttribute(o.getAttributes()):e.removeSelectionAttribute(t)}))}function E(e){e.preventDefault()}function T(e,t){const{nodeBefore:i,nodeAfter:o}=e;for(const e of t){const t=i?i.getAttribute(e):void 0;if((o?o.getAttribute(e):void 0)!==t)return!0}return!1}function S(e){return new RegExp(`(^|\\s)(${e})([^${e}]*)(${e})$`)}function P(e,t,i,o){return o.createRange(I(e,t,i,!0,o),I(e,t,i,!1,o))}function I(e,t,i,o,n){let r=e.textNode||(o?e.nodeBefore:e.nodeAfter),s=null;for(;r&&r.getAttribute(t)==i;)s=r,r=o?r.previousSibling:r.nextSibling;return s?n.createPositionAt(s,o?"before":"after"):e}function V(e,t,i,o){const n=e.editing.view,r=new Set;n.document.registerPostFixer((n=>{const s=e.model.document.selection;let a=!1;if(s.hasAttribute(t)){const l=P(s.getFirstPosition(),t,s.getAttribute(t),e.model),c=e.editing.mapper.toViewRange(l);for(const e of c.getItems())e.is("element",i)&&!e.hasClass(o)&&(n.addClass(o,e),r.add(e),a=!0)}return a})),e.conversion.for("editingDowncast").add((e=>{function t(){n.change((e=>{for(const t of r.values())e.removeClass(o,t),r.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"})}))}S('"'),S("'"),S("'"),S('"'),S('"'),S("'")},7230:(e,t,i)=>{"use strict";function o({emitter:e,activator:t,callback:i,contextElements:o}){e.listenTo(document,"mousedown",((e,n)=>{if(!t())return;const r="function"==typeof n.composedPath?n.composedPath():[],s="function"==typeof o?o():o;for(const e of s)if(e.contains(n.target)||r.includes(e))return;i()}))}function n(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 r(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 s({view:e}){e.listenTo(e.element,"submit",((t,i)=>{i.preventDefault(),e.fire("submit")}),{useCapture:!0})}function a({keystrokeHandler:e,focusTracker:t,gridItems:i,numberOfColumns:o,uiLanguageDirection:n}){const r="number"==typeof o?()=>o:o;function s(e){return o=>{const n=i.find((e=>e.element===t.focusedElement)),r=i.getIndex(n),s=e(r,i);i.get(s).focus(),o.stopPropagation(),o.preventDefault()}}function a(e,t){return e===t-1?0:e+1}function l(e,t){return 0===e?t-1:e-1}e.set("arrowright",s(((e,t)=>"rtl"===n?l(e,t.length):a(e,t.length)))),e.set("arrowleft",s(((e,t)=>"rtl"===n?a(e,t.length):l(e,t.length)))),e.set("arrowup",s(((e,t)=>{let i=e-r();return i<0&&(i=e+r()*Math.floor(t.length/r()),i>t.length-1&&(i-=r())),i}))),e.set("arrowdown",s(((e,t)=>{let i=e+r();return i>t.length-1&&(i=e%r()),i})))}i.r(t),i.d(t,{BalloonPanelView:()=>Xt,BalloonToolbar:()=>Zi,BlockToolbar:()=>Ki,BodyCollection:()=>$,BoxedEditorUIView:()=>wi,ButtonView:()=>Q,ColorGridView:()=>le,ColorPickerView:()=>Zt,ColorTileView:()=>re,ComponentFactory:()=>$t,ContextualBalloon:()=>Oi,CssTransitionDisablerMixin:()=>r,DropdownButtonView:()=>Re,DropdownPanelView:()=>Te,DropdownView:()=>Ie,EditorUI:()=>mi,EditorUIView:()=>bi,FocusCycler:()=>Oe,FormHeaderView:()=>Ci,IconView:()=>G,IframeView:()=>xi,InlineEditableUIView:()=>_i,InputNumberView:()=>Ee,InputTextView:()=>Ae,InputView:()=>xe,LabelView:()=>we,LabeledFieldView:()=>ve,ListItemView:()=>Je,ListView:()=>Ge,Model:()=>Ti,Notification:()=>Ai,SplitButtonView:()=>et,StickyPanelView:()=>Li,SwitchButtonView:()=>te,Template:()=>A,ToolbarLineBreakView:()=>ze,ToolbarSeparatorView:()=>Me,ToolbarView:()=>We,TooltipManager:()=>ri,View:()=>y,ViewCollection:()=>c,addKeyboardHandlingForGrid:()=>a,addListToDropdown:()=>lt,addToolbarToDropdown:()=>st,clickOutsideHandler:()=>o,createDropdown:()=>rt,createLabeledDropdown:()=>mt,createLabeledInputNumber:()=>ht,createLabeledInputText:()=>ut,focusChildOnDropdownOpen:()=>dt,getLocalizedColorOptions:()=>ie,icons:()=>Gi,injectCssTransitionDisabler:()=>n,normalizeColorOptions:()=>oe,normalizeSingleColorDefinition:()=>ne,normalizeToolbarConfig:()=>Ne,submitHandler:()=>s});var l=i(1833);class c extends l.Collection{constructor(e=[]){super(e,{idProperty:"viewUid"}),this.on("add",((e,t,i)=>{this._renderViewIntoCollectionParent(t,i)})),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 l.CKEditorError("ui-viewcollection-delegate-wrong-events",this);return{to:t=>{for(const i of this)for(const o of e)i.delegate(o).to(t);this.on("add",((i,o)=>{for(const i of e)o.delegate(i).to(t)})),this.on("remove",((i,o)=>{for(const i of e)o.stopDelegating(i,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 d=i(3379),u=i.n(d),h=i(9037),m=i.n(h),g=i(569),p=i.n(g),f=i(8575),b=i.n(f),w=i(9216),k=i.n(w),_=i(5167),v={attributes:{"data-cke":!0}};v.setAttributes=b(),v.insert=p().bind(null,"head"),v.domAPI=m(),v.insertStyleElement=k(),u()(_.Z,v),_.Z&&_.Z.locals&&_.Z.locals;class y extends((0,l.DomEmitterMixin)((0,l.ObservableMixin)())){constructor(e){super(),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new l.Collection,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((t,i)=>{i.locale=e,i.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 c(e);return this._viewCollections.add(t),t}registerChild(e){(0,l.isIterable)(e)||(e=[e]);for(const t of e)this._unboundChildren.add(t)}deregisterChild(e){(0,l.isIterable)(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 l.CKEditorError("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)}}var C=i(4612),x=i(7226);class A extends((0,l.EmitterMixin)()){constructor(e){super(),Object.assign(this,M(B(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 l.CKEditorError("ui-template-revert-not-applied",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){yield*function*e(t){if(t.children)for(const i of t.children)Z(i)?yield i:H(i)&&(yield*e(i))}(this)}static bind(e,t){return{to:(i,o)=>new T({eventNameOrFunction:i,attribute:i,observable:e,emitter:t,callback:o}),if:(i,o,n)=>new S({observable:e,emitter:t,attribute:i,valueIfTrue:o,callback:n})}}static extend(e,t){if(e._isRendered)throw new l.CKEditorError("template-extend-render",[this,e]);L(e,M(B(t)))}_renderNode(e){let t;if(t=e.node?this.tag&&this.text:this.tag?this.text:!this.text,t)throw new l.CKEditorError("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(""),P(this.text)?this._bindToObservable({schema:this.text,updater:V(t),data:e}):t.textContent=this.text.join(""),t}_renderAttributes(e){if(!this.attributes)return;const t=e.node,i=e.revertData;for(const o in this.attributes){const n=t.getAttribute(o),r=this.attributes[o];i&&(i.attributes[o]=n);const s=j(r)?r[0].ns:null;if(P(r)){const a=j(r)?r[0].value:r;i&&U(o)&&a.unshift(n),this._bindToObservable({schema:a,updater:R(t,o,s),data:e})}else if("style"==o&&"string"!=typeof r[0])this._renderStyleAttribute(r[0],e);else{i&&n&&U(o)&&r.unshift(n);const e=r.map((e=>e&&e.value||e)).reduce(((e,t)=>e.concat(t)),[]).reduce(N,"");F(e)||t.setAttributeNS(s,o,e)}}}_renderStyleAttribute(e,t){const i=t.node;for(const o in e){const n=e[o];P(n)?this._bindToObservable({schema:[n],updater:O(i,o),data:t}):i.style[o]=n}}_renderElementChildren(e){const t=e.node,i=e.intoFragment?document.createDocumentFragment():t,o=e.isApplying;let n=0;for(const r of this.children)if(W(r)){if(!o){r.setParent(t);for(const e of r)i.appendChild(e.element)}}else if(Z(r))o||(r.isRendered||r.render(),i.appendChild(r.element));else if((0,l.isNode)(r))i.appendChild(r);else if(o){const t={children:[],bindings:[],attributes:{}};e.revertData.children.push(t),r._renderNode({intoFragment:!1,node:i.childNodes[n++],isApplying:!0,revertData:t})}else i.appendChild(r.render());e.intoFragment&&t.appendChild(i)}_setUpListeners(e){if(this.eventListeners)for(const t in this.eventListeners){const i=this.eventListeners[t].map((i=>{const[o,n]=t.split("@");return i.activateDomEventListener(o,n,e)}));e.revertData&&e.revertData.bindings.push(i)}}_bindToObservable({schema:e,updater:t,data:i}){const o=i.revertData;I(e,t,i);const n=e.filter((e=>!F(e))).filter((e=>e.observable)).map((o=>o.activateAttributeListener(e,t,i)));o&&o.bindings.push(n)}_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 i=e;for(const e in t.attributes){const o=t.attributes[e];null===o?i.removeAttribute(e):i.setAttribute(e,o)}for(let e=0;e<t.children.length;++e)this._revertTemplateFromNode(i.childNodes[e],t.children[e])}}class E{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,i){const o=()=>I(e,t,i);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,o),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,o)}}}class T extends E{constructor(e){super(e),this.eventNameOrFunction=e.eventNameOrFunction}activateDomEventListener(e,t,i){const o=(e,i)=>{t&&!i.target.matches(t)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(i):this.observable.fire(this.eventNameOrFunction,i))};return this.emitter.listenTo(i.node,e,o),()=>{this.emitter.stopListening(i.node,e,o)}}}class S extends E{constructor(e){super(e),this.valueIfTrue=e.valueIfTrue}getValue(e){return!F(super.getValue(e))&&(this.valueIfTrue||!0)}}function P(e){return!!e&&(e.value&&(e=e.value),Array.isArray(e)?e.some(P):e instanceof E)}function I(e,t,{node:i}){const o=function(e,t){return e.map((e=>e instanceof E?e.getValue(t):e))}(e,i);let n;n=1==e.length&&e[0]instanceof S?o[0]:o.reduce(N,""),F(n)?t.remove():t.set(n)}function V(e){return{set(t){e.textContent=t},remove(){e.textContent=""}}}function R(e,t,i){return{set(o){e.setAttributeNS(i,t,o)},remove(){e.removeAttributeNS(i,t)}}}function O(e,t){return{set(i){e.style[t]=i},remove(){e.style[t]=null}}}function B(e){return(0,C.Z)(e,(e=>{if(e&&(e instanceof E||H(e)||Z(e)||W(e)))return e}))}function M(e){if("string"==typeof e?e=function(e){return{text:[e]}}(e):e.text&&function(e){e.text=(0,l.toArray)(e.text)}(e),e.on&&(e.eventListeners=function(e){for(const t in e)z(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,l.toArray)(e[t].value)),z(e,t)}(e.attributes);const t=[];if(e.children)if(W(e.children))t.push(e.children);else for(const i of e.children)H(i)||Z(i)||(0,l.isNode)(i)?t.push(i):t.push(new A(i));e.children=t}return e}function z(e,t){e[t]=(0,l.toArray)(e[t])}function N(e,t){return F(t)?e:F(e)?t:`${e} ${t}`}function D(e,t){for(const i in t)e[i]?e[i].push(...t[i]):e[i]=t[i]}function L(e,t){if(t.attributes&&(e.attributes||(e.attributes={}),D(e.attributes,t.attributes)),t.eventListeners&&(e.eventListeners||(e.eventListeners={}),D(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 l.CKEditorError("ui-template-extend-children-mismatch",e);let i=0;for(const o of t.children)L(e.children[i++],o)}}function F(e){return!e&&0!==e}function Z(e){return e instanceof y}function H(e){return e instanceof A}function W(e){return e instanceof c}function j(e){return(0,x.Z)(e[0])&&e[0].ns}function U(e){return"class"==e||"style"==e}class $ extends c{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},children:this}).render();let e=document.querySelector(".ck-body-wrapper");e||(e=(0,l.createElement)(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 q=i(1977),K={attributes:{"data-cke":!0}};K.setAttributes=b(),K.insert=p().bind(null,"head"),K.domAPI=m(),K.insertStyleElement=k(),u()(q.Z,K),q.Z&&q.Z.locals&&q.Z.locals;class G extends y{constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon","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:i}of Array.from(e.attributes))G.presentationalAttributeNames.includes(t)&&this.element.setAttribute(t,i);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}))}}G.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"];var J=i(4971),Y={attributes:{"data-cke":!0}};Y.setAttributes=b(),Y.insert=p().bind(null,"head"),Y.domAPI=m(),Y.insertStyleElement=k(),u()(J.Z,Y),J.Z&&J.Z.locals&&J.Z.locals;class Q extends y{constructor(e){super(e),this._focusDelayed=null;const t=this.bindTemplate,i=(0,l.uid)();this.set("ariaChecked",void 0),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._createLabelView(),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 o={tag:"button",attributes:{class:["ck","ck-button",t.to("class"),t.if("isEnabled","ck-disabled",(e=>!e)),t.if("isVisible","ck-hidden",(e=>!e)),t.to("isOn",(e=>e?"ck-on":"ck-off")),t.if("withText","ck-button_with-text"),t.if("withKeystroke","ck-button_with-keystroke")],role:t.to("role"),type:t.to("type",(e=>e||"button")),tabindex:t.to("tabindex"),"aria-label":t.to("ariaLabel"),"aria-labelledby":t.to("ariaLabelledBy"),"aria-disabled":t.if("isEnabled",!0,(e=>!e)),"aria-checked":t.to("isOn"),"aria-pressed":t.to("isOn",(e=>!!this.isToggleable&&String(!!e))),"data-cke-tooltip-text":t.to("_tooltipString"),"data-cke-tooltip-position":t.to("tooltipPosition")},children:this.children,on:{click:t.to((e=>{this.isEnabled?this.fire("execute"):e.preventDefault()}))}};l.env.isSafari&&(this._focusDelayed||(this._focusDelayed=(0,l.delay)((()=>this.focus()),0)),o.on.mousedown=t.to((()=>{this._focusDelayed()})),o.on.mouseup=t.to((()=>{this._focusDelayed.cancel()}))),this.setTemplate(o)}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()}_createLabelView(){const e=new y,t=this.bindTemplate;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:t.to("labelStyle"),id:this.ariaLabelledBy},children:[{text:t.to("label")}]}),e}_createKeystrokeView(){const e=new y;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(e=>(0,l.getEnvKeystrokeText)(e)))}]}),e}_getTooltipString(e,t,i){return e?"string"==typeof e?e:(i&&(i=(0,l.getEnvKeystrokeText)(i)),e instanceof Function?e(t,i):`${t}${i?` (${i})`:""}`):""}}var X=i(7258),ee={attributes:{"data-cke":!0}};ee.setAttributes=b(),ee.insert=p().bind(null,"head"),ee.domAPI=m(),ee.insertStyleElement=k(),u()(X.Z,ee),X.Z&&X.Z.locals&&X.Z.locals;class te 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 y;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}function ie(e,t){const i=e.t,o={Black:i("Black"),"Dim grey":i("Dim grey"),Grey:i("Grey"),"Light grey":i("Light grey"),White:i("White"),Red:i("Red"),Orange:i("Orange"),Yellow:i("Yellow"),"Light green":i("Light green"),Green:i("Green"),Aquamarine:i("Aquamarine"),Turquoise:i("Turquoise"),"Light blue":i("Light blue"),Blue:i("Blue"),Purple:i("Purple")};return t.map((e=>{const t=o[e.label];return t&&t!=e.label&&(e.label=t),e}))}function oe(e){return e.map(ne).filter((e=>!!e))}function ne(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 re 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")},class:["ck","ck-color-grid__tile",t.if("hasBorder","ck-color-table__color-tile_bordered")]}})}render(){super.render(),this.iconView.fillColor="hsl(0, 0%, 100%)"}}var se=i(4923),ae={attributes:{"data-cke":!0}};ae.setAttributes=b(),ae.insert=p().bind(null,"head"),ae.domAPI=m(),ae.insertStyleElement=k(),u()(se.Z,ae),se.Z&&se.Z.locals&&se.Z.locals;class le extends y{constructor(e,t){super(e);const i=t&&t.colorDefinitions?t.colorDefinitions:[];this.columns=t&&t.columns?t.columns:5;const o={gridTemplateColumns:`repeat( ${this.columns}, 1fr)`};this.set("selectedColor",void 0),this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.items.on("add",((e,t)=>{t.isOn=t.color===this.selectedColor})),i.forEach((e=>{const t=new re;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:o}}),this.on("change:selectedColor",((e,t,i)=>{for(const e of this.items)e.isOn=e.color===i}))}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),a({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 ce=i(8874);const de=function(e){var t,i,o=[],n=1;if("string"==typeof e)if(ce[e])o=ce[e].slice(),i="rgb";else if("transparent"===e)n=0,i="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var r=e.slice(1);n=1,(l=r.length)<=4?(o=[parseInt(r[0]+r[0],16),parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16)],4===l&&(n=parseInt(r[3]+r[3],16)/255)):(o=[parseInt(r[0]+r[1],16),parseInt(r[2]+r[3],16),parseInt(r[4]+r[5],16)],8===l&&(n=parseInt(r[6]+r[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),i="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var s=t[1],a="rgb"===s;i=r=s.replace(/a$/,"");var l="cmyk"===r?4:"gray"===r?1:3;o=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===l?parseFloat(e)/100:"rgb"===r?255*parseFloat(e)/100:parseFloat(e);if("h"===r[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==ue[e])return ue[e]}return parseFloat(e)})),s===r&&o.push(1),n=a||void 0===o[l]?1:o[l],o=o.slice(0,l)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),i=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],i="rgb",n=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(i="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(i="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),n=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(n/=100)):(i="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:i,values:o,alpha:n}};var ue={red:0,orange:60,yellow:120,green:180,blue:240,purple:300},he=i(2085);function me(e,t){if(!e)return"";const i=ge(e);if(!i)return"";if(i.space===t)return e;if(o=i,!Object.keys(he).includes(o.space))return"";var o;const n=he[i.space][t];return n?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""}}(n("hex"===i.space?i.hexValue:i.values),t):""}function ge(e){if(e.startsWith("#")){const t=de(e);return{space:"hex",values:t.values,hexValue:e,alpha:t.alpha}}const t=de(e);return t.space?t:null}var pe=i(6682),fe=i(3525),be={attributes:{"data-cke":!0}};be.setAttributes=b(),be.insert=p().bind(null,"head"),be.domAPI=m(),be.insertStyleElement=k(),u()(fe.Z,be),fe.Z&&fe.Z.locals&&fe.Z.locals;class we extends y{constructor(e){super(e),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${(0,l.uid)()}`;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")}]})}}var ke=i(2933),_e={attributes:{"data-cke":!0}};_e.setAttributes=b(),_e.insert=p().bind(null,"head"),_e.domAPI=m(),_e.insertStyleElement=k(),u()(ke.Z,_e),ke.Z&&ke.Z.locals&&ke.Z.locals;class ve extends y{constructor(e,t){super(e);const i=`ck-labeled-field-view-${(0,l.uid)()}`,o=`ck-labeled-field-view-status-${(0,l.uid)()}`;this.fieldView=t(this,i,o),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(i),this.statusView=this._createStatusView(o),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 y(this.locale),i=this.bindTemplate;return t.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",i.if("errorText","ck-labeled-field-view__status_error"),i.if("_statusText","ck-hidden",(e=>!e))],id:e,role:i.if("errorText","alert")},children:[{text:i.to("_statusText")}]}),t}focus(){this.fieldView.focus()}}var ye=i(2470),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=b(),Ce.insert=p().bind(null,"head"),Ce.domAPI=m(),Ce.insertStyleElement=k(),u()(ye.Z,Ce),ye.Z&&ye.Z.locals&&ye.Z.locals;class xe extends y{constructor(e){super(e),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new l.FocusTracker,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0),this.set("inputMode","text");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"),readonly:t.to("isReadOnly"),inputmode:t.to("inputMode"),"aria-invalid":t.if("hasError",!0),"aria-describedby":t.to("ariaDescribedById")},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,i)=>{this._setDomElementValue(i),this._updateIsEmpty()}))}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(e){this.element.value=e||0===e?e:""}}class Ae extends xe{constructor(e){super(e),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}class Ee extends xe{constructor(e,{min:t,max:i,step:o}={}){super(e);const n=this.bindTemplate;this.set("min",t),this.set("max",i),this.set("step",o),this.extendTemplate({attributes:{type:"number",class:["ck-input-number"],min:n.to("min"),max:n.to("max"),step:n.to("step")}})}}class Te extends y{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")]},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,l.logWarning)("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 Se=i(5062),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=b(),Pe.insert=p().bind(null,"head"),Pe.domAPI=m(),Pe.insertStyleElement=k(),u()(Se.Z,Pe),Se.Z&&Se.Z.locals&&Se.Z.locals;class Ie extends y{constructor(e,t,i){super(e);const o=this.bindTemplate;this.buttonView=t,this.panelView=i,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.keystrokes=new l.KeystrokeHandler,this.focusTracker=new l.FocusTracker,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",o.to("class"),o.if("isEnabled","ck-disabled",(e=>!e))],id:o.to("id"),"aria-describedby":o.to("ariaDescribedById")},children:[t,i]}),t.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":o.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.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",((e,t,i)=>{i&&("auto"===this.panelPosition?this.panelView.position=Ie._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions}).name: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:i,southWest:o,northEast:n,northWest:r,southMiddleEast:s,southMiddleWest:a,northMiddleEast:l,northMiddleWest:c}=Ie.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[i,o,s,a,e,n,r,l,c,t]:[o,i,a,s,e,r,n,c,l,t]}}Ie.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"})},Ie._getOptimalPosition=l.getOptimalPosition;var Ve=i(8217);class Re 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=Ve.Z,e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}class Oe{constructor(e){if(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 i=e.actions[t];"string"==typeof i&&(i=[i]);for(const o of i)e.keystrokeHandler.set(o,((e,i)=>{this[t](),i()}))}}get first(){return this.focusables.find(Be)||null}get last(){return this.focusables.filter(Be).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let e=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((t,i)=>{const o=t.element===this.focusTracker.focusedElement;return o&&(e=i),o})),e)}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(e){e&&e.focus()}_getFocusableItem(e){const t=this.current,i=this.focusables.length;if(!i)return null;if(null===t)return this[1===e?"first":"last"];let o=(t+i+e)%i;do{const t=this.focusables.get(o);if(Be(t))return t;o=(o+i+e)%i}while(o!==t);return null}}function Be(e){return!(!e.focus||!(0,l.isVisible)(e.element))}class Me extends y{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class ze extends y{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function Ne(e){return Array.isArray(e)?{items:e,removeItems:[]}:e?Object.assign({items:[],removeItems:[]},e):{items:[],removeItems:[]}}var De=i(7578),Le=i(4768),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=b(),Fe.insert=p().bind(null,"head"),Fe.domAPI=m(),Fe.insertStyleElement=k(),u()(Le.Z,Fe),Le.Z&&Le.Z.locals&&Le.Z.locals;const{threeVerticalDots:Ze}=De.icons,He={alignLeft:De.icons.alignLeft,bold:De.icons.bold,importExport:De.icons.importExport,paragraph:De.icons.paragraph,plus:De.icons.plus,text:De.icons.text,threeVerticalDots:De.icons.threeVerticalDots};class We extends y{constructor(e,t){super(e);const i=this.bindTemplate,o=this.t;this.options=t||{},this.set("ariaLabel",o("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new je(e),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const n="rtl"===e.uiLanguageDirection;this._focusCycler=new Oe({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",i.to("class"),i.if("isCompact","ck-toolbar_compact")];var s;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":i.to("ariaLabel"),style:{maxWidth:i.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(s=this,s.bindTemplate.to((e=>{e.target===s.element&&e.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new $e(this):new Ue(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,i){this.items.addMany(this._buildItemsFromConfig(e,t,i))}_buildItemsFromConfig(e,t,i){const o=Ne(e),n=i||o.removeItems;return this._cleanItemsConfiguration(o.items,t,n).map((e=>(0,x.Z)(e)?this._createNestedToolbarDropdown(e,t,n):"|"===e?new Me:"-"===e?new ze:t.create(e))).filter((e=>!!e))}_cleanItemsConfiguration(e,t,i){const o=e.filter(((e,o,n)=>"|"===e||-1===i.indexOf(e)&&("-"===e?!this.options.shouldGroupWhenFull||((0,l.logWarning)("toolbarview-line-break-ignored-when-grouping-items",n),!1):!(!(0,x.Z)(e)&&!t.has(e)&&((0,l.logWarning)("toolbarview-item-unavailable",{item:e}),1)))));return this._cleanSeparatorsAndLineBreaks(o)}_cleanSeparatorsAndLineBreaks(e){const t=e=>"-"!==e&&"|"!==e,i=e.length,o=e.findIndex(t);if(-1===o)return[];const n=i-e.slice().reverse().findIndex(t);return e.slice(o,n).filter(((e,i,o)=>!!t(e)||!(i>0&&o[i-1]===e)))}_createNestedToolbarDropdown(e,t,i){let{label:o,icon:n,items:r,tooltip:s=!0,withText:a=!1}=e;if(r=this._cleanItemsConfiguration(r,t,i),!r.length)return null;const c=rt(this.locale);return o||(0,l.logWarning)("toolbarview-nested-toolbar-dropdown-missing-label",e),c.class="ck-toolbar__nested-toolbar-dropdown",c.buttonView.set({label:o,tooltip:s,withText:!!a}),!1!==n?c.buttonView.icon=He[n]||n||Ze:c.buttonView.withText=!0,st(c,(()=>c.toolbarView._buildItemsFromConfig(r,t,i))),c}}class je extends y{constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Ue{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=>e)),e.extendTemplate({attributes:{class:[t.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class $e{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._updateFocusCycleableItems.bind(this)),e.children.on("change",this._updateFocusCycleableItems.bind(this)),e.items.on("change",((e,t)=>{const i=t.index,o=Array.from(t.added);for(const e of t.removed)i>=this.ungroupedItems.length?this.groupedItems.remove(e):this.ungroupedItems.remove(e);for(let e=i;e<i+o.length;e++){const t=o[e-i];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,l.isVisible)(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,i=new l.Rect(e.lastChild),o=new l.Rect(e);if(!this.cachedPadding){const i=l.global.window.getComputedStyle(e),o="ltr"===t?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(i[o])}return"ltr"===t?i.right>o.right-this.cachedPadding:i.left<o.left+this.cachedPadding}_enableGroupingOnResize(){let e;this.resizeObserver=new l.ResizeObserver(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 Me),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,i=rt(e);return i.class="ck-toolbar__grouped-dropdown",i.panelPosition="ltr"===e.uiLanguageDirection?"sw":"se",st(i,this.groupedItems),i.buttonView.set({label:t("Show more items"),tooltip:!0,tooltipPosition:"rtl"===e.uiLanguageDirection?"se":"sw",icon:Ze}),i}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((e=>{this.viewFocusables.add(e)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}var qe=i(179),Ke={attributes:{"data-cke":!0}};Ke.setAttributes=b(),Ke.insert=p().bind(null,"head"),Ke.domAPI=m(),Ke.insertStyleElement=k(),u()(qe.Z,Ke),qe.Z&&qe.Z.locals&&qe.Z.locals;class Ge extends y{constructor(e){super(e);const t=this.bindTemplate;this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this._focusCycler=new Oe({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",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")},children:this.items})}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)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class Je extends y{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.focus()}}class Ye extends y{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}var Qe=i(4791),Xe={attributes:{"data-cke":!0}};Xe.setAttributes=b(),Xe.insert=p().bind(null,"head"),Xe.domAPI=m(),Xe.insertStyleElement=k(),u()(Qe.Z,Xe),Qe.Z&&Qe.Z.locals&&Qe.Z.locals;class et extends y{constructor(e){super(e);const t=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(),this.arrowView=this._createArrowView(),this.keystrokes=new l.KeystrokeHandler,this.focusTracker=new l.FocusTracker,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",t.to("class"),t.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(){const e=new Q;return e.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),e.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),e.delegate("execute").to(this),e}_createArrowView(){const e=new Q,t=e.bindTemplate;return e.icon=Ve.Z,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 tt=i(2704),it={attributes:{"data-cke":!0}};it.setAttributes=b(),it.insert=p().bind(null,"head"),it.domAPI=m(),it.insertStyleElement=k(),u()(tt.Z,it),tt.Z&&tt.Z.locals&&tt.Z.locals;var ot=i(1883),nt={attributes:{"data-cke":!0}};function rt(e,t=Re){const i=new t(e),n=new Te(e),r=new Ie(e,i,n);return i.bind("isEnabled").to(r),i instanceof et?i.arrowView.bind("isOn").to(r,"isOpen"):i.bind("isOn").to(r,"isOpen"),function(e){(function(e){e.on("render",(()=>{o({emitter:e,activator:()=>e.isOpen,callback:()=>{e.isOpen=!1},contextElements:[e.element]})}))})(e),function(e){e.on("execute",(t=>{t.source instanceof te||(e.isOpen=!1)}))}(e),function(e){e.focusTracker.on("change:isFocused",((t,i,o)=>{e.isOpen&&!o&&(e.isOpen=!1)}))}(e),function(e){e.keystrokes.set("arrowdown",((t,i)=>{e.isOpen&&(e.panelView.focus(),i())})),e.keystrokes.set("arrowup",((t,i)=>{e.isOpen&&(e.panelView.focusLast(),i())}))}(e),function(e){e.on("change:isOpen",((t,i,o)=>{if(o)return;const n=e.panelView.element;n&&n.contains(l.global.document.activeElement)&&e.buttonView.focus()}))}(e),function(e){e.on("change:isOpen",((t,i,o)=>{o&&e.panelView.focus()}),{priority:"low"})}(e)}(r),r}function st(e,t,i={}){e.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.isOpen?at(e,t,i):e.once("change:isOpen",(()=>at(e,t,i)),{priority:"highest"}),i.enableActiveItemFocusOnDropdownOpen&&dt(e,(()=>e.toolbarView.items.find((e=>e.isOn))))}function at(e,t,i){const o=e.locale,n=o.t,r=e.toolbarView=new We(o),s="function"==typeof t?t():t;r.ariaLabel=i.ariaLabel||n("Dropdown toolbar"),i.maxWidth&&(r.maxWidth=i.maxWidth),i.class&&(r.class=i.class),i.isCompact&&(r.isCompact=i.isCompact),i.isVertical&&(r.isVertical=!0),s instanceof c?r.items.bindTo(s).using((e=>e)):r.items.addMany(s),e.panelView.children.add(r),r.items.delegate("execute").to(e)}function lt(e,t,i={}){e.isOpen?ct(e,t,i):e.once("change:isOpen",(()=>ct(e,t,i)),{priority:"highest"}),dt(e,(()=>e.listView.items.find((e=>e instanceof Je&&e.children.first.isOn))))}function ct(e,t,i){const o=e.locale,n=e.listView=new Ge(o),r="function"==typeof t?t():t;n.ariaLabel=i.ariaLabel,n.role=i.role,n.items.bindTo(r).using((e=>{if("separator"===e.type)return new Ye(o);if("button"===e.type||"switchbutton"===e.type){const t=new Je(o);let i;return i="button"===e.type?new Q(o):new te(o),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(t),t.children.add(i),t}return null})),e.panelView.children.add(n),n.items.delegate("execute").to(e)}function dt(e,t){e.on("change:isOpen",(()=>{if(!e.isOpen)return;const i=t();i&&("function"==typeof i.focus?i.focus():(0,l.logWarning)("ui-dropdown-focus-child-on-open-child-missing-focus",{view:i}))}),{priority:l.priorities.low-10})}function ut(e,t,i){const o=new Ae(e.locale);return o.set({id:t,ariaDescribedById:i}),o.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),o.bind("hasError").to(e,"errorText",(e=>!!e)),o.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(o),o}function ht(e,t,i){const o=new Ee(e.locale);return o.set({id:t,ariaDescribedById:i,inputMode:"numeric"}),o.bind("isReadOnly").to(e,"isEnabled",(e=>!e)),o.bind("hasError").to(e,"errorText",(e=>!!e)),o.on("input",(()=>{e.errorText=null})),e.bind("isEmpty","isFocused","placeholder").to(o),o}function mt(e,t,i){const o=rt(e.locale);return o.set({id:t,ariaDescribedById:i}),o.bind("isEnabled").to(e),o}nt.setAttributes=b(),nt.insert=p().bind(null,"head"),nt.domAPI=m(),nt.insertStyleElement=k(),u()(ot.Z,nt),ot.Z&&ot.Z.locals&&ot.Z.locals;const gt=(e,t=0,i=1)=>e>i?i:e<t?t:e,pt=(e,t=0,i=Math.pow(10,t))=>Math.round(i*e)/i,ft=(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?pt(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?pt(parseInt(e.substring(6,8),16)/255,2):1})),bt=e=>{const{h:t,s:i,l:o}=(({h:e,s:t,v:i,a:o})=>{const n=(200-t)*i/100;return{h:pt(e),s:pt(n>0&&n<200?t*i/100/(n<=100?n:200-n)*100:0),l:pt(n/2),a:pt(o,2)}})(e);return`hsl(${t}, ${i}%, ${o}%)`},wt=e=>{const t=e.toString(16);return t.length<2?"0"+t:t},kt=(e,t)=>{if(e===t)return!0;for(const i in e)if(e[i]!==t[i])return!1;return!0},_t={},vt=e=>{let t=_t[e];return t||(t=document.createElement("template"),t.innerHTML=e,_t[e]=t),t},yt=(e,t,i)=>{e.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:i}))};let Ct=!1;const xt=e=>"touches"in e,At=(e,t)=>{const i=xt(t)?t.touches[0]:t,o=e.el.getBoundingClientRect();yt(e.el,"move",e.getMove({x:gt((i.pageX-(o.left+window.pageXOffset))/o.width),y:gt((i.pageY-(o.top+window.pageYOffset))/o.height)}))};class Et{constructor(e,t,i,o){const n=vt(`<div role="slider" tabindex="0" part="${t}" ${i}><div part="${t}-pointer"></div></div>`);e.appendChild(n.content.cloneNode(!0));const r=e.querySelector(`[part=${t}]`);r.addEventListener("mousedown",this),r.addEventListener("touchstart",this),r.addEventListener("keydown",this),this.el=r,this.xy=o,this.nodes=[r.firstChild,r]}set dragging(e){const t=e?document.addEventListener:document.removeEventListener;t(Ct?"touchmove":"mousemove",this),t(Ct?"touchend":"mouseup",this)}handleEvent(e){switch(e.type){case"mousedown":case"touchstart":if(e.preventDefault(),!(e=>!(Ct&&!xt(e)||(Ct||(Ct=xt(e)),0)))(e)||!Ct&&0!=e.button)return;this.el.focus(),At(this,e),this.dragging=!0;break;case"mousemove":case"touchmove":e.preventDefault(),At(this,e);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((e,t)=>{const i=t.keyCode;i>40||e.xy&&i<37||i<33||(t.preventDefault(),yt(e.el,"move",e.getMove({x:39===i?.01:37===i?-.01:34===i?.05:33===i?-.05:35===i?1:36===i?-1:0,y:40===i?.01:38===i?-.01:0},!0)))})(this,e)}}style(e){e.forEach(((e,t)=>{for(const i in e)this.nodes[t].style.setProperty(i,e[i])}))}}class Tt extends Et{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:bt({h:e,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${pt(e)}`)}getMove(e,t){return{h:t?gt(this.h+360*e.x,0,360):360*e.x}}}class St extends Et{constructor(e){super(e,"saturation",'aria-label="Color"',!0)}update(e){this.hsva=e,this.style([{top:100-e.v+"%",left:`${e.s}%`,color:bt(e)},{"background-color":bt({h:e.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${pt(e.s)}%, Brightness ${pt(e.v)}%`)}getMove(e,t){return{s:t?gt(this.hsva.s+100*e.x,0,100):100*e.x,v:t?gt(this.hsva.v-100*e.y,0,100):Math.round(100-100*e.y)}}}const Pt=Symbol("same"),It=Symbol("color"),Vt=Symbol("hsva"),Rt=Symbol("update"),Ot=Symbol("parts"),Bt=Symbol("css"),Mt=Symbol("sliders");class zt extends HTMLElement{static get observedAttributes(){return["color"]}get[Bt](){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[Mt](){return[St,Tt]}get color(){return this[It]}set color(e){if(!this[Pt](e)){const t=this.colorModel.toHsva(e);this[Rt](t),this[It]=e}}constructor(){super();const e=vt(`<style>${this[Bt].join("")}</style>`),t=this.attachShadow({mode:"open"});t.appendChild(e.content.cloneNode(!0)),t.addEventListener("move",this),this[Ot]=this[Mt].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,i){const o=this.colorModel.fromAttr(i);this[Pt](o)||(this.color=o)}handleEvent(e){const t=this[Vt],i={...t,...e.detail};let o;this[Rt](i),kt(i,t)||this[Pt](o=this.colorModel.fromHsva(i))||(this[It]=o,yt(this,"color-changed",{value:o}))}[Pt](e){return this.color&&this.colorModel.equal(e,this.color)}[Rt](e){this[Vt]=e,this[Ot].forEach((t=>t.update(e)))}}const Nt={defaultColor:"#000",toHsva:e=>(({r:e,g:t,b:i,a:o})=>{const n=Math.max(e,t,i),r=n-Math.min(e,t,i),s=r?n===e?(t-i)/r:n===t?2+(i-e)/r:4+(e-t)/r:0;return{h:pt(60*(s<0?s+6:s)),s:pt(n?r/n*100:0),v:pt(n/255*100),a:o}})(ft(e)),fromHsva:({h:e,s:t,v:i})=>(({r:e,g:t,b:i,a:o})=>{const n=o<1?wt(pt(255*o)):"";return"#"+wt(e)+wt(t)+wt(i)+n})((({h:e,s:t,v:i,a:o})=>{e=e/360*6,t/=100,i/=100;const n=Math.floor(e),r=i*(1-t),s=i*(1-(e-n)*t),a=i*(1-(1-e+n)*t),l=n%6;return{r:pt(255*[i,s,r,r,a,i][l]),g:pt(255*[a,i,i,s,r,r][l]),b:pt(255*[r,r,a,i,i,s][l]),a:pt(o,2)}})({h:e,s:t,v:i,a:1})),equal:(e,t)=>e.toLowerCase()===t.toLowerCase()||kt(ft(e),ft(t)),fromAttr:e=>e};class Dt extends zt{get colorModel(){return Nt}}customElements.define("hex-color-picker",class extends Dt{});var Lt=i(4257),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=b(),Ft.insert=p().bind(null,"head"),Ft.domAPI=m(),Ft.insertStyleElement=k(),u()(Lt.Z,Ft),Lt.Z&&Lt.Z.locals&&Lt.Z.locals;class Zt extends y{constructor(e,t){super(e),this.set("color",""),this.set("_hexColor",""),this._format=t.format||"hsl",this.hexInputRow=this._createInputRow();const i=this.createCollection();i.add(this.hexInputRow),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker"],tabindex:-1},children:i}),this._debounceColorPickerEvent=(0,pe.Z)((e=>{this.set("color",e)}),150,{leading:!0}),this.on("set:color",((e,t,i)=>{e.return=me(i,this._format)})),this.on("change:color",(()=>{this._hexColor=Ht(this.color)})),this.on("change:_hexColor",(()=>{document.activeElement!==this.picker&&this.picker.setAttribute("color",this._hexColor),Ht(this.color)!=Ht(this._hexColor)&&(this.color=this._hexColor)}))}render(){if(super.render(),this.picker=l.global.document.createElement("hex-color-picker"),this.picker.setAttribute("class","hex-color-picker"),this.picker.setAttribute("tabindex","-1"),this._createSlidersView(),this.element){this.element.insertBefore(this.picker,this.hexInputRow.element);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(){(l.env.isGecko||l.env.isiOS||l.env.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 Wt(e)));this.slidersView=this.createCollection(),e.forEach((e=>{this.slidersView.add(e)}))}_createInputRow(){const e=new jt,t=this._createColorInput();return new Ut(this.locale,[e,t])}_createColorInput(){const e=new ve(this.locale,ut),{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=t.trim(),i=e.startsWith("#")?e.substring(1):e;[3,4,6,8].includes(i.length)&&/(([0-9a-fA-F]{2}){3,4}|([0-9a-fA-F]){3,4})/.test(i)&&this._debounceColorPickerEvent("#"+i)}})),e}}function Ht(e){let t=function(e){if(!e)return"";const t=ge(e);return t?"hex"===t.space?t.hexValue:me(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 Wt extends y{constructor(e){super(),this.element=e}focus(){this.element.focus()}}class jt extends y{constructor(e){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__hash-view"]},children:"#"})}}class Ut extends y{constructor(e,t){super(e),this.children=this.createCollection(t),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__row"]},children:this.children})}}class $t{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(qt(e),{callback:t,originalName:e})}create(e){if(!this.has(e))throw new l.CKEditorError("componentfactory-item-missing",this,{name:e});return this._components.get(qt(e)).callback(this.editor.locale)}has(e){return this._components.has(qt(e))}}function qt(e){return String(e).toLowerCase()}var Kt=i(3251),Gt=i(4460),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=b(),Jt.insert=p().bind(null,"head"),Jt.domAPI=m(),Jt.insertStyleElement=k(),u()(Gt.Z,Jt),Gt.Z&&Gt.Z.locals&&Gt.Z.locals;const Yt=(0,l.toUnit)("px"),Qt=l.global.document.body;class Xt extends y{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.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",Yt),left:t.to("left",Yt)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){this.show();const t=Xt.defaultPositions,i=Object.assign({},{element:this.element,positions:[t.southArrowNorth,t.southArrowNorthMiddleWest,t.southArrowNorthMiddleEast,t.southArrowNorthWest,t.southArrowNorthEast,t.northArrowSouth,t.northArrowSouthMiddleWest,t.northArrowSouthMiddleEast,t.northArrowSouthWest,t.northArrowSouthEast,t.viewportStickyNorth],limiter:Qt,fitInViewport:!0},e),o=Xt._getOptimalPosition(i),n=parseInt(o.left),r=parseInt(o.top),s=o.name,a=o.config||{},{withArrow:l=!0}=a;this.top=r,this.left=n,this.position=s,this.withArrow=l}pin(e){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this._startPinning(e),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){this.attachTo(e);const t=ei(e.target),i=e.limiter?ei(e.limiter):Qt;this.listenTo(l.global.document,"scroll",((o,n)=>{const r=n.target,s=t&&r.contains(t),a=i&&r.contains(i);!s&&!a&&t&&i||this.attachTo(e)}),{useCapture:!0}),this.listenTo(l.global.window,"resize",(()=>{this.attachTo(e)}))}_stopPinning(){this.stopListening(l.global.document,"scroll"),this.stopListening(l.global.window,"resize")}}function ei(e){return(0,Kt.Z)(e)?e:(0,l.isRange)(e)?e.commonAncestorContainer:"function"==typeof e?ei(e()):null}function ti(e={}){const{sideOffset:t=Xt.arrowSideOffset,heightOffset:i=Xt.arrowHeightOffset,stickyVerticalOffset:o=Xt.stickyVerticalOffset,config:n}=e;return{northWestArrowSouthWest:(e,i)=>({top:r(e,i),left:e.left-t,name:"arrow_sw",...n&&{config:n}}),northWestArrowSouthMiddleWest:(e,i)=>({top:r(e,i),left:e.left-.25*i.width-t,name:"arrow_smw",...n&&{config:n}}),northWestArrowSouth:(e,t)=>({top:r(e,t),left:e.left-t.width/2,name:"arrow_s",...n&&{config:n}}),northWestArrowSouthMiddleEast:(e,i)=>({top:r(e,i),left:e.left-.75*i.width+t,name:"arrow_sme",...n&&{config:n}}),northWestArrowSouthEast:(e,i)=>({top:r(e,i),left:e.left-i.width+t,name:"arrow_se",...n&&{config:n}}),northArrowSouthWest:(e,i)=>({top:r(e,i),left:e.left+e.width/2-t,name:"arrow_sw",...n&&{config:n}}),northArrowSouthMiddleWest:(e,i)=>({top:r(e,i),left:e.left+e.width/2-.25*i.width-t,name:"arrow_smw",...n&&{config:n}}),northArrowSouth:(e,t)=>({top:r(e,t),left:e.left+e.width/2-t.width/2,name:"arrow_s",...n&&{config:n}}),northArrowSouthMiddleEast:(e,i)=>({top:r(e,i),left:e.left+e.width/2-.75*i.width+t,name:"arrow_sme",...n&&{config:n}}),northArrowSouthEast:(e,i)=>({top:r(e,i),left:e.left+e.width/2-i.width+t,name:"arrow_se",...n&&{config:n}}),northEastArrowSouthWest:(e,i)=>({top:r(e,i),left:e.right-t,name:"arrow_sw",...n&&{config:n}}),northEastArrowSouthMiddleWest:(e,i)=>({top:r(e,i),left:e.right-.25*i.width-t,name:"arrow_smw",...n&&{config:n}}),northEastArrowSouth:(e,t)=>({top:r(e,t),left:e.right-t.width/2,name:"arrow_s",...n&&{config:n}}),northEastArrowSouthMiddleEast:(e,i)=>({top:r(e,i),left:e.right-.75*i.width+t,name:"arrow_sme",...n&&{config:n}}),northEastArrowSouthEast:(e,i)=>({top:r(e,i),left:e.right-i.width+t,name:"arrow_se",...n&&{config:n}}),southWestArrowNorthWest:e=>({top:s(e),left:e.left-t,name:"arrow_nw",...n&&{config:n}}),southWestArrowNorthMiddleWest:(e,i)=>({top:s(e),left:e.left-.25*i.width-t,name:"arrow_nmw",...n&&{config:n}}),southWestArrowNorth:(e,t)=>({top:s(e),left:e.left-t.width/2,name:"arrow_n",...n&&{config:n}}),southWestArrowNorthMiddleEast:(e,i)=>({top:s(e),left:e.left-.75*i.width+t,name:"arrow_nme",...n&&{config:n}}),southWestArrowNorthEast:(e,i)=>({top:s(e),left:e.left-i.width+t,name:"arrow_ne",...n&&{config:n}}),southArrowNorthWest:e=>({top:s(e),left:e.left+e.width/2-t,name:"arrow_nw",...n&&{config:n}}),southArrowNorthMiddleWest:(e,i)=>({top:s(e),left:e.left+e.width/2-.25*i.width-t,name:"arrow_nmw",...n&&{config:n}}),southArrowNorth:(e,t)=>({top:s(e),left:e.left+e.width/2-t.width/2,name:"arrow_n",...n&&{config:n}}),southArrowNorthMiddleEast:(e,i)=>({top:s(e),left:e.left+e.width/2-.75*i.width+t,name:"arrow_nme",...n&&{config:n}}),southArrowNorthEast:(e,i)=>({top:s(e),left:e.left+e.width/2-i.width+t,name:"arrow_ne",...n&&{config:n}}),southEastArrowNorthWest:e=>({top:s(e),left:e.right-t,name:"arrow_nw",...n&&{config:n}}),southEastArrowNorthMiddleWest:(e,i)=>({top:s(e),left:e.right-.25*i.width-t,name:"arrow_nmw",...n&&{config:n}}),southEastArrowNorth:(e,t)=>({top:s(e),left:e.right-t.width/2,name:"arrow_n",...n&&{config:n}}),southEastArrowNorthMiddleEast:(e,i)=>({top:s(e),left:e.right-.75*i.width+t,name:"arrow_nme",...n&&{config:n}}),southEastArrowNorthEast:(e,i)=>({top:s(e),left:e.right-i.width+t,name:"arrow_ne",...n&&{config:n}}),westArrowEast:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.left-t.width-i,name:"arrow_e",...n&&{config:n}}),eastArrowWest:(e,t)=>({top:e.top+e.height/2-t.height/2,left:e.right+i,name:"arrow_w",...n&&{config:n}}),viewportStickyNorth:(e,t,i)=>e.getIntersection(i)?{top:i.top+o,left:e.left+e.width/2-t.width/2,name:"arrowless",config:{withArrow:!1,...n}}:null};function r(e,t){return e.top-t.height-i}function s(e){return e.bottom+i}}Xt.arrowSideOffset=25,Xt.arrowHeightOffset=10,Xt.stickyVerticalOffset=20,Xt._getOptimalPosition=l.getOptimalPosition,Xt.defaultPositions=ti();var ii=i(3888),oi={attributes:{"data-cke":!0}};oi.setAttributes=b(),oi.insert=p().bind(null,"head"),oi.domAPI=m(),oi.insertStyleElement=k(),u()(ii.Z,oi),ii.Z&&ii.Z.locals&&ii.Z.locals;const ni="ck-tooltip";class ri extends((0,l.DomEmitterMixin)()){constructor(e){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,ri._editors.add(e),ri._instance)return ri._instance;ri._instance=this,this.tooltipTextView=new y(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 Xt(e.locale),this.balloonPanelView.class=ni,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=(0,pe.Z)(this._pinTooltip,600),this.listenTo(l.global.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(l.global.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(e){const t=e.ui.view&&e.ui.view.body;ri._editors.delete(e),this.stopListening(e.ui),t&&t.has(this.balloonPanelView)&&t.remove(this.balloonPanelView),ri._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),ri._instance=null)}static getPositioningFunctions(e){const t=ri.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]}_onEnterOrFocus(e,{target:t}){const i=si(t);var o;i&&i!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(i,{text:(o=i).dataset.ckeTooltipText,position:o.dataset.ckeTooltipPosition||"s",cssClass:o.dataset.ckeTooltipClass||""}))}_onLeaveOrBlur(e,{target:t,relatedTarget:i}){if("mouseleave"===e.name){if(!(0,Kt.Z)(t))return;if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;const e=si(t),o=si(i);e&&e!==o&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(e,{target:t}){this._currentElementWithTooltip&&(t.contains(this.balloonPanelView.element)&&t.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(e,{text:t,position:i,cssClass:o}){const n=(0,l.first)(ri._editors.values()).ui.view.body;n.has(this.balloonPanelView)||n.add(this.balloonPanelView),this.tooltipTextView.text=t,this.balloonPanelView.pin({target:e,positions:ri.getPositioningFunctions(i)}),this._resizeObserver=new l.ResizeObserver(e,(()=>{(0,l.isVisible)(e)||this._unpinTooltip()})),this.balloonPanelView.class=[ni,o].filter((e=>e)).join(" ");for(const e of ri._editors)this.listenTo(e.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=e,this._currentTooltipPosition=i}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const e of ri._editors)this.stopListening(e.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){(0,l.isVisible)(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:ri.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}}function si(e){return(0,Kt.Z)(e)?e.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}ri.defaultBalloonPositions=ti({heightOffset:5,sideOffset:13}),ri._editors=new Set,ri._instance=null;var ai=i(111);const li={top:-99999,left:-99999,name:"invalid",config:{withArrow:!1}};class ci extends((0,l.DomEmitterMixin)()){constructor(e){super(),this.editor=e,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=(0,ai.Z)(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,l.verifyLicense)(e.config.get("licenseKey")))&&e.ui.view&&(e.ui.focusTracker.on("change:isFocused",((e,t,i)=>{this._updateLastFocusedEditableElement(),i?this._showBalloon():this._hideBalloon()})),e.ui.focusTracker.on("change:focusedElement",((e,t,i)=>{this._updateLastFocusedEditableElement(),i&&this._showBalloon()})),e.ui.on("update",(()=>{this._showBalloonThrottled()})))}_createBalloonView(){const e=this.editor,t=this._balloonView=new Xt,i=hi(e),o=new di(e.locale,i.label);t.content.add(o),t.set({class:"ck-powered-by-balloon"}),e.ui.view.body.add(t),e.ui.focusTracker.add(t.element),this._balloonView=t}_showBalloon(){if(!this._lastFocusedEditableElement)return;const e=function(e,t){const i=hi(e),o="right"===i.side?function(e,t){return ui(e,t,((e,i)=>e.left+e.width-i.width-t.horizontalOffset))}(t,i):function(e,t){return ui(e,t,(e=>e.left+t.horizontalOffset))}(t,i);return{target:t,positions:[o]}}(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,i=e.ui.focusTracker.focusedElement;if(!t||!i)return void(this._lastFocusedEditableElement=null);const o=Array.from(e.ui.getEditableElementsNames()).map((t=>e.ui.getEditableElement(t)));o.includes(i)?this._lastFocusedEditableElement=i:this._lastFocusedEditableElement=o[0]}}class di extends y{constructor(e,t){super(e);const i=new G,o=this.bindTemplate;i.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}),i.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]}]:[],i],on:{dragstart:o.to((e=>e.preventDefault()))}}]})}}function ui(e,t,i){return(o,n)=>{const r=o.getVisible();if(!r)return li;if(o.width<350||o.height<50)return li;let s;s="inside"===t.position?o.bottom-n.height:o.bottom-n.height/2,s-=t.verticalOffset;const a=i(o,n);if("inside"===t.position){const e=n.clone().moveTo(a,s);if(e.getIntersectionArea(r)<e.getArea())return li}else{const t=(0,l.findClosestScrollableAncestor)(e);if(t){const e=new l.Rect(t);if(r.bottom+n.height/2>e.bottom)return li}}return{top:s,left:a,name:`position_${t.position}-side_${t.side}`,config:{withArrow:!1}}}}function hi(e){const t=e.config.get("ui.poweredBy"),i=t&&t.position||"border";return{position:i,label:"Powered by",verticalOffset:"inside"===i?5:0,horizontalOffset:5,side:"ltr"===e.locale.contentLanguageDirection?"right":"left",...t}}class mi extends((0,l.ObservableMixin)()){constructor(e){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const t=e.editing.view;this.editor=e,this.componentFactory=new $t(e),this.focusTracker=new l.FocusTracker,this.tooltipManager=new ri(e),this.poweredBy=new ci(e),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{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 i=()=>{this.editor.editing.view.getDomRoot(e)||this.editor.keystrokes.listenTo(t)};this.isReady?i():this.once("ready",i)}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})}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}_readViewportOffsetFromConfig(){const e=this.editor,t=e.config.get("ui.viewportOffset");if(t)return t;const i=e.config.get("toolbar.viewportTopOffset");return i?(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:i}):{top:0}}_initFocusTracking(){const e=this.editor,t=e.editing.view;let i,o;e.keystrokes.set("Alt+F10",((e,n)=>{const r=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(r)&&!Array.from(t.domRoots.values()).includes(r)&&(i=r);const s=this._getCurrentFocusedToolbarDefinition();s&&o||(o=this._getFocusableCandidateToolbarDefinitions());for(let e=0;e<o.length;e++){const e=o.shift();if(o.push(e),e!==s&&this._focusFocusableCandidateToolbar(e)){s&&s.options.afterBlur&&s.options.afterBlur();break}}n()})),e.keystrokes.set("Esc",((t,o)=>{const n=this._getCurrentFocusedToolbarDefinition();n&&(i?(i.focus(),i=null):e.editing.view.focus(),n.options.afterBlur&&n.options.afterBlur(),o())}))}_getFocusableCandidateToolbarDefinitions(){const e=[];for(const t of this._focusableToolbarDefinitions){const{toolbarView:i,options:o}=t;((0,l.isVisible)(i.element)||o.beforeFocus)&&e.push(t)}return e.sort(((e,t)=>gi(e)-gi(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:i}}=e;return i&&i(),!!(0,l.isVisible)(t.element)&&(t.focus(),!0)}_handleScrollToTheSelection(e,t){const i={top:0,bottom:0,left:0,right:0,...this.viewportOffset};t.viewportOffset.top+=i.top,t.viewportOffset.bottom+=i.bottom,t.viewportOffset.left+=i.left,t.viewportOffset.right+=i.right}}function gi(e){const{toolbarView:t,options:i}=e;let o=10;return(0,l.isVisible)(t.element)&&o--,i.isContextual&&o--,o}var pi=i(9847),fi={attributes:{"data-cke":!0}};fi.setAttributes=b(),fi.insert=p().bind(null,"head"),fi.domAPI=m(),fi.insertStyleElement=k(),u()(pi.Z,fi),pi.Z&&pi.Z.locals&&pi.Z.locals;class bi extends y{constructor(e){super(e),this.body=new $(e)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class wi extends bi{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 ki extends y{constructor(e,t,i){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=i,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((i=>{const o=e.document.getRoot(t.name);i.addClass(t.isFocused?"ck-focused":"ck-blurred",o),i.removeClass(t.isFocused?"ck-blurred":"ck-focused",o)}))}e.isRenderingInProgress?function i(o){e.once("change:isRenderingInProgress",((e,n,r)=>{r?i(o):t(o)}))}(this):t(this)}}class _i extends ki{constructor(e,t,i,o={}){super(e,t,i);const n=e.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=o.label||(()=>n("Editor editing area: %0",this.name))}render(){super.render();const e=this._editingView;e.change((t=>{const i=e.document.getRoot(this.name);t.setAttribute("aria-label",this._generateLabel(this),i)}))}}var vi=i(1874),yi={attributes:{"data-cke":!0}};yi.setAttributes=b(),yi.insert=p().bind(null,"head"),yi.domAPI=m(),yi.insertStyleElement=k(),u()(vi.Z,yi),vi.Z&&vi.Z.locals&&vi.Z.locals;class Ci extends y{constructor(e,t={}){super(e);const i=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",i.to("class")]},children:this.children});const o=new y(e);o.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"]},children:[{text:i.to("label")}]}),this.children.add(o)}}class xi extends y{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())))}}class Ai extends De.ContextPlugin{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 Ei=i(207);class Ti extends((0,l.ObservableMixin)()){constructor(e,t){super(),t&&(0,Ei.Z)(this,t),e&&this.set(e)}}var Si=i(7592),Pi={attributes:{"data-cke":!0}};Pi.setAttributes=b(),Pi.insert=p().bind(null,"head"),Pi.domAPI=m(),Pi.insertStyleElement=k(),u()(Si.Z,Pi),Si.Z&&Si.Z.locals&&Si.Z.locals;var Ii=i(6356),Vi={attributes:{"data-cke":!0}};Vi.setAttributes=b(),Vi.insert=p().bind(null,"head"),Vi.domAPI=m(),Vi.insertStyleElement=k(),u()(Ii.Z,Vi),Ii.Z&&Ii.Z.locals&&Ii.Z.locals;const Ri=(0,l.toUnit)("px");class Oi extends De.Plugin{static get pluginName(){return"ContextualBalloon"}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.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 l.CKEditorError("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 i=this._idToStack.get(t);e.singleViewMode&&this.showStack(t),i.set(e.view,e),this._viewToStack.set(e.view,i),i===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new l.CKEditorError("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._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(e){this.visibleStack=e;const t=this._idToStack.get(e);if(!t)throw new l.CKEditorError("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==t&&this._showView(Array.from(t.values()).pop())}_createPanelView(){this._view=new Xt(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),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 Bi(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,i)=>{if(i<2)return"";const o=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return t("%0 of %1",[o,i])})),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:i=!0,singleViewMode:o=!1}){this.view.class=t,this.view.withArrow=i,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),o&&(this._singleViewMode=!0)}_getBalloonPosition(){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}}class Bi extends y{constructor(e){super(e);const t=e.t,i=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new l.FocusTracker,this.buttonPrevView=this._createButtonView(t("Previous"),'<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>'),this.buttonNextView=this._createButtonView(t("Next"),'<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>'),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",i.to("isNavigationVisible",(e=>e?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:i.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 i=new Q(this.locale);return i.set({label:e,icon:t,tooltip:!0}),i}}class Mi extends y{constructor(e,t){super(e);const i=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",i.to("numberOfPanels",(e=>e?"":"ck-hidden"))],style:{top:i.to("top",Ri),left:i.to("left",Ri),width:i.to("width",Ri),height:i.to("height",Ri)}},children:this.content}),this.on("change:numberOfPanels",((e,t,i,o)=>{i>o?this._addPanels(i-o):this._removePanels(o-i),this.updatePosition()}))}_addPanels(e){for(;e--;){const e=new y;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:i,height:o}=new l.Rect(this._balloonPanelView.element);Object.assign(this,{top:e,left:t,width:i,height:o})}}}var zi=i(3707),Ni={attributes:{"data-cke":!0}};Ni.setAttributes=b(),Ni.insert=p().bind(null,"head"),Ni.domAPI=m(),Ni.insertStyleElement=k(),u()(zi.Z,Ni),zi.Z&&zi.Z.locals&&zi.Z.locals;const Di=(0,l.toUnit)("px");class Li extends y{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("_isStickyToTheLimiter",!1),this.set("_hasViewportTopOffset",!1),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?Di(this._panelRect.height):null))}}}).render(),this._contentPanel=new A({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",t.if("isSticky","ck-sticky-panel__content_sticky"),t.if("_isStickyToTheLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:t.to("isSticky",(e=>e?Di(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:t.to("_hasViewportTopOffset",(e=>e?Di(this.viewportTopOffset):null)),bottom:t.to("_isStickyToTheLimiter",(e=>e?Di(this.limiterBottomOffset):null)),marginLeft:t.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this._checkIfShouldBeSticky(),this.listenTo(l.global.window,"scroll",(()=>{this._checkIfShouldBeSticky()})),this.listenTo(this,"change:isActive",(()=>{this._checkIfShouldBeSticky()}))}_checkIfShouldBeSticky(){const e=this._panelRect=this._contentPanel.getBoundingClientRect();let t;this.limiterElement?(t=this._limiterRect=this.limiterElement.getBoundingClientRect(),this.isSticky=this.isActive&&t.top<this.viewportTopOffset&&this._panelRect.height+this.limiterBottomOffset<t.height):this.isSticky=!1,this.isSticky?(this._isStickyToTheLimiter=t.bottom<e.height+this.limiterBottomOffset+this.viewportTopOffset,this._hasViewportTopOffset=!this._isStickyToTheLimiter&&!!this.viewportTopOffset,this._marginLeft=this._isStickyToTheLimiter?null:Di(-l.global.window.scrollX)):(this._isStickyToTheLimiter=!1,this._hasViewportTopOffset=!1,this._marginLeft=null)}}const Fi=(0,l.toUnit)("px");class Zi extends De.Plugin{static get pluginName(){return"BalloonToolbar"}static get requires(){return[Oi]}constructor(e){super(e),this._resizeObserver=null,this._balloonConfig=Ne(e.config.get("balloonToolbar")),this.toolbarView=this._createToolbarView(),this.focusTracker=new l.FocusTracker,e.ui.once("ready",(()=>{this.focusTracker.add(e.ui.getEditableElement()),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(Oi),this._fireSelectionChangeDebounced=(0,pe.Z)((()=>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,i)=>{const o=this._balloon.visibleView===this.toolbarView;!i&&o?this.hide():i&&this.show()})),this.listenTo(t,"change:range",((e,i)=>{(i.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 l.ResizeObserver(t,(e=>{this.toolbarView.maxWidth=Fi(.9*e.contentRect.width)}))})),this.listenTo(this.toolbarView,"groupedItemsUpdate",(()=>{this._updatePosition()}))}afterInit(){const e=this.editor.ui.componentFactory;this.toolbarView.fillFromConfig(this._balloonConfig,e)}_createToolbarView(){const e=this.editor.locale.t,t=!this._balloonConfig.shouldNotGroupWhenFull,i=new We(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return i.ariaLabel=e("Editor contextual toolbar"),i.render(),i}show(e=!1){const t=this.editor,i=t.model.document.selection,o=t.model.schema;this._balloon.hasView(this.toolbarView)||i.isCollapsed&&!e||function(e,t){return 1!==e.rangeCount&&[...e.getRanges()].every((e=>{const i=e.getContainedElement();return i&&t.isSelectable(i)}))}(i,o)||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))}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document,i=t.selection,o=t.selection.isBackward;return{target:()=>{const t=o?i.getFirstRange():i.getLastRange(),n=l.Rect.getDomRangeRects(e.domConverter.viewRangeToDom(t));return o?n[0]:(n.length>1&&0===n[n.length-1].width&&n.pop(),n[n.length-1])},positions:this._getBalloonPositions(o)}}_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=l.env.isSafari&&l.env.isiOS?ti({heightOffset:Math.max(Xt.arrowHeightOffset,Math.round(20/l.global.window.visualViewport.scale))}):Xt.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 Hi=i(4176),Wi={attributes:{"data-cke":!0}};Wi.setAttributes=b(),Wi.insert=p().bind(null,"head"),Wi.domAPI=m(),Wi.insertStyleElement=k(),u()(Hi.Z,Wi),Hi.Z&&Hi.Z.locals&&Hi.Z.locals;const ji=(0,l.toUnit)("px");class Ui 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=>ji(e))),left:t.to("left",(e=>ji(e)))}}})}}const $i=(0,l.toUnit)("px"),{pilcrow:qi}=De.icons;class Ki extends De.Plugin{static get pluginName(){return"BlockToolbar"}constructor(e){super(e),this._resizeObserver=null,this._blockToolbarConfig=Ne(this.editor.config.get("blockToolbar")),this.toolbarView=this._createToolbarView(),this.panelView=this._createPanelView(),this.buttonView=this._createButtonView(),o({emitter:this.panelView,contextElements:[this.panelView.element,this.buttonView.element],activator:()=>this.panelView.isVisible,callback:()=>this._hidePanel()})}init(){const e=this.editor;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,i)=>{i?this.buttonView.listenTo(window,"resize",(()=>this._updateButton())):(this.buttonView.stopListening(window,"resize"),this._hidePanel())})),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this._showPanel(),afterBlur:()=>this._hidePanel()})}afterInit(){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,i=new We(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return i.ariaLabel=e("Editor block content toolbar"),i}_createPanelView(){const e=this.editor,t=new Xt(e.locale);return t.content.add(this.toolbarView),t.class="ck-toolbar-container",e.ui.view.body.add(t),e.ui.focusTracker.add(t.element),this.toolbarView.keystrokes.set("Esc",((e,t)=>{this._hidePanel(!0),t()})),t}_createButtonView(){const e=this.editor,t=e.t,i=new Ui(e.locale);return i.set({label:t("Edit block"),icon:qi,withText:!1}),i.bind("isOn").to(this.panelView,"isVisible"),i.bind("tooltip").to(this.panelView,"isVisible",(e=>!e)),this.listenTo(i,"execute",(()=>{this.panelView.isVisible?this._hidePanel(!0):this._showPanel()})),e.ui.view.body.add(i),e.ui.focusTracker.add(i.element),i}_updateButton(){const e=this.editor,t=e.model,i=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 o=Array.from(t.document.selection.getSelectedBlocks())[0];if(!o||Array.from(this.toolbarView.items).every((e=>!e.isEnabled)))return void this._hideButton();const n=i.domConverter.mapViewToDom(e.editing.mapper.toViewElement(o));this.buttonView.isVisible=!0,this._setupToolbarResize(),this._attachButtonToElement(n),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()}_attachButtonToElement(e){const t=window.getComputedStyle(e),i=new l.Rect(this._getSelectedEditableElement()),o=parseInt(t.paddingTop,10),n=parseInt(t.lineHeight,10)||1.2*parseInt(t.fontSize,10),r=(0,l.getOptimalPosition)({element:this.buttonView.element,target:e,positions:[(e,t)=>{let r;return r="ltr"===this.editor.locale.uiLanguageDirection?i.left-t.width:i.right,{top:e.top+o+(n-t.height)/2,left:r}}]});this.buttonView.top=r.top,this.buttonView.left=r.left}_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 l.ResizeObserver(e,(()=>{this.toolbarView.maxWidth=this._getToolbarMaxWidth(e)}))))}_getToolbarMaxWidth(e){const t=new l.Rect(e),i=new l.Rect(this.buttonView.element),o="rtl"===this.editor.locale.uiLanguageDirection?i.left-t.right+i.width:t.left-i.left;return $i(t.width+o)}}const Gi={colorPaletteIcon:'<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>'}},8779:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Undo:()=>p,UndoEditing:()=>d,UndoUI:()=>g});var o=i(7578),n=i(600);class r extends o.Command{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 i=t[1];i.batchType||(i.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,i={ranges:t.hasOwnRange?Array.from(t.getRanges()):[],isBackward:t.isBackward};this._stack.push({batch:e,selection:i}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,t,i){const o=this.editor.model,n=o.document,r=[],l=e.map((e=>e.getTransformedByOperations(i))),c=l.flat();for(const e of l){const t=e.filter((e=>e.root!=n.graveyard)).filter((e=>!a(e,c)));t.length&&(s(t),r.push(t[0]))}r.length&&o.change((e=>{e.setSelection(r,{backward:t})}))}_undo(e,t){const i=this.editor.model,o=i.document;this._createdBatches.add(t);const r=e.operations.slice().filter((e=>e.isDocumentOperation));r.reverse();for(const e of r){const r=e.baseVersion+1,s=Array.from(o.history.getOperations(r)),a=(0,n.transformSets)([e.getReversed()],s,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let r of a){const s=r.affectedSelectable;s&&!i.canEditAt(s)&&(r=new n.NoOperation(r.baseVersion)),t.addOperation(r),i.applyOperation(r),o.history.setOperationAsUndone(e,r)}}}}function s(e){e.sort(((e,t)=>e.start.isBefore(t.start)?-1:1));for(let t=1;t<e.length;t++){const i=e[t-1].getJoined(e[t],!0);i&&(t--,e.splice(t,2,i))}}function a(e,t){return t.some((t=>t!==e&&t.containsRange(e,!0)))}class l extends r{execute(e=null){const t=e?this._stack.findIndex((t=>t.batch==e)):this._stack.length-1,i=this._stack.splice(t,1)[0],o=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(o,(()=>{this._undo(i.batch,o);const e=this.editor.model.document.history.getOperations(i.batch.baseVersion);this._restoreSelection(i.selection.ranges,i.selection.isBackward,e),this.fire("revert",i.batch,o)})),this.refresh()}}class c extends r{execute(){const e=this._stack.pop(),t=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(t,(()=>{const i=e.batch.operations[e.batch.operations.length-1].baseVersion+1,o=this.editor.model.document.history.getOperations(i);this._restoreSelection(e.selection.ranges,e.selection.isBackward,o),this._undo(e.batch,t)})),this.refresh()}}class d extends o.Plugin{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const e=this.editor;this._undoCommand=new l(e),this._redoCommand=new c(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",((e,t)=>{const i=t[0];if(!i.isDocumentOperation)return;const o=i.batch,n=this._redoCommand.createdBatches.has(o),r=this._undoCommand.createdBatches.has(o);this._batchRegistry.has(o)||(this._batchRegistry.add(o),o.isUndoable&&(n?this._undoCommand.addBatch(o):r||(this._undoCommand.addBatch(o),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((e,t,i)=>{this._redoCommand.addBatch(i)})),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo")}}var u=i(7230);const h='<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>',m='<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>';class g extends o.Plugin{static get pluginName(){return"UndoUI"}init(){const e=this.editor,t=e.locale,i=e.t,o="ltr"==t.uiLanguageDirection?h:m,n="ltr"==t.uiLanguageDirection?m:h;this._addButton("undo",i("Undo"),"CTRL+Z",o),this._addButton("redo",i("Redo"),"CTRL+Y",n)}_addButton(e,t,i,o){const n=this.editor;n.ui.componentFactory.add(e,(r=>{const s=n.commands.get(e),a=new u.ButtonView(r);return a.set({label:t,icon:o,keystroke:i,tooltip:!0}),a.bind("isEnabled").to(s,"isEnabled"),this.listenTo(a,"execute",(()=>{n.execute(e),n.editing.view.focus()})),a}))}}class p extends o.Plugin{static get requires(){return[d,g]}static get pluginName(){return"Undo"}}},1070:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Base64UploadAdapter:()=>u,FileDialogButtonView:()=>c,FileRepository:()=>s,SimpleUploadAdapter:()=>m});var o=i(7578),n=i(1833);class r extends((0,n.ObservableMixin)()){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(((i,o)=>{t.onload=()=>{const e=t.result;this._data=e,i(e)},t.onerror=()=>{o("error")},t.onabort=()=>{o("aborted")},this._reader.readAsDataURL(e)}))}abort(){this._reader.abort()}}class s extends o.Plugin{constructor(){super(...arguments),this.loaders=new n.Collection,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[o.PendingActions]}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,n.logWarning)("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,i)=>{e===t&&this._loadersMap.delete(i)}))}_updatePendingAction(){const e=this.editor.plugins.get(o.PendingActions);if(this.loaders.length){if(!this._pendingAction){const t=this.editor.t,i=e=>`${t("Upload in progress")} ${parseInt(e)}%.`;this._pendingAction=e.add(i(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",i)}}else e.remove(this._pendingAction),this._pendingAction=null}}class a extends((0,n.ObservableMixin)()){constructor(e,t){super(),this.id=(0,n.uid)(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=t(this),this._reader=new r,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 n.CKEditorError("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 n.CKEditorError("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(((i,o)=>{t.rejecter=o,t.isFulfilled=!1,e.then((e=>{t.isFulfilled=!0,i(e)})).catch((e=>{t.isFulfilled=!0,o(e)}))})),t}}var l=i(7230);class c extends l.View{constructor(e){super(e),this.buttonView=new l.ButtonView(e),this._fileInputView=new d(e),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.setTemplate({tag:"span",attributes:{class:"ck-file-dialog-button"},children:[this.buttonView,this._fileInputView]}),this.buttonView.on("execute",(()=>{this._fileInputView.open()}))}focus(){this.buttonView.focus()}}class d extends l.View{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()}}class u extends o.Plugin{static get requires(){return[s]}static get pluginName(){return"Base64UploadAdapter"}init(){this.editor.plugins.get(s).createUploadAdapter=e=>new h(e)}}class h{constructor(e){this.loader=e}upload(){return new Promise(((e,t)=>{const i=this.reader=new window.FileReader;i.addEventListener("load",(()=>{e({default:i.result})})),i.addEventListener("error",(e=>{t(e)})),i.addEventListener("abort",(()=>{t()})),this.loader.file.then((e=>{i.readAsDataURL(e)}))}))}abort(){this.reader.abort()}}class m extends o.Plugin{static get requires(){return[s]}static get pluginName(){return"SimpleUploadAdapter"}init(){const e=this.editor.config.get("simpleUpload");e&&(e.uploadUrl?this.editor.plugins.get(s).createUploadAdapter=t=>new g(t,e):(0,n.logWarning)("simple-upload-adapter-missing-uploadurl"))}}class g{constructor(e,t){this.loader=e,this.options=t}upload(){return this.loader.file.then((e=>new Promise(((t,i)=>{this._initRequest(),this._initListeners(t,i,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,i){const o=this.xhr,n=this.loader,r=`Couldn't upload file: ${i.name}.`;o.addEventListener("error",(()=>t(r))),o.addEventListener("abort",(()=>t())),o.addEventListener("load",(()=>{const i=o.response;if(!i||i.error)return t(i&&i.error&&i.error.message?i.error.message:r);const n=i.url?{default:i.url}:i.urls;e({...i,urls:n})})),o.upload&&o.upload.addEventListener("progress",(e=>{e.lengthComputable&&(n.uploadTotal=e.total,n.uploaded=e.loaded)}))}_sendRequest(e){const t=this.options.headers||{},i=this.options.withCredentials||!1;for(const e of Object.keys(t))this.xhr.setRequestHeader(e,t[e]);this.xhr.withCredentials=i;const o=new FormData;o.append("upload",e),this.xhr.send(o)}}},8378:(e,t,i)=>{"use strict";i.d(t,{H:()=>s,KE:()=>r,ZP:()=>n});const o="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class n extends Error{constructor(e,t,i){super(function(e,t){const i=new WeakSet;return e+(t?` ${JSON.stringify(t,((e,t)=>{if("object"==typeof t&&null!==t){if(i.has(t))return`[object ${t.constructor.name}]`;i.add(t)}return t}))}`:"")+a(e)}(e,i)),this.name="CKEditorError",this.context=t,this.data=i}is(e){return"CKEditorError"===e}static rethrowUnexpectedError(e,t){if(e.is&&e.is("CKEditorError"))throw e;const i=new n(e.message,t);throw i.stack=e.stack,i}}function r(e,t){console.warn(...l(e,t))}function s(e,t){console.error(...l(e,t))}function a(e){return`\nRead more: ${o}#error-${e}`}function l(e,t){const i=a(e);return t?[e,t,i]:[e,i]}},1833:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CKEditorError:()=>k.ZP,Collection:()=>dt,Config:()=>oe,DomEmitterMixin:()=>ce,ElementReplacer:()=>U,EmitterMixin:()=>x,EventInfo:()=>m,FocusTracker:()=>ht,KeystrokeHandler:()=>mt,Locale:()=>ct,ObservableMixin:()=>L,Rect:()=>ve,ResizeObserver:()=>Ee,compareArrays:()=>q,count:()=>$,createElement:()=>X,delay:()=>bt,diff:()=>d,diffToChanges:()=>u,env:()=>r,fastDiff:()=>a,findClosestScrollableAncestor:()=>ge,first:()=>ut,getAncestors:()=>pe,getCode:()=>et,getDataFromElement:()=>fe,getEnvKeystrokeText:()=>it,getLanguageDirection:()=>at,getLocalizedArrowKeyCodeDirection:()=>nt,getOptimalPosition:()=>Me,global:()=>me,indexOf:()=>Pe,insertAt:()=>Ie,insertToPriorityArray:()=>b,isArrowKeyCode:()=>ot,isCombiningMark:()=>kt,isComment:()=>Ve,isForwardArrowKeyCode:()=>rt,isHighSurrogateHalf:()=>_t,isInsideCombinedSymbol:()=>Ct,isInsideEmojiSequence:()=>At,isInsideSurrogatePair:()=>yt,isIterable:()=>K,isLowSurrogateHalf:()=>vt,isNode:()=>se,isRange:()=>we,isText:()=>be,isValidAttributeName:()=>Re,isVisible:()=>Oe,keyCodes:()=>Qe,logError:()=>k.H,logWarning:()=>k.KE,mix:()=>h,parseKeystroke:()=>tt,priorities:()=>f,releaseDate:()=>w.D,remove:()=>De,scrollAncestorsToShowTarget:()=>Fe,scrollViewportToShowTarget:()=>Le,setDataInElement:()=>Te,spliceArray:()=>ft,toArray:()=>lt,toMap:()=>gt,toUnit:()=>Se,uid:()=>p,verifyLicense:()=>wt,version:()=>w.Z});const o=function(){try{return navigator.userAgent.toLowerCase()}catch(e){return""}}(),n={isMac:s(o),isWindows:function(e){return e.indexOf("windows")>-1}(o),isGecko:function(e){return!!e.match(/gecko\/\d+/)}(o),isSafari:function(e){return e.indexOf(" applewebkit/")>-1&&-1===e.indexOf("chrome")}(o),isiOS:function(e){return!!e.match(/iphone|ipad/i)||s(e)&&navigator.maxTouchPoints>0}(o),isAndroid:function(e){return e.indexOf("android")>-1}(o),isBlink:function(e){return e.indexOf("chrome/")>-1&&e.indexOf("edge/")<0}(o),features:{isRegExpUnicodePropertySupported:function(){let e=!1;try{e=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(e){}return e}()}},r=n;function s(e){return e.indexOf("macintosh")>-1}function a(e,t,i,o){i=i||function(e,t){return e===t};const n=Array.isArray(e)?e:Array.prototype.slice.call(e),r=Array.isArray(t)?t:Array.prototype.slice.call(t),s=function(e,t,i){const o=l(e,t,i);if(-1===o)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const n=l(c(e,o),c(t,o),i);return{firstIndex:o,lastIndexOld:e.length-n,lastIndexNew:t.length-n}}(n,r,i),a=o?function(e,t){const{firstIndex:i,lastIndexOld:o,lastIndexNew:n}=e;if(-1===i)return Array(t).fill("equal");let r=[];return i>0&&(r=r.concat(Array(i).fill("equal"))),n-i>0&&(r=r.concat(Array(n-i).fill("insert"))),o-i>0&&(r=r.concat(Array(o-i).fill("delete"))),n<t&&(r=r.concat(Array(t-n).fill("equal"))),r}(s,r.length):function(e,t){const i=[],{firstIndex:o,lastIndexOld:n,lastIndexNew:r}=t;return r-o>0&&i.push({index:o,type:"insert",values:e.slice(o,r)}),n-o>0&&i.push({index:o+(r-o),type:"delete",howMany:n-o}),i}(r,s);return a}function l(e,t,i){for(let o=0;o<Math.max(e.length,t.length);o++)if(void 0===e[o]||void 0===t[o]||!i(e[o],t[o]))return o;return-1}function c(e,t){return e.slice(t).reverse()}function d(e,t,i){i=i||function(e,t){return e===t};const o=e.length,n=t.length;if(o>200||n>200||o+n>300)return d.fastDiff(e,t,i,!0);let r,s;if(n<o){const i=e;e=t,t=i,r="delete",s="insert"}else r="insert",s="delete";const a=e.length,l=t.length,c=l-a,u={},h={};function m(o){const n=(void 0!==h[o-1]?h[o-1]:-1)+1,c=void 0!==h[o+1]?h[o+1]:-1,d=n>c?-1:1;u[o+d]&&(u[o]=u[o+d].slice(0)),u[o]||(u[o]=[]),u[o].push(n>c?r:s);let m=Math.max(n,c),g=m-o;for(;g<a&&m<l&&i(e[g],t[m]);)g++,m++,u[o].push("equal");return m}let g,p=0;do{for(g=-p;g<c;g++)h[g]=m(g);for(g=c+p;g>c;g--)h[g]=m(g);h[c]=m(c),p++}while(h[c]!==l);return u[c].slice(1)}function u(e,t){const i=[];let o=0,n=null;return e.forEach((e=>{"equal"==e?(r(),o++):"insert"==e?(n&&"insert"==n.type?n.values.push(t[o]):(r(),n={type:"insert",index:o,values:[t[o]]}),o++):n&&"delete"==n.type?n.howMany++:(r(),n={type:"delete",index:o,howMany:1})})),r(),i;function r(){n&&(i.push(n),n=null)}}function h(e,...t){t.forEach((t=>{const i=Object.getOwnPropertyNames(t),o=Object.getOwnPropertySymbols(t);i.concat(o).forEach((i=>{if(i in e.prototype)return;if("function"==typeof t&&("length"==i||"name"==i||"prototype"==i))return;const o=Object.getOwnPropertyDescriptor(t,i);o.enumerable=!1,Object.defineProperty(e.prototype,i,o)}))}))}d.fastDiff=a;class m{constructor(e,t){this.source=e,this.name=t,this.path=[],this.stop=function e(){e.called=!0},this.off=function e(){e.called=!0}}}const g=new Array(256).fill("").map(((e,t)=>("0"+t.toString(16)).slice(-2)));function p(){const e=4294967296*Math.random()>>>0,t=4294967296*Math.random()>>>0,i=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0;return"e"+g[e>>0&255]+g[e>>8&255]+g[e>>16&255]+g[e>>24&255]+g[t>>0&255]+g[t>>8&255]+g[t>>16&255]+g[t>>24&255]+g[i>>0&255]+g[i>>8&255]+g[i>>16&255]+g[i>>24&255]+g[o>>0&255]+g[o>>8&255]+g[o>>16&255]+g[o>>24&255]}const f={get(e="normal"){return"number"!=typeof e?this[e]||this.normal:e},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function b(e,t){const i=f.get(t.priority);for(let o=0;o<e.length;o++)if(f.get(e[o].priority)<i)return void e.splice(o,0,t);e.push(t)}var w=i(9807),k=i(8378);const _=Symbol("listeningTo"),v=Symbol("emitterId"),y=Symbol("delegations"),C=x(Object);function x(e){return e?class extends e{on(e,t,i){this.listenTo(this,e,t,i)}once(e,t,i){let o=!1;this.listenTo(this,e,((e,...i)=>{o||(o=!0,e.off(),t.call(this,e,...i))}),i)}off(e,t){this.stopListening(this,e,t)}listenTo(e,t,i,o={}){let n,r;this[_]||(this[_]={});const s=this[_];E(e)||A(e);const a=E(e);(n=s[a])||(n=s[a]={emitter:e,callbacks:{}}),(r=n.callbacks[t])||(r=n.callbacks[t]=[]),r.push(i),function(e,t,i,o,n){t._addEventListener?t._addEventListener(i,o,n):e._addEventListener.call(t,i,o,n)}(this,e,t,i,o)}stopListening(e,t,i){const o=this[_];let n=e&&E(e);const r=o&&n?o[n]:void 0,s=r&&t?r.callbacks[t]:void 0;if(!(!o||e&&!r||t&&!s))if(i)V(this,e,t,i),-1!==s.indexOf(i)&&(1===s.length?delete r.callbacks[t]:V(this,e,t,i));else if(s){for(;i=s.pop();)V(this,e,t,i);delete r.callbacks[t]}else if(r){for(t in r.callbacks)this.stopListening(e,t);delete o[n]}else{for(n in o)this.stopListening(o[n].emitter);delete this[_]}}fire(e,...t){try{const i=e instanceof m?e:new m(this,e),o=i.name;let n=P(this,o);if(i.path.push(this),n){const e=[i,...t];n=Array.from(n);for(let t=0;t<n.length&&(n[t].callback.apply(this,e),i.off.called&&(delete i.off.called,this._removeEventListener(o,n[t].callback)),!i.stop.called);t++);}const r=this[y];if(r){const e=r.get(o),n=r.get("*");e&&I(e,i,t),n&&I(n,i,t)}return i.return}catch(e){k.ZP.rethrowUnexpectedError(e,this)}}delegate(...e){return{to:(t,i)=>{this[y]||(this[y]=new Map),e.forEach((e=>{const o=this[y].get(e);o?o.set(t,i):this[y].set(e,new Map([[t,i]]))}))}}}stopDelegating(e,t){if(this[y])if(e)if(t){const i=this[y].get(e);i&&i.delete(t)}else this[y].delete(e);else this[y].clear()}_addEventListener(e,t,i){!function(e,t){const i=T(e);if(i[t])return;let o=t,n=null;const r=[];for(;""!==o&&!i[o];)i[o]={callbacks:[],childEvents:[]},r.push(i[o]),n&&i[o].childEvents.push(n),n=o,o=o.substr(0,o.lastIndexOf(":"));if(""!==o){for(const e of r)e.callbacks=i[o].callbacks.slice();i[o].childEvents.push(n)}}(this,e);const o=S(this,e),n={callback:t,priority:f.get(i.priority)};for(const e of o)b(e,n)}_removeEventListener(e,t){const i=S(this,e);for(const e of i)for(let i=0;i<e.length;i++)e[i].callback==t&&(e.splice(i,1),i--)}}:C}function A(e,t){e[v]||(e[v]=t||p())}function E(e){return e[v]}function T(e){return e._events||Object.defineProperty(e,"_events",{value:{}}),e._events}function S(e,t){const i=T(e)[t];if(!i)return[];let o=[i.callbacks];for(let t=0;t<i.childEvents.length;t++){const n=S(e,i.childEvents[t]);o=o.concat(n)}return o}function P(e,t){let i;return e._events&&(i=e._events[t])&&i.callbacks.length?i.callbacks:t.indexOf(":")>-1?P(e,t.substr(0,t.lastIndexOf(":"))):null}function I(e,t,i){for(let[o,n]of e){n?"function"==typeof n&&(n=n(t.name)):n=t.name;const e=new m(t.source,n);e.path=[...t.path],o.fire(e,...i)}}function V(e,t,i,o){t._removeEventListener?t._removeEventListener(i,o):e._removeEventListener.call(t,i,o)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{x[e]=C.prototype[e]}));var R=i(7226);const O=Symbol("observableProperties"),B=Symbol("boundObservables"),M=Symbol("boundProperties"),z=Symbol("decoratedMethods"),N=Symbol("decoratedOriginal"),D=L(x());function L(e){return e?class extends e{set(e,t){if((0,R.Z)(e))return void Object.keys(e).forEach((t=>{this.set(t,e[t])}),this);F(this);const i=this[O];if(e in this&&!i.has(e))throw new k.ZP("observable-set-cannot-override",this);Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>i.get(e),set(t){const o=i.get(e);let n=this.fire(`set:${e}`,e,t,o);void 0===n&&(n=t),o===n&&i.has(e)||(i.set(e,n),this.fire(`change:${e}`,e,n,o))}}),this[e]=t}bind(...e){if(!e.length||!W(e))throw new k.ZP("observable-bind-wrong-properties",this);if(new Set(e).size!==e.length)throw new k.ZP("observable-bind-duplicate-properties",this);F(this);const t=this[M];e.forEach((e=>{if(t.has(e))throw new k.ZP("observable-bind-rebind",this)}));const i=new Map;return e.forEach((e=>{const o={property:e,to:[]};t.set(e,o),i.set(e,o)})),{to:Z,toMany:H,_observable:this,_bindProperties:e,_to:[],_bindings:i}}unbind(...e){if(!this[O])return;const t=this[M],i=this[B];if(e.length){if(!W(e))throw new k.ZP("observable-unbind-wrong-properties",this);e.forEach((e=>{const o=t.get(e);o&&(o.to.forEach((([e,t])=>{const n=i.get(e),r=n[t];r.delete(o),r.size||delete n[t],Object.keys(n).length||(i.delete(e),this.stopListening(e,"change"))})),t.delete(e))}))}else i.forEach(((e,t)=>{this.stopListening(t,"change")})),i.clear(),t.clear()}decorate(e){F(this);const t=this[e];if(!t)throw new k.ZP("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:e});this.on(e,((e,i)=>{e.return=t.apply(this,i)})),this[e]=function(...t){return this.fire(e,t)},this[e][N]=t,this[z]||(this[z]=[]),this[z].push(e)}stopListening(e,t,i){if(!e&&this[z]){for(const e of this[z])this[e]=this[e][N];delete this[z]}super.stopListening(e,t,i)}}:D}function F(e){e[O]||(Object.defineProperty(e,O,{value:new Map}),Object.defineProperty(e,B,{value:new Map}),Object.defineProperty(e,M,{value:new Map}))}function Z(...e){const t=function(...e){if(!e.length)throw new k.ZP("observable-bind-to-parse-error",null);const t={to:[]};let i;return"function"==typeof e[e.length-1]&&(t.callback=e.pop()),e.forEach((e=>{if("string"==typeof e)i.properties.push(e);else{if("object"!=typeof e)throw new k.ZP("observable-bind-to-parse-error",null);i={observable:e,properties:[]},t.to.push(i)}})),t}(...e),i=Array.from(this._bindings.keys()),o=i.length;if(!t.callback&&t.to.length>1)throw new k.ZP("observable-bind-to-no-callback",this);if(o>1&&t.callback)throw new k.ZP("observable-bind-to-extra-callback",this);var n;t.to.forEach((e=>{if(e.properties.length&&e.properties.length!==o)throw new k.ZP("observable-bind-to-properties-length",this);e.properties.length||(e.properties=this._bindProperties)})),this._to=t.to,t.callback&&(this._bindings.get(i[0]).callback=t.callback),n=this._observable,this._to.forEach((e=>{const t=n[B];let i;t.get(e.observable)||n.listenTo(e.observable,"change",((o,r)=>{i=t.get(e.observable)[r],i&&i.forEach((e=>{j(n,e.property)}))}))})),function(e){let t;e._bindings.forEach(((i,o)=>{e._to.forEach((n=>{t=n.properties[i.callback?0:e._bindProperties.indexOf(o)],i.to.push([n.observable,t]),function(e,t,i,o){const n=e[B],r=n.get(i),s=r||{};s[o]||(s[o]=new Set),s[o].add(t),r||n.set(i,s)}(e._observable,i,n.observable,t)}))}))}(this),this._bindProperties.forEach((e=>{j(this._observable,e)}))}function H(e,t,i){if(this._bindings.size>1)throw new k.ZP("observable-bind-to-many-not-one-binding",this);this.to(...function(e,t){const i=e.map((e=>[e,t]));return Array.prototype.concat.apply([],i)}(e,t),i)}function W(e){return e.every((e=>"string"==typeof e))}function j(e,t){const i=e[M].get(t);let o;i.callback?o=i.callback.apply(e,i.to.map((e=>e[0][e[1]]))):(o=i.to[0],o=o[0][o[1]]),Object.prototype.hasOwnProperty.call(e,t)?e[t]=o:e.set(t,o)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{L[e]=D.prototype[e]}));class U{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 $(e){let t=0;for(const i of e)t++;return t}function q(e,t){const i=Math.min(e.length,t.length);for(let o=0;o<i;o++)if(e[o]!=t[o])return o;return e.length==t.length?"same":e.length<t.length?"prefix":"extension"}function K(e){return!(!e||!e[Symbol.iterator])}var G=i(3243),J=i(7771),Y=i(8533);const Q=function(e){return"string"==typeof e||!(0,J.Z)(e)&&(0,Y.Z)(e)&&"[object String]"==(0,G.Z)(e)};function X(e,t,i={},o=[]){const n=i&&i.xmlns,r=n?e.createElementNS(n,t):e.createElement(t);for(const e in i)r.setAttribute(e,i[e]);!Q(o)&&K(o)||(o=[o]);for(let t of o)Q(t)&&(t=e.createTextNode(t)),r.appendChild(t);return r}var ee=i(7514),te=i(4612),ie=i(3251);class oe{constructor(e,t){this._config={},t&&this.define(ne(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,i,o=!1){if((0,ee.Z)(t))return void this._setObjectToTarget(e,t,o);const n=t.split(".");t=n.pop();for(const t of n)(0,ee.Z)(e[t])||(e[t]={}),e=e[t];if((0,ee.Z)(i))return(0,ee.Z)(e[t])||(e[t]={}),e=e[t],void this._setObjectToTarget(e,i,o);o&&void 0!==e[t]||(e[t]=i)}_getFromSource(e,t){const i=t.split(".");t=i.pop();for(const t of i){if(!(0,ee.Z)(e[t])){e=null;break}e=e[t]}return e?ne(e[t]):void 0}_setObjectToTarget(e,t,i){Object.keys(t).forEach((o=>{this._setToTarget(e,o,t[o],i)}))}}function ne(e){return(0,te.Z)(e,re)}function re(e){return(0,ie.Z)(e)?e:void 0}function se(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 ae(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}const le=ce(x());function ce(e){return e?class extends e{listenTo(e,t,i,o={}){if(se(e)||ae(e)){const n={capture:!!o.useCapture,passive:!!o.usePassive},r=this._getProxyEmitter(e,n)||new de(e,n);this.listenTo(r,t,i,o)}else super.listenTo(e,t,i,o)}stopListening(e,t,i){if(se(e)||ae(e)){const o=this._getAllProxyEmitters(e);for(const e of o)this.stopListening(e,t,i)}else super.stopListening(e,t,i)}_getProxyEmitter(e,t){return function(e,t){const i=e[_];return i&&i[t]?i[t].emitter:null}(this,ue(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))}}:le}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((e=>{ce[e]=le.prototype[e]}));class de extends(x()){constructor(e,t){super(),A(this,ue(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,i){this.attach(e),x().prototype._addEventListener.call(this,e,t,i)}_removeEventListener(e,t){x().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 ue(e,t){let i=function(e){return e["data-ck-expando"]||(e["data-ck-expando"]=p())}(e);for(const e of Object.keys(t).sort())t[e]&&(i+="-"+e);return i}let he;try{he={window,document}}catch(e){he={window:{},document:{}}}const me=he;function ge(e){let t=e.parentElement;if(!t)return null;for(;"BODY"!=t.tagName;){const e=t.style.overflowY||me.window.getComputedStyle(t).overflowY;if("auto"===e||"scroll"===e)break;if(t=t.parentElement,!t)return null}return t}function pe(e){const t=[];let i=e;for(;i&&i.nodeType!=Node.DOCUMENT_NODE;)t.unshift(i),i=i.parentNode;return t}function fe(e){return e instanceof HTMLTextAreaElement?e.value:e.innerHTML}function be(e){return"[object Text]"==Object.prototype.toString.call(e)}function we(e){return"[object Range]"==Object.prototype.toString.apply(e)}function ke(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)}}const _e=["top","right","bottom","left","width","height"];class ve{constructor(e){const t=we(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),xe(e)||t)if(t){const t=ve.getDomRangeRects(e);ye(this,ve.getBoundingRect(t))}else ye(this,e.getBoundingClientRect());else if(ae(e)){const{innerWidth:t,innerHeight:i}=e;ye(this,{top:0,right:t,bottom:i,left:0,width:t,height:i})}else ye(this,e)}clone(){return new ve(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};return t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0?null:new ve(t)}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(Ce(e))return t;let i,o=e,n=e.parentNode||e.commonAncestorContainer;for(;n&&!Ce(n);){if(o instanceof HTMLElement&&"absolute"===Ae(o)&&(i=o),i&&("relative"!==Ae(n)||"visible"===(r=n).ownerDocument.defaultView.getComputedStyle(r).overflow)){o=n,n=n.parentNode;continue}const e=new ve(n),s=t.getIntersection(e);if(!s)return null;s.getArea()<t.getArea()&&(t=s),o=n,n=n.parentNode}var r;return t}isEqual(e){for(const t of _e)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}excludeScrollbarsAndBorders(){const e=this._source;let t,i,o;if(ae(e))t=e.innerWidth-e.document.documentElement.clientWidth,i=e.innerHeight-e.document.documentElement.clientHeight,o=e.getComputedStyle(e.document.documentElement).direction;else{const n=ke(e);t=e.offsetWidth-e.clientWidth-n.left-n.right,i=e.offsetHeight-e.clientHeight-n.top-n.bottom,o=e.ownerDocument.defaultView.getComputedStyle(e).direction,this.left+=n.left,this.top+=n.top,this.right-=n.right,this.bottom-=n.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===o?this.right-=t:this.left+=t,this.height-=i,this.bottom-=i,this}static getDomRangeRects(e){const t=[],i=Array.from(e.getClientRects());if(i.length)for(const e of i)t.push(new ve(e));else{let i=e.startContainer;be(i)&&(i=i.parentNode);const o=new ve(i.getBoundingClientRect());o.right=o.left,o.width=0,t.push(o)}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 i=0;for(const o of e)i++,t.left=Math.min(t.left,o.left),t.top=Math.min(t.top,o.top),t.right=Math.max(t.right,o.right),t.bottom=Math.max(t.bottom,o.bottom);return 0==i?null:(t.width=t.right-t.left,t.height=t.bottom-t.top,new ve(t))}}function ye(e,t){for(const i of _e)e[i]=t[i]}function Ce(e){return!!xe(e)&&e===e.ownerDocument.body}function xe(e){return null!==e&&"object"==typeof e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect}function Ae(e){return e.ownerDocument.defaultView.getComputedStyle(e).position}class Ee{constructor(e,t){Ee._observerInstance||Ee._createObserver(),this._element=e,this._callback=t,Ee._addElementCallback(e,t),Ee._observerInstance.observe(e)}get element(){return this._element}destroy(){Ee._deleteElementCallback(this._element,this._callback)}static _addElementCallback(e,t){Ee._elementCallbacks||(Ee._elementCallbacks=new Map);let i=Ee._elementCallbacks.get(e);i||(i=new Set,Ee._elementCallbacks.set(e,i)),i.add(t)}static _deleteElementCallback(e,t){const i=Ee._getElementCallbacks(e);i&&(i.delete(t),i.size||(Ee._elementCallbacks.delete(e),Ee._observerInstance.unobserve(e))),Ee._elementCallbacks&&!Ee._elementCallbacks.size&&(Ee._observerInstance=null,Ee._elementCallbacks=null)}static _getElementCallbacks(e){return Ee._elementCallbacks?Ee._elementCallbacks.get(e):null}static _createObserver(){Ee._observerInstance=new me.window.ResizeObserver((e=>{for(const t of e){const e=Ee._getElementCallbacks(t.target);if(e)for(const i of e)i(t)}}))}}function Te(e,t){e instanceof HTMLTextAreaElement&&(e.value=t),e.innerHTML=t}function Se(e){return t=>t+e}function Pe(e){let t=0;for(;e.previousSibling;)e=e.previousSibling,t++;return t}function Ie(e,t,i){e.insertBefore(i,e.childNodes[t]||null)}function Ve(e){return e&&e.nodeType===Node.COMMENT_NODE}function Re(e){try{me.document.createAttribute(e)}catch(e){return!1}return!0}function Oe(e){return!!(e&&e.getClientRects&&e.getClientRects().length)}Ee._observerInstance=null,Ee._elementCallbacks=null;var Be=i(3234);function Me({element:e,target:t,positions:i,limiter:o,fitInViewport:n,viewportOffsetConfig:r}){(0,Be.Z)(t)&&(t=t()),(0,Be.Z)(o)&&(o=o());const s=function(e){return e&&e.parentNode?e.offsetParent===me.document.body?null:e.offsetParent:null}(e),a=new ve(e),l=new ve(t);let c;const d=n&&function(e){e=Object.assign({top:0,bottom:0,left:0,right:0},e);const t=new ve(me.window);return t.top+=e.top,t.height-=e.top,t.bottom-=e.bottom,t.height-=e.bottom,t}(r)||null,u={targetRect:l,elementRect:a,positionedElementAncestor:s,viewportRect:d};if(o||n){const e=o&&new ve(o).getVisible();Object.assign(u,{limiterRect:e,viewportRect:d}),c=function(e,t){const{elementRect:i}=t,o=i.getArea(),n=e.map((e=>new Ne(e,t))).filter((e=>!!e.name));let r=0,s=null;for(const e of n){const{limiterIntersectionArea:t,viewportIntersectionArea:i}=e;if(t===o)return e;const n=i**2+t**2;n>r&&(r=n,s=e)}return s}(i,u)||new Ne(i[0],u)}else c=new Ne(i[0],u);return c}function ze(e){const{scrollX:t,scrollY:i}=me.window;return e.clone().moveBy(t,i)}class Ne{constructor(e,t){const i=e(t.targetRect,t.elementRect,t.viewportRect);if(!i)return;const{left:o,top:n,name:r,config:s}=i;this.name=r,this.config=s,this._positioningFunctionCorrdinates={left:o,top:n},this._options=t}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const e=this._options.limiterRect;if(e){const t=this._options.viewportRect;if(!t)return e.getIntersectionArea(this._rect);{const i=e.getIntersection(t);if(i)return i.getIntersectionArea(this._rect)}}return 0}get viewportIntersectionArea(){const e=this._options.viewportRect;return e?e.getIntersectionArea(this._rect):0}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCorrdinates.left,this._positioningFunctionCorrdinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=ze(this._rect),this._options.positionedElementAncestor&&function(e,t){const i=ze(new ve(t)),o=ke(t);let n=0,r=0;n-=i.left,r-=i.top,n+=t.scrollLeft,r+=t.scrollTop,n-=o.left,r-=o.top,e.moveBy(n,r)}(this._cachedAbsoluteRect,this._options.positionedElementAncestor)),this._cachedAbsoluteRect}}function De(e){const t=e.parentNode;t&&t.removeChild(e)}function Le({target:e,viewportOffset:t=0,ancestorOffset:i=0,alignToTop:o,forceScroll:n}){const r=qe(e);let s=r,a=null;for(t=function(e){return"number"==typeof e?{top:e,bottom:e,left:e,right:e}:e}(t);s;){let l;l=Ke(s==r?e:a),He({parent:l,getRect:()=>Ge(e,s),alignToTop:o,ancestorOffset:i,forceScroll:n});const c=Ge(e,s);if(Ze({window:s,rect:c,viewportOffset:t,alignToTop:o,forceScroll:n}),s.parent!=s){if(a=s.frameElement,s=s.parent,!a)return}else s=null}}function Fe(e,t){He({parent:Ke(e),getRect:()=>new ve(e),ancestorOffset:t})}function Ze({window:e,rect:t,alignToTop:i,forceScroll:o,viewportOffset:n}){const r=t.clone().moveBy(0,n.bottom),s=t.clone().moveBy(0,-n.top),a=new ve(e).excludeScrollbarsAndBorders(),l=i&&o,c=[s,r].every((e=>a.contains(e)));let{scrollX:d,scrollY:u}=e;const h=d,m=u;l?u-=a.top-t.top+n.top:c||(je(s,a)?u-=a.top-t.top+n.top:We(r,a)&&(u+=i?t.top-a.top-n.top:t.bottom-a.bottom+n.bottom)),c||(Ue(t,a)?d-=a.left-t.left+n.left:$e(t,a)&&(d+=t.right-a.right+n.right)),d==h&&u===m||e.scrollTo(d,u)}function He({parent:e,getRect:t,alignToTop:i,forceScroll:o,ancestorOffset:n=0}){const r=qe(e),s=i&&o;let a,l,c;for(;e!=r.document.body;)l=t(),a=new ve(e).excludeScrollbarsAndBorders(),c=a.contains(l),s?e.scrollTop-=a.top-l.top+n:c||(je(l,a)?e.scrollTop-=a.top-l.top+n:We(l,a)&&(e.scrollTop+=i?l.top-a.top-n:l.bottom-a.bottom+n)),c||(Ue(l,a)?e.scrollLeft-=a.left-l.left+n:$e(l,a)&&(e.scrollLeft+=l.right-a.right+n)),e=e.parentNode}function We(e,t){return e.bottom>t.bottom}function je(e,t){return e.top<t.top}function Ue(e,t){return e.left<t.left}function $e(e,t){return e.right>t.right}function qe(e){return we(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function Ke(e){if(we(e)){let t=e.commonAncestorContainer;return be(t)&&(t=t.parentNode),t}return e.parentNode}function Ge(e,t){const i=qe(e),o=new ve(e);if(i===t)return o;{let e=i;for(;e!=t;){const t=e.frameElement,i=new ve(t).excludeScrollbarsAndBorders();o.moveBy(i.left,i.top),e=e.parent}}return o}const Je={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},Ye={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},Qe=function(){const e={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;for(const t of"`-=[];',./\\")e[t]=t.charCodeAt(0);return e}(),Xe=Object.fromEntries(Object.entries(Qe).map((([e,t])=>[t,e.charAt(0).toUpperCase()+e.slice(1)])));function et(e){let t;if("string"==typeof e){if(t=Qe[e.toLowerCase()],!t)throw new k.ZP("keyboard-unknown-key",null,{key:e})}else t=e.keyCode+(e.altKey?Qe.alt:0)+(e.ctrlKey?Qe.ctrl:0)+(e.shiftKey?Qe.shift:0)+(e.metaKey?Qe.cmd:0);return t}function tt(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 et(e.slice(0,-1));const t=et(e);return r.isMac&&t==Qe.ctrl?Qe.cmd:t}(e):e)).reduce(((e,t)=>t+e),0)}function it(e){let t=tt(e);return Object.entries(r.isMac?Je:Ye).reduce(((e,[i,o])=>(0!=(t&Qe[i])&&(t&=~Qe[i],e+=o),e)),"")+(t?Xe[t]:"")}function ot(e){return e==Qe.arrowright||e==Qe.arrowleft||e==Qe.arrowup||e==Qe.arrowdown}function nt(e,t){const i="ltr"===t;switch(e){case Qe.arrowleft:return i?"left":"right";case Qe.arrowright:return i?"right":"left";case Qe.arrowup:return"up";case Qe.arrowdown:return"down"}}function rt(e,t){const i=nt(e,t);return"down"===i||"right"===i}const st=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function at(e){return st.includes(e)?"rtl":"ltr"}function lt(e){return Array.isArray(e)?e:[e]}me.window.CKEDITOR_TRANSLATIONS||(me.window.CKEDITOR_TRANSLATIONS={});class ct{constructor({uiLanguage:e="en",contentLanguage:t}={}){this.uiLanguage=e,this.contentLanguage=t||this.uiLanguage,this.uiLanguageDirection=at(this.uiLanguage),this.contentLanguageDirection=at(this.contentLanguage),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=lt(t),"string"==typeof e&&(e={string:e});const i=e.plural?t[0]:1;return function(e,t){return e.replace(/%(\d+)/g,((e,i)=>i<t.length?t[i]:e))}(function(e,t,i=1){if("number"!=typeof i)throw new k.ZP("translation-service-quantity-not-a-number",null,{quantity:i});const o=Object.keys(me.window.CKEDITOR_TRANSLATIONS).length;1===o&&(e=Object.keys(me.window.CKEDITOR_TRANSLATIONS)[0]);const n=t.id||t.string;if(0===o||!function(e,t){return!!me.window.CKEDITOR_TRANSLATIONS[e]&&!!me.window.CKEDITOR_TRANSLATIONS[e].dictionary[t]}(e,n))return 1!==i?t.plural:t.string;const r=me.window.CKEDITOR_TRANSLATIONS[e].dictionary,s=me.window.CKEDITOR_TRANSLATIONS[e].getPluralForm||(e=>1===e?0:1),a=r[n];return"string"==typeof a?a:a[Number(s(i))]}(this.uiLanguage,e,i),t)}}class dt extends(x()){constructor(e={},t={}){super();const i=K(e);if(i||(t=e),this._items=[],this._itemMap=new Map,this._idProperty=t.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],i)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 k.ZP("collection-add-item-invalid-index",this);let i=0;for(const o of e){const e=this._getItemIdBeforeAdding(o),n=t+i;this._items.splice(n,0,o),this._itemMap.set(e,o),this.fire("add",o,n),i++}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 k.ZP("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,i]=this._remove(e);return this.fire("change",{added:[],removed:[t],index:i}),t}map(e,t){return this._items.map(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 k.ZP("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,i=(i,o,n)=>{const r=t._bindToCollection==this,s=t._bindToInternalToExternalMap.get(o);if(r&&s)this._bindToExternalToInternalMap.set(o,s),this._bindToInternalToExternalMap.set(s,o);else{const i=e(o);if(!i)return void this._skippedIndexesFromExternal.push(n);let r=n;for(const e of this._skippedIndexesFromExternal)n>e&&r--;for(const e of t._skippedIndexesFromExternal)r>=e&&r++;this._bindToExternalToInternalMap.set(o,i),this._bindToInternalToExternalMap.set(i,o),this.add(i,r);for(let e=0;e<t._skippedIndexesFromExternal.length;e++)r<=t._skippedIndexesFromExternal[e]&&t._skippedIndexesFromExternal[e]++}};for(const e of t)i(0,e,t.getIndex(e));this.listenTo(t,"add",i),this.listenTo(t,"remove",((e,t,i)=>{const o=this._bindToExternalToInternalMap.get(t);o&&this.remove(o),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((e,t)=>(i<t&&e.push(t-1),i>t&&e.push(t),e)),[])}))}_getItemIdBeforeAdding(e){const t=this._idProperty;let i;if(t in e){if(i=e[t],"string"!=typeof i)throw new k.ZP("collection-add-invalid-id",this);if(this.get(i))throw new k.ZP("collection-add-item-already-exists",this)}else e[t]=i=p();return i}_remove(e){let t,i,o,n=!1;const r=this._idProperty;if("string"==typeof e?(i=e,o=this._itemMap.get(i),n=!o,o&&(t=this._items.indexOf(o))):"number"==typeof e?(t=e,o=this._items[t],n=!o,o&&(i=o[r])):(o=e,i=o[r],t=this._items.indexOf(o),n=-1==t||!this._itemMap.get(i)),n)throw new k.ZP("collection-remove-404",this);this._items.splice(t,1),this._itemMap.delete(i);const s=this._bindToInternalToExternalMap.get(o);return this._bindToInternalToExternalMap.delete(o),this._bindToExternalToInternalMap.delete(s),this.fire("remove",o,t),[o,t]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function ut(e){const t=e.next();return t.done?null:t.value}class ht extends(ce(L())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(e){if(this._elements.has(e))throw new k.ZP("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 mt{constructor(){this._listener=new(ce())}listenTo(e){this._listener.listenTo(e,"keydown",((e,t)=>{this._listener.fire("_keydown:"+et(t),t)}))}set(e,t,i={}){const o=tt(e),n=i.priority;this._listener.listenTo(this._listener,"_keydown:"+o,((e,i)=>{t(i,(()=>{i.preventDefault(),i.stopPropagation(),e.stop()})),e.return=!0}),{priority:n})}press(e){return!!this._listener.fire("_keydown:"+et(e),e)}stopListening(e){this._listener.stopListening(e)}destroy(){this.stopListening()}}function gt(e){return K(e)?new Map(e):function(e){const t=new Map;for(const i in e)t.set(i,e[i]);return t}(e)}const pt=1e4;function ft(e,t,i,o){if(Math.max(t.length,e.length)>pt)return e.slice(0,i).concat(t).concat(e.slice(i+o,e.length));{const n=Array.from(e);return n.splice(i,o,...t),n}}function bt(e,t){let i;function o(...n){o.cancel(),i=setTimeout((()=>e(...n)),t)}return o.cancel=()=>{clearTimeout(i)},o}function wt(e){function t(e){return e.length>=40&&e.length<=255?"VALID":"INVALID"}if(!e)return"INVALID";let i="";try{i=atob(e)}catch(e){return"INVALID"}const o=i.split("-"),n=o[0],r=o[1];if(!r)return t(e);try{atob(r)}catch(i){try{if(atob(n),!atob(n).length)return t(e)}catch(i){return t(e)}}if(n.length<40||n.length>255)return"INVALID";let s="";try{atob(n),s=atob(r)}catch(e){return"INVALID"}if(8!==s.length)return"INVALID";const a=Number(s.substring(0,4)),l=Number(s.substring(4,6))-1,c=Number(s.substring(6,8)),d=new Date(a,l,c);return d<w.D||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 _t(e){return!!e&&1==e.length&&/[\ud800-\udbff]/.test(e)}function vt(e){return!!e&&1==e.length&&/[\udc00-\udfff]/.test(e)}function yt(e,t){return _t(e.charAt(t-1))&&vt(e.charAt(t))}function Ct(e,t){return kt(e.charAt(t))}const xt=function(){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")}();function At(e,t){const i=String(e).matchAll(xt);return Array.from(i).some((e=>e.index<t&&t<e.index+e[0].length))}},9807:(e,t,i)=>{"use strict";i.d(t,{D:()=>s,Z:()=>r});var o=i(8378);const n="38.1.1",r=n,s=new Date(2023,6,11),a="object"==typeof window?window:i.g;if(a.CKEDITOR_VERSION)throw new o.ZP("ckeditor-duplicated-modules",null);a.CKEDITOR_VERSION=n},4156:(e,t,i)=>{"use strict";i.r(t),i.d(t,{WIDGET_CLASS_NAME:()=>m,WIDGET_SELECTED_CLASS_NAME:()=>g,Widget:()=>G,WidgetResize:()=>re,WidgetToolbarRepository:()=>J,WidgetTypeAround:()=>j,findOptimalInsertionRange:()=>C,getLabel:()=>v,isWidget:()=>p,setHighlightHandling:()=>k,setLabel:()=>_,toWidget:()=>f,toWidgetEditable:()=>y,viewToModelPositionOutsideModelElement:()=>x});var o=i(7578),n=i(600),r=i(3701),s=i(1833),a=i(7230),l=i(5725);class c extends((0,s.EmitterMixin)()){constructor(){super(...arguments),this._stack=[]}add(e,t){const i=this._stack,o=i[0];this._insertDescriptor(e);const n=i[0];o===n||d(o,n)||this.fire("change:top",{oldDescriptor:o,newDescriptor:n,writer:t})}remove(e,t){const i=this._stack,o=i[0];this._removeDescriptor(e);const n=i[0];o===n||d(o,n)||this.fire("change:top",{oldDescriptor:o,newDescriptor:n,writer:t})}_insertDescriptor(e){const t=this._stack,i=t.findIndex((t=>t.id===e.id));if(d(e,t[i]))return;i>-1&&t.splice(i,1);let o=0;for(;t[o]&&(n=t[o],r=e,n.priority>r.priority||!(n.priority<r.priority)&&u(n.classes)>u(r.classes));)o++;var n,r;t.splice(o,0,e)}_removeDescriptor(e){const t=this._stack,i=t.findIndex((t=>t.id===e));i>-1&&t.splice(i,1)}}function d(e,t){return e&&t&&e.priority==t.priority&&u(e.classes)==u(t.classes)}function u(e){return Array.isArray(e)?e.sort().join(","):e}const h='<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>',m="ck-widget",g="ck-widget_selected";function p(e){return!!e.is("element")&&!!e.getCustomProperty("widget")}function f(e,t,i={}){if(!e.is("containerElement"))throw new s.CKEditorError("widget-to-widget-wrong-element-type",null,{element:e});return t.setAttribute("contenteditable","false",e),t.addClass(m,e),t.setCustomProperty("widget",!0,e),e.getFillerOffset=A,t.setCustomProperty("widgetLabel",[],e),i.label&&_(e,i.label),i.hasSelectionHandle&&function(e,t){const i=t.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(e){const t=this.toDomElement(e),i=new a.IconView;return i.set("content",h),i.render(),t.appendChild(i.element),t}));t.insert(t.createPositionAt(e,0),i),t.addClass(["ck-widget_with-selection-handle"],e)}(e,t),k(e,t),e}function b(e,t,i){if(t.classes&&i.addClass((0,s.toArray)(t.classes),e),t.attributes)for(const o in t.attributes)i.setAttribute(o,t.attributes[o],e)}function w(e,t,i){if(t.classes&&i.removeClass((0,s.toArray)(t.classes),e),t.attributes)for(const o in t.attributes)i.removeAttribute(o,e)}function k(e,t,i=b,o=w){const n=new c;n.on("change:top",((t,n)=>{n.oldDescriptor&&o(e,n.oldDescriptor,n.writer),n.newDescriptor&&i(e,n.newDescriptor,n.writer)})),t.setCustomProperty("addHighlight",((e,t,i)=>n.add(t,i)),e),t.setCustomProperty("removeHighlight",((e,t,i)=>n.remove(t,i)),e)}function _(e,t){e.getCustomProperty("widgetLabel").push(t)}function v(e){return e.getCustomProperty("widgetLabel").reduce(((e,t)=>"function"==typeof t?e?e+". "+t():t():e?e+". "+t:t),"")}function y(e,t,i={}){return t.addClass(["ck-editor__editable","ck-editor__nested-editable"],e),t.setAttribute("role","textbox",e),i.label&&t.setAttribute("aria-label",i.label,e),t.setAttribute("contenteditable",e.isReadOnly?"false":"true",e),e.on("change:isReadOnly",((i,o,n)=>{t.setAttribute("contenteditable",n?"false":"true",e)})),e.on("change:isFocused",((i,o,n)=>{n?t.addClass("ck-editor__nested-editable_focused",e):t.removeClass("ck-editor__nested-editable_focused",e)})),k(e,t),e}function C(e,t){const i=e.getSelectedElement();if(i){const o=S(e);if(o)return t.createRange(t.createPositionAt(i,o))}return(0,n.findOptimalInsertionRange)(e,t)}function x(e,t){return(i,o)=>{const{mapper:n,viewPosition:r}=o,s=n.findMappedViewAncestor(r);if(!t(s))return;const a=n.toModelElement(s);o.modelPosition=e.createPositionAt(a,r.isAtStart?"before":"after")}}function A(){return null}const E="widget-type-around";function T(e,t,i){return!!e&&p(e)&&!i.isInline(t)}function S(e){return e.getAttribute(E)}var P=i(3379),I=i.n(P),V=i(9037),R=i.n(V),O=i(569),B=i.n(O),M=i(8575),z=i.n(M),N=i(9216),D=i.n(N),L=i(2347),F={attributes:{"data-cke":!0}};F.setAttributes=z(),F.insert=B().bind(null,"head"),F.domAPI=R(),F.insertStyleElement=D(),I()(L.Z,F),L.Z&&L.Z.locals&&L.Z.locals;const Z=["before","after"],H=(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,W="ck-widget__type-around_disabled";class j extends o.Plugin{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[l.C,r.HG]}init(){const e=this.editor,t=e.editing.view;this.on("change:isEnabled",((i,o,n)=>{t.change((e=>{for(const i of t.document.roots)n?e.removeClass(W,i):e.addClass(W,i)})),n||e.model.change((e=>{e.removeSelectionAttribute(E)}))})),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 i=this.editor,o=i.editing.view,n=i.model.schema.getAttributesWithProperty(e,"copyOnReplace",!0);i.execute("insertParagraph",{position:i.model.createPositionAt(e,t),attributes:n}),o.focus(),o.scrollToTheSelection()}_listenToIfEnabled(e,t,i,o){this.listenTo(e,t,((...e)=>{this.isEnabled&&i(...e)}),o)}_insertParagraphAccordingToFakeCaretPosition(){const e=this.editor.model.document.selection,t=S(e);if(!t)return!1;const i=e.getSelectedElement();return this._insertParagraph(i,t),!0}_enableTypeAroundUIInjection(){const e=this.editor,t=e.model.schema,i=e.locale.t,o={before:i("Insert paragraph before block"),after:i("Insert paragraph after block")};e.editing.downcastDispatcher.on("insert",((e,n,r)=>{const s=r.mapper.toViewElement(n.item);s&&T(s,n.item,t)&&(!function(e,t,i){const o=e.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(e){const i=this.toDomElement(e);return function(e,t){for(const i of Z){const o=new a.Template({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${i}`],title:t[i],"aria-hidden":"true"},children:[e.ownerDocument.importNode(H,!0)]});e.appendChild(o.render())}}(i,t),function(e){const t=new a.Template({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});e.appendChild(t.render())}(i),i}));e.insert(e.createPositionAt(i,"end"),o)}(r.writer,o,s),s.getCustomProperty("widgetLabel").push((()=>this.isEnabled?i("Press Enter to type after or press Shift + Enter to type before the widget"):"")))}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const e=this.editor,t=e.model,i=t.document.selection,o=t.schema,n=e.editing.view;function r(e){return`ck-widget_type-around_show-fake-caret_${e}`}this._listenToIfEnabled(n.document,"arrowKey",((e,t)=>{this._handleArrowKeyPress(e,t)}),{context:[p,"$text"],priority:"high"}),this._listenToIfEnabled(i,"change:range",((t,i)=>{i.directChange&&e.model.change((e=>{e.removeSelectionAttribute(E)}))})),this._listenToIfEnabled(t.document,"change:data",(()=>{const t=i.getSelectedElement();t&&T(e.editing.mapper.toViewElement(t),t,o)||e.model.change((e=>{e.removeSelectionAttribute(E)}))})),this._listenToIfEnabled(e.editing.downcastDispatcher,"selection",((e,t,i)=>{const n=i.writer;if(this._currentFakeCaretModelElement){const e=i.mapper.toViewElement(this._currentFakeCaretModelElement);e&&(n.removeClass(Z.map(r),e),this._currentFakeCaretModelElement=null)}const s=t.selection.getSelectedElement();if(!s)return;const a=i.mapper.toViewElement(s);if(!T(a,s,o))return;const l=S(t.selection);l&&(n.addClass(r(l),a),this._currentFakeCaretModelElement=s)})),this._listenToIfEnabled(e.ui.focusTracker,"change:isFocused",((t,i,o)=>{o||e.model.change((e=>{e.removeSelectionAttribute(E)}))}))}_handleArrowKeyPress(e,t){const i=this.editor,o=i.model,n=o.document.selection,r=o.schema,a=i.editing.view,l=t.keyCode,c=(0,s.isForwardArrowKeyCode)(l,i.locale.contentLanguageDirection),d=a.document.selection.getSelectedElement();let u;T(d,i.editing.mapper.toModelElement(d),r)?u=this._handleArrowKeyPressOnSelectedWidget(c):n.isCollapsed?u=this._handleArrowKeyPressWhenSelectionNextToAWidget(c):t.shiftKey||(u=this._handleArrowKeyPressWhenNonCollapsedSelection(c)),u&&(t.preventDefault(),e.stop())}_handleArrowKeyPressOnSelectedWidget(e){const t=this.editor.model,i=S(t.document.selection);return t.change((t=>i?i!==(e?"after":"before")&&(t.removeSelectionAttribute(E),!0):(t.setSelectionAttribute(E,e?"after":"before"),!0)))}_handleArrowKeyPressWhenSelectionNextToAWidget(e){const t=this.editor,i=t.model,o=i.schema,n=t.plugins.get("Widget"),r=n._getObjectElementNextToSelection(e);return!!T(t.editing.mapper.toViewElement(r),r,o)&&(i.change((t=>{n._setSelectionOverElement(r),t.setSelectionAttribute(E,e?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(e){const t=this.editor,i=t.model,o=i.schema,n=t.editing.mapper,r=i.document.selection,s=e?r.getLastPosition().nodeBefore:r.getFirstPosition().nodeAfter;return!!T(n.toViewElement(s),s,o)&&(i.change((t=>{t.setSelection(s,"on"),t.setSelectionAttribute(E,e?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const e=this.editor,t=e.editing.view;this._listenToIfEnabled(t.document,"mousedown",((i,o)=>{const n=o.domTarget.closest(".ck-widget__type-around__button");if(!n)return;const r=n.classList.contains("ck-widget__type-around__button_before")?"before":"after",s=function(e,t){const i=e.closest(".ck-widget");return t.mapDomToView(i)}(n,t.domConverter),a=e.editing.mapper.toModelElement(s);this._insertParagraph(a,r),o.preventDefault(),i.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const e=this.editor,t=e.model.document.selection,i=e.editing.view;this._listenToIfEnabled(i.document,"enter",((i,o)=>{if("atTarget"!=i.eventPhase)return;const n=t.getSelectedElement(),r=e.editing.mapper.toViewElement(n),s=e.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:T(r,n,s)&&(this._insertParagraph(n,o.isSoft?"before":"after"),a=!0),a&&(o.preventDefault(),i.stop())}),{context:p})}_enableInsertingParagraphsOnTypingKeystroke(){const e=this.editor.editing.view.document;this._listenToIfEnabled(e,"insertText",((t,i)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(i.selection=e.selection)}),{priority:"high"}),s.env.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,i=e.model,o=i.schema;this._listenToIfEnabled(t.document,"delete",((t,n)=>{if("atTarget"!=t.eventPhase)return;const r=S(i.document.selection);if(!r)return;const s=n.direction,a=i.document.selection.getSelectedElement(),l="forward"==s;if("before"===r===l)e.execute("delete",{selection:i.createSelection(a,"on")});else{const t=o.getNearestSelectionRange(i.createPositionAt(a,r),s);if(t)if(t.isCollapsed){const n=i.createSelection(t.start);if(i.modifySelection(n,{direction:s}),n.focus.isEqual(t.start)){const e=function(e,t){let i=t;for(const o of t.getAncestors({parentFirst:!0})){if(o.childCount>1||e.isLimit(o))break;i=o}return i}(o,t.start.parent);i.deleteContent(i.createSelection(e,"on"),{doNotAutoparagraph:!0})}else i.change((i=>{i.setSelection(t),e.execute(l?"deleteForward":"delete")}))}else i.change((i=>{i.setSelection(t),e.execute(l?"deleteForward":"delete")}))}n.preventDefault(),t.stop()}),{context:p})}_enableInsertContentIntegration(){const e=this.editor,t=this.editor.model,i=t.document.selection;this._listenToIfEnabled(e.model,"insertContent",((e,[o,n])=>{if(n&&!n.is("documentSelection"))return;const r=S(i);return r?(e.stop(),t.change((e=>{const n=i.getSelectedElement(),s=t.createPositionAt(n,r),a=e.createSelection(s),l=t.insertContent(o,a);return e.setSelection(a),l}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"insertObject",((e,i)=>{const[,o,n={}]=i;if(o&&!o.is("documentSelection"))return;const r=S(t);r&&(n.findOptimalPosition=r,i[3]=n)}),{priority:"high"})}_enableDeleteContentIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"deleteContent",((e,[i])=>{i&&!i.is("documentSelection")||S(t)&&e.stop()}),{priority:"high"})}}function U(e,t,i){const o=e.schema,n=e.createRangeIn(t.root),r="forward"==i?"elementStart":"elementEnd";for(const{previousPosition:e,item:s,type:a}of n.getWalker({startPosition:t,direction:i})){if(o.isLimit(s)&&!o.isInline(s))return e;if(a==r&&o.isBlock(s))return null}return null}function $(e,t,i){const o="backward"==i?t.end:t.start;if(e.checkChild(o,"$text"))return o;for(const{nextPosition:o}of t.getWalker({direction:i}))if(e.checkChild(o,"$text"))return o;return null}var q=i(7153),K={attributes:{"data-cke":!0}};K.setAttributes=z(),K.insert=B().bind(null,"head"),K.domAPI=R(),K.insertStyleElement=D(),I()(q.Z,K),q.Z&&q.Z.locals&&q.Z.locals;class G extends o.Plugin{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[j,r.HG]}init(){const e=this.editor,t=e.editing.view,i=t.document;this.editor.editing.downcastDispatcher.on("selection",((t,i,o)=>{const n=o.writer,r=i.selection;if(r.isCollapsed)return;const s=r.getSelectedElement();if(!s)return;const a=e.editing.mapper.toViewElement(s);p(a)&&o.consumable.consume(r,"selection")&&n.setSelection(n.createRangeOn(a),{fake:!0,label:v(a)})})),this.editor.editing.downcastDispatcher.on("selection",((e,t,i)=>{this._clearPreviouslySelectedWidgets(i.writer);const o=i.writer,n=o.document.selection;let r=null;for(const e of n.getRanges())for(const t of e){const e=t.item;p(e)&&(s=e,!(a=r)||!Array.from(s.getAncestors()).includes(a))&&(o.addClass(g,e),this._previouslySelected.add(e),r=e)}var s,a}),{priority:"low"}),t.addObserver(n.MouseObserver),this.listenTo(i,"mousedown",((...e)=>this._onMousedown(...e))),this.listenTo(i,"arrowKey",((...e)=>{this._handleSelectionChangeOnArrowKeyPress(...e)}),{context:[p,"$text"]}),this.listenTo(i,"arrowKey",((...e)=>{this._preventDefaultOnArrowKeyPress(...e)}),{context:"$root"}),this.listenTo(i,"arrowKey",function(e){const t=e.model;return(i,o)=>{const n=o.keyCode==s.keyCodes.arrowup,r=o.keyCode==s.keyCodes.arrowdown,a=o.shiftKey,l=t.document.selection;if(!n&&!r)return;const c=r;if(a&&function(e,t){return!e.isCollapsed&&e.isBackward==t}(l,c))return;const d=function(e,t,i){const o=e.model;if(i){const e=t.isCollapsed?t.focus:t.getLastPosition(),i=U(o,e,"forward");if(!i)return null;const n=o.createRange(e,i),r=$(o.schema,n,"backward");return r?o.createRange(e,r):null}{const e=t.isCollapsed?t.focus:t.getFirstPosition(),i=U(o,e,"backward");if(!i)return null;const n=o.createRange(i,e),r=$(o.schema,n,"forward");return r?o.createRange(r,e):null}}(e,l,c);if(d){if(d.isCollapsed){if(l.isCollapsed)return;if(a)return}(d.isCollapsed||function(e,t,i){const o=e.model,n=e.view.domConverter;if(i){const e=o.createSelection(t.start);o.modifySelection(e),e.focus.isAtEnd||t.start.isEqual(e.focus)||(t=o.createRange(e.focus,t.end))}const r=e.mapper.toViewRange(t),a=n.viewRangeToDom(r),l=s.Rect.getDomRangeRects(a);let c;for(const e of l)if(void 0!==c){if(Math.round(e.top)>=c)return!1;c=Math.max(c,Math.round(e.bottom))}else c=Math.round(e.bottom);return!0}(e,d,c))&&(t.change((e=>{const i=c?d.end:d.start;if(a){const o=t.createSelection(l.anchor);o.setFocus(i),e.setSelection(o)}else e.setSelection(i)})),i.stop(),o.preventDefault(),o.stopPropagation())}}}(this.editor.editing),{context:"$text"}),this.listenTo(i,"delete",((e,t)=>{this._handleDelete("forward"==t.direction)&&(t.preventDefault(),e.stop())}),{context:"$root"})}_onMousedown(e,t){const i=this.editor,o=i.editing.view,n=o.document;let r=t.target;if(function(e){let t=e;for(;t;){if(t.is("editableElement")&&!t.is("rootElement"))return!0;if(p(t))return!1;t=t.parent}return!1}(r)){if((s.env.isSafari||s.env.isGecko)&&t.domEvent.detail>=3){const e=i.editing.mapper,o=r.is("attributeElement")?r.findAncestor((e=>!e.is("attributeElement"))):r,n=e.toModelElement(o);t.preventDefault(),this.editor.model.change((e=>{e.setSelection(n,"in")}))}return}if(!p(r)&&(r=r.findAncestor(p),!r))return;s.env.isAndroid&&t.preventDefault(),n.isFocused||o.focus();const a=i.editing.mapper.toModelElement(r);this._setSelectionOverElement(a)}_handleSelectionChangeOnArrowKeyPress(e,t){const i=t.keyCode,o=this.editor.model,n=o.schema,r=o.document.selection,a=r.getSelectedElement(),l=(0,s.getLocalizedArrowKeyCodeDirection)(i,this.editor.locale.contentLanguageDirection),c="down"==l||"right"==l,d="up"==l||"down"==l;if(a&&n.isObject(a)){const i=c?r.getLastPosition():r.getFirstPosition(),s=n.getNearestSelectionRange(i,c?"forward":"backward");return void(s&&(o.change((e=>{e.setSelection(s)})),t.preventDefault(),e.stop()))}if(!r.isCollapsed&&!t.shiftKey){const i=r.getFirstPosition(),s=r.getLastPosition(),a=i.nodeAfter,l=s.nodeBefore;return void((a&&n.isObject(a)||l&&n.isObject(l))&&(o.change((e=>{e.setSelection(c?s:i)})),t.preventDefault(),e.stop()))}if(!r.isCollapsed)return;const u=this._getObjectElementNextToSelection(c);if(u&&n.isObject(u)){if(n.isInline(u)&&d)return;this._setSelectionOverElement(u),t.preventDefault(),e.stop()}}_preventDefaultOnArrowKeyPress(e,t){const i=this.editor.model,o=i.schema,n=i.document.selection.getSelectedElement();n&&o.isObject(n)&&(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 i=this._getObjectElementNextToSelection(e);return i?(this.editor.model.change((e=>{let o=t.anchor.parent;for(;o.isEmpty;){const t=o;o=t.parent,e.remove(t)}this._setSelectionOverElement(i)})),!0):void 0}_setSelectionOverElement(e){this.editor.model.change((t=>{t.setSelection(t.createRangeOn(e))}))}_getObjectElementNextToSelection(e){const t=this.editor.model,i=t.schema,o=t.document.selection,n=t.createSelection(o);if(t.modifySelection(n,{direction:e?"forward":"backward"}),n.isEqual(o))return null;const r=e?n.focus.nodeBefore:n.focus.nodeAfter;return r&&i.isObject(r)?r:null}_clearPreviouslySelectedWidgets(e){for(const t of this._previouslySelected)e.removeClass(g,t);this._previouslySelected.clear()}}class J extends o.Plugin{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[a.ContextualBalloon]}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||!p(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:i,getRelatedElement:o,balloonClassName:n="ck-toolbar-container"}){if(!i.length)return void(0,s.logWarning)("widget-toolbar-no-items",{toolbarId:e});const r=this.editor,l=r.t,c=new a.ToolbarView(r.locale);if(c.ariaLabel=t||l("Widget toolbar"),this._toolbarDefinitions.has(e))throw new s.CKEditorError("widget-toolbar-duplicated",this,{toolbarId:e});const d={view:c,getRelatedElement:o,balloonClassName:n,itemsConfig:i,initialized:!1};r.ui.addToolbar(c,{isContextual:!0,beforeFocus:()=>{const e=o(r.editing.view.document.selection);e&&this._showToolbar(d,e)},afterBlur:()=>{this._hideToolbar(d)}}),this._toolbarDefinitions.set(e,d)}_updateToolbarsVisibility(){let e=0,t=null,i=null;for(const o of this._toolbarDefinitions.values()){const n=o.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&n)if(this.editor.ui.focusTracker.isFocused){const r=n.getAncestors().length;r>e&&(e=r,t=n,i=o)}else this._isToolbarVisible(o)&&this._hideToolbar(o);else this._isToolbarInBalloon(o)&&this._hideToolbar(o)}i&&this._showToolbar(i,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:Q(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 i=e.plugins.get("ContextualBalloon"),o=Q(e,t);i.updatePosition(o)}function Q(e,t){const i=e.editing.view,o=a.BalloonPanelView.defaultPositions;return{target:i.domConverter.mapViewToDom(t),positions:[o.northArrowSouth,o.northArrowSouthWest,o.northArrowSouthEast,o.southArrowNorth,o.southArrowNorthWest,o.southArrowNorthEast,o.viewportStickyNorth]}}class X extends((0,s.ObservableMixin)()){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,i){const o=new s.Rect(t);this.activeHandlePosition=function(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const i of t)if(e.classList.contains(`ck-widget__resizer__handle-${i}`))return i}(e),this._referenceCoordinates=function(e,t){const i=new s.Rect(e),o=t.split("-"),n={x:"right"==o[1]?i.right:i.left,y:"bottom"==o[0]?i.bottom:i.top};return n.x+=e.ownerDocument.defaultView.scrollX,n.y+=e.ownerDocument.defaultView.scrollY,n}(t,function(e){const t=e.split("-"),i={top:"bottom",bottom:"top",left:"right",right:"left"};return`${i[t[0]]}-${i[t[1]]}`}(this.activeHandlePosition)),this._originalWidth=o.width,this._originalHeight=o.height,this._aspectRatio=o.width/o.height;const n=i.style.width;n&&n.match(/^\d+(\.\d*)?%$/)?this._originalWidthPercents=parseFloat(n):this._originalWidthPercents=function(e,t){const i=e.parentElement;let o=parseFloat(i.ownerDocument.defaultView.getComputedStyle(i).width);let n=0,r=i;for(;isNaN(o);){if(r=r.parentElement,++n>5)return 0;o=parseFloat(i.ownerDocument.defaultView.getComputedStyle(r).width)}return t.width/o*100}(i,o)}update(e){this.proposedWidth=e.width,this.proposedHeight=e.height,this.proposedWidthPercents=e.widthPercents,this.proposedHandleHostWidth=e.handleHostWidth,this.proposedHandleHostHeight=e.handleHostHeight}}class ee extends a.View{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,i,o)=>"px"===e.unit?`${t}×${i}`:`${o}%`)),this.bind("_viewPosition").to(t,"activeHandlePosition",t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",((e,t,i)=>t<50||i<50?"above-center":e))}_dismiss(){this.unbind(),this._isVisible=!1}}class te extends((0,s.ObservableMixin)()){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((i=>{const o=i.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},(function(t){const i=this.toDomElement(t);return e._appendHandles(i),e._appendSizeUI(i),i}));i.insert(i.createPositionAt(t,"end"),o),i.addClass("ck-widget_with-resizer",t),this._viewResizerWrapper=o,this.isVisible||this.hide()})),this.on("change:isVisible",(()=>{this.isVisible?(this.show(),this.redraw()):this.hide()}))}begin(e){this._state=new X(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 i=this._options.unit||"%",o=("%"===i?t.widthPercents:t.width)+i;e.setStyle("width",o,this._options.viewElement)}));const i=this._getHandleHost(),o=new s.Rect(i),n=Math.round(o.width),r=Math.round(o.height),a=new s.Rect(i);t.width=Math.round(a.width),t.height=Math.round(a.height),this.redraw(o),this.state.update({...t,handleHostWidth:n,handleHostHeight:r})}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(!((i=t)&&i.ownerDocument&&i.ownerDocument.contains(i)))return;var i;const o=t.parentElement,n=this._getHandleHost(),r=this._viewResizerWrapper,a=[r.getStyle("width"),r.getStyle("height"),r.getStyle("left"),r.getStyle("top")];let l;if(o.isSameNode(n)){const t=e||new s.Rect(n);l=[t.width+"px",t.height+"px",void 0,void 0]}else l=[n.offsetWidth+"px",n.offsetHeight+"px",n.offsetLeft+"px",n.offsetTop+"px"];"same"!==(0,s.compareArrays)(a,l)&&this._options.editor.editing.view.change((e=>{e.setStyle({width:l[0],height:l[1],left:l[2],top:l[3]},r)}))}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,i=(n=e).pageX,o=n.pageY;var n;const r=!this._options.isCentered||this._options.isCentered(this),s={x:t._referenceCoordinates.x-(i+t.originalWidth),y:o-t.originalHeight-t._referenceCoordinates.y};r&&t.activeHandlePosition.endsWith("-right")&&(s.x=i-(t._referenceCoordinates.x+t.originalWidth)),r&&(s.x*=2);let a=Math.abs(t.originalWidth+s.x),l=Math.abs(t.originalHeight+s.y);return"width"==(a/t.aspectRatio>l?"width":"height")?l=a/t.aspectRatio:a=l*t.aspectRatio,{width:Math.round(a),height:Math.round(l),widthPercents:Math.min(Math.round(t.originalWidthPercents/t.originalWidth*a*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 o of t)e.appendChild(new a.Template({tag:"div",attributes:{class:"ck-widget__resizer__handle "+(i=o,`ck-widget__resizer__handle-${i}`)}}).render());var i}_appendSizeUI(e){this._sizeView=new ee,this._sizeView.render(),e.appendChild(this._sizeView.element)}}var ie=i(111),oe=i(4875),ne={attributes:{"data-cke":!0}};ne.setAttributes=z(),ne.insert=B().bind(null,"head"),ne.domAPI=R(),ne.insertStyleElement=D(),I()(oe.Z,ne),oe.Z&&oe.Z.locals&&oe.Z.locals;class re extends o.Plugin{constructor(){super(...arguments),this._resizers=new Map}static get pluginName(){return"WidgetResize"}init(){const e=this.editor.editing,t=s.global.window.document;this.set("selectedResizer",null),this.set("_activeResizer",null),e.view.addObserver(n.MouseObserver),this._observer=new((0,s.DomEmitterMixin)()),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,ie.Z)((()=>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(s.global.window,"resize",this._redrawSelectedResizerThrottled);const i=this.editor.editing.view.document.selection;i.on("change",(()=>{const e=i.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 te(e),i=this.editor.plugins;if(t.attach(),i.has("WidgetToolbarRepository")){const e=i.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 o=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(o)==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 i=t.domTarget;te.isResizeHandle(i)&&(this._activeResizer=this._getResizerByHandle(i)||null,this._activeResizer&&(this._activeResizer.begin(i),e.stop(),t.preventDefault()))}_mouseMoveListener(e,t){this._activeResizer&&this._activeResizer.updateSize(t)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}}},3837:(e,t,i)=>{"use strict";i.d(t,{TU:()=>P,_l:()=>c});var o=i(7578),n=i(1833),r=i(600);class s extends r.DomEventObserver{constructor(e){super(e),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const t=this.document;function i(e){return(i,o)=>{o.preventDefault();const r=o.dropRange?[o.dropRange]:null,s=new n.EventInfo(t,e);t.fire(s,{dataTransfer:o.dataTransfer,method:i.name,targetRanges:r,target:o.target,domEvent:o.domEvent}),s.stop.called&&o.stopPropagation()}}this.listenTo(t,"paste",i("clipboardInput"),{priority:"low"}),this.listenTo(t,"drop",i("clipboardInput"),{priority:"low"}),this.listenTo(t,"dragover",i("dragging"),{priority:"low"})}onDomEvent(e){const t="clipboardData"in e?e.clipboardData:e.dataTransfer,i="drop"==e.type||"paste"==e.type,o={dataTransfer:new r.DataTransfer(t,{cacheFiles:i})};"drop"!=e.type&&"dragover"!=e.type||(o.dropRange=function(e,t){const i=t.target.ownerDocument,o=t.clientX,n=t.clientY;let r;return i.caretRangeFromPoint&&i.caretRangeFromPoint(o,n)?r=i.caretRangeFromPoint(o,n):t.rangeParent&&(r=i.createRange(),r.setStart(t.rangeParent,t.rangeOffset),r.collapse(!0)),r?e.domConverter.domRangeToView(r):null}(this.view,e)),this.fire(e.type,e,o)}}const a=["figcaption","li"];function l(e){let t="";if(e.is("$text")||e.is("$textProxy"))t=e.data;else if(e.is("element","img")&&e.hasAttribute("alt"))t=e.getAttribute("alt");else if(e.is("element","br"))t="\n";else{let i=null;for(const o of e.getChildren()){const e=l(o);i&&(i.is("containerElement")||o.is("containerElement"))&&(a.includes(i.name)||a.includes(o.name)?t+="\n":t+="\n\n"),t+=e,i=o}}return t}class c extends o.Plugin{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(s),this._setupPasteDrop(),this._setupCopyCut()}_setupPasteDrop(){const e=this.editor,t=e.model,i=e.editing.view,o=i.document;this.listenTo(o,"clipboardInput",((t,i)=>{"paste"!=i.method||e.model.canEditAt(e.model.document.selection)||t.stop()}),{priority:"highest"}),this.listenTo(o,"clipboardInput",((e,t)=>{const o=t.dataTransfer;let r;if(t.content)r=t.content;else{let e="";o.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,"")}(o.getData("text/html")):o.getData("text/plain")&&(((s=(s=o.getData("text/plain")).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/^\s/,"&nbsp;").replace(/\s$/,"&nbsp;").replace(/\s\s/g," &nbsp;")).includes("</p><p>")||s.includes("<br>"))&&(s=`<p>${s}</p>`),e=s),r=this.editor.data.htmlProcessor.toView(e)}var s;const a=new n.EventInfo(this,"inputTransformation");this.fire(a,{content:r,dataTransfer:o,targetRanges:t.targetRanges,method:t.method}),a.stop.called&&e.stop(),i.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((e,i)=>{if(i.content.isEmpty)return;const o=this.editor.data.toModel(i.content,"$clipboardHolder");0!=o.childCount&&(e.stop(),t.change((()=>{this.fire("contentInsertion",{content:o,method:i.method,dataTransfer:i.dataTransfer,targetRanges:i.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((e,i)=>{i.resultRange=t.insertContent(i.content)}),{priority:"low"})}_setupCopyCut(){const e=this.editor,t=e.model.document,i=e.editing.view.document,o=(o,n)=>{const r=n.dataTransfer;n.preventDefault();const s=e.data.toView(e.model.getSelectedContent(t.selection));i.fire("clipboardOutput",{dataTransfer:r,content:s,method:o.name})};this.listenTo(i,"copy",o,{priority:"low"}),this.listenTo(i,"cut",((t,i)=>{e.model.canEditAt(e.model.document.selection)?o(t,i):i.preventDefault()}),{priority:"low"}),this.listenTo(i,"clipboardOutput",((i,o)=>{o.content.isEmpty||(o.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",l(o.content))),"cut"==o.method&&e.model.deleteContent(t.selection)}),{priority:"low"})}}var d=i(4156),u=i(111),h=i(3379),m=i.n(h),g=i(9037),p=i.n(g),f=i(569),b=i.n(f),w=i(8575),k=i.n(w),_=i(9216),v=i.n(_),y=i(799),C={attributes:{"data-cke":!0}};C.setAttributes=k(),C.insert=b().bind(null,"head"),C.domAPI=p(),C.insertStyleElement=v(),m()(y.Z,C),y.Z&&y.Z.locals&&y.Z.locals;class x extends o.Plugin{static get pluginName(){return"DragDrop"}static get requires(){return[c,d.Widget]}init(){const e=this.editor,t=e.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,this._updateDropMarkerThrottled=(0,u.Z)((e=>this._updateDropMarker(e)),40),this._removeDropMarkerDelayed=(0,n.delay)((()=>this._removeDropMarker()),40),this._clearDraggableAttributesDelayed=(0,n.delay)((()=>this._clearDraggableAttributes()),40),e.plugins.has("DragDropExperimental")?this.forceDisabled("DragDropExperimental"):(t.addObserver(s),t.addObserver(r.MouseObserver),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDropMarker(),this._setupDraggableAttributeHandling(),this.listenTo(e,"change:isReadOnly",((e,t,i)=>{i?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((e,t,i)=>{i||this._finalizeDragging(!1)})),n.env.isAndroid&&this.forceDisabled("noAndroidSupport"))}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._updateDropMarkerThrottled.cancel(),this._removeDropMarkerDelayed.cancel(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const e=this.editor,t=e.model,i=t.document,o=e.editing.view,s=o.document;this.listenTo(s,"dragstart",((o,a)=>{const l=i.selection;if(a.target&&a.target.is("editableElement"))return void a.preventDefault();const c=a.target?T(a.target):null;if(c){const i=e.editing.mapper.toModelElement(c);this._draggedRange=r.LiveRange.fromRange(t.createRangeOn(i)),e.plugins.has("WidgetToolbarRepository")&&e.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}else if(!s.selection.isCollapsed){const e=s.selection.getSelectedElement();e&&(0,d.isWidget)(e)||(this._draggedRange=r.LiveRange.fromRange(l.getFirstRange()))}if(!this._draggedRange)return void a.preventDefault();this._draggingUid=(0,n.uid)();const u=this.isEnabled&&e.model.canEditAt(this._draggedRange);a.dataTransfer.effectAllowed=u?"copyMove":"copy",a.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const h=t.createSelection(this._draggedRange.toRange()),m=e.data.toView(t.getSelectedContent(h));s.fire("clipboardOutput",{dataTransfer:a.dataTransfer,content:m,method:"dragstart"}),u||(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.listenTo(s,"dragenter",(()=>{this.isEnabled&&o.focus()})),this.listenTo(s,"dragleave",(()=>{this._removeDropMarkerDelayed()})),this.listenTo(s,"dragging",((t,i)=>{if(!this.isEnabled)return void(i.dataTransfer.dropEffect="none");this._removeDropMarkerDelayed.cancel();const o=A(e,i.targetRanges,i.target);e.model.canEditAt(o)?(this._draggedRange||(i.dataTransfer.dropEffect="copy"),n.env.isGecko||("copy"==i.dataTransfer.effectAllowed?i.dataTransfer.dropEffect="copy":["all","copyMove"].includes(i.dataTransfer.effectAllowed)&&(i.dataTransfer.dropEffect="move")),o&&this._updateDropMarkerThrottled(o)):i.dataTransfer.dropEffect="none"}),{priority:"low"})}_setupClipboardInputIntegration(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"clipboardInput",((t,i)=>{if("drop"!=i.method)return;const o=A(e,i.targetRanges,i.target);return this._removeDropMarker(),o&&e.model.canEditAt(o)?(this._draggedRange&&this._draggingUid!=i.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==E(i.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(o,!0)?(this._finalizeDragging(!1),void t.stop()):void(i.targetRanges=[e.editing.mapper.toViewRange(o)])):(this._finalizeDragging(!1),void t.stop())}),{priority:"high"})}_setupContentInsertionIntegration(){const e=this.editor.plugins.get(c);e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const i=t.targetRanges.map((e=>this.editor.editing.mapper.toModelRange(e)));this.editor.model.change((e=>e.setSelection(i)))}),{priority:"high"}),e.on("contentInsertion",((e,t)=>{if(!this.isEnabled||"drop"!==t.method)return;const i="move"==E(t.dataTransfer),o=!t.resultRange||!t.resultRange.isCollapsed;this._finalizeDragging(o&&i)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const e=this.editor,t=e.editing.view,i=t.document;this.listenTo(i,"mousedown",((o,r)=>{if(n.env.isAndroid||!r)return;this._clearDraggableAttributesDelayed.cancel();let s=T(r.target);if(n.env.isBlink&&!s&&!i.selection.isCollapsed){const e=i.selection.getSelectedElement();if(!e||!(0,d.isWidget)(e)){const e=i.selection.editableElement;e&&!e.isReadOnly&&(s=e)}}s&&(t.change((e=>{e.setAttribute("draggable","true",s)})),this._draggableElement=e.editing.mapper.toModelElement(s))})),this.listenTo(i,"mouseup",(()=>{n.env.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}))}_setupDropMarker(){const e=this.editor;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:i})=>{if(e.model.schema.checkChild(t.markerRange.start,"$text"))return i.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(e){const t=this.toDomElement(e);return t.append("⁠",e.createElement("span"),"⁠"),t}))}})}_updateDropMarker(e){const t=this.editor,i=t.model.markers;t.model.change((t=>{i.has("drop-target")?i.get("drop-target").getRange().isEqual(e)||t.updateMarker("drop-target",{range:e}):t.addMarker("drop-target",{range:e,usingOperation:!1,affectsData:!1})}))}_removeDropMarker(){const e=this.editor.model;this._removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),e.markers.has("drop-target")&&e.change((e=>{e.removeMarker("drop-target")}))}_finalizeDragging(e){const t=this.editor,i=t.model;this._removeDropMarker(),this._clearDraggableAttributes(),t.plugins.has("WidgetToolbarRepository")&&t.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._draggedRange&&(e&&this.isEnabled&&i.deleteContent(i.createSelection(this._draggedRange),{doNotAutoparagraph:!0}),this._draggedRange.detach(),this._draggedRange=null)}}function A(e,t,i){const o=e.model,r=e.editing.mapper;let s=null;const a=t?t[0].start:null;if(i.is("uiElement")&&(i=i.parent),s=function(e,t){const i=e.model,o=e.editing.mapper;if((0,d.isWidget)(t))return i.createRangeOn(o.toModelElement(t));if(!t.is("editableElement")){const e=t.findAncestor((e=>(0,d.isWidget)(e)||e.is("editableElement")));if((0,d.isWidget)(e))return i.createRangeOn(o.toModelElement(e))}return null}(e,i),s)return s;const l=function(e,t){const i=e.editing.mapper,o=e.editing.view,n=i.toModelElement(t);if(n)return n;const r=o.createPositionBefore(t),s=i.findMappedViewAncestor(r);return i.toModelElement(s)}(e,i),c=a?r.toModelPosition(a):null;return c?(s=function(e,t,i){const o=e.model;if(!o.schema.checkChild(i,"$block"))return null;const n=o.createPositionAt(i,0),r=t.path.slice(0,n.path.length),s=o.createPositionFromPath(t.root,r).nodeAfter;return s&&o.schema.isObject(s)?o.createRangeOn(s):null}(e,c,l),s||(s=o.schema.getNearestSelectionRange(c,n.env.isGecko?"forward":"backward"),s||function(e,t){const i=e.model;let o=t;for(;o;){if(i.schema.isObject(o))return i.createRangeOn(o);o=o.parent}return null}(e,c.parent))):function(e,t){const i=e.model,o=i.schema,n=i.createPositionAt(t,0);return o.getNearestSelectionRange(n,"forward")}(e,l)}function E(e){return n.env.isGecko?e.dropEffect:["all","copyMove"].includes(e.effectAllowed)?"move":"copy"}function T(e){if(e.is("editableElement"))return null;if(e.hasClass("ck-widget__selection-handle"))return e.findAncestor(d.isWidget);if((0,d.isWidget)(e))return e;const t=e.findAncestor((e=>(0,d.isWidget)(e)||e.is("editableElement")));return(0,d.isWidget)(t)?t:null}class S extends o.Plugin{static get pluginName(){return"PastePlainText"}static get requires(){return[c]}init(){const e=this.editor,t=e.model,i=e.editing.view,o=i.document,n=t.document.selection;let r=!1;i.addObserver(s),this.listenTo(o,"keydown",((e,t)=>{r=t.shiftKey})),e.plugins.get(c).on("contentInsertion",((e,i)=>{(r||function(e,t){if(e.childCount>1)return!1;const i=e.getChild(0);return!t.isObject(i)&&0==Array.from(i.getAttributeKeys()).length}(i.content,t.schema))&&t.change((e=>{const o=Array.from(n.getAttributes()).filter((([e])=>t.schema.getAttributeProperties(e).isFormatting));n.isCollapsed||t.deleteContent(n,{doNotAutoparagraph:!0}),o.push(...n.getAttributes());const r=e.createRangeIn(i.content);for(const t of r.getItems())t.is("$textProxy")&&e.setAttributes(o,t)}))}))}}class P extends o.Plugin{static get pluginName(){return"Clipboard"}static get requires(){return[c,x,S]}}i(7230),(0,n.toUnit)("px")},6854:(e,t,i)=>{"use strict";i.d(t,{AJ:()=>o.MultiCommand,ML:()=>o.Editor,P$:()=>o.attachToForm,Sy:()=>o.Plugin,W9:()=>o.DataApiMixin,_y:()=>o.Context,icons:()=>o.icons,lR:()=>o.PendingActions,mY:()=>o.Command,xK:()=>o.ElementApiMixin});var o=i(7578)},3291:(e,t,i)=>{"use strict";i.d(t,{$_:()=>o.hidePlaceholder,D5:()=>o.isColor,G9:()=>o.isLength,ID:()=>o.enablePlaceholder,J8:()=>o.addPaddingRules,KU:()=>o.ClickObserver,NJ:()=>o.showPlaceholder,Po:()=>o.TreeWalker,Q7:()=>o.needsPlaceholder,QR:()=>o.addBackgroundRules,Qj:()=>o.Observer,Ux:()=>o.ViewDocument,W_:()=>o.Element,YG:()=>o.getFillerOffset,dM:()=>o.MouseObserver,iE:()=>o.LiveRange,jP:()=>o.LivePosition,pG:()=>o.DomConverter,qD:()=>o.DowncastWriter,qZ:()=>o.DomEventObserver,sI:()=>o.addBorderRules,vt:()=>o.addMarginRules,xO:()=>o.Matcher,yj:()=>o.UpcastWriter,zz:()=>o.isPercentage});var o=i(600)},1863:(e,t,i)=>{"use strict";i.d(t,{C:()=>o.C,G:()=>o.G});var o=i(5725)},5187:(e,t,i)=>{"use strict";i.d(t,{HG:()=>o.HG,II:()=>o.II,Im:()=>o.Im,Mq:()=>o.Mq,Up:()=>o.Up,VD:()=>o.VD,mh:()=>o.mh,uL:()=>o.uL});var o=i(3701)},7095:(e,t,i)=>{"use strict";i.d(t,{$y:()=>o.ToolbarSeparatorView,BM:()=>o.SwitchButtonView,Bv:()=>o.ListView,Dn:()=>o.LabelView,FH:()=>o.createLabeledDropdown,G7:()=>o.View,GI:()=>o.submitHandler,Gp:()=>o.FormHeaderView,Hn:()=>o.Model,I0:()=>o.FocusCycler,IJ:()=>o.addKeyboardHandlingForGrid,J0:()=>o.DropdownButtonView,J2:()=>o.ColorPickerView,J6:()=>o.ColorGridView,KP:()=>o.LabeledFieldView,Mh:()=>o.focusChildOnDropdownOpen,P_:()=>o.Notification,Pm:()=>o.addListToDropdown,R:()=>o.createLabeledInputText,RX:()=>o.CssTransitionDisablerMixin,Rm:()=>o.SplitButtonView,S1:()=>o.normalizeColorOptions,S8:()=>o.EditorUI,WB:()=>o.ContextualBalloon,YS:()=>o.Template,_9:()=>o.ColorTileView,ci:()=>o.icons,dn:()=>o.ListItemView,eC:()=>o.clickOutsideHandler,iw:()=>o.normalizeToolbarConfig,jB:()=>o.ToolbarView,k6:()=>o.getLocalizedColorOptions,lp:()=>o.StickyPanelView,no:()=>o.BalloonPanelView,pq:()=>o.InputTextView,py:()=>o.BoxedEditorUIView,r1:()=>o.InlineEditableUIView,r5:()=>o.ButtonView,sh:()=>o.createLabeledInputNumber,t9:()=>o.createDropdown,up:()=>o.addToolbarToDropdown,vX:()=>o.ViewCollection});var o=i(7230)},1903:(e,t,i)=>{"use strict";i.d(t,{WP:()=>o.Undo});var o=i(8779)},6553:(e,t,i)=>{"use strict";i.d(t,{Bb:()=>o.CKEditorError,CO:()=>o.global,Cq:()=>o.getCode,Do:()=>o.keyCodes,FE:()=>o.Collection,KE:()=>o.logWarning,OB:()=>o.env,Ps:()=>o.first,Re:()=>o.ObservableMixin,Rh:()=>o.FocusTracker,UL:()=>o.Rect,VD:()=>o.KeystrokeHandler,Xu:()=>o.DomEmitterMixin,Zz:()=>o.parseKeystroke,a6:()=>o.ElementReplacer,az:()=>o.createElement,hQ:()=>o.uid,mA:()=>o.getLocalizedArrowKeyCodeDirection,qL:()=>o.toMap,qo:()=>o.toArray,tA:()=>o.priorities,yy:()=>o.getDataFromElement});var o=i(1833)},5549:(e,t,i)=>{"use strict";i.d(t,{$L:()=>o.Widget,KT:()=>o.findOptimalInsertionRange,Qd:()=>o.isWidget,WR:()=>o.WidgetResize,XC:()=>o.toWidget,e8:()=>o.WidgetToolbarRepository,sC:()=>o.toWidgetEditable});var o=i(4156)},8168:(e,t,i)=>{const o=i(8874),n={};for(const e of Object.keys(o))n[o[e]]=e;const r={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=r;for(const e of Object.keys(r)){if(!("channels"in r[e]))throw new Error("missing channels property: "+e);if(!("labels"in r[e]))throw new Error("missing channel labels property: "+e);if(r[e].labels.length!==r[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:i}=r[e];delete r[e].channels,delete r[e].labels,Object.defineProperty(r[e],"channels",{value:t}),Object.defineProperty(r[e],"labels",{value:i})}r.rgb.hsl=function(e){const t=e[0]/255,i=e[1]/255,o=e[2]/255,n=Math.min(t,i,o),r=Math.max(t,i,o),s=r-n;let a,l;r===n?a=0:t===r?a=(i-o)/s:i===r?a=2+(o-t)/s:o===r&&(a=4+(t-i)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(n+r)/2;return l=r===n?0:c<=.5?s/(r+n):s/(2-r-n),[a,100*l,100*c]},r.rgb.hsv=function(e){let t,i,o,n,r;const s=e[0]/255,a=e[1]/255,l=e[2]/255,c=Math.max(s,a,l),d=c-Math.min(s,a,l),u=function(e){return(c-e)/6/d+.5};return 0===d?(n=0,r=0):(r=d/c,t=u(s),i=u(a),o=u(l),s===c?n=o-i:a===c?n=1/3+t-o:l===c&&(n=2/3+i-t),n<0?n+=1:n>1&&(n-=1)),[360*n,100*r,100*c]},r.rgb.hwb=function(e){const t=e[0],i=e[1];let o=e[2];const n=r.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(i,o));return o=1-1/255*Math.max(t,Math.max(i,o)),[n,100*s,100*o]},r.rgb.cmyk=function(e){const t=e[0]/255,i=e[1]/255,o=e[2]/255,n=Math.min(1-t,1-i,1-o);return[100*((1-t-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*n]},r.rgb.keyword=function(e){const t=n[e];if(t)return t;let i,r=1/0;for(const t of Object.keys(o)){const n=(a=o[t],((s=e)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);n<r&&(r=n,i=t)}var s,a;return i},r.keyword.rgb=function(e){return o[e]},r.rgb.xyz=function(e){let t=e[0]/255,i=e[1]/255,o=e[2]/255;return t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,[100*(.4124*t+.3576*i+.1805*o),100*(.2126*t+.7152*i+.0722*o),100*(.0193*t+.1192*i+.9505*o)]},r.rgb.lab=function(e){const t=r.rgb.xyz(e);let i=t[0],o=t[1],n=t[2];return i/=95.047,o/=100,n/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*o-16,500*(i-o),200*(o-n)]},r.hsl.rgb=function(e){const t=e[0]/360,i=e[1]/100,o=e[2]/100;let n,r,s;if(0===i)return s=255*o,[s,s,s];n=o<.5?o*(1+i):o+i-o*i;const a=2*o-n,l=[0,0,0];for(let e=0;e<3;e++)r=t+1/3*-(e-1),r<0&&r++,r>1&&r--,s=6*r<1?a+6*(n-a)*r:2*r<1?n:3*r<2?a+(n-a)*(2/3-r)*6:a,l[e]=255*s;return l},r.hsl.hsv=function(e){const t=e[0];let i=e[1]/100,o=e[2]/100,n=i;const r=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,n*=r<=1?r:2-r,[t,100*(0===o?2*n/(r+n):2*i/(o+i)),(o+i)/2*100]},r.hsv.rgb=function(e){const t=e[0]/60,i=e[1]/100;let o=e[2]/100;const n=Math.floor(t)%6,r=t-Math.floor(t),s=255*o*(1-i),a=255*o*(1-i*r),l=255*o*(1-i*(1-r));switch(o*=255,n){case 0:return[o,l,s];case 1:return[a,o,s];case 2:return[s,o,l];case 3:return[s,a,o];case 4:return[l,s,o];case 5:return[o,s,a]}},r.hsv.hsl=function(e){const t=e[0],i=e[1]/100,o=e[2]/100,n=Math.max(o,.01);let r,s;s=(2-i)*o;const a=(2-i)*n;return r=i*n,r/=a<=1?a:2-a,r=r||0,s/=2,[t,100*r,100*s]},r.hwb.rgb=function(e){const t=e[0]/360;let i=e[1]/100,o=e[2]/100;const n=i+o;let r;n>1&&(i/=n,o/=n);const s=Math.floor(6*t),a=1-o;r=6*t-s,0!=(1&s)&&(r=1-r);const l=i+r*(a-i);let c,d,u;switch(s){default:case 6:case 0:c=a,d=l,u=i;break;case 1:c=l,d=a,u=i;break;case 2:c=i,d=a,u=l;break;case 3:c=i,d=l,u=a;break;case 4:c=l,d=i,u=a;break;case 5:c=a,d=i,u=l}return[255*c,255*d,255*u]},r.cmyk.rgb=function(e){const t=e[0]/100,i=e[1]/100,o=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]},r.xyz.rgb=function(e){const t=e[0]/100,i=e[1]/100,o=e[2]/100;let n,r,s;return n=3.2406*t+-1.5372*i+-.4986*o,r=-.9689*t+1.8758*i+.0415*o,s=.0557*t+-.204*i+1.057*o,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,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),[255*n,255*r,255*s]},r.xyz.lab=function(e){let t=e[0],i=e[1],o=e[2];return t/=95.047,i/=100,o/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*i-16,500*(t-i),200*(i-o)]},r.lab.xyz=function(e){let t,i,o;i=(e[0]+16)/116,t=e[1]/500+i,o=i-e[2]/200;const n=i**3,r=t**3,s=o**3;return i=n>.008856?n:(i-16/116)/7.787,t=r>.008856?r:(t-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,t*=95.047,i*=100,o*=108.883,[t,i,o]},r.lab.lch=function(e){const t=e[0],i=e[1],o=e[2];let n;return n=360*Math.atan2(o,i)/2/Math.PI,n<0&&(n+=360),[t,Math.sqrt(i*i+o*o),n]},r.lch.lab=function(e){const t=e[0],i=e[1],o=e[2]/360*2*Math.PI;return[t,i*Math.cos(o),i*Math.sin(o)]},r.rgb.ansi16=function(e,t=null){const[i,o,n]=e;let s=null===t?r.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(n/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){const t=e[0],i=e[1],o=e[2];return t===i&&i===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},r.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 i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},r.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},r.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},r.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 i=t[0];3===t[0].length&&(i=i.split("").map((e=>e+e)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},r.rgb.hcg=function(e){const t=e[0]/255,i=e[1]/255,o=e[2]/255,n=Math.max(Math.max(t,i),o),r=Math.min(Math.min(t,i),o),s=n-r;let a,l;return a=s<1?r/(1-s):0,l=s<=0?0:n===t?(i-o)/s%6:n===i?2+(o-t)/s:4+(t-i)/s,l/=6,l%=1,[360*l,100*s,100*a]},r.hsl.hcg=function(e){const t=e[1]/100,i=e[2]/100,o=i<.5?2*t*i:2*t*(1-i);let n=0;return o<1&&(n=(i-.5*o)/(1-o)),[e[0],100*o,100*n]},r.hsv.hcg=function(e){const t=e[1]/100,i=e[2]/100,o=t*i;let n=0;return o<1&&(n=(i-o)/(1-o)),[e[0],100*o,100*n]},r.hcg.rgb=function(e){const t=e[0]/360,i=e[1]/100,o=e[2]/100;if(0===i)return[255*o,255*o,255*o];const n=[0,0,0],r=t%1*6,s=r%1,a=1-s;let l=0;switch(Math.floor(r)){case 0:n[0]=1,n[1]=s,n[2]=0;break;case 1:n[0]=a,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=s;break;case 3:n[0]=0,n[1]=a,n[2]=1;break;case 4:n[0]=s,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=a}return l=(1-i)*o,[255*(i*n[0]+l),255*(i*n[1]+l),255*(i*n[2]+l)]},r.hcg.hsv=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);let o=0;return i>0&&(o=t/i),[e[0],100*o,100*i]},r.hcg.hsl=function(e){const t=e[1]/100,i=e[2]/100*(1-t)+.5*t;let o=0;return i>0&&i<.5?o=t/(2*i):i>=.5&&i<1&&(o=t/(2*(1-i))),[e[0],100*o,100*i]},r.hcg.hwb=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},r.hwb.hcg=function(e){const t=e[1]/100,i=1-e[2]/100,o=i-t;let n=0;return o<1&&(n=(i-o)/(1-o)),[e[0],100*o,100*n]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=function(e){return[0,0,e[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},2085:(e,t,i)=>{const o=i(8168),n=i(4111),r={};Object.keys(o).forEach((e=>{r[e]={},Object.defineProperty(r[e],"channels",{value:o[e].channels}),Object.defineProperty(r[e],"labels",{value:o[e].labels});const t=n(e);Object.keys(t).forEach((i=>{const o=t[i];r[e][i]=function(e){const t=function(...t){const i=t[0];if(null==i)return i;i.length>1&&(t=i);const o=e(t);if("object"==typeof o)for(let e=o.length,t=0;t<e;t++)o[t]=Math.round(o[t]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}(o),r[e][i].raw=function(e){const t=function(...t){const i=t[0];return null==i?i:(i.length>1&&(t=i),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)}))})),e.exports=r},4111:(e,t,i)=>{const o=i(8168);function n(e,t){return function(i){return t(e(i))}}function r(e,t){const i=[t[e].parent,e];let r=o[t[e].parent][e],s=t[e].parent;for(;t[s].parent;)i.unshift(t[s].parent),r=n(o[t[s].parent][s],r),s=t[s].parent;return r.conversion=i,r}e.exports=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(o);for(let i=t.length,o=0;o<i;o++)e[t[o]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;){const e=i.pop(),n=Object.keys(o[e]);for(let o=n.length,r=0;r<o;r++){const o=n[r],s=t[o];-1===s.distance&&(s.distance=t[e].distance+1,s.parent=e,i.unshift(o))}}return t}(e),i={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){const e=n[o];null!==t[e].parent&&(i[e]=r(e,t))}return i}},8874: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]}},5363:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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=s},3789:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());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 a=s},799:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}',""]);const a=s},3229:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},3624:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=s},7372:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}",""]);const a=s},5037:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}",""]);const a=s},8915:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck .ck-button.ck-color-table__color-picker,.ck .ck-button.ck-color-table__remove-color{align-items:center;display:flex;width:100%}[dir=rtl] .ck .ck-button.ck-color-table__color-picker,[dir=rtl] .ck .ck-button.ck-color-table__remove-color{justify-content:flex-start}.ck .ck-button.ck-color-table__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-button.ck-color-table__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck .ck-button.ck-color-table__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck .ck-button.ck-color-table__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-picker{padding:8px}.ck.ck-color-picker .hex-color-picker{height:100px;margin:0 0 var(--ck-spacing-large) 0}.ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-table_action-bar{display:flex;flex-direction:row;justify-content:space-around;padding:0 8px 8px}.ck.ck-color-table_action-bar .ck-button-cancel,.ck.ck-color-table_action-bar .ck-button-save{flex:1}.ck .ck-button.ck-color-table__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck .ck-button.ck-color-table__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-base-border)}[dir=ltr] .ck .ck-button.ck-color-table__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck .ck-button.ck-color-table__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard)}",""]);const a=s},5991:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},4249:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}",""]);const a=s},7263:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},9893:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},7319:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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]{-webkit-text-fill-color:var(--ck-html-embed-source-disabled-color);background:var(--ck-html-embed-source-disabled-background);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 a=s},2430:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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;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-inline.ck-widget_selected,.ck.ck-editor__editable .image.ck-widget_selected{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}",""]);const a=s},2423:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-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}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}",""]);const a=s},8879:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-image-insert__panel{padding:var(--ck-spacing-large)}.ck.ck-image-insert__ck-finder-button{border:1px solid #ccc;border-radius:var(--ck-border-radius);display:block;margin:var(--ck-spacing-standard) auto;width:100%}.ck.ck-splitbutton>.ck-file-dialog-button.ck-button{border:none;margin:0;padding:0}",""]);const a=s},8340:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-image-insert-form:focus{outline:none}.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-image-insert-form__action-row{margin-top:var(--ck-spacing-standard)}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const a=s},2400:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".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 a=s},3534:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.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 a=s},1547:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}@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 a=s},6618:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},2926:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},5269:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},3925:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},7536:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},4874:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-link-form{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:var(--ck-spacing-standard) 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=s},4330:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r),a=i(1667),l=i.n(a),c=new URL(i(8491),i.b),d=s()(n()),u=l()(c);d.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(${u});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 h=d},5782:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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;padding:var(--ck-spacing-medium) var(--ck-spacing-large);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:0 var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}",""]);const a=s},3190:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}",""]);const a=s},4784:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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 a=s},9938:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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 a=s},2591:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.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 a=s},9292:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px}.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 .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,background .25s ease-in-out,border .25s ease-in-out;width:100%}.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}[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable .todo-list .todo-list__label>input{cursor:pointer}.ck-editor__editable .todo-list .todo-list__label>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}',""]);const a=s},8544:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());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},9139:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());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},9953:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},7502:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},6908:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},468:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},2510:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},1111:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-table-caption-background:#f7f7f7;--ck-color-table-caption-text:#333;--ck-color-table-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-table-caption-background);caption-side:top;color:var(--ck-color-table-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.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-table-caption-highlighted-background)}to{background-color:var(--ck-color-table-caption-background)}}",""]);const a=s},3964:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},7176:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-table-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:-999999px;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:-999999px;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-table-column-resizer-hover);opacity:.25}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}",""]);const a=s},8361:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,":root{--ck-color-table-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-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}",""]);const a=s},9429:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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 a=s},6596:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},1546:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},4971:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;justify-content:left;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.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}.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{font-weight:700;opacity:.7}.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-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[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-small);margin-right:calc(var(--ck-spacing-small)*-1)}.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 a=s},7258:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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)}.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=s},4923:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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{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;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-table__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.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{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.ck-on .ck.ck-icon{display:block}.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: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)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}",""]);const a=s},4257:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}",""]);const a=s},5062:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-modal)}.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-modal) + 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}",""]);const a=s},1883:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},4791:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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 a=s},2704:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},9847:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}",""]);const a=s},1874:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}:root{--ck-form-header-height:38px}.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)}.ck.ck-form__header .ck-form__header__label{font-weight:700}",""]);const a=s},1977:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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.ck-icon{font-size:.8333350694em;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=s},2470:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.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)}.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=s},3525:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}",""]);const a=s},2933:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right: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;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.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>.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)>.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>.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)>.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>.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)>.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 a=s},179:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*.4*var(--ck-font-size-base));text-align:left;width:100%}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}",""]);const a=s},4460:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-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 a=s},7592:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},6356:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 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=s},3707:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.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=s},6603:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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-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=s},4176:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},4768:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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{align-self:stretch;background:var(--ck-color-toolbar-border);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=s},3888:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.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{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}",""]);const a=s},5167:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.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-modal) - 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-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-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{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.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=s},7153:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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)}.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{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;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)}.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)}.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=s},4875:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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=s},2347:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.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)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.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}.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=s},7558:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-content blockquote{font-style:normal;padding-left:10px}.ck.ck-content blockquote>:first-child{margin-top:10px}.ck.ck-content blockquote>:last-child{margin-bottom:15px}.ck.ck-content blockquote:before{content:attr(data-source);display:block;margin:15px 0 10px}",""]);const a=s},3855:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-woltlabblockquote-insert-form:focus{outline:none}.ck.ck-woltlabblockquote-insert-form{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-woltlabblockquote-insert-form>:not(.ck-label){flex-grow:1}.ck.ck-woltlabblockquote-insert-form__action-row{padding:0}.ck.ck-woltlabblockquote-insert-form__action-row .ck-button-cancel,.ck.ck-woltlabblockquote-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-woltlabblockquote-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const a=s},1857:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck.ck-woltlabcodeblock-insert-form:focus{outline:none}.ck.ck-woltlabcodeblock-insert-form{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-woltlabcodeblock-insert-form>:not(.ck-label){flex-grow:1}.ck.ck-woltlabcodeblock-insert-form__action-row{padding:0}.ck.ck-woltlabcodeblock-insert-form__action-row .ck-button-cancel,.ck.ck-woltlabcodeblock-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-woltlabcodeblock-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}",""]);const a=s},1491:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,".ck .ck-widget.smiley{pointer-events:none}",""]);const a=s},5151:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(3645),s=i.n(r)()(n());s.push([e.id,'.ck.ck-content .ck-woltlabspoiler{margin-top:var(--ck-spacing-large);padding:5px 5px 5px 15px;position:relative}.ck.ck-content .ck-woltlabspoiler:after{border:5px solid #ccc;border-right-width:0;bottom:1px;content:"";left:1px;position:absolute;top:1px;width:5px}.ck.ck-content .ck-woltlabspoiler__title{column-gap:10px;display:flex}.ck.ck-content .ck-woltlabspoiler__title:before{align-self:center;color:#999;content:attr(data-label)}',""]);const a=s},3645: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 s={};if(o)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);o&&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),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},1667: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}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},8217:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o='<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>'},2151:(e,t,i)=>{"use strict";var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(6603),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g),m.Z&&m.Z.locals&&m.Z.locals},1627:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(7558),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},1158:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(3855),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},8375:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(1857),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},2997:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(1491),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},5025:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var o=i(3379),n=i.n(o),r=i(9037),s=i.n(r),a=i(569),l=i.n(a),c=i(8575),d=i.n(c),u=i(9216),h=i.n(u),m=i(5151),g={attributes:{"data-cke":!0}};g.setAttributes=d(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m.Z,g);const p=m.Z&&m.Z.locals?m.Z.locals:void 0},3379: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={},s=[],a=0;a<e.length;a++){var l=e[a],c=o.base?l[0]+o.base:l[0],d=r[c]||0,u="".concat(c," ").concat(d);r[c]=d+1;var h=i(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)t[h].references++,t[h].updater(m);else{var g=n(m,o);o.byIndex=a,t.splice(a,0,{identifier:u,updater:g,references:1})}s.push(u)}return s}function n(e,t){var i=t.domAPI(t);return i.update(e),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 s=0;s<r.length;s++){var a=i(r[s]);t[a].references--}for(var l=o(e,n),c=0;c<r.length;c++){var d=i(r[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=l}}},569: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)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},8575:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},9037: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 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(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var a=document.createTextNode(r),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(a,l[t]):e.appendChild(a)}}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)}}}},366:(e,t,i)=>{var o,n;o=[i,t,i(511),i(6549),i(1214),i(4210),i(9998),i(7578),i(1184),i(1638),i(1281),i(4507),i(128),i(4195),i(8428),i(9211),i(3531),i(9920),i(5114),i(9829),i(4690),i(7682),i(9501),i(8497),i(8779),i(766),i(9910),i(2823),i(8029),i(3706),i(5600),i(8206),i(5825),i(9782),i(4201),i(7080),i(8427),i(5469),i(9402),i(8152)],n=function(e,t,i,o,n,r,s,a,l,c,d,u,h,m,g,p,f,b,w,k,_,v,y,C,x,A,E,T,S,P,I,V,R,O,B,M,z,N,D,L){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;const F={plugins:[o.Autosave,c.Essentials,f.Indent,k.Mention,_.Paragraph,v.PasteFromOffice,x.Undo,i.Alignment,n.Bold,n.Code,d.FontColor,d.FontFamily,d.FontSize,u.Heading,h.Highlight,n.Italic,y.RemoveFormat,n.Strikethrough,n.Subscript,n.Superscript,n.Underline,r.BlockQuote,s.CodeBlock,m.HtmlEmbed,g.HorizontalLine,p.Image,p.ImageInsertUI,p.ImageToolbar,p.ImageStyle,p.ImageUpload,p.ImageUploadUI,b.Link,b.LinkImage,w.List,C.Table,C.TableToolbar,A.WoltlabAttachment,E.WoltlabAutosave,S.WoltlabBlockQuote,T.WoltlabBbcode,P.WoltlabCode,I.WoltlabCodeBlock,V.WoltlabImage,R.WoltlabMagicParagraph,O.WoltlabMedia,B.WoltlabMention,M.WoltlabMetacode,z.WoltlabSmiley,N.WoltlabSpoiler,D.WoltlabToolbarGroup,L.WoltlabUpload]};t.create=async function(e,t){const i=(t=Object.assign(t,F)).removePlugins||[];i.includes("Image")||(t.image={insert:{integrations:["insertImageViaUrl"],type:"inline"},toolbar:["imageStyle:inline","imageStyle:sideLeft","imageStyle:block","imageStyle:side"],styles:{options:["inline",{name:"sideLeft",title:"Left aligned image",icon:a.icons.objectLeft,modelElements:["imageBlock"],className:"image-style-side-left"},"block","side"]}},i.includes("Link")||t.image.toolbar.push("|","linkImage")),i.includes("Table")||(t.table={contentToolbar:["tableColumn","tableRow","mergeTableCells"]});const o=await l.ClassicEditor.create(e,t),n=o.plugins.get(b.AutoLink);return n?.forceDisabled("app.ts"),o}}.apply(t,o),void 0===n||(e.exports=n)},766:(e,t,i)=>{var o,n;o=[i,t,i(4815)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAttachment=void 0,Object.defineProperty(t,"WoltlabAttachment",{enumerable:!0,get:function(){return i.WoltlabAttachment}})}.apply(t,o),void 0===n||(e.exports=n)},4815:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9211)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAttachment=void 0;class n extends i.Plugin{static get pluginName(){return"WoltlabAttachment"}static get requires(){return[o.Image]}init(){const{conversion:e,model:t,plugins:i}=this.editor,{schema:o}=t,n=["imageBlock","imageInline"];n.forEach((e=>{o.extend(e,{allowAttributes:["attachmentId"]})}));const r=new Map([["attachmentId","data-attachment-id"]]);Array.from(r.entries()).forEach((([t,i])=>{e.for("upcast").attributeToAttribute({view:i,model:t}),e.for("downcast").add((e=>{n.forEach((o=>{e.on(`attribute:${t}:${o}`,((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const n=o.writer;let r=o.mapper.toViewElement(t.item);r.is("element","figure")&&(r=r.getChild(0)),r.is("element","img")&&(null!==t.attributeNewValue?(n.setAttribute(i,t.attributeNewValue,r),n.addClass("woltlabAttachment",r)):n.removeAttribute(i,r))}))}))}))})),i.get("ImageUploadEditing").on("uploadComplete",((e,{data:i,imageElement:o})=>{t.change((e=>{e.setAttribute("attachmentId",i["data-attachment-id"],o)}))})),this.#e()}#e(){const e=this.editor.config.get("woltlabAttachment");this.editor.plugins.get("WoltlabMetacode").on("upcast",((t,i)=>{if("attach"!==i.name)return;const o=parseInt(i.attributes[0].toString());if(Number.isNaN(o))return;if(!e.inlineImageIds.includes(o))return;let n=i.attributes[1]?i.attributes[1].toString():"none";"left"!==n&&"right"!==n&&"none"!==n&&(n="none");let r=i.attributes[2];"boolean"!=typeof r&&("string"==typeof r?"true"===r?r=!0:"false"===r?r=!1:(r=parseInt(r),r=!Number.isNaN(r)&&0!==r):r=!1);let s=i.attributes[3];void 0!==s&&/^(100%|\d{2}(\.\d{2})%)$/.test(s.toString())||(s="100%"),s="auto",this.#t(i,e.resolveAttachmentUrl,o,n,r,s)&&t.stop()}))}#t(e,t,i,o,n,r){const{conversionApi:s,data:a}=e,{consumable:l,writer:c}=s,{viewItem:d}=a;let u="imageInline",h={attachmentId:i,src:t(i,n),width:r};"left"===o?(u="imageBlock",h.imageStyle="sideLeft"):"right"===o&&(u="imageBlock",h.imageStyle="side");const m=c.createElement(u);return c.setAttributes(h,m),s.convertChildren(d,m),!!s.safeInsert(m,a.modelCursor)&&(l.consume(d,{name:!0}),s.updateConversionResult(m,a),!0)}}t.WoltlabAttachment=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},9910:(e,t,i)=>{var o,n;o=[i,t,i(6076)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAutosave=void 0,Object.defineProperty(t,"WoltlabAutosave",{enumerable:!0,get:function(){return i.WoltlabAutosave}})}.apply(t,o),void 0===n||(e.exports=n)},6076:(e,t,i)=>{var o,n;o=[i,t,i(6549),i(7578)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabAutosave=void 0;class n extends o.Plugin{static get pluginName(){return"WoltlabAutosave"}static get requires(){return[i.Autosave]}init(){const e=this.editor.plugins.get("PendingActions");e.hasAny=!1,e.on("set:hasAny",(e=>{e.return=!1,e.stop()}),{priority:"highest"})}}t.WoltlabAutosave=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},2823:(e,t,i)=>{var o,n;o=[i,t,i(9800),i(7489)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBbcodeCommand=t.WoltlabBbcode=void 0,Object.defineProperty(t,"WoltlabBbcode",{enumerable:!0,get:function(){return i.WoltlabBbcode}}),Object.defineProperty(t,"WoltlabBbcodeCommand",{enumerable:!0,get:function(){return o.WoltlabBbcodeCommand}})}.apply(t,o),void 0===n||(e.exports=n)},9800:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(7230),i(7489)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBbcode=void 0;class r extends i.Plugin{static get pluginName(){return"WoltlabBbcode"}init(){const{componentFactory:e}=this.editor.ui,t=this.editor.config.get("woltlabBbcode");if(!t)return;const i=new n.default(this.editor);this.editor.commands.add("insertBbcode",i);for(const o of t)this.#i(o,e,i)}#i(e,t,i){const{icon:n,name:r,label:s}=e;t.add(`woltlabBbcode_${r}`,(()=>{const e=new o.ButtonView;if(e.label=s,e.tooltip=!0,e.withText=!0,n)if(n.includes(";")){const[t,i]=n.split(";",2);let o={name:t};"true"===i&&(o.solid="true"),e.labelView.setTemplate({tag:"fa-icon",attributes:o})}else e.labelView.setTemplate({tag:"img",attributes:{src:n}});return e.bind("isEnabled").to(i,"isEnabled"),this.listenTo(e,"execute",(()=>{this.editor.execute("insertBbcode",r)})),e}))}}t.WoltlabBbcode=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},7489:(e,t,i)=>{var o,n;o=[i,t,i(7578)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBbcodeCommand=void 0;class o extends i.Command{execute(e){const{model:t}=this.editor,i=this.editor.sourceElement,o=new CustomEvent("ckeditor5:bbcode",{cancelable:!0,detail:{bbcode:e}});i.dispatchEvent(o),o.defaultPrevented||t.change((i=>{const o=i.createText(`[${e}][/${e}]`);t.insertContent(o),this.editor.editing.view.focus()}))}refresh(){this.isEnabled=this.#o()}#o(){const{document:e,schema:t}=this.editor.model,{selection:i}=e;return!!i.isCollapsed&&t.checkAttributeInSelection(i,"bold")}}t.WoltlabBbcodeCommand=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},8029:(e,t,i)=>{var o,n;o=[i,t,i(4587)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuote=void 0,Object.defineProperty(t,"WoltlabBlockQuote",{enumerable:!0,get:function(){return i.WoltlabBlockQuote}})}.apply(t,o),void 0===n||(e.exports=n)},6812:(e,t,i)=>{var o,n;o=[i,t,i(7230),i(1158)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuoteFormRowView=void 0;class o extends i.View{children;constructor(e,t={}){super(e);const i=this.bindTemplate;this.set("class",t.class||""),this.children=this.createCollection(),t.children&&t.children.forEach((e=>this.children.add(e))),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__row",i.to("class")]},children:this.children})}}t.WoltlabBlockQuoteFormRowView=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},8668:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(7230),i(1833),i(6812)],n=function(e,t,i,o,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuotePanelView=void 0;class s extends o.View{#n;#r;#s;#a;focusTracker;keystrokes;#l;#c;constructor(e){const{locale:t}=e;super(t),this.set("author",""),this.set("link",""),this.focusTracker=new n.FocusTracker,this.keystrokes=new n.KeystrokeHandler,this.#l=new o.ViewCollection,this.#c=this.#d();const i=this.#u(t);this.#s=i.fieldView;const r=this.#h(t);this.#a=r.fieldView,this.#n=this.#m(t),this.#r=this.#g(t),this.#p(t,i,r)}render(){super.render(),(0,o.submitHandler)({view:this});const e=[this.#s,this.#a,this.#n,this.#r];e.forEach((e=>{this.#l.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(e=>e.stopPropagation())),this.keystrokes.set("arrowleft",(e=>e.stopPropagation())),this.keystrokes.set("arrowup",(e=>e.stopPropagation())),this.keystrokes.set("arrowdown",(e=>e.stopPropagation())),this.listenTo(e[0].element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"}),this.on("submit",(()=>{this.fire("execute")}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.#c.focusFirst()}#u(e){const t=e.t,i=new o.LabeledFieldView(e,o.createLabeledInputText);return i.label=t("Author"),i.fieldView.bind("value").to(this,"author",(e=>e||"")),i.fieldView.on("input",(()=>{this.author=i.fieldView.element.value})),i}#h(e){const t=e.t,i=new o.LabeledFieldView(e,o.createLabeledInputText);return i.label=t("Link"),i.fieldView.bind("value").to(this,"link",(e=>e||"")),i.fieldView.on("input",(()=>{this.link=i.fieldView.element.value})),i}#m(e){const t=e.t,n=new o.ButtonView(e);return n.set({label:t("Insert"),icon:i.icons.check,class:"ck-button-save",type:"submit",withText:!0,isEnabled:!0}),n}#g(e){const t=e.t,n=new o.ButtonView(e);return n.set({label:t("Cancel"),icon:i.icons.cancel,class:"ck-button-cancel",withText:!0}),n.delegate("execute").to(this,"cancel"),n}#p(e,t,i){this.setTemplate({tag:"form",attributes:{class:["ck","ck-vertical-form","ck-woltlabblockquote-insert-form"],tabindex:"-1"},children:[t,i,new r.default(e,{children:[this.#n,this.#r],class:"ck-woltlabblockquote-insert-form__action-row"})]})}#d(){return new o.FocusCycler({focusables:this.#l,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}})}}t.WoltlabBlockQuotePanelView=s,t.default=s}.apply(t,o),void 0===n||(e.exports=n)},4587:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(7230),i(1833),i(8668),i(1627)],n=function(e,t,i,o,n,r){"use strict";function s(e){switch(typeof e){case"string":return e;case"number":case"boolean":return e.toString();default:return""}}Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabBlockQuote=void 0;class a extends i.Plugin{#f=void 0;static get pluginName(){return"WoltlabBlockQuote"}init(){const e=this.editor;e.model.schema.extend("blockQuote",{allowAttributes:["author","link"]});const t=e.commands.get("blockQuote");this.#b(t),this.#w(),this.#k(),this.#_(),this.listenTo(t,"execute",(()=>{this.#v(this.#f)}),{priority:"high"})}#b(e){const t=this.editor,n=t.t;this.editor.ui.componentFactory.add("blockQuote",(a=>{const l=(0,o.createDropdown)(a,o.SplitButtonView),c=l.buttonView;c.set({label:n("Block quote"),tooltip:!0,icon:i.icons.quote,isToggleable:!0}),c.bind("isOn").to(e,"value",(e=>!!e)),c.on("execute",(()=>{t.execute("blockQuote"),t.editing.view.focus()})),l.on("submit",(e=>{const i=e.path.find((e=>e instanceof r.WoltlabBlockQuotePanelView));i instanceof r.WoltlabBlockQuotePanelView&&(this.#f=i,t.execute("blockQuote",{forceValue:!0}),this.#f=void 0,t.editing.view.focus(),l.isOpen=!1)})),l.on("cancel",(()=>{t.editing.view.focus(),l.isOpen=!1})),l.bind("isEnabled").to(e);const d=new r.WoltlabBlockQuotePanelView(t);return l.on("change:isOpen",(()=>{if(l.isOpen){const e=this.#y();e?(d.author=s(e.getAttribute("author")),d.link=s(e.getAttribute("link"))):(d.author="",d.link="")}})),l.panelView.children.add(d),d.delegate("submit","cancel").to(l),l}))}#w(){this.editor.data.upcastDispatcher.on("element:woltlab-quote",((e,t,i)=>{const{viewItem:o}=t,{consumable:n,writer:r}=i,s=r.createElement("blockQuote");r.setAttributes({author:o.getAttribute("data-author")||"",link:o.getAttribute("data-link")||""},s),i.convertChildren(o,s),i.safeInsert(s,t.modelCursor)&&(n.consume(o,{name:!0}),i.updateConversionResult(s,t))}),{priority:"high"})}#_(){this.editor.editing.downcastDispatcher.on("insert:blockQuote",((e,t,i)=>{const{writer:o,mapper:n,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const a=s(t.item.getAttribute("author")),l=s(t.item.getAttribute("link")),c=this.getSource(a,l),d={};""!==c&&(d["data-source"]=c);const u=o.createContainerElement("blockquote",d),h=n.toViewPosition(this.editor.model.createPositionBefore(t.item));o.insert(h,u),n.bindElements(t.item,u)}),{priority:"high"}),this.editor.editing.downcastDispatcher.on("attribute:author:blockQuote",((e,t,i)=>{const{writer:o,mapper:n}=i,r=s(t.attributeNewValue),a=s(t.item.getAttribute("link")),l=this.getSource(r,a),c=n.toViewElement(t.item);""===l?o.removeAttribute("data-source",c):o.setAttribute("data-source",l,c)})),this.editor.editing.downcastDispatcher.on("attribute:link:blockQuote",((e,t,i)=>{const{writer:o,mapper:n}=i,r=s(t.item.getAttribute("author")),a=s(t.attributeNewValue),l=this.getSource(r,a),c=n.toViewElement(t.item);""===l?o.removeAttribute("data-source",c):o.setAttribute("data-source",l,c)}))}#k(){this.editor.data.downcastDispatcher.on("insert:blockQuote",((e,t,i)=>{const{writer:o,mapper:n,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const a=s(t.item.getAttribute("author")),l=s(t.item.getAttribute("link")),c=n.toViewPosition(this.editor.model.createPositionBefore(t.item)),d=o.createContainerElement("woltlab-quote",{"data-author":a,"data-link":l});o.insert(c,d),n.bindElements(t.item,d)}),{priority:"high"})}#v(e){const t=this.#y();t&&void 0!==e&&this.editor.model.change((i=>{i.setAttribute("author",e.author,t),i.setAttribute("link",e.link,t)}))}#y(){const e=this.editor.model.document.selection,t=(0,n.first)(e.getSelectedBlocks());return this.#C(t)}#C(e){return e.is("element","blockQuote")?e:e.parent&&!e.parent.is("element","$root")?this.#C(e.parent):null}getSource(e,t){const{t:i}=this.editor;return e?i("Quote from %0",e):i("Quote")}}t.WoltlabBlockQuote=a,t.default=a}.apply(t,o),void 0===n||(e.exports=n)},5600:(e,t,i)=>{var o,n;o=[i,t,i(2806)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlock=void 0,Object.defineProperty(t,"WoltlabCodeBlock",{enumerable:!0,get:function(){return i.WoltlabCodeBlock}})}.apply(t,o),void 0===n||(e.exports=n)},8649:(e,t,i)=>{var o,n;o=[i,t,i(7230),i(8375)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlockFormRowView=void 0;class o extends i.View{children;constructor(e,t={}){super(e);const i=this.bindTemplate;this.set("class",t.class||""),this.children=this.createCollection(),t.children&&t.children.forEach((e=>this.children.add(e))),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__row",i.to("class")]},children:this.children})}}t.WoltlabCodeBlockFormRowView=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},3953:(e,t,i)=>{var o,n;o=[i,t,i(4934),i(7578),i(7230),i(1833),i(8649)],n=function(e,t,i,o,n,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlockPanelView=void 0;class a extends n.View{#n;#r;#x;#A;#E;focusTracker;keystrokes;#l;#c;constructor(e){const{locale:t}=e;super(t),this.set("file",""),this.set("highlighter",""),this.set("line",""),this.focusTracker=new r.FocusTracker,this.keystrokes=new r.KeystrokeHandler,this.#l=new n.ViewCollection,this.#c=this.#d();const o=(0,i.getNormalizedAndLocalizedLanguageDefinitions)(e);this.#x=this.#T(t,o);const s=this.#S(t);this.#A=s.fieldView;const a=this.#h(t);this.#E=a.fieldView,this.#n=this.#m(t),this.#r=this.#g(t),this.#p(t,s,a)}render(){super.render(),(0,n.submitHandler)({view:this});const e=[this.#x,this.#A,this.#E,this.#n,this.#r];e.forEach((e=>{this.#l.add(e),this.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(e=>e.stopPropagation())),this.keystrokes.set("arrowleft",(e=>e.stopPropagation())),this.keystrokes.set("arrowup",(e=>e.stopPropagation())),this.keystrokes.set("arrowdown",(e=>e.stopPropagation())),this.listenTo(e[0].element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"}),this.on("submit",(()=>{this.fire("execute")}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.#c.focusFirst()}#T(e,t){const i=e.t,o=(0,n.createDropdown)(e),r=this.#P(t);return this.highlighter=r.first.model._codeBlockLanguage,o.buttonView.bind("label").to(this,"highlighter",(e=>{const i=e?e.toString():"plain";return t.find((e=>e.language==i)).label})),o.buttonView.set({isOn:!1,withText:!0,tooltip:i("Language"),class:["ck-dropdown__button_label-width_auto"]}),o.on("execute",(e=>{this.highlighter=e.source._codeBlockLanguage})),(0,n.addListToDropdown)(o,r),o}#S(e){const t=e.t,i=new n.LabeledFieldView(e,n.createLabeledInputNumber);i.label=t("Line number");const{fieldView:o}=i;return o.min=0,o.bind("value").to(this,"line",(e=>e||"")),o.on("input",(()=>{this.line=o.element.value})),i}#h(e){const t=e.t,i=new n.LabeledFieldView(e,n.createLabeledInputText);return i.label=t("Filename"),i.fieldView.bind("value").to(this,"file",(e=>e||"")),i.fieldView.on("input",(()=>{this.file=i.fieldView.element.value})),i}#P(e){const t=new r.Collection;for(const i of e){const e={type:"button",model:new n.Model({_codeBlockLanguage:i.language,label:i.label,withText:!0})};e.model.bind("isOn").to(this,"highlighter",(t=>t===e.model._codeBlockLanguage)),t.add(e)}return t}#m(e){const t=e.t,i=new n.ButtonView(e);return i.set({label:t("Insert"),icon:o.icons.check,class:"ck-button-save",type:"submit",withText:!0,isEnabled:!0}),i}#g(e){const t=e.t,i=new n.ButtonView(e);return i.set({label:t("Cancel"),icon:o.icons.cancel,class:"ck-button-cancel",withText:!0}),i.delegate("execute").to(this,"cancel"),i}#p(e,t,i){this.setTemplate({tag:"form",attributes:{class:["ck","ck-vertical-form","ck-woltlabcodeblock-insert-form"],tabindex:"-1"},children:[this.#x,t,i,new s.default(e,{children:[this.#n,this.#r],class:"ck-woltlabcodeblock-insert-form__action-row"})]})}#d(){return new n.FocusCycler({focusables:this.#l,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}})}}t.WoltlabCodeBlockPanelView=a,t.default=a}.apply(t,o),void 0===n||(e.exports=n)},2806:(e,t,i)=>{var o,n;o=[i,t,i(4934),i(7578),i(7230),i(1833),i(3953)],n=function(e,t,i,o,n,r,s){"use strict";function a(e){switch(typeof e){case"string":return e;case"number":case"boolean":return e.toString();default:return""}}Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCodeBlock=void 0;class l extends o.Plugin{#I;#f=void 0;static get pluginName(){return"WoltlabCodeBlock"}init(){const e=this.editor;this.#I=e.commands.get("codeBlock"),e.model.schema.extend("codeBlock",{allowAttributes:["file","line"]}),this.#V(),this.#w(),this.#k(),this.#_(),this.#R(),this.listenTo(this.#I,"execute",(()=>{this.#v(this.#f)}))}#V(){const e=this.editor,t=e.t;e.ui.componentFactory.add("codeBlock",(i=>{const o=(0,n.createDropdown)(i,n.SplitButtonView),r=o.buttonView;r.set({label:t("Insert code block"),tooltip:!0,icon:'<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>',isToggleable:!0}),r.bind("isOn").to(this.#I,"value",(e=>!!e)),r.on("execute",(()=>{e.execute("codeBlock",{usePreviousLanguageChoice:!1}),e.editing.view.focus()})),o.on("submit",(t=>{const i=t.path.find((e=>e instanceof s.WoltlabCodeBlockPanelView));i instanceof s.WoltlabCodeBlockPanelView&&(this.#f=i,e.execute("codeBlock",{language:i.highlighter,forceValue:!0}),this.#f=void 0,e.editing.view.focus(),o.isOpen=!1)})),o.on("cancel",(()=>{e.editing.view.focus(),o.isOpen=!1})),o.bind("isEnabled").to(this.#I);const l=new s.WoltlabCodeBlockPanelView(e);return o.on("change:isOpen",(()=>{if(o.isOpen){const e=this.#O();e?(l.file=a(e.getAttribute("file")),l.highlighter=a(e.getAttribute("language")),l.line=a(e.getAttribute("line"))):(l.file="",l.highlighter="",l.line="")}})),o.panelView.children.add(l),l.delegate("submit","cancel").to(o),o}))}#w(){this.editor.data.upcastDispatcher.on("element:pre",((e,t,i)=>{const{viewItem:o}=t,{consumable:n,writer:r}=i,s=r.createElement("codeBlock");r.setAttributes({file:o.getAttribute("data-file")||"",language:o.getAttribute("data-highlighter")||"",line:o.getAttribute("data-line")||""},s),i.convertChildren(o,s),i.safeInsert(s,t.modelCursor)&&(n.consume(o,{name:!0}),i.updateConversionResult(s,t))}),{priority:"high"})}#_(){const e=(0,i.getNormalizedAndLocalizedLanguageDefinitions)(this.editor);this.editor.editing.downcastDispatcher.on("insert:codeBlock",((t,i,o)=>{const{writer:n,mapper:r,consumable:s}=o;if(!s.consume(i.item,"insert"))return;const l=a(i.item.getAttribute("file")),c=a(i.item.getAttribute("language")),d=a(i.item.getAttribute("line")),u=n.createContainerElement("code",{class:`language-${c}`});let h="";const m=e.find((e=>e.language===c));h+=m?m.label:`Unknown (${c})`,(l||d)&&(h+=" (",l&&(h+=l),d&&(l&&(h+=" "),h+=`@ ${d}`),h+=")");const g=n.createContainerElement("pre",{"data-language":h,spellcheck:"false"},u),p=r.toViewPosition(this.editor.model.createPositionBefore(i.item));n.insert(p,g),r.bindElements(i.item,u)}),{priority:"high"})}#k(){this.editor.data.downcastDispatcher.on("insert:codeBlock",((e,t,i)=>{const{writer:o,mapper:n,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const s=a(t.item.getAttribute("file")),l=a(t.item.getAttribute("language")),c=a(t.item.getAttribute("line")),d=n.toViewPosition(this.editor.model.createPositionBefore(t.item)),u=o.createContainerElement("pre",{"data-file":s,"data-highlighter":l,"data-line":c});o.insert(d,u),n.bindElements(t.item,u)}),{priority:"high"})}#v(e){const t=this.#O();t&&void 0!==e&&this.editor.model.change((i=>{i.setAttribute("file",e.file,t),i.setAttribute("line",e.line,t)}))}#R(){const e=(0,i.getNormalizedAndLocalizedLanguageDefinitions)(this.editor),t=["file","line"];for(const i of t)this.editor.editing.downcastDispatcher.on(`attribute:${i}:codeBlock`,((t,i,o)=>{const{mapper:n}=o,r=n.toViewElement(i.item);if(void 0===r)return;const s=r.getAncestors(),l=s[s.length-1];if(!l.is("element","pre"))return;const c=a(i.item.getAttribute("file")),d=a(i.item.getAttribute("language")),u=a(i.item.getAttribute("line"));let h="";const m=e.find((e=>e.language===d));h+=m?m.label:`Unknown (${d})`,(c||u)&&(h+=" (",c&&(h+=c),u&&(c&&(h+=" "),h+=`@ ${u}`),h+=")"),this.editor.editing.view.change((e=>{e.setAttribute("data-language",h,l)}))}))}#O(){const e=this.editor.model.document.selection,t=(0,r.first)(e.getSelectedBlocks());return t&&t.is("element","codeBlock")?t:null}}t.WoltlabCodeBlock=l,t.default=l}.apply(t,o),void 0===n||(e.exports=n)},3706:(e,t,i)=>{var o,n;o=[i,t,i(2379)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCode=void 0,Object.defineProperty(t,"WoltlabCode",{enumerable:!0,get:function(){return i.WoltlabCode}})}.apply(t,o),void 0===n||(e.exports=n)},2379:(e,t,i)=>{var o,n;o=[i,t,i(1214),i(7578)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabCode=void 0;class n extends o.Plugin{static get pluginName(){return"WoltlabCode"}static get requires(){return[i.Code]}init(){const{conversion:e}=this.editor;e.for("upcast").elementToAttribute({view:"kbd",model:"code",converterPriority:"high"}),e.for("dataDowncast").attributeToElement({model:"code",view:"kbd",converterPriority:"high"})}}t.WoltlabCode=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},8206:(e,t,i)=>{var o,n;o=[i,t,i(2265)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabImage=void 0,Object.defineProperty(t,"WoltlabImage",{enumerable:!0,get:function(){return i.WoltlabImage}})}.apply(t,o),void 0===n||(e.exports=n)},2265:(e,t,i)=>{var o,n;o=[i,t,i(7578)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabImage=void 0;class o extends i.Plugin{static get pluginName(){return"WoltlabImage"}init(){this.editor.conversion.for("dataDowncast").add((e=>{e.on("insert:imageInline",((e,t,i)=>{const{item:o}=t;if(!o.is("element"))return;const n=o.getAttribute("width");if("string"!=typeof n)return;const{mapper:r,writer:s}=i,a=r.toViewElement(o);void 0!==a&&s.setAttribute("data-width",n,a)}),{priority:"lowest"}),e.on("insert:imageBlock",((e,t,i)=>{const{item:o}=t;if(!o.is("element"))return;const n=o.getAttribute("width");if("string"!=typeof n)return;const{mapper:r,writer:s}=i,a=r.toViewElement(o);void 0!==a&&s.setAttribute("data-width",n,a)}),{priority:"lowest"})}))}}t.WoltlabImage=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},5825:(e,t,i)=>{var o,n;o=[i,t,i(4413)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMagicParagraph=void 0,Object.defineProperty(t,"WoltlabMagicParagraph",{enumerable:!0,get:function(){return i.WoltlabMagicParagraph}})}.apply(t,o),void 0===n||(e.exports=n)},4413:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(600)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMagicParagraph=void 0;class n extends i.Plugin{static blockModels=["blockQuote","codeBlock","spoiler","table"];static get pluginName(){return"WoltlabMagicParagraph"}init(){const{mapper:e,view:t}=this.editor.editing,{document:i,domConverter:r}=t;t.addObserver(o.ClickObserver),this.listenTo(i,"click",((t,o)=>{const{domEvent:s,target:a}=o,l=a.getAncestors();l.push(a);for(const e of l)if(e.is("element","p")||e.is("element","li"))return;const{clientY:c}=s,d=i.getRoot(),u=d.getChild(0);if(void 0!==u){if(u.is("containerElement")){const i=e.toModelElement(u);if(i&&n.blockModels.includes(i.name)){const e=r.mapViewToDom(u),{top:i}=e.getBoundingClientRect();if(c<=i)return t.stop(),void this.#B(u)}}if(0!==d.childCount){const i=d.getChild(d.childCount-1);if(i.is("containerElement")){const o=e.toModelElement(i);if(o&&n.blockModels.includes(o.name)){const e=r.mapViewToDom(i),{bottom:o}=e.getBoundingClientRect();if(c>=o)return t.stop(),void this.#M(i)}}}for(const e of this.#z()){const i=r.mapViewToDom(e),{bottom:o,top:n}=i.getBoundingClientRect(),{marginBottom:s,marginTop:a}=window.getComputedStyle(i),l=n-parseInt(a),d=o+parseInt(s);if(c<l)return;if(c>=l&&c<=n)return this.#B(e),void t.stop();if(c>=o&&c<=d)return this.#M(e),void t.stop()}}}))}#B(e){const{mapper:t}=this.editor.editing;let i;i=e.previousSibling&&e.previousSibling.is("element","p")?t.toModelElement(e.previousSibling):void 0,this.editor.model.change((o=>{if(void 0===i){i=o.createElement("paragraph");const n=o.createPositionBefore(t.toModelElement(e));o.insert(i,n)}o.setSelection(i,"end")}))}#M(e){const{mapper:t}=this.editor.editing;let i;i=e.nextSibling&&e.nextSibling.is("element","p")?t.toModelElement(e.nextSibling):void 0,this.editor.model.change((o=>{if(void 0===i){i=o.createElement("paragraph");const n=o.createPositionAfter(t.toModelElement(e));o.insert(i,n)}o.setSelection(i,"end")}))}*#z(){const{mapper:e,view:t}=this.editor.editing,i=t.document.getRoot(),o=t.createRangeIn(i);for(const t of o.getWalker({ignoreElementEnd:!0})){const i=t.item;if(!i.is("containerElement"))continue;const o=e.toModelElement(i);void 0!==o&&n.blockModels.includes(o.name)&&(yield i)}}}t.WoltlabMagicParagraph=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},9782:(e,t,i)=>{var o,n;o=[i,t,i(6761)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMedia=void 0,Object.defineProperty(t,"WoltlabMedia",{enumerable:!0,get:function(){return i.WoltlabMedia}})}.apply(t,o),void 0===n||(e.exports=n)},6761:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9211),i(7080)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMedia=void 0;class r extends i.Plugin{static get pluginName(){return"WoltlabMedia"}static get requires(){return[o.Image,n.WoltlabMetacode]}init(){this.#N(),this.#D()}#N(){const{conversion:e,model:t}=this.editor,{schema:i}=t,o=["imageBlock","imageInline"];o.forEach((e=>{i.extend(e,{allowAttributes:["mediaId","mediaSize"]})})),e.attributeToAttribute({model:"classList",view:{name:"img",key:"class",value:["woltlabSuiteMedia"]}});const n=new Map([["mediaId","data-media-id"],["mediaSize","data-media-size"]]);Array.from(n.entries()).forEach((([t,i])=>{e.for("upcast").attributeToAttribute({view:i,model:t}),e.for("downcast").add((e=>{o.forEach((o=>{e.on(`attribute:${t}:${o}`,((e,t,o)=>{if(!o.consumable.consume(t.item,e.name))return;const n=o.writer;let r=o.mapper.toViewElement(t.item);r.is("element","figure")&&(r=r.getChild(0)),r.is("element","img")&&(null!==t.attributeNewValue?n.setAttribute(i,t.attributeNewValue,r):n.removeAttribute(i,r))}))}))}))}))}#D(){const e=this.editor.config.get("woltlabMedia");this.editor.plugins.get("WoltlabMetacode").on("upcast",((t,i)=>{if("wsm"===i.name){const o=parseInt(i.attributes[0].toString());if(Number.isNaN(o))return;const n=i.attributes[1]?i.attributes[1].toString():"original";this.#L(i,e.resolveMediaUrl,o,n)&&t.stop()}}))}#L(e,t,i,o){const{conversionApi:n,data:r}=e,{consumable:s,writer:a}=n,{viewItem:l}=r,c=a.createElement("imageInline");return a.setAttributes({src:t(i,o),mediaId:i,mediaSize:o},c),n.convertChildren(l,c),!!n.safeInsert(c,r.modelCursor)&&(s.consume(l,{name:!0}),n.updateConversionResult(c,r),!0)}}t.WoltlabMedia=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},4201:(e,t,i)=>{var o,n;o=[i,t,i(644)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMention=void 0,Object.defineProperty(t,"WoltlabMention",{enumerable:!0,get:function(){return i.WoltlabMention}})}.apply(t,o),void 0===n||(e.exports=n)},644:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9829),i(7080),i(1833)],n=function(e,t,i,o,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMention=void 0;class s extends i.Plugin{static get pluginName(){return"WoltlabMention"}static get requires(){return[o.Mention,n.WoltlabMetacode]}init(){this.editor.plugins.get("WoltlabMetacode").on("upcast",((e,t)=>{"user"===t.name&&1===t.attributes.length&&(Number.isNaN(parseInt(t.attributes[0].toString()))||(e.stop(),this.#F(t)))})),this.#k()}#F(e){const{attributes:t,conversionApi:i,data:o,name:n}=e,{writer:s}=i,{viewItem:a}=o,l=a.getChild(0);Object.assign(o,i.convertChildren(o.viewItem,o.modelCursor));for(const e of Array.from(o.modelRange.getItems()))(e.is("$text")||e.is("$textProxy"))&&s.setAttribute("mention",{id:t[0].toString(),objectId:t[0],type:n,uid:(0,r.uid)(),_text:l.data},e)}#k(){this.editor.conversion.for("dataDowncast").attributeToElement({model:"mention",view:(e,{writer:t})=>{if(!e)return;const i=e.objectId;return t.createAttributeElement("woltlab-metacode",{"data-name":e.type,"data-attributes":btoa(JSON.stringify([i]))},{priority:20,id:e.uid})},converterPriority:"high"})}}t.WoltlabMention=s,t.default=s}.apply(t,o),void 0===n||(e.exports=n)},7080:(e,t,i)=>{var o,n;o=[i,t,i(2505)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMetacode=void 0,Object.defineProperty(t,"WoltlabMetacode",{enumerable:!0,get:function(){return i.WoltlabMetacode}})}.apply(t,o),void 0===n||(e.exports=n)},2505:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(1833)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabMetacode=void 0;class n extends i.Plugin{static get pluginName(){return"WoltlabMetacode"}init(){this.#Z()}#Z(){this.editor.conversion.for("upcast").add((e=>{e.on("element:woltlab-metacode",((e,t,i)=>{const{consumable:n,writer:r}=i,{viewItem:s}=t;if(!n.test(s,{name:!0}))return;const a=s.getAttribute("data-name");if(void 0===a)return;const l=this.#H(s.getAttribute("data-attributes")||""),c=new o.EventInfo(this,"upcast"),d={attributes:l,conversionApi:i,data:t,name:a};if(this.fire(c,d),c.stop.called)return;let{modelCursor:u}=t;const h=u.getAncestors();let m;1===h.length&&"$root"===h[0].name&&(m=r.createElement("paragraph"),r.insert(m,u,0),u=r.createPositionAt(m,0));const g=this.#W(l),p=r.createText(`[${a}${g}]`),f=r.createText(`[/${a}]`);r.insert(p,u,0),u=u.getShiftedBy(p.offsetSize),r.insert(f,u,"end"),void 0!==m&&(u=r.createPositionAfter(m)),t.modelCursor=u}))}))}#H(e){if(""===e)return[];const t=atob(e);let i;try{i=JSON.parse(t)}catch(e){return[]}return i}#W(e){return 0===e.length?"":"="+e.map((e=>"number"==typeof e?e.toString():`'${e}'`)).join(",")}}t.WoltlabMetacode=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},8427:(e,t,i)=>{var o,n;o=[i,t,i(4054)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSmiley=void 0,Object.defineProperty(t,"WoltlabSmiley",{enumerable:!0,get:function(){return i.WoltlabSmiley}})}.apply(t,o),void 0===n||(e.exports=n)},4054:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(9211),i(2997)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSmiley=void 0;class n extends i.Plugin{static get pluginName(){return"WoltlabSmiley"}static get requires(){return[o.Image]}init(){const{conversion:e,model:t}=this.editor,i=["imageBlock","imageInline"];for(const e of i)t.schema.extend(e,{allowAttributes:["classList"]});e.attributeToAttribute({model:"classList",view:{name:"img",key:"class",value:["smiley"]}}),e.for("editingDowncast").add((e=>{e.on("insert:imageInline",((e,t,i)=>{const{item:o}=t;if("smiley"!==o.getAttribute("classList"))return;if(!o.is("element"))return;const{consumable:n,mapper:r,writer:s}=i;if(!n.test(o,"insert"))return;n.consume(o,"insert");const a=s.createEmptyElement("img"),l=r.toViewPosition(this.editor.model.createPositionBefore(o));s.insert(l,a),r.bindElements(o,a)}),{priority:"high"})}))}}t.WoltlabSmiley=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},5469:(e,t,i)=>{var o,n;o=[i,t,i(7591),i(2553)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoilerCommand=t.WoltlabSpoiler=void 0,Object.defineProperty(t,"WoltlabSpoiler",{enumerable:!0,get:function(){return i.WoltlabSpoiler}}),Object.defineProperty(t,"WoltlabSpoilerCommand",{enumerable:!0,get:function(){return o.WoltlabSpoilerCommand}})}.apply(t,o),void 0===n||(e.exports=n)},7591:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(6004)],n=function(e,t,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoiler=void 0;class n extends i.Plugin{static get requires(){return[o.default]}static get pluginName(){return"WoltlabSpoiler"}}t.WoltlabSpoiler=n,t.default=n}.apply(t,o),void 0===n||(e.exports=n)},2553:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(600),i(1833)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoilerCommand=void 0;class r extends i.Command{execute(){const{model:e}=this.editor,{schema:t}=e,{selection:i}=e.document,o=Array.from(i.getSelectedBlocks());e.change((e=>{if(this.value)this.#j(e,o);else{const i=o.filter((e=>this.#U(e)||this.#$(t,e)));this.#q(e,i)}}))}refresh(){this.value=this.#K(),this.isEnabled=this.#o()}#j(e,t){for(const i of t){const t=this.#U(i);if(null===t)continue;const n=t.previousSibling;if(null===n||!n.is("element","spoilerTitle"))throw new Error("Invalid structure, expected a `<spoilerTitle>` adjacent to `<spoilerContent>`",{cause:{spoilerTitle:n}});const r=t.parent;if(!(r instanceof o.Element&&r.is("element","spoiler")))throw new Error("Invalid structure, expected a `<spoiler>` as the parent of a `<spoilerContent>`",{cause:{spoiler:r}});e.remove(n),e.unwrap(r),e.unwrap(t)}}#q(e,t){const i=[];this.#G(e,t).reverse().forEach((t=>{let o=this.#U(t.start);o||(o=this.#J(e,t)),i.push(o.parent)})),i.reverse().reduce(((t,i)=>{if(t.nextSibling===i){const o=t.getChild(1),n=i.getChild(1);return e.move(e.createRangeIn(n),e.createPositionAt(o,"end")),e.remove(i),t}return i}))}#G(e,t){let i=null,o=0;const n=[];for(;o<t.length;){const r=t[o],s=t[o+1];i||(i=e.createPositionBefore(r)),s&&r.nextSibling===s||(n.push(e.createRange(i,e.createPositionAfter(r))),i=null),o++}return n}#o(){if(this.value)return!0;const{selection:e}=this.editor.model.document,t=(0,n.first)(e.getSelectedBlocks());if(!t)return!1;const{schema:i}=this.editor.model;return this.#$(i,t)}#K(){const{selection:e}=this.editor.model.document,t=(0,n.first)(e.getSelectedBlocks());return!(!t||!this.#U(t))}#U(e){return e.parent instanceof o.Element?"spoilerContent"===e.parent.name?e.parent:this.#U(e.parent):null}#$(e,t){const i=e.checkChild(t.parent,"spoiler"),o=e.checkChild("spoilerContent",t);return i&&o}#J(e,t){const i=e.createElement("spoilerContent");e.wrap(t,i);const o=e.createElement("spoiler");e.wrap(e.createRangeOn(i),o);const n=e.createElement("spoilerTitle");return e.insert(n,o,0),i}}t.WoltlabSpoilerCommand=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},6004:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(4156),i(600),i(7230),i(2553),i(5025)],n=function(e,t,i,o,n,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabSpoilerEditing=void 0;class a extends i.Plugin{static get pluginName(){return"WoltlabSpoilerEditing"}static get requires(){return[o.Widget]}init(){this.#Y(),this.#Z(),this.editor.commands.add("insertSpoiler",new s.default(this.editor)),this.#Q()}#Q(){const{t:e}=this.editor.locale;this.editor.ui.componentFactory.add("spoiler",(t=>{const i=this.editor.commands.get("insertSpoiler"),o=new r.ButtonView(t);return o.set({label:e("Spoiler"),tooltip:!0,withText:!0}),o.labelView.setTemplate({tag:"fa-icon",attributes:{name:"eye-slash"}}),o.bind("isOn").to(i,"value"),o.bind("isEnabled").to(i,"isEnabled"),this.listenTo(o,"execute",(()=>this.editor.execute("insertSpoiler"))),o}))}#Y(){const{schema:e}=this.editor.model;e.register("spoiler",{allowWhere:"$block",isObject:!0}),e.register("spoilerTitle",{allowChildren:"$text",allowIn:"spoiler",isLimit:!0}),e.register("spoilerContent",{allowContentOf:"$root",allowIn:"spoiler",isLimit:!0}),e.addChildCheck(((e,t)=>("spoiler"!==t.name||!Array.from(e.getNames()).includes("spoiler"))&&(!e.endsWith("spoilerContent")||"spoiler"!==t.name)&&(!e.endsWith("spoilerTitle")||"$text"===t.name)&&void 0)),e.addAttributeCheck((e=>{if(e.endsWith("spoilerTitle $text"))return!1}))}#Z(){const{conversion:e}=this.editor,{t}=this.editor.locale;e.for("upcast").add((e=>{e.on("element:woltlab-spoiler",((e,t,i)=>{const{consumable:o,writer:n,safeInsert:r,convertChildren:s,updateConversionResult:a}=i,{viewItem:l}=t,c={name:!0};if(!o.test(l,c))return;const d=n.createElement("spoiler"),u=n.createElement("spoilerTitle");n.append(u,d);const h=(l.getAttribute("data-label")||"").trim();n.appendText(h,u);const m=n.createElement("spoilerContent");n.append(m,d),r(d,t.modelCursor)&&(o.consume(l,c),s(l,m),a(d,t))}))})),e.for("dataDowncast").add((e=>{e.on("insert:spoiler",((e,t,i)=>{const{item:o}=t,{consumable:n,mapper:r,writer:s}=i;if(2!==o.childCount)return null;const a=o.getChild(0);if(!a.is("element","spoilerTitle"))return null;if(!n.consume(o,"insert"))return;n.consume(a,"insert");let l="";if(1===a.childCount){const e=a.getChild(0);e.is("$text")&&(l=e.data)}const c=s.createContainerElement("woltlab-spoiler",{"data-label":l}),d=r.toViewPosition(this.editor.model.createPositionBefore(o));s.insert(d,c),r.bindElements(o,c),r.bindElements(a,c);const u=o.getChild(1);u.is("element","spoilerContent")&&(r.bindElements(u,c),n.consume(u,"insert"))})),e.on("insert:$text",((e,t,i)=>{const o=t.item.parent;o&&o.is("element","spoilerTitle")&&i.consumable.consume(t.item,"insert")}))})),e.for("editingDowncast").elementToElement({model:"spoiler",view:(e,{writer:t})=>{const i=t.createContainerElement("div",{class:"ck-woltlabspoiler"});return(0,o.toWidget)(i,t,{hasSelectionHandle:!0,label:"spoiler widget"})}}).elementToElement({model:"spoilerTitle",view:(e,{writer:i})=>{const r=i.createEditableElement("div",{class:"ck-woltlabspoiler__title","data-label":t("Spoiler")});return(0,n.enablePlaceholder)({view:this.editor.editing.view,element:r,text:t("Type your title"),keepOnFocus:!0}),(0,o.toWidgetEditable)(r,i)}}).elementToElement({model:"spoilerContent",view:(e,{writer:t})=>{const i=t.createEditableElement("div",{class:"ck-woltlabspoiler__content"});return(0,o.toWidgetEditable)(i,t)}})}}t.WoltlabSpoilerEditing=a,t.default=a}.apply(t,o),void 0===n||(e.exports=n)},9402:(e,t,i)=>{var o,n;o=[i,t,i(6909)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabToolbarGroup=void 0,Object.defineProperty(t,"WoltlabToolbarGroup",{enumerable:!0,get:function(){return i.WoltlabToolbarGroup}})}.apply(t,o),void 0===n||(e.exports=n)},6909:(e,t,i)=>{var o,n;o=[i,t,i(7578)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabToolbarGroup=void 0;class o extends i.Plugin{static get pluginName(){return"WoltlabToolbarGroup"}init(){const e=this.editor.config.get("woltlabToolbarGroup");e&&this.editor.once("ready",(()=>{const t=this.editor.ui.view.toolbar.items;Object.entries(e).forEach((([e,i])=>{const o=t.find((t=>null!==t.element?.querySelector(`[data-cke-tooltip-text="woltlabToolbarGroup_${e}"]`))),n=o.element,r=n.querySelector(".ck-button__icon"),[s,a]=i.icon.split(";",2),l=document.createElement("fa-icon");l.setIcon(s,"true"===a),r.replaceWith(l),o.buttonView.label=i.label,n.dataset.ckeTooltipText=i.label}))}))}}t.WoltlabToolbarGroup=o,t.default=o}.apply(t,o),void 0===n||(e.exports=n)},8152:(e,t,i)=>{var o,n;o=[i,t,i(6916)],n=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabUpload=void 0,Object.defineProperty(t,"WoltlabUpload",{enumerable:!0,get:function(){return i.WoltlabUpload}})}.apply(t,o),void 0===n||(e.exports=n)},6916:(e,t,i)=>{var o,n;o=[i,t,i(7578),i(1070),i(2263)],n=function(e,t,i,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabUpload=void 0;class r extends i.Plugin{static get pluginName(){return"WoltlabUpload"}static get requires(){return[o.FileRepository]}init(){const{config:e,editing:t,plugins:i}=this.editor,r=e.get("woltlabUpload");r&&"function"==typeof r.uploadImage&&(i.get(o.FileRepository).createUploadAdapter=e=>new n.WoltlabUploadAdapter(e,r),"function"==typeof r.uploadOther&&this.listenTo(t.view.document,"clipboardInput",((e,t)=>{if(e.stop.called)return;const{dataTransfer:i,method:o}=t;if("drop"===o){for(const e of i.files)null!==e&&r.uploadOther(e);e.stop()}}),{priority:"lowest"}))}}t.WoltlabUpload=r,t.default=r}.apply(t,o),void 0===n||(e.exports=n)},2263:(e,t,i)=>{var o;o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoltlabUploadAdapter=void 0;class i{#X;#ee;#te;constructor(e,t){this.#X=e,this.#ee=t}abort(){this.#te?.abort()}async upload(){const e=await this.#X.file;return this.#te=new AbortController,this.#ee.uploadImage(e,this.#te)}}t.WoltlabUploadAdapter=i,t.default=i}.apply(t,[i,t]),void 0===o||(e.exports=o)},8491:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+"},2536:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(9651);const n=function(e,t){for(var i=e.length;i--;)if((0,o.Z)(e[i][0],t))return i;return-1};var r=Array.prototype.splice;function s(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=function(){this.__data__=[],this.size=0},s.prototype.delete=function(e){var t=this.__data__,i=n(t,e);return!(i<0||(i==t.length-1?t.pop():r.call(t,i,1),--this.size,0))},s.prototype.get=function(e){var t=this.__data__,i=n(t,e);return i<0?void 0:t[i][1]},s.prototype.has=function(e){return n(this.__data__,e)>-1},s.prototype.set=function(e,t){var i=this.__data__,o=n(i,e);return o<0?(++this.size,i.push([e,t])):i[o][1]=t,this};const a=s},6183:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(2119),n=i(6092);const r=(0,o.Z)(n.Z,"Map")},520:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});const o=(0,i(2119).Z)(Object,"create");var n=Object.prototype.hasOwnProperty;var r=Object.prototype.hasOwnProperty;function s(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=function(){this.__data__=o?o(null):{},this.size=0},s.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s.prototype.get=function(e){var t=this.__data__;if(o){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return n.call(t,e)?t[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)},s.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this};const a=s;var l=i(2536),c=i(6183);const d=function(e,t){var i,o,n=e.__data__;return("string"==(o=typeof(i=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?n["string"==typeof t?"string":"hash"]:n.map};function u(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}u.prototype.clear=function(){this.size=0,this.__data__={hash:new a,map:new(c.Z||l.Z),string:new a}},u.prototype.delete=function(e){var t=d(this,e).delete(e);return this.size-=t?1:0,t},u.prototype.get=function(e){return d(this,e).get(e)},u.prototype.has=function(e){return d(this,e).has(e)},u.prototype.set=function(e,t){var i=d(this,e),o=i.size;return i.set(e,t),this.size+=i.size==o?0:1,this};const h=u},5365:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(2536);var n=i(6183),r=i(520);function s(e){var t=this.__data__=new o.Z(e);this.size=t.size}s.prototype.clear=function(){this.__data__=new o.Z,this.size=0},s.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},s.prototype.get=function(e){return this.__data__.get(e)},s.prototype.has=function(e){return this.__data__.has(e)},s.prototype.set=function(e,t){var i=this.__data__;if(i instanceof o.Z){var s=i.__data__;if(!n.Z||s.length<199)return s.push([e,t]),this.size=++i.size,this;i=this.__data__=new r.Z(s)}return i.set(e,t),this.size=i.size,this};const a=s},7685:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=i(6092).Z.Symbol},4073:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=i(6092).Z.Uint8Array},9001:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(4732),n=i(7771),r=i(6706),s=i(6009),a=i(7212),l=Object.prototype.hasOwnProperty;const c=function(e,t){var i=(0,n.Z)(e),c=!i&&(0,o.Z)(e),d=!i&&!c&&(0,r.Z)(e),u=!i&&!c&&!d&&(0,a.Z)(e),h=i||c||d||u,m=h?function(e,t){for(var i=-1,o=Array(e);++i<e;)o[i]=t(i);return o}(e.length,String):[],g=m.length;for(var p in e)!t&&!l.call(e,p)||h&&("length"==p||d&&("offset"==p||"parent"==p)||u&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||(0,s.Z)(p,g))||m.push(p);return m}},8694:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){for(var i=-1,o=t.length,n=e.length;++i<o;)e[n+i]=t[i];return e}},2954:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(4752),n=i(9651),r=Object.prototype.hasOwnProperty;const s=function(e,t,i){var s=e[t];r.call(e,t)&&(0,n.Z)(s,i)&&(void 0!==i||t in e)||(0,o.Z)(e,t,i)}},4752:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(7904);const n=function(e,t,i){"__proto__"==t&&o.Z?(0,o.Z)(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}},9256:(e,t,i)=>{"use strict";i.d(t,{Z:()=>H});var o=i(5365);var n=i(2954),r=i(1899),s=i(703);var a=i(7590);var l=i(1050),c=i(7215),d=i(3573);var u=i(8694),h=i(2513),m=i(532);const g=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,u.Z)(t,(0,d.Z)(e)),e=(0,h.Z)(e);return t}:m.Z;var p=i(1808),f=i(3327);const b=function(e){return(0,f.Z)(e,a.Z,g)};var w=i(4158),k=Object.prototype.hasOwnProperty;var _=i(1884);var v=/\w*$/;var y=i(7685),C=y.Z?y.Z.prototype:void 0,x=C?C.valueOf:void 0;var A=i(2701);const E=function(e,t,i){var o,n,r,s=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,_.Z)(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return function(e,t){var i=t?(0,_.Z)(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);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,A.Z)(e,i);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return(r=new(n=e).constructor(n.source,v.exec(n))).lastIndex=n.lastIndex,r;case"[object Symbol]":return o=e,x?Object(x.call(o)):{}}};var T=i(5418),S=i(7771),P=i(6706),I=i(8533);var V=i(1162),R=i(8351),O=R.Z&&R.Z.isMap;const B=O?(0,V.Z)(O):function(e){return(0,I.Z)(e)&&"[object Map]"==(0,w.Z)(e)};var M=i(7226);var z=R.Z&&R.Z.isSet;const N=z?(0,V.Z)(z):function(e){return(0,I.Z)(e)&&"[object Set]"==(0,w.Z)(e)};var D="[object Arguments]",L="[object Function]",F="[object Object]",Z={};Z[D]=Z["[object Array]"]=Z["[object ArrayBuffer]"]=Z["[object DataView]"]=Z["[object Boolean]"]=Z["[object Date]"]=Z["[object Float32Array]"]=Z["[object Float64Array]"]=Z["[object Int8Array]"]=Z["[object Int16Array]"]=Z["[object Int32Array]"]=Z["[object Map]"]=Z["[object Number]"]=Z[F]=Z["[object RegExp]"]=Z["[object Set]"]=Z["[object String]"]=Z["[object Symbol]"]=Z["[object Uint8Array]"]=Z["[object Uint8ClampedArray]"]=Z["[object Uint16Array]"]=Z["[object Uint32Array]"]=!0,Z["[object Error]"]=Z[L]=Z["[object WeakMap]"]=!1;const H=function e(t,i,u,h,m,f){var _,v=1&i,y=2&i,C=4&i;if(u&&(_=m?u(t,h,m,f):u(t)),void 0!==_)return _;if(!(0,M.Z)(t))return t;var x=(0,S.Z)(t);if(x){if(_=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&k.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(t),!v)return(0,c.Z)(t,_)}else{var A=(0,w.Z)(t),I=A==L||"[object GeneratorFunction]"==A;if((0,P.Z)(t))return(0,l.Z)(t,v);if(A==F||A==D||I&&!m){if(_=y||I?{}:(0,T.Z)(t),!v)return y?function(e,t){return(0,r.Z)(e,g(e),t)}(t,function(e,t){return e&&(0,r.Z)(t,(0,a.Z)(t),e)}(_,t)):function(e,t){return(0,r.Z)(e,(0,d.Z)(e),t)}(t,function(e,t){return e&&(0,r.Z)(t,(0,s.Z)(t),e)}(_,t))}else{if(!Z[A])return m?t:{};_=E(t,A,v)}}f||(f=new o.Z);var V=f.get(t);if(V)return V;f.set(t,_),N(t)?t.forEach((function(o){_.add(e(o,i,u,o,t,f))})):B(t)&&t.forEach((function(o,n){_.set(n,e(o,i,u,n,t,f))}));var R=C?y?b:p.Z:y?a.Z:s.Z,O=x?void 0:R(t);return function(e,t){for(var i=-1,o=null==e?0:e.length;++i<o&&!1!==t(e[i],i,e););}(O||t,(function(o,r){O&&(o=t[r=o]),(0,n.Z)(_,r,e(o,i,u,r,t,f))})),_}},3327:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(8694),n=i(7771);const r=function(e,t,i){var r=t(e);return(0,n.Z)(e)?r:(0,o.Z)(r,i(e))}},3243:(e,t,i)=>{"use strict";i.d(t,{Z:()=>d});var o=i(7685),n=Object.prototype,r=n.hasOwnProperty,s=n.toString,a=o.Z?o.Z.toStringTag:void 0;var l=Object.prototype.toString;var c=o.Z?o.Z.toStringTag:void 0;const d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=r.call(e,a),i=e[a];try{e[a]=void 0;var o=!0}catch(e){}var n=s.call(e);return o&&(t?e[a]=i:delete e[a]),n}(e):function(e){return l.call(e)}(e)}},1152:(e,t,i)=>{"use strict";i.d(t,{Z:()=>S});var o=i(5365),n=i(520);function r(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new n.Z;++t<i;)this.add(e[t])}r.prototype.add=r.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},r.prototype.has=function(e){return this.__data__.has(e)};const s=r,a=function(e,t){for(var i=-1,o=null==e?0:e.length;++i<o;)if(t(e[i],i,e))return!0;return!1},l=function(e,t,i,o,n,r){var l=1&i,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var m=-1,g=!0,p=2&i?new s:void 0;for(r.set(e,t),r.set(t,e);++m<c;){var f=e[m],b=t[m];if(o)var w=l?o(b,f,m,t,e,r):o(f,b,m,e,t,r);if(void 0!==w){if(w)continue;g=!1;break}if(p){if(!a(t,(function(e,t){if(s=t,!p.has(s)&&(f===e||n(f,e,i,o,r)))return p.push(t);var s}))){g=!1;break}}else if(f!==b&&!n(f,b,i,o,r)){g=!1;break}}return r.delete(e),r.delete(t),g};var c=i(7685),d=i(4073),u=i(9651);const h=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,o){i[++t]=[o,e]})),i},m=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i};var g=c.Z?c.Z.prototype:void 0,p=g?g.valueOf:void 0;var f=i(1808),b=Object.prototype.hasOwnProperty;var w=i(4158),k=i(7771),_=i(6706),v=i(7212),y="[object Arguments]",C="[object Array]",x="[object Object]",A=Object.prototype.hasOwnProperty;const E=function(e,t,i,n,r,s){var a=(0,k.Z)(e),c=(0,k.Z)(t),g=a?C:(0,w.Z)(e),E=c?C:(0,w.Z)(t),T=(g=g==y?x:g)==x,S=(E=E==y?x:E)==x,P=g==E;if(P&&(0,_.Z)(e)){if(!(0,_.Z)(t))return!1;a=!0,T=!1}if(P&&!T)return s||(s=new o.Z),a||(0,v.Z)(e)?l(e,t,i,n,r,s):function(e,t,i,o,n,r,s){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 d.Z(e),new d.Z(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,u.Z)(+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=h;case"[object Set]":var c=1&o;if(a||(a=m),e.size!=t.size&&!c)return!1;var g=s.get(e);if(g)return g==t;o|=2,s.set(e,t);var f=l(a(e),a(t),o,n,r,s);return s.delete(e),f;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1}(e,t,g,i,n,r,s);if(!(1&i)){var I=T&&A.call(e,"__wrapped__"),V=S&&A.call(t,"__wrapped__");if(I||V){var R=I?e.value():e,O=V?t.value():t;return s||(s=new o.Z),r(R,O,i,n,s)}}return!!P&&(s||(s=new o.Z),function(e,t,i,o,n,r){var s=1&i,a=(0,f.Z)(e),l=a.length;if(l!=(0,f.Z)(t).length&&!s)return!1;for(var c=l;c--;){var d=a[c];if(!(s?d in t:b.call(t,d)))return!1}var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var m=!0;r.set(e,t),r.set(t,e);for(var g=s;++c<l;){var p=e[d=a[c]],w=t[d];if(o)var k=s?o(w,p,d,t,e,r):o(p,w,d,e,t,r);if(!(void 0===k?p===w||n(p,w,i,o,r):k)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var _=e.constructor,v=t.constructor;_==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof v&&v instanceof v||(m=!1)}return r.delete(e),r.delete(t),m}(e,t,i,n,r,s))};var T=i(8533);const S=function e(t,i,o,n,r){return t===i||(null==t||null==i||!(0,T.Z)(t)&&!(0,T.Z)(i)?t!=t&&i!=i:E(t,i,o,n,e,r))}},7855:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t,i){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(i=i>n?n:i)<0&&(i+=n),n=t>i?0:i-t>>>0,t>>>=0;for(var r=Array(n);++o<n;)r[o]=e[o+t];return r}},1162:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return function(t){return e(t)}}},1884:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(4073);const n=function(e){var t=new e.constructor(e.byteLength);return new o.Z(t).set(new o.Z(e)),t}},1050:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var o=i(6092),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===n?o.Z.Buffer:void 0,a=s?s.allocUnsafe:void 0;const l=function(e,t){if(t)return e.slice();var i=e.length,o=a?a(i):new e.constructor(i);return e.copy(o),o}},2701:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(1884);const n=function(e,t){var i=t?(0,o.Z)(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}},7215:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){var i=-1,o=e.length;for(t||(t=Array(o));++i<o;)t[i]=e[i];return t}},1899:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(2954),n=i(4752);const r=function(e,t,i,r){var s=!i;i||(i={});for(var a=-1,l=t.length;++a<l;){var c=t[a],d=r?r(i[c],e[c],c,i,e):void 0;void 0===d&&(d=e[c]),s?(0,n.Z)(i,c,d):(0,o.Z)(i,c,d)}return i}},288:(e,t,i)=>{"use strict";i.d(t,{Z:()=>b});var o=i(9203);var n=Math.max;var r=i(7904);const s=r.Z?function(e,t){return(0,r.Z)(e,"toString",{configurable:!0,enumerable:!1,value:(i=t,function(){return i}),writable:!0});var i}:o.Z;var a=Date.now;const l=(c=s,d=0,u=0,function(){var e=a(),t=16-(e-u);if(u=e,t>0){if(++d>=800)return arguments[0]}else d=0;return c.apply(void 0,arguments)});var c,d,u;const h=function(e,t){return l(function(e,t,i){return t=n(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,s=n(o.length-t,0),a=Array(s);++r<s;)a[r]=o[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=o[r];return l[t]=i(a),function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}(e,this,l)}}(e,t,o.Z),e+"")};var m=i(9651),g=i(585),p=i(6009),f=i(7226);const b=function(e){return h((function(t,i){var o=-1,n=i.length,r=n>1?i[n-1]:void 0,s=n>2?i[2]:void 0;for(r=e.length>3&&"function"==typeof r?(n--,r):void 0,s&&function(e,t,i){if(!(0,f.Z)(i))return!1;var o=typeof t;return!!("number"==o?(0,g.Z)(i)&&(0,p.Z)(t,i.length):"string"==o&&t in i)&&(0,m.Z)(i[t],e)}(i[0],i[1],s)&&(r=n<3?void 0:r,n=1),t=Object(t);++o<n;){var a=i[o];a&&e(t,a,o,r)}return t}))}},7904:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(2119);const n=function(){try{var e=(0,o.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},3413:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o="object"==typeof global&&global&&global.Object===Object&&global},1808:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(3327),n=i(3573),r=i(703);const s=function(e){return(0,o.Z)(e,r.Z,n.Z)}},2119:(e,t,i)=>{"use strict";i.d(t,{Z:()=>f});var o=i(3234);const n=i(6092).Z["__core-js_shared__"];var r,s=(r=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var a=i(7226),l=i(19),c=/^\[object .+?Constructor\]$/,d=Function.prototype,u=Object.prototype,h=d.toString,m=u.hasOwnProperty,g=RegExp("^"+h.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const p=function(e){return!(!(0,a.Z)(e)||(t=e,s&&s in t))&&((0,o.Z)(e)?g:c).test((0,l.Z)(e));var t},f=function(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return p(i)?i:void 0}},2513:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=(0,i(1851).Z)(Object.getPrototypeOf,Object)},3573:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(532),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;const s=r?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var i=-1,o=null==e?0:e.length,n=0,r=[];++i<o;){var s=e[i];t(s,i,e)&&(r[n++]=s)}return r}(r(e),(function(t){return n.call(e,t)})))}:o.Z},4158:(e,t,i)=>{"use strict";i.d(t,{Z:()=>C});var o=i(2119),n=i(6092);const r=(0,o.Z)(n.Z,"DataView");var s=i(6183);const a=(0,o.Z)(n.Z,"Promise"),l=(0,o.Z)(n.Z,"Set"),c=(0,o.Z)(n.Z,"WeakMap");var d=i(3243),u=i(19),h="[object Map]",m="[object Promise]",g="[object Set]",p="[object WeakMap]",f="[object DataView]",b=(0,u.Z)(r),w=(0,u.Z)(s.Z),k=(0,u.Z)(a),_=(0,u.Z)(l),v=(0,u.Z)(c),y=d.Z;(r&&y(new r(new ArrayBuffer(1)))!=f||s.Z&&y(new s.Z)!=h||a&&y(a.resolve())!=m||l&&y(new l)!=g||c&&y(new c)!=p)&&(y=function(e){var t=(0,d.Z)(e),i="[object Object]"==t?e.constructor:void 0,o=i?(0,u.Z)(i):"";if(o)switch(o){case b:return f;case w:return h;case k:return m;case _:return g;case v:return p}return t});const C=y},5418:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var o=i(7226),n=Object.create;const r=function(){function e(){}return function(t){if(!(0,o.Z)(t))return{};if(n)return n(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();var s=i(2513),a=i(2764);const l=function(e){return"function"!=typeof e.constructor||(0,a.Z)(e)?{}:r((0,s.Z)(e))}},6009:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=/^(?:0|[1-9]\d*)$/;const n=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&o.test(e))&&e>-1&&e%1==0&&e<t}},2764:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=Object.prototype;const n=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||o)}},8351:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(3413),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===n&&o.Z.process;const a=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}()},1851:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){return function(i){return e(t(i))}}},6092:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3413),n="object"==typeof self&&self&&self.Object===Object&&self;const r=o.Z||n||Function("return this")()},19:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=Function.prototype.toString;const n=function(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},207:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var o=i(1899),n=i(288),r=i(7590);const s=(0,n.Z)((function(e,t){(0,o.Z)(t,(0,r.Z)(t),e)}))},4612:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(9256);const n=function(e,t){return t="function"==typeof t?t:void 0,(0,o.Z)(e,5,t)}},6682:(e,t,i)=>{"use strict";i.d(t,{Z:()=>b});var o=i(7226),n=i(6092);const r=function(){return n.Z.Date.now()};var s=/\s/;var a=/^\s+/;const l=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&s.test(e.charAt(t)););return t}(e)+1).replace(a,""):e};var c=i(2714),d=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,h=/^0o[0-7]+$/i,m=parseInt;const g=function(e){if("number"==typeof e)return e;if((0,c.Z)(e))return NaN;if((0,o.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=l(e);var i=u.test(e);return i||h.test(e)?m(e.slice(2),i?2:8):d.test(e)?NaN:+e};var p=Math.max,f=Math.min;const b=function(e,t,i){var n,s,a,l,c,d,u=0,h=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function w(t){var i=n,o=s;return n=s=void 0,u=t,l=e.apply(o,i)}function k(e){var i=e-d;return void 0===d||i>=t||i<0||m&&e-u>=a}function _(){var e=r();if(k(e))return v(e);c=setTimeout(_,function(e){var i=t-(e-d);return m?f(i,a-(e-u)):i}(e))}function v(e){return c=void 0,b&&n?w(e):(n=s=void 0,l)}function y(){var e=r(),i=k(e);if(n=arguments,s=this,d=e,i){if(void 0===c)return function(e){return u=e,c=setTimeout(_,t),h?w(e):l}(d);if(m)return clearTimeout(c),c=setTimeout(_,t),w(d)}return void 0===c&&(c=setTimeout(_,t)),l}return t=g(t)||0,(0,o.Z)(i)&&(h=!!i.leading,a=(m="maxWait"in i)?p(g(i.maxWait)||0,t):a,b="trailing"in i?!!i.trailing:b),y.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=d=s=c=void 0},y.flush=function(){return void 0===c?l:v(r())},y}},9651:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e,t){return e===t||e!=e&&t!=t}},9203:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return e}},4732:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(3243),n=i(8533);const r=function(e){return(0,n.Z)(e)&&"[object Arguments]"==(0,o.Z)(e)};var s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable;const c=r(function(){return arguments}())?r:function(e){return(0,n.Z)(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},7771:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=Array.isArray},585:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3234),n=i(1656);const r=function(e){return null!=e&&(0,n.Z)(e.length)&&!(0,o.Z)(e)}},6706:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var o=i(6092);var n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===n?o.Z.Buffer:void 0;const a=(s?s.isBuffer:void 0)||function(){return!1}},3251:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(8533),n=i(7514);const r=function(e){return(0,o.Z)(e)&&1===e.nodeType&&!(0,n.Z)(e)}},576:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var o=i(1152);const n=function(e,t){return(0,o.Z)(e,t)}},3234:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3243),n=i(7226);const r=function(e){if(!(0,n.Z)(e))return!1;var t=(0,o.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1656:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7226:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},8533:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(e){return null!=e&&"object"==typeof e}},7514:(e,t,i)=>{"use strict";i.d(t,{Z:()=>u});var o=i(3243),n=i(2513),r=i(8533),s=Function.prototype,a=Object.prototype,l=s.toString,c=a.hasOwnProperty,d=l.call(Object);const u=function(e){if(!(0,r.Z)(e)||"[object Object]"!=(0,o.Z)(e))return!1;var t=(0,n.Z)(e);if(null===t)return!0;var i=c.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==d}},2714:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(3243),n=i(8533);const r=function(e){return"symbol"==typeof e||(0,n.Z)(e)&&"[object Symbol]"==(0,o.Z)(e)}},7212:(e,t,i)=>{"use strict";i.d(t,{Z:()=>d});var o=i(3243),n=i(1656),r=i(8533),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var a=i(1162),l=i(8351),c=l.Z&&l.Z.isTypedArray;const d=c?(0,a.Z)(c):function(e){return(0,r.Z)(e)&&(0,n.Z)(e.length)&&!!s[(0,o.Z)(e)]}},703:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var o=i(9001),n=i(2764);const r=(0,i(1851).Z)(Object.keys,Object);var s=Object.prototype.hasOwnProperty;var a=i(585);const l=function(e){return(0,a.Z)(e)?(0,o.Z)(e):function(e){if(!(0,n.Z)(e))return r(e);var t=[];for(var i in Object(e))s.call(e,i)&&"constructor"!=i&&t.push(i);return t}(e)}},7590:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(9001),n=i(7226),r=i(2764);var s=Object.prototype.hasOwnProperty;const a=function(e){if(!(0,n.Z)(e))return function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}(e);var t=(0,r.Z)(e),i=[];for(var o in e)("constructor"!=o||!t&&s.call(e,o))&&i.push(o);return i};var l=i(585);const c=function(e){return(0,l.Z)(e)?(0,o.Z)(e,!0):a(e)}},532:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});const o=function(){return[]}},111:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var o=i(6682),n=i(7226);const r=function(e,t,i){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,n.Z)(i)&&(r="leading"in i?!!i.leading:r,s="trailing"in i?!!i.trailing:s),(0,o.Z)(e,t,{leading:r,maxWait:t,trailing:s})}},9939:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var o=i(7685);var n=i(7771),r=i(2714),s=o.Z?o.Z.prototype:void 0,a=s?s.toString:void 0;const l=function e(t){if("string"==typeof t)return t;if((0,n.Z)(t))return function(e,t){for(var i=-1,o=null==e?0:e.length,n=Array(o);++i<o;)n[i]=t(e[i],i,e);return n}(t,e)+"";if((0,r.Z)(t))return a?a.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i},c=function(e){return null==e?"":l(e)}}},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.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 o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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 o=i(366);CKEditor5=o})();
\ No newline at end of file
index 2c1227ebf6b5cbfe4f3687af470bc2af6c1dbced..6628dd54682fd5bf46b8b6bf91d0b4d7e3cc0f61 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ar=e.ar||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 من %1","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 center":"محاذاة في المنتصف","Align left":"محاذاة لليسار","Align right":"محاذاة لليمين","Align table to the left":"قم بمحاذاة الجدول إلى اليسار","Align table to the right":"قم بمحاذاة الجدول إلى اليمين",Alignment:"المحاذاة",Aquamarine:"أخضر زبرجد",Background:"الخلفية",Big:"كبير",Black:"أسود","Block quote":"اقتباس",Blue:"أزرق","Blue marker":"تحديد ازرق",Bold:"عريض",Border:"الحدود","Break text":"اعتراض النص","Bulleted List":"قائمة نقطية","Bulleted list styles toolbar":"شريط أدوات أنماط قوائم التعداد النقطي",Cancel:"إلغاء","Caption for image: %0":"التسمية التوضيحية للصورة: %0","Caption for the image":"التسمية التوضيحية للصورة","Cell properties":"خصائص الخلية","Center table":"قم بمحاذاة الجدول إلى المنتصف","Centered image":"صورة بالوسط","Change image text alternative":"غير النص البديل للصورة","Choose heading":"اختر عنوان",Circle:"دائرة",Code:"شفرة برمجية",Color:"اللون","Color picker":"أداة انتقاء الألوان",Column:"عمود",Dashed:"متقطع",Decimal:"رقم عشري","Decimal with leading zero":"رقم عشري مع البدء بصفر ","Decrease indent":"تقليص المسافة البادئة",Default:"افتراضي","Delete column":"حذف العمود","Delete row":"حذف الصف","Dim grey":"رمادي خافت",Dimensions:"الابعاد",Disc:"قرص","Document colors":"ألوان المستند",Dotted:"منقط",Double:"مزدوج",Downloadable:"يمكن تنزيله","Dropdown toolbar":"شريط أدوات القائمة المنسدلة","Edit block":"كتلة التحرير","Edit link":"تحرير الرابط","Edit source":"تحرير المصدر","Editor block content toolbar":"شريط المحرر لأدوات كتلة المحتوى","Editor contextual toolbar":"شريط المحرر للأدوات السياقية","Editor editing area: %0":"منطقة تحرير المحرر: %0","Editor toolbar":"شريط أدوات المحرر","Empty snippet content":"محتوى القصاصة فارغ","Enter image caption":"ادخل عنوان الصورة","Enter table caption":"أدخل التسمية التوضيحية للجدول","Font Background Color":"لون خلفية الخط","Font Color":"لون الخط","Font Family":"نوع الخط","Font Size":"حجم الخط","Full size image":"صورة بحجم كامل",Green:"أخضر","Green marker":"تحديد اخضر","Green pen":"قلم اخضر",Grey:"رمادي",Groove:"إطار محفور","Header column":"عمود عنوان","Header row":"صف عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6",Height:"الارتفاع",Highlight:"تحديد","Horizontal line":"خط أفقي","Horizontal text alignment toolbar":"شريط أدوات محاذاة النص الأفقي","HTML snippet":"قصاصة برمجية بلغة HTML",Huge:"ضخم","Image resize list":"قائمة تغيير حجم الصورة","Image toolbar":"شريط أدوات الصور","image widget":"عنصر الصورة","In line":"سطري مع النص","Increase indent":"زيادة المسافة البادئة",Insert:"إدراج","Insert code block":"إدراج كتلة تعليمات برمجية","Insert column left":"أدخل العمود إلى اليسار","Insert column right":"أدخل العمود إلى اليمين","Insert HTML":"إدراج HTML","Insert image":"ادراج صورة","Insert image via URL":"إدراج صورة عبر عنوان URL","Insert paragraph after block":"إدراج فقرة بعد الكتلة","Insert paragraph before block":"إدراج فقرة قبل الكتلة","Insert row above":"ادراج صف قبل","Insert row below":"ادراج صف بعد","Insert table":"إدراج جدول",Inset:"منخفض",Italic:"مائل",Justify:"ضبط","Justify cell text":"ضبط نص الخلية","Left aligned image":"صورة بمحاذاة لليسار","Light blue":"أزرق فاتح","Light green":"أخضر فاتح","Light grey":"رمادي فاتح",Link:"رابط","Link image":"ربط الصورة","Link URL":"رابط عنوان","List properties":"خصائص القائمة","Lower-latin":"حرف لاتيني صغير","Lower–roman":"رقم روماني صغير","Merge cell down":"دمج الخلايا للأسفل","Merge cell left":"دمج الخلايا لليسار","Merge cell right":"دمج الخلايا لليمين","Merge cell up":"دمج الخلايا للأعلى","Merge cells":"دمج الخلايا",Next:"التالي","No preview available":"المعاينة غير متاحة",None:"لا شيء","Numbered List":"قائمة رقمية","Numbered list styles toolbar":"شريط أدوات أنماط القوائم المرقمة","Open in a new tab":"فتح في تبويب جديد","Open link in new tab":"فتح الرابط في تبويب جديد",Orange:"برتقالي",Original:"الحجم الأصلي",Outset:"بارز",Padding:"الحاشية",Paragraph:"فقرة","Paste raw HTML here...":"ألصق رمز HTML الأولي هنا...","Pink marker":"تحديد وردي","Plain text":"نص عادي","Press Enter to type after or press Shift + Enter to type before the widget":"اضغط على Enter للكتابة بعد ذلك أو اضغط على Shift + Enter للكتابة قبل الأداة",Previous:"السابق",Purple:"أرجواني",Red:"أحمر","Red pen":"تحديد احمر",Redo:"إعادة","Remove color":"إزالة اللون","Remove Format":"إزالة التنسيق","Remove highlight":"إزالة التحديد","Resize image":"تغيير حجم الصورة","Resize image to %0":"تغيير حجم الصورة إلى %0","Resize image to the original size":"تغيير حجم الصورة إلى الحجم الأصلي","Restore default":"استعادة الافتراضي","Reversed order":"عكس اتجاه الترتيب","Rich Text Editor":"معالج نصوص",Ridge:"إطار ناتئ","Right aligned image":"صورة بمحاذاة لليمين",Row:"صف",Save:"حفظ","Save changes":"حفظ التغييرات","Saving changes":"جاري حفظ التعديلات","Select all":"تحديد الكل","Select column":"حدد العمود","Select row":"حدد صفًا","Show more items":"عرض المزيد من العناصر","Side image":"صورة جانبية",Small:"صغير",Solid:"صلب","Split cell horizontally":"فصل الخلايا بشكل افقي","Split cell vertically":"فصل الخلايا بشكل عمودي",Square:"مربع","Start at":"البدء من","Start index must be greater than 0.":"يجب أن تكون قيمة البداية في الفهرس أكبر من 0.",Strikethrough:"يتوسطه خط",Style:"أسلوب",Subscript:"حرف منخفض",Superscript:"حرف مرتفع","Table alignment toolbar":"شريط أدوات محاذاة الجدول","Table cell text alignment":"محاذاة نص خلية الجدول","Table properties":"خصائص الجدول","Table toolbar":"شريط أدوات الجدول","Text alignment":"محاذاة النص","Text alignment toolbar":"شريط أدوات محاذاة النص","Text alternative":"النص البديل","Text highlight 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" وحسب.',"This link has no URL":"لا يحتوي هذا الرابط على عنوان",Tiny:"ضئيل","To-do List":"قائمة المهام","Toggle caption off":"إخفاء التسمية التوضيحية","Toggle caption on":"عرض التسمية التوضيحية","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":"تبديل نمط قائمة الأرقام الرومانية الكبيرة",Turquoise:"فيروزي","Type or paste your content here.":"أكتب المحتوى أو ألصقه هنا.","Type your title":"أدخل العنوان",Underline:"تحته خط",Undo:"تراجع",Unlink:"إلغاء الرابط",Update:"تحديث","Update image URL":"عنوان URL الخاص بتحديث الصورة","Upload failed":"فشل الرفع","Upload in progress":"جاري الرفع","Upper-latin":"حرف لاتيني كبير","Upper-roman":"رقم روماني كبير","Vertical text alignment toolbar":"شريط أدوات محاذاة النص العمودي",White:"أبيض","Widget toolbar":"شريط أدوات الواجهة",Width:"العرض","Wrap text":"التفاف النص",Yellow:"أصفر","Yellow marker":"تحديد اصفر"}),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||{},{"%0 of %1":"%0 من %1",Accept:"","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 center":"محاذاة في المنتصف","Align left":"محاذاة لليسار","Align right":"محاذاة لليمين","Align table to the left":"قم بمحاذاة الجدول إلى اليسار","Align table to the right":"قم بمحاذاة الجدول إلى اليمين",Alignment:"المحاذاة",Aquamarine:"أخضر زبرجد",Background:"الخلفية",Big:"كبير",Black:"أسود","Block quote":"اقتباس",Blue:"أزرق","Blue marker":"تحديد ازرق",Bold:"عريض",Border:"الحدود","Break text":"اعتراض النص","Bulleted List":"قائمة نقطية","Bulleted list styles toolbar":"شريط أدوات أنماط قوائم التعداد النقطي",Cancel:"إلغاء","Caption for image: %0":"التسمية التوضيحية للصورة: %0","Caption for the image":"التسمية التوضيحية للصورة","Cell properties":"خصائص الخلية","Center table":"قم بمحاذاة الجدول إلى المنتصف","Centered image":"صورة بالوسط","Change image text alternative":"غير النص البديل للصورة","Choose heading":"اختر عنوان",Circle:"دائرة",Code:"شفرة برمجية",Color:"اللون","Color picker":"أداة انتقاء الألوان",Column:"عمود",Dashed:"متقطع",Decimal:"رقم عشري","Decimal with leading zero":"رقم عشري مع البدء بصفر ","Decrease indent":"تقليص المسافة البادئة",Default:"افتراضي","Delete column":"حذف العمود","Delete row":"حذف الصف","Dim grey":"رمادي خافت",Dimensions:"الابعاد",Disc:"قرص","Document colors":"ألوان المستند",Dotted:"منقط",Double:"مزدوج",Downloadable:"يمكن تنزيله","Dropdown toolbar":"شريط أدوات القائمة المنسدلة","Edit block":"كتلة التحرير","Edit link":"تحرير الرابط","Edit source":"تحرير المصدر","Editor block content toolbar":"شريط المحرر لأدوات كتلة المحتوى","Editor contextual toolbar":"شريط المحرر للأدوات السياقية","Editor editing area: %0":"منطقة تحرير المحرر: %0","Editor toolbar":"شريط أدوات المحرر","Empty snippet content":"محتوى القصاصة فارغ","Enter image caption":"ادخل عنوان الصورة","Enter table caption":"أدخل التسمية التوضيحية للجدول","Font Background Color":"لون خلفية الخط","Font Color":"لون الخط","Font Family":"نوع الخط","Font Size":"حجم الخط","Full size image":"صورة بحجم كامل",Green:"أخضر","Green marker":"تحديد اخضر","Green pen":"قلم اخضر",Grey:"رمادي",Groove:"إطار محفور","Header column":"عمود عنوان","Header row":"صف عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6",Height:"الارتفاع",HEX:"",Highlight:"تحديد","Horizontal line":"خط أفقي","Horizontal text alignment toolbar":"شريط أدوات محاذاة النص الأفقي","HTML snippet":"قصاصة برمجية بلغة HTML",Huge:"ضخم","Image resize list":"قائمة تغيير حجم الصورة","Image toolbar":"شريط أدوات الصور","image widget":"عنصر الصورة","In line":"سطري مع النص","Increase indent":"زيادة المسافة البادئة",Insert:"إدراج","Insert code block":"إدراج كتلة تعليمات برمجية","Insert column left":"أدخل العمود إلى اليسار","Insert column right":"أدخل العمود إلى اليمين","Insert HTML":"إدراج HTML","Insert image":"ادراج صورة","Insert image via URL":"إدراج صورة عبر عنوان URL","Insert paragraph after block":"إدراج فقرة بعد الكتلة","Insert paragraph before block":"إدراج فقرة قبل الكتلة","Insert row above":"ادراج صف قبل","Insert row below":"ادراج صف بعد","Insert table":"إدراج جدول",Inset:"منخفض",Italic:"مائل",Justify:"ضبط","Justify cell text":"ضبط نص الخلية","Left aligned image":"صورة بمحاذاة لليسار","Light blue":"أزرق فاتح","Light green":"أخضر فاتح","Light grey":"رمادي فاتح",Link:"رابط","Link image":"ربط الصورة","Link URL":"رابط عنوان","List properties":"خصائص القائمة","Lower-latin":"حرف لاتيني صغير","Lower–roman":"رقم روماني صغير","Merge cell down":"دمج الخلايا للأسفل","Merge cell left":"دمج الخلايا لليسار","Merge cell right":"دمج الخلايا لليمين","Merge cell up":"دمج الخلايا للأعلى","Merge cells":"دمج الخلايا",Next:"التالي","No preview available":"المعاينة غير متاحة",None:"لا شيء","Numbered List":"قائمة رقمية","Numbered list styles toolbar":"شريط أدوات أنماط القوائم المرقمة","Open in a new tab":"فتح في تبويب جديد","Open link in new tab":"فتح الرابط في تبويب جديد",Orange:"برتقالي",Original:"الحجم الأصلي",Outset:"بارز",Padding:"الحاشية",Paragraph:"فقرة","Paste raw HTML here...":"ألصق رمز HTML الأولي هنا...","Pink marker":"تحديد وردي","Plain text":"نص عادي","Press Enter to type after or press Shift + Enter to type before the widget":"اضغط على Enter للكتابة بعد ذلك أو اضغط على Shift + Enter للكتابة قبل الأداة",Previous:"السابق",Purple:"أرجواني",Red:"أحمر","Red pen":"تحديد احمر",Redo:"إعادة","Remove color":"إزالة اللون","Remove Format":"إزالة التنسيق","Remove highlight":"إزالة التحديد","Resize image":"تغيير حجم الصورة","Resize image to %0":"تغيير حجم الصورة إلى %0","Resize image to the original size":"تغيير حجم الصورة إلى الحجم الأصلي","Restore default":"استعادة الافتراضي","Reversed order":"عكس اتجاه الترتيب","Rich Text Editor":"معالج نصوص",Ridge:"إطار ناتئ","Right aligned image":"صورة بمحاذاة لليمين",Row:"صف",Save:"حفظ","Save changes":"حفظ التغييرات","Saving changes":"جاري حفظ التعديلات","Select all":"تحديد الكل","Select column":"حدد العمود","Select row":"حدد صفًا","Show more items":"عرض المزيد من العناصر","Side image":"صورة جانبية",Small:"صغير",Solid:"صلب","Split cell horizontally":"فصل الخلايا بشكل افقي","Split cell vertically":"فصل الخلايا بشكل عمودي",Square:"مربع","Start at":"البدء من","Start index must be greater than 0.":"يجب أن تكون قيمة البداية في الفهرس أكبر من 0.",Strikethrough:"يتوسطه خط",Style:"أسلوب",Subscript:"حرف منخفض",Superscript:"حرف مرتفع","Table alignment toolbar":"شريط أدوات محاذاة الجدول","Table cell text alignment":"محاذاة نص خلية الجدول","Table properties":"خصائص الجدول","Table toolbar":"شريط أدوات الجدول","Text alignment":"محاذاة النص","Text alignment toolbar":"شريط أدوات محاذاة النص","Text alternative":"النص البديل","Text highlight 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" وحسب.',"This link has no URL":"لا يحتوي هذا الرابط على عنوان",Tiny:"ضئيل","To-do List":"قائمة المهام","Toggle caption off":"إخفاء التسمية التوضيحية","Toggle caption on":"عرض التسمية التوضيحية","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":"تبديل نمط قائمة الأرقام الرومانية الكبيرة",Turquoise:"فيروزي","Type or paste your content here.":"أكتب المحتوى أو ألصقه هنا.","Type your title":"أدخل العنوان",Underline:"تحته خط",Undo:"تراجع",Unlink:"إلغاء الرابط",Update:"تحديث","Update image URL":"عنوان URL الخاص بتحديث الصورة","Upload failed":"فشل الرفع","Upload in progress":"جاري الرفع","Upper-latin":"حرف لاتيني كبير","Upper-roman":"رقم روماني كبير","Vertical text alignment toolbar":"شريط أدوات محاذاة النص العمودي",White:"أبيض","Widget toolbar":"شريط أدوات الواجهة",Width:"العرض","Wrap text":"التفاف النص",Yellow:"أصفر","Yellow marker":"تحديد اصفر"}),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
index 283c328c1243048225c106a1d7cb7e27f2051f1c..270927414ae222f32f30ca180f754337e4a7ddd7 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ast=e.ast||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"",Blue:"",Bold:"Negrina","Break text":"","Bulleted List":"Llista con viñetes","Bulleted list styles toolbar":"",Cancel:"Encaboxar","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"",Circle:"",Code:"",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"","Full size image":"Imaxen a tamañu completu",Green:"",Grey:"","Image resize list":"","Image toolbar":"","image widget":"complementu d'imaxen","In line":"",Insert:"","Insert image":"","Insert image via URL":"",Italic:"Cursiva","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"Enllazar","Link image":"","Link URL":"URL del enllaz","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"Llista numberada","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Previous:"",Purple:"",Red:"",Redo:"Refacer","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Editor de testu arriquecíu","Right aligned image":"",Save:"Guardar","Show more items":"","Side image":"Imaxen llateral",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"","This link has no URL":"","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":"",Turquoise:"",Underline:"",Undo:"Desfacer",Unlink:"Desenllazar",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",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||{},{"%0 of %1":"",Aquamarine:"",Black:"",Blue:"",Bold:"Negrina","Break text":"","Bulleted List":"Llista con viñetes","Bulleted list styles toolbar":"",Cancel:"Encaboxar","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"",Circle:"",Code:"",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"","Full size image":"Imaxen a tamañu completu",Green:"",Grey:"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"complementu d'imaxen","In line":"",Insert:"","Insert image":"","Insert image via URL":"",Italic:"Cursiva","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"Enllazar","Link image":"","Link URL":"URL del enllaz","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"Llista numberada","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Previous:"",Purple:"",Red:"",Redo:"Refacer","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Editor de testu arriquecíu","Right aligned image":"",Save:"Guardar","Show more items":"","Side image":"Imaxen llateral",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"","This link has no URL":"","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":"",Turquoise:"",Underline:"",Undo:"Desfacer",Unlink:"Desenllazar",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index fde41e264bec22ea9e2f0d0140f7a1e426a8403d..89d25abd60c25cdefa457a60ba34dcb2372d1f96 100644 (file)
@@ -1 +1 @@
-!function(e){const l=e.az=e.az||{};l.dictionary=Object.assign(l.dictionary||{},{"%0 of %1":"%1-dən %0","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 center":"Mərkəzə düzləndir","Align left":"Soldan düzləndir","Align right":"Sağdan düzləndir","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"Akvamarin",Background:"Fon",Big:"Böyük",Black:"Qara","Block quote":"Sitat bloku",Blue:"Mavi","Blue marker":"Mavi marker",Bold:"Yarıqalın",Border:"Sərhəd","Break text":"","Bulleted List":"Markerlənmiş siyahı","Bulleted list styles toolbar":"",Cancel:"İmtina et","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Mərkəzə düzləndir","Change image text alternative":"Alternativ mətni redaktə et","Choose heading":"Başlıqı seç",Circle:"",Code:"Kod",Color:"Rəng","Color picker":"",Column:"Sütun",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"Boş yeri kiçilt",Default:"Default","Delete column":"Sütunları sil","Delete row":"Sətirləri sil","Dim grey":"Tünd boz",Dimensions:"Ölçülər",Disc:"","Document colors":"Rənglər",Dotted:"",Double:"",Downloadable:"Yüklənə bilər","Dropdown toolbar":"Açılan paneli","Edit block":"Redaktə etmək bloku","Edit link":"Linki redaktə et","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Redaktorun paneli","Enter image caption":"Şəkil başlığı daxil edin","Enter table caption":"","Font Background Color":"Şrift Fonunun Rəngi","Font Color":"Şrift Rəngi","Font Family":"Şrift ailəsi","Font Size":"Şrift ölçüsü","Full size image":"Tam ölçülü şəkili",Green:"Yaşıl","Green marker":"Yaşıl marker","Green pen":"Yaşıl qələm",Grey:"Boz",Groove:"","Header column":"Başlıqlı sütun","Header row":"Başlıqlı sətir",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",Height:"Hündürlük",Highlight:"Vurğulamaq","Horizontal line":"Üfüqi xətt","Horizontal text alignment toolbar":"",Huge:"Nəhəng","Image resize list":"","Image toolbar":"Şəkil paneli","image widget":"Şəkil vidgetı","In line":"","Increase indent":"Boş yeri böyüt",Insert:"","Insert code block":"Kod blokunu əlavə et","Insert column left":"Sola sütun əlavə et","Insert column right":"Sağa sütun əlavə et","Insert image":"Şəkili əlavə et","Insert image via URL":"","Insert paragraph after block":"","Insert paragraph before block":"","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:"",Italic:"Maili",Justify:"Eninə görə","Justify cell text":"","Left aligned image":"Soldan düzləndir","Light blue":"Açıq mavi","Light green":"Açıq yaşıl","Light grey":"Açıq boz",Link:"Əlaqələndir","Link image":"","Link URL":"Linkin URL","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"Növbəti",None:"","Numbered List":"Nömrələnmiş siyahı","Numbered list styles toolbar":"","Open in a new tab":"Yeni pəncərədə aç","Open link in new tab":"Linki yeni pəncərədə aç",Orange:"Narıncı",Original:"",Outset:"",Padding:"",Paragraph:"Abzas","Pink marker":"Çəhrayı marker","Plain text":"Sadə mətn","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ı","Red pen":"Qırmızı qələm",Redo:"Təkrar et","Remove color":"Rəngi ləğv et","Remove Format":"Formatı Ləğv Et","Remove highlight":"Vurgulanı sil","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Rich Text Redaktoru",Ridge:"","Right aligned image":"Sağdan düzləndir",Row:"Sətir",Save:"Yadda saxla","Saving changes":"Dəyişikliklər saxlanılır","Select column":"","Select row":"","Show more items":"Daha çox əşyanı göstərin","Side image":"Yan şəkil",Small:"Kiçik",Solid:"","Split cell horizontally":"Xanaları üfüqi böl","Split cell vertically":"Xanaları şaquli böl",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Qaralanmış",Style:"",Subscript:"Alt yazı",Superscript:"Üst yazı","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","Text alignment":"Mətn düzləndirməsi","Text alignment toolbar":"Mətnin düzləndirmə paneli","Text alternative":"Alternativ mətn","Text highlight toolbar":"Vurğulamaq 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".':"","This link has no URL":"Bu linkdə URL yoxdur",Tiny:"Miniatür","To-do List":"To-do siyahı","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Firuzəyi","Type or paste your content here.":"","Type your title":"Başlığınızı yazın",Underline:"Altdan xətt",Undo:"İmtina et",Unlink:"Linki sil",Update:"","Update image URL":"","Upload failed":"Şəkili serverə yüklə","Upload in progress":"Yüklənir","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"Ağ","Widget toolbar":"Vidgetin paneli",Width:"Eni","Wrap text":"",Yellow:"Sarı","Yellow marker":"Sarı marker"}),l.getPluralForm=function(e){return 1!=e}}(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||{},{"%0 of %1":"%1-dən %0",Accept:"","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 center":"Mərkəzə düzləndir","Align left":"Soldan düzləndir","Align right":"Sağdan düzləndir","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"Akvamarin",Background:"Fon",Big:"Böyük",Black:"Qara","Block quote":"Sitat bloku",Blue:"Mavi","Blue marker":"Mavi marker",Bold:"Yarıqalın",Border:"Sərhəd","Break text":"","Bulleted List":"Markerlənmiş siyahı","Bulleted list styles toolbar":"",Cancel:"İmtina et","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Mərkəzə düzləndir","Change image text alternative":"Alternativ mətni redaktə et","Choose heading":"Başlıqı seç",Circle:"",Code:"Kod",Color:"Rəng","Color picker":"",Column:"Sütun",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"Boş yeri kiçilt",Default:"Default","Delete column":"Sütunları sil","Delete row":"Sətirləri sil","Dim grey":"Tünd boz",Dimensions:"Ölçülər",Disc:"","Document colors":"Rənglər",Dotted:"",Double:"",Downloadable:"Yüklənə bilər","Dropdown toolbar":"Açılan paneli","Edit block":"Redaktə etmək bloku","Edit link":"Linki redaktə et","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Redaktorun paneli","Enter image caption":"Şəkil başlığı daxil edin","Enter table caption":"","Font Background Color":"Şrift Fonunun Rəngi","Font Color":"Şrift Rəngi","Font Family":"Şrift ailəsi","Font Size":"Şrift ölçüsü","Full size image":"Tam ölçülü şəkili",Green:"Yaşıl","Green marker":"Yaşıl marker","Green pen":"Yaşıl qələm",Grey:"Boz",Groove:"","Header column":"Başlıqlı sütun","Header row":"Başlıqlı sətir",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",Height:"Hündürlük",HEX:"",Highlight:"Vurğulamaq","Horizontal line":"Üfüqi xətt","Horizontal text alignment toolbar":"",Huge:"Nəhəng","Image resize list":"","Image toolbar":"Şəkil paneli","image widget":"Şəkil vidgetı","In line":"","Increase indent":"Boş yeri böyüt",Insert:"","Insert code block":"Kod blokunu əlavə et","Insert column left":"Sola sütun əlavə et","Insert column right":"Sağa sütun əlavə et","Insert image":"Şəkili əlavə et","Insert image via URL":"","Insert paragraph after block":"","Insert paragraph before block":"","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:"",Italic:"Maili",Justify:"Eninə görə","Justify cell text":"","Left aligned image":"Soldan düzləndir","Light blue":"Açıq mavi","Light green":"Açıq yaşıl","Light grey":"Açıq boz",Link:"Əlaqələndir","Link image":"","Link URL":"Linkin URL","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"Növbəti",None:"","Numbered List":"Nömrələnmiş siyahı","Numbered list styles toolbar":"","Open in a new tab":"Yeni pəncərədə aç","Open link in new tab":"Linki yeni pəncərədə aç",Orange:"Narıncı",Original:"",Outset:"",Padding:"",Paragraph:"Abzas","Pink marker":"Çəhrayı marker","Plain text":"Sadə mətn","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ı","Red pen":"Qırmızı qələm",Redo:"Təkrar et","Remove color":"Rəngi ləğv et","Remove Format":"Formatı Ləğv Et","Remove highlight":"Vurgulanı sil","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Rich Text Redaktoru",Ridge:"","Right aligned image":"Sağdan düzləndir",Row:"Sətir",Save:"Yadda saxla","Saving changes":"Dəyişikliklər saxlanılır","Select column":"","Select row":"","Show more items":"Daha çox əşyanı göstərin","Side image":"Yan şəkil",Small:"Kiçik",Solid:"","Split cell horizontally":"Xanaları üfüqi böl","Split cell vertically":"Xanaları şaquli böl",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Qaralanmış",Style:"",Subscript:"Alt yazı",Superscript:"Üst yazı","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","Text alignment":"Mətn düzləndirməsi","Text alignment toolbar":"Mətnin düzləndirmə paneli","Text alternative":"Alternativ mətn","Text highlight toolbar":"Vurğulamaq 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".':"","This link has no URL":"Bu linkdə URL yoxdur",Tiny:"Miniatür","To-do List":"To-do siyahı","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Firuzəyi","Type or paste your content here.":"","Type your title":"Başlığınızı yazın",Underline:"Altdan xətt",Undo:"İmtina et",Unlink:"Linki sil",Update:"","Update image URL":"","Upload failed":"Şəkili serverə yüklə","Upload in progress":"Yüklənir","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"Ağ","Widget toolbar":"Vidgetin paneli",Width:"Eni","Wrap text":"",Yellow:"Sarı","Yellow marker":"Sarı marker"}),l.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index ba7bc7b5cc94a618e0adf9f68e41b31eb69e7b39..1dd8a7f2a0fa1f0d48cbb67e768964114168b659 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.bg=e.bg||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 от %1","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 center":"Централно подравняване","Align left":"Ляво подравняване","Align right":"Дясно подравняване","Align table to the left":"Подравни таблицата наляво","Align table to the right":"Подравни таблицата надясно",Alignment:"Подравняване",Aquamarine:"Аквамарин",Background:"Фон",Big:"Едър",Black:"Черен","Block quote":"Цитат",Blue:"Син","Blue marker":"Син маркер",Bold:"Удебелен",Border:"Граница","Break text":"Раздели текст","Bulleted List":"Водещи символи","Bulleted list styles toolbar":"Лента със стилове за подточки",Cancel:"Отказ","Caption for image: %0":"Заглавие на изображението: %0","Caption for the image":"Заглавие на изображението","Cell properties":"Свойства на клетки","Center table":"Центрирай таблицата","Centered image":"Центрирано изображение","Change image text alternative":"Промени изображението на текстовата алтернатива","Choose heading":"Избери заглавие",Circle:"Кръг",Code:"Код",Color:"Цвят","Color picker":"Избор на цвят",Column:"Колона",Dashed:"На черти",Decimal:"Десетичен","Decimal with leading zero":"Десетичен с водеща нула","Decrease indent":"Намали отстъпа",Default:"По подразбиране","Delete column":"Изтриване на колона","Delete row":"Изтриване на ред","Dim grey":"Тъмно сив",Dimensions:"Размери",Disc:"Диск","Document colors":"Цвят на документа",Dotted:"На точки",Double:"Двоен",Downloadable:"Изтегляне","Dropdown toolbar":"Лента с падащо меню","Edit block":"Редактирай блок","Edit link":"Редакция на линк","Edit source":"Редактирай източник","Editor block content toolbar":"Лента с инструменти за блокиране на съдържанието на редактора","Editor contextual toolbar":"Контекстна лента с инструменти на редактора","Editor editing area: %0":"Зона за редактиране на редактора: %0","Editor toolbar":"Лента за редакция","Empty snippet content":"Изпразни съдържанието на съкращението","Enter image caption":"Въведи описание на изображението","Enter table caption":"Въведи надпис на таблица","Font Background Color":"Цвят на шрифтовия фон","Font Color":"Цвят на шрифта","Font Family":"Семейство шрифтове","Font Size":"Размер на шрифта","Full size image":"Изображение в пълен размер",Green:"Зелен","Green marker":"Зелен маркер","Green pen":"Зелена химикалка",Grey:"Сив",Groove:"На зиг-заг","Header column":"Заглавна колона","Header row":"Заглавен ред",Heading:"Заглавие","Heading 1":"Заглавие 1","Heading 2":"Заглавие 2","Heading 3":"Заглавие 3","Heading 4":"Заглавие 4","Heading 5":"Заглавие 5","Heading 6":"Заглавие 6",Height:"Височина",Highlight:"Подчертай","Horizontal line":"Хоризонтална черта","Horizontal text alignment toolbar":"Лента за хоризонтално подравняване на текст","HTML snippet":"съкратен HTML",Huge:"Много едър","Image resize list":"Списък с промените на размера на изображението","Image toolbar":"Лента с изображения","image widget":"Компонент за изображение","In line":"В линия","Increase indent":"Увеличи отстъпа",Insert:"Вмъкни","Insert code block":"Въведи кодов блок","Insert column left":"Вмъкни колона отляво","Insert column right":"Вмъкни колона отдясно","Insert HTML":"Въведи HTML","Insert image":"Вмъкни изображение","Insert image via URL":"Въведи изображение чрез URL","Insert paragraph after block":"Въведи параграф след блока","Insert paragraph before block":"Въведи параграф преди блока","Insert row above":"Вмъкни ред отгоре","Insert row below":"Вмъкни ред отдолу","Insert table":"Вмъкни таблица",Inset:"Вмъкни",Italic:"Курсив",Justify:"Разпредели по равно","Justify cell text":"Разпредели равномерно текста в клетката","Left aligned image":"Изображение подравнено вляво","Light blue":"Светло син","Light green":"Светло зелен","Light grey":"Светло сив",Link:"Линк","Link image":"Свържи изображение","Link URL":"Уеб адрес на линка","List properties":"Свойства на списъка","Lower-latin":"Долен-латински","Lower–roman":"Долен-римски","Merge cell down":"Обединяване на клетка надолу","Merge cell left":"Обединяване на клетка отляво","Merge cell right":"Обединяване на клетка отдясно","Merge cell up":"Обединяване на клетка отгоре","Merge cells":"Обединяване на клетки",Next:"Следващ","No preview available":"Не е наличен преглед",None:"Нищо","Numbered List":"Номериране","Numbered list styles toolbar":"Лента със стилове за номерация","Open in a new tab":"Отваряне в нов раздел","Open link in new tab":"Отваряне на линк в нов раздел",Orange:"Оранжев",Original:"Оригинал",Outset:"Изпъкнала",Padding:"Пълнеж",Paragraph:"Параграф","Paste raw HTML here...":"Постави суров HTML тук...","Pink marker":"Розов маркер","Plain text":"Обикновен текст","Press Enter to type after or press Shift + Enter to type before the widget":"Натиснете Enter за въвеждане или натиснете Shift + Enter за въвеждане преди изпълнимия модул",Previous:"Предишен",Purple:"Лилав",Red:"Червен","Red pen":"Червена химикалка",Redo:"Повтори","Remove color":"Премахни цвят","Remove Format":"Премахни форматиране","Remove highlight":"Премахни подчертаване","Resize image":"Промени размера на изображението","Resize image to %0":"Промени размера на изображението на %0","Resize image to the original size":"Възстанови оригиналния размер на изображението","Restore default":"Възстанови първоначалните настройки","Reversed order":"Обърнат ред","Rich Text Editor":"Богат текстов редактор",Ridge:"Назъбен","Right aligned image":"Изображение подравнено вдясно",Row:"Ред",Save:"Запазване","Save changes":"Запази промените","Saving changes":"Запазване на промените","Select all":"Избери всички","Select column":"Избери колона","Select row":"Избери ред","Show more items":"Покажи повече единици","Side image":"Странично изображение",Small:"Малък",Solid:"Твърд","Split cell horizontally":"Разделяне на клетки хоризонтално","Split cell vertically":"Разделяне на клетки вертикално",Square:"Квадрат","Start at":"Започни с","Start index must be greater than 0.":"Стартовия индекс трябва да е по-голям от 0.",Strikethrough:"Зачертаване",Style:"Стил",Subscript:"Долен индекс",Superscript:"Горен индекс","Table alignment toolbar":"Лента за подравняване на таблици","Table cell text alignment":"Подравняване на текст в клетка","Table properties":"Свойства на таблици","Table toolbar":"Лента за таблици","Text alignment":"Подравняване на текста","Text alignment toolbar":"Лента за подравняване на текст","Text alternative":"Текстова алтернатива","Text highlight 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".',"This link has no URL":"Този линк няма уеб адрес",Tiny:"Много малък","To-do List":"Списък със задачи","Toggle caption off":"Превключи изключване на надписи","Toggle caption on":"Превключи включване на надписи","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":"Превключи между стиловете на горен-римски списък",Turquoise:"Тюркоазен","Type or paste your content here.":"Напишете или поставете съдържанието си тук.","Type your title":"Напишете заглавието си",Underline:"Подчертаване",Undo:"Отмени",Unlink:"Премахване на линка",Update:"Обнови","Update image URL":"Обнови URL на изображението","Upload failed":"Качването е неуспешно","Upload in progress":"Качването е в процес","Upper-latin":"Горен-латински","Upper-roman":"Горен-римски","Vertical text alignment toolbar":"Лента за вертикално подравняване на текст",White:"Бял","Widget toolbar":"Лента с помощни средства",Width:"Ширина","Wrap text":"Събери текст",Yellow:"Жълт","Yellow marker":"Жълт маркер"}),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||{},{"%0 of %1":"%0 от %1",Accept:"","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 center":"Централно подравняване","Align left":"Ляво подравняване","Align right":"Дясно подравняване","Align table to the left":"Подравни таблицата наляво","Align table to the right":"Подравни таблицата надясно",Alignment:"Подравняване",Aquamarine:"Аквамарин",Background:"Фон",Big:"Едър",Black:"Черен","Block quote":"Цитат",Blue:"Син","Blue marker":"Син маркер",Bold:"Удебелен",Border:"Граница","Break text":"Раздели текст","Bulleted List":"Водещи символи","Bulleted list styles toolbar":"Лента със стилове за подточки",Cancel:"Отказ","Caption for image: %0":"Заглавие на изображението: %0","Caption for the image":"Заглавие на изображението","Cell properties":"Свойства на клетки","Center table":"Центрирай таблицата","Centered image":"Центрирано изображение","Change image text alternative":"Промени изображението на текстовата алтернатива","Choose heading":"Избери заглавие",Circle:"Кръг",Code:"Код",Color:"Цвят","Color picker":"Избор на цвят",Column:"Колона",Dashed:"На черти",Decimal:"Десетичен","Decimal with leading zero":"Десетичен с водеща нула","Decrease indent":"Намали отстъпа",Default:"По подразбиране","Delete column":"Изтриване на колона","Delete row":"Изтриване на ред","Dim grey":"Тъмно сив",Dimensions:"Размери",Disc:"Диск","Document colors":"Цвят на документа",Dotted:"На точки",Double:"Двоен",Downloadable:"Изтегляне","Dropdown toolbar":"Лента с падащо меню","Edit block":"Редактирай блок","Edit link":"Редакция на линк","Edit source":"Редактирай източник","Editor block content toolbar":"Лента с инструменти за блокиране на съдържанието на редактора","Editor contextual toolbar":"Контекстна лента с инструменти на редактора","Editor editing area: %0":"Зона за редактиране на редактора: %0","Editor toolbar":"Лента за редакция","Empty snippet content":"Изпразни съдържанието на съкращението","Enter image caption":"Въведи описание на изображението","Enter table caption":"Въведи надпис на таблица","Font Background Color":"Цвят на шрифтовия фон","Font Color":"Цвят на шрифта","Font Family":"Семейство шрифтове","Font Size":"Размер на шрифта","Full size image":"Изображение в пълен размер",Green:"Зелен","Green marker":"Зелен маркер","Green pen":"Зелена химикалка",Grey:"Сив",Groove:"На зиг-заг","Header column":"Заглавна колона","Header row":"Заглавен ред",Heading:"Заглавие","Heading 1":"Заглавие 1","Heading 2":"Заглавие 2","Heading 3":"Заглавие 3","Heading 4":"Заглавие 4","Heading 5":"Заглавие 5","Heading 6":"Заглавие 6",Height:"Височина",HEX:"",Highlight:"Подчертай","Horizontal line":"Хоризонтална черта","Horizontal text alignment toolbar":"Лента за хоризонтално подравняване на текст","HTML snippet":"съкратен HTML",Huge:"Много едър","Image resize list":"Списък с промените на размера на изображението","Image toolbar":"Лента с изображения","image widget":"Компонент за изображение","In line":"В линия","Increase indent":"Увеличи отстъпа",Insert:"Вмъкни","Insert code block":"Въведи кодов блок","Insert column left":"Вмъкни колона отляво","Insert column right":"Вмъкни колона отдясно","Insert HTML":"Въведи HTML","Insert image":"Вмъкни изображение","Insert image via URL":"Въведи изображение чрез URL","Insert paragraph after block":"Въведи параграф след блока","Insert paragraph before block":"Въведи параграф преди блока","Insert row above":"Вмъкни ред отгоре","Insert row below":"Вмъкни ред отдолу","Insert table":"Вмъкни таблица",Inset:"Вмъкни",Italic:"Курсив",Justify:"Разпредели по равно","Justify cell text":"Разпредели равномерно текста в клетката","Left aligned image":"Изображение подравнено вляво","Light blue":"Светло син","Light green":"Светло зелен","Light grey":"Светло сив",Link:"Линк","Link image":"Свържи изображение","Link URL":"Уеб адрес на линка","List properties":"Свойства на списъка","Lower-latin":"Долен-латински","Lower–roman":"Долен-римски","Merge cell down":"Обединяване на клетка надолу","Merge cell left":"Обединяване на клетка отляво","Merge cell right":"Обединяване на клетка отдясно","Merge cell up":"Обединяване на клетка отгоре","Merge cells":"Обединяване на клетки",Next:"Следващ","No preview available":"Не е наличен преглед",None:"Нищо","Numbered List":"Номериране","Numbered list styles toolbar":"Лента със стилове за номерация","Open in a new tab":"Отваряне в нов раздел","Open link in new tab":"Отваряне на линк в нов раздел",Orange:"Оранжев",Original:"Оригинал",Outset:"Изпъкнала",Padding:"Пълнеж",Paragraph:"Параграф","Paste raw HTML here...":"Постави суров HTML тук...","Pink marker":"Розов маркер","Plain text":"Обикновен текст","Press Enter to type after or press Shift + Enter to type before the widget":"Натиснете Enter за въвеждане или натиснете Shift + Enter за въвеждане преди изпълнимия модул",Previous:"Предишен",Purple:"Лилав",Red:"Червен","Red pen":"Червена химикалка",Redo:"Повтори","Remove color":"Премахни цвят","Remove Format":"Премахни форматиране","Remove highlight":"Премахни подчертаване","Resize image":"Промени размера на изображението","Resize image to %0":"Промени размера на изображението на %0","Resize image to the original size":"Възстанови оригиналния размер на изображението","Restore default":"Възстанови първоначалните настройки","Reversed order":"Обърнат ред","Rich Text Editor":"Богат текстов редактор",Ridge:"Назъбен","Right aligned image":"Изображение подравнено вдясно",Row:"Ред",Save:"Запазване","Save changes":"Запази промените","Saving changes":"Запазване на промените","Select all":"Избери всички","Select column":"Избери колона","Select row":"Избери ред","Show more items":"Покажи повече единици","Side image":"Странично изображение",Small:"Малък",Solid:"Твърд","Split cell horizontally":"Разделяне на клетки хоризонтално","Split cell vertically":"Разделяне на клетки вертикално",Square:"Квадрат","Start at":"Започни с","Start index must be greater than 0.":"Стартовия индекс трябва да е по-голям от 0.",Strikethrough:"Зачертаване",Style:"Стил",Subscript:"Долен индекс",Superscript:"Горен индекс","Table alignment toolbar":"Лента за подравняване на таблици","Table cell text alignment":"Подравняване на текст в клетка","Table properties":"Свойства на таблици","Table toolbar":"Лента за таблици","Text alignment":"Подравняване на текста","Text alignment toolbar":"Лента за подравняване на текст","Text alternative":"Текстова алтернатива","Text highlight 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".',"This link has no URL":"Този линк няма уеб адрес",Tiny:"Много малък","To-do List":"Списък със задачи","Toggle caption off":"Превключи изключване на надписи","Toggle caption on":"Превключи включване на надписи","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":"Превключи между стиловете на горен-римски списък",Turquoise:"Тюркоазен","Type or paste your content here.":"Напишете или поставете съдържанието си тук.","Type your title":"Напишете заглавието си",Underline:"Подчертаване",Undo:"Отмени",Unlink:"Премахване на линка",Update:"Обнови","Update image URL":"Обнови URL на изображението","Upload failed":"Качването е неуспешно","Upload in progress":"Качването е в процес","Upper-latin":"Горен-латински","Upper-roman":"Горен-римски","Vertical text alignment toolbar":"Лента за вертикално подравняване на текст",White:"Бял","Widget toolbar":"Лента с помощни средства",Width:"Ширина","Wrap text":"Събери текст",Yellow:"Жълт","Yellow marker":"Жълт маркер"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index cec2438dde5e37ce7fe1ec9a12b0c8f771d485e1..066bca7230a05b982d68e13f9f4f864b333b52bf 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.bn=e.bn||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 এর %1","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 center":"কেন্দ্র সারিবদ্ধ করুন","Align left":"বামে সারিবদ্ধ করুন","Align right":"ডানদিকে সারিবদ্ধ করুন","Align table to the left":"বাম দিকে টেবিল সারিবদ্ধ করুন","Align table to the right":"ডানদিকে টেবিলটি সারিবদ্ধ করুন",Alignment:"সারিবদ্ধকরণ",Aquamarine:"ফেকাশে সবুজবর্ণ",Background:"ব্যাকগ্রাউন্ড",Big:"বড়",Black:"কালো","Block quote":"ব্লক কোট",Blue:"নীল ","Blue marker":"নীল মার্কার",Bold:"বোল্ড",Border:"বর্ডার ","Break text":"টেক্সট ভেঙ্গে ফেলুন","Bulleted List":"বুলেটযুক্ত তালিকা","Bulleted list styles toolbar":"বুলেটেড তালিকা স্টাইল টুলবার",Cancel:"বাতিল করুন","Caption for image: %0":"ছবির জন্য ক্যাপশন: %0","Caption for the image":"ছবির জন্য ক্যাপশন","Cell properties":"সেল বৈশিষ্ট্য","Center table":"কেন্দ্রের টেবিল","Centered image":"কেন্দ্রীভূত ছবি","Change image text alternative":"ছবির টেক্সট বিকল্প পরিবর্তন","Choose heading":"শিরোনাম নির্বাচন করুন",Circle:"বৃত্ত",Code:"কোড",Color:"  রং","Color picker":"রং বাছাইকারী",Column:"কলাম",Dashed:"ড্যাশড",Decimal:"দশমিক","Decimal with leading zero":"অগ্রণী 0 সহ দশমিক ","Decrease indent":"ইন্ডেন্ট হ্রাস করুন",Default:"ডিফল্ট","Delete column":"কলাম মুছে ফেলুন","Delete row":"সারি মুছুন","Dim grey":"আবছা ধূসর",Dimensions:"মাত্রাগুলো",Disc:"ডিস্ক","Document colors":"নথির রং",Dotted:"ডটেড",Double:"দ্বিগুণ",Downloadable:"ডাউনলোডযোগ্য","Dropdown toolbar":"ড্রপডাউন টুলবার","Edit block":"এডিট ব্লক","Edit link":"\t\nলিঙ্ক  এডিট করুন","Edit source":"উৎস এডিট করুন","Editor block content toolbar":"সম্পাদক ব্লক কন্টেন্ট টুলবার","Editor contextual toolbar":"সম্পাদক প্রাসঙ্গিক টুলবার","Editor editing area: %0":"সম্পাদক সম্পাদনার ক্ষেত্র: %0","Editor toolbar":"সম্পাদক টুলবার","Empty snippet content":"খালি স্নিপেট বিষয়বস্তু","Enter image caption":"ছবির ক্যাপশন লিখুন","Enter table caption":"টেবিল ক্যাপশন লিখুন","Font Background Color":"ফন্ট ব্যাকগ্রাউন্ডের রং","Font Color":"ফন্টের রং","Font Family":"ফন্ট পরিবার","Font Size":"অক্ষরের আকার","Full size image":"সম্পূর্ণ আকারের ছবি",Green:"সবুজ","Green marker":"সবুজ মার্কার","Green pen":"সবুজ কলম",Grey:"ধূসর",Groove:"খাঁজকাটা","Header column":"হেডার কলাম","Header row":"হেডার সারি",Heading:"শিরোনাম","Heading 1":"শিরোনাম 1","Heading 2":"শিরোনাম 2","Heading 3":"শিরোনাম 3","Heading 4":"শিরোনাম 4","Heading 5":"শিরোনাম 5","Heading 6":"শিরোনাম 6",Height:"উচ্চতা",Highlight:"হাইলাইট","Horizontal line":"অনুভূমিক রেখা","Horizontal text alignment toolbar":"অনুভূমিক টেক্সট সারিবদ্ধকরণ টুলবার","HTML snippet":"HTML স্নিপেট",Huge:"অনেক বড়","Image resize list":"ছবির আকার পরিবর্তনের তালিকা","Image toolbar":"ছবির টুলবার","image widget":"ছবির উইজেট","In line":"সঙ্গতিপূর্ণভাবে","Increase indent":"ইন্ডেন্ট বৃদ্ধি করুন",Insert:"ঢোকান","Insert code block":"কোড ব্লক ঢোকান","Insert column left":"বাম দিকে কলাম ঢোকান","Insert column right":"ডানদিকে কলাম ঢোকান","Insert HTML":"HTML ঢোকান","Insert image":"ছবি ঢোকান","Insert image via URL":"URL এর মাধ্যমে ছবি ঢোকান","Insert paragraph after block":"ব্লকের পর অনুচ্ছেদ ঢোকান","Insert paragraph before block":"ব্লক করার আগে অনুচ্ছেদ ঢোকান","Insert row above":"উপরে সারি ঢোকান","Insert row below":"নীচে সারি ঢোকান","Insert table":"টেবিল ঢোকান",Inset:"ইনসেট",Italic:"ইটালিক",Justify:"জাস্টিফাই","Justify cell text":"সেল টেক্সট জাস্টিফাই করুন","Left aligned image":"বাম সারিবদ্ধ ছবি","Light blue":"হালকা নীল","Light green":"হালকা সবুজ","Light grey":"হালকা ধূসর",Link:"লিঙ্ক","Link image":"লিঙ্ক চিত্র","Link URL":"লিঙ্ক URL","List properties":"বৈশিষ্ট্য তালিকাভুক্ত করুন","Lower-latin":"নিম্ন-ল্যাটিন","Lower–roman":"নিম্ন-রোমান","Merge cell down":"নিচে সেল মার্জ করুন","Merge cell left":"বামদিকে সেল মার্জ করুন","Merge cell right":" ডানদিকে সেল মার্জ করুন","Merge cell up":"সেল আপ মার্জ","Merge cells":"সেল একত্রিত করুন",Next:"পরবর্তী","No preview available":"কোনো প্রিভিউ উপলব্ধ নেই",None:"কোনোটিই নয়","Numbered List":"সংখ্যাযুক্ত তালিকা","Numbered list styles toolbar":"সংখ্যাযুক্ত তালিকা স্টাইল টুলবার","Open in a new tab":"একটি নতুন ট্যাবে খুলুন","Open link in new tab":"লিঙ্কটি নতুন ট্যাবে খুলুন",Orange:"কমলা",Original:"মূল",Outset:"শুরু",Padding:"প্যাডিং",Paragraph:"অনুচ্ছেদ","Paste raw HTML here...":"এখানে সারি HTML পেস্ট করুন...","Pink marker":"গোলাপী মার্কার","Plain text":"প্লেইন টেক্সট","Press Enter to type after or press Shift + Enter to type before the widget":"পরে টাইপ করতে এন্টার চাপুন বা উইজেটের আগে টাইপ করতে Shift + এন্টার চাপুন",Previous:"পূর্ববর্তী",Purple:"বেগুনি",Red:"লাল","Red pen":"লাল কলম",Redo:"রেডো","Remove color":"রং মুছে ফেলুন","Remove Format":"ফরম্যাট মুছে ফেলুন","Remove highlight":"হাইলাইট মুছুন","Resize image":"ছবির আকার পরিবর্তন করুন","Resize image to %0":"ছবি %0 আকার পরিবর্তন করুন","Resize image to the original size":"মূল আকারে ছবির আকার পরিবর্তন করুন","Restore default":"পূর্বাবস্থায় ফিরিয়ে আনুন","Reversed order":"উল্টো ক্রম","Rich Text Editor":"রিচ টেক্সট এডিটর",Ridge:"রিজ","Right aligned image":"ডানে সারিবদ্ধ ছবি",Row:"সারি ",Save:"সংরক্ষণ করুন","Save changes":"পরিবর্তনগুলো সংরক্ষন","Saving changes":"পরিবর্তনগুলো সংরক্ষণ করা হচ্ছে","Select all":"সব নির্বাচন করুন","Select column":"কলাম নির্বাচন করুন","Select row":"সারি নির্বাচন করুন","Show more items":"আরও আইটেম দেখান","Side image":"পার্শ্ব ছবি",Small:"ছোট",Solid:"সলিড","Split cell horizontally":"অনুভূমিকভাবে সেল বিভক্ত করুন","Split cell vertically":"সেল উল্লম্বভাবে বিভক্ত করুন",Square:"বর্গক্ষেত্র","Start at":"শুরু হবে","Start index must be greater than 0.":"স্টার্ট ইনডেক্স অবশ্যই 0-এর বেশি হতে হবে।",Strikethrough:"স্ট্রাইকথ্রু",Style:"স্টাইল ",Subscript:"সাবস্ক্রিপ্ট",Superscript:"সুপারস্ক্রিপ্ট","Table alignment toolbar":"টেবিল সারিবদ্ধকরণ টুলবার","Table cell text alignment":"সক্ষম সেল টেক্সট সারিবদ্ধকরণ","Table properties":"টেবিল বৈশিষ্ট্য","Table toolbar":"টেবিল টুলবার","Text alignment":"টেক্সট সারিবদ্ধকরণ","Text alignment toolbar":"টেক্সট শ্রেণীবিন্যাস টুলবার","Text alternative":"টেক্সট বিকল্প","Text highlight 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" ব্যবহার করে দেখুন।',"This link has no URL":"এই লিঙ্কের কোন URL নেই",Tiny:"ক্ষুদ্র","To-do List":"তালিকা তৈরি","Toggle caption off":"টগল ক্যাপশন বন্ধ করুন","Toggle caption on":"টগল ক্যাপশন চালু করুন","Toggle the circle list style":"বৃত্ত তালিকা স্টাইল টগল করুন","Toggle the decimal list style":"দশমিক তালিকা স্টাইল টগল করুন","Toggle the decimal with leading zero list style":"অগ্রণী 0 তালিকা স্টাইল সহ দশমিক টগল করুন","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":"উপরের-রোমান তালিকা স্টাইল টগল করুন",Turquoise:"ফিরোজা","Type or paste your content here.":"আপনার বিষয়বস্তু এখানে টাইপ অথবা পেস্ট করুন।","Type your title":"আপনার শিরোনাম টাইপ করুন",Underline:"আন্ডারলাইন",Undo:"পূর্বাবস্থায় ফেরান",Unlink:"লিঙ্কমুক্ত করুন",Update:"আপডেট করুন","Update image URL":"ছবির URL আপডেট করুন","Upload failed":"আপলোড ব্যর্থ হয়েছে","Upload in progress":"আপলোড চলছে","Upper-latin":"উচ্চ-ল্যাটিন","Upper-roman":"উচ্চ-রোমান","Vertical text alignment toolbar":"উল্লম্ব টেক্সট সারিবদ্ধকরণ টুলবার",White:"সাদা","Widget toolbar":"উইজেট টুলবার",Width:"প্রস্থ","Wrap text":"টেক্সট মোড়ানো",Yellow:"হলুদ ","Yellow marker":"হলুদ মার্কার"}),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||{},{"%0 of %1":"%0 এর %1",Accept:"","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 center":"কেন্দ্র সারিবদ্ধ করুন","Align left":"বামে সারিবদ্ধ করুন","Align right":"ডানদিকে সারিবদ্ধ করুন","Align table to the left":"বাম দিকে টেবিল সারিবদ্ধ করুন","Align table to the right":"ডানদিকে টেবিলটি সারিবদ্ধ করুন",Alignment:"সারিবদ্ধকরণ",Aquamarine:"ফেকাশে সবুজবর্ণ",Background:"ব্যাকগ্রাউন্ড",Big:"বড়",Black:"কালো","Block quote":"ব্লক কোট",Blue:"নীল ","Blue marker":"নীল মার্কার",Bold:"বোল্ড",Border:"বর্ডার ","Break text":"টেক্সট ভেঙ্গে ফেলুন","Bulleted List":"বুলেটযুক্ত তালিকা","Bulleted list styles toolbar":"বুলেটেড তালিকা স্টাইল টুলবার",Cancel:"বাতিল করুন","Caption for image: %0":"ছবির জন্য ক্যাপশন: %0","Caption for the image":"ছবির জন্য ক্যাপশন","Cell properties":"সেল বৈশিষ্ট্য","Center table":"কেন্দ্রের টেবিল","Centered image":"কেন্দ্রীভূত ছবি","Change image text alternative":"ছবির টেক্সট বিকল্প পরিবর্তন","Choose heading":"শিরোনাম নির্বাচন করুন",Circle:"বৃত্ত",Code:"কোড",Color:"  রং","Color picker":"রং বাছাইকারী",Column:"কলাম",Dashed:"ড্যাশড",Decimal:"দশমিক","Decimal with leading zero":"অগ্রণী 0 সহ দশমিক ","Decrease indent":"ইন্ডেন্ট হ্রাস করুন",Default:"ডিফল্ট","Delete column":"কলাম মুছে ফেলুন","Delete row":"সারি মুছুন","Dim grey":"আবছা ধূসর",Dimensions:"মাত্রাগুলো",Disc:"ডিস্ক","Document colors":"নথির রং",Dotted:"ডটেড",Double:"দ্বিগুণ",Downloadable:"ডাউনলোডযোগ্য","Dropdown toolbar":"ড্রপডাউন টুলবার","Edit block":"এডিট ব্লক","Edit link":"\t\nলিঙ্ক  এডিট করুন","Edit source":"উৎস এডিট করুন","Editor block content toolbar":"সম্পাদক ব্লক কন্টেন্ট টুলবার","Editor contextual toolbar":"সম্পাদক প্রাসঙ্গিক টুলবার","Editor editing area: %0":"সম্পাদক সম্পাদনার ক্ষেত্র: %0","Editor toolbar":"সম্পাদক টুলবার","Empty snippet content":"খালি স্নিপেট বিষয়বস্তু","Enter image caption":"ছবির ক্যাপশন লিখুন","Enter table caption":"টেবিল ক্যাপশন লিখুন","Font Background Color":"ফন্ট ব্যাকগ্রাউন্ডের রং","Font Color":"ফন্টের রং","Font Family":"ফন্ট পরিবার","Font Size":"অক্ষরের আকার","Full size image":"সম্পূর্ণ আকারের ছবি",Green:"সবুজ","Green marker":"সবুজ মার্কার","Green pen":"সবুজ কলম",Grey:"ধূসর",Groove:"খাঁজকাটা","Header column":"হেডার কলাম","Header row":"হেডার সারি",Heading:"শিরোনাম","Heading 1":"শিরোনাম 1","Heading 2":"শিরোনাম 2","Heading 3":"শিরোনাম 3","Heading 4":"শিরোনাম 4","Heading 5":"শিরোনাম 5","Heading 6":"শিরোনাম 6",Height:"উচ্চতা",HEX:"",Highlight:"হাইলাইট","Horizontal line":"অনুভূমিক রেখা","Horizontal text alignment toolbar":"অনুভূমিক টেক্সট সারিবদ্ধকরণ টুলবার","HTML snippet":"HTML স্নিপেট",Huge:"অনেক বড়","Image resize list":"ছবির আকার পরিবর্তনের তালিকা","Image toolbar":"ছবির টুলবার","image widget":"ছবির উইজেট","In line":"সঙ্গতিপূর্ণভাবে","Increase indent":"ইন্ডেন্ট বৃদ্ধি করুন",Insert:"ঢোকান","Insert code block":"কোড ব্লক ঢোকান","Insert column left":"বাম দিকে কলাম ঢোকান","Insert column right":"ডানদিকে কলাম ঢোকান","Insert HTML":"HTML ঢোকান","Insert image":"ছবি ঢোকান","Insert image via URL":"URL এর মাধ্যমে ছবি ঢোকান","Insert paragraph after block":"ব্লকের পর অনুচ্ছেদ ঢোকান","Insert paragraph before block":"ব্লক করার আগে অনুচ্ছেদ ঢোকান","Insert row above":"উপরে সারি ঢোকান","Insert row below":"নীচে সারি ঢোকান","Insert table":"টেবিল ঢোকান",Inset:"ইনসেট",Italic:"ইটালিক",Justify:"জাস্টিফাই","Justify cell text":"সেল টেক্সট জাস্টিফাই করুন","Left aligned image":"বাম সারিবদ্ধ ছবি","Light blue":"হালকা নীল","Light green":"হালকা সবুজ","Light grey":"হালকা ধূসর",Link:"লিঙ্ক","Link image":"লিঙ্ক চিত্র","Link URL":"লিঙ্ক URL","List properties":"বৈশিষ্ট্য তালিকাভুক্ত করুন","Lower-latin":"নিম্ন-ল্যাটিন","Lower–roman":"নিম্ন-রোমান","Merge cell down":"নিচে সেল মার্জ করুন","Merge cell left":"বামদিকে সেল মার্জ করুন","Merge cell right":" ডানদিকে সেল মার্জ করুন","Merge cell up":"সেল আপ মার্জ","Merge cells":"সেল একত্রিত করুন",Next:"পরবর্তী","No preview available":"কোনো প্রিভিউ উপলব্ধ নেই",None:"কোনোটিই নয়","Numbered List":"সংখ্যাযুক্ত তালিকা","Numbered list styles toolbar":"সংখ্যাযুক্ত তালিকা স্টাইল টুলবার","Open in a new tab":"একটি নতুন ট্যাবে খুলুন","Open link in new tab":"লিঙ্কটি নতুন ট্যাবে খুলুন",Orange:"কমলা",Original:"মূল",Outset:"শুরু",Padding:"প্যাডিং",Paragraph:"অনুচ্ছেদ","Paste raw HTML here...":"এখানে সারি HTML পেস্ট করুন...","Pink marker":"গোলাপী মার্কার","Plain text":"প্লেইন টেক্সট","Press Enter to type after or press Shift + Enter to type before the widget":"পরে টাইপ করতে এন্টার চাপুন বা উইজেটের আগে টাইপ করতে Shift + এন্টার চাপুন",Previous:"পূর্ববর্তী",Purple:"বেগুনি",Red:"লাল","Red pen":"লাল কলম",Redo:"রেডো","Remove color":"রং মুছে ফেলুন","Remove Format":"ফরম্যাট মুছে ফেলুন","Remove highlight":"হাইলাইট মুছুন","Resize image":"ছবির আকার পরিবর্তন করুন","Resize image to %0":"ছবি %0 আকার পরিবর্তন করুন","Resize image to the original size":"মূল আকারে ছবির আকার পরিবর্তন করুন","Restore default":"পূর্বাবস্থায় ফিরিয়ে আনুন","Reversed order":"উল্টো ক্রম","Rich Text Editor":"রিচ টেক্সট এডিটর",Ridge:"রিজ","Right aligned image":"ডানে সারিবদ্ধ ছবি",Row:"সারি ",Save:"সংরক্ষণ করুন","Save changes":"পরিবর্তনগুলো সংরক্ষন","Saving changes":"পরিবর্তনগুলো সংরক্ষণ করা হচ্ছে","Select all":"সব নির্বাচন করুন","Select column":"কলাম নির্বাচন করুন","Select row":"সারি নির্বাচন করুন","Show more items":"আরও আইটেম দেখান","Side image":"পার্শ্ব ছবি",Small:"ছোট",Solid:"সলিড","Split cell horizontally":"অনুভূমিকভাবে সেল বিভক্ত করুন","Split cell vertically":"সেল উল্লম্বভাবে বিভক্ত করুন",Square:"বর্গক্ষেত্র","Start at":"শুরু হবে","Start index must be greater than 0.":"স্টার্ট ইনডেক্স অবশ্যই 0-এর বেশি হতে হবে।",Strikethrough:"স্ট্রাইকথ্রু",Style:"স্টাইল ",Subscript:"সাবস্ক্রিপ্ট",Superscript:"সুপারস্ক্রিপ্ট","Table alignment toolbar":"টেবিল সারিবদ্ধকরণ টুলবার","Table cell text alignment":"সক্ষম সেল টেক্সট সারিবদ্ধকরণ","Table properties":"টেবিল বৈশিষ্ট্য","Table toolbar":"টেবিল টুলবার","Text alignment":"টেক্সট সারিবদ্ধকরণ","Text alignment toolbar":"টেক্সট শ্রেণীবিন্যাস টুলবার","Text alternative":"টেক্সট বিকল্প","Text highlight 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" ব্যবহার করে দেখুন।',"This link has no URL":"এই লিঙ্কের কোন URL নেই",Tiny:"ক্ষুদ্র","To-do List":"তালিকা তৈরি","Toggle caption off":"টগল ক্যাপশন বন্ধ করুন","Toggle caption on":"টগল ক্যাপশন চালু করুন","Toggle the circle list style":"বৃত্ত তালিকা স্টাইল টগল করুন","Toggle the decimal list style":"দশমিক তালিকা স্টাইল টগল করুন","Toggle the decimal with leading zero list style":"অগ্রণী 0 তালিকা স্টাইল সহ দশমিক টগল করুন","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":"উপরের-রোমান তালিকা স্টাইল টগল করুন",Turquoise:"ফিরোজা","Type or paste your content here.":"আপনার বিষয়বস্তু এখানে টাইপ অথবা পেস্ট করুন।","Type your title":"আপনার শিরোনাম টাইপ করুন",Underline:"আন্ডারলাইন",Undo:"পূর্বাবস্থায় ফেরান",Unlink:"লিঙ্কমুক্ত করুন",Update:"আপডেট করুন","Update image URL":"ছবির URL আপডেট করুন","Upload failed":"আপলোড ব্যর্থ হয়েছে","Upload in progress":"আপলোড চলছে","Upper-latin":"উচ্চ-ল্যাটিন","Upper-roman":"উচ্চ-রোমান","Vertical text alignment toolbar":"উল্লম্ব টেক্সট সারিবদ্ধকরণ টুলবার",White:"সাদা","Widget toolbar":"উইজেট টুলবার",Width:"প্রস্থ","Wrap text":"টেক্সট মোড়ানো",Yellow:"হলুদ ","Yellow marker":"হলুদ মার্কার"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 37711df2305fa2da8a95dac878a33cecc1c68378..a8a533815a741e4977208d1c5a6cd8c7938982e0 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.bs=e.bs||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 od %1","Align center":"Centrirati","Align left":"Lijevo poravnanje","Align right":"Desno poravnanje",Big:"","Block quote":"Citat",Bold:"Podebljano","Break text":"",Cancel:"Poništi","Caption for image: %0":"","Caption for the image":"","Centered image":"Centrirana slika","Change image text alternative":"Promijeni ALT atribut za sliku","Choose heading":"Odaberi naslov",Code:"Kod",Default:"Zadani","Document colors":"","Edit source":"Uredi izvor","Empty snippet content":"HTML odlomak nema sadžaj","Enter image caption":"Unesi naziv slike","Font Background Color":"Boja pozadine","Font Color":"Boja","Font Family":"Font","Font Size":"Veličina fonta","Full size image":"",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","Horizontal line":"Horizontalna linija","HTML snippet":"HTML odlomak",Huge:"","Image resize list":"Lista veličina slike","Image toolbar":"","image widget":"","In line":"",Insert:"Umetni","Insert code block":"Umetni kod blok","Insert HTML":"Umetni HTML","Insert image":"Umetni sliku","Insert image via URL":"Umetni sliku preko URLa",Italic:"Zakrivljeno",Justify:"","Left aligned image":"Lijevo poravnata slika","No preview available":"Pregled nedostupan",Original:"Original",Paragraph:"Paragraf","Paste raw HTML here...":"Zalijepi HTML ovdje...","Plain text":"Tekst","Remove color":"Ukloni boju","Resize image":"Promijeni veličinu slike","Resize image to %0":"","Resize image to the original size":"Postavi originalnu veličinu slike","Restore default":"Vrati na zadano","Right aligned image":"Desno poravnata slika",Save:"Sačuvaj","Save changes":"Sačuvaj izmjene","Saving changes":"Spremanje izmjena","Show more items":"Prikaži više stavki","Side image":"",Small:"",Strikethrough:"Precrtano",Subscript:"",Superscript:"","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje teksta","Text alternative":"ALT atribut",Tiny:"","Type or paste your content here.":"Unesite ili zalijepite vaš sadržaj ovdje","Type your title":"Unesite naslov",Underline:"Podcrtano",Update:"Ažuriraj","Update image URL":"Ažuriraj URL slike","Upload failed":"Učitavanje slike nije uspjelo","Wrap text":"Prelomi tekst"}),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.bs=e.bs||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 od %1",Accept:"","Align center":"Centrirati","Align left":"Lijevo poravnanje","Align right":"Desno poravnanje",Big:"","Block quote":"Citat",Bold:"Podebljano","Break text":"",Cancel:"Poništi","Caption for image: %0":"","Caption for the image":"","Centered image":"Centrirana slika","Change image text alternative":"Promijeni ALT atribut za sliku","Choose heading":"Odaberi naslov",Code:"Kod",Default:"Zadani","Document colors":"","Edit source":"Uredi izvor","Empty snippet content":"HTML odlomak nema sadžaj","Enter image caption":"Unesi naziv slike","Font Background Color":"Boja pozadine","Font Color":"Boja","Font Family":"Font","Font Size":"Veličina fonta","Full size image":"",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","Horizontal line":"Horizontalna linija","HTML snippet":"HTML odlomak",Huge:"","Image resize list":"Lista veličina slike","Image toolbar":"","image widget":"","In line":"",Insert:"Umetni","Insert code block":"Umetni kod blok","Insert HTML":"Umetni HTML","Insert image":"Umetni sliku","Insert image via URL":"Umetni sliku preko URLa",Italic:"Zakrivljeno",Justify:"","Left aligned image":"Lijevo poravnata slika","No preview available":"Pregled nedostupan",Original:"Original",Paragraph:"Paragraf","Paste raw HTML here...":"Zalijepi HTML ovdje...","Plain text":"Tekst","Remove color":"Ukloni boju","Resize image":"Promijeni veličinu slike","Resize image to %0":"","Resize image to the original size":"Postavi originalnu veličinu slike","Restore default":"Vrati na zadano","Right aligned image":"Desno poravnata slika",Save:"Sačuvaj","Save changes":"Sačuvaj izmjene","Saving changes":"Spremanje izmjena","Show more items":"Prikaži više stavki","Side image":"",Small:"",Strikethrough:"Precrtano",Subscript:"",Superscript:"","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje teksta","Text alternative":"ALT atribut",Tiny:"","Type or paste your content here.":"Unesite ili zalijepite vaš sadržaj ovdje","Type your title":"Unesite naslov",Underline:"Podcrtano",Update:"Ažuriraj","Update image URL":"Ažuriraj URL slike","Upload failed":"Učitavanje slike nije uspjelo","Wrap text":"Prelomi tekst"}),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
index 546262ff3e7d6f2dfa5340567b94cbc141821429..d4c926b7f236fd4de01c946688270966815299c6 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.ca=e.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1","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 center":"Alineació centre","Align left":"Alineació esquerra","Align right":"Alineació dreta","Align table to the left":"Alinear la taula a l'esquerra","Align table to the right":"Alinear la taula a la dreta",Alignment:"Alineació",Aquamarine:"Aiguamarina",Background:"Fons",Big:"Gran",Black:"Negre","Block quote":"Cita de bloc",Blue:"Blau","Blue marker":"Marcador blau",Bold:"Negreta",Border:"Vora","Break text":"Partir el text","Bulleted List":"Llista amb vinyetes","Bulleted list styles toolbar":"Barra d'eines d'estils de llista amb vinyetes",Cancel:"Cancel·lar","Caption for image: %0":"Peu de foto: %0","Caption for the image":"Peu de foto","Cell properties":"Propietats de la cel·la","Center table":"Centrar la taula","Centered image":"Imatge centrada","Change image text alternative":"Canviar l'alternativa del text de la imatge","Choose heading":"Escull capçalera",Circle:"Cercle",Code:"Codi",Color:"Color","Color picker":"Selector de colors",Column:"Columna",Dashed:"De guions",Decimal:"Decimal","Decimal with leading zero":"Decimal amb un zero al davant","Decrease indent":"Reduir el sagnat",Default:"Predeterminada","Delete column":"Suprimir la columna","Delete row":"Suprimir fila","Dim grey":"Gris fosc",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Colors del document",Dotted:"De punts",Double:"Doble",Downloadable:"Es pot descarregar","Dropdown toolbar":"Barra d'eines desplegable","Edit block":"Editar bloc","Edit link":"Editar enllaç","Edit source":"Editar la font","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 editing area: %0":"Àrea d'edició d'editor: %0","Editor toolbar":"Barra d'eines de l'editor","Empty snippet content":"Contingut del fragment buit","Enter image caption":"Introduir el peu de foto de la imatge","Enter table caption":"Introduir el peu de foto de la taula","Font Background Color":"Color de fons del tipus de lletra","Font Color":"Color del tipus de lletra","Font Family":"Font","Font Size":"Mida de la font","Full size image":"Imatge a mida completa",Green:"Verd","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Grey:"Gris",Groove:"De solc","Header column":"Columna d'encapçalament","Header row":"Fila d'encapçalament",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",Height:"Alçada",Highlight:"Destacat","Horizontal line":"Línia horitzontal","Horizontal text alignment toolbar":"Barra d'eines d'alineació de text horitzontal","HTML snippet":"Fragment de HTML",Huge:"Molt gran","Image resize list":"Llista de redimensionament de la imatge","Image toolbar":"Barra d'eines d'imatge","image widget":"giny d'imatge","In line":"A la línia","Increase indent":"Augmentar el sagnat",Insert:"Introduir","Insert code block":"Introduir un bloc de codi","Insert column left":"Inserir columna a l'esquerra","Insert column right":"Inserir la columna a la dreta","Insert HTML":"Introduir HTML","Insert image":"Introduir la imatge","Insert image via URL":"Introduir la imatge mitjançant l'URL","Insert paragraph after block":"Inserir un paràgraf després del bloc","Insert paragraph before block":"Inserir un paràgraf abans del bloc","Insert row above":"Inserir fila a sobre","Insert row below":"Inserir la fila a continuació","Insert table":"Introduir taula",Inset:"Entrant",Italic:"Cursiva",Justify:"Justificar","Justify cell text":"Justificar el text de la cel·la","Left aligned image":"Imatge alineada a l'esquerra","Light blue":"Blau clar","Light green":"Verd clar","Light grey":"Gris clar",Link:"Enllaç","Link image":"Enllaçar imatge","Link URL":"Enllaçar URL","List properties":"Llista de propietats","Lower-latin":"Lletres llatines en minúscules","Lower–roman":"Numerals romans en minúscules","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",Next:"Següent","No preview available":"No hi ha cap vista prèvia disponible",None:"Cap","Numbered List":"Llista numerada","Numbered list styles toolbar":"Barra d'eines d'estils de llista numerada","Open in a new tab":"Obrir en una pestanya nova","Open link in new tab":"Obrir l'enllaç en una pestanya nova",Orange:"Taronja",Original:"Original",Outset:"Sortint",Padding:"Padding",Paragraph:"Pàrraf","Paste raw HTML here...":"Enganxa HTML en brut aquí...","Pink marker":"Marcador rosa","Plain text":"Text simple","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","Red pen":"Marcador vermell",Redo:"Refer","Remove color":"Eliminar el color","Remove Format":"Esborrar el format","Remove highlight":"Esborrar destacat","Resize image":"Redimensionar la imatge","Resize image to %0":"Redimensiona la imatge a %0","Resize image to the original size":"Redimensiona la imatge a la mida original","Restore default":"Restaurar el valor predeterminat","Reversed order":"Ordre invertit","Rich Text Editor":"Editor de text enriquit",Ridge:"De cresta","Right aligned image":"Imatge alineada a la dreta",Row:"Fila",Save:"Desar","Save changes":"Desar els canvis","Saving changes":"S'estan desant els canvis","Select all":"Seleccionar-ho tot","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Show more items":"Mostrar més elements","Side image":"Imatge lateral",Small:"Peita",Solid:"Sòlid","Split cell horizontally":"Dividir la cel·la horitzontalment","Split cell vertically":"Dividir la cel·la verticalment",Square:"Quadrat","Start at":"Començar a","Start index must be greater than 0.":"L'índex inicial ha de ser superior a 0.",Strikethrough:"Marcat",Style:"Estil",Subscript:"Subíndex",Superscript:"Superíndex","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","Text alignment":"Alineació text","Text alignment toolbar":"Barra d'eines d'alineació de text","Text alternative":"Alternativa de text","Text highlight toolbar":"Barra d'eines de ressaltat de text",'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".',"This link has no URL":"Aquest enllaç no té cap URL",Tiny:"Molt petita","To-do List":"Llista de tasques pendents","Toggle caption off":"Desactivar el peu de foto","Toggle caption on":"Activar el peu de foto","Toggle the circle list style":"Canviar l'estil de llista de cercles","Toggle the decimal list style":"Canviar l'estil de llista decimal","Toggle the decimal with leading zero list style":"Commutar l'estil de la llista de decimals amb un zero al davant","Toggle the disc list style":"Canviar l'estil de llista de discs","Toggle the lower–latin list style":"Canviar l'estil de la llista a lletres llatines en minúscules","Toggle the lower–roman list style":"Canviar l'estil de la llista a numerals romans en minúscules","Toggle the square list style":"Canviar l'estil de llista quadrada","Toggle the upper–latin list style":"Canviar l'estil de la llista a lletres llatines en majúscules","Toggle the upper–roman list style":"Canviar l'estil de la llista a numerals romans en majúscules",Turquoise:"Turquesa","Type or paste your content here.":"Escriu o enganxa el teu contingut aquí.","Type your title":"Escriu el teu títol",Underline:"Subrallat",Undo:"Desfer",Unlink:"Desenllaçar",Update:"Actualitzar","Update image URL":"Actualitzar l'URL de la imatge","Upload failed":"No s'ha pogut carregar","Upload in progress":"Carrega en curs","Upper-latin":"Lletres llatines en majúscules","Upper-roman":"Numerals romans en majúscules","Vertical text alignment toolbar":"Barra d'eines d'alineació de text vertical",White:"Blanc","Widget toolbar":"Barra d'eines de ginys",Width:"Amplada","Wrap text":"Embolcallar el text",Yellow:"Groc","Yellow marker":"Marcador groc"}),a.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||{},{"%0 of %1":"%0 de %1",Accept:"","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 center":"Alineació centre","Align left":"Alineació esquerra","Align right":"Alineació dreta","Align table to the left":"Alinear la taula a l'esquerra","Align table to the right":"Alinear la taula a la dreta",Alignment:"Alineació",Aquamarine:"Aiguamarina",Background:"Fons",Big:"Gran",Black:"Negre","Block quote":"Cita de bloc",Blue:"Blau","Blue marker":"Marcador blau",Bold:"Negreta",Border:"Vora","Break text":"Partir el text","Bulleted List":"Llista amb vinyetes","Bulleted list styles toolbar":"Barra d'eines d'estils de llista amb vinyetes",Cancel:"Cancel·lar","Caption for image: %0":"Peu de foto: %0","Caption for the image":"Peu de foto","Cell properties":"Propietats de la cel·la","Center table":"Centrar la taula","Centered image":"Imatge centrada","Change image text alternative":"Canviar l'alternativa del text de la imatge","Choose heading":"Escull capçalera",Circle:"Cercle",Code:"Codi",Color:"Color","Color picker":"Selector de colors",Column:"Columna",Dashed:"De guions",Decimal:"Decimal","Decimal with leading zero":"Decimal amb un zero al davant","Decrease indent":"Reduir el sagnat",Default:"Predeterminada","Delete column":"Suprimir la columna","Delete row":"Suprimir fila","Dim grey":"Gris fosc",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Colors del document",Dotted:"De punts",Double:"Doble",Downloadable:"Es pot descarregar","Dropdown toolbar":"Barra d'eines desplegable","Edit block":"Editar bloc","Edit link":"Editar enllaç","Edit source":"Editar la font","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 editing area: %0":"Àrea d'edició d'editor: %0","Editor toolbar":"Barra d'eines de l'editor","Empty snippet content":"Contingut del fragment buit","Enter image caption":"Introduir el peu de foto de la imatge","Enter table caption":"Introduir el peu de foto de la taula","Font Background Color":"Color de fons del tipus de lletra","Font Color":"Color del tipus de lletra","Font Family":"Font","Font Size":"Mida de la font","Full size image":"Imatge a mida completa",Green:"Verd","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Grey:"Gris",Groove:"De solc","Header column":"Columna d'encapçalament","Header row":"Fila d'encapçalament",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",Height:"Alçada",HEX:"",Highlight:"Destacat","Horizontal line":"Línia horitzontal","Horizontal text alignment toolbar":"Barra d'eines d'alineació de text horitzontal","HTML snippet":"Fragment de HTML",Huge:"Molt gran","Image resize list":"Llista de redimensionament de la imatge","Image toolbar":"Barra d'eines d'imatge","image widget":"giny d'imatge","In line":"A la línia","Increase indent":"Augmentar el sagnat",Insert:"Introduir","Insert code block":"Introduir un bloc de codi","Insert column left":"Inserir columna a l'esquerra","Insert column right":"Inserir la columna a la dreta","Insert HTML":"Introduir HTML","Insert image":"Introduir la imatge","Insert image via URL":"Introduir la imatge mitjançant l'URL","Insert paragraph after block":"Inserir un paràgraf després del bloc","Insert paragraph before block":"Inserir un paràgraf abans del bloc","Insert row above":"Inserir fila a sobre","Insert row below":"Inserir la fila a continuació","Insert table":"Introduir taula",Inset:"Entrant",Italic:"Cursiva",Justify:"Justificar","Justify cell text":"Justificar el text de la cel·la","Left aligned image":"Imatge alineada a l'esquerra","Light blue":"Blau clar","Light green":"Verd clar","Light grey":"Gris clar",Link:"Enllaç","Link image":"Enllaçar imatge","Link URL":"Enllaçar URL","List properties":"Llista de propietats","Lower-latin":"Lletres llatines en minúscules","Lower–roman":"Numerals romans en minúscules","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",Next:"Següent","No preview available":"No hi ha cap vista prèvia disponible",None:"Cap","Numbered List":"Llista numerada","Numbered list styles toolbar":"Barra d'eines d'estils de llista numerada","Open in a new tab":"Obrir en una pestanya nova","Open link in new tab":"Obrir l'enllaç en una pestanya nova",Orange:"Taronja",Original:"Original",Outset:"Sortint",Padding:"Padding",Paragraph:"Pàrraf","Paste raw HTML here...":"Enganxa HTML en brut aquí...","Pink marker":"Marcador rosa","Plain text":"Text simple","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","Red pen":"Marcador vermell",Redo:"Refer","Remove color":"Eliminar el color","Remove Format":"Esborrar el format","Remove highlight":"Esborrar destacat","Resize image":"Redimensionar la imatge","Resize image to %0":"Redimensiona la imatge a %0","Resize image to the original size":"Redimensiona la imatge a la mida original","Restore default":"Restaurar el valor predeterminat","Reversed order":"Ordre invertit","Rich Text Editor":"Editor de text enriquit",Ridge:"De cresta","Right aligned image":"Imatge alineada a la dreta",Row:"Fila",Save:"Desar","Save changes":"Desar els canvis","Saving changes":"S'estan desant els canvis","Select all":"Seleccionar-ho tot","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Show more items":"Mostrar més elements","Side image":"Imatge lateral",Small:"Peita",Solid:"Sòlid","Split cell horizontally":"Dividir la cel·la horitzontalment","Split cell vertically":"Dividir la cel·la verticalment",Square:"Quadrat","Start at":"Començar a","Start index must be greater than 0.":"L'índex inicial ha de ser superior a 0.",Strikethrough:"Marcat",Style:"Estil",Subscript:"Subíndex",Superscript:"Superíndex","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","Text alignment":"Alineació text","Text alignment toolbar":"Barra d'eines d'alineació de text","Text alternative":"Alternativa de text","Text highlight toolbar":"Barra d'eines de ressaltat de text",'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".',"This link has no URL":"Aquest enllaç no té cap URL",Tiny:"Molt petita","To-do List":"Llista de tasques pendents","Toggle caption off":"Desactivar el peu de foto","Toggle caption on":"Activar el peu de foto","Toggle the circle list style":"Canviar l'estil de llista de cercles","Toggle the decimal list style":"Canviar l'estil de llista decimal","Toggle the decimal with leading zero list style":"Commutar l'estil de la llista de decimals amb un zero al davant","Toggle the disc list style":"Canviar l'estil de llista de discs","Toggle the lower–latin list style":"Canviar l'estil de la llista a lletres llatines en minúscules","Toggle the lower–roman list style":"Canviar l'estil de la llista a numerals romans en minúscules","Toggle the square list style":"Canviar l'estil de llista quadrada","Toggle the upper–latin list style":"Canviar l'estil de la llista a lletres llatines en majúscules","Toggle the upper–roman list style":"Canviar l'estil de la llista a numerals romans en majúscules",Turquoise:"Turquesa","Type or paste your content here.":"Escriu o enganxa el teu contingut aquí.","Type your title":"Escriu el teu títol",Underline:"Subrallat",Undo:"Desfer",Unlink:"Desenllaçar",Update:"Actualitzar","Update image URL":"Actualitzar l'URL de la imatge","Upload failed":"No s'ha pogut carregar","Upload in progress":"Carrega en curs","Upper-latin":"Lletres llatines en majúscules","Upper-roman":"Numerals romans en majúscules","Vertical text alignment toolbar":"Barra d'eines d'alineació de text vertical",White:"Blanc","Widget toolbar":"Barra d'eines de ginys",Width:"Amplada","Wrap text":"Embolcallar el text",Yellow:"Groc","Yellow marker":"Marcador groc"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index f7c2e41f8a686d678fdcda57e35c7ada4e323632..75bf9501ab1b278fee49e6c62bda1b3ec809197b 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.cs=e.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 z %1","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 center":"Zarovnat na střed","Align left":"Zarovnat vlevo","Align right":"Zarovnat vpravo","Align table to the left":"Zarovnat tabulku doleva","Align table to the right":"Zarovnat tabulku doprava",Alignment:"Zarovnání",Aquamarine:"Akvamarínová",Background:"Pozadí",Big:"Velké",Black:"Černá","Block quote":"Citace",Blue:"Modrá","Blue marker":"Modrý fix",Bold:"Tučné",Border:"Okraj","Break text":"Obtékání textu","Bulleted List":"Odrážky","Bulleted list styles toolbar":"Panel seznamu s odrážkami",Cancel:"Zrušit","Caption for image: %0":"Popisek k obrázku: %0","Caption for the image":"Popisek k obrázku","Cell properties":"Vlastnosti buňky","Center table":"Centrovat tabulku","Centered image":"Obrázek zarovnaný na střed","Change image text alternative":"Změnit alternativní text obrázku","Choose heading":"Zvolte nadpis",Circle:"Kruh",Code:"Kódový blok",Color:"Barva","Color picker":"Vybrat barvu",Column:"Sloupec",Dashed:"Čárkovaná",Decimal:"Čísla","Decimal with leading zero":"Čísla s nulou na začátku","Decrease indent":"Zmenšit odsazení",Default:"Výchozí","Delete column":"Smazat sloupec","Delete row":"Smazat řádek","Dim grey":"Tmavě šedá",Dimensions:"Rozměry",Disc:"Plný kruh","Document colors":"Barvy dokumentu",Dotted:"Tečkovaná",Double:"Dvojitá",Downloadable:"Ke stažení","Dropdown toolbar":"Rozbalovací panel nástrojů","Edit block":"Upravit blok","Edit link":"Upravit odkaz","Edit source":"Upravit zdroj","Editor block content toolbar":"Panel nástrojů obsahu bloku editoru","Editor contextual toolbar":"Kontextový panel nástrojů editoru","Editor editing area: %0":"Editační oblast editoru: %0","Editor toolbar":"Panel nástrojů editoru","Empty snippet content":"Prázdný obsah kódu","Enter image caption":"Zadejte popis obrázku","Enter table caption":"Zadejte titulek tabulky","Font Background Color":"Barva pozadí písma","Font Color":"Barva písma","Font Family":"Typ písma","Font Size":"Velikost písma","Full size image":"Obrázek v plné velikosti",Green:"Zelená","Green marker":"Zelený fix","Green pen":"Zelené pero",Grey:"Šedá",Groove:"Drážkovaná","Header column":"Sloupec záhlaví","Header row":"Řádek záhlaví",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",Height:"Výška",Highlight:"Zvýraznění","Horizontal line":"Vodorovná čára","Horizontal text alignment toolbar":"Horizontální zarovnání textu v panelu","HTML snippet":"Kód HTML",Huge:"Obrovské","Image resize list":"Seznam možností změny velikosti","Image toolbar":"Panel nástrojů obrázku","image widget":"ovládací prvek obrázku","In line":"Rovnoběžně s textem","Increase indent":"Zvětšit odsazení",Insert:"Vložit","Insert code block":"Vložit blok zdrojového kódu","Insert column left":"Vložit sloupec vlevo","Insert column right":"Vložit sloupec vpravo","Insert HTML":"Vložit kód HTML","Insert image":"Vložit obrázek","Insert image via URL":"Vložit obrázek pomocí URL","Insert paragraph after block":"Vložte odstavec za blok","Insert paragraph before block":"Vložte odstavec před blok","Insert row above":"Vložit řádek před","Insert row below":"Vložit řádek pod","Insert table":"Vložit tabulku",Inset:"Vložená zevnitř",Italic:"Kurzíva",Justify:"Zarovnat do bloku","Justify cell text":"Zarovnat text buňky z obou stran","Left aligned image":"Obrázek zarovnaný vlevo","Light blue":"Světle modrá","Light green":"Světle zelená","Light grey":"Světle šedá",Link:"Odkaz","Link image":"Adresa obrázku","Link URL":"URL odkazu","List properties":"Vlastnosti seznamu","Lower-latin":"Malá písmena","Lower–roman":"Malé římské čísla","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",Next:"Další","No preview available":"Náhled není k dispozici",None:"Žádná","Numbered List":"Číslování","Numbered list styles toolbar":"Panel se styly číslovaného seznamu","Open in a new tab":"Otevřít v nové kartě","Open link in new tab":"Otevřít odkaz v nové kartě",Orange:"Oranžová",Original:"Originální",Outset:"Vložená zvenku",Padding:"Vnitřní okraj",Paragraph:"Odstavec","Paste raw HTML here...":"Sem vložte kód HTML ...","Pink marker":"Růžový fix","Plain text":"Prostý text","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á","Red pen":"Červený fix",Redo:"Znovu","Remove color":"Odstranit barvu","Remove Format":"Odstranit formátování","Remove highlight":"Odstranit zvýraznění","Resize image":"Změnit velikost","Resize image to %0":"Změnit velikost na %0","Resize image to the original size":"Změnit velikost na původní velikost","Restore default":"Obnovit výchozí","Reversed order":"Obrácené pořadí","Rich Text Editor":"Textový editor",Ridge:"Rámovaná","Right aligned image":"Obrázek zarovnaný vpravo",Row:"Řádek",Save:"Uložit","Save changes":"Uložit změny","Saving changes":"Ukládání změn","Select all":"Vybrat vše","Select column":"Vybrat sloupec","Select row":"Vybrat řádek","Show more items":"Zobrazit další položky","Side image":"Postranní obrázek",Small:"Malé",Solid:"Plná","Split cell horizontally":"Rozdělit buňky horizontálně","Split cell vertically":"Rozdělit buňky vertikálně",Square:"Čtverec","Start at":"Začít na","Start index must be greater than 0.":"Počátek musí být větší jak 0.",Strikethrough:"Přeškrtnuté",Style:"Styl",Subscript:"Dolní index",Superscript:"Horní index","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","Text alignment":"Zarovnání textu","Text alignment toolbar":"Panel nástrojů zarovnání textu","Text alternative":"Alternativní text","Text highlight toolbar":"Panel nástrojů zvýraznění textu",'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".',"This link has no URL":"Tento odkaz nemá žádnou URL",Tiny:"Drobné","To-do List":"Seznam úkolů","Toggle caption off":"Vypnout titulek","Toggle caption on":"Zapnout titulek","Toggle the circle list style":"Přepnout na seznam s kruhovým označením","Toggle the decimal list style":"Přepnout na číselný seznam","Toggle the decimal with leading zero list style":"Přepnout na číselný seznam s nulou na začátku","Toggle the disc list style":"Přepnout na seznam s označením plného kruhu","Toggle the lower–latin list style":"Přepnout na seznam s malými písmeny","Toggle the lower–roman list style":"Přepnout na seznam s malými římskými čísly","Toggle the square list style":"Přepnout na seznam se čtvercovým označením","Toggle the upper–latin list style":"Přepnout na seznam s velkými písmeny","Toggle the upper–roman list style":"Přepnout na seznam s velkými římskými čísly",Turquoise:"Tyrkysová","Type or paste your content here.":"Zde zadejte nebo vložte obsah.","Type your title":"Sem zadejte název",Underline:"Podtržené",Undo:"Zpět",Unlink:"Odstranit odkaz",Update:"Aktualizovat","Update image URL":"Aktualizovat URL obrázku","Upload failed":"Nahrání selhalo","Upload in progress":"Probíhá nahrávání","Upper-latin":"Velká písmena","Upper-roman":"Velké římské čísla","Vertical text alignment toolbar":"Vertikální zarovnání textu v panelu",White:"Bílá","Widget toolbar":"Panel nástrojů ovládacího prvku",Width:"Šířka","Wrap text":"Text nahoře a dole",Yellow:"Žlutá","Yellow marker":"Žlutý fix"}),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||{},{"%0 of %1":"%0 z %1",Accept:"","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 center":"Zarovnat na střed","Align left":"Zarovnat vlevo","Align right":"Zarovnat vpravo","Align table to the left":"Zarovnat tabulku doleva","Align table to the right":"Zarovnat tabulku doprava",Alignment:"Zarovnání",Aquamarine:"Akvamarínová",Background:"Pozadí",Big:"Velké",Black:"Černá","Block quote":"Citace",Blue:"Modrá","Blue marker":"Modrý fix",Bold:"Tučné",Border:"Okraj","Break text":"Obtékání textu","Bulleted List":"Odrážky","Bulleted list styles toolbar":"Panel seznamu s odrážkami",Cancel:"Zrušit","Caption for image: %0":"Popisek k obrázku: %0","Caption for the image":"Popisek k obrázku","Cell properties":"Vlastnosti buňky","Center table":"Centrovat tabulku","Centered image":"Obrázek zarovnaný na střed","Change image text alternative":"Změnit alternativní text obrázku","Choose heading":"Zvolte nadpis",Circle:"Kruh",Code:"Kódový blok",Color:"Barva","Color picker":"Vybrat barvu",Column:"Sloupec",Dashed:"Čárkovaná",Decimal:"Čísla","Decimal with leading zero":"Čísla s nulou na začátku","Decrease indent":"Zmenšit odsazení",Default:"Výchozí","Delete column":"Smazat sloupec","Delete row":"Smazat řádek","Dim grey":"Tmavě šedá",Dimensions:"Rozměry",Disc:"Plný kruh","Document colors":"Barvy dokumentu",Dotted:"Tečkovaná",Double:"Dvojitá",Downloadable:"Ke stažení","Dropdown toolbar":"Rozbalovací panel nástrojů","Edit block":"Upravit blok","Edit link":"Upravit odkaz","Edit source":"Upravit zdroj","Editor block content toolbar":"Panel nástrojů obsahu bloku editoru","Editor contextual toolbar":"Kontextový panel nástrojů editoru","Editor editing area: %0":"Editační oblast editoru: %0","Editor toolbar":"Panel nástrojů editoru","Empty snippet content":"Prázdný obsah kódu","Enter image caption":"Zadejte popis obrázku","Enter table caption":"Zadejte titulek tabulky","Font Background Color":"Barva pozadí písma","Font Color":"Barva písma","Font Family":"Typ písma","Font Size":"Velikost písma","Full size image":"Obrázek v plné velikosti",Green:"Zelená","Green marker":"Zelený fix","Green pen":"Zelené pero",Grey:"Šedá",Groove:"Drážkovaná","Header column":"Sloupec záhlaví","Header row":"Řádek záhlaví",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",Height:"Výška",HEX:"",Highlight:"Zvýraznění","Horizontal line":"Vodorovná čára","Horizontal text alignment toolbar":"Horizontální zarovnání textu v panelu","HTML snippet":"Kód HTML",Huge:"Obrovské","Image resize list":"Seznam možností změny velikosti","Image toolbar":"Panel nástrojů obrázku","image widget":"ovládací prvek obrázku","In line":"Rovnoběžně s textem","Increase indent":"Zvětšit odsazení",Insert:"Vložit","Insert code block":"Vložit blok zdrojového kódu","Insert column left":"Vložit sloupec vlevo","Insert column right":"Vložit sloupec vpravo","Insert HTML":"Vložit kód HTML","Insert image":"Vložit obrázek","Insert image via URL":"Vložit obrázek pomocí URL","Insert paragraph after block":"Vložte odstavec za blok","Insert paragraph before block":"Vložte odstavec před blok","Insert row above":"Vložit řádek před","Insert row below":"Vložit řádek pod","Insert table":"Vložit tabulku",Inset:"Vložená zevnitř",Italic:"Kurzíva",Justify:"Zarovnat do bloku","Justify cell text":"Zarovnat text buňky z obou stran","Left aligned image":"Obrázek zarovnaný vlevo","Light blue":"Světle modrá","Light green":"Světle zelená","Light grey":"Světle šedá",Link:"Odkaz","Link image":"Adresa obrázku","Link URL":"URL odkazu","List properties":"Vlastnosti seznamu","Lower-latin":"Malá písmena","Lower–roman":"Malé římské čísla","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",Next:"Další","No preview available":"Náhled není k dispozici",None:"Žádná","Numbered List":"Číslování","Numbered list styles toolbar":"Panel se styly číslovaného seznamu","Open in a new tab":"Otevřít v nové kartě","Open link in new tab":"Otevřít odkaz v nové kartě",Orange:"Oranžová",Original:"Originální",Outset:"Vložená zvenku",Padding:"Vnitřní okraj",Paragraph:"Odstavec","Paste raw HTML here...":"Sem vložte kód HTML ...","Pink marker":"Růžový fix","Plain text":"Prostý text","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á","Red pen":"Červený fix",Redo:"Znovu","Remove color":"Odstranit barvu","Remove Format":"Odstranit formátování","Remove highlight":"Odstranit zvýraznění","Resize image":"Změnit velikost","Resize image to %0":"Změnit velikost na %0","Resize image to the original size":"Změnit velikost na původní velikost","Restore default":"Obnovit výchozí","Reversed order":"Obrácené pořadí","Rich Text Editor":"Textový editor",Ridge:"Rámovaná","Right aligned image":"Obrázek zarovnaný vpravo",Row:"Řádek",Save:"Uložit","Save changes":"Uložit změny","Saving changes":"Ukládání změn","Select all":"Vybrat vše","Select column":"Vybrat sloupec","Select row":"Vybrat řádek","Show more items":"Zobrazit další položky","Side image":"Postranní obrázek",Small:"Malé",Solid:"Plná","Split cell horizontally":"Rozdělit buňky horizontálně","Split cell vertically":"Rozdělit buňky vertikálně",Square:"Čtverec","Start at":"Začít na","Start index must be greater than 0.":"Počátek musí být větší jak 0.",Strikethrough:"Přeškrtnuté",Style:"Styl",Subscript:"Dolní index",Superscript:"Horní index","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","Text alignment":"Zarovnání textu","Text alignment toolbar":"Panel nástrojů zarovnání textu","Text alternative":"Alternativní text","Text highlight toolbar":"Panel nástrojů zvýraznění textu",'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".',"This link has no URL":"Tento odkaz nemá žádnou URL",Tiny:"Drobné","To-do List":"Seznam úkolů","Toggle caption off":"Vypnout titulek","Toggle caption on":"Zapnout titulek","Toggle the circle list style":"Přepnout na seznam s kruhovým označením","Toggle the decimal list style":"Přepnout na číselný seznam","Toggle the decimal with leading zero list style":"Přepnout na číselný seznam s nulou na začátku","Toggle the disc list style":"Přepnout na seznam s označením plného kruhu","Toggle the lower–latin list style":"Přepnout na seznam s malými písmeny","Toggle the lower–roman list style":"Přepnout na seznam s malými římskými čísly","Toggle the square list style":"Přepnout na seznam se čtvercovým označením","Toggle the upper–latin list style":"Přepnout na seznam s velkými písmeny","Toggle the upper–roman list style":"Přepnout na seznam s velkými římskými čísly",Turquoise:"Tyrkysová","Type or paste your content here.":"Zde zadejte nebo vložte obsah.","Type your title":"Sem zadejte název",Underline:"Podtržené",Undo:"Zpět",Unlink:"Odstranit odkaz",Update:"Aktualizovat","Update image URL":"Aktualizovat URL obrázku","Upload failed":"Nahrání selhalo","Upload in progress":"Probíhá nahrávání","Upper-latin":"Velká písmena","Upper-roman":"Velké římské čísla","Vertical text alignment toolbar":"Vertikální zarovnání textu v panelu",White:"Bílá","Widget toolbar":"Panel nástrojů ovládacího prvku",Width:"Šířka","Wrap text":"Text nahoře a dole",Yellow:"Žlutá","Yellow marker":"Žlutý fix"}),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
index da5d666426cd0ab14cecbf7850b95f440e84eeb5..c4ac99b5459e168f363968a5e2359814b75a6cae 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.da=e.da||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 af %1","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 center":"Justér center","Align left":"Justér venstre","Align right":"Justér højre","Align table to the left":"Justér tabel til venstre","Align table to the right":"Justér tabel til højre",Alignment:"Justering",Aquamarine:"Marineblå",Background:"Baggrund",Big:"Stor",Black:"Sort","Block quote":"Blot citat",Blue:"Blå","Blue marker":"Blå markør",Bold:"Fed",Border:"Ramme","Break text":"Opdel tekst","Bulleted List":"Punktopstilling","Bulleted list styles toolbar":"Værktøjslinje til punktopdelt liste",Cancel:"Annullér","Caption for image: %0":"Billedtekst for billede: %0","Caption for the image":"Billedtekst for billedet","Cell properties":"Celleegenskaber","Center table":"Centrér tabel","Centered image":"Centreret billede","Change image text alternative":"Skift alternativ billedtekst","Choose heading":"Vælg overskrift",Circle:"Cirkel",Code:"Kode",Color:"Farve","Color picker":"Farvevælger",Column:"Kolonne",Dashed:"Stiplet (streg)",Decimal:"Decimal","Decimal with leading zero":"Decimal med nul i starten","Decrease indent":"Formindsk indrykning",Default:"Standard","Delete column":"Slet kolonne","Delete row":"Slet række","Dim grey":"Dunkel grå",Dimensions:"Dimensioner",Disc:"Disk","Document colors":"Dokumentfarve",Dotted:"Stiplet (prik)",Double:"Dobbel",Downloadable:"Kan downloades","Dropdown toolbar":"Dropdown værktøjslinje","Edit block":"Redigér blok","Edit link":"Redigér link","Edit source":"Rediger kilde","Editor block content toolbar":"Redigeringskasse indholdsværktøjslinje","Editor contextual toolbar":"Kontekstuel værktøjslinje til redigeringsprogram","Editor editing area: %0":"Redigeringsområde: %0","Editor toolbar":"Editor værktøjslinje","Empty snippet content":"Tøm uddragsindhold","Enter image caption":"Indtast billedoverskrift","Enter table caption":"Indtast tabeltekst","Font Background Color":"Skrift baggrundsfarve","Font Color":"Skriftfarve","Font Family":"Skriftfamilie","Font Size":"Skriftstørrelse","Full size image":"Fuld billedstørrelse",Green:"Grøn","Green marker":"Grøn markør","Green pen":"Grøn pen",Grey:"Grå",Groove:"Not","Header column":"Headerkolonne","Header row":"Headerrække",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",Height:"Højde",Highlight:"Fremhæv","Horizontal line":"Horisontal linje","Horizontal text alignment toolbar":"Horisontal tekstjustering værktøjslinje","HTML snippet":"HTML-uddrag",Huge:"Kæmpe","Image resize list":"Liste over justering af billedstørrelse","Image toolbar":"Billedværktøjslinje","image widget":"billed widget","In line":"På linje","Increase indent":"Forøg indrykning",Insert:"Indsæt","Insert code block":"Indsæt kodeblok","Insert column left":"Indsæt kolonne venstre","Insert column right":"Indsæt kolonne højre","Insert HTML":"Indsæt HTML","Insert image":"Indsæt billede","Insert image via URL":"Indsæt billede via URL","Insert paragraph after block":"Indsæt paragraf efter blok","Insert paragraph before block":"Indsæt paragraf før blok","Insert row above":"Indsæt header over","Insert row below":"Indsæt header under","Insert table":"Indsæt tabel",Inset:"Forsænket",Italic:"Kursiv",Justify:"Justér","Justify cell text":"Justér tekstcelle","Left aligned image":"Venstrestillet billede","Light blue":"Lys blå","Light green":"Lys grøn","Light grey":"Lys grå",Link:"Link","Link image":"Link-billede","Link URL":"Link URL","List properties":"Listeegenskaber","Lower-latin":"Latinsk med små bogstaver","Lower–roman":"Romertal med små bogstaver","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",Next:"Næste","No preview available":"Ingen forhåndsvisning tilgængelig",None:"Ingen","Numbered List":"Opstilling med tal","Numbered list styles toolbar":"Værktøjslinje til nummereret listestil","Open in a new tab":"Åben i ny fane","Open link in new tab":"Åben link i ny fane",Orange:"Orange",Original:"Original",Outset:"Fra starten",Padding:"Fyld",Paragraph:"Afsnit","Paste raw HTML here...":"Indsæt rå HTML her...","Pink marker":"Lyserød markør","Plain text":"Plain tekst","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","Red pen":"Rød pen",Redo:"Gentag","Remove color":"Fjern farve","Remove Format":"Fjern format","Remove highlight":"Fjern fremhævning","Resize image":"Juster billedstørrelse","Resize image to %0":"Juster billedstørrelse til %0","Resize image to the original size":"Juster billedstørrelse til original størrelse","Restore default":"Nulstil","Reversed order":"Omvendt rækkefølge","Rich Text Editor":"Wysiwyg editor",Ridge:"Kam","Right aligned image":"Højrestillet billede",Row:"Række",Save:"Gem","Save changes":"Gem ændringer","Saving changes":"Gemmer ændringer","Select all":"Vælg alt","Select column":"Vælg kolonne","Select row":"Vælg række","Show more items":"Vis flere emner","Side image":"Sidebillede",Small:"Lille",Solid:"Massiv","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Square:"Firkant","Start at":"Start ved","Start index must be greater than 0.":"Startindeks skal være større end 0.",Strikethrough:"Gennemstreg",Style:"Stil",Subscript:"Sænket skrift",Superscript:"Hævet skrift","Table alignment toolbar":"Tabeljustering værktøjslinje","Table cell text alignment":"Tabelcelle tekstjustering","Table properties":"Tabelegenskaber","Table toolbar":"Tabel værktøjslinje","Text alignment":"Tekstjustering","Text alignment toolbar":"Tekstjustering værktøjslinje","Text alternative":"Alternativ tekst","Text highlight toolbar":"Tekstfremhævning 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".',"This link has no URL":"Dette link har ingen URL",Tiny:"Lillebitte","To-do List":"To-do liste","Toggle caption off":"Slå billedtekst fra","Toggle caption on":"Slå billedtekst til","Toggle the circle list style":"Slå listestilen cirkel til og fra","Toggle the decimal list style":"Slå listestilen decimal til og fra","Toggle the decimal with leading zero list style":"Slå listestilen decimal med nul i starten til og fra","Toggle the disc list style":"Slå listestilen disk til og fra","Toggle the lower–latin list style":"Slå listestilen latinsk med små bogstaver til","Toggle the lower–roman list style":"Slå listestilen romertal med små bogstaver til","Toggle the square list style":"Slå listestilen firkantet til og fra","Toggle the upper–latin list style":"Slå listestilen latinsk med store bogstaver til","Toggle the upper–roman list style":"Slå listestilen romertal med store bogstaver til",Turquoise:"Turkis","Type or paste your content here.":"Skriv eller indsæt dit indhold her.","Type your title":"Skriv din titel",Underline:"Understreget",Undo:"Fortryd",Unlink:"Fjern link",Update:"Opdater","Update image URL":"Opdater billed-URL","Upload failed":"Upload fejlede","Upload in progress":"Upload i gang","Upper-latin":"Latinsk med store bogstaver","Upper-roman":"Romertal med store bogstaver","Vertical text alignment toolbar":"Vertikal tekstjustering værktøjslinje",White:"Hvid","Widget toolbar":"Widget værktøjslinje",Width:"Bredde","Wrap text":"Ombryd tekst",Yellow:"Gyl","Yellow marker":"Gul markør"}),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||{},{"%0 of %1":"%0 af %1",Accept:"","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 center":"Justér center","Align left":"Justér venstre","Align right":"Justér højre","Align table to the left":"Justér tabel til venstre","Align table to the right":"Justér tabel til højre",Alignment:"Justering",Aquamarine:"Marineblå",Background:"Baggrund",Big:"Stor",Black:"Sort","Block quote":"Blot citat",Blue:"Blå","Blue marker":"Blå markør",Bold:"Fed",Border:"Ramme","Break text":"Opdel tekst","Bulleted List":"Punktopstilling","Bulleted list styles toolbar":"Værktøjslinje til punktopdelt liste",Cancel:"Annullér","Caption for image: %0":"Billedtekst for billede: %0","Caption for the image":"Billedtekst for billedet","Cell properties":"Celleegenskaber","Center table":"Centrér tabel","Centered image":"Centreret billede","Change image text alternative":"Skift alternativ billedtekst","Choose heading":"Vælg overskrift",Circle:"Cirkel",Code:"Kode",Color:"Farve","Color picker":"Farvevælger",Column:"Kolonne",Dashed:"Stiplet (streg)",Decimal:"Decimal","Decimal with leading zero":"Decimal med nul i starten","Decrease indent":"Formindsk indrykning",Default:"Standard","Delete column":"Slet kolonne","Delete row":"Slet række","Dim grey":"Dunkel grå",Dimensions:"Dimensioner",Disc:"Disk","Document colors":"Dokumentfarve",Dotted:"Stiplet (prik)",Double:"Dobbel",Downloadable:"Kan downloades","Dropdown toolbar":"Dropdown værktøjslinje","Edit block":"Redigér blok","Edit link":"Redigér link","Edit source":"Rediger kilde","Editor block content toolbar":"Redigeringskasse indholdsværktøjslinje","Editor contextual toolbar":"Kontekstuel værktøjslinje til redigeringsprogram","Editor editing area: %0":"Redigeringsområde: %0","Editor toolbar":"Editor værktøjslinje","Empty snippet content":"Tøm uddragsindhold","Enter image caption":"Indtast billedoverskrift","Enter table caption":"Indtast tabeltekst","Font Background Color":"Skrift baggrundsfarve","Font Color":"Skriftfarve","Font Family":"Skriftfamilie","Font Size":"Skriftstørrelse","Full size image":"Fuld billedstørrelse",Green:"Grøn","Green marker":"Grøn markør","Green pen":"Grøn pen",Grey:"Grå",Groove:"Not","Header column":"Headerkolonne","Header row":"Headerrække",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",Height:"Højde",HEX:"",Highlight:"Fremhæv","Horizontal line":"Horisontal linje","Horizontal text alignment toolbar":"Horisontal tekstjustering værktøjslinje","HTML snippet":"HTML-uddrag",Huge:"Kæmpe","Image resize list":"Liste over justering af billedstørrelse","Image toolbar":"Billedværktøjslinje","image widget":"billed widget","In line":"På linje","Increase indent":"Forøg indrykning",Insert:"Indsæt","Insert code block":"Indsæt kodeblok","Insert column left":"Indsæt kolonne venstre","Insert column right":"Indsæt kolonne højre","Insert HTML":"Indsæt HTML","Insert image":"Indsæt billede","Insert image via URL":"Indsæt billede via URL","Insert paragraph after block":"Indsæt paragraf efter blok","Insert paragraph before block":"Indsæt paragraf før blok","Insert row above":"Indsæt header over","Insert row below":"Indsæt header under","Insert table":"Indsæt tabel",Inset:"Forsænket",Italic:"Kursiv",Justify:"Justér","Justify cell text":"Justér tekstcelle","Left aligned image":"Venstrestillet billede","Light blue":"Lys blå","Light green":"Lys grøn","Light grey":"Lys grå",Link:"Link","Link image":"Link-billede","Link URL":"Link URL","List properties":"Listeegenskaber","Lower-latin":"Latinsk med små bogstaver","Lower–roman":"Romertal med små bogstaver","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",Next:"Næste","No preview available":"Ingen forhåndsvisning tilgængelig",None:"Ingen","Numbered List":"Opstilling med tal","Numbered list styles toolbar":"Værktøjslinje til nummereret listestil","Open in a new tab":"Åben i ny fane","Open link in new tab":"Åben link i ny fane",Orange:"Orange",Original:"Original",Outset:"Fra starten",Padding:"Fyld",Paragraph:"Afsnit","Paste raw HTML here...":"Indsæt rå HTML her...","Pink marker":"Lyserød markør","Plain text":"Plain tekst","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","Red pen":"Rød pen",Redo:"Gentag","Remove color":"Fjern farve","Remove Format":"Fjern format","Remove highlight":"Fjern fremhævning","Resize image":"Juster billedstørrelse","Resize image to %0":"Juster billedstørrelse til %0","Resize image to the original size":"Juster billedstørrelse til original størrelse","Restore default":"Nulstil","Reversed order":"Omvendt rækkefølge","Rich Text Editor":"Wysiwyg editor",Ridge:"Kam","Right aligned image":"Højrestillet billede",Row:"Række",Save:"Gem","Save changes":"Gem ændringer","Saving changes":"Gemmer ændringer","Select all":"Vælg alt","Select column":"Vælg kolonne","Select row":"Vælg række","Show more items":"Vis flere emner","Side image":"Sidebillede",Small:"Lille",Solid:"Massiv","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Square:"Firkant","Start at":"Start ved","Start index must be greater than 0.":"Startindeks skal være større end 0.",Strikethrough:"Gennemstreg",Style:"Stil",Subscript:"Sænket skrift",Superscript:"Hævet skrift","Table alignment toolbar":"Tabeljustering værktøjslinje","Table cell text alignment":"Tabelcelle tekstjustering","Table properties":"Tabelegenskaber","Table toolbar":"Tabel værktøjslinje","Text alignment":"Tekstjustering","Text alignment toolbar":"Tekstjustering værktøjslinje","Text alternative":"Alternativ tekst","Text highlight toolbar":"Tekstfremhævning 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".',"This link has no URL":"Dette link har ingen URL",Tiny:"Lillebitte","To-do List":"To-do liste","Toggle caption off":"Slå billedtekst fra","Toggle caption on":"Slå billedtekst til","Toggle the circle list style":"Slå listestilen cirkel til og fra","Toggle the decimal list style":"Slå listestilen decimal til og fra","Toggle the decimal with leading zero list style":"Slå listestilen decimal med nul i starten til og fra","Toggle the disc list style":"Slå listestilen disk til og fra","Toggle the lower–latin list style":"Slå listestilen latinsk med små bogstaver til","Toggle the lower–roman list style":"Slå listestilen romertal med små bogstaver til","Toggle the square list style":"Slå listestilen firkantet til og fra","Toggle the upper–latin list style":"Slå listestilen latinsk med store bogstaver til","Toggle the upper–roman list style":"Slå listestilen romertal med store bogstaver til",Turquoise:"Turkis","Type or paste your content here.":"Skriv eller indsæt dit indhold her.","Type your title":"Skriv din titel",Underline:"Understreget",Undo:"Fortryd",Unlink:"Fjern link",Update:"Opdater","Update image URL":"Opdater billed-URL","Upload failed":"Upload fejlede","Upload in progress":"Upload i gang","Upper-latin":"Latinsk med store bogstaver","Upper-roman":"Romertal med store bogstaver","Vertical text alignment toolbar":"Vertikal tekstjustering værktøjslinje",White:"Hvid","Widget toolbar":"Widget værktøjslinje",Width:"Bredde","Wrap text":"Ombryd tekst",Yellow:"Gyl","Yellow marker":"Gul markør"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 286873680f389611bc5753eb642e1a316f152eb0..98f88814fa7f6c29afbeed4f694137ea18adc53b 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e["de-ch"]=e["de-ch"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","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 center":"Zentriert","Align left":"Linksbündig","Align right":"Rechtsbündig","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"Gross",Black:"","Block quote":"Blockzitat",Blue:"","Blue marker":"Blauer Marker",Bold:"Fett",Border:"","Break text":"","Bulleted List":"Aufzählungsliste","Bulleted list styles toolbar":"Darstellung der ungeordneten Liste",Cancel:"Abbrechen","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"zentriertes Bild","Change image text alternative":"Alternativtext ändern","Choose heading":"Überschrift auswählen",Circle:"Leerer Kreis",Code:"Code",Color:"","Color picker":"",Column:"Spalte",Dashed:"",Decimal:"Dezimalzahlen","Decimal with leading zero":"Dezimalzahlen mit vorangestellten Nullen","Decrease indent":"Einzug verkleinern",Default:"Standard","Delete column":"Spalte löschen","Delete row":"Zeile löschen","Dim grey":"",Dimensions:"",Disc:"Gefüllter Kreis","Document colors":"Farben des Dokuments",Dotted:"",Double:"",Downloadable:"Herunterladbar","Dropdown toolbar":"","Edit block":"","Edit link":"Link bearbeiten","Edit source":"Quelle bearbeiten","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Empty snippet content":"Codeschnipsel ohne Inhalt","Enter image caption":"Bildunterschrift eingeben","Enter table caption":"","Font Background Color":"Hintergrundfarbe der Schrift","Font Color":"Schriftfarbe","Font Family":"Schriftfamilie","Font Size":"Schriftgrösse","Full size image":"Bild in voller Grösse",Green:"","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Grey:"",Groove:"","Header column":"Kopfspalte","Header row":"Kopfspalte",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",Height:"",Highlight:"Texthervorhebung","Horizontal line":"Horizontale Linie","Horizontal text alignment toolbar":"","HTML snippet":"HTML-Codeschnipsel",Huge:"Riesig","Image resize list":"Bildgrössen-Liste","Image toolbar":"Bild Werkzeugleiste","image widget":"Bild-Steuerelement","In line":"","Increase indent":"Einzug vergrössern",Insert:"Einfügen","Insert code block":"Code-Block einfügen","Insert column left":"","Insert column right":"","Insert HTML":"HTML einfügen","Insert image":"Bild einfügen","Insert image via URL":"Bild von URL einfügen","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"",Italic:"Kursiv",Justify:"Blocksatz","Justify cell text":"","Left aligned image":"linksbündiges Bild","Light blue":"","Light green":"","Light grey":"",Link:"Link","Link image":"Bild verlinken","Link URL":"Link Adresse","List properties":"","Lower-latin":"Kleingeschriebene lateinische Buchstaben","Lower–roman":"Kleingeschriebene römische Zahlen","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",Next:"","No preview available":"Keine Vorschau verfügbar",None:"","Numbered List":"Nummerierte Liste","Numbered list styles toolbar":"Darstellung der nummerierten Liste","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link in neuem Tab öffnen",Orange:"",Original:"Original",Outset:"",Padding:"",Paragraph:"Absatz","Paste raw HTML here...":"HTML-Code hier einfügen…","Pink marker":"Pinker Marker","Plain text":"Nur Text","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"","Red pen":"Rote Schriftfarbe",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Remove Format":"Formatierung entfernen","Remove highlight":"Texthervorhebung entfernen","Resize image":"Bildgrösse ändern","Resize image to %0":"Bildgrösse ändern in %0","Resize image to the original size":"Originalgrösse wiederherstellen","Restore default":"","Reversed order":"","Rich Text Editor":"Rich-Text-Edito",Ridge:"","Right aligned image":"rechtsbündiges Bild",Row:"Zeile",Save:"Speichern","Save changes":"Änderungen speichern","Saving changes":"Änderungen werden gespeichert","Select all":"Alles auswählen","Select column":"","Select row":"","Show more items":"","Side image":"Ausgerichtetes Bild",Small:"Klein",Solid:"","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Square:"Quadrat","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Durchgestrichen",Style:"",Subscript:"Tiefgestellt",Superscript:"Hochgestellt","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Textausrichtung","Text alignment toolbar":"Textausrichtung Werkzeugleiste","Text alternative":"Alternativtext","Text highlight toolbar":"Texthervorhebung Werkzeugleiste",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","This link has no URL":"Dieser Link hat keine Adresse",Tiny:"Winzig","To-do List":"Aufgabenliste","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"Leeren Kreis einstellen","Toggle the decimal list style":"Dezimalzahlen einstellen","Toggle the decimal with leading zero list style":"Dezimalzahlen mit vorangestellten Nullen einstellen","Toggle the disc list style":"Gefüllten Kreis einstellen","Toggle the lower–latin list style":"Kleingeschriebene lateinische Buchstaben einstellen","Toggle the lower–roman list style":"Kleingeschriebene römische Zahlen einstellen","Toggle the square list style":"Quadrat einstellen","Toggle the upper–latin list style":"Grossgeschriebene lateinische Buchstaben einstellen","Toggle the upper–roman list style":"Grossgeschriebene römische Zahlen einstellen",Turquoise:"","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben",Underline:"Unterstrichen",Undo:"Rückgängig",Unlink:"Link entfernen",Update:"Aktualisieren","Update image URL":"Bild-URL aktualisieren","Upload failed":"Hochladen fehlgeschlagen","Upload in progress":"Upload läuft","Upper-latin":"Grossgeschriebene lateinische Buchstaben","Upper-roman":"Grossgeschriebene römische Zahlen","Vertical text alignment toolbar":"",White:"","Widget toolbar":"Widget Werkzeugleiste",Width:"","Wrap text":"",Yellow:"","Yellow marker":"Gelber Marker"}),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||{},{"%0 of %1":"",Accept:"","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 center":"Zentriert","Align left":"Linksbündig","Align right":"Rechtsbündig","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"Gross",Black:"","Block quote":"Blockzitat",Blue:"","Blue marker":"Blauer Marker",Bold:"Fett",Border:"","Break text":"","Bulleted List":"Aufzählungsliste","Bulleted list styles toolbar":"Darstellung der ungeordneten Liste",Cancel:"Abbrechen","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"zentriertes Bild","Change image text alternative":"Alternativtext ändern","Choose heading":"Überschrift auswählen",Circle:"Leerer Kreis",Code:"Code",Color:"","Color picker":"",Column:"Spalte",Dashed:"",Decimal:"Dezimalzahlen","Decimal with leading zero":"Dezimalzahlen mit vorangestellten Nullen","Decrease indent":"Einzug verkleinern",Default:"Standard","Delete column":"Spalte löschen","Delete row":"Zeile löschen","Dim grey":"",Dimensions:"",Disc:"Gefüllter Kreis","Document colors":"Farben des Dokuments",Dotted:"",Double:"",Downloadable:"Herunterladbar","Dropdown toolbar":"","Edit block":"","Edit link":"Link bearbeiten","Edit source":"Quelle bearbeiten","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Empty snippet content":"Codeschnipsel ohne Inhalt","Enter image caption":"Bildunterschrift eingeben","Enter table caption":"","Font Background Color":"Hintergrundfarbe der Schrift","Font Color":"Schriftfarbe","Font Family":"Schriftfamilie","Font Size":"Schriftgrösse","Full size image":"Bild in voller Grösse",Green:"","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Grey:"",Groove:"","Header column":"Kopfspalte","Header row":"Kopfspalte",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",Height:"",HEX:"",Highlight:"Texthervorhebung","Horizontal line":"Horizontale Linie","Horizontal text alignment toolbar":"","HTML snippet":"HTML-Codeschnipsel",Huge:"Riesig","Image resize list":"Bildgrössen-Liste","Image toolbar":"Bild Werkzeugleiste","image widget":"Bild-Steuerelement","In line":"","Increase indent":"Einzug vergrössern",Insert:"Einfügen","Insert code block":"Code-Block einfügen","Insert column left":"","Insert column right":"","Insert HTML":"HTML einfügen","Insert image":"Bild einfügen","Insert image via URL":"Bild von URL einfügen","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"",Italic:"Kursiv",Justify:"Blocksatz","Justify cell text":"","Left aligned image":"linksbündiges Bild","Light blue":"","Light green":"","Light grey":"",Link:"Link","Link image":"Bild verlinken","Link URL":"Link Adresse","List properties":"","Lower-latin":"Kleingeschriebene lateinische Buchstaben","Lower–roman":"Kleingeschriebene römische Zahlen","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",Next:"","No preview available":"Keine Vorschau verfügbar",None:"","Numbered List":"Nummerierte Liste","Numbered list styles toolbar":"Darstellung der nummerierten Liste","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link in neuem Tab öffnen",Orange:"",Original:"Original",Outset:"",Padding:"",Paragraph:"Absatz","Paste raw HTML here...":"HTML-Code hier einfügen…","Pink marker":"Pinker Marker","Plain text":"Nur Text","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"",Purple:"",Red:"","Red pen":"Rote Schriftfarbe",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Remove Format":"Formatierung entfernen","Remove highlight":"Texthervorhebung entfernen","Resize image":"Bildgrösse ändern","Resize image to %0":"Bildgrösse ändern in %0","Resize image to the original size":"Originalgrösse wiederherstellen","Restore default":"","Reversed order":"","Rich Text Editor":"Rich-Text-Edito",Ridge:"","Right aligned image":"rechtsbündiges Bild",Row:"Zeile",Save:"Speichern","Save changes":"Änderungen speichern","Saving changes":"Änderungen werden gespeichert","Select all":"Alles auswählen","Select column":"","Select row":"","Show more items":"","Side image":"Ausgerichtetes Bild",Small:"Klein",Solid:"","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Square:"Quadrat","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Durchgestrichen",Style:"",Subscript:"Tiefgestellt",Superscript:"Hochgestellt","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Textausrichtung","Text alignment toolbar":"Textausrichtung Werkzeugleiste","Text alternative":"Alternativtext","Text highlight toolbar":"Texthervorhebung Werkzeugleiste",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","This link has no URL":"Dieser Link hat keine Adresse",Tiny:"Winzig","To-do List":"Aufgabenliste","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"Leeren Kreis einstellen","Toggle the decimal list style":"Dezimalzahlen einstellen","Toggle the decimal with leading zero list style":"Dezimalzahlen mit vorangestellten Nullen einstellen","Toggle the disc list style":"Gefüllten Kreis einstellen","Toggle the lower–latin list style":"Kleingeschriebene lateinische Buchstaben einstellen","Toggle the lower–roman list style":"Kleingeschriebene römische Zahlen einstellen","Toggle the square list style":"Quadrat einstellen","Toggle the upper–latin list style":"Grossgeschriebene lateinische Buchstaben einstellen","Toggle the upper–roman list style":"Grossgeschriebene römische Zahlen einstellen",Turquoise:"","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben",Underline:"Unterstrichen",Undo:"Rückgängig",Unlink:"Link entfernen",Update:"Aktualisieren","Update image URL":"Bild-URL aktualisieren","Upload failed":"Hochladen fehlgeschlagen","Upload in progress":"Upload läuft","Upper-latin":"Grossgeschriebene lateinische Buchstaben","Upper-roman":"Grossgeschriebene römische Zahlen","Vertical text alignment toolbar":"",White:"","Widget toolbar":"Widget Werkzeugleiste",Width:"","Wrap text":"",Yellow:"","Yellow marker":"Gelber Marker"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 05803145d79979ab8132755fd01c2de82d2453a4..9a4adcf845943c574dda01684bb4a4279ae1ffac 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.de=e.de||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 von %1","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 center":"Zentriert","Align left":"Linksbündig","Align right":"Rechtsbündig","Align table to the left":"Tabelle links ausrichten","Align table to the right":"Tabelle rechts ausrichten",Alignment:"Ausrichtung",Aquamarine:"Aquamarinblau",Background:"Hintergrund",Big:"Groß",Black:"Schwarz","Block quote":"Blockzitat",Blue:"Blau","Blue marker":"Blauer Marker",Bold:"Fett",Border:"Rahmen","Break text":"Bild teilt Text","Bulleted List":"Aufzählungsliste","Bulleted list styles toolbar":"Darstellung der ungeordneten Liste",Cancel:"Abbrechen","Caption for image: %0":"Bildunterschrift: %0","Caption for the image":"Bildunterschrift","Cell properties":"Zelleneigenschaften","Center table":"Tabelle zentrieren","Centered image":"Zentriertes Bild","Change image text alternative":"Alternativtext ändern","Choose heading":"Überschrift auswählen",Circle:"Leerer Kreis",Code:"Code",Color:"Farbe","Color picker":"Farbwähler",Column:"Spalte",Dashed:"Gestrichelt",Decimal:"Dezimalzahlen","Decimal with leading zero":"Dezimalzahlen mit vorangestellten Nullen","Decrease indent":"Einzug verkleinern",Default:"Standard","Delete column":"Spalte löschen","Delete row":"Zeile löschen","Dim grey":"Dunkelgrau",Dimensions:"Größe",Disc:"Gefüllter Kreis","Document colors":"Dokumentfarben",Dotted:"Gepunktet",Double:"Doppelt",Downloadable:"Herunterladbar","Dropdown toolbar":"Dropdown-Liste Werkzeugleiste","Edit block":"Absatz bearbeiten","Edit link":"Link bearbeiten","Edit source":"Quelle bearbeiten","Editor block content toolbar":"Editor Blockinhalt-Toolbar","Editor contextual toolbar":"Editor kontextuelle Toolbar","Editor editing area: %0":"Bearbeitungsbereich des Editors: %0","Editor toolbar":"Editor Werkzeugleiste","Empty snippet content":"Leerer Snippet-Inhalt","Enter image caption":"Bildunterschrift eingeben","Enter table caption":"Tabellenüberschrift eingeben","Font Background Color":"Hintergrundfarbe","Font Color":"Schriftfarbe","Font Family":"Schriftart","Font Size":"Schriftgröße","Full size image":"Bild in voller Größe",Green:"Grün","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Grey:"Grau",Groove:"Eingeritzt","Header column":"Kopfspalte","Header row":"Kopfzeile",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",Height:"Höhe",Highlight:"Texthervorhebung","Horizontal line":"Horizontale Linie","Horizontal text alignment toolbar":"Werkzeugleiste für die horizontale Zellentext-Ausrichtung","HTML snippet":"HTML-Snippet",Huge:"Sehr groß","Image resize list":"Bildgrößen-Liste","Image toolbar":"Bild Werkzeugleiste","image widget":"Bild-Steuerelement","In line":"Text in Zeile","Increase indent":"Einzug vergrößern",Insert:"Einfügen","Insert code block":"Code-Block einfügen","Insert column left":"Spalte links einfügen","Insert column right":"Spalte rechts einfügen","Insert HTML":"HTML einfügen","Insert image":"Bild einfügen","Insert image via URL":"Bild von URL einfügen","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"Eingelassen",Italic:"Kursiv",Justify:"Blocksatz","Justify cell text":"Zellentext als Blocksatz ausrichten","Left aligned image":"Linksbündiges Bild","Light blue":"Hellblau","Light green":"Hellgrün","Light grey":"Hellgrau",Link:"Link","Link image":"Bild verlinken","Link URL":"Link Adresse","List properties":"Listeneigenschaften","Lower-latin":"Kleingeschriebene lateinische Buchstaben","Lower–roman":"Kleingeschriebene römische Zahlen","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",Next:"Nächste","No preview available":"Keine Vorschau verfügbar",None:"Kein Rahmen","Numbered List":"Nummerierte Liste","Numbered list styles toolbar":"Darstellung der geordneten Liste","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link im neuen Tab öffnen",Orange:"Orange",Original:"Original",Outset:"Geprägt",Padding:"Innenabstand",Paragraph:"Absatz","Paste raw HTML here...":"Rohes HTML hier einfügen…","Pink marker":"Pinker Marker","Plain text":"Nur Text","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","Red pen":"Rote Schriftfarbe",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Remove Format":"Formatierung entfernen","Remove highlight":"Texthervorhebung entfernen","Resize image":"Bildgröße ändern","Resize image to %0":"Bildgröße ändern in %0","Resize image to the original size":"Bild in Originalgröße ändern","Restore default":"Standard wiederherstellen","Reversed order":"Umgekehrte Reihenfolge","Rich Text Editor":"Rich Text Editor",Ridge:"Hervorgehoben","Right aligned image":"Rechtsbündiges Bild",Row:"Zeile",Save:"Speichern","Save changes":"Änderungen speichern","Saving changes":"Änderungen werden gespeichert","Select all":"Alles auswählen","Select column":"Spalte auswählen","Select row":"Zeile auswählen","Show more items":"Mehr anzeigen","Side image":"Seitenbild",Small:"Klein",Solid:"Durchgezogen","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Square:"Quadrat","Start at":"Beginnen mit","Start index must be greater than 0.":"Der Startwert muss größer als 0 sein.",Strikethrough:"Durchgestrichen",Style:"Rahmenart",Subscript:"Tiefgestellt",Superscript:"Hochgestellt","Table alignment toolbar":"Werkzeugleiste für die Tabellen-Ausrichtung","Table cell text alignment":"Ausrichtung des Zellentextes","Table properties":"Tabelleneigenschaften","Table toolbar":"Tabelle Werkzeugleiste","Text alignment":"Textausrichtung","Text alignment toolbar":"Text-Ausrichtung Toolbar","Text alternative":"Alternativtext","Text highlight toolbar":"Text hervorheben 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“.","This link has no URL":"Dieser Link hat keine Adresse",Tiny:"Sehr klein","To-do List":"Aufgabenliste","Toggle caption off":"Tabellenüberschrift deaktivieren","Toggle caption on":"Tabellenüberschrift aktivieren","Toggle the circle list style":"Leeren Kreis einstellen","Toggle the decimal list style":"Dezimalzahlen einstellen","Toggle the decimal with leading zero list style":"Dezimalzahlen mit vorangestellten Nullen einstellen","Toggle the disc list style":"Gefüllten Kreis einstellen","Toggle the lower–latin list style":"Kleingeschriebene lateinische Buchstaben einstellen","Toggle the lower–roman list style":"Kleingeschriebene römische Zahlen einstellen","Toggle the square list style":"Quadrat einstellen","Toggle the upper–latin list style":"Großgeschriebene lateinische Buchstaben einstellen","Toggle the upper–roman list style":"Großgeschriebene römische Zahlen einstellen",Turquoise:"Türkis","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben",Underline:"Unterstrichen",Undo:"Rückgängig",Unlink:"Link entfernen",Update:"Aktualisieren","Update image URL":"Bild-URL aktualisieren","Upload failed":"Hochladen fehlgeschlagen","Upload in progress":"Upload läuft","Upper-latin":"Großgeschriebene lateinische Buchstaben","Upper-roman":"Großgeschriebene römische Zahlen","Vertical text alignment toolbar":"Werkzeugleiste für die vertikale Zellentext-Ausrichtung",White:"Weiß","Widget toolbar":"Widget Werkzeugleiste",Width:"Breite","Wrap text":"Text umfließt Bild",Yellow:"Gelb","Yellow marker":"Gelber Marker"}),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=e.de||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 von %1",Accept:"","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 center":"Zentriert","Align left":"Linksbündig","Align right":"Rechtsbündig","Align table to the left":"Tabelle links ausrichten","Align table to the right":"Tabelle rechts ausrichten",Alignment:"Ausrichtung",Aquamarine:"Aquamarinblau",Background:"Hintergrund",Big:"Groß",Black:"Schwarz","Block quote":"Blockzitat",Blue:"Blau","Blue marker":"Blauer Marker",Bold:"Fett",Border:"Rahmen","Break text":"Bild teilt Text","Bulleted List":"Aufzählungsliste","Bulleted list styles toolbar":"Darstellung der ungeordneten Liste",Cancel:"Abbrechen","Caption for image: %0":"Bildunterschrift: %0","Caption for the image":"Bildunterschrift","Cell properties":"Zelleneigenschaften","Center table":"Tabelle zentrieren","Centered image":"Zentriertes Bild","Change image text alternative":"Alternativtext ändern","Choose heading":"Überschrift auswählen",Circle:"Leerer Kreis",Code:"Code",Color:"Farbe","Color picker":"Farbwähler",Column:"Spalte",Dashed:"Gestrichelt",Decimal:"Dezimalzahlen","Decimal with leading zero":"Dezimalzahlen mit vorangestellten Nullen","Decrease indent":"Einzug verkleinern",Default:"Standard","Delete column":"Spalte löschen","Delete row":"Zeile löschen","Dim grey":"Dunkelgrau",Dimensions:"Größe",Disc:"Gefüllter Kreis","Document colors":"Dokumentfarben",Dotted:"Gepunktet",Double:"Doppelt",Downloadable:"Herunterladbar","Dropdown toolbar":"Dropdown-Liste Werkzeugleiste","Edit block":"Absatz bearbeiten","Edit link":"Link bearbeiten","Edit source":"Quelle bearbeiten","Editor block content toolbar":"Editor Blockinhalt-Toolbar","Editor contextual toolbar":"Editor kontextuelle Toolbar","Editor editing area: %0":"Bearbeitungsbereich des Editors: %0","Editor toolbar":"Editor Werkzeugleiste","Empty snippet content":"Leerer Snippet-Inhalt","Enter image caption":"Bildunterschrift eingeben","Enter table caption":"Tabellenüberschrift eingeben","Font Background Color":"Hintergrundfarbe","Font Color":"Schriftfarbe","Font Family":"Schriftart","Font Size":"Schriftgröße","Full size image":"Bild in voller Größe",Green:"Grün","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Grey:"Grau",Groove:"Eingeritzt","Header column":"Kopfspalte","Header row":"Kopfzeile",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",Height:"Höhe",HEX:"",Highlight:"Texthervorhebung","Horizontal line":"Horizontale Linie","Horizontal text alignment toolbar":"Werkzeugleiste für die horizontale Zellentext-Ausrichtung","HTML snippet":"HTML-Snippet",Huge:"Sehr groß","Image resize list":"Bildgrößen-Liste","Image toolbar":"Bild Werkzeugleiste","image widget":"Bild-Steuerelement","In line":"Text in Zeile","Increase indent":"Einzug vergrößern",Insert:"Einfügen","Insert code block":"Code-Block einfügen","Insert column left":"Spalte links einfügen","Insert column right":"Spalte rechts einfügen","Insert HTML":"HTML einfügen","Insert image":"Bild einfügen","Insert image via URL":"Bild von URL einfügen","Insert paragraph after block":"Absatz nach Block einfügen","Insert paragraph before block":"Absatz vor Block einfügen","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen",Inset:"Eingelassen",Italic:"Kursiv",Justify:"Blocksatz","Justify cell text":"Zellentext als Blocksatz ausrichten","Left aligned image":"Linksbündiges Bild","Light blue":"Hellblau","Light green":"Hellgrün","Light grey":"Hellgrau",Link:"Link","Link image":"Bild verlinken","Link URL":"Link Adresse","List properties":"Listeneigenschaften","Lower-latin":"Kleingeschriebene lateinische Buchstaben","Lower–roman":"Kleingeschriebene römische Zahlen","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",Next:"Nächste","No preview available":"Keine Vorschau verfügbar",None:"Kein Rahmen","Numbered List":"Nummerierte Liste","Numbered list styles toolbar":"Darstellung der geordneten Liste","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link im neuen Tab öffnen",Orange:"Orange",Original:"Original",Outset:"Geprägt",Padding:"Innenabstand",Paragraph:"Absatz","Paste raw HTML here...":"Rohes HTML hier einfügen…","Pink marker":"Pinker Marker","Plain text":"Nur Text","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","Red pen":"Rote Schriftfarbe",Redo:"Wiederherstellen","Remove color":"Farbe entfernen","Remove Format":"Formatierung entfernen","Remove highlight":"Texthervorhebung entfernen","Resize image":"Bildgröße ändern","Resize image to %0":"Bildgröße ändern in %0","Resize image to the original size":"Bild in Originalgröße ändern","Restore default":"Standard wiederherstellen","Reversed order":"Umgekehrte Reihenfolge","Rich Text Editor":"Rich Text Editor",Ridge:"Hervorgehoben","Right aligned image":"Rechtsbündiges Bild",Row:"Zeile",Save:"Speichern","Save changes":"Änderungen speichern","Saving changes":"Änderungen werden gespeichert","Select all":"Alles auswählen","Select column":"Spalte auswählen","Select row":"Zeile auswählen","Show more items":"Mehr anzeigen","Side image":"Seitenbild",Small:"Klein",Solid:"Durchgezogen","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen",Square:"Quadrat","Start at":"Beginnen mit","Start index must be greater than 0.":"Der Startwert muss größer als 0 sein.",Strikethrough:"Durchgestrichen",Style:"Rahmenart",Subscript:"Tiefgestellt",Superscript:"Hochgestellt","Table alignment toolbar":"Werkzeugleiste für die Tabellen-Ausrichtung","Table cell text alignment":"Ausrichtung des Zellentextes","Table properties":"Tabelleneigenschaften","Table toolbar":"Tabelle Werkzeugleiste","Text alignment":"Textausrichtung","Text alignment toolbar":"Text-Ausrichtung Toolbar","Text alternative":"Alternativtext","Text highlight toolbar":"Text hervorheben 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“.","This link has no URL":"Dieser Link hat keine Adresse",Tiny:"Sehr klein","To-do List":"Aufgabenliste","Toggle caption off":"Tabellenüberschrift deaktivieren","Toggle caption on":"Tabellenüberschrift aktivieren","Toggle the circle list style":"Leeren Kreis einstellen","Toggle the decimal list style":"Dezimalzahlen einstellen","Toggle the decimal with leading zero list style":"Dezimalzahlen mit vorangestellten Nullen einstellen","Toggle the disc list style":"Gefüllten Kreis einstellen","Toggle the lower–latin list style":"Kleingeschriebene lateinische Buchstaben einstellen","Toggle the lower–roman list style":"Kleingeschriebene römische Zahlen einstellen","Toggle the square list style":"Quadrat einstellen","Toggle the upper–latin list style":"Großgeschriebene lateinische Buchstaben einstellen","Toggle the upper–roman list style":"Großgeschriebene römische Zahlen einstellen",Turquoise:"Türkis","Type or paste your content here.":"Hier Inhalt einfügen.","Type your title":"Titel eingeben",Underline:"Unterstrichen",Undo:"Rückgängig",Unlink:"Link entfernen",Update:"Aktualisieren","Update image URL":"Bild-URL aktualisieren","Upload failed":"Hochladen fehlgeschlagen","Upload in progress":"Upload läuft","Upper-latin":"Großgeschriebene lateinische Buchstaben","Upper-roman":"Großgeschriebene römische Zahlen","Vertical text alignment toolbar":"Werkzeugleiste für die vertikale Zellentext-Ausrichtung",White:"Weiß","Widget toolbar":"Widget Werkzeugleiste",Width:"Breite","Wrap text":"Text umfließt Bild",Yellow:"Gelb","Yellow marker":"Gelber Marker"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index d0775c6c408e48cf8d3a5c9cbc6d36971f09b382..9952e10a9abdec7f6441746704cc93943eeb3309 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 από %1","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 center":"Στοίχιση στο κέντρο","Align left":"Στοίχιση αριστερά","Align right":"Στοίχιση δεξιά","Align table to the left":"Στοίχιση πίνακα στα αριστερά","Align table to the right":"Στοίχιση πίνακα στα δεξιά",Alignment:"Στοίχιση",Aquamarine:"Ακουαμαρίνα",Background:"Υπόβαθρο",Big:"Μεγάλο",Black:"Μαύρο","Block quote":"Περιοχή παράθεσης",Blue:"Μπλε","Blue marker":"Επισημαντής μπλε",Bold:"Έντονα",Border:"Περίγραμμα","Break text":"Κατάτμηση κειμένου","Bulleted List":"Λίστα με κουκκίδες","Bulleted list styles toolbar":"Γραμμή εργαλείων στυλ λιστών με κουκίδες",Cancel:"Ακύρωση","Caption for image: %0":"Λεζάντα για την εικόνα: %0","Caption for the image":"Λεζάντα για την εικόνα","Cell properties":"Ιδιότητες κελιού","Center table":"Στοίχιση πίνακα στο κέντρο","Centered image":"Εικόνα με στοίχιση στο κέντρο","Change image text alternative":"Αλλαγή εναλλακτικού κείμενου εικόνας","Choose heading":"Επιλέξτε κεφαλίδα",Circle:"Κύκλος",Code:"Κώδικας",Color:"Χρώμα","Color picker":"Επιλογέας χρώματος",Column:"Στήλη",Dashed:"Με παύλες",Decimal:"Δεκαδικό","Decimal with leading zero":"Δεκαδικό με μηδενικά","Decrease indent":"Μείωση εσοχής",Default:"Προεπιλογή","Delete column":"Διαγραφή στήλης","Delete row":"Διαγραφή γραμμής","Dim grey":"Θολό γκρι",Dimensions:"Διαστάσεις",Disc:"Δίσκος","Document colors":"Χρώματα εγγράφου",Dotted:"Διάστικτο",Double:"Διπλό",Downloadable:"Με δυνατότητα λήψης","Dropdown toolbar":"Γραμμή εργαλείων αναδυόμενου μενού","Edit block":"Επεξεργασία τμήματος","Edit link":"Επεξεργασία συνδέσμου","Edit source":"Επεξεργασία κώδικα","Editor block content toolbar":"Γραμμή εργαλείων επεξεργασίας περιεχομένου αποκλεισμού","Editor contextual toolbar":"Γραμμή εργαλείων επεξεργασίας συμφραζομένων","Editor editing area: %0":"Περιοχή επεξεργασίας προγράμματος επεξεργασίας: %0","Editor toolbar":"Γραμμή εργαλείων επεξεργαστή","Empty snippet content":"Άδειο περιεχόμενο αποσπάσματος","Enter image caption":"Εισαγωγή λεζάντας εικόνας","Enter table caption":"Εισαγωγή λεζάντας πίνακα","Font Background Color":"Χρώμα υποβάθρου γραμματοσειράς","Font Color":"Χρώμα γραμματοσειράς","Font Family":"Οικογένεια γραμματοσειρών","Font Size":"Μέγεθος γραμματοσειράς","Full size image":"Εικόνα σε πλήρες μέγεθος",Green:"Πράσινο","Green marker":"Επισημαντής πράσινου","Green pen":"Πένα πράσινου",Grey:"Γκρι",Groove:"Βαθουλωτό","Header column":"Στήλη κεφαλίδας","Header row":"Γραμμή κεφαλίδας",Heading:"Κεφαλίδα","Heading 1":"Κεφαλίδα 1","Heading 2":"Κεφαλίδα 2","Heading 3":"Κεφαλίδα 3","Heading 4":"Κεφαλίδα 4","Heading 5":"Κεφαλίδα 5","Heading 6":"Κεφαλίδα 6",Height:"Ύψος",Highlight:"Επισήμανση","Horizontal line":"Οριζόντια γραμμή","Horizontal text alignment toolbar":"Γραμμή εργαλείων οριζόντιας στοίχισης κειμένου","HTML snippet":"Απόσπασμα HTML",Huge:"Τεράστιο","Image resize list":"Λίστα μεγεθών εικόνων","Image toolbar":"Γραμμή εργαλείων εικόνας","image widget":"Γραφικό στοιχείο εικόνας","In line":"Εντός γραμμής","Increase indent":"Αύξηση εσοχής",Insert:"Εισαγωγή","Insert code block":"Εισαγωγή τμήματος κώδικα","Insert column left":"Εισαγωγή στήλης αριστερά","Insert column right":"Εισαγωγή στήλης δεξιά","Insert HTML":"Εισαγωγή HTML","Insert image":"Εισαγωγή εικόνας","Insert image via URL":"Εισαγωγή εικόνας μέσω διεύθυνσης","Insert paragraph after block":"Εισαγωγή παραγράφου μετά το τμήμα","Insert paragraph before block":"Εισαγωγή παραγράφου πριν το τμήμα","Insert row above":"Εισαγωγή γραμμής πάνω","Insert row below":"Εισαγωγή γραμμής κάτω","Insert table":"Εισαγωγή πίνακα",Inset:"Κείμενο με βάθος",Italic:"Πλάγια",Justify:"Πλήρης στοίχηση","Justify cell text":"Πλήρης στοίχιση κειμένου κελιού","Left aligned image":"Εικόνα με αριστερή στοίχιση","Light blue":"Φωτινό μπλε","Light green":"Φωτινό πράσινο","Light grey":"Φωτινό γκρι",Link:"Σύνδεσμος","Link image":"Εικόνα συνδέσμου","Link URL":"Διεύθυνση συνδέσμου","List properties":"Ιδιότητες λίστας","Lower-latin":"Μικρά λατινικά","Lower–roman":"Μικρά ρωμαϊκά","Merge cell down":"Συγχώνευση κελιού κάτω","Merge cell left":"Συγχώνευση κελιού αριστερά","Merge cell right":"Συγχώνευση κελιού δεξιά","Merge cell up":"Συγχώνευση κελιού πάνω","Merge cells":"Συγχώνευση κελιών",Next:"Επόμενο","No preview available":"Η προεπισκόπηση δεν είναι διαθέσιμη",None:"Χωρίς περίγραμμα","Numbered List":"Λίστα με αριθμούς","Numbered list styles toolbar":"Γραμμή εργαλείων στυλ λιστών με αριθμούς","Open in a new tab":"Άνοιγμα σε νέα καρτέλα","Open link in new tab":"Άνοιγμα συνδέσμου σε νέα καρτέλα",Orange:"Πορτοκαλί",Original:"Αρχικό",Outset:"Κείμενο με ύψος",Padding:"Απόσταση κειμένου από το περίγραμμα",Paragraph:"Παράγραφος","Paste raw HTML here...":"Επικολλήστε κώδικα HTML εδώ...","Pink marker":"Επισημαντής ροζ","Plain text":"Απλό κέιμενο","Press Enter to type after or press Shift + Enter to type before the widget":"Πατήστε Enter για να πληκτρολογήσετε μετά ή πατήστε Shift + Enter για να πληκτρολογήσετε πριν από το γραφικό στοιχείο",Previous:"Προηγούμενο",Purple:"Πορφυρό",Red:"Κόκκινο","Red pen":"Πένα κόκκινου",Redo:"Επανάληψη","Remove color":"Απομάκρυνση χρώματος","Remove Format":"Απομάκρυνση μορφοποίησης","Remove highlight":"Απομάκρυνση επισήμανσης","Resize image":"Αλλαγή μεγέθους εικόνας","Resize image to %0":"Αλλαγή μεγέθους σε %0","Resize image to the original size":"Αλλαγή μεγέθους εικόνας στο αρχικό μέγεθος","Restore default":"Επαναφορά προεπιλογής","Reversed order":"Αντίστροφη σειρά","Rich Text Editor":"Επεξεργαστής εμπλουτισμένου κειμένου",Ridge:"Ραχωτό","Right aligned image":"Εικόνα με δεξιά στοίχιση",Row:"Γραμμή",Save:"Αποθήκευση","Save changes":"Αποθήκευση αλλαγών","Saving changes":"Αποθήκευση αλλαγών","Select all":"Επιλογή όλων","Select column":"Επιλογή στήλης","Select row":"Επιλογή γραμμής","Show more items":"Προβολή περισσότερων αντικειμένων","Side image":"Πλευρική εικόνα",Small:"Μικρό",Solid:"Συμπαγές","Split cell horizontally":"Διαχωρισμός κελιού οριζόντια","Split cell vertically":"Διαχωρισμός κελιού κάθετα",Square:"Τετράγωνο","Start at":"Εναρξη από","Start index must be greater than 0.":"Ο αριθμός έναρξης πρέπει να είναι μεγαλύτερος από 0.",Strikethrough:"Διακριτή διαγραφή",Style:"Στυλ",Subscript:"Δείκτης",Superscript:"Εκθέτης","Table alignment toolbar":"Γραμμή εργαλείων στοίχισης πίνακα","Table cell text alignment":"Στοίχιση κειμένου κελιού πίνακα","Table properties":"Ιδιότητες πίνακα","Table toolbar":"Γραμμή εργαλείων πίνακα","Text alignment":"Στοίχιση κειμένου","Text alignment toolbar":"Γραμμή εργαλείων στοίχισης κειμένου","Text alternative":"Εναλλακτικό κείμενο","Text highlight 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».","This link has no URL":"Ο σύνδεσμος δεν έχει διεύθυνση",Tiny:"Μικροσκοπικό","To-do List":"Λίστα προγραμματισμένων ενεργειών","Toggle caption off":"Εναλλαγή απόκρυψης λεζάντας","Toggle caption on":"Εναλλαγής εμφάνισης λεζάντας","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":"Εναλλαγή του στυλ λίστας με κεφαλαία ρωμαϊκά",Turquoise:"Τιρκουάζ","Type or paste your content here.":"Γράψτε ή επικολλήστε τα περιεχόμενά σας εδώ.","Type your title":"Γράψτε τον τίτλο σας εδώ",Underline:"Υπογράμμιση",Undo:"Αναίρεση",Unlink:"Αφαίρεση συνδέσμου",Update:"Ενημέρωση","Update image URL":"Ενημέρωση διεύθυνσης εικόνας","Upload failed":"Η αποστολή απέτυχε","Upload in progress":"Αποστολή σε εξέλιξη","Upper-latin":"Κεφαλαία λατινικά","Upper-roman":"Κεφαλαία ρωμαϊκά","Vertical text alignment toolbar":"Γραμμή εργαλείων κάθετης στοίχισης κειμένου",White:"Λευκό","Widget toolbar":"Γραμμή εργαλείων γραφικού στοιχείου",Width:"Πλάτος","Wrap text":"Αναδίπλωση κειμένου",Yellow:"Κίτρινο","Yellow marker":"Επισημαντής κίτρινου"}),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||{},{"%0 of %1":"%0 από %1",Accept:"","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 center":"Στοίχιση στο κέντρο","Align left":"Στοίχιση αριστερά","Align right":"Στοίχιση δεξιά","Align table to the left":"Στοίχιση πίνακα στα αριστερά","Align table to the right":"Στοίχιση πίνακα στα δεξιά",Alignment:"Στοίχιση",Aquamarine:"Ακουαμαρίνα",Background:"Υπόβαθρο",Big:"Μεγάλο",Black:"Μαύρο","Block quote":"Περιοχή παράθεσης",Blue:"Μπλε","Blue marker":"Επισημαντής μπλε",Bold:"Έντονα",Border:"Περίγραμμα","Break text":"Κατάτμηση κειμένου","Bulleted List":"Λίστα με κουκκίδες","Bulleted list styles toolbar":"Γραμμή εργαλείων στυλ λιστών με κουκίδες",Cancel:"Ακύρωση","Caption for image: %0":"Λεζάντα για την εικόνα: %0","Caption for the image":"Λεζάντα για την εικόνα","Cell properties":"Ιδιότητες κελιού","Center table":"Στοίχιση πίνακα στο κέντρο","Centered image":"Εικόνα με στοίχιση στο κέντρο","Change image text alternative":"Αλλαγή εναλλακτικού κείμενου εικόνας","Choose heading":"Επιλέξτε κεφαλίδα",Circle:"Κύκλος",Code:"Κώδικας",Color:"Χρώμα","Color picker":"Επιλογέας χρώματος",Column:"Στήλη",Dashed:"Με παύλες",Decimal:"Δεκαδικό","Decimal with leading zero":"Δεκαδικό με μηδενικά","Decrease indent":"Μείωση εσοχής",Default:"Προεπιλογή","Delete column":"Διαγραφή στήλης","Delete row":"Διαγραφή γραμμής","Dim grey":"Θολό γκρι",Dimensions:"Διαστάσεις",Disc:"Δίσκος","Document colors":"Χρώματα εγγράφου",Dotted:"Διάστικτο",Double:"Διπλό",Downloadable:"Με δυνατότητα λήψης","Dropdown toolbar":"Γραμμή εργαλείων αναδυόμενου μενού","Edit block":"Επεξεργασία τμήματος","Edit link":"Επεξεργασία συνδέσμου","Edit source":"Επεξεργασία κώδικα","Editor block content toolbar":"Γραμμή εργαλείων επεξεργασίας περιεχομένου αποκλεισμού","Editor contextual toolbar":"Γραμμή εργαλείων επεξεργασίας συμφραζομένων","Editor editing area: %0":"Περιοχή επεξεργασίας προγράμματος επεξεργασίας: %0","Editor toolbar":"Γραμμή εργαλείων επεξεργαστή","Empty snippet content":"Άδειο περιεχόμενο αποσπάσματος","Enter image caption":"Εισαγωγή λεζάντας εικόνας","Enter table caption":"Εισαγωγή λεζάντας πίνακα","Font Background Color":"Χρώμα υποβάθρου γραμματοσειράς","Font Color":"Χρώμα γραμματοσειράς","Font Family":"Οικογένεια γραμματοσειρών","Font Size":"Μέγεθος γραμματοσειράς","Full size image":"Εικόνα σε πλήρες μέγεθος",Green:"Πράσινο","Green marker":"Επισημαντής πράσινου","Green pen":"Πένα πράσινου",Grey:"Γκρι",Groove:"Βαθουλωτό","Header column":"Στήλη κεφαλίδας","Header row":"Γραμμή κεφαλίδας",Heading:"Κεφαλίδα","Heading 1":"Κεφαλίδα 1","Heading 2":"Κεφαλίδα 2","Heading 3":"Κεφαλίδα 3","Heading 4":"Κεφαλίδα 4","Heading 5":"Κεφαλίδα 5","Heading 6":"Κεφαλίδα 6",Height:"Ύψος",HEX:"",Highlight:"Επισήμανση","Horizontal line":"Οριζόντια γραμμή","Horizontal text alignment toolbar":"Γραμμή εργαλείων οριζόντιας στοίχισης κειμένου","HTML snippet":"Απόσπασμα HTML",Huge:"Τεράστιο","Image resize list":"Λίστα μεγεθών εικόνων","Image toolbar":"Γραμμή εργαλείων εικόνας","image widget":"Γραφικό στοιχείο εικόνας","In line":"Εντός γραμμής","Increase indent":"Αύξηση εσοχής",Insert:"Εισαγωγή","Insert code block":"Εισαγωγή τμήματος κώδικα","Insert column left":"Εισαγωγή στήλης αριστερά","Insert column right":"Εισαγωγή στήλης δεξιά","Insert HTML":"Εισαγωγή HTML","Insert image":"Εισαγωγή εικόνας","Insert image via URL":"Εισαγωγή εικόνας μέσω διεύθυνσης","Insert paragraph after block":"Εισαγωγή παραγράφου μετά το τμήμα","Insert paragraph before block":"Εισαγωγή παραγράφου πριν το τμήμα","Insert row above":"Εισαγωγή γραμμής πάνω","Insert row below":"Εισαγωγή γραμμής κάτω","Insert table":"Εισαγωγή πίνακα",Inset:"Κείμενο με βάθος",Italic:"Πλάγια",Justify:"Πλήρης στοίχηση","Justify cell text":"Πλήρης στοίχιση κειμένου κελιού","Left aligned image":"Εικόνα με αριστερή στοίχιση","Light blue":"Φωτινό μπλε","Light green":"Φωτινό πράσινο","Light grey":"Φωτινό γκρι",Link:"Σύνδεσμος","Link image":"Εικόνα συνδέσμου","Link URL":"Διεύθυνση συνδέσμου","List properties":"Ιδιότητες λίστας","Lower-latin":"Μικρά λατινικά","Lower–roman":"Μικρά ρωμαϊκά","Merge cell down":"Συγχώνευση κελιού κάτω","Merge cell left":"Συγχώνευση κελιού αριστερά","Merge cell right":"Συγχώνευση κελιού δεξιά","Merge cell up":"Συγχώνευση κελιού πάνω","Merge cells":"Συγχώνευση κελιών",Next:"Επόμενο","No preview available":"Η προεπισκόπηση δεν είναι διαθέσιμη",None:"Χωρίς περίγραμμα","Numbered List":"Λίστα με αριθμούς","Numbered list styles toolbar":"Γραμμή εργαλείων στυλ λιστών με αριθμούς","Open in a new tab":"Άνοιγμα σε νέα καρτέλα","Open link in new tab":"Άνοιγμα συνδέσμου σε νέα καρτέλα",Orange:"Πορτοκαλί",Original:"Αρχικό",Outset:"Κείμενο με ύψος",Padding:"Απόσταση κειμένου από το περίγραμμα",Paragraph:"Παράγραφος","Paste raw HTML here...":"Επικολλήστε κώδικα HTML εδώ...","Pink marker":"Επισημαντής ροζ","Plain text":"Απλό κέιμενο","Press Enter to type after or press Shift + Enter to type before the widget":"Πατήστε Enter για να πληκτρολογήσετε μετά ή πατήστε Shift + Enter για να πληκτρολογήσετε πριν από το γραφικό στοιχείο",Previous:"Προηγούμενο",Purple:"Πορφυρό",Red:"Κόκκινο","Red pen":"Πένα κόκκινου",Redo:"Επανάληψη","Remove color":"Απομάκρυνση χρώματος","Remove Format":"Απομάκρυνση μορφοποίησης","Remove highlight":"Απομάκρυνση επισήμανσης","Resize image":"Αλλαγή μεγέθους εικόνας","Resize image to %0":"Αλλαγή μεγέθους σε %0","Resize image to the original size":"Αλλαγή μεγέθους εικόνας στο αρχικό μέγεθος","Restore default":"Επαναφορά προεπιλογής","Reversed order":"Αντίστροφη σειρά","Rich Text Editor":"Επεξεργαστής εμπλουτισμένου κειμένου",Ridge:"Ραχωτό","Right aligned image":"Εικόνα με δεξιά στοίχιση",Row:"Γραμμή",Save:"Αποθήκευση","Save changes":"Αποθήκευση αλλαγών","Saving changes":"Αποθήκευση αλλαγών","Select all":"Επιλογή όλων","Select column":"Επιλογή στήλης","Select row":"Επιλογή γραμμής","Show more items":"Προβολή περισσότερων αντικειμένων","Side image":"Πλευρική εικόνα",Small:"Μικρό",Solid:"Συμπαγές","Split cell horizontally":"Διαχωρισμός κελιού οριζόντια","Split cell vertically":"Διαχωρισμός κελιού κάθετα",Square:"Τετράγωνο","Start at":"Εναρξη από","Start index must be greater than 0.":"Ο αριθμός έναρξης πρέπει να είναι μεγαλύτερος από 0.",Strikethrough:"Διακριτή διαγραφή",Style:"Στυλ",Subscript:"Δείκτης",Superscript:"Εκθέτης","Table alignment toolbar":"Γραμμή εργαλείων στοίχισης πίνακα","Table cell text alignment":"Στοίχιση κειμένου κελιού πίνακα","Table properties":"Ιδιότητες πίνακα","Table toolbar":"Γραμμή εργαλείων πίνακα","Text alignment":"Στοίχιση κειμένου","Text alignment toolbar":"Γραμμή εργαλείων στοίχισης κειμένου","Text alternative":"Εναλλακτικό κείμενο","Text highlight 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».","This link has no URL":"Ο σύνδεσμος δεν έχει διεύθυνση",Tiny:"Μικροσκοπικό","To-do List":"Λίστα προγραμματισμένων ενεργειών","Toggle caption off":"Εναλλαγή απόκρυψης λεζάντας","Toggle caption on":"Εναλλαγής εμφάνισης λεζάντας","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":"Εναλλαγή του στυλ λίστας με κεφαλαία ρωμαϊκά",Turquoise:"Τιρκουάζ","Type or paste your content here.":"Γράψτε ή επικολλήστε τα περιεχόμενά σας εδώ.","Type your title":"Γράψτε τον τίτλο σας εδώ",Underline:"Υπογράμμιση",Undo:"Αναίρεση",Unlink:"Αφαίρεση συνδέσμου",Update:"Ενημέρωση","Update image URL":"Ενημέρωση διεύθυνσης εικόνας","Upload failed":"Η αποστολή απέτυχε","Upload in progress":"Αποστολή σε εξέλιξη","Upper-latin":"Κεφαλαία λατινικά","Upper-roman":"Κεφαλαία ρωμαϊκά","Vertical text alignment toolbar":"Γραμμή εργαλείων κάθετης στοίχισης κειμένου",White:"Λευκό","Widget toolbar":"Γραμμή εργαλείων γραφικού στοιχείου",Width:"Πλάτος","Wrap text":"Αναδίπλωση κειμένου",Yellow:"Κίτρινο","Yellow marker":"Επισημαντής κίτρινου"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index a59df5aa8e1c5421a3a3b642e66ac7eb3b895031..bda0843b7b8a955e185842e9e6f586bcb5305eed 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e["en-au"]=e["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1","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 center":"Align centre","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Caption for image: %0":"","Caption for the image":"","Cell properties":"Cell properties","Center table":"Centre table","Centered image":"Centred image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Colour","Color picker":"Colour picker",Column:"Column",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colours",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Edit source":"Edit source","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Empty snippet content":"Empty snippet content","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Font Background Color":"Font Background Colour","Font Color":"Font Colour","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",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",Height:"Height",Highlight:"Highlight","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML snippet":"HTML snippet",Huge:"Huge","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert HTML":"Insert HTML","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset",Italic:"Italic",Justify:"Justify","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Next","No preview available":"No preview available",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste raw HTML here...":"Paste raw HTML here...","Pink marker":"Pink marker","Plain text":"Plain text","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Previous",Purple:"Purple",Red:"Red","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove colour","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Save changes":"Save changes","Saving changes":"Saving changes","Select all":"Select all","Select column":"Select column","Select row":"Select row","Show more items":"Show more items","Side image":"Side image",Small:"Small",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative","Text highlight toolbar":"Text highlight 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".',"This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow","Yellow marker":"Yellow marker"}),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||{},{"%0 of %1":"%0 of %1",Accept:"","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 center":"Align centre","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Centre table","Centered image":"Centred image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Colour","Color picker":"Colour picker",Column:"Column",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colours",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Edit source":"Edit source","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Empty snippet content":"Empty snippet content","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Font Background Color":"Font Background Colour","Font Color":"Font Colour","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",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",Height:"Height",HEX:"",Highlight:"Highlight","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML snippet":"HTML snippet",Huge:"Huge","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert HTML":"Insert HTML","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset",Italic:"Italic",Justify:"Justify","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Next","No preview available":"No preview available",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste raw HTML here...":"Paste raw HTML here...","Pink marker":"Pink marker","Plain text":"Plain text","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","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove colour","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Save changes":"Save changes","Saving changes":"Saving changes","Select all":"Select all","Select column":"Select column","Select row":"Select row","Show more items":"Show more items","Side image":"Side image",Small:"Small",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative","Text highlight toolbar":"Text highlight 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".',"This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow","Yellow marker":"Yellow marker"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index f4219f1a7a8c9130ab4832546439da65a8f231b6..7eaa307e76bb31f34f67225be2a396126386e08a 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e["en-gb"]=e["en-gb"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1","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 center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"Aquamarine",Background:"",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"","Break text":"","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"",Cancel:"Cancel","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Centred image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"",Code:"Code",Color:"","Color picker":"",Column:"Column",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"",Disc:"","Document colors":"Document colours",Dotted:"",Double:"",Downloadable:"Downloadable","Dropdown toolbar":"","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Enter image caption","Enter table caption":"","Font Background Color":"Font Background Colour","Font Color":"Font Colour","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"","Header column":"Header column","Header row":"Header row",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",Height:"",Highlight:"Highlight","Horizontal text alignment toolbar":"",Huge:"Huge","Image resize list":"","Image toolbar":"","image widget":"Image widget","In line":"","Increase indent":"Increase indent",Insert:"","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image via URL":"","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"",Italic:"Italic",Justify:"Justify","Justify cell text":"","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"","Link URL":"Link URL","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"Next",None:"","Numbered List":"Numbered List","Numbered list styles toolbar":"","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"",Outset:"",Padding:"",Paragraph:"Paragraph","Pink marker":"Pink marker",Previous:"Previous",Purple:"Purple",Red:"Red","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove colour","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Rich Text Editor",Ridge:"","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Saving changes":"Saving changes","Select column":"","Select row":"","Show more items":"","Side image":"Side image",Small:"Small",Solid:"","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Strikethrough",Style:"",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Text alignment","Text alignment toolbar":"","Text alternative":"Text alternative","Text highlight 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".':"","This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Turquoise","Type or paste your content here.":"","Type your title":"",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"","Update image URL":"","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"White",Width:"","Wrap text":"",Yellow:"Yellow","Yellow marker":"Yellow marker"}),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-gb"]=e["en-gb"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1",Accept:"","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 center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"Aquamarine",Background:"",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"","Break text":"","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"",Cancel:"Cancel","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Centred image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"",Code:"Code",Color:"","Color picker":"",Column:"Column",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"",Disc:"","Document colors":"Document colours",Dotted:"",Double:"",Downloadable:"Downloadable","Dropdown toolbar":"","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Enter image caption","Enter table caption":"","Font Background Color":"Font Background Colour","Font Color":"Font Colour","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"","Header column":"Header column","Header row":"Header row",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",Height:"",HEX:"",Highlight:"Highlight","Horizontal text alignment toolbar":"",Huge:"Huge","Image resize list":"","Image toolbar":"","image widget":"Image widget","In line":"","Increase indent":"Increase indent",Insert:"","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image via URL":"","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"",Italic:"Italic",Justify:"Justify","Justify cell text":"","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"","Link URL":"Link URL","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"Next",None:"","Numbered List":"Numbered List","Numbered list styles toolbar":"","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"",Outset:"",Padding:"",Paragraph:"Paragraph","Pink marker":"Pink marker",Previous:"Previous",Purple:"Purple",Red:"Red","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove colour","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Rich Text Editor",Ridge:"","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Saving changes":"Saving changes","Select column":"","Select row":"","Show more items":"","Side image":"Side image",Small:"Small",Solid:"","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Strikethrough",Style:"",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Text alignment","Text alignment toolbar":"","Text alternative":"Text alternative","Text highlight 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".':"","This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Turquoise","Type or paste your content here.":"","Type your title":"",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"","Update image URL":"","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"White",Width:"","Wrap text":"",Yellow:"Yellow","Yellow marker":"Yellow marker"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 1d3cfbd58ba8e5c00d185ff644b3450928b416f5..ac012a1b93d0684516dd24e3830d0ecd61b57460 100644 (file)
@@ -1 +1 @@
-!function(e){const i=e.eo=e.eo||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"",Blue:"",Bold:"grasa","Break text":"","Bulleted List":"Bula Listo","Bulleted list styles toolbar":"",Cancel:"Nuligi","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"Ŝanĝu la alternativan tekston de la bildo","Choose heading":"Elektu ĉapon",Circle:"",Code:"",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Skribu klarigon pri la bildo","Full size image":"Bildo kun reala dimensio",Green:"",Grey:"",Heading:"Ĉapo","Heading 1":"Ĉapo 1","Heading 2":"Ĉapo 2","Heading 3":"Ĉapo 3","Heading 4":"","Heading 5":"","Heading 6":"","Image resize list":"","Image toolbar":"","image widget":"bilda fenestraĵo","In line":"",Insert:"","Insert image":"Enmetu bildon","Insert image via URL":"",Italic:"kursiva","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"Ligilo","Link image":"","Link URL":"URL de la ligilo","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"Numerita Listo","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"Paragrafo",Previous:"",Purple:"",Red:"",Redo:"Refari","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Redaktilo de Riĉa Teksto","Right aligned image":"",Save:"Konservi","Show more items":"","Side image":"Flanka biildo",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"Alternativa teksto","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"",Undo:"Malfari",Unlink:"Malligi",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",Yellow:""}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
+!function(e){const i=e.eo=e.eo||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"",Blue:"",Bold:"grasa","Break text":"","Bulleted List":"Bula Listo","Bulleted list styles toolbar":"",Cancel:"Nuligi","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"Ŝanĝu la alternativan tekston de la bildo","Choose heading":"Elektu ĉapon",Circle:"",Code:"",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Skribu klarigon pri la bildo","Full size image":"Bildo kun reala dimensio",Green:"",Grey:"",Heading:"Ĉapo","Heading 1":"Ĉapo 1","Heading 2":"Ĉapo 2","Heading 3":"Ĉapo 3","Heading 4":"","Heading 5":"","Heading 6":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"bilda fenestraĵo","In line":"",Insert:"","Insert image":"Enmetu bildon","Insert image via URL":"",Italic:"kursiva","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"Ligilo","Link image":"","Link URL":"URL de la ligilo","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"Numerita Listo","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"Paragrafo",Previous:"",Purple:"",Red:"",Redo:"Refari","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Redaktilo de Riĉa Teksto","Right aligned image":"",Save:"Konservi","Show more items":"","Side image":"Flanka biildo",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"Alternativa teksto","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"",Undo:"Malfari",Unlink:"Malligi",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",Yellow:""}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index a1bb535c02efc23c3284cb3fe0788f566ac0f63f..9edd1b3f65c58e06a43774af56ed6a7297fb3892 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1","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 center":"Centrar","Align left":"Alinear a la izquierda","Align right":"Alinear a la derecha","Align table to the left":"Alinear tabla a la izquierda","Align table to the right":"Alinear tabla a la derecha",Alignment:"Alineación",Aquamarine:"Aguamarina",Background:"Fondo",Big:"Grande",Black:"Negro","Block quote":"Cita de bloque",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negrita",Border:"Borde","Break text":"Permitir quebrar texto","Bulleted List":"Lista con viñetas","Bulleted list styles toolbar":"Estilos de lista con viñetas",Cancel:"Cancelar","Caption for image: %0":"Título de la imagen: %0","Caption for the image":"Descripción de la imagen","Cell properties":"Propiedades de celda","Center table":"Centrar tabla","Centered image":"Imagen centrada","Change image text alternative":"Cambiar el texto alternativo de la imagen","Choose heading":"Elegir Encabezado",Circle:"Círculo",Code:"Código",Color:"Color","Color picker":"Selector de color",Column:"Columna",Dashed:"Línea discontinua",Decimal:"Decimal","Decimal with leading zero":"Decimal con cero","Decrease indent":"Disminuir sangría",Default:"Por defecto","Delete column":"Eliminar columna","Delete row":"Eliminar fila","Dim grey":"Gris Oscuro",Dimensions:"Dimensiones",Disc:"Disco","Document colors":"Colores del documento",Dotted:"Línea de puntos",Double:"Doble línea",Downloadable:"Descargable","Dropdown toolbar":"Barra de herramientas desplegable","Edit block":"Cuadro de edición","Edit link":"Editar enlace","Edit source":"Editar fuente","Editor block content toolbar":"Barra de herramientas de contenido del bloque del editor","Editor contextual toolbar":"Barra de herramientas contextual del editor","Editor editing area: %0":"Área de edición del editor: %0","Editor toolbar":"Barra de herramientas de edición","Empty snippet content":"Fragmento vacío","Enter image caption":"Introducir título de la imagen","Enter table caption":"Ingresar título de tabla","Font Background Color":"Color de Fondo","Font Color":"Color de Fuente","Font Family":"Fuente","Font Size":"Tamaño de fuente","Full size image":"Imagen a tamaño completo",Green:"Verde","Green marker":"Marcador verde","Green pen":"Texto verde",Grey:"Gris",Groove:"Bisel","Header column":"Columna de encabezado","Header row":"Fila de 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",Height:"Altura",Highlight:"Resaltar","Horizontal line":"Línea horizontal","Horizontal text alignment toolbar":"Alineación horizontal de texto","HTML snippet":"Fragmento HTML",Huge:"Enorme","Image resize list":"Listado para redimensionar imagen","Image toolbar":"Barra de herramientas de imagen","image widget":"Widget de imagen","In line":"En línea","Increase indent":"Aumentar sangría",Insert:"Insertar","Insert code block":"Insertar bloque de código","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert HTML":"Insertar HTML","Insert image":"Insertar imagen","Insert image via URL":"Insertar imagen vía URL","Insert paragraph after block":"Insertar párrafo después del bloque","Insert paragraph before block":"Insertar párrafo antes del bloque","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla",Inset:"Incrustación",Italic:"Cursiva",Justify:"Justificar","Justify cell text":"Justificar texto de celda","Left aligned image":"Imagen alineada a la izquierda","Light blue":"Azul Claro","Light green":"Verde Claro","Light grey":"Gris Claro",Link:"Enlace","Link image":"URL de la imagen","Link URL":"URL del enlace","List properties":"Propiedades de la lista","Lower-latin":"Latinos minúsculas","Lower–roman":"Romanos minúsculas","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",Next:"Siguiente","No preview available":"No hay ninguna previsualización",None:"Ninguno","Numbered List":"Lista numerada","Numbered list styles toolbar":"Estilos de lista numerada","Open in a new tab":"Abrir en una pestaña nueva ","Open link in new tab":"Abrir enlace en una pestaña nueva",Orange:"Anaranjado",Original:"Original",Outset:"Relieve",Padding:"Márgenes",Paragraph:"Párrafo","Paste raw HTML here...":"Pegue el código HTML aquí…","Pink marker":"Marcador rosa","Plain text":"Texto plano","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","Red pen":"Texto rojo",Redo:"Rehacer","Remove color":"Quitar color","Remove Format":"Quitar Formato","Remove highlight":"Quitar resaltado","Resize image":"Redimensionar imagen","Resize image to %0":"Redimensionar imagen al %0","Resize image to the original size":"Redimensionar imagen al tamaño original","Restore default":"Restaurar valores predeterminados","Reversed order":"Orden inverso","Rich Text Editor":"Editor de Texto Enriquecido",Ridge:"Marco","Right aligned image":"Imagen alineada a la derecha",Row:"Fila",Save:"Guardar","Save changes":"Guardar cambios","Saving changes":"Guardando cambios","Select all":"Seleccionar todo","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Show more items":"Mostrar más elementos","Side image":"Imagen lateral",Small:"Pequeño",Solid:"Sólido","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente",Square:"Cuadrado","Start at":"Empezar en","Start index must be greater than 0.":"El número de inicio debe ser mayor que 0.",Strikethrough:"Tachado",Style:"Estilo",Subscript:"Subíndice",Superscript:"Superíndice","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","Text alignment":"Alineación del texto","Text alignment toolbar":"Barra de herramientas de alineación del texto","Text alternative":"Texto alternativo","Text highlight toolbar":"Barra de herramientas de resaltado de texto",'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".',"This link has no URL":"Este enlace no tiene URL",Tiny:"Minúsculo","To-do List":"Lista de tareas","Toggle caption off":"Desactivar título","Toggle caption on":"Activar título","Toggle the circle list style":"Cambiar estilo de viñeta a círculo","Toggle the decimal list style":"Cambiar estilo de lista a decimal","Toggle the decimal with leading zero list style":"Cambiar estilo de lista decimal empezando con cero","Toggle the disc list style":"Cambiar estilo de viñeta a disco","Toggle the lower–latin list style":"Cambiar estilo de lista a números latinos en minúsculas","Toggle the lower–roman list style":"Cambiar estilo de lista a números romanos en minúsculas","Toggle the square list style":"Cambiar estilo de viñeta a cuadrado","Toggle the upper–latin list style":"Cambiar estilo de lista a números latinos en mayúsculas","Toggle the upper–roman list style":"Cambiar estilo de lista a números roanos en mayúsculas",Turquoise:"Turquesa","Type or paste your content here.":"Introduce o pega tu contenido aquí","Type your title":"Introduce tu título",Underline:"Subrayado",Undo:"Deshacer",Unlink:"Quitar enlace",Update:"Actualizar","Update image URL":"Actualizar imagen vía URL","Upload failed":"Fallo en la subida","Upload in progress":"Subida en progreso","Upper-latin":"Latinos minúsculas","Upper-roman":"Romanos mayúscula","Vertical text alignment toolbar":"Alineación vertical de texto",White:"Blanco","Widget toolbar":"Barra de herramientas del widget",Width:"Ancho","Wrap text":"Mantener texto unido",Yellow:"Amarillo","Yellow marker":"Marcador 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||{},{"%0 of %1":"%0 de %1",Accept:"","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 center":"Centrar","Align left":"Alinear a la izquierda","Align right":"Alinear a la derecha","Align table to the left":"Alinear tabla a la izquierda","Align table to the right":"Alinear tabla a la derecha",Alignment:"Alineación",Aquamarine:"Aguamarina",Background:"Fondo",Big:"Grande",Black:"Negro","Block quote":"Cita de bloque",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negrita",Border:"Borde","Break text":"Permitir quebrar texto","Bulleted List":"Lista con viñetas","Bulleted list styles toolbar":"Estilos de lista con viñetas",Cancel:"Cancelar","Caption for image: %0":"Título de la imagen: %0","Caption for the image":"Descripción de la imagen","Cell properties":"Propiedades de celda","Center table":"Centrar tabla","Centered image":"Imagen centrada","Change image text alternative":"Cambiar el texto alternativo de la imagen","Choose heading":"Elegir Encabezado",Circle:"Círculo",Code:"Código",Color:"Color","Color picker":"Selector de color",Column:"Columna",Dashed:"Línea discontinua",Decimal:"Decimal","Decimal with leading zero":"Decimal con cero","Decrease indent":"Disminuir sangría",Default:"Por defecto","Delete column":"Eliminar columna","Delete row":"Eliminar fila","Dim grey":"Gris Oscuro",Dimensions:"Dimensiones",Disc:"Disco","Document colors":"Colores del documento",Dotted:"Línea de puntos",Double:"Doble línea",Downloadable:"Descargable","Dropdown toolbar":"Barra de herramientas desplegable","Edit block":"Cuadro de edición","Edit link":"Editar enlace","Edit source":"Editar fuente","Editor block content toolbar":"Barra de herramientas de contenido del bloque del editor","Editor contextual toolbar":"Barra de herramientas contextual del editor","Editor editing area: %0":"Área de edición del editor: %0","Editor toolbar":"Barra de herramientas de edición","Empty snippet content":"Fragmento vacío","Enter image caption":"Introducir título de la imagen","Enter table caption":"Ingresar título de tabla","Font Background Color":"Color de Fondo","Font Color":"Color de Fuente","Font Family":"Fuente","Font Size":"Tamaño de fuente","Full size image":"Imagen a tamaño completo",Green:"Verde","Green marker":"Marcador verde","Green pen":"Texto verde",Grey:"Gris",Groove:"Bisel","Header column":"Columna de encabezado","Header row":"Fila de 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",Height:"Altura",HEX:"",Highlight:"Resaltar","Horizontal line":"Línea horizontal","Horizontal text alignment toolbar":"Alineación horizontal de texto","HTML snippet":"Fragmento HTML",Huge:"Enorme","Image resize list":"Listado para redimensionar imagen","Image toolbar":"Barra de herramientas de imagen","image widget":"Widget de imagen","In line":"En línea","Increase indent":"Aumentar sangría",Insert:"Insertar","Insert code block":"Insertar bloque de código","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert HTML":"Insertar HTML","Insert image":"Insertar imagen","Insert image via URL":"Insertar imagen vía URL","Insert paragraph after block":"Insertar párrafo después del bloque","Insert paragraph before block":"Insertar párrafo antes del bloque","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla",Inset:"Incrustación",Italic:"Cursiva",Justify:"Justificar","Justify cell text":"Justificar texto de celda","Left aligned image":"Imagen alineada a la izquierda","Light blue":"Azul Claro","Light green":"Verde Claro","Light grey":"Gris Claro",Link:"Enlace","Link image":"URL de la imagen","Link URL":"URL del enlace","List properties":"Propiedades de la lista","Lower-latin":"Latinos minúsculas","Lower–roman":"Romanos minúsculas","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",Next:"Siguiente","No preview available":"No hay ninguna previsualización",None:"Ninguno","Numbered List":"Lista numerada","Numbered list styles toolbar":"Estilos de lista numerada","Open in a new tab":"Abrir en una pestaña nueva ","Open link in new tab":"Abrir enlace en una pestaña nueva",Orange:"Anaranjado",Original:"Original",Outset:"Relieve",Padding:"Márgenes",Paragraph:"Párrafo","Paste raw HTML here...":"Pegue el código HTML aquí…","Pink marker":"Marcador rosa","Plain text":"Texto plano","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","Red pen":"Texto rojo",Redo:"Rehacer","Remove color":"Quitar color","Remove Format":"Quitar Formato","Remove highlight":"Quitar resaltado","Resize image":"Redimensionar imagen","Resize image to %0":"Redimensionar imagen al %0","Resize image to the original size":"Redimensionar imagen al tamaño original","Restore default":"Restaurar valores predeterminados","Reversed order":"Orden inverso","Rich Text Editor":"Editor de Texto Enriquecido",Ridge:"Marco","Right aligned image":"Imagen alineada a la derecha",Row:"Fila",Save:"Guardar","Save changes":"Guardar cambios","Saving changes":"Guardando cambios","Select all":"Seleccionar todo","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Show more items":"Mostrar más elementos","Side image":"Imagen lateral",Small:"Pequeño",Solid:"Sólido","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente",Square:"Cuadrado","Start at":"Empezar en","Start index must be greater than 0.":"El número de inicio debe ser mayor que 0.",Strikethrough:"Tachado",Style:"Estilo",Subscript:"Subíndice",Superscript:"Superíndice","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","Text alignment":"Alineación del texto","Text alignment toolbar":"Barra de herramientas de alineación del texto","Text alternative":"Texto alternativo","Text highlight toolbar":"Barra de herramientas de resaltado de texto",'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".',"This link has no URL":"Este enlace no tiene URL",Tiny:"Minúsculo","To-do List":"Lista de tareas","Toggle caption off":"Desactivar título","Toggle caption on":"Activar título","Toggle the circle list style":"Cambiar estilo de viñeta a círculo","Toggle the decimal list style":"Cambiar estilo de lista a decimal","Toggle the decimal with leading zero list style":"Cambiar estilo de lista decimal empezando con cero","Toggle the disc list style":"Cambiar estilo de viñeta a disco","Toggle the lower–latin list style":"Cambiar estilo de lista a números latinos en minúsculas","Toggle the lower–roman list style":"Cambiar estilo de lista a números romanos en minúsculas","Toggle the square list style":"Cambiar estilo de viñeta a cuadrado","Toggle the upper–latin list style":"Cambiar estilo de lista a números latinos en mayúsculas","Toggle the upper–roman list style":"Cambiar estilo de lista a números roanos en mayúsculas",Turquoise:"Turquesa","Type or paste your content here.":"Introduce o pega tu contenido aquí","Type your title":"Introduce tu título",Underline:"Subrayado",Undo:"Deshacer",Unlink:"Quitar enlace",Update:"Actualizar","Update image URL":"Actualizar imagen vía URL","Upload failed":"Fallo en la subida","Upload in progress":"Subida en progreso","Upper-latin":"Latinos minúsculas","Upper-roman":"Romanos mayúscula","Vertical text alignment toolbar":"Alineación vertical de texto",White:"Blanco","Widget toolbar":"Barra de herramientas del widget",Width:"Ancho","Wrap text":"Mantener texto unido",Yellow:"Amarillo","Yellow marker":"Marcador 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
index d9efc6c38c0485d930a95e1841cbd191af83f008..47fd3b8bf4c9c4f9d1c301eefc842d329a22def4 100644 (file)
@@ -1 +1 @@
-!function(e){const i=e.et=e.et||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 / %1","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 center":"Keskjoondus","Align left":"Vasakjoondus","Align right":"Paremjoondus","Align table to the left":"Tabel joondatud vasakule","Align table to the right":"Tabel joondatud paremale",Alignment:"Joondus",Aquamarine:"Akvamariin",Background:"Taust",Big:"Suur",Black:"Must","Block quote":"Tsitaat",Blue:"Sinine","Blue marker":"Sinine marker",Bold:"Rasvane",Border:"Ääris","Break text":"Murra teksti","Bulleted List":"Punktidega loetelu","Bulleted list styles toolbar":"Täpploendi stiili tööriistariba",Cancel:"Loobu","Caption for image: %0":"Pildi pealkiri: %0","Caption for the image":"Pildi pealkiri","Cell properties":"Lahtri omadused","Center table":"Tabel joondatud keskele","Centered image":"Keskele joondatud pilt","Change image text alternative":"Muuda pildi asenduskirjeldust","Choose heading":"Vali pealkiri",Circle:"Ring",Code:"Kood",Color:"Värvus","Color picker":"Värvi valija",Column:"Veerg",Dashed:"Kriipsjoon",Decimal:"Kümnend","Decimal with leading zero":"Nulliga kümnendsüsteem","Decrease indent":"Vähenda taanet",Default:"Vaikimisi","Delete column":"Kustuta veerg","Delete row":"Kustuta rida","Dim grey":"Tumehall",Dimensions:"Mõõtmed",Disc:"Ketas","Document colors":"Dokumendi värvid",Dotted:"Punktiir",Double:"Topelt",Downloadable:"Allalaaditav","Dropdown toolbar":"Avatav tööriistariba","Edit block":"Muuda plokki","Edit link":"Muuda linki","Edit source":"Muuda allikat","Editor block content toolbar":"Redigeerija ploki sisu tööriistariba","Editor contextual toolbar":"Redigeerija kontekstuaalne tööriistariba","Editor editing area: %0":"Redaktori redigeerimisala: %0","Editor toolbar":"Redaktori tööriistariba","Empty snippet content":"Tühi jupi sisu","Enter image caption":"Sisesta pildi pealkiri","Enter table caption":"Sisesta tabeli pealdis","Font Background Color":"Kirja tausta värvus","Font Color":"Fondi värvus","Font Family":"Kirjastiil","Font Size":"Teksti suurus","Full size image":"Täissuuruses pilt",Green:"Roheline","Green marker":"Roheline marker","Green pen":"Roheline pliiats",Grey:"Hall",Groove:"Kraav","Header column":"Päise veerg","Header row":"Päise rida",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",Height:"Kõrgus",Highlight:"Tõsta esile","Horizontal line":"Horisontaalne joon","Horizontal text alignment toolbar":"Teksti rõhtpaigutuse tööriistariba","HTML snippet":"HTML jupp",Huge:"Ülisuur","Image resize list":"Pildi suuruse muutmise loend","Image toolbar":"Piltide tööriistariba","image widget":"pildi vidin","In line":"Joone sees","Increase indent":"Suurenda taanet",Insert:"Sisesta","Insert code block":"Sisesta koodiplokk","Insert column left":"Sisesta veerg vasakule","Insert column right":"Sisesta veerg paremale","Insert HTML":"Sisesta HTML","Insert image":"Sisesta pilt","Insert image via URL":"Sisesta pilt läbi URL-i","Insert paragraph after block":"Sisesta lõik pärast plokki","Insert paragraph before block":"Sisesta lõik enne plokki","Insert row above":"Sisesta rida ülespoole","Insert row below":"Sisesta rida allapoole","Insert table":"Sisesta tabel",Inset:"Süvik",Italic:"Kaldkiri",Justify:"Rööpjoondus","Justify cell text":"Lahtri tekst rööpjoondatud","Left aligned image":"Vasakule joondatud pilt","Light blue":"Helesinine","Light green":"Heleroheline","Light grey":"Helehall",Link:"Link","Link image":"Lingi pilt","Link URL":"Lingi URL","List properties":"Loendi atribuudid","Lower-latin":"Ladina väiketähe","Lower–roman":"Väikse rooma numbri","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",Next:"Järgmine","No preview available":"Eelvaade pole saadaval",None:"Puudub","Numbered List":"Nummerdatud loetelu","Numbered list styles toolbar":"Numbriloendi stiilide tööriistariba","Open in a new tab":"Ava uuel kaardil","Open link in new tab":"Ava link uuel vahekaardil",Orange:"Oranž",Original:"Algne",Outset:"Küngas",Padding:"Vahe sisuni",Paragraph:"Lõik","Paste raw HTML here...":"Kleebi toores HTML siia...","Pink marker":"Roosa marker","Plain text":"Lihtsalt tekst","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","Red pen":"Punane pliiats",Redo:"Tee uuesti","Remove color":"Eemalda värv","Remove Format":"Eemalda vorming","Remove highlight":"Eemalda esiletõstmine","Resize image":"Muuda pildi suurust","Resize image to %0":"Muuda pilt suurusesse %0","Resize image to the original size":"Muuda pilt algsuurusesse","Restore default":"Taasta algne","Reversed order":"Vastupidine järjekord","Rich Text Editor":"Tekstiredaktor",Ridge:"Vall","Right aligned image":"Paremale joondatud pilt",Row:"Rida",Save:"Salvesta","Save changes":"Salvesta muudatused","Saving changes":"Muudatuste salvestamine","Select all":"Vali kõik","Select column":"Vali veerg","Select row":"Vali rida","Show more items":"Näita veel","Side image":"Pilt küljel",Small:"Väike",Solid:"Pidev","Split cell horizontally":"Jaga lahter horisontaalselt","Split cell vertically":"Jaga lahter vertikaalselt",Square:"Ruut","Start at":"Alusta alates","Start index must be greater than 0.":"Algindeks peab olema suurem kui 0.",Strikethrough:"Läbijoonitud",Style:"Stiil",Subscript:"Alaindeks",Superscript:"Ülaindeks","Table alignment toolbar":"Tabeli paigutuse tööriistariba","Table cell text alignment":"Teksti paigutus lahtris","Table properties":"Tabeli omadused","Table toolbar":"Tabelite tööriistariba","Text alignment":"Teksti joondamine","Text alignment toolbar":"Teksti joonduse tööriistariba","Text alternative":"Asenduskirjeldus","Text highlight toolbar":"Teksti markeerimise 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".',"This link has no URL":"Sellel lingil puudub URL",Tiny:"Imepisike","To-do List":"Tööde nimekiri","Toggle caption off":"Lülita pealdis välja","Toggle caption on":"Lülita pealdis sisse","Toggle the circle list style":"Lülita ringi loendistiili sisse-välja","Toggle the decimal list style":"Lülita kümnendsüsteemi loendistiili sisse-välja","Toggle the decimal with leading zero list style":"Lülita nulliga kümnendsüsteemi loendistiili sisse-välja","Toggle the disc list style":"Lülita ketta loendistiili sisse-välja","Toggle the lower–latin list style":"Lülita ladina väiketähe loendistiili sisse-välja","Toggle the lower–roman list style":"Lülita väikse rooma numbri loendistiili sisse-välja","Toggle the square list style":"Lülita ruudu loendistiili sisse-välja","Toggle the upper–latin list style":"Lülita ladina suurtähe loendistiili sisse-välja","Toggle the upper–roman list style":"Lülita suure rooma numbri loendistiili sisse-välja",Turquoise:"Türkiis","Type or paste your content here.":"Siia tipi või kopeeri tekst.","Type your title":"Sisesta pealkiri",Underline:"Allajoonitud",Undo:"Võta tagasi",Unlink:"Eemalda link",Update:"Uuenda","Update image URL":"Uuenda pildi URL-i","Upload failed":"Üleslaadimine ebaõnnestus","Upload in progress":"Üleslaadimine pooleli","Upper-latin":"Ladina suurtähe","Upper-roman":"Suure rooma numbri","Vertical text alignment toolbar":"Teksti püstpaigutuse tööriistariba",White:"Valge","Widget toolbar":"Vidinate tööriistariba",Width:"Laius","Wrap text":"Murra teksti ridu",Yellow:"Kollane","Yellow marker":"Kollane marker"}),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||{},{"%0 of %1":"%0 / %1",Accept:"","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 center":"Keskjoondus","Align left":"Vasakjoondus","Align right":"Paremjoondus","Align table to the left":"Tabel joondatud vasakule","Align table to the right":"Tabel joondatud paremale",Alignment:"Joondus",Aquamarine:"Akvamariin",Background:"Taust",Big:"Suur",Black:"Must","Block quote":"Tsitaat",Blue:"Sinine","Blue marker":"Sinine marker",Bold:"Rasvane",Border:"Ääris","Break text":"Murra teksti","Bulleted List":"Punktidega loetelu","Bulleted list styles toolbar":"Täpploendi stiili tööriistariba",Cancel:"Loobu","Caption for image: %0":"Pildi pealkiri: %0","Caption for the image":"Pildi pealkiri","Cell properties":"Lahtri omadused","Center table":"Tabel joondatud keskele","Centered image":"Keskele joondatud pilt","Change image text alternative":"Muuda pildi asenduskirjeldust","Choose heading":"Vali pealkiri",Circle:"Ring",Code:"Kood",Color:"Värvus","Color picker":"Värvi valija",Column:"Veerg",Dashed:"Kriipsjoon",Decimal:"Kümnend","Decimal with leading zero":"Nulliga kümnendsüsteem","Decrease indent":"Vähenda taanet",Default:"Vaikimisi","Delete column":"Kustuta veerg","Delete row":"Kustuta rida","Dim grey":"Tumehall",Dimensions:"Mõõtmed",Disc:"Ketas","Document colors":"Dokumendi värvid",Dotted:"Punktiir",Double:"Topelt",Downloadable:"Allalaaditav","Dropdown toolbar":"Avatav tööriistariba","Edit block":"Muuda plokki","Edit link":"Muuda linki","Edit source":"Muuda allikat","Editor block content toolbar":"Redigeerija ploki sisu tööriistariba","Editor contextual toolbar":"Redigeerija kontekstuaalne tööriistariba","Editor editing area: %0":"Redaktori redigeerimisala: %0","Editor toolbar":"Redaktori tööriistariba","Empty snippet content":"Tühi jupi sisu","Enter image caption":"Sisesta pildi pealkiri","Enter table caption":"Sisesta tabeli pealdis","Font Background Color":"Kirja tausta värvus","Font Color":"Fondi värvus","Font Family":"Kirjastiil","Font Size":"Teksti suurus","Full size image":"Täissuuruses pilt",Green:"Roheline","Green marker":"Roheline marker","Green pen":"Roheline pliiats",Grey:"Hall",Groove:"Kraav","Header column":"Päise veerg","Header row":"Päise rida",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",Height:"Kõrgus",HEX:"",Highlight:"Tõsta esile","Horizontal line":"Horisontaalne joon","Horizontal text alignment toolbar":"Teksti rõhtpaigutuse tööriistariba","HTML snippet":"HTML jupp",Huge:"Ülisuur","Image resize list":"Pildi suuruse muutmise loend","Image toolbar":"Piltide tööriistariba","image widget":"pildi vidin","In line":"Joone sees","Increase indent":"Suurenda taanet",Insert:"Sisesta","Insert code block":"Sisesta koodiplokk","Insert column left":"Sisesta veerg vasakule","Insert column right":"Sisesta veerg paremale","Insert HTML":"Sisesta HTML","Insert image":"Sisesta pilt","Insert image via URL":"Sisesta pilt läbi URL-i","Insert paragraph after block":"Sisesta lõik pärast plokki","Insert paragraph before block":"Sisesta lõik enne plokki","Insert row above":"Sisesta rida ülespoole","Insert row below":"Sisesta rida allapoole","Insert table":"Sisesta tabel",Inset:"Süvik",Italic:"Kaldkiri",Justify:"Rööpjoondus","Justify cell text":"Lahtri tekst rööpjoondatud","Left aligned image":"Vasakule joondatud pilt","Light blue":"Helesinine","Light green":"Heleroheline","Light grey":"Helehall",Link:"Link","Link image":"Lingi pilt","Link URL":"Lingi URL","List properties":"Loendi atribuudid","Lower-latin":"Ladina väiketähe","Lower–roman":"Väikse rooma numbri","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",Next:"Järgmine","No preview available":"Eelvaade pole saadaval",None:"Puudub","Numbered List":"Nummerdatud loetelu","Numbered list styles toolbar":"Numbriloendi stiilide tööriistariba","Open in a new tab":"Ava uuel kaardil","Open link in new tab":"Ava link uuel vahekaardil",Orange:"Oranž",Original:"Algne",Outset:"Küngas",Padding:"Vahe sisuni",Paragraph:"Lõik","Paste raw HTML here...":"Kleebi toores HTML siia...","Pink marker":"Roosa marker","Plain text":"Lihtsalt tekst","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","Red pen":"Punane pliiats",Redo:"Tee uuesti","Remove color":"Eemalda värv","Remove Format":"Eemalda vorming","Remove highlight":"Eemalda esiletõstmine","Resize image":"Muuda pildi suurust","Resize image to %0":"Muuda pilt suurusesse %0","Resize image to the original size":"Muuda pilt algsuurusesse","Restore default":"Taasta algne","Reversed order":"Vastupidine järjekord","Rich Text Editor":"Tekstiredaktor",Ridge:"Vall","Right aligned image":"Paremale joondatud pilt",Row:"Rida",Save:"Salvesta","Save changes":"Salvesta muudatused","Saving changes":"Muudatuste salvestamine","Select all":"Vali kõik","Select column":"Vali veerg","Select row":"Vali rida","Show more items":"Näita veel","Side image":"Pilt küljel",Small:"Väike",Solid:"Pidev","Split cell horizontally":"Jaga lahter horisontaalselt","Split cell vertically":"Jaga lahter vertikaalselt",Square:"Ruut","Start at":"Alusta alates","Start index must be greater than 0.":"Algindeks peab olema suurem kui 0.",Strikethrough:"Läbijoonitud",Style:"Stiil",Subscript:"Alaindeks",Superscript:"Ülaindeks","Table alignment toolbar":"Tabeli paigutuse tööriistariba","Table cell text alignment":"Teksti paigutus lahtris","Table properties":"Tabeli omadused","Table toolbar":"Tabelite tööriistariba","Text alignment":"Teksti joondamine","Text alignment toolbar":"Teksti joonduse tööriistariba","Text alternative":"Asenduskirjeldus","Text highlight toolbar":"Teksti markeerimise 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".',"This link has no URL":"Sellel lingil puudub URL",Tiny:"Imepisike","To-do List":"Tööde nimekiri","Toggle caption off":"Lülita pealdis välja","Toggle caption on":"Lülita pealdis sisse","Toggle the circle list style":"Lülita ringi loendistiili sisse-välja","Toggle the decimal list style":"Lülita kümnendsüsteemi loendistiili sisse-välja","Toggle the decimal with leading zero list style":"Lülita nulliga kümnendsüsteemi loendistiili sisse-välja","Toggle the disc list style":"Lülita ketta loendistiili sisse-välja","Toggle the lower–latin list style":"Lülita ladina väiketähe loendistiili sisse-välja","Toggle the lower–roman list style":"Lülita väikse rooma numbri loendistiili sisse-välja","Toggle the square list style":"Lülita ruudu loendistiili sisse-välja","Toggle the upper–latin list style":"Lülita ladina suurtähe loendistiili sisse-välja","Toggle the upper–roman list style":"Lülita suure rooma numbri loendistiili sisse-välja",Turquoise:"Türkiis","Type or paste your content here.":"Siia tipi või kopeeri tekst.","Type your title":"Sisesta pealkiri",Underline:"Allajoonitud",Undo:"Võta tagasi",Unlink:"Eemalda link",Update:"Uuenda","Update image URL":"Uuenda pildi URL-i","Upload failed":"Üleslaadimine ebaõnnestus","Upload in progress":"Üleslaadimine pooleli","Upper-latin":"Ladina suurtähe","Upper-roman":"Suure rooma numbri","Vertical text alignment toolbar":"Teksti püstpaigutuse tööriistariba",White:"Valge","Widget toolbar":"Vidinate tööriistariba",Width:"Laius","Wrap text":"Murra teksti ridu",Yellow:"Kollane","Yellow marker":"Kollane marker"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 96b797a0892e9bf5ed50843e40522d53dc3da140..dcba26fb2b06773b64b31b93f8a8327aab1fc412 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.eu=e.eu||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"","Block quote":"Aipua",Blue:"",Bold:"Lodia","Break text":"","Bulleted List":"Buletdun zerrenda","Bulleted list styles toolbar":"",Cancel:"Utzi","Caption for image: %0":"","Caption for the image":"","Centered image":"Zentratutako irudia","Change image text alternative":"Aldatu irudiaren ordezko testua","Choose heading":"Aukeratu izenburua",Circle:"",Code:"Kodea",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Sartu irudiaren epigrafea","Full size image":"Tamaina osoko irudia",Green:"",Grey:"",Heading:"Izenburua","Heading 1":"Izenburua 1","Heading 2":"Izenburua 2","Heading 3":"Izenburua 3","Heading 4":"","Heading 5":"","Heading 6":"","Image resize list":"","Image toolbar":"","image widget":"irudi widgeta","In line":"",Insert:"","Insert image":"Txertatu irudia","Insert image via URL":"",Italic:"Etzana","Left aligned image":"Ezkerrean lerrokatutako irudia","Light blue":"","Light green":"","Light grey":"",Link:"Esteka","Link image":"","Link URL":"Estekaren URLa","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"Zenbakidun zerrenda","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"Paragrafoa",Previous:"",Purple:"",Red:"",Redo:"Berregin","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Testu aberastuaren editorea","Right aligned image":"Eskuinean lerrokatutako irudia",Save:"Gorde","Show more items":"","Side image":"Alboko irudia",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"Ordezko testua","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Azpimarra",Undo:"Desegin",Unlink:"Desestekatu",Update:"","Update image URL":"","Upload failed":"Kargatzeak huts egin du","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",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||{},{"%0 of %1":"",Aquamarine:"",Black:"","Block quote":"Aipua",Blue:"",Bold:"Lodia","Break text":"","Bulleted List":"Buletdun zerrenda","Bulleted list styles toolbar":"",Cancel:"Utzi","Caption for image: %0":"","Caption for the image":"","Centered image":"Zentratutako irudia","Change image text alternative":"Aldatu irudiaren ordezko testua","Choose heading":"Aukeratu izenburua",Circle:"",Code:"Kodea",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Sartu irudiaren epigrafea","Full size image":"Tamaina osoko irudia",Green:"",Grey:"",Heading:"Izenburua","Heading 1":"Izenburua 1","Heading 2":"Izenburua 2","Heading 3":"Izenburua 3","Heading 4":"","Heading 5":"","Heading 6":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"irudi widgeta","In line":"",Insert:"","Insert image":"Txertatu irudia","Insert image via URL":"",Italic:"Etzana","Left aligned image":"Ezkerrean lerrokatutako irudia","Light blue":"","Light green":"","Light grey":"",Link:"Esteka","Link image":"","Link URL":"Estekaren URLa","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"Zenbakidun zerrenda","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"Paragrafoa",Previous:"",Purple:"",Red:"",Redo:"Berregin","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Testu aberastuaren editorea","Right aligned image":"Eskuinean lerrokatutako irudia",Save:"Gorde","Show more items":"","Side image":"Alboko irudia",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"Ordezko testua","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Azpimarra",Undo:"Desegin",Unlink:"Desestekatu",Update:"","Update image URL":"","Upload failed":"Kargatzeak huts egin du","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 54be21f38f1e5b282866805b0e25f5fd49542bf5..312aa260a0a04aff356b76c5b5a92a29b4d6225d 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.fa=e.fa||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 از %1","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 center":"تراز وسط","Align left":"تراز چپ","Align right":"تراز راست","Align table to the left":"","Align table to the right":"جدول را در سمت راست تراز کنید",Alignment:"ترازبندی",Aquamarine:"زمرد کبود",Background:"زمینه",Big:"بزرگ",Black:"سیاه","Block quote":" بلوک نقل قول",Blue:"آبی","Blue marker":"نشانگر آبی",Bold:"درشت",Border:"حاشیه","Break text":"","Bulleted List":"لیست نشانه‌دار","Bulleted list styles toolbar":"",Cancel:"لغو","Caption for image: %0":"","Caption for the image":"","Cell properties":"خصوصیات سلول","Center table":"جدول وسط","Centered image":"تصویر در وسط","Change image text alternative":"تغییر متن جایگزین تصویر","Choose heading":"انتخاب عنوان",Circle:"",Code:"کد",Color:"رنگ","Color picker":"",Column:"ستون",Dashed:"نقطه چین",Decimal:"","Decimal with leading zero":"","Decrease indent":"کاهش تورفتگی",Default:"پیش فرض","Delete column":"حذف ستون","Delete row":"حذف سطر","Dim grey":"خاکستری تیره",Dimensions:"ابعاد",Disc:"","Document colors":"رنگ اسناد",Dotted:"خط چین",Double:"دوبل",Downloadable:"قابل بارگیری","Dropdown toolbar":"نوارابزار کشویی","Edit block":"ویرایش قطعه","Edit link":"ویرایش پیوند","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"نوارابزار ویرایشگر","Enter image caption":"عنوان تصویر را وارد کنید","Enter table caption":"","Font Background Color":"رنگ پس زمینه فونت","Font Color":"رنگ فونت","Font Family":"خانواده فونت","Font Size":"اندازه فونت","Full size image":"تصویر در اندازه کامل",Green:"سبز","Green marker":"نشانگر سبز","Green pen":"قلم سبز",Grey:"خاکستری",Groove:"خط دار کردن","Header column":"ستون سربرگ","Header row":"سطر سربرگ",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6",Height:"ارتفاع",Highlight:"برجسته","Horizontal line":"خط افقی","Horizontal text alignment toolbar":"",Huge:"بسیار بزرگ","Image resize list":"","Image toolbar":"نوارابزار تصویر","image widget":"ابزاره تصویر","In line":"","Increase indent":"افزایش تورفتگی",Insert:"","Insert code block":"درج بلوک کد","Insert column left":"درج ستون در سمت چپ","Insert column right":"درج ستون در سمت راست","Insert image":"قرار دادن تصویر","Insert image via URL":"","Insert paragraph after block":"درج پاراگراف بعد از بلوک","Insert paragraph before block":"درج پاراگراف قبل از بلوک","Insert row above":"درج سطر در بالا","Insert row below":"درج سطر در پایین","Insert table":"درج جدول",Inset:"",Italic:"کج",Justify:"هم تراز کردن","Justify cell text":"","Left aligned image":"تصویر تراز شده چپ","Light blue":"آبی روشن","Light green":"سبز روشن","Light grey":"خاکستری روشن",Link:"پیوند","Link image":"اتصال پیوند به تصویر","Link URL":"نشانی اینترنتی پیوند","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"ادغام سلول پایین","Merge cell left":"ادغام سلول چپ","Merge cell right":"ادغام سلول راست","Merge cell up":"ادغام سلول بالا","Merge cells":"ادغام سلول ها",Next:"بعدی",None:"هیچ کدام","Numbered List":"لیست عددی","Numbered list styles toolbar":"","Open in a new tab":"بازکردن در برگه جدید","Open link in new tab":"باز کردن پیوند در برگه جدید",Orange:"نارنجی",Original:"",Outset:"",Padding:"حاشیه داخلی",Paragraph:"پاراگراف","Pink marker":"نشانگر صورتی","Plain text":"متن ساده","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"قبلی",Purple:"بنفش",Red:"قرمز","Red pen":"قلم قرمز",Redo:"باز انجام","Remove color":"حذف رنگ","Remove Format":"حذف کردن قالب","Remove highlight":"حذف برجسته","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"ویرایشگر متن غنی",Ridge:"","Right aligned image":"تصویر تراز شده راست",Row:"سطر",Save:"ذخیره","Saving changes":"ذخیره سازی تغییرات","Select all":"انتخاب همه","Select column":"","Select row":"","Show more items":"نمایش گزینه‌های بیشتر","Side image":"تصویر جانبی",Small:"کوچک",Solid:"توپر","Split cell horizontally":"تقسیم افقی سلول","Split cell vertically":"تقسیم عمودی سلول",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"خط خورده",Style:"",Subscript:"پایین نویس",Superscript:"بالانویس","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"خصوصیات جدول","Table toolbar":"نوارابزار جدول","Text alignment":"تراز متن","Text alignment toolbar":"نوار ابزار ترازبندی متن","Text alternative":"متن جایگزین","Text highlight 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".':"","This link has no URL":"این پیوند نشانی اینترنتی ندارد",Tiny:"بسیار کوچک","To-do List":"لیست انجام کار","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"فیروزه ای","Type or paste your content here.":"محتوای خود را در اینجا تایپ یا پیست کنید.","Type your title":"عنوان خود را تایپ کنید",Underline:"خط زیر",Undo:"بازگردانی",Unlink:"لغو پیوند",Update:"","Update image URL":"","Upload failed":"آپلود ناموفق بود","Upload in progress":"آپلود در حال انجام","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"سفید","Widget toolbar":"نوار ابزار ویجت",Width:"عرض","Wrap text":"",Yellow:"زرد","Yellow marker":"نشانگر زرد"}),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||{},{"%0 of %1":"%0 از %1",Accept:"","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 center":"تراز وسط","Align left":"تراز چپ","Align right":"تراز راست","Align table to the left":"","Align table to the right":"جدول را در سمت راست تراز کنید",Alignment:"ترازبندی",Aquamarine:"زمرد کبود",Background:"زمینه",Big:"بزرگ",Black:"سیاه","Block quote":" بلوک نقل قول",Blue:"آبی","Blue marker":"نشانگر آبی",Bold:"درشت",Border:"حاشیه","Break text":"","Bulleted List":"لیست نشانه‌دار","Bulleted list styles toolbar":"",Cancel:"لغو","Caption for image: %0":"","Caption for the image":"","Cell properties":"خصوصیات سلول","Center table":"جدول وسط","Centered image":"تصویر در وسط","Change image text alternative":"تغییر متن جایگزین تصویر","Choose heading":"انتخاب عنوان",Circle:"",Code:"کد",Color:"رنگ","Color picker":"",Column:"ستون",Dashed:"نقطه چین",Decimal:"","Decimal with leading zero":"","Decrease indent":"کاهش تورفتگی",Default:"پیش فرض","Delete column":"حذف ستون","Delete row":"حذف سطر","Dim grey":"خاکستری تیره",Dimensions:"ابعاد",Disc:"","Document colors":"رنگ اسناد",Dotted:"خط چین",Double:"دوبل",Downloadable:"قابل بارگیری","Dropdown toolbar":"نوارابزار کشویی","Edit block":"ویرایش قطعه","Edit link":"ویرایش پیوند","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"نوارابزار ویرایشگر","Enter image caption":"عنوان تصویر را وارد کنید","Enter table caption":"","Font Background Color":"رنگ پس زمینه فونت","Font Color":"رنگ فونت","Font Family":"خانواده فونت","Font Size":"اندازه فونت","Full size image":"تصویر در اندازه کامل",Green:"سبز","Green marker":"نشانگر سبز","Green pen":"قلم سبز",Grey:"خاکستری",Groove:"خط دار کردن","Header column":"ستون سربرگ","Header row":"سطر سربرگ",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6",Height:"ارتفاع",HEX:"",Highlight:"برجسته","Horizontal line":"خط افقی","Horizontal text alignment toolbar":"",Huge:"بسیار بزرگ","Image resize list":"","Image toolbar":"نوارابزار تصویر","image widget":"ابزاره تصویر","In line":"","Increase indent":"افزایش تورفتگی",Insert:"","Insert code block":"درج بلوک کد","Insert column left":"درج ستون در سمت چپ","Insert column right":"درج ستون در سمت راست","Insert image":"قرار دادن تصویر","Insert image via URL":"","Insert paragraph after block":"درج پاراگراف بعد از بلوک","Insert paragraph before block":"درج پاراگراف قبل از بلوک","Insert row above":"درج سطر در بالا","Insert row below":"درج سطر در پایین","Insert table":"درج جدول",Inset:"",Italic:"کج",Justify:"هم تراز کردن","Justify cell text":"","Left aligned image":"تصویر تراز شده چپ","Light blue":"آبی روشن","Light green":"سبز روشن","Light grey":"خاکستری روشن",Link:"پیوند","Link image":"اتصال پیوند به تصویر","Link URL":"نشانی اینترنتی پیوند","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"ادغام سلول پایین","Merge cell left":"ادغام سلول چپ","Merge cell right":"ادغام سلول راست","Merge cell up":"ادغام سلول بالا","Merge cells":"ادغام سلول ها",Next:"بعدی",None:"هیچ کدام","Numbered List":"لیست عددی","Numbered list styles toolbar":"","Open in a new tab":"بازکردن در برگه جدید","Open link in new tab":"باز کردن پیوند در برگه جدید",Orange:"نارنجی",Original:"",Outset:"",Padding:"حاشیه داخلی",Paragraph:"پاراگراف","Pink marker":"نشانگر صورتی","Plain text":"متن ساده","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"قبلی",Purple:"بنفش",Red:"قرمز","Red pen":"قلم قرمز",Redo:"باز انجام","Remove color":"حذف رنگ","Remove Format":"حذف کردن قالب","Remove highlight":"حذف برجسته","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"ویرایشگر متن غنی",Ridge:"","Right aligned image":"تصویر تراز شده راست",Row:"سطر",Save:"ذخیره","Saving changes":"ذخیره سازی تغییرات","Select all":"انتخاب همه","Select column":"","Select row":"","Show more items":"نمایش گزینه‌های بیشتر","Side image":"تصویر جانبی",Small:"کوچک",Solid:"توپر","Split cell horizontally":"تقسیم افقی سلول","Split cell vertically":"تقسیم عمودی سلول",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"خط خورده",Style:"",Subscript:"پایین نویس",Superscript:"بالانویس","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"خصوصیات جدول","Table toolbar":"نوارابزار جدول","Text alignment":"تراز متن","Text alignment toolbar":"نوار ابزار ترازبندی متن","Text alternative":"متن جایگزین","Text highlight 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".':"","This link has no URL":"این پیوند نشانی اینترنتی ندارد",Tiny:"بسیار کوچک","To-do List":"لیست انجام کار","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"فیروزه ای","Type or paste your content here.":"محتوای خود را در اینجا تایپ یا پیست کنید.","Type your title":"عنوان خود را تایپ کنید",Underline:"خط زیر",Undo:"بازگردانی",Unlink:"لغو پیوند",Update:"","Update image URL":"","Upload failed":"آپلود ناموفق بود","Upload in progress":"آپلود در حال انجام","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"سفید","Widget toolbar":"نوار ابزار ویجت",Width:"عرض","Wrap text":"",Yellow:"زرد","Yellow marker":"نشانگر زرد"}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index d671f7cd6a95088702f368ea47a6f67b8ab131d0..0a408f3bdd1828f08045bbc055b742f80565c9d8 100644 (file)
@@ -1 +1 @@
-!function(e){const i=e.fi=e.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 / %1","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 center":"Tasaa keskelle","Align left":"Tasaa vasemmalle","Align right":"Tasaa oikealle","Align table to the left":"Siirrä taulukko vasemmalle","Align table to the right":"Siirrä taulukko oikealle",Alignment:"Suunta",Aquamarine:"Akvamariini",Background:"Tausta",Big:"Suuri",Black:"Musta","Block quote":"Lainaus",Blue:"Sininen","Blue marker":"Sininen tussi",Bold:"Lihavointi",Border:"Reunus","Break text":"Irrota teksti","Bulleted List":"Lista","Bulleted list styles toolbar":"Luetelmalistan työkalupalkki",Cancel:"Peruuta","Caption for image: %0":"Kuvan kuvateksti: %0","Caption for the image":"Kuvan kuvateksti","Cell properties":"Solun ominaisuudet","Center table":"Keskitä taulukko","Centered image":"Keskitetty kuva","Change image text alternative":"Vaihda kuvan vaihtoehtoinen teksti","Choose heading":"Valitse otsikko",Circle:"Ympyrä",Code:"Koodi",Color:"Väri","Color picker":"Värin valitsin",Column:"Sarake",Dashed:"Katkoviiva",Decimal:"Desimaali","Decimal with leading zero":"Nolla alussa -desimaali","Decrease indent":"Vähennä sisennystä",Default:"Oletus","Delete column":"Poista sarake","Delete row":"Poista rivi","Dim grey":"Vaaleanharmaa",Dimensions:"Mittasuhteet",Disc:"Levy","Document colors":"Asiakirjan värit",Dotted:"Pisteviiva",Double:"Kaksinkertainen",Downloadable:"Ladattava","Dropdown toolbar":"Pudotusvalikon työkalupalkki","Edit block":"Muokkaa lohkoa","Edit link":"Muokkaa linkkiä","Edit source":"Muokkaa lähdettä","Editor block content toolbar":"Editorin lohkon sisällön työkalupalkki","Editor contextual toolbar":"Editorin kontekstuaalinen työkalupalkki","Editor editing area: %0":"Editorin muokkausalue: %0","Editor toolbar":"Editorin työkalupalkki","Empty snippet content":"Tyhjä pätkäsisältö","Enter image caption":"Syötä kuvateksti","Enter table caption":"Ota taulukon tekstitys käyttöön","Font Background Color":"Fontin taustaväri","Font Color":"Fontin väri","Font Family":"Fonttiperhe","Font Size":"Fontin koko","Full size image":"Täysikokoinen kuva",Green:"Vihreä","Green marker":"Vihreä tussi","Green pen":"Vihreä kynä",Grey:"Harmaa",Groove:"Uurrettu","Header column":"Otsikkosarake","Header row":"Otsikkorivi",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",Height:"Korkeus",Highlight:"Korosta","Horizontal line":"Vaakasuora viiva","Horizontal text alignment toolbar":"Vaakasuoran tekstin suunnan työkalupalkki","HTML snippet":"HMTL-pätkä",Huge:"Hyvin suuri","Image resize list":"Kuvan koon muokkaamisen lista","Image toolbar":"Kuvan työkalupalkki","image widget":"Kuvavimpain","In line":"Rivin sisällä","Increase indent":"Lisää sisennystä",Insert:"Liitä","Insert code block":"Liitä koodilohko","Insert column left":"Lisää sarake vasemmalle","Insert column right":"Lisää sarake oikealle","Insert HTML":"Liitä HTML","Insert image":"Lisää kuva","Insert image via URL":"Liitä kuva URL-koodin kautta","Insert paragraph after block":"Liitä kappale lohkon jälkeen","Insert paragraph before block":"Liitä kappale ennen lohkoa","Insert row above":"Lisää rivi ylle","Insert row below":"Lisää rivi alle","Insert table":"Lisää taulukko",Inset:"Upote",Italic:"Kursivointi",Justify:"Tasaa molemmat reunat","Justify cell text":"Tasaa solun teksti","Left aligned image":"Vasemmalle tasattu kuva","Light blue":"Vaaleansininen","Light green":"Vaaleanvihreä","Light grey":"Vaaleanharmaa",Link:"Linkki","Link image":"Linkkikuva","Link URL":"Linkin osoite","List properties":"Listaominaisuudet","Lower-latin":"Pienet latinalaiset aakkoset","Lower–roman":"Pienet roomalaiset numerot","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",Next:"Seuraava","No preview available":"Esikatseluversiota ei ole saatavilla",None:"Ei mitään","Numbered List":"Numeroitu lista","Numbered list styles toolbar":"Numerolistan työkalupalkki","Open in a new tab":"Avaa uudelle välilehdelle","Open link in new tab":"Avaa linkki uudessa välilehdessä",Orange:"Oranssi",Original:"Alkuperäinen",Outset:"Ulkonema",Padding:"Täyte",Paragraph:"Kappale","Paste raw HTML here...":"Liitä raaka-HTML tähän...","Pink marker":"Pinkki tussi","Plain text":"Pelkkä teksti","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","Red pen":"Punainen tussi",Redo:"Tee uudelleen","Remove color":"Poista väri","Remove Format":"Poista muotoilu","Remove highlight":"Poista korostus","Resize image":"Muokkaa kuvan kokoa","Resize image to %0":"Muokkaa kuvan kooksi %0","Resize image to the original size":"Vaihda kuvan koko alkuperäiseen kokoon","Restore default":"Palauta oletus","Reversed order":"Päinvastainen järjestys","Rich Text Editor":"Rikas tekstieditori",Ridge:"Harjanne","Right aligned image":"Oikealle tasattu kuva",Row:"Rivi",Save:"Tallenna","Save changes":"Tallenna muutokset","Saving changes":"Tallennetaan muutoksia","Select all":"Valitse kaikki","Select column":"Valitse sarake","Select row":"Valitse rivi","Show more items":"Näytä lisää toimintoja","Side image":"Pieni kuva",Small:"Pieni",Solid:"Kiinteä","Split cell horizontally":"Jaa solu vaakasuunnassa","Split cell vertically":"Jaa solu pystysuunnassa",Square:"Neliö","Start at":"Alkaa","Start index must be greater than 0.":"Aloitusindeksi ei saa olla suurempi kuin 0.",Strikethrough:"Yliviivaus",Style:"Tyyli",Subscript:"Alaindeksi",Superscript:"Yläindeksi","Table alignment toolbar":"Taulukon suunnan työkalupalkki","Table cell text alignment":"Taulukkosolun tekstin suunta","Table properties":"Taulukon ominaisuudet","Table toolbar":"Taulukon työkalupalkki","Text alignment":"Tekstin tasaus","Text alignment toolbar":"Tekstin suuntauksen työkalupalkki","Text alternative":"Vaihtoehtoinen teksti","Text highlight toolbar":"Tekstinkorostuksen 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".',"This link has no URL":"Linkillä ei ole URL-osoitetta",Tiny:"Hyvin pieni","To-do List":"Tehtävälista","Toggle caption off":"Ota tekstitykset pois päältä","Toggle caption on":"Ota tekstitys käyttöön","Toggle the circle list style":"Ympyrälistatyylin vaihdin","Toggle the decimal list style":"Desimaalilistatyylin vaihdin","Toggle the decimal with leading zero list style":"Nolla alussa -desimaalilistatyylin vaihdin","Toggle the disc list style":"Levylistatyylin vaihdin","Toggle the lower–latin list style":"Pienet latinalaiset aakkoset -listatyylin vaihdin","Toggle the lower–roman list style":"Pienet roomalaiset numerot -listatyylin vaihdin","Toggle the square list style":"Neliölistatyylin vaihdin","Toggle the upper–latin list style":"Isot latinalaiset aakkoset -listatyylin vaihdin","Toggle the upper–roman list style":"Isot roomalaiset numerot -listatyylin vaihdin",Turquoise:"Turkoosi","Type or paste your content here.":"Kirjoita tai liitä sisältösi tänne.","Type your title":"Kirjoita otsikkosi",Underline:"Alleviivaus",Undo:"Peru",Unlink:"Poista linkki",Update:"Päivitä","Update image URL":"Päivitä kuvan URL","Upload failed":"Lataus epäonnistui","Upload in progress":"Lähetys käynnissä","Upper-latin":"Isot latinalaiset aakkoset","Upper-roman":"Isot roomalaiset numerot","Vertical text alignment toolbar":"Pystysuoran tekstin suunnan työkalupalkki",White:"Valkoinen","Widget toolbar":"Widget-työkalupalkki",Width:"Leveys","Wrap text":"Sovita teksti",Yellow:"Keltainen","Yellow marker":"Keltainen tussi"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
+!function(e){const i=e.fi=e.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 / %1",Accept:"","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 center":"Tasaa keskelle","Align left":"Tasaa vasemmalle","Align right":"Tasaa oikealle","Align table to the left":"Siirrä taulukko vasemmalle","Align table to the right":"Siirrä taulukko oikealle",Alignment:"Suunta",Aquamarine:"Akvamariini",Background:"Tausta",Big:"Suuri",Black:"Musta","Block quote":"Lainaus",Blue:"Sininen","Blue marker":"Sininen tussi",Bold:"Lihavointi",Border:"Reunus","Break text":"Irrota teksti","Bulleted List":"Lista","Bulleted list styles toolbar":"Luetelmalistan työkalupalkki",Cancel:"Peruuta","Caption for image: %0":"Kuvan kuvateksti: %0","Caption for the image":"Kuvan kuvateksti","Cell properties":"Solun ominaisuudet","Center table":"Keskitä taulukko","Centered image":"Keskitetty kuva","Change image text alternative":"Vaihda kuvan vaihtoehtoinen teksti","Choose heading":"Valitse otsikko",Circle:"Ympyrä",Code:"Koodi",Color:"Väri","Color picker":"Värin valitsin",Column:"Sarake",Dashed:"Katkoviiva",Decimal:"Desimaali","Decimal with leading zero":"Nolla alussa -desimaali","Decrease indent":"Vähennä sisennystä",Default:"Oletus","Delete column":"Poista sarake","Delete row":"Poista rivi","Dim grey":"Vaaleanharmaa",Dimensions:"Mittasuhteet",Disc:"Levy","Document colors":"Asiakirjan värit",Dotted:"Pisteviiva",Double:"Kaksinkertainen",Downloadable:"Ladattava","Dropdown toolbar":"Pudotusvalikon työkalupalkki","Edit block":"Muokkaa lohkoa","Edit link":"Muokkaa linkkiä","Edit source":"Muokkaa lähdettä","Editor block content toolbar":"Editorin lohkon sisällön työkalupalkki","Editor contextual toolbar":"Editorin kontekstuaalinen työkalupalkki","Editor editing area: %0":"Editorin muokkausalue: %0","Editor toolbar":"Editorin työkalupalkki","Empty snippet content":"Tyhjä pätkäsisältö","Enter image caption":"Syötä kuvateksti","Enter table caption":"Ota taulukon tekstitys käyttöön","Font Background Color":"Fontin taustaväri","Font Color":"Fontin väri","Font Family":"Fonttiperhe","Font Size":"Fontin koko","Full size image":"Täysikokoinen kuva",Green:"Vihreä","Green marker":"Vihreä tussi","Green pen":"Vihreä kynä",Grey:"Harmaa",Groove:"Uurrettu","Header column":"Otsikkosarake","Header row":"Otsikkorivi",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",Height:"Korkeus",HEX:"",Highlight:"Korosta","Horizontal line":"Vaakasuora viiva","Horizontal text alignment toolbar":"Vaakasuoran tekstin suunnan työkalupalkki","HTML snippet":"HMTL-pätkä",Huge:"Hyvin suuri","Image resize list":"Kuvan koon muokkaamisen lista","Image toolbar":"Kuvan työkalupalkki","image widget":"Kuvavimpain","In line":"Rivin sisällä","Increase indent":"Lisää sisennystä",Insert:"Liitä","Insert code block":"Liitä koodilohko","Insert column left":"Lisää sarake vasemmalle","Insert column right":"Lisää sarake oikealle","Insert HTML":"Liitä HTML","Insert image":"Lisää kuva","Insert image via URL":"Liitä kuva URL-koodin kautta","Insert paragraph after block":"Liitä kappale lohkon jälkeen","Insert paragraph before block":"Liitä kappale ennen lohkoa","Insert row above":"Lisää rivi ylle","Insert row below":"Lisää rivi alle","Insert table":"Lisää taulukko",Inset:"Upote",Italic:"Kursivointi",Justify:"Tasaa molemmat reunat","Justify cell text":"Tasaa solun teksti","Left aligned image":"Vasemmalle tasattu kuva","Light blue":"Vaaleansininen","Light green":"Vaaleanvihreä","Light grey":"Vaaleanharmaa",Link:"Linkki","Link image":"Linkkikuva","Link URL":"Linkin osoite","List properties":"Listaominaisuudet","Lower-latin":"Pienet latinalaiset aakkoset","Lower–roman":"Pienet roomalaiset numerot","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",Next:"Seuraava","No preview available":"Esikatseluversiota ei ole saatavilla",None:"Ei mitään","Numbered List":"Numeroitu lista","Numbered list styles toolbar":"Numerolistan työkalupalkki","Open in a new tab":"Avaa uudelle välilehdelle","Open link in new tab":"Avaa linkki uudessa välilehdessä",Orange:"Oranssi",Original:"Alkuperäinen",Outset:"Ulkonema",Padding:"Täyte",Paragraph:"Kappale","Paste raw HTML here...":"Liitä raaka-HTML tähän...","Pink marker":"Pinkki tussi","Plain text":"Pelkkä teksti","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","Red pen":"Punainen tussi",Redo:"Tee uudelleen","Remove color":"Poista väri","Remove Format":"Poista muotoilu","Remove highlight":"Poista korostus","Resize image":"Muokkaa kuvan kokoa","Resize image to %0":"Muokkaa kuvan kooksi %0","Resize image to the original size":"Vaihda kuvan koko alkuperäiseen kokoon","Restore default":"Palauta oletus","Reversed order":"Päinvastainen järjestys","Rich Text Editor":"Rikas tekstieditori",Ridge:"Harjanne","Right aligned image":"Oikealle tasattu kuva",Row:"Rivi",Save:"Tallenna","Save changes":"Tallenna muutokset","Saving changes":"Tallennetaan muutoksia","Select all":"Valitse kaikki","Select column":"Valitse sarake","Select row":"Valitse rivi","Show more items":"Näytä lisää toimintoja","Side image":"Pieni kuva",Small:"Pieni",Solid:"Kiinteä","Split cell horizontally":"Jaa solu vaakasuunnassa","Split cell vertically":"Jaa solu pystysuunnassa",Square:"Neliö","Start at":"Alkaa","Start index must be greater than 0.":"Aloitusindeksi ei saa olla suurempi kuin 0.",Strikethrough:"Yliviivaus",Style:"Tyyli",Subscript:"Alaindeksi",Superscript:"Yläindeksi","Table alignment toolbar":"Taulukon suunnan työkalupalkki","Table cell text alignment":"Taulukkosolun tekstin suunta","Table properties":"Taulukon ominaisuudet","Table toolbar":"Taulukon työkalupalkki","Text alignment":"Tekstin tasaus","Text alignment toolbar":"Tekstin suuntauksen työkalupalkki","Text alternative":"Vaihtoehtoinen teksti","Text highlight toolbar":"Tekstinkorostuksen 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".',"This link has no URL":"Linkillä ei ole URL-osoitetta",Tiny:"Hyvin pieni","To-do List":"Tehtävälista","Toggle caption off":"Ota tekstitykset pois päältä","Toggle caption on":"Ota tekstitys käyttöön","Toggle the circle list style":"Ympyrälistatyylin vaihdin","Toggle the decimal list style":"Desimaalilistatyylin vaihdin","Toggle the decimal with leading zero list style":"Nolla alussa -desimaalilistatyylin vaihdin","Toggle the disc list style":"Levylistatyylin vaihdin","Toggle the lower–latin list style":"Pienet latinalaiset aakkoset -listatyylin vaihdin","Toggle the lower–roman list style":"Pienet roomalaiset numerot -listatyylin vaihdin","Toggle the square list style":"Neliölistatyylin vaihdin","Toggle the upper–latin list style":"Isot latinalaiset aakkoset -listatyylin vaihdin","Toggle the upper–roman list style":"Isot roomalaiset numerot -listatyylin vaihdin",Turquoise:"Turkoosi","Type or paste your content here.":"Kirjoita tai liitä sisältösi tänne.","Type your title":"Kirjoita otsikkosi",Underline:"Alleviivaus",Undo:"Peru",Unlink:"Poista linkki",Update:"Päivitä","Update image URL":"Päivitä kuvan URL","Upload failed":"Lataus epäonnistui","Upload in progress":"Lähetys käynnissä","Upper-latin":"Isot latinalaiset aakkoset","Upper-roman":"Isot roomalaiset numerot","Vertical text alignment toolbar":"Pystysuoran tekstin suunnan työkalupalkki",White:"Valkoinen","Widget toolbar":"Widget-työkalupalkki",Width:"Leveys","Wrap text":"Sovita teksti",Yellow:"Keltainen","Yellow marker":"Keltainen tussi"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 0c67c0f41b34613b7539bff728b3c472c9cfa559..bbd4556169c4b63aef0d76dada9ab93302db7d8f 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 sur %1","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 center":"Centrer","Align left":"Aligner à gauche","Align right":"Aligner à droite","Align table to the left":"Aligner le tableau à gauche","Align table to the right":"Aligner le tableau à droite",Alignment:"Alignement",Aquamarine:"Bleu vert",Background:"Fond",Big:"Grand",Black:"Noir","Block quote":"Citation",Blue:"Bleu","Blue marker":"Marqueur bleu",Bold:"Gras",Border:"Bordure","Break text":"Saut de ligne","Bulleted List":"Liste à puces","Bulleted list styles toolbar":"Barre d'outils des styles de liste à puce",Cancel:"Annuler","Caption for image: %0":"Légende de l'image : %0","Caption for the image":"Légende de l'image","Cell properties":"Propriétés de la cellule","Center table":"Centrer le tableau ","Centered image":"Image centrée","Change image text alternative":"Changer le texte alternatif à l’image","Choose heading":"Choisir l'en-tête",Circle:"Cercle",Code:"Code",Color:"Couleur","Color picker":"Pipette à couleurs",Column:"Colonne",Dashed:"Tirets",Decimal:"Chiffres","Decimal with leading zero":"Chiffres avec des zéros supplémentaire","Decrease indent":"Diminuer le retrait",Default:"Par défaut","Delete column":"Supprimer la colonne","Delete row":"Supprimer la ligne","Dim grey":"Gris pâle",Dimensions:"Dimensions",Disc:"Disque","Document colors":"Couleurs du document",Dotted:"Pointillés",Double:"Double",Downloadable:"Fichier téléchargeable","Dropdown toolbar":"Barre d'outils dans un menu déroulant","Edit block":"Modifier le bloc","Edit link":"Modifier le lien","Edit source":"Modifier la source","Editor block content toolbar":"Barre d'outils du contenu du bloc éditeur","Editor contextual toolbar":"Barre d'outils contextuelle de l'éditeur","Editor editing area: %0":"Zone d'édition de l'éditeur : %0","Editor toolbar":"Barre d'outils de l'éditeur","Empty snippet content":"Aucun contenu pour ce fragment de code","Enter image caption":"Saisir la légende de l’image","Enter table caption":"Saisir la légende du tableau","Font Background Color":"Couleur d'arrière-plan","Font Color":"Couleur de police","Font Family":"Police","Font Size":"Taille de police","Full size image":"Image taille réelle",Green:"Vert","Green marker":"Marqueur vert","Green pen":"Crayon vert",Grey:"Gris",Groove:"Rainuré","Header column":"Colonne d'entête","Header row":"Ligne d'entê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",Height:"Hauteur",Highlight:"Surlignage","Horizontal line":"Ligne horizontale","Horizontal text alignment toolbar":"Barre d'outils pour modifier l'alignement horizontal du texte","HTML snippet":"Code HTML",Huge:"Enorme","Image resize list":"Liste des tailles d'images","Image toolbar":"Barre d'outils des images","image widget":"Objet image","In line":"Aligné","Increase indent":"Augmenter le retrait",Insert:"Insérer","Insert code block":"Insérer un bloc de code","Insert column left":"Insérer une colonne à gauche","Insert column right":"Insérer une colonne à droite","Insert HTML":"Insérer du code HTML","Insert image":"Insérer une image","Insert image via URL":"Insérer une image à partir d'une URL","Insert paragraph after block":"Insérer du texte après ce bloc","Insert paragraph before block":"Insérer du texte avant ce bloc","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",Italic:"Italique",Justify:"Justifier","Justify cell text":"Justifier le contenu de la cellule","Left aligned image":"Image alignée à gauche","Light blue":"Bleu clair","Light green":"Vert clair","Light grey":"Gris clair",Link:"Lien","Link image":"Lien d'image","Link URL":"URL du lien","List properties":"Liste des propriétés","Lower-latin":"Lettres minuscules","Lower–roman":"Chiffres romains en minuscules","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",Next:"Suivant","No preview available":"Aucun aperçu disponible",None:"Aucun","Numbered List":"Liste numérotée","Numbered list styles toolbar":"Barre d'outils des styles de liste numérotée","Open in a new tab":"Ouvrir dans un nouvel onglet","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Orange:"Orange",Original:"Taille originale",Outset:"Relief extérieur",Padding:"Remplissage pour aérer le texte",Paragraph:"Paragraphe","Paste raw HTML here...":"Collez le code HTML brut ici...","Pink marker":"Marqueur rose","Plain text":"Texte brut","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","Red pen":"Crayon rouge",Redo:"Restaurer","Remove color":"Enlever la couleur","Remove Format":"Enlever le format","Remove highlight":"Enlever le surlignage","Resize image":"Redimensionner l'image","Resize image to %0":"Redimensionner à %0","Resize image to the original size":"Appliquer les dimensions d'origine","Restore default":"Restaurer par défaut","Reversed order":"Ordre inversé","Rich Text Editor":"Éditeur de texte enrichi",Ridge:"Relief","Right aligned image":"Image alignée à droite",Row:"Ligne",Save:"Enregistrer","Save changes":"Enregistrer les changements","Saving changes":"Enregistrement des modifications","Select all":"Sélectionner tout","Select column":"Sélectionner la colonne","Select row":"Sélectionner la ligne","Show more items":"Montrer plus d'éléments","Side image":"Image latérale",Small:"Petit",Solid:"Continu","Split cell horizontally":"Scinder la cellule horizontalement","Split cell vertically":"Scinder la cellule verticalement",Square:"Carré","Start at":"Commencer à","Start index must be greater than 0.":"L'indice de départ doit être supérieur à 0.",Strikethrough:"Barré",Style:"Style",Subscript:"Indice",Superscript:"Exposant","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","Text alignment":"Alignement du texte","Text alignment toolbar":"Barre d'outils d'alignement du texte","Text alternative":"Texte alternatif","Text highlight toolbar":"Barre d'outils du surlignage",'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".',"This link has no URL":"Ce lien n'a pas d'URL",Tiny:"Minuscule","To-do List":"Liste de tâches","Toggle caption off":"Désactiver la légende","Toggle caption on":"Activer la légende","Toggle the circle list style":'Activer / désactiver le style de liste "cercle"',"Toggle the decimal list style":'Activer / désactiver le style de liste "chiffres"',"Toggle the decimal with leading zero list style":'Activer / désactiver le style de liste "chiffres de mêmes longueurs"',"Toggle the disc list style":'Activer / désactiver le style de liste "disque"',"Toggle the lower–latin list style":'Activer / désactiver le style de liste "lettres minuscules"',"Toggle the lower–roman list style":'Activer / désactiver le style de liste "chiffres romains en minuscules"',"Toggle the square list style":'Activer / désactiver le style de liste "carré"',"Toggle the upper–latin list style":'Activer / désactiver le style de liste "lettres majuscules"',"Toggle the upper–roman list style":'Activer / désactiver le style de liste "chiffres romains en majuscules"',Turquoise:"Turquoise","Type or paste your content here.":"Noter ou coller votre contenu ici","Type your title":"Rentrer votre titre",Underline:"Souligné",Undo:"Annuler",Unlink:"Supprimer le lien",Update:"Modifier","Update image URL":"Modifier l'URL de l'image","Upload failed":"Échec de l'envoi","Upload in progress":"Téléchargement en cours","Upper-latin":"Lettres majuscules","Upper-roman":"Chiffres romains en majuscules","Vertical text alignment toolbar":"Barre d'outils pour modifier l'alignement vertical du texte",White:"Blanc","Widget toolbar":"Barre d'outils du widget",Width:"Largeur","Wrap text":"Retour à la ligne",Yellow:"Jaune","Yellow marker":"Marqueur 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||{},{"%0 of %1":"%0 sur %1",Accept:"","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 center":"Centrer","Align left":"Aligner à gauche","Align right":"Aligner à droite","Align table to the left":"Aligner le tableau à gauche","Align table to the right":"Aligner le tableau à droite",Alignment:"Alignement",Aquamarine:"Bleu vert",Background:"Fond",Big:"Grand",Black:"Noir","Block quote":"Citation",Blue:"Bleu","Blue marker":"Marqueur bleu",Bold:"Gras",Border:"Bordure","Break text":"Saut de ligne","Bulleted List":"Liste à puces","Bulleted list styles toolbar":"Barre d'outils des styles de liste à puce",Cancel:"Annuler","Caption for image: %0":"Légende de l'image : %0","Caption for the image":"Légende de l'image","Cell properties":"Propriétés de la cellule","Center table":"Centrer le tableau ","Centered image":"Image centrée","Change image text alternative":"Changer le texte alternatif à l’image","Choose heading":"Choisir l'en-tête",Circle:"Cercle",Code:"Code",Color:"Couleur","Color picker":"Pipette à couleurs",Column:"Colonne",Dashed:"Tirets",Decimal:"Chiffres","Decimal with leading zero":"Chiffres avec des zéros supplémentaire","Decrease indent":"Diminuer le retrait",Default:"Par défaut","Delete column":"Supprimer la colonne","Delete row":"Supprimer la ligne","Dim grey":"Gris pâle",Dimensions:"Dimensions",Disc:"Disque","Document colors":"Couleurs du document",Dotted:"Pointillés",Double:"Double",Downloadable:"Fichier téléchargeable","Dropdown toolbar":"Barre d'outils dans un menu déroulant","Edit block":"Modifier le bloc","Edit link":"Modifier le lien","Edit source":"Modifier la source","Editor block content toolbar":"Barre d'outils du contenu du bloc éditeur","Editor contextual toolbar":"Barre d'outils contextuelle de l'éditeur","Editor editing area: %0":"Zone d'édition de l'éditeur : %0","Editor toolbar":"Barre d'outils de l'éditeur","Empty snippet content":"Aucun contenu pour ce fragment de code","Enter image caption":"Saisir la légende de l’image","Enter table caption":"Saisir la légende du tableau","Font Background Color":"Couleur d'arrière-plan","Font Color":"Couleur de police","Font Family":"Police","Font Size":"Taille de police","Full size image":"Image taille réelle",Green:"Vert","Green marker":"Marqueur vert","Green pen":"Crayon vert",Grey:"Gris",Groove:"Rainuré","Header column":"Colonne d'entête","Header row":"Ligne d'entê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",Height:"Hauteur",HEX:"",Highlight:"Surlignage","Horizontal line":"Ligne horizontale","Horizontal text alignment toolbar":"Barre d'outils pour modifier l'alignement horizontal du texte","HTML snippet":"Code HTML",Huge:"Enorme","Image resize list":"Liste des tailles d'images","Image toolbar":"Barre d'outils des images","image widget":"Objet image","In line":"Aligné","Increase indent":"Augmenter le retrait",Insert:"Insérer","Insert code block":"Insérer un bloc de code","Insert column left":"Insérer une colonne à gauche","Insert column right":"Insérer une colonne à droite","Insert HTML":"Insérer du code HTML","Insert image":"Insérer une image","Insert image via URL":"Insérer une image à partir d'une URL","Insert paragraph after block":"Insérer du texte après ce bloc","Insert paragraph before block":"Insérer du texte avant ce bloc","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",Italic:"Italique",Justify:"Justifier","Justify cell text":"Justifier le contenu de la cellule","Left aligned image":"Image alignée à gauche","Light blue":"Bleu clair","Light green":"Vert clair","Light grey":"Gris clair",Link:"Lien","Link image":"Lien d'image","Link URL":"URL du lien","List properties":"Liste des propriétés","Lower-latin":"Lettres minuscules","Lower–roman":"Chiffres romains en minuscules","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",Next:"Suivant","No preview available":"Aucun aperçu disponible",None:"Aucun","Numbered List":"Liste numérotée","Numbered list styles toolbar":"Barre d'outils des styles de liste numérotée","Open in a new tab":"Ouvrir dans un nouvel onglet","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Orange:"Orange",Original:"Taille originale",Outset:"Relief extérieur",Padding:"Remplissage pour aérer le texte",Paragraph:"Paragraphe","Paste raw HTML here...":"Collez le code HTML brut ici...","Pink marker":"Marqueur rose","Plain text":"Texte brut","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","Red pen":"Crayon rouge",Redo:"Restaurer","Remove color":"Enlever la couleur","Remove Format":"Enlever le format","Remove highlight":"Enlever le surlignage","Resize image":"Redimensionner l'image","Resize image to %0":"Redimensionner à %0","Resize image to the original size":"Appliquer les dimensions d'origine","Restore default":"Restaurer par défaut","Reversed order":"Ordre inversé","Rich Text Editor":"Éditeur de texte enrichi",Ridge:"Relief","Right aligned image":"Image alignée à droite",Row:"Ligne",Save:"Enregistrer","Save changes":"Enregistrer les changements","Saving changes":"Enregistrement des modifications","Select all":"Sélectionner tout","Select column":"Sélectionner la colonne","Select row":"Sélectionner la ligne","Show more items":"Montrer plus d'éléments","Side image":"Image latérale",Small:"Petit",Solid:"Continu","Split cell horizontally":"Scinder la cellule horizontalement","Split cell vertically":"Scinder la cellule verticalement",Square:"Carré","Start at":"Commencer à","Start index must be greater than 0.":"L'indice de départ doit être supérieur à 0.",Strikethrough:"Barré",Style:"Style",Subscript:"Indice",Superscript:"Exposant","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","Text alignment":"Alignement du texte","Text alignment toolbar":"Barre d'outils d'alignement du texte","Text alternative":"Texte alternatif","Text highlight toolbar":"Barre d'outils du surlignage",'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".',"This link has no URL":"Ce lien n'a pas d'URL",Tiny:"Minuscule","To-do List":"Liste de tâches","Toggle caption off":"Désactiver la légende","Toggle caption on":"Activer la légende","Toggle the circle list style":'Activer / désactiver le style de liste "cercle"',"Toggle the decimal list style":'Activer / désactiver le style de liste "chiffres"',"Toggle the decimal with leading zero list style":'Activer / désactiver le style de liste "chiffres de mêmes longueurs"',"Toggle the disc list style":'Activer / désactiver le style de liste "disque"',"Toggle the lower–latin list style":'Activer / désactiver le style de liste "lettres minuscules"',"Toggle the lower–roman list style":'Activer / désactiver le style de liste "chiffres romains en minuscules"',"Toggle the square list style":'Activer / désactiver le style de liste "carré"',"Toggle the upper–latin list style":'Activer / désactiver le style de liste "lettres majuscules"',"Toggle the upper–roman list style":'Activer / désactiver le style de liste "chiffres romains en majuscules"',Turquoise:"Turquoise","Type or paste your content here.":"Noter ou coller votre contenu ici","Type your title":"Rentrer votre titre",Underline:"Souligné",Undo:"Annuler",Unlink:"Supprimer le lien",Update:"Modifier","Update image URL":"Modifier l'URL de l'image","Upload failed":"Échec de l'envoi","Upload in progress":"Téléchargement en cours","Upper-latin":"Lettres majuscules","Upper-roman":"Chiffres romains en majuscules","Vertical text alignment toolbar":"Barre d'outils pour modifier l'alignement vertical du texte",White:"Blanc","Widget toolbar":"Barre d'outils du widget",Width:"Largeur","Wrap text":"Retour à la ligne",Yellow:"Jaune","Yellow marker":"Marqueur 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
index d5002805860e973ecc2029b793b17fa7f59bbd38..6ed1ef1f10b3b4fd1e127b3645404f540272bd8e 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.gl=e.gl||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1","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 center":"Centrar horizontalmente","Align left":"Aliñar á esquerda","Align right":"Aliñar á dereita","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",Aquamarine:"Augamariña",Background:"Fondo",Big:"Grande",Black:"Negro","Block quote":"Cita de bloque",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negra",Border:"Bordo","Break text":"Romper o texto","Bulleted List":"Lista con viñetas","Bulleted list styles toolbar":"Barra de ferramentas de estilos de lista con viñetas",Cancel:"Cancelar","Caption for image: %0":"Lenda da imaxe: %0","Caption for the image":"Lenda da imaxe","Cell properties":"Propiedades da cela","Center table":"Centrar a táboa","Centered image":"Imaxe centrada horizontalmente","Change image text alternative":"Cambiar o texto alternativo da imaxe","Choose heading":"Escolla o título",Circle:"Círculos",Code:"Código",Color:"Cor","Color picker":"Selector de cores",Column:"Columna",Dashed:"Raiado",Decimal:"Decimais","Decimal with leading zero":"Decimais con cero á esquerda","Decrease indent":"Reducir sangrado",Default:"Predeterminada","Delete column":"Eliminar columna","Delete row":"Eliminar fila","Dim grey":"Gris fume",Dimensions:"Dimensións",Disc:"Discos","Document colors":"Cores do documento",Dotted:"Punteado",Double:"Dobre",Downloadable:"Descargábel","Dropdown toolbar":"Barra de ferramentas despregábel","Edit block":"Editar bloque","Edit link":"Editar a ligazón","Edit source":"Editar fonte","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"Área de edición do editor: %0","Editor toolbar":"Barra de ferramentas do editor","Empty snippet content":"Contido de fragmento de código baleiro","Enter image caption":"Introduza o título da imaxe","Enter table caption":"Introduza o título da táboa","Font Background Color":"Cor do fondo da letra","Font Color":"Cor da letra","Font Family":"Familia tipográfica","Font Size":"Tamaño da letra","Full size image":"Imaxe a tamaño completo",Green:"Verde","Green marker":"Marcador verde","Green pen":"Pluma verde",Grey:"Gris",Groove:"Rañura","Header column":"Cabeceira de columna","Header row":"Cabeceira de fila",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",Height:"Alto",Highlight:"Resaltado","Horizontal line":"Liña horizontal","Horizontal text alignment toolbar":"Barra de ferramentas de aliñamento de texto horizontal","HTML snippet":"Fragmento HTML",Huge:"Enorme","Image resize list":"Lista de tamaños de imaxe","Image toolbar":"Barra de ferramentas de imaxe","image widget":"Trebello de imaxe","In line":"En liña","Increase indent":"Aumentar sangrado",Insert:"Inserir","Insert code block":"Inserir bloque de código","Insert column left":"Inserir columna á esquerda","Insert column right":"Inserir columna á dereita","Insert HTML":"Inserir HTML","Insert image":"Inserir imaxe","Insert image via URL":"Inserir imaxe a través de URL","Insert paragraph after block":"Inserir parágrafo após o bloque","Insert paragraph before block":"Inserir parágrafo antes do bloque","Insert row above":"Inserir fila enriba","Insert row below":"Inserir fila embaixo","Insert table":"Inserir táboa",Inset:"Inserción",Italic:"Itálica",Justify:"Xustificado","Justify cell text":"Xustificar o texto da cela","Left aligned image":"Imaxe aliñada á esquerda","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Gris claro",Link:"Ligar","Link image":"Ligazón da imaxe","Link URL":"URL de ligazón","List properties":"Lista de propiedades","Lower-latin":"Letras minúsculas","Lower–roman":"Núm, romanos en minúscula","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",Next:"Seguinte","No preview available":"Non hai vista previa dispoñíbel",None:"Ningún","Numbered List":"Lista numerada","Numbered list styles toolbar":"Barra de ferramentas de estilos de lista numerada","Open in a new tab":"Abrir nunha nova lapela","Open link in new tab":"Abrir a ligazón nunha nova lapela",Orange:"Laranxa",Original:"Orixinal",Outset:"Inicio",Padding:"Recheo",Paragraph:"Parágrafo","Paste raw HTML here...":"Pegar HTML en bruto aquí…","Pink marker":"Marcador rosa","Plain text":"Texto simple","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Anterior",Purple:"Púrpura",Red:"Vermello","Red pen":"Pluma vermella",Redo:"Refacer","Remove color":"Retirar a cor","Remove Format":"Retirar o formato","Remove highlight":"Retirar o resaltado","Resize image":"Redimensionar a imaxe","Resize image to %0":"Redimensionar a imaxe ao %0","Resize image to the original size":"Aplicar o tamaño orixinal da imaxe","Restore default":"Restaurar valores predeterminados","Reversed order":"Orde inversa","Rich Text Editor":"Editor de texto mellorado",Ridge:"Crista","Right aligned image":"Imaxe aliñada á dereita",Row:"Fila",Save:"Gardar","Save changes":"Gardar cambios","Saving changes":"Gardando os cambios","Select all":"Seleccionar todo","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Show more items":"Amosar máis elementos","Side image":"Lado da imaxe",Small:"Pequena",Solid:"Sólido","Split cell horizontally":"Dividir cela en horizontal","Split cell vertically":"Dividir cela en vertical",Square:"Cadrados","Start at":"Comezar en","Start index must be greater than 0.":"O índice de inicio debe ser maior que 0.",Strikethrough:"Riscado",Style:"Estilo",Subscript:"Subíndice",Superscript:"Superíndice","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","Text alignment":"Aliñamento do texto","Text alignment toolbar":"Barra de ferramentas de aliñamento de textos","Text alternative":"Texto alternativo","Text highlight toolbar":"Barra de ferramentas para resaltar texto",'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».","This link has no URL":"Esta ligazón non ten URL",Tiny:"Diminuta","To-do List":"Lista de cousas por facer","Toggle caption off":"Desactivar os subtítulos","Toggle caption on":"Activar os subtítulos","Toggle the circle list style":"Alternar o estilo da lista «círculos»","Toggle the decimal list style":"Alternar o estilo da lista «decimais»","Toggle the decimal with leading zero list style":"Activar/desactivar o estilo «decimais con cero á esquerda»","Toggle the disc list style":"Alternar o estilo da lista «discos»","Toggle the lower–latin list style":"Activar/desactivar o estilo da lista «letras minúsculas»","Toggle the lower–roman list style":"Activar/desactivar o estilo da lista «núm. romanos en minúscula»","Toggle the square list style":"Alternar o estilo da lista «cadrados»","Toggle the upper–latin list style":"Activar/desactivar o estilo da lista «letras maiúsculas»","Toggle the upper–roman list style":"Activar/desactivar o estilo da lista «núm. romanos en maiúscula»",Turquoise:"Turquesa","Type or paste your content here.":"Escriba ou pegue o seu contido aquí.","Type your title":"Escriba o seu título",Underline:"Subliñado",Undo:"Desfacer",Unlink:"Desligar",Update:"Actualizar","Update image URL":"Actualizar o URL da imaxe","Upload failed":"Fallou o envío","Upload in progress":"Envío en proceso","Upper-latin":"Letras maiúsculas","Upper-roman":"Núm, romanos en maiúscula","Vertical text alignment toolbar":"Barra de ferramentas de aliñamento de texto vertical",White:"Branco","Widget toolbar":"Barra de ferramentas de trebellos",Width:"Largo","Wrap text":"Envolver o texto",Yellow:"Amarelo","Yellow marker":"Marcador marelo"}),a.getPluralForm=function(e){return 1!=e}}(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||{},{"%0 of %1":"%0 de %1",Accept:"","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 center":"Centrar horizontalmente","Align left":"Aliñar á esquerda","Align right":"Aliñar á dereita","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",Aquamarine:"Augamariña",Background:"Fondo",Big:"Grande",Black:"Negro","Block quote":"Cita de bloque",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negra",Border:"Bordo","Break text":"Romper o texto","Bulleted List":"Lista con viñetas","Bulleted list styles toolbar":"Barra de ferramentas de estilos de lista con viñetas",Cancel:"Cancelar","Caption for image: %0":"Lenda da imaxe: %0","Caption for the image":"Lenda da imaxe","Cell properties":"Propiedades da cela","Center table":"Centrar a táboa","Centered image":"Imaxe centrada horizontalmente","Change image text alternative":"Cambiar o texto alternativo da imaxe","Choose heading":"Escolla o título",Circle:"Círculos",Code:"Código",Color:"Cor","Color picker":"Selector de cores",Column:"Columna",Dashed:"Raiado",Decimal:"Decimais","Decimal with leading zero":"Decimais con cero á esquerda","Decrease indent":"Reducir sangrado",Default:"Predeterminada","Delete column":"Eliminar columna","Delete row":"Eliminar fila","Dim grey":"Gris fume",Dimensions:"Dimensións",Disc:"Discos","Document colors":"Cores do documento",Dotted:"Punteado",Double:"Dobre",Downloadable:"Descargábel","Dropdown toolbar":"Barra de ferramentas despregábel","Edit block":"Editar bloque","Edit link":"Editar a ligazón","Edit source":"Editar fonte","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"Área de edición do editor: %0","Editor toolbar":"Barra de ferramentas do editor","Empty snippet content":"Contido de fragmento de código baleiro","Enter image caption":"Introduza o título da imaxe","Enter table caption":"Introduza o título da táboa","Font Background Color":"Cor do fondo da letra","Font Color":"Cor da letra","Font Family":"Familia tipográfica","Font Size":"Tamaño da letra","Full size image":"Imaxe a tamaño completo",Green:"Verde","Green marker":"Marcador verde","Green pen":"Pluma verde",Grey:"Gris",Groove:"Rañura","Header column":"Cabeceira de columna","Header row":"Cabeceira de fila",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",Height:"Alto",HEX:"",Highlight:"Resaltado","Horizontal line":"Liña horizontal","Horizontal text alignment toolbar":"Barra de ferramentas de aliñamento de texto horizontal","HTML snippet":"Fragmento HTML",Huge:"Enorme","Image resize list":"Lista de tamaños de imaxe","Image toolbar":"Barra de ferramentas de imaxe","image widget":"Trebello de imaxe","In line":"En liña","Increase indent":"Aumentar sangrado",Insert:"Inserir","Insert code block":"Inserir bloque de código","Insert column left":"Inserir columna á esquerda","Insert column right":"Inserir columna á dereita","Insert HTML":"Inserir HTML","Insert image":"Inserir imaxe","Insert image via URL":"Inserir imaxe a través de URL","Insert paragraph after block":"Inserir parágrafo após o bloque","Insert paragraph before block":"Inserir parágrafo antes do bloque","Insert row above":"Inserir fila enriba","Insert row below":"Inserir fila embaixo","Insert table":"Inserir táboa",Inset:"Inserción",Italic:"Itálica",Justify:"Xustificado","Justify cell text":"Xustificar o texto da cela","Left aligned image":"Imaxe aliñada á esquerda","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Gris claro",Link:"Ligar","Link image":"Ligazón da imaxe","Link URL":"URL de ligazón","List properties":"Lista de propiedades","Lower-latin":"Letras minúsculas","Lower–roman":"Núm, romanos en minúscula","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",Next:"Seguinte","No preview available":"Non hai vista previa dispoñíbel",None:"Ningún","Numbered List":"Lista numerada","Numbered list styles toolbar":"Barra de ferramentas de estilos de lista numerada","Open in a new tab":"Abrir nunha nova lapela","Open link in new tab":"Abrir a ligazón nunha nova lapela",Orange:"Laranxa",Original:"Orixinal",Outset:"Inicio",Padding:"Recheo",Paragraph:"Parágrafo","Paste raw HTML here...":"Pegar HTML en bruto aquí…","Pink marker":"Marcador rosa","Plain text":"Texto simple","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Anterior",Purple:"Púrpura",Red:"Vermello","Red pen":"Pluma vermella",Redo:"Refacer","Remove color":"Retirar a cor","Remove Format":"Retirar o formato","Remove highlight":"Retirar o resaltado","Resize image":"Redimensionar a imaxe","Resize image to %0":"Redimensionar a imaxe ao %0","Resize image to the original size":"Aplicar o tamaño orixinal da imaxe","Restore default":"Restaurar valores predeterminados","Reversed order":"Orde inversa","Rich Text Editor":"Editor de texto mellorado",Ridge:"Crista","Right aligned image":"Imaxe aliñada á dereita",Row:"Fila",Save:"Gardar","Save changes":"Gardar cambios","Saving changes":"Gardando os cambios","Select all":"Seleccionar todo","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Show more items":"Amosar máis elementos","Side image":"Lado da imaxe",Small:"Pequena",Solid:"Sólido","Split cell horizontally":"Dividir cela en horizontal","Split cell vertically":"Dividir cela en vertical",Square:"Cadrados","Start at":"Comezar en","Start index must be greater than 0.":"O índice de inicio debe ser maior que 0.",Strikethrough:"Riscado",Style:"Estilo",Subscript:"Subíndice",Superscript:"Superíndice","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","Text alignment":"Aliñamento do texto","Text alignment toolbar":"Barra de ferramentas de aliñamento de textos","Text alternative":"Texto alternativo","Text highlight toolbar":"Barra de ferramentas para resaltar texto",'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».","This link has no URL":"Esta ligazón non ten URL",Tiny:"Diminuta","To-do List":"Lista de cousas por facer","Toggle caption off":"Desactivar os subtítulos","Toggle caption on":"Activar os subtítulos","Toggle the circle list style":"Alternar o estilo da lista «círculos»","Toggle the decimal list style":"Alternar o estilo da lista «decimais»","Toggle the decimal with leading zero list style":"Activar/desactivar o estilo «decimais con cero á esquerda»","Toggle the disc list style":"Alternar o estilo da lista «discos»","Toggle the lower–latin list style":"Activar/desactivar o estilo da lista «letras minúsculas»","Toggle the lower–roman list style":"Activar/desactivar o estilo da lista «núm. romanos en minúscula»","Toggle the square list style":"Alternar o estilo da lista «cadrados»","Toggle the upper–latin list style":"Activar/desactivar o estilo da lista «letras maiúsculas»","Toggle the upper–roman list style":"Activar/desactivar o estilo da lista «núm. romanos en maiúscula»",Turquoise:"Turquesa","Type or paste your content here.":"Escriba ou pegue o seu contido aquí.","Type your title":"Escriba o seu título",Underline:"Subliñado",Undo:"Desfacer",Unlink:"Desligar",Update:"Actualizar","Update image URL":"Actualizar o URL da imaxe","Upload failed":"Fallou o envío","Upload in progress":"Envío en proceso","Upper-latin":"Letras maiúsculas","Upper-roman":"Núm, romanos en maiúscula","Vertical text alignment toolbar":"Barra de ferramentas de aliñamento de texto vertical",White:"Branco","Widget toolbar":"Barra de ferramentas de trebellos",Width:"Largo","Wrap text":"Envolver o texto",Yellow:"Amarelo","Yellow marker":"Marcador marelo"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 95ef7db9545ece297fc55257669b74948c50d38f..1a60594417652e695a5d5013c9c4eb9c34ceff6a 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.he=e.he||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 מתוך %1","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 center":"יישור באמצע","Align left":"יישור לשמאל","Align right":"יישור לימין","Align table to the left":"יישור טבלה לשמאל","Align table to the right":"יישור טבלה לימין",Alignment:"יישור",Aquamarine:"ירוק-כחלחל",Background:"רקע",Big:"גדול",Black:"שחור","Block quote":"בלוק ציטוט",Blue:"כחול","Blue marker":"סימון כחול",Bold:"מודגש",Border:"גבול","Break text":"שבירת טקסט","Bulleted List":"רשימה מנוקדת","Bulleted list styles toolbar":"סרגל כלים של סגנונות רשימה עם תבליטים",Cancel:"ביטול","Caption for image: %0":"כותרת עבור תמונה: %0","Caption for the image":"כותרת עבור התמונה","Cell properties":"אפשרויות תא","Center table":"מירכוז טבלה","Centered image":"תמונה ממרוכזת","Change image text alternative":"שינוי טקסט אלטרנטיבי לתמונה","Choose heading":"בחר סוג כותרת",Circle:"עיגול",Code:"קוד",Color:"צבע","Color picker":"בורר הצבעים",Column:"עמודה",Dashed:"מקווקו",Decimal:"עשרונית","Decimal with leading zero":"עשרונית עם אפס מוביל","Decrease indent":"הקטנת הזחה",Default:"ברירת מחדל","Delete column":"מחיקת עמודה","Delete row":"מחיקת שורה","Dim grey":"אפור עמום",Dimensions:"ממדים",Disc:"עיגול מלא","Document colors":"צבעי המסמך",Dotted:"מנוקד",Double:"כפול",Downloadable:"ניתן להורדה","Dropdown toolbar":"סרגל כלים נפתח","Edit block":"הגדרות בלוק","Edit link":"עריכת קישור","Edit source":"ערוך מקור","Editor block content toolbar":"סרגל כלים של תוכן בלוק של העורך","Editor contextual toolbar":"סרגל כלים הקשרי של העורך","Editor editing area: %0":"אזור עריכה של העורך: %0","Editor toolbar":"סרגל הכלים","Empty snippet content":"תוכן קטע ריק","Enter image caption":"הזן כותרת תמונה","Enter table caption":"הזינו כיתוב טבלה","Font Background Color":"צבע הרקע של הגופן","Font Color":"צבע גופן","Font Family":"משפחת גופנים","Font Size":"גודל טקסט","Full size image":"תמונה בפריסה מלאה",Green:"ירוק","Green marker":"סימון ירוק","Green pen":"עט ירוק",Grey:"אפור",Groove:"Groove","Header column":"עמודת כותרת","Header row":"שורת כותרת",Heading:"כותרת","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4","Heading 5":"כותרת 5","Heading 6":"כותרת 6",Height:"גובה",Highlight:"הדגשה","Horizontal line":"קו אופקי","Horizontal text alignment toolbar":"סרגל כלים של יישור טקסט אופקי","HTML snippet":"קטע HTML",Huge:"ענק","Image resize list":"רשימת שינוי גודל תמונה","Image toolbar":"סרגל תמונה","image widget":"תמונה","In line":"בתוך השורה","Increase indent":"הגדלת הזחה",Insert:"הכנס","Insert code block":"הוספת קטע קוד","Insert column left":"הכנסת עמודה משמאל","Insert column right":"הכנסת עמודה מימן","Insert HTML":"הכנס HTML","Insert image":"הוספת תמונה","Insert image via URL":"הכנסת תמונה באמצעות קישור","Insert paragraph after block":"הוספת פסקה מתחת","Insert paragraph before block":"הוספת פסקה מעל","Insert row above":"הכנסת שורה מעל","Insert row below":"הכנה שורה מתחת","Insert table":"הכנס טבלה",Inset:"פנימי",Italic:"נטוי",Justify:"מרכוז גבולות","Justify cell text":"יישר את טקסט התא לשני הצדדים","Left aligned image":"תמונה מיושרת לשמאל","Light blue":"כחול בהיר","Light green":"ירוק בהיר","Light grey":"אפור בהיר",Link:"קישור","Link image":"קישור תמונה","Link URL":"קישור כתובת אתר","List properties":"אפשרויות רשימה","Lower-latin":"אותיות לטיניות קטנות","Lower–roman":"אותיות רומיות קטנות","Merge cell down":"מיזוג תא למטה","Merge cell left":"מיזוג תא שמאלה","Merge cell right":"מיזוג תא ימינה","Merge cell up":"מיזוג תא למעלה","Merge cells":"מיזוג תאים",Next:"הבא","No preview available":"אין תצוגה מקדימה זמינה",None:"ללא","Numbered List":"רשימה ממוספרת","Numbered list styles toolbar":"סרגל כלים של סגנונות רשימה ממוספרת","Open in a new tab":"פתח בכרטיסייה חדשה","Open link in new tab":"פתח קישור בכרטיסייה חדשה",Orange:"כתום",Original:"גודל מקורי",Outset:"חיצוני",Padding:"מרווח",Paragraph:"פיסקה","Paste raw HTML here...":"הדביקו כאן HTML גולמי...","Pink marker":"סימון וורוד","Plain text":"טקסט פשוט","Press Enter to type after or press Shift + Enter to type before the widget":"לחץ Enter כדי להקליד לפני היישומון או Shift + Enter כדי להקליד אחריו",Previous:"הקודם",Purple:"סגול",Red:"אדום","Red pen":"עט אדום",Redo:"ביצוע מחדש","Remove color":"מחיקת צבע","Remove Format":"הסרת עיצוב","Remove highlight":"הסר הדגשה","Resize image":"שנה גודל תמונה","Resize image to %0":"שנה את גודל התמונה ל-%0","Resize image to the original size":"שנה את גודל התמונה לגודל המקורי","Restore default":"שחזור ברירת מחדל","Reversed order":"סדר הפוך","Rich Text Editor":"עורך טקסט עשיר",Ridge:"Ridge","Right aligned image":"תמונה מיושרת לימין",Row:"שורה",Save:"שמירה","Save changes":"שמור שינויים","Saving changes":"שומר שינויים","Select all":"בחר הכל","Select column":"בחירת עמודה","Select row":"בחירת שורה","Show more items":"הצג פריטים נוספים","Side image":"תמונת צד",Small:"קטן",Solid:"אחיד","Split cell horizontally":"פיצול תא אופקית","Split cell vertically":"פיצול תא אנכית",Square:"ריבוע","Start at":"התחל ב-","Start index must be greater than 0.":"אינדקס ההתחלה חייב להיות גדול מ-0.",Strikethrough:"קו חוצה",Style:"עיצוב",Subscript:"כתב תחתי",Superscript:"כתב עילי","Table alignment toolbar":"סרגל כלים של יישור טבלה","Table cell text alignment":"יישור טקסט של תא טבלה","Table properties":"אפשרויות טבלה","Table toolbar":"סרגל כלים של טבלה","Text alignment":"יישור טקסט","Text alignment toolbar":"סרגל כלים יישור טקסט","Text alternative":"טקסט אלטרנטיבי","Text highlight 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".',"This link has no URL":"לקישור זה אין כתובת אתר",Tiny:"זעיר","To-do List":"רשימת מטלות","Toggle caption off":"כבה את הכיתוב","Toggle caption on":"הפעל את הכיתוב","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":"החלף מצב סגנון רשימה עם ספרות רומיות גדולות",Turquoise:"טורקיז","Type or paste your content here.":"הזן או הדבק את התוכן כאן","Type your title":"הזן כותרת",Underline:"קו תחתון",Undo:"ביטול",Unlink:"ביטול קישור",Update:"עדכן","Update image URL":"עדכן את כתובת ה-URL של התמונה","Upload failed":"העלאה נכשלה","Upload in progress":"העלאה מתבצעת","Upper-latin":"אותיות לטיניות גדולות","Upper-roman":"אותיות רומיות גדולות","Vertical text alignment toolbar":"סרגל כלים של יישור טקסט אנכי",White:"לבן","Widget toolbar":"סרגל יישומון",Width:"רוחב","Wrap text":"גלישת טקסט",Yellow:"צהוב","Yellow marker":"סימון צהוב"}),t.getPluralForm=function(e){return 1==e&&e%1==0?0:2==e&&e%1==0?1:e%10==0&&e%1==0&&e>10?2:3}}(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||{},{"%0 of %1":"%0 מתוך %1",Accept:"","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 center":"יישור באמצע","Align left":"יישור לשמאל","Align right":"יישור לימין","Align table to the left":"יישור טבלה לשמאל","Align table to the right":"יישור טבלה לימין",Alignment:"יישור",Aquamarine:"ירוק-כחלחל",Background:"רקע",Big:"גדול",Black:"שחור","Block quote":"בלוק ציטוט",Blue:"כחול","Blue marker":"סימון כחול",Bold:"מודגש",Border:"גבול","Break text":"שבירת טקסט","Bulleted List":"רשימה מנוקדת","Bulleted list styles toolbar":"סרגל כלים של סגנונות רשימה עם תבליטים",Cancel:"ביטול","Caption for image: %0":"כותרת עבור תמונה: %0","Caption for the image":"כותרת עבור התמונה","Cell properties":"אפשרויות תא","Center table":"מירכוז טבלה","Centered image":"תמונה ממרוכזת","Change image text alternative":"שינוי טקסט אלטרנטיבי לתמונה","Choose heading":"בחר סוג כותרת",Circle:"עיגול",Code:"קוד",Color:"צבע","Color picker":"בורר הצבעים",Column:"עמודה",Dashed:"מקווקו",Decimal:"עשרונית","Decimal with leading zero":"עשרונית עם אפס מוביל","Decrease indent":"הקטנת הזחה",Default:"ברירת מחדל","Delete column":"מחיקת עמודה","Delete row":"מחיקת שורה","Dim grey":"אפור עמום",Dimensions:"ממדים",Disc:"עיגול מלא","Document colors":"צבעי המסמך",Dotted:"מנוקד",Double:"כפול",Downloadable:"ניתן להורדה","Dropdown toolbar":"סרגל כלים נפתח","Edit block":"הגדרות בלוק","Edit link":"עריכת קישור","Edit source":"ערוך מקור","Editor block content toolbar":"סרגל כלים של תוכן בלוק של העורך","Editor contextual toolbar":"סרגל כלים הקשרי של העורך","Editor editing area: %0":"אזור עריכה של העורך: %0","Editor toolbar":"סרגל הכלים","Empty snippet content":"תוכן קטע ריק","Enter image caption":"הזן כותרת תמונה","Enter table caption":"הזינו כיתוב טבלה","Font Background Color":"צבע הרקע של הגופן","Font Color":"צבע גופן","Font Family":"משפחת גופנים","Font Size":"גודל טקסט","Full size image":"תמונה בפריסה מלאה",Green:"ירוק","Green marker":"סימון ירוק","Green pen":"עט ירוק",Grey:"אפור",Groove:"Groove","Header column":"עמודת כותרת","Header row":"שורת כותרת",Heading:"כותרת","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4","Heading 5":"כותרת 5","Heading 6":"כותרת 6",Height:"גובה",HEX:"",Highlight:"הדגשה","Horizontal line":"קו אופקי","Horizontal text alignment toolbar":"סרגל כלים של יישור טקסט אופקי","HTML snippet":"קטע HTML",Huge:"ענק","Image resize list":"רשימת שינוי גודל תמונה","Image toolbar":"סרגל תמונה","image widget":"תמונה","In line":"בתוך השורה","Increase indent":"הגדלת הזחה",Insert:"הכנס","Insert code block":"הוספת קטע קוד","Insert column left":"הכנסת עמודה משמאל","Insert column right":"הכנסת עמודה מימן","Insert HTML":"הכנס HTML","Insert image":"הוספת תמונה","Insert image via URL":"הכנסת תמונה באמצעות קישור","Insert paragraph after block":"הוספת פסקה מתחת","Insert paragraph before block":"הוספת פסקה מעל","Insert row above":"הכנסת שורה מעל","Insert row below":"הכנה שורה מתחת","Insert table":"הכנס טבלה",Inset:"פנימי",Italic:"נטוי",Justify:"מרכוז גבולות","Justify cell text":"יישר את טקסט התא לשני הצדדים","Left aligned image":"תמונה מיושרת לשמאל","Light blue":"כחול בהיר","Light green":"ירוק בהיר","Light grey":"אפור בהיר",Link:"קישור","Link image":"קישור תמונה","Link URL":"קישור כתובת אתר","List properties":"אפשרויות רשימה","Lower-latin":"אותיות לטיניות קטנות","Lower–roman":"אותיות רומיות קטנות","Merge cell down":"מיזוג תא למטה","Merge cell left":"מיזוג תא שמאלה","Merge cell right":"מיזוג תא ימינה","Merge cell up":"מיזוג תא למעלה","Merge cells":"מיזוג תאים",Next:"הבא","No preview available":"אין תצוגה מקדימה זמינה",None:"ללא","Numbered List":"רשימה ממוספרת","Numbered list styles toolbar":"סרגל כלים של סגנונות רשימה ממוספרת","Open in a new tab":"פתח בכרטיסייה חדשה","Open link in new tab":"פתח קישור בכרטיסייה חדשה",Orange:"כתום",Original:"גודל מקורי",Outset:"חיצוני",Padding:"מרווח",Paragraph:"פיסקה","Paste raw HTML here...":"הדביקו כאן HTML גולמי...","Pink marker":"סימון וורוד","Plain text":"טקסט פשוט","Press Enter to type after or press Shift + Enter to type before the widget":"לחץ Enter כדי להקליד לפני היישומון או Shift + Enter כדי להקליד אחריו",Previous:"הקודם",Purple:"סגול",Red:"אדום","Red pen":"עט אדום",Redo:"ביצוע מחדש","Remove color":"מחיקת צבע","Remove Format":"הסרת עיצוב","Remove highlight":"הסר הדגשה","Resize image":"שנה גודל תמונה","Resize image to %0":"שנה את גודל התמונה ל-%0","Resize image to the original size":"שנה את גודל התמונה לגודל המקורי","Restore default":"שחזור ברירת מחדל","Reversed order":"סדר הפוך","Rich Text Editor":"עורך טקסט עשיר",Ridge:"Ridge","Right aligned image":"תמונה מיושרת לימין",Row:"שורה",Save:"שמירה","Save changes":"שמור שינויים","Saving changes":"שומר שינויים","Select all":"בחר הכל","Select column":"בחירת עמודה","Select row":"בחירת שורה","Show more items":"הצג פריטים נוספים","Side image":"תמונת צד",Small:"קטן",Solid:"אחיד","Split cell horizontally":"פיצול תא אופקית","Split cell vertically":"פיצול תא אנכית",Square:"ריבוע","Start at":"התחל ב-","Start index must be greater than 0.":"אינדקס ההתחלה חייב להיות גדול מ-0.",Strikethrough:"קו חוצה",Style:"עיצוב",Subscript:"כתב תחתי",Superscript:"כתב עילי","Table alignment toolbar":"סרגל כלים של יישור טבלה","Table cell text alignment":"יישור טקסט של תא טבלה","Table properties":"אפשרויות טבלה","Table toolbar":"סרגל כלים של טבלה","Text alignment":"יישור טקסט","Text alignment toolbar":"סרגל כלים יישור טקסט","Text alternative":"טקסט אלטרנטיבי","Text highlight 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".',"This link has no URL":"לקישור זה אין כתובת אתר",Tiny:"זעיר","To-do List":"רשימת מטלות","Toggle caption off":"כבה את הכיתוב","Toggle caption on":"הפעל את הכיתוב","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":"החלף מצב סגנון רשימה עם ספרות רומיות גדולות",Turquoise:"טורקיז","Type or paste your content here.":"הזן או הדבק את התוכן כאן","Type your title":"הזן כותרת",Underline:"קו תחתון",Undo:"ביטול",Unlink:"ביטול קישור",Update:"עדכן","Update image URL":"עדכן את כתובת ה-URL של התמונה","Upload failed":"העלאה נכשלה","Upload in progress":"העלאה מתבצעת","Upper-latin":"אותיות לטיניות גדולות","Upper-roman":"אותיות רומיות גדולות","Vertical text alignment toolbar":"סרגל כלים של יישור טקסט אנכי",White:"לבן","Widget toolbar":"סרגל יישומון",Width:"רוחב","Wrap text":"גלישת טקסט",Yellow:"צהוב","Yellow marker":"סימון צהוב"}),t.getPluralForm=function(e){return 1==e&&e%1==0?0:2==e&&e%1==0?1:e%10==0&&e%1==0&&e>10?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 841e04f303dcc62cfbb64f334c6ea38a6f0ba906..1886bd4b4c373c2256c2a41b08358a20a8125ce9 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.hi=e.hi||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1","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 center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"Border","Break text":"टेक्स्ट तोड़ें","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Caption for image: %0":"छवि के लिए कैप्शन: %0","Caption for the image":"छवि के लिए कैप्शन","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Edit source":"सोर्स एडिट करें","Editor block content toolbar":"एडीटर ब्लॉक कंटेंट टूलबार","Editor contextual toolbar":"एडीटर कॉन्टेक्स्टूअल टूलबार","Editor editing area: %0":"संपादक संपादन क्षेत्र: %0","Editor toolbar":"Editor toolbar","Empty snippet content":"खाली स्निपेट कंटेंट","Enter image caption":"Enter image caption","Enter table caption":"टेबल कैप्शन एंटर करें","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",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",Height:"Height",Highlight:"Highlight","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML snippet":"एचटीएमएल स्निपेट",Huge:"Huge","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"इन - लाइन","Increase indent":"Increase indent",Insert:"Insert","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert HTML":"एचटीएमएल इन्सर्ट करें","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset",Italic:"Italic",Justify:"Justify","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"प्रॉपर्टीज़ को लिस्ट करें","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Next","No preview available":"कोई प्रीव्यू उपलब्ध नहीं",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste raw HTML here...":"रॉ एचटीएमएल यहां पेस्ट करें...","Pink marker":"Pink marker","Plain text":"Plain text","Press Enter to type after or press Shift + Enter to type before the widget":"विजेट के बाद टाइप करने के लिए एंटर  दबाएं या पहले टाइप करने के लिए शिफ्ट+एंटर दबाएं",Previous:"Previous",Purple:"Purple",Red:"Red","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"डिफ़ॉल्ट रिस्टोर कर दें","Reversed order":"रिवर्स किया गया क्रम","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Save changes":"चेंजेज़ को सेव करें","Saving changes":"Saving changes","Select all":"Select all","Select column":"Select column","Select row":"Select row","Show more items":"Show more items","Side image":"Side image",Small:"Small",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"शुरू करे इस पर","Start index must be greater than 0.":"स्टार्ट इंडेक्स 0 से अधिक होना चाहिए.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative","Text highlight toolbar":"Text highlight 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".',"This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"To-do List","Toggle caption off":"कैप्शन को टॉगल बंद करें","Toggle caption on":"कैप्शन का टॉगल ऑन करें","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"टेक्स्ट रैप करें",Yellow:"Yellow","Yellow marker":"Yellow marker"}),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||{},{"%0 of %1":"%0 of %1",Accept:"","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 center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue","Blue marker":"Blue marker",Bold:"Bold",Border:"Border","Break text":"टेक्स्ट तोड़ें","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Caption for image: %0":"छवि के लिए कैप्शन: %0","Caption for the image":"छवि के लिए कैप्शन","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Edit source":"सोर्स एडिट करें","Editor block content toolbar":"एडीटर ब्लॉक कंटेंट टूलबार","Editor contextual toolbar":"एडीटर कॉन्टेक्स्टूअल टूलबार","Editor editing area: %0":"संपादक संपादन क्षेत्र: %0","Editor toolbar":"Editor toolbar","Empty snippet content":"खाली स्निपेट कंटेंट","Enter image caption":"Enter image caption","Enter table caption":"टेबल कैप्शन एंटर करें","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green","Green marker":"Green marker","Green pen":"Green pen",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",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",Height:"Height",HEX:"",Highlight:"Highlight","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML snippet":"एचटीएमएल स्निपेट",Huge:"Huge","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"इन - लाइन","Increase indent":"Increase indent",Insert:"Insert","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert HTML":"एचटीएमएल इन्सर्ट करें","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table",Inset:"Inset",Italic:"Italic",Justify:"Justify","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"प्रॉपर्टीज़ को लिस्ट करें","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Next","No preview available":"कोई प्रीव्यू उपलब्ध नहीं",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste raw HTML here...":"रॉ एचटीएमएल यहां पेस्ट करें...","Pink marker":"Pink marker","Plain text":"Plain text","Press Enter to type after or press Shift + Enter to type before the widget":"विजेट के बाद टाइप करने के लिए एंटर  दबाएं या पहले टाइप करने के लिए शिफ्ट+एंटर दबाएं",Previous:"Previous",Purple:"Purple",Red:"Red","Red pen":"Red pen",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Remove highlight":"Remove highlight","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"डिफ़ॉल्ट रिस्टोर कर दें","Reversed order":"रिवर्स किया गया क्रम","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Save changes":"चेंजेज़ को सेव करें","Saving changes":"Saving changes","Select all":"Select all","Select column":"Select column","Select row":"Select row","Show more items":"Show more items","Side image":"Side image",Small:"Small",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"शुरू करे इस पर","Start index must be greater than 0.":"स्टार्ट इंडेक्स 0 से अधिक होना चाहिए.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative","Text highlight toolbar":"Text highlight 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".',"This link has no URL":"This link has no URL",Tiny:"Tiny","To-do List":"To-do List","Toggle caption off":"कैप्शन को टॉगल बंद करें","Toggle caption on":"कैप्शन का टॉगल ऑन करें","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"टेक्स्ट रैप करें",Yellow:"Yellow","Yellow marker":"Yellow marker"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 2a67666f9164ff00e1959f98aa39bcd27823d9dc..89db3015d58d3b9c7b2d1ebe1f5fe51b882aa3a4 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.hr=e.hr||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 od %1","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 center":"Poravnaj po sredini","Align left":"Poravnaj ulijevo","Align right":"Poravnaj udesno","Align table to the left":"Poravnaj tablicu ulijevo","Align table to the right":"Poravnaj tablicu udesno",Alignment:"Poravnanje",Aquamarine:"Akvamarin",Background:"Pozadina",Big:"Veliki",Black:"Crna","Block quote":"Blok citat",Blue:"Plava","Blue marker":"Plavi marker",Bold:"Podebljano",Border:"Granica","Break text":"Prelomi tekst","Bulleted List":"Obična lista","Bulleted list styles toolbar":"",Cancel:"Poništi","Caption for image: %0":"","Caption for the image":"","Cell properties":"Svojstva ćelije","Center table":"Centriraj tablicu","Centered image":"Centrirana slika","Change image text alternative":"Promijeni alternativni tekst slike","Choose heading":"Odaberite naslov",Circle:"",Code:"Kod",Color:"Boja","Color picker":"Birač boje",Column:"Kolona",Dashed:"Crtičasta",Decimal:"","Decimal with leading zero":"","Decrease indent":"Umanji uvlačenje",Default:"Podrazumijevano","Delete column":"Obriši kolonu","Delete row":"Obriši red","Dim grey":"Tamnosiva",Dimensions:"Dimenzije",Disc:"","Document colors":"Boje dokumenta",Dotted:"Točkasta",Double:"Dvostruka",Downloadable:"Moguće preuzeti","Dropdown toolbar":"Traka padajućeg izbornika","Edit block":"Uredi blok","Edit link":"Uredi vezu","Edit source":"Uredi izvorni kod","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Traka uređivača","Empty snippet content":"Ukloni sadržaj isječka","Enter image caption":"Unesite naslov slike","Enter table caption":"Unesite natpis","Font Background Color":"Pozadinska Boja Fonta","Font Color":"Boja Fonta","Font Family":"Obitelj fonta","Font Size":"Veličina fonta","Full size image":"Slika pune veličine",Green:"Zelena","Green marker":"Zeleni marker","Green pen":"Zeleno pero",Grey:"Siva",Groove:"","Header column":"Kolona zaglavlja","Header row":"Red zaglavlja",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",Height:"Visina",Highlight:"Istakni","Horizontal line":"Vodoravna linija","Horizontal text alignment toolbar":"Alatna traka za horizontalno poravnanje teksta","HTML snippet":"HTML isječak",Huge:"Ogroman","Image resize list":"Lista veličina slika","Image toolbar":"Traka za slike","image widget":"Slika widget","In line":"U istom redu","Increase indent":"Povećaj uvlačenje",Insert:"Ubaci","Insert code block":"Umetni blok koda","Insert column left":"Umetni stupac lijevo","Insert column right":"Umetni stupac desno","Insert HTML":"Ubaci HTML","Insert image":"Umetni sliku","Insert image via URL":"Ubaci sliku putem URLa","Insert paragraph after block":"Umetni odlomak poslije bloka","Insert paragraph before block":"Umetni odlomak prije bloka","Insert row above":"Ubaci red iznad","Insert row below":"Ubaci red ispod","Insert table":"Ubaci tablicu",Inset:"",Italic:"Ukošeno",Justify:"Razvuci","Justify cell text":"Razvuci tekst ćelije","Left aligned image":"Lijevo poravnata slika","Light blue":"Svijetloplava","Light green":"Svijetlozelena","Light grey":"Svijetlosiva",Link:"Veza","Link image":"URL slike","Link URL":"URL veze","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"Sljedeći","No preview available":"Pregled nije dostupan",None:"Nikakva","Numbered List":"Brojčana lista","Numbered list styles toolbar":"","Open in a new tab":"Otvori u novoj kartici","Open link in new tab":"Otvori vezu u novoj kartici",Orange:"Narančasta",Original:"Original",Outset:"",Padding:"Podstava",Paragraph:"Paragraf","Paste raw HTML here...":"Zalijepi ovdje čisti HTML...","Pink marker":"Rozi marker","Plain text":"Običan tekst","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Prethodni",Purple:"Ljubičasta",Red:"Crvena","Red pen":"Crveno pero",Redo:"Ponovi","Remove color":"Ukloni boju","Remove Format":"Ukloni format","Remove highlight":"Ukloni isticanje","Resize image":"Promijeni veličinu slike","Resize image to %0":"Promijeni veličinu slike u %0","Resize image to the original size":"Vrati veličinu slike na originalnu veličinu","Restore default":"Vrati tvorničke postavke","Reversed order":"","Rich Text Editor":"Rich Text Editor",Ridge:"Greben","Right aligned image":"Slika poravnata desno",Row:"Red",Save:"Snimi","Save changes":"Snimi promjene","Saving changes":"Snimanje promjena","Select all":"Odaberi sve","Select column":"Odaberi stupac","Select row":"Odaberi redak","Show more items":"Prikaži više stavaka","Side image":"Slika sa strane",Small:"Mali",Solid:"Neprekidna","Split cell horizontally":"Razdvoji ćeliju vodoravno","Split cell vertically":"Razdvoji ćeliju okomito",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Precrtano",Style:"Stil",Subscript:"Indeks",Superscript:"Eksponent","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","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje","Text alternative":"Alternativni tekst","Text highlight toolbar":"Traka za isticanje teksta",'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".',"This link has no URL":"Ova veza nema URL",Tiny:"Sićušan","To-do List":"Lista zadataka za obaviti","Toggle caption off":"Isključite natpis","Toggle caption on":"Uključite natpis","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":"",Turquoise:"Tirkizna","Type or paste your content here.":"Utipkajte ili zalijepite Vaš sadržaj ovdje.","Type your title":"Utipkajte naslov",Underline:"Podcrtavanje",Undo:"Poništi",Unlink:"Ukloni vezu",Update:"Snimi","Update image URL":"Snimi URL slike","Upload failed":"Slanje nije uspjelo","Upload in progress":"Slanje u tijeku","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"Alatna traka za vertikalno poravnanje teksta",White:"Bijela","Widget toolbar":"Traka sa spravicama",Width:"Širina","Wrap text":"Prelamanje teksta",Yellow:"Žuta","Yellow marker":"Žuti marker"}),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 i=e.hr=e.hr||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 od %1",Accept:"","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 center":"Poravnaj po sredini","Align left":"Poravnaj ulijevo","Align right":"Poravnaj udesno","Align table to the left":"Poravnaj tablicu ulijevo","Align table to the right":"Poravnaj tablicu udesno",Alignment:"Poravnanje",Aquamarine:"Akvamarin",Background:"Pozadina",Big:"Veliki",Black:"Crna","Block quote":"Blok citat",Blue:"Plava","Blue marker":"Plavi marker",Bold:"Podebljano",Border:"Granica","Break text":"Prelomi tekst","Bulleted List":"Obična lista","Bulleted list styles toolbar":"Alatna traka za stilove obične liste",Cancel:"Poništi","Caption for image: %0":"","Caption for the image":"","Cell properties":"Svojstva ćelije","Center table":"Centriraj tablicu","Centered image":"Centrirana slika","Change image text alternative":"Promijeni alternativni tekst slike","Choose heading":"Odaberite naslov",Circle:"Krug",Code:"Kod",Color:"Boja","Color picker":"Birač boje",Column:"Kolona",Dashed:"Crtičasta",Decimal:"Decimalni","Decimal with leading zero":"Decimalni s vodećom nulom","Decrease indent":"Umanji uvlačenje",Default:"Podrazumijevano","Delete column":"Obriši kolonu","Delete row":"Obriši red","Dim grey":"Tamnosiva",Dimensions:"Dimenzije",Disc:"Disk","Document colors":"Boje dokumenta",Dotted:"Točkasta",Double:"Dvostruka",Downloadable:"Moguće preuzeti","Dropdown toolbar":"Traka padajućeg izbornika","Edit block":"Uredi blok","Edit link":"Uredi vezu","Edit source":"Uredi izvorni kod","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"Područje Editora: %0","Editor toolbar":"Traka uređivača","Empty snippet content":"Ukloni sadržaj isječka","Enter image caption":"Unesite naslov slike","Enter table caption":"Unesite natpis","Font Background Color":"Pozadinska Boja Fonta","Font Color":"Boja Fonta","Font Family":"Obitelj fonta","Font Size":"Veličina fonta","Full size image":"Slika pune veličine",Green:"Zelena","Green marker":"Zeleni marker","Green pen":"Zeleno pero",Grey:"Siva",Groove:"","Header column":"Kolona zaglavlja","Header row":"Red zaglavlja",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",Height:"Visina",HEX:"",Highlight:"Istakni","Horizontal line":"Vodoravna linija","Horizontal text alignment toolbar":"Alatna traka za horizontalno poravnanje teksta","HTML snippet":"HTML isječak",Huge:"Ogroman","Image resize list":"Lista veličina slika","Image toolbar":"Traka za slike","image widget":"Slika widget","In line":"U istom redu","Increase indent":"Povećaj uvlačenje",Insert:"Ubaci","Insert code block":"Umetni blok koda","Insert column left":"Umetni stupac lijevo","Insert column right":"Umetni stupac desno","Insert HTML":"Ubaci HTML","Insert image":"Umetni sliku","Insert image via URL":"Ubaci sliku putem URLa","Insert paragraph after block":"Umetni odlomak poslije bloka","Insert paragraph before block":"Umetni odlomak prije bloka","Insert row above":"Ubaci red iznad","Insert row below":"Ubaci red ispod","Insert table":"Ubaci tablicu",Inset:"",Italic:"Ukošeno",Justify:"Razvuci","Justify cell text":"Razvuci tekst ćelije","Left aligned image":"Lijevo poravnata slika","Light blue":"Svijetloplava","Light green":"Svijetlozelena","Light grey":"Svijetlosiva",Link:"Veza","Link image":"URL slike","Link URL":"URL veze","List properties":"Svojstva liste","Lower-latin":"Mala slova","Lower–roman":"Mali rimski brojevi","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",Next:"Sljedeći","No preview available":"Pregled nije dostupan",None:"Nikakva","Numbered List":"Brojčana lista","Numbered list styles toolbar":"Alatna traka za stilove brojčane liste","Open in a new tab":"Otvori u novoj kartici","Open link in new tab":"Otvori vezu u novoj kartici",Orange:"Narančasta",Original:"Original",Outset:"",Padding:"Podstava",Paragraph:"Paragraf","Paste raw HTML here...":"Zalijepi ovdje čisti HTML...","Pink marker":"Rozi marker","Plain text":"Običan tekst","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","Red pen":"Crveno pero",Redo:"Ponovi","Remove color":"Ukloni boju","Remove Format":"Ukloni format","Remove highlight":"Ukloni isticanje","Resize image":"Promijeni veličinu slike","Resize image to %0":"Promijeni veličinu slike u %0","Resize image to the original size":"Vrati veličinu slike na originalnu veličinu","Restore default":"Vrati tvorničke postavke","Reversed order":"Obrnuti redoslijed","Rich Text Editor":"Rich Text Editor",Ridge:"Greben","Right aligned image":"Slika poravnata desno",Row:"Red",Save:"Snimi","Save changes":"Snimi promjene","Saving changes":"Snimanje promjena","Select all":"Odaberi sve","Select column":"Odaberi stupac","Select row":"Odaberi redak","Show more items":"Prikaži više stavaka","Side image":"Slika sa strane",Small:"Mali",Solid:"Neprekidna","Split cell horizontally":"Razdvoji ćeliju vodoravno","Split cell vertically":"Razdvoji ćeliju okomito",Square:"Kvadrat","Start at":"Počni sa","Start index must be greater than 0.":"Početni indeks mora biti veći od 0.",Strikethrough:"Precrtano",Style:"Stil",Subscript:"Indeks",Superscript:"Eksponent","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","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje","Text alternative":"Alternativni tekst","Text highlight toolbar":"Traka za isticanje teksta",'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".',"This link has no URL":"Ova veza nema URL",Tiny:"Sićušan","To-do List":"Lista zadataka","Toggle caption off":"Isključite natpis","Toggle caption on":"Uključite natpis","Toggle the circle list style":"Primjeni krug stil","Toggle the decimal list style":"Primjeni decimalni stil","Toggle the decimal with leading zero list style":"Primjeni decimalni stil s vodećom nulom","Toggle the disc list style":"Primjeni disk stil","Toggle the lower–latin list style":"Primjeni mala slova stil","Toggle the lower–roman list style":"Primjeni rimske brojeve mala slova stil","Toggle the square list style":"Primjeni kvadrat stil","Toggle the upper–latin list style":"Primjeni velika slova stil","Toggle the upper–roman list style":"Primjeni rimske brojeve velika slova stil",Turquoise:"Tirkizna","Type or paste your content here.":"Utipkajte ili zalijepite Vaš sadržaj ovdje.","Type your title":"Utipkajte naslov",Underline:"Podcrtavanje",Undo:"Poništi",Unlink:"Ukloni vezu",Update:"Snimi","Update image URL":"Snimi URL slike","Upload failed":"Slanje nije uspjelo","Upload in progress":"Slanje u tijeku","Upper-latin":"Velika slova","Upper-roman":"Veliki rimski brojevi","Vertical text alignment toolbar":"Alatna traka za vertikalno poravnanje teksta",White:"Bijela","Widget toolbar":"Traka sa spravicama",Width:"Širina","Wrap text":"Prelamanje teksta",Yellow:"Žuta","Yellow marker":"Žuti marker"}),i.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
index 45b24cef2ef69e4f7425ad285baa656f1ae09de3..ffd9136236df0866d7ac0fac3f581e4ab26b998f 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.hu=e.hu||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 / %1","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 center":"Középre igazítás","Align left":"Balra igazítás","Align right":"Jobbra igazítás","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",Aquamarine:"Kékeszöld",Background:"Háttér",Big:"Nagy",Black:"Fekete","Block quote":"Idézet",Blue:"Kék","Blue marker":"Kék kiemelő",Bold:"Félkövér",Border:"Keret","Break text":"Sortörés","Bulleted List":"Pontozott lista","Bulleted list styles toolbar":"Felsorolásos lista stílusú eszköztár",Cancel:"Mégsem","Caption for image: %0":"Képfelirat: %0","Caption for the image":"Felirat a képhez","Cell properties":"Cella tulajdonságok","Center table":"Tábla igazítása középre","Centered image":"Középre igazított kép","Change image text alternative":"Helyettesítő szöveg módosítása","Choose heading":"Stílus megadása",Circle:"Kör",Code:"Forráskód",Color:"Szín","Color picker":"Szín választása",Column:"Oszlop",Dashed:"Szaggatott",Decimal:"Szám","Decimal with leading zero":"Nullával kezdődő szám","Decrease indent":"Behúzás csökkentése",Default:"Alapértelmezett","Delete column":"Oszlop törlése","Delete row":"Sor törlése","Dim grey":"Halvány szürke",Dimensions:"Méretek",Disc:"Korong","Document colors":"Dokumentum színek",Dotted:"Pontozott",Double:"Dupla",Downloadable:"Letölthető","Dropdown toolbar":"Lenyíló eszköztár","Edit block":"Blokk szerkesztése","Edit link":"Link szerkesztése","Edit source":"Forrás szerkesztése","Editor block content toolbar":"Szerkesztő - tartalomblokk  eszköztár","Editor contextual toolbar":"Szerkesztő - szövegre vonatkozó eszköztár","Editor editing area: %0":"Szerkesztő szerkesztési területe: %0","Editor toolbar":"Szerkesztő eszköztár","Empty snippet content":"Üres kódrészleti tartalom","Enter image caption":"Képaláírás megadása","Enter table caption":"Táblázat feliratának megadása","Font Background Color":"Betű háttérszín","Font Color":"Betűszín","Font Family":"Betűtípus","Font Size":"Betűméret","Full size image":"Teljes méretű kép",Green:"Zöld","Green marker":"Zöld kiemelő","Green pen":"Zöld toll",Grey:"Szürke",Groove:"Árok","Header column":"Oszlop fejléc","Header row":"Sor fejléc",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",Height:"Magasság",Highlight:"Kiemelés","Horizontal line":"Vízszintes elválasztóvonal","Horizontal text alignment toolbar":"Vízszintes szövegigazítási eszköztár","HTML snippet":"HTML kódrészlet",Huge:"Hatalmas","Image resize list":"Kép átméretezési lista","Image toolbar":"Kép eszköztár","image widget":"képmodul","In line":"Soron belül","Increase indent":"Behúzás növelése",Insert:"Beszúrás","Insert code block":"Kód blokk beszúrása","Insert column left":"Oszlop beszúrása balra","Insert column right":"Oszlop beszúrása jobbra","Insert HTML":"HTML beillesztése","Insert image":"Kép beszúrása","Insert image via URL":"Kép beszúrása URL alapján","Insert paragraph after block":"Bekezdés beszúrása utána","Insert paragraph before block":"Bekezdés beszúrása elé","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",Italic:"Dőlt",Justify:"Sorkizárt","Justify cell text":"Szöveg igazítása a cellában sorkizártra","Left aligned image":"Balra igazított kép","Light blue":"Világoskék","Light green":"Világoszöld","Light grey":"Világosszürke",Link:"Link","Link image":"Hivatkozás","Link URL":"URL link","List properties":"Lista tulajdonságai","Lower-latin":"Kisbetűs latin szám","Lower–roman":"Kisbetűs római szám","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",Next:"Következő","No preview available":"Nincs elérhető előnézet",None:"Nincs","Numbered List":"Számozott lista","Numbered list styles toolbar":"Számozott lista stílusú eszköztár","Open in a new tab":"Megnyitás új lapon","Open link in new tab":"Link megnyitása új ablakban",Orange:"Narancs",Original:"Eredeti",Outset:"Kiemelkedő",Padding:"Térköz",Paragraph:"Bekezdés","Paste raw HTML here...":"Másolja ide a HTML forrás szövegét...","Pink marker":"Rózsaszín kiemelő","Plain text":"Egyszerű szöveg","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","Red pen":"Piros toll",Redo:"Újra","Remove color":"Szín eltávolítása","Remove Format":"Formázás eltávolítása","Remove highlight":"Kiemelés eltávolítása","Resize image":"Kép átméretezése","Resize image to %0":"Kép méretezése %0","Resize image to the original size":"Kép méretezése az eredeti méretre","Restore default":"Alapértelmezés visszaállítása","Reversed order":"Fordított sorrend","Rich Text Editor":"Bővített szövegszerkesztő",Ridge:"Gerinc","Right aligned image":"Jobbra igazított kép",Row:"Sor",Save:"Mentés","Save changes":"Módosítások mentése","Saving changes":"Módosítások mentése","Select all":"Mindet kijelöl","Select column":"Oszlop kijelölése","Select row":"Sor kijelölése","Show more items":"További elemek","Side image":"Oldalsó kép",Small:"Kicsi",Solid:"Tömör","Split cell horizontally":"Cella felosztása vízszintesen","Split cell vertically":"Cella felosztása függőlegesen",Square:"Négyzet","Start at":"Kezdőpont","Start index must be greater than 0.":"A kezdő index nagyobb kell legyen mint 0.",Strikethrough:"Áthúzott",Style:"Stílus",Subscript:"Alsó index",Superscript:"Felső index","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","Text alignment":"Szöveg igazítása","Text alignment toolbar":"Szöveg igazítás eszköztár","Text alternative":"Helyettesítő szöveg","Text highlight toolbar":"Szöveg kiemelés 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".',"This link has no URL":"A link nem tartalmaz URL-t",Tiny:"Apró","To-do List":"Tennivaló lista","Toggle caption off":"Felirat kikapcsolása","Toggle caption on":"Felirat bekapcsolása","Toggle the circle list style":"Kör stílusú lista bekapcsolása","Toggle the decimal list style":"Tizedesjegy stílusú lista bekapcsolása","Toggle the decimal with leading zero list style":"Zéróval kezdődő tizedesjegy stílusú lista bekapcsolása","Toggle the disc list style":"Korong stílusú lista bekapcsolása","Toggle the lower–latin list style":"Kis latin betűs stílusú lista bekapcsolása","Toggle the lower–roman list style":"Kis római számok stílusú lista bekapcsolása","Toggle the square list style":"Négyzet stílusú lista bekapcsolása","Toggle the upper–latin list style":"Nagy latin betűs stílusú lista bekapcsolása","Toggle the upper–roman list style":"Nagy római számok stílusú lista bekapcsolása",Turquoise:"Türkiz","Type or paste your content here.":"Írja be, vagy illessze be a tartalmat.","Type your title":"Adja meg a címet",Underline:"Aláhúzott",Undo:"Visszavonás",Unlink:"Link eltávolítása",Update:"Módosítás","Update image URL":"Kép URL módosítása","Upload failed":"A feltöltés nem sikerült","Upload in progress":"A feltöltés folyamatban","Upper-latin":"Nagybetűs latin szám","Upper-roman":"Nagybetűs római szám","Vertical text alignment toolbar":"Függőleges szövegigazítási eszköztár",White:"Fehér","Widget toolbar":"Widget eszköztár",Width:"Szélesség","Wrap text":"Körbefuttatás",Yellow:"Sárga","Yellow marker":"Sárga kiemelő"}),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||{},{"%0 of %1":"%0 / %1",Accept:"","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 center":"Középre igazítás","Align left":"Balra igazítás","Align right":"Jobbra igazítás","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",Aquamarine:"Kékeszöld",Background:"Háttér",Big:"Nagy",Black:"Fekete","Block quote":"Idézet",Blue:"Kék","Blue marker":"Kék kiemelő",Bold:"Félkövér",Border:"Keret","Break text":"Sortörés","Bulleted List":"Pontozott lista","Bulleted list styles toolbar":"Felsorolásos lista stílusú eszköztár",Cancel:"Mégsem","Caption for image: %0":"Képfelirat: %0","Caption for the image":"Felirat a képhez","Cell properties":"Cella tulajdonságok","Center table":"Tábla igazítása középre","Centered image":"Középre igazított kép","Change image text alternative":"Helyettesítő szöveg módosítása","Choose heading":"Stílus megadása",Circle:"Kör",Code:"Forráskód",Color:"Szín","Color picker":"Szín választása",Column:"Oszlop",Dashed:"Szaggatott",Decimal:"Szám","Decimal with leading zero":"Nullával kezdődő szám","Decrease indent":"Behúzás csökkentése",Default:"Alapértelmezett","Delete column":"Oszlop törlése","Delete row":"Sor törlése","Dim grey":"Halvány szürke",Dimensions:"Méretek",Disc:"Korong","Document colors":"Dokumentum színek",Dotted:"Pontozott",Double:"Dupla",Downloadable:"Letölthető","Dropdown toolbar":"Lenyíló eszköztár","Edit block":"Blokk szerkesztése","Edit link":"Link szerkesztése","Edit source":"Forrás szerkesztése","Editor block content toolbar":"Szerkesztő - tartalomblokk  eszköztár","Editor contextual toolbar":"Szerkesztő - szövegre vonatkozó eszköztár","Editor editing area: %0":"Szerkesztő szerkesztési területe: %0","Editor toolbar":"Szerkesztő eszköztár","Empty snippet content":"Üres kódrészleti tartalom","Enter image caption":"Képaláírás megadása","Enter table caption":"Táblázat feliratának megadása","Font Background Color":"Betű háttérszín","Font Color":"Betűszín","Font Family":"Betűtípus","Font Size":"Betűméret","Full size image":"Teljes méretű kép",Green:"Zöld","Green marker":"Zöld kiemelő","Green pen":"Zöld toll",Grey:"Szürke",Groove:"Árok","Header column":"Oszlop fejléc","Header row":"Sor fejléc",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",Height:"Magasság",HEX:"",Highlight:"Kiemelés","Horizontal line":"Vízszintes elválasztóvonal","Horizontal text alignment toolbar":"Vízszintes szövegigazítási eszköztár","HTML snippet":"HTML kódrészlet",Huge:"Hatalmas","Image resize list":"Kép átméretezési lista","Image toolbar":"Kép eszköztár","image widget":"képmodul","In line":"Soron belül","Increase indent":"Behúzás növelése",Insert:"Beszúrás","Insert code block":"Kód blokk beszúrása","Insert column left":"Oszlop beszúrása balra","Insert column right":"Oszlop beszúrása jobbra","Insert HTML":"HTML beillesztése","Insert image":"Kép beszúrása","Insert image via URL":"Kép beszúrása URL alapján","Insert paragraph after block":"Bekezdés beszúrása utána","Insert paragraph before block":"Bekezdés beszúrása elé","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",Italic:"Dőlt",Justify:"Sorkizárt","Justify cell text":"Szöveg igazítása a cellában sorkizártra","Left aligned image":"Balra igazított kép","Light blue":"Világoskék","Light green":"Világoszöld","Light grey":"Világosszürke",Link:"Link","Link image":"Hivatkozás","Link URL":"URL link","List properties":"Lista tulajdonságai","Lower-latin":"Kisbetűs latin szám","Lower–roman":"Kisbetűs római szám","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",Next:"Következő","No preview available":"Nincs elérhető előnézet",None:"Nincs","Numbered List":"Számozott lista","Numbered list styles toolbar":"Számozott lista stílusú eszköztár","Open in a new tab":"Megnyitás új lapon","Open link in new tab":"Link megnyitása új ablakban",Orange:"Narancs",Original:"Eredeti",Outset:"Kiemelkedő",Padding:"Térköz",Paragraph:"Bekezdés","Paste raw HTML here...":"Másolja ide a HTML forrás szövegét...","Pink marker":"Rózsaszín kiemelő","Plain text":"Egyszerű szöveg","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","Red pen":"Piros toll",Redo:"Újra","Remove color":"Szín eltávolítása","Remove Format":"Formázás eltávolítása","Remove highlight":"Kiemelés eltávolítása","Resize image":"Kép átméretezése","Resize image to %0":"Kép méretezése %0","Resize image to the original size":"Kép méretezése az eredeti méretre","Restore default":"Alapértelmezés visszaállítása","Reversed order":"Fordított sorrend","Rich Text Editor":"Bővített szövegszerkesztő",Ridge:"Gerinc","Right aligned image":"Jobbra igazított kép",Row:"Sor",Save:"Mentés","Save changes":"Módosítások mentése","Saving changes":"Módosítások mentése","Select all":"Mindet kijelöl","Select column":"Oszlop kijelölése","Select row":"Sor kijelölése","Show more items":"További elemek","Side image":"Oldalsó kép",Small:"Kicsi",Solid:"Tömör","Split cell horizontally":"Cella felosztása vízszintesen","Split cell vertically":"Cella felosztása függőlegesen",Square:"Négyzet","Start at":"Kezdőpont","Start index must be greater than 0.":"A kezdő index nagyobb kell legyen mint 0.",Strikethrough:"Áthúzott",Style:"Stílus",Subscript:"Alsó index",Superscript:"Felső index","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","Text alignment":"Szöveg igazítása","Text alignment toolbar":"Szöveg igazítás eszköztár","Text alternative":"Helyettesítő szöveg","Text highlight toolbar":"Szöveg kiemelés 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".',"This link has no URL":"A link nem tartalmaz URL-t",Tiny:"Apró","To-do List":"Tennivaló lista","Toggle caption off":"Felirat kikapcsolása","Toggle caption on":"Felirat bekapcsolása","Toggle the circle list style":"Kör stílusú lista bekapcsolása","Toggle the decimal list style":"Tizedesjegy stílusú lista bekapcsolása","Toggle the decimal with leading zero list style":"Zéróval kezdődő tizedesjegy stílusú lista bekapcsolása","Toggle the disc list style":"Korong stílusú lista bekapcsolása","Toggle the lower–latin list style":"Kis latin betűs stílusú lista bekapcsolása","Toggle the lower–roman list style":"Kis római számok stílusú lista bekapcsolása","Toggle the square list style":"Négyzet stílusú lista bekapcsolása","Toggle the upper–latin list style":"Nagy latin betűs stílusú lista bekapcsolása","Toggle the upper–roman list style":"Nagy római számok stílusú lista bekapcsolása",Turquoise:"Türkiz","Type or paste your content here.":"Írja be, vagy illessze be a tartalmat.","Type your title":"Adja meg a címet",Underline:"Aláhúzott",Undo:"Visszavonás",Unlink:"Link eltávolítása",Update:"Módosítás","Update image URL":"Kép URL módosítása","Upload failed":"A feltöltés nem sikerült","Upload in progress":"A feltöltés folyamatban","Upper-latin":"Nagybetűs latin szám","Upper-roman":"Nagybetűs római szám","Vertical text alignment toolbar":"Függőleges szövegigazítási eszköztár",White:"Fehér","Widget toolbar":"Widget eszköztár",Width:"Szélesség","Wrap text":"Körbefuttatás",Yellow:"Sárga","Yellow marker":"Sárga kiemelő"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 5a393854c238e23d3b124bb940cef683eabf58f1..34ab0466c85ff701f17e482b464f21130db1d67f 100644 (file)
@@ -1 +1 @@
-!function(a){const e=a.id=a.id||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 dari %1","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 center":"Rata tengah","Align left":"Rata kiri","Align right":"Rata kanan","Align table to the left":"Sejajarkan teks sel ke kiri","Align table to the right":"Sejajarkan teks sel ke kanan",Alignment:"Penjajaran",Aquamarine:"Biru laut",Background:"Latar belakang",Big:"Besar",Black:"Hitam","Block quote":"Kutipan",Blue:"Biru","Blue marker":"Marka biru",Bold:"Tebal",Border:"Garis batas","Break text":"Pecahkan teks","Bulleted List":"Daftar Tak Berangka","Bulleted list styles toolbar":"Bilah alat gaya daftar bullet",Cancel:"Batal","Caption for image: %0":"Keterangan gambar: %0","Caption for the image":"Keterangan untuk gambar","Cell properties":"Properti sel","Center table":"Tengahkan tabel","Centered image":"Gambar rata tengah","Change image text alternative":"Ganti alternatif teks gambar","Choose heading":"Pilih tajuk",Circle:"Lingkaran",Code:"Kode",Color:"Warna","Color picker":"Pengambil warna",Column:"Kolom",Dashed:"Garis putus-putus",Decimal:"Desimal","Decimal with leading zero":"Desimal dengan awalan nol","Decrease indent":"Kurangi indentasi",Default:"Bawaan","Delete column":"Hapus kolom","Delete row":"Hapus baris","Dim grey":"Kelabu gelap",Dimensions:"Dimensi",Disc:"Disk","Document colors":"Warna dokumen",Dotted:"Titik titik",Double:"Ganda",Downloadable:"Dapat diunduh","Dropdown toolbar":"Alat dropdown","Edit block":"Sunting blok","Edit link":"Sunting tautan","Edit source":"Sunting sumber","Editor block content toolbar":"Bilah alat konten blok editor","Editor contextual toolbar":"Bilah alat kontekstual editor","Editor editing area: %0":"Area edit editor: %0","Editor toolbar":"Alat editor","Empty snippet content":"Konten potongan kosong","Enter image caption":"Tambahkan deskripsi gambar","Enter table caption":"Masukkan keterangan tabel","Font Background Color":"Warna Latar Huruf","Font Color":"Warna Huruf","Font Family":"Jenis Huruf","Font Size":"Ukuran Huruf","Full size image":"Gambar ukuran penuh",Green:"Hijau","Green marker":"Marka hijau","Green pen":"Pena hijau",Grey:"Kelabu",Groove:"Groove","Header column":"Kolom tajuk","Header row":"Baris 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",Height:"Tinggi",Highlight:"Tanda","Horizontal line":"Garis horizontal","Horizontal text alignment toolbar":"Bilah alat penjajaran teks horizontal","HTML snippet":"Potongan HTML",Huge:"Sangat Besar","Image resize list":"Daftar ukuran gambar","Image toolbar":"Alat gambar","image widget":"widget gambar","In line":"Sebaris","Increase indent":"Tambah indentasi",Insert:"Sisipkan","Insert code block":"Sisipkan blok kode","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert HTML":"Sisipkan HTML","Insert image":"Sisipkan gambar","Insert image via URL":"Sisipkan gambar melalui URL","Insert paragraph after block":"Tambahkan paragraf setelah blok","Insert paragraph before block":"Tambahkan paragraf sebelum blok","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel",Inset:"Inset",Italic:"Miring",Justify:"Rata kanan-kiri","Justify cell text":"Ratakan teks sel","Left aligned image":"Gambar rata kiri","Light blue":"Biru terang","Light green":"Hijau terang","Light grey":"Kelabu terang",Link:"Tautan","Link image":"Tautkan gambar","Link URL":"URL tautan","List properties":"Properti daftar","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Berikutnya","No preview available":"Pratinjau tidak tersedia",None:"Tidak ada","Numbered List":"Daftar Berangka","Numbered list styles toolbar":"Bilah alat gaya daftar angka","Open in a new tab":"Buka di tab baru","Open link in new tab":"Buka tautan di tab baru",Orange:"Jingga",Original:"Asli",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraf","Paste raw HTML here...":"Tempelkan HTML apa adanya di sini...","Pink marker":"Marka merah jambu","Plain text":"Teks mentah","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","Red pen":"Pena merah",Redo:"Lakukan lagi","Remove color":"Hapus warna","Remove Format":"Hapus Format","Remove highlight":"Hapus tanda","Resize image":"Ubah ukuran gambar","Resize image to %0":"Ubah ukuran gambar ke %0","Resize image to the original size":"Ubah ukuran gambar ke ukuran asli","Restore default":"Pulihkan nilai baku","Reversed order":"Urutan terbalik","Rich Text Editor":"Editor Teks Kaya",Ridge:"Ridge","Right aligned image":"Gambar rata kanan",Row:"Baris",Save:"Simpan","Save changes":"Simpan perubahan","Saving changes":"Menyimpan perubahan","Select all":"Pilih semua","Select column":"Seleksi kolom","Select row":"Seleksi baris","Show more items":"Tampilkan lebih banyak item","Side image":"Gambar sisi",Small:"Kecil",Solid:"Garis utuh","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal",Square:"Kotak","Start at":"Mulai dari","Start index must be greater than 0.":"Indeks awal harus lebih besar dari 0.",Strikethrough:"Coret",Style:"Gaya",Subscript:"Subskrip",Superscript:"Superskrip","Table alignment toolbar":"Bilah alat penjajaran tabel","Table cell text alignment":"Penjajaran teks sel tabel","Table properties":"Properti tabel","Table toolbar":"Alat tabel","Text alignment":"Perataan teks","Text alignment toolbar":"Alat perataan teks","Text alternative":"Alternatif teks","Text highlight toolbar":"Alat penanda teks",'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".',"This link has no URL":"Tautan ini tidak memiliki URL",Tiny:"Sangat Kecil","To-do List":"Daftar untuk-dikerjakan","Toggle caption off":"Sembunyikan keterangan","Toggle caption on":"Tampilkan keterangan","Toggle the circle list style":"Alihkan gaya daftar circle","Toggle the decimal list style":"Alihkan gaya daftar decimal","Toggle the decimal with leading zero list style":"Alihkan gaya daftar decimal with leading zero","Toggle the disc list style":"Alihkan gaya daftar disc","Toggle the lower–latin list style":"Alihkan gaya daftar lower–latin","Toggle the lower–roman list style":"Alihkan gaya daftar lower–roman","Toggle the square list style":"Alihkan gaya daftar square","Toggle the upper–latin list style":"Alihkan gaya daftar upper–latin","Toggle the upper–roman list style":"Alihkan gaya daftar upper–roman",Turquoise:"Turkish","Type or paste your content here.":"Ketik atau tempel konten Anda di sini.","Type your title":"Ketik judul Anda",Underline:"Garis bawah",Undo:"Batal",Unlink:"Hapus tautan",Update:"Perbarui","Update image URL":"Perbarui URL gambar","Upload failed":"Gagal mengunggah","Upload in progress":"Sedang mengunggah","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Bilah alat penjajaran teks vertikal",White:"Putih","Widget toolbar":"Alat widget",Width:"Lebar","Wrap text":"Bungkus teks",Yellow:"Kuning","Yellow marker":"Marka 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||{},{"%0 of %1":"%0 dari %1",Accept:"","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 center":"Rata tengah","Align left":"Rata kiri","Align right":"Rata kanan","Align table to the left":"Sejajarkan teks sel ke kiri","Align table to the right":"Sejajarkan teks sel ke kanan",Alignment:"Penjajaran",Aquamarine:"Biru laut",Background:"Latar belakang",Big:"Besar",Black:"Hitam","Block quote":"Kutipan",Blue:"Biru","Blue marker":"Marka biru",Bold:"Tebal",Border:"Garis batas","Break text":"Pecahkan teks","Bulleted List":"Daftar Tak Berangka","Bulleted list styles toolbar":"Bilah alat gaya daftar bullet",Cancel:"Batal","Caption for image: %0":"Keterangan gambar: %0","Caption for the image":"Keterangan untuk gambar","Cell properties":"Properti sel","Center table":"Tengahkan tabel","Centered image":"Gambar rata tengah","Change image text alternative":"Ganti alternatif teks gambar","Choose heading":"Pilih tajuk",Circle:"Lingkaran",Code:"Kode",Color:"Warna","Color picker":"Pengambil warna",Column:"Kolom",Dashed:"Garis putus-putus",Decimal:"Desimal","Decimal with leading zero":"Desimal dengan awalan nol","Decrease indent":"Kurangi indentasi",Default:"Bawaan","Delete column":"Hapus kolom","Delete row":"Hapus baris","Dim grey":"Kelabu gelap",Dimensions:"Dimensi",Disc:"Disk","Document colors":"Warna dokumen",Dotted:"Titik titik",Double:"Ganda",Downloadable:"Dapat diunduh","Dropdown toolbar":"Alat dropdown","Edit block":"Sunting blok","Edit link":"Sunting tautan","Edit source":"Sunting sumber","Editor block content toolbar":"Bilah alat konten blok editor","Editor contextual toolbar":"Bilah alat kontekstual editor","Editor editing area: %0":"Area edit editor: %0","Editor toolbar":"Alat editor","Empty snippet content":"Konten potongan kosong","Enter image caption":"Tambahkan deskripsi gambar","Enter table caption":"Masukkan keterangan tabel","Font Background Color":"Warna Latar Huruf","Font Color":"Warna Huruf","Font Family":"Jenis Huruf","Font Size":"Ukuran Huruf","Full size image":"Gambar ukuran penuh",Green:"Hijau","Green marker":"Marka hijau","Green pen":"Pena hijau",Grey:"Kelabu",Groove:"Groove","Header column":"Kolom tajuk","Header row":"Baris 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",Height:"Tinggi",HEX:"",Highlight:"Tanda","Horizontal line":"Garis horizontal","Horizontal text alignment toolbar":"Bilah alat penjajaran teks horizontal","HTML snippet":"Potongan HTML",Huge:"Sangat Besar","Image resize list":"Daftar ukuran gambar","Image toolbar":"Alat gambar","image widget":"widget gambar","In line":"Sebaris","Increase indent":"Tambah indentasi",Insert:"Sisipkan","Insert code block":"Sisipkan blok kode","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert HTML":"Sisipkan HTML","Insert image":"Sisipkan gambar","Insert image via URL":"Sisipkan gambar melalui URL","Insert paragraph after block":"Tambahkan paragraf setelah blok","Insert paragraph before block":"Tambahkan paragraf sebelum blok","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel",Inset:"Inset",Italic:"Miring",Justify:"Rata kanan-kiri","Justify cell text":"Ratakan teks sel","Left aligned image":"Gambar rata kiri","Light blue":"Biru terang","Light green":"Hijau terang","Light grey":"Kelabu terang",Link:"Tautan","Link image":"Tautkan gambar","Link URL":"URL tautan","List properties":"Properti daftar","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","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",Next:"Berikutnya","No preview available":"Pratinjau tidak tersedia",None:"Tidak ada","Numbered List":"Daftar Berangka","Numbered list styles toolbar":"Bilah alat gaya daftar angka","Open in a new tab":"Buka di tab baru","Open link in new tab":"Buka tautan di tab baru",Orange:"Jingga",Original:"Asli",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraf","Paste raw HTML here...":"Tempelkan HTML apa adanya di sini...","Pink marker":"Marka merah jambu","Plain text":"Teks mentah","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","Red pen":"Pena merah",Redo:"Lakukan lagi","Remove color":"Hapus warna","Remove Format":"Hapus Format","Remove highlight":"Hapus tanda","Resize image":"Ubah ukuran gambar","Resize image to %0":"Ubah ukuran gambar ke %0","Resize image to the original size":"Ubah ukuran gambar ke ukuran asli","Restore default":"Pulihkan nilai baku","Reversed order":"Urutan terbalik","Rich Text Editor":"Editor Teks Kaya",Ridge:"Ridge","Right aligned image":"Gambar rata kanan",Row:"Baris",Save:"Simpan","Save changes":"Simpan perubahan","Saving changes":"Menyimpan perubahan","Select all":"Pilih semua","Select column":"Seleksi kolom","Select row":"Seleksi baris","Show more items":"Tampilkan lebih banyak item","Side image":"Gambar sisi",Small:"Kecil",Solid:"Garis utuh","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal",Square:"Kotak","Start at":"Mulai dari","Start index must be greater than 0.":"Indeks awal harus lebih besar dari 0.",Strikethrough:"Coret",Style:"Gaya",Subscript:"Subskrip",Superscript:"Superskrip","Table alignment toolbar":"Bilah alat penjajaran tabel","Table cell text alignment":"Penjajaran teks sel tabel","Table properties":"Properti tabel","Table toolbar":"Alat tabel","Text alignment":"Perataan teks","Text alignment toolbar":"Alat perataan teks","Text alternative":"Alternatif teks","Text highlight toolbar":"Alat penanda teks",'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".',"This link has no URL":"Tautan ini tidak memiliki URL",Tiny:"Sangat Kecil","To-do List":"Daftar untuk-dikerjakan","Toggle caption off":"Sembunyikan keterangan","Toggle caption on":"Tampilkan keterangan","Toggle the circle list style":"Alihkan gaya daftar circle","Toggle the decimal list style":"Alihkan gaya daftar decimal","Toggle the decimal with leading zero list style":"Alihkan gaya daftar decimal with leading zero","Toggle the disc list style":"Alihkan gaya daftar disc","Toggle the lower–latin list style":"Alihkan gaya daftar lower–latin","Toggle the lower–roman list style":"Alihkan gaya daftar lower–roman","Toggle the square list style":"Alihkan gaya daftar square","Toggle the upper–latin list style":"Alihkan gaya daftar upper–latin","Toggle the upper–roman list style":"Alihkan gaya daftar upper–roman",Turquoise:"Turkish","Type or paste your content here.":"Ketik atau tempel konten Anda di sini.","Type your title":"Ketik judul Anda",Underline:"Garis bawah",Undo:"Batal",Unlink:"Hapus tautan",Update:"Perbarui","Update image URL":"Perbarui URL gambar","Upload failed":"Gagal mengunggah","Upload in progress":"Sedang mengunggah","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Bilah alat penjajaran teks vertikal",White:"Putih","Widget toolbar":"Alat widget",Width:"Lebar","Wrap text":"Bungkus teks",Yellow:"Kuning","Yellow marker":"Marka kuning"}),e.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 564a49392be686c7e4e14894f0873968ca545bf8..a4e4c77b608e82d283481fce751326df562f8eff 100644 (file)
@@ -1 +1 @@
-!function(e){const i=e.it=e.it||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 di %1","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 center":"Allinea al centro","Align left":"Allinea a sinistra","Align right":"Allinea a destra","Align table to the left":"Allinea tabella a sinistra","Align table to the right":"Allinea tabella a destra",Alignment:"Allineamento",Aquamarine:"Aquamarina",Background:"Sfondo",Big:"Grandi",Black:"Nero","Block quote":"Blocco citazione",Blue:"Blu","Blue marker":"Contrassegno blu",Bold:"Grassetto",Border:"Bordo","Break text":"Interrompi testo","Bulleted List":"Elenco puntato","Bulleted list styles toolbar":"Barra degli strumenti con gli stili degli elenchi puntati",Cancel:"Annulla","Caption for image: %0":"Didascalia dell'immagine: %0","Caption for the image":"Didascalia dell'immagine","Cell properties":"Proprietà cella","Center table":"Allinea tabella al centro","Centered image":"Immagine centrata","Change image text alternative":"Cambia testo alternativo dell'immagine","Choose heading":"Seleziona intestazione",Circle:"Cerchio",Code:"Codice",Color:"Colore","Color picker":"Selezione colore",Column:"Colonna",Dashed:"Tratteggiato",Decimal:"Numero","Decimal with leading zero":"Numero con zero anteposto","Decrease indent":"Riduci rientro",Default:"Predefinito","Delete column":"Elimina colonna","Delete row":"Elimina riga","Dim grey":"Grigio tenue",Dimensions:"Dimensioni",Disc:"Disco","Document colors":"Colori del docmento",Dotted:"Punteggiato",Double:"Doppio",Downloadable:"Scaricabile","Dropdown toolbar":"Barra degli strumenti del menu a discesa","Edit block":"Modifica blocco","Edit link":"Modifica collegamento","Edit source":"Modifica sorgente","Editor block content toolbar":"Barra degli strumenti contestuale dell'editor del blocco","Editor contextual toolbar":"Barra degli strumenti contestuale dell'editor","Editor editing area: %0":"Area di modifica dell'editor: %0","Editor toolbar":"Barra degli strumenti dell'editor","Empty snippet content":"Contenuto frammento di codice vuoto","Enter image caption":"inserire didascalia dell'immagine","Enter table caption":"Inserire la didascalia della tabella","Font Background Color":"Colore di sfondo caratteri","Font Color":"Colore caratteri","Font Family":"Tipo di caratteri","Font Size":"Dimensione caratteri","Full size image":"Immagine a dimensione intera",Green:"Verde","Green marker":"Contrassegno verde","Green pen":"Penna verde",Grey:"Grigio",Groove:"Scanalatura","Header column":"Intestazione colonna","Header row":"Riga d'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",Height:"Altezza",Highlight:"Evidenzia","Horizontal line":"Linea orizzontale","Horizontal text alignment toolbar":"Barra degli strumenti dell'allineamento orizzontale del testo","HTML snippet":"Frammento HTML",Huge:"Grandissimi","Image resize list":"Elenco ridimensionamenti immagine","Image toolbar":"Barra degli strumenti dell'immagine","image widget":"Widget immagine","In line":"In linea","Increase indent":"Aumenta rientro",Insert:"Inserisci","Insert code block":"Inserisci blocco di codice","Insert column left":"Inserisci colonna a sinistra","Insert column right":"Inserisci colonna a destra","Insert HTML":"Inserisci HTML","Insert image":"Inserisci immagine","Insert image via URL":"Inserisci immagine tramite URL","Insert paragraph after block":"Inserisci paragrafo dopo blocco","Insert paragraph before block":"Inserisci paragrafo prima di blocco","Insert row above":"Inserisci riga sopra","Insert row below":"Inserisci riga sotto","Insert table":"Inserisci tabella",Inset:"Incassato",Italic:"Corsivo",Justify:"Giustifica","Justify cell text":"Testo della cella giustificato","Left aligned image":"Immagine allineata a sinistra","Light blue":"Azzurro","Light green":"Verde chiaro","Light grey":"Grigio chiaro",Link:"Collegamento","Link image":"Collega immagine","Link URL":"URL del collegamento","List properties":"Proprietà elenco","Lower-latin":"Lettera minuscola","Lower–roman":"Numero romano minuscolo","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",Next:"Avanti","No preview available":"Nessuna anteprima disponibile",None:"Nessuno","Numbered List":"Elenco numerato","Numbered list styles toolbar":"Barra degli strumenti con gli stili degli elenchi numerati","Open in a new tab":"Apri in una nuova scheda","Open link in new tab":"Apri collegamento in nuova scheda",Orange:"Arancio",Original:"Originale",Outset:"Rialzato",Padding:"Spaziatura interna",Paragraph:"Paragrafo","Paste raw HTML here...":"Incolla qui HTML non elaborato...","Pink marker":"Contrassegno rosa","Plain text":"Testo semplice","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","Red pen":"Penna rossa",Redo:"Ripristina","Remove color":"Rimuovi colore","Remove Format":"Rimuovi formato","Remove highlight":"Rimuovi evidenziazione","Resize image":"Ridimensiona immagine","Resize image to %0":"Ridimensiona immagine a %0","Resize image to the original size":"Ridimensiona immagine alle dimensioni originali","Restore default":"Ripristina predefinito","Reversed order":"Ordine inverso","Rich Text Editor":"Editor di testo formattato",Ridge:"Rilievo","Right aligned image":"Immagine allineata a destra",Row:"Riga",Save:"Salva","Save changes":"Salva modifiche","Saving changes":"Salvataggio modifiche","Select all":"Seleziona tutto","Select column":"Seleziona colonna","Select row":"Seleziona riga","Show more items":"Mostra più elementi","Side image":"Immagine laterale",Small:"Piccoli",Solid:"Solido","Split cell horizontally":"Dividi cella orizzontalmente","Split cell vertically":"Dividi cella verticalmente",Square:"Quadrato","Start at":"Inizia da","Start index must be greater than 0.":"L'indice iniziale deve essere maggiore di 0.",Strikethrough:"Barrato",Style:"Stile",Subscript:"Pedice",Superscript:"Apice","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","Text alignment":"Allineamento del testo","Text alignment toolbar":"Barra degli strumenti dell'allineamento","Text alternative":"Testo alternativo","Text highlight toolbar":"Barra degli strumenti dell'evidenziazione del testo",'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".',"This link has no URL":"Questo collegamento non ha un URL",Tiny:"Piccolissimi","To-do List":"Elenco cose da fare","Toggle caption off":"Attiva didascalia","Toggle caption on":"Disattiva didascalia","Toggle the circle list style":"Attiva/disattiva lo stile degli elenchi con cerchi","Toggle the decimal list style":"Attiva/disattiva lo stile degli elenchi con numeri","Toggle the decimal with leading zero list style":"Attiva/disattiva lo stile degli elenchi con numeri con zero anteposto","Toggle the disc list style":"Attiva/disattiva lo stile degli elenchi con dischi","Toggle the lower–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere minuscole","Toggle the lower–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani minuscoli","Toggle the square list style":"Attiva/disattiva lo stile degli elenchi con quadrati","Toggle the upper–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere maiuscole","Toggle the upper–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani maiuscoli",Turquoise:"Turchese","Type or paste your content here.":"Inserire o incollare qui il proprio contenuto.","Type your title":"Inserire il proprio titolo",Underline:"Sottolineato",Undo:"Annulla",Unlink:"Elimina collegamento",Update:"Aggiorna","Update image URL":"Aggiorna URL immagine","Upload failed":"Caricamento fallito","Upload in progress":"Caricamento in corso","Upper-latin":"Lettera maiuscola","Upper-roman":"Numero romano maiuscolo","Vertical text alignment toolbar":"Barra degli strumenti dell'allineamento verticale del testo",White:"Bianco","Widget toolbar":"Barra degli strumenti del widget",Width:"Larghezza","Wrap text":"Testo a capo",Yellow:"Giallo","Yellow marker":"Contrassegno 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||{},{"%0 of %1":"%0 di %1",Accept:"Accetta","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 center":"Allinea al centro","Align left":"Allinea a sinistra","Align right":"Allinea a destra","Align table to the left":"Allinea tabella a sinistra","Align table to the right":"Allinea tabella a destra",Alignment:"Allineamento",Aquamarine:"Aquamarina",Background:"Sfondo",Big:"Grandi",Black:"Nero","Block quote":"Blocco citazione",Blue:"Blu","Blue marker":"Contrassegno blu",Bold:"Grassetto",Border:"Bordo","Break text":"Interrompi testo","Bulleted List":"Elenco puntato","Bulleted list styles toolbar":"Barra degli strumenti con gli stili degli elenchi puntati",Cancel:"Annulla","Caption for image: %0":"Didascalia dell'immagine: %0","Caption for the image":"Didascalia dell'immagine","Cell properties":"Proprietà cella","Center table":"Allinea tabella al centro","Centered image":"Immagine centrata","Change image text alternative":"Cambia testo alternativo dell'immagine","Choose heading":"Seleziona intestazione",Circle:"Cerchio",Code:"Codice",Color:"Colore","Color picker":"Selezione colore",Column:"Colonna",Dashed:"Tratteggiato",Decimal:"Numero","Decimal with leading zero":"Numero con zero anteposto","Decrease indent":"Riduci rientro",Default:"Predefinito","Delete column":"Elimina colonna","Delete row":"Elimina riga","Dim grey":"Grigio tenue",Dimensions:"Dimensioni",Disc:"Disco","Document colors":"Colori del docmento",Dotted:"Punteggiato",Double:"Doppio",Downloadable:"Scaricabile","Dropdown toolbar":"Barra degli strumenti del menu a discesa","Edit block":"Modifica blocco","Edit link":"Modifica collegamento","Edit source":"Modifica sorgente","Editor block content toolbar":"Barra degli strumenti contestuale dell'editor del blocco","Editor contextual toolbar":"Barra degli strumenti contestuale dell'editor","Editor editing area: %0":"Area di modifica dell'editor: %0","Editor toolbar":"Barra degli strumenti dell'editor","Empty snippet content":"Contenuto frammento di codice vuoto","Enter image caption":"inserire didascalia dell'immagine","Enter table caption":"Inserire la didascalia della tabella","Font Background Color":"Colore di sfondo caratteri","Font Color":"Colore caratteri","Font Family":"Tipo di caratteri","Font Size":"Dimensione caratteri","Full size image":"Immagine a dimensione intera",Green:"Verde","Green marker":"Contrassegno verde","Green pen":"Penna verde",Grey:"Grigio",Groove:"Scanalatura","Header column":"Intestazione colonna","Header row":"Riga d'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",Height:"Altezza",HEX:"HEX",Highlight:"Evidenzia","Horizontal line":"Linea orizzontale","Horizontal text alignment toolbar":"Barra degli strumenti dell'allineamento orizzontale del testo","HTML snippet":"Frammento HTML",Huge:"Grandissimi","Image resize list":"Elenco ridimensionamenti immagine","Image toolbar":"Barra degli strumenti dell'immagine","image widget":"Widget immagine","In line":"In linea","Increase indent":"Aumenta rientro",Insert:"Inserisci","Insert code block":"Inserisci blocco di codice","Insert column left":"Inserisci colonna a sinistra","Insert column right":"Inserisci colonna a destra","Insert HTML":"Inserisci HTML","Insert image":"Inserisci immagine","Insert image via URL":"Inserisci immagine tramite URL","Insert paragraph after block":"Inserisci paragrafo dopo blocco","Insert paragraph before block":"Inserisci paragrafo prima di blocco","Insert row above":"Inserisci riga sopra","Insert row below":"Inserisci riga sotto","Insert table":"Inserisci tabella",Inset:"Incassato",Italic:"Corsivo",Justify:"Giustifica","Justify cell text":"Testo della cella giustificato","Left aligned image":"Immagine allineata a sinistra","Light blue":"Azzurro","Light green":"Verde chiaro","Light grey":"Grigio chiaro",Link:"Collegamento","Link image":"Collega immagine","Link URL":"URL del collegamento","List properties":"Proprietà elenco","Lower-latin":"Lettera minuscola","Lower–roman":"Numero romano minuscolo","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",Next:"Avanti","No preview available":"Nessuna anteprima disponibile",None:"Nessuno","Numbered List":"Elenco numerato","Numbered list styles toolbar":"Barra degli strumenti con gli stili degli elenchi numerati","Open in a new tab":"Apri in una nuova scheda","Open link in new tab":"Apri collegamento in nuova scheda",Orange:"Arancio",Original:"Originale",Outset:"Rialzato",Padding:"Spaziatura interna",Paragraph:"Paragrafo","Paste raw HTML here...":"Incolla qui HTML non elaborato...","Pink marker":"Contrassegno rosa","Plain text":"Testo semplice","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","Red pen":"Penna rossa",Redo:"Ripristina","Remove color":"Rimuovi colore","Remove Format":"Rimuovi formato","Remove highlight":"Rimuovi evidenziazione","Resize image":"Ridimensiona immagine","Resize image to %0":"Ridimensiona immagine a %0","Resize image to the original size":"Ridimensiona immagine alle dimensioni originali","Restore default":"Ripristina predefinito","Reversed order":"Ordine inverso","Rich Text Editor":"Editor di testo formattato",Ridge:"Rilievo","Right aligned image":"Immagine allineata a destra",Row:"Riga",Save:"Salva","Save changes":"Salva modifiche","Saving changes":"Salvataggio modifiche","Select all":"Seleziona tutto","Select column":"Seleziona colonna","Select row":"Seleziona riga","Show more items":"Mostra più elementi","Side image":"Immagine laterale",Small:"Piccoli",Solid:"Solido","Split cell horizontally":"Dividi cella orizzontalmente","Split cell vertically":"Dividi cella verticalmente",Square:"Quadrato","Start at":"Inizia da","Start index must be greater than 0.":"L'indice iniziale deve essere maggiore di 0.",Strikethrough:"Barrato",Style:"Stile",Subscript:"Pedice",Superscript:"Apice","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","Text alignment":"Allineamento del testo","Text alignment toolbar":"Barra degli strumenti dell'allineamento","Text alternative":"Testo alternativo","Text highlight toolbar":"Barra degli strumenti dell'evidenziazione del testo",'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".',"This link has no URL":"Questo collegamento non ha un URL",Tiny:"Piccolissimi","To-do List":"Elenco cose da fare","Toggle caption off":"Attiva didascalia","Toggle caption on":"Disattiva didascalia","Toggle the circle list style":"Attiva/disattiva lo stile degli elenchi con cerchi","Toggle the decimal list style":"Attiva/disattiva lo stile degli elenchi con numeri","Toggle the decimal with leading zero list style":"Attiva/disattiva lo stile degli elenchi con numeri con zero anteposto","Toggle the disc list style":"Attiva/disattiva lo stile degli elenchi con dischi","Toggle the lower–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere minuscole","Toggle the lower–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani minuscoli","Toggle the square list style":"Attiva/disattiva lo stile degli elenchi con quadrati","Toggle the upper–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere maiuscole","Toggle the upper–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani maiuscoli",Turquoise:"Turchese","Type or paste your content here.":"Inserire o incollare qui il proprio contenuto.","Type your title":"Inserire il proprio titolo",Underline:"Sottolineato",Undo:"Annulla",Unlink:"Elimina collegamento",Update:"Aggiorna","Update image URL":"Aggiorna URL immagine","Upload failed":"Caricamento fallito","Upload in progress":"Caricamento in corso","Upper-latin":"Lettera maiuscola","Upper-roman":"Numero romano maiuscolo","Vertical text alignment toolbar":"Barra degli strumenti dell'allineamento verticale del testo",White:"Bianco","Widget toolbar":"Barra degli strumenti del widget",Width:"Larghezza","Wrap text":"Testo a capo",Yellow:"Giallo","Yellow marker":"Contrassegno 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
index 3970b186a01891afae57f9a945af276403a996e4..9e305d1d70dbc8198b04093ed3eda7fc57f8ab2c 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0/%1","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 center":"中央揃え","Align left":"左揃え","Align right":"右揃え","Align table to the left":"テーブルを左へ寄せる","Align table to the right":"テーブルを右へ寄せる",Alignment:"配置",Aquamarine:"薄い青緑",Background:"背景",Big:"大",Black:"黒","Block quote":"ブロッククオート(引用)",Blue:"青","Blue marker":"青のマーカー",Bold:"ボールド",Border:"罫線","Break text":"テキストを分割する","Bulleted List":"箇条書きリスト","Bulleted list styles toolbar":"箇条書きリストスタイルのツールバー",Cancel:"キャンセル","Caption for image: %0":"画像キャプション:%0","Caption for the image":"画像キャプション","Cell properties":"セルのプロパティ","Center table":"テーブルを中央へ寄せる","Centered image":"中央寄せ画像","Change image text alternative":"画像の代替テキストを変更","Choose heading":"見出しを選択",Circle:"白い丸",Code:"コード",Color:"色","Color picker":"カラーピッカー",Column:"列",Dashed:"破線",Decimal:"10進数の数値","Decimal with leading zero":"10進数の数値の前に0がつく","Decrease indent":"インデントの削除",Default:"デフォルト","Delete column":"列を削除","Delete row":"行を削除","Dim grey":"暗い灰色",Dimensions:"寸法",Disc:"黒い丸","Document colors":"ドキュメント背景色",Dotted:"点線",Double:"2本線",Downloadable:"ダウンロード可能","Dropdown toolbar":"ドロップダウンツールバー","Edit block":"ブロックを編集","Edit link":"リンクを編集","Edit source":"ソースを編集","Editor block content toolbar":"エディター ブロック コンテンツ ツールバー","Editor contextual toolbar":"エディター コンテクスト ツールバー","Editor editing area: %0":"エディタ編集エリア:%0","Editor toolbar":"エディタツールバー","Empty snippet content":"スニペットのコンテンツを空にする","Enter image caption":"画像の注釈を入力","Enter table caption":"テーブルキャプションを入力","Font Background Color":"背景色","Font Color":"文字色","Font Family":"フォントファミリー","Font Size":"フォントサイズ","Full size image":"フルサイズ画像",Green:"緑","Green marker":"緑のマーカー","Green pen":"緑のペン",Grey:"灰色",Groove:"立体的にくぼんだ線","Header column":"見出し列","Header row":"見出し行",Heading:"見出し","Heading 1":"見出し1","Heading 2":"見出し2","Heading 3":"見出し3 ","Heading 4":"見出し4","Heading 5":"見出し5","Heading 6":"見出し6",Height:"高さ",Highlight:"ハイライト","Horizontal line":"区切り","Horizontal text alignment toolbar":"水平方向のテキスト配置ツールバー","HTML snippet":"HTMLスニペット",Huge:"極大","Image resize list":"画像サイズリスト","Image toolbar":"画像","image widget":"画像ウィジェット","In line":"インライン","Increase indent":"インデントの追加",Insert:"挿入","Insert code block":"コードブロックの挿入","Insert column left":"左に列を挿入","Insert column right":"右に列を挿入","Insert HTML":"HTMLを挿入","Insert image":"画像挿入","Insert image via URL":"画像URLを挿入","Insert paragraph after block":"ブロックの後にパラグラフを挿入","Insert paragraph before block":"ブロックの前にパラグラフを挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Insert table":"表の挿入",Inset:"内側全体がくぼんだ線",Italic:"イタリック",Justify:"両端揃え","Justify cell text":"セルのテキストを両端へ揃える","Left aligned image":"左寄せ画像","Light blue":"明るい青","Light green":"明るい緑","Light grey":"明るい灰色",Link:"リンク","Link image":"リンク画像","Link URL":"リンクURL","List properties":"リストのプロパティ","Lower-latin":"小文字アルファベット","Lower–roman":"小文字ローマ数字","Merge cell down":"下のセルと結合","Merge cell left":"左のセルと結合","Merge cell right":"右のセルと結合","Merge cell up":"上のセルと結合","Merge cells":"セルを結合",Next:"次へ","No preview available":"プレビューは使用できません",None:"なし","Numbered List":"番号付きリスト","Numbered list styles toolbar":"番号付きリストスタイルのツールバー","Open in a new tab":"新しいタブで開く","Open link in new tab":"新しいタブでリンクを開く",Orange:"オレンジ",Original:"オリジナル",Outset:"内側全体が隆起した線",Padding:"パディング",Paragraph:"段落","Paste raw HTML here...":"ここにRaw HTMLを貼り付ける...","Pink marker":"ピンクのマーカー","Plain text":"プレインテキスト","Press Enter to type after or press Shift + Enter to type before the widget":"Enterを押してウィジェットの後に入力するか、Shift + Enterを押してウィジェットの前に入力してください",Previous:"前へ",Purple:"紫",Red:"赤","Red pen":"赤のマーカー",Redo:"やり直し","Remove color":"カラーを削除","Remove Format":"フォーマットの削除","Remove highlight":"ハイライトの削除","Resize image":"画像サイズ","Resize image to %0":"画像サイズを%0に変更","Resize image to the original size":"画像サイズを元のサイズに変更","Restore default":"初期値に戻す","Reversed order":"逆順","Rich Text Editor":"リッチテキストエディター",Ridge:"立体的に隆起した線","Right aligned image":"右寄せ画像",Row:"行",Save:"保存","Save changes":"変更を保存","Saving changes":"変更を保存中","Select all":"すべて選択","Select column":"列を選択","Select row":"行を選択","Show more items":"他の項目を表示","Side image":"サイドイメージ",Small:"小",Solid:"1本線","Split cell horizontally":"縦にセルを分離","Split cell vertically":"横にセルを分離",Square:"黒い四角","Start at":"開始数字","Start index must be greater than 0.":"開始インデックスは0より大きくなければいけません。",Strikethrough:"取り消し線",Style:"スタイル",Subscript:"下付き文字",Superscript:"上付き文字","Table alignment toolbar":"テーブル配置ツールバー","Table cell text alignment":"テーブルセルのテキスト配置","Table properties":"テーブルのプロパティ","Table toolbar":"テーブルのツールバー","Text alignment":"文字揃え","Text alignment toolbar":"テキストの整列","Text alternative":"代替テキスト","Text highlight 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」をお試しください。","This link has no URL":"リンクにURLが設定されていません",Tiny:"極小","To-do List":"やることリスト","Toggle caption off":"キャプションをオフにする","Toggle caption on":"キャプションをオンにする","Toggle the circle list style":"白い丸リストスタイルを切り替える","Toggle the decimal list style":"10進数リストスタイルを切り替える","Toggle the decimal with leading zero list style":"10進数の数値の前に0がつくリストスタイルを切り替える","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":"大文字ローマ数字リストスタイルを切り替える",Turquoise:"水色","Type or paste your content here.":"コンテンツをここに入力または貼り付けしてください。","Type your title":"タイトルを入力",Underline:"アンダーライン",Undo:"元に戻す",Unlink:"リンク解除",Update:"更新","Update image URL":"画像URLを更新","Upload failed":"アップロード失敗","Upload in progress":"アップロード中","Upper-latin":"大文字アルファベット","Upper-roman":"大文字ローマ数字","Vertical text alignment toolbar":"垂直方向のテキスト配置ツールバー",White:"白","Widget toolbar":"ウィジェットツールバー",Width:"幅","Wrap text":"テキストを折り返す",Yellow:"黄","Yellow marker":"黄色のマーカー"}),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||{},{"%0 of %1":"%0/%1",Accept:"","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 center":"中央揃え","Align left":"左揃え","Align right":"右揃え","Align table to the left":"テーブルを左へ寄せる","Align table to the right":"テーブルを右へ寄せる",Alignment:"配置",Aquamarine:"薄い青緑",Background:"背景",Big:"大",Black:"黒","Block quote":"ブロッククオート(引用)",Blue:"青","Blue marker":"青のマーカー",Bold:"ボールド",Border:"罫線","Break text":"テキストを分割する","Bulleted List":"箇条書きリスト","Bulleted list styles toolbar":"箇条書きリストスタイルのツールバー",Cancel:"キャンセル","Caption for image: %0":"画像キャプション:%0","Caption for the image":"画像キャプション","Cell properties":"セルのプロパティ","Center table":"テーブルを中央へ寄せる","Centered image":"中央寄せ画像","Change image text alternative":"画像の代替テキストを変更","Choose heading":"見出しを選択",Circle:"白い丸",Code:"コード",Color:"色","Color picker":"カラーピッカー",Column:"列",Dashed:"破線",Decimal:"10進数の数値","Decimal with leading zero":"10進数の数値の前に0がつく","Decrease indent":"インデントの削除",Default:"デフォルト","Delete column":"列を削除","Delete row":"行を削除","Dim grey":"暗い灰色",Dimensions:"寸法",Disc:"黒い丸","Document colors":"ドキュメント背景色",Dotted:"点線",Double:"2本線",Downloadable:"ダウンロード可能","Dropdown toolbar":"ドロップダウンツールバー","Edit block":"ブロックを編集","Edit link":"リンクを編集","Edit source":"ソースを編集","Editor block content toolbar":"エディター ブロック コンテンツ ツールバー","Editor contextual toolbar":"エディター コンテクスト ツールバー","Editor editing area: %0":"エディタ編集エリア:%0","Editor toolbar":"エディタツールバー","Empty snippet content":"スニペットのコンテンツを空にする","Enter image caption":"画像の注釈を入力","Enter table caption":"テーブルキャプションを入力","Font Background Color":"背景色","Font Color":"文字色","Font Family":"フォントファミリー","Font Size":"フォントサイズ","Full size image":"フルサイズ画像",Green:"緑","Green marker":"緑のマーカー","Green pen":"緑のペン",Grey:"灰色",Groove:"立体的にくぼんだ線","Header column":"見出し列","Header row":"見出し行",Heading:"見出し","Heading 1":"見出し1","Heading 2":"見出し2","Heading 3":"見出し3 ","Heading 4":"見出し4","Heading 5":"見出し5","Heading 6":"見出し6",Height:"高さ",HEX:"",Highlight:"ハイライト","Horizontal line":"区切り","Horizontal text alignment toolbar":"水平方向のテキスト配置ツールバー","HTML snippet":"HTMLスニペット",Huge:"極大","Image resize list":"画像サイズリスト","Image toolbar":"画像","image widget":"画像ウィジェット","In line":"インライン","Increase indent":"インデントの追加",Insert:"挿入","Insert code block":"コードブロックの挿入","Insert column left":"左に列を挿入","Insert column right":"右に列を挿入","Insert HTML":"HTMLを挿入","Insert image":"画像挿入","Insert image via URL":"画像URLを挿入","Insert paragraph after block":"ブロックの後にパラグラフを挿入","Insert paragraph before block":"ブロックの前にパラグラフを挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Insert table":"表の挿入",Inset:"内側全体がくぼんだ線",Italic:"イタリック",Justify:"両端揃え","Justify cell text":"セルのテキストを両端へ揃える","Left aligned image":"左寄せ画像","Light blue":"明るい青","Light green":"明るい緑","Light grey":"明るい灰色",Link:"リンク","Link image":"リンク画像","Link URL":"リンクURL","List properties":"リストのプロパティ","Lower-latin":"小文字アルファベット","Lower–roman":"小文字ローマ数字","Merge cell down":"下のセルと結合","Merge cell left":"左のセルと結合","Merge cell right":"右のセルと結合","Merge cell up":"上のセルと結合","Merge cells":"セルを結合",Next:"次へ","No preview available":"プレビューは使用できません",None:"なし","Numbered List":"番号付きリスト","Numbered list styles toolbar":"番号付きリストスタイルのツールバー","Open in a new tab":"新しいタブで開く","Open link in new tab":"新しいタブでリンクを開く",Orange:"オレンジ",Original:"オリジナル",Outset:"内側全体が隆起した線",Padding:"パディング",Paragraph:"段落","Paste raw HTML here...":"ここにRaw HTMLを貼り付ける...","Pink marker":"ピンクのマーカー","Plain text":"プレインテキスト","Press Enter to type after or press Shift + Enter to type before the widget":"Enterを押してウィジェットの後に入力するか、Shift + Enterを押してウィジェットの前に入力してください",Previous:"前へ",Purple:"紫",Red:"赤","Red pen":"赤のマーカー",Redo:"やり直し","Remove color":"カラーを削除","Remove Format":"フォーマットの削除","Remove highlight":"ハイライトの削除","Resize image":"画像サイズ","Resize image to %0":"画像サイズを%0に変更","Resize image to the original size":"画像サイズを元のサイズに変更","Restore default":"初期値に戻す","Reversed order":"逆順","Rich Text Editor":"リッチテキストエディター",Ridge:"立体的に隆起した線","Right aligned image":"右寄せ画像",Row:"行",Save:"保存","Save changes":"変更を保存","Saving changes":"変更を保存中","Select all":"すべて選択","Select column":"列を選択","Select row":"行を選択","Show more items":"他の項目を表示","Side image":"サイドイメージ",Small:"小",Solid:"1本線","Split cell horizontally":"縦にセルを分離","Split cell vertically":"横にセルを分離",Square:"黒い四角","Start at":"開始数字","Start index must be greater than 0.":"開始インデックスは0より大きくなければいけません。",Strikethrough:"取り消し線",Style:"スタイル",Subscript:"下付き文字",Superscript:"上付き文字","Table alignment toolbar":"テーブル配置ツールバー","Table cell text alignment":"テーブルセルのテキスト配置","Table properties":"テーブルのプロパティ","Table toolbar":"テーブルのツールバー","Text alignment":"文字揃え","Text alignment toolbar":"テキストの整列","Text alternative":"代替テキスト","Text highlight 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」をお試しください。","This link has no URL":"リンクにURLが設定されていません",Tiny:"極小","To-do List":"やることリスト","Toggle caption off":"キャプションをオフにする","Toggle caption on":"キャプションをオンにする","Toggle the circle list style":"白い丸リストスタイルを切り替える","Toggle the decimal list style":"10進数リストスタイルを切り替える","Toggle the decimal with leading zero list style":"10進数の数値の前に0がつくリストスタイルを切り替える","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":"大文字ローマ数字リストスタイルを切り替える",Turquoise:"水色","Type or paste your content here.":"コンテンツをここに入力または貼り付けしてください。","Type your title":"タイトルを入力",Underline:"アンダーライン",Undo:"元に戻す",Unlink:"リンク解除",Update:"更新","Update image URL":"画像URLを更新","Upload failed":"アップロード失敗","Upload in progress":"アップロード中","Upper-latin":"大文字アルファベット","Upper-roman":"大文字ローマ数字","Vertical text alignment toolbar":"垂直方向のテキスト配置ツールバー",White:"白","Widget toolbar":"ウィジェットツールバー",Width:"幅","Wrap text":"テキストを折り返す",Yellow:"黄","Yellow marker":"黄色のマーカー"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index d825eaa49b353a51ece6dca7ed01713fb0713f70..09c64e36d1c1fa180a45f1409fb0780a9a363f65 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.jv=e.jv||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 saking %1","Align center":"Rata tengah","Align left":"Rata kiwa","Align right":"Rata tengen",Big:"Ageng","Blue marker":"Penandha biru",Bold:"Kandhel","Break text":"","Bulleted List":"","Bulleted list styles toolbar":"",Cancel:"Batal","Caption for image: %0":"","Caption for the image":"","Centered image":"Gambar ing tengah","Change image text alternative":"","Choose heading":"",Circle:"Bunder",Code:"Kode",Decimal:"","Decimal with leading zero":"",Default:"Default",Disc:"Kaset","Document colors":"Warni dokumen","Edit source":"","Empty snippet content":"","Enter image caption":"","Font Background Color":"Warni Latar Aksara","Font Color":"Warni aksara","Font Family":"Jinising Aksara","Font Size":"Ukuran aksara","Full size image":"Gambar ukuran kebak","Green marker":"Panandha ijem","Green pen":"Pen ijem",Heading:"","Heading 1":"","Heading 2":"","Heading 3":"","Heading 4":"","Heading 5":"","Heading 6":"",Highlight:"Sorot","Horizontal line":"Garis horisontal","HTML snippet":"",Huge:"Langkung ageng","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"Tambah","Insert code block":"","Insert HTML":"Tambahaken HTML","Insert image":"Tambahaken gambar","Insert image via URL":"Tambah gambar saking URL",Italic:"Miring",Justify:"Rata kiwa tengen","Left aligned image":"Gambar ing kiwa","List properties":"","Lower-latin":"","Lower–roman":"","No preview available":"","Numbered List":"","Numbered list styles toolbar":"",Original:"Asli",Paragraph:"","Paste raw HTML here...":"","Pink marker":"Penandha abrit jambon","Plain text":"Seratan biasa","Red pen":"Penandha abrit","Remove color":"Busek warni","Remove highlight":"Busek sorot","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"Mangsulaken default","Reversed order":"Dipunwangsul","Right aligned image":"Gambar ing tengen",Save:"Rimat","Save changes":"","Saving changes":"Nyimpen perubahan","Show more items":"Tampilaken langkung kathah","Side image":"",Small:"Alit",Square:"Kotak","Start at":"Wiwit saking","Start index must be greater than 0.":"",Strikethrough:"Seratan dicoret",Subscript:"",Superscript:"","Text alignment":"Perataan seratan","Text alignment toolbar":"","Text alternative":"","Text highlight toolbar":"",Tiny:"Langkung alit","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":"","Type or paste your content here.":"Serataken utawi nyukani babagan ing ngriki","Type your title":"Serataken irah-irahan",Underline:"Garis ngandhap",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"","Wrap text":"","Yellow marker":"Panandha jene"}),a.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
+!function(e){const a=e.jv=e.jv||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 saking %1",Accept:"","Align center":"Rata tengah","Align left":"Rata kiwa","Align right":"Rata tengen",Big:"Ageng","Blue marker":"Penandha biru",Bold:"Kandhel","Break text":"","Bulleted List":"","Bulleted list styles toolbar":"",Cancel:"Batal","Caption for image: %0":"","Caption for the image":"","Centered image":"Gambar ing tengah","Change image text alternative":"","Choose heading":"",Circle:"Bunder",Code:"Kode",Decimal:"","Decimal with leading zero":"",Default:"Default",Disc:"Kaset","Document colors":"Warni dokumen","Edit source":"","Empty snippet content":"","Enter image caption":"","Font Background Color":"Warni Latar Aksara","Font Color":"Warni aksara","Font Family":"Jinising Aksara","Font Size":"Ukuran aksara","Full size image":"Gambar ukuran kebak","Green marker":"Panandha ijem","Green pen":"Pen ijem",Heading:"","Heading 1":"","Heading 2":"","Heading 3":"","Heading 4":"","Heading 5":"","Heading 6":"",Highlight:"Sorot","Horizontal line":"Garis horisontal","HTML snippet":"",Huge:"Langkung ageng","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"Tambah","Insert code block":"","Insert HTML":"Tambahaken HTML","Insert image":"Tambahaken gambar","Insert image via URL":"Tambah gambar saking URL",Italic:"Miring",Justify:"Rata kiwa tengen","Left aligned image":"Gambar ing kiwa","List properties":"","Lower-latin":"","Lower–roman":"","No preview available":"","Numbered List":"","Numbered list styles toolbar":"",Original:"Asli",Paragraph:"","Paste raw HTML here...":"","Pink marker":"Penandha abrit jambon","Plain text":"Seratan biasa","Red pen":"Penandha abrit","Remove color":"Busek warni","Remove highlight":"Busek sorot","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"Mangsulaken default","Reversed order":"Dipunwangsul","Right aligned image":"Gambar ing tengen",Save:"Rimat","Save changes":"","Saving changes":"Nyimpen perubahan","Show more items":"Tampilaken langkung kathah","Side image":"",Small:"Alit",Square:"Kotak","Start at":"Wiwit saking","Start index must be greater than 0.":"",Strikethrough:"Seratan dicoret",Subscript:"",Superscript:"","Text alignment":"Perataan seratan","Text alignment toolbar":"","Text alternative":"","Text highlight toolbar":"",Tiny:"Langkung alit","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":"","Type or paste your content here.":"Serataken utawi nyukani babagan ing ngriki","Type your title":"Serataken irah-irahan",Underline:"Garis ngandhap",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"","Wrap text":"","Yellow marker":"Panandha jene"}),a.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index ca18d243386b50aa64499b42865f25c211d3df3f..122933eeabe5f663e568a02ef1fde9472b5d7d92 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.km=e.km||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","Align center":"តម្រឹម​កណ្ដាល","Align left":"តម្រឹម​ឆ្វេង","Align right":"តម្រឹម​ស្ដាំ",Aquamarine:"",Black:"","Block quote":"ប្លុក​ពាក្យ​សម្រង់",Blue:"",Bold:"ដិត","Break text":"","Bulleted List":"បញ្ជី​ជា​ចំណុច","Bulleted list styles toolbar":"",Cancel:"បោះបង់","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"","Choose heading":"ជ្រើសរើស​ក្បាលអត្ថបទ",Circle:"",Code:"កូដ",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"បញ្ចូល​ពាក្យ​ពណ៌នា​រូបភាព","Full size image":"រូបភាព​ពេញ​ទំហំ",Green:"",Grey:"",Heading:"ក្បាលអត្ថបទ","Heading 1":"ក្បាលអត្ថបទ 1","Heading 2":"ក្បាលអត្ថបទ 2","Heading 3":"ក្បាលអត្ថបទ 3","Heading 4":"","Heading 5":"","Heading 6":"","Image resize list":"","Image toolbar":"","image widget":"វិដជិត​រូបភាព","In line":"",Insert:"","Insert image":"បញ្ចូល​រូបភាព","Insert image via URL":"",Italic:"ទ្រេត",Justify:"តម្រឹម​សងខាង","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"តំណ","Link image":"","Link URL":"URL តំណ","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"បញ្ជី​ជា​លេខ","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"កថាខណ្ឌ",Previous:"",Purple:"",Red:"",Redo:"ធ្វើ​វិញ","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"កម្មវិធី​កែសម្រួល​អត្ថបទ​សម្បូរបែប","Right aligned image":"",Save:"រក្សាទុ","Saving changes":"កំពុង​រក្សាទុក​ការផ្លាស់ប្ដូរ","Show more items":"","Side image":"រូបភាព​នៅ​ខាង",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"ឆូតកណ្ដាល",Subscript:"អក្សរ​តូចក្រោម",Superscript:"អក្សរ​តូចលើ","Text alignment":"ការ​តម្រឹម​អក្សរ","Text alignment toolbar":"របារ​ឧបករណ៍​តម្រឹម​អក្សរ","Text alternative":"","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"គូស​បន្ទាត់​ក្រោម",Undo:"លែង​ធ្វើ​វិញ",Unlink:"ផ្ដាច់​តំណ",Update:"","Update image URL":"","Upload failed":"អាប់ឡូត​មិនបាន","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",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||{},{"%0 of %1":"","Align center":"តម្រឹម​កណ្ដាល","Align left":"តម្រឹម​ឆ្វេង","Align right":"តម្រឹម​ស្ដាំ",Aquamarine:"",Black:"","Block quote":"ប្លុក​ពាក្យ​សម្រង់",Blue:"",Bold:"ដិត","Break text":"","Bulleted List":"បញ្ជី​ជា​ចំណុច","Bulleted list styles toolbar":"",Cancel:"បោះបង់","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"","Choose heading":"ជ្រើសរើស​ក្បាលអត្ថបទ",Circle:"",Code:"កូដ",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"បញ្ចូល​ពាក្យ​ពណ៌នា​រូបភាព","Full size image":"រូបភាព​ពេញ​ទំហំ",Green:"",Grey:"",Heading:"ក្បាលអត្ថបទ","Heading 1":"ក្បាលអត្ថបទ 1","Heading 2":"ក្បាលអត្ថបទ 2","Heading 3":"ក្បាលអត្ថបទ 3","Heading 4":"","Heading 5":"","Heading 6":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"វិដជិត​រូបភាព","In line":"",Insert:"","Insert image":"បញ្ចូល​រូបភាព","Insert image via URL":"",Italic:"ទ្រេត",Justify:"តម្រឹម​សងខាង","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"តំណ","Link image":"","Link URL":"URL តំណ","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"បញ្ជី​ជា​លេខ","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"កថាខណ្ឌ",Previous:"",Purple:"",Red:"",Redo:"ធ្វើ​វិញ","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"កម្មវិធី​កែសម្រួល​អត្ថបទ​សម្បូរបែប","Right aligned image":"",Save:"រក្សាទុ","Saving changes":"កំពុង​រក្សាទុក​ការផ្លាស់ប្ដូរ","Show more items":"","Side image":"រូបភាព​នៅ​ខាង",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"ឆូតកណ្ដាល",Subscript:"អក្សរ​តូចក្រោម",Superscript:"អក្សរ​តូចលើ","Text alignment":"ការ​តម្រឹម​អក្សរ","Text alignment toolbar":"របារ​ឧបករណ៍​តម្រឹម​អក្សរ","Text alternative":"","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"គូស​បន្ទាត់​ក្រោម",Undo:"លែង​ធ្វើ​វិញ",Unlink:"ផ្ដាច់​តំណ",Update:"","Update image URL":"","Upload failed":"អាប់ឡូត​មិនបាន","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index dd9358485732d5473dafd46e69487349d5370d75..a24ff7a388f837c5bbbb138c01ce84b7fba1f294 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.kn=e.kn||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"","Block quote":"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ",Blue:"",Bold:"‍‍ದಪ್ಪ","Break text":"","Bulleted List":"‍‍ಬುಲೆಟ್ ಪಟ್ಟಿ","Bulleted list styles toolbar":"",Cancel:"ರದ್ದುಮಾಡು","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"‍ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು","Choose heading":"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",Circle:"",Code:"",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"‍ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು","Full size image":"‍ಪೂರ್ಣ ‍‍ಅಳತೆಯ ಚಿತ್ರ",Green:"",Grey:"",Heading:"ಶೀರ್ಷಿಕೆ","Heading 1":"ಶೀರ್ಷಿಕೆ 1","Heading 2":"ಶೀರ್ಷಿಕೆ 2","Heading 3":"ಶೀರ್ಷಿಕೆ 3","Heading 4":"","Heading 5":"","Heading 6":"","Image resize list":"","Image toolbar":"","image widget":"‍ಚಿತ್ರ ವಿಜೆಟ್","In line":"",Insert:"","Insert image":"","Insert image via URL":"",Italic:"‍ಇಟಾಲಿಕ್","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"‍ಕೊಂಡಿ","Link image":"","Link URL":"‍ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"‍ಸಂಖ್ಯೆಯ ಪಟ್ಟಿ‍","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"ಪ್ಯಾರಾಗ್ರಾಫ್",Previous:"",Purple:"",Red:"",Redo:"‍ಮತ್ತೆ ಮಾಡು","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"‍ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ‍‍","Right aligned image":"",Save:"ಉಳಿಸು","Show more items":"","Side image":"‍ಪಕ್ಕದ ಚಿತ್ರ",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"‍ಪಠ್ಯದ ಬದಲಿ","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"",Undo:"‍‍ರದ್ದು",Unlink:"‍ಕೊಂಡಿ ತೆಗೆ",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",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||{},{"%0 of %1":"",Aquamarine:"",Black:"","Block quote":"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ",Blue:"",Bold:"‍‍ದಪ್ಪ","Break text":"","Bulleted List":"‍‍ಬುಲೆಟ್ ಪಟ್ಟಿ","Bulleted list styles toolbar":"",Cancel:"ರದ್ದುಮಾಡು","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"‍ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು","Choose heading":"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",Circle:"",Code:"",Decimal:"","Decimal with leading zero":"","Dim grey":"",Disc:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"‍ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು","Full size image":"‍ಪೂರ್ಣ ‍‍ಅಳತೆಯ ಚಿತ್ರ",Green:"",Grey:"",Heading:"ಶೀರ್ಷಿಕೆ","Heading 1":"ಶೀರ್ಷಿಕೆ 1","Heading 2":"ಶೀರ್ಷಿಕೆ 2","Heading 3":"ಶೀರ್ಷಿಕೆ 3","Heading 4":"","Heading 5":"","Heading 6":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"‍ಚಿತ್ರ ವಿಜೆಟ್","In line":"",Insert:"","Insert image":"","Insert image via URL":"",Italic:"‍ಇಟಾಲಿಕ್","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"‍ಕೊಂಡಿ","Link image":"","Link URL":"‍ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು","List properties":"","Lower-latin":"","Lower–roman":"",Next:"","Numbered List":"‍ಸಂಖ್ಯೆಯ ಪಟ್ಟಿ‍","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Paragraph:"ಪ್ಯಾರಾಗ್ರಾಫ್",Previous:"",Purple:"",Red:"",Redo:"‍ಮತ್ತೆ ಮಾಡು","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"‍ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ‍‍","Right aligned image":"",Save:"ಉಳಿಸು","Show more items":"","Side image":"‍ಪಕ್ಕದ ಚಿತ್ರ",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"‍ಪಠ್ಯದ ಬದಲಿ","This link has no URL":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"",Undo:"‍‍ರದ್ದು",Unlink:"‍ಕೊಂಡಿ ತೆಗೆ",Update:"","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 8dad0f5c44b35d9a7fc6b1690aeb2e7afe2ac4a1..eeb5bb378e1cf336a5827c37b5eb7174dca0d87b 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ko=e.ko||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 / %1","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 center":"가운데 정렬","Align left":"왼쪽 정렬","Align right":"오른쪽 정렬","Align table to the left":"테이블을 왼쪽으로 정렬","Align table to the right":"테이블을 오른쪽으로 정렬",Alignment:"정렬",Aquamarine:"연한 청록색",Background:"배경색",Big:"큰",Black:"검은색","Block quote":"인용 단락",Blue:"파랑색","Blue marker":"파란색 마커",Bold:"굵게",Border:"테두리","Break text":"텍스트 분리","Bulleted List":"불릿 목록","Bulleted list styles toolbar":"글머리 기호 목록 스타일 도구 모음",Cancel:"취소","Caption for image: %0":"이미지용 캡션: %0","Caption for the image":"이미지용 캡션","Cell properties":"셀 속성","Center table":"테이블을 가운데로 정렬","Centered image":"가운데 정렬","Change image text alternative":"대체 문구 변경","Choose heading":"제목 선택",Circle:"흰 원형",Code:"코드",Color:"색","Color picker":"색상 선택기",Column:"열",Dashed:"파선",Decimal:"십진수","Decimal with leading zero":"앞에 0이 붙는 십진수","Decrease indent":"들여쓰기 줄이기",Default:"기본","Delete column":"열 삭제","Delete row":"행 삭제","Dim grey":"진한 회색",Dimensions:"크기",Disc:"검은 원형","Document colors":"문서 색깔들",Dotted:"점선",Double:"이중선",Downloadable:"다운로드 가능","Dropdown toolbar":"드롭다운 툴바","Edit block":"편집 영역","Edit link":"링크 편집","Edit source":"소스 편집","Editor block content toolbar":"편집기 영역 내용 툴바","Editor contextual toolbar":"편집기 문맥 툴바","Editor editing area: %0":"편집기 편집 영역: %0","Editor toolbar":"편집기 툴바","Empty snippet content":"빈 코드 조각 내용","Enter image caption":"사진 설명을 입력하세요","Enter table caption":"테이블 캡션 입력","Font Background Color":"글자 배경 색깔","Font Color":"글자 색깔","Font Family":"글꼴 집합","Font Size":"글자 크기","Full size image":"꽉 찬 크기",Green:"초록색","Green marker":"초록색 마커","Green pen":"초록색 펜",Grey:"회색",Groove:"음각선","Header column":"헤더 열","Header row":"헤더 행",Heading:"제목","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4","Heading 5":"제목 5","Heading 6":"제목 6",Height:"세로",Highlight:"강조","Horizontal line":"수평선","Horizontal text alignment toolbar":"가로 텍스트 정렬 도구 모음","HTML snippet":"HTML 코드 조각",Huge:"매우 큰","Image resize list":"사진 크기 목록","Image toolbar":"사진 툴바","image widget":"사진 위젯","In line":"줄 안에","Increase indent":"들여쓰기 늘리기",Insert:"삽입","Insert code block":"코드 블럭 삽입","Insert column left":"왼쪽에 열 삽입","Insert column right":"오른쪽에 열 삽입","Insert HTML":"HTML 삽입","Insert image":"사진 삽입","Insert image via URL":"URL로 이미지 삽입","Insert paragraph after block":"블록 뒤에 단락 삽입","Insert paragraph before block":"블록 앞에 단락 삽입","Insert row above":"위에 행 삽입","Insert row below":"아래에 행 삽입","Insert table":"테이블 삽입",Inset:"측면 음각선",Italic:"기울임꼴",Justify:"양쪽 정렬","Justify cell text":"셀 텍스트를 양쪽으로 정렬","Left aligned image":"왼쪽 정렬","Light blue":"연한 파랑색","Light green":"연한 초록색","Light grey":"밝은 회색",Link:"링크","Link image":"사진 링크","Link URL":"링크 주소","List properties":"목록 속성","Lower-latin":"소문자 알파벳","Lower–roman":"소문자 로마자","Merge cell down":"아래 셀과 병합","Merge cell left":"왼쪽 셀과 병합","Merge cell right":"오른쪽 셀과 병합","Merge cell up":"위 셀과 병합","Merge cells":"셀 병합",Next:"다음","No preview available":"미리보기를 이용할 수 없습니다",None:"선 없음","Numbered List":"번호 목록","Numbered list styles toolbar":"번호 목록 스타일 도구 모음","Open in a new tab":"새 탭에서 열기","Open link in new tab":"새 탭에서 링크 열기",Orange:"주황색",Original:"원본",Outset:"측면 양각선",Padding:"여백",Paragraph:"문단","Paste raw HTML here...":"원시 HTML을 여기에 붙여넣으세요...","Pink marker":"분홍색 마커","Plain text":"평문","Press Enter to type after or press Shift + Enter to type before the widget":"엔터를 눌러서 위젯 뒤에 입력하거나 시프트 + 엔터를 눌러서 위젯 앞에 입력하세요",Previous:"이전",Purple:"보라색",Red:"빨간색","Red pen":"빨간색 펜",Redo:"다시 실행","Remove color":"색깔 제거","Remove Format":"서식 지우기","Remove highlight":"강조 제거","Resize image":"사진 크기 조절","Resize image to %0":"사진의 크기를 %0으로 조절","Resize image to the original size":"사진을 원래 크기로 돌려놓기","Restore default":"기본값 복원","Reversed order":"역순","Rich Text Editor":"서식 있는 텍스트 편집기",Ridge:"양각선","Right aligned image":"오른쪽 정렬",Row:"행",Save:"저장","Save changes":"변경사항 저장","Saving changes":"변경된 내용을 저장하고 있습니다","Select all":"전체 선택","Select column":"열 선택","Select row":"행 선택","Show more items":"더보기","Side image":"본문 옆에 배치",Small:"작은",Solid:"실선","Split cell horizontally":"가로로 셀 분할","Split cell vertically":"세로로 셀 분할",Square:"검은 사각형","Start at":"시작 번호","Start index must be greater than 0.":"시작 번호는 0보다 커야 합니다.",Strikethrough:"취소선",Style:"스타일",Subscript:"아래 첨자",Superscript:"위 첨자","Table alignment toolbar":"표 정렬 도구 모음","Table cell text alignment":"표 셀 텍스트 정렬","Table properties":"표 속성","Table toolbar":"표 도구 모음","Text alignment":"텍스트 정렬","Text alignment toolbar":"텍스트 정렬 툴바","Text alternative":"대체 문구","Text highlight 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"를 입력해 보세요.',"This link has no URL":"이 주소에는 URL이 없습니다.",Tiny:"매우 작은","To-do List":"확인 목록","Toggle caption off":"캡션 지우기","Toggle caption on":"캡션 넣기","Toggle the circle list style":"검은 원형 목록 스타일 전환","Toggle the decimal list style":"십진수 목록 스타일 전환","Toggle the decimal with leading zero list style":"앞에 0이 붙는 십진수 목록 스타일 전환","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":"대문자 로마자 목록 스타일 전환",Turquoise:"청록색","Type or paste your content here.":"여기에 내용을 입력하거나 붙여넣으세요.","Type your title":"제목을 입력해주세요",Underline:"밑줄",Undo:"실행 취소",Unlink:"링크 삭제",Update:"업데이트","Update image URL":"이미지 URL 업데이트","Upload failed":"업로드 실패","Upload in progress":"업로드 진행 중","Upper-latin":"대문자 알파벳","Upper-roman":"대문자 로마자","Vertical text alignment toolbar":"세로 텍스트 정렬 도구 모음",White:"흰색","Widget toolbar":"위젯 툴바",Width:"가로","Wrap text":"텍스트 줄 바꿈",Yellow:"노랑색","Yellow marker":"노란색 마커"}),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||{},{"%0 of %1":"%0 / %1",Accept:"","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 center":"가운데 정렬","Align left":"왼쪽 정렬","Align right":"오른쪽 정렬","Align table to the left":"테이블을 왼쪽으로 정렬","Align table to the right":"테이블을 오른쪽으로 정렬",Alignment:"정렬",Aquamarine:"연한 청록색",Background:"배경색",Big:"큰",Black:"검은색","Block quote":"인용 단락",Blue:"파랑색","Blue marker":"파란색 마커",Bold:"굵게",Border:"테두리","Break text":"텍스트 분리","Bulleted List":"불릿 목록","Bulleted list styles toolbar":"글머리 기호 목록 스타일 도구 모음",Cancel:"취소","Caption for image: %0":"이미지용 캡션: %0","Caption for the image":"이미지용 캡션","Cell properties":"셀 속성","Center table":"테이블을 가운데로 정렬","Centered image":"가운데 정렬","Change image text alternative":"대체 문구 변경","Choose heading":"제목 선택",Circle:"흰 원형",Code:"코드",Color:"색","Color picker":"색상 선택기",Column:"열",Dashed:"파선",Decimal:"십진수","Decimal with leading zero":"앞에 0이 붙는 십진수","Decrease indent":"들여쓰기 줄이기",Default:"기본","Delete column":"열 삭제","Delete row":"행 삭제","Dim grey":"진한 회색",Dimensions:"크기",Disc:"검은 원형","Document colors":"문서 색깔들",Dotted:"점선",Double:"이중선",Downloadable:"다운로드 가능","Dropdown toolbar":"드롭다운 툴바","Edit block":"편집 영역","Edit link":"링크 편집","Edit source":"소스 편집","Editor block content toolbar":"편집기 영역 내용 툴바","Editor contextual toolbar":"편집기 문맥 툴바","Editor editing area: %0":"편집기 편집 영역: %0","Editor toolbar":"편집기 툴바","Empty snippet content":"빈 코드 조각 내용","Enter image caption":"사진 설명을 입력하세요","Enter table caption":"테이블 캡션 입력","Font Background Color":"글자 배경 색깔","Font Color":"글자 색깔","Font Family":"글꼴 집합","Font Size":"글자 크기","Full size image":"꽉 찬 크기",Green:"초록색","Green marker":"초록색 마커","Green pen":"초록색 펜",Grey:"회색",Groove:"음각선","Header column":"헤더 열","Header row":"헤더 행",Heading:"제목","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4","Heading 5":"제목 5","Heading 6":"제목 6",Height:"세로",HEX:"",Highlight:"강조","Horizontal line":"수평선","Horizontal text alignment toolbar":"가로 텍스트 정렬 도구 모음","HTML snippet":"HTML 코드 조각",Huge:"매우 큰","Image resize list":"사진 크기 목록","Image toolbar":"사진 툴바","image widget":"사진 위젯","In line":"줄 안에","Increase indent":"들여쓰기 늘리기",Insert:"삽입","Insert code block":"코드 블럭 삽입","Insert column left":"왼쪽에 열 삽입","Insert column right":"오른쪽에 열 삽입","Insert HTML":"HTML 삽입","Insert image":"사진 삽입","Insert image via URL":"URL로 이미지 삽입","Insert paragraph after block":"블록 뒤에 단락 삽입","Insert paragraph before block":"블록 앞에 단락 삽입","Insert row above":"위에 행 삽입","Insert row below":"아래에 행 삽입","Insert table":"테이블 삽입",Inset:"측면 음각선",Italic:"기울임꼴",Justify:"양쪽 정렬","Justify cell text":"셀 텍스트를 양쪽으로 정렬","Left aligned image":"왼쪽 정렬","Light blue":"연한 파랑색","Light green":"연한 초록색","Light grey":"밝은 회색",Link:"링크","Link image":"사진 링크","Link URL":"링크 주소","List properties":"목록 속성","Lower-latin":"소문자 알파벳","Lower–roman":"소문자 로마자","Merge cell down":"아래 셀과 병합","Merge cell left":"왼쪽 셀과 병합","Merge cell right":"오른쪽 셀과 병합","Merge cell up":"위 셀과 병합","Merge cells":"셀 병합",Next:"다음","No preview available":"미리보기를 이용할 수 없습니다",None:"선 없음","Numbered List":"번호 목록","Numbered list styles toolbar":"번호 목록 스타일 도구 모음","Open in a new tab":"새 탭에서 열기","Open link in new tab":"새 탭에서 링크 열기",Orange:"주황색",Original:"원본",Outset:"측면 양각선",Padding:"여백",Paragraph:"문단","Paste raw HTML here...":"원시 HTML을 여기에 붙여넣으세요...","Pink marker":"분홍색 마커","Plain text":"평문","Press Enter to type after or press Shift + Enter to type before the widget":"엔터를 눌러서 위젯 뒤에 입력하거나 시프트 + 엔터를 눌러서 위젯 앞에 입력하세요",Previous:"이전",Purple:"보라색",Red:"빨간색","Red pen":"빨간색 펜",Redo:"다시 실행","Remove color":"색깔 제거","Remove Format":"서식 지우기","Remove highlight":"강조 제거","Resize image":"사진 크기 조절","Resize image to %0":"사진의 크기를 %0으로 조절","Resize image to the original size":"사진을 원래 크기로 돌려놓기","Restore default":"기본값 복원","Reversed order":"역순","Rich Text Editor":"서식 있는 텍스트 편집기",Ridge:"양각선","Right aligned image":"오른쪽 정렬",Row:"행",Save:"저장","Save changes":"변경사항 저장","Saving changes":"변경된 내용을 저장하고 있습니다","Select all":"전체 선택","Select column":"열 선택","Select row":"행 선택","Show more items":"더보기","Side image":"본문 옆에 배치",Small:"작은",Solid:"실선","Split cell horizontally":"가로로 셀 분할","Split cell vertically":"세로로 셀 분할",Square:"검은 사각형","Start at":"시작 번호","Start index must be greater than 0.":"시작 번호는 0보다 커야 합니다.",Strikethrough:"취소선",Style:"스타일",Subscript:"아래 첨자",Superscript:"위 첨자","Table alignment toolbar":"표 정렬 도구 모음","Table cell text alignment":"표 셀 텍스트 정렬","Table properties":"표 속성","Table toolbar":"표 도구 모음","Text alignment":"텍스트 정렬","Text alignment toolbar":"텍스트 정렬 툴바","Text alternative":"대체 문구","Text highlight 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"를 입력해 보세요.',"This link has no URL":"이 주소에는 URL이 없습니다.",Tiny:"매우 작은","To-do List":"확인 목록","Toggle caption off":"캡션 지우기","Toggle caption on":"캡션 넣기","Toggle the circle list style":"검은 원형 목록 스타일 전환","Toggle the decimal list style":"십진수 목록 스타일 전환","Toggle the decimal with leading zero list style":"앞에 0이 붙는 십진수 목록 스타일 전환","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":"대문자 로마자 목록 스타일 전환",Turquoise:"청록색","Type or paste your content here.":"여기에 내용을 입력하거나 붙여넣으세요.","Type your title":"제목을 입력해주세요",Underline:"밑줄",Undo:"실행 취소",Unlink:"링크 삭제",Update:"업데이트","Update image URL":"이미지 URL 업데이트","Upload failed":"업로드 실패","Upload in progress":"업로드 진행 중","Upper-latin":"대문자 알파벳","Upper-roman":"대문자 로마자","Vertical text alignment toolbar":"세로 텍스트 정렬 도구 모음",White:"흰색","Widget toolbar":"위젯 툴바",Width:"가로","Wrap text":"텍스트 줄 바꿈",Yellow:"노랑색","Yellow marker":"노란색 마커"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index d8f30b47395f7f6c5d1e9d67d940396516d6d858..d449e6e4b2aff5658f085a74bdd85873c8fed8d6 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ku=e.ku||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 لە %1","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 center":"بەهێڵکردنی ناورەڕاست","Align left":"بەهێڵکردنی چەپ","Align right":"بەهێڵکردنی ڕاست","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"شینی دەریایی",Background:"",Big:"گەورە",Black:"ڕەش","Block quote":"وتەی وەرگیراو",Blue:"شین","Blue marker":"نیشانەکەری  شین",Bold:"قەڵەو",Border:"","Break text":"","Bulleted List":"لیستەی خاڵەیی","Bulleted list styles toolbar":"",Cancel:"هەڵوەشاندنەوە","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"ناوەڕاستکراوی وێنە","Change image text alternative":"گۆڕینی جێگروەی تێکیسی وێنە","Choose heading":"سەرنووسە هەڵبژێرە",Circle:"",Code:"کۆد",Color:"","Color picker":"",Column:"ستوون",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"کەمکردنەوەی بۆشایی",Default:"بنچینە","Delete column":"سڕینەوەی ستوون","Delete row":"سڕینەوەی ڕیز","Dim grey":"ڕەساسی تاریک",Dimensions:"",Disc:"","Document colors":"ڕەنگەکانی دۆکومێنت",Dotted:"",Double:"",Downloadable:"Downloadable","Dropdown toolbar":"تووڵامرازی لیستەیی","Edit block":"دەستکاری بلۆک","Edit link":"دەستکاری بەستەر","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"تووڵامرازی دەسکاریکەر","Enter image caption":"سەردێڕی وێنە دابنێ","Enter table caption":"","Font Background Color":"ڕەنگی پاشبنەمای فۆنت","Font Color":"ڕەنگی فۆنت","Font Family":"فۆنتی خێزانی","Font Size":"قەبارەی فۆنت","Full size image":"پڕ بەقەبارەی وێنە",Green:"سەوز","Green marker":"نیشانەکەری  سەوز","Green pen":"پێنووسی سەوز",Grey:"ڕەساسی",Groove:"","Header column":"ستوونی دەسپێک","Header row":"ڕیزی دەسپێک",Heading:"سەرنووسە","Heading 1":"سەرنووسەی 1","Heading 2":"سەرنووسەی 2","Heading 3":"سەرنووسەی 3","Heading 4":"سەرنووسەی 4","Heading 5":"سەرنووسەی 5","Heading 6":"سەرنووسەی 6",Height:"",Highlight:"بەرچاوکردن","Horizontal line":"هێڵی ئاسۆیی","Horizontal text alignment toolbar":"",Huge:"زۆر گەورە","Image resize list":"","Image toolbar":"تووڵامرازی وێنە","image widget":"وێدجیتی وێنە","In line":"","Increase indent":"زیادکردنی بۆشایی",Insert:"","Insert code block":"دانانی  خشتەی کۆد","Insert column left":"دانانی ستوون لە چەپ","Insert column right":"دانانی ستوون لە ڕاست","Insert image":"وێنە دابنێ","Insert image via URL":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"دانانی ڕیز لە سەرەوە","Insert row below":"دانانی ڕیز لە ژێرەوە","Insert table":"خشتە دابنێ",Inset:"",Italic:"لار",Justify:"هاوستوونی","Justify cell text":"","Left aligned image":"ڕیزکردنی وێنە بۆ لای چەپ","Light blue":"شینی ڕووناک","Light green":"سەوزی ڕووناک","Light grey":"ڕەساسی ڕووناک",Link:"بەستەر","Link image":"","Link URL":"ناونیشانی بەستەر","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"تێکەڵکردنی خانەکان بەرەو ژێرەوە","Merge cell left":"تێکەڵکردنی خانەکان بەرەو چەپ","Merge cell right":"تێکەڵکردنی خانەکان بەرەو ڕاست","Merge cell up":"تێکەڵکردنی خانەکان بەرەو سەر","Merge cells":"تێکەڵکردنی خانەکان",Next:"دواتر",None:"","Numbered List":"لیستەی ژمارەیی","Numbered list styles toolbar":"","Open in a new tab":"کردنەوەی لە پەنجەرەیەکی نوێ","Open link in new tab":"کردنەوەی بەستەرەکە لە پەڕەیەکی نوێ",Orange:"پرتەقاڵی",Original:"",Outset:"",Padding:"",Paragraph:"پەراگراف","Pink marker":"نیشانەکەری پەمەیی","Plain text":"تێکستی سادە","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پێشتر",Purple:"مۆر",Red:"سور","Red pen":"پێنووسی سۆر",Redo:"هەلگەڕاندنەوە","Remove color":"لابردنی ڕەنگ","Remove Format":"لابردنی شێواز","Remove highlight":"لابردنی بەرچاوکەر","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"سەرنوسەری دەقی بەپیت",Ridge:"","Right aligned image":"ڕیزکردنی وێنە بۆ لای ڕاست",Row:"ڕیز",Save:"پاشکەوتکردن","Saving changes":"گۆڕانکاریەکان پاشکەوتدەکرێت","Select column":"","Select row":"","Show more items":"بڕگەی زیاتر نیشانبدە","Side image":"لای وێنە",Small:"بچوک",Solid:"","Split cell horizontally":"بەشکردنی خانەکان بە ئاسۆیی","Split cell vertically":"بەشکردنی خانەکان بە ئەستوونی",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"هێڵ بەسەرداهاتوو",Style:"",Subscript:"ژێرنووس",Superscript:"سەرنووس","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"تووڵامرازی خشتە","Text alignment":"ڕیززکردنی تێکست","Text alignment toolbar":"تووڵامرازی ڕیززکردنی تێکست","Text alternative":"جێگرەوەی تێکست","Text highlight 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".':"","This link has no URL":"ئەم بەستەرە ناونیشانی نیە",Tiny:"گچکە","To-do List":"لیستەی کردن","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"شینی ئاسمانی","Type or paste your content here.":"بنووسە یاخوود ناوەڕۆکی کۆپیکراو لیڕە بلکێنە","Type your title":"نوسینی ناونیشان",Underline:"ژێرهێڵ",Undo:"وەک خۆی لێ بکەوە",Unlink:"لابردنی بەستەر",Update:"","Update image URL":"","Upload failed":"بارکردنەکە سەرنەکەووت","Upload in progress":"بارکردنەکە لە جێبەجێکردن دایە","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"سپی","Widget toolbar":"تووڵامرازی ویدجێت",Width:"","Wrap text":"",Yellow:"زەرد","Yellow marker":"نیشانەکەری  زەرد"}),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||{},{"%0 of %1":"%0 لە %1",Accept:"","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 center":"بەهێڵکردنی ناورەڕاست","Align left":"بەهێڵکردنی چەپ","Align right":"بەهێڵکردنی ڕاست","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"شینی دەریایی",Background:"",Big:"گەورە",Black:"ڕەش","Block quote":"وتەی وەرگیراو",Blue:"شین","Blue marker":"نیشانەکەری  شین",Bold:"قەڵەو",Border:"","Break text":"","Bulleted List":"لیستەی خاڵەیی","Bulleted list styles toolbar":"",Cancel:"هەڵوەشاندنەوە","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"ناوەڕاستکراوی وێنە","Change image text alternative":"گۆڕینی جێگروەی تێکیسی وێنە","Choose heading":"سەرنووسە هەڵبژێرە",Circle:"",Code:"کۆد",Color:"","Color picker":"",Column:"ستوون",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"کەمکردنەوەی بۆشایی",Default:"بنچینە","Delete column":"سڕینەوەی ستوون","Delete row":"سڕینەوەی ڕیز","Dim grey":"ڕەساسی تاریک",Dimensions:"",Disc:"","Document colors":"ڕەنگەکانی دۆکومێنت",Dotted:"",Double:"",Downloadable:"Downloadable","Dropdown toolbar":"تووڵامرازی لیستەیی","Edit block":"دەستکاری بلۆک","Edit link":"دەستکاری بەستەر","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"تووڵامرازی دەسکاریکەر","Enter image caption":"سەردێڕی وێنە دابنێ","Enter table caption":"","Font Background Color":"ڕەنگی پاشبنەمای فۆنت","Font Color":"ڕەنگی فۆنت","Font Family":"فۆنتی خێزانی","Font Size":"قەبارەی فۆنت","Full size image":"پڕ بەقەبارەی وێنە",Green:"سەوز","Green marker":"نیشانەکەری  سەوز","Green pen":"پێنووسی سەوز",Grey:"ڕەساسی",Groove:"","Header column":"ستوونی دەسپێک","Header row":"ڕیزی دەسپێک",Heading:"سەرنووسە","Heading 1":"سەرنووسەی 1","Heading 2":"سەرنووسەی 2","Heading 3":"سەرنووسەی 3","Heading 4":"سەرنووسەی 4","Heading 5":"سەرنووسەی 5","Heading 6":"سەرنووسەی 6",Height:"",HEX:"",Highlight:"بەرچاوکردن","Horizontal line":"هێڵی ئاسۆیی","Horizontal text alignment toolbar":"",Huge:"زۆر گەورە","Image resize list":"","Image toolbar":"تووڵامرازی وێنە","image widget":"وێدجیتی وێنە","In line":"","Increase indent":"زیادکردنی بۆشایی",Insert:"","Insert code block":"دانانی  خشتەی کۆد","Insert column left":"دانانی ستوون لە چەپ","Insert column right":"دانانی ستوون لە ڕاست","Insert image":"وێنە دابنێ","Insert image via URL":"","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"دانانی ڕیز لە سەرەوە","Insert row below":"دانانی ڕیز لە ژێرەوە","Insert table":"خشتە دابنێ",Inset:"",Italic:"لار",Justify:"هاوستوونی","Justify cell text":"","Left aligned image":"ڕیزکردنی وێنە بۆ لای چەپ","Light blue":"شینی ڕووناک","Light green":"سەوزی ڕووناک","Light grey":"ڕەساسی ڕووناک",Link:"بەستەر","Link image":"","Link URL":"ناونیشانی بەستەر","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"تێکەڵکردنی خانەکان بەرەو ژێرەوە","Merge cell left":"تێکەڵکردنی خانەکان بەرەو چەپ","Merge cell right":"تێکەڵکردنی خانەکان بەرەو ڕاست","Merge cell up":"تێکەڵکردنی خانەکان بەرەو سەر","Merge cells":"تێکەڵکردنی خانەکان",Next:"دواتر",None:"","Numbered List":"لیستەی ژمارەیی","Numbered list styles toolbar":"","Open in a new tab":"کردنەوەی لە پەنجەرەیەکی نوێ","Open link in new tab":"کردنەوەی بەستەرەکە لە پەڕەیەکی نوێ",Orange:"پرتەقاڵی",Original:"",Outset:"",Padding:"",Paragraph:"پەراگراف","Pink marker":"نیشانەکەری پەمەیی","Plain text":"تێکستی سادە","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پێشتر",Purple:"مۆر",Red:"سور","Red pen":"پێنووسی سۆر",Redo:"هەلگەڕاندنەوە","Remove color":"لابردنی ڕەنگ","Remove Format":"لابردنی شێواز","Remove highlight":"لابردنی بەرچاوکەر","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"سەرنوسەری دەقی بەپیت",Ridge:"","Right aligned image":"ڕیزکردنی وێنە بۆ لای ڕاست",Row:"ڕیز",Save:"پاشکەوتکردن","Saving changes":"گۆڕانکاریەکان پاشکەوتدەکرێت","Select column":"","Select row":"","Show more items":"بڕگەی زیاتر نیشانبدە","Side image":"لای وێنە",Small:"بچوک",Solid:"","Split cell horizontally":"بەشکردنی خانەکان بە ئاسۆیی","Split cell vertically":"بەشکردنی خانەکان بە ئەستوونی",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"هێڵ بەسەرداهاتوو",Style:"",Subscript:"ژێرنووس",Superscript:"سەرنووس","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"تووڵامرازی خشتە","Text alignment":"ڕیززکردنی تێکست","Text alignment toolbar":"تووڵامرازی ڕیززکردنی تێکست","Text alternative":"جێگرەوەی تێکست","Text highlight 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".':"","This link has no URL":"ئەم بەستەرە ناونیشانی نیە",Tiny:"گچکە","To-do List":"لیستەی کردن","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"شینی ئاسمانی","Type or paste your content here.":"بنووسە یاخوود ناوەڕۆکی کۆپیکراو لیڕە بلکێنە","Type your title":"نوسینی ناونیشان",Underline:"ژێرهێڵ",Undo:"وەک خۆی لێ بکەوە",Unlink:"لابردنی بەستەر",Update:"","Update image URL":"","Upload failed":"بارکردنەکە سەرنەکەووت","Upload in progress":"بارکردنەکە لە جێبەجێکردن دایە","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"سپی","Widget toolbar":"تووڵامرازی ویدجێت",Width:"","Wrap text":"",Yellow:"زەرد","Yellow marker":"نیشانەکەری  زەرد"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index d821e698d0a1710161b0b73805d387d78fc38c6c..daf21ef145ba30781ddb829c80a0dfe420d421f5 100644 (file)
@@ -1 +1 @@
-!function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 iš %1","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 center":"Centruoti","Align left":"Lygiuoti į kairę","Align right":"Lygiuoti į dešinę","Align table to the left":"Lygiuoti lentelę kairėje","Align table to the right":"Lygiuoti lentelę dešinėje",Alignment:"Lygiavimas",Aquamarine:"Aquamarine",Background:"Fonas",Big:"Didelis",Black:"Juoda","Block quote":"Citata",Blue:"Mėlyna","Blue marker":"Mėlynas žymeklis",Bold:"Paryškintas",Border:"Kraštas","Break text":"Suskaidyti tekstą","Bulleted List":"Sąrašas","Bulleted list styles toolbar":"Ženklinto sąrašo stilių įrankių juosta",Cancel:"Atšaukti","Caption for image: %0":"Vaizdo antraštė: %0","Caption for the image":"Vaizdo antraštė","Cell properties":"Langelio savybės","Center table":"Centruoti lentelę","Centered image":"Vaizdas centre","Change image text alternative":"Pakeisti vaizdo alternatyvųjį tekstą","Choose heading":"Pasirinkite antraštę",Circle:"Apskritimas",Code:"Kodas",Color:"Spalva","Color picker":"Spalvos ieškiklis",Column:"Stulpelis",Dashed:"Brūkšneliais",Decimal:"Dešimtainis","Decimal with leading zero":"Dešimtainis su nuliu priekyje","Decrease indent":"Sumažinti atitraukimą",Default:"Numatyta","Delete column":"Ištrinti stulpelį","Delete row":"Ištrinti eilutę","Dim grey":"Pilkšva",Dimensions:"Matmenys",Disc:"Diskas","Document colors":"Dokumento spalvos",Dotted:"Taškuotas",Double:"Dvigubas",Downloadable:"Parsisiunčiamas","Dropdown toolbar":"Įrankių juosta pasirenkamajame sąraše","Edit block":"Redaguoti bloką","Edit link":"Keisti nuorodą","Edit source":"Redaguoti šaltinį","Editor block content toolbar":"Redaktoriaus bloko turinio įrankių juosta","Editor contextual toolbar":"Redaktoriaus kontekstinė įrankių juosta","Editor editing area: %0":"Redaktoriaus redagavimo sritis: %0","Editor toolbar":"Redaktoriaus įrankių juosta","Empty snippet content":"Tuščias iškarpos turinys","Enter image caption":"Įveskite vaizdo antraštę","Enter table caption":"Įvesti lentelės antraštę","Font Background Color":"Šrifto fono spalva","Font Color":"Šrifto spalva","Font Family":"Šrifto šeima","Font Size":"Šrifto dydis","Full size image":"Pilno dydžio vaizdas",Green:"Žalia","Green marker":"Žalias žymeklis","Green pen":"Žalias žymeklis",Grey:"Pilka",Groove:"Ilgas ir siauras","Header column":"Antraštės stulpelis","Header row":"Antraštės eilutė",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",Height:"Aukštis",Highlight:"Pažymėti žymekliu","Horizontal line":"Horizontali linija","Horizontal text alignment toolbar":"Horizontalaus teksto lygiavimo įrankių juosta","HTML snippet":"HTML iškarpa",Huge:"Milžiniškas","Image resize list":"Paveikslėlio dydžio keitimo sąrašas","Image toolbar":"Paveikslėlių įrankių juosta","image widget":"vaizdų valdiklis","In line":"tolygiai","Increase indent":"Padidinti atitraukimą",Insert:"Įkelti","Insert code block":"Įterpti codų bloką","Insert column left":"Įterpti stulpelį kairėje","Insert column right":"Įterpti stulpelį dešinėje","Insert HTML":"Įkelti HTML","Insert image":"Įterpti vaizdą","Insert image via URL":"Įkelti paveikslėlį naudojant URL","Insert paragraph after block":"Įkelti pastraipą po bloko","Insert paragraph before block":"Įkelti pastraipą prieš bloką","Insert row above":"Įterpti eilutę aukščiau","Insert row below":"Įterpti eilutę žemiau","Insert table":"Įterpti lentelę",Inset:"Intarpas",Italic:"Kursyvas",Justify:"Lygiuoti per visą plotį","Justify cell text":"Pabrėžti langelio tekstą","Left aligned image":"Vaizdas kairėje","Light blue":"Šviesiai mėlyna","Light green":"Šviesiai žalia","Light grey":"Šviesiai pilka",Link:"Pridėti nuorodą","Link image":"Susieti paveikslėlį","Link URL":"Nuorodos URL","List properties":"Vardyti ypatybes","Lower-latin":"žemesnysis-lotyniškas","Lower–roman":"žemesnysis-romėniškas","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",Next:"Kitas","No preview available":"Nėra galimų peržiūrų",None:"Nieko","Numbered List":"Numeruotas rąrašas","Numbered list styles toolbar":"Numeruoto sąrašo stilių įrankių juosta","Open in a new tab":"Atverti naujoje kortelėje","Open link in new tab":"Atidaryti nuorodą naujame skirtuke",Orange:"Oranžinė",Original:"Originalus",Outset:"Pradžia",Padding:"Užpildymas",Paragraph:"Paragrafas","Paste raw HTML here...":"Įklijuokite neapdorotą HTML čia...","Pink marker":"Rožinis žymeklis","Plain text":"Paprastasis tekstas","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","Red pen":"Raudonas žymeklis",Redo:"Pirmyn","Remove color":"Pašalinti spalvą","Remove Format":"Naikinti formatavimą","Remove highlight":"Panaikinti pažymėjimą","Resize image":"Pakeisti paveikslėlio dydį","Resize image to %0":"Pakeisti paveikslėlio dydį į %0","Resize image to the original size":"Pakeisti paveikslėlio dydį į originalų","Restore default":"Atkurti numatytuosius","Reversed order":"Atvirkštinė tvarka","Rich Text Editor":"Raiškiojo teksto redaktorius",Ridge:"Briaunuotas","Right aligned image":"Vaizdas dešinėje",Row:"Eilutė",Save:"Išsaugoti","Save changes":"Išsaugoti pakeitimus","Saving changes":"Pakeitimai saugomi","Select all":"Pasirinkti viską","Select column":"Pasirinkti stulpelį","Select row":"Pasirinkti eilutę","Show more items":"Rodyti daugiau elementų","Side image":"Vaizdas šone",Small:"Mažas",Solid:"Vientisas","Split cell horizontally":"Padalinti langelį horizontaliai","Split cell vertically":"Padalinti langelį vertikaliai",Square:"Kvadratas","Start at":"Pradėti nuo","Start index must be greater than 0.":"Pradžios indeksas turi būti didesnis nei 0.",Strikethrough:"Perbrauktas",Style:"Stilius",Subscript:"Žemiau",Superscript:"Aukščiau","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","Text alignment":"Teksto lygiavimas","Text alignment toolbar":"Teksto lygiavimo įrankių juosta","Text alternative":"Alternatyvusis tekstas","Text highlight toolbar":"Teksto paryškinimo į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".',"This link has no URL":"Ši nuorda neturi URL",Tiny:"Mažytis","To-do List":"Užduočių sąrašas","Toggle caption off":"Išjungti antraštę","Toggle caption on":"Įjungti antraštę","Toggle the circle list style":"Perjungti ovalų sąrašo stilių","Toggle the decimal list style":"Perjungti dešimtainį sąrašo stilių","Toggle the decimal with leading zero list style":"Perjungti dešimtainį sąrašo su nuliu priekyje stilių","Toggle the disc list style":"Perjungti diskinį sąrašo stilių","Toggle the lower–latin list style":"Perjungti žemesnįjį lotyniško stiliaus sąrašą","Toggle the lower–roman list style":"Perjungti žemesnįjį romėniško stiliaus sąrašą","Toggle the square list style":"Perjungti kvadratinį sąrašo stilių","Toggle the upper–latin list style":"Perjungti aukštesnįjį lotyniško stiliaus sąrašą","Toggle the upper–roman list style":"Perjungti aukštesnįjį romėniško stiliaus sąrašą",Turquoise:"Turkio","Type or paste your content here.":"Rašykite ar įkopijuokite turinį čia.","Type your title":"Įveskite savo pavadinimą",Underline:"Pabrauktas",Undo:"Atgal",Unlink:"Pašalinti nuorodą",Update:"Atnaujinti","Update image URL":"Atnaujinti paveikslėlio URL","Upload failed":"Įkelti nepavyko","Upload in progress":"Įkelima","Upper-latin":"Viršutinis romėniškas","Upper-roman":"Viršutinis romėniškas","Vertical text alignment toolbar":"Vertikalaus teksto lygiavimo įrankių juosta",White:"Balta","Widget toolbar":"Valdiklių įrankių juosta",Width:"Plotis","Wrap text":"Perkelti tekstą į kitą eilutę",Yellow:"Geltona","Yellow marker":"Geltonas žymeklis"}),e.getPluralForm=function(i){return i%10==1&&(i%100>19||i%100<11)?0:i%10>=2&&i%10<=9&&(i%100>19||i%100<11)?1:i%1!=0?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
+!function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 iš %1",Accept:"","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 center":"Centruoti","Align left":"Lygiuoti į kairę","Align right":"Lygiuoti į dešinę","Align table to the left":"Lygiuoti lentelę kairėje","Align table to the right":"Lygiuoti lentelę dešinėje",Alignment:"Lygiavimas",Aquamarine:"Aquamarine",Background:"Fonas",Big:"Didelis",Black:"Juoda","Block quote":"Citata",Blue:"Mėlyna","Blue marker":"Mėlynas žymeklis",Bold:"Paryškintas",Border:"Kraštas","Break text":"Suskaidyti tekstą","Bulleted List":"Sąrašas","Bulleted list styles toolbar":"Ženklinto sąrašo stilių įrankių juosta",Cancel:"Atšaukti","Caption for image: %0":"Vaizdo antraštė: %0","Caption for the image":"Vaizdo antraštė","Cell properties":"Langelio savybės","Center table":"Centruoti lentelę","Centered image":"Vaizdas centre","Change image text alternative":"Pakeisti vaizdo alternatyvųjį tekstą","Choose heading":"Pasirinkite antraštę",Circle:"Apskritimas",Code:"Kodas",Color:"Spalva","Color picker":"Spalvos ieškiklis",Column:"Stulpelis",Dashed:"Brūkšneliais",Decimal:"Dešimtainis","Decimal with leading zero":"Dešimtainis su nuliu priekyje","Decrease indent":"Sumažinti atitraukimą",Default:"Numatyta","Delete column":"Ištrinti stulpelį","Delete row":"Ištrinti eilutę","Dim grey":"Pilkšva",Dimensions:"Matmenys",Disc:"Diskas","Document colors":"Dokumento spalvos",Dotted:"Taškuotas",Double:"Dvigubas",Downloadable:"Parsisiunčiamas","Dropdown toolbar":"Įrankių juosta pasirenkamajame sąraše","Edit block":"Redaguoti bloką","Edit link":"Keisti nuorodą","Edit source":"Redaguoti šaltinį","Editor block content toolbar":"Redaktoriaus bloko turinio įrankių juosta","Editor contextual toolbar":"Redaktoriaus kontekstinė įrankių juosta","Editor editing area: %0":"Redaktoriaus redagavimo sritis: %0","Editor toolbar":"Redaktoriaus įrankių juosta","Empty snippet content":"Tuščias iškarpos turinys","Enter image caption":"Įveskite vaizdo antraštę","Enter table caption":"Įvesti lentelės antraštę","Font Background Color":"Šrifto fono spalva","Font Color":"Šrifto spalva","Font Family":"Šrifto šeima","Font Size":"Šrifto dydis","Full size image":"Pilno dydžio vaizdas",Green:"Žalia","Green marker":"Žalias žymeklis","Green pen":"Žalias žymeklis",Grey:"Pilka",Groove:"Ilgas ir siauras","Header column":"Antraštės stulpelis","Header row":"Antraštės eilutė",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",Height:"Aukštis",HEX:"",Highlight:"Pažymėti žymekliu","Horizontal line":"Horizontali linija","Horizontal text alignment toolbar":"Horizontalaus teksto lygiavimo įrankių juosta","HTML snippet":"HTML iškarpa",Huge:"Milžiniškas","Image resize list":"Paveikslėlio dydžio keitimo sąrašas","Image toolbar":"Paveikslėlių įrankių juosta","image widget":"vaizdų valdiklis","In line":"tolygiai","Increase indent":"Padidinti atitraukimą",Insert:"Įkelti","Insert code block":"Įterpti codų bloką","Insert column left":"Įterpti stulpelį kairėje","Insert column right":"Įterpti stulpelį dešinėje","Insert HTML":"Įkelti HTML","Insert image":"Įterpti vaizdą","Insert image via URL":"Įkelti paveikslėlį naudojant URL","Insert paragraph after block":"Įkelti pastraipą po bloko","Insert paragraph before block":"Įkelti pastraipą prieš bloką","Insert row above":"Įterpti eilutę aukščiau","Insert row below":"Įterpti eilutę žemiau","Insert table":"Įterpti lentelę",Inset:"Intarpas",Italic:"Kursyvas",Justify:"Lygiuoti per visą plotį","Justify cell text":"Pabrėžti langelio tekstą","Left aligned image":"Vaizdas kairėje","Light blue":"Šviesiai mėlyna","Light green":"Šviesiai žalia","Light grey":"Šviesiai pilka",Link:"Pridėti nuorodą","Link image":"Susieti paveikslėlį","Link URL":"Nuorodos URL","List properties":"Vardyti ypatybes","Lower-latin":"žemesnysis-lotyniškas","Lower–roman":"žemesnysis-romėniškas","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",Next:"Kitas","No preview available":"Nėra galimų peržiūrų",None:"Nieko","Numbered List":"Numeruotas rąrašas","Numbered list styles toolbar":"Numeruoto sąrašo stilių įrankių juosta","Open in a new tab":"Atverti naujoje kortelėje","Open link in new tab":"Atidaryti nuorodą naujame skirtuke",Orange:"Oranžinė",Original:"Originalus",Outset:"Pradžia",Padding:"Užpildymas",Paragraph:"Paragrafas","Paste raw HTML here...":"Įklijuokite neapdorotą HTML čia...","Pink marker":"Rožinis žymeklis","Plain text":"Paprastasis tekstas","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","Red pen":"Raudonas žymeklis",Redo:"Pirmyn","Remove color":"Pašalinti spalvą","Remove Format":"Naikinti formatavimą","Remove highlight":"Panaikinti pažymėjimą","Resize image":"Pakeisti paveikslėlio dydį","Resize image to %0":"Pakeisti paveikslėlio dydį į %0","Resize image to the original size":"Pakeisti paveikslėlio dydį į originalų","Restore default":"Atkurti numatytuosius","Reversed order":"Atvirkštinė tvarka","Rich Text Editor":"Raiškiojo teksto redaktorius",Ridge:"Briaunuotas","Right aligned image":"Vaizdas dešinėje",Row:"Eilutė",Save:"Išsaugoti","Save changes":"Išsaugoti pakeitimus","Saving changes":"Pakeitimai saugomi","Select all":"Pasirinkti viską","Select column":"Pasirinkti stulpelį","Select row":"Pasirinkti eilutę","Show more items":"Rodyti daugiau elementų","Side image":"Vaizdas šone",Small:"Mažas",Solid:"Vientisas","Split cell horizontally":"Padalinti langelį horizontaliai","Split cell vertically":"Padalinti langelį vertikaliai",Square:"Kvadratas","Start at":"Pradėti nuo","Start index must be greater than 0.":"Pradžios indeksas turi būti didesnis nei 0.",Strikethrough:"Perbrauktas",Style:"Stilius",Subscript:"Žemiau",Superscript:"Aukščiau","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","Text alignment":"Teksto lygiavimas","Text alignment toolbar":"Teksto lygiavimo įrankių juosta","Text alternative":"Alternatyvusis tekstas","Text highlight toolbar":"Teksto paryškinimo į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".',"This link has no URL":"Ši nuorda neturi URL",Tiny:"Mažytis","To-do List":"Užduočių sąrašas","Toggle caption off":"Išjungti antraštę","Toggle caption on":"Įjungti antraštę","Toggle the circle list style":"Perjungti ovalų sąrašo stilių","Toggle the decimal list style":"Perjungti dešimtainį sąrašo stilių","Toggle the decimal with leading zero list style":"Perjungti dešimtainį sąrašo su nuliu priekyje stilių","Toggle the disc list style":"Perjungti diskinį sąrašo stilių","Toggle the lower–latin list style":"Perjungti žemesnįjį lotyniško stiliaus sąrašą","Toggle the lower–roman list style":"Perjungti žemesnįjį romėniško stiliaus sąrašą","Toggle the square list style":"Perjungti kvadratinį sąrašo stilių","Toggle the upper–latin list style":"Perjungti aukštesnįjį lotyniško stiliaus sąrašą","Toggle the upper–roman list style":"Perjungti aukštesnįjį romėniško stiliaus sąrašą",Turquoise:"Turkio","Type or paste your content here.":"Rašykite ar įkopijuokite turinį čia.","Type your title":"Įveskite savo pavadinimą",Underline:"Pabrauktas",Undo:"Atgal",Unlink:"Pašalinti nuorodą",Update:"Atnaujinti","Update image URL":"Atnaujinti paveikslėlio URL","Upload failed":"Įkelti nepavyko","Upload in progress":"Įkelima","Upper-latin":"Viršutinis romėniškas","Upper-roman":"Viršutinis romėniškas","Vertical text alignment toolbar":"Vertikalaus teksto lygiavimo įrankių juosta",White:"Balta","Widget toolbar":"Valdiklių įrankių juosta",Width:"Plotis","Wrap text":"Perkelti tekstą į kitą eilutę",Yellow:"Geltona","Yellow marker":"Geltonas žymeklis"}),e.getPluralForm=function(i){return i%10==1&&(i%100>19||i%100<11)?0:i%10>=2&&i%10<=9&&(i%100>19||i%100<11)?1:i%1!=0?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 1dee8f3f92a06acf59967df3ae6c6379a6d130ac..150b11de36ae825f74280f912760affc9fbf822f 100644 (file)
@@ -1 +1 @@
-!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 no %1","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 center":"Centrēt","Align left":"Pa kreisi","Align right":"Pa labi","Align table to the left":"Līdzināt tabulu pa kreisi","Align table to the right":"Līdzināt tabulu pa labi",Alignment:"Novietojums",Aquamarine:"Akvamarīns",Background:"Fona krāsa",Big:"Liels",Black:"Melns","Block quote":"Citāts",Blue:"Zils","Blue marker":"Zils marķieris",Bold:"Trekns",Border:"Apmale","Break text":"Pārtraukt tekstu","Bulleted List":"Nenumurēts Saraksts","Bulleted list styles toolbar":"Nenumurēta saraksta stili",Cancel:"Atcelt","Caption for image: %0":"Attēla virsraksts: %0","Caption for the image":"Attēla virsraksts","Cell properties":"Šūnas īpašības","Center table":"Centrēt tabulu","Centered image":"Centrēts attēls","Change image text alternative":"Mainīt attēla alternatīvo tekstu","Choose heading":"Izvēlēties virsrakstu",Circle:"Aplis",Code:"Kods",Color:"Teksta krāsa","Color picker":"Krāsu palete",Column:"Kolonna",Dashed:"Pārtraukta līnija",Decimal:"Cipari","Decimal with leading zero":"Decimālskaitļi sākot ar nulli","Decrease indent":"Samazināt atkāpi",Default:"Noklusējuma","Delete column":"Dzēst kolonnu","Delete row":"Dzēst rindu","Dim grey":"Blāvi pelēks",Dimensions:"Izmēri",Disc:"Disks","Document colors":"Krāsas dokumentā",Dotted:"Punktēta līnija",Double:"Dubulta līnija",Downloadable:"Lejupielādējams","Dropdown toolbar":"Papildus izvēlnes rīkjosla","Edit block":"Labot bloku","Edit link":"Labot Saiti","Edit source":"Labot pirmavotu","Editor block content toolbar":"Rediģēšanas bloka satura rīkjosla","Editor contextual toolbar":"Redaktora konteksta rīkjosla","Editor editing area: %0":"Redaktora rediģēšanas zona: %0","Editor toolbar":"Redaktora rīkjosla","Empty snippet content":"Tukšs fragments","Enter image caption":"Ievadiet attēla parakstu","Enter table caption":"Ievadiet tabulas parakstu","Font Background Color":"Fonta fona krāsa","Font Color":"Fonta krāsa","Font Family":"Fonts","Font Size":"Fonta Lielums","Full size image":"Pilna izmēra attēls",Green:"Zaļš","Green marker":"Zaļš marķieris","Green pen":"Zaļa pildspalva",Grey:"Pelēks",Groove:"Iespiesta līnija","Header column":"Šī kolonna ir galvene","Header row":"Šī rinda ir galvene",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",Height:"Augstums",Highlight:"Izcelt","Horizontal line":"Horizontāli atdalošā līnija","Horizontal text alignment toolbar":"Horizontāla teksta līdzināšana","HTML snippet":"HTML fragments",Huge:"Milzīgs","Image resize list":"Attēla izmēru saraksts","Image toolbar":"Attēlu rīkjosla","image widget":"attēla sīkrīks","In line":"Rindā","Increase indent":"Palielināt atkāpi",Insert:"Ievietot","Insert code block":"Ievietot koda bloku","Insert column left":"Ievietot kolonnu pa kreisi","Insert column right":"Ievietot kolonnu pa labi","Insert HTML":"Ievietot HTML","Insert image":"Ievietot attēlu","Insert image via URL":"Ievietot attēlu, izmantojot saiti","Insert paragraph after block":"Ievietot paragrāfu aiz bloka","Insert paragraph before block":"Ievietot paragrāfu pirms bloka","Insert row above":"Ievietot rindu virs","Insert row below":"Ievietot rindu zem","Insert table":"Ievietot tabulu",Inset:"Ievietot / ieliktnis",Italic:"Kursīvs",Justify:"Izlīdzināt abas malas","Justify cell text":"Taisnot šūnas tekstu","Left aligned image":"Pa kreisi līdzināts attēls","Light blue":"Gaiši zils","Light green":"Gaiši zaļš","Light grey":"Gaiši pelēks",Link:"Saite","Link image":"Ievietot saiti uz attēla","Link URL":"Saites URL","List properties":"saraksta detaļas","Lower-latin":"mazie latīņu burti","Lower–roman":"mazie romiešu burti","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",Next:"Nākamā","No preview available":"Priekšskatījums nav pieejams",None:"Bez apmales","Numbered List":"Numurēts Saraksts","Numbered list styles toolbar":"Numurēta saraksta stili","Open in a new tab":"Atvērt jaunā cilnē","Open link in new tab":"Atvērt saiti jaunā cilnē",Orange:"Oranžs",Original:"Oriģināls",Outset:"sākums",Padding:"Atstatums",Paragraph:"Paragrāfs","Paste raw HTML here...":"Ievietojiet HTML šeit...","Pink marker":"Rozā marķieris","Plain text":"Vienkāršs teksts","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","Red pen":"Sarkana pildspalva",Redo:"Uz priekšu","Remove color":"Noņemt krāsu","Remove Format":"Noņemt formatējumu","Remove highlight":"Noņemt izcēlumu","Resize image":"Mainīt attēla izmērus","Resize image to %0":"Mainīt attēla izmēru uz %0","Resize image to the original size":"Mainīt attēla izmēru uz oriģinālo izmēru","Restore default":"Atgriezt noklusējumu","Reversed order":"Pretēja secība","Rich Text Editor":"Bagātinātais Teksta Redaktors",Ridge:"Izcelta līnija","Right aligned image":"Pa labi līdzināts attēls",Row:"Rinda",Save:"Saglabāt","Save changes":"Saglabāt izmaiņas","Saving changes":"Saglabāju izmaiņas","Select all":"Izvēlēties visu","Select column":"Izvēlēties kolonnu","Select row":"Izvēlēties rindu","Show more items":"Parādīt vairāk vienumus","Side image":"Sānā novietots attēls",Small:"Mazs",Solid:"Nepārtraukta līnija","Split cell horizontally":"Atdalīt šūnu horizontāli","Split cell vertically":"Atdalīt šūnu vertikāli",Square:"Kvadrāts","Start at":"Sākt no","Start index must be greater than 0.":"Indeksam jābūt lielākam par 0",Strikethrough:"Nosvītrots",Style:"Stils",Subscript:"Apakšraksts",Superscript:"Augšraksts","Table alignment toolbar":"Tabulas līdzināšana","Table cell text alignment":"Teksta novietojums šūnā","Table properties":"Tabulas īpašības","Table toolbar":"Tabulas rīkjosla","Text alignment":"Teksta izlīdzināšana","Text alignment toolbar":"Teksta līdzināšanas rīkjosla","Text alternative":"Alternatīvais teksts","Text highlight toolbar":"Teksta izcēluma 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"',"This link has no URL":"Saitei nav norādīts URL",Tiny:"Ļoti mazs","To-do List":"To-do Saraksts","Toggle caption off":"Izslēgt tabulas parakstu","Toggle caption on":"Ieslēgt tabulas parakstu","Toggle the circle list style":"Pārslēgt apļveida saraksta stilu","Toggle the decimal list style":"Pārslēgt decimālskaitļu saraksta stilu","Toggle the decimal with leading zero list style":"Pārslēgt decimālskaitļu sākot ar nulli saraksta stilu","Toggle the disc list style":"Pārslēgt diskveida saraksta stilu","Toggle the lower–latin list style":"Pārslēgt mazo latīņu burtu saraksta stilu","Toggle the lower–roman list style":"Pārslēgt mazo romiešu burtu saraksta stilu","Toggle the square list style":"Pārslēgt kvadrātveida saraksta stilu","Toggle the upper–latin list style":"Pārslēgt lielo latīņu burtu saraksta stilu","Toggle the upper–roman list style":"Pārslēgt lielo romiešu burtu saraksta stilu",Turquoise:"Tirkīza","Type or paste your content here.":"Rakstiet vai ielīmējiet saturu šeit.","Type your title":"Ievadiet virsrakstu",Underline:"Pasvītrots",Undo:"Atsaukt",Unlink:"Noņemt Saiti",Update:"Atjaunināt","Update image URL":"Labot attēla avota saiti","Upload failed":"Augšupielāde neizdevusies","Upload in progress":"Notiek augšupielāde","Upper-latin":"lielie latīņu burti","Upper-roman":"lielie romiešu burti","Vertical text alignment toolbar":"Vertikāla teksta līdzināšana",White:"Balts","Widget toolbar":"Sīkrīku rīkjosla",Width:"Platums","Wrap text":"Aplauzt tekstu",Yellow:"Dzeltens","Yellow marker":"Dzeltens marķieris"}),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||{},{"%0 of %1":"%0 no %1",Accept:"","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 center":"Centrēt","Align left":"Pa kreisi","Align right":"Pa labi","Align table to the left":"Līdzināt tabulu pa kreisi","Align table to the right":"Līdzināt tabulu pa labi",Alignment:"Novietojums",Aquamarine:"Akvamarīns",Background:"Fona krāsa",Big:"Liels",Black:"Melns","Block quote":"Citāts",Blue:"Zils","Blue marker":"Zils marķieris",Bold:"Trekns",Border:"Apmale","Break text":"Pārtraukt tekstu","Bulleted List":"Nenumurēts Saraksts","Bulleted list styles toolbar":"Nenumurēta saraksta stili",Cancel:"Atcelt","Caption for image: %0":"Attēla virsraksts: %0","Caption for the image":"Attēla virsraksts","Cell properties":"Šūnas īpašības","Center table":"Centrēt tabulu","Centered image":"Centrēts attēls","Change image text alternative":"Mainīt attēla alternatīvo tekstu","Choose heading":"Izvēlēties virsrakstu",Circle:"Aplis",Code:"Kods",Color:"Teksta krāsa","Color picker":"Krāsu palete",Column:"Kolonna",Dashed:"Pārtraukta līnija",Decimal:"Cipari","Decimal with leading zero":"Decimālskaitļi sākot ar nulli","Decrease indent":"Samazināt atkāpi",Default:"Noklusējuma","Delete column":"Dzēst kolonnu","Delete row":"Dzēst rindu","Dim grey":"Blāvi pelēks",Dimensions:"Izmēri",Disc:"Disks","Document colors":"Krāsas dokumentā",Dotted:"Punktēta līnija",Double:"Dubulta līnija",Downloadable:"Lejupielādējams","Dropdown toolbar":"Papildus izvēlnes rīkjosla","Edit block":"Labot bloku","Edit link":"Labot Saiti","Edit source":"Labot pirmavotu","Editor block content toolbar":"Rediģēšanas bloka satura rīkjosla","Editor contextual toolbar":"Redaktora konteksta rīkjosla","Editor editing area: %0":"Redaktora rediģēšanas zona: %0","Editor toolbar":"Redaktora rīkjosla","Empty snippet content":"Tukšs fragments","Enter image caption":"Ievadiet attēla parakstu","Enter table caption":"Ievadiet tabulas parakstu","Font Background Color":"Fonta fona krāsa","Font Color":"Fonta krāsa","Font Family":"Fonts","Font Size":"Fonta Lielums","Full size image":"Pilna izmēra attēls",Green:"Zaļš","Green marker":"Zaļš marķieris","Green pen":"Zaļa pildspalva",Grey:"Pelēks",Groove:"Iespiesta līnija","Header column":"Šī kolonna ir galvene","Header row":"Šī rinda ir galvene",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",Height:"Augstums",HEX:"",Highlight:"Izcelt","Horizontal line":"Horizontāli atdalošā līnija","Horizontal text alignment toolbar":"Horizontāla teksta līdzināšana","HTML snippet":"HTML fragments",Huge:"Milzīgs","Image resize list":"Attēla izmēru saraksts","Image toolbar":"Attēlu rīkjosla","image widget":"attēla sīkrīks","In line":"Rindā","Increase indent":"Palielināt atkāpi",Insert:"Ievietot","Insert code block":"Ievietot koda bloku","Insert column left":"Ievietot kolonnu pa kreisi","Insert column right":"Ievietot kolonnu pa labi","Insert HTML":"Ievietot HTML","Insert image":"Ievietot attēlu","Insert image via URL":"Ievietot attēlu, izmantojot saiti","Insert paragraph after block":"Ievietot paragrāfu aiz bloka","Insert paragraph before block":"Ievietot paragrāfu pirms bloka","Insert row above":"Ievietot rindu virs","Insert row below":"Ievietot rindu zem","Insert table":"Ievietot tabulu",Inset:"Ievietot / ieliktnis",Italic:"Kursīvs",Justify:"Izlīdzināt abas malas","Justify cell text":"Taisnot šūnas tekstu","Left aligned image":"Pa kreisi līdzināts attēls","Light blue":"Gaiši zils","Light green":"Gaiši zaļš","Light grey":"Gaiši pelēks",Link:"Saite","Link image":"Ievietot saiti uz attēla","Link URL":"Saites URL","List properties":"saraksta detaļas","Lower-latin":"mazie latīņu burti","Lower–roman":"mazie romiešu burti","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",Next:"Nākamā","No preview available":"Priekšskatījums nav pieejams",None:"Bez apmales","Numbered List":"Numurēts Saraksts","Numbered list styles toolbar":"Numurēta saraksta stili","Open in a new tab":"Atvērt jaunā cilnē","Open link in new tab":"Atvērt saiti jaunā cilnē",Orange:"Oranžs",Original:"Oriģināls",Outset:"sākums",Padding:"Atstatums",Paragraph:"Paragrāfs","Paste raw HTML here...":"Ievietojiet HTML šeit...","Pink marker":"Rozā marķieris","Plain text":"Vienkāršs teksts","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","Red pen":"Sarkana pildspalva",Redo:"Uz priekšu","Remove color":"Noņemt krāsu","Remove Format":"Noņemt formatējumu","Remove highlight":"Noņemt izcēlumu","Resize image":"Mainīt attēla izmērus","Resize image to %0":"Mainīt attēla izmēru uz %0","Resize image to the original size":"Mainīt attēla izmēru uz oriģinālo izmēru","Restore default":"Atgriezt noklusējumu","Reversed order":"Pretēja secība","Rich Text Editor":"Bagātinātais Teksta Redaktors",Ridge:"Izcelta līnija","Right aligned image":"Pa labi līdzināts attēls",Row:"Rinda",Save:"Saglabāt","Save changes":"Saglabāt izmaiņas","Saving changes":"Saglabāju izmaiņas","Select all":"Izvēlēties visu","Select column":"Izvēlēties kolonnu","Select row":"Izvēlēties rindu","Show more items":"Parādīt vairāk vienumus","Side image":"Sānā novietots attēls",Small:"Mazs",Solid:"Nepārtraukta līnija","Split cell horizontally":"Atdalīt šūnu horizontāli","Split cell vertically":"Atdalīt šūnu vertikāli",Square:"Kvadrāts","Start at":"Sākt no","Start index must be greater than 0.":"Indeksam jābūt lielākam par 0",Strikethrough:"Nosvītrots",Style:"Stils",Subscript:"Apakšraksts",Superscript:"Augšraksts","Table alignment toolbar":"Tabulas līdzināšana","Table cell text alignment":"Teksta novietojums šūnā","Table properties":"Tabulas īpašības","Table toolbar":"Tabulas rīkjosla","Text alignment":"Teksta izlīdzināšana","Text alignment toolbar":"Teksta līdzināšanas rīkjosla","Text alternative":"Alternatīvais teksts","Text highlight toolbar":"Teksta izcēluma 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"',"This link has no URL":"Saitei nav norādīts URL",Tiny:"Ļoti mazs","To-do List":"To-do Saraksts","Toggle caption off":"Izslēgt tabulas parakstu","Toggle caption on":"Ieslēgt tabulas parakstu","Toggle the circle list style":"Pārslēgt apļveida saraksta stilu","Toggle the decimal list style":"Pārslēgt decimālskaitļu saraksta stilu","Toggle the decimal with leading zero list style":"Pārslēgt decimālskaitļu sākot ar nulli saraksta stilu","Toggle the disc list style":"Pārslēgt diskveida saraksta stilu","Toggle the lower–latin list style":"Pārslēgt mazo latīņu burtu saraksta stilu","Toggle the lower–roman list style":"Pārslēgt mazo romiešu burtu saraksta stilu","Toggle the square list style":"Pārslēgt kvadrātveida saraksta stilu","Toggle the upper–latin list style":"Pārslēgt lielo latīņu burtu saraksta stilu","Toggle the upper–roman list style":"Pārslēgt lielo romiešu burtu saraksta stilu",Turquoise:"Tirkīza","Type or paste your content here.":"Rakstiet vai ielīmējiet saturu šeit.","Type your title":"Ievadiet virsrakstu",Underline:"Pasvītrots",Undo:"Atsaukt",Unlink:"Noņemt Saiti",Update:"Atjaunināt","Update image URL":"Labot attēla avota saiti","Upload failed":"Augšupielāde neizdevusies","Upload in progress":"Notiek augšupielāde","Upper-latin":"lielie latīņu burti","Upper-roman":"lielie romiešu burti","Vertical text alignment toolbar":"Vertikāla teksta līdzināšana",White:"Balts","Widget toolbar":"Sīkrīku rīkjosla",Width:"Platums","Wrap text":"Aplauzt tekstu",Yellow:"Dzeltens","Yellow marker":"Dzeltens marķieris"}),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
index f6991236b81f1122981afd5c63d1608bb774b696..2d0d80e1a91e992635b187a2630904b13ec5adcc 100644 (file)
@@ -1 +1 @@
-!function(a){const e=a.ms=a.ms||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 daripada %1","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 center":"Jajarkan tengah","Align left":"Jajarkan kiri","Align right":"Jajarkan kiri","Align table to the left":"Jajarkan jadual sel kekiri","Align table to the right":"Jajarkan jadual sel kekanan",Alignment:"Jajaran",Aquamarine:"Akuamarin",Background:"Latar belakang",Big:"Besar",Black:"Hitam","Block quote":"Blok petikan",Blue:"Biru","Blue marker":"Penanda biru",Bold:"Tebal",Border:"Sempadan","Break text":"Potong teks","Bulleted List":"Senarai Berbulet","Bulleted list styles toolbar":"Bar capaian gaya senarai berbulet",Cancel:"Batal","Caption for image: %0":"Kapsyen untuk imej: %0","Caption for the image":"Kapsyen untuk imej","Cell properties":"Sifat sel","Center table":"Ketengahkan jadual","Centered image":"Imej berjajar tengah","Change image text alternative":"Tukar alternatif teks imej","Choose heading":"Pilih pengepala",Circle:"Bula",Code:"Kod",Color:"Warna","Color picker":"Pemilih warna",Column:"Kolum",Dashed:"Garis putus-putus",Decimal:"Perpuluhan","Decimal with leading zero":"Perpuluhan dengan kosong pendahulu","Decrease indent":"Kurangkan inden",Default:"Lalai","Delete column":"Padam kolum","Delete row":"Padam baris","Dim grey":"Kelabu malap",Dimensions:"Dimensi",Disc:"Cakera","Document colors":"Warna dokumen",Dotted:"Bertitik",Double:"Dua baris",Downloadable:"Boleh dimuat turun","Dropdown toolbar":"Bar alat capaian tetingkap","Edit block":"Sunting blok","Edit link":"Sunting pautan","Edit source":"Sunting sumber","Editor block content toolbar":"Bar alat sekat kandungan editor","Editor contextual toolbar":"Bar alat kontekstual editor","Editor editing area: %0":"Ruang suntingan editor: %0","Editor toolbar":"Bar alat capaian suntingan","Empty snippet content":"Kosongkan kandungan potongan","Enter image caption":"Masukkan kapsyen imej","Enter table caption":"Benarkan kapsyen jadual","Font Background Color":"Warna Latar Belakang Fon","Font Color":"Warna Fon","Font Family":"Keluarga Fon","Font Size":"Saiz fon","Full size image":"Imej bersaiz penuh",Green:"Hijau","Green marker":"Penanda hijau","Green pen":"Pen hijau",Grey:"Kelabu",Groove:"Lurah","Header column":"Kolum pengepala","Header row":"Baris 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",Height:"Ketinggian",Highlight:"Sorotan","Horizontal line":"Baris melintang","Horizontal text alignment toolbar":"Bar alat capaian jajaran teks melintang","HTML snippet":"Potongan HTML",Huge:"Gergasi","Image resize list":"Senarai saizkan semula imej ","Image toolbar":"Bar alat capaian imej","image widget":"widget imej","In line":"Dalam baris","Increase indent":"Tambah inden",Insert:"Masukkan","Insert code block":"Masukkan blok kod","Insert column left":"Masukkan kolum kiri","Insert column right":"Masukkan kolum kanan","Insert HTML":"Masukkan HTML","Insert image":"Masukkan imej","Insert image via URL":"Masukkan imej melalui URL","Insert paragraph after block":"Masukkan perenggan sebelum blok","Insert paragraph before block":"Masukkan perenggan sebelum blok","Insert row above":"Masukkan baris diatas","Insert row below":"Masukkan baris dibawah","Insert table":"Masukkan jadual",Inset:"Inset",Italic:"Italik",Justify:"Imbang","Justify cell text":"Imbang teks sel","Left aligned image":"Imej berjajar kiri","Light blue":"Biru cerah","Light green":"Hijau cerah","Light grey":"Kelabu cerah",Link:"Pautkan","Link image":"Pautkan imej","Link URL":"Pautkan URL","List properties":"Senarai sifat","Lower-latin":"Latin bawah","Lower–roman":"Roman bawah","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 ",Next:"Seterusnya","No preview available":"Tiada pratonton disediakan",None:"Tiada","Numbered List":"Senarai Bernombor","Numbered list styles toolbar":"Bar alat capaian gaya senarai bernombor","Open in a new tab":"Buka dalam tab baru","Open link in new tab":"Buka pautan dalam tab baru",Orange:"Oren",Original:"Asal",Outset:"Outset",Padding:"Ketebalan",Paragraph:"Perenggan","Paste raw HTML here...":"Tampal HTML mentah disini...","Pink marker":"Penanda merah jambu","Plain text":"Teks kosong","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","Red pen":"Pen merah",Redo:"Buat semula","Remove color":"Buang warna","Remove Format":"Buang Format","Remove highlight":"Buang sorotan","Resize image":"Saizkan semula imej","Resize image to %0":"Saizkan semula imej kepada %0","Resize image to the original size":"Saizkan semula imej kepada saiz asal","Restore default":"Pulihkan lalai","Reversed order":"Susunan terbalik","Rich Text Editor":"Penyunting Teks Kaya",Ridge:"Batas","Right aligned image":"Imej berjajar kanan",Row:"Baris",Save:"Simpan","Save changes":"Simpan perubahan","Saving changes":"Menyimpan perubahan","Select all":"Pilih seterusnya","Select column":"Pilih kolum","Select row":"Pilih baris","Show more items":"Tunjukkan item lain","Side image":"Sisi imej",Small:"Kecil",Solid:"Pejal","Split cell horizontally":"Leraikan sel melintang","Split cell vertically":"Leraikan sel menegak",Square:"Petak","Start at":"Mula pada","Start index must be greater than 0.":"Indeks mula hendaklah lebih besar daripada 0.",Strikethrough:"Garis lorek",Style:"Gaya",Subscript:"Subskrip",Superscript:"Superskrip","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","Text alignment":"Jajaran teks","Text alignment toolbar":"Bar alat capaian jajaran teks","Text alternative":"Alternatif teks","Text highlight toolbar":"Bar alat capaian sorotan teks",'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.',"This link has no URL":"Pautan ini tidak mempunyai URL",Tiny:"Halus","To-do List":"Senarai Untuk Dilakukan","Toggle caption off":"Tutup kapsyen","Toggle caption on":"Buka kapsyen","Toggle the circle list style":"Buka gaya senarai bulatan","Toggle the decimal list style":"Buka gaya senarai titik perpuluhan","Toggle the decimal with leading zero list style":"Buka titik perpuluhan dengan gaya senarai kosong pendahulu","Toggle the disc list style":"Buka gaya senarai cakera","Toggle the lower–latin list style":"Buka gaya senarai latin bawah","Toggle the lower–roman list style":"Buka gaya senarai roman bawah","Toggle the square list style":"Buka gaya senarai petak","Toggle the upper–latin list style":"Buka gaya senarai latin atas","Toggle the upper–roman list style":"Buka gaya senarai roman atas",Turquoise:"Firus","Type or paste your content here.":"Taip atau tampal kandungan anda disini.","Type your title":"Taip tajuk anda",Underline:"Garis bawah",Undo:"Buat asal",Unlink:"Buang pautan",Update:"Kemaskini","Update image URL":"Kemaskini URL imej","Upload failed":"Muat naik gagal","Upload in progress":"Muat naik sedang berlangsung","Upper-latin":"Latin atas","Upper-roman":"Roman atas","Vertical text alignment toolbar":"Bar alat capaian jajaran teks menegak",White:"Putih","Widget toolbar":"Bar alat capaian widget",Width:"Lebar","Wrap text":"Balut teks",Yellow:"Kuning","Yellow marker":"Penanda 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||{},{"%0 of %1":"%0 daripada %1",Accept:"","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 center":"Jajarkan tengah","Align left":"Jajarkan kiri","Align right":"Jajarkan kiri","Align table to the left":"Jajarkan jadual sel kekiri","Align table to the right":"Jajarkan jadual sel kekanan",Alignment:"Jajaran",Aquamarine:"Akuamarin",Background:"Latar belakang",Big:"Besar",Black:"Hitam","Block quote":"Blok petikan",Blue:"Biru","Blue marker":"Penanda biru",Bold:"Tebal",Border:"Sempadan","Break text":"Potong teks","Bulleted List":"Senarai Berbulet","Bulleted list styles toolbar":"Bar capaian gaya senarai berbulet",Cancel:"Batal","Caption for image: %0":"Kapsyen untuk imej: %0","Caption for the image":"Kapsyen untuk imej","Cell properties":"Sifat sel","Center table":"Ketengahkan jadual","Centered image":"Imej berjajar tengah","Change image text alternative":"Tukar alternatif teks imej","Choose heading":"Pilih pengepala",Circle:"Bula",Code:"Kod",Color:"Warna","Color picker":"Pemilih warna",Column:"Kolum",Dashed:"Garis putus-putus",Decimal:"Perpuluhan","Decimal with leading zero":"Perpuluhan dengan kosong pendahulu","Decrease indent":"Kurangkan inden",Default:"Lalai","Delete column":"Padam kolum","Delete row":"Padam baris","Dim grey":"Kelabu malap",Dimensions:"Dimensi",Disc:"Cakera","Document colors":"Warna dokumen",Dotted:"Bertitik",Double:"Dua baris",Downloadable:"Boleh dimuat turun","Dropdown toolbar":"Bar alat capaian tetingkap","Edit block":"Sunting blok","Edit link":"Sunting pautan","Edit source":"Sunting sumber","Editor block content toolbar":"Bar alat sekat kandungan editor","Editor contextual toolbar":"Bar alat kontekstual editor","Editor editing area: %0":"Ruang suntingan editor: %0","Editor toolbar":"Bar alat capaian suntingan","Empty snippet content":"Kosongkan kandungan potongan","Enter image caption":"Masukkan kapsyen imej","Enter table caption":"Benarkan kapsyen jadual","Font Background Color":"Warna Latar Belakang Fon","Font Color":"Warna Fon","Font Family":"Keluarga Fon","Font Size":"Saiz fon","Full size image":"Imej bersaiz penuh",Green:"Hijau","Green marker":"Penanda hijau","Green pen":"Pen hijau",Grey:"Kelabu",Groove:"Lurah","Header column":"Kolum pengepala","Header row":"Baris 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",Height:"Ketinggian",HEX:"",Highlight:"Sorotan","Horizontal line":"Baris melintang","Horizontal text alignment toolbar":"Bar alat capaian jajaran teks melintang","HTML snippet":"Potongan HTML",Huge:"Gergasi","Image resize list":"Senarai saizkan semula imej ","Image toolbar":"Bar alat capaian imej","image widget":"widget imej","In line":"Dalam baris","Increase indent":"Tambah inden",Insert:"Masukkan","Insert code block":"Masukkan blok kod","Insert column left":"Masukkan kolum kiri","Insert column right":"Masukkan kolum kanan","Insert HTML":"Masukkan HTML","Insert image":"Masukkan imej","Insert image via URL":"Masukkan imej melalui URL","Insert paragraph after block":"Masukkan perenggan sebelum blok","Insert paragraph before block":"Masukkan perenggan sebelum blok","Insert row above":"Masukkan baris diatas","Insert row below":"Masukkan baris dibawah","Insert table":"Masukkan jadual",Inset:"Inset",Italic:"Italik",Justify:"Imbang","Justify cell text":"Imbang teks sel","Left aligned image":"Imej berjajar kiri","Light blue":"Biru cerah","Light green":"Hijau cerah","Light grey":"Kelabu cerah",Link:"Pautkan","Link image":"Pautkan imej","Link URL":"Pautkan URL","List properties":"Senarai sifat","Lower-latin":"Latin bawah","Lower–roman":"Roman bawah","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 ",Next:"Seterusnya","No preview available":"Tiada pratonton disediakan",None:"Tiada","Numbered List":"Senarai Bernombor","Numbered list styles toolbar":"Bar alat capaian gaya senarai bernombor","Open in a new tab":"Buka dalam tab baru","Open link in new tab":"Buka pautan dalam tab baru",Orange:"Oren",Original:"Asal",Outset:"Outset",Padding:"Ketebalan",Paragraph:"Perenggan","Paste raw HTML here...":"Tampal HTML mentah disini...","Pink marker":"Penanda merah jambu","Plain text":"Teks kosong","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","Red pen":"Pen merah",Redo:"Buat semula","Remove color":"Buang warna","Remove Format":"Buang Format","Remove highlight":"Buang sorotan","Resize image":"Saizkan semula imej","Resize image to %0":"Saizkan semula imej kepada %0","Resize image to the original size":"Saizkan semula imej kepada saiz asal","Restore default":"Pulihkan lalai","Reversed order":"Susunan terbalik","Rich Text Editor":"Penyunting Teks Kaya",Ridge:"Batas","Right aligned image":"Imej berjajar kanan",Row:"Baris",Save:"Simpan","Save changes":"Simpan perubahan","Saving changes":"Menyimpan perubahan","Select all":"Pilih seterusnya","Select column":"Pilih kolum","Select row":"Pilih baris","Show more items":"Tunjukkan item lain","Side image":"Sisi imej",Small:"Kecil",Solid:"Pejal","Split cell horizontally":"Leraikan sel melintang","Split cell vertically":"Leraikan sel menegak",Square:"Petak","Start at":"Mula pada","Start index must be greater than 0.":"Indeks mula hendaklah lebih besar daripada 0.",Strikethrough:"Garis lorek",Style:"Gaya",Subscript:"Subskrip",Superscript:"Superskrip","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","Text alignment":"Jajaran teks","Text alignment toolbar":"Bar alat capaian jajaran teks","Text alternative":"Alternatif teks","Text highlight toolbar":"Bar alat capaian sorotan teks",'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.',"This link has no URL":"Pautan ini tidak mempunyai URL",Tiny:"Halus","To-do List":"Senarai Untuk Dilakukan","Toggle caption off":"Tutup kapsyen","Toggle caption on":"Buka kapsyen","Toggle the circle list style":"Buka gaya senarai bulatan","Toggle the decimal list style":"Buka gaya senarai titik perpuluhan","Toggle the decimal with leading zero list style":"Buka titik perpuluhan dengan gaya senarai kosong pendahulu","Toggle the disc list style":"Buka gaya senarai cakera","Toggle the lower–latin list style":"Buka gaya senarai latin bawah","Toggle the lower–roman list style":"Buka gaya senarai roman bawah","Toggle the square list style":"Buka gaya senarai petak","Toggle the upper–latin list style":"Buka gaya senarai latin atas","Toggle the upper–roman list style":"Buka gaya senarai roman atas",Turquoise:"Firus","Type or paste your content here.":"Taip atau tampal kandungan anda disini.","Type your title":"Taip tajuk anda",Underline:"Garis bawah",Undo:"Buat asal",Unlink:"Buang pautan",Update:"Kemaskini","Update image URL":"Kemaskini URL imej","Upload failed":"Muat naik gagal","Upload in progress":"Muat naik sedang berlangsung","Upper-latin":"Latin atas","Upper-roman":"Roman atas","Vertical text alignment toolbar":"Bar alat capaian jajaran teks menegak",White:"Putih","Widget toolbar":"Bar alat capaian widget",Width:"Lebar","Wrap text":"Balut teks",Yellow:"Kuning","Yellow marker":"Penanda kuning"}),e.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 375468b220831e2f19fa2275e088e330188209b2..ab82f09b4fe6b7c92d9a93ae25f21b9212274e48 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.nb=e.nb||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","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 center":"Midstill","Align left":"Venstrejuster","Align right":"Høyrejuster","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"Stor",Black:"","Block quote":"Blokksitat",Blue:"","Blue marker":"Blå uthevingsfarge",Bold:"Fet",Border:"","Break text":"","Bulleted List":"Punktmerket liste","Bulleted list styles toolbar":"",Cancel:"Avbryt","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Midtstilt bilde","Change image text alternative":"Endre tekstalternativ for bilde","Choose heading":"Velg overskrift",Circle:"",Code:"Kode",Color:"","Color picker":"",Column:"Kolonne",Dashed:"",Decimal:"","Decimal with leading zero":"",Default:"Standard","Delete column":"Slett kolonne","Delete row":"Slett rad","Dim grey":"",Dimensions:"",Disc:"","Document colors":"",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"Rediger lenke","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Skriv inn bildetekst","Enter table caption":"","Font Background Color":"","Font Color":"","Font Family":"Skrifttype","Font Size":"Skriftstørrelse","Full size image":"Bilde i full størrelse",Green:"","Green marker":"Grønn uthevingsfarge","Green pen":"Grønn penn",Grey:"",Groove:"","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"","Heading 5":"","Heading 6":"",Height:"",Highlight:"Utheving","Horizontal text alignment toolbar":"",Huge:"Veldig stor","Image resize list":"","Image toolbar":"","image widget":"Bilde-widget","In line":"",Insert:"","Insert column left":"","Insert column right":"","Insert image":"Sett inn bilde","Insert image via URL":"","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"",Italic:"Kursiv",Justify:"Blokkjuster","Justify cell text":"","Left aligned image":"Venstrejustert bilde","Light blue":"","Light green":"","Light grey":"",Link:"Lenke","Link image":"","Link URL":"URL for lenke","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"",None:"","Numbered List":"Nummerert liste","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"Åpne lenke i ny fane",Orange:"",Original:"",Outset:"",Padding:"",Paragraph:"Avsnitt","Pink marker":"Rosa uthevingsfarge",Previous:"",Purple:"",Red:"","Red pen":"Rød penn",Redo:"Gjør om","Remove color":"","Remove highlight":"Fjern uthevingsfarge","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Rikteksteditor",Ridge:"","Right aligned image":"Høyrejustert bilde",Row:"Rad",Save:"Lagre","Select column":"","Select row":"","Show more items":"","Side image":"Sidebilde",Small:"Liten",Solid:"","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Gjennomstreking",Style:"",Subscript:"",Superscript:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Tekstjustering","Text alignment toolbar":"","Text alternative":"Tekstalternativ for bilde","Text highlight 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".':"","This link has no URL":"Denne lenken har ingen URL",Tiny:"Veldig liten","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Understreking",Undo:"Angre",Unlink:"Fjern lenke",Update:"","Update image URL":"","Upload failed":"Opplasting feilet","Upload in progress":"Opplasting pågår","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"",Width:"","Wrap text":"",Yellow:"","Yellow marker":"Gul uthevingsfarge"}),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||{},{"%0 of %1":"",Accept:"","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 center":"Midstill","Align left":"Venstrejuster","Align right":"Høyrejuster","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"Stor",Black:"","Block quote":"Blokksitat",Blue:"","Blue marker":"Blå uthevingsfarge",Bold:"Fet",Border:"","Break text":"","Bulleted List":"Punktmerket liste","Bulleted list styles toolbar":"",Cancel:"Avbryt","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Midtstilt bilde","Change image text alternative":"Endre tekstalternativ for bilde","Choose heading":"Velg overskrift",Circle:"",Code:"Kode",Color:"","Color picker":"",Column:"Kolonne",Dashed:"",Decimal:"","Decimal with leading zero":"",Default:"Standard","Delete column":"Slett kolonne","Delete row":"Slett rad","Dim grey":"",Dimensions:"",Disc:"","Document colors":"",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"Rediger lenke","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Skriv inn bildetekst","Enter table caption":"","Font Background Color":"","Font Color":"","Font Family":"Skrifttype","Font Size":"Skriftstørrelse","Full size image":"Bilde i full størrelse",Green:"","Green marker":"Grønn uthevingsfarge","Green pen":"Grønn penn",Grey:"",Groove:"","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"","Heading 5":"","Heading 6":"",Height:"",HEX:"",Highlight:"Utheving","Horizontal text alignment toolbar":"",Huge:"Veldig stor","Image resize list":"","Image toolbar":"","image widget":"Bilde-widget","In line":"",Insert:"","Insert column left":"","Insert column right":"","Insert image":"Sett inn bilde","Insert image via URL":"","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"",Italic:"Kursiv",Justify:"Blokkjuster","Justify cell text":"","Left aligned image":"Venstrejustert bilde","Light blue":"","Light green":"","Light grey":"",Link:"Lenke","Link image":"","Link URL":"URL for lenke","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"",None:"","Numbered List":"Nummerert liste","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"Åpne lenke i ny fane",Orange:"",Original:"",Outset:"",Padding:"",Paragraph:"Avsnitt","Pink marker":"Rosa uthevingsfarge",Previous:"",Purple:"",Red:"","Red pen":"Rød penn",Redo:"Gjør om","Remove color":"","Remove highlight":"Fjern uthevingsfarge","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Rikteksteditor",Ridge:"","Right aligned image":"Høyrejustert bilde",Row:"Rad",Save:"Lagre","Select column":"","Select row":"","Show more items":"","Side image":"Sidebilde",Small:"Liten",Solid:"","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Gjennomstreking",Style:"",Subscript:"",Superscript:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Tekstjustering","Text alignment toolbar":"","Text alternative":"Tekstalternativ for bilde","Text highlight 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".':"","This link has no URL":"Denne lenken har ingen URL",Tiny:"Veldig liten","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Understreking",Undo:"Angre",Unlink:"Fjern lenke",Update:"","Update image URL":"","Upload failed":"Opplasting feilet","Upload in progress":"Opplasting pågår","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"",Width:"","Wrap text":"",Yellow:"","Yellow marker":"Gul uthevingsfarge"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 11713d1922a27942e6dbb702a240f9d5e8fdc7f3..b5ba78929b1ed404771e66c25cc3f5510939a81c 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ne=e.ne||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 मध्ये %1","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 center":"केन्द्र पङ्क्तिबद्ध गर्नुहोस्","Align left":"बायाँ पङ्क्तिबद्ध गर्नुहोस्","Align right":"दायाँ पङ्क्तिबद्ध गर्नुहोस्","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"अव्कवामरिन",Background:"",Big:"ठूलो",Black:"कालो","Block quote":"ब्लक उद्धरण",Blue:"निलो","Blue marker":"नीलो मार्कर",Bold:"बोल्ड",Border:"","Break text":"","Bulleted List":"गोली चिन्ह अङ्कित सूची","Bulleted list styles toolbar":"",Cancel:"रद्द गर्नुहोस्","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"केन्द्रित तस्वीर","Change image text alternative":"तस्वीर पाठ विकल्प परिवर्तन गर्नुहोस्","Choose heading":"शीर्षक छनौट गर्नुहोस्",Circle:"",Code:"कोड",Color:"","Color picker":"",Column:"स्तम्भ",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"इन्डेन्ट घटाउन",Default:"पूर्वनिर्धारित","Delete column":"स्तम्भ मेटाउनुहोस्","Delete row":"पङ्क्ति मेटाउनुहोस्","Dim grey":"धमिलो खैरो",Dimensions:"",Disc:"","Document colors":"कागजात रंग",Dotted:"",Double:"",Downloadable:"डाउनलोड योग्य","Dropdown toolbar":"","Edit block":"ब्लक सम्पादन गर्न","Edit link":"लिङ्क सम्पादन गर्नुहोस्","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"तस्वीर क्याप्शन प्रविष्ट गर्नुहोस्","Enter table caption":"","Font Background Color":"पृष्ठभूमिको फन्ट रंग","Font Color":"फन्ट रंग","Font Family":"फन्ट परिवार","Font Size":"फन्ट आकार","Full size image":"पूर्ण आकार तस्वीर",Green:"हरियो","Green marker":"हरियो मार्कर","Green pen":"हरियो कलम",Grey:"खैरो",Groove:"","Header column":"हेडर स्तम्भ","Header row":"हेडर पङ्क्ति",Heading:"शीर्षक","Heading 1":"शीर्षक-एक","Heading 2":"शीर्षक २","Heading 3":"शीर्षक ३","Heading 4":"शीर्षक ४","Heading 5":"शीर्षक ५","Heading 6":"शीर्षक ६",Height:"",Highlight:"हाइलाइट","Horizontal text alignment toolbar":"",Huge:"विशाल","Image resize list":"","Image toolbar":"","image widget":"तस्वीर विजेट","In line":"","Increase indent":"इन्डेन्ट बढाउन",Insert:"","Insert column left":"बायाँ स्तम्भ सम्मिलित गर्न","Insert column right":"दायाँ स्तम्भ सम्मिलित गर्न","Insert image":"तस्वीर सम्मिलित गर्नुहोस्","Insert image via URL":"","Insert row above":"माथि पंक्ति सम्मिलित गर्नुहोस्","Insert row below":"तल पंक्ति सम्मिलित गर्नुहोस्","Insert table":"तालिका सम्मिलित गर्नुहोस्",Inset:"",Italic:"इटालिक",Justify:"जस्टिफाइ गर्नुहोस्","Justify cell text":"","Left aligned image":"बायाँ पङ्क्ति तस्वीर","Light blue":"हल्का निलो","Light green":"हल्का हरियो","Light grey":"हल्का खैरो",Link:"लिङ्क","Link image":"","Link URL":"लिङ्क यूआरएल","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"कक्ष तल मर्ज गर्नुहोस्","Merge cell left":"सेल बायाँ मर्ज गर्नुहोस्","Merge cell right":"दायाँ कक्ष मर्ज गर्नुहोस्","Merge cell up":"कक्ष माथि मर्ज गर्नुहोस्","Merge cells":"कक्ष मर्ज गर्नुहोस्",Next:"अर्को",None:"","Numbered List":"सूचीबद्ध सूची","Numbered list styles toolbar":"","Open in a new tab":"नयाँ ट्याबमा खोल्न","Open link in new tab":"नयाँ ट्याबमा लिङ्क खोल्नुहोस्",Orange:"सुन्तला रंग",Original:"",Outset:"",Padding:"",Paragraph:"अनुच्छेद","Pink marker":"गुलाबी मार्कर",Previous:"अघिल्लो",Purple:"बैंगनी रंग",Red:"रातो","Red pen":"रातो कलम",Redo:"रिडु","Remove color":"रंग हटाउन","Remove Format":"ढाँचा हटाउनुहोस्","Remove highlight":"हाइलाइट हटाउनुहोस्","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"धनी पाठ सम्पादक",Ridge:"","Right aligned image":"दायाँ पङ्क्तिबद्ध तस्वीर",Row:"पङ्क्ति",Save:"सुरक्षित गर्नुहोस्","Saving changes":"परिवर्तनहरू बचत हुदैछ","Select column":"","Select row":"","Show more items":"","Side image":"साइड तस्वीर",Small:"सानो",Solid:"","Split cell horizontally":"क्षैतिज कक्ष विभाजित गर्नुहोस्","Split cell vertically":"ठाडो कक्ष विभाजित गर्नुहोस्",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"स्ट्राइकथ्रू",Style:"",Subscript:"सबस्क्रिप्ट",Superscript:"सुपरस्क्रिप्ट","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"पाठ संरेखण","Text alignment toolbar":"","Text alternative":"पाठ विकल्प","Text highlight 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".':"","This link has no URL":"यो लिङ्कसँग यूआरएल छैन",Tiny:"सानो","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"त्रकोइस","Type or paste your content here.":"","Type your title":"",Underline:"रेखांकन",Undo:"पूर्ववत",Unlink:"अनलिङ्क गर्नुहोस्",Update:"","Update image URL":"","Upload failed":"अपलोड असफल भयो","Upload in progress":"अपलोड हुदैछ","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"सेतो",Width:"","Wrap text":"",Yellow:"पहेंलो","Yellow marker":"पहेंलो मार्कर"}),t.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||{},{"%0 of %1":"%0 मध्ये %1",Accept:"","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 center":"केन्द्र पङ्क्तिबद्ध गर्नुहोस्","Align left":"बायाँ पङ्क्तिबद्ध गर्नुहोस्","Align right":"दायाँ पङ्क्तिबद्ध गर्नुहोस्","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"अव्कवामरिन",Background:"",Big:"ठूलो",Black:"कालो","Block quote":"ब्लक उद्धरण",Blue:"निलो","Blue marker":"नीलो मार्कर",Bold:"बोल्ड",Border:"","Break text":"","Bulleted List":"गोली चिन्ह अङ्कित सूची","Bulleted list styles toolbar":"",Cancel:"रद्द गर्नुहोस्","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"केन्द्रित तस्वीर","Change image text alternative":"तस्वीर पाठ विकल्प परिवर्तन गर्नुहोस्","Choose heading":"शीर्षक छनौट गर्नुहोस्",Circle:"",Code:"कोड",Color:"","Color picker":"",Column:"स्तम्भ",Dashed:"",Decimal:"","Decimal with leading zero":"","Decrease indent":"इन्डेन्ट घटाउन",Default:"पूर्वनिर्धारित","Delete column":"स्तम्भ मेटाउनुहोस्","Delete row":"पङ्क्ति मेटाउनुहोस्","Dim grey":"धमिलो खैरो",Dimensions:"",Disc:"","Document colors":"कागजात रंग",Dotted:"",Double:"",Downloadable:"डाउनलोड योग्य","Dropdown toolbar":"","Edit block":"ब्लक सम्पादन गर्न","Edit link":"लिङ्क सम्पादन गर्नुहोस्","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"तस्वीर क्याप्शन प्रविष्ट गर्नुहोस्","Enter table caption":"","Font Background Color":"पृष्ठभूमिको फन्ट रंग","Font Color":"फन्ट रंग","Font Family":"फन्ट परिवार","Font Size":"फन्ट आकार","Full size image":"पूर्ण आकार तस्वीर",Green:"हरियो","Green marker":"हरियो मार्कर","Green pen":"हरियो कलम",Grey:"खैरो",Groove:"","Header column":"हेडर स्तम्भ","Header row":"हेडर पङ्क्ति",Heading:"शीर्षक","Heading 1":"शीर्षक-एक","Heading 2":"शीर्षक २","Heading 3":"शीर्षक ३","Heading 4":"शीर्षक ४","Heading 5":"शीर्षक ५","Heading 6":"शीर्षक ६",Height:"",HEX:"",Highlight:"हाइलाइट","Horizontal text alignment toolbar":"",Huge:"विशाल","Image resize list":"","Image toolbar":"","image widget":"तस्वीर विजेट","In line":"","Increase indent":"इन्डेन्ट बढाउन",Insert:"","Insert column left":"बायाँ स्तम्भ सम्मिलित गर्न","Insert column right":"दायाँ स्तम्भ सम्मिलित गर्न","Insert image":"तस्वीर सम्मिलित गर्नुहोस्","Insert image via URL":"","Insert row above":"माथि पंक्ति सम्मिलित गर्नुहोस्","Insert row below":"तल पंक्ति सम्मिलित गर्नुहोस्","Insert table":"तालिका सम्मिलित गर्नुहोस्",Inset:"",Italic:"इटालिक",Justify:"जस्टिफाइ गर्नुहोस्","Justify cell text":"","Left aligned image":"बायाँ पङ्क्ति तस्वीर","Light blue":"हल्का निलो","Light green":"हल्का हरियो","Light grey":"हल्का खैरो",Link:"लिङ्क","Link image":"","Link URL":"लिङ्क यूआरएल","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"कक्ष तल मर्ज गर्नुहोस्","Merge cell left":"सेल बायाँ मर्ज गर्नुहोस्","Merge cell right":"दायाँ कक्ष मर्ज गर्नुहोस्","Merge cell up":"कक्ष माथि मर्ज गर्नुहोस्","Merge cells":"कक्ष मर्ज गर्नुहोस्",Next:"अर्को",None:"","Numbered List":"सूचीबद्ध सूची","Numbered list styles toolbar":"","Open in a new tab":"नयाँ ट्याबमा खोल्न","Open link in new tab":"नयाँ ट्याबमा लिङ्क खोल्नुहोस्",Orange:"सुन्तला रंग",Original:"",Outset:"",Padding:"",Paragraph:"अनुच्छेद","Pink marker":"गुलाबी मार्कर",Previous:"अघिल्लो",Purple:"बैंगनी रंग",Red:"रातो","Red pen":"रातो कलम",Redo:"रिडु","Remove color":"रंग हटाउन","Remove Format":"ढाँचा हटाउनुहोस्","Remove highlight":"हाइलाइट हटाउनुहोस्","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"धनी पाठ सम्पादक",Ridge:"","Right aligned image":"दायाँ पङ्क्तिबद्ध तस्वीर",Row:"पङ्क्ति",Save:"सुरक्षित गर्नुहोस्","Saving changes":"परिवर्तनहरू बचत हुदैछ","Select column":"","Select row":"","Show more items":"","Side image":"साइड तस्वीर",Small:"सानो",Solid:"","Split cell horizontally":"क्षैतिज कक्ष विभाजित गर्नुहोस्","Split cell vertically":"ठाडो कक्ष विभाजित गर्नुहोस्",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"स्ट्राइकथ्रू",Style:"",Subscript:"सबस्क्रिप्ट",Superscript:"सुपरस्क्रिप्ट","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"पाठ संरेखण","Text alignment toolbar":"","Text alternative":"पाठ विकल्प","Text highlight 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".':"","This link has no URL":"यो लिङ्कसँग यूआरएल छैन",Tiny:"सानो","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"त्रकोइस","Type or paste your content here.":"","Type your title":"",Underline:"रेखांकन",Undo:"पूर्ववत",Unlink:"अनलिङ्क गर्नुहोस्",Update:"","Update image URL":"","Upload failed":"अपलोड असफल भयो","Upload in progress":"अपलोड हुदैछ","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"सेतो",Width:"","Wrap text":"",Yellow:"पहेंलो","Yellow marker":"पहेंलो मार्कर"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index f3e016f92b18eed0566de6149c9e90262e91eb91..91d1f361593f8d17b895f1ea3cc6fffc20170c35 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.nl=e.nl||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 van %1","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 center":"Midden uitlijnen","Align left":"Links uitlijnen","Align right":"Rechts uitlijnen","Align table to the left":"Tabel links uitlijnen","Align table to the right":"Tabel rechts uitlijnen",Alignment:"Uitlijning",Aquamarine:"Aquamarijn",Background:"Achtergrond",Big:"Groot",Black:"Zwart","Block quote":"Blok citaat",Blue:"Blauw","Blue marker":"Blauwe marker",Bold:"Vet",Border:"Rand","Break text":"Tekst afbreken","Bulleted List":"Ongenummerde lijst","Bulleted list styles toolbar":"Toolbar voor stijlen van opsommingslijsten",Cancel:"Annuleren","Caption for image: %0":"Bijschrift voor afbeelding: %0","Caption for the image":"Bijschrift voor afbeelding","Cell properties":"Celeigenschappen","Center table":"Tabel centreren","Centered image":"Gecentreerde afbeelding","Change image text alternative":"Verander alt-tekst van de afbeelding","Choose heading":"Kies kop",Circle:"Cirkel",Code:"Code",Color:"Kleur","Color picker":"Kleurkiezer",Column:"Kolom",Dashed:"Onderbroken",Decimal:"Decimaal","Decimal with leading zero":"Decimaal voorafgegaan door een nul","Decrease indent":"Minder inspringen",Default:"Standaard","Delete column":"Verwijder kolom","Delete row":"Verwijder rij","Dim grey":"Gedimd grijs",Dimensions:"Afmetingen",Disc:"Schijf","Document colors":"Document kleur",Dotted:"Stippellijn",Double:"Dubbel",Downloadable:"Downloadbaar","Dropdown toolbar":"Drop-down werkbalk","Edit block":"Blok aanpassen","Edit link":"Bewerk link","Edit source":"Bron bewerken","Editor block content toolbar":"Inhoud werkbalk voor editorblok","Editor contextual toolbar":"Contextuele werkbalk van editor","Editor editing area: %0":"Bewerkingsgebied: %0","Editor toolbar":"Editor welkbalk","Empty snippet content":"Geen content in snippet","Enter image caption":"Typ een afbeeldingsbijschrift","Enter table caption":"Voer tabelbijschrift in","Font Background Color":"Tekst achtergrondkleur","Font Color":"Tekstkleur","Font Family":"Lettertype","Font Size":"Lettergrootte","Full size image":"Afbeelding op volledige grootte",Green:"Groen","Green marker":"Groene marker","Green pen":"Groene pen",Grey:"Grijs",Groove:"Sleuf","Header column":"Titel kolom","Header row":"Titel rij",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",Height:"Hoogte",Highlight:"Markeren","Horizontal line":"Horizontale lijn","Horizontal text alignment toolbar":"Werkbalk voor horizontale tekstuitlijning","HTML snippet":"HTML-snippet",Huge:"Zeer groot","Image resize list":"Lijst voor wijzigen van afbeeldingsformaat","Image toolbar":"Afbeeldingswerkbalk","image widget":"afbeeldingswidget","In line":"In lijn","Increase indent":"Inspringen",Insert:"Invoegen","Insert code block":"Codeblok invoegen","Insert column left":"Kolom links invoegen","Insert column right":"Kolom rechts invoegen","Insert HTML":"HTML invoegen","Insert image":"Afbeelding toevoegen","Insert image via URL":"Afbeelding toevoegen via URL","Insert paragraph after block":"Voeg paragraaf toe na blok","Insert paragraph before block":"Voeg paragraaf toe voor blok","Insert row above":"Rij hierboven invoegen","Insert row below":"Rij hieronder invoegen","Insert table":"Tabel invoegen",Inset:"Ingezet",Italic:"Cursief",Justify:"Volledig uitlijnen","Justify cell text":"Celtekst uitvullen","Left aligned image":"Links uitgelijnde afbeelding","Light blue":"Lichtblauw","Light green":"Lichtgroen","Light grey":"Lichtgrijs",Link:"Link","Link image":"Link afbeelding","Link URL":"Link URL","List properties":"Lijsteigenschappen","Lower-latin":"Kleine Latijnse letters","Lower–roman":"Kleine Romeinse cijfers","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",Next:"Volgende","No preview available":"Geen voorbeeld beschikbaar",None:"Geen","Numbered List":"Genummerde lijst","Numbered list styles toolbar":"Toolbar voor stijlen van genummerde lijsten","Open in a new tab":"Open een nieuw tabblad","Open link in new tab":"Open link in nieuw tabblad",Orange:"Oranje",Original:"Origineel",Outset:"Opliggend",Padding:"Opvulling",Paragraph:"Paragraaf","Paste raw HTML here...":"Plak de ruwe HTML-code hier...","Pink marker":"Roze marker","Plain text":"Platte tekst","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","Red pen":"Rode pen",Redo:"Opnieuw","Remove color":"Verwijder kleur","Remove Format":"Verwijder opmaak","Remove highlight":"Verwijder markering","Resize image":"Afbeeldingsformaat wijzigen","Resize image to %0":"Afbeeldingsformaat wijzigen naar %0","Resize image to the original size":"Afbeeldingsformaat wijzigen naar originele grootte","Restore default":"Standaardinstellingen terugzetten","Reversed order":"Omgekeerde volgorde","Rich Text Editor":"Tekstbewerker",Ridge:"Rand","Right aligned image":"Rechts uitgelijnde afbeelding",Row:"Rij",Save:"Opslaan","Save changes":"Aanpassingen bewaren","Saving changes":"Wijzigingen worden opgeslagen","Select all":"Selecteer alles","Select column":"Selecteer kolom","Select row":"Selecteer rij","Show more items":"Meer items weergeven","Side image":"Afbeelding naast tekst",Small:"Klein",Solid:"Ononderbroken","Split cell horizontally":"Splits cel horizontaal","Split cell vertically":"Splits cel verticaal",Square:"Vierkant","Start at":"Begin op","Start index must be greater than 0.":"Begin van index moet groter zijn dan 0.",Strikethrough:"Doorhalen",Style:"Stijl",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Werkbalk tabeluitlijning","Table cell text alignment":"Tekstuitlijning tabelcel","Table properties":"Tabeleigenschappen","Table toolbar":"Tabel werkbalk","Text alignment":"Tekst uitlijning","Text alignment toolbar":"Tekst uitlijning werkbalk","Text alternative":"Alt-tekst","Text highlight toolbar":"Tekst markering 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'.","This link has no URL":"Deze link heeft geen URL",Tiny:"Zeer klein","To-do List":"To-do lijst","Toggle caption off":"Bijschrift uitzetten","Toggle caption on":"Bijschrift aanzetten","Toggle the circle list style":"Schakel de stijl van lijsten met cirkel in","Toggle the decimal list style":"Schakel de stijl van lijsten met cijfers in","Toggle the decimal with leading zero list style":"Schakel de stijl van lijsten met cijfers voorafgegaan door een nul in","Toggle the disc list style":"Schakel de stijl van lijsten met bulletpoint in","Toggle the lower–latin list style":"Schakel de stijl van lijsten met kleine Latijnse letters in","Toggle the lower–roman list style":"Schakel de stijl van lijsten met kleine Romeinse cijfers in","Toggle the square list style":"Schakel de stijl van lijsten met vierkant in","Toggle the upper–latin list style":"Schakel de stijl van lijsten met Latijnse hoofdletters in","Toggle the upper–roman list style":"Schakel de stijl van lijsten met grote Romeinse cijfers in",Turquoise:"Turquoise","Type or paste your content here.":"Voer of plak uw inhoud in.","Type your title":"Voor uw titel in",Underline:"Onderlijnen",Undo:"Ongedaan maken",Unlink:"Verwijder link",Update:"Update","Update image URL":"URL van afbeelding bijwerken","Upload failed":"Uploaden afbeelding mislukt","Upload in progress":"Bezig met uploaden","Upper-latin":"Latijnse hoofdletters","Upper-roman":"Grote Romeinse cijfers","Vertical text alignment toolbar":"Werkbalk voor verticale tekstuitlijning",White:"Wit","Widget toolbar":"Widget werkbalk",Width:"Breedte","Wrap text":"Tekstterugloop",Yellow:"Geel","Yellow marker":"Gele marker"}),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||{},{"%0 of %1":"%0 van %1",Accept:"","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 center":"Midden uitlijnen","Align left":"Links uitlijnen","Align right":"Rechts uitlijnen","Align table to the left":"Tabel links uitlijnen","Align table to the right":"Tabel rechts uitlijnen",Alignment:"Uitlijning",Aquamarine:"Aquamarijn",Background:"Achtergrond",Big:"Groot",Black:"Zwart","Block quote":"Blok citaat",Blue:"Blauw","Blue marker":"Blauwe marker",Bold:"Vet",Border:"Rand","Break text":"Tekst afbreken","Bulleted List":"Ongenummerde lijst","Bulleted list styles toolbar":"Toolbar voor stijlen van opsommingslijsten",Cancel:"Annuleren","Caption for image: %0":"Bijschrift voor afbeelding: %0","Caption for the image":"Bijschrift voor afbeelding","Cell properties":"Celeigenschappen","Center table":"Tabel centreren","Centered image":"Gecentreerde afbeelding","Change image text alternative":"Verander alt-tekst van de afbeelding","Choose heading":"Kies kop",Circle:"Cirkel",Code:"Code",Color:"Kleur","Color picker":"Kleurkiezer",Column:"Kolom",Dashed:"Onderbroken",Decimal:"Decimaal","Decimal with leading zero":"Decimaal voorafgegaan door een nul","Decrease indent":"Minder inspringen",Default:"Standaard","Delete column":"Verwijder kolom","Delete row":"Verwijder rij","Dim grey":"Gedimd grijs",Dimensions:"Afmetingen",Disc:"Schijf","Document colors":"Document kleur",Dotted:"Stippellijn",Double:"Dubbel",Downloadable:"Downloadbaar","Dropdown toolbar":"Drop-down werkbalk","Edit block":"Blok aanpassen","Edit link":"Bewerk link","Edit source":"Bron bewerken","Editor block content toolbar":"Inhoud werkbalk voor editorblok","Editor contextual toolbar":"Contextuele werkbalk van editor","Editor editing area: %0":"Bewerkingsgebied: %0","Editor toolbar":"Editor welkbalk","Empty snippet content":"Geen content in snippet","Enter image caption":"Typ een afbeeldingsbijschrift","Enter table caption":"Voer tabelbijschrift in","Font Background Color":"Tekst achtergrondkleur","Font Color":"Tekstkleur","Font Family":"Lettertype","Font Size":"Lettergrootte","Full size image":"Afbeelding op volledige grootte",Green:"Groen","Green marker":"Groene marker","Green pen":"Groene pen",Grey:"Grijs",Groove:"Sleuf","Header column":"Titel kolom","Header row":"Titel rij",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",Height:"Hoogte",HEX:"",Highlight:"Markeren","Horizontal line":"Horizontale lijn","Horizontal text alignment toolbar":"Werkbalk voor horizontale tekstuitlijning","HTML snippet":"HTML-snippet",Huge:"Zeer groot","Image resize list":"Lijst voor wijzigen van afbeeldingsformaat","Image toolbar":"Afbeeldingswerkbalk","image widget":"afbeeldingswidget","In line":"In lijn","Increase indent":"Inspringen",Insert:"Invoegen","Insert code block":"Codeblok invoegen","Insert column left":"Kolom links invoegen","Insert column right":"Kolom rechts invoegen","Insert HTML":"HTML invoegen","Insert image":"Afbeelding toevoegen","Insert image via URL":"Afbeelding toevoegen via URL","Insert paragraph after block":"Voeg paragraaf toe na blok","Insert paragraph before block":"Voeg paragraaf toe voor blok","Insert row above":"Rij hierboven invoegen","Insert row below":"Rij hieronder invoegen","Insert table":"Tabel invoegen",Inset:"Ingezet",Italic:"Cursief",Justify:"Volledig uitlijnen","Justify cell text":"Celtekst uitvullen","Left aligned image":"Links uitgelijnde afbeelding","Light blue":"Lichtblauw","Light green":"Lichtgroen","Light grey":"Lichtgrijs",Link:"Link","Link image":"Link afbeelding","Link URL":"Link URL","List properties":"Lijsteigenschappen","Lower-latin":"Kleine Latijnse letters","Lower–roman":"Kleine Romeinse cijfers","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",Next:"Volgende","No preview available":"Geen voorbeeld beschikbaar",None:"Geen","Numbered List":"Genummerde lijst","Numbered list styles toolbar":"Toolbar voor stijlen van genummerde lijsten","Open in a new tab":"Open een nieuw tabblad","Open link in new tab":"Open link in nieuw tabblad",Orange:"Oranje",Original:"Origineel",Outset:"Opliggend",Padding:"Opvulling",Paragraph:"Paragraaf","Paste raw HTML here...":"Plak de ruwe HTML-code hier...","Pink marker":"Roze marker","Plain text":"Platte tekst","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","Red pen":"Rode pen",Redo:"Opnieuw","Remove color":"Verwijder kleur","Remove Format":"Verwijder opmaak","Remove highlight":"Verwijder markering","Resize image":"Afbeeldingsformaat wijzigen","Resize image to %0":"Afbeeldingsformaat wijzigen naar %0","Resize image to the original size":"Afbeeldingsformaat wijzigen naar originele grootte","Restore default":"Standaardinstellingen terugzetten","Reversed order":"Omgekeerde volgorde","Rich Text Editor":"Tekstbewerker",Ridge:"Rand","Right aligned image":"Rechts uitgelijnde afbeelding",Row:"Rij",Save:"Opslaan","Save changes":"Aanpassingen bewaren","Saving changes":"Wijzigingen worden opgeslagen","Select all":"Selecteer alles","Select column":"Selecteer kolom","Select row":"Selecteer rij","Show more items":"Meer items weergeven","Side image":"Afbeelding naast tekst",Small:"Klein",Solid:"Ononderbroken","Split cell horizontally":"Splits cel horizontaal","Split cell vertically":"Splits cel verticaal",Square:"Vierkant","Start at":"Begin op","Start index must be greater than 0.":"Begin van index moet groter zijn dan 0.",Strikethrough:"Doorhalen",Style:"Stijl",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Werkbalk tabeluitlijning","Table cell text alignment":"Tekstuitlijning tabelcel","Table properties":"Tabeleigenschappen","Table toolbar":"Tabel werkbalk","Text alignment":"Tekst uitlijning","Text alignment toolbar":"Tekst uitlijning werkbalk","Text alternative":"Alt-tekst","Text highlight toolbar":"Tekst markering 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'.","This link has no URL":"Deze link heeft geen URL",Tiny:"Zeer klein","To-do List":"To-do lijst","Toggle caption off":"Bijschrift uitzetten","Toggle caption on":"Bijschrift aanzetten","Toggle the circle list style":"Schakel de stijl van lijsten met cirkel in","Toggle the decimal list style":"Schakel de stijl van lijsten met cijfers in","Toggle the decimal with leading zero list style":"Schakel de stijl van lijsten met cijfers voorafgegaan door een nul in","Toggle the disc list style":"Schakel de stijl van lijsten met bulletpoint in","Toggle the lower–latin list style":"Schakel de stijl van lijsten met kleine Latijnse letters in","Toggle the lower–roman list style":"Schakel de stijl van lijsten met kleine Romeinse cijfers in","Toggle the square list style":"Schakel de stijl van lijsten met vierkant in","Toggle the upper–latin list style":"Schakel de stijl van lijsten met Latijnse hoofdletters in","Toggle the upper–roman list style":"Schakel de stijl van lijsten met grote Romeinse cijfers in",Turquoise:"Turquoise","Type or paste your content here.":"Voer of plak uw inhoud in.","Type your title":"Voor uw titel in",Underline:"Onderlijnen",Undo:"Ongedaan maken",Unlink:"Verwijder link",Update:"Update","Update image URL":"URL van afbeelding bijwerken","Upload failed":"Uploaden afbeelding mislukt","Upload in progress":"Bezig met uploaden","Upper-latin":"Latijnse hoofdletters","Upper-roman":"Grote Romeinse cijfers","Vertical text alignment toolbar":"Werkbalk voor verticale tekstuitlijning",White:"Wit","Widget toolbar":"Widget werkbalk",Width:"Breedte","Wrap text":"Tekstterugloop",Yellow:"Geel","Yellow marker":"Gele marker"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 8413f972ad7dc211128712603053050d37bfe368..08ad9ffea6aecc9feee71e308089797731e73e6e 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.no=e.no||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 av %1","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 center":"Midtstill","Align left":"Venstrejuster","Align right":"Høyrejuster","Align table to the left":"Juster tabell til venstre ","Align table to the right":"Juster tabell til høyre ",Alignment:"Justering",Aquamarine:"Akvamarin",Background:"Bakgrunn ",Big:"Stor",Black:"Svart","Block quote":"Blokksitat",Blue:"Blå","Blue marker":"Blå utheving",Bold:"Fet",Border:"Kantlinje ","Break text":"Bryt tekst","Bulleted List":"Punktliste","Bulleted list styles toolbar":"Verktøylinje for punktlistestiler",Cancel:"Avbryt","Caption for image: %0":"Bildetekst for bilde: %0","Caption for the image":"Bildetekst","Cell properties":"Celleegenskaper ","Center table":"Sentrer tabell ","Centered image":"Midtstilt bilde","Change image text alternative":"Endre tekstalternativ til bildet","Choose heading":"Velg overskrift",Circle:"Sirkel",Code:"Kode",Color:"Farge","Color picker":"Fargevalg ",Column:"Kolonne",Dashed:"Stiplet",Decimal:"Nummer","Decimal with leading zero":"Nummer med foranstilt null","Decrease indent":"Reduser innrykk",Default:"Standard","Delete column":"Slett kolonne","Delete row":"Slett rad","Dim grey":"Svak grå",Dimensions:"Dimensjoner",Disc:"Disk","Document colors":"Dokumentfarger",Dotted:"Stiplede",Double:"Dobbel ",Downloadable:"Nedlastbar","Dropdown toolbar":"Verktøylinje for nedtrekksliste","Edit block":"Rediger blokk","Edit link":"Rediger lenke","Edit source":"Rediger kilde","Editor block content toolbar":"Verktøylinje for blokkinnhold i redigeringsverktøy","Editor contextual toolbar":"Verktøylinje for kontekst i redigeringsverktøy","Editor editing area: %0":"Redigeringsområde for redigeringsverktøyet: %0","Editor toolbar":"Verktøylinje for redigeringsverktøy","Empty snippet content":"Tomt snuttinnhold","Enter image caption":"Skriv inn bildetekst","Enter table caption":"Legg inn tabelltekst","Font Background Color":"Uthevingsfarge for tekst","Font Color":"Skriftfarge","Font Family":"Skrifttypefamilie","Font Size":"Skriftstørrelse","Full size image":"Bilde i full størrelse",Green:"Grønn","Green marker":"Grønn utheving","Green pen":"Grønn penn",Grey:"Grå",Groove:"Grov","Header column":"Overskriftkolonne","Header row":"Overskriftrad",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",Height:"Høyde",Highlight:"Utheving","Horizontal line":"Horisontal linje","Horizontal text alignment toolbar":"Verktøylinje for justering av tekst horisontalt ","HTML snippet":"HTML-snutt",Huge:"Veldig stor","Image resize list":"Nedtrekksliste for bildestørrelse","Image toolbar":"Verktøylinje for bilde","image widget":"Bilde-widget","In line":"Innlemmet","Increase indent":"Øk innrykk",Insert:"Sett inn","Insert code block":"Sett inn kodeblokk","Insert column left":"Sett inn kolonne til venstre","Insert column right":"Sett inn kolonne til høyre","Insert HTML":"Legg inn HTML","Insert image":"Sett inn bilde","Insert image via URL":"Sett inn bilde via URL","Insert paragraph after block":"Sett inn paragraf etter blokk","Insert paragraph before block":"Sett inn paragraf foran blokk","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"Innover",Italic:"Kursiv",Justify:"Blokkjuster","Justify cell text":"Rett celletekst ","Left aligned image":"Venstrejustert bilde","Light blue":"Lyseblå","Light green":"Lysegrønn","Light grey":"Lysegrå",Link:"Lenke","Link image":"Bildelenke","Link URL":"Lenke-URL","List properties":"Listeegenskaper","Lower-latin":"Små latinske tegn","Lower–roman":"Små romertall","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",Next:"Neste","No preview available":"Ingen forhåndsvisning tilgjengelig",None:"Ingen","Numbered List":"Nummerert liste","Numbered list styles toolbar":"Verktøylinje for stiler for nummererte lister","Open in a new tab":"Åpne i ny fane","Open link in new tab":"Åpne lenke i ny fane",Orange:"Oransje",Original:"Original",Outset:"Utover",Padding:"Fylling",Paragraph:"Avsnitt","Paste raw HTML here...":"Lim inn rå HTML her …","Pink marker":"Rosa utheving","Plain text":"Ren tekst","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","Red pen":"Rød penn",Redo:"Gjør om","Remove color":"Fjern farge","Remove Format":"Fjern formatering","Remove highlight":"Fjern utheving","Resize image":"Endre bildestørrelse","Resize image to %0":"Endre bildestørrelse til %0","Resize image to the original size":"Endre bildestørrelse til originalstørrelse","Restore default":"Tilbakestill til standard","Reversed order":"Motsatt rekkefølge","Rich Text Editor":"Tekstredigeringsverktøy for rik tekst",Ridge:"Kjede","Right aligned image":"Høyrejustert bilde",Row:"Rad",Save:"Lagre","Save changes":"Lagre endringer","Saving changes":"Lagrer endringer","Select all":"Velg alt ","Select column":"Velg kolonne ","Select row":"Velg rad","Show more items":"Vis flere elementer","Side image":"Sidestilt bilde",Small:"Liten",Solid:"Hel","Split cell horizontally":"Del opp celle horisontalt","Split cell vertically":"Del opp celle vertikalt",Square:"Firkant","Start at":"Start ved","Start index must be greater than 0.":"Startindeks må være større enn 0.",Strikethrough:"Gjennomstreket",Style:"Stil ",Subscript:"Senket skrift",Superscript:"Hevet skrift","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 ","Text alignment":"Tekstjustering","Text alignment toolbar":"Verktøylinje for tekstjustering","Text alternative":"Tekstalternativ","Text highlight toolbar":"Verktøylinje for tekstutheving",'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 ","This link has no URL":"Denne lenken mangler en URL",Tiny:"Veldig liten","To-do List":"Oppgaveliste","Toggle caption off":"Veksle tabelltekst av","Toggle caption on":"Veksle tabelltekst på","Toggle the circle list style":"Veksle sirkellistestil","Toggle the decimal list style":"Veksle nummerlistestil","Toggle the decimal with leading zero list style":"Veksle listestilen med nummer med foranstilt null","Toggle the disc list style":"Veksle disklistestil","Toggle the lower–latin list style":"Veksle listestilen med små latinske tegn","Toggle the lower–roman list style":"Veksle listestilen med små romertall","Toggle the square list style":"Veksle firkantlistestil","Toggle the upper–latin list style":"Veksle listestilen med store latinske tegn","Toggle the upper–roman list style":"Veksle listestilen med store romertall",Turquoise:"Turkis","Type or paste your content here.":"Skriv eller lim inn ditt innhold her","Type your title":"Skriv inn tittel",Underline:"Understreket",Undo:"Angre",Unlink:"Fjern lenke",Update:"Oppdater","Update image URL":"Oppdater bilde-URL","Upload failed":"Kunne ikke laste opp","Upload in progress":"Laster opp fil","Upper-latin":"Store latinske tegn","Upper-roman":"Store romertall","Vertical text alignment toolbar":"Verktøylinje for justering av tekst vertikalt ",White:"Hvit","Widget toolbar":"Widget verktøylinje ",Width:"Bredde","Wrap text":"Omslutt",Yellow:"Gul","Yellow marker":"Gul utheving"}),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||{},{"%0 of %1":"%0 av %1",Accept:"","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 center":"Midtstill","Align left":"Venstrejuster","Align right":"Høyrejuster","Align table to the left":"Juster tabell til venstre ","Align table to the right":"Juster tabell til høyre ",Alignment:"Justering",Aquamarine:"Akvamarin",Background:"Bakgrunn ",Big:"Stor",Black:"Svart","Block quote":"Blokksitat",Blue:"Blå","Blue marker":"Blå utheving",Bold:"Fet",Border:"Kantlinje ","Break text":"Bryt tekst","Bulleted List":"Punktliste","Bulleted list styles toolbar":"Verktøylinje for punktlistestiler",Cancel:"Avbryt","Caption for image: %0":"Bildetekst for bilde: %0","Caption for the image":"Bildetekst","Cell properties":"Celleegenskaper ","Center table":"Sentrer tabell ","Centered image":"Midtstilt bilde","Change image text alternative":"Endre tekstalternativ til bildet","Choose heading":"Velg overskrift",Circle:"Sirkel",Code:"Kode",Color:"Farge","Color picker":"Fargevalg ",Column:"Kolonne",Dashed:"Stiplet",Decimal:"Nummer","Decimal with leading zero":"Nummer med foranstilt null","Decrease indent":"Reduser innrykk",Default:"Standard","Delete column":"Slett kolonne","Delete row":"Slett rad","Dim grey":"Svak grå",Dimensions:"Dimensjoner",Disc:"Disk","Document colors":"Dokumentfarger",Dotted:"Stiplede",Double:"Dobbel ",Downloadable:"Nedlastbar","Dropdown toolbar":"Verktøylinje for nedtrekksliste","Edit block":"Rediger blokk","Edit link":"Rediger lenke","Edit source":"Rediger kilde","Editor block content toolbar":"Verktøylinje for blokkinnhold i redigeringsverktøy","Editor contextual toolbar":"Verktøylinje for kontekst i redigeringsverktøy","Editor editing area: %0":"Redigeringsområde for redigeringsverktøyet: %0","Editor toolbar":"Verktøylinje for redigeringsverktøy","Empty snippet content":"Tomt snuttinnhold","Enter image caption":"Skriv inn bildetekst","Enter table caption":"Legg inn tabelltekst","Font Background Color":"Uthevingsfarge for tekst","Font Color":"Skriftfarge","Font Family":"Skrifttypefamilie","Font Size":"Skriftstørrelse","Full size image":"Bilde i full størrelse",Green:"Grønn","Green marker":"Grønn utheving","Green pen":"Grønn penn",Grey:"Grå",Groove:"Grov","Header column":"Overskriftkolonne","Header row":"Overskriftrad",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",Height:"Høyde",HEX:"",Highlight:"Utheving","Horizontal line":"Horisontal linje","Horizontal text alignment toolbar":"Verktøylinje for justering av tekst horisontalt ","HTML snippet":"HTML-snutt",Huge:"Veldig stor","Image resize list":"Nedtrekksliste for bildestørrelse","Image toolbar":"Verktøylinje for bilde","image widget":"Bilde-widget","In line":"Innlemmet","Increase indent":"Øk innrykk",Insert:"Sett inn","Insert code block":"Sett inn kodeblokk","Insert column left":"Sett inn kolonne til venstre","Insert column right":"Sett inn kolonne til høyre","Insert HTML":"Legg inn HTML","Insert image":"Sett inn bilde","Insert image via URL":"Sett inn bilde via URL","Insert paragraph after block":"Sett inn paragraf etter blokk","Insert paragraph before block":"Sett inn paragraf foran blokk","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell",Inset:"Innover",Italic:"Kursiv",Justify:"Blokkjuster","Justify cell text":"Rett celletekst ","Left aligned image":"Venstrejustert bilde","Light blue":"Lyseblå","Light green":"Lysegrønn","Light grey":"Lysegrå",Link:"Lenke","Link image":"Bildelenke","Link URL":"Lenke-URL","List properties":"Listeegenskaper","Lower-latin":"Små latinske tegn","Lower–roman":"Små romertall","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",Next:"Neste","No preview available":"Ingen forhåndsvisning tilgjengelig",None:"Ingen","Numbered List":"Nummerert liste","Numbered list styles toolbar":"Verktøylinje for stiler for nummererte lister","Open in a new tab":"Åpne i ny fane","Open link in new tab":"Åpne lenke i ny fane",Orange:"Oransje",Original:"Original",Outset:"Utover",Padding:"Fylling",Paragraph:"Avsnitt","Paste raw HTML here...":"Lim inn rå HTML her …","Pink marker":"Rosa utheving","Plain text":"Ren tekst","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","Red pen":"Rød penn",Redo:"Gjør om","Remove color":"Fjern farge","Remove Format":"Fjern formatering","Remove highlight":"Fjern utheving","Resize image":"Endre bildestørrelse","Resize image to %0":"Endre bildestørrelse til %0","Resize image to the original size":"Endre bildestørrelse til originalstørrelse","Restore default":"Tilbakestill til standard","Reversed order":"Motsatt rekkefølge","Rich Text Editor":"Tekstredigeringsverktøy for rik tekst",Ridge:"Kjede","Right aligned image":"Høyrejustert bilde",Row:"Rad",Save:"Lagre","Save changes":"Lagre endringer","Saving changes":"Lagrer endringer","Select all":"Velg alt ","Select column":"Velg kolonne ","Select row":"Velg rad","Show more items":"Vis flere elementer","Side image":"Sidestilt bilde",Small:"Liten",Solid:"Hel","Split cell horizontally":"Del opp celle horisontalt","Split cell vertically":"Del opp celle vertikalt",Square:"Firkant","Start at":"Start ved","Start index must be greater than 0.":"Startindeks må være større enn 0.",Strikethrough:"Gjennomstreket",Style:"Stil ",Subscript:"Senket skrift",Superscript:"Hevet skrift","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 ","Text alignment":"Tekstjustering","Text alignment toolbar":"Verktøylinje for tekstjustering","Text alternative":"Tekstalternativ","Text highlight toolbar":"Verktøylinje for tekstutheving",'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 ","This link has no URL":"Denne lenken mangler en URL",Tiny:"Veldig liten","To-do List":"Oppgaveliste","Toggle caption off":"Veksle tabelltekst av","Toggle caption on":"Veksle tabelltekst på","Toggle the circle list style":"Veksle sirkellistestil","Toggle the decimal list style":"Veksle nummerlistestil","Toggle the decimal with leading zero list style":"Veksle listestilen med nummer med foranstilt null","Toggle the disc list style":"Veksle disklistestil","Toggle the lower–latin list style":"Veksle listestilen med små latinske tegn","Toggle the lower–roman list style":"Veksle listestilen med små romertall","Toggle the square list style":"Veksle firkantlistestil","Toggle the upper–latin list style":"Veksle listestilen med store latinske tegn","Toggle the upper–roman list style":"Veksle listestilen med store romertall",Turquoise:"Turkis","Type or paste your content here.":"Skriv eller lim inn ditt innhold her","Type your title":"Skriv inn tittel",Underline:"Understreket",Undo:"Angre",Unlink:"Fjern lenke",Update:"Oppdater","Update image URL":"Oppdater bilde-URL","Upload failed":"Kunne ikke laste opp","Upload in progress":"Laster opp fil","Upper-latin":"Store latinske tegn","Upper-roman":"Store romertall","Vertical text alignment toolbar":"Verktøylinje for justering av tekst vertikalt ",White:"Hvit","Widget toolbar":"Widget verktøylinje ",Width:"Bredde","Wrap text":"Omslutt",Yellow:"Gul","Yellow marker":"Gul utheving"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index af274166aeb7cb042e5c99e865f6a2e4ad8b7405..3243f0d90f896560600ba79e50a5f77a4cf85e7b 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.pl=e.pl||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 z %1","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 center":"Wyrównaj do środka","Align left":"Wyrównaj do lewej","Align right":"Wyrównaj do prawej","Align table to the left":"Wyrównaj tabelę do lewej","Align table to the right":"Wyrównaj tabelę do prawej",Alignment:"Wyrównanie",Aquamarine:"Akwamaryna",Background:"Tło",Big:"Duży",Black:"Czarny","Block quote":"Cytat blokowy",Blue:"Niebieski","Blue marker":"Niebieski marker",Bold:"Pogrubienie",Border:"Obramowanie","Break text":"Rozbijaj tekst","Bulleted List":"Lista wypunktowana","Bulleted list styles toolbar":"Pasek z narzędziami: style listy z punktorami",Cancel:"Anuluj","Caption for image: %0":"Nagłówek do obrazu: %0","Caption for the image":"Nagłówek do obrazu","Cell properties":"Właściwości komórki","Center table":"Wyrównaj tabelę do środka","Centered image":"Obraz wyrównany do środka","Change image text alternative":"Zmień tekst zastępczy obrazka","Choose heading":"Wybierz nagłówek",Circle:"Kółko",Code:"Kod",Color:"Kolor","Color picker":"Wybór koloru",Column:"Kolumna",Dashed:"Kreskowane",Decimal:"Dziesiętne","Decimal with leading zero":"Dziesiętne z zerem wiodącym","Decrease indent":"Zmniejsz wcięcie",Default:"Domyślny","Delete column":"Usuń kolumnę","Delete row":"Usuń wiersz","Dim grey":"Ciemnoszary",Dimensions:"Wymiary",Disc:"Dysk","Document colors":"Kolory dokumentu",Dotted:"Kropkowane",Double:"Podwójne",Downloadable:"Do pobrania","Dropdown toolbar":"Rozwijany pasek narzędzi","Edit block":"Edytuj blok","Edit link":"Edytuj odnośnik","Edit source":"Edytuj źródło","Editor block content toolbar":"Pasek zadań treści blokowej edytora","Editor contextual toolbar":"Kontekstowy pasek zadań edytora","Editor editing area: %0":"Obszar edycji edytora: %0","Editor toolbar":"Pasek narzędzi edytora","Empty snippet content":"Brak kodu","Enter image caption":"Wstaw tytuł obrazka","Enter table caption":"Wprowadź podpis tabeli","Font Background Color":"Kolor tła czcionki","Font Color":"Kolor czcionki","Font Family":"Czcionka","Font Size":"Rozmiar czcionki","Full size image":"Obraz w pełnym rozmiarze",Green:"Zielony","Green marker":"Zielony marker","Green pen":"Zielony długopis",Grey:"Szary",Groove:"Wklęsłe","Header column":"Kolumna nagłówka","Header row":"Wiersz nagłówka",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",Height:"Wysokość",Highlight:"Podświetlenie","Horizontal line":"Linia pozioma","Horizontal text alignment toolbar":"Pasek narzędzi wyrównania tekstu w poziomie","HTML snippet":"Kod HTML",Huge:"Bardzo duży","Image resize list":"Lista: zmiana wielkości obrazu","Image toolbar":"Pasek narzędzi obrazka","image widget":"Obraz","In line":"W linii","Increase indent":"Zwiększ wcięcie",Insert:"Wstaw","Insert code block":"Wstaw blok kodu","Insert column left":"Wstaw kolumnę z lewej","Insert column right":"Wstaw kolumnę z prawej","Insert HTML":"Wstaw kod HTML","Insert image":"Wstaw obraz","Insert image via URL":"Wstaw obraz z adresu URL","Insert paragraph after block":"Wstaw akapit po bloku","Insert paragraph before block":"Wstaw akapit przed blokiem","Insert row above":"Wstaw wiersz ponad","Insert row below":"Wstaw wiersz poniżej","Insert table":"Wstaw tabelę",Inset:"Zapadnięte",Italic:"Kursywa",Justify:"Wyrównaj obustronnie","Justify cell text":"Wyjustuj tekst komórki","Left aligned image":"Obraz wyrównany do lewej","Light blue":"Jasnoniebieski","Light green":"Jasnozielony","Light grey":"Jasnoszary",Link:"Wstaw odnośnik","Link image":"Wstaw odnośnik do obrazka","Link URL":"Adres URL","List properties":"Właściwości listy","Lower-latin":"Alfabet łaciński – małe litery","Lower–roman":"Małe cyfry rzymskie","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",Next:"Następny","No preview available":"Podgląd nie jest dostępny",None:"Brak","Numbered List":"Lista numerowana","Numbered list styles toolbar":"Pasek z narzędziami: style listy numerowanej","Open in a new tab":"Otwórz w nowej zakładce","Open link in new tab":"Otwórz odnośnik w nowej zakładce",Orange:"Pomarańczowy",Original:"Oryginalny",Outset:"Wysunięte",Padding:"Dopełnienie",Paragraph:"Akapit","Paste raw HTML here...":"Wstaw tutaj czysty kod HTML...","Pink marker":"Różowy marker","Plain text":"Zwykły tekst","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","Red pen":"Czerwony długopis",Redo:"Ponów","Remove color":"Usuń kolor","Remove Format":"Usuń formatowanie","Remove highlight":"Usuń podświetlenie","Resize image":"Zmień rozmiar obrazka","Resize image to %0":"Zmień rozmiar do %0","Resize image to the original size":"Przywróć oryginalny rozmiar obrazu","Restore default":"Przywróć domyślne","Reversed order":"Odwrócona kolejność","Rich Text Editor":"Edytor tekstu sformatowanego",Ridge:"Wypukłe","Right aligned image":"Obraz wyrównany do prawej",Row:"Wiersz",Save:"Zapisz","Save changes":"Zapisz zmiany","Saving changes":"Zapisywanie zmian","Select all":"Zaznacz wszystko","Select column":"Zaznacz kolumnę","Select row":"Zaznacz wiersz","Show more items":"Pokaż więcej","Side image":"Obraz dosunięty do brzegu, oblewany tekstem",Small:"Mały",Solid:"Ciągłe","Split cell horizontally":"Podziel komórkę poziomo","Split cell vertically":"Podziel komórkę pionowo",Square:"Kwadrat","Start at":"Zacznij od","Start index must be greater than 0.":"Wartość początkowa musi być większa niż 0.",Strikethrough:"Przekreślenie",Style:"Styl",Subscript:"Indeks dolny",Superscript:"Indeks górny","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","Text alignment":"Wyrównanie tekstu","Text alignment toolbar":"Pasek narzędzi wyrównania tekstu","Text alternative":"Tekst zastępczy obrazka","Text highlight toolbar":"Pasek narzędzi podświetleń",'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".',"This link has no URL":"Nie podano adresu URL odnośnika",Tiny:"Bardzo mały","To-do List":"Lista rzeczy do zrobienia","Toggle caption off":"Ukryj podpis tabeli","Toggle caption on":"Pokaż podpis tabeli","Toggle the circle list style":"Włącz/wyłącz listę w stylu „kółko”","Toggle the decimal list style":"Włącz/wyłącz listę w stylu „dziesiętne”","Toggle the decimal with leading zero list style":"Włącz/wyłącz listę w stylu „dziesiętne z zerem wiodącym”","Toggle the disc list style":"Włącz/wyłącz listę w stylu „dysk”","Toggle the lower–latin list style":"Włącz/wyłącz listę w stylu „alfabet łaciński – małe litery”","Toggle the lower–roman list style":"Włącz/wyłącz listę w stylu „małe cyfry rzymskie”","Toggle the square list style":"Włącz/wyłącz listę w stylu „kwadrat”","Toggle the upper–latin list style":"Włącz/wyłącz listę w stylu „alfabet łaciński – wielkie litery”","Toggle the upper–roman list style":"Włącz/wyłącz listę w stylu „wielkie cyfry rzymskie”",Turquoise:"Turkusowy","Type or paste your content here.":"Wpisz lub wklej tutaj treść dokumentu.","Type your title":"Podaj tytuł",Underline:"Podkreślenie",Undo:"Cofnij",Unlink:"Usuń odnośnik",Update:"Zaktualizuj","Update image URL":"Uaktualnij obraz z adresu URL","Upload failed":"Przesyłanie obrazu nie powiodło się","Upload in progress":"Trwa przesyłanie","Upper-latin":"Alfabet łaciński – wielkie litery","Upper-roman":"Wielkie cyfry rzymskie","Vertical text alignment toolbar":"Pasek narzędzi wyrównania tekstu w pionie",White:"Biały","Widget toolbar":"Pasek widgetów",Width:"Szerokość","Wrap text":"Zawijaj tekst",Yellow:"Żółty","Yellow marker":"Żółty marker"}),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||{},{"%0 of %1":"%0 z %1",Accept:"","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 center":"Wyrównaj do środka","Align left":"Wyrównaj do lewej","Align right":"Wyrównaj do prawej","Align table to the left":"Wyrównaj tabelę do lewej","Align table to the right":"Wyrównaj tabelę do prawej",Alignment:"Wyrównanie",Aquamarine:"Akwamaryna",Background:"Tło",Big:"Duży",Black:"Czarny","Block quote":"Cytat blokowy",Blue:"Niebieski","Blue marker":"Niebieski marker",Bold:"Pogrubienie",Border:"Obramowanie","Break text":"Rozbijaj tekst","Bulleted List":"Lista wypunktowana","Bulleted list styles toolbar":"Pasek z narzędziami: style listy z punktorami",Cancel:"Anuluj","Caption for image: %0":"Nagłówek do obrazu: %0","Caption for the image":"Nagłówek do obrazu","Cell properties":"Właściwości komórki","Center table":"Wyrównaj tabelę do środka","Centered image":"Obraz wyrównany do środka","Change image text alternative":"Zmień tekst zastępczy obrazka","Choose heading":"Wybierz nagłówek",Circle:"Kółko",Code:"Kod",Color:"Kolor","Color picker":"Wybór koloru",Column:"Kolumna",Dashed:"Kreskowane",Decimal:"Dziesiętne","Decimal with leading zero":"Dziesiętne z zerem wiodącym","Decrease indent":"Zmniejsz wcięcie",Default:"Domyślny","Delete column":"Usuń kolumnę","Delete row":"Usuń wiersz","Dim grey":"Ciemnoszary",Dimensions:"Wymiary",Disc:"Dysk","Document colors":"Kolory dokumentu",Dotted:"Kropkowane",Double:"Podwójne",Downloadable:"Do pobrania","Dropdown toolbar":"Rozwijany pasek narzędzi","Edit block":"Edytuj blok","Edit link":"Edytuj odnośnik","Edit source":"Edytuj źródło","Editor block content toolbar":"Pasek zadań treści blokowej edytora","Editor contextual toolbar":"Kontekstowy pasek zadań edytora","Editor editing area: %0":"Obszar edycji edytora: %0","Editor toolbar":"Pasek narzędzi edytora","Empty snippet content":"Brak kodu","Enter image caption":"Wstaw tytuł obrazka","Enter table caption":"Wprowadź podpis tabeli","Font Background Color":"Kolor tła czcionki","Font Color":"Kolor czcionki","Font Family":"Czcionka","Font Size":"Rozmiar czcionki","Full size image":"Obraz w pełnym rozmiarze",Green:"Zielony","Green marker":"Zielony marker","Green pen":"Zielony długopis",Grey:"Szary",Groove:"Wklęsłe","Header column":"Kolumna nagłówka","Header row":"Wiersz nagłówka",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",Height:"Wysokość",HEX:"",Highlight:"Podświetlenie","Horizontal line":"Linia pozioma","Horizontal text alignment toolbar":"Pasek narzędzi wyrównania tekstu w poziomie","HTML snippet":"Kod HTML",Huge:"Bardzo duży","Image resize list":"Lista: zmiana wielkości obrazu","Image toolbar":"Pasek narzędzi obrazka","image widget":"Obraz","In line":"W linii","Increase indent":"Zwiększ wcięcie",Insert:"Wstaw","Insert code block":"Wstaw blok kodu","Insert column left":"Wstaw kolumnę z lewej","Insert column right":"Wstaw kolumnę z prawej","Insert HTML":"Wstaw kod HTML","Insert image":"Wstaw obraz","Insert image via URL":"Wstaw obraz z adresu URL","Insert paragraph after block":"Wstaw akapit po bloku","Insert paragraph before block":"Wstaw akapit przed blokiem","Insert row above":"Wstaw wiersz ponad","Insert row below":"Wstaw wiersz poniżej","Insert table":"Wstaw tabelę",Inset:"Zapadnięte",Italic:"Kursywa",Justify:"Wyrównaj obustronnie","Justify cell text":"Wyjustuj tekst komórki","Left aligned image":"Obraz wyrównany do lewej","Light blue":"Jasnoniebieski","Light green":"Jasnozielony","Light grey":"Jasnoszary",Link:"Wstaw odnośnik","Link image":"Wstaw odnośnik do obrazka","Link URL":"Adres URL","List properties":"Właściwości listy","Lower-latin":"Alfabet łaciński – małe litery","Lower–roman":"Małe cyfry rzymskie","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",Next:"Następny","No preview available":"Podgląd nie jest dostępny",None:"Brak","Numbered List":"Lista numerowana","Numbered list styles toolbar":"Pasek z narzędziami: style listy numerowanej","Open in a new tab":"Otwórz w nowej zakładce","Open link in new tab":"Otwórz odnośnik w nowej zakładce",Orange:"Pomarańczowy",Original:"Oryginalny",Outset:"Wysunięte",Padding:"Dopełnienie",Paragraph:"Akapit","Paste raw HTML here...":"Wstaw tutaj czysty kod HTML...","Pink marker":"Różowy marker","Plain text":"Zwykły tekst","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","Red pen":"Czerwony długopis",Redo:"Ponów","Remove color":"Usuń kolor","Remove Format":"Usuń formatowanie","Remove highlight":"Usuń podświetlenie","Resize image":"Zmień rozmiar obrazka","Resize image to %0":"Zmień rozmiar do %0","Resize image to the original size":"Przywróć oryginalny rozmiar obrazu","Restore default":"Przywróć domyślne","Reversed order":"Odwrócona kolejność","Rich Text Editor":"Edytor tekstu sformatowanego",Ridge:"Wypukłe","Right aligned image":"Obraz wyrównany do prawej",Row:"Wiersz",Save:"Zapisz","Save changes":"Zapisz zmiany","Saving changes":"Zapisywanie zmian","Select all":"Zaznacz wszystko","Select column":"Zaznacz kolumnę","Select row":"Zaznacz wiersz","Show more items":"Pokaż więcej","Side image":"Obraz dosunięty do brzegu, oblewany tekstem",Small:"Mały",Solid:"Ciągłe","Split cell horizontally":"Podziel komórkę poziomo","Split cell vertically":"Podziel komórkę pionowo",Square:"Kwadrat","Start at":"Zacznij od","Start index must be greater than 0.":"Wartość początkowa musi być większa niż 0.",Strikethrough:"Przekreślenie",Style:"Styl",Subscript:"Indeks dolny",Superscript:"Indeks górny","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","Text alignment":"Wyrównanie tekstu","Text alignment toolbar":"Pasek narzędzi wyrównania tekstu","Text alternative":"Tekst zastępczy obrazka","Text highlight toolbar":"Pasek narzędzi podświetleń",'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".',"This link has no URL":"Nie podano adresu URL odnośnika",Tiny:"Bardzo mały","To-do List":"Lista rzeczy do zrobienia","Toggle caption off":"Ukryj podpis tabeli","Toggle caption on":"Pokaż podpis tabeli","Toggle the circle list style":"Włącz/wyłącz listę w stylu „kółko”","Toggle the decimal list style":"Włącz/wyłącz listę w stylu „dziesiętne”","Toggle the decimal with leading zero list style":"Włącz/wyłącz listę w stylu „dziesiętne z zerem wiodącym”","Toggle the disc list style":"Włącz/wyłącz listę w stylu „dysk”","Toggle the lower–latin list style":"Włącz/wyłącz listę w stylu „alfabet łaciński – małe litery”","Toggle the lower–roman list style":"Włącz/wyłącz listę w stylu „małe cyfry rzymskie”","Toggle the square list style":"Włącz/wyłącz listę w stylu „kwadrat”","Toggle the upper–latin list style":"Włącz/wyłącz listę w stylu „alfabet łaciński – wielkie litery”","Toggle the upper–roman list style":"Włącz/wyłącz listę w stylu „wielkie cyfry rzymskie”",Turquoise:"Turkusowy","Type or paste your content here.":"Wpisz lub wklej tutaj treść dokumentu.","Type your title":"Podaj tytuł",Underline:"Podkreślenie",Undo:"Cofnij",Unlink:"Usuń odnośnik",Update:"Zaktualizuj","Update image URL":"Uaktualnij obraz z adresu URL","Upload failed":"Przesyłanie obrazu nie powiodło się","Upload in progress":"Trwa przesyłanie","Upper-latin":"Alfabet łaciński – wielkie litery","Upper-roman":"Wielkie cyfry rzymskie","Vertical text alignment toolbar":"Pasek narzędzi wyrównania tekstu w pionie",White:"Biały","Widget toolbar":"Pasek widgetów",Width:"Szerokość","Wrap text":"Zawijaj tekst",Yellow:"Żółty","Yellow marker":"Żółty marker"}),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
index 6ca586f321e7c6b5ee6bc5435f4ad0822d9f57dd..4d26552fac0fba997247131784f4e1c02cb4b432 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1","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 center":"Centralizar","Align left":"Alinhar à esquerda","Align right":"Alinhar à direita","Align table to the left":"Alinhar tabela para esquerda","Align table to the right":"Alinhar tabela para direita",Alignment:"Alinhamento",Aquamarine:"Água-marinha",Background:"Cor de fundo",Big:"Grande",Black:"Preto","Block quote":"Bloco de citação",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negrito",Border:"Borda","Break text":"Quebrar texto","Bulleted List":"Lista com marcadores","Bulleted list styles toolbar":"Barra de ferramentas de estilos de lista com marcador",Cancel:"Cancelar","Caption for image: %0":"Legenda da imagem: %0","Caption for the image":"Legenda para a imagem","Cell properties":"Propriedades da célula","Center table":"Centralizar tabela","Centered image":"Imagem centralizada","Change image text alternative":"Alterar texto alternativo da imagem","Choose heading":"Escolha o título",Circle:"Círculo",Code:"Código",Color:"Cor","Color picker":"Seletor de cor",Column:"Coluna",Dashed:"Tracejada",Decimal:"Decimal","Decimal with leading zero":"Decimal com zero à esquerda","Decrease indent":"Diminuir indentação",Default:"Padrão","Delete column":"Excluir coluna","Delete row":"Excluir linha","Dim grey":"Cinza escuro",Dimensions:"Dimensões",Disc:"Disco","Document colors":"Cores do documento",Dotted:"Pontilhada",Double:"Dupla",Downloadable:"Pode ser baixado","Dropdown toolbar":"Barra de Ferramentas da Lista Suspensa","Edit block":"Editor de bloco","Edit link":"Editar link","Edit source":"Editar código","Editor block content toolbar":"Barra de ferramentas de bloco do Editor","Editor contextual toolbar":"Barra de ferramentas contextuais do Editor","Editor editing area: %0":"Área de edição do editor: %0","Editor toolbar":"Ferramentas do Editor","Empty snippet content":"Trecho sem conteúdo","Enter image caption":"Inserir legenda da imagem","Enter table caption":"Inserir legenda da tabela","Font Background Color":"Cor de Fundo","Font Color":"Cor da Fonte","Font Family":"Fonte","Font Size":"Tamanho da fonte","Full size image":"Imagem completa",Green:"Verde","Green marker":"Marcador verde","Green pen":"Caneta verde",Grey:"Cinza",Groove:"Ranhura","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",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",Height:"Altura",Highlight:"Realce","Horizontal line":"Linha horizontal","Horizontal text alignment toolbar":"Ferramentas de alinhamento horizontal do texto","HTML snippet":"Trecho HTML",Huge:"Gigante","Image resize list":"Lista de redimensionamento de imagem","Image toolbar":"Ferramentas de Imagem","image widget":"Ferramenta de imagem","In line":"Na linha","Increase indent":"Aumentar indentação",Insert:"Inserir","Insert code block":"Inserir bloco de código","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert HTML":"Inserir HTML","Insert image":"Inserir imagem","Insert image via URL":"Inserir imagem via URL","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Baixo relevo",Italic:"Itálico",Justify:"Justificar","Justify cell text":"Justificar texto da célula","Left aligned image":"Imagem alinhada à esquerda","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Cinza claro",Link:"Link","Link image":"Link da imagem","Link URL":"URL","List properties":"Propriedades da lista","Lower-latin":"Latim inferior","Lower–roman":"Romano inferior","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",Next:"Próximo","No preview available":"Nenhuma visualização disponível",None:"Sem borda","Numbered List":"Lista numerada","Numbered list styles toolbar":"Barra de ferramentas de estilos de lista numerada","Open in a new tab":"Abrir em nova aba","Open link in new tab":"Abrir link em nova aba",Orange:"Laranja",Original:"Original",Outset:"Alto relevo",Padding:"Margem interna",Paragraph:"Parágrafo","Paste raw HTML here...":"Cole o HTML puro aqui","Pink marker":"Marcador rosa","Plain text":"Texto sem formatação","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","Red pen":"Caneta vermelha",Redo:"Refazer","Remove color":"Remover cor","Remove Format":"Remover Formatação","Remove highlight":"Remover realce","Resize image":"Redimensionar imagem","Resize image to %0":"Redimensionar a imagem para %0","Resize image to the original size":"Redimensionar a imagem para o tamanho original","Restore default":"Restaurar padrão","Reversed order":"Ordem reversa","Rich Text Editor":"Editor de Formatação",Ridge:"Crista","Right aligned image":"Imagem alinhada à direita",Row:"Linha",Save:"Salvar","Save changes":"Salvar alterações","Saving changes":"Salvando alterações","Select all":"Selecionar tudo","Select column":"Selecionar coluna","Select row":"Selecionar linha","Show more items":"Exibir mais itens","Side image":"Imagem lateral",Small:"Pequeno",Solid:"Sólida","Split cell horizontally":"Dividir horizontalmente","Split cell vertically":"Dividir verticalmente",Square:"Quadrado","Start at":"Iniciar em","Start index must be greater than 0.":"O índice inicial deve ser maior que 0.",Strikethrough:"Tachado",Style:"Estilo",Subscript:"Subscrito",Superscript:"Sobrescrito","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","Text alignment":"Alinhamento do texto","Text alignment toolbar":"Ferramentas de alinhamento de texto","Text alternative":"Texto alternativo","Text highlight toolbar":"Ferramentas de realce",'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"',"This link has no URL":"Este link não possui uma URL",Tiny:"Minúsculo","To-do List":"Lista de Tarefas","Toggle caption off":"Desabilitar legenda","Toggle caption on":"Habilitar legenda","Toggle the circle list style":"Alternar o estilo da lista de círculo","Toggle the decimal list style":"Alternar o estilo de lista decimal","Toggle the decimal with leading zero list style":"Alternar o decimal com estilo de lista zero à esquerda","Toggle the disc list style":"Alternar o estilo da lista de disco","Toggle the lower–latin list style":"Alternar o estilo de lista latina inferior","Toggle the lower–roman list style":"Alternar o estilo de lista romana inferior","Toggle the square list style":"Alternar o estilo de lista quadrada","Toggle the upper–latin list style":"Alternar o estilo de lista latino superior","Toggle the upper–roman list style":"Alternar o estilo de lista romana superior",Turquoise:"Turquesa","Type or paste your content here.":"Digite ou cole o conteúdo aqui.","Type your title":"Digite o título",Underline:"Sublinhado",Undo:"Desfazer",Unlink:"Remover link",Update:"Atualizar","Update image URL":"Atualizar URL da imagem","Upload failed":"Falha ao subir arquivo","Upload in progress":"Enviando dados","Upper-latin":"Latim superior","Upper-roman":"Romano superior","Vertical text alignment toolbar":"Ferramentas de alinhamento vertical do texto",White:"Branco","Widget toolbar":"Ferramentas de Widgets",Width:"Largura","Wrap text":"Texto ao redor",Yellow:"Amarelo","Yellow marker":"Marcador 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||{},{"%0 of %1":"%0 de %1",Accept:"","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 center":"Centralizar","Align left":"Alinhar à esquerda","Align right":"Alinhar à direita","Align table to the left":"Alinhar tabela para esquerda","Align table to the right":"Alinhar tabela para direita",Alignment:"Alinhamento",Aquamarine:"Água-marinha",Background:"Cor de fundo",Big:"Grande",Black:"Preto","Block quote":"Bloco de citação",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negrito",Border:"Borda","Break text":"Quebrar texto","Bulleted List":"Lista com marcadores","Bulleted list styles toolbar":"Barra de ferramentas de estilos de lista com marcador",Cancel:"Cancelar","Caption for image: %0":"Legenda da imagem: %0","Caption for the image":"Legenda para a imagem","Cell properties":"Propriedades da célula","Center table":"Centralizar tabela","Centered image":"Imagem centralizada","Change image text alternative":"Alterar texto alternativo da imagem","Choose heading":"Escolha o título",Circle:"Círculo",Code:"Código",Color:"Cor","Color picker":"Seletor de cor",Column:"Coluna",Dashed:"Tracejada",Decimal:"Decimal","Decimal with leading zero":"Decimal com zero à esquerda","Decrease indent":"Diminuir recuo",Default:"Padrão","Delete column":"Excluir coluna","Delete row":"Excluir linha","Dim grey":"Cinza escuro",Dimensions:"Dimensões",Disc:"Disco","Document colors":"Cores do documento",Dotted:"Pontilhada",Double:"Dupla",Downloadable:"Pode ser baixado","Dropdown toolbar":"Barra de Ferramentas da Lista Suspensa","Edit block":"Editor de bloco","Edit link":"Editar link","Edit source":"Editar código","Editor block content toolbar":"Barra de ferramentas de bloco do Editor","Editor contextual toolbar":"Barra de ferramentas contextuais do Editor","Editor editing area: %0":"Área de edição do editor: %0","Editor toolbar":"Ferramentas do Editor","Empty snippet content":"Trecho sem conteúdo","Enter image caption":"Inserir legenda da imagem","Enter table caption":"Inserir legenda da tabela","Font Background Color":"Cor de Fundo","Font Color":"Cor da Fonte","Font Family":"Fonte","Font Size":"Tamanho da fonte","Full size image":"Imagem completa",Green:"Verde","Green marker":"Marcador verde","Green pen":"Caneta verde",Grey:"Cinza",Groove:"Ranhura","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",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",Height:"Altura",HEX:"",Highlight:"Realce","Horizontal line":"Linha horizontal","Horizontal text alignment toolbar":"Ferramentas de alinhamento horizontal do texto","HTML snippet":"Trecho HTML",Huge:"Gigante","Image resize list":"Lista de redimensionamento de imagem","Image toolbar":"Ferramentas de Imagem","image widget":"Ferramenta de imagem","In line":"Na linha","Increase indent":"Aumentar recuo",Insert:"Inserir","Insert code block":"Inserir bloco de código","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert HTML":"Inserir HTML","Insert image":"Inserir imagem","Insert image via URL":"Inserir imagem via URL","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Baixo relevo",Italic:"Itálico",Justify:"Justificar","Justify cell text":"Justificar texto da célula","Left aligned image":"Imagem alinhada à esquerda","Light blue":"Azul claro","Light green":"Verde claro","Light grey":"Cinza claro",Link:"Link","Link image":"Link da imagem","Link URL":"URL","List properties":"Propriedades da lista","Lower-latin":"Latim inferior","Lower–roman":"Romano inferior","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",Next:"Próximo","No preview available":"Nenhuma visualização disponível",None:"Sem borda","Numbered List":"Lista numerada","Numbered list styles toolbar":"Barra de ferramentas de estilos de lista numerada","Open in a new tab":"Abrir em nova aba","Open link in new tab":"Abrir link em nova aba",Orange:"Laranja",Original:"Original",Outset:"Alto relevo",Padding:"Margem interna",Paragraph:"Parágrafo","Paste raw HTML here...":"Cole o HTML puro aqui","Pink marker":"Marcador rosa","Plain text":"Texto sem formatação","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","Red pen":"Caneta vermelha",Redo:"Refazer","Remove color":"Remover cor","Remove Format":"Remover Formatação","Remove highlight":"Remover realce","Resize image":"Redimensionar imagem","Resize image to %0":"Redimensionar a imagem para %0","Resize image to the original size":"Redimensionar a imagem para o tamanho original","Restore default":"Restaurar padrão","Reversed order":"Ordem reversa","Rich Text Editor":"Editor de Formatação",Ridge:"Crista","Right aligned image":"Imagem alinhada à direita",Row:"Linha",Save:"Salvar","Save changes":"Salvar alterações","Saving changes":"Salvando alterações","Select all":"Selecionar tudo","Select column":"Selecionar coluna","Select row":"Selecionar linha","Show more items":"Exibir mais itens","Side image":"Imagem lateral",Small:"Pequeno",Solid:"Sólida","Split cell horizontally":"Dividir horizontalmente","Split cell vertically":"Dividir verticalmente",Square:"Quadrado","Start at":"Iniciar em","Start index must be greater than 0.":"O índice inicial deve ser maior que 0.",Strikethrough:"Tachado",Style:"Estilo",Subscript:"Subscrito",Superscript:"Sobrescrito","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","Text alignment":"Alinhamento do texto","Text alignment toolbar":"Ferramentas de alinhamento de texto","Text alternative":"Texto alternativo","Text highlight toolbar":"Ferramentas de realce",'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"',"This link has no URL":"Este link não possui uma URL",Tiny:"Minúsculo","To-do List":"Lista de Tarefas","Toggle caption off":"Desabilitar legenda","Toggle caption on":"Habilitar legenda","Toggle the circle list style":"Alternar o estilo da lista de círculo","Toggle the decimal list style":"Alternar o estilo de lista decimal","Toggle the decimal with leading zero list style":"Alternar o decimal com estilo de lista zero à esquerda","Toggle the disc list style":"Alternar o estilo da lista de disco","Toggle the lower–latin list style":"Alternar o estilo de lista latina inferior","Toggle the lower–roman list style":"Alternar o estilo de lista romana inferior","Toggle the square list style":"Alternar o estilo de lista quadrada","Toggle the upper–latin list style":"Alternar o estilo de lista latino superior","Toggle the upper–roman list style":"Alternar o estilo de lista romana superior",Turquoise:"Turquesa","Type or paste your content here.":"Digite ou cole o conteúdo aqui.","Type your title":"Digite o título",Underline:"Sublinhado",Undo:"Desfazer",Unlink:"Remover link",Update:"Atualizar","Update image URL":"Atualizar URL da imagem","Upload failed":"Falha ao subir arquivo","Upload in progress":"Enviando dados","Upper-latin":"Latim superior","Upper-roman":"Romano superior","Vertical text alignment toolbar":"Ferramentas de alinhamento vertical do texto",White:"Branco","Widget toolbar":"Ferramentas de Widgets",Width:"Largura","Wrap text":"Texto ao redor",Yellow:"Amarelo","Yellow marker":"Marcador 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
index e41f6a58bee669cc08af5d9a2422313cc302f56e..bf48ba98fd993e79ab1ed285b3602a47bb94f469 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.pt=e.pt||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1","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 center":"Alinhar ao centro","Align left":"Alinhar à esquerda","Align right":"Alinhar à direita","Align table to the left":"Alinhar tabela à esquerda","Align table to the right":"Alinhar tabela à direita",Alignment:"Alinhamento",Aquamarine:"Verde-azulado",Background:"Fundo",Big:"Grande",Black:"Preto","Block quote":"Bloco de citação",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negrito",Border:"Limite","Break text":"Quebrar texto","Bulleted List":"Lista não ordenada","Bulleted list styles toolbar":"Barra de ferramentas de estilos de lista de itens",Cancel:"Cancelar","Caption for image: %0":"Legenda da imagem: %0","Caption for the image":"Legenda da imagem","Cell properties":"Propriedades da célula","Center table":"Centrar tabela","Centered image":"Imagem centrada","Change image text alternative":"Alterar texto alternativo da imagem","Choose heading":"Escolher cabeçalho",Circle:"Círculo",Code:"Código",Color:"Cor","Color picker":"Selecionador de cor",Column:"Coluna",Dashed:"Tracejado",Decimal:"Decimal","Decimal with leading zero":"Decimal com zero inicial","Decrease indent":"Diminuir indentação",Default:"Padrão","Delete column":"Eliminar coluna","Delete row":"Eliminar fila","Dim grey":"Cinzento-escuro",Dimensions:"Dimensões",Disc:"Disco","Document colors":"Cores do documento",Dotted:"Pontilhado",Double:"Duplo",Downloadable:"Descarregável","Dropdown toolbar":"Barra de ferramentas do dropdown","Edit block":"Editar bloco","Edit link":"Editar link","Edit source":"Editar fonte","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 editing area: %0":"Área de edição do editor: %0","Editor toolbar":"Barra de ferramentas do editor","Empty snippet content":"Conteúdo de fragmento vazio","Enter image caption":"Indicar legenda da imagem","Enter table caption":"Introduzir legenda da tabela","Font Background Color":"Cor de Fundo da Fonte","Font Color":"Cor da Fonte","Font Family":"Família de Fontes","Font Size":"Tamanho da Fonte","Full size image":"Imagem em tamanho completo",Green:"Verde","Green marker":"Marcador verde","Green pen":"Caneta verde",Grey:"Cinzento",Groove:"Sulcos","Header column":"Coluna de cabeçalho","Header row":"Filha de 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",Height:"Altura",Highlight:"Sublinhar","Horizontal line":"Linha horizontal","Horizontal text alignment toolbar":"Barra de ferramentas do alinhamento horizontal de texto","HTML snippet":"Fragmento de HTML",Huge:"Enorme","Image resize list":"Lista de redimensionamento de imagem","Image toolbar":"Barra de ferramentas de imagem","image widget":"módulo de imagem","In line":"Em linha","Increase indent":"Aumentar indentação",Insert:"Inserir","Insert code block":"Inserir bloco de citação","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert HTML":"Inserir HTML","Insert image":"Inserir imagem","Insert image via URL":"Inserir imagem através de URL","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert row above":"Inserir fila acima","Insert row below":"Inserir fila abaixo","Insert table":"Inserir tabela",Inset:"Interior",Italic:"Itálico",Justify:"Justificar","Justify cell text":"Justificar texto da célula","Left aligned image":"Imagem alinhada à esquerda","Light blue":"Azul-claro","Light green":"Verde-claro","Light grey":"Cinzento-claro",Link:"Hiperligação","Link image":"Adicionar link a imagem","Link URL":"URL da ligação","List properties":"Propriedades da lista","Lower-latin":"Latim minúsculo","Lower–roman":"Romano minúsculo","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",Next:"Seguinte","No preview available":"Pré-visualização indisponível",None:"Nenhum","Numbered List":"Lista ordenada","Numbered list styles toolbar":"Barra de ferramentas de estilos de lista numerada","Open in a new tab":"Abrir num novo separador","Open link in new tab":"Abrir link num novo separador",Orange:"Laranja",Original:"Original",Outset:"Exterior",Padding:"Enchimento",Paragraph:"Parágrafo","Paste raw HTML here...":"Colar HTML aqui...","Pink marker":"Marcador rosa","Plain text":"Texto simples","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","Red pen":"Caneta vermelha",Redo:"Refazer","Remove color":"Remover cor","Remove Format":"Remover formatação","Remove highlight":"Remover ","Resize image":"Redimensionar imagem","Resize image to %0":"Redimensionar imagem para %0","Resize image to the original size":"Redimensionar imagem para tamanho original","Restore default":"Restaurar predefinição","Reversed order":"Ordem invertida","Rich Text Editor":"Editor de texto avançado",Ridge:"Rebordo","Right aligned image":"Imagem alinhada à direita",Row:"Fila",Save:"Guardar","Save changes":"Guardar alterações","Saving changes":"A guardar alterações","Select all":"Selecionar todos","Select column":"Selecionar coluna","Select row":"Selecionar fila","Show more items":"Mostrar mais itens","Side image":"Imagem lateral",Small:"Pequena",Solid:"Sólido","Split cell horizontally":"Dividir célula horizontalmente","Split cell vertically":"Dividir célula verticalmente",Square:"Quadrado","Start at":"Começa em","Start index must be greater than 0.":"O índice inicial tem de ser superior a 0.",Strikethrough:"Riscado",Style:"Estilo",Subscript:"Subscrito",Superscript:"Sobrescrito","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","Text alignment":"Alinhamento de texto","Text alignment toolbar":"Barra de alinhamento de texto","Text alternative":"Texto alternativo","Text highlight toolbar":"Barra de ferramentas de destaque de texto",'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".',"This link has no URL":"Este link não tem URL",Tiny:"Mínima","To-do List":"Lista de Afazeres","Toggle caption off":"Desativar legenda","Toggle caption on":"Ativar legenda","Toggle the circle list style":"Ativar o estilo de lista de círculos","Toggle the decimal list style":"Ativar o estilo de lista decimal","Toggle the decimal with leading zero list style":"Ativar o estilo de lista decimal com zero inicial","Toggle the disc list style":"Ativar o estilo de lista de discos","Toggle the lower–latin list style":"Ativar o estilo de lista de latim minúsculo","Toggle the lower–roman list style":"Ativar o estilo de lista de números romanos minúsculos","Toggle the square list style":"Ativar o estilo de lista de quadrados","Toggle the upper–latin list style":"Ativar o estilo de lista de latim maiúsculo","Toggle the upper–roman list style":"Ativar o estilo de lista de números romanos maiúsculos",Turquoise:"Turquesa","Type or paste your content here.":"Digite ou cole o seu conteúdo aqui.","Type your title":"Introduza o seu título",Underline:"Sublinhado",Undo:"Desfazer",Unlink:"Desligar",Update:"Atualizar","Update image URL":"Atualizar URL da imagem","Upload failed":"Falha ao carregar","Upload in progress":"Carregamento em progresso","Upper-latin":"Latim maiúsculo","Upper-roman":"Romano maiúsculo","Vertical text alignment toolbar":"Barra de ferramentas do alinhamento vertical de texto",White:"Branco","Widget toolbar":"Barra de ferramentas do widget",Width:"Largura","Wrap text":"Envolver texto",Yellow:"Amarelo","Yellow marker":"Marcador 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=e.pt||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1",Accept:"","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 center":"Alinhar ao centro","Align left":"Alinhar à esquerda","Align right":"Alinhar à direita","Align table to the left":"Alinhar tabela à esquerda","Align table to the right":"Alinhar tabela à direita",Alignment:"Alinhamento",Aquamarine:"Verde-azulado",Background:"Fundo",Big:"Grande",Black:"Preto","Block quote":"Bloco de citação",Blue:"Azul","Blue marker":"Marcador azul",Bold:"Negrito",Border:"Limite","Break text":"Quebrar texto","Bulleted List":"Lista não ordenada","Bulleted list styles toolbar":"Barra de ferramentas de estilos de lista de itens",Cancel:"Cancelar","Caption for image: %0":"Legenda da imagem: %0","Caption for the image":"Legenda da imagem","Cell properties":"Propriedades da célula","Center table":"Centrar tabela","Centered image":"Imagem centrada","Change image text alternative":"Alterar texto alternativo da imagem","Choose heading":"Escolher cabeçalho",Circle:"Círculo",Code:"Código",Color:"Cor","Color picker":"Selecionador de cor",Column:"Coluna",Dashed:"Tracejado",Decimal:"Decimal","Decimal with leading zero":"Decimal com zero inicial","Decrease indent":"Diminuir indentação",Default:"Padrão","Delete column":"Eliminar coluna","Delete row":"Eliminar fila","Dim grey":"Cinzento-escuro",Dimensions:"Dimensões",Disc:"Disco","Document colors":"Cores do documento",Dotted:"Pontilhado",Double:"Duplo",Downloadable:"Descarregável","Dropdown toolbar":"Barra de ferramentas do dropdown","Edit block":"Editar bloco","Edit link":"Editar link","Edit source":"Editar fonte","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 editing area: %0":"Área de edição do editor: %0","Editor toolbar":"Barra de ferramentas do editor","Empty snippet content":"Conteúdo de fragmento vazio","Enter image caption":"Indicar legenda da imagem","Enter table caption":"Introduzir legenda da tabela","Font Background Color":"Cor de Fundo da Fonte","Font Color":"Cor da Fonte","Font Family":"Família de Fontes","Font Size":"Tamanho da Fonte","Full size image":"Imagem em tamanho completo",Green:"Verde","Green marker":"Marcador verde","Green pen":"Caneta verde",Grey:"Cinzento",Groove:"Sulcos","Header column":"Coluna de cabeçalho","Header row":"Filha de 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",Height:"Altura",HEX:"",Highlight:"Sublinhar","Horizontal line":"Linha horizontal","Horizontal text alignment toolbar":"Barra de ferramentas do alinhamento horizontal de texto","HTML snippet":"Fragmento de HTML",Huge:"Enorme","Image resize list":"Lista de redimensionamento de imagem","Image toolbar":"Barra de ferramentas de imagem","image widget":"módulo de imagem","In line":"Em linha","Increase indent":"Aumentar indentação",Insert:"Inserir","Insert code block":"Inserir bloco de citação","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert HTML":"Inserir HTML","Insert image":"Inserir imagem","Insert image via URL":"Inserir imagem através de URL","Insert paragraph after block":"Inserir parágrafo após o bloco","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert row above":"Inserir fila acima","Insert row below":"Inserir fila abaixo","Insert table":"Inserir tabela",Inset:"Interior",Italic:"Itálico",Justify:"Justificar","Justify cell text":"Justificar texto da célula","Left aligned image":"Imagem alinhada à esquerda","Light blue":"Azul-claro","Light green":"Verde-claro","Light grey":"Cinzento-claro",Link:"Hiperligação","Link image":"Adicionar link a imagem","Link URL":"URL da ligação","List properties":"Propriedades da lista","Lower-latin":"Latim minúsculo","Lower–roman":"Romano minúsculo","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",Next:"Seguinte","No preview available":"Pré-visualização indisponível",None:"Nenhum","Numbered List":"Lista ordenada","Numbered list styles toolbar":"Barra de ferramentas de estilos de lista numerada","Open in a new tab":"Abrir num novo separador","Open link in new tab":"Abrir link num novo separador",Orange:"Laranja",Original:"Original",Outset:"Exterior",Padding:"Enchimento",Paragraph:"Parágrafo","Paste raw HTML here...":"Colar HTML aqui...","Pink marker":"Marcador rosa","Plain text":"Texto simples","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","Red pen":"Caneta vermelha",Redo:"Refazer","Remove color":"Remover cor","Remove Format":"Remover formatação","Remove highlight":"Remover ","Resize image":"Redimensionar imagem","Resize image to %0":"Redimensionar imagem para %0","Resize image to the original size":"Redimensionar imagem para tamanho original","Restore default":"Restaurar predefinição","Reversed order":"Ordem invertida","Rich Text Editor":"Editor de texto avançado",Ridge:"Rebordo","Right aligned image":"Imagem alinhada à direita",Row:"Fila",Save:"Guardar","Save changes":"Guardar alterações","Saving changes":"A guardar alterações","Select all":"Selecionar todos","Select column":"Selecionar coluna","Select row":"Selecionar fila","Show more items":"Mostrar mais itens","Side image":"Imagem lateral",Small:"Pequena",Solid:"Sólido","Split cell horizontally":"Dividir célula horizontalmente","Split cell vertically":"Dividir célula verticalmente",Square:"Quadrado","Start at":"Começa em","Start index must be greater than 0.":"O índice inicial tem de ser superior a 0.",Strikethrough:"Riscado",Style:"Estilo",Subscript:"Subscrito",Superscript:"Sobrescrito","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","Text alignment":"Alinhamento de texto","Text alignment toolbar":"Barra de alinhamento de texto","Text alternative":"Texto alternativo","Text highlight toolbar":"Barra de ferramentas de destaque de texto",'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".',"This link has no URL":"Este link não tem URL",Tiny:"Mínima","To-do List":"Lista de Afazeres","Toggle caption off":"Desativar legenda","Toggle caption on":"Ativar legenda","Toggle the circle list style":"Ativar o estilo de lista de círculos","Toggle the decimal list style":"Ativar o estilo de lista decimal","Toggle the decimal with leading zero list style":"Ativar o estilo de lista decimal com zero inicial","Toggle the disc list style":"Ativar o estilo de lista de discos","Toggle the lower–latin list style":"Ativar o estilo de lista de latim minúsculo","Toggle the lower–roman list style":"Ativar o estilo de lista de números romanos minúsculos","Toggle the square list style":"Ativar o estilo de lista de quadrados","Toggle the upper–latin list style":"Ativar o estilo de lista de latim maiúsculo","Toggle the upper–roman list style":"Ativar o estilo de lista de números romanos maiúsculos",Turquoise:"Turquesa","Type or paste your content here.":"Digite ou cole o seu conteúdo aqui.","Type your title":"Introduza o seu título",Underline:"Sublinhado",Undo:"Desfazer",Unlink:"Desligar",Update:"Atualizar","Update image URL":"Atualizar URL da imagem","Upload failed":"Falha ao carregar","Upload in progress":"Carregamento em progresso","Upper-latin":"Latim maiúsculo","Upper-roman":"Romano maiúsculo","Vertical text alignment toolbar":"Barra de ferramentas do alinhamento vertical de texto",White:"Branco","Widget toolbar":"Barra de ferramentas do widget",Width:"Largura","Wrap text":"Envolver texto",Yellow:"Amarelo","Yellow marker":"Marcador 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
index 923cea4893ea2a43017475d2257ecd16c7f67235..659471323089eca550852fd6632df6051c0c3999 100644 (file)
@@ -1 +1 @@
-!function(e){const i=e.ro=e.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 din %1","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 center":"Aliniază la centru","Align left":"Aliniază la stânga","Align right":"Aliniază la dreapta","Align table to the left":"Alinează tabela la stânga","Align table to the right":"Alinează tabela la dreapta",Alignment:"Aliniere",Aquamarine:"Acvamarin",Background:"Fundal",Big:"Mare",Black:"Negru","Block quote":"Bloc citat",Blue:"Albastru","Blue marker":"Evidențiator albastru",Bold:"Îngroșat",Border:"Bordură","Break text":"Segmentare text","Bulleted List":"Listă cu puncte","Bulleted list styles toolbar":"Toolbar Listă cu puncte",Cancel:"Anulare","Caption for image: %0":"Captură pentru imagine: %0","Caption for the image":"Captură pentru imagine","Cell properties":"Proprietățile celulei","Center table":"Tabelă centrată","Centered image":"Imagine aliniată pe centru","Change image text alternative":"Schimbă textul alternativ al imaginii","Choose heading":"Alege titlu",Circle:"Cerc",Code:"Cod",Color:"Culoare","Color picker":"Alegere culoare",Column:"Coloană",Dashed:"Linii întrerupte",Decimal:"Număr","Decimal with leading zero":"Număr cu zero la început ","Decrease indent":"Micșorează indent",Default:"Implicită","Delete column":"Șterge coloană","Delete row":"Șterge rând","Dim grey":"Gri slab",Dimensions:"Dimensiuni",Disc:"Disc","Document colors":"Culorile din document",Dotted:"Punctată",Double:"Dublă",Downloadable:"Descărcabil","Dropdown toolbar":"Bară listă opțiuni","Edit block":"Editează bloc","Edit link":"Modifică link","Edit source":"Editează sursa","Editor block content toolbar":"Bară de instrumente editor pentru blocuri de conținut","Editor contextual toolbar":"Bară contextuală de instrumente editor","Editor editing area: %0":"Zonă editare editor: %0","Editor toolbar":"Bară editor","Empty snippet content":"Golește conținutul fragmentului","Enter image caption":"Introdu titlul descriptiv al imaginii","Enter table caption":"Adaugă subtitlul tabelei","Font Background Color":"Culoarea de fundal a fontului","Font Color":"Culoare font","Font Family":"Familie font","Font Size":"Dimensiune font","Full size image":"Imagine mărime completă",Green:"Verde","Green marker":"Evidențiator verde","Green pen":"Pix verde",Grey:"Gri",Groove:"Groove","Header column":"Antet coloană","Header row":"Rând antet",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",Height:"Înălțime",Highlight:"Evidențiere text","Horizontal line":"Linie orizontală","Horizontal text alignment toolbar":"Toolbar aliniere text orizontală","HTML snippet":"Fragment HTML",Huge:"Foarte mare","Image resize list":"Lista cu mărimi de redimensionare","Image toolbar":"Bară imagine","image widget":"widget imagine","In line":"În linie","Increase indent":"Mărește indent",Insert:"Inserează","Insert code block":"Inserează un bloc code","Insert column left":"Inserează coloană la stânga","Insert column right":"Inserează coloană la dreapta","Insert HTML":"Inserează HTML","Insert image":"Inserează imagine","Insert image via URL":"Inserează o imagine via URL","Insert paragraph after block":"Inserează un paragraf după bloc","Insert paragraph before block":"Inserează un paragraf înaintea blocului","Insert row above":"Inserează rând deasupra","Insert row below":"Inserează rând dedesubt","Insert table":"Inserează tabel",Inset:"Inserează",Italic:"Cursiv",Justify:"Aliniază stânga-dreapta","Justify cell text":"Textul celulei justify","Left aligned image":"Imagine aliniată la stânga","Light blue":"Albastru deschis","Light green":"Verde deschis","Light grey":"Gri deschis",Link:"Link","Link image":"Link imagine","Link URL":"Link URL","List properties":"Proprietăți listă","Lower-latin":"Litere mici latine","Lower–roman":"Litere mici romane","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",Next:"Înainte","No preview available":"Previzualizare indisponibilă",None:"Nimic","Numbered List":"Listă numerotată","Numbered list styles toolbar":"Toolbar Listă numerotată","Open in a new tab":"Deschide în tab nou","Open link in new tab":"Deschide link în tab nou",Orange:"Portocaliu",Original:"Original",Outset:"Elimină",Padding:"Spațiere",Paragraph:"Paragraf","Paste raw HTML here...":"Inserați aici HTML brut... ","Pink marker":"Evidențiator roz","Plain text":"Text simplu","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","Red pen":"Pix roșu",Redo:"Revenire","Remove color":"Șterge culoare","Remove Format":"Șterge formatare","Remove highlight":"Șterge evidențiere text","Resize image":"Redimensionează imaginea","Resize image to %0":"Redimensionează imaginea la %0","Resize image to the original size":"Redimensionează imaginea la mărimea originală","Restore default":"Reface la default","Reversed order":"Ordine inversată","Rich Text Editor":"Editor de text",Ridge:"Crestată","Right aligned image":"Imagine aliniată la dreapta",Row:"Rând",Save:"Salvare","Save changes":"Salvează schimbările","Saving changes":"Se salvează modificările","Select all":"Selectează-le pe toate","Select column":"Selectează coloana","Select row":"Selectează linia","Show more items":"Arată mai multe elemente","Side image":"Imagine laterală",Small:"Mică",Solid:"Solidă","Split cell horizontally":"Scindează celula pe orizontală","Split cell vertically":"Scindează celula pe verticală",Square:"Pătrat","Start at":"Începe de la","Start index must be greater than 0.":"Indexul de pornire trebuie să fie mai mare de 0.",Strikethrough:"Tăiere text cu o linie",Style:"Stil",Subscript:"Indice",Superscript:"Exponent","Table alignment toolbar":"Toolbar aliniere tabelă","Table cell text alignment":"Alinierea textului celulei tabelei","Table properties":"Proprietățile tabelei","Table toolbar":"Bară tabel","Text alignment":"Aliniere text","Text alignment toolbar":"Bara aliniere text","Text alternative":"Text alternativ","Text highlight toolbar":"Bară evidențiere text",'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".',"This link has no URL":"Acest link nu are niciun URL",Tiny:"Foarte mică","To-do List":"Listă cu activități","Toggle caption off":"Dezactivați subtitlul","Toggle caption on":"Activați subtitlul","Toggle the circle list style":"Comutați stilul la lista cu cercuri","Toggle the decimal list style":"Comutați stilul la lista cu numere","Toggle the decimal with leading zero list style":"Comutați stilul la lista cu numere cu zero la început","Toggle the disc list style":"Comutați stilul la lista cu discuri","Toggle the lower–latin list style":"Comutați stilul la lista cu litere mici latine","Toggle the lower–roman list style":"Comutați stilul la lista cu litere mici romane","Toggle the square list style":"Comutați stilul la lista cu pătrate","Toggle the upper–latin list style":"Comutați stilul la lista cu litere mari latine","Toggle the upper–roman list style":"Comutați stilul la lista cu litere mari romane",Turquoise:"Turcoaz","Type or paste your content here.":"Scrie sau inserează aici conținutul tău","Type your title":"Scrie titlul tău",Underline:"Subliniat",Undo:"Anulare",Unlink:"Șterge link",Update:"Actualizează","Update image URL":"Actualizează o imagine via URL","Upload failed":"Încărcare eșuată","Upload in progress":"Încărcare în curs","Upper-latin":"Litere mari latine","Upper-roman":"Litere mari romane","Vertical text alignment toolbar":"Toolbar aliniere text verticală",White:"Alb","Widget toolbar":"Bară widget",Width:"Lungime","Wrap text":"Încadrare text",Yellow:"Galben","Yellow marker":"Evidențiator galben"}),i.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 i=e.ro=e.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 din %1",Accept:"","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 center":"Aliniază la centru","Align left":"Aliniază la stânga","Align right":"Aliniază la dreapta","Align table to the left":"Alinează tabela la stânga","Align table to the right":"Alinează tabela la dreapta",Alignment:"Aliniere",Aquamarine:"Acvamarin",Background:"Fundal",Big:"Mare",Black:"Negru","Block quote":"Bloc citat",Blue:"Albastru","Blue marker":"Evidențiator albastru",Bold:"Îngroșat",Border:"Bordură","Break text":"Segmentare text","Bulleted List":"Listă cu puncte","Bulleted list styles toolbar":"Toolbar Listă cu puncte",Cancel:"Anulare","Caption for image: %0":"Captură pentru imagine: %0","Caption for the image":"Captură pentru imagine","Cell properties":"Proprietățile celulei","Center table":"Tabelă centrată","Centered image":"Imagine aliniată pe centru","Change image text alternative":"Schimbă textul alternativ al imaginii","Choose heading":"Alege titlu",Circle:"Cerc",Code:"Cod",Color:"Culoare","Color picker":"Alegere culoare",Column:"Coloană",Dashed:"Linii întrerupte",Decimal:"Număr","Decimal with leading zero":"Număr cu zero la început ","Decrease indent":"Micșorează indent",Default:"Implicită","Delete column":"Șterge coloană","Delete row":"Șterge rând","Dim grey":"Gri slab",Dimensions:"Dimensiuni",Disc:"Disc","Document colors":"Culorile din document",Dotted:"Punctată",Double:"Dublă",Downloadable:"Descărcabil","Dropdown toolbar":"Bară listă opțiuni","Edit block":"Editează bloc","Edit link":"Modifică link","Edit source":"Editează sursa","Editor block content toolbar":"Bară de instrumente editor pentru blocuri de conținut","Editor contextual toolbar":"Bară contextuală de instrumente editor","Editor editing area: %0":"Zonă editare editor: %0","Editor toolbar":"Bară editor","Empty snippet content":"Golește conținutul fragmentului","Enter image caption":"Introdu titlul descriptiv al imaginii","Enter table caption":"Adaugă subtitlul tabelei","Font Background Color":"Culoarea de fundal a fontului","Font Color":"Culoare font","Font Family":"Familie font","Font Size":"Dimensiune font","Full size image":"Imagine mărime completă",Green:"Verde","Green marker":"Evidențiator verde","Green pen":"Pix verde",Grey:"Gri",Groove:"Groove","Header column":"Antet coloană","Header row":"Rând antet",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",Height:"Înălțime",HEX:"",Highlight:"Evidențiere text","Horizontal line":"Linie orizontală","Horizontal text alignment toolbar":"Toolbar aliniere text orizontală","HTML snippet":"Fragment HTML",Huge:"Foarte mare","Image resize list":"Lista cu mărimi de redimensionare","Image toolbar":"Bară imagine","image widget":"widget imagine","In line":"În linie","Increase indent":"Mărește indent",Insert:"Inserează","Insert code block":"Inserează un bloc code","Insert column left":"Inserează coloană la stânga","Insert column right":"Inserează coloană la dreapta","Insert HTML":"Inserează HTML","Insert image":"Inserează imagine","Insert image via URL":"Inserează o imagine via URL","Insert paragraph after block":"Inserează un paragraf după bloc","Insert paragraph before block":"Inserează un paragraf înaintea blocului","Insert row above":"Inserează rând deasupra","Insert row below":"Inserează rând dedesubt","Insert table":"Inserează tabel",Inset:"Inserează",Italic:"Cursiv",Justify:"Aliniază stânga-dreapta","Justify cell text":"Textul celulei justify","Left aligned image":"Imagine aliniată la stânga","Light blue":"Albastru deschis","Light green":"Verde deschis","Light grey":"Gri deschis",Link:"Link","Link image":"Link imagine","Link URL":"Link URL","List properties":"Proprietăți listă","Lower-latin":"Litere mici latine","Lower–roman":"Litere mici romane","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",Next:"Înainte","No preview available":"Previzualizare indisponibilă",None:"Nimic","Numbered List":"Listă numerotată","Numbered list styles toolbar":"Toolbar Listă numerotată","Open in a new tab":"Deschide în tab nou","Open link in new tab":"Deschide link în tab nou",Orange:"Portocaliu",Original:"Original",Outset:"Elimină",Padding:"Spațiere",Paragraph:"Paragraf","Paste raw HTML here...":"Inserați aici HTML brut... ","Pink marker":"Evidențiator roz","Plain text":"Text simplu","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","Red pen":"Pix roșu",Redo:"Revenire","Remove color":"Șterge culoare","Remove Format":"Șterge formatare","Remove highlight":"Șterge evidențiere text","Resize image":"Redimensionează imaginea","Resize image to %0":"Redimensionează imaginea la %0","Resize image to the original size":"Redimensionează imaginea la mărimea originală","Restore default":"Reface la default","Reversed order":"Ordine inversată","Rich Text Editor":"Editor de text",Ridge:"Crestată","Right aligned image":"Imagine aliniată la dreapta",Row:"Rând",Save:"Salvare","Save changes":"Salvează schimbările","Saving changes":"Se salvează modificările","Select all":"Selectează-le pe toate","Select column":"Selectează coloana","Select row":"Selectează linia","Show more items":"Arată mai multe elemente","Side image":"Imagine laterală",Small:"Mică",Solid:"Solidă","Split cell horizontally":"Scindează celula pe orizontală","Split cell vertically":"Scindează celula pe verticală",Square:"Pătrat","Start at":"Începe de la","Start index must be greater than 0.":"Indexul de pornire trebuie să fie mai mare de 0.",Strikethrough:"Tăiere text cu o linie",Style:"Stil",Subscript:"Indice",Superscript:"Exponent","Table alignment toolbar":"Toolbar aliniere tabelă","Table cell text alignment":"Alinierea textului celulei tabelei","Table properties":"Proprietățile tabelei","Table toolbar":"Bară tabel","Text alignment":"Aliniere text","Text alignment toolbar":"Bara aliniere text","Text alternative":"Text alternativ","Text highlight toolbar":"Bară evidențiere text",'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".',"This link has no URL":"Acest link nu are niciun URL",Tiny:"Foarte mică","To-do List":"Listă cu activități","Toggle caption off":"Dezactivați subtitlul","Toggle caption on":"Activați subtitlul","Toggle the circle list style":"Comutați stilul la lista cu cercuri","Toggle the decimal list style":"Comutați stilul la lista cu numere","Toggle the decimal with leading zero list style":"Comutați stilul la lista cu numere cu zero la început","Toggle the disc list style":"Comutați stilul la lista cu discuri","Toggle the lower–latin list style":"Comutați stilul la lista cu litere mici latine","Toggle the lower–roman list style":"Comutați stilul la lista cu litere mici romane","Toggle the square list style":"Comutați stilul la lista cu pătrate","Toggle the upper–latin list style":"Comutați stilul la lista cu litere mari latine","Toggle the upper–roman list style":"Comutați stilul la lista cu litere mari romane",Turquoise:"Turcoaz","Type or paste your content here.":"Scrie sau inserează aici conținutul tău","Type your title":"Scrie titlul tău",Underline:"Subliniat",Undo:"Anulare",Unlink:"Șterge link",Update:"Actualizează","Update image URL":"Actualizează o imagine via URL","Upload failed":"Încărcare eșuată","Upload in progress":"Încărcare în curs","Upper-latin":"Litere mari latine","Upper-roman":"Litere mari romane","Vertical text alignment toolbar":"Toolbar aliniere text verticală",White:"Alb","Widget toolbar":"Bară widget",Width:"Lungime","Wrap text":"Încadrare text",Yellow:"Galben","Yellow marker":"Evidențiator galben"}),i.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
index a71e098d661370d4be2c41c55580fc5905db0ce8..af562239321fe1a7ba6d0d91ec2441996e048b55 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 из %1","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 center":"Выравнивание по центру","Align left":"Выравнивание по левому краю","Align right":"Выравнивание по правому краю","Align table to the left":"Выровнять таблицу по левому краю","Align table to the right":"Выровнять таблицу по правому краю",Alignment:"Выравнивание",Aquamarine:"Аквамариновый",Background:"Фон",Big:"Крупный",Black:"Чёрный","Block quote":"Цитата",Blue:"Синий","Blue marker":"Выделение синим маркером",Bold:"Жирный",Border:"Граница","Break text":"Разрывать текст","Bulleted List":"Маркированный список","Bulleted list styles toolbar":"Стили маркированного списка",Cancel:"Отмена","Caption for image: %0":"Подпись к изображению: %0","Caption for the image":"Подпись к изображению","Cell properties":"Свойства ячейки","Center table":"Выровнять таблицу по центру","Centered image":"Выравнивание по центру","Change image text alternative":"Редактировать альтернативный текст","Choose heading":"Выбор стиля",Circle:"Окружность",Code:"Исходный код",Color:"Цвет","Color picker":"Выбор цвета",Column:"Столбец",Dashed:"Пунктирная",Decimal:"Десятичный","Decimal with leading zero":"Десятичный с ведущим нулем","Decrease indent":"Уменьшить отступ",Default:"По умолчанию","Delete column":"Удалить столбец","Delete row":"Удалить строку","Dim grey":"Тёмно-серый",Dimensions:"Размеры",Disc:"Диск","Document colors":"Цвет страницы",Dotted:"Точечная",Double:"Двойная",Downloadable:"Загружаемые","Dropdown toolbar":"Выпадающая панель инструментов","Edit block":"Редактировать блок","Edit link":"Редактировать ссылку","Edit source":"Изменить код","Editor block content toolbar":"Панель инструментов редактора","Editor contextual toolbar":"Контекстуальная панель инструментов редактора","Editor editing area: %0":"Область редактирования редактора: %0","Editor toolbar":"Панель инструментов редактора","Empty snippet content":"Нет контента","Enter image caption":"Подпись к изображению","Enter table caption":"Подпись таблицы","Font Background Color":"Цвет фона","Font Color":"Цвет шрифта","Font Family":"Семейство шрифтов","Font Size":"Размер шрифта","Full size image":"Оригинальный размер изображения",Green:"Зелёный","Green marker":"Выделение зелёным маркером","Green pen":"Зеленый цвет текста",Grey:"Серый",Groove:"Желобчатая","Header column":"Столбец заголовков","Header row":"Строка заголовков",Heading:"Стиль","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6",Height:"Высота",Highlight:"Выделить","Horizontal line":"Горизонтальная линия","Horizontal text alignment toolbar":"Панель инструментов горизонтального выравнивания текста","HTML snippet":"HTML сниппет",Huge:"Очень крупный","Image resize list":"Список размеров","Image toolbar":"Панель инструментов изображения","image widget":"Виджет изображений","In line":"В тексте","Increase indent":"Увеличить отступ",Insert:"Вставить","Insert code block":"Вставить код","Insert column left":"Вставить столбец слева","Insert column right":"Вставить столбец справа","Insert HTML":"Вставить HTML","Insert image":"Вставить изображение","Insert image via URL":"Вставить изображение по URL","Insert paragraph after block":"Вставить параграф после блока","Insert paragraph before block":"Вставить параграф перед блоком","Insert row above":"Вставить строку выше","Insert row below":"Вставить строку ниже","Insert table":"Вставить таблицу",Inset:"Вдавленная",Italic:"Курсив",Justify:"Выравнивание по ширине","Justify cell text":"Выровнять текст по ширине","Left aligned image":"Выравнивание по левому краю","Light blue":"Голубой","Light green":"Салатовый","Light grey":"Светло-серый",Link:"Ссылка","Link image":"Ссылка на изображение","Link URL":"Ссылка URL","List properties":"Свойства списка","Lower-latin":"Малые латинские","Lower–roman":"Малые римские","Merge cell down":"Объединить с ячейкой снизу","Merge cell left":"Объединить с ячейкой слева","Merge cell right":"Объединить с ячейкой справа","Merge cell up":"Объединить с ячейкой сверху","Merge cells":"Объединить ячейки",Next:"Следующий","No preview available":"Предпросмотр недоступен",None:"Нет","Numbered List":"Нумерованный список","Numbered list styles toolbar":"Стили нумерованного списка","Open in a new tab":"Открыть в новой вкладке","Open link in new tab":"Открыть ссылку в новой вкладке",Orange:"Оранжевый",Original:"Оригинальный",Outset:"Выпуклая",Padding:"Отступ",Paragraph:"Параграф","Paste raw HTML here...":"Вставьте HTML код сюда...","Pink marker":"Выделение розовым маркером","Plain text":"Простой текст","Press Enter to type after or press Shift + Enter to type before the widget":"Нажмите Enter для ввода текста после виджета или нажмите Shift + Enter для ввода текста перед виджетом",Previous:"Предыдущий",Purple:"Фиолетовый",Red:"Красный","Red pen":"Красный цвет текста",Redo:"Повторить","Remove color":"Убрать цвет","Remove Format":"Убрать форматирование","Remove highlight":"Убрать выделение","Resize image":"Изменить размер изображения","Resize image to %0":"Изменить размер изображения до %0","Resize image to the original size":"Вернуть размер изображения к оригинальному","Restore default":"По умолчанию","Reversed order":"Обратный порядок","Rich Text Editor":"Редактор",Ridge:"Ребристая","Right aligned image":"Выравнивание по правому краю",Row:"Строка",Save:"Сохранить","Save changes":"Сохранить изменения","Saving changes":"Сохранение изменений","Select all":"Выбрать все","Select column":"Выбрать столбец","Select row":"Выбрать строку","Show more items":"Другие инструменты","Side image":"Боковое изображение",Small:"Мелкий",Solid:"Сплошная","Split cell horizontally":"Разделить ячейку горизонтально","Split cell vertically":"Разделить ячейку вертикально",Square:"Квадрат","Start at":"Начать с","Start index must be greater than 0.":"Начальный индекс должен быть больше 0.",Strikethrough:"Зачеркнутый",Style:"Стиль",Subscript:"Подстрочный",Superscript:"Надстрочный","Table alignment toolbar":"Панель инструментов выравнивания таблицы","Table cell text alignment":"Выравнивание текста в ячейке таблицы","Table properties":"Свойства таблицы","Table toolbar":"Панель инструментов таблицы","Text alignment":"Выравнивание текста","Text alignment toolbar":"Выравнивание","Text alternative":"Альтернативный текст","Text highlight 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".',"This link has no URL":"Для этой ссылки не установлен адрес URL",Tiny:"Очень мелкий","To-do List":"Список задач","Toggle caption off":"Выключить описание","Toggle caption on":"Включить описание","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":"Переключить на стиль списка с маркерами в виде заглавных римских цифр",Turquoise:"Бирюзовый","Type or paste your content here.":"Введите или вставьте сюда ваш текст","Type your title":"Введите заголовок",Underline:"Подчеркнутый",Undo:"Отменить",Unlink:"Убрать ссылку",Update:"Изменить","Update image URL":"Изменить URL изображения","Upload failed":"Загрузка не выполнена","Upload in progress":"Идёт загрузка","Upper-latin":"Большие латинские","Upper-roman":"Большие римские","Vertical text alignment toolbar":"Панель инструментов вертикального выравнивания текста",White:"Белый","Widget toolbar":"Панель инструментов виджета",Width:"Ширина","Wrap text":"Обтекать текст",Yellow:"Жёлтый","Yellow marker":"Выделение жёлтым маркером"}),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||{},{"%0 of %1":"%0 из %1",Accept:"","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 center":"Выравнивание по центру","Align left":"Выравнивание по левому краю","Align right":"Выравнивание по правому краю","Align table to the left":"Выровнять таблицу по левому краю","Align table to the right":"Выровнять таблицу по правому краю",Alignment:"Выравнивание",Aquamarine:"Аквамариновый",Background:"Фон",Big:"Крупный",Black:"Чёрный","Block quote":"Цитата",Blue:"Синий","Blue marker":"Выделение синим маркером",Bold:"Жирный",Border:"Граница","Break text":"Разрывать текст","Bulleted List":"Маркированный список","Bulleted list styles toolbar":"Стили маркированного списка",Cancel:"Отмена","Caption for image: %0":"Подпись к изображению: %0","Caption for the image":"Подпись к изображению","Cell properties":"Свойства ячейки","Center table":"Выровнять таблицу по центру","Centered image":"Выравнивание по центру","Change image text alternative":"Редактировать альтернативный текст","Choose heading":"Выбор стиля",Circle:"Окружность",Code:"Исходный код",Color:"Цвет","Color picker":"Выбор цвета",Column:"Столбец",Dashed:"Пунктирная",Decimal:"Десятичный","Decimal with leading zero":"Десятичный с ведущим нулем","Decrease indent":"Уменьшить отступ",Default:"По умолчанию","Delete column":"Удалить столбец","Delete row":"Удалить строку","Dim grey":"Тёмно-серый",Dimensions:"Размеры",Disc:"Диск","Document colors":"Цвет страницы",Dotted:"Точечная",Double:"Двойная",Downloadable:"Загружаемые","Dropdown toolbar":"Выпадающая панель инструментов","Edit block":"Редактировать блок","Edit link":"Редактировать ссылку","Edit source":"Изменить код","Editor block content toolbar":"Панель инструментов редактора","Editor contextual toolbar":"Контекстуальная панель инструментов редактора","Editor editing area: %0":"Область редактирования редактора: %0","Editor toolbar":"Панель инструментов редактора","Empty snippet content":"Нет контента","Enter image caption":"Подпись к изображению","Enter table caption":"Подпись таблицы","Font Background Color":"Цвет фона","Font Color":"Цвет шрифта","Font Family":"Семейство шрифтов","Font Size":"Размер шрифта","Full size image":"Оригинальный размер изображения",Green:"Зелёный","Green marker":"Выделение зелёным маркером","Green pen":"Зеленый цвет текста",Grey:"Серый",Groove:"Желобчатая","Header column":"Столбец заголовков","Header row":"Строка заголовков",Heading:"Стиль","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6",Height:"Высота",HEX:"",Highlight:"Выделить","Horizontal line":"Горизонтальная линия","Horizontal text alignment toolbar":"Панель инструментов горизонтального выравнивания текста","HTML snippet":"HTML сниппет",Huge:"Очень крупный","Image resize list":"Список размеров","Image toolbar":"Панель инструментов изображения","image widget":"Виджет изображений","In line":"В тексте","Increase indent":"Увеличить отступ",Insert:"Вставить","Insert code block":"Вставить код","Insert column left":"Вставить столбец слева","Insert column right":"Вставить столбец справа","Insert HTML":"Вставить HTML","Insert image":"Вставить изображение","Insert image via URL":"Вставить изображение по URL","Insert paragraph after block":"Вставить параграф после блока","Insert paragraph before block":"Вставить параграф перед блоком","Insert row above":"Вставить строку выше","Insert row below":"Вставить строку ниже","Insert table":"Вставить таблицу",Inset:"Вдавленная",Italic:"Курсив",Justify:"Выравнивание по ширине","Justify cell text":"Выровнять текст по ширине","Left aligned image":"Выравнивание по левому краю","Light blue":"Голубой","Light green":"Салатовый","Light grey":"Светло-серый",Link:"Ссылка","Link image":"Ссылка на изображение","Link URL":"Ссылка URL","List properties":"Свойства списка","Lower-latin":"Малые латинские","Lower–roman":"Малые римские","Merge cell down":"Объединить с ячейкой снизу","Merge cell left":"Объединить с ячейкой слева","Merge cell right":"Объединить с ячейкой справа","Merge cell up":"Объединить с ячейкой сверху","Merge cells":"Объединить ячейки",Next:"Следующий","No preview available":"Предпросмотр недоступен",None:"Нет","Numbered List":"Нумерованный список","Numbered list styles toolbar":"Стили нумерованного списка","Open in a new tab":"Открыть в новой вкладке","Open link in new tab":"Открыть ссылку в новой вкладке",Orange:"Оранжевый",Original:"Оригинальный",Outset:"Выпуклая",Padding:"Отступ",Paragraph:"Параграф","Paste raw HTML here...":"Вставьте HTML код сюда...","Pink marker":"Выделение розовым маркером","Plain text":"Простой текст","Press Enter to type after or press Shift + Enter to type before the widget":"Нажмите Enter для ввода текста после виджета или нажмите Shift + Enter для ввода текста перед виджетом",Previous:"Предыдущий",Purple:"Фиолетовый",Red:"Красный","Red pen":"Красный цвет текста",Redo:"Повторить","Remove color":"Убрать цвет","Remove Format":"Убрать форматирование","Remove highlight":"Убрать выделение","Resize image":"Изменить размер изображения","Resize image to %0":"Изменить размер изображения до %0","Resize image to the original size":"Вернуть размер изображения к оригинальному","Restore default":"По умолчанию","Reversed order":"Обратный порядок","Rich Text Editor":"Редактор",Ridge:"Ребристая","Right aligned image":"Выравнивание по правому краю",Row:"Строка",Save:"Сохранить","Save changes":"Сохранить изменения","Saving changes":"Сохранение изменений","Select all":"Выбрать все","Select column":"Выбрать столбец","Select row":"Выбрать строку","Show more items":"Другие инструменты","Side image":"Боковое изображение",Small:"Мелкий",Solid:"Сплошная","Split cell horizontally":"Разделить ячейку горизонтально","Split cell vertically":"Разделить ячейку вертикально",Square:"Квадрат","Start at":"Начать с","Start index must be greater than 0.":"Начальный индекс должен быть больше 0.",Strikethrough:"Зачеркнутый",Style:"Стиль",Subscript:"Подстрочный",Superscript:"Надстрочный","Table alignment toolbar":"Панель инструментов выравнивания таблицы","Table cell text alignment":"Выравнивание текста в ячейке таблицы","Table properties":"Свойства таблицы","Table toolbar":"Панель инструментов таблицы","Text alignment":"Выравнивание текста","Text alignment toolbar":"Выравнивание","Text alternative":"Альтернативный текст","Text highlight 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".',"This link has no URL":"Для этой ссылки не установлен адрес URL",Tiny:"Очень мелкий","To-do List":"Список задач","Toggle caption off":"Выключить описание","Toggle caption on":"Включить описание","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":"Переключить на стиль списка с маркерами в виде заглавных римских цифр",Turquoise:"Бирюзовый","Type or paste your content here.":"Введите или вставьте сюда ваш текст","Type your title":"Введите заголовок",Underline:"Подчеркнутый",Undo:"Отменить",Unlink:"Убрать ссылку",Update:"Изменить","Update image URL":"Изменить URL изображения","Upload failed":"Загрузка не выполнена","Upload in progress":"Идёт загрузка","Upper-latin":"Большие латинские","Upper-roman":"Большие римские","Vertical text alignment toolbar":"Панель инструментов вертикального выравнивания текста",White:"Белый","Widget toolbar":"Панель инструментов виджета",Width:"Ширина","Wrap text":"Обтекать текст",Yellow:"Жёлтый","Yellow marker":"Выделение жёлтым маркером"}),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
index 49228ccbe22b2cdf6bfb9616d8847eec76073e0c..d7c5447b620fc264ebbb42a19850a50020b90c33 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.sk=e.sk||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 z %1","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 center":"Zarovnať na stred","Align left":"Zarovnať vľavo","Align right":"Zarovnať vpravo","Align table to the left":"Zarovnať tabuľku doľava","Align table to the right":"Zarovnať tabuľku doprava",Alignment:"Zarovnanie",Aquamarine:"Akvamarínová",Background:"Pozadie",Big:"Veľké",Black:"Čierna","Block quote":"Citát",Blue:"Modrá","Blue marker":"Modrý zvýrazňovač",Bold:"Tučné",Border:"Orámovanie","Break text":"Zalomenie textu","Bulleted List":"Zoznam s odrážkami","Bulleted list styles toolbar":"Panel zoznamu s odrážkami",Cancel:"Zrušiť","Caption for image: %0":"Popis k obrázku: %0","Caption for the image":"Popis k obrázku","Cell properties":"Vlastnosti bunky","Center table":"Centrovať tabuľku","Centered image":"Zarovnať na stred","Change image text alternative":"Zmeňte alternatívny text obrázka","Choose heading":"Vyberte nadpis",Circle:"Kruh",Code:"Kód",Color:"Farba","Color picker":"Vybrať farbu",Column:"Stĺpec",Dashed:"Čiarkovaná",Decimal:"Čísla","Decimal with leading zero":"Čísla s nulou na začiatku","Decrease indent":"Zmenšiť odsadenie",Default:"Predvolené","Delete column":"Odstrániť stĺpec","Delete row":"Odstrániť riadok","Dim grey":"Tmavosivá",Dimensions:"Rozmery",Disc:"Plný kruh","Document colors":"Farby dokumentu",Dotted:"Bodkovaná",Double:"Dvojitá",Downloadable:"Na stiahnutie","Dropdown toolbar":"Panel nástrojov roletového menu","Edit block":"Upraviť odsek","Edit link":"Upraviť odkaz","Edit source":"Upraviť zdroj","Editor block content toolbar":"Panel s nástrojmi obsahu bloku editora","Editor contextual toolbar":"Kontextový panel nástrojov editora","Editor editing area: %0":"Oblasť úprav editora: %0","Editor toolbar":"Panel nástrojov editora","Empty snippet content":"Prázdny obsah kódu","Enter image caption":"Vložte popis obrázka","Enter table caption":"Zadajte popis tabuľky","Font Background Color":"Farba zvýraznenia textu","Font Color":"Farba písma","Font Family":"Názov písma","Font Size":"Veľkosť písma","Full size image":"Obrázok v plnej veľkosti",Green:"Zelená","Green marker":"Zelený zvýrazňovač","Green pen":"Zelené pero",Grey:"Sivá",Groove:"Drážkovaná","Header column":"Stĺpec hlavičky","Header row":"Riadok hlavičky",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",Height:"Výška",Highlight:"Zvýraznenie","Horizontal line":"Vodorovná čiara","Horizontal text alignment toolbar":"Horizontálne zarovnanie textu v panely","HTML snippet":"Kód HTML",Huge:"Veľmi veľké","Image resize list":"Zoznam možností zmeny veľkosti","Image toolbar":"Panel nástrojov obrázka","image widget":"widget obrázka","In line":"V riadku","Increase indent":"Zväčšiť odsadenie",Insert:"Vložiť","Insert code block":"Vložte blok kódu","Insert column left":"Vložiť stĺpec vľavo","Insert column right":"Vložiť stĺpec vpravo","Insert HTML":"Vložiť kód HTML","Insert image":"Vložiť obrázok","Insert image via URL":"Vložiť obrázok pomocou URL","Insert paragraph after block":"Vložiť odstavec za blok","Insert paragraph before block":"Vložiť odstavec pred blok","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",Italic:"Kurzíva",Justify:"Do bloku","Justify cell text":"Zarovnať text bunky z oboch strán","Left aligned image":"Zarovnať vľavo","Light blue":"Bledomodrá","Light green":"Bledozelená","Light grey":"Bledosivá",Link:"Odkaz","Link image":"Adresa obrázku","Link URL":"URL adresa","List properties":"Vlastnosti zoznamu","Lower-latin":"Malé písmená","Lower–roman":"Malé rímske čísla","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",Next:"Ďalšie","No preview available":"Náhľad nie je k dispozícii",None:"Žiadna","Numbered List":"Číslovaný zoznam","Numbered list styles toolbar":"Panel so štýlmi číslovaného zoznamu","Open in a new tab":"Otvoriť v novej záložke","Open link in new tab":"Otvoriť odkaz v novom okne",Orange:"Oranžová",Original:"Originál",Outset:"Vložená zvonku",Padding:"Vnútorný okraj",Paragraph:"Odsek","Paste raw HTML here...":"Sem vložte kód HTML...","Pink marker":"Ružový zvýrazňovač","Plain text":"Čistý text","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á","Red pen":"Červené pero",Redo:"Znova","Remove color":"Zrušiť farbu","Remove Format":"Vyčistiť formátovanie","Remove highlight":"Odstrániť zvýraznenie","Resize image":"Zmeniť veľkosť obrázka","Resize image to %0":"Zmeniť veľkosť na %0","Resize image to the original size":"Zmeniť veľkosť na pôvodnú","Restore default":"Obnoviť predvolené","Reversed order":"Obrátene poradie","Rich Text Editor":"Editor s formátovaním",Ridge:"Rámovaná","Right aligned image":"Zarovnať vpravo",Row:"Riadok",Save:"Uložiť","Save changes":"Uložiť zmeny","Saving changes":"Ukladám zmeny","Select all":"Označiť všetko","Select column":"Vybrať stĺpec","Select row":"Vybrať riadok","Show more items":"Zobraziť viac položiek","Side image":"Bočný obrázok",Small:"Malé",Solid:"Plná","Split cell horizontally":"Rozdeliť bunku vodorovne","Split cell vertically":"Rozdeliť bunku zvislo",Square:"Štvorec","Start at":"Prvá položka","Start index must be greater than 0.":"Prvá položka musí mať index väčší ako 0.",Strikethrough:"Preškrtnuté",Style:"Štýl",Subscript:"Dolný index",Superscript:"Horný index","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","Text alignment":"Zarovnanie textu","Text alignment toolbar":"Panel nástrojov zarovnania textu","Text alternative":"Alternatívny text","Text highlight toolbar":"Panel nástrojov zvýraznenia textu",'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".',"This link has no URL":"Tento odkaz nemá nastavenú URL adresu",Tiny:"Veľmi malé","To-do List":"To-do zoznam","Toggle caption off":"Vypnúť titulok","Toggle caption on":"Zapnúť titulok","Toggle the circle list style":"Prepnúť na zoznam s kruhovým označením","Toggle the decimal list style":"Prepnúť na číselný zoznam","Toggle the decimal with leading zero list style":"Prepnúť na číselný zoznam s nulou na začiatku","Toggle the disc list style":"Prepnúť na zoznam s označením plného kruhu","Toggle the lower–latin list style":"Prepnúť na zoznam s malými písmenami","Toggle the lower–roman list style":"Prepnúť na zoznam s malými rímskymi číslami","Toggle the square list style":"Prepnúť na zoznam so štvorcovým označením","Toggle the upper–latin list style":"Prepnúť na zoznam s veľkými písmenami","Toggle the upper–roman list style":"Prepnúť na zoznam s veľkými rímskymi číslami",Turquoise:"Tyrkysová","Type or paste your content here.":"Vložte obsah","Type your title":"Vložte nadpis",Underline:"Podčiarknuté",Undo:"Späť",Unlink:"Zrušiť odkaz",Update:"Aktualizovať","Update image URL":"Aktualizovať URL obrázka","Upload failed":"Nahrávanie zlyhalo","Upload in progress":"Prebieha nahrávanie","Upper-latin":"Veľké písmená","Upper-roman":"Veľké rímske čísla","Vertical text alignment toolbar":"Vertikálne zarovnanie textu v panely",White:"Biela","Widget toolbar":"Panel nástrojov ovládacieho prvku",Width:"Šírka","Wrap text":"Obtekanie textu",Yellow:"Žltá","Yellow marker":"Žltý zvýrazňovač"}),a.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 a=e.sk=e.sk||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 z %1",Accept:"","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 center":"Zarovnať na stred","Align left":"Zarovnať vľavo","Align right":"Zarovnať vpravo","Align table to the left":"Zarovnať tabuľku doľava","Align table to the right":"Zarovnať tabuľku doprava",Alignment:"Zarovnanie",Aquamarine:"Akvamarínová",Background:"Pozadie",Big:"Veľké",Black:"Čierna","Block quote":"Citát",Blue:"Modrá","Blue marker":"Modrý zvýrazňovač",Bold:"Tučné",Border:"Orámovanie","Break text":"Zalomenie textu","Bulleted List":"Zoznam s odrážkami","Bulleted list styles toolbar":"Panel zoznamu s odrážkami",Cancel:"Zrušiť","Caption for image: %0":"Popis k obrázku: %0","Caption for the image":"Popis k obrázku","Cell properties":"Vlastnosti bunky","Center table":"Centrovať tabuľku","Centered image":"Zarovnať na stred","Change image text alternative":"Zmeňte alternatívny text obrázka","Choose heading":"Vyberte nadpis",Circle:"Kruh",Code:"Kód",Color:"Farba","Color picker":"Vybrať farbu",Column:"Stĺpec",Dashed:"Čiarkovaná",Decimal:"Čísla","Decimal with leading zero":"Čísla s nulou na začiatku","Decrease indent":"Zmenšiť odsadenie",Default:"Predvolené","Delete column":"Odstrániť stĺpec","Delete row":"Odstrániť riadok","Dim grey":"Tmavosivá",Dimensions:"Rozmery",Disc:"Plný kruh","Document colors":"Farby dokumentu",Dotted:"Bodkovaná",Double:"Dvojitá",Downloadable:"Na stiahnutie","Dropdown toolbar":"Panel nástrojov roletového menu","Edit block":"Upraviť odsek","Edit link":"Upraviť odkaz","Edit source":"Upraviť zdroj","Editor block content toolbar":"Panel s nástrojmi obsahu bloku editora","Editor contextual toolbar":"Kontextový panel nástrojov editora","Editor editing area: %0":"Oblasť úprav editora: %0","Editor toolbar":"Panel nástrojov editora","Empty snippet content":"Prázdny obsah kódu","Enter image caption":"Vložte popis obrázka","Enter table caption":"Zadajte popis tabuľky","Font Background Color":"Farba zvýraznenia textu","Font Color":"Farba písma","Font Family":"Názov písma","Font Size":"Veľkosť písma","Full size image":"Obrázok v plnej veľkosti",Green:"Zelená","Green marker":"Zelený zvýrazňovač","Green pen":"Zelené pero",Grey:"Sivá",Groove:"Drážkovaná","Header column":"Stĺpec hlavičky","Header row":"Riadok hlavičky",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",Height:"Výška",HEX:"",Highlight:"Zvýraznenie","Horizontal line":"Vodorovná čiara","Horizontal text alignment toolbar":"Horizontálne zarovnanie textu v panely","HTML snippet":"Kód HTML",Huge:"Veľmi veľké","Image resize list":"Zoznam možností zmeny veľkosti","Image toolbar":"Panel nástrojov obrázka","image widget":"widget obrázka","In line":"V riadku","Increase indent":"Zväčšiť odsadenie",Insert:"Vložiť","Insert code block":"Vložte blok kódu","Insert column left":"Vložiť stĺpec vľavo","Insert column right":"Vložiť stĺpec vpravo","Insert HTML":"Vložiť kód HTML","Insert image":"Vložiť obrázok","Insert image via URL":"Vložiť obrázok pomocou URL","Insert paragraph after block":"Vložiť odstavec za blok","Insert paragraph before block":"Vložiť odstavec pred blok","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",Italic:"Kurzíva",Justify:"Do bloku","Justify cell text":"Zarovnať text bunky z oboch strán","Left aligned image":"Zarovnať vľavo","Light blue":"Bledomodrá","Light green":"Bledozelená","Light grey":"Bledosivá",Link:"Odkaz","Link image":"Adresa obrázku","Link URL":"URL adresa","List properties":"Vlastnosti zoznamu","Lower-latin":"Malé písmená","Lower–roman":"Malé rímske čísla","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",Next:"Ďalšie","No preview available":"Náhľad nie je k dispozícii",None:"Žiadna","Numbered List":"Číslovaný zoznam","Numbered list styles toolbar":"Panel so štýlmi číslovaného zoznamu","Open in a new tab":"Otvoriť v novej záložke","Open link in new tab":"Otvoriť odkaz v novom okne",Orange:"Oranžová",Original:"Originál",Outset:"Vložená zvonku",Padding:"Vnútorný okraj",Paragraph:"Odsek","Paste raw HTML here...":"Sem vložte kód HTML...","Pink marker":"Ružový zvýrazňovač","Plain text":"Čistý text","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á","Red pen":"Červené pero",Redo:"Znova","Remove color":"Zrušiť farbu","Remove Format":"Vyčistiť formátovanie","Remove highlight":"Odstrániť zvýraznenie","Resize image":"Zmeniť veľkosť obrázka","Resize image to %0":"Zmeniť veľkosť na %0","Resize image to the original size":"Zmeniť veľkosť na pôvodnú","Restore default":"Obnoviť predvolené","Reversed order":"Obrátene poradie","Rich Text Editor":"Editor s formátovaním",Ridge:"Rámovaná","Right aligned image":"Zarovnať vpravo",Row:"Riadok",Save:"Uložiť","Save changes":"Uložiť zmeny","Saving changes":"Ukladám zmeny","Select all":"Označiť všetko","Select column":"Vybrať stĺpec","Select row":"Vybrať riadok","Show more items":"Zobraziť viac položiek","Side image":"Bočný obrázok",Small:"Malé",Solid:"Plná","Split cell horizontally":"Rozdeliť bunku vodorovne","Split cell vertically":"Rozdeliť bunku zvislo",Square:"Štvorec","Start at":"Prvá položka","Start index must be greater than 0.":"Prvá položka musí mať index väčší ako 0.",Strikethrough:"Preškrtnuté",Style:"Štýl",Subscript:"Dolný index",Superscript:"Horný index","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","Text alignment":"Zarovnanie textu","Text alignment toolbar":"Panel nástrojov zarovnania textu","Text alternative":"Alternatívny text","Text highlight toolbar":"Panel nástrojov zvýraznenia textu",'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".',"This link has no URL":"Tento odkaz nemá nastavenú URL adresu",Tiny:"Veľmi malé","To-do List":"To-do zoznam","Toggle caption off":"Vypnúť titulok","Toggle caption on":"Zapnúť titulok","Toggle the circle list style":"Prepnúť na zoznam s kruhovým označením","Toggle the decimal list style":"Prepnúť na číselný zoznam","Toggle the decimal with leading zero list style":"Prepnúť na číselný zoznam s nulou na začiatku","Toggle the disc list style":"Prepnúť na zoznam s označením plného kruhu","Toggle the lower–latin list style":"Prepnúť na zoznam s malými písmenami","Toggle the lower–roman list style":"Prepnúť na zoznam s malými rímskymi číslami","Toggle the square list style":"Prepnúť na zoznam so štvorcovým označením","Toggle the upper–latin list style":"Prepnúť na zoznam s veľkými písmenami","Toggle the upper–roman list style":"Prepnúť na zoznam s veľkými rímskymi číslami",Turquoise:"Tyrkysová","Type or paste your content here.":"Vložte obsah","Type your title":"Vložte nadpis",Underline:"Podčiarknuté",Undo:"Späť",Unlink:"Zrušiť odkaz",Update:"Aktualizovať","Update image URL":"Aktualizovať URL obrázka","Upload failed":"Nahrávanie zlyhalo","Upload in progress":"Prebieha nahrávanie","Upper-latin":"Veľké písmená","Upper-roman":"Veľké rímske čísla","Vertical text alignment toolbar":"Vertikálne zarovnanie textu v panely",White:"Biela","Widget toolbar":"Panel nástrojov ovládacieho prvku",Width:"Šírka","Wrap text":"Obtekanie textu",Yellow:"Žltá","Yellow marker":"Žltý zvýrazňovač"}),a.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
index 88c55646a252f876503ac396e866ad6a365da06f..053545a8980cc2af7c95086b5594b4e340ef666d 100644 (file)
@@ -1 +1 @@
-!function(a){const e=a.sl=a.sl||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"","Align center":"Sredinska poravnava","Align left":"Poravnava levo","Align right":"Poravnava desno",Aquamarine:"Akvamarin",Big:"Veliko",Black:"Črna","Block quote":"Blokiraj citat",Blue:"Modra","Blue marker":"Modra oznaka",Bold:"Krepko",Cancel:"Prekliči","Choose heading":"Izberi naslov",Code:"Koda",Default:"Privzeto","Dim grey":"Temno siva","Document colors":"Barve dokumenta","Dropdown toolbar":"","Edit block":"","Edit source":"Uredi izvorno kodo","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Empty snippet content":"","Font Background Color":"Barva ozadja pisave","Font Color":"Barva pisave","Font Family":"Vrsta oz. tip pisave","Font Size":"Velikost pisave",Green:"Zelena","Green marker":"Zelena oznaka","Green pen":"Zeleno pisalo",Grey:"Siva",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",Highlight:"Označi","Horizontal line":"Vodoravna črta","HTML snippet":"HTML izsek",Huge:"Ogromno","Insert HTML":"Vstavi HTML",Italic:"Poševno",Justify:"Postavi na sredino","Light blue":"Svetlo modra","Light green":"Svetlo zelena","Light grey":"Svetlo siva",Next:"","No preview available":"",Orange:"Oranžna",Paragraph:"Odstavek","Paste raw HTML here...":"Prilepi HTML kodo ...","Pink marker":"Rožnata oznaka",Previous:"",Purple:"Vijolična",Red:"Rdeča","Red pen":"Rdeče pisalo","Remove color":"Odstrani barvo","Remove highlight":"Odstrani oznako","Restore default":"","Rich Text Editor":"",Save:"Shrani","Save changes":"Shrani spremembe","Saving changes":"Shrani spremembe","Show more items":"",Small:"Majhna",Strikethrough:"Prečrtano",Subscript:"Naročnik",Superscript:"Nadpis","Text alignment":"Poravnava besedila","Text alignment toolbar":"Orodna vrstica besedila","Text highlight toolbar":"Orodna vrstica označevanja",Tiny:"Drobna",Turquoise:"Turkizna","Type or paste your content here.":"Vnesi ali prilepi vsebino","Type your title":"Vnesi naslov",Underline:"Podčrtaj",White:"Bela",Yellow:"Rumena","Yellow marker":"Rumena oznaka"}),e.getPluralForm=function(a){return a%100==1?0:a%100==2?1:a%100==3||a%100==4?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
+!function(e){const o=e.sl=e.sl||{};o.dictionary=Object.assign(o.dictionary||{},{"%0 of %1":"",Accept:"","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 center":"Sredinska poravnava","Align left":"Poravnava levo","Align right":"Poravnava desno","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"Akvamarin",Background:"",Big:"Veliko",Black:"Črna","Block quote":"Blokiraj citat",Blue:"Modra","Blue marker":"Modra oznaka",Bold:"Krepko",Border:"",Cancel:"Prekliči","Cell properties":"","Center table":"","Choose heading":"Izberi naslov",Code:"Koda",Color:"","Color picker":"",Column:"",Dashed:"",Default:"Privzeto","Delete column":"","Delete row":"","Dim grey":"Temno siva",Dimensions:"","Document colors":"Barve dokumenta",Dotted:"",Double:"","Dropdown toolbar":"","Edit block":"","Edit source":"Uredi izvorno kodo","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Empty snippet content":"","Enter table caption":"","Font Background Color":"Barva ozadja pisave","Font Color":"Barva pisave","Font Family":"Vrsta oz. tip pisave","Font Size":"Velikost pisave",Green:"Zelena","Green marker":"Zelena oznaka","Green pen":"Zeleno pisalo",Grey:"Siva",Groove:"","Header column":"","Header row":"",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",Height:"",HEX:"",Highlight:"Označi","Horizontal line":"Vodoravna črta","Horizontal text alignment toolbar":"","HTML snippet":"HTML izsek",Huge:"Ogromno","Insert column left":"","Insert column right":"","Insert HTML":"Vstavi HTML","Insert row above":"","Insert row below":"","Insert table":"Vstavi tabelo",Inset:"",Italic:"Poševno",Justify:"Postavi na sredino","Justify cell text":"","Light blue":"Svetlo modra","Light green":"Svetlo zelena","Light grey":"Svetlo siva","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"",Next:"","No preview available":"",None:"",Orange:"Oranžna",Outset:"",Padding:"",Paragraph:"Odstavek","Paste raw HTML here...":"Prilepi HTML kodo ...","Pink marker":"Rožnata oznaka",Previous:"",Purple:"Vijolična",Red:"Rdeča","Red pen":"Rdeče pisalo","Remove color":"Odstrani barvo","Remove highlight":"Odstrani oznako","Restore default":"","Rich Text Editor":"",Ridge:"",Row:"",Save:"Shrani","Save changes":"Shrani spremembe","Saving changes":"Shrani spremembe","Select column":"","Select row":"","Show more items":"",Small:"Majhna",Solid:"","Split cell horizontally":"","Split cell vertically":"",Strikethrough:"Prečrtano",Style:"",Subscript:"Naročnik",Superscript:"Nadpis","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Poravnava besedila","Text alignment toolbar":"Orodna vrstica besedila","Text highlight toolbar":"Orodna vrstica označevanja",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"",Tiny:"Drobna","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkizna","Type or paste your content here.":"Vnesi ali prilepi vsebino","Type your title":"Vnesi naslov",Underline:"Podčrtaj","Vertical text alignment toolbar":"",White:"Bela",Width:"",Yellow:"Rumena","Yellow marker":"Rumena oznaka"}),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
index 2458646008d484e4e26ed9d9026747c964ad87c8..e90ad64692ee678e6ac3a22256ff3ae06b59f8a5 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.sq=e.sq||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","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 center":"Radhit në mes","Align left":"Radhit majtas","Align right":"Radhit djathtas","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"I madh",Black:"","Block quote":"Thonjëzat",Blue:"","Blue marker":"Shënuesi kaltër",Bold:"Trash",Border:"","Break text":"","Bulleted List":"Listë me Pika","Bulleted list styles toolbar":"",Cancel:"Anulo","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Foto e vendosur në mes","Change image text alternative":"Ndrysho tekstin zgjedhor të fotos","Choose heading":"Përzgjidh nëntitullin",Circle:"",Code:"Kod",Color:"","Color picker":"",Column:"Kolona",Dashed:"",Decimal:"","Decimal with leading zero":"",Default:"Parazgjedhur","Delete column":"Gris kolonën","Delete row":"Grish rreshtin","Dim grey":"",Dimensions:"",Disc:"","Document colors":"",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"Redakto nyjën","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Shto përshkrimin e fotos","Enter table caption":"","Font Background Color":"","Font Color":"","Font Family":"Familja e fontit","Font Size":"Madhësia tekstit","Full size image":"Foto me madhësi të plotë",Green:"","Green marker":"Shënuesi gjelbër","Green pen":"Lapsi gjelbër",Grey:"",Groove:"","Header column":"Kolona e kokës","Header row":"Rreshti i kokës",Heading:"Nëntitulli","Heading 1":"Nëntitulli 1","Heading 2":"Nëntitulli 2","Heading 3":"Nëntitulli 3","Heading 4":"","Heading 5":"","Heading 6":"",Height:"",Highlight:"Ngjyrimi","Horizontal text alignment toolbar":"",Huge:"I stërmadh","Image resize list":"","Image toolbar":"","image widget":"Vegla e fotos","In line":"",Insert:"","Insert column left":"","Insert column right":"","Insert image":"Shto Foto","Insert image via URL":"","Insert row above":"Shto rresht sipër","Insert row below":"Shto rresht poshtë","Insert table":"Shto tabelë",Inset:"",Italic:"Pjerrtë",Justify:"Plotësim","Justify cell text":"","Left aligned image":"Foto e vendosur majtas","Light blue":"","Light green":"","Light grey":"",Link:"Shto nyjën","Link image":"","Link URL":"Nyja e URL-së","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"",None:"","Numbered List":"Listë me Numra","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"Hap nyjën në faqe të re",Orange:"",Original:"",Outset:"",Padding:"",Paragraph:"Paragrafi","Pink marker":"Shënuesi rozë",Previous:"",Purple:"",Red:"","Red pen":"Lapsi kuq",Redo:"Ribëj","Remove color":"","Remove highlight":"Largo ngjyrimet","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Redaktues i Tekstit të Pasur",Ridge:"","Right aligned image":"Foto e vendosur djathtas",Row:"Rreshti",Save:"Ruaj","Saving changes":"Duke ruajtur ndryshimet","Select column":"","Select row":"","Show more items":"","Side image":"Foto anësore",Small:"I vogël",Solid:"","Split cell horizontally":"Ndaj kutizat horizontalisht","Split cell vertically":"Ndajë kutizat vertikalisht",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Vi në mes",Style:"",Subscript:"",Superscript:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Radhitja e tekstit","Text alignment toolbar":"","Text alternative":"Teksti zgjedhor","Text highlight 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".':"","This link has no URL":"Kjo nyje nuk ka URL",Tiny:"I vocërr","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Nënvizuar",Undo:"Rikthe",Unlink:"Largo nyjën",Update:"","Update image URL":"","Upload failed":"Ngarkimi dështoi","Upload in progress":"Duke ngarkuar","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"",Width:"","Wrap text":"",Yellow:"","Yellow marker":"Shënuesi 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||{},{"%0 of %1":"",Accept:"","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 center":"Radhit në mes","Align left":"Radhit majtas","Align right":"Radhit djathtas","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"I madh",Black:"","Block quote":"Thonjëzat",Blue:"","Blue marker":"Shënuesi kaltër",Bold:"Trash",Border:"","Break text":"","Bulleted List":"Listë me Pika","Bulleted list styles toolbar":"",Cancel:"Anulo","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"Foto e vendosur në mes","Change image text alternative":"Ndrysho tekstin zgjedhor të fotos","Choose heading":"Përzgjidh nëntitullin",Circle:"",Code:"Kod",Color:"","Color picker":"",Column:"Kolona",Dashed:"",Decimal:"","Decimal with leading zero":"",Default:"Parazgjedhur","Delete column":"Gris kolonën","Delete row":"Grish rreshtin","Dim grey":"",Dimensions:"",Disc:"","Document colors":"",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"Redakto nyjën","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Shto përshkrimin e fotos","Enter table caption":"","Font Background Color":"","Font Color":"","Font Family":"Familja e fontit","Font Size":"Madhësia tekstit","Full size image":"Foto me madhësi të plotë",Green:"","Green marker":"Shënuesi gjelbër","Green pen":"Lapsi gjelbër",Grey:"",Groove:"","Header column":"Kolona e kokës","Header row":"Rreshti i kokës",Heading:"Nëntitulli","Heading 1":"Nëntitulli 1","Heading 2":"Nëntitulli 2","Heading 3":"Nëntitulli 3","Heading 4":"","Heading 5":"","Heading 6":"",Height:"",HEX:"",Highlight:"Ngjyrimi","Horizontal text alignment toolbar":"",Huge:"I stërmadh","Image resize list":"","Image toolbar":"","image widget":"Vegla e fotos","In line":"",Insert:"","Insert column left":"","Insert column right":"","Insert image":"Shto Foto","Insert image via URL":"","Insert row above":"Shto rresht sipër","Insert row below":"Shto rresht poshtë","Insert table":"Shto tabelë",Inset:"",Italic:"Pjerrtë",Justify:"Plotësim","Justify cell text":"","Left aligned image":"Foto e vendosur majtas","Light blue":"","Light green":"","Light grey":"",Link:"Shto nyjën","Link image":"","Link URL":"Nyja e URL-së","List properties":"","Lower-latin":"","Lower–roman":"","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",Next:"",None:"","Numbered List":"Listë me Numra","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"Hap nyjën në faqe të re",Orange:"",Original:"",Outset:"",Padding:"",Paragraph:"Paragrafi","Pink marker":"Shënuesi rozë",Previous:"",Purple:"",Red:"","Red pen":"Lapsi kuq",Redo:"Ribëj","Remove color":"","Remove highlight":"Largo ngjyrimet","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Redaktues i Tekstit të Pasur",Ridge:"","Right aligned image":"Foto e vendosur djathtas",Row:"Rreshti",Save:"Ruaj","Saving changes":"Duke ruajtur ndryshimet","Select column":"","Select row":"","Show more items":"","Side image":"Foto anësore",Small:"I vogël",Solid:"","Split cell horizontally":"Ndaj kutizat horizontalisht","Split cell vertically":"Ndajë kutizat vertikalisht",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Vi në mes",Style:"",Subscript:"",Superscript:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Radhitja e tekstit","Text alignment toolbar":"","Text alternative":"Teksti zgjedhor","Text highlight 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".':"","This link has no URL":"Kjo nyje nuk ka URL",Tiny:"I vocërr","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Nënvizuar",Undo:"Rikthe",Unlink:"Largo nyjën",Update:"","Update image URL":"","Upload failed":"Ngarkimi dështoi","Upload in progress":"Duke ngarkuar","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"",Width:"","Wrap text":"",Yellow:"","Yellow marker":"Shënuesi verdh"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 73eda6c89c775553c6123a96a3e85b760a6ec073..f4c72fcd255831a8e32650b913939b7e7c7af64f 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 of %1","Align cell text to the bottom":"Poravnajte tekst ćelije prema dole","Align cell text to the center":"Poravnajte tekst ćelije u sredinu","Align cell text to the left":"Poravnajte tekst ćelije levo","Align cell text to the middle":"Poravnajte tekst ćelije u sredinu","Align cell text to the right":"Poravnajte tekst ćelije desno","Align cell text to the top":"Poravnajte tekst ćelije prema gore","Align center":"Centralno ravnanje","Align left":"Levo ravnanje","Align right":"Desno ravnanje","Align table to the left":"Poravnajte tabelu na levu stranu","Align table to the right":"Poravnajte tabelu na desnu stranu",Alignment:"Poravnanje",Aquamarine:"Zelenkastoplava",Background:"Pozadina",Big:"Veliko",Black:"Crna","Block quote":"Citat",Blue:"Plava","Blue marker":"Plavi marker",Bold:"Podebljano",Border:"Granica","Break text":"Prelom teksta","Bulleted List":"Nabrajane liste","Bulleted list styles toolbar":"Traka sa alatkama za nabrajane liste",Cancel:"Odustani","Caption for image: %0":"Natpis za sliku:%0","Caption for the image":"Natpis za sliku","Cell properties":"Svojstva ćelije","Center table":"Centar tabele","Centered image":"Slika u sredini","Change image text alternative":"Izmena alternativnog teksta","Choose heading":"Odredi stil",Circle:"Krug",Code:"Kod",Color:"Boja","Color picker":"Birač boja",Column:"Kolona",Dashed:"Razbijeno",Decimal:"Decimala","Decimal with leading zero":"Decimalni broj sa nulom na početku","Decrease indent":"Smanji uvlačenje",Default:"Оsnovni","Delete column":"Briši kolonu","Delete row":"Briši red","Dim grey":"Bledo siva",Dimensions:"Dimenzija",Disc:"Disk","Document colors":"Boje dokumenta",Dotted:"Sa tačkama",Double:"Dvostruki",Downloadable:"Moguće preuzimanje","Dropdown toolbar":"Padajuća traka sa alatkama","Edit block":"Blok uređivač","Edit link":"Ispravi link","Edit source":"Uredi izvor","Editor block content toolbar":"Traka sa alatkama za blokiranje sadržaja uređivača","Editor contextual toolbar":"Kontekstualna traka sa alatkama Editor","Editor editing area: %0":"Oblast za uređivanje urednika: %0","Editor toolbar":"Uređivač traka sa alatkama","Empty snippet content":"Sadržaj praznog isečka","Enter image caption":"Odredi tekst ispod slike","Enter table caption":"Unesite naslov tabele","Font Background Color":"Boja pozadine slova","Font Color":"Boja slova","Font Family":"Font","Font Size":"Veličina fonta","Full size image":"Slika u punoj veličini",Green:"Zelena","Green marker":"Zeleni marker","Green pen":"Zelena olovka",Grey:"Siva",Groove:"Kolosek","Header column":"Kolona za zaglavlje","Header row":"Red za zaglavlje",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",Height:"Visina",Highlight:"Isticanje","Horizontal line":"Horizontalna razdelna linija","Horizontal text alignment toolbar":"Horizontalna traka sa alatkama za  poravnavanje teksta","HTML snippet":"HTML deo",Huge:"Ogromno","Image resize list":"Lista veličine slike","Image toolbar":"Slika traka sa alatkama","image widget":"modul sa slikom","In line":"U redu","Increase indent":"Povećaj uclačenje",Insert:"Ubaci","Insert code block":"Dodaj blok koda","Insert column left":"Dodaj kolonu levo","Insert column right":"Dodaj kolonu desno","Insert HTML":"Umetni HTML","Insert image":"Dodaj sliku","Insert image via URL":"Ubaci sliku preko URL-a","Insert paragraph after block":"Уметните одломак после блока","Insert paragraph before block":"Уметните одломак пре блока","Insert row above":"Dodaj red iznad","Insert row below":"Dodaj red ispod","Insert table":"Dodaj tabelu",Inset:"Prilog",Italic:"Kurziv",Justify:"Obostrano ravnanje","Justify cell text":"Opravdajte tekst ćelije","Left aligned image":"Leva slika","Light blue":"Svetloplava","Light green":"Svetlo zelena","Light grey":"Svetlo siva",Link:"Link","Link image":"Link slike","Link URL":"URL link","List properties":"Navedite svojstva","Lower-latin":"Donji - latinski","Lower–roman":"Donji - rimski","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",Next:"Sledeći","No preview available":"Prikaz nije dostupan",None:"Nijedan","Numbered List":"Lista sa brojevima","Numbered list styles toolbar":"Traka sa altakama za liste sa brojevima","Open in a new tab":"Otvori u novoj kartici","Open link in new tab":"Otvori link u novom prozoru",Orange:"Narandžasta",Original:"Original",Outset:"Početak",Padding:"Postavljanje",Paragraph:"Pasus","Paste raw HTML here...":"Ovde nalepite HTML ...","Pink marker":"Roza marker","Plain text":"Običan tekst","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","Red pen":"Crvena olovka",Redo:"Ponovo","Remove color":"Otkloni boju","Remove Format":"Ukloni formatiranje","Remove highlight":"Ukloni isticanje","Resize image":"Promenite veličinu slike","Resize image to %0":"Promenite veličinu slike na% 0","Resize image to the original size":"Promenite veličinu slike do originalne veličine","Restore default":"Vrati podrazumevano","Reversed order":"Obrnuti redosled","Rich Text Editor":"Prošireni uređivač teksta",Ridge:"Greben","Right aligned image":"Desna slika",Row:"Red",Save:"Sačuvaj","Save changes":"Sačuvaj promene","Saving changes":"Sačuvaj izmene","Select all":"Označi sve","Select column":"Odaberi kolonu","Select row":"Odaberi red","Show more items":"Prikaži još stavki","Side image":"Bočna slika",Small:"Malo",Solid:"Čvrst","Split cell horizontally":"Deli ćelije vodoravno","Split cell vertically":"Deli ćelije uspravno",Square:"Kvadrat","Start at":"Početi u","Start index must be greater than 0.":"Početni indeks mora biti veći od 0.",Strikethrough:"Precrtan",Style:"Stil",Subscript:"Index dole",Superscript:"Index gore","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","Text alignment":"Ravnanje teksta","Text alignment toolbar":"Alatke za ravnanje teksta","Text alternative":"Alternativni tekst","Text highlight toolbar":"Alatke za markiranje teksta",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Boja je nevažeć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žeća. Pokušajte sa „10pk“ ili „2em“ ili jednostavno „2“.","This link has no URL":"Link ne sadrži URL",Tiny:"Sitno","To-do List":"Lista obaveza","Toggle caption off":"Isključivanje natpisa","Toggle caption on":"Uključite naslov","Toggle the circle list style":"Uključite / isključite stil liste krugova","Toggle the decimal list style":"Uključi / isključi stil dekadne liste","Toggle the decimal with leading zero list style":"Prebaci decimalni znak sa vodećim stilom liste nula","Toggle the disc list style":"Uključite / isključite stil liste diskova","Toggle the lower–latin list style":"Uključite / isključite stil donje liste latinice","Toggle the lower–roman list style":"Uključite / isključite stil donje rimske liste","Toggle the square list style":"Uključite / isključite stil liste kvadrata","Toggle the upper–latin list style":"Uključite / isključite stil gornje liste latinice","Toggle the upper–roman list style":"Uključite / isključite stil gornje rimske liste",Turquoise:"Tirkizna","Type or paste your content here.":"Upišite ili nalepite naslov","Type your title":"Odredite naslov",Underline:"Podvučen",Undo:"Povlačenje",Unlink:"Оtkloni link",Update:"Ažuriraj","Update image URL":"Ažuriraj URL slike","Upload failed":"Postavljanje neuspešno","Upload in progress":"Postavljanje u toku","Upper-latin":"Gornji - latinski","Upper-roman":"Gornji - rimski","Vertical text alignment toolbar":"Vertikalna traka sa alatkama za poravnavanje teksta",White:"Bela","Widget toolbar":"Видгет трака са алаткама",Width:"Širina","Wrap text":"Prelomiti tekst",Yellow:"Žuta","Yellow marker":"Žuti marker"}),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||{},{"%0 of %1":"%0 of %1",Accept:"","Align cell text to the bottom":"Poravnajte tekst ćelije prema dole","Align cell text to the center":"Poravnajte tekst ćelije u sredinu","Align cell text to the left":"Poravnajte tekst ćelije levo","Align cell text to the middle":"Poravnajte tekst ćelije u sredinu","Align cell text to the right":"Poravnajte tekst ćelije desno","Align cell text to the top":"Poravnajte tekst ćelije prema gore","Align center":"Centralno ravnanje","Align left":"Levo ravnanje","Align right":"Desno ravnanje","Align table to the left":"Poravnajte tabelu na levu stranu","Align table to the right":"Poravnajte tabelu na desnu stranu",Alignment:"Poravnanje",Aquamarine:"Zelenkastoplava",Background:"Pozadina",Big:"Veliko",Black:"Crna","Block quote":"Citat",Blue:"Plava","Blue marker":"Plavi marker",Bold:"Podebljano",Border:"Granica","Break text":"Prelom teksta","Bulleted List":"Nabrajane liste","Bulleted list styles toolbar":"Traka sa alatkama za nabrajane liste",Cancel:"Odustani","Caption for image: %0":"Natpis za sliku:%0","Caption for the image":"Natpis za sliku","Cell properties":"Svojstva ćelije","Center table":"Centar tabele","Centered image":"Slika u sredini","Change image text alternative":"Izmena alternativnog teksta","Choose heading":"Odredi stil",Circle:"Krug",Code:"Kod",Color:"Boja","Color picker":"Birač boja",Column:"Kolona",Dashed:"Razbijeno",Decimal:"Decimala","Decimal with leading zero":"Decimalni broj sa nulom na početku","Decrease indent":"Smanji uvlačenje",Default:"Оsnovni","Delete column":"Briši kolonu","Delete row":"Briši red","Dim grey":"Bledo siva",Dimensions:"Dimenzija",Disc:"Disk","Document colors":"Boje dokumenta",Dotted:"Sa tačkama",Double:"Dvostruki",Downloadable:"Moguće preuzimanje","Dropdown toolbar":"Padajuća traka sa alatkama","Edit block":"Blok uređivač","Edit link":"Ispravi link","Edit source":"Uredi izvor","Editor block content toolbar":"Traka sa alatkama za blokiranje sadržaja uređivača","Editor contextual toolbar":"Kontekstualna traka sa alatkama Editor","Editor editing area: %0":"Oblast za uređivanje urednika: %0","Editor toolbar":"Uređivač traka sa alatkama","Empty snippet content":"Sadržaj praznog isečka","Enter image caption":"Odredi tekst ispod slike","Enter table caption":"Unesite naslov tabele","Font Background Color":"Boja pozadine slova","Font Color":"Boja slova","Font Family":"Font","Font Size":"Veličina fonta","Full size image":"Slika u punoj veličini",Green:"Zelena","Green marker":"Zeleni marker","Green pen":"Zelena olovka",Grey:"Siva",Groove:"Kolosek","Header column":"Kolona za zaglavlje","Header row":"Red za zaglavlje",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",Height:"Visina",HEX:"",Highlight:"Isticanje","Horizontal line":"Horizontalna razdelna linija","Horizontal text alignment toolbar":"Horizontalna traka sa alatkama za  poravnavanje teksta","HTML snippet":"HTML deo",Huge:"Ogromno","Image resize list":"Lista veličine slike","Image toolbar":"Slika traka sa alatkama","image widget":"modul sa slikom","In line":"U redu","Increase indent":"Povećaj uclačenje",Insert:"Ubaci","Insert code block":"Dodaj blok koda","Insert column left":"Dodaj kolonu levo","Insert column right":"Dodaj kolonu desno","Insert HTML":"Umetni HTML","Insert image":"Dodaj sliku","Insert image via URL":"Ubaci sliku preko URL-a","Insert paragraph after block":"Уметните одломак после блока","Insert paragraph before block":"Уметните одломак пре блока","Insert row above":"Dodaj red iznad","Insert row below":"Dodaj red ispod","Insert table":"Dodaj tabelu",Inset:"Prilog",Italic:"Kurziv",Justify:"Obostrano ravnanje","Justify cell text":"Opravdajte tekst ćelije","Left aligned image":"Leva slika","Light blue":"Svetloplava","Light green":"Svetlo zelena","Light grey":"Svetlo siva",Link:"Link","Link image":"Link slike","Link URL":"URL link","List properties":"Navedite svojstva","Lower-latin":"Donji - latinski","Lower–roman":"Donji - rimski","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",Next:"Sledeći","No preview available":"Prikaz nije dostupan",None:"Nijedan","Numbered List":"Lista sa brojevima","Numbered list styles toolbar":"Traka sa altakama za liste sa brojevima","Open in a new tab":"Otvori u novoj kartici","Open link in new tab":"Otvori link u novom prozoru",Orange:"Narandžasta",Original:"Original",Outset:"Početak",Padding:"Postavljanje",Paragraph:"Pasus","Paste raw HTML here...":"Ovde nalepite HTML ...","Pink marker":"Roza marker","Plain text":"Običan tekst","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","Red pen":"Crvena olovka",Redo:"Ponovo","Remove color":"Otkloni boju","Remove Format":"Ukloni formatiranje","Remove highlight":"Ukloni isticanje","Resize image":"Promenite veličinu slike","Resize image to %0":"Promenite veličinu slike na% 0","Resize image to the original size":"Promenite veličinu slike do originalne veličine","Restore default":"Vrati podrazumevano","Reversed order":"Obrnuti redosled","Rich Text Editor":"Prošireni uređivač teksta",Ridge:"Greben","Right aligned image":"Desna slika",Row:"Red",Save:"Sačuvaj","Save changes":"Sačuvaj promene","Saving changes":"Sačuvaj izmene","Select all":"Označi sve","Select column":"Odaberi kolonu","Select row":"Odaberi red","Show more items":"Prikaži još stavki","Side image":"Bočna slika",Small:"Malo",Solid:"Čvrst","Split cell horizontally":"Deli ćelije vodoravno","Split cell vertically":"Deli ćelije uspravno",Square:"Kvadrat","Start at":"Početi u","Start index must be greater than 0.":"Početni indeks mora biti veći od 0.",Strikethrough:"Precrtan",Style:"Stil",Subscript:"Index dole",Superscript:"Index gore","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","Text alignment":"Ravnanje teksta","Text alignment toolbar":"Alatke za ravnanje teksta","Text alternative":"Alternativni tekst","Text highlight toolbar":"Alatke za markiranje teksta",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Boja je nevažeć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žeća. Pokušajte sa „10pk“ ili „2em“ ili jednostavno „2“.","This link has no URL":"Link ne sadrži URL",Tiny:"Sitno","To-do List":"Lista obaveza","Toggle caption off":"Isključivanje natpisa","Toggle caption on":"Uključite naslov","Toggle the circle list style":"Uključite / isključite stil liste krugova","Toggle the decimal list style":"Uključi / isključi stil dekadne liste","Toggle the decimal with leading zero list style":"Prebaci decimalni znak sa vodećim stilom liste nula","Toggle the disc list style":"Uključite / isključite stil liste diskova","Toggle the lower–latin list style":"Uključite / isključite stil donje liste latinice","Toggle the lower–roman list style":"Uključite / isključite stil donje rimske liste","Toggle the square list style":"Uključite / isključite stil liste kvadrata","Toggle the upper–latin list style":"Uključite / isključite stil gornje liste latinice","Toggle the upper–roman list style":"Uključite / isključite stil gornje rimske liste",Turquoise:"Tirkizna","Type or paste your content here.":"Upišite ili nalepite naslov","Type your title":"Odredite naslov",Underline:"Podvučen",Undo:"Povlačenje",Unlink:"Оtkloni link",Update:"Ažuriraj","Update image URL":"Ažuriraj URL slike","Upload failed":"Postavljanje neuspešno","Upload in progress":"Postavljanje u toku","Upper-latin":"Gornji - latinski","Upper-roman":"Gornji - rimski","Vertical text alignment toolbar":"Vertikalna traka sa alatkama za poravnavanje teksta",White:"Bela","Widget toolbar":"Видгет трака са алаткама",Width:"Širina","Wrap text":"Prelomiti tekst",Yellow:"Žuta","Yellow marker":"Žuti marker"}),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
index f756b637a2840607523804ce2744a717adfd4893..56c57b722437a1e8c581e125c916e34132699989 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.sr=e.sr||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1","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 center":"Централно равнанје","Align left":"Лево равнање","Align right":"Десно равнање","Align table to the left":"Поравнајте табелу на леву страну","Align table to the right":"Поравнајте табелу на десну страну",Alignment:"Поравнање",Aquamarine:"Зеленкастоплава",Background:"Позадина",Big:"Велико",Black:"Црна","Block quote":"Цитат",Blue:"Плава","Blue marker":"Плави маркер",Bold:"Подебљано",Border:"Граница","Break text":"Прелом текста","Bulleted List":"Набрајане листе","Bulleted list styles toolbar":"Трака са алаткама за набрајане листе",Cancel:"Одустани","Caption for image: %0":"Натпис за слику: %0","Caption for the image":"Натпис за слику","Cell properties":"Својства ћелије","Center table":"Центар табеле","Centered image":"Слика у средини","Change image text alternative":"Измена алтернативног текста","Choose heading":"Одреди стил",Circle:"Круг",Code:"Код",Color:"Боја","Color picker":"Бирач боја",Column:"Колона",Dashed:"Разбијено",Decimal:"Децимала","Decimal with leading zero":"Децимала са нулом на почетку","Decrease indent":"Смањи увлачење",Default:"Основни","Delete column":"Бриши колону","Delete row":"Бриши ред","Dim grey":"Бледо сива",Dimensions:"Димензија",Disc:"Диск","Document colors":"Боје документа",Dotted:"Са тачкама",Double:"Двоструко",Downloadable:"Могуће преузимање","Dropdown toolbar":"Падајућа трака са алаткама","Edit block":"Блок уређивач","Edit link":"Исправи линк","Edit source":"Уреди извор","Editor block content toolbar":"Трака са алаткама за блокирање садржаја уређивача","Editor contextual toolbar":"Контекстуална трака са алаткама Едитор","Editor editing area: %0":"Област за уређивање уредника: %0","Editor toolbar":"Уређивач трака са алаткама","Empty snippet content":"Садрћај празног исечка","Enter image caption":"Одреди текст испод слике","Enter table caption":"Унесите наслов табеле ","Font Background Color":"Боја позадине слова","Font Color":"Боја слова","Font Family":"Фонт","Font Size":"Величина фонта","Full size image":"Слика у пуној величини",Green:"Зелена","Green marker":"Зелени маркер","Green pen":"Зелена оловка",Grey:"Сива",Groove:"Колосек","Header column":"Колона за заглавље","Header row":"Ред за заглавлје",Heading:"Стилови","Heading 1":"Наслов 1","Heading 2":"Наслов 2","Heading 3":"Наслов 3","Heading 4":"Наслов 4","Heading 5":"Наслов 5","Heading 6":"Наслов 6",Height:"Висина",Highlight:"Истицање","Horizontal line":"Хоризонтална разделна линија","Horizontal text alignment toolbar":"Хоризонтална трака са алаткама за поравнање текста","HTML snippet":"ХТМЛ део",Huge:"Огромно","Image resize list":"Листа величине слике","Image toolbar":"Слика трака са алтакама","image widget":"модул са сликом","In line":"У реду","Increase indent":"Повећај увлачење",Insert:"Убаци","Insert code block":"Додај блок кода","Insert column left":"Додај колону лево","Insert column right":"Додај колону десно","Insert HTML":"Уметни ХТМЛ","Insert image":"Додај слику","Insert image via URL":"Убаци слику преко УРЛ-а","Insert paragraph after block":"Umetnite odlomak posle bloka","Insert paragraph before block":"Umetnite odlomak pre bloka","Insert row above":"Додај ред изнад","Insert row below":"Додај ред испод","Insert table":"Додај табелу",Inset:"Прилог",Italic:"Курзив",Justify:"Обострано равнање","Justify cell text":"Оправдајте текст ћелије","Left aligned image":"Лева слика","Light blue":"Светлоплава","Light green":"Светлозелена","Light grey":"Светло сива",Link:"Линк","Link image":"Линк слике","Link URL":"УРЛ линк","List properties":"Наведите својства ","Lower-latin":"Доњи - латински","Lower–roman":"Доњи - римски","Merge cell down":"Спој ћелије на доле","Merge cell left":"Cпој ћелије на лево","Merge cell right":"Спој ћелије на десно","Merge cell up":"Спој ћелије на горе","Merge cells":"Спој ћелије",Next:"Следећи","No preview available":"Приказ није доступан",None:"Ниједан","Numbered List":"Листа са бројевима","Numbered list styles toolbar":"Трака са алаткама за листе са бројевима","Open in a new tab":"Отвори у новој картици","Open link in new tab":"Отвори линк у новом прозору",Orange:"Нараџаста",Original:"Оригинал",Outset:"Почетак",Padding:"Постављање",Paragraph:"Пасус","Paste raw HTML here...":"Овде налепите ХТМЛ","Pink marker":"Роза маркер","Plain text":"Обичан текст","Press Enter to type after or press Shift + Enter to type before the widget":"Притисните Ентер да куцате после или притисните Схифт + Ентер да куцате пре виџета",Previous:"Претходни",Purple:"Љубичаста",Red:"Црвена","Red pen":"Црвена оловка",Redo:"Поново","Remove color":"Отклони боју","Remove Format":"Уклони форматирање","Remove highlight":"Уклони истицање","Resize image":"Промените величину слике","Resize image to %0":"Промените величину слике на% 0","Resize image to the original size":"Промените величину слике до оригиналне величине","Restore default":"Врати подразумевано","Reversed order":"Обрнути редослед ","Rich Text Editor":"Проширен уређивач текста",Ridge:"Гребен","Right aligned image":"Десна слика",Row:"Ред",Save:"Сачувај","Save changes":"Сачувај измене","Saving changes":"Сачувај измене","Select all":"Означи све.","Select column":"Изабери колону","Select row":"Изабери ред","Show more items":"Прикажи још ставки","Side image":"Бочна слика",Small:"Мало",Solid:"Чврст","Split cell horizontally":"Дели ћелије водоравно","Split cell vertically":"Дели ћелије усправно",Square:"Квадрат","Start at":"Почети у","Start index must be greater than 0.":"Почетни индекс мора бити већи од 0. ",Strikethrough:"Прецртан",Style:"Стил",Subscript:"Индекс доле",Superscript:"Индекс горе","Table alignment toolbar":"Трака са алаткама за поравнање табеле","Table cell text alignment":"Поравнај тексту табели","Table properties":"Својства табеле","Table toolbar":"Табела трака са алаткама","Text alignment":"Равнање текста","Text alignment toolbar":"Алатке за равнање текста","Text alternative":"Алтернативни текст","Text highlight 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".',"This link has no URL":"Линк не садржи УРЛ",Tiny:"Ситно","To-do List":"Листа обавеза","Toggle caption off":"Искључивање натписа ","Toggle caption on":"Укључите наслов ","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":"Укључите / искључите стил горње римске листе",Turquoise:"Тиркизна","Type or paste your content here.":"Упишите или налепите наслов","Type your title":"Одредите наслов",Underline:"Подвучен",Undo:"Повлачење",Unlink:"Отклони линк",Update:"Ажурирај","Update image URL":"Ажурирај УРЛ слике","Upload failed":"Постављање неуспешно","Upload in progress":"Постављање у току","Upper-latin":"Горњи - латински","Upper-roman":"Горњи - римски","Vertical text alignment toolbar":"Вертикална трака са алаткама за поравнање текста",White:"Бела","Widget toolbar":"Widget traka sa alatkama",Width:"Ширина","Wrap text":"Преломити текст",Yellow:"Жута","Yellow marker":"Жути маркер"}),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.sr=e.sr||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1",Accept:"","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 center":"Централно равнанје","Align left":"Лево равнање","Align right":"Десно равнање","Align table to the left":"Поравнајте табелу на леву страну","Align table to the right":"Поравнајте табелу на десну страну",Alignment:"Поравнање",Aquamarine:"Зеленкастоплава",Background:"Позадина",Big:"Велико",Black:"Црна","Block quote":"Цитат",Blue:"Плава","Blue marker":"Плави маркер",Bold:"Подебљано",Border:"Граница","Break text":"Прелом текста","Bulleted List":"Набрајане листе","Bulleted list styles toolbar":"Трака са алаткама за набрајане листе",Cancel:"Одустани","Caption for image: %0":"Натпис за слику: %0","Caption for the image":"Натпис за слику","Cell properties":"Својства ћелије","Center table":"Центар табеле","Centered image":"Слика у средини","Change image text alternative":"Измена алтернативног текста","Choose heading":"Одреди стил",Circle:"Круг",Code:"Код",Color:"Боја","Color picker":"Бирач боја",Column:"Колона",Dashed:"Разбијено",Decimal:"Децимала","Decimal with leading zero":"Децимала са нулом на почетку","Decrease indent":"Смањи увлачење",Default:"Основни","Delete column":"Бриши колону","Delete row":"Бриши ред","Dim grey":"Бледо сива",Dimensions:"Димензија",Disc:"Диск","Document colors":"Боје документа",Dotted:"Са тачкама",Double:"Двоструко",Downloadable:"Могуће преузимање","Dropdown toolbar":"Падајућа трака са алаткама","Edit block":"Блок уређивач","Edit link":"Исправи линк","Edit source":"Уреди извор","Editor block content toolbar":"Трака са алаткама за блокирање садржаја уређивача","Editor contextual toolbar":"Контекстуална трака са алаткама Едитор","Editor editing area: %0":"Област за уређивање уредника: %0","Editor toolbar":"Уређивач трака са алаткама","Empty snippet content":"Садрћај празног исечка","Enter image caption":"Одреди текст испод слике","Enter table caption":"Унесите наслов табеле ","Font Background Color":"Боја позадине слова","Font Color":"Боја слова","Font Family":"Фонт","Font Size":"Величина фонта","Full size image":"Слика у пуној величини",Green:"Зелена","Green marker":"Зелени маркер","Green pen":"Зелена оловка",Grey:"Сива",Groove:"Колосек","Header column":"Колона за заглавље","Header row":"Ред за заглавлје",Heading:"Стилови","Heading 1":"Наслов 1","Heading 2":"Наслов 2","Heading 3":"Наслов 3","Heading 4":"Наслов 4","Heading 5":"Наслов 5","Heading 6":"Наслов 6",Height:"Висина",HEX:"",Highlight:"Истицање","Horizontal line":"Хоризонтална разделна линија","Horizontal text alignment toolbar":"Хоризонтална трака са алаткама за поравнање текста","HTML snippet":"ХТМЛ део",Huge:"Огромно","Image resize list":"Листа величине слике","Image toolbar":"Слика трака са алтакама","image widget":"модул са сликом","In line":"У реду","Increase indent":"Повећај увлачење",Insert:"Убаци","Insert code block":"Додај блок кода","Insert column left":"Додај колону лево","Insert column right":"Додај колону десно","Insert HTML":"Уметни ХТМЛ","Insert image":"Додај слику","Insert image via URL":"Убаци слику преко УРЛ-а","Insert paragraph after block":"Umetnite odlomak posle bloka","Insert paragraph before block":"Umetnite odlomak pre bloka","Insert row above":"Додај ред изнад","Insert row below":"Додај ред испод","Insert table":"Додај табелу",Inset:"Прилог",Italic:"Курзив",Justify:"Обострано равнање","Justify cell text":"Оправдајте текст ћелије","Left aligned image":"Лева слика","Light blue":"Светлоплава","Light green":"Светлозелена","Light grey":"Светло сива",Link:"Линк","Link image":"Линк слике","Link URL":"УРЛ линк","List properties":"Наведите својства ","Lower-latin":"Доњи - латински","Lower–roman":"Доњи - римски","Merge cell down":"Спој ћелије на доле","Merge cell left":"Cпој ћелије на лево","Merge cell right":"Спој ћелије на десно","Merge cell up":"Спој ћелије на горе","Merge cells":"Спој ћелије",Next:"Следећи","No preview available":"Приказ није доступан",None:"Ниједан","Numbered List":"Листа са бројевима","Numbered list styles toolbar":"Трака са алаткама за листе са бројевима","Open in a new tab":"Отвори у новој картици","Open link in new tab":"Отвори линк у новом прозору",Orange:"Нараџаста",Original:"Оригинал",Outset:"Почетак",Padding:"Постављање",Paragraph:"Пасус","Paste raw HTML here...":"Овде налепите ХТМЛ","Pink marker":"Роза маркер","Plain text":"Обичан текст","Press Enter to type after or press Shift + Enter to type before the widget":"Притисните Ентер да куцате после или притисните Схифт + Ентер да куцате пре виџета",Previous:"Претходни",Purple:"Љубичаста",Red:"Црвена","Red pen":"Црвена оловка",Redo:"Поново","Remove color":"Отклони боју","Remove Format":"Уклони форматирање","Remove highlight":"Уклони истицање","Resize image":"Промените величину слике","Resize image to %0":"Промените величину слике на% 0","Resize image to the original size":"Промените величину слике до оригиналне величине","Restore default":"Врати подразумевано","Reversed order":"Обрнути редослед ","Rich Text Editor":"Проширен уређивач текста",Ridge:"Гребен","Right aligned image":"Десна слика",Row:"Ред",Save:"Сачувај","Save changes":"Сачувај измене","Saving changes":"Сачувај измене","Select all":"Означи све.","Select column":"Изабери колону","Select row":"Изабери ред","Show more items":"Прикажи још ставки","Side image":"Бочна слика",Small:"Мало",Solid:"Чврст","Split cell horizontally":"Дели ћелије водоравно","Split cell vertically":"Дели ћелије усправно",Square:"Квадрат","Start at":"Почети у","Start index must be greater than 0.":"Почетни индекс мора бити већи од 0. ",Strikethrough:"Прецртан",Style:"Стил",Subscript:"Индекс доле",Superscript:"Индекс горе","Table alignment toolbar":"Трака са алаткама за поравнање табеле","Table cell text alignment":"Поравнај тексту табели","Table properties":"Својства табеле","Table toolbar":"Табела трака са алаткама","Text alignment":"Равнање текста","Text alignment toolbar":"Алатке за равнање текста","Text alternative":"Алтернативни текст","Text highlight 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".',"This link has no URL":"Линк не садржи УРЛ",Tiny:"Ситно","To-do List":"Листа обавеза","Toggle caption off":"Искључивање натписа ","Toggle caption on":"Укључите наслов ","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":"Укључите / искључите стил горње римске листе",Turquoise:"Тиркизна","Type or paste your content here.":"Упишите или налепите наслов","Type your title":"Одредите наслов",Underline:"Подвучен",Undo:"Повлачење",Unlink:"Отклони линк",Update:"Ажурирај","Update image URL":"Ажурирај УРЛ слике","Upload failed":"Постављање неуспешно","Upload in progress":"Постављање у току","Upper-latin":"Горњи - латински","Upper-roman":"Горњи - римски","Vertical text alignment toolbar":"Вертикална трака са алаткама за поравнање текста",White:"Бела","Widget toolbar":"Widget traka sa alatkama",Width:"Ширина","Wrap text":"Преломити текст",Yellow:"Жута","Yellow marker":"Жути маркер"}),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
index ec1c6ff8ee4780285e2f46721ad6dc80fca77754..7dbd1c636004dcb8312d8dc4f200fde5df8c7663 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.sv=e.sv||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 av %1","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 center":"Centrera","Align left":"Vänsterjustera","Align right":"Högerjustera","Align table to the left":"Vänsterjustera tabell","Align table to the right":"Högerjustera tabell",Alignment:"Justering",Aquamarine:"Akvamarin",Background:"Bakgrund",Big:"Stor",Black:"Svart","Block quote":"Blockcitat",Blue:"Blå","Blue marker":"Blå markering",Bold:"Fet",Border:"Kant","Break text":"Bryt upp text","Bulleted List":"Punktlista","Bulleted list styles toolbar":"Verktygsfält för punktlistor",Cancel:"Avbryt","Caption for image: %0":"Bildtext till bild: %0","Caption for the image":"Bildtext till bilden","Cell properties":"Cellegenskaper","Center table":"Centrera tabell","Centered image":"Centrerad bild","Change image text alternative":"Ändra bildens alternativa text","Choose heading":"Välj rubrik",Circle:"Cirkel",Code:"Kod",Color:"Färg","Color picker":"Färgväljare",Column:"Kolumn",Dashed:"Streckad",Decimal:"Decimal","Decimal with leading zero":"Decimal med inledande nolla","Decrease indent":"Minska indrag",Default:"Standard","Delete column":"Ta bort kolumn","Delete row":"Ta bort rad","Dim grey":"Dunkelgrå",Dimensions:"Mått",Disc:"Disk","Document colors":"Dokumentfärger",Dotted:"Prickig",Double:"Dubbel",Downloadable:"Nedladdningsbar","Dropdown toolbar":"Rullgardinsverktygsfält","Edit block":"Redigera block","Edit link":"Redigera länk","Edit source":"Redigera källa","Editor block content toolbar":"Verktygsfält vid block av innehåll","Editor contextual toolbar":"Ordbehandlarens kontextuella verktygsfält","Editor editing area: %0":"Ordbehandlares redigeringsområde: %0","Editor toolbar":"Redigeringsverktygsfält","Empty snippet content":"Töm snuttinnehåll","Enter image caption":"Fyll i bildtext","Enter table caption":"Ange tabellrubrik","Font Background Color":"Tecknens bakgrundsfärg","Font Color":"Teckenfärg","Font Family":"Typsnitt","Font Size":"Teckenstorlek","Full size image":"Bild i full storlek",Green:"Grön","Green marker":"Grön markering","Green pen":"Grön penna",Grey:"Grå",Groove:"Skåra","Header column":"Rubrikkolumn","Header row":"Rubrikrad",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",Height:"Höjd",Highlight:"Markera","Horizontal line":"Horisontell linje","Horizontal text alignment toolbar":"Verktygsfält för horisontell textjustering","HTML snippet":"HTML-kodsnutt",Huge:"Enorm","Image resize list":"Lista för storleksändring av bild","Image toolbar":"Bildverktygsfält","image widget":"image widget","In line":"På rad","Increase indent":"Öka indrag",Insert:"Infoga","Insert code block":"Infoga kodblock","Insert column left":"Infoga kolumn till vänster","Insert column right":"Infoga kolumn till höger","Insert HTML":"Infoga HTML","Insert image":"Infoga bild","Insert image via URL":"Infoga bild via URL","Insert paragraph after block":"Infoga stycke efter block","Insert paragraph before block":"Infoga stycke före block","Insert row above":"Infoga rad ovanför","Insert row below":"Infoga rad nedanför","Insert table":"Lägg in tabell",Inset:"Infälld",Italic:"Kursiv",Justify:"Justera till marginaler","Justify cell text":"Anpassa celltext","Left aligned image":"Vänsterjusterad bild","Light blue":"Ljusblå","Light green":"Ljusgrön","Light grey":"Ljusgrå",Link:"Länk","Link image":"Länka bild","Link URL":"Länkens URL","List properties":"Listegenskaper","Lower-latin":"Latinska gemener","Lower–roman":"Romerska gemener","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",Next:"Nästa","No preview available":"Ingen förhandsvisning tillgänglig",None:"Inget","Numbered List":"Numrerad lista","Numbered list styles toolbar":"Verktygsfält för numrerade listor","Open in a new tab":"Öppna i en ny flik","Open link in new tab":"Öppna länk i ny flik",Orange:"Orange",Original:"Ursprunglig",Outset:"Utfälld",Padding:"Marginal",Paragraph:"Paragraf","Paste raw HTML here...":"Klistra in rå HTML här ...","Pink marker":"Rosa markering","Plain text":"Vanlig text","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","Red pen":"Röd penna",Redo:"Gör om","Remove color":"Ta bort färg","Remove Format":"Radera formatering","Remove highlight":"Ta bort markering","Resize image":"Ändra storlek på bild","Resize image to %0":"Ändra bildens storlek till %0","Resize image to the original size":"Ändra bilden till dess ursprungsstorlek","Restore default":"Återställ standard","Reversed order":"Byt riktning","Rich Text Editor":"Rich Text-editor",Ridge:"Kant","Right aligned image":"Högerjusterad bild",Row:"Rad",Save:"Spara","Save changes":"Spara ändringar","Saving changes":"Sparar ändringar","Select all":"Välj alla","Select column":"Välj kolumn","Select row":"Välj rad","Show more items":"Visa fler objekt","Side image":"Kantbild",Small:"Liten",Solid:"Enfärgad","Split cell horizontally":"Dela cell horisontellt","Split cell vertically":"Dela cell vertikalt",Square:"Fyrkant","Start at":"Börja på","Start index must be greater than 0.":"Startindex måste vara större än 0.",Strikethrough:"Genomstruken",Style:"Stil",Subscript:"Nedsänkta tecken",Superscript:"Upphöjda tecken","Table alignment toolbar":"Verktygsfält för tabelljustering","Table cell text alignment":"Textjustering i tabellcell","Table properties":"Tabellegenskaper","Table toolbar":"Tabellverktygsfält","Text alignment":"Textjustering","Text alignment toolbar":"Verktygsfält för textjustering","Text alternative":"Alternativ text","Text highlight toolbar":"Verktygsfält för textmarkering",'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".',"This link has no URL":"Denna länk saknar URL",Tiny:"Mycket liten","To-do List":"Att-göra-lista","Toggle caption off":"Slå av rubrik","Toggle caption on":"Slå på rubrik","Toggle the circle list style":"Växla till cirkellisttypen","Toggle the decimal list style":"Växla till decimallisttypen","Toggle the decimal with leading zero list style":"Växla till listtypen decimal-med-inledande-nolla","Toggle the disc list style":"Växla till disklisttypen","Toggle the lower–latin list style":"Växla till listtypen latinska gemener","Toggle the lower–roman list style":"Växla till listtypen romerska gemener","Toggle the square list style":"Växla till fyrkantslisttypen","Toggle the upper–latin list style":"Växla till listtypen latinska versaler ","Toggle the upper–roman list style":"Växla till listtypen romerska versaler",Turquoise:"Turkos","Type or paste your content here.":"Skriv eller klistra in ditt innehåll här.","Type your title":"Skriv in rubriken",Underline:"Understrykning",Undo:"Ångra",Unlink:"Ta bort länk",Update:"Uppdatera","Update image URL":"Uppdatera bildens URL","Upload failed":"Uppladdning misslyckades","Upload in progress":"Uppladdning pågår","Upper-latin":"Latinska versaler","Upper-roman":"Romerska versaler","Vertical text alignment toolbar":"Verktygsfält för vertikal textjustering",White:"Vit","Widget toolbar":"Widgetverktygsfält",Width:"Bredd","Wrap text":"Omslut med text",Yellow:"Gul","Yellow marker":"Gul markering"}),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||{},{"%0 of %1":"%0 av %1",Accept:"","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 center":"Centrera","Align left":"Vänsterjustera","Align right":"Högerjustera","Align table to the left":"Vänsterjustera tabell","Align table to the right":"Högerjustera tabell",Alignment:"Justering",Aquamarine:"Akvamarin",Background:"Bakgrund",Big:"Stor",Black:"Svart","Block quote":"Blockcitat",Blue:"Blå","Blue marker":"Blå markering",Bold:"Fet",Border:"Kant","Break text":"Bryt upp text","Bulleted List":"Punktlista","Bulleted list styles toolbar":"Verktygsfält för punktlistor",Cancel:"Avbryt","Caption for image: %0":"Bildtext till bild: %0","Caption for the image":"Bildtext till bilden","Cell properties":"Cellegenskaper","Center table":"Centrera tabell","Centered image":"Centrerad bild","Change image text alternative":"Ändra bildens alternativa text","Choose heading":"Välj rubrik",Circle:"Cirkel",Code:"Kod",Color:"Färg","Color picker":"Färgväljare",Column:"Kolumn",Dashed:"Streckad",Decimal:"Decimal","Decimal with leading zero":"Decimal med inledande nolla","Decrease indent":"Minska indrag",Default:"Standard","Delete column":"Ta bort kolumn","Delete row":"Ta bort rad","Dim grey":"Dunkelgrå",Dimensions:"Mått",Disc:"Disk","Document colors":"Dokumentfärger",Dotted:"Prickig",Double:"Dubbel",Downloadable:"Nedladdningsbar","Dropdown toolbar":"Rullgardinsverktygsfält","Edit block":"Redigera block","Edit link":"Redigera länk","Edit source":"Redigera källa","Editor block content toolbar":"Verktygsfält vid block av innehåll","Editor contextual toolbar":"Ordbehandlarens kontextuella verktygsfält","Editor editing area: %0":"Ordbehandlares redigeringsområde: %0","Editor toolbar":"Redigeringsverktygsfält","Empty snippet content":"Töm snuttinnehåll","Enter image caption":"Fyll i bildtext","Enter table caption":"Ange tabellrubrik","Font Background Color":"Tecknens bakgrundsfärg","Font Color":"Teckenfärg","Font Family":"Typsnitt","Font Size":"Teckenstorlek","Full size image":"Bild i full storlek",Green:"Grön","Green marker":"Grön markering","Green pen":"Grön penna",Grey:"Grå",Groove:"Skåra","Header column":"Rubrikkolumn","Header row":"Rubrikrad",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",Height:"Höjd",HEX:"",Highlight:"Markera","Horizontal line":"Horisontell linje","Horizontal text alignment toolbar":"Verktygsfält för horisontell textjustering","HTML snippet":"HTML-kodsnutt",Huge:"Enorm","Image resize list":"Lista för storleksändring av bild","Image toolbar":"Bildverktygsfält","image widget":"image widget","In line":"På rad","Increase indent":"Öka indrag",Insert:"Infoga","Insert code block":"Infoga kodblock","Insert column left":"Infoga kolumn till vänster","Insert column right":"Infoga kolumn till höger","Insert HTML":"Infoga HTML","Insert image":"Infoga bild","Insert image via URL":"Infoga bild via URL","Insert paragraph after block":"Infoga stycke efter block","Insert paragraph before block":"Infoga stycke före block","Insert row above":"Infoga rad ovanför","Insert row below":"Infoga rad nedanför","Insert table":"Lägg in tabell",Inset:"Infälld",Italic:"Kursiv",Justify:"Justera till marginaler","Justify cell text":"Anpassa celltext","Left aligned image":"Vänsterjusterad bild","Light blue":"Ljusblå","Light green":"Ljusgrön","Light grey":"Ljusgrå",Link:"Länk","Link image":"Länka bild","Link URL":"Länkens URL","List properties":"Listegenskaper","Lower-latin":"Latinska gemener","Lower–roman":"Romerska gemener","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",Next:"Nästa","No preview available":"Ingen förhandsvisning tillgänglig",None:"Inget","Numbered List":"Numrerad lista","Numbered list styles toolbar":"Verktygsfält för numrerade listor","Open in a new tab":"Öppna i en ny flik","Open link in new tab":"Öppna länk i ny flik",Orange:"Orange",Original:"Ursprunglig",Outset:"Utfälld",Padding:"Marginal",Paragraph:"Paragraf","Paste raw HTML here...":"Klistra in rå HTML här ...","Pink marker":"Rosa markering","Plain text":"Vanlig text","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","Red pen":"Röd penna",Redo:"Gör om","Remove color":"Ta bort färg","Remove Format":"Radera formatering","Remove highlight":"Ta bort markering","Resize image":"Ändra storlek på bild","Resize image to %0":"Ändra bildens storlek till %0","Resize image to the original size":"Ändra bilden till dess ursprungsstorlek","Restore default":"Återställ standard","Reversed order":"Byt riktning","Rich Text Editor":"Rich Text-editor",Ridge:"Kant","Right aligned image":"Högerjusterad bild",Row:"Rad",Save:"Spara","Save changes":"Spara ändringar","Saving changes":"Sparar ändringar","Select all":"Välj alla","Select column":"Välj kolumn","Select row":"Välj rad","Show more items":"Visa fler objekt","Side image":"Kantbild",Small:"Liten",Solid:"Enfärgad","Split cell horizontally":"Dela cell horisontellt","Split cell vertically":"Dela cell vertikalt",Square:"Fyrkant","Start at":"Börja på","Start index must be greater than 0.":"Startindex måste vara större än 0.",Strikethrough:"Genomstruken",Style:"Stil",Subscript:"Nedsänkta tecken",Superscript:"Upphöjda tecken","Table alignment toolbar":"Verktygsfält för tabelljustering","Table cell text alignment":"Textjustering i tabellcell","Table properties":"Tabellegenskaper","Table toolbar":"Tabellverktygsfält","Text alignment":"Textjustering","Text alignment toolbar":"Verktygsfält för textjustering","Text alternative":"Alternativ text","Text highlight toolbar":"Verktygsfält för textmarkering",'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".',"This link has no URL":"Denna länk saknar URL",Tiny:"Mycket liten","To-do List":"Att-göra-lista","Toggle caption off":"Slå av rubrik","Toggle caption on":"Slå på rubrik","Toggle the circle list style":"Växla till cirkellisttypen","Toggle the decimal list style":"Växla till decimallisttypen","Toggle the decimal with leading zero list style":"Växla till listtypen decimal-med-inledande-nolla","Toggle the disc list style":"Växla till disklisttypen","Toggle the lower–latin list style":"Växla till listtypen latinska gemener","Toggle the lower–roman list style":"Växla till listtypen romerska gemener","Toggle the square list style":"Växla till fyrkantslisttypen","Toggle the upper–latin list style":"Växla till listtypen latinska versaler ","Toggle the upper–roman list style":"Växla till listtypen romerska versaler",Turquoise:"Turkos","Type or paste your content here.":"Skriv eller klistra in ditt innehåll här.","Type your title":"Skriv in rubriken",Underline:"Understrykning",Undo:"Ångra",Unlink:"Ta bort länk",Update:"Uppdatera","Update image URL":"Uppdatera bildens URL","Upload failed":"Uppladdning misslyckades","Upload in progress":"Uppladdning pågår","Upper-latin":"Latinska versaler","Upper-roman":"Romerska versaler","Vertical text alignment toolbar":"Verktygsfält för vertikal textjustering",White:"Vit","Widget toolbar":"Widgetverktygsfält",Width:"Bredd","Wrap text":"Omslut med text",Yellow:"Gul","Yellow marker":"Gul markering"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 730f95558c95a72c1287434b23fcf5efe8ea2cc2..956a283952e92fa106ed0f6118aa8ece819878ae 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.th=e.th||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 จาก %1","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 center":"จัดกึ่งกลาง","Align left":"จัดชิดซ้าย","Align right":"จัดชิดขวา","Align table to the left":"จัดตำแหน่งตารางชิดด้านซ้าย","Align table to the right":"จัดตำแหน่งตารางชิดด้านขวา",Alignment:"การจัดตำแหน่ง",Aquamarine:"พลอยสีฟ้า",Background:"พื้นหลัง",Big:"ใหญ่",Black:"สีดำ","Block quote":"คำพูดบล็อก",Blue:"สีน้ำเงิน","Blue marker":"มาร์กเกอร์สีน้ำเงิน",Bold:"ตัวหนา",Border:"เส้นขอบ","Break text":"แบ่งข้อความ","Bulleted List":"รายการสัญลักษณ์แสดงหัวข้อย่อย","Bulleted list styles toolbar":"แถบเครื่องมือรูปแบบรายการสัญลักษณ์แสดงหัวข้อย่อย",Cancel:"ยกเลิก","Caption for image: %0":"คำบรรยายภาพ: %0","Caption for the image":"คำบรรยายภาพ","Cell properties":"คุณสมบัติของเซลล์","Center table":"จัดตำแหน่งตารางไว้ตรงกลาง","Centered image":"จัดแนวรูปกึ่งกลาง","Change image text alternative":"เปลี่ยนข้อความเมื่อไม่พบรูป","Choose heading":"เลือกขนาดหัวข้อ",Circle:"วงกลม",Code:"โค้ด",Color:"สี","Color picker":"เครื่องมือเลือกสี",Column:"คอลัมน์",Dashed:"เส้นประ",Decimal:"ทศนิยม","Decimal with leading zero":"ทศนิยมที่มีศูนย์นำหน้า","Decrease indent":"ลดการเยื้อง",Default:"ค่าเริ่มต้น","Delete column":"ลบคอลัมน์","Delete row":"ลบแถว","Dim grey":"สีเทาเข้ม",Dimensions:"ขนาด",Disc:"ดิสก์","Document colors":"สีเอกสาร",Dotted:"เส้นไข่ปลา",Double:"คู่",Downloadable:"ที่สามารถดาวน์โหลดได้","Dropdown toolbar":"แถบเครื่องมือแบบเลื่อนลง","Edit block":"แก้ไขบล็อก","Edit link":"แก้ไขลิงก์","Edit source":"แก้ไขซอร์ส","Editor block content toolbar":"แถบเครื่องมือแก้ไขบล็อกเนื้อหา","Editor contextual toolbar":"แถบเครื่องมือแก้ไขข้อความ","Editor editing area: %0":"พื้นที่แก้ไขของตัวแก้ไข: %0","Editor toolbar":"แถบเครื่องมือแก้ไข","Empty snippet content":"เนื้อหาส่วนย่อยว่างเปล่า","Enter image caption":"ระบุคำอธิบายภาพ","Enter table caption":"ป้อนคำบรรยายตาราง","Font Background Color":"สีพื้นหลังข้อความ","Font Color":"สีข้อความ","Font Family":"แบบอักษร","Font Size":"ขนาดข้อความ","Full size image":"รูปขนาดเต็ม",Green:"สีเขียว","Green marker":"มาร์กเกอร์สีเขียว","Green pen":"ปากกาสีเขียว",Grey:"สีเทา",Groove:"ร่อง","Header column":"หัวข้อคอลัมน์","Header row":"ส่วนหัวแถว",Heading:"หัวข้อ","Heading 1":"หัวข้อขนาด 1","Heading 2":"หัวข้อ 2","Heading 3":"หัวข้อ 3","Heading 4":"หัวข้อ 4","Heading 5":"หัวข้อ 5","Heading 6":"หัวข้อ 6",Height:"ความสูง",Highlight:"ไฮไลต์","Horizontal line":"เส้นแนวนอน","Horizontal text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความในแนวนอน","HTML snippet":"ส่วนย่อยของ HTML",Huge:"ใหญ่มาก","Image resize list":"รายการปรับขนาดภาพ","Image toolbar":"เครื่องมือรูปภาพ","image widget":"วิดเจ็ตรูปภาพ","In line":"ในบรรทัด","Increase indent":"เพิ่มการเยื้อง",Insert:"แทรก","Insert code block":"เพิ่มโค้ดบล็อก","Insert column left":"แทรกคอลัมน์ทางซ้าย","Insert column right":"แทรกคอลัมน์ทางขวา","Insert HTML":"แทรก HTML","Insert image":"แทรกรูป","Insert image via URL":"แทรกภาพผ่าน URL","Insert paragraph after block":"แทรกย่อหน้าหลังบล็อก","Insert paragraph before block":"แทรกย่อหน้าก่อนบล็อก","Insert row above":"แทรกส่วนหัวด้านบน","Insert row below":"แทรกส่วนหัวด้านล่าง","Insert table":"แทรกตาราง",Inset:"ยุบ",Italic:"ตัวเอียง",Justify:"จัด(ขอบ)","Justify cell text":"จัดขอบข้อความของเซลล์ให้กระจายเต็มแนว","Left aligned image":"จัดแนวภาพซ้าย","Light blue":"สีฟ้า","Light green":"สีเขียวอ่อน","Light grey":"สีเทาอ่อน",Link:"ลิงก์","Link image":"ลิงก์ภาพ","Link URL":"ลิงก์ URL","List properties":"คุณสมบัติของรายการ","Lower-latin":"อักษรลาตินตัวพิมพ์เล็ก","Lower–roman":"อักษรโรมันตัวพิมพ์เล็ก","Merge cell down":"ผสานเซลล์ด้านล่าง","Merge cell left":"ผสานเซลล์ด้านซ้าย","Merge cell right":"ผสานเซลล์ด้านขวา","Merge cell up":"ผสานเซลล์ด้านบน","Merge cells":"ผสานเซลล์",Next:"ถัดไป","No preview available":"ไม่มีภาพตัวอย่างให้ใช้งาน",None:"ไม่มี","Numbered List":"รายการลำดับเลข","Numbered list styles toolbar":"แถบเครื่องมือรูปแบบรายการแบบตัวเลข","Open in a new tab":"เปิดในแท็บใหม่","Open link in new tab":"เปิดลิงก์ในแท็บใหม่",Orange:"สีส้ม",Original:"ดั้งเดิม",Outset:"นูน",Padding:"การเสริมเต็ม",Paragraph:"ย่อหน้า","Paste raw HTML here...":"วาง HTML ดิบที่นี่...","Pink marker":"มาร์กเกอร์สีชมพู","Plain text":"ข้อความธรรมดา","Press Enter to type after or press Shift + Enter to type before the widget":"กด Enter เพื่อพิมพ์หลังจาก หรือกด Shift + Enter เพื่อพิมพ์ก่อนหน้าวิดเจ็ต",Previous:"ก่อนหน้า",Purple:"สีม่วง",Red:"สีแดง","Red pen":"ปากกาสีแดง",Redo:"ทำซ้ำ","Remove color":"ลบสี","Remove Format":"ลบรูปแบบ","Remove highlight":"ลบไฮไลต์ออก","Resize image":"ปรับขนาดภาพ","Resize image to %0":"ปรับขนาดภาพเป็น %0","Resize image to the original size":"ปรับขนาดภาพเป็นขนาดเดิม","Restore default":"คืนค่าเริ่มต้น","Reversed order":"ลำดับที่ย้อนกลับ","Rich Text Editor":"โปรแกรมแก้ไข Rich Text",Ridge:"สัน","Right aligned image":"จัดแนวภาพขวา",Row:"แถว",Save:"บันทึก","Save changes":"บันทึกการเปลี่ยนแปลง","Saving changes":"บันทึกการเปลี่ยนแปลง<br>","Select all":"เลือกทั้งหมด","Select column":"เลือกคอลัมน์","Select row":"เลือกแถว","Show more items":"แสดงรายการเพิ่มเติม","Side image":"รูปด้านข้าง",Small:"เล็ก",Solid:"เส้นทึบ","Split cell horizontally":"แยกเซลล์แนวนอน","Split cell vertically":"แยกเซลล์แนวตั้ง",Square:"สี่เหลี่ยม","Start at":"เริ่มต้นที่","Start index must be greater than 0.":"ดัชนีเริ่มต้นต้องมากกว่า 0",Strikethrough:"ขีดทับ",Style:"รูปแบบ",Subscript:"ตัวห้อย",Superscript:"ตัวยก","Table alignment toolbar":"แถบเครื่องมือจัดตำแหน่งตาราง","Table cell text alignment":"การจัดตำแหน่งข้อความของเซลล์ตาราง","Table properties":"คุณสมบัติของตาราง","Table toolbar":"เครื่องมือตาราง","Text alignment":"จัดตำแหน่งข้อความ","Text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความ","Text alternative":"ข้อความเมื่อไม่พบรูป","Text highlight 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"',"This link has no URL":"ลิงก์นี้ไม่มี URL",Tiny:"เล็กมาก","To-do List":"รายการสิ่งที่จะทำ","Toggle caption off":"ปิดคำอธิบายภาพ","Toggle caption on":"เปิดคำอธิบายภาพ","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":"สลับรูปแบบรายการอักษรโรมันตัวพิมพ์ใหญ่",Turquoise:"สีเขียวขุ่น","Type or paste your content here.":"พิมพ์หรือวางเนื้อหาของคุณที่นี่","Type your title":"พิมพ์ชื่อเรื่องของคุณ",Underline:"ขีดเส้นใต้",Undo:"ย้อนกลับ",Unlink:"ยกเลิกการลิงก์",Update:"อัปเดต","Update image URL":"อัปเดต URL ภาพ","Upload failed":"อัปโหลดไม่สำเร็จ","Upload in progress":"กำลังดำเนินการอัปโหลด","Upper-latin":"อักษรลาตินตัวพิมพ์ใหญ่","Upper-roman":"อักษรโรมันตัวพิมพ์ใหญ่","Vertical text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความแนวตั้ง",White:"สีขาว","Widget toolbar":"แถมเครื่องมือวิดเจ็ต",Width:"ความกว้าง","Wrap text":"ตัดคำข้อความ",Yellow:"สีเหลือง","Yellow marker":"มาร์กเกอร์สีเหลือง"}),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||{},{"%0 of %1":"%0 จาก %1",Accept:"","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 center":"จัดกึ่งกลาง","Align left":"จัดชิดซ้าย","Align right":"จัดชิดขวา","Align table to the left":"จัดตำแหน่งตารางชิดด้านซ้าย","Align table to the right":"จัดตำแหน่งตารางชิดด้านขวา",Alignment:"การจัดตำแหน่ง",Aquamarine:"พลอยสีฟ้า",Background:"พื้นหลัง",Big:"ใหญ่",Black:"สีดำ","Block quote":"คำพูดบล็อก",Blue:"สีน้ำเงิน","Blue marker":"มาร์กเกอร์สีน้ำเงิน",Bold:"ตัวหนา",Border:"เส้นขอบ","Break text":"แบ่งข้อความ","Bulleted List":"รายการสัญลักษณ์แสดงหัวข้อย่อย","Bulleted list styles toolbar":"แถบเครื่องมือรูปแบบรายการสัญลักษณ์แสดงหัวข้อย่อย",Cancel:"ยกเลิก","Caption for image: %0":"คำบรรยายภาพ: %0","Caption for the image":"คำบรรยายภาพ","Cell properties":"คุณสมบัติของเซลล์","Center table":"จัดตำแหน่งตารางไว้ตรงกลาง","Centered image":"จัดแนวรูปกึ่งกลาง","Change image text alternative":"เปลี่ยนข้อความเมื่อไม่พบรูป","Choose heading":"เลือกขนาดหัวข้อ",Circle:"วงกลม",Code:"โค้ด",Color:"สี","Color picker":"เครื่องมือเลือกสี",Column:"คอลัมน์",Dashed:"เส้นประ",Decimal:"ทศนิยม","Decimal with leading zero":"ทศนิยมที่มีศูนย์นำหน้า","Decrease indent":"ลดการเยื้อง",Default:"ค่าเริ่มต้น","Delete column":"ลบคอลัมน์","Delete row":"ลบแถว","Dim grey":"สีเทาเข้ม",Dimensions:"ขนาด",Disc:"ดิสก์","Document colors":"สีเอกสาร",Dotted:"เส้นไข่ปลา",Double:"คู่",Downloadable:"ที่สามารถดาวน์โหลดได้","Dropdown toolbar":"แถบเครื่องมือแบบเลื่อนลง","Edit block":"แก้ไขบล็อก","Edit link":"แก้ไขลิงก์","Edit source":"แก้ไขซอร์ส","Editor block content toolbar":"แถบเครื่องมือแก้ไขบล็อกเนื้อหา","Editor contextual toolbar":"แถบเครื่องมือแก้ไขข้อความ","Editor editing area: %0":"พื้นที่แก้ไขของตัวแก้ไข: %0","Editor toolbar":"แถบเครื่องมือแก้ไข","Empty snippet content":"เนื้อหาส่วนย่อยว่างเปล่า","Enter image caption":"ระบุคำอธิบายภาพ","Enter table caption":"ป้อนคำบรรยายตาราง","Font Background Color":"สีพื้นหลังข้อความ","Font Color":"สีข้อความ","Font Family":"แบบอักษร","Font Size":"ขนาดข้อความ","Full size image":"รูปขนาดเต็ม",Green:"สีเขียว","Green marker":"มาร์กเกอร์สีเขียว","Green pen":"ปากกาสีเขียว",Grey:"สีเทา",Groove:"ร่อง","Header column":"หัวข้อคอลัมน์","Header row":"ส่วนหัวแถว",Heading:"หัวข้อ","Heading 1":"หัวข้อขนาด 1","Heading 2":"หัวข้อ 2","Heading 3":"หัวข้อ 3","Heading 4":"หัวข้อ 4","Heading 5":"หัวข้อ 5","Heading 6":"หัวข้อ 6",Height:"ความสูง",HEX:"",Highlight:"ไฮไลต์","Horizontal line":"เส้นแนวนอน","Horizontal text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความในแนวนอน","HTML snippet":"ส่วนย่อยของ HTML",Huge:"ใหญ่มาก","Image resize list":"รายการปรับขนาดภาพ","Image toolbar":"เครื่องมือรูปภาพ","image widget":"วิดเจ็ตรูปภาพ","In line":"ในบรรทัด","Increase indent":"เพิ่มการเยื้อง",Insert:"แทรก","Insert code block":"เพิ่มโค้ดบล็อก","Insert column left":"แทรกคอลัมน์ทางซ้าย","Insert column right":"แทรกคอลัมน์ทางขวา","Insert HTML":"แทรก HTML","Insert image":"แทรกรูป","Insert image via URL":"แทรกภาพผ่าน URL","Insert paragraph after block":"แทรกย่อหน้าหลังบล็อก","Insert paragraph before block":"แทรกย่อหน้าก่อนบล็อก","Insert row above":"แทรกส่วนหัวด้านบน","Insert row below":"แทรกส่วนหัวด้านล่าง","Insert table":"แทรกตาราง",Inset:"ยุบ",Italic:"ตัวเอียง",Justify:"จัด(ขอบ)","Justify cell text":"จัดขอบข้อความของเซลล์ให้กระจายเต็มแนว","Left aligned image":"จัดแนวภาพซ้าย","Light blue":"สีฟ้า","Light green":"สีเขียวอ่อน","Light grey":"สีเทาอ่อน",Link:"ลิงก์","Link image":"ลิงก์ภาพ","Link URL":"ลิงก์ URL","List properties":"คุณสมบัติของรายการ","Lower-latin":"อักษรลาตินตัวพิมพ์เล็ก","Lower–roman":"อักษรโรมันตัวพิมพ์เล็ก","Merge cell down":"ผสานเซลล์ด้านล่าง","Merge cell left":"ผสานเซลล์ด้านซ้าย","Merge cell right":"ผสานเซลล์ด้านขวา","Merge cell up":"ผสานเซลล์ด้านบน","Merge cells":"ผสานเซลล์",Next:"ถัดไป","No preview available":"ไม่มีภาพตัวอย่างให้ใช้งาน",None:"ไม่มี","Numbered List":"รายการลำดับเลข","Numbered list styles toolbar":"แถบเครื่องมือรูปแบบรายการแบบตัวเลข","Open in a new tab":"เปิดในแท็บใหม่","Open link in new tab":"เปิดลิงก์ในแท็บใหม่",Orange:"สีส้ม",Original:"ดั้งเดิม",Outset:"นูน",Padding:"การเสริมเต็ม",Paragraph:"ย่อหน้า","Paste raw HTML here...":"วาง HTML ดิบที่นี่...","Pink marker":"มาร์กเกอร์สีชมพู","Plain text":"ข้อความธรรมดา","Press Enter to type after or press Shift + Enter to type before the widget":"กด Enter เพื่อพิมพ์หลังจาก หรือกด Shift + Enter เพื่อพิมพ์ก่อนหน้าวิดเจ็ต",Previous:"ก่อนหน้า",Purple:"สีม่วง",Red:"สีแดง","Red pen":"ปากกาสีแดง",Redo:"ทำซ้ำ","Remove color":"ลบสี","Remove Format":"ลบรูปแบบ","Remove highlight":"ลบไฮไลต์ออก","Resize image":"ปรับขนาดภาพ","Resize image to %0":"ปรับขนาดภาพเป็น %0","Resize image to the original size":"ปรับขนาดภาพเป็นขนาดเดิม","Restore default":"คืนค่าเริ่มต้น","Reversed order":"ลำดับที่ย้อนกลับ","Rich Text Editor":"โปรแกรมแก้ไข Rich Text",Ridge:"สัน","Right aligned image":"จัดแนวภาพขวา",Row:"แถว",Save:"บันทึก","Save changes":"บันทึกการเปลี่ยนแปลง","Saving changes":"บันทึกการเปลี่ยนแปลง<br>","Select all":"เลือกทั้งหมด","Select column":"เลือกคอลัมน์","Select row":"เลือกแถว","Show more items":"แสดงรายการเพิ่มเติม","Side image":"รูปด้านข้าง",Small:"เล็ก",Solid:"เส้นทึบ","Split cell horizontally":"แยกเซลล์แนวนอน","Split cell vertically":"แยกเซลล์แนวตั้ง",Square:"สี่เหลี่ยม","Start at":"เริ่มต้นที่","Start index must be greater than 0.":"ดัชนีเริ่มต้นต้องมากกว่า 0",Strikethrough:"ขีดทับ",Style:"รูปแบบ",Subscript:"ตัวห้อย",Superscript:"ตัวยก","Table alignment toolbar":"แถบเครื่องมือจัดตำแหน่งตาราง","Table cell text alignment":"การจัดตำแหน่งข้อความของเซลล์ตาราง","Table properties":"คุณสมบัติของตาราง","Table toolbar":"เครื่องมือตาราง","Text alignment":"จัดตำแหน่งข้อความ","Text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความ","Text alternative":"ข้อความเมื่อไม่พบรูป","Text highlight 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"',"This link has no URL":"ลิงก์นี้ไม่มี URL",Tiny:"เล็กมาก","To-do List":"รายการสิ่งที่จะทำ","Toggle caption off":"ปิดคำอธิบายภาพ","Toggle caption on":"เปิดคำอธิบายภาพ","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":"สลับรูปแบบรายการอักษรโรมันตัวพิมพ์ใหญ่",Turquoise:"สีเขียวขุ่น","Type or paste your content here.":"พิมพ์หรือวางเนื้อหาของคุณที่นี่","Type your title":"พิมพ์ชื่อเรื่องของคุณ",Underline:"ขีดเส้นใต้",Undo:"ย้อนกลับ",Unlink:"ยกเลิกการลิงก์",Update:"อัปเดต","Update image URL":"อัปเดต URL ภาพ","Upload failed":"อัปโหลดไม่สำเร็จ","Upload in progress":"กำลังดำเนินการอัปโหลด","Upper-latin":"อักษรลาตินตัวพิมพ์ใหญ่","Upper-roman":"อักษรโรมันตัวพิมพ์ใหญ่","Vertical text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความแนวตั้ง",White:"สีขาว","Widget toolbar":"แถมเครื่องมือวิดเจ็ต",Width:"ความกว้าง","Wrap text":"ตัดคำข้อความ",Yellow:"สีเหลือง","Yellow marker":"มาร์กเกอร์สีเหลือง"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 5f1ec4a42f316de12c6750ca8200b61760ecf9c7..06cd70a9f4ccbe45f5b1359a4ee65192ed96f878 100644 (file)
@@ -1 +1 @@
-!function(e){const a=e.tk=e.tk||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%1-iň %0-i","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 center":"Merkeze deňleşdir","Align left":"Çepe deňleşdiriň","Align right":"Saga 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",Aquamarine:"Akuamarin",Background:"Arka",Big:"Uly",Black:"Gara","Block quote":"Sitata blokirläň",Blue:"Gök","Blue marker":"Gök marker",Bold:"Galyň",Border:"Serhet","Break text":"","Bulleted List":"Bullet sanawy","Bulleted list styles toolbar":"",Cancel:"Ýatyr","Caption for image: %0":"","Caption for the image":"","Cell properties":"Öýjük aýratynlyklary","Center table":"Tablisany merkezleşdiriň","Centered image":"Merkezleşdirilen surat","Change image text alternative":"Surat tekstiniň alternatiwasyny üýtgediň","Choose heading":"Sözbaşy saýlaň",Circle:"",Code:"Kod",Color:"Reňk","Color picker":"Reňk saýlaýjy",Column:"Sütün",Dashed:"Çyzykly",Decimal:"","Decimal with leading zero":"","Decrease indent":"Indent peseltmek",Default:"Bellenen","Delete column":"Sütüni pozuň","Delete row":"Setiri poz","Dim grey":"Goýy çal",Dimensions:"Ölçegleri",Disc:"","Document colors":"Resminamanyň reňkleri",Dotted:"Nokatly",Double:"Goşa",Downloadable:"Göçürip alyp bolýar","Dropdown toolbar":"Açylýan gurallar paneli","Edit block":"Bloky redaktirläň","Edit link":"Baglanyşygy üýtget","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Redaktor gurallar paneli","Enter image caption":"Surat ýazgysyny giriziň","Enter table caption":"","Font Background Color":"Şriftiň fon reňki","Font Color":"Şriftiň reňki","Font Family":"Şrift maşgalasy","Font Size":"Şrift ölçegi","Full size image":"Doly ululykdaky surat",Green:"Ýaşyl","Green marker":"Ýaşyl marker","Green pen":"Ýaşyl galam",Grey:"Çal",Groove:"Groove","Header column":"Sözbaşy sütüni","Header row":"Sözbaşy hatary",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",Height:"Boý",Highlight:"Bellik","Horizontal line":"Gorizontal çyzyk","Horizontal text alignment toolbar":"Kese tekst tekizlemek gurallar paneli",Huge:"Ägirt","Image resize list":"","Image toolbar":"Surat gurallar paneli","image widget":"surat widjeti","In line":"","Increase indent":"Indent köpeltmek",Insert:"","Insert code block":"Kod blogyna goýuň","Insert column left":"Sütüni çepe goýuň","Insert column right":"Sütüni saga goýuň","Insert image":"Surat goýuň","Insert image via URL":"","Insert paragraph after block":"Blokdan soň abzas goýuň","Insert paragraph before block":"Blokdan öň abzas goýuň","Insert row above":"Hatary ýokaryk goýuň","Insert row below":"Hatary aşak goýuň","Insert table":"Tablisa goýuň",Inset:"Inset",Italic:"Italik",Justify:"Akla","Justify cell text":"Öýjük tekstini esaslandyryň","Left aligned image":"Çep deňleşdirilen surat","Light blue":"Açyk gök","Light green":"Açyk ýaşyl","Light grey":"Açyk çal",Link:"Baglanyşyk","Link image":"Surat baglanyşygy","Link URL":"URL baglanyşygy","List properties":"","Lower-latin":"","Lower–roman":"","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ň",Next:"Indiki",None:"Hiç","Numbered List":"Sanly sanaw","Numbered list styles toolbar":"","Open in a new tab":"Täze goýmada açyň","Open link in new tab":"Täze goýmada baglanyşyk açyň",Orange:"Mämişi",Original:"",Outset:"Outset",Padding:"Padding",Paragraph:"Abzas","Pink marker":"Gülgüne marker","Plain text":"Düz tekst","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Öňki",Purple:"Gyrmyzy",Red:"Gyzyl","Red pen":"Gyzyl galam",Redo:"Öňe gaýtar","Remove color":"Reňki aýyryň","Remove Format":"Formaty aýyryň","Remove highlight":"Belligi aýyryň","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Baý Tekst Redaktory",Ridge:"Kertik","Right aligned image":"Sag deňleşdirilen surat",Row:"Setir",Save:"Saklaň","Saving changes":"Üýtgeşmeleri saklaň","Select all":"Ählisini saýla","Select column":"Sütün saýlaň","Select row":"Setir saýlaň","Show more items":"Has köp zady görkeziň","Side image":"Gapdal surat",Small:"Kiçi",Solid:"Gaty","Split cell horizontally":"Öýjügi keseligine bölüň","Split cell vertically":"Öýjügi dikligine bölüň",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Üsti çyzykly",Style:"Stil",Subscript:"Aşaky ýazgy",Superscript:"Üst ýazgy","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","Text alignment":"Tekstiň deňleşdirilmegi","Text alignment toolbar":"Teksti deňleşdirmek gurallar paneli","Text alternative":"Tekstiň alternatiwasy","Text highlight toolbar":"Tekst bellik 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üň.',"This link has no URL":"Bu baglanyşykda URL ýok",Tiny:"Kiçijik","To-do List":"Edilmeli işleriň sanawy","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Turkuaz","Type or paste your content here.":"Mazmunyňyzy şu ýere ýazyň ýa-da goýuň.","Type your title":"Sözbaşyny ýazyň",Underline:"Aşagy çyzykly",Undo:"Yza gaýtar",Unlink:"Baglanyşygy aýyr",Update:"","Update image URL":"","Upload failed":"Ýükläp bolmady","Upload in progress":"Ýüklemek dowam edýär","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"Dik tekst tekizlemek gurallar paneli",White:"Ak","Widget toolbar":"Widget gurallar paneli",Width:"Ini","Wrap text":"",Yellow:"Sary","Yellow marker":"Sary marker"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
+!function(e){const a=e.tk=e.tk||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%1-iň %0-i",Accept:"","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 center":"Merkeze deňleşdir","Align left":"Çepe deňleşdiriň","Align right":"Saga 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",Aquamarine:"Akuamarin",Background:"Arka",Big:"Uly",Black:"Gara","Block quote":"Sitata blokirläň",Blue:"Gök","Blue marker":"Gök marker",Bold:"Galyň",Border:"Serhet","Break text":"","Bulleted List":"Bullet sanawy","Bulleted list styles toolbar":"",Cancel:"Ýatyr","Caption for image: %0":"","Caption for the image":"","Cell properties":"Öýjük aýratynlyklary","Center table":"Tablisany merkezleşdiriň","Centered image":"Merkezleşdirilen surat","Change image text alternative":"Surat tekstiniň alternatiwasyny üýtgediň","Choose heading":"Sözbaşy saýlaň",Circle:"",Code:"Kod",Color:"Reňk","Color picker":"Reňk saýlaýjy",Column:"Sütün",Dashed:"Çyzykly",Decimal:"","Decimal with leading zero":"","Decrease indent":"Indent peseltmek",Default:"Bellenen","Delete column":"Sütüni pozuň","Delete row":"Setiri poz","Dim grey":"Goýy çal",Dimensions:"Ölçegleri",Disc:"","Document colors":"Resminamanyň reňkleri",Dotted:"Nokatly",Double:"Goşa",Downloadable:"Göçürip alyp bolýar","Dropdown toolbar":"Açylýan gurallar paneli","Edit block":"Bloky redaktirläň","Edit link":"Baglanyşygy üýtget","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Redaktor gurallar paneli","Enter image caption":"Surat ýazgysyny giriziň","Enter table caption":"","Font Background Color":"Şriftiň fon reňki","Font Color":"Şriftiň reňki","Font Family":"Şrift maşgalasy","Font Size":"Şrift ölçegi","Full size image":"Doly ululykdaky surat",Green:"Ýaşyl","Green marker":"Ýaşyl marker","Green pen":"Ýaşyl galam",Grey:"Çal",Groove:"Groove","Header column":"Sözbaşy sütüni","Header row":"Sözbaşy hatary",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",Height:"Boý",HEX:"",Highlight:"Bellik","Horizontal line":"Gorizontal çyzyk","Horizontal text alignment toolbar":"Kese tekst tekizlemek gurallar paneli",Huge:"Ägirt","Image resize list":"","Image toolbar":"Surat gurallar paneli","image widget":"surat widjeti","In line":"","Increase indent":"Indent köpeltmek",Insert:"","Insert code block":"Kod blogyna goýuň","Insert column left":"Sütüni çepe goýuň","Insert column right":"Sütüni saga goýuň","Insert image":"Surat goýuň","Insert image via URL":"","Insert paragraph after block":"Blokdan soň abzas goýuň","Insert paragraph before block":"Blokdan öň abzas goýuň","Insert row above":"Hatary ýokaryk goýuň","Insert row below":"Hatary aşak goýuň","Insert table":"Tablisa goýuň",Inset:"Inset",Italic:"Italik",Justify:"Akla","Justify cell text":"Öýjük tekstini esaslandyryň","Left aligned image":"Çep deňleşdirilen surat","Light blue":"Açyk gök","Light green":"Açyk ýaşyl","Light grey":"Açyk çal",Link:"Baglanyşyk","Link image":"Surat baglanyşygy","Link URL":"URL baglanyşygy","List properties":"","Lower-latin":"","Lower–roman":"","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ň",Next:"Indiki",None:"Hiç","Numbered List":"Sanly sanaw","Numbered list styles toolbar":"","Open in a new tab":"Täze goýmada açyň","Open link in new tab":"Täze goýmada baglanyşyk açyň",Orange:"Mämişi",Original:"",Outset:"Outset",Padding:"Padding",Paragraph:"Abzas","Pink marker":"Gülgüne marker","Plain text":"Düz tekst","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Öňki",Purple:"Gyrmyzy",Red:"Gyzyl","Red pen":"Gyzyl galam",Redo:"Öňe gaýtar","Remove color":"Reňki aýyryň","Remove Format":"Formaty aýyryň","Remove highlight":"Belligi aýyryň","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Baý Tekst Redaktory",Ridge:"Kertik","Right aligned image":"Sag deňleşdirilen surat",Row:"Setir",Save:"Saklaň","Saving changes":"Üýtgeşmeleri saklaň","Select all":"Ählisini saýla","Select column":"Sütün saýlaň","Select row":"Setir saýlaň","Show more items":"Has köp zady görkeziň","Side image":"Gapdal surat",Small:"Kiçi",Solid:"Gaty","Split cell horizontally":"Öýjügi keseligine bölüň","Split cell vertically":"Öýjügi dikligine bölüň",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Üsti çyzykly",Style:"Stil",Subscript:"Aşaky ýazgy",Superscript:"Üst ýazgy","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","Text alignment":"Tekstiň deňleşdirilmegi","Text alignment toolbar":"Teksti deňleşdirmek gurallar paneli","Text alternative":"Tekstiň alternatiwasy","Text highlight toolbar":"Tekst bellik 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üň.',"This link has no URL":"Bu baglanyşykda URL ýok",Tiny:"Kiçijik","To-do List":"Edilmeli işleriň sanawy","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Turkuaz","Type or paste your content here.":"Mazmunyňyzy şu ýere ýazyň ýa-da goýuň.","Type your title":"Sözbaşyny ýazyň",Underline:"Aşagy çyzykly",Undo:"Yza gaýtar",Unlink:"Baglanyşygy aýyr",Update:"","Update image URL":"","Upload failed":"Ýükläp bolmady","Upload in progress":"Ýüklemek dowam edýär","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"Dik tekst tekizlemek gurallar paneli",White:"Ak","Widget toolbar":"Widget gurallar paneli",Width:"Ini","Wrap text":"",Yellow:"Sary","Yellow marker":"Sary marker"}),a.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index c763910288310e0614e8e64d7d48a3fe60308842..1a3edd666ce1a57b382527bedf53f0dda585b6f8 100644 (file)
@@ -1 +1 @@
-!function(e){const i=e.tr=e.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0/%1","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 center":"Ortala","Align left":"Sola hizala","Align right":"Sağa hizala","Align table to the left":"Tabloyu sola hizala","Align table to the right":"Tabloyu sağa hizala",Alignment:"Hizalama",Aquamarine:"Su Yeşili",Background:"Arkaplan",Big:"Büyük",Black:"Siyah","Block quote":"Alıntı",Blue:"Mavi","Blue marker":"Mavi işaretleyici",Bold:"Kalın",Border:"Kenar","Break text":"Metni böl","Bulleted List":"Simgeli Liste","Bulleted list styles toolbar":"Madde işaretli liste stilleri araç çubuğu",Cancel:"İptal","Caption for image: %0":"Resim için başlık: %0","Caption for the image":"Resim için başlık","Cell properties":"Hücre özellikleri","Center table":"Tabloyu ortala","Centered image":"Ortalanmış görsel","Change image text alternative":"Görsel alternatif yazısını değiştir","Choose heading":"Başlık tipi seç",Circle:"Çember",Code:"Kod",Color:"Renk","Color picker":"Renk seçici",Column:"Kolon",Dashed:"Kesik çizgili",Decimal:"Ondalık","Decimal with leading zero":"0'la başlayan ondalık","Decrease indent":"Girintiyi azalt",Default:"Varsayılan","Delete column":"Kolonu sil","Delete row":"Satırı sil","Dim grey":"Koyu Gri",Dimensions:"Ölçüler",Disc:"Disk","Document colors":"Belge Rengi",Dotted:"Noktalı",Double:"Çift",Downloadable:"İndirilebilir","Dropdown toolbar":"Açılır araç çubuğu","Edit block":"Bloğu Düzenle","Edit link":"Bağlantıyı değiştir","Edit source":"Kaynağı 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 editing area: %0":"Editör düzenleme alanı: %0","Editor toolbar":"Düzenleme araç çubuğu","Empty snippet content":"Snippet içeriği boş","Enter image caption":"Resim açıklaması gir","Enter table caption":"Tablo açıklaması gir","Font Background Color":"Yazı Tipi Arkaplan Rengi","Font Color":"Yazı Tipi Rengi","Font Family":"Yazı Tipi Ailesi","Font Size":"Yazı Boyutu","Full size image":"Tam Boyut Görsel",Green:"Yeşil","Green marker":"Yeşil işaretleyici","Green pen":"Yeşik kalem",Grey:"Gri",Groove:"Yiv","Header column":"Başlık kolonu","Header row":"Başlık satırı",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",Height:"Yükseklik",Highlight:"Vurgu","Horizontal line":"Yatay çiizgi","Horizontal text alignment toolbar":"Yatay metin hizalama araç çubuğu","HTML snippet":"HTML snippet'i",Huge:"Çok Büyük","Image resize list":"Resim yeniden boyutlandırma listesi","Image toolbar":"Resim araç çubuğu","image widget":"resim aracı","In line":"Aynı hizada","Increase indent":"Girintiyi arttır",Insert:"Ekle","Insert code block":"Kod bloğu ekle","Insert column left":"Sola kolon ekle","Insert column right":"Sağa kolon ekle","Insert HTML":"HTML ekle","Insert image":"Görsel Ekle","Insert image via URL":"URL ile görüntü ekle","Insert paragraph after block":"Bloktan sonra paragraf ekle","Insert paragraph before block":"Bloktan önce paragraf ekle","Insert row above":"Üste satır ekle","Insert row below":"Alta satır ekle","Insert table":"Tablo Ekle",Inset:"İçe",Italic:"İtalik",Justify:"İki yana yasla","Justify cell text":"Hücre içindeki metini iki yana yasla","Left aligned image":"Sola hizalı görsel","Light blue":"Açık Mavi","Light green":"Açık Yeşil","Light grey":"Açık Gri",Link:"Bağlantı","Link image":"Resim bağlantısı","Link URL":"Bağlantı Adresi","List properties":"Liste özellikleri","Lower-latin":"Küçük Latin harfleri","Lower–roman":"Küçük Roma rakamları","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",Next:"Sonraki","No preview available":"Önizleme yok",None:"Yok","Numbered List":"Numaralı Liste","Numbered list styles toolbar":"Numaralandırılmış liste stilleri araç çubuğu","Open in a new tab":"Yeni sekmede aç","Open link in new tab":"Yeni sekmede aç",Orange:"Turuncu",Original:"Orijinal",Outset:"Dışarıya",Padding:"İç boşluk",Paragraph:"Paragraf","Paste raw HTML here...":"Ham HTML'yi buraya yapıştırın...","Pink marker":"Pembe işaretleyici","Plain text":"Düz metin","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ı","Red pen":"Kırmızı kalem",Redo:"Tekrar yap","Remove color":"Rengi Sil","Remove Format":"Biçimlendirmeyi Kaldır","Remove highlight":"Vurgulamayı temizle","Resize image":"Resmi boyutlandır","Resize image to %0":"Resmi %0 ölçülerine boyutlandır","Resize image to the original size":"Resmi orijinal büyüklüğüne al","Restore default":"Varsayılanı geri yükle","Reversed order":"Ters sıralama","Rich Text Editor":"Zengin İçerik Editörü",Ridge:"Yükselti","Right aligned image":"Sağa hizalı görsel",Row:"Satır",Save:"Kaydet","Save changes":"Değişiklikleri kaydet","Saving changes":"Değişiklikler Kaydediliyor","Select all":"Hepsini seç","Select column":"Kolon seç","Select row":"Satır seç","Show more items":"Daha fazla öğe göster","Side image":"Yan Görsel",Small:"Küçük",Solid:"Dolu","Split cell horizontally":"Hücreyi yatay böl","Split cell vertically":"Hücreyi dikey böl",Square:"Kare","Start at":"Şununla başla","Start index must be greater than 0.":"Başlangıç dizini 0'dan büyük olmalıdır.",Strikethrough:"Üstü çizili",Style:"Stil",Subscript:"Alt Simge",Superscript:"Üst Simge","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","Text alignment":"Yazı hizalama","Text alignment toolbar":"Yazı Hizlama Araç Çubuğu","Text alternative":"Yazı alternatifi","Text highlight toolbar":"Yazı Vurgulama 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.',"This link has no URL":"Bağlantı adresi yok",Tiny:"Çok Küçük","To-do List":"Yapılacaklar Listesi","Toggle caption off":"Açıklamayı kapat","Toggle caption on":"Açıklamayı aç","Toggle the circle list style":"Çember liste stilini değiştir","Toggle the decimal list style":"Ondalık liste stilini değiştir","Toggle the decimal with leading zero list style":"0'la başlayan ondalık liste stilini değiştir","Toggle the disc list style":"Disk liste stilini değiştir","Toggle the lower–latin list style":"Küçük Latin harfleri liste stilini değiştir","Toggle the lower–roman list style":"Küçük Roma rakamları liste stilini değiştir","Toggle the square list style":"Kare liste stilini değiştir","Toggle the upper–latin list style":"Büyük Latin harfleri liste stilini değiştir","Toggle the upper–roman list style":"Büyük Roma rakamları liste stilini değiştir",Turquoise:"Turkuaz","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",Underline:"Altı Çizgili",Undo:"Geri al",Unlink:"Bağlantıyı kaldır",Update:"Güncelle","Update image URL":"Görüntü URL'sini güncelle","Upload failed":"Yükleme başarsız","Upload in progress":"Yükleme işlemi devam ediyor","Upper-latin":"Büyük Latin harfleri","Upper-roman":"Büyük Roma rakamları","Vertical text alignment toolbar":"Dikey metin hizalama araç çubuğu",White:"Beyaz","Widget toolbar":"Bileşen araç çubuğu",Width:"Genişlik","Wrap text":"Metni kaydır",Yellow:"Sarı","Yellow marker":"Sarı işaretleyici"}),i.getPluralForm=function(e){return e>1}}(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||{},{"%0 of %1":"%0/%1",Accept:"","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 center":"Ortala","Align left":"Sola hizala","Align right":"Sağa hizala","Align table to the left":"Tabloyu sola hizala","Align table to the right":"Tabloyu sağa hizala",Alignment:"Hizalama",Aquamarine:"Su Yeşili",Background:"Arkaplan",Big:"Büyük",Black:"Siyah","Block quote":"Alıntı",Blue:"Mavi","Blue marker":"Mavi işaretleyici",Bold:"Kalın",Border:"Kenar","Break text":"Metni böl","Bulleted List":"Simgeli Liste","Bulleted list styles toolbar":"Madde işaretli liste stilleri araç çubuğu",Cancel:"İptal","Caption for image: %0":"Resim için başlık: %0","Caption for the image":"Resim için başlık","Cell properties":"Hücre özellikleri","Center table":"Tabloyu ortala","Centered image":"Ortalanmış görsel","Change image text alternative":"Görsel alternatif yazısını değiştir","Choose heading":"Başlık tipi seç",Circle:"Çember",Code:"Kod",Color:"Renk","Color picker":"Renk seçici",Column:"Kolon",Dashed:"Kesik çizgili",Decimal:"Ondalık","Decimal with leading zero":"0'la başlayan ondalık","Decrease indent":"Girintiyi azalt",Default:"Varsayılan","Delete column":"Kolonu sil","Delete row":"Satırı sil","Dim grey":"Koyu Gri",Dimensions:"Ölçüler",Disc:"Disk","Document colors":"Belge Rengi",Dotted:"Noktalı",Double:"Çift",Downloadable:"İndirilebilir","Dropdown toolbar":"Açılır araç çubuğu","Edit block":"Bloğu Düzenle","Edit link":"Bağlantıyı değiştir","Edit source":"Kaynağı 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 editing area: %0":"Editör düzenleme alanı: %0","Editor toolbar":"Düzenleme araç çubuğu","Empty snippet content":"Snippet içeriği boş","Enter image caption":"Resim açıklaması gir","Enter table caption":"Tablo açıklaması gir","Font Background Color":"Yazı Tipi Arkaplan Rengi","Font Color":"Yazı Tipi Rengi","Font Family":"Yazı Tipi Ailesi","Font Size":"Yazı Boyutu","Full size image":"Tam Boyut Görsel",Green:"Yeşil","Green marker":"Yeşil işaretleyici","Green pen":"Yeşik kalem",Grey:"Gri",Groove:"Yiv","Header column":"Başlık kolonu","Header row":"Başlık satırı",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",Height:"Yükseklik",HEX:"",Highlight:"Vurgu","Horizontal line":"Yatay çiizgi","Horizontal text alignment toolbar":"Yatay metin hizalama araç çubuğu","HTML snippet":"HTML snippet'i",Huge:"Çok Büyük","Image resize list":"Resim yeniden boyutlandırma listesi","Image toolbar":"Resim araç çubuğu","image widget":"resim aracı","In line":"Aynı hizada","Increase indent":"Girintiyi arttır",Insert:"Ekle","Insert code block":"Kod bloğu ekle","Insert column left":"Sola kolon ekle","Insert column right":"Sağa kolon ekle","Insert HTML":"HTML ekle","Insert image":"Görsel Ekle","Insert image via URL":"URL ile görüntü ekle","Insert paragraph after block":"Bloktan sonra paragraf ekle","Insert paragraph before block":"Bloktan önce paragraf ekle","Insert row above":"Üste satır ekle","Insert row below":"Alta satır ekle","Insert table":"Tablo Ekle",Inset:"İçe",Italic:"İtalik",Justify:"İki yana yasla","Justify cell text":"Hücre içindeki metini iki yana yasla","Left aligned image":"Sola hizalı görsel","Light blue":"Açık Mavi","Light green":"Açık Yeşil","Light grey":"Açık Gri",Link:"Bağlantı","Link image":"Resim bağlantısı","Link URL":"Bağlantı Adresi","List properties":"Liste özellikleri","Lower-latin":"Küçük Latin harfleri","Lower–roman":"Küçük Roma rakamları","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",Next:"Sonraki","No preview available":"Önizleme yok",None:"Yok","Numbered List":"Numaralı Liste","Numbered list styles toolbar":"Numaralandırılmış liste stilleri araç çubuğu","Open in a new tab":"Yeni sekmede aç","Open link in new tab":"Yeni sekmede aç",Orange:"Turuncu",Original:"Orijinal",Outset:"Dışarıya",Padding:"İç boşluk",Paragraph:"Paragraf","Paste raw HTML here...":"Ham HTML'yi buraya yapıştırın...","Pink marker":"Pembe işaretleyici","Plain text":"Düz metin","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ı","Red pen":"Kırmızı kalem",Redo:"Tekrar yap","Remove color":"Rengi Sil","Remove Format":"Biçimlendirmeyi Kaldır","Remove highlight":"Vurgulamayı temizle","Resize image":"Resmi boyutlandır","Resize image to %0":"Resmi %0 ölçülerine boyutlandır","Resize image to the original size":"Resmi orijinal büyüklüğüne al","Restore default":"Varsayılanı geri yükle","Reversed order":"Ters sıralama","Rich Text Editor":"Zengin İçerik Editörü",Ridge:"Yükselti","Right aligned image":"Sağa hizalı görsel",Row:"Satır",Save:"Kaydet","Save changes":"Değişiklikleri kaydet","Saving changes":"Değişiklikler Kaydediliyor","Select all":"Hepsini seç","Select column":"Kolon seç","Select row":"Satır seç","Show more items":"Daha fazla öğe göster","Side image":"Yan Görsel",Small:"Küçük",Solid:"Dolu","Split cell horizontally":"Hücreyi yatay böl","Split cell vertically":"Hücreyi dikey böl",Square:"Kare","Start at":"Şununla başla","Start index must be greater than 0.":"Başlangıç dizini 0'dan büyük olmalıdır.",Strikethrough:"Üstü çizili",Style:"Stil",Subscript:"Alt Simge",Superscript:"Üst Simge","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","Text alignment":"Yazı hizalama","Text alignment toolbar":"Yazı Hizlama Araç Çubuğu","Text alternative":"Yazı alternatifi","Text highlight toolbar":"Yazı Vurgulama 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.',"This link has no URL":"Bağlantı adresi yok",Tiny:"Çok Küçük","To-do List":"Yapılacaklar Listesi","Toggle caption off":"Açıklamayı kapat","Toggle caption on":"Açıklamayı aç","Toggle the circle list style":"Çember liste stilini değiştir","Toggle the decimal list style":"Ondalık liste stilini değiştir","Toggle the decimal with leading zero list style":"0'la başlayan ondalık liste stilini değiştir","Toggle the disc list style":"Disk liste stilini değiştir","Toggle the lower–latin list style":"Küçük Latin harfleri liste stilini değiştir","Toggle the lower–roman list style":"Küçük Roma rakamları liste stilini değiştir","Toggle the square list style":"Kare liste stilini değiştir","Toggle the upper–latin list style":"Büyük Latin harfleri liste stilini değiştir","Toggle the upper–roman list style":"Büyük Roma rakamları liste stilini değiştir",Turquoise:"Turkuaz","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",Underline:"Altı Çizgili",Undo:"Geri al",Unlink:"Bağlantıyı kaldır",Update:"Güncelle","Update image URL":"Görüntü URL'sini güncelle","Upload failed":"Yükleme başarsız","Upload in progress":"Yükleme işlemi devam ediyor","Upper-latin":"Büyük Latin harfleri","Upper-roman":"Büyük Roma rakamları","Vertical text alignment toolbar":"Dikey metin hizalama araç çubuğu",White:"Beyaz","Widget toolbar":"Bileşen araç çubuğu",Width:"Genişlik","Wrap text":"Metni kaydır",Yellow:"Sarı","Yellow marker":"Sarı işaretleyici"}),i.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index e6ff01b88926cb26c7f58b1132dcd12896c33ec0..4a6cfbc84640380806e8a0e379d6cd1d10322760 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.tt=e.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","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:"",Aquamarine:"Аквамарин",Background:"",Black:"Кара",Blue:"Зәңгәр",Bold:"Калын",Border:"","Break text":"","Bulleted List":"","Bulleted list styles toolbar":"",Cancel:"Баш тарт","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"","Change image text alternative":"",Circle:"Түгәрәк",Code:"Код",Color:"Төс","Color picker":"",Column:"",Dashed:"",Decimal:"","Decimal with leading zero":"","Delete column":"","Delete row":"","Dim grey":"",Dimensions:"",Disc:"Диск",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"","Enter table caption":"","Full size image":"",Green:"Яшел",Grey:"Соры",Groove:"","Header column":"","Header row":"",Height:"","Horizontal text alignment toolbar":"","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"","Insert column left":"","Insert column right":"","Insert image":"","Insert image via URL":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"",Italic:"","Justify cell text":"","Left aligned image":"","Light blue":"Ачык зәңгәр","Light green":"Ачык яшел","Light grey":"Ачык соры",Link:"Сылтама","Link image":"","Link URL":"","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"",Next:"",None:"","Numbered List":"","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"Кызгылт",Original:"",Outset:"",Padding:"",Previous:"",Purple:"Шәмәхә",Red:"Кызыл",Redo:"Кабатла","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"",Ridge:"","Right aligned image":"",Row:"",Save:"Сакла","Select column":"","Select row":"","Show more items":"","Side image":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Style:"",Subscript:"",Superscript:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alternative":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","This link has no URL":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Фервоз",Underline:"",Undo:"",Unlink:"",Update:"Яңарт","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"Ак",Width:"","Wrap text":"",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||{},{"%0 of %1":"","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:"",Aquamarine:"Аквамарин",Background:"",Black:"Кара",Blue:"Зәңгәр",Bold:"Калын",Border:"","Break text":"","Bulleted List":"","Bulleted list styles toolbar":"",Cancel:"Баш тарт","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"","Change image text alternative":"",Circle:"Түгәрәк",Code:"Код",Color:"Төс","Color picker":"",Column:"",Dashed:"",Decimal:"","Decimal with leading zero":"","Delete column":"","Delete row":"","Dim grey":"",Dimensions:"",Disc:"Диск",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"","Enter table caption":"","Full size image":"",Green:"Яшел",Grey:"Соры",Groove:"","Header column":"","Header row":"",Height:"",HEX:"","Horizontal text alignment toolbar":"","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"","Insert column left":"","Insert column right":"","Insert image":"","Insert image via URL":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"",Italic:"","Justify cell text":"","Left aligned image":"","Light blue":"Ачык зәңгәр","Light green":"Ачык яшел","Light grey":"Ачык соры",Link:"Сылтама","Link image":"","Link URL":"","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"",Next:"",None:"","Numbered List":"","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"Кызгылт",Original:"",Outset:"",Padding:"",Previous:"",Purple:"Шәмәхә",Red:"Кызыл",Redo:"Кабатла","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"",Ridge:"","Right aligned image":"",Row:"",Save:"Сакла","Select column":"","Select row":"","Show more items":"","Side image":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"",Style:"",Subscript:"",Superscript:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alternative":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","This link has no URL":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Фервоз",Underline:"",Undo:"",Unlink:"",Update:"Яңарт","Update image URL":"","Upload failed":"","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"Ак",Width:"","Wrap text":"",Yellow:"Сары"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 2280a539e2dac9aa6b401bbc86a9624f11dfc9ee..0d13bf77d3bc907f7df3ea816365932af06f6684 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ug=e.ug||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 / %1","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 center":"ئوتتۇرىغا توغرىلاش","Align left":"سولغا توغرىلاش","Align right":"ئوڭغا توغرىلاش","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"چوڭ",Black:"","Block quote":"نەقىل",Blue:"",Bold:"توم",Border:"","Break text":"","Bulleted List":"بەلگە تىزىملىك","Bulleted list styles toolbar":"",Cancel:"ۋاز كەچ","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"ئوتتۇردىكى رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Choose heading":"ماۋزۇ تاللاش",Circle:"",Code:"كود",Color:"","Color picker":"",Column:"",Dashed:"",Decimal:"","Decimal with leading zero":"",Default:"سۈكۈتتىكى","Delete column":"","Delete row":"","Dim grey":"",Dimensions:"",Disc:"","Document colors":"",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Enter table caption":"","Font Background Color":"خەت تەگلىك رەڭگى","Font Color":"خەت رەڭگى","Font Family":"خەت نۇسخىسى","Font Size":"خەت چوڭلۇقى","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم",Green:"",Grey:"",Groove:"","Header column":"","Header row":"",Heading:"ماۋزۇ","Heading 1":"ماۋزۇ 1","Heading 2":"ماۋزۇ 2","Heading 3":"ماۋزۇ 3","Heading 4":"ماۋزۇ 4","Heading 5":"ماۋزۇ 5","Heading 6":"ماۋزۇ 6",Height:"","Horizontal text alignment toolbar":"",Huge:"زور","Image resize list":"","Image toolbar":"","image widget":"رەسىمچىك","In line":"",Insert:"","Insert code block":"كود بۆلىكى قىستۇر","Insert column left":"","Insert column right":"","Insert image":"رەسىم قىستۇرۇش","Insert image via URL":"","Insert row above":"","Insert row below":"","Insert table":"جەدۋەل قىستۇر",Inset:"",Italic:"يانتۇ",Justify:"ئوڭ سولدىن توغرىلا","Justify cell text":"","Left aligned image":"سولغا توغۇرلانغان رەسىم","Light blue":"","Light green":"","Light grey":"",Link:"ئۇلانما","Link image":"","Link URL":"ئۇلاش ئادىرسى","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"",Next:"",None:"","Numbered List":"نومۇرلۇق تىزىملىك","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Outset:"",Padding:"",Paragraph:"ئابزاس","Plain text":"ساپ تېكىست",Previous:"",Purple:"",Red:"",Redo:"تەكرارلاش","Remove color":"رەڭنى چىقىرىۋەت","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"كۆڭۈلدىكىگە قايتۇر","Reversed order":"","Rich Text Editor":"تېكىست تەھرىرلىگۈچ",Ridge:"","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم",Row:"",Save:"ساقلا","Saving changes":"ئۆزگەرتىشلەرنى ساقلاش","Select column":"","Select row":"","Show more items":"تېخىمۇ كۆپ تۈرنى كۆرسەت","Side image":"يان رەسىم",Small:"كىچىك",Solid:"","Split cell horizontally":"","Split cell vertically":"",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"ئۆچۈرۈش سىزىقى",Style:"",Subscript:"ئاستبەلگە",Superscript:"ئۈستبەلگە","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"تېكىست توغرىلاش","Text alignment toolbar":"تېكىست توغرىلاش قورالبالدىقى","Text alternative":"تېكىست ئاملاشتۇرۇش",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","This link has no URL":"",Tiny:"ئەڭ كىچىك","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"ئاستى سىزىق",Undo:"يېنىۋېلىش",Unlink:"ئۇلانمىنى ئۈزۈش",Update:"","Update image URL":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"",Width:"","Wrap text":"",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||{},{"%0 of %1":"%0 / %1",Accept:"","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 center":"ئوتتۇرىغا توغرىلاش","Align left":"سولغا توغرىلاش","Align right":"ئوڭغا توغرىلاش","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"",Background:"",Big:"چوڭ",Black:"","Block quote":"نەقىل",Blue:"",Bold:"توم",Border:"","Break text":"","Bulleted List":"بەلگە تىزىملىك","Bulleted list styles toolbar":"",Cancel:"ۋاز كەچ","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"ئوتتۇردىكى رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Choose heading":"ماۋزۇ تاللاش",Circle:"",Code:"كود",Color:"","Color picker":"",Column:"",Dashed:"",Decimal:"","Decimal with leading zero":"",Default:"سۈكۈتتىكى","Delete column":"","Delete row":"","Dim grey":"",Dimensions:"",Disc:"","Document colors":"",Dotted:"",Double:"",Downloadable:"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Enter table caption":"","Font Background Color":"خەت تەگلىك رەڭگى","Font Color":"خەت رەڭگى","Font Family":"خەت نۇسخىسى","Font Size":"خەت چوڭلۇقى","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم",Green:"",Grey:"",Groove:"","Header column":"","Header row":"",Heading:"ماۋزۇ","Heading 1":"ماۋزۇ 1","Heading 2":"ماۋزۇ 2","Heading 3":"ماۋزۇ 3","Heading 4":"ماۋزۇ 4","Heading 5":"ماۋزۇ 5","Heading 6":"ماۋزۇ 6",Height:"",HEX:"","Horizontal text alignment toolbar":"",Huge:"زور","Image resize list":"","Image toolbar":"","image widget":"رەسىمچىك","In line":"",Insert:"","Insert code block":"كود بۆلىكى قىستۇر","Insert column left":"","Insert column right":"","Insert image":"رەسىم قىستۇرۇش","Insert image via URL":"","Insert row above":"","Insert row below":"","Insert table":"جەدۋەل قىستۇر",Inset:"",Italic:"يانتۇ",Justify:"ئوڭ سولدىن توغرىلا","Justify cell text":"","Left aligned image":"سولغا توغۇرلانغان رەسىم","Light blue":"","Light green":"","Light grey":"",Link:"ئۇلانما","Link image":"","Link URL":"ئۇلاش ئادىرسى","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"",Next:"",None:"","Numbered List":"نومۇرلۇق تىزىملىك","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"",Orange:"",Original:"",Outset:"",Padding:"",Paragraph:"ئابزاس","Plain text":"ساپ تېكىست",Previous:"",Purple:"",Red:"",Redo:"تەكرارلاش","Remove color":"رەڭنى چىقىرىۋەت","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"كۆڭۈلدىكىگە قايتۇر","Reversed order":"","Rich Text Editor":"تېكىست تەھرىرلىگۈچ",Ridge:"","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم",Row:"",Save:"ساقلا","Saving changes":"ئۆزگەرتىشلەرنى ساقلاش","Select column":"","Select row":"","Show more items":"تېخىمۇ كۆپ تۈرنى كۆرسەت","Side image":"يان رەسىم",Small:"كىچىك",Solid:"","Split cell horizontally":"","Split cell vertically":"",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"ئۆچۈرۈش سىزىقى",Style:"",Subscript:"ئاستبەلگە",Superscript:"ئۈستبەلگە","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"تېكىست توغرىلاش","Text alignment toolbar":"تېكىست توغرىلاش قورالبالدىقى","Text alternative":"تېكىست ئاملاشتۇرۇش",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","This link has no URL":"",Tiny:"ئەڭ كىچىك","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"ئاستى سىزىق",Undo:"يېنىۋېلىش",Unlink:"ئۇلانمىنى ئۈزۈش",Update:"","Update image URL":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"",Width:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 74f71737a12503b9a48820fbd14027b3d2951eda..351695a0ec7dc358feb96cea17347af9534e605c 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.uk=e.uk||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 із %1","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 center":"По центру","Align left":"По лівому краю","Align right":"По правому краю","Align table to the left":"Вирівняти таблицю по лівому краю","Align table to the right":"Вирівняти таблицю по правому краю ",Alignment:"Вирівнювання",Aquamarine:"Аквамариновий",Background:"Фон",Big:"Великий",Black:"Чорний","Block quote":"Цитата",Blue:"Синій","Blue marker":"Синій маркер",Bold:"Жирний",Border:"Межа","Break text":"Розірвати тексту","Bulleted List":"Маркерний список","Bulleted list styles toolbar":"Панель маркерних списків",Cancel:"Відміна","Caption for image: %0":"Підпис до зображення: %0","Caption for the image":"Підпис до зображення","Cell properties":"Властивості комірок","Center table":"Відцентрувати таблицю","Centered image":"Зображення по центру","Change image text alternative":"Змінити текстову альтернативу зображення","Choose heading":"Оберіть заголовок",Circle:"Коло",Code:"Код",Color:"Колір","Color picker":"Вибір кольору",Column:"Стовпець",Dashed:"Пунктирна",Decimal:"Цифри","Decimal with leading zero":"Цифри із провідним нулем","Decrease indent":"Зменшити відступ",Default:"За замовчуванням","Delete column":"Видалити стовпець","Delete row":"Видалити рядок","Dim grey":"Темно-сірий",Dimensions:"Розміри",Disc:"Круг","Document colors":"Кольори документу",Dotted:"Точкова",Double:"Подвійна",Downloadable:"Завантажувальне","Dropdown toolbar":"Випадаюча панель інструментів","Edit block":"Редагувати блок","Edit link":"Редагувати посилання","Edit source":"Редагувати джерело","Editor block content toolbar":"Панель інструментів вмісту блоку редактора","Editor contextual toolbar":"Контекстна панель інструментів редактора","Editor editing area: %0":"Область редагування редактора: %0","Editor toolbar":"Панель інструментів редактора","Empty snippet content":"Порожній вміст","Enter image caption":"Введіть підпис зображення","Enter table caption":"Введіть підпис таблиці","Font Background Color":"Колір тла шрифту","Font Color":"Колір шрифту","Font Family":"Сімейство шрифтів","Font Size":"Розмір шрифту","Full size image":"Повний розмір зображення",Green:"Зелений","Green marker":"Зелений маркер","Green pen":"Зелений маркер",Grey:"Сірий",Groove:"Жолобчаста","Header column":"Заголовок стовпця","Header row":"Заголовок рядка",Heading:"Заголовок","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6",Height:"Висота",Highlight:"Виділення","Horizontal line":"Горизонтальна лінія","Horizontal text alignment toolbar":"Панель інструментів вирівнювання горизонтального тексту","HTML snippet":"Фрагмент HTML",Huge:"Величезний","Image resize list":"Перелік розмірів","Image toolbar":"Панелі інструментів зображення","image widget":"Віджет зображення","In line":"В тексті","Increase indent":"Збільшити відступ",Insert:"Вставити","Insert code block":"Вставте блок коду","Insert column left":"Вставити стовпець зліва","Insert column right":"Вставити стовпець справа","Insert HTML":"Вставити HTML","Insert image":"Вставити зображення","Insert image via URL":"Вставити зображення через посилання","Insert paragraph after block":"Додати абзац після блока","Insert paragraph before block":"Додати абзац перед блоком","Insert row above":"Вставити рядок знизу","Insert row below":"Вставити рядок зверху","Insert table":"Вставити таблицю",Inset:"Угнута",Italic:"Курсив",Justify:"По ширині","Justify cell text":"Вирівняти текст по ширині ","Left aligned image":"Зображення ліворуч","Light blue":"Світло-синій","Light green":"Світло-зелений","Light grey":"Світло-сірий",Link:"Посилання","Link image":"Посилання зображення","Link URL":"URL посилання","List properties":"Список властивостей","Lower-latin":"Нижній латинський","Lower–roman":"Нижньо-римський","Merge cell down":"Поєднати комірки внизу","Merge cell left":"Поєднати комірки ліворуч","Merge cell right":"Поєднати комірки праворуч","Merge cell up":"Поєднати комірки вгору","Merge cells":"Поєднати комірки",Next:"Наступний","No preview available":"Попередній перегляд недоступний",None:"Не вказано","Numbered List":"Нумерований список","Numbered list styles toolbar":"Панель нумерованих списків","Open in a new tab":"Вікрити у новій вкладці","Open link in new tab":"Відкрити посилання у новій вкладці",Orange:"Помаранчевий",Original:"Оригінал",Outset:"Випукла",Padding:"Заповнення",Paragraph:"Параграф","Paste raw HTML here...":"Вставте сюди необроблений HTML...","Pink marker":"Рожевий маркер","Plain text":"Простий текст","Press Enter to type after or press Shift + Enter to type before the widget":"Натисніть Enter, щоб друкувати після або натисніть Shift + Enter, щоб друкувати перед віджетом",Previous:"Попередній",Purple:"Фіолетовий",Red:"Червоний","Red pen":"Червоний маркер",Redo:"Повтор","Remove color":"Видалити колір","Remove Format":"Видалити форматування","Remove highlight":"Видалити виділення","Resize image":"Розтягнути зображення","Resize image to %0":"Розтягнути зображення до %0","Resize image to the original size":"Розтягнути зображення до оригінального розміру","Restore default":"Відновити за замовчуванням","Reversed order":"Зворотний порядок","Rich Text Editor":"Розширений текстовий редактор",Ridge:"Ребриста","Right aligned image":"Зображення праворуч",Row:"Рядок",Save:"Зберегти","Save changes":"Зберегти зміни","Saving changes":"Збереження змін","Select all":"Вибрати все","Select column":"Виберіть стовпчик","Select row":"Виберіть рядок","Show more items":"Показати більше","Side image":"Бокове зображення",Small:"Маленький",Solid:"Суцільний","Split cell horizontally":"Розділити комірки горизонтально","Split cell vertically":"Розділити комірки вертикально",Square:"Квадрат","Start at":"Початок при","Start index must be greater than 0.":"Початковий індекс має бути більше 0.",Strikethrough:"Закреслений",Style:"Стиль",Subscript:"Нижній індекс",Superscript:"Верхній індекс","Table alignment toolbar":"Панель інструментів вирівнювання таблиці","Table cell text alignment":"Вирівнювання тексту комірки","Table properties":"Властивості таблиці","Table toolbar":"Панель інструментів таблиці","Text alignment":"Вирівнювання тексту","Text alignment toolbar":"Панель інструментів вирівнювання тексту","Text alternative":"Текстова альтернатива","Text highlight 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"',"This link has no URL":"Це посилання не має URL",Tiny:"Крихітний","To-do List":"Список справ","Toggle caption off":"Вимкнути підпис","Toggle caption on":"Увімкнути підпис","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":"Перемкнути верхньо-римський стиль списку",Turquoise:"Бірюзовий","Type or paste your content here.":"Введіть або вставте свій вміст тут.","Type your title":"Введіть назву",Underline:"Підкреслений",Undo:"Відміна",Unlink:"Видалити посилання",Update:"Оновити","Update image URL":"Оновити посилання на зображення","Upload failed":"Завантаження не вдалось","Upload in progress":"Виконується завантаження","Upper-latin":"Верхній латинський ","Upper-roman":"Верхньо-римський","Vertical text alignment toolbar":"Панель інструментів вертикального вирівнювання тексту",White:"Білий","Widget toolbar":"Панель інструментів віджетів",Width:"Ширина","Wrap text":"Обернути текст",Yellow:"Жовтий","Yellow marker":"Жовтий маркер"}),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||{},{"%0 of %1":"%0 із %1",Accept:"","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 center":"По центру","Align left":"По лівому краю","Align right":"По правому краю","Align table to the left":"Вирівняти таблицю по лівому краю","Align table to the right":"Вирівняти таблицю по правому краю ",Alignment:"Вирівнювання",Aquamarine:"Аквамариновий",Background:"Фон",Big:"Великий",Black:"Чорний","Block quote":"Цитата",Blue:"Синій","Blue marker":"Синій маркер",Bold:"Жирний",Border:"Межа","Break text":"Розірвати тексту","Bulleted List":"Маркерний список","Bulleted list styles toolbar":"Панель маркерних списків",Cancel:"Відміна","Caption for image: %0":"Підпис до зображення: %0","Caption for the image":"Підпис до зображення","Cell properties":"Властивості комірок","Center table":"Відцентрувати таблицю","Centered image":"Зображення по центру","Change image text alternative":"Змінити текстову альтернативу зображення","Choose heading":"Оберіть заголовок",Circle:"Коло",Code:"Код",Color:"Колір","Color picker":"Вибір кольору",Column:"Стовпець",Dashed:"Пунктирна",Decimal:"Цифри","Decimal with leading zero":"Цифри із провідним нулем","Decrease indent":"Зменшити відступ",Default:"За замовчуванням","Delete column":"Видалити стовпець","Delete row":"Видалити рядок","Dim grey":"Темно-сірий",Dimensions:"Розміри",Disc:"Круг","Document colors":"Кольори документу",Dotted:"Точкова",Double:"Подвійна",Downloadable:"Завантажувальне","Dropdown toolbar":"Випадаюча панель інструментів","Edit block":"Редагувати блок","Edit link":"Редагувати посилання","Edit source":"Редагувати джерело","Editor block content toolbar":"Панель інструментів вмісту блоку редактора","Editor contextual toolbar":"Контекстна панель інструментів редактора","Editor editing area: %0":"Область редагування редактора: %0","Editor toolbar":"Панель інструментів редактора","Empty snippet content":"Порожній вміст","Enter image caption":"Введіть підпис зображення","Enter table caption":"Введіть підпис таблиці","Font Background Color":"Колір тла шрифту","Font Color":"Колір шрифту","Font Family":"Сімейство шрифтів","Font Size":"Розмір шрифту","Full size image":"Повний розмір зображення",Green:"Зелений","Green marker":"Зелений маркер","Green pen":"Зелений маркер",Grey:"Сірий",Groove:"Жолобчаста","Header column":"Заголовок стовпця","Header row":"Заголовок рядка",Heading:"Заголовок","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6",Height:"Висота",HEX:"",Highlight:"Виділення","Horizontal line":"Горизонтальна лінія","Horizontal text alignment toolbar":"Панель інструментів вирівнювання горизонтального тексту","HTML snippet":"Фрагмент HTML",Huge:"Величезний","Image resize list":"Перелік розмірів","Image toolbar":"Панелі інструментів зображення","image widget":"Віджет зображення","In line":"В тексті","Increase indent":"Збільшити відступ",Insert:"Вставити","Insert code block":"Вставте блок коду","Insert column left":"Вставити стовпець зліва","Insert column right":"Вставити стовпець справа","Insert HTML":"Вставити HTML","Insert image":"Вставити зображення","Insert image via URL":"Вставити зображення через посилання","Insert paragraph after block":"Додати абзац після блока","Insert paragraph before block":"Додати абзац перед блоком","Insert row above":"Вставити рядок знизу","Insert row below":"Вставити рядок зверху","Insert table":"Вставити таблицю",Inset:"Угнута",Italic:"Курсив",Justify:"По ширині","Justify cell text":"Вирівняти текст по ширині ","Left aligned image":"Зображення ліворуч","Light blue":"Світло-синій","Light green":"Світло-зелений","Light grey":"Світло-сірий",Link:"Посилання","Link image":"Посилання зображення","Link URL":"URL посилання","List properties":"Список властивостей","Lower-latin":"Нижній латинський","Lower–roman":"Нижньо-римський","Merge cell down":"Поєднати комірки внизу","Merge cell left":"Поєднати комірки ліворуч","Merge cell right":"Поєднати комірки праворуч","Merge cell up":"Поєднати комірки вгору","Merge cells":"Поєднати комірки",Next:"Наступний","No preview available":"Попередній перегляд недоступний",None:"Не вказано","Numbered List":"Нумерований список","Numbered list styles toolbar":"Панель нумерованих списків","Open in a new tab":"Вікрити у новій вкладці","Open link in new tab":"Відкрити посилання у новій вкладці",Orange:"Помаранчевий",Original:"Оригінал",Outset:"Випукла",Padding:"Заповнення",Paragraph:"Параграф","Paste raw HTML here...":"Вставте сюди необроблений HTML...","Pink marker":"Рожевий маркер","Plain text":"Простий текст","Press Enter to type after or press Shift + Enter to type before the widget":"Натисніть Enter, щоб друкувати після або натисніть Shift + Enter, щоб друкувати перед віджетом",Previous:"Попередній",Purple:"Фіолетовий",Red:"Червоний","Red pen":"Червоний маркер",Redo:"Повтор","Remove color":"Видалити колір","Remove Format":"Видалити форматування","Remove highlight":"Видалити виділення","Resize image":"Розтягнути зображення","Resize image to %0":"Розтягнути зображення до %0","Resize image to the original size":"Розтягнути зображення до оригінального розміру","Restore default":"Відновити за замовчуванням","Reversed order":"Зворотний порядок","Rich Text Editor":"Розширений текстовий редактор",Ridge:"Ребриста","Right aligned image":"Зображення праворуч",Row:"Рядок",Save:"Зберегти","Save changes":"Зберегти зміни","Saving changes":"Збереження змін","Select all":"Вибрати все","Select column":"Виберіть стовпчик","Select row":"Виберіть рядок","Show more items":"Показати більше","Side image":"Бокове зображення",Small:"Маленький",Solid:"Суцільний","Split cell horizontally":"Розділити комірки горизонтально","Split cell vertically":"Розділити комірки вертикально",Square:"Квадрат","Start at":"Початок при","Start index must be greater than 0.":"Початковий індекс має бути більше 0.",Strikethrough:"Закреслений",Style:"Стиль",Subscript:"Нижній індекс",Superscript:"Верхній індекс","Table alignment toolbar":"Панель інструментів вирівнювання таблиці","Table cell text alignment":"Вирівнювання тексту комірки","Table properties":"Властивості таблиці","Table toolbar":"Панель інструментів таблиці","Text alignment":"Вирівнювання тексту","Text alignment toolbar":"Панель інструментів вирівнювання тексту","Text alternative":"Текстова альтернатива","Text highlight 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"',"This link has no URL":"Це посилання не має URL",Tiny:"Крихітний","To-do List":"Список справ","Toggle caption off":"Вимкнути підпис","Toggle caption on":"Увімкнути підпис","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":"Перемкнути верхньо-римський стиль списку",Turquoise:"Бірюзовий","Type or paste your content here.":"Введіть або вставте свій вміст тут.","Type your title":"Введіть назву",Underline:"Підкреслений",Undo:"Відміна",Unlink:"Видалити посилання",Update:"Оновити","Update image URL":"Оновити посилання на зображення","Upload failed":"Завантаження не вдалось","Upload in progress":"Виконується завантаження","Upper-latin":"Верхній латинський ","Upper-roman":"Верхньо-римський","Vertical text alignment toolbar":"Панель інструментів вертикального вирівнювання тексту",White:"Білий","Widget toolbar":"Панель інструментів віджетів",Width:"Ширина","Wrap text":"Обернути текст",Yellow:"Жовтий","Yellow marker":"Жовтий маркер"}),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
index fbf937cdbb56201aec1006e7372333087a98df6c..bfc759c52fb3c92f3805c8e6f06b867fa67219d4 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.ur=e.ur||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"0% میں سے 1%","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 center":"درمیانی سیدھ","Align left":"بائیں سیدھ","Align right":"دائیں سیدھ","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"نیلگوں بلور",Background:"",Big:"بڑا",Black:"سیاہ","Block quote":"خانہ اقتباس",Blue:"نیلا","Blue marker":"نیلا نشان",Bold:"جلّی",Border:"حاشیہ","Break text":"متن تقسیم کریں","Bulleted List":"غیر ہندسی فہرست","Bulleted list styles toolbar":"",Cancel:"منسوخ","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"","Change image text alternative":"","Choose heading":"سرخی منتخب کریں",Circle:"",Code:"کوڈ",Color:"رنگ","Color picker":"",Column:"ستون",Dashed:"قطعہ دار",Decimal:"","Decimal with leading zero":"","Decrease indent":"حاشیہ گھٹائیں",Default:"طے شدہ","Delete column":"ستون حذف کریں","Delete row":"قطار حذف کریں","Dim grey":"پھیکا سرمئی",Dimensions:"",Disc:"","Document colors":"دستاویز کے رنگ",Dotted:"نقطہ دار",Double:"دو گنا",Downloadable:"ڈاؤنلوڈ ہو سکتا ہے","Dropdown toolbar":"آلہ جات برائے فہرست ","Edit block":"خانہ کی تدوین","Edit link":"ربط کی تدوین","Edit source":"ماخذ کی تدوین","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"رقبہ خانۂ ترمیم: 0%","Editor toolbar":"ایڈیٹر آلہ جات","Empty snippet content":"مندرجاتِ تراشہ خالی ہیں","Enter image caption":"","Enter table caption":"","Font Background Color":"فانٹ کے پس منظر کا رنگ","Font Color":"فانٹ کا رنگ","Font Family":"فانٹ خاندان","Font Size":"فانٹ کا حجم","Full size image":"مکمل پہمائش کا عکس",Green:"سبز","Green marker":"سبز نشان","Green pen":"سبز قلم",Grey:"سرمئی",Groove:"","Header column":"سر ستون","Header row":"سر قطار",Heading:"سرخی","Heading 1":"سرخی 1","Heading 2":"سرخی 2","Heading 3":"سرخی 3","Heading 4":"سرخی 4","Heading 5":"سرخی 5","Heading 6":"سرخی 6",Height:"اونچائی",Highlight:"نمایاں","Horizontal line":"افقی خط","Horizontal text alignment toolbar":"","HTML snippet":"ایچ ٹی ایم ایل تراشہ",Huge:"جسيم","Image resize list":"","Image toolbar":"آلہ جات برائے عکس","image widget":"آلۂ عکس","In line":"","Increase indent":"حاشیہ بڑھائیں",Insert:"","Insert code block":"کوڈ خانہ نصب کیرں","Insert column left":"بائیں جانب کالم بنائیں","Insert column right":"دائیں جانب کالم بنائیں","Insert HTML":"ایچ ٹی ایم ایل نصب کریں","Insert image":"","Insert image via URL":"","Insert paragraph after block":"پیراگراف کے بعد کوڈ خانہ نصب کریں","Insert paragraph before block":"پیراگراف سے پہلے کوڈ خانہ نصب کریں","Insert row above":"قطار بالا نصب کریں","Insert row below":"قطار زیریں نصب کریں","Insert table":"جدول داخل کریں",Inset:"",Italic:"ترچھا",Justify:"برابر سیدھ","Justify cell text":"","Left aligned image":"","Light blue":"ہلکا نیلا","Light green":"ہلکا سبز","Light grey":"ہلکا سرمئی",Link:"ربط","Link image":"","Link URL":"ربط کا یو آر ایل","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"سیل نچلی طرف یکجا کریں","Merge cell left":"سیل بائیں طرف یکجا کریں","Merge cell right":"سیل دائیں طرف یکجا کریں","Merge cell up":"سیل اوپر یکجا کریں","Merge cells":"سیل یکجا کریں",Next:"اگلا","No preview available":"نمائش دستیاب نہیں",None:"","Numbered List":"ہندسی فہرست","Numbered list styles toolbar":"","Open in a new tab":"نئی ٹیب کھولیں","Open link in new tab":"نئے ٹیب میں کھولیں",Orange:"نارنجی",Original:"",Outset:"",Padding:"",Paragraph:"پیرا","Paste raw HTML here...":"خام ایچ ٹی ایم ایل یہاں چسپاں کریں۔۔۔","Pink marker":"گلابی نشان","Plain text":"سادہ متن","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پچھلا",Purple:"ارغوانی",Red:"سرخ","Red pen":"سرخ قلم",Redo:"پھر سے کریں","Remove color":"رنگ حذف کریں","Remove Format":"فارمیٹ ہٹائیں","Remove highlight":"غیر نمایاں کریں","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"طے شدہ بحال","Reversed order":"","Rich Text Editor":"خانۂ ترمیم",Ridge:"","Right aligned image":"",Row:"قطار",Save:"محفوظ","Save changes":"تبدیلیاں محفوظ کریں","Saving changes":"خودکار محفوظ","Select all":"سب منتخب کریں","Select column":"","Select row":"","Show more items":"مزید مواد کی نمائش کریں","Side image":"عکس بہ پہلو",Small:"چھوٹا",Solid:"","Split cell horizontally":"سیل کی افقی تقسیم","Split cell vertically":"سیل کی عمودی تقسیم",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"خط کشیدہ",Style:"",Subscript:"زير نوشت",Superscript:"بالا نوشت","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"آلہ جات برائے جدول","Text alignment":"متن کی سیدھ","Text alignment toolbar":"خانہ آلات برائے سیدھ","Text alternative":"","Text highlight 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".':"","This link has no URL":"ربط کا کوئی یو آر ایل نہیں",Tiny:"ننھا","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"فیروزی","Type or paste your content here.":"اپنا مواد یہاں ٹایپ یا چسپاں کریں.","Type your title":"عنوان ٹایپ کریں",Underline:"ترچھا",Undo:"رد ترمیم",Unlink:"ربط حذف کریں",Update:"","Update image URL":"","Upload failed":"","Upload in progress":"آپلوڈ جاری ہے","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"سفید","Widget toolbar":"آلہ جات برائے وجٹ",Width:"چوڑائی","Wrap text":"ملفوف متن",Yellow:"پیلا","Yellow marker":"پیلا نشان"}),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||{},{"%0 of %1":"0% میں سے 1%",Accept:"","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 center":"درمیانی سیدھ","Align left":"بائیں سیدھ","Align right":"دائیں سیدھ","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"نیلگوں بلور",Background:"",Big:"بڑا",Black:"سیاہ","Block quote":"خانہ اقتباس",Blue:"نیلا","Blue marker":"نیلا نشان",Bold:"جلّی",Border:"حاشیہ","Break text":"متن تقسیم کریں","Bulleted List":"غیر ہندسی فہرست","Bulleted list styles toolbar":"",Cancel:"منسوخ","Caption for image: %0":"","Caption for the image":"","Cell properties":"","Center table":"","Centered image":"","Change image text alternative":"","Choose heading":"سرخی منتخب کریں",Circle:"",Code:"کوڈ",Color:"رنگ","Color picker":"",Column:"ستون",Dashed:"قطعہ دار",Decimal:"","Decimal with leading zero":"","Decrease indent":"حاشیہ گھٹائیں",Default:"طے شدہ","Delete column":"ستون حذف کریں","Delete row":"قطار حذف کریں","Dim grey":"پھیکا سرمئی",Dimensions:"",Disc:"","Document colors":"دستاویز کے رنگ",Dotted:"نقطہ دار",Double:"دو گنا",Downloadable:"ڈاؤنلوڈ ہو سکتا ہے","Dropdown toolbar":"آلہ جات برائے فہرست ","Edit block":"خانہ کی تدوین","Edit link":"ربط کی تدوین","Edit source":"ماخذ کی تدوین","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"رقبہ خانۂ ترمیم: 0%","Editor toolbar":"ایڈیٹر آلہ جات","Empty snippet content":"مندرجاتِ تراشہ خالی ہیں","Enter image caption":"","Enter table caption":"","Font Background Color":"فانٹ کے پس منظر کا رنگ","Font Color":"فانٹ کا رنگ","Font Family":"فانٹ خاندان","Font Size":"فانٹ کا حجم","Full size image":"مکمل پہمائش کا عکس",Green:"سبز","Green marker":"سبز نشان","Green pen":"سبز قلم",Grey:"سرمئی",Groove:"","Header column":"سر ستون","Header row":"سر قطار",Heading:"سرخی","Heading 1":"سرخی 1","Heading 2":"سرخی 2","Heading 3":"سرخی 3","Heading 4":"سرخی 4","Heading 5":"سرخی 5","Heading 6":"سرخی 6",Height:"اونچائی",HEX:"",Highlight:"نمایاں","Horizontal line":"افقی خط","Horizontal text alignment toolbar":"","HTML snippet":"ایچ ٹی ایم ایل تراشہ",Huge:"جسيم","Image resize list":"","Image toolbar":"آلہ جات برائے عکس","image widget":"آلۂ عکس","In line":"","Increase indent":"حاشیہ بڑھائیں",Insert:"","Insert code block":"کوڈ خانہ نصب کیرں","Insert column left":"بائیں جانب کالم بنائیں","Insert column right":"دائیں جانب کالم بنائیں","Insert HTML":"ایچ ٹی ایم ایل نصب کریں","Insert image":"","Insert image via URL":"","Insert paragraph after block":"پیراگراف کے بعد کوڈ خانہ نصب کریں","Insert paragraph before block":"پیراگراف سے پہلے کوڈ خانہ نصب کریں","Insert row above":"قطار بالا نصب کریں","Insert row below":"قطار زیریں نصب کریں","Insert table":"جدول داخل کریں",Inset:"",Italic:"ترچھا",Justify:"برابر سیدھ","Justify cell text":"","Left aligned image":"","Light blue":"ہلکا نیلا","Light green":"ہلکا سبز","Light grey":"ہلکا سرمئی",Link:"ربط","Link image":"","Link URL":"ربط کا یو آر ایل","List properties":"","Lower-latin":"","Lower–roman":"","Merge cell down":"سیل نچلی طرف یکجا کریں","Merge cell left":"سیل بائیں طرف یکجا کریں","Merge cell right":"سیل دائیں طرف یکجا کریں","Merge cell up":"سیل اوپر یکجا کریں","Merge cells":"سیل یکجا کریں",Next:"اگلا","No preview available":"نمائش دستیاب نہیں",None:"","Numbered List":"ہندسی فہرست","Numbered list styles toolbar":"","Open in a new tab":"نئی ٹیب کھولیں","Open link in new tab":"نئے ٹیب میں کھولیں",Orange:"نارنجی",Original:"",Outset:"",Padding:"",Paragraph:"پیرا","Paste raw HTML here...":"خام ایچ ٹی ایم ایل یہاں چسپاں کریں۔۔۔","Pink marker":"گلابی نشان","Plain text":"سادہ متن","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"پچھلا",Purple:"ارغوانی",Red:"سرخ","Red pen":"سرخ قلم",Redo:"پھر سے کریں","Remove color":"رنگ حذف کریں","Remove Format":"فارمیٹ ہٹائیں","Remove highlight":"غیر نمایاں کریں","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"طے شدہ بحال","Reversed order":"","Rich Text Editor":"خانۂ ترمیم",Ridge:"","Right aligned image":"",Row:"قطار",Save:"محفوظ","Save changes":"تبدیلیاں محفوظ کریں","Saving changes":"خودکار محفوظ","Select all":"سب منتخب کریں","Select column":"","Select row":"","Show more items":"مزید مواد کی نمائش کریں","Side image":"عکس بہ پہلو",Small:"چھوٹا",Solid:"","Split cell horizontally":"سیل کی افقی تقسیم","Split cell vertically":"سیل کی عمودی تقسیم",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"خط کشیدہ",Style:"",Subscript:"زير نوشت",Superscript:"بالا نوشت","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"آلہ جات برائے جدول","Text alignment":"متن کی سیدھ","Text alignment toolbar":"خانہ آلات برائے سیدھ","Text alternative":"","Text highlight 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".':"","This link has no URL":"ربط کا کوئی یو آر ایل نہیں",Tiny:"ننھا","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"فیروزی","Type or paste your content here.":"اپنا مواد یہاں ٹایپ یا چسپاں کریں.","Type your title":"عنوان ٹایپ کریں",Underline:"ترچھا",Undo:"رد ترمیم",Unlink:"ربط حذف کریں",Update:"","Update image URL":"","Upload failed":"","Upload in progress":"آپلوڈ جاری ہے","Upper-latin":"","Upper-roman":"","Vertical text alignment toolbar":"",White:"سفید","Widget toolbar":"آلہ جات برائے وجٹ",Width:"چوڑائی","Wrap text":"ملفوف متن",Yellow:"پیلا","Yellow marker":"پیلا نشان"}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 70015d7124dc6971ba8e520821e12f79ace2f667..f70f8a4dae427eee31b7b58cd8513def75ac8ea5 100644 (file)
@@ -1 +1 @@
-!function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"","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 center":"O'rtada tekislash","Align left":"Chap tomonda tekislash","Align right":"O'ng tomonda tekislash","Align table to the left":"Jadvalni chap tomonga tekislash","Align table to the right":"Jadvalni o'ngga tekislash",Alignment:"Tekislash",Aquamarine:"Akuamarin",Background:"Fon",Big:"Katta",Black:"Qora","Block quote":"Iqtibos",Blue:"Ko'k","Blue marker":"Moviy rang markeri bilan ajratib ko'rsatish",Bold:"Qalin",Border:"Chegara","Break text":"","Bulleted List":"Belgilangan roʻyxat","Bulleted list styles toolbar":"Belgilangan ro'yxat uslublari",Cancel:"Bekor qilish","Caption for image: %0":"","Caption for the image":"","Cell properties":"Hujayra xususiyatlari","Center table":"Jadvalni markazga tekislash","Centered image":"Markazga tekislash","Change image text alternative":"Muqobil matnni tahrirlash","Choose heading":"Uslubni tanlash",Circle:"Doira",Code:"Manba kodi",Color:"Rang","Color picker":"Rang tanlash",Column:"Ustun",Dashed:"Nuqtali",Decimal:"O'nlik","Decimal with leading zero":"Boshlovchi nol bilan oʻnlik","Decrease indent":"chekinishni kamaytirish",Default:"Standart","Delete column":"Ustunni o'chirish","Delete row":"Satrni o'chirish","Dim grey":"To'q kulrang",Dimensions:"O'lchamlar",Disc:"Disk","Document colors":"Sahifa rangi",Dotted:"Nuqta",Double:"Ikkitalik",Downloadable:"Yuklab olinadigan","Dropdown toolbar":"Ochiladigan asboblar paneli","Edit block":"Blokni tahrirlash","Edit link":"Havolani tahrirlash","Edit source":"Kodni o'zgartirish","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Tahrirlovchi asboblar paneli","Empty snippet content":"","Enter image caption":"Rasm sarlavhasi","Enter table caption":"","Font Background Color":"Fon rangi","Font Color":"Shrift rangi","Font Family":"Shriftlar oilasi","Font Size":"Shrift hajmi","Full size image":"Asl rasm hajmi",Green:"Yashil","Green marker":"Yashil marker bilan ta'kidlash","Green pen":"Matn rangi yashil",Grey:"Kulrang",Groove:"Yivli","Header column":"Ustun sarlavhalari","Header row":"Sarlavhalar satri",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",Height:"Balandligi",Highlight:"Ajratish","Horizontal text alignment toolbar":"Matnni gorizontal tekislash asboblar paneli","HTML snippet":"HTML snippet",Huge:"Juda katta","Image resize list":"Hajmlar ro'yxati","Image toolbar":"Rasm asboblari paneli","image widget":"Tasvirlar vidjeti","In line":"","Increase indent":"chekinishni oshirish",Insert:"Kiritish","Insert code block":"Kodni kiritish","Insert column left":"Ustunni chapga kiritish","Insert column right":"Ustunni o'ngga kiritish","Insert HTML":"HTML kiritish","Insert image":"Rasm kiritish","Insert image via URL":"Rasmni URL orqali kiritish","Insert paragraph after block":"Вblokdan keyin paragraf qo'yish","Insert paragraph before block":"Blokdan oldin paragrafni kiritish","Insert row above":"Yuqoriga qatorni kiritish","Insert row below":"Pastga qatorni kiritish","Insert table":"Jadvalni kiritish",Inset:"Tushkunlikka tushgan",Italic:"Kursiv",Justify:"Kengligi bo'yicha tekislash","Justify cell text":"Matnni kenglikka tekislash","Left aligned image":"Chapga tekislash","Light blue":"Moviy","Light green":"Och yashil","Light grey":"Och kulrang",Link:"Havola","Link image":"Rasmga havola","Link URL":'"Havola URL',"List properties":"","Lower-latin":"Kichik lotincha","Lower–roman":"Kichik rim","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",Next:"Keyingi","No preview available":"",None:"Yo'q","Numbered List":"Raqamlangan ro'yxat","Numbered list styles toolbar":"Raqamlangan ro'yxat uslublari","Open in a new tab":"Yangi oynada oching","Open link in new tab":"Havolani yangi oynada ochish",Orange:"To'q sariq",Original:"Asl",Outset:"Qavariq",Padding:"Chekinish",Paragraph:"Paragraf","Paste raw HTML here...":"HTML kodini shu yerga joylashtiring...","Pink marker":"Pushti rang markeri bilan belgilang","Plain text":"Oddiy matn","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Oldingi",Purple:"Siyohrang",Red:"Qizil","Red pen":"Matn rangi qizil",Redo:"Takrorlash","Remove color":"Rangni olib tashlash","Remove Format":"Formatlashni olib tashlash","Remove highlight":"Ajratishni olib tashlash","Resize image":"Rasm hajmini o'zgartirish","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Restore default":"","Reversed order":"","Rich Text Editor":"Tahrirlovchi",Ridge:"Qirrali","Right aligned image":"O'ngga tekislash",Row:"Satr",Save:"Saqlash","Save changes":"O'zgarishlarni saqlash","Select all":"Hammasini tanlash","Select column":"Ustunni tanlash","Select row":"Satrni tanlang","Show more items":"","Side image":"Yon tasvir",Small:"Kichik",Solid:"Qattiq","Split cell horizontally":"Hujayrani gorizontal ravishda ajratish","Split cell vertically":"Hujayrani vertikal ravishda ajratish",Square:"Kvadrat","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Chizilgan",Style:"Uslub",Subscript:"Pastki yozuv",Superscript:"Yuqori yozuv","Table alignment toolbar":"Jadvalni tekislash asboblar paneli","Table cell text alignment":"Jadval katakchasidagi matnni tekislash","Table properties":"Jadvalning xususiyatlari","Table toolbar":"Jadval asboblar paneli","Text alignment":"Matnni tekislash","Text alignment toolbar":"Tekislash","Text alternative":"Muqobil matn","Text highlight toolbar":"Matn tanlash 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.',"This link has no URL":"Bu havola uchun URL oʻrnatilmagan",Tiny:"Juda kichik","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Turkuaz","Type or paste your content here.":"Matningizni shu yerga kiriting yoki joylashtiring","Type your title":"Sarlavhani kiriting",Underline:"Tagi chizilgan",Undo:"Bekor qilish",Unlink:"Havolani olib tashlash",Update:"O'zgartirish","Update image URL":"Rasm URL manzilini o'zgartirish","Upload failed":"Yuklab olinmadi","Upload in progress":"Yuklanmoqda","Upper-latin":"Katta lotincha","Upper-roman":"Katta rim","Vertical text alignment toolbar":"Vertikal matnni tekislash asboblar paneli",White:"Oq","Widget toolbar":"Vidjet asboblar paneli",Width:"Kengligi","Wrap text":"",Yellow:"Sariq","Yellow marker":"Sariq marker bilan ta'kidlash"}),i.getPluralForm=function(a){return 0}}(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||{},{"%0 of %1":"",Accept:"","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 center":"O'rtada tekislash","Align left":"Chap tomonda tekislash","Align right":"O'ng tomonda tekislash","Align table to the left":"Jadvalni chap tomonga tekislash","Align table to the right":"Jadvalni o'ngga tekislash",Alignment:"Tekislash",Aquamarine:"Akuamarin",Background:"Fon",Big:"Katta",Black:"Qora","Block quote":"Iqtibos",Blue:"Ko'k","Blue marker":"Moviy rang markeri bilan ajratib ko'rsatish",Bold:"Qalin",Border:"Chegara","Break text":"","Bulleted List":"Belgilangan roʻyxat","Bulleted list styles toolbar":"Belgilangan ro'yxat uslublari",Cancel:"Bekor qilish","Caption for image: %0":"","Caption for the image":"","Cell properties":"Hujayra xususiyatlari","Center table":"Jadvalni markazga tekislash","Centered image":"Markazga tekislash","Change image text alternative":"Muqobil matnni tahrirlash","Choose heading":"Uslubni tanlash",Circle:"Doira",Code:"Manba kodi",Color:"Rang","Color picker":"Rang tanlash",Column:"Ustun",Dashed:"Nuqtali",Decimal:"O'nlik","Decimal with leading zero":"Boshlovchi nol bilan oʻnlik","Decrease indent":"chekinishni kamaytirish",Default:"Standart","Delete column":"Ustunni o'chirish","Delete row":"Satrni o'chirish","Dim grey":"To'q kulrang",Dimensions:"O'lchamlar",Disc:"Disk","Document colors":"Sahifa rangi",Dotted:"Nuqta",Double:"Ikkitalik",Downloadable:"Yuklab olinadigan","Dropdown toolbar":"Ochiladigan asboblar paneli","Edit block":"Blokni tahrirlash","Edit link":"Havolani tahrirlash","Edit source":"Kodni o'zgartirish","Editor block content toolbar":"","Editor contextual toolbar":"","Editor editing area: %0":"","Editor toolbar":"Tahrirlovchi asboblar paneli","Empty snippet content":"","Enter image caption":"Rasm sarlavhasi","Enter table caption":"","Font Background Color":"Fon rangi","Font Color":"Shrift rangi","Font Family":"Shriftlar oilasi","Font Size":"Shrift hajmi","Full size image":"Asl rasm hajmi",Green:"Yashil","Green marker":"Yashil marker bilan ta'kidlash","Green pen":"Matn rangi yashil",Grey:"Kulrang",Groove:"Yivli","Header column":"Ustun sarlavhalari","Header row":"Sarlavhalar satri",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",Height:"Balandligi",HEX:"",Highlight:"Ajratish","Horizontal line":"Gorizontal chiziq","Horizontal text alignment toolbar":"Matnni gorizontal tekislash asboblar paneli","HTML snippet":"HTML snippet",Huge:"Juda katta","Image resize list":"Hajmlar ro'yxati","Image toolbar":"Rasm asboblari paneli","image widget":"Tasvirlar vidjeti","In line":"","Increase indent":"chekinishni oshirish",Insert:"Kiritish","Insert code block":"Kodni kiritish","Insert column left":"Ustunni chapga kiritish","Insert column right":"Ustunni o'ngga kiritish","Insert HTML":"HTML kiritish","Insert image":"Rasm kiritish","Insert image via URL":"Rasmni URL orqali kiritish","Insert paragraph after block":"Вblokdan keyin paragraf qo'yish","Insert paragraph before block":"Blokdan oldin paragrafni kiritish","Insert row above":"Yuqoriga qatorni kiritish","Insert row below":"Pastga qatorni kiritish","Insert table":"Jadvalni kiritish",Inset:"Tushkunlikka tushgan",Italic:"Kursiv",Justify:"Kengligi bo'yicha tekislash","Justify cell text":"Matnni kenglikka tekislash","Left aligned image":"Chapga tekislash","Light blue":"Moviy","Light green":"Och yashil","Light grey":"Och kulrang",Link:"Havola","Link image":"Rasmga havola","Link URL":'"Havola URL',"List properties":"","Lower-latin":"Kichik lotincha","Lower–roman":"Kichik rim","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",Next:"Keyingi","No preview available":"",None:"Yo'q","Numbered List":"Raqamlangan ro'yxat","Numbered list styles toolbar":"Raqamlangan ro'yxat uslublari","Open in a new tab":"Yangi oynada oching","Open link in new tab":"Havolani yangi oynada ochish",Orange:"To'q sariq",Original:"Asl",Outset:"Qavariq",Padding:"Chekinish",Paragraph:"Paragraf","Paste raw HTML here...":"HTML kodini shu yerga joylashtiring...","Pink marker":"Pushti rang markeri bilan belgilang","Plain text":"Oddiy matn","Press Enter to type after or press Shift + Enter to type before the widget":"",Previous:"Oldingi",Purple:"Siyohrang",Red:"Qizil","Red pen":"Matn rangi qizil",Redo:"Takrorlash","Remove color":"Rangni olib tashlash","Remove Format":"Formatlashni olib tashlash","Remove highlight":"Ajratishni olib tashlash","Resize image":"Rasm hajmini o'zgartirish","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Restore default":"","Reversed order":"","Rich Text Editor":"Tahrirlovchi",Ridge:"Qirrali","Right aligned image":"O'ngga tekislash",Row:"Satr",Save:"Saqlash","Save changes":"O'zgarishlarni saqlash","Saving changes":"O'zgarishlarni saqlash","Select all":"Hammasini tanlash","Select column":"Ustunni tanlash","Select row":"Satrni tanlang","Show more items":"","Side image":"Yon tasvir",Small:"Kichik",Solid:"Qattiq","Split cell horizontally":"Hujayrani gorizontal ravishda ajratish","Split cell vertically":"Hujayrani vertikal ravishda ajratish",Square:"Kvadrat","Start at":"","Start index must be greater than 0.":"",Strikethrough:"Chizilgan",Style:"Uslub",Subscript:"Pastki yozuv",Superscript:"Yuqori yozuv","Table alignment toolbar":"Jadvalni tekislash asboblar paneli","Table cell text alignment":"Jadval katakchasidagi matnni tekislash","Table properties":"Jadvalning xususiyatlari","Table toolbar":"Jadval asboblar paneli","Text alignment":"Matnni tekislash","Text alignment toolbar":"Tekislash","Text alternative":"Muqobil matn","Text highlight toolbar":"Matn tanlash 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.',"This link has no URL":"Bu havola uchun URL oʻrnatilmagan",Tiny:"Juda kichik","To-do List":"","Toggle caption off":"","Toggle caption on":"","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":"",Turquoise:"Turkuaz","Type or paste your content here.":"Matningizni shu yerga kiriting yoki joylashtiring","Type your title":"Sarlavhani kiriting",Underline:"Tagi chizilgan",Undo:"Bekor qilish",Unlink:"Havolani olib tashlash",Update:"O'zgartirish","Update image URL":"Rasm URL manzilini o'zgartirish","Upload failed":"Yuklab olinmadi","Upload in progress":"Yuklanmoqda","Upper-latin":"Katta lotincha","Upper-roman":"Katta rim","Vertical text alignment toolbar":"Vertikal matnni tekislash asboblar paneli",White:"Oq","Widget toolbar":"Vidjet asboblar paneli",Width:"Kengligi","Wrap text":"",Yellow:"Sariq","Yellow marker":"Sariq marker bilan ta'kidlash"}),i.getPluralForm=function(a){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 431774aa81bce2eafd199f84fe51376d946a62e5..6a88970cf9a8a6a23e0c3d5de556d60a0ac7064c 100644 (file)
@@ -1 +1 @@
-!function(n){const t=n.vi=n.vi||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 đến %1","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 center":"Canh giữa","Align left":"Canh trái","Align right":"Canh phải","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ề",Aquamarine:"Xanh ngọc biển",Background:"Màu nền",Big:"Lớn",Black:"Đen","Block quote":"Trích dẫn",Blue:"Xanh biển","Blue marker":"Bút xanh dương",Bold:"Đậm",Border:"Viền","Break text":"Ngắt văn bản","Bulleted List":"Danh sách đánh ký hiệu","Bulleted list styles toolbar":"Thanh công cụ kiểu danh sách có dấu đầu dòng",Cancel:"Hủy","Caption for image: %0":"Chú thích cho hình ảnh: %0","Caption for the image":"Chú thích cho hình ảnh","Cell properties":"Thuộc tính của ô","Center table":"Căn chỉnh bảng vào chính giữa","Centered image":"Ảnh canh giữa","Change image text alternative":"Đổi chữ alt của ảnh","Choose heading":"Chọn tiêu đề",Circle:"Tròn",Code:"Code",Color:"Màu","Color picker":"Bộ chọn màu",Column:"Cột",Dashed:"Dạng đường đứt nét",Decimal:"Thập phân","Decimal with leading zero":"Thập phân bắt đầu bằng số 0","Decrease indent":"Giảm lề",Default:"Mặc định","Delete column":"Xoá cột","Delete row":"Xoá hàng","Dim grey":"Xám mờ",Dimensions:"Kích thước",Disc:"Đĩa","Document colors":"Màu văn bản",Dotted:"Dạng chấm",Double:"Dạng nét đôi",Downloadable:"Có thể tải về","Dropdown toolbar":"Thanh công cụ danh mục","Edit block":"Chỉnh sửa đoạn","Edit link":"Sửa liên kết","Edit source":"Sửa nguồ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 editing area: %0":"Vùng chỉnh sửa của trình chỉnh sửa: %0","Editor toolbar":"Thanh công cụ biên tập","Empty snippet content":"Nội dung đoạn mã trống","Enter image caption":"Nhập mô tả ảnh","Enter table caption":"Nhập chú thích cho bảng","Font Background Color":"Màu nền chữ","Font Color":"Màu chữ","Font Family":"Họ chữ","Font Size":"Cỡ chữ","Full size image":"Ảnh đầy đủ",Green:"Xanh lá","Green marker":"Bút xanh lá","Green pen":"Mực xanh",Grey:"Xám",Groove:"Dạng đường rãnh","Header column":"Tiêu đề cột","Header row":"Tiêu đề hàng",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",Height:"Cao",Highlight:"Làm nổi","Horizontal line":"Đường ngang","Horizontal text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiều ngang","HTML snippet":"Mẫu HTML",Huge:"Khổng lồ","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Image toolbar":"Thanh công cụ hình ảnh","image widget":"tiện ích ảnh","In line":"Nội dòng","Increase indent":"Tăng lề",Insert:"Chèn","Insert code block":"Chèn khối mã","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 HTML":"Chèn HTML","Insert image":"Chèn ảnh","Insert image via URL":"Chèn ảnh từ URL","Insert paragraph after block":"Chèn đoạn sau khối","Insert paragraph before block":"Chèn đoạn trước khố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",Italic:"Nghiêng",Justify:"Canh đều","Justify cell text":"Căn đều văn bản trong ô","Left aligned image":"Ảnh canh trái","Light blue":"Xanh dương","Light green":"Xanh lá nhạt","Light grey":"Xám nhạt",Link:"Chèn liên kết","Link image":"Liên kết của ảnh","Link URL":"Đường dẫn liên kết","List properties":"Thuộc tính danh sách","Lower-latin":"Chữ cái Latinh viết thường","Lower–roman":"Chữ số La Mã viết thườ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 ô",Next:"Tiếp theo","No preview available":"Không có sẵn bản xem trước",None:"Không có kiểu nào","Numbered List":"Danh sách đánh số","Numbered list styles toolbar":"Thanh công cụ kiểu danh sách được đánh số","Open in a new tab":"Mở trên tab mới","Open link in new tab":"Mở liên kết",Orange:"Cam",Original:"Nguyên bản",Outset:"Dạng nổi",Padding:"Cách lề",Paragraph:"Đoạn văn","Paste raw HTML here...":"Dán mã HTML nguyên bản tại đây...","Pink marker":"Bút hồng","Plain text":"Văn bản thuần","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:"Đỏ","Red pen":"Mực đỏ",Redo:"Tiếp tục","Remove color":"Xóa màu","Remove Format":"Xóa định dang","Remove highlight":"Xóa làm nổi","Resize image":"Chỉnh kích cỡ ảnh","Resize image to %0":"Chỉnh kích cỡ ảnh về %0","Resize image to the original size":"Chỉnh về ảnh kích cỡ nguyên gốc","Restore default":"Khôi phục giá trị mặc định","Reversed order":"Thứ tự đảo ngược","Rich Text Editor":"Trình soạn thảo văn bản",Ridge:"Dạng gờ","Right aligned image":"Ảnh canh phải",Row:"Hàng",Save:"Lưu","Save changes":"Lưu thay đổi","Saving changes":"Đang lưu","Select all":"Chọn tất cả","Select column":"Chọn cột","Select row":"Chọn hàng","Show more items":"Xem thêm","Side image":"Ảnh một bên",Small:"Nhỏ",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",Square:"Vuông","Start at":"Bắt đầu tại","Start index must be greater than 0.":"Chỉ mục bắt đầu phải lớn hơn 0.",Strikethrough:"Gạch ngang",Style:"Kiểu",Subscript:"Chữ nhỏ dưới",Superscript:"Chữ nhỏ trên","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","Text alignment":"Căn chỉnh văn bản","Text alignment toolbar":"Thanh công cụ canh chữ","Text alternative":"Chữ alt","Text highlight toolbar":"Thanh công cụ làm nổi chữ",'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".',"This link has no URL":"Liên kết không có đường dẫn",Tiny:"Bé","To-do List":"Danh sách cần làm","Toggle caption off":"Ẩn chú thích","Toggle caption on":"Hiện chú thích","Toggle the circle list style":"Bật/tắt kiểu danh sách dạng vòng tròn","Toggle the decimal list style":"Bật/tắt kiểu danh sách dạng thập phân","Toggle the decimal with leading zero list style":"Bật/tắt kiểu danh sách dạng thập phân bắt đầu bằng số 0","Toggle the disc list style":"Bật/tắt kiểu danh sách dạng đĩa","Toggle the lower–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết thường","Toggle the lower–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết thường","Toggle the square list style":"Bật/tắt kiểu danh sách dạng vuông","Toggle the upper–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết hoa","Toggle the upper–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết hoa",Turquoise:"Xanh ngọc bích","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 đề",Underline:"Gạch dưới",Undo:"Hoàn tác",Unlink:"Bỏ liên kết",Update:"Cập nhật","Update image URL":"Cập nhật ảnh từ URL","Upload failed":"Tải thất bại","Upload in progress":"Đang tải lên","Upper-latin":"Chữ cái Latinh viết hoa","Upper-roman":"Chữ số La Mã viết hoa","Vertical text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiều dọc",White:"Trắng","Widget toolbar":"Thanh công cụ tiện ích",Width:"Rộng","Wrap text":"Bọc văn bản",Yellow:"Vàng","Yellow marker":"Bút 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||{},{"%0 of %1":"%0 đến %1",Accept:"","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 center":"Canh giữa","Align left":"Canh trái","Align right":"Canh phải","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ề",Aquamarine:"Xanh ngọc biển",Background:"Màu nền",Big:"Lớn",Black:"Đen","Block quote":"Trích dẫn",Blue:"Xanh biển","Blue marker":"Bút xanh dương",Bold:"Đậm",Border:"Viền","Break text":"Ngắt văn bản","Bulleted List":"Danh sách đánh ký hiệu","Bulleted list styles toolbar":"Thanh công cụ kiểu danh sách có dấu đầu dòng",Cancel:"Hủy","Caption for image: %0":"Chú thích cho hình ảnh: %0","Caption for the image":"Chú thích cho hình ảnh","Cell properties":"Thuộc tính của ô","Center table":"Căn chỉnh bảng vào chính giữa","Centered image":"Ảnh canh giữa","Change image text alternative":"Đổi chữ alt của ảnh","Choose heading":"Chọn tiêu đề",Circle:"Tròn",Code:"Code",Color:"Màu","Color picker":"Bộ chọn màu",Column:"Cột",Dashed:"Dạng đường đứt nét",Decimal:"Thập phân","Decimal with leading zero":"Thập phân bắt đầu bằng số 0","Decrease indent":"Giảm lề",Default:"Mặc định","Delete column":"Xoá cột","Delete row":"Xoá hàng","Dim grey":"Xám mờ",Dimensions:"Kích thước",Disc:"Đĩa","Document colors":"Màu văn bản",Dotted:"Dạng chấm",Double:"Dạng nét đôi",Downloadable:"Có thể tải về","Dropdown toolbar":"Thanh công cụ danh mục","Edit block":"Chỉnh sửa đoạn","Edit link":"Sửa liên kết","Edit source":"Sửa nguồ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 editing area: %0":"Vùng chỉnh sửa của trình chỉnh sửa: %0","Editor toolbar":"Thanh công cụ biên tập","Empty snippet content":"Nội dung đoạn mã trống","Enter image caption":"Nhập mô tả ảnh","Enter table caption":"Nhập chú thích cho bảng","Font Background Color":"Màu nền chữ","Font Color":"Màu chữ","Font Family":"Họ chữ","Font Size":"Cỡ chữ","Full size image":"Ảnh đầy đủ",Green:"Xanh lá","Green marker":"Bút xanh lá","Green pen":"Mực xanh",Grey:"Xám",Groove:"Dạng đường rãnh","Header column":"Tiêu đề cột","Header row":"Tiêu đề hàng",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",Height:"Cao",HEX:"",Highlight:"Làm nổi","Horizontal line":"Đường ngang","Horizontal text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiều ngang","HTML snippet":"Mẫu HTML",Huge:"Khổng lồ","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Image toolbar":"Thanh công cụ hình ảnh","image widget":"tiện ích ảnh","In line":"Nội dòng","Increase indent":"Tăng lề",Insert:"Chèn","Insert code block":"Chèn khối mã","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 HTML":"Chèn HTML","Insert image":"Chèn ảnh","Insert image via URL":"Chèn ảnh từ URL","Insert paragraph after block":"Chèn đoạn sau khối","Insert paragraph before block":"Chèn đoạn trước khố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",Italic:"Nghiêng",Justify:"Canh đều","Justify cell text":"Căn đều văn bản trong ô","Left aligned image":"Ảnh canh trái","Light blue":"Xanh dương","Light green":"Xanh lá nhạt","Light grey":"Xám nhạt",Link:"Chèn liên kết","Link image":"Liên kết của ảnh","Link URL":"Đường dẫn liên kết","List properties":"Thuộc tính danh sách","Lower-latin":"Chữ cái Latinh viết thường","Lower–roman":"Chữ số La Mã viết thườ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 ô",Next:"Tiếp theo","No preview available":"Không có sẵn bản xem trước",None:"Không có kiểu nào","Numbered List":"Danh sách đánh số","Numbered list styles toolbar":"Thanh công cụ kiểu danh sách được đánh số","Open in a new tab":"Mở trên tab mới","Open link in new tab":"Mở liên kết",Orange:"Cam",Original:"Nguyên bản",Outset:"Dạng nổi",Padding:"Cách lề",Paragraph:"Đoạn văn","Paste raw HTML here...":"Dán mã HTML nguyên bản tại đây...","Pink marker":"Bút hồng","Plain text":"Văn bản thuần","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:"Đỏ","Red pen":"Mực đỏ",Redo:"Tiếp tục","Remove color":"Xóa màu","Remove Format":"Xóa định dang","Remove highlight":"Xóa làm nổi","Resize image":"Chỉnh kích cỡ ảnh","Resize image to %0":"Chỉnh kích cỡ ảnh về %0","Resize image to the original size":"Chỉnh về ảnh kích cỡ nguyên gốc","Restore default":"Khôi phục giá trị mặc định","Reversed order":"Thứ tự đảo ngược","Rich Text Editor":"Trình soạn thảo văn bản",Ridge:"Dạng gờ","Right aligned image":"Ảnh canh phải",Row:"Hàng",Save:"Lưu","Save changes":"Lưu thay đổi","Saving changes":"Đang lưu","Select all":"Chọn tất cả","Select column":"Chọn cột","Select row":"Chọn hàng","Show more items":"Xem thêm","Side image":"Ảnh một bên",Small:"Nhỏ",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",Square:"Vuông","Start at":"Bắt đầu tại","Start index must be greater than 0.":"Chỉ mục bắt đầu phải lớn hơn 0.",Strikethrough:"Gạch ngang",Style:"Kiểu",Subscript:"Chữ nhỏ dưới",Superscript:"Chữ nhỏ trên","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","Text alignment":"Căn chỉnh văn bản","Text alignment toolbar":"Thanh công cụ canh chữ","Text alternative":"Chữ alt","Text highlight toolbar":"Thanh công cụ làm nổi chữ",'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".',"This link has no URL":"Liên kết không có đường dẫn",Tiny:"Bé","To-do List":"Danh sách cần làm","Toggle caption off":"Ẩn chú thích","Toggle caption on":"Hiện chú thích","Toggle the circle list style":"Bật/tắt kiểu danh sách dạng vòng tròn","Toggle the decimal list style":"Bật/tắt kiểu danh sách dạng thập phân","Toggle the decimal with leading zero list style":"Bật/tắt kiểu danh sách dạng thập phân bắt đầu bằng số 0","Toggle the disc list style":"Bật/tắt kiểu danh sách dạng đĩa","Toggle the lower–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết thường","Toggle the lower–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết thường","Toggle the square list style":"Bật/tắt kiểu danh sách dạng vuông","Toggle the upper–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết hoa","Toggle the upper–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết hoa",Turquoise:"Xanh ngọc bích","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 đề",Underline:"Gạch dưới",Undo:"Hoàn tác",Unlink:"Bỏ liên kết",Update:"Cập nhật","Update image URL":"Cập nhật ảnh từ URL","Upload failed":"Tải thất bại","Upload in progress":"Đang tải lên","Upper-latin":"Chữ cái Latinh viết hoa","Upper-roman":"Chữ số La Mã viết hoa","Vertical text alignment toolbar":"Thanh công cụ căn chỉnh văn bản theo chiều dọc",White:"Trắng","Widget toolbar":"Thanh công cụ tiện ích",Width:"Rộng","Wrap text":"Bọc văn bản",Yellow:"Vàng","Yellow marker":"Bút vàng"}),t.getPluralForm=function(n){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index 7baf76bb0f46bdddb6969588c784a551e8bdba86..5aa0908c19094e23b1ed8c20154f0d63ffef35f9 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e["zh-cn"]=e["zh-cn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"第 %0 步,共 %1 步","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 center":"居中对齐","Align left":"左对齐","Align right":"右对齐","Align table to the left":"使表格左对齐","Align table to the right":"使表格右对齐",Alignment:"对齐",Aquamarine:"海蓝色",Background:"背景",Big:"大",Black:"黑色","Block quote":"块引用",Blue:"蓝色","Blue marker":"蓝色标记",Bold:"加粗",Border:"边框","Break text":"文字断行","Bulleted List":"项目符号列表","Bulleted list styles toolbar":"项目符号列表样式工具条",Cancel:"取消","Caption for image: %0":"图片说明:%0","Caption for the image":"图片说明:","Cell properties":"单元格属性","Center table":"表格居中","Centered image":"图片居中","Change image text alternative":"更改图片替换文本","Choose heading":"标题类型",Circle:"空心圆点",Code:"代码",Color:"颜色","Color picker":"颜色选择器",Column:"列",Dashed:"虚线",Decimal:"阿拉伯数字","Decimal with leading zero":"前导零阿拉伯数字","Decrease indent":"减少缩进",Default:"默认","Delete column":"删除本列","Delete row":"删除本行","Dim grey":"暗灰色",Dimensions:"尺寸",Disc:"实心圆点","Document colors":"文档中的颜色",Dotted:"点状虚线",Double:"双线",Downloadable:"可下载","Dropdown toolbar":"下拉工具栏","Edit block":"编辑框","Edit link":"修改链接","Edit source":"编辑源代码","Editor block content toolbar":"编辑器块内容工具栏","Editor contextual toolbar":"编辑器上下文工具栏","Editor editing area: %0":"编辑器编辑区域:%0","Editor toolbar":"编辑器工具栏","Empty snippet content":"空片段内容","Enter image caption":"输入图片标题","Enter table caption":"输入表标题","Font Background Color":"字体背景色","Font Color":"字体颜色","Font Family":"字体","Font Size":"字体大小","Full size image":"全尺寸图片",Green:"绿色","Green marker":"绿色标记","Green pen":"绿色笔",Grey:"灰色",Groove:"凹槽边框","Header column":"标题列","Header row":"标题行",Heading:"标题","Heading 1":"标题 1","Heading 2":"标题 2","Heading 3":"标题 3","Heading 4":"标题 4","Heading 5":"标题 5","Heading 6":"标题 6",Height:"高度",Highlight:"高亮","Horizontal line":"水平线","Horizontal text alignment toolbar":"水平文本对齐工具栏","HTML snippet":"HTML 代码片段",Huge:"极大","Image resize list":"图片大小列表","Image toolbar":"图片工具栏","image widget":"图片组件","In line":"行内","Increase indent":"增加缩进",Insert:"插入","Insert code block":"插入代码块","Insert column left":"左侧插入列","Insert column right":"右侧插入列","Insert HTML":"插入 HTML","Insert image":"插入图像","Insert image via URL":"通过URL地址插入图片","Insert paragraph after block":"在后面插入段落","Insert paragraph before block":"在前面插入段落","Insert row above":"在上面插入一行","Insert row below":"在下面插入一行","Insert table":"插入表格",Inset:"凹边框",Italic:"倾斜",Justify:"两端对齐","Justify cell text":"对齐单元格文本","Left aligned image":"图片左侧对齐","Light blue":"浅蓝色","Light green":"浅绿色","Light grey":"浅灰色",Link:"超链接","Link image":"链接图片","Link URL":"链接网址","List properties":"列表属性","Lower-latin":"小写拉丁字母","Lower–roman":"小写罗马数字","Merge cell down":"向下合并单元格","Merge cell left":"向左合并单元格","Merge cell right":"向右合并单元格","Merge cell up":"向上合并单元格","Merge cells":"合并单元格",Next:"下一步","No preview available":"预览不可用",None:"无","Numbered List":"项目编号列表","Numbered list styles toolbar":"项目编号列表样式工具条","Open in a new tab":"在新标签页中打开","Open link in new tab":"在新标签页中打开链接",Orange:"橙色",Original:"原始大小",Outset:"凸边框",Padding:"内边距",Paragraph:"段落","Paste raw HTML here...":"在这里粘贴 HTML 源代码","Pink marker":"粉色标记","Plain text":"纯文本","Press Enter to type after or press Shift + Enter to type before the widget":"按下“Enter”键,在小组件后输入;按下“Shift+Enter”键,在小组件前输入",Previous:"上一步",Purple:"紫色",Red:"红色","Red pen":"红色笔",Redo:"重做","Remove color":"移除颜色","Remove Format":"移除格式","Remove highlight":"清除高亮","Resize image":"调整图像大小","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Restore default":"恢复默认","Reversed order":"顺序反转","Rich Text Editor":"富文本编辑器",Ridge:"垄状边框","Right aligned image":"图片右侧对齐",Row:"行",Save:"保存","Save changes":"保存更改","Saving changes":"正在保存更改","Select all":"全选","Select column":"选择列","Select row":"选择行","Show more items":"显示更多","Side image":"图片侧边显示",Small:"小",Solid:"实线","Split cell horizontally":"横向拆分单元格","Split cell vertically":"纵向拆分单元格",Square:"实心方块","Start at":"起始编号","Start index must be greater than 0.":"起始编号必须大于0。",Strikethrough:"删除线",Style:"样式",Subscript:"下标",Superscript:"上标","Table alignment toolbar":"表格对齐工具栏","Table cell text alignment":"表格单元格中的文本水平对齐","Table properties":"表格属性","Table toolbar":"表格工具栏","Text alignment":"对齐","Text alignment toolbar":"对齐工具栏","Text alternative":"替换文本","Text highlight 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”。","This link has no URL":"此链接没有设置网址",Tiny:"极小","To-do List":"待办列表","Toggle caption off":"关闭表标题","Toggle caption on":"打开表标题","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":"切换大写罗马数字列表样式",Turquoise:"青色","Type or paste your content here.":"在这里输入或粘贴内容","Type your title":"输入标题",Underline:"下划线",Undo:"撤销",Unlink:"取消超链接",Update:"更新","Update image URL":"更新图片URL地址","Upload failed":"上传失败","Upload in progress":"正在上传","Upper-latin":"大写拉丁字母","Upper-roman":"大写罗马数字","Vertical text alignment toolbar":"垂直文本对齐工具栏",White:"白色","Widget toolbar":"小部件工具栏",Width:"宽度","Wrap text":"文字环绕",Yellow:"黄色","Yellow marker":"黄色标记"}),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||{},{"%0 of %1":"第 %0 步,共 %1 步",Accept:"","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 center":"居中对齐","Align left":"左对齐","Align right":"右对齐","Align table to the left":"使表格左对齐","Align table to the right":"使表格右对齐",Alignment:"对齐",Aquamarine:"海蓝色",Background:"背景",Big:"大",Black:"黑色","Block quote":"块引用",Blue:"蓝色","Blue marker":"蓝色标记",Bold:"加粗",Border:"边框","Break text":"文字断行","Bulleted List":"项目符号列表","Bulleted list styles toolbar":"项目符号列表样式工具条",Cancel:"取消","Caption for image: %0":"图片说明:%0","Caption for the image":"图片说明:","Cell properties":"单元格属性","Center table":"表格居中","Centered image":"图片居中","Change image text alternative":"更改图片替换文本","Choose heading":"标题类型",Circle:"空心圆点",Code:"代码",Color:"颜色","Color picker":"颜色选择器",Column:"列",Dashed:"虚线",Decimal:"阿拉伯数字","Decimal with leading zero":"前导零阿拉伯数字","Decrease indent":"减少缩进",Default:"默认","Delete column":"删除本列","Delete row":"删除本行","Dim grey":"暗灰色",Dimensions:"尺寸",Disc:"实心圆点","Document colors":"文档中的颜色",Dotted:"点状虚线",Double:"双线",Downloadable:"可下载","Dropdown toolbar":"下拉工具栏","Edit block":"编辑框","Edit link":"修改链接","Edit source":"编辑源代码","Editor block content toolbar":"编辑器块内容工具栏","Editor contextual toolbar":"编辑器上下文工具栏","Editor editing area: %0":"编辑器编辑区域:%0","Editor toolbar":"编辑器工具栏","Empty snippet content":"空片段内容","Enter image caption":"输入图片标题","Enter table caption":"输入表标题","Font Background Color":"字体背景色","Font Color":"字体颜色","Font Family":"字体","Font Size":"字体大小","Full size image":"全尺寸图片",Green:"绿色","Green marker":"绿色标记","Green pen":"绿色笔",Grey:"灰色",Groove:"凹槽边框","Header column":"标题列","Header row":"标题行",Heading:"标题","Heading 1":"标题 1","Heading 2":"标题 2","Heading 3":"标题 3","Heading 4":"标题 4","Heading 5":"标题 5","Heading 6":"标题 6",Height:"高度",HEX:"",Highlight:"高亮","Horizontal line":"水平线","Horizontal text alignment toolbar":"水平文本对齐工具栏","HTML snippet":"HTML 代码片段",Huge:"极大","Image resize list":"图片大小列表","Image toolbar":"图片工具栏","image widget":"图片组件","In line":"行内","Increase indent":"增加缩进",Insert:"插入","Insert code block":"插入代码块","Insert column left":"左侧插入列","Insert column right":"右侧插入列","Insert HTML":"插入 HTML","Insert image":"插入图像","Insert image via URL":"通过URL地址插入图片","Insert paragraph after block":"在后面插入段落","Insert paragraph before block":"在前面插入段落","Insert row above":"在上面插入一行","Insert row below":"在下面插入一行","Insert table":"插入表格",Inset:"凹边框",Italic:"倾斜",Justify:"两端对齐","Justify cell text":"对齐单元格文本","Left aligned image":"图片左侧对齐","Light blue":"浅蓝色","Light green":"浅绿色","Light grey":"浅灰色",Link:"超链接","Link image":"链接图片","Link URL":"链接网址","List properties":"列表属性","Lower-latin":"小写拉丁字母","Lower–roman":"小写罗马数字","Merge cell down":"向下合并单元格","Merge cell left":"向左合并单元格","Merge cell right":"向右合并单元格","Merge cell up":"向上合并单元格","Merge cells":"合并单元格",Next:"下一步","No preview available":"预览不可用",None:"无","Numbered List":"项目编号列表","Numbered list styles toolbar":"项目编号列表样式工具条","Open in a new tab":"在新标签页中打开","Open link in new tab":"在新标签页中打开链接",Orange:"橙色",Original:"原始大小",Outset:"凸边框",Padding:"内边距",Paragraph:"段落","Paste raw HTML here...":"在这里粘贴 HTML 源代码","Pink marker":"粉色标记","Plain text":"纯文本","Press Enter to type after or press Shift + Enter to type before the widget":"按下“Enter”键,在小组件后输入;按下“Shift+Enter”键,在小组件前输入",Previous:"上一步",Purple:"紫色",Red:"红色","Red pen":"红色笔",Redo:"重做","Remove color":"移除颜色","Remove Format":"移除格式","Remove highlight":"清除高亮","Resize image":"调整图像大小","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Restore default":"恢复默认","Reversed order":"顺序反转","Rich Text Editor":"富文本编辑器",Ridge:"垄状边框","Right aligned image":"图片右侧对齐",Row:"行",Save:"保存","Save changes":"保存更改","Saving changes":"正在保存更改","Select all":"全选","Select column":"选择列","Select row":"选择行","Show more items":"显示更多","Side image":"图片侧边显示",Small:"小",Solid:"实线","Split cell horizontally":"横向拆分单元格","Split cell vertically":"纵向拆分单元格",Square:"实心方块","Start at":"起始编号","Start index must be greater than 0.":"起始编号必须大于0。",Strikethrough:"删除线",Style:"样式",Subscript:"下标",Superscript:"上标","Table alignment toolbar":"表格对齐工具栏","Table cell text alignment":"表格单元格中的文本水平对齐","Table properties":"表格属性","Table toolbar":"表格工具栏","Text alignment":"对齐","Text alignment toolbar":"对齐工具栏","Text alternative":"替换文本","Text highlight 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”。","This link has no URL":"此链接没有设置网址",Tiny:"极小","To-do List":"待办列表","Toggle caption off":"关闭表标题","Toggle caption on":"打开表标题","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":"切换大写罗马数字列表样式",Turquoise:"青色","Type or paste your content here.":"在这里输入或粘贴内容","Type your title":"输入标题",Underline:"下划线",Undo:"撤销",Unlink:"取消超链接",Update:"更新","Update image URL":"更新图片URL地址","Upload failed":"上传失败","Upload in progress":"正在上传","Upper-latin":"大写拉丁字母","Upper-roman":"大写罗马数字","Vertical text alignment toolbar":"垂直文本对齐工具栏",White:"白色","Widget toolbar":"小部件工具栏",Width:"宽度","Wrap text":"文字环绕",Yellow:"黄色","Yellow marker":"黄色标记"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index bc4effcb4d0ef1e866f86cbe5e8d86bfe1296804..12f08e2dd425adb3f92b0fca1e8348f9b0a0b761 100644 (file)
@@ -1 +1 @@
-!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0/%1","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 center":"置中對齊","Align left":"靠左對齊","Align right":"靠右對齊","Align table to the left":"靠左對齊","Align table to the right":"靠右對齊",Alignment:"對齊",Aquamarine:"淺綠色",Background:"背景顏色",Big:"大",Black:"黑色","Block quote":"段落引用",Blue:"藍色","Blue marker":"藍色標記",Bold:"粗體",Border:"邊框","Break text":"上及下","Bulleted List":"符號清單","Bulleted list styles toolbar":"無序清單工具列",Cancel:"取消","Caption for image: %0":"影像標題:%0","Caption for the image":"影像的標題","Cell properties":"儲存格屬性","Center table":"置中對齊","Centered image":"置中圖片","Change image text alternative":"修改圖片的替代文字","Choose heading":"選取標題",Circle:"空心圓點",Code:"代碼",Color:"文字顏色","Color picker":"顏色選擇",Column:"欄",Dashed:"虛線",Decimal:"數字","Decimal with leading zero":"0開頭的數字","Decrease indent":"減少縮排",Default:"預設","Delete column":"刪除欄","Delete row":"刪除列","Dim grey":"淡灰色",Dimensions:"尺寸",Disc:"實心圓點","Document colors":"文件顏色",Dotted:"點線",Double:"雙線",Downloadable:"可下載","Dropdown toolbar":"下拉選單","Edit block":"編輯區塊","Edit link":"編輯連結","Edit source":"編輯HTML","Editor block content toolbar":"編輯器區塊內容工具列","Editor contextual toolbar":"編輯器關聯式工具列","Editor editing area: %0":"編輯器編輯區:%0","Editor toolbar":"編輯器工具","Empty snippet content":"HTML標籤中無內容","Enter image caption":"輸入圖片說明","Enter table caption":"輸入表標題","Font Background Color":"前景顏色","Font Color":"字體顏色","Font Family":"字型","Font Size":"字體大小","Full size image":"完整尺寸圖片",Green:"綠色","Green marker":"綠色標記","Green pen":"綠色筆",Grey:"灰色",Groove:"內凹線","Header column":"標題欄","Header row":"標題列",Heading:"標題","Heading 1":"標題 1","Heading 2":"標題 2","Heading 3":"標題 3","Heading 4":"標題 4","Heading 5":"標題 5","Heading 6":"標題 6",Height:"高度",Highlight:"高亮","Horizontal line":"水平線","Horizontal text alignment toolbar":"水平對齊","HTML snippet":"HTML標籤",Huge:"特大","Image resize list":"圖片縮放清單","Image toolbar":"圖片工具","image widget":"圖片小工具","In line":"行中","Increase indent":"增加縮排",Insert:"插入","Insert code block":"插入程式碼區塊","Insert column left":"插入左方欄","Insert column right":"插入右方欄","Insert HTML":"輸入HTML","Insert image":"插入圖片","Insert image via URL":"使用連結插入圖片","Insert paragraph after block":"在這個區塊後面插入一個段落","Insert paragraph before block":"在這個區塊前面插入一個段落","Insert row above":"插入上方列","Insert row below":"插入下方列","Insert table":"插入表格",Inset:"內邊線",Italic:"斜體",Justify:"左右對齊","Justify cell text":"分散對齊","Left aligned image":"向左對齊圖片","Light blue":"亮藍色","Light green":"亮綠色","Light grey":"亮灰色",Link:"連結","Link image":"圖片連結","Link URL":"連結˙ URL","List properties":"清單屬性","Lower-latin":"小寫拉丁字母","Lower–roman":"小寫羅馬數字","Merge cell down":"合併下方儲存格","Merge cell left":"合併左方儲存格","Merge cell right":"合併右方儲存格","Merge cell up":"合併上方儲存格","Merge cells":"合併儲存格",Next:"下一","No preview available":"無法顯示預覽",None:"無","Numbered List":"有序清單","Numbered list styles toolbar":"有序清單工具列","Open in a new tab":"在新視窗開啟","Open link in new tab":"在新視窗開啟連結",Orange:"橘色",Original:"原始圖片",Outset:"外框線",Padding:"儲存格留白",Paragraph:"段落","Paste raw HTML here...":"在此貼上純HTML","Pink marker":"粉色標記","Plain text":"純文字","Press Enter to type after or press Shift + Enter to type before the widget":"按下 Enter 在小工具後輸入,或按下 Shift + Enter 在小工具前輸入",Previous:"上一",Purple:"紫色",Red:"紅色","Red pen":"紅色筆",Redo:"重做","Remove color":"移除顏色","Remove Format":"移除格式","Remove highlight":"清除高亮","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Restore default":"重設至預設值","Reversed order":"反轉順序","Rich Text Editor":"豐富文字編輯器",Ridge:"凸起線","Right aligned image":"向右對齊圖片",Row:"列",Save:"儲存","Save changes":"儲存變更","Saving changes":"正在儲存變更","Select all":"選取全部","Select column":"選擇欄","Select row":"選擇列","Show more items":"顯示更多","Side image":"側邊圖片",Small:"小",Solid:"實線","Split cell horizontally":"水平分割儲存格","Split cell vertically":"垂直分割儲存格",Square:"方形","Start at":"起始於","Start index must be greater than 0.":"起始索引須大於 0。",Strikethrough:"刪除線",Style:"樣式",Subscript:"下標",Superscript:"上標","Table alignment toolbar":"表格對齊","Table cell text alignment":"儲存格文字對齊","Table properties":"表格屬性","Table toolbar":"表格工具","Text alignment":"文字對齊","Text alignment toolbar":"文字對齊","Text alternative":"替代文字","Text highlight 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"。',"This link has no URL":"連結沒有URL",Tiny:"特小","To-do List":"代辦清單","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題","Toggle the circle list style":"切換為空心圓點標示","Toggle the decimal list style":"切換為數字標示","Toggle the decimal with leading zero list style":"切換為0開頭的數字標示","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":"切換為大寫羅馬數字標示",Turquoise:"藍綠色","Type or paste your content here.":"在此輸入或貼上你的內容。","Type your title":"輸入你的標題",Underline:"底線",Undo:"取消",Unlink:"移除連結",Update:"更新","Update image URL":"更新圖片連結","Upload failed":"上傳失敗","Upload in progress":"正在上傳","Upper-latin":"大寫拉丁字母","Upper-roman":"大寫羅馬數字","Vertical text alignment toolbar":"垂直對齊",White:"白色","Widget toolbar":"小工具",Width:"寬度","Wrap text":"文繞圖",Yellow:"黃色","Yellow marker":"黃色標記"}),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||{},{"%0 of %1":"%0/%1",Accept:"","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 center":"置中對齊","Align left":"靠左對齊","Align right":"靠右對齊","Align table to the left":"靠左對齊","Align table to the right":"靠右對齊",Alignment:"對齊",Aquamarine:"淺綠色",Background:"背景顏色",Big:"大",Black:"黑色","Block quote":"段落引用",Blue:"藍色","Blue marker":"藍色標記",Bold:"粗體",Border:"邊框","Break text":"上及下","Bulleted List":"符號清單","Bulleted list styles toolbar":"無序清單工具列",Cancel:"取消","Caption for image: %0":"影像標題:%0","Caption for the image":"影像的標題","Cell properties":"儲存格屬性","Center table":"置中對齊","Centered image":"置中圖片","Change image text alternative":"修改圖片的替代文字","Choose heading":"選取標題",Circle:"空心圓點",Code:"代碼",Color:"文字顏色","Color picker":"顏色選擇",Column:"欄",Dashed:"虛線",Decimal:"數字","Decimal with leading zero":"0開頭的數字","Decrease indent":"減少縮排",Default:"預設","Delete column":"刪除欄","Delete row":"刪除列","Dim grey":"淡灰色",Dimensions:"尺寸",Disc:"實心圓點","Document colors":"文件顏色",Dotted:"點線",Double:"雙線",Downloadable:"可下載","Dropdown toolbar":"下拉選單","Edit block":"編輯區塊","Edit link":"編輯連結","Edit source":"編輯HTML","Editor block content toolbar":"編輯器區塊內容工具列","Editor contextual toolbar":"編輯器關聯式工具列","Editor editing area: %0":"編輯器編輯區:%0","Editor toolbar":"編輯器工具","Empty snippet content":"HTML標籤中無內容","Enter image caption":"輸入圖片說明","Enter table caption":"輸入表標題","Font Background Color":"前景顏色","Font Color":"字體顏色","Font Family":"字型","Font Size":"字體大小","Full size image":"完整尺寸圖片",Green:"綠色","Green marker":"綠色標記","Green pen":"綠色筆",Grey:"灰色",Groove:"內凹線","Header column":"標題欄","Header row":"標題列",Heading:"標題","Heading 1":"標題 1","Heading 2":"標題 2","Heading 3":"標題 3","Heading 4":"標題 4","Heading 5":"標題 5","Heading 6":"標題 6",Height:"高度",HEX:"",Highlight:"高亮","Horizontal line":"水平線","Horizontal text alignment toolbar":"水平對齊","HTML snippet":"HTML標籤",Huge:"特大","Image resize list":"圖片縮放清單","Image toolbar":"圖片工具","image widget":"圖片小工具","In line":"行中","Increase indent":"增加縮排",Insert:"插入","Insert code block":"插入程式碼區塊","Insert column left":"插入左方欄","Insert column right":"插入右方欄","Insert HTML":"輸入HTML","Insert image":"插入圖片","Insert image via URL":"使用連結插入圖片","Insert paragraph after block":"在這個區塊後面插入一個段落","Insert paragraph before block":"在這個區塊前面插入一個段落","Insert row above":"插入上方列","Insert row below":"插入下方列","Insert table":"插入表格",Inset:"內邊線",Italic:"斜體",Justify:"左右對齊","Justify cell text":"分散對齊","Left aligned image":"向左對齊圖片","Light blue":"亮藍色","Light green":"亮綠色","Light grey":"亮灰色",Link:"連結","Link image":"圖片連結","Link URL":"連結˙ URL","List properties":"清單屬性","Lower-latin":"小寫拉丁字母","Lower–roman":"小寫羅馬數字","Merge cell down":"合併下方儲存格","Merge cell left":"合併左方儲存格","Merge cell right":"合併右方儲存格","Merge cell up":"合併上方儲存格","Merge cells":"合併儲存格",Next:"下一","No preview available":"無法顯示預覽",None:"無","Numbered List":"有序清單","Numbered list styles toolbar":"有序清單工具列","Open in a new tab":"在新視窗開啟","Open link in new tab":"在新視窗開啟連結",Orange:"橘色",Original:"原始圖片",Outset:"外框線",Padding:"儲存格留白",Paragraph:"段落","Paste raw HTML here...":"在此貼上純HTML","Pink marker":"粉色標記","Plain text":"純文字","Press Enter to type after or press Shift + Enter to type before the widget":"按下 Enter 在小工具後輸入,或按下 Shift + Enter 在小工具前輸入",Previous:"上一",Purple:"紫色",Red:"紅色","Red pen":"紅色筆",Redo:"重做","Remove color":"移除顏色","Remove Format":"移除格式","Remove highlight":"清除高亮","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Restore default":"重設至預設值","Reversed order":"反轉順序","Rich Text Editor":"富文本編輯器",Ridge:"凸起線","Right aligned image":"向右對齊圖片",Row:"列",Save:"儲存","Save changes":"儲存變更","Saving changes":"正在儲存變更","Select all":"選取全部","Select column":"選擇欄","Select row":"選擇列","Show more items":"顯示更多","Side image":"側邊圖片",Small:"小",Solid:"實線","Split cell horizontally":"水平分割儲存格","Split cell vertically":"垂直分割儲存格",Square:"方形","Start at":"起始於","Start index must be greater than 0.":"起始索引須大於 0。",Strikethrough:"刪除線",Style:"樣式",Subscript:"下標",Superscript:"上標","Table alignment toolbar":"表格對齊","Table cell text alignment":"儲存格文字對齊","Table properties":"表格屬性","Table toolbar":"表格工具","Text alignment":"文字對齊","Text alignment toolbar":"文字對齊","Text alternative":"替代文字","Text highlight 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"。',"This link has no URL":"此連結沒有URL",Tiny:"特小","To-do List":"代辦清單","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題","Toggle the circle list style":"切換為空心圓點標示","Toggle the decimal list style":"切換為數字標示","Toggle the decimal with leading zero list style":"切換為0開頭的數字標示","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":"切換為大寫羅馬數字標示",Turquoise:"藍綠色","Type or paste your content here.":"在此輸入或貼上你的內容。","Type your title":"輸入你的標題",Underline:"底線",Undo:"取消",Unlink:"移除連結",Update:"更新","Update image URL":"更新圖片連結","Upload failed":"上傳失敗","Upload in progress":"正在上傳","Upper-latin":"大寫拉丁字母","Upper-roman":"大寫羅馬數字","Vertical text alignment toolbar":"垂直對齊",White:"白色","Widget toolbar":"小工具",Width:"寬度","Wrap text":"文繞圖",Yellow:"黃色","Yellow marker":"黃色標記"}),t.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
\ No newline at end of file
index a97a4bcf9c104a9f8d1ed91f0d0e856561ad7232..94abe2718eb6b2f0186435f1988a749158ea2b23 100644 (file)
@@ -322,6 +322,9 @@ define(["require", "exports", "../../Language"], function (require, exports, Lan
                 },
                 toolbar: this.#getToolbar(),
                 ui: {
+                    poweredBy: {
+                        label: null,
+                    },
                     viewportOffset: {
                         top: 50,
                     },
index ff6c27a8582b48dfd7b9b2f46a49e46dd53fb9ad..39adeab6b04093041be6b1d0b5e1e4248faf2b7a 100644 (file)
@@ -303,6 +303,14 @@ html[data-color-scheme="light"] .ck-body-wrapper .ck.ck-balloon-panel {
        margin-top: 0 !important;
 }
 
+.ck.ck-balloon-panel.ck-powered-by-balloon {
+       --ck-powered-by-text-color: var(--wcfContentText);
+       --ck-powered-by-background: var(--ck-color-base-background);
+       --ck-powered-by-border-color: var(--wcfInputBorderActive);
+
+       border-width: 1px !important;
+}
+
 html[data-color-scheme="dark"] {
        .ck.ck-editor,
        .ck.ck-body {
@@ -351,7 +359,9 @@ html[data-color-scheme="dark"] {
        background-color: var(--wcfContentBackground);
        border: 1px solid transparent;
        border-radius: 8px;
-       box-shadow: rgb(0 0 0 / 20%) 0 12px 28px 0, rgb(0 0 0 / 10%) 0 2px 4px 0;
+       box-shadow:
+               rgb(0 0 0 / 20%) 0 12px 28px 0,
+               rgb(0 0 0 / 10%) 0 2px 4px 0;
        color: var(--wcfContentText);
        max-width: 400px;
        padding: 20px;