@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251125.1 → 0.0.0-nightly-20251127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- 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/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x236e6f,Command as _0xb00ce7}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x53211c,isWidget as _0x193687,toWidgetEditable as _0x39985a,WidgetToolbarRepository as _0x32a153}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x129b12,logWarning as _0x16508c,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5e992b,ClickObserver as _0x2d9d19}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2294d2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x43fa67,ButtonView as _0x5eecae,View as _0x34ffea,ViewCollection as _0x405e16,FocusCycler as _0x27ec57,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x3b9788,BalloonPanelView as _0xfe67a4,createDropdown as _0x4d0891}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x167efc,IconListStyleDecimal as _0x1f9758,IconListStyleDecimalLeadingZero as _0x5728e3,IconListStyleLowerRoman as _0x5f21f3,IconListStyleUpperRoman as _0x586cee,IconListStyleLowerLatin as _0x4ae2ab,IconListStyleUpperLatin as _0xc5243}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x37b83b,_0x4863a0){this['_model']=_0x37b83b,this['_elementName']=_0x4863a0['elementName'],this['_getElementKey']=_0x4863a0['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3bc1e3){const _0x5991c7=new Set(),_0x6cdbd3=new Map();for(const _0x4c657b of _0x3bc1e3){if('insert'===_0x4c657b['type']&&'$text'!==_0x4c657b['name']&&_0x4c657b['position']['nodeAfter']){const _0x3d6767=this['_model']['createRangeOn'](_0x4c657b['position']['nodeAfter']);for(const _0x18cf55 of _0x3d6767['getItems']()){if(!_0x18cf55['is']('element',this['_elementName']))continue;const _0x1ba184=this['_getElementKey'](_0x18cf55);_0x6cdbd3['has'](_0x1ba184)||_0x6cdbd3['set'](_0x1ba184,[]),_0x6cdbd3['get'](_0x1ba184)['push'](_0x18cf55);}}if('remove'===_0x4c657b['type']&&_0x4c657b['name']===this['_elementName']){const _0x5104a1=this['_getElementKey']({'getAttribute':_0x39cd59=>_0x4c657b['attributes']['get'](_0x39cd59)});_0x5991c7['add'](_0x5104a1);}}for(const [_0x3f791c,_0x483c3e]of this['_trackedElements'])'$graveyard'===_0x483c3e['root']['rootName']&&_0x5991c7['add'](_0x3f791c);for(const _0x4c0391 of _0x5991c7)this['_trackedElements']['delete'](_0x4c0391);for(const [_0x5bfb49,_0x416ea5]of _0x6cdbd3)this['_trackedElements']['set'](_0x5bfb49,_0x416ea5[_0x416ea5['length']-0x1]);const _0x11cb46=new Set();for(const [_0xf01e8e,_0x6e44e1]of _0x6cdbd3)_0x5991c7['has'](_0xf01e8e)&&(_0x11cb46['add'](_0x6e44e1[0x0]),_0x6e44e1['length']>0x1?_0x6cdbd3['set'](_0xf01e8e,_0x6e44e1['slice'](0x1)):_0x6cdbd3['delete'](_0xf01e8e),_0x5991c7['delete'](_0xf01e8e));return{'removed':Array['from'](_0x5991c7),'inserted':Array['from'](_0x6cdbd3['values']())['flat'](),'moved':Array['from'](_0x11cb46)};}}class c extends _0x236e6f{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5edb91){super(_0x5edb91),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x39cec9=>_0x39cec9['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xfc7e10=>_0xfc7e10['getAttribute']('footnoteId')});}['init'](){const {editor:_0x569cb0}=this,{model:_0x4aabb7,data:_0x3f2718}=_0x569cb0;_0x4aabb7['document']['registerPostFixer'](_0xb355bc=>{const _0x5a3efe=_0x4aabb7['document']['differ']['getChanges']();let _0x493982=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xb355bc,_0x5a3efe)&&(_0x493982=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xb355bc,_0x5a3efe)&&(_0x493982=!0x0),this['_handleFootnoteReferencesChanges'](_0xb355bc,_0x5a3efe)&&(_0x493982=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xb355bc)&&(_0x493982=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xb355bc)&&(_0x493982=!0x0),this['_sortFootnoteDefinitions'](_0xb355bc)&&(_0x493982=!0x0),_0x493982;}),this['listenTo'](_0x4aabb7['document'],'change:data',()=>{_0x4aabb7['enqueueChange']({'isUndoable':!0x1},_0x4e204a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4e204a);});},{'priority':'low'}),this['listenTo'](_0x3f2718,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2477b1){return this['_footnotes']['find'](_0x370736=>_0x370736['id']===_0x2477b1)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x299c35){this['_footnoteFormatter']=_0x299c35;}['_updateFootnotesCounters'](_0xa5d6fb,_0x43c66f=0x0){let _0x5061ad=!0x1;for(let _0x37bea5=_0x43c66f;_0x37bea5<this['_footnotes']['length'];_0x37bea5++)this['_updateFootnoteRefCounter'](_0xa5d6fb,_0x37bea5)&&(_0x5061ad=!0x0);return _0x5061ad;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4e0d28,_0x1ffa4f){const _0x3918c7=_0x4e0d28['createElement']('footnotesDefinitions',{});return _0x4e0d28['append'](_0x3918c7,_0x1ffa4f),this['_footnotesDefinitions']=_0x3918c7,_0x3918c7;}['_ensureFootnotesDefinitionsContainerExists'](_0x439930){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x235233=this['_footnotes'][0x0]['reference']['root'],_0x491b83=this['_insertEmptyFootnotesDefinitionsContainer'](_0x439930,_0x235233);for(const _0x2a119b of this['_footnotes'])_0x2a119b['definition']['parent']||_0x439930['insert'](_0x2a119b['definition'],_0x491b83,'end');this['_updateFootnotesCounters'](_0x439930);}['_handleFootnotesDefinitionsObjectChanges'](_0x49033b,_0x169ea7){let _0x12e888=!0x1;const {inserted:_0x466cd6,removed:_0x28ad15,moved:_0x38ad44}=this['_footnoteDefsContainerTracker']['getChanges'](_0x169ea7);if(_0x38ad44['length']&&(this['_footnotesDefinitions']=_0x38ad44[0x0]),_0x466cd6['length']){if(_0x466cd6['length']>0x1||this['_footnotesDefinitions']&&_0x466cd6['some'](_0x1ec8d4=>_0x1ec8d4!==this['_footnotesDefinitions'])){const _0x3c11e8=_0x49033b['createElement']('footnotesDefinitions',{}),_0x2ab259=[];this['_footnotesDefinitions']&&_0x2ab259['push'](this['_footnotesDefinitions']),_0x2ab259['push'](..._0x466cd6),_0x49033b['insert'](_0x3c11e8,_0x2ab259[0x0],'before');for(const _0x5b23e2 of _0x2ab259)_0x49033b['move'](_0x49033b['createRangeIn'](_0x5b23e2),_0x49033b['createPositionAt'](_0x3c11e8,'end')),_0x49033b['remove'](_0x5b23e2);this['_footnotesDefinitions']=_0x3c11e8,this['_updateFootnotesCounters'](_0x49033b),_0x12e888=!0x0;}else this['_footnotesDefinitions']=_0x466cd6[0x0];}if(_0x28ad15['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x518979 of this['_footnotes'])_0x49033b['remove'](_0x518979['reference']),_0x12e888=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x12e888;}['_handleFootnoteDefinitionsChanges'](_0x386389,_0x2a64e8){let _0x1645d2=!0x1;const _0x222895=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1c8c21,moved:_0x9e6f81}=this['_footnoteDefsTracker']['getChanges'](_0x2a64e8);for(const _0x14d71f of[..._0x9e6f81,..._0x1c8c21]){const _0x556fdf=_0x14d71f['getAttribute']('footnoteId'),_0x1f92c6=this['getFootnote'](_0x556fdf);_0x1f92c6&&(_0x1f92c6['definition']=_0x14d71f),_(_0x386389,_0x222895,_0x14d71f)&&(_0x1645d2=!0x0);}return _0x1645d2;}['_handleFootnoteReferencesChanges'](_0x261973,_0x2efa34){let _0xb7022a=!0x1;const {removed:_0x3570a2,inserted:_0x5b952d,moved:_0x1b019d}=this['_footnoteRefsTracker']['getChanges'](_0x2efa34);for(const _0x87884f of _0x3570a2)this['_handleRemoveFootnoteReferenceById'](_0x261973,_0x87884f)&&(_0xb7022a=!0x0);for(const _0x499efc of _0x5b952d)this['_handleInsertedFootnoteReference'](_0x261973,_0x499efc)&&(_0xb7022a=!0x0);for(const _0x133b88 of _0x1b019d)this['_handleMovedFootnoteReference'](_0x261973,_0x133b88)&&(_0xb7022a=!0x0);return _0xb7022a;}['_handleFootnotesDefinitionsObjectSync'](_0x25921d){if(!this['_footnotesDefinitions'])return!0x1;let _0xbfa3b1=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2b8870=[];for(const _0x131e57 of this['_footnotesDefinitions']['getChildren']()){const _0x397536=_0x131e57['getAttribute']('footnoteId');this['getFootnote'](_0x397536)||(_0x2b8870['unshift'](_0x131e57),_0xbfa3b1=!0x0);}for(const _0x365038 of _0x2b8870)_0x25921d['remove'](_0x365038);}const _0x5b375e=new Set(),_0x4fd103=[];for(const _0x1327ed of this['_footnotesDefinitions']['getChildren']()){const _0x4b9e2b=_0x1327ed['getAttribute']('footnoteId');_0x5b375e['has'](_0x4b9e2b)?(_0x4fd103['unshift'](_0x1327ed),_0xbfa3b1=!0x0):_0x5b375e['add'](_0x4b9e2b);}for(const _0xd7125 of _0x4fd103)_0x25921d['remove'](_0xd7125);return this['_footnotesDefinitions']['childCount']||(_0x25921d['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xbfa3b1=!0x0),_0xbfa3b1;}['_handleInsertedFootnoteReference'](_0xd2f3a3,_0x1af90e){if(this['_footnotes']['find'](_0x45fa80=>_0x45fa80['reference']===_0x1af90e))return!0x1;let _0x460206=!0x1;const _0x274b17=_0x1af90e['getAttribute']('footnoteId'),_0x5775e1=this['_footnotes']['findIndex'](_0x10ac24=>_0x10ac24['id']===_0x274b17);-0x1!==_0x5775e1&&(_0xd2f3a3['remove'](this['_footnotes'][_0x5775e1]['reference']),this['_footnotes']['splice'](_0x5775e1,0x1),_0x460206=!0x0);let _0x451665=this['_footnotesDefinitions']?function(_0xfdb722,_0x419d98){for(const _0x130541 of _0xfdb722['getChildren']())if(_0x130541['getAttribute']('footnoteId')===_0x419d98)return _0x130541;return null;}(this['_footnotesDefinitions'],_0x274b17):null;_0x451665||(_0x451665=_0xd2f3a3['createElement']('footnoteDefinition',{'footnoteId':_0x274b17}),this['_footnotesDefinitions']&&(_0xd2f3a3['insert'](_0x451665,this['_footnotesDefinitions'],'end'),_0x460206=!0x0));const _0x1ce064={'id':_0x274b17,'reference':_0x1af90e,'definition':_0x451665},_0xfe8cf2=I(this['editor']['model'],this['_footnotes'],_0x1af90e);this['_footnotes']['splice'](_0xfe8cf2,0x0,_0x1ce064);let _0x25944f=_0xfe8cf2;return-0x1!==_0x5775e1&&(_0x25944f=Math['min'](_0xfe8cf2,_0x5775e1)),this['_updateFootnotesCounters'](_0xd2f3a3,_0x25944f)&&(_0x460206=!0x0),_0x460206;}['_handleRemoveFootnoteReferenceById'](_0x1990d8,_0x4149a2){const _0x2109eb=this['_footnotes']['findIndex'](_0x244e03=>_0x244e03['id']===_0x4149a2);if(-0x1===_0x2109eb)return!0x1;let _0x1df5a3=!0x1;const _0x594f29=this['_footnotes'][_0x2109eb];return'$graveyard'!==_0x594f29['definition']['root']['rootName']&&(_0x1990d8['remove'](_0x594f29['definition']),_0x1df5a3=!0x0),this['_footnotes']['splice'](_0x2109eb,0x1),this['_updateFootnotesCounters'](_0x1990d8,_0x2109eb)&&(_0x1df5a3=!0x0),_0x1df5a3;}['_handleMovedFootnoteReference'](_0x3a22f4,_0x28df23){const _0x23d0db=_0x28df23['getAttribute']('footnoteId'),_0x1695e5=this['_footnotes']['findIndex'](_0xdf2a28=>_0xdf2a28['id']===_0x23d0db),_0x101d92=this['_footnotes'][_0x1695e5];let _0x421ddf=!0x1;_0x101d92['reference']=_0x28df23,this['_footnotes']['splice'](_0x1695e5,0x1);const _0x3359b5=I(this['editor']['model'],this['_footnotes'],_0x28df23);return this['_footnotes']['splice'](_0x3359b5,0x0,_0x101d92),this['_updateFootnotesCounters'](_0x3a22f4,Math['min'](_0x1695e5,_0x3359b5))&&(_0x421ddf=!0x0),_0x421ddf;}['_updateFootnoteRefCounter'](_0x3c2245,_0x36337a){if(!this['_footnotesDefinitions'])return!0x1;const _0x409384=this['_footnotes'][_0x36337a];let _0x17c7b8;return _0x17c7b8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x409384,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x36337a+0x1}):String(_0x36337a+0x1),_0x409384['reference']['getAttribute']('footnoteCounter')!=_0x17c7b8&&(_0x3c2245['setAttribute']('footnoteCounter',_0x17c7b8,_0x409384['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1190e3){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x10a39b,_0x14485f){if(_0x10a39b['length']!==_0x14485f['length'])return!0x1;for(let _0x54003e=0x0;_0x54003e<_0x10a39b['length'];_0x54003e++)if(_0x10a39b[_0x54003e]!==_0x14485f[_0x54003e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xae229c=>_0xae229c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2b479c=>_0x2b479c['getAttribute']('footnoteId'))))return!0x1;let _0x368d88=!0x1;for(let _0x31c94e=0x0;_0x31c94e<this['_footnotes']['length'];_0x31c94e++){const _0x6425b3=this['_footnotes'][_0x31c94e],_0xd90358=_0x1190e3['createPositionBefore'](_0x6425b3['definition']),_0x306843=_0x1190e3['createPositionAt'](this['_footnotesDefinitions'],_0x31c94e);_0xd90358['isEqual'](_0x306843)||(_0x1190e3['move'](_0x1190e3['createRangeOn'](_0x6425b3['definition']),_0x306843),_0x368d88=!0x0);}return _0x368d88;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2e8dbd){if(!this['_footnotes']['length'])return!0x1;const {model:_0x454e65}=this['editor'];let _0x20c7a2=!0x1;for(let _0x439c8d=0x0;_0x439c8d<this['_footnotes']['length']-0x1;_0x439c8d++){const _0x59d298=this['_footnotes'][_0x439c8d],_0x958585=this['_footnotes'][_0x439c8d+0x1],_0x508389=_0x454e65['createPositionBefore'](_0x59d298['reference']),_0x2178ad=_0x454e65['createPositionBefore'](_0x958585['reference']);'after'===_0x508389['compareWith'](_0x2178ad)&&(this['_handleMovedFootnoteReference'](_0x2e8dbd,_0x59d298['reference']),_0x439c8d=-0x1,_0x20c7a2=!0x0);}return _0x20c7a2;}}function _(_0x111fbf,_0x125a2d,_0x287bb2){if(_0x287bb2['childCount'])return!0x1;const _0x436480=_0x125a2d?'paragraph':'footnoteInlineContent';return _0x111fbf['insert'](_0x111fbf['createElement'](_0x436480),_0x287bb2),!0x0;}function I(_0x22fc70,_0x9d61f7,_0x46a277){if(0x0===_0x9d61f7['length'])return 0x0;const _0x5cd2b5=_0x22fc70['createPositionBefore'](_0x46a277);for(let _0xa0338b=0x0;_0xa0338b<_0x9d61f7['length'];_0xa0338b++){const _0x2947fb=_0x9d61f7[_0xa0338b],_0x5b3116=_0x22fc70['createPositionBefore'](_0x2947fb['reference']);if('before'===_0x5cd2b5['compareWith'](_0x5b3116))return _0xa0338b;}const _0x226048=_0x46a277['root'];let _0x5dea2c=-0x1;for(let _0x59214c=_0x9d61f7['length']-0x1;_0x59214c>=0x0;_0x59214c--)if(_0x9d61f7[_0x59214c]['reference']['root']===_0x226048){_0x5dea2c=_0x59214c;break;}if(-0x1!==_0x5dea2c)return _0x5dea2c+0x1;const _0x1d299d=_0x22fc70['document']['getRootNames'](),_0x49b126=_0x1d299d['indexOf'](_0x226048['rootName']),_0x26b25d=_0x1d299d[_0x49b126+0x1];if(_0x26b25d){for(let _0x52dc9f=0x0;_0x52dc9f<_0x9d61f7['length'];_0x52dc9f++)if(_0x9d61f7[_0x52dc9f]['reference']['root']['rootName']===_0x26b25d)return _0x52dc9f;}return _0x9d61f7['length'];}class m extends _0xb00ce7{['refresh'](){const _0x35df42=this['editor']['model']['document']['selection'],_0x2e0606=this['_getPositionToInsertFootnote'](_0x35df42);this['isEnabled']=!!_0x2e0606;}['execute'](_0x3a853b){const {editor:_0x1c8a60}=this,{model:_0x3019e2}=_0x1c8a60,{selection:_0x935510}=_0x3019e2['document'],_0x466d28=this['_getPositionToInsertFootnote'](_0x935510);if(!_0x466d28)return;const _0x2092c7=_0x1c8a60['plugins']['get']('FootnotesEditing'),_0x3b9ba3=_0x3a853b?.['footnoteId']??_0x129b12();!function(_0x45101b){return'string'==typeof _0x45101b&&_0x45101b['length']>0x0&&!/\s/['test'](_0x45101b)&&!/^\d/['test'](_0x45101b);}(_0x3b9ba3)?_0x16508c('insert-footnote-command-executed-with-invalid-id'):(_0x3019e2['change'](_0x12cf85=>{const _0x47bf7c=_0x12cf85['createElement']('footnoteRef',{'footnoteId':_0x3b9ba3});_0x3019e2['insertObject'](_0x47bf7c,_0x466d28,null);}),_0x2092c7['_moveSelectionToFootnoteDefinition'](_0x3b9ba3));}['_getPositionToInsertFootnote'](_0x2a59a5){const {model:_0xb234}=this['editor'],{schema:_0x3648e7}=_0xb234,_0x47881c=_0x2a59a5['getFirstRange']();for(const _0x39487f of _0x47881c['getItems']())if(_0x3648e7['isBlock'](_0x39487f)||_0x3648e7['isObject'](_0x39487f))return null;const _0x706c77=_0x47881c['end'];return _0x3648e7['checkChild'](_0x706c77,'footnoteRef')?_0x706c77:null;}}class r extends _0x236e6f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a601e}=this;_0x4a601e['config']['define']('footnotes.multiBlock',!0x0),_0x4a601e['commands']['add']('insertFootnote',new m(_0x4a601e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x324116){const _0xd99b0b=_0x4cd9a3([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x7be186=0x47a28506,_0x42ffb7=0x47a5ff1e^_0x7be186,_0x3162b1=window[_0x4cd9a3([0x44,0x61,0x74,0x65])][_0x4cd9a3([0x6e,0x6f,0x77])](),_0x43ae45=_0x324116[_0x4cd9a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56d791=new window[(_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ea9f5=>{_0x43ae45[_0x4cd9a3([0x6f,0x6e,0x63,0x65])](_0x4cd9a3([0x72,0x65,0x61,0x64,0x79]),_0x4ea9f5);}),_0x4ba532={[_0x4cd9a3([0x6b,0x74,0x79])]:_0x4cd9a3([0x45,0x43]),[_0x4cd9a3([0x75,0x73,0x65])]:_0x4cd9a3([0x73,0x69,0x67]),[_0x4cd9a3([0x63,0x72,0x76])]:_0x4cd9a3([0x50,0x2d,0x32,0x35,0x36]),[_0x4cd9a3([0x78])]:_0x4cd9a3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4cd9a3([0x79])]:_0x4cd9a3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4cd9a3([0x61,0x6c,0x67])]:_0x4cd9a3([0x45,0x53,0x32,0x35,0x36])},_0x35f20c=_0x43ae45[_0x4cd9a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cd9a3([0x67,0x65,0x74])](_0x4cd9a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x446a59(){let _0x45bb9a,_0x33f95=null,_0x277287=null;try{if(_0x35f20c==_0x4cd9a3([0x47,0x50,0x4c]))return _0x4cd9a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45bb9a=_0x478503(),!_0x45bb9a)return _0x4cd9a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45bb9a[_0x4cd9a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x277287=_0x245ea9(_0x45bb9a[_0x4cd9a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45bb9a[_0x4cd9a3([0x6a,0x74,0x69])])),await _0x4d09f9()?_0x5a24ef()?_0x38812a()?_0x4cd9a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c2485()?(_0x45bb9a[_0x4cd9a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cd9a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33f95=_0x2b15d0(_0x4cd9a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45bb9a[_0x4cd9a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cd9a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x33f95=_0x2b15d0(_0x4cd9a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdcc281()):_0x4cd9a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cd9a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cd9a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4cd9a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38812a(){const _0x40e42a=[_0x4cd9a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cd9a3([0x74,0x72,0x69,0x61,0x6c])][_0x4cd9a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45bb9a[_0x4cd9a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3162b1/0x3e8:0xe10*_0x42ffb7;return _0x45bb9a[_0x4cd9a3([0x65,0x78,0x70])]<_0x40e42a;}function _0x5a24ef(){const _0x158c29=_0x45bb9a[_0x4cd9a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x158c29&&(!!_0x158c29[_0x4cd9a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cd9a3([0x2a]))||!!_0x158c29[_0x4cd9a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cd9a3([0x46,0x4f,0x4f])));}function _0x3c2485(){const _0x1f00d1=_0x45bb9a[_0x4cd9a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f00d1||0x0==_0x1f00d1[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d8e65}=new URL(window[_0x4cd9a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1f00d1[_0x4cd9a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d8e65))return!0x0;const _0x3f9765=_0x1d8e65[_0x4cd9a3([0x73,0x70,0x6c,0x69,0x74])](_0x4cd9a3([0x2e]));return _0x1f00d1[_0x4cd9a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x306151=>_0x306151[_0x4cd9a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cd9a3([0x2a])))[_0x4cd9a3([0x6d,0x61,0x70])](_0x290e88=>_0x290e88[_0x4cd9a3([0x73,0x70,0x6c,0x69,0x74])](_0x4cd9a3([0x2e])))[_0x4cd9a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d15e6=>_0x3d15e6[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f9765[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cd9a3([0x6d,0x61,0x70])](_0x1ecde8=>Array(_0x3f9765[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ecde8[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cd9a3([0x66,0x69,0x6c,0x6c])](_0x1ecde8[0x0]===_0x4cd9a3([0x2a])?_0x4cd9a3([0x2a]):'')[_0x4cd9a3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ecde8))[_0x4cd9a3([0x73,0x6f,0x6d,0x65])](_0xfbbaa4=>_0x3f9765[_0x4cd9a3([0x65,0x76,0x65,0x72,0x79])]((_0xc1cd8a,_0x5bf3f)=>_0xfbbaa4[_0x5bf3f]===_0xc1cd8a||_0xfbbaa4[_0x5bf3f]===_0x4cd9a3([0x2a])));}function _0xdcc281(){return _0x33f95&&_0x277287?new window[(_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54fd43,_0x386766)=>{_0x33f95[_0x4cd9a3([0x74,0x68,0x65,0x6e])](_0x54fd43,_0x386766),_0x277287[_0x4cd9a3([0x74,0x68,0x65,0x6e])](_0x427c2e=>{_0x427c2e!=_0x4cd9a3([0x56,0x61,0x6c,0x69,0x64])&&_0x54fd43(_0x427c2e);},_0x386766);}):_0x33f95||_0x277287||_0x4cd9a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x245ea9(_0x8e8c32,_0x4aa45f){return new window[(_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478c70=>{if(_0x345faf())return _0x478c70(_0x4cd9a3([0x56,0x61,0x6c,0x69,0x64]));_0x2b853a(),_0x43ae45[_0x4cd9a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cd9a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x115510=!0x1;const _0x220b22=_0x129b12();function _0x6a96cc(_0x24c790){return!!_0x24c790&&(typeof _0x24c790===_0x4cd9a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24c790===_0x4cd9a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24c790[_0x4cd9a3([0x74,0x68,0x65,0x6e])]===_0x4cd9a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24c790[_0x4cd9a3([0x63,0x61,0x74,0x63,0x68])]===_0x4cd9a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x154267(_0x306f11){_0xed16f7(_0x306f11)[_0x4cd9a3([0x74,0x68,0x65,0x6e])](_0x238a84=>{if(!_0x238a84||_0x238a84[_0x4cd9a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cd9a3([0x6f,0x6b]))return _0x4cd9a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d26d3(_0x5076d3(_0x220b22+_0x4aa45f))!=_0x238a84[_0x4cd9a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cd9a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cd9a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cd9a3([0x74,0x68,0x65,0x6e])](_0x23c3fa=>(_0x4b43af(),_0x23c3fa),()=>{const _0x4deaf2=_0x25bb83();return null==_0x4deaf2?(_0x4b43af(),_0x4cd9a3([0x56,0x61,0x6c,0x69,0x64])):_0x4cd9a3(_0x3162b1-_0x4deaf2>(0x63ae0106^_0x7be186)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cd9a3([0x74,0x68,0x65,0x6e])](_0x478c70)[_0x4cd9a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x478c70(_0x4cd9a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57a846=0x47946b86^_0x7be186;function _0x4b43af(){const _0x350a3f=_0x4cd9a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d26d3(_0x5076d3(_0x8e8c32)),_0x39520f=_0x5ac6ab(_0x5d26d3(window[_0x4cd9a3([0x4d,0x61,0x74,0x68])][_0x4cd9a3([0x63,0x65,0x69,0x6c])](_0x3162b1/_0x57a846)));window[_0x4cd9a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cd9a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x350a3f,_0x39520f);}function _0x25bb83(){const _0xd5b8a5=_0x4cd9a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d26d3(_0x5076d3(_0x8e8c32)),_0x3dd739=window[_0x4cd9a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cd9a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd5b8a5);return _0x3dd739?window[_0x4cd9a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ac6ab(_0x3dd739),0x10)*_0x57a846:null;}function _0xed16f7(_0x594378){return new window[(_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x119a2a,_0x1f2aec)=>{_0x594378[_0x4cd9a3([0x74,0x68,0x65,0x6e])](_0x119a2a,_0x1f2aec),window[_0x4cd9a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f2aec,0x47a351c6^_0x7be186);});}}_0x43ae45[_0x4cd9a3([0x6f,0x6e])](_0x4cd9a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x220d8f,_0x50d175)=>{if(_0x50d175[0x0]!=_0x8e8c32)return _0x478c70(_0x4cd9a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50d175[0x1]={..._0x50d175[0x1],[_0x4cd9a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x220b22};},{[_0x4cd9a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cd9a3([0x68,0x69,0x67,0x68])}),_0x43ae45[_0x4cd9a3([0x6f,0x6e])](_0x4cd9a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x337d42=>{_0x6a96cc(_0x337d42[_0x4cd9a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x115510=!0x0,_0x154267(_0x337d42[_0x4cd9a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cd9a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cd9a3([0x6c,0x6f,0x77])}),_0x56d791[_0x4cd9a3([0x74,0x68,0x65,0x6e])](()=>{_0x115510||_0x478c70(_0x4cd9a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x345faf(){return _0x43ae45[_0x4cd9a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cd9a3([0x76,0x69,0x65,0x77])][_0x4cd9a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cd9a3([0x61,0x75,0x74,0x6f]);}function _0x2b853a(){_0x43ae45[_0x4cd9a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cd9a3([0x76,0x69,0x65,0x77])][_0x4cd9a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cd9a3([0x61,0x75,0x74,0x6f]);}}function _0x2b15d0(_0x32bbd4){const _0x5201ed=[new window[(_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22c87f=>setTimeout(_0x22c87f,0x47abbbca^_0x7be186)),_0x56d791[_0x4cd9a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4231d8=>{let _0x48261b=0x0;_0x43ae45[_0x4cd9a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cd9a3([0x6f,0x6e])](_0x4cd9a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1040ed,_0x41c4b5)=>{_0x41c4b5[0x0][_0x4cd9a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48261b++,_0x48261b==(0x47a284fe^_0x7be186)&&(_0x4231d8(),_0x1040ed[_0x4cd9a3([0x6f,0x66,0x66])]());});}))];return window[_0x4cd9a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cd9a3([0x72,0x61,0x63,0x65])](_0x5201ed)[_0x4cd9a3([0x74,0x68,0x65,0x6e])](()=>_0x32bbd4);}async function _0x2813c3(){await _0x56d791,_0x43ae45[_0x4cd9a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cd9a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54ce4f,_0x43ae45[_0x4cd9a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cd9a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54ce4f,_0x43ae45[_0x4cd9a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cd9a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e9b97(_0x10e282){const _0x5a1d2d=_0x3ab2d7();_0x43ae45[_0x5a1d2d]=_0x4cd9a3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10e282,_0x10e282!=_0x4cd9a3([0x56,0x61,0x6c,0x69,0x64])&&_0x2813c3();}function _0x3ab2d7(){const _0x1e1a54=window[_0x4cd9a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cd9a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cd9a3([0x6e,0x6f,0x77])]())[_0x4cd9a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cd9a3([0x2e]),'');let _0x370b5c=_0x4cd9a3([0x75]);for(let _0x52d320=0x0;_0x52d320<_0x1e1a54[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52d320+=0x2){let _0x25c8c2=window[_0x4cd9a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e1a54[_0x4cd9a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52d320,_0x52d320+0x2));_0x25c8c2>=_0xd99b0b[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25c8c2-=_0xd99b0b[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x370b5c+=_0xd99b0b[_0x25c8c2];}return _0x370b5c;}function _0x478503(){const _0x2deed6=_0x35f20c[_0x4cd9a3([0x73,0x70,0x6c,0x69,0x74])](_0x4cd9a3([0x2e]));if(0x3!=_0x2deed6[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e501f(_0x2deed6[0x1]);function _0x2e501f(_0x3d5ff3){const _0x2e5db8=_0x43e68f(_0x3d5ff3);return _0x2e5db8&&_0x3d6144()?_0x2e5db8:null;function _0x3d6144(){const _0x43ef07=_0x2e5db8[_0x4cd9a3([0x6a,0x74,0x69])],_0x40c7fa=window[_0x4cd9a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43ef07[_0x4cd9a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43ef07[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e20d3={..._0x2e5db8,[_0x4cd9a3([0x6a,0x74,0x69])]:_0x43ef07[_0x4cd9a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43ef07[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e20d3[_0x4cd9a3([0x76,0x63])],_0x5076d3(_0x5e20d3)==_0x40c7fa;}}}async function _0x4d09f9(){let _0xb38dc9=!0x0;try{const _0x44e939=_0x35f20c[_0x4cd9a3([0x73,0x70,0x6c,0x69,0x74])](_0x4cd9a3([0x2e])),[_0x42c6e8,_0x5a10e7,_0x3b14d2]=_0x44e939;return _0x285919(_0x42c6e8),await _0x31d32a(_0x42c6e8,_0x5a10e7,_0x3b14d2),_0xb38dc9;}catch{return!0x1;}function _0x285919(_0x12bb7c){const _0x434a14=_0x43e68f(_0x12bb7c);_0x434a14&&_0x434a14[_0x4cd9a3([0x61,0x6c,0x67])]==_0x4cd9a3([0x45,0x53,0x32,0x35,0x36])||(_0xb38dc9=!0x1);}async function _0x31d32a(_0x217f14,_0x20c5db,_0x47bc56){const _0x30b4f8=window[_0x4cd9a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cd9a3([0x66,0x72,0x6f,0x6d])](_0x2f79e3(_0x47bc56),_0x5603e0=>_0x5603e0[_0x4cd9a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1af355=new window[(_0x4cd9a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cd9a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x217f14+_0x4cd9a3([0x2e])+_0x20c5db),_0x782109=window[_0x4cd9a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cd9a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x782109)return;const _0x5ee6b2=await _0x782109[_0x4cd9a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cd9a3([0x6a,0x77,0x6b]),_0x4ba532,{[_0x4cd9a3([0x6e,0x61,0x6d,0x65])]:_0x4cd9a3([0x45,0x43,0x44,0x53,0x41]),[_0x4cd9a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cd9a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cd9a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x782109[_0x4cd9a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cd9a3([0x6e,0x61,0x6d,0x65])]:_0x4cd9a3([0x45,0x43,0x44,0x53,0x41]),[_0x4cd9a3([0x68,0x61,0x73,0x68])]:{[_0x4cd9a3([0x6e,0x61,0x6d,0x65])]:_0x4cd9a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ee6b2,_0x30b4f8,_0x1af355)||(_0xb38dc9=!0x1);}}function _0x43e68f(_0x59714b){return _0x59714b[_0x4cd9a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cd9a3([0x65,0x79]))?JSON[_0x4cd9a3([0x70,0x61,0x72,0x73,0x65])](_0x2f79e3(_0x59714b)):null;}function _0x2f79e3(_0x25bd4b){return window[_0x4cd9a3([0x61,0x74,0x6f,0x62])](_0x25bd4b[_0x4cd9a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cd9a3([0x2b]))[_0x4cd9a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cd9a3([0x2f])));}function _0x5076d3(_0x210f49){let _0x2a7600=0x1505;function _0x2d8ffa(_0x581b71){for(let _0x47bc8b=0x0;_0x47bc8b<_0x581b71[_0x4cd9a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47bc8b++){const _0xe745c6=_0x581b71[_0x4cd9a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x47bc8b);_0x2a7600=(_0x2a7600<<0x5)+_0x2a7600+_0xe745c6,_0x2a7600&=_0x2a7600;}}function _0x4b7873(_0x5973ef){Array[_0x4cd9a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5973ef)?_0x5973ef[_0x4cd9a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b7873):_0x5973ef&&typeof _0x5973ef==_0x4cd9a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cd9a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5973ef)[_0x4cd9a3([0x73,0x6f,0x72,0x74])]()[_0x4cd9a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc5da99,_0x20d095])=>{_0x2d8ffa(_0xc5da99),_0x4b7873(_0x20d095);}):_0x2d8ffa(window[_0x4cd9a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5973ef));}return _0x4b7873(_0x210f49),_0x2a7600>>>0x0;}function _0x5d26d3(_0x4a081a){return _0x4a081a[_0x4cd9a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cd9a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cd9a3([0x30]));}function _0x5ac6ab(_0x5dc00c){return _0x5dc00c[_0x4cd9a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cd9a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cd9a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x54ce4f(){}function _0x4cd9a3(_0x1e4416){return _0x1e4416['map'](_0x1849a0=>String['fromCharCode'](_0x1849a0))['join']('');}_0x1e9b97(await _0x446a59());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1b49ba){const {plugins:_0x524087,editing:_0x5c1b6a,model:_0x45a7f9}=this['editor'],_0x28e677=_0x524087['get'](c)['getFootnote'](_0x1b49ba);return!!_0x28e677&&(_0x45a7f9['change'](_0x337495=>{_0x337495['setSelection'](_0x337495['createPositionAt'](_0x28e677['definition'],'end'));}),_0x5c1b6a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4eaa8f){const {plugins:_0x2ac0f3,editing:_0x548498,model:_0x21b713}=this['editor'],_0x22b7b2=_0x2ac0f3['get'](c)['getFootnote'](_0x4eaa8f);return!!_0x22b7b2&&(_0x21b713['change'](_0x3eb908=>{_0x3eb908['setSelection'](_0x22b7b2['reference'],'on');}),_0x548498['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4fe712}=this['editor']['model'],_0x245362=this['editor']['config']['get']('footnotes.multiBlock');_0x4fe712['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4fe712['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4fe712['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x245362?_0x4fe712['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4fe712['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4fe712['addChildCheck'](_0x55489d=>{for(const _0x4e26b0 of _0x55489d)if('footnoteDefinition'===_0x4e26b0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1fd924}=this,{conversion:_0x2048e3,editing:_0x1cb33b}=_0x1fd924,{t:t}=_0x1fd924['locale'];_0x2048e3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3674f6,{writer:_0x3cfb89,consumable:_0x4de7f4})=>{const _0xeca199=_0x3674f6['getChild'](0x0);if(!_0xeca199||!_0xeca199['is']('element','a'))return null;const _0x1a783d=_0xeca199['getAttribute']('href')||'';if(!_0x1a783d['startsWith']('#'))return null;const _0x244d86=_0x1a783d['replace'](/^#/,'');if(!_0x244d86)return null;_0x4de7f4['consume'](_0xeca199,{'name':!0x0,'attributes':['href']});for(const {item:_0x1d75cb}of _0x1cb33b['view']['createRangeIn'](_0xeca199))_0x1d75cb['is']('$textProxy')?_0x4de7f4['consume'](_0x1d75cb['textNode'],{'name':!0x0}):_0x1d75cb['is']('element')&&_0x4de7f4['consume'](_0x1d75cb,{'name':!0x0});return _0x3cfb89['createElement']('footnoteRef',{'footnoteId':_0x244d86});}}),_0x2048e3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3c955a,{writer:_0x4f8c59})=>D(_0x3c955a,_0x4f8c59)}),_0x2048e3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5babfd,{writer:_0x293197})=>{const _0x1a88e5=_0x5babfd['getAttribute']('footnoteCounter');return _0x53211c(D(_0x5babfd,_0x293197),_0x293197,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1a88e5)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2ca8a2}=this,{t:t}=_0x2ca8a2['locale'],{conversion:_0x6cf3e6}=_0x2ca8a2;_0x6cf3e6['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x6cf3e6['for']('upcast')['add'](_0x551d24=>{_0x551d24['on']('element:ol',(_0x5906af,_0x80b762,_0x355387)=>{const _0x19e615=_0x80b762['viewItem'];if(!_0x19e615['hasClass']('footnotes-list')||!_0x80b762['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x355387['consumable']['consume'](_0x19e615,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xc31074,modelCursor:_0x74da6f}=_0x355387['convertChildren'](_0x80b762['viewItem'],_0x80b762['modelCursor']);_0x80b762['modelRange']=_0xc31074,_0x80b762['modelCursor']=_0x74da6f;}),_0x551d24['on']('element:hr',(_0x389b03,_0x4e19a3,_0x3c1995)=>{const _0x17d891=_0x4e19a3['viewItem'];_0x17d891['hasClass']('footnotes-divider')&&_0x4e19a3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3c1995['consumable']['consume'](_0x17d891,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x6cf3e6['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1c1360,{writer:_0x141414})=>v(_0x141414)}),_0x6cf3e6['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3da6ca,{writer:_0x50e47a})=>{const _0x2788c2=v(_0x50e47a,{'data-footnotes-list-label':t('Footnotes')}),_0x1c9ff2=_0x53211c(_0x2788c2,_0x50e47a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x50e47a['setCustomProperty']('footnotesDefinitions',!0x0,_0x1c9ff2),_0x1c9ff2;}});}['_defineDefinitionConverters'](){const {editor:_0x4a108e}=this,{conversion:_0x48873a,locale:_0x3cda44}=_0x4a108e,_0x2c46ce=_0x4a108e['config']['get']('footnotes.multiBlock');_0x48873a['for']('upcast')['add'](_0x23a33a=>{_0x23a33a['on']('element:li',(_0x55abc0,_0x230493,_0x2930e8)=>{const _0x489167=_0x230493['viewItem'];if(!_0x489167['hasClass']('footnote-definition')||!_0x489167['getAttribute']('id'))return;const _0x3e0f5f=_0x489167['parent'];if(!_0x3e0f5f['is']('element','ol')||!_0x3e0f5f['hasClass']('footnotes-list'))return;if(!_0x2930e8['consumable']['test'](_0x489167,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5d3a91=_0x2930e8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x489167['getAttribute']('id')});if(!_0x2930e8['safeInsert'](_0x5d3a91,_0x230493['modelCursor']))return;_0x2930e8['consumable']['consume'](_0x489167,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x26c961=Array['from'](_0x489167['getChildren']())['find'](_0x39c63f=>_0x39c63f['is']('element')&&_0x39c63f['hasClass']('footnote-content'));for(const _0x3ea3a4 of _0x489167['getChildren']())_0x3ea3a4['is']('element')&&(_0x2930e8['consumable']['consume'](_0x3ea3a4,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2930e8['consumable']['consume'](_0x3ea3a4,{'name':!0x0,'classes':'footnote-content'}));if(_0x26c961){if(_0x2c46ce)_0x2930e8['convertChildren'](_0x26c961,_0x5d3a91);else{const _0x26bce3=_0x2930e8['writer']['createElement']('footnoteInlineContent');_0x2930e8['writer']['insert'](_0x26bce3,_0x5d3a91),_0x2930e8['convertChildren'](_0x26c961,_0x26bce3);}}_0x2930e8['updateConversionResult'](_0x5d3a91,_0x230493);});}),_0x48873a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x104996,{writer:_0x50edc9})=>b(_0x104996,_0x50edc9,_0x3cda44,{'dataPipeline':!0x0})}),_0x48873a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x27d7cc,{writer:_0x16d386})=>b(_0x27d7cc,_0x16d386,_0x3cda44)});}['_defineBogusParagraphConverters'](){const {editor:_0x4d2497}=this,{conversion:_0x25f627}=_0x4d2497;_0x4d2497['config']['get']('footnotes.multiBlock')?(_0x25f627['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x25f627['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4d2497['model']['document'],'change:data',()=>{!function(_0x2f983a,_0x2a68dd){const _0x43b028=_0x2f983a['document']['differ'],_0x147928=new Set();for(const _0x6c92eb of _0x43b028['getChanges']()){const _0x43d8d8='attribute'==_0x6c92eb['type']?_0x6c92eb['range']['start']['parent']:_0x6c92eb['position']['parent'];_0x43d8d8['is']('element','footnoteDefinition')&&_0x147928['add'](_0x43d8d8);}for(const _0x4a51ab of _0x147928['values']()){const _0x4e6645=Array['from'](_0x4a51ab['getChildren']())['filter'](_0x2b73cc=>g(_0x2b73cc,_0x2a68dd['mapper']));for(const _0x5122ea of _0x4e6645)_0x2a68dd['reconvertItem'](_0x5122ea);}}(_0x4d2497['model'],_0x4d2497['editing']);})):(_0x25f627['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x25f627['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3ce437,{writer:_0x17bc05})=>{const _0x468301=_0x17bc05['createContainerElement']('span');return _0x17bc05['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x468301),_0x468301;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4965b4}=this,{editing:_0x5f4e25,t:t}=_0x4965b4,_0x5d1046=_0x4965b4['model']['document']['selection'];_0x4965b4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4965b4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5f4e25['view']['document'],'enter',(_0x1cb83d,_0x2ac018)=>{const _0x2a8dc0=function(_0x37400e){const _0x124200=_0x37400e['getSelectedElement']();if(_0x124200?.['is']('element','footnoteRef'))return _0x124200;return null;}(_0x5d1046);if(_0x2a8dc0){const _0x4cecfb=_0x2a8dc0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4cecfb),_0x2ac018['preventDefault'](),_0x1cb83d['stop']();}},{'context':_0x193687});}['_defineClickHandlers'](){const {editor:_0x2fb3d6}=this,{editing:_0x11249c}=_0x2fb3d6;_0x2fb3d6['editing']['view']['addObserver'](_0x5e992b),_0x2fb3d6['editing']['view']['addObserver'](_0x2d9d19);let _0x237151=!0x1;this['listenTo'](_0x11249c['view']['document'],'pointerdown',(_0x50abc5,_0x202930)=>{const {target:_0xb67738}=_0x202930,_0x1c59c0=_0x11249c['view']['document']['selection'];_0x237151=!!(_0xb67738?.['is']('element','a')&&_0xb67738['parent']?.['is']('element','sup')&&_0xb67738['parent']['hasClass']('footnote'))&&_0x1c59c0['getSelectedElement']()===_0xb67738['parent'];},{'priority':'high'}),this['listenTo'](_0x11249c['view']['document'],'click',(_0x210cfe,_0x4898d6)=>{const {target:_0x47dad8}=_0x4898d6;if(!_0x47dad8?.['is']('element','a'))return;if(_0x47dad8['parent']?.['is']('element','sup')&&_0x47dad8['parent']['hasClass']('footnote')&&!_0x237151)return void _0x4898d6['preventDefault']();let _0x5dbfcc=_0x47dad8['getAttribute']('href');if(!_0x5dbfcc?.['startsWith']('#'))return;_0x5dbfcc=_0x5dbfcc['slice'](0x1);let _0x1c5aad=!0x1;(_0x5dbfcc['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5dbfcc['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5dbfcc))&&(_0x1c5aad=!0x0),_0x1c5aad&&(_0x4898d6['preventDefault'](),_0x210cfe['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x33cb83}={}){return(_0x32bef3,{writer:_0x395fe6})=>{if(!p(_0x32bef3))return null;if(!_0x33cb83)return _0x395fe6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x34cdce=_0x395fe6['createContainerElement']('p');return _0x395fe6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x34cdce),_0x34cdce;};}function p(_0x7b3165){const {parent:_0x8c42e7}=_0x7b3165;if(!_0x8c42e7?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x8c42e7['childCount'])return!0x1;for(const _0x311996 of _0x7b3165['getAttributeKeys']())if(!_0x311996['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x311996)return!0x1;return!0x0;}function g(_0x16f1cb,_0xef4ea5){if(!_0x16f1cb['is']('element','paragraph'))return!0x1;const _0x43254e=_0xef4ea5['toViewElement'](_0x16f1cb);return!!_0x43254e&&p(_0x16f1cb)!==_0x43254e['is']('element','span');}function $(_0x3ba3e2){return _0x193687(_0x3ba3e2)&&_0x3ba3e2['is']('containerElement')&&!!_0x3ba3e2['getCustomProperty']('footnotesDefinitions');}function v(_0x127c1f,_0x11b25a={}){const _0x3210fb=_0x127c1f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x12b156=_0x127c1f['createContainerElement']('ol',{'class':'footnotes-list'},_0x127c1f['createSlot']());return _0x127c1f['createContainerElement']('div',{'class':'footnotes',..._0x11b25a},[_0x3210fb,_0x12b156]);}function D(_0x38093e,_0x4a00f7){const _0x4363bd=_0x38093e['getAttribute']('footnoteId'),_0x4ff8fd=_0x38093e['getAttribute']('footnoteCounter'),_0x285522=_0x4a00f7['createUIElement']('a',{'href':'#'+_0x4363bd},function(_0x14af36){const _0x488c3c=this['toDomElement'](_0x14af36);return _0x488c3c['textContent']=_0x4ff8fd,_0x488c3c;}),_0x5b5b4f=_0x4a00f7['createContainerElement']('sup',{'id':'ref-'+_0x4363bd,'class':'footnote'},[_0x285522]);return _0x5b5b4f['getFillerOffset']=()=>null,_0x5b5b4f;}function b(_0x50da3a,_0x5712ab,_0x35f35d,{dataPipeline:_0x1821f3}={}){const {t:t}=_0x35f35d,_0xef400d=_0x50da3a['getAttribute']('footnoteId'),_0x2f78ea=_0x5712ab['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xef400d},function(_0xe81c9c){const _0x481276=this['toDomElement'](_0xe81c9c);return _0x481276['innerText']='^',_0x481276;}),_0x4208ac=_0x1821f3?_0x5712ab['createContainerElement']('div',{'class':'footnote-content'}):_0x39985a(_0x5712ab['createEditableElement']('div',{'class':'footnote-content'}),_0x5712ab,{'label':t('Footnote\x20content.')});return _0x5712ab['insert'](_0x5712ab['createPositionAt'](_0x4208ac,0x0),_0x5712ab['createSlot']()),_0x5712ab['createContainerElement']('li',{'class':'footnote-definition','id':_0xef400d},[_0x2f78ea,_0x4208ac]);}class e extends _0x236e6f{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2294d2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x251b53}=this,{plugins:_0x5a4b95,model:_0x2fb7fd}=_0x251b53,_0x172022=_0x5a4b95['get'](_0x2294d2),_0x308244=_0x5a4b95['get'](c);this['listenTo'](_0x172022,'outputTransformation',(_0x1f52ff,_0x35738d)=>{const _0x4c8eec=f(_0x2fb7fd['createRangeIn'](_0x35738d['content']));if(!_0x4c8eec['length'])return;const _0x10f009=_0x308244['getFootnotes'](),_0x51015d=_0x4c8eec['reduce']((_0x41fac9,_0x55479b)=>{const _0x473830=_0x10f009['find'](_0x377807=>_0x377807['id']===_0x55479b);if(_0x473830){const _0x5e9458=_0x251b53['data']['toView'](_0x473830['definition'],{'isClipboardPipeline':!0x0}),_0x48f095=_0x251b53['data']['htmlProcessor']['toData'](_0x5e9458);_0x41fac9[_0x473830['id']]=_0x48f095;}return _0x41fac9;},Object['create'](null));_0x35738d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x51015d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x43fd74}=this,{model:_0x2a16d0,plugins:_0x10ba4a}=_0x43fd74,{view:_0x2189b8}=_0x43fd74['editing'],_0x12dc58=_0x10ba4a['get'](_0x2294d2),_0x4b8856=_0x10ba4a['get'](c);let _0x5099fd=null;this['listenTo'](_0x2189b8['document'],'clipboardInput',(_0xc63a63,_0x176aa2)=>{const _0x56726c=_0x176aa2['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5099fd=_0x56726c?JSON['parse'](_0x56726c):null;}),this['listenTo'](_0x12dc58,'contentInsertion',(_0x1cb62b,_0x2c4d39)=>{const _0x557666=_0x2c4d39['sourceEditorId']===this['editor']['id'];_0x557666&&'drop'===_0x2c4d39['method']||_0x2a16d0['change'](_0x38cd73=>{let _0x3868a6=_0x4b8856['getFootnotesDefinitionsObjectElement']();const _0x123f02=!!_0x3868a6&&Array['from'](_0x2a16d0['document']['selection']['getSelectedBlocks']())['includes'](_0x3868a6);if((_0x3868a6&&!_0x123f02||!_0x3868a6&&!_0x5099fd)&&function(_0x2e3c3d,_0x5e70c5){const _0xe8ef5b=[];for(const {item:_0x3fef94}of _0x2e3c3d['createRangeIn'](_0x5e70c5))_0x3fef94['is']('element','footnotesDefinitions')&&_0xe8ef5b['push'](_0x3fef94);for(const _0x4d6359 of _0xe8ef5b)_0x2e3c3d['remove'](_0x4d6359);}(_0x38cd73,_0x2c4d39['content']),!_0x5099fd)return;const {selection:_0x31c4ae}=_0x2a16d0['document'],_0x1698b2=_0x31c4ae['getFirstRange']()['root'];_0x3868a6&&!_0x123f02||(_0x3868a6=function(_0x3419be,_0x27e2dc){for(const {item:_0x5d3f45}of _0x3419be['createRangeIn'](_0x27e2dc))if(_0x5d3f45['is']('element','footnotesDefinitions'))return _0x5d3f45;return null;}(_0x38cd73,_0x2c4d39['content']),_0x3868a6||=_0x4b8856['_insertEmptyFootnotesDefinitionsContainer'](_0x38cd73,_0x1698b2));const _0x377824=Array['from'](_0x31c4ae['getRanges']())['flatMap'](f),_0x2ef803=function(_0x5e88f9,_0x2d1fe5,_0x103b44){const _0x4e5f9d=Object['create'](null);for(const {item:_0x2f39cc}of _0x5e88f9['createRangeIn'](_0x2d1fe5))if(_0x2f39cc['is']('element','footnoteRef')){const _0x86658b=_0x2f39cc['getAttribute']('footnoteId');if(!_0x103b44(_0x86658b))continue;_0x4e5f9d[_0x86658b]||(_0x4e5f9d[_0x86658b]=_0x129b12()),_0x5e88f9['setAttribute']('footnoteId',_0x4e5f9d[_0x86658b],_0x2f39cc);}return _0x4e5f9d;}(_0x38cd73,_0x2c4d39['content'],_0x190671=>{if(!_0x557666)return!0x0;return!!_0x4b8856['getFootnote'](_0x190671)&&!_0x377824['includes'](_0x190671);});for(const [_0x161abf,_0x4465be]of Object['entries'](_0x5099fd)){const _0x109b0=_0x2ef803[_0x161abf]||_0x161abf,_0x2990ee=_0x38cd73['createElement']('footnoteDefinition',{'footnoteId':_0x109b0}),_0x24b047=_0x43fd74['data']['htmlProcessor']['toView'](_0x4465be),_0x4ea670=_0x43fd74['data']['toModel'](_0x24b047,_0x2990ee);_0x38cd73['append'](_0x4ea670,_0x2990ee),_0x38cd73['insert'](_0x2990ee,_0x3868a6,'end');}_0x5099fd=null;});});}}function f(_0x22bf4b){const _0x2dabd8=new Set();for(const {item:_0x2e61de}of _0x22bf4b)_0x2e61de['is']('element','footnoteRef')&&_0x2dabd8['add'](_0x2e61de['getAttribute']('footnoteId'));return Array['from'](_0x2dabd8);}class i extends _0x236e6f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e88ca}=this,{componentFactory:_0x424a60}=_0x2e88ca['ui'];_0x424a60['add']('insertFootnote',x(_0x2e88ca,_0x5eecae)),_0x424a60['add']('menuBar:insertFootnote',x(_0x2e88ca,_0x43fa67)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b91b2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26faf8;for(const _0x3ded72 in _0x5b91b2){const _0x125d69=_0x3ded72,_0x5afdab=_0x5b91b2[_0x125d69];if('footnotesLicenseKeyValid'==_0x5afdab||'footnotesLicenseKeyInvalid'==_0x5afdab||'footnotesLicenseKeyExpired'==_0x5afdab||'footnotesLicenseKeyDomainLimit'==_0x5afdab||'footnotesLicenseKeyNotAllowed'==_0x5afdab||'footnotesLicenseKeyEvaluationLimit'==_0x5afdab||'footnotesLicenseKeyTrialLimit'==_0x5afdab||'footnotesLicenseKeyUsageLimit'==_0x5afdab){delete _0x5b91b2[_0x125d69],_0x26faf8=_0x5afdab,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x26faf8&&_0x5b91b2['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x26faf8&&_0x5b91b2['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x26faf8&&_0x5b91b2['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x26faf8&&_0x5b91b2['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x26faf8&&_0x5b91b2['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x26faf8&&_0x5b91b2['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x26faf8&&_0x5b91b2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x52fc86,_0x364678){const _0x4aadef=_0x52fc86['commands']['get']('insertFootnote');return _0x4a4c94=>{const {t:t}=_0x4a4c94,_0x56136d=new _0x364678(_0x4a4c94),_0x29360d=_0x56136d instanceof _0x43fa67;return _0x56136d['bind']('isEnabled')['to'](_0x4aadef,'isEnabled'),_0x56136d['set']({'label':t(_0x29360d?'Footnote':'Insert\x20footnote'),'icon':_0x167efc,'tooltip':!0x0}),_0x56136d['on']('execute',()=>{_0x4aadef['execute'](),_0x52fc86['editing']['view']['focus']();}),_0x56136d;};}class lt extends _0x236e6f{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0xb00ce7{['refresh'](){const {editor:_0x5f1546}=this,_0x400f5d=_0x5f1546['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x400f5d,this['value']=_0x400f5d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xa197eb}){const {editor:_0x4572b4}=this,_0x1d356b=_0x4572b4['plugins']['get'](c),_0x26d7a0=_0x1d356b['getFootnotesDefinitionsObjectElement']();_0x26d7a0&&Q['includes'](_0xa197eb)&&_0x4572b4['model']['change'](_0x1efa43=>{_0x1efa43['setAttribute']('footnotesListStyle',_0xa197eb,_0x26d7a0),_0x1d356b['_updateFootnotesCounters'](_0x1efa43);});}}class C extends _0xb00ce7{['refresh'](){const {editor:_0x42d3d8}=this,_0x4873e5=_0x42d3d8['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4873e5,this['value']=_0x4873e5?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x289cdb}){const {editor:_0x1c57f4}=this,_0xd2e36c=_0x1c57f4['plugins']['get'](c),_0x9873e3=_0xd2e36c['getFootnotesDefinitionsObjectElement']();_0x9873e3&&Number['isInteger'](_0x289cdb)&&_0x1c57f4['model']['change'](_0x36afd1=>{_0x36afd1['setAttribute']('footnotesListStart',_0x289cdb,_0x9873e3),_0xd2e36c['_updateFootnotesCounters'](_0x36afd1);});}}class P extends _0x236e6f{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31dc2a}=this;_0x31dc2a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x31dc2a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x31dc2a['commands']['add']('footnotesStyle',new S(_0x31dc2a)),_0x31dc2a['commands']['add']('footnotesStart',new C(_0x31dc2a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x30fd88}=this,{schema:_0x282743}=_0x30fd88['model'];_0x282743['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x326409}=this,{conversion:_0x1190d8,model:_0x57ab5c}=_0x326409,{schema:_0xe1e6af}=_0x57ab5c;_0x1190d8['for']('upcast')['add'](_0x3afe12=>{_0x3afe12['on']('element:ol',(_0x7cdd9e,_0x4d0fee,_0x4ebc37)=>{const _0x11c9aa=_0x4d0fee['viewItem'],_0x3b54d3=_0x4d0fee['modelCursor']?.['parent'];_0x11c9aa['hasClass']('footnotes-list')&&_0x3b54d3?.['is']('element','footnotesDefinitions')&&(function(_0x3d5496,_0x208016,_0x3eb69c,_0x3d2461){if(!_0x3d2461['checkAttribute'](_0x208016,'footnotesListStart'))return;let _0x5c3548=0x1;const _0x2641d7=_0x3eb69c['consumable']['consume'](_0x3d5496,{'attributes':'start'});if(_0x2641d7){const _0x154452=Number['parseInt'](_0x3d5496['getAttribute']('start'),0xa);Number['isNaN'](_0x154452)||(_0x5c3548=_0x154452);}!_0x2641d7&&_0x208016['hasAttribute']('footnotesListStart')||_0x3eb69c['writer']['setAttribute']('footnotesListStart',_0x5c3548,_0x208016);}(_0x11c9aa,_0x3b54d3,_0x4ebc37,_0xe1e6af),function(_0x50fe2c,_0x4a2c19,_0x564ca7,_0x1e798a){if(!_0x1e798a['checkAttribute'](_0x4a2c19,'footnotesListStyle'))return;let _0x420a8e='decimal',_0x42ac1b=!0x1;if(_0x564ca7['consumable']['consume'](_0x50fe2c,{'attributes':'type'})){const _0x26239d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x50fe2c['getAttribute']('type')];_0x26239d&&(_0x420a8e=_0x26239d),_0x42ac1b=!0x0;}_0x564ca7['consumable']['consume'](_0x50fe2c,{'styles':'list-style-type'})&&(_0x420a8e=_0x50fe2c['getStyle']('list-style-type'),_0x42ac1b=!0x0),!_0x42ac1b&&_0x4a2c19['hasAttribute']('footnotesListStyle')||_0x564ca7['writer']['setAttribute']('footnotesListStyle',_0x420a8e,_0x4a2c19);}(_0x11c9aa,_0x3b54d3,_0x4ebc37,_0xe1e6af));});}),_0x1190d8['for']('downcast')['add'](_0x3493b7=>{_0x3493b7['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2f9fc9,_0x4aff87,_0x2b1263)=>{if(!_0x2b1263['consumable']['consume'](_0x4aff87['item'],_0x2f9fc9['name']))return;const _0x2059ae=M(_0x4aff87['item'],_0x2b1263['mapper']),{attributeNewValue:_0x204e72}=_0x4aff87;null==_0x204e72||0x1===_0x204e72?_0x2b1263['writer']['removeAttribute']('start',_0x2059ae):_0x2b1263['writer']['setAttribute']('start',String(_0x204e72),_0x2059ae);}),_0x3493b7['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1ea8f2,_0x2b09fd,_0x51159a)=>{if(!_0x51159a['consumable']['consume'](_0x2b09fd['item'],_0x1ea8f2['name']))return;const _0x556278=M(_0x2b09fd['item'],_0x51159a['mapper']),{attributeNewValue:_0xe5f9b1}=_0x2b09fd;_0xe5f9b1&&'decimal'!==_0xe5f9b1?_0x51159a['writer']['setStyle']('list-style-type',_0xe5f9b1,_0x556278):_0x51159a['writer']['removeStyle']('list-style-type',_0x556278);});});}['_definePostfixer'](){const {editor:_0x2367d4}=this,{model:_0x37d8de}=_0x2367d4,_0x564d30=_0x2367d4['plugins']['get'](c),_0x5479a3=this['_getDefaultListStyle'](),_0x4bdd26=this['_getDefaultStartIndex']();_0x37d8de['document']['registerPostFixer'](_0x5e28e9=>{const _0x58ad0c=_0x37d8de['document']['differ']['getChanges']();let _0x2f855d=!0x1;for(const _0x22f570 of _0x58ad0c){if('insert'!==_0x22f570['type']||'$text'===_0x22f570['name'])continue;const _0x367566=_0x37d8de['createRangeOn'](_0x22f570['position']['nodeAfter']);for(const _0x13410f of _0x367566['getItems']())_0x13410f['is']('element','footnotesDefinitions')&&(!_0x13410f['hasAttribute']('footnotesListStart')&&_0x37d8de['schema']['checkAttribute'](_0x13410f,'footnotesListStart')&&(_0x5e28e9['setAttribute']('footnotesListStart',_0x4bdd26,_0x13410f),_0x2f855d=!0x0),!_0x13410f['hasAttribute']('footnotesListStyle')&&_0x37d8de['schema']['checkAttribute'](_0x13410f,'footnotesListStyle')&&(_0x5e28e9['setAttribute']('footnotesListStyle',_0x5479a3,_0x13410f),_0x2f855d=!0x0));}return _0x2f855d&&_0x564d30['_updateFootnotesCounters'](_0x5e28e9),_0x2f855d;});}['_defineFormatter'](){const {editor:_0x26e6e8}=this;_0x26e6e8['plugins']['get'](c)['setFootnoteFormatter'](_0x35d3e1=>this['_formatFootnoteListValue'](_0x35d3e1));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x9f868b,value:_0x208aaa,digits:_0xfc8670}){const _0x21903d=_0x9f868b['getAttribute']('footnotesListStyle'),_0x5d64ad=_0x9f868b['getAttribute']('footnotesListStart'),_0x431de1=Math['floor'](_0x208aaa)+(_0x5d64ad??0x1)-0x1;switch(_0x21903d){case'decimal-leading-zero':return function(_0x3c88bd,_0x17e6c1){return String(_0x3c88bd)['padStart'](_0x17e6c1,'0');}(_0x431de1,Math['max'](0x2,_0xfc8670));case'lower-alpha':case'lower-latin':return N(_0x431de1,!0x1);case'upper-alpha':case'upper-latin':return N(_0x431de1,!0x0);case'lower-roman':return X(_0x431de1,!0x1);case'upper-roman':return X(_0x431de1,!0x0);default:return String(_0x431de1);}}}function M(_0x22cf58,_0x35fbf5){const _0x4b9b43=_0x35fbf5['toViewElement'](_0x22cf58);return Array['from'](_0x4b9b43['getChildren']())['find'](_0x1aa941=>_0x1aa941['is']('element','ol')&&_0x1aa941['hasClass']('footnotes-list'));}function N(_0x2080ad,_0x57bb14){let _0xbb9b67='',_0xd3b819=_0x2080ad;for(;_0xd3b819>0x0;){const _0x13854c=(_0xd3b819-0x1)%0x1a;_0xbb9b67=String['fromCharCode'](0x61+_0x13854c)+_0xbb9b67,_0xd3b819=Math['floor']((_0xd3b819-0x1)/0x1a);}return _0x57bb14?_0xbb9b67['toUpperCase']():_0xbb9b67;}const V=[{'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 X(_0x35664a,_0x245d5d){let _0x4ebfe7='',_0x4a0bc8=_0x35664a;for(const {value:_0x99527d,numeral:_0x191ef0}of V)for(;_0x4a0bc8>=_0x99527d;)_0x4ebfe7+=_0x191ef0,_0x4a0bc8-=_0x99527d;return _0x245d5d?_0x4ebfe7:_0x4ebfe7['toLowerCase']();}class R extends _0x34ffea{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x405e16();['focusCycler'];constructor(_0xf97371,{styleButtonViews:_0x70dbda,styleGridAriaLabel:_0x5857b3}){super(_0xf97371),(this['focusCycler']=new _0x27ec57({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x70dbda,_0x5857b3),[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 _0x9e6876 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x9e6876['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x3d0dc6=_0x4f8c0e=>_0x4f8c0e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3d0dc6),this['keystrokes']['set']('arrowleft',_0x3d0dc6),this['keystrokes']['set']('arrowup',_0x3d0dc6),this['keystrokes']['set']('arrowdown',_0x3d0dc6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xec9081,_0x89f262){const _0x140b38=new _0x34ffea(this['locale']);return _0x140b38['children']=_0x140b38['createCollection'](),_0x140b38['children']['addMany'](_0xec9081),_0x140b38['setTemplate']({'tag':'div','attributes':{'aria-label':_0x89f262,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x140b38['children']}),_0x140b38['children']['delegate']('execute')['to'](this),_0x140b38['focus']=function(){for(const _0xa54667 of this['children'])if(_0xa54667 instanceof _0x5eecae&&_0xa54667['isOn'])return void _0xa54667['focus']();this['children']['first']['focus']();},_0x140b38['focusTracker']=new ot(),_0x140b38['keystrokes']=new rt(),_0x140b38['render'](),_0x140b38['keystrokes']['listenTo'](_0x140b38['element']),this['children']['add'](_0x140b38),_0x140b38;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x196e7e=this['_createStartIndexPropertyView'](),_0x586381=[_0x196e7e],_0x1b196b=new st(this['locale'],_0x586381);return _0x1b196b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1b196b['buttonView']['bind']('isEnabled')['toMany'](_0x586381,'isEnabled',(..._0x438146)=>_0x438146['some'](_0x329cea=>_0x329cea)),_0x1b196b['buttonView']['on']('change:isEnabled',(_0x4c2cbd,_0x3d68e0,_0x1c8a5b)=>{_0x1c8a5b||(_0x1b196b['isCollapsed']=!0x0);}),this['children']['add'](_0x1b196b),[_0x196e7e,_0x1b196b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x57cf63=new it(this['locale'],et);return _0x57cf63['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x57cf63['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x57cf63['fieldView']['on']('input',()=>{const _0x5f4355=_0x57cf63['fieldView']['element'],_0x59eca7=_0x5f4355['valueAsNumber'];Number['isNaN'](_0x59eca7)?_0x57cf63['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5f4355['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x59eca7}):_0x57cf63['errorText']=t(_0x59eca7<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x57cf63;}}class j extends _0x236e6f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3b9788,_0x32a153];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53ac73}=this,{componentFactory:_0x2c88bd}=_0x53ac73['ui'];_0x53ac73['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2c88bd['add']('footnotesStyle',function(_0x1a3aef){return _0x5c6ca9=>{const {t:t}=_0x5c6ca9,_0x273180=_0x1a3aef['commands']['get']('footnotesStyle'),_0x1bfa36=_0x4d0891(_0x5c6ca9),{buttonView:_0x36de45}=_0x1bfa36;return _0x1bfa36['class']='ck-footnotes-styles-dropdown',_0x1bfa36['bind']('isEnabled')['to'](_0x273180,'isEnabled'),_0x36de45['set']({'label':t('Footnotes\x20style'),'icon':_0x167efc,'tooltip':!0x0}),_0x1bfa36['once']('change:isOpen',()=>{const _0x137d71=function({editor:_0x56acc7,dropdownView:_0x17d7be}){const {t:t}=_0x56acc7['locale'],_0x930bd8=t('Footnotes\x20definitions\x20styles'),_0xb29a70=function(_0x1112eb){const t=_0x1112eb['locale']['t'],_0x200f63=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1f9758},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5728e3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5f21f3},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x586cee},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4ae2ab},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xc5243}];return _0x200f63['map'](function(_0x62898d){const _0xb3524f=_0x62898d['locale'];return({label:_0x43c748,icon:_0x2830df,tooltip:_0x121621,style:_0xfc28fc})=>{const _0x3c3907=_0x62898d['commands']['get']('footnotesStyle'),_0x4d5b86=new _0x5eecae(_0xb3524f);return _0x4d5b86['set']({'label':_0x43c748,'icon':_0x2830df,'tooltip':_0x121621}),_0x4d5b86['bind']('isOn')['to'](_0x3c3907,'value',_0x388ee8=>_0x388ee8===_0xfc28fc),_0x4d5b86['bind']('isEnabled')['to'](_0x3c3907,'isEnabled'),_0x4d5b86['on']('execute',()=>{_0x62898d['execute']('footnotesStyle',{'value':_0xfc28fc}),_0x62898d['editing']['view']['focus']();}),_0x4d5b86;};}(_0x1112eb));}(_0x56acc7),_0x1e3120=new R(_0x56acc7['locale'],{'styleGridAriaLabel':_0x930bd8,'styleButtonViews':_0xb29a70});return _0x1e3120['delegate']('execute')['to'](_0x17d7be),_0x1e3120['on']('footnotesListStart',(_0xb2b912,_0x4cd519)=>{_0x56acc7['execute']('footnotesStart',{'value':_0x4cd519['startIndex']});}),_0x1e3120;}({'editor':_0x1a3aef,'dropdownView':_0x1bfa36});_0x1bfa36['panelView']['children']['add'](_0x137d71);}),_0x1bfa36;};}(_0x53ac73));}['afterInit'](){const {editor:_0x57f72e}=this,{t:t}=_0x57f72e['locale'],_0x5bfcb6=_0x57f72e['plugins']['get'](_0x32a153),{defaultPositions:_0x244788}=_0xfe67a4;_0x5bfcb6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x57f72e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x382100=>{let _0x34fa06=_0x382100['getFirstPosition']()?.['parent'];return _0x34fa06?.['is']('$text')&&(_0x34fa06=_0x34fa06['parent']),_0x34fa06?.['is']('element')?_0x34fa06['findAncestor']($):null;},'positions':[_0x244788['southArrowNorth'],_0x244788['southArrowNorthMiddleWest'],_0x244788['southArrowNorthMiddleEast'],_0x244788['southArrowNorthWest'],_0x244788['southArrowNorthEast'],_0x244788['northArrowSouth'],_0x244788['northArrowSouthMiddleWest'],_0x244788['northArrowSouthMiddleEast'],_0x244788['northArrowSouthWest'],_0x244788['northArrowSouthEast'],_0x244788['viewportStickyNorth']]});}}class ft extends _0x236e6f{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x2a75bb,Command as _0x5d4c4f}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x353a3f,isWidget as _0x59ac3a,toWidgetEditable as _0x81caed,WidgetToolbarRepository as _0x53a083}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x10e37a,logWarning as _0x2cf854,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x14f0d2,ClickObserver as _0x5770ff}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x294953}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1ad2ec,ButtonView as _0x144e48,View as _0x2111e3,ViewCollection as _0x5a0e45,FocusCycler as _0x2a39a8,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x288164,BalloonPanelView as _0x5c3fcf,createDropdown as _0x20fb35}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2d39d5,IconListStyleDecimal as _0x426d7f,IconListStyleDecimalLeadingZero as _0x2afc42,IconListStyleLowerRoman as _0x46d740,IconListStyleUpperRoman as _0x486752,IconListStyleLowerLatin as _0x30fe3c,IconListStyleUpperLatin as _0x5d632a}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3384b0,_0x10b81c){this['_model']=_0x3384b0,this['_elementName']=_0x10b81c['elementName'],this['_getElementKey']=_0x10b81c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x45067b){const _0xd77d52=new Set(),_0x400efd=new Map();for(const _0x3b3ff9 of _0x45067b){if('insert'===_0x3b3ff9['type']&&'$text'!==_0x3b3ff9['name']&&_0x3b3ff9['position']['nodeAfter']){const _0x4b1711=this['_model']['createRangeOn'](_0x3b3ff9['position']['nodeAfter']);for(const _0xd880c0 of _0x4b1711['getItems']()){if(!_0xd880c0['is']('element',this['_elementName']))continue;const _0x2d061e=this['_getElementKey'](_0xd880c0);_0x400efd['has'](_0x2d061e)||_0x400efd['set'](_0x2d061e,[]),_0x400efd['get'](_0x2d061e)['push'](_0xd880c0);}}if('remove'===_0x3b3ff9['type']&&_0x3b3ff9['name']===this['_elementName']){const _0x8cf269=this['_getElementKey']({'getAttribute':_0x24127f=>_0x3b3ff9['attributes']['get'](_0x24127f)});_0xd77d52['add'](_0x8cf269);}}for(const [_0x1f44c7,_0x4a5e1e]of this['_trackedElements'])'$graveyard'===_0x4a5e1e['root']['rootName']&&_0xd77d52['add'](_0x1f44c7);for(const _0x3d959b of _0xd77d52)this['_trackedElements']['delete'](_0x3d959b);for(const [_0x4f3752,_0x1c4113]of _0x400efd)this['_trackedElements']['set'](_0x4f3752,_0x1c4113[_0x1c4113['length']-0x1]);const _0xf4d374=new Set();for(const [_0x1320e3,_0x10e470]of _0x400efd)_0xd77d52['has'](_0x1320e3)&&(_0xf4d374['add'](_0x10e470[0x0]),_0x10e470['length']>0x1?_0x400efd['set'](_0x1320e3,_0x10e470['slice'](0x1)):_0x400efd['delete'](_0x1320e3),_0xd77d52['delete'](_0x1320e3));return{'removed':Array['from'](_0xd77d52),'inserted':Array['from'](_0x400efd['values']())['flat'](),'moved':Array['from'](_0xf4d374)};}}class c extends _0x2a75bb{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1d76eb){super(_0x1d76eb),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x58ec9b=>_0x58ec9b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1ef5d7=>_0x1ef5d7['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5581a4}=this,{model:_0x5e47fb,data:_0x5a7878}=_0x5581a4;_0x5e47fb['document']['registerPostFixer'](_0x3483c6=>{const _0x7a0533=_0x5e47fb['document']['differ']['getChanges']();let _0x657335=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3483c6,_0x7a0533)&&(_0x657335=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3483c6,_0x7a0533)&&(_0x657335=!0x0),this['_handleFootnoteReferencesChanges'](_0x3483c6,_0x7a0533)&&(_0x657335=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3483c6)&&(_0x657335=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3483c6)&&(_0x657335=!0x0),this['_sortFootnoteDefinitions'](_0x3483c6)&&(_0x657335=!0x0),_0x657335;}),this['listenTo'](_0x5e47fb['document'],'change:data',()=>{_0x5e47fb['enqueueChange']({'isUndoable':!0x1},_0x1d9f7d=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1d9f7d);});},{'priority':'low'}),this['listenTo'](_0x5a7878,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x34f12d){return this['_footnotes']['find'](_0x80da22=>_0x80da22['id']===_0x34f12d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1d3ec8){this['_footnoteFormatter']=_0x1d3ec8;}['_updateFootnotesCounters'](_0x260ef0,_0x181f7d=0x0){let _0x1db281=!0x1;for(let _0x27bbf7=_0x181f7d;_0x27bbf7<this['_footnotes']['length'];_0x27bbf7++)this['_updateFootnoteRefCounter'](_0x260ef0,_0x27bbf7)&&(_0x1db281=!0x0);return _0x1db281;}['_insertEmptyFootnotesDefinitionsContainer'](_0x59cc7c,_0x546a55){const _0x1d8ab0=_0x59cc7c['createElement']('footnotesDefinitions',{});return _0x59cc7c['append'](_0x1d8ab0,_0x546a55),this['_footnotesDefinitions']=_0x1d8ab0,_0x1d8ab0;}['_ensureFootnotesDefinitionsContainerExists'](_0x15a284){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x464e27=this['_footnotes'][0x0]['reference']['root'],_0x3f4598=this['_insertEmptyFootnotesDefinitionsContainer'](_0x15a284,_0x464e27);for(const _0x498dce of this['_footnotes'])_0x498dce['definition']['parent']||_0x15a284['insert'](_0x498dce['definition'],_0x3f4598,'end');this['_updateFootnotesCounters'](_0x15a284);}['_handleFootnotesDefinitionsObjectChanges'](_0x2f48c7,_0x3b2740){let _0x492f72=!0x1;const {inserted:_0x546635,removed:_0x575aca,moved:_0x27820a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3b2740);if(_0x27820a['length']&&(this['_footnotesDefinitions']=_0x27820a[0x0]),_0x546635['length']){if(_0x546635['length']>0x1||this['_footnotesDefinitions']&&_0x546635['some'](_0xdd84c8=>_0xdd84c8!==this['_footnotesDefinitions'])){const _0x22181e=_0x2f48c7['createElement']('footnotesDefinitions',{}),_0x7c59ec=[];this['_footnotesDefinitions']&&_0x7c59ec['push'](this['_footnotesDefinitions']),_0x7c59ec['push'](..._0x546635),_0x2f48c7['insert'](_0x22181e,_0x7c59ec[0x0],'before');for(const _0x44a0a8 of _0x7c59ec)_0x2f48c7['move'](_0x2f48c7['createRangeIn'](_0x44a0a8),_0x2f48c7['createPositionAt'](_0x22181e,'end')),_0x2f48c7['remove'](_0x44a0a8);this['_footnotesDefinitions']=_0x22181e,this['_updateFootnotesCounters'](_0x2f48c7),_0x492f72=!0x0;}else this['_footnotesDefinitions']=_0x546635[0x0];}if(_0x575aca['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x84e7ef of this['_footnotes'])_0x2f48c7['remove'](_0x84e7ef['reference']),_0x492f72=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x492f72;}['_handleFootnoteDefinitionsChanges'](_0x4fd942,_0x3cde4b){let _0x296de5=!0x1;const _0x230a10=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3aa4b9,moved:_0x156c88}=this['_footnoteDefsTracker']['getChanges'](_0x3cde4b);for(const _0x3ac8f0 of[..._0x156c88,..._0x3aa4b9]){const _0x47706e=_0x3ac8f0['getAttribute']('footnoteId'),_0x3a7fe7=this['getFootnote'](_0x47706e);_0x3a7fe7&&(_0x3a7fe7['definition']=_0x3ac8f0),_(_0x4fd942,_0x230a10,_0x3ac8f0)&&(_0x296de5=!0x0);}return _0x296de5;}['_handleFootnoteReferencesChanges'](_0x29fcd4,_0x992e57){let _0x352985=!0x1;const {removed:_0xea8cb4,inserted:_0x332c00,moved:_0x1ed1c3}=this['_footnoteRefsTracker']['getChanges'](_0x992e57);for(const _0x315674 of _0xea8cb4)this['_handleRemoveFootnoteReferenceById'](_0x29fcd4,_0x315674)&&(_0x352985=!0x0);for(const _0xafcf42 of _0x332c00)this['_handleInsertedFootnoteReference'](_0x29fcd4,_0xafcf42)&&(_0x352985=!0x0);for(const _0x23e66d of _0x1ed1c3)this['_handleMovedFootnoteReference'](_0x29fcd4,_0x23e66d)&&(_0x352985=!0x0);return _0x352985;}['_handleFootnotesDefinitionsObjectSync'](_0x1108e0){if(!this['_footnotesDefinitions'])return!0x1;let _0x2ee79d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x9e2068=[];for(const _0x1fd78e of this['_footnotesDefinitions']['getChildren']()){const _0x2a368e=_0x1fd78e['getAttribute']('footnoteId');this['getFootnote'](_0x2a368e)||(_0x9e2068['unshift'](_0x1fd78e),_0x2ee79d=!0x0);}for(const _0x208d29 of _0x9e2068)_0x1108e0['remove'](_0x208d29);}const _0x47fe46=new Set(),_0x248372=[];for(const _0x9c207e of this['_footnotesDefinitions']['getChildren']()){const _0x5ba22d=_0x9c207e['getAttribute']('footnoteId');_0x47fe46['has'](_0x5ba22d)?(_0x248372['unshift'](_0x9c207e),_0x2ee79d=!0x0):_0x47fe46['add'](_0x5ba22d);}for(const _0x10d293 of _0x248372)_0x1108e0['remove'](_0x10d293);return this['_footnotesDefinitions']['childCount']||(_0x1108e0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2ee79d=!0x0),_0x2ee79d;}['_handleInsertedFootnoteReference'](_0x399a3e,_0xe0aec4){if(this['_footnotes']['find'](_0x5f08b2=>_0x5f08b2['reference']===_0xe0aec4))return!0x1;let _0x1fca44=!0x1;const _0x269e16=_0xe0aec4['getAttribute']('footnoteId'),_0x2295b4=this['_footnotes']['findIndex'](_0x828b50=>_0x828b50['id']===_0x269e16);-0x1!==_0x2295b4&&(_0x399a3e['remove'](this['_footnotes'][_0x2295b4]['reference']),this['_footnotes']['splice'](_0x2295b4,0x1),_0x1fca44=!0x0);let _0x51b02c=this['_footnotesDefinitions']?function(_0x45bffc,_0x3eade6){for(const _0x4ab334 of _0x45bffc['getChildren']())if(_0x4ab334['getAttribute']('footnoteId')===_0x3eade6)return _0x4ab334;return null;}(this['_footnotesDefinitions'],_0x269e16):null;_0x51b02c||(_0x51b02c=_0x399a3e['createElement']('footnoteDefinition',{'footnoteId':_0x269e16}),this['_footnotesDefinitions']&&(_0x399a3e['insert'](_0x51b02c,this['_footnotesDefinitions'],'end'),_0x1fca44=!0x0));const _0x1a9dbb={'id':_0x269e16,'reference':_0xe0aec4,'definition':_0x51b02c},_0x20c313=I(this['editor']['model'],this['_footnotes'],_0xe0aec4);this['_footnotes']['splice'](_0x20c313,0x0,_0x1a9dbb);let _0x2cd385=_0x20c313;return-0x1!==_0x2295b4&&(_0x2cd385=Math['min'](_0x20c313,_0x2295b4)),this['_updateFootnotesCounters'](_0x399a3e,_0x2cd385)&&(_0x1fca44=!0x0),_0x1fca44;}['_handleRemoveFootnoteReferenceById'](_0x4b499c,_0x333062){const _0x2ce173=this['_footnotes']['findIndex'](_0x49ddb0=>_0x49ddb0['id']===_0x333062);if(-0x1===_0x2ce173)return!0x1;let _0x136a41=!0x1;const _0x57c643=this['_footnotes'][_0x2ce173];return'$graveyard'!==_0x57c643['definition']['root']['rootName']&&(_0x4b499c['remove'](_0x57c643['definition']),_0x136a41=!0x0),this['_footnotes']['splice'](_0x2ce173,0x1),this['_updateFootnotesCounters'](_0x4b499c,_0x2ce173)&&(_0x136a41=!0x0),_0x136a41;}['_handleMovedFootnoteReference'](_0x12f584,_0xc71066){const _0x975c30=_0xc71066['getAttribute']('footnoteId'),_0x3e46e7=this['_footnotes']['findIndex'](_0x541bd8=>_0x541bd8['id']===_0x975c30),_0x45c871=this['_footnotes'][_0x3e46e7];let _0x1c7fbe=!0x1;_0x45c871['reference']=_0xc71066,this['_footnotes']['splice'](_0x3e46e7,0x1);const _0x19a6ea=I(this['editor']['model'],this['_footnotes'],_0xc71066);return this['_footnotes']['splice'](_0x19a6ea,0x0,_0x45c871),this['_updateFootnotesCounters'](_0x12f584,Math['min'](_0x3e46e7,_0x19a6ea))&&(_0x1c7fbe=!0x0),_0x1c7fbe;}['_updateFootnoteRefCounter'](_0x5c4b19,_0x47219f){if(!this['_footnotesDefinitions'])return!0x1;const _0xe8f117=this['_footnotes'][_0x47219f];let _0x1bb0d4;return _0x1bb0d4=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xe8f117,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x47219f+0x1}):String(_0x47219f+0x1),_0xe8f117['reference']['getAttribute']('footnoteCounter')!=_0x1bb0d4&&(_0x5c4b19['setAttribute']('footnoteCounter',_0x1bb0d4,_0xe8f117['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4d7659){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x29311d,_0x47aaf0){if(_0x29311d['length']!==_0x47aaf0['length'])return!0x1;for(let _0x3df912=0x0;_0x3df912<_0x29311d['length'];_0x3df912++)if(_0x29311d[_0x3df912]!==_0x47aaf0[_0x3df912])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4bdce3=>_0x4bdce3['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x808cb8=>_0x808cb8['getAttribute']('footnoteId'))))return!0x1;let _0x5d0e48=!0x1;for(let _0x15ff62=0x0;_0x15ff62<this['_footnotes']['length'];_0x15ff62++){const _0x38a7c0=this['_footnotes'][_0x15ff62],_0x2ae83d=_0x4d7659['createPositionBefore'](_0x38a7c0['definition']),_0x5c8d7b=_0x4d7659['createPositionAt'](this['_footnotesDefinitions'],_0x15ff62);_0x2ae83d['isEqual'](_0x5c8d7b)||(_0x4d7659['move'](_0x4d7659['createRangeOn'](_0x38a7c0['definition']),_0x5c8d7b),_0x5d0e48=!0x0);}return _0x5d0e48;}['_ensureFootnotesReferencesHaveProperOrder'](_0x33f5f7){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1ed191}=this['editor'];let _0x47b937=!0x1;for(let _0x4757a9=0x0;_0x4757a9<this['_footnotes']['length']-0x1;_0x4757a9++){const _0x35ecec=this['_footnotes'][_0x4757a9],_0x1797f0=this['_footnotes'][_0x4757a9+0x1],_0x95c4bd=_0x1ed191['createPositionBefore'](_0x35ecec['reference']),_0x4be91f=_0x1ed191['createPositionBefore'](_0x1797f0['reference']);'after'===_0x95c4bd['compareWith'](_0x4be91f)&&(this['_handleMovedFootnoteReference'](_0x33f5f7,_0x35ecec['reference']),_0x4757a9=-0x1,_0x47b937=!0x0);}return _0x47b937;}}function _(_0x2310e7,_0x1db90f,_0x39fdaf){if(_0x39fdaf['childCount'])return!0x1;const _0x19d727=_0x1db90f?'paragraph':'footnoteInlineContent';return _0x2310e7['insert'](_0x2310e7['createElement'](_0x19d727),_0x39fdaf),!0x0;}function I(_0xf83037,_0x27528f,_0x3fc3da){if(0x0===_0x27528f['length'])return 0x0;const _0x27f295=_0xf83037['createPositionBefore'](_0x3fc3da);for(let _0x46edfd=0x0;_0x46edfd<_0x27528f['length'];_0x46edfd++){const _0x27fd00=_0x27528f[_0x46edfd],_0x1dcc65=_0xf83037['createPositionBefore'](_0x27fd00['reference']);if('before'===_0x27f295['compareWith'](_0x1dcc65))return _0x46edfd;}const _0x3c7b40=_0x3fc3da['root'];let _0xb30e4c=-0x1;for(let _0x13bcc5=_0x27528f['length']-0x1;_0x13bcc5>=0x0;_0x13bcc5--)if(_0x27528f[_0x13bcc5]['reference']['root']===_0x3c7b40){_0xb30e4c=_0x13bcc5;break;}if(-0x1!==_0xb30e4c)return _0xb30e4c+0x1;const _0x38d1cc=_0xf83037['document']['getRootNames'](),_0x162ebc=_0x38d1cc['indexOf'](_0x3c7b40['rootName']),_0x935f03=_0x38d1cc[_0x162ebc+0x1];if(_0x935f03){for(let _0x2f55f9=0x0;_0x2f55f9<_0x27528f['length'];_0x2f55f9++)if(_0x27528f[_0x2f55f9]['reference']['root']['rootName']===_0x935f03)return _0x2f55f9;}return _0x27528f['length'];}class m extends _0x5d4c4f{['refresh'](){const _0x503b69=this['editor']['model']['document']['selection'],_0x40ed83=this['_getPositionToInsertFootnote'](_0x503b69);this['isEnabled']=!!_0x40ed83;}['execute'](_0x326148){const {editor:_0x10f12f}=this,{model:_0x1eacfa}=_0x10f12f,{selection:_0xb996ba}=_0x1eacfa['document'],_0x2f584a=this['_getPositionToInsertFootnote'](_0xb996ba);if(!_0x2f584a)return;const _0x4c1e83=_0x10f12f['plugins']['get']('FootnotesEditing'),_0x364cea=_0x326148?.['footnoteId']??_0x10e37a();!function(_0x428343){return'string'==typeof _0x428343&&_0x428343['length']>0x0&&!/\s/['test'](_0x428343)&&!/^\d/['test'](_0x428343);}(_0x364cea)?_0x2cf854('insert-footnote-command-executed-with-invalid-id'):(_0x1eacfa['change'](_0xfa465a=>{const _0x43be9d=_0xfa465a['createElement']('footnoteRef',{'footnoteId':_0x364cea});_0x1eacfa['insertObject'](_0x43be9d,_0x2f584a,null);}),_0x4c1e83['_moveSelectionToFootnoteDefinition'](_0x364cea));}['_getPositionToInsertFootnote'](_0x5e0830){const {model:_0x3f100f}=this['editor'],{schema:_0x451f05}=_0x3f100f,_0x7f54a=_0x5e0830['getFirstRange']();for(const _0x3ad9c6 of _0x7f54a['getItems']())if(_0x451f05['isBlock'](_0x3ad9c6)||_0x451f05['isObject'](_0x3ad9c6))return null;const _0x471321=_0x7f54a['end'];return _0x451f05['checkChild'](_0x471321,'footnoteRef')?_0x471321:null;}}class r extends _0x2a75bb{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1646eb}=this;_0x1646eb['config']['define']('footnotes.multiBlock',!0x0),_0x1646eb['commands']['add']('insertFootnote',new m(_0x1646eb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x12bc40){const _0x12c977=_0x2cccf4([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x3ca4b6=0x47a28506,_0x35b4a6=0x47a5ff4e^_0x3ca4b6,_0x1da522=window[_0x2cccf4([0x44,0x61,0x74,0x65])][_0x2cccf4([0x6e,0x6f,0x77])](),_0x365149=_0x12bc40[_0x2cccf4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28d5c9=new window[(_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6135=>{_0x365149[_0x2cccf4([0x6f,0x6e,0x63,0x65])](_0x2cccf4([0x72,0x65,0x61,0x64,0x79]),_0x4a6135);}),_0x1f78fe={[_0x2cccf4([0x6b,0x74,0x79])]:_0x2cccf4([0x45,0x43]),[_0x2cccf4([0x75,0x73,0x65])]:_0x2cccf4([0x73,0x69,0x67]),[_0x2cccf4([0x63,0x72,0x76])]:_0x2cccf4([0x50,0x2d,0x32,0x35,0x36]),[_0x2cccf4([0x78])]:_0x2cccf4([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2cccf4([0x79])]:_0x2cccf4([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2cccf4([0x61,0x6c,0x67])]:_0x2cccf4([0x45,0x53,0x32,0x35,0x36])},_0x5a584b=_0x365149[_0x2cccf4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cccf4([0x67,0x65,0x74])](_0x2cccf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52e129(){let _0x2f1ab9,_0x19b393=null,_0x587a69=null;try{if(_0x5a584b==_0x2cccf4([0x47,0x50,0x4c]))return _0x2cccf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f1ab9=_0x2d37bb(),!_0x2f1ab9)return _0x2cccf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f1ab9[_0x2cccf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x587a69=_0x51038b(_0x2f1ab9[_0x2cccf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f1ab9[_0x2cccf4([0x6a,0x74,0x69])])),await _0x13ad48()?_0x546eae()?_0x8b661b()?_0x2cccf4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56813b()?(_0x2f1ab9[_0x2cccf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cccf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19b393=_0x1acd42(_0x2cccf4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f1ab9[_0x2cccf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cccf4([0x74,0x72,0x69,0x61,0x6c])&&(_0x19b393=_0x1acd42(_0x2cccf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x511e01()):_0x2cccf4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cccf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cccf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cccf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8b661b(){const _0x2df186=[_0x2cccf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cccf4([0x74,0x72,0x69,0x61,0x6c])][_0x2cccf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1ab9[_0x2cccf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1da522/0x3e8:0xe10*_0x35b4a6;return _0x2f1ab9[_0x2cccf4([0x65,0x78,0x70])]<_0x2df186;}function _0x546eae(){const _0x35ff33=_0x2f1ab9[_0x2cccf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35ff33&&(!!_0x35ff33[_0x2cccf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cccf4([0x2a]))||!!_0x35ff33[_0x2cccf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cccf4([0x46,0x4f,0x4f])));}function _0x56813b(){const _0xe79378=_0x2f1ab9[_0x2cccf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe79378||0x0==_0xe79378[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11e9a6}=new URL(window[_0x2cccf4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xe79378[_0x2cccf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11e9a6))return!0x0;const _0x3c5591=_0x11e9a6[_0x2cccf4([0x73,0x70,0x6c,0x69,0x74])](_0x2cccf4([0x2e]));return _0xe79378[_0x2cccf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19852b=>_0x19852b[_0x2cccf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cccf4([0x2a])))[_0x2cccf4([0x6d,0x61,0x70])](_0x5589bf=>_0x5589bf[_0x2cccf4([0x73,0x70,0x6c,0x69,0x74])](_0x2cccf4([0x2e])))[_0x2cccf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0192=>_0x4e0192[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c5591[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cccf4([0x6d,0x61,0x70])](_0xdc9ea8=>Array(_0x3c5591[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xdc9ea8[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cccf4([0x66,0x69,0x6c,0x6c])](_0xdc9ea8[0x0]===_0x2cccf4([0x2a])?_0x2cccf4([0x2a]):'')[_0x2cccf4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xdc9ea8))[_0x2cccf4([0x73,0x6f,0x6d,0x65])](_0x408ecf=>_0x3c5591[_0x2cccf4([0x65,0x76,0x65,0x72,0x79])]((_0x5a38c5,_0x44737f)=>_0x408ecf[_0x44737f]===_0x5a38c5||_0x408ecf[_0x44737f]===_0x2cccf4([0x2a])));}function _0x511e01(){return _0x19b393&&_0x587a69?new window[(_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59afc3,_0x2678d1)=>{_0x19b393[_0x2cccf4([0x74,0x68,0x65,0x6e])](_0x59afc3,_0x2678d1),_0x587a69[_0x2cccf4([0x74,0x68,0x65,0x6e])](_0x106e09=>{_0x106e09!=_0x2cccf4([0x56,0x61,0x6c,0x69,0x64])&&_0x59afc3(_0x106e09);},_0x2678d1);}):_0x19b393||_0x587a69||_0x2cccf4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51038b(_0x30a02e,_0x117929){return new window[(_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15aa4a=>{if(_0x4762e8())return _0x15aa4a(_0x2cccf4([0x56,0x61,0x6c,0x69,0x64]));_0x1f4e14(),_0x365149[_0x2cccf4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cccf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x360649=!0x1;const _0x5af89c=_0x10e37a();function _0x6939e7(_0x254bec){return!!_0x254bec&&(typeof _0x254bec===_0x2cccf4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x254bec===_0x2cccf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x254bec[_0x2cccf4([0x74,0x68,0x65,0x6e])]===_0x2cccf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x254bec[_0x2cccf4([0x63,0x61,0x74,0x63,0x68])]===_0x2cccf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50361b(_0x2fd8ed){_0x3fd508(_0x2fd8ed)[_0x2cccf4([0x74,0x68,0x65,0x6e])](_0x47e517=>{if(!_0x47e517||_0x47e517[_0x2cccf4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cccf4([0x6f,0x6b]))return _0x2cccf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc9b69c(_0x1ce12a(_0x5af89c+_0x117929))!=_0x47e517[_0x2cccf4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cccf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cccf4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cccf4([0x74,0x68,0x65,0x6e])](_0x3b99de=>(_0x28ca70(),_0x3b99de),()=>{const _0x5249f5=_0xdc1c74();return null==_0x5249f5?(_0x28ca70(),_0x2cccf4([0x56,0x61,0x6c,0x69,0x64])):_0x2cccf4(_0x1da522-_0x5249f5>(0x63ae0106^_0x3ca4b6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cccf4([0x74,0x68,0x65,0x6e])](_0x15aa4a)[_0x2cccf4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15aa4a(_0x2cccf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35b23c=0x47946b86^_0x3ca4b6;function _0x28ca70(){const _0x3cbf8c=_0x2cccf4([0x6c,0x6c,0x63,0x74,0x2d])+_0xc9b69c(_0x1ce12a(_0x30a02e)),_0x3c6267=_0x501de5(_0xc9b69c(window[_0x2cccf4([0x4d,0x61,0x74,0x68])][_0x2cccf4([0x63,0x65,0x69,0x6c])](_0x1da522/_0x35b23c)));window[_0x2cccf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cccf4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cbf8c,_0x3c6267);}function _0xdc1c74(){const _0x1ba207=_0x2cccf4([0x6c,0x6c,0x63,0x74,0x2d])+_0xc9b69c(_0x1ce12a(_0x30a02e)),_0x25e67b=window[_0x2cccf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cccf4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ba207);return _0x25e67b?window[_0x2cccf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x501de5(_0x25e67b),0x10)*_0x35b23c:null;}function _0x3fd508(_0x1ecd5c){return new window[(_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26fc28,_0x179cab)=>{_0x1ecd5c[_0x2cccf4([0x74,0x68,0x65,0x6e])](_0x26fc28,_0x179cab),window[_0x2cccf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x179cab,0x47a351c6^_0x3ca4b6);});}}_0x365149[_0x2cccf4([0x6f,0x6e])](_0x2cccf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3df759,_0x1a0bab)=>{if(_0x1a0bab[0x0]!=_0x30a02e)return _0x15aa4a(_0x2cccf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a0bab[0x1]={..._0x1a0bab[0x1],[_0x2cccf4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5af89c};},{[_0x2cccf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cccf4([0x68,0x69,0x67,0x68])}),_0x365149[_0x2cccf4([0x6f,0x6e])](_0x2cccf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2930e9=>{_0x6939e7(_0x2930e9[_0x2cccf4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x360649=!0x0,_0x50361b(_0x2930e9[_0x2cccf4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cccf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cccf4([0x6c,0x6f,0x77])}),_0x28d5c9[_0x2cccf4([0x74,0x68,0x65,0x6e])](()=>{_0x360649||_0x15aa4a(_0x2cccf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4762e8(){return _0x365149[_0x2cccf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cccf4([0x76,0x69,0x65,0x77])][_0x2cccf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cccf4([0x61,0x75,0x74,0x6f]);}function _0x1f4e14(){_0x365149[_0x2cccf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cccf4([0x76,0x69,0x65,0x77])][_0x2cccf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cccf4([0x61,0x75,0x74,0x6f]);}}function _0x1acd42(_0x521948){const _0x48972a=[new window[(_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19dd8c=>setTimeout(_0x19dd8c,0x47abbbca^_0x3ca4b6)),_0x28d5c9[_0x2cccf4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4957e3=>{let _0xa7586=0x0;_0x365149[_0x2cccf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cccf4([0x6f,0x6e])](_0x2cccf4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x553f0a,_0x34d40e)=>{_0x34d40e[0x0][_0x2cccf4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa7586++,_0xa7586==(0x47a284fe^_0x3ca4b6)&&(_0x4957e3(),_0x553f0a[_0x2cccf4([0x6f,0x66,0x66])]());});}))];return window[_0x2cccf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cccf4([0x72,0x61,0x63,0x65])](_0x48972a)[_0x2cccf4([0x74,0x68,0x65,0x6e])](()=>_0x521948);}async function _0x11e087(){await _0x28d5c9,_0x365149[_0x2cccf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cccf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3632e6,_0x365149[_0x2cccf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cccf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3632e6,_0x365149[_0x2cccf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cccf4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43d466(_0x30debe){const _0x403dda=_0x50c52c();_0x365149[_0x403dda]=_0x2cccf4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30debe,_0x30debe!=_0x2cccf4([0x56,0x61,0x6c,0x69,0x64])&&_0x11e087();}function _0x50c52c(){const _0x3135cb=window[_0x2cccf4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cccf4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cccf4([0x6e,0x6f,0x77])]())[_0x2cccf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cccf4([0x2e]),'');let _0x4347b9=_0x2cccf4([0x75]);for(let _0x4f28ac=0x0;_0x4f28ac<_0x3135cb[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f28ac+=0x2){let _0x3a78c2=window[_0x2cccf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3135cb[_0x2cccf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f28ac,_0x4f28ac+0x2));_0x3a78c2>=_0x12c977[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a78c2-=_0x12c977[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4347b9+=_0x12c977[_0x3a78c2];}return _0x4347b9;}function _0x2d37bb(){const _0x50bc99=_0x5a584b[_0x2cccf4([0x73,0x70,0x6c,0x69,0x74])](_0x2cccf4([0x2e]));if(0x3!=_0x50bc99[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x131824(_0x50bc99[0x1]);function _0x131824(_0x166cdc){const _0x3d924e=_0x20146d(_0x166cdc);return _0x3d924e&&_0x2230c5()?_0x3d924e:null;function _0x2230c5(){const _0x23e8b2=_0x3d924e[_0x2cccf4([0x6a,0x74,0x69])],_0x45e842=window[_0x2cccf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23e8b2[_0x2cccf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23e8b2[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7294c4={..._0x3d924e,[_0x2cccf4([0x6a,0x74,0x69])]:_0x23e8b2[_0x2cccf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23e8b2[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7294c4[_0x2cccf4([0x76,0x63])],_0x1ce12a(_0x7294c4)==_0x45e842;}}}async function _0x13ad48(){let _0x51833e=!0x0;try{const _0x3b3fa8=_0x5a584b[_0x2cccf4([0x73,0x70,0x6c,0x69,0x74])](_0x2cccf4([0x2e])),[_0x53168c,_0x5cac90,_0x5e3ed2]=_0x3b3fa8;return _0x1b67c8(_0x53168c),await _0xcec334(_0x53168c,_0x5cac90,_0x5e3ed2),_0x51833e;}catch{return!0x1;}function _0x1b67c8(_0x3fcfbe){const _0x314382=_0x20146d(_0x3fcfbe);_0x314382&&_0x314382[_0x2cccf4([0x61,0x6c,0x67])]==_0x2cccf4([0x45,0x53,0x32,0x35,0x36])||(_0x51833e=!0x1);}async function _0xcec334(_0x1f946c,_0x31c27c,_0x45f2b0){const _0x35d499=window[_0x2cccf4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cccf4([0x66,0x72,0x6f,0x6d])](_0x39ea98(_0x45f2b0),_0x574b66=>_0x574b66[_0x2cccf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31a4b5=new window[(_0x2cccf4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cccf4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f946c+_0x2cccf4([0x2e])+_0x31c27c),_0x361634=window[_0x2cccf4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cccf4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x361634)return;const _0x50e67b=await _0x361634[_0x2cccf4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cccf4([0x6a,0x77,0x6b]),_0x1f78fe,{[_0x2cccf4([0x6e,0x61,0x6d,0x65])]:_0x2cccf4([0x45,0x43,0x44,0x53,0x41]),[_0x2cccf4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cccf4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cccf4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x361634[_0x2cccf4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cccf4([0x6e,0x61,0x6d,0x65])]:_0x2cccf4([0x45,0x43,0x44,0x53,0x41]),[_0x2cccf4([0x68,0x61,0x73,0x68])]:{[_0x2cccf4([0x6e,0x61,0x6d,0x65])]:_0x2cccf4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50e67b,_0x35d499,_0x31a4b5)||(_0x51833e=!0x1);}}function _0x20146d(_0x2e3b88){return _0x2e3b88[_0x2cccf4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cccf4([0x65,0x79]))?JSON[_0x2cccf4([0x70,0x61,0x72,0x73,0x65])](_0x39ea98(_0x2e3b88)):null;}function _0x39ea98(_0x2ff46f){return window[_0x2cccf4([0x61,0x74,0x6f,0x62])](_0x2ff46f[_0x2cccf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cccf4([0x2b]))[_0x2cccf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cccf4([0x2f])));}function _0x1ce12a(_0x5908cb){let _0xec2203=0x1505;function _0x5b985a(_0x3adfc3){for(let _0x1b7d6f=0x0;_0x1b7d6f<_0x3adfc3[_0x2cccf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b7d6f++){const _0x2a68ea=_0x3adfc3[_0x2cccf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b7d6f);_0xec2203=(_0xec2203<<0x5)+_0xec2203+_0x2a68ea,_0xec2203&=_0xec2203;}}function _0x221033(_0x2b4b19){Array[_0x2cccf4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b4b19)?_0x2b4b19[_0x2cccf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x221033):_0x2b4b19&&typeof _0x2b4b19==_0x2cccf4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cccf4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b4b19)[_0x2cccf4([0x73,0x6f,0x72,0x74])]()[_0x2cccf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x339270,_0x555054])=>{_0x5b985a(_0x339270),_0x221033(_0x555054);}):_0x5b985a(window[_0x2cccf4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b4b19));}return _0x221033(_0x5908cb),_0xec2203>>>0x0;}function _0xc9b69c(_0x46c781){return _0x46c781[_0x2cccf4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cccf4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cccf4([0x30]));}function _0x501de5(_0x27a0b6){return _0x27a0b6[_0x2cccf4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cccf4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cccf4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3632e6(){}function _0x2cccf4(_0x3e35e6){return _0x3e35e6['map'](_0x26765c=>String['fromCharCode'](_0x26765c))['join']('');}_0x43d466(await _0x52e129());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5929b0){const {plugins:_0x14f548,editing:_0x8ead1f,model:_0x108c6f}=this['editor'],_0x21e457=_0x14f548['get'](c)['getFootnote'](_0x5929b0);return!!_0x21e457&&(_0x108c6f['change'](_0x60aef7=>{_0x60aef7['setSelection'](_0x60aef7['createPositionAt'](_0x21e457['definition'],'end'));}),_0x8ead1f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4f2d58){const {plugins:_0x1395f1,editing:_0x3702eb,model:_0x5bbd5f}=this['editor'],_0xc68920=_0x1395f1['get'](c)['getFootnote'](_0x4f2d58);return!!_0xc68920&&(_0x5bbd5f['change'](_0x23bdc3=>{_0x23bdc3['setSelection'](_0xc68920['reference'],'on');}),_0x3702eb['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3768e4}=this['editor']['model'],_0x23a7b2=this['editor']['config']['get']('footnotes.multiBlock');_0x3768e4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3768e4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3768e4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x23a7b2?_0x3768e4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3768e4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3768e4['addChildCheck'](_0x145503=>{for(const _0x484813 of _0x145503)if('footnoteDefinition'===_0x484813['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x589eaa}=this,{conversion:_0x566955,editing:_0x531f50}=_0x589eaa,{t:t}=_0x589eaa['locale'];_0x566955['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x151a28,{writer:_0x45c8a9,consumable:_0xd97e2e})=>{const _0x35ef38=_0x151a28['getChild'](0x0);if(!_0x35ef38||!_0x35ef38['is']('element','a'))return null;const _0xd2aec6=_0x35ef38['getAttribute']('href')||'';if(!_0xd2aec6['startsWith']('#'))return null;const _0x455c7f=_0xd2aec6['replace'](/^#/,'');if(!_0x455c7f)return null;_0xd97e2e['consume'](_0x35ef38,{'name':!0x0,'attributes':['href']});for(const {item:_0x2cd71e}of _0x531f50['view']['createRangeIn'](_0x35ef38))_0x2cd71e['is']('$textProxy')?_0xd97e2e['consume'](_0x2cd71e['textNode'],{'name':!0x0}):_0x2cd71e['is']('element')&&_0xd97e2e['consume'](_0x2cd71e,{'name':!0x0});return _0x45c8a9['createElement']('footnoteRef',{'footnoteId':_0x455c7f});}}),_0x566955['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x405a3b,{writer:_0x4f9484})=>D(_0x405a3b,_0x4f9484)}),_0x566955['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x133b05,{writer:_0x3f7784})=>{const _0x4f0518=_0x133b05['getAttribute']('footnoteCounter');return _0x353a3f(D(_0x133b05,_0x3f7784),_0x3f7784,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4f0518)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4f81cf}=this,{t:t}=_0x4f81cf['locale'],{conversion:_0x2e7fe0}=_0x4f81cf;_0x2e7fe0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2e7fe0['for']('upcast')['add'](_0x2984fe=>{_0x2984fe['on']('element:ol',(_0x61c59f,_0x474208,_0x4189c9)=>{const _0x4cf5db=_0x474208['viewItem'];if(!_0x4cf5db['hasClass']('footnotes-list')||!_0x474208['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4189c9['consumable']['consume'](_0x4cf5db,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x27029b,modelCursor:_0x1b360c}=_0x4189c9['convertChildren'](_0x474208['viewItem'],_0x474208['modelCursor']);_0x474208['modelRange']=_0x27029b,_0x474208['modelCursor']=_0x1b360c;}),_0x2984fe['on']('element:hr',(_0x171850,_0x35e383,_0xa06c31)=>{const _0x28711=_0x35e383['viewItem'];_0x28711['hasClass']('footnotes-divider')&&_0x35e383['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xa06c31['consumable']['consume'](_0x28711,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2e7fe0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x43dae2,{writer:_0x38f416})=>v(_0x38f416)}),_0x2e7fe0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4fe47d,{writer:_0x31923f})=>{const _0x1b4ec1=v(_0x31923f,{'data-footnotes-list-label':t('Footnotes')}),_0x4ce7c6=_0x353a3f(_0x1b4ec1,_0x31923f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x31923f['setCustomProperty']('footnotesDefinitions',!0x0,_0x4ce7c6),_0x4ce7c6;}});}['_defineDefinitionConverters'](){const {editor:_0x318503}=this,{conversion:_0x190e8b,locale:_0x35e2ce}=_0x318503,_0x2bdbae=_0x318503['config']['get']('footnotes.multiBlock');_0x190e8b['for']('upcast')['add'](_0xe109bc=>{_0xe109bc['on']('element:li',(_0x1a0078,_0x1af309,_0x5597ef)=>{const _0x15608f=_0x1af309['viewItem'];if(!_0x15608f['hasClass']('footnote-definition')||!_0x15608f['getAttribute']('id'))return;const _0x45a1b1=_0x15608f['parent'];if(!_0x45a1b1['is']('element','ol')||!_0x45a1b1['hasClass']('footnotes-list'))return;if(!_0x5597ef['consumable']['test'](_0x15608f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x28afd6=_0x5597ef['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x15608f['getAttribute']('id')});if(!_0x5597ef['safeInsert'](_0x28afd6,_0x1af309['modelCursor']))return;_0x5597ef['consumable']['consume'](_0x15608f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x18e196=Array['from'](_0x15608f['getChildren']())['find'](_0x3518ad=>_0x3518ad['is']('element')&&_0x3518ad['hasClass']('footnote-content'));for(const _0x3540a0 of _0x15608f['getChildren']())_0x3540a0['is']('element')&&(_0x5597ef['consumable']['consume'](_0x3540a0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5597ef['consumable']['consume'](_0x3540a0,{'name':!0x0,'classes':'footnote-content'}));if(_0x18e196){if(_0x2bdbae)_0x5597ef['convertChildren'](_0x18e196,_0x28afd6);else{const _0x538843=_0x5597ef['writer']['createElement']('footnoteInlineContent');_0x5597ef['writer']['insert'](_0x538843,_0x28afd6),_0x5597ef['convertChildren'](_0x18e196,_0x538843);}}_0x5597ef['updateConversionResult'](_0x28afd6,_0x1af309);});}),_0x190e8b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47c7ed,{writer:_0x27c3fe})=>b(_0x47c7ed,_0x27c3fe,_0x35e2ce,{'dataPipeline':!0x0})}),_0x190e8b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4b6bfa,{writer:_0x508941})=>b(_0x4b6bfa,_0x508941,_0x35e2ce)});}['_defineBogusParagraphConverters'](){const {editor:_0x441dce}=this,{conversion:_0x21f4a7}=_0x441dce;_0x441dce['config']['get']('footnotes.multiBlock')?(_0x21f4a7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x21f4a7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x441dce['model']['document'],'change:data',()=>{!function(_0x9ea30f,_0x59bad1){const _0x31849c=_0x9ea30f['document']['differ'],_0x46c5ac=new Set();for(const _0x19714d of _0x31849c['getChanges']()){const _0x479daf='attribute'==_0x19714d['type']?_0x19714d['range']['start']['parent']:_0x19714d['position']['parent'];_0x479daf['is']('element','footnoteDefinition')&&_0x46c5ac['add'](_0x479daf);}for(const _0x20090b of _0x46c5ac['values']()){const _0x332f5e=Array['from'](_0x20090b['getChildren']())['filter'](_0x4abac4=>g(_0x4abac4,_0x59bad1['mapper']));for(const _0x20a76c of _0x332f5e)_0x59bad1['reconvertItem'](_0x20a76c);}}(_0x441dce['model'],_0x441dce['editing']);})):(_0x21f4a7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x21f4a7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2d1fa2,{writer:_0x1d0841})=>{const _0x370a79=_0x1d0841['createContainerElement']('span');return _0x1d0841['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x370a79),_0x370a79;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2fe9ed}=this,{editing:_0xc6e27b,t:t}=_0x2fe9ed,_0x4051cf=_0x2fe9ed['model']['document']['selection'];_0x2fe9ed['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2fe9ed['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xc6e27b['view']['document'],'enter',(_0x3ecc43,_0x22f6fa)=>{const _0x5ca9e2=function(_0x234767){const _0x1193c9=_0x234767['getSelectedElement']();if(_0x1193c9?.['is']('element','footnoteRef'))return _0x1193c9;return null;}(_0x4051cf);if(_0x5ca9e2){const _0x5419d5=_0x5ca9e2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5419d5),_0x22f6fa['preventDefault'](),_0x3ecc43['stop']();}},{'context':_0x59ac3a});}['_defineClickHandlers'](){const {editor:_0x26e653}=this,{editing:_0x5a215f}=_0x26e653;_0x26e653['editing']['view']['addObserver'](_0x14f0d2),_0x26e653['editing']['view']['addObserver'](_0x5770ff);let _0x5197fc=!0x1;this['listenTo'](_0x5a215f['view']['document'],'pointerdown',(_0x2b87b0,_0x875bb6)=>{const {target:_0x44ace8}=_0x875bb6,_0x460d9d=_0x5a215f['view']['document']['selection'];_0x5197fc=!!(_0x44ace8?.['is']('element','a')&&_0x44ace8['parent']?.['is']('element','sup')&&_0x44ace8['parent']['hasClass']('footnote'))&&_0x460d9d['getSelectedElement']()===_0x44ace8['parent'];},{'priority':'high'}),this['listenTo'](_0x5a215f['view']['document'],'click',(_0x225494,_0x63f621)=>{const {target:_0x939d7d}=_0x63f621;if(!_0x939d7d?.['is']('element','a'))return;if(_0x939d7d['parent']?.['is']('element','sup')&&_0x939d7d['parent']['hasClass']('footnote')&&!_0x5197fc)return void _0x63f621['preventDefault']();let _0x1ab21c=_0x939d7d['getAttribute']('href');if(!_0x1ab21c?.['startsWith']('#'))return;_0x1ab21c=_0x1ab21c['slice'](0x1);let _0x5f0deb=!0x1;(_0x1ab21c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1ab21c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1ab21c))&&(_0x5f0deb=!0x0),_0x5f0deb&&(_0x63f621['preventDefault'](),_0x225494['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x51049f}={}){return(_0x1f0128,{writer:_0x5b85e5})=>{if(!p(_0x1f0128))return null;if(!_0x51049f)return _0x5b85e5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x11390a=_0x5b85e5['createContainerElement']('p');return _0x5b85e5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11390a),_0x11390a;};}function p(_0x29d019){const {parent:_0x3dbf7b}=_0x29d019;if(!_0x3dbf7b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3dbf7b['childCount'])return!0x1;for(const _0x1b4290 of _0x29d019['getAttributeKeys']())if(!_0x1b4290['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1b4290)return!0x1;return!0x0;}function g(_0x43f0a0,_0x2be9d9){if(!_0x43f0a0['is']('element','paragraph'))return!0x1;const _0x51aca4=_0x2be9d9['toViewElement'](_0x43f0a0);return!!_0x51aca4&&p(_0x43f0a0)!==_0x51aca4['is']('element','span');}function J(_0x14101f){return _0x59ac3a(_0x14101f)&&_0x14101f['is']('containerElement')&&!!_0x14101f['getCustomProperty']('footnotesDefinitions');}function v(_0x2f7726,_0x57fc3f={}){const _0xbe021e=_0x2f7726['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2d572a=_0x2f7726['createContainerElement']('ol',{'class':'footnotes-list'},_0x2f7726['createSlot']());return _0x2f7726['createContainerElement']('div',{'class':'footnotes',..._0x57fc3f},[_0xbe021e,_0x2d572a]);}function D(_0x4d11b,_0x49e3fa){const _0x7d48d0=_0x4d11b['getAttribute']('footnoteId'),_0x1ddf1f=_0x4d11b['getAttribute']('footnoteCounter'),_0x1bb0e5=_0x49e3fa['createUIElement']('a',{'href':'#'+_0x7d48d0},function(_0x5e62ab){const _0x3d9c10=this['toDomElement'](_0x5e62ab);return _0x3d9c10['textContent']=_0x1ddf1f,_0x3d9c10;}),_0x8c9536=_0x49e3fa['createContainerElement']('sup',{'id':'ref-'+_0x7d48d0,'class':'footnote'},[_0x1bb0e5]);return _0x8c9536['getFillerOffset']=()=>null,_0x8c9536;}function b(_0x453ba3,_0x122867,_0xbccc58,{dataPipeline:_0x24373c}={}){const {t:t}=_0xbccc58,_0x10b6e9=_0x453ba3['getAttribute']('footnoteId'),_0x543030=_0x122867['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x10b6e9},function(_0x3d1e73){const _0x3557c6=this['toDomElement'](_0x3d1e73);return _0x3557c6['innerText']='^',_0x3557c6;}),_0x365ee8=_0x24373c?_0x122867['createContainerElement']('div',{'class':'footnote-content'}):_0x81caed(_0x122867['createEditableElement']('div',{'class':'footnote-content'}),_0x122867,{'label':t('Footnote\x20content.')});return _0x122867['insert'](_0x122867['createPositionAt'](_0x365ee8,0x0),_0x122867['createSlot']()),_0x122867['createContainerElement']('li',{'class':'footnote-definition','id':_0x10b6e9},[_0x543030,_0x365ee8]);}class e extends _0x2a75bb{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x294953];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x467585}=this,{plugins:_0x401106,model:_0x10b242}=_0x467585,_0x1f4270=_0x401106['get'](_0x294953),_0x598c09=_0x401106['get'](c);this['listenTo'](_0x1f4270,'outputTransformation',(_0x5f3dbd,_0x3535e1)=>{const _0x5805a6=f(_0x10b242['createRangeIn'](_0x3535e1['content']));if(!_0x5805a6['length'])return;const _0x2d0eb3=_0x598c09['getFootnotes'](),_0x5b6e33=_0x5805a6['reduce']((_0x37d491,_0x5ac919)=>{const _0x525490=_0x2d0eb3['find'](_0x7d869a=>_0x7d869a['id']===_0x5ac919);if(_0x525490){const _0xa1af68=_0x467585['data']['toView'](_0x525490['definition'],{'isClipboardPipeline':!0x0}),_0x45d27f=_0x467585['data']['htmlProcessor']['toData'](_0xa1af68);_0x37d491[_0x525490['id']]=_0x45d27f;}return _0x37d491;},Object['create'](null));_0x3535e1['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5b6e33));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x38e780}=this,{model:_0x35495c,plugins:_0x3e1ed1}=_0x38e780,{view:_0x25ed84}=_0x38e780['editing'],_0x2cf174=_0x3e1ed1['get'](_0x294953),_0x37e3a5=_0x3e1ed1['get'](c);let _0xd9a9c9=null;this['listenTo'](_0x25ed84['document'],'clipboardInput',(_0x4ecbbd,_0xd4984)=>{const _0x238a5e=_0xd4984['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xd9a9c9=_0x238a5e?JSON['parse'](_0x238a5e):null;}),this['listenTo'](_0x2cf174,'contentInsertion',(_0x44c741,_0x47bbc4)=>{const _0x34b1e7=_0x47bbc4['sourceEditorId']===this['editor']['id'];_0x34b1e7&&'drop'===_0x47bbc4['method']||_0x35495c['change'](_0x38d87d=>{let _0x575f70=_0x37e3a5['getFootnotesDefinitionsObjectElement']();const _0x297fb0=!!_0x575f70&&Array['from'](_0x35495c['document']['selection']['getSelectedBlocks']())['includes'](_0x575f70);if((_0x575f70&&!_0x297fb0||!_0x575f70&&!_0xd9a9c9)&&function(_0x3f397b,_0x24709f){const _0x14b37c=[];for(const {item:_0x4d0c0b}of _0x3f397b['createRangeIn'](_0x24709f))_0x4d0c0b['is']('element','footnotesDefinitions')&&_0x14b37c['push'](_0x4d0c0b);for(const _0x3f5d8b of _0x14b37c)_0x3f397b['remove'](_0x3f5d8b);}(_0x38d87d,_0x47bbc4['content']),!_0xd9a9c9)return;const {selection:_0x4b4dfe}=_0x35495c['document'],_0x28e256=_0x4b4dfe['getFirstRange']()['root'];_0x575f70&&!_0x297fb0||(_0x575f70=function(_0x2039db,_0xc90310){for(const {item:_0x2cb3be}of _0x2039db['createRangeIn'](_0xc90310))if(_0x2cb3be['is']('element','footnotesDefinitions'))return _0x2cb3be;return null;}(_0x38d87d,_0x47bbc4['content']),_0x575f70||=_0x37e3a5['_insertEmptyFootnotesDefinitionsContainer'](_0x38d87d,_0x28e256));const _0x1e5ca6=Array['from'](_0x4b4dfe['getRanges']())['flatMap'](f),_0x48fede=function(_0x2e9112,_0x23da88,_0x1c08c8){const _0x21ba3a=Object['create'](null);for(const {item:_0x5e0a63}of _0x2e9112['createRangeIn'](_0x23da88))if(_0x5e0a63['is']('element','footnoteRef')){const _0x1198d8=_0x5e0a63['getAttribute']('footnoteId');if(!_0x1c08c8(_0x1198d8))continue;_0x21ba3a[_0x1198d8]||(_0x21ba3a[_0x1198d8]=_0x10e37a()),_0x2e9112['setAttribute']('footnoteId',_0x21ba3a[_0x1198d8],_0x5e0a63);}return _0x21ba3a;}(_0x38d87d,_0x47bbc4['content'],_0x41246e=>{if(!_0x34b1e7)return!0x0;return!!_0x37e3a5['getFootnote'](_0x41246e)&&!_0x1e5ca6['includes'](_0x41246e);});for(const [_0x1c351b,_0xbbc1b]of Object['entries'](_0xd9a9c9)){const _0x549f21=_0x48fede[_0x1c351b]||_0x1c351b,_0x4c2c69=_0x38d87d['createElement']('footnoteDefinition',{'footnoteId':_0x549f21}),_0x3463d9=_0x38e780['data']['htmlProcessor']['toView'](_0xbbc1b),_0x1aac3a=_0x38e780['data']['toModel'](_0x3463d9,_0x4c2c69);_0x38d87d['append'](_0x1aac3a,_0x4c2c69),_0x38d87d['insert'](_0x4c2c69,_0x575f70,'end');}_0xd9a9c9=null;});});}}function f(_0x28acca){const _0x2cd699=new Set();for(const {item:_0xdf075f}of _0x28acca)_0xdf075f['is']('element','footnoteRef')&&_0x2cd699['add'](_0xdf075f['getAttribute']('footnoteId'));return Array['from'](_0x2cd699);}class i extends _0x2a75bb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x50621c}=this,{componentFactory:_0x3c4fe7}=_0x50621c['ui'];_0x3c4fe7['add']('insertFootnote',x(_0x50621c,_0x144e48)),_0x3c4fe7['add']('menuBar:insertFootnote',x(_0x50621c,_0x1ad2ec)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x152136=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a64ff;for(const _0x3a231a in _0x152136){const _0x49d513=_0x3a231a,_0x3f5bb1=_0x152136[_0x49d513];if('footnotesLicenseKeyValid'==_0x3f5bb1||'footnotesLicenseKeyInvalid'==_0x3f5bb1||'footnotesLicenseKeyExpired'==_0x3f5bb1||'footnotesLicenseKeyDomainLimit'==_0x3f5bb1||'footnotesLicenseKeyNotAllowed'==_0x3f5bb1||'footnotesLicenseKeyEvaluationLimit'==_0x3f5bb1||'footnotesLicenseKeyTrialLimit'==_0x3f5bb1||'footnotesLicenseKeyUsageLimit'==_0x3f5bb1){delete _0x152136[_0x49d513],_0x5a64ff=_0x3f5bb1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5a64ff&&_0x152136['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5a64ff&&_0x152136['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5a64ff&&_0x152136['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5a64ff&&_0x152136['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5a64ff&&_0x152136['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5a64ff&&_0x152136['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5a64ff&&_0x152136['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x27441b,_0x33631d){const _0x395f03=_0x27441b['commands']['get']('insertFootnote');return _0x419cf2=>{const {t:t}=_0x419cf2,_0x41a7c8=new _0x33631d(_0x419cf2),_0x222dce=_0x41a7c8 instanceof _0x1ad2ec;return _0x41a7c8['bind']('isEnabled')['to'](_0x395f03,'isEnabled'),_0x41a7c8['set']({'label':t(_0x222dce?'Footnote':'Insert\x20footnote'),'icon':_0x2d39d5,'tooltip':!0x0}),_0x41a7c8['on']('execute',()=>{_0x395f03['execute'](),_0x27441b['editing']['view']['focus']();}),_0x41a7c8;};}class lt extends _0x2a75bb{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x5d4c4f{['refresh'](){const {editor:_0x457ca7}=this,_0x13bfad=_0x457ca7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13bfad,this['value']=_0x13bfad?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2e8928}){const {editor:_0x3f4c87}=this,_0x14ec38=_0x3f4c87['plugins']['get'](c),_0x57b062=_0x14ec38['getFootnotesDefinitionsObjectElement']();_0x57b062&&Q['includes'](_0x2e8928)&&_0x3f4c87['model']['change'](_0x1504cf=>{_0x1504cf['setAttribute']('footnotesListStyle',_0x2e8928,_0x57b062),_0x14ec38['_updateFootnotesCounters'](_0x1504cf);});}}class C extends _0x5d4c4f{['refresh'](){const {editor:_0x2b1c0c}=this,_0x502eea=_0x2b1c0c['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x502eea,this['value']=_0x502eea?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2263c6}){const {editor:_0x1e8799}=this,_0x3e0c43=_0x1e8799['plugins']['get'](c),_0xc623e5=_0x3e0c43['getFootnotesDefinitionsObjectElement']();_0xc623e5&&Number['isInteger'](_0x2263c6)&&_0x1e8799['model']['change'](_0x1b47fb=>{_0x1b47fb['setAttribute']('footnotesListStart',_0x2263c6,_0xc623e5),_0x3e0c43['_updateFootnotesCounters'](_0x1b47fb);});}}class P extends _0x2a75bb{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd175a5}=this;_0xd175a5['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xd175a5['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xd175a5['commands']['add']('footnotesStyle',new S(_0xd175a5)),_0xd175a5['commands']['add']('footnotesStart',new C(_0xd175a5)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2328b8}=this,{schema:_0x508647}=_0x2328b8['model'];_0x508647['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xf55f8f}=this,{conversion:_0x1c0a13,model:_0x13fe47}=_0xf55f8f,{schema:_0x35d39c}=_0x13fe47;_0x1c0a13['for']('upcast')['add'](_0x415579=>{_0x415579['on']('element:ol',(_0x590589,_0x5d17b4,_0x35b691)=>{const _0x4a77e0=_0x5d17b4['viewItem'],_0x296324=_0x5d17b4['modelCursor']?.['parent'];_0x4a77e0['hasClass']('footnotes-list')&&_0x296324?.['is']('element','footnotesDefinitions')&&(function(_0x3d6ee6,_0x22f631,_0x7ba947,_0x105a06){if(!_0x105a06['checkAttribute'](_0x22f631,'footnotesListStart'))return;let _0x2a2ffb=0x1;const _0x493e5a=_0x7ba947['consumable']['consume'](_0x3d6ee6,{'attributes':'start'});if(_0x493e5a){const _0x2c49bd=Number['parseInt'](_0x3d6ee6['getAttribute']('start'),0xa);Number['isNaN'](_0x2c49bd)||(_0x2a2ffb=_0x2c49bd);}!_0x493e5a&&_0x22f631['hasAttribute']('footnotesListStart')||_0x7ba947['writer']['setAttribute']('footnotesListStart',_0x2a2ffb,_0x22f631);}(_0x4a77e0,_0x296324,_0x35b691,_0x35d39c),function(_0x47dbdb,_0x1b367a,_0x53b666,_0x5a73e8){if(!_0x5a73e8['checkAttribute'](_0x1b367a,'footnotesListStyle'))return;let _0x186396='decimal',_0x32b518=!0x1;if(_0x53b666['consumable']['consume'](_0x47dbdb,{'attributes':'type'})){const _0x49ba66={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x47dbdb['getAttribute']('type')];_0x49ba66&&(_0x186396=_0x49ba66),_0x32b518=!0x0;}_0x53b666['consumable']['consume'](_0x47dbdb,{'styles':'list-style-type'})&&(_0x186396=_0x47dbdb['getStyle']('list-style-type'),_0x32b518=!0x0),!_0x32b518&&_0x1b367a['hasAttribute']('footnotesListStyle')||_0x53b666['writer']['setAttribute']('footnotesListStyle',_0x186396,_0x1b367a);}(_0x4a77e0,_0x296324,_0x35b691,_0x35d39c));});}),_0x1c0a13['for']('downcast')['add'](_0x5f1549=>{_0x5f1549['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3b4d39,_0x28e8a4,_0x53c05a)=>{if(!_0x53c05a['consumable']['consume'](_0x28e8a4['item'],_0x3b4d39['name']))return;const _0x52b064=M(_0x28e8a4['item'],_0x53c05a['mapper']),{attributeNewValue:_0x499cd8}=_0x28e8a4;null==_0x499cd8||0x1===_0x499cd8?_0x53c05a['writer']['removeAttribute']('start',_0x52b064):_0x53c05a['writer']['setAttribute']('start',String(_0x499cd8),_0x52b064);}),_0x5f1549['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x43b97f,_0x179d3a,_0xd30be8)=>{if(!_0xd30be8['consumable']['consume'](_0x179d3a['item'],_0x43b97f['name']))return;const _0x1b75a3=M(_0x179d3a['item'],_0xd30be8['mapper']),{attributeNewValue:_0x38545a}=_0x179d3a;_0x38545a&&'decimal'!==_0x38545a?_0xd30be8['writer']['setStyle']('list-style-type',_0x38545a,_0x1b75a3):_0xd30be8['writer']['removeStyle']('list-style-type',_0x1b75a3);});});}['_definePostfixer'](){const {editor:_0x5cf2f9}=this,{model:_0x38412d}=_0x5cf2f9,_0x30d214=_0x5cf2f9['plugins']['get'](c),_0x449821=this['_getDefaultListStyle'](),_0x4a0685=this['_getDefaultStartIndex']();_0x38412d['document']['registerPostFixer'](_0x103461=>{const _0x44024b=_0x38412d['document']['differ']['getChanges']();let _0x77c482=!0x1;for(const _0x55d286 of _0x44024b){if('insert'!==_0x55d286['type']||'$text'===_0x55d286['name'])continue;const _0x32a47e=_0x38412d['createRangeOn'](_0x55d286['position']['nodeAfter']);for(const _0x277338 of _0x32a47e['getItems']())_0x277338['is']('element','footnotesDefinitions')&&(!_0x277338['hasAttribute']('footnotesListStart')&&_0x38412d['schema']['checkAttribute'](_0x277338,'footnotesListStart')&&(_0x103461['setAttribute']('footnotesListStart',_0x4a0685,_0x277338),_0x77c482=!0x0),!_0x277338['hasAttribute']('footnotesListStyle')&&_0x38412d['schema']['checkAttribute'](_0x277338,'footnotesListStyle')&&(_0x103461['setAttribute']('footnotesListStyle',_0x449821,_0x277338),_0x77c482=!0x0));}return _0x77c482&&_0x30d214['_updateFootnotesCounters'](_0x103461),_0x77c482;});}['_defineFormatter'](){const {editor:_0x261acb}=this;_0x261acb['plugins']['get'](c)['setFootnoteFormatter'](_0xac4392=>this['_formatFootnoteListValue'](_0xac4392));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x279f44,value:_0x437668,digits:_0x533e7e}){const _0x47dc44=_0x279f44['getAttribute']('footnotesListStyle'),_0x36a8ef=_0x279f44['getAttribute']('footnotesListStart'),_0x1fce30=Math['floor'](_0x437668)+(_0x36a8ef??0x1)-0x1;switch(_0x47dc44){case'decimal-leading-zero':return function(_0x396389,_0x218fff){return String(_0x396389)['padStart'](_0x218fff,'0');}(_0x1fce30,Math['max'](0x2,_0x533e7e));case'lower-alpha':case'lower-latin':return N(_0x1fce30,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1fce30,!0x0);case'lower-roman':return X(_0x1fce30,!0x1);case'upper-roman':return X(_0x1fce30,!0x0);default:return String(_0x1fce30);}}}function M(_0x51b178,_0x41dc9d){const _0x3be7d1=_0x41dc9d['toViewElement'](_0x51b178);return Array['from'](_0x3be7d1['getChildren']())['find'](_0x4cb6b6=>_0x4cb6b6['is']('element','ol')&&_0x4cb6b6['hasClass']('footnotes-list'));}function N(_0x18e449,_0x485eda){let _0x10367e='',_0x39bf27=_0x18e449;for(;_0x39bf27>0x0;){const _0x39df14=(_0x39bf27-0x1)%0x1a;_0x10367e=String['fromCharCode'](0x61+_0x39df14)+_0x10367e,_0x39bf27=Math['floor']((_0x39bf27-0x1)/0x1a);}return _0x485eda?_0x10367e['toUpperCase']():_0x10367e;}const V=[{'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 X(_0x348214,_0x5ade3b){let _0x572887='',_0x7e1cca=_0x348214;for(const {value:_0x5a4dff,numeral:_0x4a8d1c}of V)for(;_0x7e1cca>=_0x5a4dff;)_0x572887+=_0x4a8d1c,_0x7e1cca-=_0x5a4dff;return _0x5ade3b?_0x572887:_0x572887['toLowerCase']();}class H extends _0x2111e3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5a0e45();['focusCycler'];constructor(_0x1ce46a,{styleButtonViews:_0x4a12ef,styleGridAriaLabel:_0x222c00}){super(_0x1ce46a),(this['focusCycler']=new _0x2a39a8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4a12ef,_0x222c00),[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 _0x1716a1 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1716a1['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x5d2fb5=_0x5e6f20=>_0x5e6f20['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5d2fb5),this['keystrokes']['set']('arrowleft',_0x5d2fb5),this['keystrokes']['set']('arrowup',_0x5d2fb5),this['keystrokes']['set']('arrowdown',_0x5d2fb5);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x112cab,_0x2c2f6c){const _0x4d0929=new _0x2111e3(this['locale']);return _0x4d0929['children']=_0x4d0929['createCollection'](),_0x4d0929['children']['addMany'](_0x112cab),_0x4d0929['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2c2f6c,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d0929['children']}),_0x4d0929['children']['delegate']('execute')['to'](this),_0x4d0929['focus']=function(){for(const _0x215334 of this['children'])if(_0x215334 instanceof _0x144e48&&_0x215334['isOn'])return void _0x215334['focus']();this['children']['first']['focus']();},_0x4d0929['focusTracker']=new ot(),_0x4d0929['keystrokes']=new rt(),_0x4d0929['render'](),_0x4d0929['keystrokes']['listenTo'](_0x4d0929['element']),this['children']['add'](_0x4d0929),_0x4d0929;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x15b779=this['_createStartIndexPropertyView'](),_0x1824a6=[_0x15b779],_0x5d1ceb=new st(this['locale'],_0x1824a6);return _0x5d1ceb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5d1ceb['buttonView']['bind']('isEnabled')['toMany'](_0x1824a6,'isEnabled',(..._0x47eceb)=>_0x47eceb['some'](_0x2b472e=>_0x2b472e)),_0x5d1ceb['buttonView']['on']('change:isEnabled',(_0x1a48ad,_0x1b8214,_0x12c017)=>{_0x12c017||(_0x5d1ceb['isCollapsed']=!0x0);}),this['children']['add'](_0x5d1ceb),[_0x15b779,_0x5d1ceb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5368f4=new it(this['locale'],et);return _0x5368f4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5368f4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5368f4['fieldView']['on']('input',()=>{const _0x5577cf=_0x5368f4['fieldView']['element'],_0x11b21e=_0x5577cf['valueAsNumber'];Number['isNaN'](_0x11b21e)?_0x5368f4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5577cf['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x11b21e}):_0x5368f4['errorText']=t(_0x11b21e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5368f4;}}class j extends _0x2a75bb{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x288164,_0x53a083];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x111969}=this,{componentFactory:_0x1e8bc8}=_0x111969['ui'];_0x111969['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1e8bc8['add']('footnotesStyle',function(_0x47462c){return _0x47c20d=>{const {t:t}=_0x47c20d,_0x246913=_0x47462c['commands']['get']('footnotesStyle'),_0x486c62=_0x20fb35(_0x47c20d),{buttonView:_0x42143d}=_0x486c62;return _0x486c62['class']='ck-footnotes-styles-dropdown',_0x486c62['bind']('isEnabled')['to'](_0x246913,'isEnabled'),_0x42143d['set']({'label':t('Footnotes\x20style'),'icon':_0x2d39d5,'tooltip':!0x0}),_0x486c62['once']('change:isOpen',()=>{const _0x18c8f5=function({editor:_0x4ec104,dropdownView:_0x5c2a1c}){const {t:t}=_0x4ec104['locale'],_0x1a239f=t('Footnotes\x20definitions\x20styles'),_0x6b86c1=function(_0x358578){const t=_0x358578['locale']['t'],_0x4b2ece=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x426d7f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2afc42},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x46d740},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x486752},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x30fe3c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5d632a}];return _0x4b2ece['map'](function(_0x5962d5){const _0x4cfd23=_0x5962d5['locale'];return({label:_0x1542cc,icon:_0x15f2b2,tooltip:_0x19f38f,style:_0x34f0db})=>{const _0x478b7c=_0x5962d5['commands']['get']('footnotesStyle'),_0x1ef38d=new _0x144e48(_0x4cfd23);return _0x1ef38d['set']({'label':_0x1542cc,'icon':_0x15f2b2,'tooltip':_0x19f38f}),_0x1ef38d['bind']('isOn')['to'](_0x478b7c,'value',_0x3b7b14=>_0x3b7b14===_0x34f0db),_0x1ef38d['bind']('isEnabled')['to'](_0x478b7c,'isEnabled'),_0x1ef38d['on']('execute',()=>{_0x5962d5['execute']('footnotesStyle',{'value':_0x34f0db}),_0x5962d5['editing']['view']['focus']();}),_0x1ef38d;};}(_0x358578));}(_0x4ec104),_0x1ac769=new H(_0x4ec104['locale'],{'styleGridAriaLabel':_0x1a239f,'styleButtonViews':_0x6b86c1});return _0x1ac769['delegate']('execute')['to'](_0x5c2a1c),_0x1ac769['on']('footnotesListStart',(_0x104d6f,_0x2fa0f6)=>{_0x4ec104['execute']('footnotesStart',{'value':_0x2fa0f6['startIndex']});}),_0x1ac769;}({'editor':_0x47462c,'dropdownView':_0x486c62});_0x486c62['panelView']['children']['add'](_0x18c8f5);}),_0x486c62;};}(_0x111969));}['afterInit'](){const {editor:_0x2e3c7c}=this,{t:t}=_0x2e3c7c['locale'],_0x42eb13=_0x2e3c7c['plugins']['get'](_0x53a083),{defaultPositions:_0x506511}=_0x5c3fcf;_0x42eb13['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2e3c7c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xef054e=>{let _0x3e6cfb=_0xef054e['getFirstPosition']()?.['parent'];return _0x3e6cfb?.['is']('$text')&&(_0x3e6cfb=_0x3e6cfb['parent']),_0x3e6cfb?.['is']('element')?_0x3e6cfb['findAncestor'](J):null;},'positions':[_0x506511['southArrowNorth'],_0x506511['southArrowNorthMiddleWest'],_0x506511['southArrowNorthMiddleEast'],_0x506511['southArrowNorthWest'],_0x506511['southArrowNorthEast'],_0x506511['northArrowSouth'],_0x506511['northArrowSouthMiddleWest'],_0x506511['northArrowSouthMiddleEast'],_0x506511['northArrowSouthWest'],_0x506511['northArrowSouthEast'],_0x506511['viewportStickyNorth']]});}}class ft extends _0x2a75bb{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m 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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x8df9b2=>0x1!=_0x8df9b2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x506b5c=>{const {af:{dictionary:_0x484ee1,getPluralForm:_0x574f88}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x22fddd=>0x1!=_0x22fddd}};_0x506b5c['af']||={'dictionary':{},'getPluralForm':null},_0x506b5c['af']['dictionary']=Object['assign'](_0x506b5c['af']['dictionary'],_0x484ee1),_0x506b5c['af']['getPluralForm']=_0x574f88;})(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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x29c96a=>0x0==_0x29c96a?0x0:0x1==_0x29c96a?0x1:0x2==_0x29c96a?0x2:_0x29c96a%0x64>=0x3&&_0x29c96a%0x64<=0xa?0x3:_0x29c96a%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x291a47=>{const {ar:{dictionary:_0x447ff7,getPluralForm:_0x16063c}}={'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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x113c69=>0x0==_0x113c69?0x0:0x1==_0x113c69?0x1:0x2==_0x113c69?0x2:_0x113c69%0x64>=0x3&&_0x113c69%0x64<=0xa?0x3:_0x113c69%0x64>=0xb?0x4:0x5}};_0x291a47['ar']||={'dictionary':{},'getPluralForm':null},_0x291a47['ar']['dictionary']=Object['assign'](_0x291a47['ar']['dictionary'],_0x447ff7),_0x291a47['ar']['getPluralForm']=_0x16063c;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x10a591=>0x1!=_0x10a591}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28b7fa=>{const {ast:{dictionary:_0x3c8bc4,getPluralForm:_0x4c30fd}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2cd411=>0x1!=_0x2cd411}};_0x28b7fa['ast']||={'dictionary':{},'getPluralForm':null},_0x28b7fa['ast']['dictionary']=Object['assign'](_0x28b7fa['ast']['dictionary'],_0x3c8bc4),_0x28b7fa['ast']['getPluralForm']=_0x4c30fd;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2aa4e5=>0x1!=_0x2aa4e5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3449a8=>{const {az:{dictionary:_0x252177,getPluralForm:_0x156b89}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x59dbd5=>0x1!=_0x59dbd5}};_0x3449a8['az']||={'dictionary':{},'getPluralForm':null},_0x3449a8['az']['dictionary']=Object['assign'](_0x3449a8['az']['dictionary'],_0x252177),_0x3449a8['az']['getPluralForm']=_0x156b89;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x1a7eff=>_0x1a7eff%0xa==0x1&&_0x1a7eff%0x64!=0xb?0x0:_0x1a7eff%0xa>=0x2&&_0x1a7eff%0xa<=0x4&&(_0x1a7eff%0x64<0xa||_0x1a7eff%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2366e6=>{const {be:{dictionary:_0x3e499f,getPluralForm:_0x41bfd3}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x29239e=>_0x29239e%0xa==0x1&&_0x29239e%0x64!=0xb?0x0:_0x29239e%0xa>=0x2&&_0x29239e%0xa<=0x4&&(_0x29239e%0x64<0xa||_0x29239e%0x64>=0x14)?0x1:0x2}};_0x2366e6['be']||={'dictionary':{},'getPluralForm':null},_0x2366e6['be']['dictionary']=Object['assign'](_0x2366e6['be']['dictionary'],_0x3e499f),_0x2366e6['be']['getPluralForm']=_0x41bfd3;})(window['CKEDITOR_TRANSLATIONS']||={});
|