@ckeditor/ckeditor5-footnotes 48.4.0-alpha.5 → 48.4.0-alpha.7
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.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x25b9e6,Plugin as _0x5d3f09}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x279eaa,isWidget as _0x247891,toWidget as _0x32a443,toWidgetEditable as _0x32d7f7}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x9760ac,KeystrokeHandler as _0x4c0263,global as _0x250397,logWarning as _0x465b2f,uid as _0xd669ac}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x433e48,PointerObserver as _0x1a5e55}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x422410}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x3aba57,ButtonView as _0x43bcc6,CollapsibleView as _0xfb5fc8,ContextualBalloon as _0x1dc07e,FocusCycler as _0x3fad6e,LabeledFieldView as _0x4b8eaf,MenuBarMenuListItemButtonView as _0x4b611a,View as _0x4083de,ViewCollection as _0x1bfa6b,addKeyboardHandlingForGrid as _0x4f6484,createDropdown as _0x59d3d4,createLabeledInputNumber as _0x145c1a}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0xbcbb6f,IconListStyleArabicIndic as _0x1ef682,IconListStyleDecimal as _0x1e9edc,IconListStyleDecimalLeadingZero as _0xf6a5c1,IconListStyleLowerLatin as _0x3cb2dd,IconListStyleLowerRoman as _0x56ec81,IconListStyleUpperLatin as _0x33a668,IconListStyleUpperRoman as _0xcd86a}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x49f627,_0x42db02){this['_model']=_0x49f627,this['_elementName']=_0x42db02['elementName'],this['_getElementKey']=_0x42db02['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x492b8b){const _0x33b6e4=new Set(),_0x448604=new Map();for(const _0x1e79c1 of _0x492b8b){if('insert'===_0x1e79c1['type']&&'$text'!==_0x1e79c1['name']&&_0x1e79c1['position']['nodeAfter']){const _0x57e5e6=this['_model']['createRangeOn'](_0x1e79c1['position']['nodeAfter']);for(const _0x1cbf0 of _0x57e5e6['getItems']()){if(!_0x1cbf0['is']('element',this['_elementName']))continue;const _0x17fc14=this['_getElementKey'](_0x1cbf0);_0x448604['has'](_0x17fc14)||_0x448604['set'](_0x17fc14,[]),_0x448604['get'](_0x17fc14)['push'](_0x1cbf0);}}if('remove'===_0x1e79c1['type']&&_0x1e79c1['name']===this['_elementName']){const _0x428797=this['_getElementKey']({'getAttribute':_0x117b8e=>_0x1e79c1['attributes']['get'](_0x117b8e)});_0x33b6e4['add'](_0x428797);}}for(const [_0x5e1c14,_0x33a301]of this['_trackedElements'])'$graveyard'===_0x33a301['root']['rootName']&&_0x33b6e4['add'](_0x5e1c14);for(const _0x3d1ac1 of _0x33b6e4)this['_trackedElements']['delete'](_0x3d1ac1);for(const [_0x28bf21,_0x5afef2]of _0x448604)this['_trackedElements']['set'](_0x28bf21,_0x5afef2[_0x5afef2['length']-0x1]);const _0x15a4fb=new Set();for(const [_0x16d491,_0x416582]of _0x448604)_0x33b6e4['has'](_0x16d491)&&(_0x15a4fb['add'](_0x416582[0x0]),_0x416582['length']>0x1?_0x448604['set'](_0x16d491,_0x416582['slice'](0x1)):_0x448604['delete'](_0x16d491),_0x33b6e4['delete'](_0x16d491));return{'removed':Array['from'](_0x33b6e4),'inserted':Array['from'](_0x448604['values']())['flat'](),'moved':Array['from'](_0x15a4fb)};}},V=class extends _0x5d3f09{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50b04f){super(_0x50b04f),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e0e3a=>_0x1e0e3a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xee4589=>_0xee4589['getAttribute']('footnoteId')});}init(){const {editor:_0x3d089e}=this,{model:_0x1715ab,data:_0x477e61}=_0x3d089e;_0x1715ab['document']['registerPostFixer'](_0x1b18a=>{const _0x51506f=_0x1715ab['document']['differ']['getChanges']();let _0x424310=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1b18a,_0x51506f)&&(_0x424310=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1b18a,_0x51506f)&&(_0x424310=!0x0),this['_handleFootnoteReferencesChanges'](_0x1b18a,_0x51506f)&&(_0x424310=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1b18a)&&(_0x424310=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1b18a)&&(_0x424310=!0x0),this['_sortFootnoteDefinitions'](_0x1b18a)&&(_0x424310=!0x0),_0x424310;}),this['listenTo'](_0x1715ab['document'],'change:data',()=>{_0x1715ab['enqueueChange']({'isUndoable':!0x1},_0x45eb86=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x45eb86);for(const _0x49b92b of this['_footnotes'])_0x49b92b['definition']['isAttached']()||_0x45eb86['remove'](_0x49b92b['reference']);});},{'priority':'low'}),this['listenTo'](_0x477e61,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x304d55){return this['_footnotes']['find'](_0x5a04f9=>_0x5a04f9['id']===_0x304d55)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x102efc){this['_footnoteFormatter']=_0x102efc;}_updateFootnotesCounters(_0x128d3e,_0x272700=0x0){let _0x48ff34=!0x1;for(let _0x2f75d1=_0x272700;_0x2f75d1<this['_footnotes']['length'];_0x2f75d1++)this['_updateFootnoteRefCounter'](_0x128d3e,_0x2f75d1)&&(_0x48ff34=!0x0);return _0x48ff34;}_insertEmptyFootnotesDefinitionsContainer(_0x860879,_0x5c6a1f){if(!K(this['editor'],_0x5c6a1f))return null;const _0x3fb3be=_0x860879['createElement']('footnotesDefinitions',{});return _0x860879['append'](_0x3fb3be,_0x5c6a1f),this['_footnotesDefinitions']=_0x3fb3be,_0x3fb3be;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x4caf65=[...(_0xe9d410=this['_footnotes'],[..._0xe9d410['reduce']((_0x4e59e0,_0x5aff55)=>(_0x4e59e0['add'](_0x5aff55['reference']['root']),_0x4e59e0),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0xe9d410;for(const _0x24bd07 of _0x4caf65)if(K(this['editor'],_0x24bd07))return _0x24bd07;return null;}_ensureFootnotesDefinitionsContainerExists(_0x382ac5){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x1c8bfe=null;const _0x1463f0=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x1463f0&&(_0x1c8bfe=this['_insertEmptyFootnotesDefinitionsContainer'](_0x382ac5,_0x1463f0)),_0x1c8bfe){for(const _0x21e7af of this['_footnotes'])_0x21e7af['definition']['parent']||_0x382ac5['insert'](_0x21e7af['definition'],_0x1c8bfe,'end');this['_updateFootnotesCounters'](_0x382ac5);}}_handleFootnotesDefinitionsObjectChanges(_0x3a68c8,_0x5892b4){let _0x4f9e96=!0x1;const {inserted:_0x151de6,removed:_0x28283b,moved:_0x3f6fb8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5892b4);if(_0x3f6fb8['length']&&(this['_footnotesDefinitions']=_0x3f6fb8[0x0]),_0x151de6['length']){if(_0x151de6['length']>0x1||this['_footnotesDefinitions']&&_0x151de6['some'](_0x32b50f=>_0x32b50f!==this['_footnotesDefinitions'])){const _0x17cc45=_0x3a68c8['createElement']('footnotesDefinitions',{}),_0x348278=[];this['_footnotesDefinitions']&&_0x348278['push'](this['_footnotesDefinitions']),_0x348278['push'](..._0x151de6),_0x3a68c8['insert'](_0x17cc45,_0x348278[0x0],'before');for(const _0x340127 of _0x348278)_0x3a68c8['move'](_0x3a68c8['createRangeIn'](_0x340127),_0x3a68c8['createPositionAt'](_0x17cc45,'end')),_0x3a68c8['remove'](_0x340127);this['_footnotesDefinitions']=_0x17cc45,this['_updateFootnotesCounters'](_0x3a68c8),_0x4f9e96=!0x0;}else this['_footnotesDefinitions']=_0x151de6[0x0];}if(_0x28283b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x89c401 of this['_footnotes'])_0x3a68c8['remove'](_0x89c401['reference']),_0x4f9e96=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4f9e96;}_handleFootnoteDefinitionsChanges(_0x4fa00f,_0x3270ea){let _0x406089=!0x1;const _0x1010bd=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x59ebd3,moved:_0x492dab}=this['_footnoteDefsTracker']['getChanges'](_0x3270ea);for(const _0x1f18ea of[..._0x492dab,..._0x59ebd3]){const _0x57d7ac=_0x1f18ea['getAttribute']('footnoteId'),_0x35a0aa=this['getFootnote'](_0x57d7ac);_0x35a0aa&&(_0x35a0aa['definition']=_0x1f18ea),T(_0x4fa00f,_0x1010bd,_0x1f18ea)&&(_0x406089=!0x0);}return _0x406089;}_handleFootnoteReferencesChanges(_0x505834,_0x3ebb8b){let _0x4952c5=!0x1;const {removed:_0x7766cc,inserted:_0x54b2eb,moved:_0x508c5b}=this['_footnoteRefsTracker']['getChanges'](_0x3ebb8b);for(const _0x3052f5 of _0x7766cc)this['_handleRemoveFootnoteReferenceById'](_0x505834,_0x3052f5)&&(_0x4952c5=!0x0);for(const _0x4bc9cb of _0x54b2eb)this['_handleInsertedFootnoteReference'](_0x505834,_0x4bc9cb)&&(_0x4952c5=!0x0);for(const _0x5414f3 of _0x508c5b)this['_handleMovedFootnoteReference'](_0x505834,_0x5414f3)&&(_0x4952c5=!0x0);return _0x4952c5;}_handleFootnotesDefinitionsObjectSync(_0x10c4ca){if(!this['_footnotesDefinitions'])return!0x1;let _0x47f345=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x17a708=[];for(const _0x464e87 of this['_footnotesDefinitions']['getChildren']()){const _0x9d7fcd=_0x464e87['getAttribute']('footnoteId');this['getFootnote'](_0x9d7fcd)||(_0x17a708['unshift'](_0x464e87),_0x47f345=!0x0);}for(const _0x3d4d7c of _0x17a708)_0x10c4ca['remove'](_0x3d4d7c);}const _0x2123f8=new Set(),_0x11dcfc=[];for(const _0x51a691 of this['_footnotesDefinitions']['getChildren']()){const _0x136307=_0x51a691['getAttribute']('footnoteId');_0x2123f8['has'](_0x136307)?(_0x11dcfc['unshift'](_0x51a691),_0x47f345=!0x0):_0x2123f8['add'](_0x136307);}for(const _0xdaf066 of _0x11dcfc)_0x10c4ca['remove'](_0xdaf066);return this['_footnotesDefinitions']['childCount']||(_0x10c4ca['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x47f345=!0x0),_0x47f345;}_handleInsertedFootnoteReference(_0x4dfd1a,_0x953f40){if(this['_footnotes']['find'](_0x572699=>_0x572699['reference']===_0x953f40))return!0x1;let _0x1e5c8c=!0x1;const _0x2ec6ef=_0x953f40['getAttribute']('footnoteId'),_0x56a967=this['_footnotes']['findIndex'](_0x5ba34c=>_0x5ba34c['id']===_0x2ec6ef);-0x1!==_0x56a967&&(_0x4dfd1a['remove'](this['_footnotes'][_0x56a967]['reference']),this['_footnotes']['splice'](_0x56a967,0x1),_0x1e5c8c=!0x0);let _0xce024c=this['_footnotesDefinitions']?function(_0x5d560c,_0x2a2f90){for(const _0x103397 of _0x5d560c['getChildren']())if(_0x103397['getAttribute']('footnoteId')===_0x2a2f90)return _0x103397;return null;}(this['_footnotesDefinitions'],_0x2ec6ef):null;_0xce024c||(_0xce024c=_0x4dfd1a['createElement']('footnoteDefinition',{'footnoteId':_0x2ec6ef}),this['_footnotesDefinitions']&&(_0x4dfd1a['insert'](_0xce024c,this['_footnotesDefinitions'],'end'),_0x1e5c8c=!0x0));const _0x35b4e3={'id':_0x2ec6ef,'reference':_0x953f40,'definition':_0xce024c},_0x5ddba2=j(this['editor']['model'],this['_footnotes'],_0x953f40);this['_footnotes']['splice'](_0x5ddba2,0x0,_0x35b4e3);let _0x5b5eaf=_0x5ddba2;return-0x1!==_0x56a967&&(_0x5b5eaf=Math['min'](_0x5ddba2,_0x56a967)),this['_updateFootnotesCounters'](_0x4dfd1a,_0x5b5eaf)&&(_0x1e5c8c=!0x0),_0x1e5c8c;}_handleRemoveFootnoteReferenceById(_0x32e3ec,_0x461a9a){const _0xeed9ff=this['_footnotes']['findIndex'](_0xe7fd44=>_0xe7fd44['id']===_0x461a9a);if(-0x1===_0xeed9ff)return!0x1;let _0x5f1169=!0x1;const _0x5b45d1=this['_footnotes'][_0xeed9ff];return _0x5b45d1['definition']['isAttached']()&&'$graveyard'!==_0x5b45d1['definition']['root']['rootName']&&(_0x32e3ec['remove'](_0x5b45d1['definition']),_0x5f1169=!0x0),this['_footnotes']['splice'](_0xeed9ff,0x1),this['_updateFootnotesCounters'](_0x32e3ec,_0xeed9ff)&&(_0x5f1169=!0x0),_0x5f1169;}_handleMovedFootnoteReference(_0x3bf912,_0x2a8b8c){const _0x6d27df=_0x2a8b8c['getAttribute']('footnoteId'),_0x39d26a=this['_footnotes']['findIndex'](_0x56014f=>_0x56014f['id']===_0x6d27df),_0x3ddae5=this['_footnotes'][_0x39d26a];let _0x28c142=!0x1;_0x3ddae5['reference']=_0x2a8b8c,this['_footnotes']['splice'](_0x39d26a,0x1);const _0x3cb251=j(this['editor']['model'],this['_footnotes'],_0x2a8b8c);return this['_footnotes']['splice'](_0x3cb251,0x0,_0x3ddae5),this['_updateFootnotesCounters'](_0x3bf912,Math['min'](_0x39d26a,_0x3cb251))&&(_0x28c142=!0x0),_0x28c142;}_updateFootnoteRefCounter(_0x4e44cd,_0x50ec9e){if(!this['_footnotesDefinitions'])return!0x1;const _0x462075=this['_footnotes'][_0x50ec9e];let _0x578cc0;return _0x578cc0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x462075,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x50ec9e+0x1}):String(_0x50ec9e+0x1),_0x462075['reference']['getAttribute']('footnoteCounter')!=_0x578cc0&&(_0x4e44cd['setAttribute']('footnoteCounter',_0x578cc0,_0x462075['reference']),!0x0);}_sortFootnoteDefinitions(_0x28910f){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x38421d,_0x52d18e){if(_0x38421d['length']!==_0x52d18e['length'])return!0x1;for(let _0x58f89e=0x0;_0x58f89e<_0x38421d['length'];_0x58f89e++)if(_0x38421d[_0x58f89e]!==_0x52d18e[_0x58f89e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x100296=>_0x100296['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x6668af=>_0x6668af['getAttribute']('footnoteId'))))return!0x1;let _0x5aa83b=!0x1;for(let _0x3c90ed=0x0;_0x3c90ed<this['_footnotes']['length'];_0x3c90ed++){const _0x35df3e=this['_footnotes'][_0x3c90ed],_0x3d7074=_0x28910f['createPositionBefore'](_0x35df3e['definition']),_0x3b746b=_0x28910f['createPositionAt'](this['_footnotesDefinitions'],_0x3c90ed);_0x3d7074['isEqual'](_0x3b746b)||(_0x28910f['move'](_0x28910f['createRangeOn'](_0x35df3e['definition']),_0x3b746b),_0x5aa83b=!0x0);}return _0x5aa83b;}_ensureFootnotesReferencesHaveProperOrder(_0x5dfd2c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1a3907}=this['editor'];let _0x192fef=!0x1;for(let _0x2a4e71=0x0;_0x2a4e71<this['_footnotes']['length']-0x1;_0x2a4e71++){const _0x5183eb=this['_footnotes'][_0x2a4e71],_0x9a130a=this['_footnotes'][_0x2a4e71+0x1],_0x3f57a2=_0x1a3907['createPositionBefore'](_0x5183eb['reference']),_0x3b9787=_0x1a3907['createPositionBefore'](_0x9a130a['reference']);'after'===_0x3f57a2['compareWith'](_0x3b9787)&&(this['_handleMovedFootnoteReference'](_0x5dfd2c,_0x5183eb['reference']),_0x2a4e71=-0x1,_0x192fef=!0x0);}return _0x192fef;}};function K(_0x39d047,_0x137d6b){return _0x39d047['model']['schema']['checkChild'](_0x137d6b,'footnotesDefinitions');}function T(_0x5f0064,_0xcdf888,_0x5b9584){if(_0x5b9584['childCount'])return!0x1;const _0x485850=_0xcdf888?'paragraph':'footnoteInlineContent';return _0x5f0064['insert'](_0x5f0064['createElement'](_0x485850),_0x5b9584),!0x0;}function j(_0x1ed171,_0x2d0ce4,_0x5572dc){if(0x0===_0x2d0ce4['length'])return 0x0;const _0x24f212=_0x1ed171['createPositionBefore'](_0x5572dc);for(let _0x3553d8=0x0;_0x3553d8<_0x2d0ce4['length'];_0x3553d8++){const _0x20e6eb=_0x2d0ce4[_0x3553d8],_0x274b3c=_0x1ed171['createPositionBefore'](_0x20e6eb['reference']);if('before'===_0x24f212['compareWith'](_0x274b3c))return _0x3553d8;}const _0x5a2af2=_0x5572dc['root'];let _0x550d83=-0x1;for(let _0x10fb36=_0x2d0ce4['length']-0x1;_0x10fb36>=0x0;_0x10fb36--)if(_0x2d0ce4[_0x10fb36]['reference']['root']===_0x5a2af2){_0x550d83=_0x10fb36;break;}if(-0x1!==_0x550d83)return _0x550d83+0x1;const _0x446f1a=_0x1ed171['document']['getRootNames'](),_0x32e77a=_0x446f1a[_0x446f1a['indexOf'](_0x5a2af2['rootName'])+0x1];if(_0x32e77a){for(let _0x1b4418=0x0;_0x1b4418<_0x2d0ce4['length'];_0x1b4418++)if(_0x2d0ce4[_0x1b4418]['reference']['root']['rootName']===_0x32e77a)return _0x1b4418;}return _0x2d0ce4['length'];}var U=class extends _0x25b9e6{['refresh'](){const {model:_0x13f0c5,plugins:_0x47f809}=this['editor'],{selection:_0xca1df5}=_0x13f0c5['document'],_0x43fabe=this['_getPositionToInsertFootnote'](_0xca1df5),_0x1e5674=_0x47f809['get']('FootnotesTracker');this['isEnabled']=!(!_0x43fabe||!_0x1e5674['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x11d142){const {editor:_0x58b88a}=this,{model:_0x258a33}=_0x58b88a,{selection:_0x1908dc}=_0x258a33['document'],_0x2260a0=this['_getPositionToInsertFootnote'](_0x1908dc);if(!_0x2260a0)return;const _0x286c05=_0x58b88a['plugins']['get']('FootnotesEditing'),_0x44e0bd=_0x11d142?.['footnoteId']??_0xd669ac();!function(_0x2c142c){return'string'==typeof _0x2c142c&&_0x2c142c['length']>0x0&&!/\s/['test'](_0x2c142c)&&!/^\d/['test'](_0x2c142c);}(_0x44e0bd)?_0x465b2f('insert-footnote-command-executed-with-invalid-id'):(_0x258a33['change'](_0x35eb83=>{const _0x325568=_0x35eb83['createElement']('footnoteRef',{'footnoteId':_0x44e0bd});_0x258a33['insertObject'](_0x325568,_0x2260a0,null);}),_0x286c05['_moveSelectionToFootnoteDefinition'](_0x44e0bd));}_getPositionToInsertFootnote(_0x2ca345){const {model:_0x266fda}=this['editor'],{schema:_0x16c35c}=_0x266fda,_0x24fcbb=_0x2ca345['getFirstRange']();for(const _0x2dfa9c of _0x24fcbb['getItems']())if(_0x16c35c['isBlock'](_0x2dfa9c)||_0x16c35c['isObject'](_0x2dfa9c))return null;const _0x152535=_0x24fcbb['end'];return _0x16c35c['checkChild'](_0x152535,'footnoteRef')?_0x152535:null;}},$=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x293c22}=this;_0x293c22['config']['define']('footnotes.multiBlock',!0x0),_0x293c22['commands']['add']('insertFootnote',new U(_0x293c22)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x8be53a){const _0x466d09='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x5bf1c9=0x791a0,_0x23655c=window['Date']['now'](),_0x3f3e29=_0x8be53a['editor'],_0x524d0d=new window['Promise'](_0x53e5d3=>{_0x3f3e29['once']('ready',_0x53e5d3);}),_0x9aec3f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1b82fa=_0x3f3e29['config']['get']('licenseKey');async function _0x5d855e(){let _0x2524a8,_0x2e019d=null,_0x3e54f5=null;try{return'GPL'==_0x1b82fa?'NotAllowed':(_0x2524a8=_0x3feb6f(),_0x2524a8?(_0x2524a8['usageEndpoint']&&(_0x3e54f5=_0x8c520d(_0x2524a8['usageEndpoint'],_0x2524a8['jti'])),await _0x1fa17c()?_0x55b229()?_0x2256f2()?'Expired':_0x3d5a02()?('evaluation'==_0x2524a8['licenseType']&&(_0x2e019d=_0xb15a7d('EvaluationLimit')),await _0x4cad05()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2256f2(){const _0xb8beb7=['evaluation','trial']['includes'](_0x2524a8['licenseType'])?_0x23655c/0x3e8:0xe10*_0x5bf1c9;return _0x2524a8['exp']<_0xb8beb7;}function _0x55b229(){const _0x4fd694=_0x2524a8['features'];return!!_0x4fd694&&(!!_0x4fd694['includes']('*')||!!_0x4fd694['includes']('FOO'));}function _0x3d5a02(){const _0x109646=_0x2524a8['licensedHosts'];if(!_0x109646||0x0==_0x109646['length'])return!0x0;const {hostname:_0x2d67c8}=new URL(window['location']['href']);if(_0x109646['includes'](_0x2d67c8))return!0x0;const _0xe61474=_0x2d67c8['split']('.');return _0x109646['filter'](_0x9fa298=>_0x9fa298['includes']('*'))['map'](_0xc104b9=>_0xc104b9['split']('.'))['filter'](_0x316ad3=>_0x316ad3['length']<=_0xe61474['length'])['map'](_0x4a638f=>Array(_0xe61474['length']-_0x4a638f['length'])['fill']('*'===_0x4a638f[0x0]?'*':'')['concat'](_0x4a638f))['some'](_0x2f07b6=>_0xe61474['every']((_0x553f0b,_0x1c6d88)=>_0x2f07b6[_0x1c6d88]===_0x553f0b||'*'===_0x2f07b6[_0x1c6d88]));}function _0x4cad05(){return _0x2e019d&&_0x3e54f5?new window['Promise']((_0x5d9d5a,_0x29097f)=>{_0x2e019d['then'](_0x5d9d5a,_0x29097f),_0x3e54f5['then'](_0x480ee6=>{'Valid'!=_0x480ee6&&_0x5d9d5a(_0x480ee6);},_0x29097f);}):_0x2e019d||_0x3e54f5||'Valid';}}function _0x8c520d(_0x1a86c0,_0x26f5c6){return new window['Promise'](_0x3384c1=>{if(_0x59451d())return _0x3384c1('Valid');_0xdf9d98(),_0x3f3e29['decorate']('_sendUsageRequest');let _0x105cd1=!0x1;const _0x1a9d23=_0xd669ac();function _0x2ac22d(_0x1f60d1){return!!_0x1f60d1&&('object'==typeof _0x1f60d1||'function'==typeof _0x1f60d1)&&'function'==typeof _0x1f60d1['then']&&'function'==typeof _0x1f60d1['catch'];}function _0x28cadb(_0x263b93){_0x387c65(_0x263b93)['then'](_0x2a0d99=>_0x2a0d99&&'ok'==_0x2a0d99['status']?_0x439fed(_0x2aeeea(_0x1a9d23+_0x26f5c6))!=_0x2a0d99['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5bd35d=>(_0x585024(),_0x5bd35d),()=>{const _0x533e37=_0x24fba8();return null==_0x533e37?(_0x585024(),'Valid'):_0x23655c-_0x533e37>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3384c1)['catch'](()=>{_0x3384c1('UsageLimit');});const _0x381ca2=0x36ee80;function _0x585024(){const _0x5b4c16='llct-'+_0x439fed(_0x2aeeea(_0x1a86c0)),_0x51e48a=_0x411dfc(_0x439fed(window['Math']['ceil'](_0x23655c/_0x381ca2)));window['localStorage']['setItem'](_0x5b4c16,_0x51e48a);}function _0x24fba8(){const _0x349b0e='llct-'+_0x439fed(_0x2aeeea(_0x1a86c0)),_0x530a22=window['localStorage']['getItem'](_0x349b0e);return _0x530a22?window['parseInt'](_0x411dfc(_0x530a22),0x10)*_0x381ca2:null;}function _0x387c65(_0x46f3b0){return new window['Promise']((_0x375e4f,_0x3eba88)=>{_0x46f3b0['then'](_0x375e4f,_0x3eba88),window['setTimeout'](_0x3eba88,0x1d4c0);});}}_0x3f3e29['on']('_sendUsageRequest',(_0x248d7a,_0x44d345)=>{if(_0x44d345[0x0]!=_0x1a86c0)return _0x3384c1('UsageLimit');_0x44d345[0x1]={..._0x44d345[0x1],'requestId':_0x1a9d23};},{'priority':'high'}),_0x3f3e29['on']('_sendUsageRequest',_0x5d45ad=>{_0x2ac22d(_0x5d45ad['return'])&&(_0x105cd1=!0x0,_0x28cadb(_0x5d45ad['return']));},{'priority':'low'}),_0x524d0d['then'](()=>{_0x105cd1||_0x3384c1('UsageLimit');});});function _0x59451d(){return'auto'==_0x3f3e29['editing']['view']['_overlayModeHint'];}function _0xdf9d98(){_0x3f3e29['editing']['view']['_overlayModeHint']='auto';}}function _0xb15a7d(_0x206c1e){const _0x39a629=[new window['Promise'](_0x29c5a0=>setTimeout(_0x29c5a0,0x93ecc)),_0x524d0d['then'](()=>new window['Promise'](_0x1c4ae9=>{let _0x463883=0x0;_0x3f3e29['model']['on']('applyOperation',(_0x373444,_0x29be4b)=>{_0x29be4b[0x0]['isDocumentOperation']&&_0x463883++,0x5e8==_0x463883&&(_0x1c4ae9(),_0x373444['off']());});}))];return window['Promise']['race'](_0x39a629)['then'](()=>_0x206c1e);}async function _0x28db22(){await _0x524d0d,_0x3f3e29['model']['change']=_0x4126d1,_0x3f3e29['model']['enqueueChange']=_0x4126d1,_0x3f3e29['enableReadOnlyMode']('model');}function _0xdf1b6e(_0x52f0ab){const _0xe8e29e=_0x5f1cc5();_0x3f3e29[_0xe8e29e]='footnotesLicenseKey'+_0x52f0ab,'Valid'!=_0x52f0ab&&_0x28db22();}function _0x5f1cc5(){const _0x382794=window['String'](window['performance']['now']())['replace']('.','');let _0x27c3a3='u';for(let _0x5e611b=0x0;_0x5e611b<_0x382794['length'];_0x5e611b+=0x2){let _0x3117e4=window['parseInt'](_0x382794['substring'](_0x5e611b,_0x5e611b+0x2));_0x3117e4>=0x3e&&(_0x3117e4-=0x3e),_0x27c3a3+=_0x466d09[_0x3117e4];}return _0x27c3a3;}function _0x3feb6f(){const _0x13ff7d=_0x1b82fa['split']('.');if(0x3!=_0x13ff7d['length'])return null;return _0xe1fe42(_0x13ff7d[0x1]);function _0xe1fe42(_0x201918){const _0x4d04eb=_0x3f1c17(_0x201918);return _0x4d04eb&&_0x4c75fd()?_0x4d04eb:null;function _0x4c75fd(){const _0x1ad649=_0x4d04eb['jti'],_0x56511d=window['parseInt'](_0x1ad649['substring'](_0x1ad649['length']-0x8),0x10),_0x1843b7={..._0x4d04eb,'jti':_0x1ad649['substring'](0x0,_0x1ad649['length']-0x8)};return delete _0x1843b7['vc'],_0x2aeeea(_0x1843b7)==_0x56511d;}}}async function _0x1fa17c(){let _0x3428ba=!0x0;try{const [_0xfd03d,_0x61f62e,_0x46de15]=_0x1b82fa['split']('.');return _0xe8bde1(_0xfd03d),await _0x30b3ec(_0xfd03d,_0x61f62e,_0x46de15),_0x3428ba;}catch{return!0x1;}function _0xe8bde1(_0x464ca3){const _0x19081e=_0x3f1c17(_0x464ca3);_0x19081e&&'ES256'==_0x19081e['alg']||(_0x3428ba=!0x1);}async function _0x30b3ec(_0x7a69b5,_0x2b0c3a,_0x4119bc){const _0x186e13=window['Uint8Array']['from'](_0x6848a5(_0x4119bc),_0x1896e7=>_0x1896e7['charCodeAt'](0x0)),_0x301f42=new window['TextEncoder']()['encode'](_0x7a69b5+'.'+_0x2b0c3a),_0x2b502a=window['crypto']['subtle'];if(!_0x2b502a)return;const _0x5089ac=await _0x2b502a['importKey']('jwk',_0x9aec3f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2b502a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5089ac,_0x186e13,_0x301f42)||(_0x3428ba=!0x1);}}function _0x3f1c17(_0x21152f){return _0x21152f['startsWith']('ey')?JSON['parse'](_0x6848a5(_0x21152f)):null;}function _0x6848a5(_0xb250b8){return window['atob'](_0xb250b8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2aeeea(_0x38cd21){let _0x486f23=0x1505;function _0x40374f(_0x381f6d){for(let _0x4c9320=0x0;_0x4c9320<_0x381f6d['length'];_0x4c9320++){const _0x38fe97=_0x381f6d['charCodeAt'](_0x4c9320);_0x486f23=(_0x486f23<<0x5)+_0x486f23+_0x38fe97,_0x486f23&=_0x486f23;}}function _0x283cd9(_0x43fb1c){Array['isArray'](_0x43fb1c)?_0x43fb1c['forEach'](_0x283cd9):_0x43fb1c&&'object'==typeof _0x43fb1c?Object['entries'](_0x43fb1c)['sort']()['forEach'](([_0x3c35da,_0x380976])=>{_0x40374f(_0x3c35da),_0x283cd9(_0x380976);}):_0x40374f(window['String'](_0x43fb1c));}return _0x283cd9(_0x38cd21),_0x486f23>>>0x0;}function _0x439fed(_0x4ac7f4){return _0x4ac7f4['toString'](0x10)['padStart'](0x8,'0');}function _0x411dfc(_0x11e9dd){return _0x11e9dd['split']('')['reverse']()['join']('');}function _0x4126d1(){}_0xdf1b6e(await _0x5d855e());}(this);}_moveSelectionToFootnoteDefinition(_0x427b00){const {plugins:_0x552f84,editing:_0x4c979c,model:_0x138b8a}=this['editor'],_0x561a1a=_0x552f84['get'](V)['getFootnote'](_0x427b00);return!!_0x561a1a&&(_0x138b8a['change'](_0x38dba4=>{_0x38dba4['setSelection'](_0x38dba4['createPositionAt'](_0x561a1a['definition'],'end'));}),_0x4c979c['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x533a5f){const {plugins:_0x80add2,editing:_0x1ab005,model:_0x389a2b}=this['editor'],_0x264926=_0x80add2['get'](V)['getFootnote'](_0x533a5f);return!!_0x264926&&(_0x389a2b['change'](_0x38f581=>{_0x38f581['setSelection'](_0x264926['reference'],'on');}),_0x1ab005['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x51b377}=this['editor']['model'],_0x374f98=this['editor']['config']['get']('footnotes.multiBlock');_0x51b377['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x51b377['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x51b377['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x374f98?_0x51b377['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x51b377['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x51b377['addChildCheck'](_0x34ae61=>{for(const _0x329c4e of _0x34ae61)if('footnoteDefinition'===_0x329c4e['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x1f65a0}=this,{conversion:_0x4ad323,editing:_0x51d8be}=_0x1f65a0,{t:t}=_0x1f65a0['locale'];_0x4ad323['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x397052,{writer:_0x271928,consumable:_0x3c870a})=>{const _0x455fbd=_0x397052['getChild'](0x0);if(!_0x455fbd||!_0x455fbd['is']('element','a'))return null;const _0x44ea6e=_0x455fbd['getAttribute']('href')||'';if(!_0x44ea6e['startsWith']('#'))return null;const _0x4f3690=_0x44ea6e['replace'](/^#/,'');if(!_0x4f3690)return null;_0x3c870a['consume'](_0x455fbd,{'name':!0x0,'attributes':['href']});for(const {item:_0x1846e0}of _0x51d8be['view']['createRangeIn'](_0x455fbd))_0x1846e0['is']('$textProxy')?_0x3c870a['consume'](_0x1846e0['textNode'],{'name':!0x0}):_0x1846e0['is']('element')&&_0x3c870a['consume'](_0x1846e0,{'name':!0x0});return _0x271928['createElement']('footnoteRef',{'footnoteId':_0x4f3690});}}),_0x4ad323['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3dfc5a,{writer:_0x5343b4})=>z(_0x3dfc5a,_0x5343b4)}),_0x4ad323['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4682c8,{writer:_0x27ec54})=>{const _0x150148=_0x4682c8['getAttribute']('footnoteCounter');return _0x32a443(z(_0x4682c8,_0x27ec54),_0x27ec54,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x150148)});}});}_defineDefinitionsConverters(){const {editor:_0x36420d}=this,{t:t}=_0x36420d['locale'],{conversion:_0x12a3cd}=_0x36420d;_0x12a3cd['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x12a3cd['for']('upcast')['add'](_0x566127=>{_0x566127['on']('element:ol',(_0x3ce79e,_0x83582d,_0x3563ef)=>{const _0x41abb1=_0x83582d['viewItem'];if(!_0x41abb1['hasClass']('footnotes-list')||!_0x83582d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3563ef['consumable']['consume'](_0x41abb1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x117f20,modelCursor:_0x5aac45}=_0x3563ef['convertChildren'](_0x83582d['viewItem'],_0x83582d['modelCursor']);_0x83582d['modelRange']=_0x117f20,_0x83582d['modelCursor']=_0x5aac45;}),_0x566127['on']('element:hr',(_0x1dedcc,_0x2e0e46,_0x3e21c6)=>{const _0x11ddab=_0x2e0e46['viewItem'];_0x11ddab['hasClass']('footnotes-divider')&&_0x2e0e46['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e21c6['consumable']['consume'](_0x11ddab,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x12a3cd['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x127f5f,{writer:_0x4af22b})=>X(_0x4af22b)}),_0x12a3cd['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x142752,{writer:_0x172e41})=>{const _0x380434=_0x32a443(X(_0x172e41,{'data-footnotes-list-label':t('Footnotes')}),_0x172e41,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x172e41['setCustomProperty']('footnotesDefinitions',!0x0,_0x380434),_0x380434;}});}_defineDefinitionConverters(){const {editor:_0x3f2199}=this,{conversion:_0x16e468,locale:_0x7c9802}=_0x3f2199,_0x3a7cc5=_0x3f2199['config']['get']('footnotes.multiBlock');_0x16e468['for']('upcast')['add'](_0x4589b6=>{_0x4589b6['on']('element:li',(_0x5c67d9,_0x2b6f89,_0x2abea2)=>{const _0x4b39e6=_0x2b6f89['viewItem'];if(!_0x4b39e6['hasClass']('footnote-definition')||!_0x4b39e6['getAttribute']('id'))return;const _0x431afc=_0x4b39e6['parent'];if(!_0x431afc['is']('element','ol')||!_0x431afc['hasClass']('footnotes-list'))return;if(!_0x2abea2['consumable']['test'](_0x4b39e6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1dbc6f=_0x2abea2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4b39e6['getAttribute']('id')});if(!_0x2abea2['safeInsert'](_0x1dbc6f,_0x2b6f89['modelCursor']))return;_0x2abea2['consumable']['consume'](_0x4b39e6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4abeaf=Array['from'](_0x4b39e6['getChildren']())['find'](_0x2571e4=>_0x2571e4['is']('element')&&_0x2571e4['hasClass']('footnote-content'));for(const _0x1198e0 of _0x4b39e6['getChildren']())_0x1198e0['is']('element')&&(_0x2abea2['consumable']['consume'](_0x1198e0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2abea2['consumable']['consume'](_0x1198e0,{'name':!0x0,'classes':'footnote-content'}));if(_0x4abeaf){if(_0x3a7cc5)_0x2abea2['convertChildren'](_0x4abeaf,_0x1dbc6f);else{const _0x446d8f=_0x2abea2['writer']['createElement']('footnoteInlineContent');_0x2abea2['writer']['insert'](_0x446d8f,_0x1dbc6f),_0x2abea2['convertChildren'](_0x4abeaf,_0x446d8f);}}_0x2abea2['updateConversionResult'](_0x1dbc6f,_0x2b6f89);});}),_0x16e468['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c48bd,{writer:_0x61c7f0})=>J(_0x2c48bd,_0x61c7f0,_0x7c9802,{'dataPipeline':!0x0})}),_0x16e468['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x354afd,{writer:_0x4cc6d9})=>J(_0x354afd,_0x4cc6d9,_0x7c9802)});}_defineBogusParagraphConverters(){const {editor:_0x22e914}=this,{conversion:_0x256303}=_0x22e914;_0x22e914['config']['get']('footnotes.multiBlock')?(_0x256303['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x256303['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x22e914['model']['document'],'change:data',()=>{!function(_0xa0ea1e,_0x338d55){const _0xe8d57c=_0xa0ea1e['document']['differ'],_0x3cb504=new Set();for(const _0x1ec20b of _0xe8d57c['getChanges']()){const _0x2c6132='attribute'==_0x1ec20b['type']?_0x1ec20b['range']['start']['parent']:_0x1ec20b['position']['parent'];_0x2c6132['is']('element','footnoteDefinition')&&_0x3cb504['add'](_0x2c6132);}for(const _0x5d2f97 of _0x3cb504['values']()){const _0x229c96=Array['from'](_0x5d2f97['getChildren']())['filter'](_0x58e3e1=>q(_0x58e3e1,_0x338d55['mapper']));for(const _0x2320b7 of _0x229c96)_0x338d55['reconvertItem'](_0x2320b7);}}(_0x22e914['model'],_0x22e914['editing']);})):(_0x256303['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x256303['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2529b9,{writer:_0x12c7df})=>{const _0x175869=_0x12c7df['createContainerElement']('span');return _0x12c7df['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x175869),_0x175869;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5b97b5}=this,{editing:_0x3a668a,t:t}=_0x5b97b5,_0x365faf=_0x5b97b5['model']['document']['selection'];_0x5b97b5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5b97b5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3a668a['view']['document'],'enter',(_0x18274f,_0x36f98b)=>{const _0x547b15=function(_0x171663){const _0x5976fc=_0x171663['getSelectedElement']();return _0x5976fc?.['is']('element','footnoteRef')?_0x5976fc:null;}(_0x365faf);if(_0x547b15){const _0x150aac=_0x547b15['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x150aac),_0x36f98b['preventDefault'](),_0x18274f['stop']();}},{'context':_0x247891});}['_defineClickHandlers'](){const {editor:_0x40b2eb}=this,{editing:_0x2890f0}=_0x40b2eb;_0x40b2eb['editing']['view']['addObserver'](_0x1a5e55),_0x40b2eb['editing']['view']['addObserver'](_0x433e48);let _0x5c0fea=!0x1;this['listenTo'](_0x2890f0['view']['document'],'pointerdown',(_0x1eea57,_0x349b5d)=>{const {target:_0x83f6e7}=_0x349b5d,_0x9569e3=_0x2890f0['view']['document']['selection'];_0x5c0fea=!!(_0x83f6e7?.['is']('element','a')&&_0x83f6e7['parent']?.['is']('element','sup')&&_0x83f6e7['parent']['hasClass']('footnote'))&&_0x9569e3['getSelectedElement']()===_0x83f6e7['parent'];},{'priority':'high'}),this['listenTo'](_0x2890f0['view']['document'],'click',(_0x184c06,_0x281fb8)=>{const {target:_0x9331f2}=_0x281fb8;if(!_0x9331f2?.['is']('element','a'))return;if(_0x9331f2['parent']?.['is']('element','sup')&&_0x9331f2['parent']['hasClass']('footnote')&&!_0x5c0fea)return void _0x281fb8['preventDefault']();let _0x3e5920=_0x9331f2['getAttribute']('href');if(!_0x3e5920?.['startsWith']('#'))return;_0x3e5920=_0x3e5920['slice'](0x1);let _0x19613f=!0x1;(_0x3e5920['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3e5920['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3e5920))&&(_0x19613f=!0x0),_0x19613f&&(_0x281fb8['preventDefault'](),_0x184c06['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x33deec}={}){return(_0x41aecf,{writer:_0x4d9977})=>{if(!B(_0x41aecf))return null;if(!_0x33deec)return _0x4d9977['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2d321e=_0x4d9977['createContainerElement']('p');return _0x4d9977['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2d321e),_0x2d321e;};}function B(_0x50f69c){const {parent:_0x910055}=_0x50f69c;if(!_0x910055?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x910055['childCount'])return!0x1;for(const _0x2471e7 of _0x50f69c['getAttributeKeys']())if(!_0x2471e7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2471e7)return!0x1;return!0x0;}function q(_0x10c589,_0x18b56c){if(!_0x10c589['is']('element','paragraph'))return!0x1;const _0x5f23c1=_0x18b56c['toViewElement'](_0x10c589);return!!_0x5f23c1&&B(_0x10c589)!==_0x5f23c1['is']('element','span');}function H(_0x59f776){return _0x247891(_0x59f776)&&_0x59f776['is']('containerElement')&&!!_0x59f776['getCustomProperty']('footnotesDefinitions');}function X(_0x13200f,_0x32067c={}){const _0x31b5a1=_0x13200f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x52b3a0=_0x13200f['createContainerElement']('ol',{'class':'footnotes-list'},_0x13200f['createSlot']());return _0x13200f['createContainerElement']('div',{'class':'footnotes',..._0x32067c},[_0x31b5a1,_0x52b3a0]);}function z(_0x5add3c,_0x2ec3a6){const _0x39a9a9=_0x5add3c['getAttribute']('footnoteId'),_0x4c4b28=_0x5add3c['getAttribute']('footnoteCounter'),_0x1cb05b=_0x2ec3a6['createUIElement']('a',{'href':'#'+_0x39a9a9},function(_0x3bc876){const _0x2a4120=this['toDomElement'](_0x3bc876);return _0x2a4120['textContent']=_0x4c4b28,_0x2a4120;}),_0x296a3c=_0x2ec3a6['createContainerElement']('sup',{'id':'ref-'+_0x39a9a9,'class':'footnote'},[_0x1cb05b]);return _0x296a3c['getFillerOffset']=()=>null,_0x296a3c;}function J(_0x22db94,_0xc669c9,_0x3d913d,{dataPipeline:_0x1f2d8f}={}){const {t:t}=_0x3d913d,_0x294362=_0x22db94['getAttribute']('footnoteId'),_0x4bc59f=_0xc669c9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x294362},function(_0x1c2bd3){const _0x4a3aba=this['toDomElement'](_0x1c2bd3);return _0x4a3aba['innerText']='^',_0x4a3aba;}),_0x124343=_0x1f2d8f?_0xc669c9['createContainerElement']('div',{'class':'footnote-content'}):_0x32d7f7(_0xc669c9['createEditableElement']('div',{'class':'footnote-content'}),_0xc669c9,{'label':t('Footnote\x20content.')});return _0xc669c9['insert'](_0xc669c9['createPositionAt'](_0x124343,0x0),_0xc669c9['createSlot']()),_0xc669c9['createContainerElement']('li',{'class':'footnote-definition','id':_0x294362},[_0x4bc59f,_0x124343]);}var Q=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x422410];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x301869}=this,{plugins:_0x12b9fa,model:_0x35c130}=_0x301869,_0x5bb920=_0x12b9fa['get'](_0x422410),_0x184aa0=_0x12b9fa['get'](V);this['listenTo'](_0x5bb920,'outputTransformation',(_0x404884,_0x26f711)=>{const _0x591b35=W(_0x35c130['createRangeIn'](_0x26f711['content']));if(!_0x591b35['length'])return;const _0x487cc8=_0x184aa0['getFootnotes'](),_0x42fdf4=_0x591b35['reduce']((_0x579758,_0x1559cc)=>{const _0x446e51=_0x487cc8['find'](_0x469d2f=>_0x469d2f['id']===_0x1559cc);if(_0x446e51){const _0x303a2f=_0x301869['data']['toView'](_0x446e51['definition'],{'isClipboardPipeline':!0x0}),_0xe7ef1f=_0x301869['data']['htmlProcessor']['toData'](_0x303a2f);_0x579758[_0x446e51['id']]=_0xe7ef1f;}return _0x579758;},Object['create'](null));_0x26f711['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x42fdf4));});}_handlePasteFootnotesDefinitions(){const {editor:_0x59a40a}=this,{model:_0x403db9,plugins:_0x20053b}=_0x59a40a,{view:_0x388d1f}=_0x59a40a['editing'],_0x3ec3d6=_0x20053b['get'](_0x422410),_0x518054=_0x20053b['get'](V),_0x178910=_0x59a40a['config']['get']('footnotes.multiBlock');let _0x289e24=null;this['listenTo'](_0x388d1f['document'],'clipboardInput',(_0x189bcf,_0x4fa77b)=>{const _0x20af51=_0x4fa77b['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x289e24=_0x20af51?JSON['parse'](_0x20af51):null;}),this['listenTo'](_0x3ec3d6,'contentInsertion',(_0x459987,_0x786040)=>{const _0x26d1a0=_0x786040['sourceEditorId']===this['editor']['id'];_0x26d1a0&&'drop'===_0x786040['method']||_0x403db9['change'](_0x2c985a=>{let _0x4d6bfe=_0x518054['getFootnotesDefinitionsObjectElement']();const _0x547d6d=!!_0x4d6bfe&&Array['from'](_0x403db9['document']['selection']['getSelectedBlocks']())['includes'](_0x4d6bfe);if(!_0x289e24&&function(_0xcd6c){for(const {item:_0x5df49c}of _0xcd6c)if(_0x5df49c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x403db9['createRangeIn'](_0x786040['content']))&&(_0x289e24=function(_0x224289,_0x73278b){const _0x1b34e5=G(_0x224289,_0x73278b);if(!_0x1b34e5)return null;const _0x1c725d=Object['create'](null);for(const _0x188abd of _0x1b34e5['getChildren']())_0x188abd['is']('element','footnoteDefinition')&&_0x188abd['hasAttribute']('footnoteId')&&(_0x1c725d[_0x188abd['getAttribute']('footnoteId')]=_0x224289['cloneElement'](_0x188abd,!0x0));return Object['keys'](_0x1c725d)['length']?_0x1c725d:null;}(_0x2c985a,_0x786040['content'])),(_0x4d6bfe&&!_0x547d6d||!_0x4d6bfe&&!_0x289e24)&&function(_0x120c27,_0x1354d5){const _0x7eacca=[];for(const {item:_0x5474da}of _0x120c27['createRangeIn'](_0x1354d5))_0x5474da['is']('element','footnotesDefinitions')&&_0x7eacca['push'](_0x5474da);for(const _0x3b109b of _0x7eacca)_0x120c27['remove'](_0x3b109b);}(_0x2c985a,_0x786040['content']),!_0x289e24)return;const {selection:_0x2efbb2}=_0x403db9['document'],_0x234c00=_0x2efbb2['getFirstRange']()['root'];if(!_0x4d6bfe||_0x547d6d){if(_0x4d6bfe=G(_0x2c985a,_0x786040['content']),_0x4d6bfe||=_0x518054['_insertEmptyFootnotesDefinitionsContainer'](_0x2c985a,_0x234c00),!_0x4d6bfe){const _0x3a0ae5=_0x518054['_getFirstSuitableFootnotesDefinitionsRoot']();_0x4d6bfe||=_0x3a0ae5&&_0x518054['_insertEmptyFootnotesDefinitionsContainer'](_0x2c985a,_0x3a0ae5);}if(!_0x4d6bfe)return void(_0x289e24=null);}const _0xfc879a=Array['from'](_0x2efbb2['getRanges']())['flatMap'](W),_0x595cf8=function(_0x13eafe,_0x573c61,_0x1df6f6){const _0x17a819=Object['create'](null);for(const {item:_0x2c2955}of _0x13eafe['createRangeIn'](_0x573c61))if(_0x2c2955['is']('element','footnoteRef')){const _0x10330b=_0x2c2955['getAttribute']('footnoteId');if(!_0x1df6f6(_0x10330b))continue;_0x17a819[_0x10330b]||(_0x17a819[_0x10330b]=_0xd669ac()),_0x13eafe['setAttribute']('footnoteId',_0x17a819[_0x10330b],_0x2c2955);}return _0x17a819;}(_0x2c985a,_0x786040['content'],_0x36b23f=>!_0x26d1a0||!!_0x518054['getFootnote'](_0x36b23f)&&!_0xfc879a['includes'](_0x36b23f));for(const [_0x151e96,_0x11682f]of Object['entries'](_0x289e24)){const _0x398d4f=_0x595cf8[_0x151e96]||_0x151e96;let _0x5d4fd1;if('string'!=typeof _0x11682f)_0x5d4fd1=_0x11682f,_0x398d4f!==_0x151e96&&_0x2c985a['setAttribute']('footnoteId',_0x398d4f,_0x5d4fd1);else{_0x5d4fd1=_0x2c985a['createElement']('footnoteDefinition',{'footnoteId':_0x398d4f});const _0x582a36=_0x59a40a['data']['htmlProcessor']['toView'](_0x11682f);let _0x3dfb23;if(_0x178910)_0x3dfb23=_0x59a40a['data']['toModel'](_0x582a36,_0x5d4fd1);else{_0x3dfb23=_0x2c985a['createElement']('footnoteInlineContent');const _0x58f860=_0x59a40a['data']['toModel'](_0x582a36,_0x3dfb23);_0x2c985a['insert'](_0x58f860,_0x3dfb23);}_0x2c985a['append'](_0x3dfb23,_0x5d4fd1);}_0x2c985a['insert'](_0x5d4fd1,_0x4d6bfe,'end');}_0x289e24=null;});});}};function G(_0x29ecb5,_0x5c6961){for(const {item:_0xd4d9ff}of _0x29ecb5['createRangeIn'](_0x5c6961))if(_0xd4d9ff['is']('element','footnotesDefinitions'))return _0xd4d9ff;return null;}function W(_0x8c3c12){const _0x1afe37=new Set();for(const {item:_0x1d0b52}of _0x8c3c12)_0x1d0b52['is']('element','footnoteRef')&&_0x1afe37['add'](_0x1d0b52['getAttribute']('footnoteId'));return Array['from'](_0x1afe37);}var Y=class extends _0x5d3f09{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x7ad73f}=this,{componentFactory:_0x4a0c0b}=_0x7ad73f['ui'];_0x4a0c0b['add']('insertFootnote',Z(_0x7ad73f,_0x43bcc6)),_0x4a0c0b['add']('menuBar:insertFootnote',Z(_0x7ad73f,_0x4b611a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x675f32=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d8ad1;for(const _0x5f1f30 in _0x675f32){const _0x2a99bf=_0x5f1f30,_0x5d1a47=_0x675f32[_0x2a99bf];if('footnotesLicenseKeyValid'==_0x5d1a47||'footnotesLicenseKeyInvalid'==_0x5d1a47||'footnotesLicenseKeyExpired'==_0x5d1a47||'footnotesLicenseKeyDomainLimit'==_0x5d1a47||'footnotesLicenseKeyNotAllowed'==_0x5d1a47||'footnotesLicenseKeyEvaluationLimit'==_0x5d1a47||'footnotesLicenseKeyUsageLimit'==_0x5d1a47){delete _0x675f32[_0x2a99bf],_0x2d8ad1=_0x5d1a47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2d8ad1&&_0x675f32['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2d8ad1&&_0x675f32['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2d8ad1&&_0x675f32['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2d8ad1&&_0x675f32['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2d8ad1&&_0x675f32['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2d8ad1&&_0x675f32['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x44263d,_0x4a1196){const _0x3614c1=_0x44263d['commands']['get']('insertFootnote');return _0x2439f9=>{const {t:t}=_0x2439f9,_0x16d825=new _0x4a1196(_0x2439f9),_0x315b12=_0x16d825 instanceof _0x4b611a;return _0x16d825['bind']('isEnabled')['to'](_0x3614c1,'isEnabled'),_0x16d825['set']({'label':t(_0x315b12?'Footnote':'Insert\x20footnote'),'icon':_0xbcbb6f,'tooltip':!0x0}),_0x16d825['on']('execute',()=>{_0x3614c1['execute'](),_0x44263d['editing']['view']['focus']();}),_0x16d825;};}var tt=class extends _0x5d3f09{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x25b9e6{['refresh'](){const {editor:_0x580913}=this,_0x2c9b17=_0x580913['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2c9b17,this['value']=_0x2c9b17?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x34d67e}){const {editor:_0x58eed1}=this,_0x1335c3=_0x58eed1['plugins']['get'](V),_0x3d88d2=_0x1335c3['getFootnotesDefinitionsObjectElement']();_0x3d88d2&&nt['includes'](_0x34d67e)&&_0x58eed1['model']['change'](_0x2f7ddb=>{_0x2f7ddb['setAttribute']('footnotesListStyle',_0x34d67e,_0x3d88d2),_0x1335c3['_updateFootnotesCounters'](_0x2f7ddb);});}},st=class extends _0x25b9e6{['refresh'](){const {editor:_0x325542}=this,_0x3a6b51=_0x325542['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3a6b51,this['value']=_0x3a6b51?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x3e7621}){const {editor:_0x1042f2}=this,_0x5b0db3=_0x1042f2['plugins']['get'](V),_0x528868=_0x5b0db3['getFootnotesDefinitionsObjectElement']();_0x528868&&Number['isInteger'](_0x3e7621)&&_0x1042f2['model']['change'](_0x3388f2=>{_0x3388f2['setAttribute']('footnotesListStart',_0x3e7621,_0x528868),_0x5b0db3['_updateFootnotesCounters'](_0x3388f2);});}};function rt({style:_0x259af6,digits:_0x3d82ba,value:_0x40d47f}){const _0xad40ba=Math['floor'](_0x40d47f),_0x25101a=function(_0xb2c33e){switch(_0xb2c33e){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x259af6);switch((_0xad40ba>_0x25101a['max']||_0xad40ba<_0x25101a['min'])&&(_0x259af6='decimal'),_0x259af6){case'decimal-leading-zero':return function(_0x43c38f,_0xa43231){return String(_0x43c38f)['padStart'](_0xa43231,'0');}(_0xad40ba,Math['max'](0x2,_0x3d82ba));case'lower-alpha':case'lower-latin':return lt(_0xad40ba,!0x1);case'upper-alpha':case'upper-latin':return lt(_0xad40ba,!0x0);case'lower-roman':return ft(_0xad40ba,!0x1);case'upper-roman':return ft(_0xad40ba,!0x0);case'arabic-indic':return String(_0xad40ba)['replace'](/\d/g,_0x23ebfb=>ct[Number(_0x23ebfb)]);default:return String(_0xad40ba);}}function lt(_0x5b84bb,_0x3537b9){let _0x470305='',_0x2e68d1=_0x5b84bb;for(;_0x2e68d1>0x0;){const _0x25ee88=(_0x2e68d1-0x1)%0x1a;_0x470305=String['fromCharCode'](0x61+_0x25ee88)+_0x470305,_0x2e68d1=Math['floor']((_0x2e68d1-0x1)/0x1a);}return _0x3537b9?_0x470305['toUpperCase']():_0x470305;}const at=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function ft(_0x3e65f4,_0x82e11){let _0x1e9dce='',_0x11a120=_0x3e65f4;for(const {value:_0x46ce7c,numeral:_0x1c91b4}of at)for(;_0x11a120>=_0x46ce7c;)_0x1e9dce+=_0x1c91b4,_0x11a120-=_0x46ce7c;return _0x82e11?_0x1e9dce:_0x1e9dce['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xe50c56}=this;_0xe50c56['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xe50c56['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xe50c56['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0xe50c56['commands']['add']('footnotesStyle',new it(_0xe50c56)),_0xe50c56['commands']['add']('footnotesStart',new st(_0xe50c56)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x367edf}=this,{schema:_0x5c8113}=_0x367edf['model'];_0x5c8113['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x28a47d}=this,{conversion:_0x35be9b,model:_0x269786}=_0x28a47d,{schema:_0x2ac0f8}=_0x269786;_0x35be9b['for']('upcast')['add'](_0x1655f5=>{_0x1655f5['on']('element:ol',(_0x404764,_0x4ee67a,_0xbf5803)=>{const _0x4c5eac=_0x4ee67a['viewItem'],_0x3cfafa=_0x4ee67a['modelCursor']?.['parent'];_0x4c5eac['hasClass']('footnotes-list')&&_0x3cfafa?.['is']('element','footnotesDefinitions')&&(function(_0x512f9a,_0x47547e,_0x36c181,_0x477508){if(!_0x477508['checkAttribute'](_0x47547e,'footnotesListStart'))return;let _0x1eba5e=0x1;const _0x5545c6=_0x36c181['consumable']['consume'](_0x512f9a,{'attributes':'start'});if(_0x5545c6){const _0xf60944=Number['parseInt'](_0x512f9a['getAttribute']('start'),0xa);Number['isNaN'](_0xf60944)||(_0x1eba5e=_0xf60944);}!_0x5545c6&&_0x47547e['hasAttribute']('footnotesListStart')||_0x36c181['writer']['setAttribute']('footnotesListStart',_0x1eba5e,_0x47547e);}(_0x4c5eac,_0x3cfafa,_0xbf5803,_0x2ac0f8),function(_0x1b747c,_0x131e20,_0x5414bf,_0x5768a1){if(!_0x5768a1['checkAttribute'](_0x131e20,'footnotesListStyle'))return;let _0x434392='decimal',_0xb8cb55=!0x1;if(_0x5414bf['consumable']['consume'](_0x1b747c,{'attributes':'type'})){const _0x21ed76={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x1b747c['getAttribute']('type')];_0x21ed76&&(_0x434392=_0x21ed76),_0xb8cb55=!0x0;}if(_0x5414bf['consumable']['consume'](_0x1b747c,{'styles':'list-style-type'})){const _0x34bc97=dt(_0x1b747c['getStyle']('list-style-type'));_0x34bc97&&(_0x434392=_0x34bc97),_0xb8cb55=!0x0;}!_0xb8cb55&&_0x131e20['hasAttribute']('footnotesListStyle')||_0x5414bf['writer']['setAttribute']('footnotesListStyle',_0x434392,_0x131e20);}(_0x4c5eac,_0x3cfafa,_0xbf5803,_0x2ac0f8));});}),_0x35be9b['for']('downcast')['add'](_0x4aea6c=>{_0x4aea6c['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1c1c1d,_0x4685c3,_0x2300c7)=>{if(!_0x2300c7['consumable']['consume'](_0x4685c3['item'],_0x1c1c1d['name']))return;const _0x2df36a=ht(_0x4685c3['item'],_0x2300c7['mapper']),{attributeNewValue:_0x20a239}=_0x4685c3;null==_0x20a239||0x1===_0x20a239?_0x2300c7['writer']['removeAttribute']('start',_0x2df36a):_0x2300c7['writer']['setAttribute']('start',String(_0x20a239),_0x2df36a);}),_0x4aea6c['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4ecd96,_0x4d809a,_0x58ca81)=>{if(!_0x58ca81['consumable']['consume'](_0x4d809a['item'],_0x4ecd96['name']))return;const _0x5ecc79=ht(_0x4d809a['item'],_0x58ca81['mapper']),{attributeNewValue:_0x28a975}=_0x4d809a;_0x28a975&&'decimal'!==_0x28a975?_0x58ca81['writer']['setStyle']('list-style-type',_0x28a975,_0x5ecc79):_0x58ca81['writer']['removeStyle']('list-style-type',_0x5ecc79);});});}_definePostfixer(){const {editor:_0x40ab95}=this,{model:_0x149e72}=_0x40ab95,_0x2964b0=_0x40ab95['plugins']['get'](V),_0xabd330=this['_getDefaultListStyle'](),_0x2669ac=this['_getDefaultStartIndex']();_0x149e72['document']['registerPostFixer'](_0x4c66e7=>{const _0x533bdc=_0x149e72['document']['differ']['getChanges']();let _0xe02ac4=!0x1;for(const _0x29785b of _0x533bdc){if('insert'!==_0x29785b['type']||'$text'===_0x29785b['name'])continue;const _0x21e2bf=_0x149e72['createRangeOn'](_0x29785b['position']['nodeAfter']);for(const _0x1e96ae of _0x21e2bf['getItems']())_0x1e96ae['is']('element','footnotesDefinitions')&&(!_0x1e96ae['hasAttribute']('footnotesListStart')&&_0x149e72['schema']['checkAttribute'](_0x1e96ae,'footnotesListStart')&&(_0x4c66e7['setAttribute']('footnotesListStart',_0x2669ac,_0x1e96ae),_0xe02ac4=!0x0),!_0x1e96ae['hasAttribute']('footnotesListStyle')&&_0x149e72['schema']['checkAttribute'](_0x1e96ae,'footnotesListStyle')&&(_0x4c66e7['setAttribute']('footnotesListStyle',_0xabd330,_0x1e96ae),_0xe02ac4=!0x0));}return _0xe02ac4&&_0x2964b0['_updateFootnotesCounters'](_0x4c66e7),_0xe02ac4;});}_defineFormatter(){const {editor:_0x35c2bc}=this;_0x35c2bc['plugins']['get'](V)['setFootnoteFormatter'](_0x1bd1a8=>this['_formatFootnoteListValue'](_0x1bd1a8));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x48e1cb,value:_0x1e60ab,digits:_0x40ba0e}){const _0x1cd6a6=_0x48e1cb['getAttribute']('footnotesListStyle');return rt({'value':_0x1e60ab+(_0x48e1cb['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x1cd6a6,'digits':_0x40ba0e});}};function dt(_0x46543a){if('string'==typeof _0x46543a){const _0x12c53e=ot[_0x46543a];if(_0x12c53e)return _0x12c53e;if(nt['includes'](_0x46543a))return _0x46543a;}return null;}function ht(_0x103b64,_0x310292){const _0x1c71c0=_0x310292['toViewElement'](_0x103b64);return Array['from'](_0x1c71c0['getChildren']())['find'](_0x3fccc7=>_0x3fccc7['is']('element','ol')&&_0x3fccc7['hasClass']('footnotes-list'));}var mt=class extends _0x4083de{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x9760ac();keystrokes=new _0x4c0263();['focusables']=new _0x1bfa6b();['focusCycler'];constructor(_0x2e3af6,{styleButtonViews:_0x13a434,styleGridAriaLabel:_0x44fbb5}){super(_0x2e3af6),(this['focusCycler']=new _0x3fad6e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x13a434,_0x44fbb5),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x304869 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x304869['element']);_0x4f6484({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x250397['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x27e5d7=_0x32d056=>_0x32d056['stopPropagation']();this['keystrokes']['set']('arrowright',_0x27e5d7),this['keystrokes']['set']('arrowleft',_0x27e5d7),this['keystrokes']['set']('arrowup',_0x27e5d7),this['keystrokes']['set']('arrowdown',_0x27e5d7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x3a2fd5,_0x3bfbe2){const _0x3971f7=new _0x4083de(this['locale']);return _0x3971f7['children']=_0x3971f7['createCollection'](),_0x3971f7['children']['addMany'](_0x3a2fd5),_0x3971f7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3bfbe2,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3971f7['children']}),_0x3971f7['children']['delegate']('execute')['to'](this),_0x3971f7['focus']=function(){for(const _0x4b1766 of this['children'])if(_0x4b1766 instanceof _0x43bcc6&&_0x4b1766['isOn'])return void _0x4b1766['focus']();this['children']['first']['focus']();},_0x3971f7['focusTracker']=new _0x9760ac(),_0x3971f7['keystrokes']=new _0x4c0263(),_0x3971f7['render'](),_0x3971f7['keystrokes']['listenTo'](_0x3971f7['element']),this['children']['add'](_0x3971f7),_0x3971f7;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x5f4491=this['_createStartIndexPropertyView'](),_0xc63c29=[_0x5f4491],_0xcadc9=new _0xfb5fc8(this['locale'],_0xc63c29);return _0xcadc9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xcadc9['buttonView']['bind']('isEnabled')['toMany'](_0xc63c29,'isEnabled',(..._0x405b2b)=>_0x405b2b['some'](_0x25e314=>_0x25e314)),_0xcadc9['buttonView']['on']('change:isEnabled',(_0x3a3d91,_0x1dfc80,_0x9a5d6a)=>{_0x9a5d6a||(_0xcadc9['isCollapsed']=!0x0);}),this['children']['add'](_0xcadc9),[_0x5f4491,_0xcadc9];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x3f8240=new _0x4b8eaf(this['locale'],_0x145c1a);return _0x3f8240['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3f8240['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3f8240['fieldView']['on']('input',()=>{const _0xc948bb=_0x3f8240['fieldView']['element'],_0x395220=_0xc948bb['valueAsNumber'];Number['isNaN'](_0x395220)?_0x3f8240['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xc948bb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x395220}):_0x3f8240['errorText']=t(_0x395220<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3f8240;}},pt=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x1dc07e,_0x279eaa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x15ef8e}=this,{componentFactory:_0xfd1c2f}=_0x15ef8e['ui'];_0x15ef8e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xfd1c2f['add']('footnotesStyle',function(_0x32b603){return _0x198f18=>{const {t:t}=_0x198f18,_0x117924=_0x32b603['commands']['get']('footnotesStyle'),_0x11294b=_0x59d3d4(_0x198f18),{buttonView:_0x41bcb8}=_0x11294b;return _0x11294b['class']='ck-footnotes-styles-dropdown',_0x11294b['bind']('isEnabled')['to'](_0x117924,'isEnabled'),_0x41bcb8['set']({'label':t('Footnotes\x20style'),'icon':_0xbcbb6f,'tooltip':!0x0}),_0x11294b['once']('change:isOpen',()=>{const _0xfd368a=function({editor:_0x1589bb,dropdownView:_0x55c00c}){const {t:t}=_0x1589bb['locale'],_0xa1883=t('Footnotes\x20definitions\x20styles'),_0x88d10=function(_0x10c991){const {t:t}=_0x10c991['locale'],_0x23c17f=_0x10c991['config']['get']('footnotes.footnotesProperties.listStyles'),_0x21b950=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x1e9edc},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0xf6a5c1},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x56ec81},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0xcd86a},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3cb2dd},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x33a668},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1ef682}];return _0x23c17f['map'](_0x451f9d=>{const _0x574166=dt(_0x451f9d);return function(_0x55ee95,_0x22ae05){const {locale:_0xf6773}=_0x55ee95,{label:_0x48b2af,icon:_0x243f9d,tooltip:_0x2c6a33,style:_0x57c4ed}=_0x22ae05,_0x4892ea=_0x55ee95['commands']['get']('footnotesStyle'),_0x1170ab=new _0x43bcc6(_0xf6773);return _0x1170ab['set']({'label':_0x48b2af,'icon':_0x243f9d,'tooltip':_0x2c6a33}),_0x1170ab['bind']('isOn')['to'](_0x4892ea,'value',_0xd42ad0=>_0xd42ad0===_0x57c4ed),_0x1170ab['bind']('isEnabled')['to'](_0x4892ea,'isEnabled'),_0x1170ab['on']('execute',()=>{_0x55ee95['execute']('footnotesStyle',{'value':_0x57c4ed}),_0x55ee95['editing']['view']['focus']();}),_0x1170ab;}(_0x10c991,_0x21b950['find'](_0x177adf=>_0x177adf['style']===_0x574166));});}(_0x1589bb),_0x8bee1d=new mt(_0x1589bb['locale'],{'styleGridAriaLabel':_0xa1883,'styleButtonViews':_0x88d10}),_0x2952e4=_0x1589bb['commands']['get']('footnotesStart');return _0x8bee1d['startIndexFieldView']['bind']('isEnabled')['to'](_0x2952e4),_0x8bee1d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2952e4),_0x8bee1d['on']('footnotesListStart',(_0x3e6ee8,_0x51b287)=>{_0x1589bb['execute']('footnotesStart',{'value':_0x51b287['startIndex']});}),_0x8bee1d['delegate']('execute')['to'](_0x55c00c),_0x8bee1d;}({'editor':_0x32b603,'dropdownView':_0x11294b});_0x11294b['panelView']['children']['add'](_0xfd368a);}),_0x11294b;};}(_0x15ef8e));}afterInit(){const {editor:_0x4c84eb}=this,{t:t}=_0x4c84eb['locale'],_0x3eeb1e=_0x4c84eb['plugins']['get'](_0x279eaa),{defaultPositions:_0x5848dd}=_0x3aba57;_0x3eeb1e['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4c84eb['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x499860=>{let _0x56d4fa=_0x499860['getFirstPosition']()?.['parent'];return _0x56d4fa?.['is']('$text')&&(_0x56d4fa=_0x56d4fa['parent']),_0x56d4fa?.['is']('element')?_0x56d4fa['findAncestor'](H):null;},'positions':[_0x5848dd['southArrowNorth'],_0x5848dd['southArrowNorthMiddleWest'],_0x5848dd['southArrowNorthMiddleEast'],_0x5848dd['southArrowNorthWest'],_0x5848dd['southArrowNorthEast'],_0x5848dd['northArrowSouth'],_0x5848dd['northArrowSouthMiddleWest'],_0x5848dd['northArrowSouthMiddleEast'],_0x5848dd['northArrowSouthWest'],_0x5848dd['northArrowSouthEast'],_0x5848dd['viewportStickyNorth']]});}},wt=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
|
|
23
|
+
import{Command as _0x1528b7,Plugin as _0x4a9476}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x5c8e61,isWidget as _0x48afa0,toWidget as _0x479536,toWidgetEditable as _0x254416}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x49cf72,KeystrokeHandler as _0x460537,global as _0x365432,logWarning as _0x58a635,uid as _0x487a15}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x1438ea,PointerObserver as _0x5de425}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0xa95869}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x9313c2,ButtonView as _0x6e4efa,CollapsibleView as _0x27e5aa,ContextualBalloon as _0x1dd236,FocusCycler as _0x3685ee,LabeledFieldView as _0x4395ff,MenuBarMenuListItemButtonView as _0x25d791,View as _0x40e420,ViewCollection as _0x24d057,addKeyboardHandlingForGrid as _0xa053a5,createDropdown as _0xfc2b56,createLabeledInputNumber as _0x139fca}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x292eb9,IconListStyleArabicIndic as _0x28eb26,IconListStyleDecimal as _0x17eee6,IconListStyleDecimalLeadingZero as _0x304761,IconListStyleLowerLatin as _0x21952f,IconListStyleLowerRoman as _0x450c7e,IconListStyleUpperLatin as _0x3ea1b8,IconListStyleUpperRoman as _0x27531d}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x4aa6f5,_0x26359c){this['_model']=_0x4aa6f5,this['_elementName']=_0x26359c['elementName'],this['_getElementKey']=_0x26359c['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x489536){const _0x303aeb=new Set(),_0x2e99de=new Map();for(const _0x4e0ea6 of _0x489536){if('insert'===_0x4e0ea6['type']&&'$text'!==_0x4e0ea6['name']&&_0x4e0ea6['position']['nodeAfter']){const _0x269087=this['_model']['createRangeOn'](_0x4e0ea6['position']['nodeAfter']);for(const _0xa38c7c of _0x269087['getItems']()){if(!_0xa38c7c['is']('element',this['_elementName']))continue;const _0x47f9bf=this['_getElementKey'](_0xa38c7c);_0x2e99de['has'](_0x47f9bf)||_0x2e99de['set'](_0x47f9bf,[]),_0x2e99de['get'](_0x47f9bf)['push'](_0xa38c7c);}}if('remove'===_0x4e0ea6['type']&&_0x4e0ea6['name']===this['_elementName']){const _0x9987ed=this['_getElementKey']({'getAttribute':_0x3cd949=>_0x4e0ea6['attributes']['get'](_0x3cd949)});_0x303aeb['add'](_0x9987ed);}}for(const [_0x36f814,_0x2e2a1c]of this['_trackedElements'])'$graveyard'===_0x2e2a1c['root']['rootName']&&_0x303aeb['add'](_0x36f814);for(const _0x56783b of _0x303aeb)this['_trackedElements']['delete'](_0x56783b);for(const [_0xd805f7,_0x2cf3ae]of _0x2e99de)this['_trackedElements']['set'](_0xd805f7,_0x2cf3ae[_0x2cf3ae['length']-0x1]);const _0x2db0a0=new Set();for(const [_0x42e982,_0x4c7748]of _0x2e99de)_0x303aeb['has'](_0x42e982)&&(_0x2db0a0['add'](_0x4c7748[0x0]),_0x4c7748['length']>0x1?_0x2e99de['set'](_0x42e982,_0x4c7748['slice'](0x1)):_0x2e99de['delete'](_0x42e982),_0x303aeb['delete'](_0x42e982));return{'removed':Array['from'](_0x303aeb),'inserted':Array['from'](_0x2e99de['values']())['flat'](),'moved':Array['from'](_0x2db0a0)};}},V=class extends _0x4a9476{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4da698){super(_0x4da698),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3e9a5b=>_0x3e9a5b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3041b0=>_0x3041b0['getAttribute']('footnoteId')});}init(){const {editor:_0x35a408}=this,{model:_0x4aecfb,data:_0x26232d}=_0x35a408;_0x4aecfb['document']['registerPostFixer'](_0xc65084=>{const _0x29a621=_0x4aecfb['document']['differ']['getChanges']();let _0x5e3ff4=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc65084,_0x29a621)&&(_0x5e3ff4=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc65084,_0x29a621)&&(_0x5e3ff4=!0x0),this['_handleFootnoteReferencesChanges'](_0xc65084,_0x29a621)&&(_0x5e3ff4=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc65084)&&(_0x5e3ff4=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc65084)&&(_0x5e3ff4=!0x0),this['_sortFootnoteDefinitions'](_0xc65084)&&(_0x5e3ff4=!0x0),_0x5e3ff4;}),this['listenTo'](_0x4aecfb['document'],'change:data',()=>{_0x4aecfb['enqueueChange']({'isUndoable':!0x1},_0x7b6221=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x7b6221);for(const _0x5267ab of this['_footnotes'])_0x5267ab['definition']['isAttached']()||_0x7b6221['remove'](_0x5267ab['reference']);});},{'priority':'low'}),this['listenTo'](_0x26232d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x76f682){return this['_footnotes']['find'](_0x360712=>_0x360712['id']===_0x76f682)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x3dcc70){this['_footnoteFormatter']=_0x3dcc70;}_updateFootnotesCounters(_0x8481c,_0x2c792d=0x0){let _0x249d48=!0x1;for(let _0x4f8588=_0x2c792d;_0x4f8588<this['_footnotes']['length'];_0x4f8588++)this['_updateFootnoteRefCounter'](_0x8481c,_0x4f8588)&&(_0x249d48=!0x0);return _0x249d48;}_insertEmptyFootnotesDefinitionsContainer(_0x1d58c4,_0x4c22de){if(!K(this['editor'],_0x4c22de))return null;const _0x337177=_0x1d58c4['createElement']('footnotesDefinitions',{});return _0x1d58c4['append'](_0x337177,_0x4c22de),this['_footnotesDefinitions']=_0x337177,_0x337177;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x43682c=[...(_0x3ef597=this['_footnotes'],[..._0x3ef597['reduce']((_0x232a51,_0x57d93e)=>(_0x232a51['add'](_0x57d93e['reference']['root']),_0x232a51),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x3ef597;for(const _0x5b5d01 of _0x43682c)if(K(this['editor'],_0x5b5d01))return _0x5b5d01;return null;}_ensureFootnotesDefinitionsContainerExists(_0x424eaa){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x46af74=null;const _0x76bf72=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x76bf72&&(_0x46af74=this['_insertEmptyFootnotesDefinitionsContainer'](_0x424eaa,_0x76bf72)),_0x46af74){for(const _0x4caa2e of this['_footnotes'])_0x4caa2e['definition']['parent']||_0x424eaa['insert'](_0x4caa2e['definition'],_0x46af74,'end');this['_updateFootnotesCounters'](_0x424eaa);}}_handleFootnotesDefinitionsObjectChanges(_0x3594c5,_0x50dca6){let _0x103496=!0x1;const {inserted:_0x28b8e7,removed:_0x4b1ab9,moved:_0x3e076}=this['_footnoteDefsContainerTracker']['getChanges'](_0x50dca6);if(_0x3e076['length']&&(this['_footnotesDefinitions']=_0x3e076[0x0]),_0x28b8e7['length']){if(_0x28b8e7['length']>0x1||this['_footnotesDefinitions']&&_0x28b8e7['some'](_0x4bde4f=>_0x4bde4f!==this['_footnotesDefinitions'])){const _0x5ee3a2=_0x3594c5['createElement']('footnotesDefinitions',{}),_0xeda39b=[];this['_footnotesDefinitions']&&_0xeda39b['push'](this['_footnotesDefinitions']),_0xeda39b['push'](..._0x28b8e7),_0x3594c5['insert'](_0x5ee3a2,_0xeda39b[0x0],'before');for(const _0x205811 of _0xeda39b)_0x3594c5['move'](_0x3594c5['createRangeIn'](_0x205811),_0x3594c5['createPositionAt'](_0x5ee3a2,'end')),_0x3594c5['remove'](_0x205811);this['_footnotesDefinitions']=_0x5ee3a2,this['_updateFootnotesCounters'](_0x3594c5),_0x103496=!0x0;}else this['_footnotesDefinitions']=_0x28b8e7[0x0];}if(_0x4b1ab9['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x388139 of this['_footnotes'])_0x3594c5['remove'](_0x388139['reference']),_0x103496=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x103496;}_handleFootnoteDefinitionsChanges(_0x274019,_0xba0d84){let _0x45fb54=!0x1;const _0x48c84b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x15f915,moved:_0x117aad}=this['_footnoteDefsTracker']['getChanges'](_0xba0d84);for(const _0x9908f of[..._0x117aad,..._0x15f915]){const _0x405106=_0x9908f['getAttribute']('footnoteId'),_0xe8d442=this['getFootnote'](_0x405106);_0xe8d442&&(_0xe8d442['definition']=_0x9908f),T(_0x274019,_0x48c84b,_0x9908f)&&(_0x45fb54=!0x0);}return _0x45fb54;}_handleFootnoteReferencesChanges(_0x4fccdb,_0x20cde4){let _0x11720e=!0x1;const {removed:_0x1df0ba,inserted:_0x4b0f0e,moved:_0x1f87f0}=this['_footnoteRefsTracker']['getChanges'](_0x20cde4);for(const _0xd4f6d9 of _0x1df0ba)this['_handleRemoveFootnoteReferenceById'](_0x4fccdb,_0xd4f6d9)&&(_0x11720e=!0x0);for(const _0xe2bc4b of _0x4b0f0e)this['_handleInsertedFootnoteReference'](_0x4fccdb,_0xe2bc4b)&&(_0x11720e=!0x0);for(const _0x31e97e of _0x1f87f0)this['_handleMovedFootnoteReference'](_0x4fccdb,_0x31e97e)&&(_0x11720e=!0x0);return _0x11720e;}_handleFootnotesDefinitionsObjectSync(_0x244550){if(!this['_footnotesDefinitions'])return!0x1;let _0x1793c5=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x30619e=[];for(const _0x2b302b of this['_footnotesDefinitions']['getChildren']()){const _0x6892e9=_0x2b302b['getAttribute']('footnoteId');this['getFootnote'](_0x6892e9)||(_0x30619e['unshift'](_0x2b302b),_0x1793c5=!0x0);}for(const _0x5423cc of _0x30619e)_0x244550['remove'](_0x5423cc);}const _0x20dc78=new Set(),_0x215919=[];for(const _0x5d622b of this['_footnotesDefinitions']['getChildren']()){const _0x56a3a5=_0x5d622b['getAttribute']('footnoteId');_0x20dc78['has'](_0x56a3a5)?(_0x215919['unshift'](_0x5d622b),_0x1793c5=!0x0):_0x20dc78['add'](_0x56a3a5);}for(const _0x1c31d of _0x215919)_0x244550['remove'](_0x1c31d);return this['_footnotesDefinitions']['childCount']||(_0x244550['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1793c5=!0x0),_0x1793c5;}_handleInsertedFootnoteReference(_0x39e880,_0x5aafe0){if(this['_footnotes']['find'](_0x51ad2f=>_0x51ad2f['reference']===_0x5aafe0))return!0x1;let _0x2a394a=!0x1;const _0x289af0=_0x5aafe0['getAttribute']('footnoteId'),_0xb6ad52=this['_footnotes']['findIndex'](_0x4dcac8=>_0x4dcac8['id']===_0x289af0);-0x1!==_0xb6ad52&&(_0x39e880['remove'](this['_footnotes'][_0xb6ad52]['reference']),this['_footnotes']['splice'](_0xb6ad52,0x1),_0x2a394a=!0x0);let _0x3f2773=this['_footnotesDefinitions']?function(_0x2ed20d,_0x33dae8){for(const _0x43bf40 of _0x2ed20d['getChildren']())if(_0x43bf40['getAttribute']('footnoteId')===_0x33dae8)return _0x43bf40;return null;}(this['_footnotesDefinitions'],_0x289af0):null;_0x3f2773||(_0x3f2773=_0x39e880['createElement']('footnoteDefinition',{'footnoteId':_0x289af0}),this['_footnotesDefinitions']&&(_0x39e880['insert'](_0x3f2773,this['_footnotesDefinitions'],'end'),_0x2a394a=!0x0));const _0x5d8caa={'id':_0x289af0,'reference':_0x5aafe0,'definition':_0x3f2773},_0x22a6e4=j(this['editor']['model'],this['_footnotes'],_0x5aafe0);this['_footnotes']['splice'](_0x22a6e4,0x0,_0x5d8caa);let _0x10c7b1=_0x22a6e4;return-0x1!==_0xb6ad52&&(_0x10c7b1=Math['min'](_0x22a6e4,_0xb6ad52)),this['_updateFootnotesCounters'](_0x39e880,_0x10c7b1)&&(_0x2a394a=!0x0),_0x2a394a;}_handleRemoveFootnoteReferenceById(_0x5f17a2,_0x3a11a8){const _0x2d1060=this['_footnotes']['findIndex'](_0x560225=>_0x560225['id']===_0x3a11a8);if(-0x1===_0x2d1060)return!0x1;let _0x30b7e3=!0x1;const _0x14c39a=this['_footnotes'][_0x2d1060];return _0x14c39a['definition']['isAttached']()&&'$graveyard'!==_0x14c39a['definition']['root']['rootName']&&(_0x5f17a2['remove'](_0x14c39a['definition']),_0x30b7e3=!0x0),this['_footnotes']['splice'](_0x2d1060,0x1),this['_updateFootnotesCounters'](_0x5f17a2,_0x2d1060)&&(_0x30b7e3=!0x0),_0x30b7e3;}_handleMovedFootnoteReference(_0x21d935,_0x47d23c){const _0x5920bf=_0x47d23c['getAttribute']('footnoteId'),_0x3e38f4=this['_footnotes']['findIndex'](_0x6e1ce1=>_0x6e1ce1['id']===_0x5920bf),_0x496d3c=this['_footnotes'][_0x3e38f4];let _0x21fdf2=!0x1;_0x496d3c['reference']=_0x47d23c,this['_footnotes']['splice'](_0x3e38f4,0x1);const _0x2ecda1=j(this['editor']['model'],this['_footnotes'],_0x47d23c);return this['_footnotes']['splice'](_0x2ecda1,0x0,_0x496d3c),this['_updateFootnotesCounters'](_0x21d935,Math['min'](_0x3e38f4,_0x2ecda1))&&(_0x21fdf2=!0x0),_0x21fdf2;}_updateFootnoteRefCounter(_0x51896d,_0x3ea564){if(!this['_footnotesDefinitions'])return!0x1;const _0x28f5f2=this['_footnotes'][_0x3ea564];let _0x9b8b37;return _0x9b8b37=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x28f5f2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3ea564+0x1}):String(_0x3ea564+0x1),_0x28f5f2['reference']['getAttribute']('footnoteCounter')!=_0x9b8b37&&(_0x51896d['setAttribute']('footnoteCounter',_0x9b8b37,_0x28f5f2['reference']),!0x0);}_sortFootnoteDefinitions(_0x309f14){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x50a39b,_0x546d9f){if(_0x50a39b['length']!==_0x546d9f['length'])return!0x1;for(let _0x5592c6=0x0;_0x5592c6<_0x50a39b['length'];_0x5592c6++)if(_0x50a39b[_0x5592c6]!==_0x546d9f[_0x5592c6])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x484fbe=>_0x484fbe['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1fb42d=>_0x1fb42d['getAttribute']('footnoteId'))))return!0x1;let _0x3364d8=!0x1;for(let _0x5d4f96=0x0;_0x5d4f96<this['_footnotes']['length'];_0x5d4f96++){const _0x481a33=this['_footnotes'][_0x5d4f96],_0xd89ba4=_0x309f14['createPositionBefore'](_0x481a33['definition']),_0x1e0d9e=_0x309f14['createPositionAt'](this['_footnotesDefinitions'],_0x5d4f96);_0xd89ba4['isEqual'](_0x1e0d9e)||(_0x309f14['move'](_0x309f14['createRangeOn'](_0x481a33['definition']),_0x1e0d9e),_0x3364d8=!0x0);}return _0x3364d8;}_ensureFootnotesReferencesHaveProperOrder(_0x5763c9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x113d9a}=this['editor'];let _0x2d4a7b=!0x1;for(let _0x215bd5=0x0;_0x215bd5<this['_footnotes']['length']-0x1;_0x215bd5++){const _0x43092b=this['_footnotes'][_0x215bd5],_0x1b10b0=this['_footnotes'][_0x215bd5+0x1],_0x40ba70=_0x113d9a['createPositionBefore'](_0x43092b['reference']),_0xb32290=_0x113d9a['createPositionBefore'](_0x1b10b0['reference']);'after'===_0x40ba70['compareWith'](_0xb32290)&&(this['_handleMovedFootnoteReference'](_0x5763c9,_0x43092b['reference']),_0x215bd5=-0x1,_0x2d4a7b=!0x0);}return _0x2d4a7b;}};function K(_0x274989,_0x204465){return _0x274989['model']['schema']['checkChild'](_0x204465,'footnotesDefinitions');}function T(_0x2a4d1c,_0x5ae85f,_0x2344a1){if(_0x2344a1['childCount'])return!0x1;const _0x3fbb8a=_0x5ae85f?'paragraph':'footnoteInlineContent';return _0x2a4d1c['insert'](_0x2a4d1c['createElement'](_0x3fbb8a),_0x2344a1),!0x0;}function j(_0x3b4b75,_0x33ae8f,_0x46b9c1){if(0x0===_0x33ae8f['length'])return 0x0;const _0x765ea7=_0x3b4b75['createPositionBefore'](_0x46b9c1);for(let _0x44407a=0x0;_0x44407a<_0x33ae8f['length'];_0x44407a++){const _0x5778c4=_0x33ae8f[_0x44407a],_0x5e6546=_0x3b4b75['createPositionBefore'](_0x5778c4['reference']);if('before'===_0x765ea7['compareWith'](_0x5e6546))return _0x44407a;}const _0x15ccc5=_0x46b9c1['root'];let _0x44d536=-0x1;for(let _0x394548=_0x33ae8f['length']-0x1;_0x394548>=0x0;_0x394548--)if(_0x33ae8f[_0x394548]['reference']['root']===_0x15ccc5){_0x44d536=_0x394548;break;}if(-0x1!==_0x44d536)return _0x44d536+0x1;const _0x2954b4=_0x3b4b75['document']['getRootNames'](),_0x26e533=_0x2954b4[_0x2954b4['indexOf'](_0x15ccc5['rootName'])+0x1];if(_0x26e533){for(let _0x100fba=0x0;_0x100fba<_0x33ae8f['length'];_0x100fba++)if(_0x33ae8f[_0x100fba]['reference']['root']['rootName']===_0x26e533)return _0x100fba;}return _0x33ae8f['length'];}var U=class extends _0x1528b7{['refresh'](){const {model:_0x8a3c1f,plugins:_0x325f32}=this['editor'],{selection:_0xee8e95}=_0x8a3c1f['document'],_0x1b2882=this['_getPositionToInsertFootnote'](_0xee8e95),_0x1c1638=_0x325f32['get']('FootnotesTracker');this['isEnabled']=!(!_0x1b2882||!_0x1c1638['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x15683c){const {editor:_0x4ea42a}=this,{model:_0x3cf856}=_0x4ea42a,{selection:_0x34e75c}=_0x3cf856['document'],_0x5976e7=this['_getPositionToInsertFootnote'](_0x34e75c);if(!_0x5976e7)return;const _0x368244=_0x4ea42a['plugins']['get']('FootnotesEditing'),_0x448b4f=_0x15683c?.['footnoteId']??_0x487a15();!function(_0x541091){return'string'==typeof _0x541091&&_0x541091['length']>0x0&&!/\s/['test'](_0x541091)&&!/^\d/['test'](_0x541091);}(_0x448b4f)?_0x58a635('insert-footnote-command-executed-with-invalid-id'):(_0x3cf856['change'](_0x3a8750=>{const _0x4774b9=_0x3a8750['createElement']('footnoteRef',{'footnoteId':_0x448b4f});_0x3cf856['insertObject'](_0x4774b9,_0x5976e7,null);}),_0x368244['_moveSelectionToFootnoteDefinition'](_0x448b4f));}_getPositionToInsertFootnote(_0x5ee71e){const {model:_0x385001}=this['editor'],{schema:_0x4ea9de}=_0x385001,_0x4e30f0=_0x5ee71e['getFirstRange']();for(const _0xe2457c of _0x4e30f0['getItems']())if(_0x4ea9de['isBlock'](_0xe2457c)||_0x4ea9de['isObject'](_0xe2457c))return null;const _0x19301c=_0x4e30f0['end'];return _0x4ea9de['checkChild'](_0x19301c,'footnoteRef')?_0x19301c:null;}},$=class extends _0x4a9476{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x517a24}=this;_0x517a24['config']['define']('footnotes.multiBlock',!0x0),_0x517a24['commands']['add']('insertFootnote',new U(_0x517a24)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x49e78c){const _0x43c2a0='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x3f5949=0x791d0,_0x44d948=window['Date']['now'](),_0x30e420=_0x49e78c['editor'],_0x839550=new window['Promise'](_0x2c961e=>{_0x30e420['once']('ready',_0x2c961e);}),_0x2b33cd={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3934f5=_0x30e420['config']['get']('licenseKey');async function _0x49ba92(){let _0x416247,_0x35f709=null,_0x1a2fc4=null;try{return'GPL'==_0x3934f5?'NotAllowed':(_0x416247=_0xdcf477(),_0x416247?(_0x416247['usageEndpoint']&&(_0x1a2fc4=_0x12e3f6(_0x416247['usageEndpoint'],_0x416247['jti'])),await _0x199dca()?_0x338a8e()?_0x1c9acf()?'Expired':_0x210840()?('evaluation'==_0x416247['licenseType']&&(_0x35f709=_0xf8d212('EvaluationLimit')),await _0x30fddc()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1c9acf(){const _0x3ffffd=['evaluation','trial']['includes'](_0x416247['licenseType'])?_0x44d948/0x3e8:0xe10*_0x3f5949;return _0x416247['exp']<_0x3ffffd;}function _0x338a8e(){const _0x40840f=_0x416247['features'];return!!_0x40840f&&(!!_0x40840f['includes']('*')||!!_0x40840f['includes']('FOO'));}function _0x210840(){const _0x5e757f=_0x416247['licensedHosts'];if(!_0x5e757f||0x0==_0x5e757f['length'])return!0x0;const {hostname:_0x20c8f4}=new URL(window['location']['href']);if(_0x5e757f['includes'](_0x20c8f4))return!0x0;const _0x1e50e5=_0x20c8f4['split']('.');return _0x5e757f['filter'](_0xfe4704=>_0xfe4704['includes']('*'))['map'](_0xdfed68=>_0xdfed68['split']('.'))['filter'](_0x32664e=>_0x32664e['length']<=_0x1e50e5['length'])['map'](_0x46b522=>Array(_0x1e50e5['length']-_0x46b522['length'])['fill']('*'===_0x46b522[0x0]?'*':'')['concat'](_0x46b522))['some'](_0x3adba5=>_0x1e50e5['every']((_0x5b6110,_0x5946ad)=>_0x3adba5[_0x5946ad]===_0x5b6110||'*'===_0x3adba5[_0x5946ad]));}function _0x30fddc(){return _0x35f709&&_0x1a2fc4?new window['Promise']((_0x4adb26,_0x4cbb82)=>{_0x35f709['then'](_0x4adb26,_0x4cbb82),_0x1a2fc4['then'](_0x388c74=>{'Valid'!=_0x388c74&&_0x4adb26(_0x388c74);},_0x4cbb82);}):_0x35f709||_0x1a2fc4||'Valid';}}function _0x12e3f6(_0x1932ea,_0x99c64a){return new window['Promise'](_0x1974a3=>{if(_0x2ef759())return _0x1974a3('Valid');_0x4bfbdd(),_0x30e420['decorate']('_sendUsageRequest');let _0x480fe3=!0x1;const _0x504917=_0x487a15();function _0x51361b(_0xb381e9){return!!_0xb381e9&&('object'==typeof _0xb381e9||'function'==typeof _0xb381e9)&&'function'==typeof _0xb381e9['then']&&'function'==typeof _0xb381e9['catch'];}function _0x23ecb2(_0x2a06c0){_0xcb2765(_0x2a06c0)['then'](_0x462686=>_0x462686&&'ok'==_0x462686['status']?_0x4cfacd(_0xeba051(_0x504917+_0x99c64a))!=_0x462686['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4765fd=>(_0x5f4377(),_0x4765fd),()=>{const _0xf26a1f=_0x3ec382();return null==_0xf26a1f?(_0x5f4377(),'Valid'):_0x44d948-_0xf26a1f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1974a3)['catch'](()=>{_0x1974a3('UsageLimit');});const _0xee08ba=0x36ee80;function _0x5f4377(){const _0x2c9e35='llct-'+_0x4cfacd(_0xeba051(_0x1932ea)),_0xb41745=_0x79b572(_0x4cfacd(window['Math']['ceil'](_0x44d948/_0xee08ba)));window['localStorage']['setItem'](_0x2c9e35,_0xb41745);}function _0x3ec382(){const _0x3d8b57='llct-'+_0x4cfacd(_0xeba051(_0x1932ea)),_0x3cf93a=window['localStorage']['getItem'](_0x3d8b57);return _0x3cf93a?window['parseInt'](_0x79b572(_0x3cf93a),0x10)*_0xee08ba:null;}function _0xcb2765(_0x13bffb){return new window['Promise']((_0x44dbbc,_0x71c4f5)=>{_0x13bffb['then'](_0x44dbbc,_0x71c4f5),window['setTimeout'](_0x71c4f5,0x1d4c0);});}}_0x30e420['on']('_sendUsageRequest',(_0x237f4e,_0x344f27)=>{if(_0x344f27[0x0]!=_0x1932ea)return _0x1974a3('UsageLimit');_0x344f27[0x1]={..._0x344f27[0x1],'requestId':_0x504917};},{'priority':'high'}),_0x30e420['on']('_sendUsageRequest',_0x462197=>{_0x51361b(_0x462197['return'])&&(_0x480fe3=!0x0,_0x23ecb2(_0x462197['return']));},{'priority':'low'}),_0x839550['then'](()=>{_0x480fe3||_0x1974a3('UsageLimit');});});function _0x2ef759(){return'auto'==_0x30e420['editing']['view']['_overlayModeHint'];}function _0x4bfbdd(){_0x30e420['editing']['view']['_overlayModeHint']='auto';}}function _0xf8d212(_0x47048f){const _0x4ea177=[new window['Promise'](_0xea289a=>setTimeout(_0xea289a,0x93ecc)),_0x839550['then'](()=>new window['Promise'](_0x264167=>{let _0x4ef06a=0x0;_0x30e420['model']['on']('applyOperation',(_0x33a7dc,_0x3f9932)=>{_0x3f9932[0x0]['isDocumentOperation']&&_0x4ef06a++,0x5e8==_0x4ef06a&&(_0x264167(),_0x33a7dc['off']());});}))];return window['Promise']['race'](_0x4ea177)['then'](()=>_0x47048f);}async function _0x245906(){await _0x839550,_0x30e420['model']['change']=_0x3f13bd,_0x30e420['model']['enqueueChange']=_0x3f13bd,_0x30e420['enableReadOnlyMode']('model');}function _0x579e52(_0x5688ca){const _0x353cb3=_0x2840c2();_0x30e420[_0x353cb3]='footnotesLicenseKey'+_0x5688ca,'Valid'!=_0x5688ca&&_0x245906();}function _0x2840c2(){const _0x4ac00f=window['String'](window['performance']['now']())['replace']('.','');let _0x478fc9='u';for(let _0x398769=0x0;_0x398769<_0x4ac00f['length'];_0x398769+=0x2){let _0x1072a2=window['parseInt'](_0x4ac00f['substring'](_0x398769,_0x398769+0x2));_0x1072a2>=0x3e&&(_0x1072a2-=0x3e),_0x478fc9+=_0x43c2a0[_0x1072a2];}return _0x478fc9;}function _0xdcf477(){const _0x209bb3=_0x3934f5['split']('.');if(0x3!=_0x209bb3['length'])return null;return _0x75d18f(_0x209bb3[0x1]);function _0x75d18f(_0x2e9693){const _0x527273=_0x1d54de(_0x2e9693);return _0x527273&&_0x31a2d1()?_0x527273:null;function _0x31a2d1(){const _0x35c277=_0x527273['jti'],_0x2dd5c4=window['parseInt'](_0x35c277['substring'](_0x35c277['length']-0x8),0x10),_0x5f5328={..._0x527273,'jti':_0x35c277['substring'](0x0,_0x35c277['length']-0x8)};return delete _0x5f5328['vc'],_0xeba051(_0x5f5328)==_0x2dd5c4;}}}async function _0x199dca(){let _0x2b246e=!0x0;try{const [_0x11cff4,_0x5e5712,_0x36647f]=_0x3934f5['split']('.');return _0x44bbe8(_0x11cff4),await _0x21bd20(_0x11cff4,_0x5e5712,_0x36647f),_0x2b246e;}catch{return!0x1;}function _0x44bbe8(_0x52a1b9){const _0x2f7019=_0x1d54de(_0x52a1b9);_0x2f7019&&'ES256'==_0x2f7019['alg']||(_0x2b246e=!0x1);}async function _0x21bd20(_0x3ac369,_0x423895,_0x4e7bb7){const _0x3df58f=window['Uint8Array']['from'](_0x452da7(_0x4e7bb7),_0xcd5fcd=>_0xcd5fcd['charCodeAt'](0x0)),_0x2b7426=new window['TextEncoder']()['encode'](_0x3ac369+'.'+_0x423895),_0x25ed54=window['crypto']['subtle'];if(!_0x25ed54)return;const _0x35e20c=await _0x25ed54['importKey']('jwk',_0x2b33cd,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x25ed54['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x35e20c,_0x3df58f,_0x2b7426)||(_0x2b246e=!0x1);}}function _0x1d54de(_0x291283){return _0x291283['startsWith']('ey')?JSON['parse'](_0x452da7(_0x291283)):null;}function _0x452da7(_0x24be71){return window['atob'](_0x24be71['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xeba051(_0x2797df){let _0x35c10a=0x1505;function _0x21eb0a(_0x52a2be){for(let _0x41e6f1=0x0;_0x41e6f1<_0x52a2be['length'];_0x41e6f1++){const _0x1aaae2=_0x52a2be['charCodeAt'](_0x41e6f1);_0x35c10a=(_0x35c10a<<0x5)+_0x35c10a+_0x1aaae2,_0x35c10a&=_0x35c10a;}}function _0x1d2f11(_0x414f03){Array['isArray'](_0x414f03)?_0x414f03['forEach'](_0x1d2f11):_0x414f03&&'object'==typeof _0x414f03?Object['entries'](_0x414f03)['sort']()['forEach'](([_0x31197e,_0x371538])=>{_0x21eb0a(_0x31197e),_0x1d2f11(_0x371538);}):_0x21eb0a(window['String'](_0x414f03));}return _0x1d2f11(_0x2797df),_0x35c10a>>>0x0;}function _0x4cfacd(_0xeb5d4d){return _0xeb5d4d['toString'](0x10)['padStart'](0x8,'0');}function _0x79b572(_0x393b2b){return _0x393b2b['split']('')['reverse']()['join']('');}function _0x3f13bd(){}_0x579e52(await _0x49ba92());}(this);}_moveSelectionToFootnoteDefinition(_0x57f0cf){const {plugins:_0x231dda,editing:_0xf3dd92,model:_0x85e056}=this['editor'],_0x245022=_0x231dda['get'](V)['getFootnote'](_0x57f0cf);return!!_0x245022&&(_0x85e056['change'](_0x53ef91=>{_0x53ef91['setSelection'](_0x53ef91['createPositionAt'](_0x245022['definition'],'end'));}),_0xf3dd92['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x374bac){const {plugins:_0x1371ca,editing:_0x4f8a91,model:_0x37a307}=this['editor'],_0x3b4b1d=_0x1371ca['get'](V)['getFootnote'](_0x374bac);return!!_0x3b4b1d&&(_0x37a307['change'](_0x58cfa9=>{_0x58cfa9['setSelection'](_0x3b4b1d['reference'],'on');}),_0x4f8a91['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2d1c94}=this['editor']['model'],_0x96219=this['editor']['config']['get']('footnotes.multiBlock');_0x2d1c94['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2d1c94['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2d1c94['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x96219?_0x2d1c94['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2d1c94['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2d1c94['addChildCheck'](_0x4782c4=>{for(const _0xd7aa9c of _0x4782c4)if('footnoteDefinition'===_0xd7aa9c['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x98ccb1}=this,{conversion:_0x2fd2d5,editing:_0x46906c}=_0x98ccb1,{t:t}=_0x98ccb1['locale'];_0x2fd2d5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5198b3,{writer:_0x348843,consumable:_0x3b4e60})=>{const _0x3ccb83=_0x5198b3['getChild'](0x0);if(!_0x3ccb83||!_0x3ccb83['is']('element','a'))return null;const _0x41087a=_0x3ccb83['getAttribute']('href')||'';if(!_0x41087a['startsWith']('#'))return null;const _0x3d2a8c=_0x41087a['replace'](/^#/,'');if(!_0x3d2a8c)return null;_0x3b4e60['consume'](_0x3ccb83,{'name':!0x0,'attributes':['href']});for(const {item:_0x1eb366}of _0x46906c['view']['createRangeIn'](_0x3ccb83))_0x1eb366['is']('$textProxy')?_0x3b4e60['consume'](_0x1eb366['textNode'],{'name':!0x0}):_0x1eb366['is']('element')&&_0x3b4e60['consume'](_0x1eb366,{'name':!0x0});return _0x348843['createElement']('footnoteRef',{'footnoteId':_0x3d2a8c});}}),_0x2fd2d5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ab931,{writer:_0x1e7da7})=>z(_0x2ab931,_0x1e7da7)}),_0x2fd2d5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x58751c,{writer:_0x4b64d6})=>{const _0x555689=_0x58751c['getAttribute']('footnoteCounter');return _0x479536(z(_0x58751c,_0x4b64d6),_0x4b64d6,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x555689)});}});}_defineDefinitionsConverters(){const {editor:_0x2f31c5}=this,{t:t}=_0x2f31c5['locale'],{conversion:_0x270b0a}=_0x2f31c5;_0x270b0a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x270b0a['for']('upcast')['add'](_0x187370=>{_0x187370['on']('element:ol',(_0x5d874c,_0x2aa042,_0x2cced1)=>{const _0xdc05f9=_0x2aa042['viewItem'];if(!_0xdc05f9['hasClass']('footnotes-list')||!_0x2aa042['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2cced1['consumable']['consume'](_0xdc05f9,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x59df75,modelCursor:_0x4ebf79}=_0x2cced1['convertChildren'](_0x2aa042['viewItem'],_0x2aa042['modelCursor']);_0x2aa042['modelRange']=_0x59df75,_0x2aa042['modelCursor']=_0x4ebf79;}),_0x187370['on']('element:hr',(_0x41fc44,_0x1b3728,_0x1c40ca)=>{const _0x23875d=_0x1b3728['viewItem'];_0x23875d['hasClass']('footnotes-divider')&&_0x1b3728['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1c40ca['consumable']['consume'](_0x23875d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x270b0a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2f08b5,{writer:_0x5e2397})=>X(_0x5e2397)}),_0x270b0a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x43241c,{writer:_0x3216de})=>{const _0x59cf11=_0x479536(X(_0x3216de,{'data-footnotes-list-label':t('Footnotes')}),_0x3216de,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3216de['setCustomProperty']('footnotesDefinitions',!0x0,_0x59cf11),_0x59cf11;}});}_defineDefinitionConverters(){const {editor:_0xf3186c}=this,{conversion:_0x10c165,locale:_0x3dcb20}=_0xf3186c,_0xcaeb73=_0xf3186c['config']['get']('footnotes.multiBlock');_0x10c165['for']('upcast')['add'](_0x496d4a=>{_0x496d4a['on']('element:li',(_0x159acd,_0x27deab,_0x135db3)=>{const _0x19f05a=_0x27deab['viewItem'];if(!_0x19f05a['hasClass']('footnote-definition')||!_0x19f05a['getAttribute']('id'))return;const _0x2accc9=_0x19f05a['parent'];if(!_0x2accc9['is']('element','ol')||!_0x2accc9['hasClass']('footnotes-list'))return;if(!_0x135db3['consumable']['test'](_0x19f05a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5445eb=_0x135db3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x19f05a['getAttribute']('id')});if(!_0x135db3['safeInsert'](_0x5445eb,_0x27deab['modelCursor']))return;_0x135db3['consumable']['consume'](_0x19f05a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4fded6=Array['from'](_0x19f05a['getChildren']())['find'](_0x17b9e6=>_0x17b9e6['is']('element')&&_0x17b9e6['hasClass']('footnote-content'));for(const _0x1ea74b of _0x19f05a['getChildren']())_0x1ea74b['is']('element')&&(_0x135db3['consumable']['consume'](_0x1ea74b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x135db3['consumable']['consume'](_0x1ea74b,{'name':!0x0,'classes':'footnote-content'}));if(_0x4fded6){if(_0xcaeb73)_0x135db3['convertChildren'](_0x4fded6,_0x5445eb);else{const _0xba2582=_0x135db3['writer']['createElement']('footnoteInlineContent');_0x135db3['writer']['insert'](_0xba2582,_0x5445eb),_0x135db3['convertChildren'](_0x4fded6,_0xba2582);}}_0x135db3['updateConversionResult'](_0x5445eb,_0x27deab);});}),_0x10c165['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46fa98,{writer:_0x20c118})=>J(_0x46fa98,_0x20c118,_0x3dcb20,{'dataPipeline':!0x0})}),_0x10c165['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10c793,{writer:_0x47b755})=>J(_0x10c793,_0x47b755,_0x3dcb20)});}_defineBogusParagraphConverters(){const {editor:_0xf68eba}=this,{conversion:_0x44846c}=_0xf68eba;_0xf68eba['config']['get']('footnotes.multiBlock')?(_0x44846c['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x44846c['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xf68eba['model']['document'],'change:data',()=>{!function(_0x502218,_0x3f3ac0){const _0x31c007=_0x502218['document']['differ'],_0x5839b7=new Set();for(const _0x3797c5 of _0x31c007['getChanges']()){const _0x10f007='attribute'==_0x3797c5['type']?_0x3797c5['range']['start']['parent']:_0x3797c5['position']['parent'];_0x10f007['is']('element','footnoteDefinition')&&_0x5839b7['add'](_0x10f007);}for(const _0x5c2759 of _0x5839b7['values']()){const _0x111f09=Array['from'](_0x5c2759['getChildren']())['filter'](_0x26eb42=>q(_0x26eb42,_0x3f3ac0['mapper']));for(const _0x3ecdca of _0x111f09)_0x3f3ac0['reconvertItem'](_0x3ecdca);}}(_0xf68eba['model'],_0xf68eba['editing']);})):(_0x44846c['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x44846c['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4baeb5,{writer:_0x4b88a1})=>{const _0x1cdc21=_0x4b88a1['createContainerElement']('span');return _0x4b88a1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1cdc21),_0x1cdc21;}}));}['_defineKeyboardHandlers'](){const {editor:_0x36d1ec}=this,{editing:_0x31049d,t:t}=_0x36d1ec,_0x82a9c9=_0x36d1ec['model']['document']['selection'];_0x36d1ec['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x36d1ec['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x31049d['view']['document'],'enter',(_0xc97dca,_0x32e484)=>{const _0x5664ae=function(_0x59d40f){const _0x35e66d=_0x59d40f['getSelectedElement']();return _0x35e66d?.['is']('element','footnoteRef')?_0x35e66d:null;}(_0x82a9c9);if(_0x5664ae){const _0x2e50cd=_0x5664ae['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2e50cd),_0x32e484['preventDefault'](),_0xc97dca['stop']();}},{'context':_0x48afa0});}['_defineClickHandlers'](){const {editor:_0x35f0a6}=this,{editing:_0x50ea83}=_0x35f0a6;_0x35f0a6['editing']['view']['addObserver'](_0x5de425),_0x35f0a6['editing']['view']['addObserver'](_0x1438ea);let _0x25b42a=!0x1;this['listenTo'](_0x50ea83['view']['document'],'pointerdown',(_0x3e0c69,_0x3b71d0)=>{const {target:_0x42da3b}=_0x3b71d0,_0x2f9a52=_0x50ea83['view']['document']['selection'];_0x25b42a=!!(_0x42da3b?.['is']('element','a')&&_0x42da3b['parent']?.['is']('element','sup')&&_0x42da3b['parent']['hasClass']('footnote'))&&_0x2f9a52['getSelectedElement']()===_0x42da3b['parent'];},{'priority':'high'}),this['listenTo'](_0x50ea83['view']['document'],'click',(_0x3460d2,_0x1119e4)=>{const {target:_0x2e8aee}=_0x1119e4;if(!_0x2e8aee?.['is']('element','a'))return;if(_0x2e8aee['parent']?.['is']('element','sup')&&_0x2e8aee['parent']['hasClass']('footnote')&&!_0x25b42a)return void _0x1119e4['preventDefault']();let _0x39fc89=_0x2e8aee['getAttribute']('href');if(!_0x39fc89?.['startsWith']('#'))return;_0x39fc89=_0x39fc89['slice'](0x1);let _0x39d746=!0x1;(_0x39fc89['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x39fc89['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x39fc89))&&(_0x39d746=!0x0),_0x39d746&&(_0x1119e4['preventDefault'](),_0x3460d2['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x4d2515}={}){return(_0x3debca,{writer:_0x91007f})=>{if(!B(_0x3debca))return null;if(!_0x4d2515)return _0x91007f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x24a251=_0x91007f['createContainerElement']('p');return _0x91007f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x24a251),_0x24a251;};}function B(_0x1da0c3){const {parent:_0x1526c5}=_0x1da0c3;if(!_0x1526c5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1526c5['childCount'])return!0x1;for(const _0x4491b6 of _0x1da0c3['getAttributeKeys']())if(!_0x4491b6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4491b6)return!0x1;return!0x0;}function q(_0x295ad5,_0x563a2b){if(!_0x295ad5['is']('element','paragraph'))return!0x1;const _0x1d1d11=_0x563a2b['toViewElement'](_0x295ad5);return!!_0x1d1d11&&B(_0x295ad5)!==_0x1d1d11['is']('element','span');}function H(_0x46658b){return _0x48afa0(_0x46658b)&&_0x46658b['is']('containerElement')&&!!_0x46658b['getCustomProperty']('footnotesDefinitions');}function X(_0x592694,_0x36229a={}){const _0x522d50=_0x592694['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3c1aee=_0x592694['createContainerElement']('ol',{'class':'footnotes-list'},_0x592694['createSlot']());return _0x592694['createContainerElement']('div',{'class':'footnotes',..._0x36229a},[_0x522d50,_0x3c1aee]);}function z(_0x52081e,_0x13e4aa){const _0xb53bef=_0x52081e['getAttribute']('footnoteId'),_0x431dbf=_0x52081e['getAttribute']('footnoteCounter'),_0x5e70c6=_0x13e4aa['createUIElement']('a',{'href':'#'+_0xb53bef},function(_0x16a7cd){const _0x59c6a6=this['toDomElement'](_0x16a7cd);return _0x59c6a6['textContent']=_0x431dbf,_0x59c6a6;}),_0x6c34e=_0x13e4aa['createContainerElement']('sup',{'id':'ref-'+_0xb53bef,'class':'footnote'},[_0x5e70c6]);return _0x6c34e['getFillerOffset']=()=>null,_0x6c34e;}function J(_0x5d191e,_0x2d4a79,_0xdf0a4,{dataPipeline:_0x33166a}={}){const {t:t}=_0xdf0a4,_0x3ac52c=_0x5d191e['getAttribute']('footnoteId'),_0x3c128d=_0x2d4a79['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3ac52c},function(_0x5462b2){const _0x2f6d2e=this['toDomElement'](_0x5462b2);return _0x2f6d2e['innerText']='^',_0x2f6d2e;}),_0x1391aa=_0x33166a?_0x2d4a79['createContainerElement']('div',{'class':'footnote-content'}):_0x254416(_0x2d4a79['createEditableElement']('div',{'class':'footnote-content'}),_0x2d4a79,{'label':t('Footnote\x20content.')});return _0x2d4a79['insert'](_0x2d4a79['createPositionAt'](_0x1391aa,0x0),_0x2d4a79['createSlot']()),_0x2d4a79['createContainerElement']('li',{'class':'footnote-definition','id':_0x3ac52c},[_0x3c128d,_0x1391aa]);}var Q=class extends _0x4a9476{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0xa95869];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x46f513}=this,{plugins:_0x53e201,model:_0x265372}=_0x46f513,_0x59e775=_0x53e201['get'](_0xa95869),_0x4d53c4=_0x53e201['get'](V);this['listenTo'](_0x59e775,'outputTransformation',(_0x81f94c,_0x3b8ae9)=>{const _0x388448=W(_0x265372['createRangeIn'](_0x3b8ae9['content']));if(!_0x388448['length'])return;const _0x3e6bad=_0x4d53c4['getFootnotes'](),_0x74bab5=_0x388448['reduce']((_0x45b94b,_0x5268c2)=>{const _0x3a29a9=_0x3e6bad['find'](_0x52f5c8=>_0x52f5c8['id']===_0x5268c2);if(_0x3a29a9){const _0x404938=_0x46f513['data']['toView'](_0x3a29a9['definition'],{'isClipboardPipeline':!0x0}),_0x3d6352=_0x46f513['data']['htmlProcessor']['toData'](_0x404938);_0x45b94b[_0x3a29a9['id']]=_0x3d6352;}return _0x45b94b;},Object['create'](null));_0x3b8ae9['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x74bab5));});}_handlePasteFootnotesDefinitions(){const {editor:_0x5bbde4}=this,{model:_0x1cb2f0,plugins:_0x383500}=_0x5bbde4,{view:_0x351ce8}=_0x5bbde4['editing'],_0x42e12a=_0x383500['get'](_0xa95869),_0xd8e6d5=_0x383500['get'](V),_0x104e2c=_0x5bbde4['config']['get']('footnotes.multiBlock');let _0x1223fb=null;this['listenTo'](_0x351ce8['document'],'clipboardInput',(_0x45f519,_0x185c07)=>{const _0x4067a6=_0x185c07['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1223fb=_0x4067a6?JSON['parse'](_0x4067a6):null;}),this['listenTo'](_0x42e12a,'contentInsertion',(_0x4bfdcd,_0x100416)=>{const _0x39620f=_0x100416['sourceEditorId']===this['editor']['id'];_0x39620f&&'drop'===_0x100416['method']||_0x1cb2f0['change'](_0x4666cc=>{let _0x59006b=_0xd8e6d5['getFootnotesDefinitionsObjectElement']();const _0x391397=!!_0x59006b&&Array['from'](_0x1cb2f0['document']['selection']['getSelectedBlocks']())['includes'](_0x59006b);if(!_0x1223fb&&function(_0x544349){for(const {item:_0x1fa77d}of _0x544349)if(_0x1fa77d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1cb2f0['createRangeIn'](_0x100416['content']))&&(_0x1223fb=function(_0x292be8,_0x4da6ff){const _0xa107d6=G(_0x292be8,_0x4da6ff);if(!_0xa107d6)return null;const _0xce9f26=Object['create'](null);for(const _0x1fdad3 of _0xa107d6['getChildren']())_0x1fdad3['is']('element','footnoteDefinition')&&_0x1fdad3['hasAttribute']('footnoteId')&&(_0xce9f26[_0x1fdad3['getAttribute']('footnoteId')]=_0x292be8['cloneElement'](_0x1fdad3,!0x0));return Object['keys'](_0xce9f26)['length']?_0xce9f26:null;}(_0x4666cc,_0x100416['content'])),(_0x59006b&&!_0x391397||!_0x59006b&&!_0x1223fb)&&function(_0x55c739,_0x94b798){const _0x3fe52d=[];for(const {item:_0x25befd}of _0x55c739['createRangeIn'](_0x94b798))_0x25befd['is']('element','footnotesDefinitions')&&_0x3fe52d['push'](_0x25befd);for(const _0xef1476 of _0x3fe52d)_0x55c739['remove'](_0xef1476);}(_0x4666cc,_0x100416['content']),!_0x1223fb)return;const {selection:_0x249c12}=_0x1cb2f0['document'],_0x241564=_0x249c12['getFirstRange']()['root'];if(!_0x59006b||_0x391397){if(_0x59006b=G(_0x4666cc,_0x100416['content']),_0x59006b||=_0xd8e6d5['_insertEmptyFootnotesDefinitionsContainer'](_0x4666cc,_0x241564),!_0x59006b){const _0x5ef863=_0xd8e6d5['_getFirstSuitableFootnotesDefinitionsRoot']();_0x59006b||=_0x5ef863&&_0xd8e6d5['_insertEmptyFootnotesDefinitionsContainer'](_0x4666cc,_0x5ef863);}if(!_0x59006b)return void(_0x1223fb=null);}const _0x31be1d=Array['from'](_0x249c12['getRanges']())['flatMap'](W),_0x5221a8=function(_0x340f4d,_0xea79a2,_0x268d86){const _0x46e5da=Object['create'](null);for(const {item:_0x5d05ed}of _0x340f4d['createRangeIn'](_0xea79a2))if(_0x5d05ed['is']('element','footnoteRef')){const _0x407555=_0x5d05ed['getAttribute']('footnoteId');if(!_0x268d86(_0x407555))continue;_0x46e5da[_0x407555]||(_0x46e5da[_0x407555]=_0x487a15()),_0x340f4d['setAttribute']('footnoteId',_0x46e5da[_0x407555],_0x5d05ed);}return _0x46e5da;}(_0x4666cc,_0x100416['content'],_0x536fbe=>!_0x39620f||!!_0xd8e6d5['getFootnote'](_0x536fbe)&&!_0x31be1d['includes'](_0x536fbe));for(const [_0x5ed871,_0x1f38fd]of Object['entries'](_0x1223fb)){const _0x24476f=_0x5221a8[_0x5ed871]||_0x5ed871;let _0x701e3f;if('string'!=typeof _0x1f38fd)_0x701e3f=_0x1f38fd,_0x24476f!==_0x5ed871&&_0x4666cc['setAttribute']('footnoteId',_0x24476f,_0x701e3f);else{_0x701e3f=_0x4666cc['createElement']('footnoteDefinition',{'footnoteId':_0x24476f});const _0x2994aa=_0x5bbde4['data']['htmlProcessor']['toView'](_0x1f38fd);let _0x2065d3;if(_0x104e2c)_0x2065d3=_0x5bbde4['data']['toModel'](_0x2994aa,_0x701e3f);else{_0x2065d3=_0x4666cc['createElement']('footnoteInlineContent');const _0xe97455=_0x5bbde4['data']['toModel'](_0x2994aa,_0x2065d3);_0x4666cc['insert'](_0xe97455,_0x2065d3);}_0x4666cc['append'](_0x2065d3,_0x701e3f);}_0x4666cc['insert'](_0x701e3f,_0x59006b,'end');}_0x1223fb=null;});});}};function G(_0x3b0061,_0x1381ca){for(const {item:_0x10e79e}of _0x3b0061['createRangeIn'](_0x1381ca))if(_0x10e79e['is']('element','footnotesDefinitions'))return _0x10e79e;return null;}function W(_0x12e861){const _0x2780f6=new Set();for(const {item:_0x4b3e07}of _0x12e861)_0x4b3e07['is']('element','footnoteRef')&&_0x2780f6['add'](_0x4b3e07['getAttribute']('footnoteId'));return Array['from'](_0x2780f6);}var Y=class extends _0x4a9476{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x495a5c}=this,{componentFactory:_0x51cfe0}=_0x495a5c['ui'];_0x51cfe0['add']('insertFootnote',Z(_0x495a5c,_0x6e4efa)),_0x51cfe0['add']('menuBar:insertFootnote',Z(_0x495a5c,_0x25d791)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x352207=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f214b;for(const _0x6d0d7e in _0x352207){const _0x540ea2=_0x6d0d7e,_0x32fbaf=_0x352207[_0x540ea2];if('footnotesLicenseKeyValid'==_0x32fbaf||'footnotesLicenseKeyInvalid'==_0x32fbaf||'footnotesLicenseKeyExpired'==_0x32fbaf||'footnotesLicenseKeyDomainLimit'==_0x32fbaf||'footnotesLicenseKeyNotAllowed'==_0x32fbaf||'footnotesLicenseKeyEvaluationLimit'==_0x32fbaf||'footnotesLicenseKeyUsageLimit'==_0x32fbaf){delete _0x352207[_0x540ea2],_0x4f214b=_0x32fbaf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4f214b&&_0x352207['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4f214b&&_0x352207['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4f214b&&_0x352207['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4f214b&&_0x352207['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4f214b&&_0x352207['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4f214b&&_0x352207['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x3db138,_0x243197){const _0x32e4ba=_0x3db138['commands']['get']('insertFootnote');return _0x2c6b79=>{const {t:t}=_0x2c6b79,_0x2b2add=new _0x243197(_0x2c6b79),_0x3701b0=_0x2b2add instanceof _0x25d791;return _0x2b2add['bind']('isEnabled')['to'](_0x32e4ba,'isEnabled'),_0x2b2add['set']({'label':t(_0x3701b0?'Footnote':'Insert\x20footnote'),'icon':_0x292eb9,'tooltip':!0x0}),_0x2b2add['on']('execute',()=>{_0x32e4ba['execute'](),_0x3db138['editing']['view']['focus']();}),_0x2b2add;};}var tt=class extends _0x4a9476{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x1528b7{['refresh'](){const {editor:_0x1007c2}=this,_0x47bc62=_0x1007c2['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x47bc62,this['value']=_0x47bc62?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x254315}){const {editor:_0x294338}=this,_0x4e042a=_0x294338['plugins']['get'](V),_0x18ccc5=_0x4e042a['getFootnotesDefinitionsObjectElement']();_0x18ccc5&&nt['includes'](_0x254315)&&_0x294338['model']['change'](_0x2d5825=>{_0x2d5825['setAttribute']('footnotesListStyle',_0x254315,_0x18ccc5),_0x4e042a['_updateFootnotesCounters'](_0x2d5825);});}},st=class extends _0x1528b7{['refresh'](){const {editor:_0x4e566e}=this,_0x231316=_0x4e566e['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x231316,this['value']=_0x231316?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x2bbafc}){const {editor:_0xdccb2a}=this,_0x5b8f6b=_0xdccb2a['plugins']['get'](V),_0x1a3011=_0x5b8f6b['getFootnotesDefinitionsObjectElement']();_0x1a3011&&Number['isInteger'](_0x2bbafc)&&_0xdccb2a['model']['change'](_0x5cf7cd=>{_0x5cf7cd['setAttribute']('footnotesListStart',_0x2bbafc,_0x1a3011),_0x5b8f6b['_updateFootnotesCounters'](_0x5cf7cd);});}};function rt({style:_0x31d4d5,digits:_0x46ec96,value:_0x1ed7d4}){const _0x4c0655=Math['floor'](_0x1ed7d4),_0xe7e290=function(_0xe31057){switch(_0xe31057){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x31d4d5);switch((_0x4c0655>_0xe7e290['max']||_0x4c0655<_0xe7e290['min'])&&(_0x31d4d5='decimal'),_0x31d4d5){case'decimal-leading-zero':return function(_0x228398,_0x555d7d){return String(_0x228398)['padStart'](_0x555d7d,'0');}(_0x4c0655,Math['max'](0x2,_0x46ec96));case'lower-alpha':case'lower-latin':return lt(_0x4c0655,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x4c0655,!0x0);case'lower-roman':return ft(_0x4c0655,!0x1);case'upper-roman':return ft(_0x4c0655,!0x0);case'arabic-indic':return String(_0x4c0655)['replace'](/\d/g,_0x259f90=>ct[Number(_0x259f90)]);default:return String(_0x4c0655);}}function lt(_0x28482c,_0x2d806f){let _0x3d6630='',_0xeed25=_0x28482c;for(;_0xeed25>0x0;){const _0x3e87c3=(_0xeed25-0x1)%0x1a;_0x3d6630=String['fromCharCode'](0x61+_0x3e87c3)+_0x3d6630,_0xeed25=Math['floor']((_0xeed25-0x1)/0x1a);}return _0x2d806f?_0x3d6630['toUpperCase']():_0x3d6630;}const at=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function ft(_0x4771a3,_0x49f61a){let _0x558ff3='',_0x33bd93=_0x4771a3;for(const {value:_0x237205,numeral:_0x196c2b}of at)for(;_0x33bd93>=_0x237205;)_0x558ff3+=_0x196c2b,_0x33bd93-=_0x237205;return _0x49f61a?_0x558ff3:_0x558ff3['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x4a9476{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x245a61}=this;_0x245a61['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x245a61['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x245a61['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x245a61['commands']['add']('footnotesStyle',new it(_0x245a61)),_0x245a61['commands']['add']('footnotesStart',new st(_0x245a61)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x40abf2}=this,{schema:_0x5c4d31}=_0x40abf2['model'];_0x5c4d31['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x29749d}=this,{conversion:_0x23bfc3,model:_0x195e9f}=_0x29749d,{schema:_0x1af1c5}=_0x195e9f;_0x23bfc3['for']('upcast')['add'](_0xb2077d=>{_0xb2077d['on']('element:ol',(_0x332fdd,_0x485234,_0x275e12)=>{const _0x421f69=_0x485234['viewItem'],_0x4dec01=_0x485234['modelCursor']?.['parent'];_0x421f69['hasClass']('footnotes-list')&&_0x4dec01?.['is']('element','footnotesDefinitions')&&(function(_0x4dfb53,_0x2135ce,_0x2b308a,_0x52fa80){if(!_0x52fa80['checkAttribute'](_0x2135ce,'footnotesListStart'))return;let _0x45846a=0x1;const _0xb1bfc9=_0x2b308a['consumable']['consume'](_0x4dfb53,{'attributes':'start'});if(_0xb1bfc9){const _0x4e69a9=Number['parseInt'](_0x4dfb53['getAttribute']('start'),0xa);Number['isNaN'](_0x4e69a9)||(_0x45846a=_0x4e69a9);}!_0xb1bfc9&&_0x2135ce['hasAttribute']('footnotesListStart')||_0x2b308a['writer']['setAttribute']('footnotesListStart',_0x45846a,_0x2135ce);}(_0x421f69,_0x4dec01,_0x275e12,_0x1af1c5),function(_0x4dabfb,_0x199e22,_0x3b5bcb,_0x143048){if(!_0x143048['checkAttribute'](_0x199e22,'footnotesListStyle'))return;let _0x1eed43='decimal',_0x5bfdba=!0x1;if(_0x3b5bcb['consumable']['consume'](_0x4dabfb,{'attributes':'type'})){const _0x151c7c={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x4dabfb['getAttribute']('type')];_0x151c7c&&(_0x1eed43=_0x151c7c),_0x5bfdba=!0x0;}if(_0x3b5bcb['consumable']['consume'](_0x4dabfb,{'styles':'list-style-type'})){const _0x47588a=dt(_0x4dabfb['getStyle']('list-style-type'));_0x47588a&&(_0x1eed43=_0x47588a),_0x5bfdba=!0x0;}!_0x5bfdba&&_0x199e22['hasAttribute']('footnotesListStyle')||_0x3b5bcb['writer']['setAttribute']('footnotesListStyle',_0x1eed43,_0x199e22);}(_0x421f69,_0x4dec01,_0x275e12,_0x1af1c5));});}),_0x23bfc3['for']('downcast')['add'](_0x149012=>{_0x149012['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x197517,_0x184f73,_0x15b363)=>{if(!_0x15b363['consumable']['consume'](_0x184f73['item'],_0x197517['name']))return;const _0xa474e3=ht(_0x184f73['item'],_0x15b363['mapper']),{attributeNewValue:_0x538389}=_0x184f73;null==_0x538389||0x1===_0x538389?_0x15b363['writer']['removeAttribute']('start',_0xa474e3):_0x15b363['writer']['setAttribute']('start',String(_0x538389),_0xa474e3);}),_0x149012['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x44fb8d,_0x318edf,_0xbf9135)=>{if(!_0xbf9135['consumable']['consume'](_0x318edf['item'],_0x44fb8d['name']))return;const _0xdbc262=ht(_0x318edf['item'],_0xbf9135['mapper']),{attributeNewValue:_0x5d24d9}=_0x318edf;_0x5d24d9&&'decimal'!==_0x5d24d9?_0xbf9135['writer']['setStyle']('list-style-type',_0x5d24d9,_0xdbc262):_0xbf9135['writer']['removeStyle']('list-style-type',_0xdbc262);});});}_definePostfixer(){const {editor:_0x3ab853}=this,{model:_0x1bffb6}=_0x3ab853,_0xda5e70=_0x3ab853['plugins']['get'](V),_0x1486c2=this['_getDefaultListStyle'](),_0x6ae180=this['_getDefaultStartIndex']();_0x1bffb6['document']['registerPostFixer'](_0x38bf1b=>{const _0x4e1bbf=_0x1bffb6['document']['differ']['getChanges']();let _0x313b22=!0x1;for(const _0x2ca07c of _0x4e1bbf){if('insert'!==_0x2ca07c['type']||'$text'===_0x2ca07c['name'])continue;const _0x527621=_0x1bffb6['createRangeOn'](_0x2ca07c['position']['nodeAfter']);for(const _0xacdc15 of _0x527621['getItems']())_0xacdc15['is']('element','footnotesDefinitions')&&(!_0xacdc15['hasAttribute']('footnotesListStart')&&_0x1bffb6['schema']['checkAttribute'](_0xacdc15,'footnotesListStart')&&(_0x38bf1b['setAttribute']('footnotesListStart',_0x6ae180,_0xacdc15),_0x313b22=!0x0),!_0xacdc15['hasAttribute']('footnotesListStyle')&&_0x1bffb6['schema']['checkAttribute'](_0xacdc15,'footnotesListStyle')&&(_0x38bf1b['setAttribute']('footnotesListStyle',_0x1486c2,_0xacdc15),_0x313b22=!0x0));}return _0x313b22&&_0xda5e70['_updateFootnotesCounters'](_0x38bf1b),_0x313b22;});}_defineFormatter(){const {editor:_0x27ddc9}=this;_0x27ddc9['plugins']['get'](V)['setFootnoteFormatter'](_0x243f02=>this['_formatFootnoteListValue'](_0x243f02));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x39e75b,value:_0x18c550,digits:_0x1b8564}){const _0xaa6533=_0x39e75b['getAttribute']('footnotesListStyle');return rt({'value':_0x18c550+(_0x39e75b['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0xaa6533,'digits':_0x1b8564});}};function dt(_0x158440){if('string'==typeof _0x158440){const _0x48a0ff=ot[_0x158440];if(_0x48a0ff)return _0x48a0ff;if(nt['includes'](_0x158440))return _0x158440;}return null;}function ht(_0x5cc2d3,_0x124927){const _0x192f6b=_0x124927['toViewElement'](_0x5cc2d3);return Array['from'](_0x192f6b['getChildren']())['find'](_0x17633e=>_0x17633e['is']('element','ol')&&_0x17633e['hasClass']('footnotes-list'));}var mt=class extends _0x40e420{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x49cf72();keystrokes=new _0x460537();['focusables']=new _0x24d057();['focusCycler'];constructor(_0x534eb6,{styleButtonViews:_0x229d17,styleGridAriaLabel:_0x25c1ce}){super(_0x534eb6),(this['focusCycler']=new _0x3685ee({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x229d17,_0x25c1ce),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x20f24d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20f24d['element']);_0xa053a5({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x365432['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x15e7fb=_0x36a804=>_0x36a804['stopPropagation']();this['keystrokes']['set']('arrowright',_0x15e7fb),this['keystrokes']['set']('arrowleft',_0x15e7fb),this['keystrokes']['set']('arrowup',_0x15e7fb),this['keystrokes']['set']('arrowdown',_0x15e7fb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x58109f,_0x1c5c2b){const _0xf3353b=new _0x40e420(this['locale']);return _0xf3353b['children']=_0xf3353b['createCollection'](),_0xf3353b['children']['addMany'](_0x58109f),_0xf3353b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1c5c2b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xf3353b['children']}),_0xf3353b['children']['delegate']('execute')['to'](this),_0xf3353b['focus']=function(){for(const _0x5a8867 of this['children'])if(_0x5a8867 instanceof _0x6e4efa&&_0x5a8867['isOn'])return void _0x5a8867['focus']();this['children']['first']['focus']();},_0xf3353b['focusTracker']=new _0x49cf72(),_0xf3353b['keystrokes']=new _0x460537(),_0xf3353b['render'](),_0xf3353b['keystrokes']['listenTo'](_0xf3353b['element']),this['children']['add'](_0xf3353b),_0xf3353b;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x1f6a1f=this['_createStartIndexPropertyView'](),_0x2d65fa=[_0x1f6a1f],_0x5cc0fb=new _0x27e5aa(this['locale'],_0x2d65fa);return _0x5cc0fb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5cc0fb['buttonView']['bind']('isEnabled')['toMany'](_0x2d65fa,'isEnabled',(..._0x13f7a0)=>_0x13f7a0['some'](_0x53001f=>_0x53001f)),_0x5cc0fb['buttonView']['on']('change:isEnabled',(_0x331461,_0x24761f,_0x27fec3)=>{_0x27fec3||(_0x5cc0fb['isCollapsed']=!0x0);}),this['children']['add'](_0x5cc0fb),[_0x1f6a1f,_0x5cc0fb];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x14d485=new _0x4395ff(this['locale'],_0x139fca);return _0x14d485['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x14d485['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x14d485['fieldView']['on']('input',()=>{const _0x168412=_0x14d485['fieldView']['element'],_0x58da12=_0x168412['valueAsNumber'];Number['isNaN'](_0x58da12)?_0x14d485['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x168412['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x58da12}):_0x14d485['errorText']=t(_0x58da12<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x14d485;}},pt=class extends _0x4a9476{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x1dd236,_0x5c8e61];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x28a663}=this,{componentFactory:_0x538e03}=_0x28a663['ui'];_0x28a663['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x538e03['add']('footnotesStyle',function(_0x374e6b){return _0x586540=>{const {t:t}=_0x586540,_0x288ac7=_0x374e6b['commands']['get']('footnotesStyle'),_0x1dedcd=_0xfc2b56(_0x586540),{buttonView:_0x5c912f}=_0x1dedcd;return _0x1dedcd['class']='ck-footnotes-styles-dropdown',_0x1dedcd['bind']('isEnabled')['to'](_0x288ac7,'isEnabled'),_0x5c912f['set']({'label':t('Footnotes\x20style'),'icon':_0x292eb9,'tooltip':!0x0}),_0x1dedcd['once']('change:isOpen',()=>{const _0x346f48=function({editor:_0x5da5cd,dropdownView:_0x19f7ca}){const {t:t}=_0x5da5cd['locale'],_0x15163f=t('Footnotes\x20definitions\x20styles'),_0x2df70d=function(_0x5cc47e){const {t:t}=_0x5cc47e['locale'],_0x164364=_0x5cc47e['config']['get']('footnotes.footnotesProperties.listStyles'),_0x5998ab=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x17eee6},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x304761},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x450c7e},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x27531d},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x21952f},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x3ea1b8},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x28eb26}];return _0x164364['map'](_0x599973=>{const _0xb4f3f=dt(_0x599973);return function(_0x58bfae,_0x5139ef){const {locale:_0x4b8051}=_0x58bfae,{label:_0xd4b624,icon:_0xd1ea9b,tooltip:_0x4a37ba,style:_0x5d4b1d}=_0x5139ef,_0x1f547f=_0x58bfae['commands']['get']('footnotesStyle'),_0x26409e=new _0x6e4efa(_0x4b8051);return _0x26409e['set']({'label':_0xd4b624,'icon':_0xd1ea9b,'tooltip':_0x4a37ba}),_0x26409e['bind']('isOn')['to'](_0x1f547f,'value',_0x6f558c=>_0x6f558c===_0x5d4b1d),_0x26409e['bind']('isEnabled')['to'](_0x1f547f,'isEnabled'),_0x26409e['on']('execute',()=>{_0x58bfae['execute']('footnotesStyle',{'value':_0x5d4b1d}),_0x58bfae['editing']['view']['focus']();}),_0x26409e;}(_0x5cc47e,_0x5998ab['find'](_0x4c1488=>_0x4c1488['style']===_0xb4f3f));});}(_0x5da5cd),_0x326131=new mt(_0x5da5cd['locale'],{'styleGridAriaLabel':_0x15163f,'styleButtonViews':_0x2df70d}),_0x2dc46f=_0x5da5cd['commands']['get']('footnotesStart');return _0x326131['startIndexFieldView']['bind']('isEnabled')['to'](_0x2dc46f),_0x326131['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2dc46f),_0x326131['on']('footnotesListStart',(_0x3cb94b,_0x3fb8cc)=>{_0x5da5cd['execute']('footnotesStart',{'value':_0x3fb8cc['startIndex']});}),_0x326131['delegate']('execute')['to'](_0x19f7ca),_0x326131;}({'editor':_0x374e6b,'dropdownView':_0x1dedcd});_0x1dedcd['panelView']['children']['add'](_0x346f48);}),_0x1dedcd;};}(_0x28a663));}afterInit(){const {editor:_0x54ec5a}=this,{t:t}=_0x54ec5a['locale'],_0xe1d5b5=_0x54ec5a['plugins']['get'](_0x5c8e61),{defaultPositions:_0xe8a430}=_0x9313c2;_0xe1d5b5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x54ec5a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x53b88f=>{let _0x465d53=_0x53b88f['getFirstPosition']()?.['parent'];return _0x465d53?.['is']('$text')&&(_0x465d53=_0x465d53['parent']),_0x465d53?.['is']('element')?_0x465d53['findAncestor'](H):null;},'positions':[_0xe8a430['southArrowNorth'],_0xe8a430['southArrowNorthMiddleWest'],_0xe8a430['southArrowNorthMiddleEast'],_0xe8a430['southArrowNorthWest'],_0xe8a430['southArrowNorthEast'],_0xe8a430['northArrowSouth'],_0xe8a430['northArrowSouthMiddleWest'],_0xe8a430['northArrowSouthMiddleEast'],_0xe8a430['northArrowSouthWest'],_0xe8a430['northArrowSouthEast'],_0xe8a430['viewportStickyNorth']]});}},wt=class extends _0x4a9476{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x6d8c66=>0x1!=_0x6d8c66}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d82b8=>{const {af:{dictionary:_0x1aefaa,getPluralForm:_0xc6c80e}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4c6fbb=>0x1!=_0x4c6fbb}};_0x2d82b8['af']||={'dictionary':{},'getPluralForm':null},_0x2d82b8['af']['dictionary']=Object['assign'](_0x2d82b8['af']['dictionary'],_0x1aefaa),_0x2d82b8['af']['getPluralForm']=_0xc6c80e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x5cb286=>0x0==_0x5cb286?0x0:0x1==_0x5cb286?0x1:0x2==_0x5cb286?0x2:_0x5cb286%0x64>=0x3&&_0x5cb286%0x64<=0xa?0x3:_0x5cb286%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f3e55=>{const {ar:{dictionary:_0x3fbf91,getPluralForm:_0xa995eb}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x17ad12=>0x0==_0x17ad12?0x0:0x1==_0x17ad12?0x1:0x2==_0x17ad12?0x2:_0x17ad12%0x64>=0x3&&_0x17ad12%0x64<=0xa?0x3:_0x17ad12%0x64>=0xb?0x4:0x5}};_0x5f3e55['ar']||={'dictionary':{},'getPluralForm':null},_0x5f3e55['ar']['dictionary']=Object['assign'](_0x5f3e55['ar']['dictionary'],_0x3fbf91),_0x5f3e55['ar']['getPluralForm']=_0xa995eb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xa87989=>0x1!=_0xa87989}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d19fb=>{const {ast:{dictionary:_0x453a7a,getPluralForm:_0x391a8f}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1966bd=>0x1!=_0x1966bd}};_0x2d19fb['ast']||={'dictionary':{},'getPluralForm':null},_0x2d19fb['ast']['dictionary']=Object['assign'](_0x2d19fb['ast']['dictionary'],_0x453a7a),_0x2d19fb['ast']['getPluralForm']=_0x391a8f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4df849=>0x1!=_0x4df849}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4442cc=>{const {az:{dictionary:_0x3b96cc,getPluralForm:_0x8b9dc5}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x486b3c=>0x1!=_0x486b3c}};_0x4442cc['az']||={'dictionary':{},'getPluralForm':null},_0x4442cc['az']['dictionary']=Object['assign'](_0x4442cc['az']['dictionary'],_0x3b96cc),_0x4442cc['az']['getPluralForm']=_0x8b9dc5;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1ea292=>_0x1ea292%0xa==0x1&&_0x1ea292%0x64!=0xb?0x0:_0x1ea292%0xa>=0x2&&_0x1ea292%0xa<=0x4&&(_0x1ea292%0x64<0xa||_0x1ea292%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ef8d7=>{const {be:{dictionary:_0x42a4c9,getPluralForm:_0x380158}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x243344=>_0x243344%0xa==0x1&&_0x243344%0x64!=0xb?0x0:_0x243344%0xa>=0x2&&_0x243344%0xa<=0x4&&(_0x243344%0x64<0xa||_0x243344%0x64>=0x14)?0x1:0x2}};_0x1ef8d7['be']||={'dictionary':{},'getPluralForm':null},_0x1ef8d7['be']['dictionary']=Object['assign'](_0x1ef8d7['be']['dictionary'],_0x42a4c9),_0x1ef8d7['be']['getPluralForm']=_0x380158;})(window['CKEDITOR_TRANSLATIONS']||={});
|