@ckeditor/ckeditor5-special-characters 44.3.0-alpha.7 → 45.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(a){t.setAttribute(a,e[a])}))}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},128:t=>{"use strict";var e={};t.exports=function(t,a){var i=function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(t){a=null}e[t]=a}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(a)}},200:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-special-characters>.ck-dialog__content>div{display:grid;height:100%;max-width:100%;width:350px;grid-column-gap:0;grid-row-gap:0;grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories{grid-area:1/1/2/2;padding:var(--ck-spacing-medium) var(--ck-spacing-large)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view{padding-top:var(--ck-spacing-standard);width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both;background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}@media (prefers-reduced-motion:reduce){.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:none}}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown{display:block;width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown>button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown>button>span{width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-grid{grid-area:2/1/3/2;max-height:200px}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-info{grid-area:3/1/4/2}.ck.ck-special-characters-navigation>.ck-label{max-width:160px;overflow:hidden;text-overflow:ellipsis}.ck.ck-special-characters-navigation>.ck-dropdown .ck-dropdown__panel{max-height:250px;overflow-x:hidden;overflow-y:auto}@media screen and (max-width:600px){.ck.ck-special-characters-navigation{max-width:190px}.ck.ck-special-characters-navigation>.ck-form__header__label{overflow:hidden;text-overflow:ellipsis}}",""]);const n=c},237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,e,a)=>{t.exports=a(237)("./src/ui.js")},416:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-character-info{border-top:1px solid var(--ck-color-base-border);display:flex;justify-content:space-between;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-character-info>*{font-size:var(--ck-font-size-small);text-transform:uppercase}.ck.ck-character-info .ck-character-info__name{max-width:280px;overflow:hidden;text-overflow:ellipsis}.ck.ck-character-info .ck-character-info__code{opacity:.6}",""]);const n=c},584:(t,e,a)=>{t.exports=a(237)("./src/utils.js")},591:t=>{"use strict";var e=[];function a(t){for(var a=-1,i=0;i<e.length;i++)if(e[i].identifier===t){a=i;break}return a}function i(t,i){for(var l={},c=[],n=0;n<t.length;n++){var o=t[n],s=i.base?o[0]+i.base:o[0],h=l[s]||0,d="".concat(s," ").concat(h);l[s]=h+1;var w=a(d),u={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==w)e[w].references++,e[w].updater(u);else{var g=r(u,i);i.byIndex=n,e.splice(n,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function r(t,e){var a=e.domAPI(e);a.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;a.update(t=e)}else a.remove()}}t.exports=function(t,r){var l=i(t=t||[],r=r||{});return function(t){t=t||[];for(var c=0;c<l.length;c++){var n=a(l[c]);e[n].references--}for(var o=i(t,r),s=0;s<l.length;s++){var h=a(l[s]);0===e[h].references&&(e[h].updater(),e.splice(h,1))}l=o}}},639:t=>{"use strict";var e,a=(e=[],function(t,a){return e[t]=a,e.filter(Boolean).join("\n")});function i(t,e,i,r){var l;if(i)l="";else{l="",r.supports&&(l+="@supports (".concat(r.supports,") {")),r.media&&(l+="@media ".concat(r.media," {"));var c=void 0!==r.layer;c&&(l+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),l+=r.css,c&&(l+="}"),r.media&&(l+="}"),r.supports&&(l+="}")}if(t.styleSheet)t.styleSheet.cssText=a(e,l);else{var n=document.createTextNode(l),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(n,o[e]):t.appendChild(n)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,a=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){i(a,e,!1,t)},remove:function(t){i(a,e,!0,t)}}}},758:t=>{"use strict";t.exports=function(t){return t[1]}},782:(t,e,a)=>{t.exports=a(237)("./src/core.js")},812:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-character-grid{max-width:100%}.ck.ck-character-grid .ck-character-grid__tiles{display:grid}:root{--ck-character-grid-tile-size:24px}.ck.ck-character-grid{overflow-x:hidden;overflow-y:auto}.ck.ck-character-grid .ck-character-grid__tiles{grid-template-columns:repeat(auto-fill,minmax(var(--ck-character-grid-tile-size),1fr));margin:var(--ck-spacing-standard) var(--ck-spacing-large);grid-gap:var(--ck-spacing-standard)}.ck.ck-character-grid .ck-character-grid__tile{border:0;font-size:1.5em;height:var(--ck-character-grid-tile-size);min-height:var(--ck-character-grid-tile-size);min-width:var(--ck-character-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-character-grid-tile-size)}@media (prefers-reduced-motion:reduce){.ck.ck-character-grid .ck-character-grid__tile{transition:none}}.ck.ck-character-grid .ck-character-grid__tile:focus:not(.ck-disabled),.ck.ck-character-grid .ck-character-grid__tile:hover:not(.ck-disabled){border:0;box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-character-grid .ck-character-grid__tile .ck-button__label{line-height:var(--ck-character-grid-tile-size);text-align:center;width:100%}",""]);const n=c},834:(t,e,a)=>{t.exports=a(237)("./src/typing.js")},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a="",i=void 0!==e[5];return e[4]&&(a+="@supports (".concat(e[4],") {")),e[2]&&(a+="@media ".concat(e[2]," {")),i&&(a+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),a+=t(e),i&&(a+="}"),e[2]&&(a+="}"),e[4]&&(a+="}"),a})).join("")},e.i=function(t,a,i,r,l){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(i)for(var n=0;n<this.length;n++){var o=this[n][0];null!=o&&(c[o]=!0)}for(var s=0;s<t.length;s++){var h=[].concat(t[s]);i&&c[h[0]]||(void 0!==l&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=l),a&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=a):h[2]=a),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),e.push(h))}},e}}},e={};function a(i){var r=e[i];if(void 0!==r)return r.exports;var l=e[i]={id:i,exports:{}};return t[i](l,l.exports,a),l.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";a.r(i),a.d(i,{SpecialCharacters:()=>S,SpecialCharactersArrows:()=>A,SpecialCharactersCurrency:()=>D,SpecialCharactersEssentials:()=>E,SpecialCharactersLatin:()=>N,SpecialCharactersMathematical:()=>V,SpecialCharactersText:()=>P});var t=a(782),e=a(834),r=a(311),l=a(584),c=a(591),n=a.n(c),o=a(639),s=a.n(o),h=a(128),d=a.n(h),w=a(21),u=a.n(w),g=a(51),p=a.n(g),m=a(812),L={attributes:{"data-cke":!0}};L.setAttributes=u(),L.insert=d().bind(null,"head"),L.domAPI=s(),L.insertStyleElement=p();n()(m.A,L);m.A&&m.A.locals&&m.A.locals;class k extends r.View{constructor(t){super(t),this.tiles=this.createCollection(),this.setTemplate({tag:"div",children:[{tag:"div",attributes:{class:["ck","ck-character-grid__tiles"]},children:this.tiles}],attributes:{class:["ck","ck-character-grid"]}}),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,(0,r.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.tiles,numberOfColumns:()=>l.global.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}createTile(t,e){const a=new r.ButtonView(this.locale);return a.set({label:t,withText:!0,class:"ck-character-grid__tile"}),a.extendTemplate({attributes:{title:e},on:{mouseover:a.bindTemplate.to("mouseover"),focus:a.bindTemplate.to("focus")}}),a.on("mouseover",(()=>{this.fire("tileHover",{name:e,character:t})})),a.on("focus",(()=>{this.fire("tileFocus",{name:e,character:t})})),a.on("execute",(()=>{this.fire("execute",{name:e,character:t})})),a}render(){super.render();for(const t of this.tiles)this.focusTracker.add(t.element);this.tiles.on("change",((t,{added:e,removed:a})=>{if(e.length>0)for(const t of e)this.focusTracker.add(t.element);if(a.length>0)for(const t of a)this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}focus(){this.tiles.first.focus()}}var f=a(416),b={attributes:{"data-cke":!0}};b.setAttributes=u(),b.insert=d().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=p();n()(f.A,b);f.A&&f.A.locals&&f.A.locals;class v extends r.View{constructor(t){super(t);const e=this.bindTemplate;this.set("character",null),this.set("name",null),this.bind("code").to(this,"character",x),this.setTemplate({tag:"div",children:[{tag:"span",attributes:{class:["ck-character-info__name"]},children:[{text:e.to("name",(t=>t||"​"))}]},{tag:"span",attributes:{class:["ck-character-info__code"]},children:[{text:e.to("code")}]}],attributes:{class:["ck","ck-character-info"]}})}}function x(t){if(null===t)return"";return"U+"+("0000"+t.codePointAt(0).toString(16)).slice(-4)}class y extends r.View{constructor(t,e,a,i){super(t),this.categoriesView=e,this.gridView=a,this.infoView=i,this.items=this.createCollection(),this.focusTracker=new l.FocusTracker,this.keystrokes=new l.KeystrokeHandler,this._focusCycler=new r.FocusCycler({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",children:[this.categoriesView,this.gridView,this.infoView],attributes:{tabindex:"-1"}}),this.items.add(this.categoriesView),this.items.add(this.gridView)}render(){super.render(),this.focusTracker.add(this.categoriesView.element),this.focusTracker.add(this.gridView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}var _=a(200),C={attributes:{"data-cke":!0}};C.setAttributes=u(),C.insert=d().bind(null,"head"),C.domAPI=s(),C.insertStyleElement=p();n()(_.A,C);_.A&&_.A.locals&&_.A.locals;class T extends r.View{constructor(t,e){super(t),this.set("currentGroupName",Array.from(e.entries())[0][0]),this._groupNames=e,this._dropdownView=new r.LabeledFieldView(t,r.createLabeledDropdown),this.setTemplate({tag:"div",attributes:{class:["ck","ck-character-categories"]},children:[this._dropdownView]})}render(){super.render(),this._setupDropdown()}focus(){this._dropdownView.focus()}_setupDropdown(){const t=new l.Collection;for(const[e,a]of this._groupNames){const i={type:"button",model:new r.ViewModel({name:e,label:a,role:"menuitemradio",withText:!0})};i.model.bind("isOn").to(this,"currentGroupName",(t=>t===e)),t.add(i)}const e=(0,this.locale.t)("Category");this._dropdownView.set({label:e,isEmpty:!1}),this._dropdownView.fieldView.panelPosition="rtl"===this.locale.uiLanguageDirection?"se":"sw",this._dropdownView.fieldView.buttonView.set({withText:!0,tooltip:e,ariaLabel:e,ariaLabelledBy:void 0,isOn:!1}),this._dropdownView.fieldView.buttonView.bind("label").to(this,"currentGroupName",(t=>this._groupNames.get(t))),this._dropdownView.fieldView.on("execute",(({source:t})=>{this.currentGroupName=t.name})),(0,r.addListToDropdown)(this._dropdownView.fieldView,t,{ariaLabel:e,role:"menu"})}}const q="All";class S extends t.Plugin{static get requires(){return[e.Typing,r.Dialog]}static get pluginName(){return"SpecialCharacters"}static get isOfficialPlugin(){return!0}constructor(t){super(t);const e=t.t;this._characters=new Map,this._groups=new Map,this._allSpecialCharactersGroupLabel=e("All")}init(){const t=this.editor;t.ui.componentFactory.add("specialCharacters",(()=>{const t=this._createDialogButton(r.ButtonView);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add("menuBar:specialCharacters",(()=>this._createDialogButton(r.MenuBarMenuListItemButtonView)))}addItems(t,e,a={label:t}){if(t===q)throw new l.CKEditorError("special-character-invalid-group-name",null);const i=this._getGroup(t,a.label);for(const t of e)i.items.add(t.title),this._characters.set(t.title,t.character)}getGroups(){const t=Array.from(this._groups.keys()),e=this.editor.config.get("specialCharacters.order")||[],a=e.find((e=>!t.includes(e)));if(a)throw new l.CKEditorError("special-character-invalid-order-group-name",null,{invalidGroup:a});return new Set([...e,...t])}getCharactersForGroup(t){if(t===q)return new Set(this._characters.keys());const e=this._groups.get(t);return e?e.items:void 0}getCharacter(t){return this._characters.get(t)}_getGroup(t,e){return this._groups.has(t)||this._groups.set(t,{items:new Set,label:e}),this._groups.get(t)}_updateGrid(t,e){e.tiles.clear();const a=this.getCharactersForGroup(t);for(const t of a){const a=this.getCharacter(t);e.tiles.add(e.createTile(a,t))}}_createDropdownPanelContent(t){const e=Array.from(this.getGroups()).map((t=>[t,this._groups.get(t).label])),a=new Map([[q,this._allSpecialCharactersGroupLabel],...e]),i=new T(t,a),r=new k(t),l=new v(t);return r.on("tileHover",((t,e)=>{l.set(e)})),r.on("tileFocus",((t,e)=>{l.set(e)})),i.on("change:currentGroupName",((t,e,a)=>{this._updateGrid(a,r)})),this._updateGrid(i.currentGroupName,r),{categoriesView:i,gridView:r,infoView:l}}_createDialogButton(t){const e=this.editor,a=e.locale,i=new t(e.locale),r=e.commands.get("insertText"),l=a.t,c=this.editor.plugins.get("Dialog");return i.set({label:l("Special characters"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2.5a7.47 7.47 0 0 1 4.231 1.31 7.268 7.268 0 0 1 2.703 3.454 7.128 7.128 0 0 1 .199 4.353c-.39 1.436-1.475 2.72-2.633 3.677h2.013c0-.226.092-.443.254-.603a.876.876 0 0 1 1.229 0c.163.16.254.377.254.603v.853c0 .209-.078.41-.22.567a.873.873 0 0 1-.547.28l-.101.006h-4.695a.517.517 0 0 1-.516-.518v-1.265c0-.21.128-.398.317-.489a5.601 5.601 0 0 0 2.492-2.371 5.459 5.459 0 0 0 .552-3.693 5.53 5.53 0 0 0-1.955-3.2A5.71 5.71 0 0 0 10 4.206 5.708 5.708 0 0 0 6.419 5.46 5.527 5.527 0 0 0 4.46 8.663a5.457 5.457 0 0 0 .554 3.695 5.6 5.6 0 0 0 2.497 2.37.55.55 0 0 1 .317.49v1.264c0 .286-.23.518-.516.518H2.618a.877.877 0 0 1-.614-.25.845.845 0 0 1-.254-.603v-.853c0-.226.091-.443.254-.603a.876.876 0 0 1 1.228 0c.163.16.255.377.255.603h1.925c-1.158-.958-2.155-2.241-2.545-3.678a7.128 7.128 0 0 1 .199-4.352 7.268 7.268 0 0 1 2.703-3.455A7.475 7.475 0 0 1 10 2.5z"/></svg>',isToggleable:!0}),i.bind("isOn").to(c,"id",(t=>"specialCharacters"===t)),i.bind("isEnabled").to(r,"isEnabled"),i.on("execute",(()=>{"specialCharacters"!==c.id?this._showDialog():c.hide()})),i}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),a=t.locale,i=a.t,{categoriesView:l,gridView:c,infoView:n}=this._createDropdownPanelContent(a),o=new y(a,l,c,n);c.on("execute",((e,a)=>{t.execute("insertText",{text:a.character})})),e.show({id:"specialCharacters",title:i("Special characters"),className:"ck-special-characters",content:o,position:r.DialogViewPosition.EDITOR_TOP_SIDE})}}class A extends t.Plugin{static get pluginName(){return"SpecialCharactersArrows"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Arrows",[{title:e("leftwards simple arrow"),character:"←"},{title:e("rightwards simple arrow"),character:"→"},{title:e("upwards simple arrow"),character:"↑"},{title:e("downwards simple arrow"),character:"↓"},{title:e("leftwards double arrow"),character:"⇐"},{title:e("rightwards double arrow"),character:"⇒"},{title:e("upwards double arrow"),character:"⇑"},{title:e("downwards double arrow"),character:"⇓"},{title:e("leftwards dashed arrow"),character:"⇠"},{title:e("rightwards dashed arrow"),character:"⇢"},{title:e("upwards dashed arrow"),character:"⇡"},{title:e("downwards dashed arrow"),character:"⇣"},{title:e("leftwards arrow to bar"),character:"⇤"},{title:e("rightwards arrow to bar"),character:"⇥"},{title:e("upwards arrow to bar"),character:"⤒"},{title:e("downwards arrow to bar"),character:"⤓"},{title:e("up down arrow with base"),character:"↨"},{title:e("back with leftwards arrow above"),character:"🔙"},{title:e("end with leftwards arrow above"),character:"🔚"},{title:e("on with exclamation mark with left right arrow above"),character:"🔛"},{title:e("soon with rightwards arrow above"),character:"🔜"},{title:e("top with upwards arrow above"),character:"🔝"}],{label:e("Arrows")})}}class P extends t.Plugin{static get pluginName(){return"SpecialCharactersText"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Text",[{character:"‹",title:e("Single left-pointing angle quotation mark")},{character:"›",title:e("Single right-pointing angle quotation mark")},{character:"«",title:e("Left-pointing double angle quotation mark")},{character:"»",title:e("Right-pointing double angle quotation mark")},{character:"‘",title:e("Left single quotation mark")},{character:"’",title:e("Right single quotation mark")},{character:"“",title:e("Left double quotation mark")},{character:"”",title:e("Right double quotation mark")},{character:"‚",title:e("Single low-9 quotation mark")},{character:"„",title:e("Double low-9 quotation mark")},{character:"¡",title:e("Inverted exclamation mark")},{character:"¿",title:e("Inverted question mark")},{character:"‥",title:e("Two dot leader")},{character:"…",title:e("Horizontal ellipsis")},{character:"‡",title:e("Double dagger")},{character:"‰",title:e("Per mille sign")},{character:"‱",title:e("Per ten thousand sign")},{character:"‼",title:e("Double exclamation mark")},{character:"⁈",title:e("Question exclamation mark")},{character:"⁉",title:e("Exclamation question mark")},{character:"⁇",title:e("Double question mark")},{character:"©",title:e("Copyright sign")},{character:"®",title:e("Registered sign")},{character:"™",title:e("Trade mark sign")},{character:"§",title:e("Section sign")},{character:"¶",title:e("Paragraph sign")},{character:"⁋",title:e("Reversed paragraph sign")}],{label:e("Text")})}}class V extends t.Plugin{static get pluginName(){return"SpecialCharactersMathematical"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Mathematical",[{character:"<",title:e("Less-than sign")},{character:">",title:e("Greater-than sign")},{character:"≤",title:e("Less-than or equal to")},{character:"≥",title:e("Greater-than or equal to")},{character:"–",title:e("En dash")},{character:"—",title:e("Em dash")},{character:"¯",title:e("Macron")},{character:"‾",title:e("Overline")},{character:"°",title:e("Degree sign")},{character:"−",title:e("Minus sign")},{character:"±",title:e("Plus-minus sign")},{character:"÷",title:e("Division sign")},{character:"⁄",title:e("Fraction slash")},{character:"×",title:e("Multiplication sign")},{character:"ƒ",title:e("Latin small letter f with hook")},{character:"∫",title:e("Integral")},{character:"∑",title:e("N-ary summation")},{character:"∞",title:e("Infinity")},{character:"√",title:e("Square root")},{character:"∼",title:e("Tilde operator")},{character:"≅",title:e("Approximately equal to")},{character:"≈",title:e("Almost equal to")},{character:"≠",title:e("Not equal to")},{character:"≡",title:e("Identical to")},{character:"∈",title:e("Element of")},{character:"∉",title:e("Not an element of")},{character:"∋",title:e("Contains as member")},{character:"∏",title:e("N-ary product")},{character:"∧",title:e("Logical and")},{character:"∨",title:e("Logical or")},{character:"¬",title:e("Not sign")},{character:"∩",title:e("Intersection")},{character:"∪",title:e("Union")},{character:"∂",title:e("Partial differential")},{character:"∀",title:e("For all")},{character:"∃",title:e("There exists")},{character:"∅",title:e("Empty set")},{character:"∇",title:e("Nabla")},{character:"∗",title:e("Asterisk operator")},{character:"∝",title:e("Proportional to")},{character:"∠",title:e("Angle")},{character:"¼",title:e("Vulgar fraction one quarter")},{character:"½",title:e("Vulgar fraction one half")},{character:"¾",title:e("Vulgar fraction three quarters")}],{label:e("Mathematical")})}}class N extends t.Plugin{static get pluginName(){return"SpecialCharactersLatin"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Latin",[{character:"Ā",title:e("Latin capital letter a with macron")},{character:"ā",title:e("Latin small letter a with macron")},{character:"Ă",title:e("Latin capital letter a with breve")},{character:"ă",title:e("Latin small letter a with breve")},{character:"Ą",title:e("Latin capital letter a with ogonek")},{character:"ą",title:e("Latin small letter a with ogonek")},{character:"Ć",title:e("Latin capital letter c with acute")},{character:"ć",title:e("Latin small letter c with acute")},{character:"Ĉ",title:e("Latin capital letter c with circumflex")},{character:"ĉ",title:e("Latin small letter c with circumflex")},{character:"Ċ",title:e("Latin capital letter c with dot above")},{character:"ċ",title:e("Latin small letter c with dot above")},{character:"Č",title:e("Latin capital letter c with caron")},{character:"č",title:e("Latin small letter c with caron")},{character:"Ď",title:e("Latin capital letter d with caron")},{character:"ď",title:e("Latin small letter d with caron")},{character:"Đ",title:e("Latin capital letter d with stroke")},{character:"đ",title:e("Latin small letter d with stroke")},{character:"Ē",title:e("Latin capital letter e with macron")},{character:"ē",title:e("Latin small letter e with macron")},{character:"Ĕ",title:e("Latin capital letter e with breve")},{character:"ĕ",title:e("Latin small letter e with breve")},{character:"Ė",title:e("Latin capital letter e with dot above")},{character:"ė",title:e("Latin small letter e with dot above")},{character:"Ę",title:e("Latin capital letter e with ogonek")},{character:"ę",title:e("Latin small letter e with ogonek")},{character:"Ě",title:e("Latin capital letter e with caron")},{character:"ě",title:e("Latin small letter e with caron")},{character:"Ĝ",title:e("Latin capital letter g with circumflex")},{character:"ĝ",title:e("Latin small letter g with circumflex")},{character:"Ğ",title:e("Latin capital letter g with breve")},{character:"ğ",title:e("Latin small letter g with breve")},{character:"Ġ",title:e("Latin capital letter g with dot above")},{character:"ġ",title:e("Latin small letter g with dot above")},{character:"Ģ",title:e("Latin capital letter g with cedilla")},{character:"ģ",title:e("Latin small letter g with cedilla")},{character:"Ĥ",title:e("Latin capital letter h with circumflex")},{character:"ĥ",title:e("Latin small letter h with circumflex")},{character:"Ħ",title:e("Latin capital letter h with stroke")},{character:"ħ",title:e("Latin small letter h with stroke")},{character:"Ĩ",title:e("Latin capital letter i with tilde")},{character:"ĩ",title:e("Latin small letter i with tilde")},{character:"Ī",title:e("Latin capital letter i with macron")},{character:"ī",title:e("Latin small letter i with macron")},{character:"Ĭ",title:e("Latin capital letter i with breve")},{character:"ĭ",title:e("Latin small letter i with breve")},{character:"Į",title:e("Latin capital letter i with ogonek")},{character:"į",title:e("Latin small letter i with ogonek")},{character:"İ",title:e("Latin capital letter i with dot above")},{character:"ı",title:e("Latin small letter dotless i")},{character:"IJ",title:e("Latin capital ligature ij")},{character:"ij",title:e("Latin small ligature ij")},{character:"Ĵ",title:e("Latin capital letter j with circumflex")},{character:"ĵ",title:e("Latin small letter j with circumflex")},{character:"Ķ",title:e("Latin capital letter k with cedilla")},{character:"ķ",title:e("Latin small letter k with cedilla")},{character:"ĸ",title:e("Latin small letter kra")},{character:"Ĺ",title:e("Latin capital letter l with acute")},{character:"ĺ",title:e("Latin small letter l with acute")},{character:"Ļ",title:e("Latin capital letter l with cedilla")},{character:"ļ",title:e("Latin small letter l with cedilla")},{character:"Ľ",title:e("Latin capital letter l with caron")},{character:"ľ",title:e("Latin small letter l with caron")},{character:"Ŀ",title:e("Latin capital letter l with middle dot")},{character:"ŀ",title:e("Latin small letter l with middle dot")},{character:"Ł",title:e("Latin capital letter l with stroke")},{character:"ł",title:e("Latin small letter l with stroke")},{character:"Ń",title:e("Latin capital letter n with acute")},{character:"ń",title:e("Latin small letter n with acute")},{character:"Ņ",title:e("Latin capital letter n with cedilla")},{character:"ņ",title:e("Latin small letter n with cedilla")},{character:"Ň",title:e("Latin capital letter n with caron")},{character:"ň",title:e("Latin small letter n with caron")},{character:"ʼn",title:e("Latin small letter n preceded by apostrophe")},{character:"Ŋ",title:e("Latin capital letter eng")},{character:"ŋ",title:e("Latin small letter eng")},{character:"Ō",title:e("Latin capital letter o with macron")},{character:"ō",title:e("Latin small letter o with macron")},{character:"Ŏ",title:e("Latin capital letter o with breve")},{character:"ŏ",title:e("Latin small letter o with breve")},{character:"Ő",title:e("Latin capital letter o with double acute")},{character:"ő",title:e("Latin small letter o with double acute")},{character:"Œ",title:e("Latin capital ligature oe")},{character:"œ",title:e("Latin small ligature oe")},{character:"Ŕ",title:e("Latin capital letter r with acute")},{character:"ŕ",title:e("Latin small letter r with acute")},{character:"Ŗ",title:e("Latin capital letter r with cedilla")},{character:"ŗ",title:e("Latin small letter r with cedilla")},{character:"Ř",title:e("Latin capital letter r with caron")},{character:"ř",title:e("Latin small letter r with caron")},{character:"Ś",title:e("Latin capital letter s with acute")},{character:"ś",title:e("Latin small letter s with acute")},{character:"Ŝ",title:e("Latin capital letter s with circumflex")},{character:"ŝ",title:e("Latin small letter s with circumflex")},{character:"Ş",title:e("Latin capital letter s with cedilla")},{character:"ş",title:e("Latin small letter s with cedilla")},{character:"Š",title:e("Latin capital letter s with caron")},{character:"š",title:e("Latin small letter s with caron")},{character:"Ţ",title:e("Latin capital letter t with cedilla")},{character:"ţ",title:e("Latin small letter t with cedilla")},{character:"Ť",title:e("Latin capital letter t with caron")},{character:"ť",title:e("Latin small letter t with caron")},{character:"Ŧ",title:e("Latin capital letter t with stroke")},{character:"ŧ",title:e("Latin small letter t with stroke")},{character:"Ũ",title:e("Latin capital letter u with tilde")},{character:"ũ",title:e("Latin small letter u with tilde")},{character:"Ū",title:e("Latin capital letter u with macron")},{character:"ū",title:e("Latin small letter u with macron")},{character:"Ŭ",title:e("Latin capital letter u with breve")},{character:"ŭ",title:e("Latin small letter u with breve")},{character:"Ů",title:e("Latin capital letter u with ring above")},{character:"ů",title:e("Latin small letter u with ring above")},{character:"Ű",title:e("Latin capital letter u with double acute")},{character:"ű",title:e("Latin small letter u with double acute")},{character:"Ų",title:e("Latin capital letter u with ogonek")},{character:"ų",title:e("Latin small letter u with ogonek")},{character:"Ŵ",title:e("Latin capital letter w with circumflex")},{character:"ŵ",title:e("Latin small letter w with circumflex")},{character:"Ŷ",title:e("Latin capital letter y with circumflex")},{character:"ŷ",title:e("Latin small letter y with circumflex")},{character:"Ÿ",title:e("Latin capital letter y with diaeresis")},{character:"Ź",title:e("Latin capital letter z with acute")},{character:"ź",title:e("Latin small letter z with acute")},{character:"Ż",title:e("Latin capital letter z with dot above")},{character:"ż",title:e("Latin small letter z with dot above")},{character:"Ž",title:e("Latin capital letter z with caron")},{character:"ž",title:e("Latin small letter z with caron")},{character:"ſ",title:e("Latin small letter long s")}],{label:e("Latin")})}}class D extends t.Plugin{static get pluginName(){return"SpecialCharactersCurrency"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Currency",[{character:"$",title:e("Dollar sign")},{character:"€",title:e("Euro sign")},{character:"¥",title:e("Yen sign")},{character:"£",title:e("Pound sign")},{character:"¢",title:e("Cent sign")},{character:"₠",title:e("Euro-currency sign")},{character:"₡",title:e("Colon sign")},{character:"₢",title:e("Cruzeiro sign")},{character:"₣",title:e("French franc sign")},{character:"₤",title:e("Lira sign")},{character:"¤",title:e("Currency sign")},{character:"₿",title:e("Bitcoin sign")},{character:"₥",title:e("Mill sign")},{character:"₦",title:e("Naira sign")},{character:"₧",title:e("Peseta sign")},{character:"₨",title:e("Rupee sign")},{character:"₩",title:e("Won sign")},{character:"₪",title:e("New sheqel sign")},{character:"₫",title:e("Dong sign")},{character:"₭",title:e("Kip sign")},{character:"₮",title:e("Tugrik sign")},{character:"₯",title:e("Drachma sign")},{character:"₰",title:e("German penny sign")},{character:"₱",title:e("Peso sign")},{character:"₲",title:e("Guarani sign")},{character:"₳",title:e("Austral sign")},{character:"₴",title:e("Hryvnia sign")},{character:"₵",title:e("Cedi sign")},{character:"₶",title:e("Livre tournois sign")},{character:"₷",title:e("Spesmilo sign")},{character:"₸",title:e("Tenge sign")},{character:"₹",title:e("Indian rupee sign")},{character:"₺",title:e("Turkish lira sign")},{character:"₻",title:e("Nordic mark sign")},{character:"₼",title:e("Manat sign")},{character:"₽",title:e("Ruble sign")}],{label:e("Currency")})}}class E extends t.Plugin{static get pluginName(){return"SpecialCharactersEssentials"}static get isOfficialPlugin(){return!0}static get requires(){return[D,P,V,A,N]}}})(),(window.CKEditor5=window.CKEditor5||{}).specialCharacters=i})();
5
+ */(()=>{var t={21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(a){t.setAttribute(a,e[a])}))}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},128:t=>{"use strict";var e={};t.exports=function(t,a){var i=function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(t){a=null}e[t]=a}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(a)}},200:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-special-characters>.ck-dialog__content>div{display:grid;height:100%;max-width:100%;width:350px;grid-column-gap:0;grid-row-gap:0;grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories{grid-area:1/1/2/2;padding:var(--ck-spacing-medium) var(--ck-spacing-large)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view{padding-top:var(--ck-spacing-standard);width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both;background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}@media (prefers-reduced-motion:reduce){.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:none}}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories>.ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown{display:block;width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown>button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-categories .ck-dropdown>button>span{width:100%}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-grid{grid-area:2/1/3/2;max-height:200px}.ck.ck-special-characters>.ck-dialog__content>div>.ck-character-info{grid-area:3/1/4/2}.ck.ck-special-characters-navigation>.ck-label{max-width:160px;overflow:hidden;text-overflow:ellipsis}.ck.ck-special-characters-navigation>.ck-dropdown .ck-dropdown__panel{max-height:250px;overflow-x:hidden;overflow-y:auto}@media screen and (max-width:600px){.ck.ck-special-characters-navigation{max-width:190px}.ck.ck-special-characters-navigation>.ck-form__header__label{overflow:hidden;text-overflow:ellipsis}}",""]);const n=c},237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,e,a)=>{t.exports=a(237)("./src/ui.js")},355:(t,e,a)=>{t.exports=a(237)("./src/icons.js")},416:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-character-info{border-top:1px solid var(--ck-color-base-border);display:flex;justify-content:space-between;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-character-info>*{font-size:var(--ck-font-size-small);text-transform:uppercase}.ck.ck-character-info .ck-character-info__name{max-width:280px;overflow:hidden;text-overflow:ellipsis}.ck.ck-character-info .ck-character-info__code{opacity:.6}",""]);const n=c},584:(t,e,a)=>{t.exports=a(237)("./src/utils.js")},591:t=>{"use strict";var e=[];function a(t){for(var a=-1,i=0;i<e.length;i++)if(e[i].identifier===t){a=i;break}return a}function i(t,i){for(var l={},c=[],n=0;n<t.length;n++){var o=t[n],s=i.base?o[0]+i.base:o[0],h=l[s]||0,d="".concat(s," ").concat(h);l[s]=h+1;var w=a(d),u={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==w)e[w].references++,e[w].updater(u);else{var g=r(u,i);i.byIndex=n,e.splice(n,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function r(t,e){var a=e.domAPI(e);a.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;a.update(t=e)}else a.remove()}}t.exports=function(t,r){var l=i(t=t||[],r=r||{});return function(t){t=t||[];for(var c=0;c<l.length;c++){var n=a(l[c]);e[n].references--}for(var o=i(t,r),s=0;s<l.length;s++){var h=a(l[s]);0===e[h].references&&(e[h].updater(),e.splice(h,1))}l=o}}},639:t=>{"use strict";var e,a=(e=[],function(t,a){return e[t]=a,e.filter(Boolean).join("\n")});function i(t,e,i,r){var l;if(i)l="";else{l="",r.supports&&(l+="@supports (".concat(r.supports,") {")),r.media&&(l+="@media ".concat(r.media," {"));var c=void 0!==r.layer;c&&(l+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),l+=r.css,c&&(l+="}"),r.media&&(l+="}"),r.supports&&(l+="}")}if(t.styleSheet)t.styleSheet.cssText=a(e,l);else{var n=document.createTextNode(l),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(n,o[e]):t.appendChild(n)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,a=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){i(a,e,!1,t)},remove:function(t){i(a,e,!0,t)}}}},758:t=>{"use strict";t.exports=function(t){return t[1]}},782:(t,e,a)=>{t.exports=a(237)("./src/core.js")},812:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var i=a(758),r=a.n(i),l=a(935),c=a.n(l)()(r());c.push([t.id,".ck.ck-character-grid{max-width:100%}.ck.ck-character-grid .ck-character-grid__tiles{display:grid}:root{--ck-character-grid-tile-size:24px}.ck.ck-character-grid{overflow-x:hidden;overflow-y:auto}.ck.ck-character-grid .ck-character-grid__tiles{grid-template-columns:repeat(auto-fill,minmax(var(--ck-character-grid-tile-size),1fr));margin:var(--ck-spacing-standard) var(--ck-spacing-large);grid-gap:var(--ck-spacing-standard)}.ck.ck-character-grid .ck-character-grid__tile{border:0;font-size:1.5em;height:var(--ck-character-grid-tile-size);min-height:var(--ck-character-grid-tile-size);min-width:var(--ck-character-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-character-grid-tile-size)}@media (prefers-reduced-motion:reduce){.ck.ck-character-grid .ck-character-grid__tile{transition:none}}.ck.ck-character-grid .ck-character-grid__tile:focus:not(.ck-disabled),.ck.ck-character-grid .ck-character-grid__tile:hover:not(.ck-disabled){border:0;box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-character-grid .ck-character-grid__tile .ck-button__label{line-height:var(--ck-character-grid-tile-size);text-align:center;width:100%}",""]);const n=c},834:(t,e,a)=>{t.exports=a(237)("./src/typing.js")},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a="",i=void 0!==e[5];return e[4]&&(a+="@supports (".concat(e[4],") {")),e[2]&&(a+="@media ".concat(e[2]," {")),i&&(a+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),a+=t(e),i&&(a+="}"),e[2]&&(a+="}"),e[4]&&(a+="}"),a})).join("")},e.i=function(t,a,i,r,l){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(i)for(var n=0;n<this.length;n++){var o=this[n][0];null!=o&&(c[o]=!0)}for(var s=0;s<t.length;s++){var h=[].concat(t[s]);i&&c[h[0]]||(void 0!==l&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=l),a&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=a):h[2]=a),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),e.push(h))}},e}}},e={};function a(i){var r=e[i];if(void 0!==r)return r.exports;var l=e[i]={id:i,exports:{}};return t[i](l,l.exports,a),l.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";a.r(i),a.d(i,{SpecialCharacters:()=>A,SpecialCharactersArrows:()=>P,SpecialCharactersCurrency:()=>E,SpecialCharactersEssentials:()=>I,SpecialCharactersLatin:()=>D,SpecialCharactersMathematical:()=>N,SpecialCharactersText:()=>V});var t=a(782),e=a(834),r=a(355),l=a(311),c=a(584),n=a(591),o=a.n(n),s=a(639),h=a.n(s),d=a(128),w=a.n(d),u=a(21),g=a.n(u),p=a(51),m=a.n(p),L=a(812),k={attributes:{"data-cke":!0}};k.setAttributes=g(),k.insert=w().bind(null,"head"),k.domAPI=h(),k.insertStyleElement=m();o()(L.A,k);L.A&&L.A.locals&&L.A.locals;class f extends l.View{tiles;focusTracker;keystrokes;constructor(t){super(t),this.tiles=this.createCollection(),this.setTemplate({tag:"div",children:[{tag:"div",attributes:{class:["ck","ck-character-grid__tiles"]},children:this.tiles}],attributes:{class:["ck","ck-character-grid"]}}),this.focusTracker=new c.FocusTracker,this.keystrokes=new c.KeystrokeHandler,(0,l.addKeyboardHandlingForGrid)({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.tiles,numberOfColumns:()=>c.global.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}createTile(t,e){const a=new l.ButtonView(this.locale);return a.set({label:t,withText:!0,class:"ck-character-grid__tile"}),a.extendTemplate({attributes:{title:e},on:{mouseover:a.bindTemplate.to("mouseover"),focus:a.bindTemplate.to("focus")}}),a.on("mouseover",(()=>{this.fire("tileHover",{name:e,character:t})})),a.on("focus",(()=>{this.fire("tileFocus",{name:e,character:t})})),a.on("execute",(()=>{this.fire("execute",{name:e,character:t})})),a}render(){super.render();for(const t of this.tiles)this.focusTracker.add(t.element);this.tiles.on("change",((t,{added:e,removed:a})=>{if(e.length>0)for(const t of e)this.focusTracker.add(t.element);if(a.length>0)for(const t of a)this.focusTracker.remove(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}focus(){this.tiles.first.focus()}}var b=a(416),v={attributes:{"data-cke":!0}};v.setAttributes=g(),v.insert=w().bind(null,"head"),v.domAPI=h(),v.insertStyleElement=m();o()(b.A,v);b.A&&b.A.locals&&b.A.locals;class x extends l.View{constructor(t){super(t);const e=this.bindTemplate;this.set("character",null),this.set("name",null),this.bind("code").to(this,"character",y),this.setTemplate({tag:"div",children:[{tag:"span",attributes:{class:["ck-character-info__name"]},children:[{text:e.to("name",(t=>t||"​"))}]},{tag:"span",attributes:{class:["ck-character-info__code"]},children:[{text:e.to("code")}]}],attributes:{class:["ck","ck-character-info"]}})}}function y(t){if(null===t)return"";return"U+"+("0000"+t.codePointAt(0).toString(16)).slice(-4)}class _ extends l.View{items;focusTracker;keystrokes;_focusCycler;categoriesView;gridView;infoView;constructor(t,e,a,i){super(t),this.categoriesView=e,this.gridView=a,this.infoView=i,this.items=this.createCollection(),this.focusTracker=new c.FocusTracker,this.keystrokes=new c.KeystrokeHandler,this._focusCycler=new l.FocusCycler({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",children:[this.categoriesView,this.gridView,this.infoView],attributes:{tabindex:"-1"}}),this.items.add(this.categoriesView),this.items.add(this.gridView)}render(){super.render(),this.focusTracker.add(this.categoriesView.element),this.focusTracker.add(this.gridView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}var C=a(200),T={attributes:{"data-cke":!0}};T.setAttributes=g(),T.insert=w().bind(null,"head"),T.domAPI=h(),T.insertStyleElement=m();o()(C.A,T);C.A&&C.A.locals&&C.A.locals;class q extends l.View{_groupNames;_dropdownView;constructor(t,e){super(t),this.set("currentGroupName",Array.from(e.entries())[0][0]),this._groupNames=e,this._dropdownView=new l.LabeledFieldView(t,l.createLabeledDropdown),this.setTemplate({tag:"div",attributes:{class:["ck","ck-character-categories"]},children:[this._dropdownView]})}render(){super.render(),this._setupDropdown()}focus(){this._dropdownView.focus()}_setupDropdown(){const t=new c.Collection;for(const[e,a]of this._groupNames){const i={type:"button",model:new l.ViewModel({name:e,label:a,role:"menuitemradio",withText:!0})};i.model.bind("isOn").to(this,"currentGroupName",(t=>t===e)),t.add(i)}const e=(0,this.locale.t)("Category");this._dropdownView.set({label:e,isEmpty:!1}),this._dropdownView.fieldView.panelPosition="rtl"===this.locale.uiLanguageDirection?"se":"sw",this._dropdownView.fieldView.buttonView.set({withText:!0,tooltip:e,ariaLabel:e,ariaLabelledBy:void 0,isOn:!1}),this._dropdownView.fieldView.buttonView.bind("label").to(this,"currentGroupName",(t=>this._groupNames.get(t))),this._dropdownView.fieldView.on("execute",(({source:t})=>{this.currentGroupName=t.name})),(0,l.addListToDropdown)(this._dropdownView.fieldView,t,{ariaLabel:e,role:"menu"})}}const S="All";class A extends t.Plugin{_characters;_groups;_allSpecialCharactersGroupLabel;static get requires(){return[e.Typing,l.Dialog]}static get pluginName(){return"SpecialCharacters"}static get isOfficialPlugin(){return!0}constructor(t){super(t);const e=t.t;this._characters=new Map,this._groups=new Map,this._allSpecialCharactersGroupLabel=e("All")}init(){const t=this.editor;t.ui.componentFactory.add("specialCharacters",(()=>{const t=this._createDialogButton(l.ButtonView);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add("menuBar:specialCharacters",(()=>this._createDialogButton(l.MenuBarMenuListItemButtonView)))}addItems(t,e,a={label:t}){if(t===S)throw new c.CKEditorError("special-character-invalid-group-name",null);const i=this._getGroup(t,a.label);for(const t of e)i.items.add(t.title),this._characters.set(t.title,t.character)}getGroups(){const t=Array.from(this._groups.keys()),e=this.editor.config.get("specialCharacters.order")||[],a=e.find((e=>!t.includes(e)));if(a)throw new c.CKEditorError("special-character-invalid-order-group-name",null,{invalidGroup:a});return new Set([...e,...t])}getCharactersForGroup(t){if(t===S)return new Set(this._characters.keys());const e=this._groups.get(t);return e?e.items:void 0}getCharacter(t){return this._characters.get(t)}_getGroup(t,e){return this._groups.has(t)||this._groups.set(t,{items:new Set,label:e}),this._groups.get(t)}_updateGrid(t,e){e.tiles.clear();const a=this.getCharactersForGroup(t);for(const t of a){const a=this.getCharacter(t);e.tiles.add(e.createTile(a,t))}}_createDropdownPanelContent(t){const e=Array.from(this.getGroups()).map((t=>[t,this._groups.get(t).label])),a=new Map([[S,this._allSpecialCharactersGroupLabel],...e]),i=new q(t,a),r=new f(t),l=new x(t);return r.on("tileHover",((t,e)=>{l.set(e)})),r.on("tileFocus",((t,e)=>{l.set(e)})),i.on("change:currentGroupName",((t,e,a)=>{this._updateGrid(a,r)})),this._updateGrid(i.currentGroupName,r),{categoriesView:i,gridView:r,infoView:l}}_createDialogButton(t){const e=this.editor,a=e.locale,i=new t(e.locale),l=e.commands.get("insertText"),c=a.t,n=this.editor.plugins.get("Dialog");return i.set({label:c("Special characters"),icon:r.IconSpecialCharacters,isToggleable:!0}),i.bind("isOn").to(n,"id",(t=>"specialCharacters"===t)),i.bind("isEnabled").to(l,"isEnabled"),i.on("execute",(()=>{"specialCharacters"!==n.id?this._showDialog():n.hide()})),i}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),a=t.locale,i=a.t,{categoriesView:r,gridView:c,infoView:n}=this._createDropdownPanelContent(a),o=new _(a,r,c,n);c.on("execute",((e,a)=>{t.execute("insertText",{text:a.character})})),e.show({id:"specialCharacters",title:i("Special characters"),className:"ck-special-characters",content:o,position:l.DialogViewPosition.EDITOR_TOP_SIDE})}}class P extends t.Plugin{static get pluginName(){return"SpecialCharactersArrows"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Arrows",[{title:e("leftwards simple arrow"),character:"←"},{title:e("rightwards simple arrow"),character:"→"},{title:e("upwards simple arrow"),character:"↑"},{title:e("downwards simple arrow"),character:"↓"},{title:e("leftwards double arrow"),character:"⇐"},{title:e("rightwards double arrow"),character:"⇒"},{title:e("upwards double arrow"),character:"⇑"},{title:e("downwards double arrow"),character:"⇓"},{title:e("leftwards dashed arrow"),character:"⇠"},{title:e("rightwards dashed arrow"),character:"⇢"},{title:e("upwards dashed arrow"),character:"⇡"},{title:e("downwards dashed arrow"),character:"⇣"},{title:e("leftwards arrow to bar"),character:"⇤"},{title:e("rightwards arrow to bar"),character:"⇥"},{title:e("upwards arrow to bar"),character:"⤒"},{title:e("downwards arrow to bar"),character:"⤓"},{title:e("up down arrow with base"),character:"↨"},{title:e("back with leftwards arrow above"),character:"🔙"},{title:e("end with leftwards arrow above"),character:"🔚"},{title:e("on with exclamation mark with left right arrow above"),character:"🔛"},{title:e("soon with rightwards arrow above"),character:"🔜"},{title:e("top with upwards arrow above"),character:"🔝"}],{label:e("Arrows")})}}class V extends t.Plugin{static get pluginName(){return"SpecialCharactersText"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Text",[{character:"‹",title:e("Single left-pointing angle quotation mark")},{character:"›",title:e("Single right-pointing angle quotation mark")},{character:"«",title:e("Left-pointing double angle quotation mark")},{character:"»",title:e("Right-pointing double angle quotation mark")},{character:"‘",title:e("Left single quotation mark")},{character:"’",title:e("Right single quotation mark")},{character:"“",title:e("Left double quotation mark")},{character:"”",title:e("Right double quotation mark")},{character:"‚",title:e("Single low-9 quotation mark")},{character:"„",title:e("Double low-9 quotation mark")},{character:"¡",title:e("Inverted exclamation mark")},{character:"¿",title:e("Inverted question mark")},{character:"‥",title:e("Two dot leader")},{character:"…",title:e("Horizontal ellipsis")},{character:"‡",title:e("Double dagger")},{character:"‰",title:e("Per mille sign")},{character:"‱",title:e("Per ten thousand sign")},{character:"‼",title:e("Double exclamation mark")},{character:"⁈",title:e("Question exclamation mark")},{character:"⁉",title:e("Exclamation question mark")},{character:"⁇",title:e("Double question mark")},{character:"©",title:e("Copyright sign")},{character:"®",title:e("Registered sign")},{character:"™",title:e("Trade mark sign")},{character:"§",title:e("Section sign")},{character:"¶",title:e("Paragraph sign")},{character:"⁋",title:e("Reversed paragraph sign")}],{label:e("Text")})}}class N extends t.Plugin{static get pluginName(){return"SpecialCharactersMathematical"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Mathematical",[{character:"<",title:e("Less-than sign")},{character:">",title:e("Greater-than sign")},{character:"≤",title:e("Less-than or equal to")},{character:"≥",title:e("Greater-than or equal to")},{character:"–",title:e("En dash")},{character:"—",title:e("Em dash")},{character:"¯",title:e("Macron")},{character:"‾",title:e("Overline")},{character:"°",title:e("Degree sign")},{character:"−",title:e("Minus sign")},{character:"±",title:e("Plus-minus sign")},{character:"÷",title:e("Division sign")},{character:"⁄",title:e("Fraction slash")},{character:"×",title:e("Multiplication sign")},{character:"ƒ",title:e("Latin small letter f with hook")},{character:"∫",title:e("Integral")},{character:"∑",title:e("N-ary summation")},{character:"∞",title:e("Infinity")},{character:"√",title:e("Square root")},{character:"∼",title:e("Tilde operator")},{character:"≅",title:e("Approximately equal to")},{character:"≈",title:e("Almost equal to")},{character:"≠",title:e("Not equal to")},{character:"≡",title:e("Identical to")},{character:"∈",title:e("Element of")},{character:"∉",title:e("Not an element of")},{character:"∋",title:e("Contains as member")},{character:"∏",title:e("N-ary product")},{character:"∧",title:e("Logical and")},{character:"∨",title:e("Logical or")},{character:"¬",title:e("Not sign")},{character:"∩",title:e("Intersection")},{character:"∪",title:e("Union")},{character:"∂",title:e("Partial differential")},{character:"∀",title:e("For all")},{character:"∃",title:e("There exists")},{character:"∅",title:e("Empty set")},{character:"∇",title:e("Nabla")},{character:"∗",title:e("Asterisk operator")},{character:"∝",title:e("Proportional to")},{character:"∠",title:e("Angle")},{character:"¼",title:e("Vulgar fraction one quarter")},{character:"½",title:e("Vulgar fraction one half")},{character:"¾",title:e("Vulgar fraction three quarters")}],{label:e("Mathematical")})}}class D extends t.Plugin{static get pluginName(){return"SpecialCharactersLatin"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Latin",[{character:"Ā",title:e("Latin capital letter a with macron")},{character:"ā",title:e("Latin small letter a with macron")},{character:"Ă",title:e("Latin capital letter a with breve")},{character:"ă",title:e("Latin small letter a with breve")},{character:"Ą",title:e("Latin capital letter a with ogonek")},{character:"ą",title:e("Latin small letter a with ogonek")},{character:"Ć",title:e("Latin capital letter c with acute")},{character:"ć",title:e("Latin small letter c with acute")},{character:"Ĉ",title:e("Latin capital letter c with circumflex")},{character:"ĉ",title:e("Latin small letter c with circumflex")},{character:"Ċ",title:e("Latin capital letter c with dot above")},{character:"ċ",title:e("Latin small letter c with dot above")},{character:"Č",title:e("Latin capital letter c with caron")},{character:"č",title:e("Latin small letter c with caron")},{character:"Ď",title:e("Latin capital letter d with caron")},{character:"ď",title:e("Latin small letter d with caron")},{character:"Đ",title:e("Latin capital letter d with stroke")},{character:"đ",title:e("Latin small letter d with stroke")},{character:"Ē",title:e("Latin capital letter e with macron")},{character:"ē",title:e("Latin small letter e with macron")},{character:"Ĕ",title:e("Latin capital letter e with breve")},{character:"ĕ",title:e("Latin small letter e with breve")},{character:"Ė",title:e("Latin capital letter e with dot above")},{character:"ė",title:e("Latin small letter e with dot above")},{character:"Ę",title:e("Latin capital letter e with ogonek")},{character:"ę",title:e("Latin small letter e with ogonek")},{character:"Ě",title:e("Latin capital letter e with caron")},{character:"ě",title:e("Latin small letter e with caron")},{character:"Ĝ",title:e("Latin capital letter g with circumflex")},{character:"ĝ",title:e("Latin small letter g with circumflex")},{character:"Ğ",title:e("Latin capital letter g with breve")},{character:"ğ",title:e("Latin small letter g with breve")},{character:"Ġ",title:e("Latin capital letter g with dot above")},{character:"ġ",title:e("Latin small letter g with dot above")},{character:"Ģ",title:e("Latin capital letter g with cedilla")},{character:"ģ",title:e("Latin small letter g with cedilla")},{character:"Ĥ",title:e("Latin capital letter h with circumflex")},{character:"ĥ",title:e("Latin small letter h with circumflex")},{character:"Ħ",title:e("Latin capital letter h with stroke")},{character:"ħ",title:e("Latin small letter h with stroke")},{character:"Ĩ",title:e("Latin capital letter i with tilde")},{character:"ĩ",title:e("Latin small letter i with tilde")},{character:"Ī",title:e("Latin capital letter i with macron")},{character:"ī",title:e("Latin small letter i with macron")},{character:"Ĭ",title:e("Latin capital letter i with breve")},{character:"ĭ",title:e("Latin small letter i with breve")},{character:"Į",title:e("Latin capital letter i with ogonek")},{character:"į",title:e("Latin small letter i with ogonek")},{character:"İ",title:e("Latin capital letter i with dot above")},{character:"ı",title:e("Latin small letter dotless i")},{character:"IJ",title:e("Latin capital ligature ij")},{character:"ij",title:e("Latin small ligature ij")},{character:"Ĵ",title:e("Latin capital letter j with circumflex")},{character:"ĵ",title:e("Latin small letter j with circumflex")},{character:"Ķ",title:e("Latin capital letter k with cedilla")},{character:"ķ",title:e("Latin small letter k with cedilla")},{character:"ĸ",title:e("Latin small letter kra")},{character:"Ĺ",title:e("Latin capital letter l with acute")},{character:"ĺ",title:e("Latin small letter l with acute")},{character:"Ļ",title:e("Latin capital letter l with cedilla")},{character:"ļ",title:e("Latin small letter l with cedilla")},{character:"Ľ",title:e("Latin capital letter l with caron")},{character:"ľ",title:e("Latin small letter l with caron")},{character:"Ŀ",title:e("Latin capital letter l with middle dot")},{character:"ŀ",title:e("Latin small letter l with middle dot")},{character:"Ł",title:e("Latin capital letter l with stroke")},{character:"ł",title:e("Latin small letter l with stroke")},{character:"Ń",title:e("Latin capital letter n with acute")},{character:"ń",title:e("Latin small letter n with acute")},{character:"Ņ",title:e("Latin capital letter n with cedilla")},{character:"ņ",title:e("Latin small letter n with cedilla")},{character:"Ň",title:e("Latin capital letter n with caron")},{character:"ň",title:e("Latin small letter n with caron")},{character:"ʼn",title:e("Latin small letter n preceded by apostrophe")},{character:"Ŋ",title:e("Latin capital letter eng")},{character:"ŋ",title:e("Latin small letter eng")},{character:"Ō",title:e("Latin capital letter o with macron")},{character:"ō",title:e("Latin small letter o with macron")},{character:"Ŏ",title:e("Latin capital letter o with breve")},{character:"ŏ",title:e("Latin small letter o with breve")},{character:"Ő",title:e("Latin capital letter o with double acute")},{character:"ő",title:e("Latin small letter o with double acute")},{character:"Œ",title:e("Latin capital ligature oe")},{character:"œ",title:e("Latin small ligature oe")},{character:"Ŕ",title:e("Latin capital letter r with acute")},{character:"ŕ",title:e("Latin small letter r with acute")},{character:"Ŗ",title:e("Latin capital letter r with cedilla")},{character:"ŗ",title:e("Latin small letter r with cedilla")},{character:"Ř",title:e("Latin capital letter r with caron")},{character:"ř",title:e("Latin small letter r with caron")},{character:"Ś",title:e("Latin capital letter s with acute")},{character:"ś",title:e("Latin small letter s with acute")},{character:"Ŝ",title:e("Latin capital letter s with circumflex")},{character:"ŝ",title:e("Latin small letter s with circumflex")},{character:"Ş",title:e("Latin capital letter s with cedilla")},{character:"ş",title:e("Latin small letter s with cedilla")},{character:"Š",title:e("Latin capital letter s with caron")},{character:"š",title:e("Latin small letter s with caron")},{character:"Ţ",title:e("Latin capital letter t with cedilla")},{character:"ţ",title:e("Latin small letter t with cedilla")},{character:"Ť",title:e("Latin capital letter t with caron")},{character:"ť",title:e("Latin small letter t with caron")},{character:"Ŧ",title:e("Latin capital letter t with stroke")},{character:"ŧ",title:e("Latin small letter t with stroke")},{character:"Ũ",title:e("Latin capital letter u with tilde")},{character:"ũ",title:e("Latin small letter u with tilde")},{character:"Ū",title:e("Latin capital letter u with macron")},{character:"ū",title:e("Latin small letter u with macron")},{character:"Ŭ",title:e("Latin capital letter u with breve")},{character:"ŭ",title:e("Latin small letter u with breve")},{character:"Ů",title:e("Latin capital letter u with ring above")},{character:"ů",title:e("Latin small letter u with ring above")},{character:"Ű",title:e("Latin capital letter u with double acute")},{character:"ű",title:e("Latin small letter u with double acute")},{character:"Ų",title:e("Latin capital letter u with ogonek")},{character:"ų",title:e("Latin small letter u with ogonek")},{character:"Ŵ",title:e("Latin capital letter w with circumflex")},{character:"ŵ",title:e("Latin small letter w with circumflex")},{character:"Ŷ",title:e("Latin capital letter y with circumflex")},{character:"ŷ",title:e("Latin small letter y with circumflex")},{character:"Ÿ",title:e("Latin capital letter y with diaeresis")},{character:"Ź",title:e("Latin capital letter z with acute")},{character:"ź",title:e("Latin small letter z with acute")},{character:"Ż",title:e("Latin capital letter z with dot above")},{character:"ż",title:e("Latin small letter z with dot above")},{character:"Ž",title:e("Latin capital letter z with caron")},{character:"ž",title:e("Latin small letter z with caron")},{character:"ſ",title:e("Latin small letter long s")}],{label:e("Latin")})}}class E extends t.Plugin{static get pluginName(){return"SpecialCharactersCurrency"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.t;t.plugins.get("SpecialCharacters").addItems("Currency",[{character:"$",title:e("Dollar sign")},{character:"€",title:e("Euro sign")},{character:"¥",title:e("Yen sign")},{character:"£",title:e("Pound sign")},{character:"¢",title:e("Cent sign")},{character:"₠",title:e("Euro-currency sign")},{character:"₡",title:e("Colon sign")},{character:"₢",title:e("Cruzeiro sign")},{character:"₣",title:e("French franc sign")},{character:"₤",title:e("Lira sign")},{character:"¤",title:e("Currency sign")},{character:"₿",title:e("Bitcoin sign")},{character:"₥",title:e("Mill sign")},{character:"₦",title:e("Naira sign")},{character:"₧",title:e("Peseta sign")},{character:"₨",title:e("Rupee sign")},{character:"₩",title:e("Won sign")},{character:"₪",title:e("New sheqel sign")},{character:"₫",title:e("Dong sign")},{character:"₭",title:e("Kip sign")},{character:"₮",title:e("Tugrik sign")},{character:"₯",title:e("Drachma sign")},{character:"₰",title:e("German penny sign")},{character:"₱",title:e("Peso sign")},{character:"₲",title:e("Guarani sign")},{character:"₳",title:e("Austral sign")},{character:"₴",title:e("Hryvnia sign")},{character:"₵",title:e("Cedi sign")},{character:"₶",title:e("Livre tournois sign")},{character:"₷",title:e("Spesmilo sign")},{character:"₸",title:e("Tenge sign")},{character:"₹",title:e("Indian rupee sign")},{character:"₺",title:e("Turkish lira sign")},{character:"₻",title:e("Nordic mark sign")},{character:"₼",title:e("Manat sign")},{character:"₽",title:e("Ruble sign")}],{label:e("Currency")})}}class I extends t.Plugin{static get pluginName(){return"SpecialCharactersEssentials"}static get isOfficialPlugin(){return!0}static get requires(){return[E,V,N,P,D]}}})(),(window.CKEditor5=window.CKEditor5||{}).specialCharacters=i})();
@@ -0,0 +1 @@
1
+ !function(t){const a=t.be=t.be||{};a.dictionary=Object.assign(a.dictionary||{},{All:"Усе","Almost equal to":"Падобны",Angle:"Вугал","Approximately equal to":"Геаметрычнае роўнасць",Arrows:"Стрэлкі","Asterisk operator":"Аператар зірка","Austral sign":"Сімвал аргентынскага аустраля","back with leftwards arrow above":"стрэлка ўлева над словам BACK (назад)","Bitcoin sign":"Сімвал біткойна",Category:"Катэгорыя","Cedi sign":"Сімвал ганскага седи","Cent sign":"Сімвал цэнта","Colon sign":"Сімвал двукроп'я","Contains as member":"Утрымлівае як член","Copyright sign":"Знак аўтарскага права","Cruzeiro sign":"Сімвал бразільскага крузэйра",Currency:"Валюта","Currency sign":"Сімвал валюты","Degree sign":"Знак градуса","Division sign":"Знак дзялення","Dollar sign":"Сімвал долара","Dong sign":"Сімвал донга","Double dagger":"Двайны крыжык","Double exclamation mark":"Двайны клічнік","Double low-9 quotation mark":"Нижняе двойнае адкрываючае двукоссе","Double question mark":"Двайны пытальнік","downwards arrow to bar":"стрэлка ўніз, упіраючая ў планку","downwards dashed arrow":"пунктырная стрэлка ўніз","downwards double arrow":"двойная стрэлка ўніз","downwards simple arrow":"простая стрэлка ўніз","Drachma sign":"Сімвал драхмы","Element of":"Належыць","Em dash":"Дыягарэм","Empty set":"Пустое мноства","En dash":"Сярэдняе злучок","end with leftwards arrow above":"стрэлка ўлева над словам END (канец)","Euro sign":"Сімвал эўра","Euro-currency sign":"Сімвал эўравалюты","Exclamation question mark":"Клічнік пытальнік","For all":"Для ўсіх","Fraction slash":"Дробная наклоная рыса","French franc sign":"Сімвал французскага франка","German penny sign":"Сімвал нямецкага пенні","Greater-than or equal to":"Большы або роўны","Greater-than sign":"Знак больш","Guarani sign":"Сімвал гуарані","Horizontal ellipsis":"Шматкроп'е","Hryvnia sign":"Сімвал грыўні","Identical to":"Ідэнтычны","Indian rupee sign":"Сімвал індыйскай рупіі",Infinity:"Бесканечнасць",Integral:"Інтэграл",Intersection:"Перасячэнне","Inverted exclamation mark":"Перавернуты клічнік","Inverted question mark":"Перавернуты пытальнік","Kip sign":"Сімвал кіпа",Latin:"Латынскія","Latin capital letter a with breve":"Лацінская загальная літара «A» з брэве","Latin capital letter a with macron":"Лацінская загальная літара «A» з макронам","Latin capital letter a with ogonek":"Лацінская загальная літара «A» з агонэкам","Latin capital letter c with acute":"Лацінская загальная літара «C» з акутам","Latin capital letter c with caron":"Лацінская загальная літара «C» з гачэкам","Latin capital letter c with circumflex":"Лацінская загальная літара «C» з цыркумфлексам","Latin capital letter c with dot above":"Лацінская загальная літара «C» з кропкай зверху","Latin capital letter d with caron":"Лацінская загальная літара «D» з гачэкам","Latin capital letter d with stroke":"Лацінская загальная літара «D» з штрыхам","Latin capital letter e with breve":"Лацінская загальная літара «E» з брэве","Latin capital letter e with caron":"Лацінская загальная літара «E» з гачэкам","Latin capital letter e with dot above":"Лацінская загальная літара «E» з кропкай зверху","Latin capital letter e with macron":"Лацінская загальная літара «E» з макронам","Latin capital letter e with ogonek":"Лацінская загальная літара «E» з агонэкам","Latin capital letter eng":"Лацінская загальная літара eng","Latin capital letter g with breve":"Лацінская загальная літара «G» з брэве","Latin capital letter g with cedilla":"Лацінская загальная літара «G» з седыллю","Latin capital letter g with circumflex":"Лацінская загальная літара «G» з цыркумфлексам","Latin capital letter g with dot above":"Лацінская загальная літара «G» з кропкай зверху","Latin capital letter h with circumflex":"Лацінская загальная літара «H» з цыркумфлексам","Latin capital letter h with stroke":"Лацінская загальная літара «H» з штрыхам","Latin capital letter i with breve":"Лацінская загальная літара «I» з брэве","Latin capital letter i with dot above":"Лацінская загальная літара «I» з кропкай зверху","Latin capital letter i with macron":"Лацінская загальная літара «I» з макронам","Latin capital letter i with ogonek":"Лацінская загальная літара «I» з агонэкам","Latin capital letter i with tilde":"Лацінская загальная літара «I» з тыльдай","Latin capital letter j with circumflex":"Лацінская загальная літара «J» з цыркумфлексам","Latin capital letter k with cedilla":"Лацінская загальная літара «K» з седыллю","Latin capital letter l with acute":"Лацінская загальная літара «L» з акутам","Latin capital letter l with caron":"Лацінская загальная літара «L» з гачэкам","Latin capital letter l with cedilla":"Лацінская загальная літара «L» з седыллю","Latin capital letter l with middle dot":"Лацінская загальная літара «L» з кропкай унутры","Latin capital letter l with stroke":"Лацінская загальная літара «L» з штрыхам","Latin capital letter n with acute":"Лацінская загальная літара «N» з акутам","Latin capital letter n with caron":"Лацінская загальная літара «N» з гачэкам","Latin capital letter n with cedilla":"Лацінская загальная літара «N» з седыллю","Latin capital letter o with breve":"Лацінская загальная літара «O» з брэве","Latin capital letter o with double acute":"Лацінская загальная літара «O» з двойным акутам","Latin capital letter o with macron":"Лацінская загальная літара «O» з макронам","Latin capital letter r with acute":"Лацінская загальная літара «R» з акутам","Latin capital letter r with caron":"Лацінская загальная літара «R» з гачэкам","Latin capital letter r with cedilla":"Лацінская загальная літара «R» з седыллю","Latin capital letter s with acute":"Лацінская загальная літара «S» з акутам","Latin capital letter s with caron":"Лацінская загальная літара «S» з гачэкам","Latin capital letter s with cedilla":"Лацінская загальная літара «S» з седыллю","Latin capital letter s with circumflex":"Лацінская загальная літара «S» з цыркумфлексам","Latin capital letter t with caron":"Лацінская загальная літара «T» з гачэкам","Latin capital letter t with cedilla":"Лацінская загальная літара «T» з седыллю","Latin capital letter t with stroke":"Лацінская загальная літара «T» з штрыхам","Latin capital letter u with breve":"Лацінская загальная літара «U» з брэве","Latin capital letter u with double acute":"Лацінская загальная літара «U» з двойным акутам","Latin capital letter u with macron":"Лацінская загальная літара «U» з макронам","Latin capital letter u with ogonek":"Лацінская загальная літара «U» з огонекам","Latin capital letter u with ring above":"Лацінская загальная літара «U» з кружком зверху","Latin capital letter u with tilde":"Лацінская загальная літара «U» з тыльдай","Latin capital letter w with circumflex":"Лацінская загальная літара «W» з цыркумфлексам","Latin capital letter y with circumflex":"Лацінская загальная літара «Y» з цыркумфлексам","Latin capital letter y with diaeresis":"Лацінская загальная літара «Y» з дыэрезисам","Latin capital letter z with acute":"Лацінская загальная літара «Z» з акутам","Latin capital letter z with caron":"Лацінская загальная літара «Z» з гачэкам","Latin capital letter z with dot above":"Лацінская загальная літара «Z» з кропкай зверху","Latin capital ligature ij":"Лацінская загальная літара «IJ»","Latin capital ligature oe":"Лацінская загальная літара «OE»","Latin small letter a with breve":"Лацінская маленькая літара «a» з брэве","Latin small letter a with macron":"Лацінская маленькая літара «a» з макронам","Latin small letter a with ogonek":"Лацінская маленькая літара «a» з агонэкам","Latin small letter c with acute":"Лацінская маленькая літара «c» з акутам","Latin small letter c with caron":"Лацінская маленькая літара «c» з гачэкам","Latin small letter c with circumflex":"Лацінская маленькая літара «c» з цыркумфлексам","Latin small letter c with dot above":"Лацінская маленькая літара «c» з кропкай зверху","Latin small letter d with caron":"Лацінская маленькая літара «d» з гачэкам","Latin small letter d with stroke":"Лацінская маленькая літара «d» з штрыхам","Latin small letter dotless i":"Лацінская маленькая літара «i» без кропкі","Latin small letter e with breve":"Лацінская маленькая літара «e» з брэве","Latin small letter e with caron":"Лацінская маленькая літара «e» з гачэкам","Latin small letter e with dot above":"Лацінская маленькая літара «e» з кропкай зверху","Latin small letter e with macron":"Лацінская маленькая літара «e» з макронам","Latin small letter e with ogonek":"Лацінская маленькая літара «e» з агонэкам","Latin small letter eng":"Лацінская маленькая літара eng","Latin small letter f with hook":"Лацінская маленькая літара «f» з хвостыкам","Latin small letter g with breve":"Лацінская маленькая літара «g» з брэве","Latin small letter g with cedilla":"Лацінская маленькая літара «g» з седыллю","Latin small letter g with circumflex":"Лацінская маленькая літара «g» з цыркумфлексам","Latin small letter g with dot above":"Лацінская маленькая літара «g» з кропкай зверху","Latin small letter h with circumflex":"Лацінская маленькая літара «h» з цыркумфлексам","Latin small letter h with stroke":"Лацінская маленькая літара «h» з штрыхам","Latin small letter i with breve":"Лацінская маленькая літара «i» з брэве","Latin small letter i with macron":"Лацінская маленькая літара «i» з макронам","Latin small letter i with ogonek":"Лацінская маленькая літара «i» з агонэкам","Latin small letter i with tilde":"Лацінская маленькая літара «i» з тыльдай","Latin small letter j with circumflex":"Лацінская маленькая літара «j» з цыркумфлексам","Latin small letter k with cedilla":"Лацінская маленькая літара «k» з седыллю","Latin small letter kra":"Лацінская маленькая літара кра","Latin small letter l with acute":"Лацінская маленькая літара «l» з акутам","Latin small letter l with caron":"Лацінская маленькая літара «l» з гачэкам","Latin small letter l with cedilla":"Лацінская маленькая літара «l» з седыллю","Latin small letter l with middle dot":"Лацінская маленькая літара «l» з кропкай унутры","Latin small letter l with stroke":"Лацінская маленькая літара «l» з штрыхам","Latin small letter long s":"Лацінская маленькая літара «s» з вялікім штрыхам","Latin small letter n preceded by apostrophe":"Лацінская маленькая літара «n» з апострафам перад","Latin small letter n with acute":"Лацінская маленькая літара «n» з акутам","Latin small letter n with caron":"Лацінская маленькая літара «n» з гачэкам","Latin small letter n with cedilla":"Лацінская маленькая літара «n» з седыллю","Latin small letter o with breve":"Лацінская маленькая літара «o» з брэве","Latin small letter o with double acute":"Лацінская маленькая літара «o» з двойным акутам","Latin small letter o with macron":"Лацінская маленькая літара «o» з макронам","Latin small letter r with acute":"Лацінская маленькая літара «r» з акутам","Latin small letter r with caron":"Лацінская маленькая літара «r» з гачэкам","Latin small letter r with cedilla":"Лацінская маленькая літара «r» з седыллю","Latin small letter s with acute":"Лацінская маленькая літара «s» з акутам","Latin small letter s with caron":"Лацінская маленькая літара «s» з гачэкам","Latin small letter s with cedilla":"Лацінская маленькая літара «s» з седыллю","Latin small letter s with circumflex":"Лацінская маленькая літара «s» з цыркумфлексам","Latin small letter t with caron":"Лацінская маленькая літара «t» з гачэкам","Latin small letter t with cedilla":"Лацінская маленькая літара «t» з седыллю","Latin small letter t with stroke":"Лацінская маленькая літара «t» з штрыхам","Latin small letter u with breve":"Лацінская маленькая літара «u» з брэве","Latin small letter u with double acute":"Лацінская маленькая літара «u» з двойным акутам","Latin small letter u with macron":"Лацінская маленькая літара «u» з макронам","Latin small letter u with ogonek":"Лацінская маленькая літара «u» з огонекам","Latin small letter u with ring above":"Лацінская маленькая літара «u» з кружком зверху","Latin small letter u with tilde":"Лацінская маленькая літара «u» з тыльдай","Latin small letter w with circumflex":"Лацінская маленькая літара «w» з цыркумфлексам","Latin small letter y with circumflex":"Лацінская маленькая літара «y» з цыркумфлексам","Latin small letter z with acute":"Лацінская маленькая літара «z» з акутам","Latin small letter z with caron":"Лацінская маленькая літара «z» з гачэкам","Latin small letter z with dot above":"Лацінская маленькая літара «z» з кропкай зверху","Latin small ligature ij":"Лацінская маленькая літара «ij»","Latin small ligature oe":"Лацінская маленькая літара «oe»","Left double quotation mark":"Адкрываючае двойнае двукоссе","Left single quotation mark":"Адкрываючае адзінарнае двукоссе","Left-pointing double angle quotation mark":"Адкрываючае левае двукоссе «ёлачка»","leftwards arrow to bar":"стрэлка ўлева, упіраючая ў планку","leftwards dashed arrow":"пунктырная стрэлка ўлева","leftwards double arrow":"двойная стрэлка ўлева","leftwards simple arrow":"простая стрэлка ўлева","Less-than or equal to":"Меньшы або роўны","Less-than sign":"Знак меньш","Lira sign":"Сімвал італьянскай ліры","Livre tournois sign":"Сімвал турскага лівра","Logical and":"Лагічнае І","Logical or":"Лагічнае АБО",Macron:"Макрон","Manat sign":"Сімвал маната",Mathematical:"Матэматычныя","Mill sign":"Сімвал мілі","Minus sign":"Знак мінус","Multiplication sign":"Знак множання","N-ary product":"N-арны здабытак","N-ary summation":"N-арная сума",Nabla:"Набла","Naira sign":"Сімвал найры","New sheqel sign":"Сімвал новага шекеля","Nordic mark sign":"Сімвал скандынаўскай маркі","Not an element of":"Не належыць","Not equal to":"Не роўны","Not sign":"Знак адмоўнасці","on with exclamation mark with left right arrow above":"стрэлка ўлева і ўправа над словам ON! (уключыць)",Overline:"Надчэрківанне","Paragraph sign":"Знак параграфа","Partial differential":"Частковы дыферэнцыял","Per mille sign":"Знак прамілле","Per ten thousand sign":"Знак на дзесяць тысяч","Peseta sign":"Сімвал песеты","Peso sign":"Сімвал песа","Plus-minus sign":"Знак плюс-мінус","Pound sign":"Сімвал фунта стерлінгаў","Proportional to":"Прапарцыйна","Question exclamation mark":"Пытальнік клічнік","Registered sign":"Знак зарэгістраванага тэрміну","Reversed paragraph sign":"Зваротны знак абзаца","Right double quotation mark":"Закрываючае двойнае двукоссе","Right single quotation mark":"Закрываючае адзінарнае двукоссе","Right-pointing double angle quotation mark":"Закрываючае правае двукоссе «ёлачка»","rightwards arrow to bar":"стрэлка ўправа, упіраючая ў планку","rightwards dashed arrow":"пунктырная стрэлка ўправа","rightwards double arrow":"двойная стрэлка ўправа","rightwards simple arrow":"простая стрэлка ўправа","Ruble sign":"Сімвал рубля","Rupee sign":"Сімвал рупіі","Section sign":"Параграф","Single left-pointing angle quotation mark":"Адзінарнае адкрываючае (левае) французскае вуглавое двукоссе","Single low-9 quotation mark":"Нижняе адзінарнае адкрываючае двукоссе","Single right-pointing angle quotation mark":"Адзінарнае закрываючае (правае) французскае вуглавое двукоссе","soon with rightwards arrow above":"стрэлка ўправа над словам SOON (хутка)","Special characters":"Спецыяльныя сімвалы","Spesmilo sign":"Сімвал спесміло","Square root":"Квадратны корань","Tenge sign":"Сімвал тэнге",Text:"Тэкст","There exists":"Існуе","Tilde operator":"Аператар тыльда","top with upwards arrow above":"стрэлка ўверх над словам TOP (зверху)","Trade mark sign":"Знак торгавой маркі","Tugrik sign":"Сімвал тугрика","Turkish lira sign":"Сімвал турэцкай ліры","Two dot leader":"Двухточны пунктыр",Union:"Аб'яднанне","up down arrow with base":"стрэлка ўверх і ўніз ад планкі ўніз","upwards arrow to bar":"стрэлка ўверх, упіраючая ў планку","upwards dashed arrow":"пунктырная стрэлка ўверх","upwards double arrow":"двойная стрэлка ўверх","upwards simple arrow":"простая стрэлка ўверх","Vulgar fraction one half":"Дроб – адна другая","Vulgar fraction one quarter":"Дроб – адна чэцверць","Vulgar fraction three quarters":"Дроб – тры чэцверці","Won sign":"Сімвал воны","Yen sign":"Сімвал іены"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "type": "SplitButton",
12
12
  "name": "specialCharacters",
13
- "iconPath": "theme/icons/specialcharacters.svg"
13
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/special-characters.svg"
14
14
  }
15
15
  ]
16
16
  },
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import { Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
6
  import { Typing } from '@ckeditor/ckeditor5-typing/dist/index.js';
7
+ import { IconSpecialCharacters } from '@ckeditor/ckeditor5-icons/dist/index.js';
7
8
  import { View, addKeyboardHandlingForGrid, ButtonView, FocusCycler, LabeledFieldView, createLabeledDropdown, ViewModel, addListToDropdown, Dialog, MenuBarMenuListItemButtonView, DialogViewPosition } from '@ckeditor/ckeditor5-ui/dist/index.js';
8
9
  import { FocusTracker, KeystrokeHandler, global, Collection, CKEditorError } from '@ckeditor/ckeditor5-utils/dist/index.js';
9
10
 
@@ -286,8 +287,6 @@ import { FocusTracker, KeystrokeHandler, global, Collection, CKEditorError } fro
286
287
  }
287
288
  }
288
289
 
289
- var specialCharactersIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 2.5a7.47 7.47 0 0 1 4.231 1.31 7.268 7.268 0 0 1 2.703 3.454 7.128 7.128 0 0 1 .199 4.353c-.39 1.436-1.475 2.72-2.633 3.677h2.013c0-.226.092-.443.254-.603a.876.876 0 0 1 1.229 0c.163.16.254.377.254.603v.853c0 .209-.078.41-.22.567a.873.873 0 0 1-.547.28l-.101.006h-4.695a.517.517 0 0 1-.516-.518v-1.265c0-.21.128-.398.317-.489a5.601 5.601 0 0 0 2.492-2.371 5.459 5.459 0 0 0 .552-3.693 5.53 5.53 0 0 0-1.955-3.2A5.71 5.71 0 0 0 10 4.206 5.708 5.708 0 0 0 6.419 5.46 5.527 5.527 0 0 0 4.46 8.663a5.457 5.457 0 0 0 .554 3.695 5.6 5.6 0 0 0 2.497 2.37.55.55 0 0 1 .317.49v1.264c0 .286-.23.518-.516.518H2.618a.877.877 0 0 1-.614-.25.845.845 0 0 1-.254-.603v-.853c0-.226.091-.443.254-.603a.876.876 0 0 1 1.228 0c.163.16.255.377.255.603h1.925c-1.158-.958-2.155-2.241-2.545-3.678a7.128 7.128 0 0 1 .199-4.352 7.268 7.268 0 0 1 2.703-3.455A7.475 7.475 0 0 1 10 2.5z\"/></svg>";
290
-
291
290
  /**
292
291
  * A class representing the navigation part of the special characters UI. It is responsible
293
292
  * for describing the feature and allowing the user to select a particular character group.
@@ -566,7 +565,7 @@ const ALL_SPECIAL_CHARACTERS_GROUP = 'All';
566
565
  const dialogPlugin = this.editor.plugins.get('Dialog');
567
566
  buttonView.set({
568
567
  label: t('Special characters'),
569
- icon: specialCharactersIcon,
568
+ icon: IconSpecialCharacters,
570
569
  isToggleable: true
571
570
  });
572
571
  buttonView.bind('isOn').to(dialogPlugin, 'id', (id)=>id === 'specialCharacters');