@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251210.0 → 0.0.0-nightly-next-20251211.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 _0x2cc155,Command as _0x42b54c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x488c20,isWidget as _0x33488a,toWidgetEditable as _0x31eb07,WidgetToolbarRepository as _0x273f2f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2b2c74,logWarning as _0x3693c9,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x47f5d3,ClickObserver as _0xd76d2d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5c2bac}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x472169,ButtonView as _0x45dd1b,View as _0x3e1bc0,ViewCollection as _0x4c6099,FocusCycler as _0x696146,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4bb75a,BalloonPanelView as _0x130642,createDropdown as _0x1edc82}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x13c972,IconListStyleDecimal as _0x2c7db0,IconListStyleDecimalLeadingZero as _0x1c769f,IconListStyleLowerRoman as _0x2c17aa,IconListStyleUpperRoman as _0x56ec67,IconListStyleLowerLatin as _0x1ccead,IconListStyleUpperLatin as _0x5294a2}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x341c44,_0x4b367c){this['_model']=_0x341c44,this['_elementName']=_0x4b367c['elementName'],this['_getElementKey']=_0x4b367c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2cc88c){const _0x22e977=new Set(),_0x3c381b=new Map();for(const _0x362b7e of _0x2cc88c){if('insert'===_0x362b7e['type']&&'$text'!==_0x362b7e['name']&&_0x362b7e['position']['nodeAfter']){const _0x3168be=this['_model']['createRangeOn'](_0x362b7e['position']['nodeAfter']);for(const _0x3b7051 of _0x3168be['getItems']()){if(!_0x3b7051['is']('element',this['_elementName']))continue;const _0x3e3cc4=this['_getElementKey'](_0x3b7051);_0x3c381b['has'](_0x3e3cc4)||_0x3c381b['set'](_0x3e3cc4,[]),_0x3c381b['get'](_0x3e3cc4)['push'](_0x3b7051);}}if('remove'===_0x362b7e['type']&&_0x362b7e['name']===this['_elementName']){const _0x45b195=this['_getElementKey']({'getAttribute':_0x140ad2=>_0x362b7e['attributes']['get'](_0x140ad2)});_0x22e977['add'](_0x45b195);}}for(const [_0x503f80,_0x54e133]of this['_trackedElements'])'$graveyard'===_0x54e133['root']['rootName']&&_0x22e977['add'](_0x503f80);for(const _0x1f0d2f of _0x22e977)this['_trackedElements']['delete'](_0x1f0d2f);for(const [_0x1af614,_0x383a33]of _0x3c381b)this['_trackedElements']['set'](_0x1af614,_0x383a33[_0x383a33['length']-0x1]);const _0x289a93=new Set();for(const [_0xd0ec28,_0x2f1ea6]of _0x3c381b)_0x22e977['has'](_0xd0ec28)&&(_0x289a93['add'](_0x2f1ea6[0x0]),_0x2f1ea6['length']>0x1?_0x3c381b['set'](_0xd0ec28,_0x2f1ea6['slice'](0x1)):_0x3c381b['delete'](_0xd0ec28),_0x22e977['delete'](_0xd0ec28));return{'removed':Array['from'](_0x22e977),'inserted':Array['from'](_0x3c381b['values']())['flat'](),'moved':Array['from'](_0x289a93)};}}class f extends _0x2cc155{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x40f5ec){super(_0x40f5ec),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3e9a82=>_0x3e9a82['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x573d88=>_0x573d88['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5e82c5}=this,{model:_0x2486d1,data:_0x1d5d8c}=_0x5e82c5;_0x2486d1['document']['registerPostFixer'](_0x56f74b=>{const _0x20afee=_0x2486d1['document']['differ']['getChanges']();let _0x4d2f1c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x56f74b,_0x20afee)&&(_0x4d2f1c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x56f74b,_0x20afee)&&(_0x4d2f1c=!0x0),this['_handleFootnoteReferencesChanges'](_0x56f74b,_0x20afee)&&(_0x4d2f1c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x56f74b)&&(_0x4d2f1c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x56f74b)&&(_0x4d2f1c=!0x0),this['_sortFootnoteDefinitions'](_0x56f74b)&&(_0x4d2f1c=!0x0),_0x4d2f1c;}),this['listenTo'](_0x2486d1['document'],'change:data',()=>{_0x2486d1['enqueueChange']({'isUndoable':!0x1},_0x51973e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x51973e);});},{'priority':'low'}),this['listenTo'](_0x1d5d8c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x37db0b){return this['_footnotes']['find'](_0x2ce7ee=>_0x2ce7ee['id']===_0x37db0b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x97c41b){this['_footnoteFormatter']=_0x97c41b;}['_updateFootnotesCounters'](_0x163057,_0x4fcbbc=0x0){let _0x403d9f=!0x1;for(let _0x28db4b=_0x4fcbbc;_0x28db4b<this['_footnotes']['length'];_0x28db4b++)this['_updateFootnoteRefCounter'](_0x163057,_0x28db4b)&&(_0x403d9f=!0x0);return _0x403d9f;}['_insertEmptyFootnotesDefinitionsContainer'](_0x57934f,_0x193248){const _0x4c9b10=_0x57934f['createElement']('footnotesDefinitions',{});return _0x57934f['append'](_0x4c9b10,_0x193248),this['_footnotesDefinitions']=_0x4c9b10,_0x4c9b10;}['_ensureFootnotesDefinitionsContainerExists'](_0x5c47a8){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x49552f=this['_footnotes'][0x0]['reference']['root'],_0x56d55c=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5c47a8,_0x49552f);for(const _0x29a792 of this['_footnotes'])_0x29a792['definition']['parent']||_0x5c47a8['insert'](_0x29a792['definition'],_0x56d55c,'end');this['_updateFootnotesCounters'](_0x5c47a8);}['_handleFootnotesDefinitionsObjectChanges'](_0x1150ad,_0x9b16){let _0x5e1e53=!0x1;const {inserted:_0x150e95,removed:_0x5a90f1,moved:_0x45a452}=this['_footnoteDefsContainerTracker']['getChanges'](_0x9b16);if(_0x45a452['length']&&(this['_footnotesDefinitions']=_0x45a452[0x0]),_0x150e95['length']){if(_0x150e95['length']>0x1||this['_footnotesDefinitions']&&_0x150e95['some'](_0x537135=>_0x537135!==this['_footnotesDefinitions'])){const _0x26d886=_0x1150ad['createElement']('footnotesDefinitions',{}),_0x205897=[];this['_footnotesDefinitions']&&_0x205897['push'](this['_footnotesDefinitions']),_0x205897['push'](..._0x150e95),_0x1150ad['insert'](_0x26d886,_0x205897[0x0],'before');for(const _0x45feee of _0x205897)_0x1150ad['move'](_0x1150ad['createRangeIn'](_0x45feee),_0x1150ad['createPositionAt'](_0x26d886,'end')),_0x1150ad['remove'](_0x45feee);this['_footnotesDefinitions']=_0x26d886,this['_updateFootnotesCounters'](_0x1150ad),_0x5e1e53=!0x0;}else this['_footnotesDefinitions']=_0x150e95[0x0];}if(_0x5a90f1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1a8487 of this['_footnotes'])_0x1150ad['remove'](_0x1a8487['reference']),_0x5e1e53=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5e1e53;}['_handleFootnoteDefinitionsChanges'](_0x40873e,_0x59c58b){let _0x4f6e89=!0x1;const _0xed0a52=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x380c24,moved:_0x9f69e3}=this['_footnoteDefsTracker']['getChanges'](_0x59c58b);for(const _0x26b94e of[..._0x9f69e3,..._0x380c24]){const _0x2745cf=_0x26b94e['getAttribute']('footnoteId'),_0xa12ff9=this['getFootnote'](_0x2745cf);_0xa12ff9&&(_0xa12ff9['definition']=_0x26b94e),_(_0x40873e,_0xed0a52,_0x26b94e)&&(_0x4f6e89=!0x0);}return _0x4f6e89;}['_handleFootnoteReferencesChanges'](_0x14eb1e,_0x2757bf){let _0x38b141=!0x1;const {removed:_0x46a855,inserted:_0x294143,moved:_0x19b5e7}=this['_footnoteRefsTracker']['getChanges'](_0x2757bf);for(const _0x1b4992 of _0x46a855)this['_handleRemoveFootnoteReferenceById'](_0x14eb1e,_0x1b4992)&&(_0x38b141=!0x0);for(const _0x20b478 of _0x294143)this['_handleInsertedFootnoteReference'](_0x14eb1e,_0x20b478)&&(_0x38b141=!0x0);for(const _0x5da38a of _0x19b5e7)this['_handleMovedFootnoteReference'](_0x14eb1e,_0x5da38a)&&(_0x38b141=!0x0);return _0x38b141;}['_handleFootnotesDefinitionsObjectSync'](_0x3dae9c){if(!this['_footnotesDefinitions'])return!0x1;let _0x4a683c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3aa453=[];for(const _0x303eb9 of this['_footnotesDefinitions']['getChildren']()){const _0x32e187=_0x303eb9['getAttribute']('footnoteId');this['getFootnote'](_0x32e187)||(_0x3aa453['unshift'](_0x303eb9),_0x4a683c=!0x0);}for(const _0x523141 of _0x3aa453)_0x3dae9c['remove'](_0x523141);}const _0x3ae574=new Set(),_0x4be6d8=[];for(const _0x2e32f6 of this['_footnotesDefinitions']['getChildren']()){const _0x31ade8=_0x2e32f6['getAttribute']('footnoteId');_0x3ae574['has'](_0x31ade8)?(_0x4be6d8['unshift'](_0x2e32f6),_0x4a683c=!0x0):_0x3ae574['add'](_0x31ade8);}for(const _0x157738 of _0x4be6d8)_0x3dae9c['remove'](_0x157738);return this['_footnotesDefinitions']['childCount']||(_0x3dae9c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4a683c=!0x0),_0x4a683c;}['_handleInsertedFootnoteReference'](_0x2accba,_0x237939){if(this['_footnotes']['find'](_0x5b89ad=>_0x5b89ad['reference']===_0x237939))return!0x1;let _0x3bceff=!0x1;const _0x1723aa=_0x237939['getAttribute']('footnoteId'),_0x15d094=this['_footnotes']['findIndex'](_0x75edee=>_0x75edee['id']===_0x1723aa);-0x1!==_0x15d094&&(_0x2accba['remove'](this['_footnotes'][_0x15d094]['reference']),this['_footnotes']['splice'](_0x15d094,0x1),_0x3bceff=!0x0);let _0x1c5d81=this['_footnotesDefinitions']?function(_0x52197c,_0x515e7d){for(const _0x3e52f9 of _0x52197c['getChildren']())if(_0x3e52f9['getAttribute']('footnoteId')===_0x515e7d)return _0x3e52f9;return null;}(this['_footnotesDefinitions'],_0x1723aa):null;_0x1c5d81||(_0x1c5d81=_0x2accba['createElement']('footnoteDefinition',{'footnoteId':_0x1723aa}),this['_footnotesDefinitions']&&(_0x2accba['insert'](_0x1c5d81,this['_footnotesDefinitions'],'end'),_0x3bceff=!0x0));const _0x2dcb8c={'id':_0x1723aa,'reference':_0x237939,'definition':_0x1c5d81},_0x57ff55=I(this['editor']['model'],this['_footnotes'],_0x237939);this['_footnotes']['splice'](_0x57ff55,0x0,_0x2dcb8c);let _0x23bd87=_0x57ff55;return-0x1!==_0x15d094&&(_0x23bd87=Math['min'](_0x57ff55,_0x15d094)),this['_updateFootnotesCounters'](_0x2accba,_0x23bd87)&&(_0x3bceff=!0x0),_0x3bceff;}['_handleRemoveFootnoteReferenceById'](_0x1c46bc,_0x3949ac){const _0x38f0c9=this['_footnotes']['findIndex'](_0x51e1b2=>_0x51e1b2['id']===_0x3949ac);if(-0x1===_0x38f0c9)return!0x1;let _0x34723e=!0x1;const _0xb78442=this['_footnotes'][_0x38f0c9];return'$graveyard'!==_0xb78442['definition']['root']['rootName']&&(_0x1c46bc['remove'](_0xb78442['definition']),_0x34723e=!0x0),this['_footnotes']['splice'](_0x38f0c9,0x1),this['_updateFootnotesCounters'](_0x1c46bc,_0x38f0c9)&&(_0x34723e=!0x0),_0x34723e;}['_handleMovedFootnoteReference'](_0x5e7e78,_0x1a9e61){const _0x44cfeb=_0x1a9e61['getAttribute']('footnoteId'),_0x15e6e9=this['_footnotes']['findIndex'](_0x1fcdee=>_0x1fcdee['id']===_0x44cfeb),_0x4da021=this['_footnotes'][_0x15e6e9];let _0x166247=!0x1;_0x4da021['reference']=_0x1a9e61,this['_footnotes']['splice'](_0x15e6e9,0x1);const _0x449334=I(this['editor']['model'],this['_footnotes'],_0x1a9e61);return this['_footnotes']['splice'](_0x449334,0x0,_0x4da021),this['_updateFootnotesCounters'](_0x5e7e78,Math['min'](_0x15e6e9,_0x449334))&&(_0x166247=!0x0),_0x166247;}['_updateFootnoteRefCounter'](_0x12f404,_0xf875cd){if(!this['_footnotesDefinitions'])return!0x1;const _0x40cbab=this['_footnotes'][_0xf875cd];let _0x1c3a1d;return _0x1c3a1d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x40cbab,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xf875cd+0x1}):String(_0xf875cd+0x1),_0x40cbab['reference']['getAttribute']('footnoteCounter')!=_0x1c3a1d&&(_0x12f404['setAttribute']('footnoteCounter',_0x1c3a1d,_0x40cbab['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3f564e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3d9219,_0x42b97d){if(_0x3d9219['length']!==_0x42b97d['length'])return!0x1;for(let _0x552035=0x0;_0x552035<_0x3d9219['length'];_0x552035++)if(_0x3d9219[_0x552035]!==_0x42b97d[_0x552035])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x33eaaf=>_0x33eaaf['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x582a8f=>_0x582a8f['getAttribute']('footnoteId'))))return!0x1;let _0xf02b41=!0x1;for(let _0x20567a=0x0;_0x20567a<this['_footnotes']['length'];_0x20567a++){const _0x5d9a04=this['_footnotes'][_0x20567a],_0x156ac3=_0x3f564e['createPositionBefore'](_0x5d9a04['definition']),_0x502016=_0x3f564e['createPositionAt'](this['_footnotesDefinitions'],_0x20567a);_0x156ac3['isEqual'](_0x502016)||(_0x3f564e['move'](_0x3f564e['createRangeOn'](_0x5d9a04['definition']),_0x502016),_0xf02b41=!0x0);}return _0xf02b41;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4b2dd4){if(!this['_footnotes']['length'])return!0x1;const {model:_0x55b3fe}=this['editor'];let _0x14ebd8=!0x1;for(let _0x45f9e8=0x0;_0x45f9e8<this['_footnotes']['length']-0x1;_0x45f9e8++){const _0x31efaa=this['_footnotes'][_0x45f9e8],_0x27c003=this['_footnotes'][_0x45f9e8+0x1],_0x87c397=_0x55b3fe['createPositionBefore'](_0x31efaa['reference']),_0x45d01e=_0x55b3fe['createPositionBefore'](_0x27c003['reference']);'after'===_0x87c397['compareWith'](_0x45d01e)&&(this['_handleMovedFootnoteReference'](_0x4b2dd4,_0x31efaa['reference']),_0x45f9e8=-0x1,_0x14ebd8=!0x0);}return _0x14ebd8;}}function _(_0x1b4c18,_0x5e1d0b,_0x5dac7d){if(_0x5dac7d['childCount'])return!0x1;const _0x5ad2b9=_0x5e1d0b?'paragraph':'footnoteInlineContent';return _0x1b4c18['insert'](_0x1b4c18['createElement'](_0x5ad2b9),_0x5dac7d),!0x0;}function I(_0x2a55e9,_0x565d2a,_0x2f7353){if(0x0===_0x565d2a['length'])return 0x0;const _0xb62412=_0x2a55e9['createPositionBefore'](_0x2f7353);for(let _0xca7b94=0x0;_0xca7b94<_0x565d2a['length'];_0xca7b94++){const _0x235869=_0x565d2a[_0xca7b94],_0x1c4382=_0x2a55e9['createPositionBefore'](_0x235869['reference']);if('before'===_0xb62412['compareWith'](_0x1c4382))return _0xca7b94;}const _0x3ac59c=_0x2f7353['root'];let _0xfd1635=-0x1;for(let _0xbc3fbb=_0x565d2a['length']-0x1;_0xbc3fbb>=0x0;_0xbc3fbb--)if(_0x565d2a[_0xbc3fbb]['reference']['root']===_0x3ac59c){_0xfd1635=_0xbc3fbb;break;}if(-0x1!==_0xfd1635)return _0xfd1635+0x1;const _0x38f253=_0x2a55e9['document']['getRootNames'](),_0xc77083=_0x38f253['indexOf'](_0x3ac59c['rootName']),_0x3174b2=_0x38f253[_0xc77083+0x1];if(_0x3174b2){for(let _0x259981=0x0;_0x259981<_0x565d2a['length'];_0x259981++)if(_0x565d2a[_0x259981]['reference']['root']['rootName']===_0x3174b2)return _0x259981;}return _0x565d2a['length'];}class m extends _0x42b54c{['refresh'](){const _0x40fe1f=this['editor']['model']['document']['selection'],_0x39542c=this['_getPositionToInsertFootnote'](_0x40fe1f);this['isEnabled']=!!_0x39542c;}['execute'](_0x3b0f29){const {editor:_0x3eb74e}=this,{model:_0x2082b0}=_0x3eb74e,{selection:_0x4737ad}=_0x2082b0['document'],_0x197aac=this['_getPositionToInsertFootnote'](_0x4737ad);if(!_0x197aac)return;const _0x31763e=_0x3eb74e['plugins']['get']('FootnotesEditing'),_0x38c5d5=_0x3b0f29?.['footnoteId']??_0x2b2c74();!function(_0x19c92c){return'string'==typeof _0x19c92c&&_0x19c92c['length']>0x0&&!/\s/['test'](_0x19c92c)&&!/^\d/['test'](_0x19c92c);}(_0x38c5d5)?_0x3693c9('insert-footnote-command-executed-with-invalid-id'):(_0x2082b0['change'](_0x2fac3d=>{const _0x4d84b7=_0x2fac3d['createElement']('footnoteRef',{'footnoteId':_0x38c5d5});_0x2082b0['insertObject'](_0x4d84b7,_0x197aac,null);}),_0x31763e['_moveSelectionToFootnoteDefinition'](_0x38c5d5));}['_getPositionToInsertFootnote'](_0x5408bc){const {model:_0x45fa24}=this['editor'],{schema:_0x2f10ff}=_0x45fa24,_0x56da9a=_0x5408bc['getFirstRange']();for(const _0x1f3e09 of _0x56da9a['getItems']())if(_0x2f10ff['isBlock'](_0x1f3e09)||_0x2f10ff['isObject'](_0x1f3e09))return null;const _0x3c58db=_0x56da9a['end'];return _0x2f10ff['checkChild'](_0x3c58db,'footnoteRef')?_0x3c58db:null;}}class r extends _0x2cc155{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5dcc84}=this;_0x5dcc84['config']['define']('footnotes.multiBlock',!0x0),_0x5dcc84['commands']['add']('insertFootnote',new m(_0x5dcc84)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2bf315){const _0x3f8d50=_0x551cb5([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]),_0x128a74=0x47a28506,_0x2d0431=0x47a5fe86^_0x128a74,_0x1f9193=window[_0x551cb5([0x44,0x61,0x74,0x65])][_0x551cb5([0x6e,0x6f,0x77])](),_0x153926=_0x2bf315[_0x551cb5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b0170=new window[(_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa8c0=>{_0x153926[_0x551cb5([0x6f,0x6e,0x63,0x65])](_0x551cb5([0x72,0x65,0x61,0x64,0x79]),_0x2aa8c0);}),_0x3bc9e7={[_0x551cb5([0x6b,0x74,0x79])]:_0x551cb5([0x45,0x43]),[_0x551cb5([0x75,0x73,0x65])]:_0x551cb5([0x73,0x69,0x67]),[_0x551cb5([0x63,0x72,0x76])]:_0x551cb5([0x50,0x2d,0x32,0x35,0x36]),[_0x551cb5([0x78])]:_0x551cb5([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]),[_0x551cb5([0x79])]:_0x551cb5([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]),[_0x551cb5([0x61,0x6c,0x67])]:_0x551cb5([0x45,0x53,0x32,0x35,0x36])},_0x56f5c0=_0x153926[_0x551cb5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x551cb5([0x67,0x65,0x74])](_0x551cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39f16c(){let _0x168b4a,_0x560692=null,_0x52bbed=null;try{if(_0x56f5c0==_0x551cb5([0x47,0x50,0x4c]))return _0x551cb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x168b4a=_0xc7bf73(),!_0x168b4a)return _0x551cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x168b4a[_0x551cb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52bbed=_0x56bfae(_0x168b4a[_0x551cb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x168b4a[_0x551cb5([0x6a,0x74,0x69])])),await _0x3def79()?_0x4a1acb()?_0x188f13()?_0x551cb5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21916d()?(_0x168b4a[_0x551cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x551cb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x560692=_0x5f2b73(_0x551cb5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x168b4a[_0x551cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x551cb5([0x74,0x72,0x69,0x61,0x6c])&&(_0x560692=_0x5f2b73(_0x551cb5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x415a5a()):_0x551cb5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x551cb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x551cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x551cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x188f13(){const _0x406ff7=[_0x551cb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x551cb5([0x74,0x72,0x69,0x61,0x6c])][_0x551cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x168b4a[_0x551cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f9193/0x3e8:0xe10*_0x2d0431;return _0x168b4a[_0x551cb5([0x65,0x78,0x70])]<_0x406ff7;}function _0x4a1acb(){const _0x192316=_0x168b4a[_0x551cb5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x192316&&(!!_0x192316[_0x551cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x551cb5([0x2a]))||!!_0x192316[_0x551cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x551cb5([0x46,0x4f,0x4f])));}function _0x21916d(){const _0x18d87f=_0x168b4a[_0x551cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18d87f||0x0==_0x18d87f[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d4e52}=new URL(window[_0x551cb5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18d87f[_0x551cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4e52))return!0x0;const _0x65a002=_0x3d4e52[_0x551cb5([0x73,0x70,0x6c,0x69,0x74])](_0x551cb5([0x2e]));return _0x18d87f[_0x551cb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483981=>_0x483981[_0x551cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x551cb5([0x2a])))[_0x551cb5([0x6d,0x61,0x70])](_0x156649=>_0x156649[_0x551cb5([0x73,0x70,0x6c,0x69,0x74])](_0x551cb5([0x2e])))[_0x551cb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x523c80=>_0x523c80[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x65a002[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x551cb5([0x6d,0x61,0x70])](_0x13d700=>Array(_0x65a002[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13d700[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x551cb5([0x66,0x69,0x6c,0x6c])](_0x13d700[0x0]===_0x551cb5([0x2a])?_0x551cb5([0x2a]):'')[_0x551cb5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13d700))[_0x551cb5([0x73,0x6f,0x6d,0x65])](_0x3d8d4a=>_0x65a002[_0x551cb5([0x65,0x76,0x65,0x72,0x79])]((_0x449f97,_0xc3b016)=>_0x3d8d4a[_0xc3b016]===_0x449f97||_0x3d8d4a[_0xc3b016]===_0x551cb5([0x2a])));}function _0x415a5a(){return _0x560692&&_0x52bbed?new window[(_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b735f,_0x3ea5ae)=>{_0x560692[_0x551cb5([0x74,0x68,0x65,0x6e])](_0x2b735f,_0x3ea5ae),_0x52bbed[_0x551cb5([0x74,0x68,0x65,0x6e])](_0x2e0a0b=>{_0x2e0a0b!=_0x551cb5([0x56,0x61,0x6c,0x69,0x64])&&_0x2b735f(_0x2e0a0b);},_0x3ea5ae);}):_0x560692||_0x52bbed||_0x551cb5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56bfae(_0x56d3c6,_0x53e5df){return new window[(_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5159d7=>{if(_0x2b2511())return _0x5159d7(_0x551cb5([0x56,0x61,0x6c,0x69,0x64]));_0x52966f(),_0x153926[_0x551cb5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x551cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x414417=!0x1;const _0x468c6b=_0x2b2c74();function _0xdc2c3a(_0x55c231){return!!_0x55c231&&(typeof _0x55c231===_0x551cb5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x55c231===_0x551cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x55c231[_0x551cb5([0x74,0x68,0x65,0x6e])]===_0x551cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x55c231[_0x551cb5([0x63,0x61,0x74,0x63,0x68])]===_0x551cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x559b7c(_0x729d06){_0x185515(_0x729d06)[_0x551cb5([0x74,0x68,0x65,0x6e])](_0x22488e=>{if(!_0x22488e||_0x22488e[_0x551cb5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x551cb5([0x6f,0x6b]))return _0x551cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x452320(_0x374886(_0x468c6b+_0x53e5df))!=_0x22488e[_0x551cb5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x551cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x551cb5([0x56,0x61,0x6c,0x69,0x64]);})[_0x551cb5([0x74,0x68,0x65,0x6e])](_0x3de753=>(_0x5cb253(),_0x3de753),()=>{const _0x3cf765=_0x46f152();return null==_0x3cf765?(_0x5cb253(),_0x551cb5([0x56,0x61,0x6c,0x69,0x64])):_0x551cb5(_0x1f9193-_0x3cf765>(0x63ae0106^_0x128a74)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x551cb5([0x74,0x68,0x65,0x6e])](_0x5159d7)[_0x551cb5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5159d7(_0x551cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b2ebc=0x47946b86^_0x128a74;function _0x5cb253(){const _0x5a89be=_0x551cb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x452320(_0x374886(_0x56d3c6)),_0x2f486b=_0x584d1c(_0x452320(window[_0x551cb5([0x4d,0x61,0x74,0x68])][_0x551cb5([0x63,0x65,0x69,0x6c])](_0x1f9193/_0x1b2ebc)));window[_0x551cb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x551cb5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a89be,_0x2f486b);}function _0x46f152(){const _0x3d3800=_0x551cb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x452320(_0x374886(_0x56d3c6)),_0x45128a=window[_0x551cb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x551cb5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d3800);return _0x45128a?window[_0x551cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x584d1c(_0x45128a),0x10)*_0x1b2ebc:null;}function _0x185515(_0x2eec42){return new window[(_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56a285,_0x582e44)=>{_0x2eec42[_0x551cb5([0x74,0x68,0x65,0x6e])](_0x56a285,_0x582e44),window[_0x551cb5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x582e44,0x47a351c6^_0x128a74);});}}_0x153926[_0x551cb5([0x6f,0x6e])](_0x551cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a1dee,_0x2c5990)=>{if(_0x2c5990[0x0]!=_0x56d3c6)return _0x5159d7(_0x551cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c5990[0x1]={..._0x2c5990[0x1],[_0x551cb5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x468c6b};},{[_0x551cb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x551cb5([0x68,0x69,0x67,0x68])}),_0x153926[_0x551cb5([0x6f,0x6e])](_0x551cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x791793=>{_0xdc2c3a(_0x791793[_0x551cb5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x414417=!0x0,_0x559b7c(_0x791793[_0x551cb5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x551cb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x551cb5([0x6c,0x6f,0x77])}),_0x2b0170[_0x551cb5([0x74,0x68,0x65,0x6e])](()=>{_0x414417||_0x5159d7(_0x551cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b2511(){return _0x153926[_0x551cb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x551cb5([0x76,0x69,0x65,0x77])][_0x551cb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x551cb5([0x61,0x75,0x74,0x6f]);}function _0x52966f(){_0x153926[_0x551cb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x551cb5([0x76,0x69,0x65,0x77])][_0x551cb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x551cb5([0x61,0x75,0x74,0x6f]);}}function _0x5f2b73(_0x3c9a9c){const _0x47713b=[new window[(_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37cba5=>setTimeout(_0x37cba5,0x47abbbca^_0x128a74)),_0x2b0170[_0x551cb5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x272ea9=>{let _0x3714b1=0x0;_0x153926[_0x551cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x551cb5([0x6f,0x6e])](_0x551cb5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33695f,_0x3c039b)=>{_0x3c039b[0x0][_0x551cb5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3714b1++,_0x3714b1==(0x47a284fe^_0x128a74)&&(_0x272ea9(),_0x33695f[_0x551cb5([0x6f,0x66,0x66])]());});}))];return window[_0x551cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x551cb5([0x72,0x61,0x63,0x65])](_0x47713b)[_0x551cb5([0x74,0x68,0x65,0x6e])](()=>_0x3c9a9c);}async function _0x17cb41(){await _0x2b0170,_0x153926[_0x551cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x551cb5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58f068,_0x153926[_0x551cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x551cb5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58f068,_0x153926[_0x551cb5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x551cb5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x267766(_0x502698){const _0x412173=_0x2398c3();_0x153926[_0x412173]=_0x551cb5([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x502698,_0x502698!=_0x551cb5([0x56,0x61,0x6c,0x69,0x64])&&_0x17cb41();}function _0x2398c3(){const _0x2dbd4b=window[_0x551cb5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x551cb5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x551cb5([0x6e,0x6f,0x77])]())[_0x551cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x551cb5([0x2e]),'');let _0x3688b0=_0x551cb5([0x75]);for(let _0x47aa36=0x0;_0x47aa36<_0x2dbd4b[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47aa36+=0x2){let _0x39bdbf=window[_0x551cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dbd4b[_0x551cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47aa36,_0x47aa36+0x2));_0x39bdbf>=_0x3f8d50[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39bdbf-=_0x3f8d50[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3688b0+=_0x3f8d50[_0x39bdbf];}return _0x3688b0;}function _0xc7bf73(){const _0x396838=_0x56f5c0[_0x551cb5([0x73,0x70,0x6c,0x69,0x74])](_0x551cb5([0x2e]));if(0x3!=_0x396838[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x273db8(_0x396838[0x1]);function _0x273db8(_0x458928){const _0x182da2=_0x459416(_0x458928);return _0x182da2&&_0x38c541()?_0x182da2:null;function _0x38c541(){const _0xc4e39b=_0x182da2[_0x551cb5([0x6a,0x74,0x69])],_0x34fcba=window[_0x551cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc4e39b[_0x551cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc4e39b[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x564fc4={..._0x182da2,[_0x551cb5([0x6a,0x74,0x69])]:_0xc4e39b[_0x551cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc4e39b[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x564fc4[_0x551cb5([0x76,0x63])],_0x374886(_0x564fc4)==_0x34fcba;}}}async function _0x3def79(){let _0x2e9f6d=!0x0;try{const _0x2e31fc=_0x56f5c0[_0x551cb5([0x73,0x70,0x6c,0x69,0x74])](_0x551cb5([0x2e])),[_0x2354d0,_0x5e3151,_0x4077cf]=_0x2e31fc;return _0x31a041(_0x2354d0),await _0x12ff6e(_0x2354d0,_0x5e3151,_0x4077cf),_0x2e9f6d;}catch{return!0x1;}function _0x31a041(_0x437246){const _0x20cc48=_0x459416(_0x437246);_0x20cc48&&_0x20cc48[_0x551cb5([0x61,0x6c,0x67])]==_0x551cb5([0x45,0x53,0x32,0x35,0x36])||(_0x2e9f6d=!0x1);}async function _0x12ff6e(_0x200e51,_0x205058,_0x38c080){const _0x13fc83=window[_0x551cb5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x551cb5([0x66,0x72,0x6f,0x6d])](_0x3235d3(_0x38c080),_0xae2498=>_0xae2498[_0x551cb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12c1f3=new window[(_0x551cb5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x551cb5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x200e51+_0x551cb5([0x2e])+_0x205058),_0x521e2=window[_0x551cb5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x551cb5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x521e2)return;const _0x11a840=await _0x521e2[_0x551cb5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x551cb5([0x6a,0x77,0x6b]),_0x3bc9e7,{[_0x551cb5([0x6e,0x61,0x6d,0x65])]:_0x551cb5([0x45,0x43,0x44,0x53,0x41]),[_0x551cb5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x551cb5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x551cb5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x521e2[_0x551cb5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x551cb5([0x6e,0x61,0x6d,0x65])]:_0x551cb5([0x45,0x43,0x44,0x53,0x41]),[_0x551cb5([0x68,0x61,0x73,0x68])]:{[_0x551cb5([0x6e,0x61,0x6d,0x65])]:_0x551cb5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11a840,_0x13fc83,_0x12c1f3)||(_0x2e9f6d=!0x1);}}function _0x459416(_0x148dd7){return _0x148dd7[_0x551cb5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x551cb5([0x65,0x79]))?JSON[_0x551cb5([0x70,0x61,0x72,0x73,0x65])](_0x3235d3(_0x148dd7)):null;}function _0x3235d3(_0x586004){return window[_0x551cb5([0x61,0x74,0x6f,0x62])](_0x586004[_0x551cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x551cb5([0x2b]))[_0x551cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x551cb5([0x2f])));}function _0x374886(_0x5ebc56){let _0x56f5b9=0x1505;function _0x5e47e5(_0xea8ff8){for(let _0x377ee9=0x0;_0x377ee9<_0xea8ff8[_0x551cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x377ee9++){const _0x53020f=_0xea8ff8[_0x551cb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x377ee9);_0x56f5b9=(_0x56f5b9<<0x5)+_0x56f5b9+_0x53020f,_0x56f5b9&=_0x56f5b9;}}function _0x568f9a(_0x1a0644){Array[_0x551cb5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a0644)?_0x1a0644[_0x551cb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x568f9a):_0x1a0644&&typeof _0x1a0644==_0x551cb5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x551cb5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a0644)[_0x551cb5([0x73,0x6f,0x72,0x74])]()[_0x551cb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13449f,_0x23ccbf])=>{_0x5e47e5(_0x13449f),_0x568f9a(_0x23ccbf);}):_0x5e47e5(window[_0x551cb5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a0644));}return _0x568f9a(_0x5ebc56),_0x56f5b9>>>0x0;}function _0x452320(_0x1ffefc){return _0x1ffefc[_0x551cb5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x551cb5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x551cb5([0x30]));}function _0x584d1c(_0x21482b){return _0x21482b[_0x551cb5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x551cb5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x551cb5([0x6a,0x6f,0x69,0x6e])]('');}function _0x58f068(){}function _0x551cb5(_0x17bb5c){return _0x17bb5c['map'](_0xfadd32=>String['fromCharCode'](_0xfadd32))['join']('');}_0x267766(await _0x39f16c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3dcad0){const {plugins:_0x57db1b,editing:_0xd6838c,model:_0x22792b}=this['editor'],_0x47c1c0=_0x57db1b['get'](f)['getFootnote'](_0x3dcad0);return!!_0x47c1c0&&(_0x22792b['change'](_0x5d7504=>{_0x5d7504['setSelection'](_0x5d7504['createPositionAt'](_0x47c1c0['definition'],'end'));}),_0xd6838c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x855a){const {plugins:_0x3b5bbe,editing:_0x5e6f65,model:_0x143a0c}=this['editor'],_0x10fd69=_0x3b5bbe['get'](f)['getFootnote'](_0x855a);return!!_0x10fd69&&(_0x143a0c['change'](_0x1caaa1=>{_0x1caaa1['setSelection'](_0x10fd69['reference'],'on');}),_0x5e6f65['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3fef2a}=this['editor']['model'],_0x287c47=this['editor']['config']['get']('footnotes.multiBlock');_0x3fef2a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3fef2a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3fef2a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x287c47?_0x3fef2a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3fef2a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3fef2a['addChildCheck'](_0x557fa2=>{for(const _0x16fff0 of _0x557fa2)if('footnoteDefinition'===_0x16fff0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2b0cf8}=this,{conversion:_0x1ab366,editing:_0x380bac}=_0x2b0cf8,{t:t}=_0x2b0cf8['locale'];_0x1ab366['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3039e5,{writer:_0x3d108e,consumable:_0x25c5bd})=>{const _0x50db51=_0x3039e5['getChild'](0x0);if(!_0x50db51||!_0x50db51['is']('element','a'))return null;const _0x24c5cd=_0x50db51['getAttribute']('href')||'';if(!_0x24c5cd['startsWith']('#'))return null;const _0x5003c3=_0x24c5cd['replace'](/^#/,'');if(!_0x5003c3)return null;_0x25c5bd['consume'](_0x50db51,{'name':!0x0,'attributes':['href']});for(const {item:_0x1aaa3f}of _0x380bac['view']['createRangeIn'](_0x50db51))_0x1aaa3f['is']('$textProxy')?_0x25c5bd['consume'](_0x1aaa3f['textNode'],{'name':!0x0}):_0x1aaa3f['is']('element')&&_0x25c5bd['consume'](_0x1aaa3f,{'name':!0x0});return _0x3d108e['createElement']('footnoteRef',{'footnoteId':_0x5003c3});}}),_0x1ab366['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x129a41,{writer:_0x3f8d71})=>D(_0x129a41,_0x3f8d71)}),_0x1ab366['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ca2c5,{writer:_0x1f31e5})=>{const _0x5281d7=_0x2ca2c5['getAttribute']('footnoteCounter');return _0x488c20(D(_0x2ca2c5,_0x1f31e5),_0x1f31e5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5281d7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x17145f}=this,{t:t}=_0x17145f['locale'],{conversion:_0x1f0c01}=_0x17145f;_0x1f0c01['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1f0c01['for']('upcast')['add'](_0x235fcc=>{_0x235fcc['on']('element:ol',(_0x5dca4f,_0x58be39,_0x21b203)=>{const _0x2115de=_0x58be39['viewItem'];if(!_0x2115de['hasClass']('footnotes-list')||!_0x58be39['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x21b203['consumable']['consume'](_0x2115de,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1dd974,modelCursor:_0x533d01}=_0x21b203['convertChildren'](_0x58be39['viewItem'],_0x58be39['modelCursor']);_0x58be39['modelRange']=_0x1dd974,_0x58be39['modelCursor']=_0x533d01;}),_0x235fcc['on']('element:hr',(_0x2cc1a2,_0x40799c,_0xa89d2c)=>{const _0x1d5869=_0x40799c['viewItem'];_0x1d5869['hasClass']('footnotes-divider')&&_0x40799c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xa89d2c['consumable']['consume'](_0x1d5869,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1f0c01['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3e1802,{writer:_0x716df4})=>v(_0x716df4)}),_0x1f0c01['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5da4c4,{writer:_0x582048})=>{const _0x57c161=v(_0x582048,{'data-footnotes-list-label':t('Footnotes')}),_0x14b7b8=_0x488c20(_0x57c161,_0x582048,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x582048['setCustomProperty']('footnotesDefinitions',!0x0,_0x14b7b8),_0x14b7b8;}});}['_defineDefinitionConverters'](){const {editor:_0x2e4263}=this,{conversion:_0x2f1594,locale:_0x22004e}=_0x2e4263,_0x33d5c3=_0x2e4263['config']['get']('footnotes.multiBlock');_0x2f1594['for']('upcast')['add'](_0x26313d=>{_0x26313d['on']('element:li',(_0x5c56c0,_0x5f2b7e,_0x249d2a)=>{const _0xa2058a=_0x5f2b7e['viewItem'];if(!_0xa2058a['hasClass']('footnote-definition')||!_0xa2058a['getAttribute']('id'))return;const _0x43e580=_0xa2058a['parent'];if(!_0x43e580['is']('element','ol')||!_0x43e580['hasClass']('footnotes-list'))return;if(!_0x249d2a['consumable']['test'](_0xa2058a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xe56a01=_0x249d2a['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xa2058a['getAttribute']('id')});if(!_0x249d2a['safeInsert'](_0xe56a01,_0x5f2b7e['modelCursor']))return;_0x249d2a['consumable']['consume'](_0xa2058a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x108b4e=Array['from'](_0xa2058a['getChildren']())['find'](_0x2b79a1=>_0x2b79a1['is']('element')&&_0x2b79a1['hasClass']('footnote-content'));for(const _0x563506 of _0xa2058a['getChildren']())_0x563506['is']('element')&&(_0x249d2a['consumable']['consume'](_0x563506,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x249d2a['consumable']['consume'](_0x563506,{'name':!0x0,'classes':'footnote-content'}));if(_0x108b4e){if(_0x33d5c3)_0x249d2a['convertChildren'](_0x108b4e,_0xe56a01);else{const _0x53d720=_0x249d2a['writer']['createElement']('footnoteInlineContent');_0x249d2a['writer']['insert'](_0x53d720,_0xe56a01),_0x249d2a['convertChildren'](_0x108b4e,_0x53d720);}}_0x249d2a['updateConversionResult'](_0xe56a01,_0x5f2b7e);});}),_0x2f1594['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e00e5,{writer:_0x283447})=>b(_0x4e00e5,_0x283447,_0x22004e,{'dataPipeline':!0x0})}),_0x2f1594['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x419f56,{writer:_0xe41444})=>b(_0x419f56,_0xe41444,_0x22004e)});}['_defineBogusParagraphConverters'](){const {editor:_0x2ac974}=this,{conversion:_0xdc9667}=_0x2ac974;_0x2ac974['config']['get']('footnotes.multiBlock')?(_0xdc9667['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0xdc9667['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2ac974['model']['document'],'change:data',()=>{!function(_0x54d84a,_0x5ec8be){const _0x43e088=_0x54d84a['document']['differ'],_0x17c2fd=new Set();for(const _0x25cdc2 of _0x43e088['getChanges']()){const _0x576e61='attribute'==_0x25cdc2['type']?_0x25cdc2['range']['start']['parent']:_0x25cdc2['position']['parent'];_0x576e61['is']('element','footnoteDefinition')&&_0x17c2fd['add'](_0x576e61);}for(const _0x15da35 of _0x17c2fd['values']()){const _0x657146=Array['from'](_0x15da35['getChildren']())['filter'](_0x5b4bf8=>g(_0x5b4bf8,_0x5ec8be['mapper']));for(const _0x169b5d of _0x657146)_0x5ec8be['reconvertItem'](_0x169b5d);}}(_0x2ac974['model'],_0x2ac974['editing']);})):(_0xdc9667['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0xdc9667['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2a0d96,{writer:_0x4cb10e})=>{const _0x546a42=_0x4cb10e['createContainerElement']('span');return _0x4cb10e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x546a42),_0x546a42;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4fc118}=this,{editing:_0xf34e5,t:t}=_0x4fc118,_0x1e53de=_0x4fc118['model']['document']['selection'];_0x4fc118['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4fc118['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xf34e5['view']['document'],'enter',(_0x403f20,_0x41a18b)=>{const _0x49e64e=function(_0x45a7db){const _0x35960b=_0x45a7db['getSelectedElement']();if(_0x35960b?.['is']('element','footnoteRef'))return _0x35960b;return null;}(_0x1e53de);if(_0x49e64e){const _0x3f27c7=_0x49e64e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3f27c7),_0x41a18b['preventDefault'](),_0x403f20['stop']();}},{'context':_0x33488a});}['_defineClickHandlers'](){const {editor:_0x4e7961}=this,{editing:_0x39893a}=_0x4e7961;_0x4e7961['editing']['view']['addObserver'](_0x47f5d3),_0x4e7961['editing']['view']['addObserver'](_0xd76d2d);let _0x2d1bc4=!0x1;this['listenTo'](_0x39893a['view']['document'],'pointerdown',(_0x15eb95,_0x4f2932)=>{const {target:_0x2d80c8}=_0x4f2932,_0x5e8d29=_0x39893a['view']['document']['selection'];_0x2d1bc4=!!(_0x2d80c8?.['is']('element','a')&&_0x2d80c8['parent']?.['is']('element','sup')&&_0x2d80c8['parent']['hasClass']('footnote'))&&_0x5e8d29['getSelectedElement']()===_0x2d80c8['parent'];},{'priority':'high'}),this['listenTo'](_0x39893a['view']['document'],'click',(_0x2d76fb,_0x5e54a0)=>{const {target:_0x430bf3}=_0x5e54a0;if(!_0x430bf3?.['is']('element','a'))return;if(_0x430bf3['parent']?.['is']('element','sup')&&_0x430bf3['parent']['hasClass']('footnote')&&!_0x2d1bc4)return void _0x5e54a0['preventDefault']();let _0x61c739=_0x430bf3['getAttribute']('href');if(!_0x61c739?.['startsWith']('#'))return;_0x61c739=_0x61c739['slice'](0x1);let _0x54714e=!0x1;(_0x61c739['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x61c739['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x61c739))&&(_0x54714e=!0x0),_0x54714e&&(_0x5e54a0['preventDefault'](),_0x2d76fb['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x18fbb3}={}){return(_0x3e669a,{writer:_0x45f052})=>{if(!p(_0x3e669a))return null;if(!_0x18fbb3)return _0x45f052['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4caf8e=_0x45f052['createContainerElement']('p');return _0x45f052['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4caf8e),_0x4caf8e;};}function p(_0x4206cf){const {parent:_0x2cb4d4}=_0x4206cf;if(!_0x2cb4d4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2cb4d4['childCount'])return!0x1;for(const _0x3f2cf6 of _0x4206cf['getAttributeKeys']())if(!_0x3f2cf6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3f2cf6)return!0x1;return!0x0;}function g(_0xb19b3c,_0x4cdf24){if(!_0xb19b3c['is']('element','paragraph'))return!0x1;const _0x5e7ee7=_0x4cdf24['toViewElement'](_0xb19b3c);return!!_0x5e7ee7&&p(_0xb19b3c)!==_0x5e7ee7['is']('element','span');}function J(_0x38f002){return _0x33488a(_0x38f002)&&_0x38f002['is']('containerElement')&&!!_0x38f002['getCustomProperty']('footnotesDefinitions');}function v(_0x33b5cb,_0x2fe39f={}){const _0x221dc4=_0x33b5cb['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1017be=_0x33b5cb['createContainerElement']('ol',{'class':'footnotes-list'},_0x33b5cb['createSlot']());return _0x33b5cb['createContainerElement']('div',{'class':'footnotes',..._0x2fe39f},[_0x221dc4,_0x1017be]);}function D(_0x343561,_0x410950){const _0x3edafb=_0x343561['getAttribute']('footnoteId'),_0x572530=_0x343561['getAttribute']('footnoteCounter'),_0x2dbff0=_0x410950['createUIElement']('a',{'href':'#'+_0x3edafb},function(_0x32fe48){const _0x39d4ba=this['toDomElement'](_0x32fe48);return _0x39d4ba['textContent']=_0x572530,_0x39d4ba;}),_0x5d581b=_0x410950['createContainerElement']('sup',{'id':'ref-'+_0x3edafb,'class':'footnote'},[_0x2dbff0]);return _0x5d581b['getFillerOffset']=()=>null,_0x5d581b;}function b(_0x103be9,_0x40036f,_0x5dd3c9,{dataPipeline:_0x1d02bd}={}){const {t:t}=_0x5dd3c9,_0x566c5c=_0x103be9['getAttribute']('footnoteId'),_0x264edf=_0x40036f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x566c5c},function(_0x1243cc){const _0x4d1aaa=this['toDomElement'](_0x1243cc);return _0x4d1aaa['innerText']='^',_0x4d1aaa;}),_0x341419=_0x1d02bd?_0x40036f['createContainerElement']('div',{'class':'footnote-content'}):_0x31eb07(_0x40036f['createEditableElement']('div',{'class':'footnote-content'}),_0x40036f,{'label':t('Footnote\x20content.')});return _0x40036f['insert'](_0x40036f['createPositionAt'](_0x341419,0x0),_0x40036f['createSlot']()),_0x40036f['createContainerElement']('li',{'class':'footnote-definition','id':_0x566c5c},[_0x264edf,_0x341419]);}class e extends _0x2cc155{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5c2bac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x20625d}=this,{plugins:_0x51a3e3,model:_0xb3b3d7}=_0x20625d,_0xbea62e=_0x51a3e3['get'](_0x5c2bac),_0x134184=_0x51a3e3['get'](f);this['listenTo'](_0xbea62e,'outputTransformation',(_0x5d0539,_0x1e957d)=>{const _0x4fa8ba=c(_0xb3b3d7['createRangeIn'](_0x1e957d['content']));if(!_0x4fa8ba['length'])return;const _0x1be341=_0x134184['getFootnotes'](),_0x35f7a1=_0x4fa8ba['reduce']((_0x19e7bd,_0x15ee13)=>{const _0x332a6c=_0x1be341['find'](_0x547471=>_0x547471['id']===_0x15ee13);if(_0x332a6c){const _0x2072cd=_0x20625d['data']['toView'](_0x332a6c['definition'],{'isClipboardPipeline':!0x0}),_0x102130=_0x20625d['data']['htmlProcessor']['toData'](_0x2072cd);_0x19e7bd[_0x332a6c['id']]=_0x102130;}return _0x19e7bd;},Object['create'](null));_0x1e957d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x35f7a1));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3ae504}=this,{model:_0x290537,plugins:_0x84cc67}=_0x3ae504,{view:_0x47dcf3}=_0x3ae504['editing'],_0x491f38=_0x84cc67['get'](_0x5c2bac),_0x3f0a58=_0x84cc67['get'](f),_0x5f0820=_0x3ae504['config']['get']('footnotes.multiBlock');let _0x538f54=null;this['listenTo'](_0x47dcf3['document'],'clipboardInput',(_0x16f0c6,_0x40917c)=>{const _0x5ea4b3=_0x40917c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x538f54=_0x5ea4b3?JSON['parse'](_0x5ea4b3):null;}),this['listenTo'](_0x491f38,'contentInsertion',(_0xd466a1,_0x4dde2f)=>{const _0x1f6257=_0x4dde2f['sourceEditorId']===this['editor']['id'];_0x1f6257&&'drop'===_0x4dde2f['method']||_0x290537['change'](_0x3726a4=>{let _0x4c8772=_0x3f0a58['getFootnotesDefinitionsObjectElement']();const _0x361f02=!!_0x4c8772&&Array['from'](_0x290537['document']['selection']['getSelectedBlocks']())['includes'](_0x4c8772);if((_0x4c8772&&!_0x361f02||!_0x4c8772&&!_0x538f54)&&function(_0x4d8485,_0x439930){const _0x17a57b=[];for(const {item:_0x5c425d}of _0x4d8485['createRangeIn'](_0x439930))_0x5c425d['is']('element','footnotesDefinitions')&&_0x17a57b['push'](_0x5c425d);for(const _0x5d9989 of _0x17a57b)_0x4d8485['remove'](_0x5d9989);}(_0x3726a4,_0x4dde2f['content']),!_0x538f54)return;const {selection:_0x352bc5}=_0x290537['document'],_0x570755=_0x352bc5['getFirstRange']()['root'];_0x4c8772&&!_0x361f02||(_0x4c8772=function(_0xb806f1,_0x12d704){for(const {item:_0x3381ba}of _0xb806f1['createRangeIn'](_0x12d704))if(_0x3381ba['is']('element','footnotesDefinitions'))return _0x3381ba;return null;}(_0x3726a4,_0x4dde2f['content']),_0x4c8772||=_0x3f0a58['_insertEmptyFootnotesDefinitionsContainer'](_0x3726a4,_0x570755));const _0x54304f=Array['from'](_0x352bc5['getRanges']())['flatMap'](c),_0x3e4fc1=function(_0x38ef30,_0x2a3aad,_0x130d3c){const _0x5c7fca=Object['create'](null);for(const {item:_0x422476}of _0x38ef30['createRangeIn'](_0x2a3aad))if(_0x422476['is']('element','footnoteRef')){const _0x20db5c=_0x422476['getAttribute']('footnoteId');if(!_0x130d3c(_0x20db5c))continue;_0x5c7fca[_0x20db5c]||(_0x5c7fca[_0x20db5c]=_0x2b2c74()),_0x38ef30['setAttribute']('footnoteId',_0x5c7fca[_0x20db5c],_0x422476);}return _0x5c7fca;}(_0x3726a4,_0x4dde2f['content'],_0x58a2e2=>{if(!_0x1f6257)return!0x0;return!!_0x3f0a58['getFootnote'](_0x58a2e2)&&!_0x54304f['includes'](_0x58a2e2);});for(const [_0x145338,_0x361cd6]of Object['entries'](_0x538f54)){const _0x20e15b=_0x3e4fc1[_0x145338]||_0x145338,_0x2740b4=_0x3726a4['createElement']('footnoteDefinition',{'footnoteId':_0x20e15b}),_0x3f7221=_0x3ae504['data']['htmlProcessor']['toView'](_0x361cd6);let _0x3f11b8;if(_0x5f0820)_0x3f11b8=_0x3ae504['data']['toModel'](_0x3f7221,_0x2740b4);else{_0x3f11b8=_0x3726a4['createElement']('footnoteInlineContent');const _0x4e0cd2=_0x3ae504['data']['toModel'](_0x3f7221,_0x3f11b8);_0x3726a4['insert'](_0x4e0cd2,_0x3f11b8);}_0x3726a4['append'](_0x3f11b8,_0x2740b4),_0x3726a4['insert'](_0x2740b4,_0x4c8772,'end');}_0x538f54=null;});});}}function c(_0x365c67){const _0xb9910c=new Set();for(const {item:_0x441da8}of _0x365c67)_0x441da8['is']('element','footnoteRef')&&_0xb9910c['add'](_0x441da8['getAttribute']('footnoteId'));return Array['from'](_0xb9910c);}class i extends _0x2cc155{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c52d1}=this,{componentFactory:_0x141034}=_0x5c52d1['ui'];_0x141034['add']('insertFootnote',x(_0x5c52d1,_0x45dd1b)),_0x141034['add']('menuBar:insertFootnote',x(_0x5c52d1,_0x472169)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a1939=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a6733;for(const _0xe471cb in _0x4a1939){const _0xce508b=_0xe471cb,_0x10c844=_0x4a1939[_0xce508b];if('footnotesLicenseKeyValid'==_0x10c844||'footnotesLicenseKeyInvalid'==_0x10c844||'footnotesLicenseKeyExpired'==_0x10c844||'footnotesLicenseKeyDomainLimit'==_0x10c844||'footnotesLicenseKeyNotAllowed'==_0x10c844||'footnotesLicenseKeyEvaluationLimit'==_0x10c844||'footnotesLicenseKeyTrialLimit'==_0x10c844||'footnotesLicenseKeyUsageLimit'==_0x10c844){delete _0x4a1939[_0xce508b],_0x4a6733=_0x10c844,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4a6733&&_0x4a1939['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4a6733&&_0x4a1939['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4a6733&&_0x4a1939['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4a6733&&_0x4a1939['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4a6733&&_0x4a1939['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4a6733&&_0x4a1939['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4a6733&&_0x4a1939['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5ef520,_0x332924){const _0x2721f6=_0x5ef520['commands']['get']('insertFootnote');return _0x58737b=>{const {t:t}=_0x58737b,_0x2464ba=new _0x332924(_0x58737b),_0x19d161=_0x2464ba instanceof _0x472169;return _0x2464ba['bind']('isEnabled')['to'](_0x2721f6,'isEnabled'),_0x2464ba['set']({'label':t(_0x19d161?'Footnote':'Insert\x20footnote'),'icon':_0x13c972,'tooltip':!0x0}),_0x2464ba['on']('execute',()=>{_0x2721f6['execute'](),_0x5ef520['editing']['view']['focus']();}),_0x2464ba;};}class lt extends _0x2cc155{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 _0x42b54c{['refresh'](){const {editor:_0x48946d}=this,_0x215882=_0x48946d['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x215882,this['value']=_0x215882?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5189a9}){const {editor:_0x37f3f7}=this,_0x4cc938=_0x37f3f7['plugins']['get'](f),_0x2b04e5=_0x4cc938['getFootnotesDefinitionsObjectElement']();_0x2b04e5&&Q['includes'](_0x5189a9)&&_0x37f3f7['model']['change'](_0x41e9cf=>{_0x41e9cf['setAttribute']('footnotesListStyle',_0x5189a9,_0x2b04e5),_0x4cc938['_updateFootnotesCounters'](_0x41e9cf);});}}class C extends _0x42b54c{['refresh'](){const {editor:_0x198a21}=this,_0x23b9b5=_0x198a21['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x23b9b5,this['value']=_0x23b9b5?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x199aca}){const {editor:_0x982a0d}=this,_0x3e4f4d=_0x982a0d['plugins']['get'](f),_0x26b83f=_0x3e4f4d['getFootnotesDefinitionsObjectElement']();_0x26b83f&&Number['isInteger'](_0x199aca)&&_0x982a0d['model']['change'](_0xc15c5e=>{_0xc15c5e['setAttribute']('footnotesListStart',_0x199aca,_0x26b83f),_0x3e4f4d['_updateFootnotesCounters'](_0xc15c5e);});}}class P extends _0x2cc155{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bd75d}=this;_0x3bd75d['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3bd75d['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3bd75d['commands']['add']('footnotesStyle',new S(_0x3bd75d)),_0x3bd75d['commands']['add']('footnotesStart',new C(_0x3bd75d)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0xf71a42}=this,{schema:_0x291a8d}=_0xf71a42['model'];_0x291a8d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x262eaa}=this,{conversion:_0x5ef187,model:_0x3b215e}=_0x262eaa,{schema:_0x158493}=_0x3b215e;_0x5ef187['for']('upcast')['add'](_0x2c97b9=>{_0x2c97b9['on']('element:ol',(_0x5d6980,_0x52fe37,_0x591d0d)=>{const _0x255121=_0x52fe37['viewItem'],_0x410665=_0x52fe37['modelCursor']?.['parent'];_0x255121['hasClass']('footnotes-list')&&_0x410665?.['is']('element','footnotesDefinitions')&&(function(_0x14f0d7,_0x42b6d6,_0x5926a9,_0xabd8fd){if(!_0xabd8fd['checkAttribute'](_0x42b6d6,'footnotesListStart'))return;let _0xe8bee4=0x1;const _0x128b32=_0x5926a9['consumable']['consume'](_0x14f0d7,{'attributes':'start'});if(_0x128b32){const _0x57d12e=Number['parseInt'](_0x14f0d7['getAttribute']('start'),0xa);Number['isNaN'](_0x57d12e)||(_0xe8bee4=_0x57d12e);}!_0x128b32&&_0x42b6d6['hasAttribute']('footnotesListStart')||_0x5926a9['writer']['setAttribute']('footnotesListStart',_0xe8bee4,_0x42b6d6);}(_0x255121,_0x410665,_0x591d0d,_0x158493),function(_0x42514e,_0x22a73a,_0x2f01a5,_0x1c8a15){if(!_0x1c8a15['checkAttribute'](_0x22a73a,'footnotesListStyle'))return;let _0x557b9f='decimal',_0x198236=!0x1;if(_0x2f01a5['consumable']['consume'](_0x42514e,{'attributes':'type'})){const _0x297ff1={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x42514e['getAttribute']('type')];_0x297ff1&&(_0x557b9f=_0x297ff1),_0x198236=!0x0;}_0x2f01a5['consumable']['consume'](_0x42514e,{'styles':'list-style-type'})&&(_0x557b9f=function(_0x1cbcc4){switch(_0x1cbcc4){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1cbcc4;}}(_0x42514e['getStyle']('list-style-type')),_0x198236=!0x0),!_0x198236&&_0x22a73a['hasAttribute']('footnotesListStyle')||_0x2f01a5['writer']['setAttribute']('footnotesListStyle',_0x557b9f,_0x22a73a);}(_0x255121,_0x410665,_0x591d0d,_0x158493));});}),_0x5ef187['for']('downcast')['add'](_0x1de73a=>{_0x1de73a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x44ac8c,_0x5dabac,_0x101a26)=>{if(!_0x101a26['consumable']['consume'](_0x5dabac['item'],_0x44ac8c['name']))return;const _0x5a2ca2=M(_0x5dabac['item'],_0x101a26['mapper']),{attributeNewValue:_0x4f70f7}=_0x5dabac;null==_0x4f70f7||0x1===_0x4f70f7?_0x101a26['writer']['removeAttribute']('start',_0x5a2ca2):_0x101a26['writer']['setAttribute']('start',String(_0x4f70f7),_0x5a2ca2);}),_0x1de73a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2c6d28,_0x5a17f5,_0x198bd2)=>{if(!_0x198bd2['consumable']['consume'](_0x5a17f5['item'],_0x2c6d28['name']))return;const _0x220299=M(_0x5a17f5['item'],_0x198bd2['mapper']),{attributeNewValue:_0x169717}=_0x5a17f5;_0x169717&&'decimal'!==_0x169717?_0x198bd2['writer']['setStyle']('list-style-type',_0x169717,_0x220299):_0x198bd2['writer']['removeStyle']('list-style-type',_0x220299);});});}['_definePostfixer'](){const {editor:_0x25ac62}=this,{model:_0x2579af}=_0x25ac62,_0x210b38=_0x25ac62['plugins']['get'](f),_0x4074b7=this['_getDefaultListStyle'](),_0x6801c1=this['_getDefaultStartIndex']();_0x2579af['document']['registerPostFixer'](_0x1e977c=>{const _0x38c5d2=_0x2579af['document']['differ']['getChanges']();let _0x4cbe80=!0x1;for(const _0x33c1b1 of _0x38c5d2){if('insert'!==_0x33c1b1['type']||'$text'===_0x33c1b1['name'])continue;const _0x280d48=_0x2579af['createRangeOn'](_0x33c1b1['position']['nodeAfter']);for(const _0xc0c01f of _0x280d48['getItems']())_0xc0c01f['is']('element','footnotesDefinitions')&&(!_0xc0c01f['hasAttribute']('footnotesListStart')&&_0x2579af['schema']['checkAttribute'](_0xc0c01f,'footnotesListStart')&&(_0x1e977c['setAttribute']('footnotesListStart',_0x6801c1,_0xc0c01f),_0x4cbe80=!0x0),!_0xc0c01f['hasAttribute']('footnotesListStyle')&&_0x2579af['schema']['checkAttribute'](_0xc0c01f,'footnotesListStyle')&&(_0x1e977c['setAttribute']('footnotesListStyle',_0x4074b7,_0xc0c01f),_0x4cbe80=!0x0));}return _0x4cbe80&&_0x210b38['_updateFootnotesCounters'](_0x1e977c),_0x4cbe80;});}['_defineFormatter'](){const {editor:_0x4292d5}=this;_0x4292d5['plugins']['get'](f)['setFootnoteFormatter'](_0x4576a6=>this['_formatFootnoteListValue'](_0x4576a6));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4daa0b,value:_0x3c518b,digits:_0x24d1c3}){const _0x20e682=_0x4daa0b['getAttribute']('footnotesListStyle'),_0x443a16=_0x4daa0b['getAttribute']('footnotesListStart'),_0x22caa1=Math['floor'](_0x3c518b)+(_0x443a16??0x1)-0x1;switch(_0x20e682){case'decimal-leading-zero':return function(_0xfc3358,_0x2bb9b5){return String(_0xfc3358)['padStart'](_0x2bb9b5,'0');}(_0x22caa1,Math['max'](0x2,_0x24d1c3));case'lower-alpha':case'lower-latin':return N(_0x22caa1,!0x1);case'upper-alpha':case'upper-latin':return N(_0x22caa1,!0x0);case'lower-roman':return X(_0x22caa1,!0x1);case'upper-roman':return X(_0x22caa1,!0x0);default:return String(_0x22caa1);}}}function M(_0x2118d4,_0x133c16){const _0xaa9ddd=_0x133c16['toViewElement'](_0x2118d4);return Array['from'](_0xaa9ddd['getChildren']())['find'](_0x187bfe=>_0x187bfe['is']('element','ol')&&_0x187bfe['hasClass']('footnotes-list'));}function N(_0x2cd0f7,_0x1d8961){let _0xb95780='',_0x29cd23=_0x2cd0f7;for(;_0x29cd23>0x0;){const _0x5c3402=(_0x29cd23-0x1)%0x1a;_0xb95780=String['fromCharCode'](0x61+_0x5c3402)+_0xb95780,_0x29cd23=Math['floor']((_0x29cd23-0x1)/0x1a);}return _0x1d8961?_0xb95780['toUpperCase']():_0xb95780;}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(_0x5dcb24,_0x4db623){let _0x20b1f9='',_0x46cbe8=_0x5dcb24;for(const {value:_0x2e13b8,numeral:_0x3234c7}of V)for(;_0x46cbe8>=_0x2e13b8;)_0x20b1f9+=_0x3234c7,_0x46cbe8-=_0x2e13b8;return _0x4db623?_0x20b1f9:_0x20b1f9['toLowerCase']();}class H extends _0x3e1bc0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x4c6099();['focusCycler'];constructor(_0x5eb183,{styleButtonViews:_0x3f24d7,styleGridAriaLabel:_0xe717b6}){super(_0x5eb183),(this['focusCycler']=new _0x696146({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3f24d7,_0xe717b6),[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 _0x26a96f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x26a96f['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 _0xb42a07=_0x581483=>_0x581483['stopPropagation']();this['keystrokes']['set']('arrowright',_0xb42a07),this['keystrokes']['set']('arrowleft',_0xb42a07),this['keystrokes']['set']('arrowup',_0xb42a07),this['keystrokes']['set']('arrowdown',_0xb42a07);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5c965a,_0x2ec883){const _0x3fa028=new _0x3e1bc0(this['locale']);return _0x3fa028['children']=_0x3fa028['createCollection'](),_0x3fa028['children']['addMany'](_0x5c965a),_0x3fa028['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2ec883,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3fa028['children']}),_0x3fa028['children']['delegate']('execute')['to'](this),_0x3fa028['focus']=function(){for(const _0x20f794 of this['children'])if(_0x20f794 instanceof _0x45dd1b&&_0x20f794['isOn'])return void _0x20f794['focus']();this['children']['first']['focus']();},_0x3fa028['focusTracker']=new ot(),_0x3fa028['keystrokes']=new rt(),_0x3fa028['render'](),_0x3fa028['keystrokes']['listenTo'](_0x3fa028['element']),this['children']['add'](_0x3fa028),_0x3fa028;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5c9c2c=this['_createStartIndexPropertyView'](),_0x30e26c=[_0x5c9c2c],_0xa2a63b=new st(this['locale'],_0x30e26c);return _0xa2a63b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xa2a63b['buttonView']['bind']('isEnabled')['toMany'](_0x30e26c,'isEnabled',(..._0x11e1c1)=>_0x11e1c1['some'](_0x2f7564=>_0x2f7564)),_0xa2a63b['buttonView']['on']('change:isEnabled',(_0x4c9889,_0x54811c,_0x3f834f)=>{_0x3f834f||(_0xa2a63b['isCollapsed']=!0x0);}),this['children']['add'](_0xa2a63b),[_0x5c9c2c,_0xa2a63b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x38f713=new it(this['locale'],et);return _0x38f713['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x38f713['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x38f713['fieldView']['on']('input',()=>{const _0x36edc1=_0x38f713['fieldView']['element'],_0x1579db=_0x36edc1['valueAsNumber'];Number['isNaN'](_0x1579db)?_0x38f713['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x36edc1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1579db}):_0x38f713['errorText']=t(_0x1579db<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x38f713;}}class j extends _0x2cc155{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4bb75a,_0x273f2f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40d8be}=this,{componentFactory:_0x500772}=_0x40d8be['ui'];_0x40d8be['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x500772['add']('footnotesStyle',function(_0x8cea1f){return _0x4fbdf1=>{const {t:t}=_0x4fbdf1,_0x4dfced=_0x8cea1f['commands']['get']('footnotesStyle'),_0x363ef6=_0x1edc82(_0x4fbdf1),{buttonView:_0x2b6fa4}=_0x363ef6;return _0x363ef6['class']='ck-footnotes-styles-dropdown',_0x363ef6['bind']('isEnabled')['to'](_0x4dfced,'isEnabled'),_0x2b6fa4['set']({'label':t('Footnotes\x20style'),'icon':_0x13c972,'tooltip':!0x0}),_0x363ef6['once']('change:isOpen',()=>{const _0x1dccef=function({editor:_0xc328c4,dropdownView:_0x319c47}){const {t:t}=_0xc328c4['locale'],_0x2ecc7d=t('Footnotes\x20definitions\x20styles'),_0xe53f54=function(_0x531f64){const t=_0x531f64['locale']['t'],_0x35553c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2c7db0},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1c769f},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2c17aa},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x56ec67},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1ccead},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5294a2}];return _0x35553c['map'](function(_0x2879fa){const _0x711e7f=_0x2879fa['locale'];return({label:_0x31f02d,icon:_0x5d0bf8,tooltip:_0x45ee36,style:_0x5a9892})=>{const _0x440284=_0x2879fa['commands']['get']('footnotesStyle'),_0xb7d4cb=new _0x45dd1b(_0x711e7f);return _0xb7d4cb['set']({'label':_0x31f02d,'icon':_0x5d0bf8,'tooltip':_0x45ee36}),_0xb7d4cb['bind']('isOn')['to'](_0x440284,'value',_0x5846da=>_0x5846da===_0x5a9892),_0xb7d4cb['bind']('isEnabled')['to'](_0x440284,'isEnabled'),_0xb7d4cb['on']('execute',()=>{_0x2879fa['execute']('footnotesStyle',{'value':_0x5a9892}),_0x2879fa['editing']['view']['focus']();}),_0xb7d4cb;};}(_0x531f64));}(_0xc328c4),_0x8df062=new H(_0xc328c4['locale'],{'styleGridAriaLabel':_0x2ecc7d,'styleButtonViews':_0xe53f54}),_0x3cff61=_0xc328c4['commands']['get']('footnotesStart');return _0x8df062['startIndexFieldView']['bind']('isEnabled')['to'](_0x3cff61),_0x8df062['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3cff61),_0x8df062['on']('footnotesListStart',(_0x463ddc,_0x4b95db)=>{_0xc328c4['execute']('footnotesStart',{'value':_0x4b95db['startIndex']});}),_0x8df062['delegate']('execute')['to'](_0x319c47),_0x8df062;}({'editor':_0x8cea1f,'dropdownView':_0x363ef6});_0x363ef6['panelView']['children']['add'](_0x1dccef);}),_0x363ef6;};}(_0x40d8be));}['afterInit'](){const {editor:_0x401ddd}=this,{t:t}=_0x401ddd['locale'],_0x579678=_0x401ddd['plugins']['get'](_0x273f2f),{defaultPositions:_0x1ccf73}=_0x130642;_0x579678['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x401ddd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1ae7bc=>{let _0x104c26=_0x1ae7bc['getFirstPosition']()?.['parent'];return _0x104c26?.['is']('$text')&&(_0x104c26=_0x104c26['parent']),_0x104c26?.['is']('element')?_0x104c26['findAncestor'](J):null;},'positions':[_0x1ccf73['southArrowNorth'],_0x1ccf73['southArrowNorthMiddleWest'],_0x1ccf73['southArrowNorthMiddleEast'],_0x1ccf73['southArrowNorthWest'],_0x1ccf73['southArrowNorthEast'],_0x1ccf73['northArrowSouth'],_0x1ccf73['northArrowSouthMiddleWest'],_0x1ccf73['northArrowSouthMiddleEast'],_0x1ccf73['northArrowSouthWest'],_0x1ccf73['northArrowSouthEast'],_0x1ccf73['viewportStickyNorth']]});}}class ft extends _0x2cc155{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,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x4c1d8f,Command as _0x1c07c4}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x541382,isWidget as _0x34f6ed,toWidgetEditable as _0x3adf4b,WidgetToolbarRepository as _0x29b615}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x330fbd,logWarning as _0x5e426c,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5a9b22,ClickObserver as _0x45dec8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x534b16}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0xf9c505,ButtonView as _0x1bd165,View as _0x2724be,ViewCollection as _0x8639b1,FocusCycler as _0x4b3080,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x278266,BalloonPanelView as _0x34aec5,createDropdown as _0x463afe}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x22b1ee,IconListStyleDecimal as _0x3d0d5a,IconListStyleDecimalLeadingZero as _0x200819,IconListStyleLowerRoman as _0xff1319,IconListStyleUpperRoman as _0x13b35d,IconListStyleLowerLatin as _0x15cd1d,IconListStyleUpperLatin as _0xd5c7d2}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xa60f31,_0x54a71c){this['_model']=_0xa60f31,this['_elementName']=_0x54a71c['elementName'],this['_getElementKey']=_0x54a71c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x16df13){const _0x1ce91d=new Set(),_0x36d4df=new Map();for(const _0x3a2cff of _0x16df13){if('insert'===_0x3a2cff['type']&&'$text'!==_0x3a2cff['name']&&_0x3a2cff['position']['nodeAfter']){const _0x511b5d=this['_model']['createRangeOn'](_0x3a2cff['position']['nodeAfter']);for(const _0x519300 of _0x511b5d['getItems']()){if(!_0x519300['is']('element',this['_elementName']))continue;const _0x18c64f=this['_getElementKey'](_0x519300);_0x36d4df['has'](_0x18c64f)||_0x36d4df['set'](_0x18c64f,[]),_0x36d4df['get'](_0x18c64f)['push'](_0x519300);}}if('remove'===_0x3a2cff['type']&&_0x3a2cff['name']===this['_elementName']){const _0x3b1f7e=this['_getElementKey']({'getAttribute':_0x594086=>_0x3a2cff['attributes']['get'](_0x594086)});_0x1ce91d['add'](_0x3b1f7e);}}for(const [_0xffd0ea,_0x1c1fad]of this['_trackedElements'])'$graveyard'===_0x1c1fad['root']['rootName']&&_0x1ce91d['add'](_0xffd0ea);for(const _0x2e1c63 of _0x1ce91d)this['_trackedElements']['delete'](_0x2e1c63);for(const [_0x5c98f5,_0x1dff13]of _0x36d4df)this['_trackedElements']['set'](_0x5c98f5,_0x1dff13[_0x1dff13['length']-0x1]);const _0x3bf024=new Set();for(const [_0x557c18,_0x100925]of _0x36d4df)_0x1ce91d['has'](_0x557c18)&&(_0x3bf024['add'](_0x100925[0x0]),_0x100925['length']>0x1?_0x36d4df['set'](_0x557c18,_0x100925['slice'](0x1)):_0x36d4df['delete'](_0x557c18),_0x1ce91d['delete'](_0x557c18));return{'removed':Array['from'](_0x1ce91d),'inserted':Array['from'](_0x36d4df['values']())['flat'](),'moved':Array['from'](_0x3bf024)};}}class f extends _0x4c1d8f{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4c27e1){super(_0x4c27e1),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x56456c=>_0x56456c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x15ddbe=>_0x15ddbe['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1588a0}=this,{model:_0x11801e,data:_0x31a6d2}=_0x1588a0;_0x11801e['document']['registerPostFixer'](_0x4fb990=>{const _0x447c76=_0x11801e['document']['differ']['getChanges']();let _0x19fbf3=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4fb990,_0x447c76)&&(_0x19fbf3=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4fb990,_0x447c76)&&(_0x19fbf3=!0x0),this['_handleFootnoteReferencesChanges'](_0x4fb990,_0x447c76)&&(_0x19fbf3=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4fb990)&&(_0x19fbf3=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4fb990)&&(_0x19fbf3=!0x0),this['_sortFootnoteDefinitions'](_0x4fb990)&&(_0x19fbf3=!0x0),_0x19fbf3;}),this['listenTo'](_0x11801e['document'],'change:data',()=>{_0x11801e['enqueueChange']({'isUndoable':!0x1},_0x4a8018=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4a8018);});},{'priority':'low'}),this['listenTo'](_0x31a6d2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5bdd41){return this['_footnotes']['find'](_0x42d918=>_0x42d918['id']===_0x5bdd41)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1d4f9d){this['_footnoteFormatter']=_0x1d4f9d;}['_updateFootnotesCounters'](_0x1e962b,_0x46e8e7=0x0){let _0x49dba1=!0x1;for(let _0x57e9fd=_0x46e8e7;_0x57e9fd<this['_footnotes']['length'];_0x57e9fd++)this['_updateFootnoteRefCounter'](_0x1e962b,_0x57e9fd)&&(_0x49dba1=!0x0);return _0x49dba1;}['_insertEmptyFootnotesDefinitionsContainer'](_0x12e3b0,_0x2e5b63){const _0xea970e=_0x12e3b0['createElement']('footnotesDefinitions',{});return _0x12e3b0['append'](_0xea970e,_0x2e5b63),this['_footnotesDefinitions']=_0xea970e,_0xea970e;}['_ensureFootnotesDefinitionsContainerExists'](_0x23650e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x67f99f=this['_footnotes'][0x0]['reference']['root'],_0x2e7748=this['_insertEmptyFootnotesDefinitionsContainer'](_0x23650e,_0x67f99f);for(const _0x12205d of this['_footnotes'])_0x12205d['definition']['parent']||_0x23650e['insert'](_0x12205d['definition'],_0x2e7748,'end');this['_updateFootnotesCounters'](_0x23650e);}['_handleFootnotesDefinitionsObjectChanges'](_0x20aa0a,_0x2b4269){let _0x53d241=!0x1;const {inserted:_0x3b2228,removed:_0xe8067e,moved:_0x395de8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2b4269);if(_0x395de8['length']&&(this['_footnotesDefinitions']=_0x395de8[0x0]),_0x3b2228['length']){if(_0x3b2228['length']>0x1||this['_footnotesDefinitions']&&_0x3b2228['some'](_0x572b1e=>_0x572b1e!==this['_footnotesDefinitions'])){const _0x477777=_0x20aa0a['createElement']('footnotesDefinitions',{}),_0x3d3f27=[];this['_footnotesDefinitions']&&_0x3d3f27['push'](this['_footnotesDefinitions']),_0x3d3f27['push'](..._0x3b2228),_0x20aa0a['insert'](_0x477777,_0x3d3f27[0x0],'before');for(const _0x1f4246 of _0x3d3f27)_0x20aa0a['move'](_0x20aa0a['createRangeIn'](_0x1f4246),_0x20aa0a['createPositionAt'](_0x477777,'end')),_0x20aa0a['remove'](_0x1f4246);this['_footnotesDefinitions']=_0x477777,this['_updateFootnotesCounters'](_0x20aa0a),_0x53d241=!0x0;}else this['_footnotesDefinitions']=_0x3b2228[0x0];}if(_0xe8067e['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1d49b3 of this['_footnotes'])_0x20aa0a['remove'](_0x1d49b3['reference']),_0x53d241=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x53d241;}['_handleFootnoteDefinitionsChanges'](_0x1c0efb,_0x58e37b){let _0x399b1d=!0x1;const _0x11798e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x16a4b9,moved:_0x4f6693}=this['_footnoteDefsTracker']['getChanges'](_0x58e37b);for(const _0x52dfb9 of[..._0x4f6693,..._0x16a4b9]){const _0x28ae43=_0x52dfb9['getAttribute']('footnoteId'),_0x450e69=this['getFootnote'](_0x28ae43);_0x450e69&&(_0x450e69['definition']=_0x52dfb9),_(_0x1c0efb,_0x11798e,_0x52dfb9)&&(_0x399b1d=!0x0);}return _0x399b1d;}['_handleFootnoteReferencesChanges'](_0x59349b,_0x359b9e){let _0x15b5fe=!0x1;const {removed:_0x558b4e,inserted:_0x4b27db,moved:_0x203734}=this['_footnoteRefsTracker']['getChanges'](_0x359b9e);for(const _0x2d9ddd of _0x558b4e)this['_handleRemoveFootnoteReferenceById'](_0x59349b,_0x2d9ddd)&&(_0x15b5fe=!0x0);for(const _0x58a7e3 of _0x4b27db)this['_handleInsertedFootnoteReference'](_0x59349b,_0x58a7e3)&&(_0x15b5fe=!0x0);for(const _0xdc6614 of _0x203734)this['_handleMovedFootnoteReference'](_0x59349b,_0xdc6614)&&(_0x15b5fe=!0x0);return _0x15b5fe;}['_handleFootnotesDefinitionsObjectSync'](_0x23b43d){if(!this['_footnotesDefinitions'])return!0x1;let _0xef1bcd=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x140ad5=[];for(const _0x224c74 of this['_footnotesDefinitions']['getChildren']()){const _0x495ba4=_0x224c74['getAttribute']('footnoteId');this['getFootnote'](_0x495ba4)||(_0x140ad5['unshift'](_0x224c74),_0xef1bcd=!0x0);}for(const _0x348e90 of _0x140ad5)_0x23b43d['remove'](_0x348e90);}const _0x2b45cf=new Set(),_0x134480=[];for(const _0x5f75c5 of this['_footnotesDefinitions']['getChildren']()){const _0x2f33db=_0x5f75c5['getAttribute']('footnoteId');_0x2b45cf['has'](_0x2f33db)?(_0x134480['unshift'](_0x5f75c5),_0xef1bcd=!0x0):_0x2b45cf['add'](_0x2f33db);}for(const _0x5a664b of _0x134480)_0x23b43d['remove'](_0x5a664b);return this['_footnotesDefinitions']['childCount']||(_0x23b43d['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xef1bcd=!0x0),_0xef1bcd;}['_handleInsertedFootnoteReference'](_0x59b7f5,_0x1c3470){if(this['_footnotes']['find'](_0x4a61cf=>_0x4a61cf['reference']===_0x1c3470))return!0x1;let _0xf46dda=!0x1;const _0x150d83=_0x1c3470['getAttribute']('footnoteId'),_0x178abd=this['_footnotes']['findIndex'](_0x1abc6b=>_0x1abc6b['id']===_0x150d83);-0x1!==_0x178abd&&(_0x59b7f5['remove'](this['_footnotes'][_0x178abd]['reference']),this['_footnotes']['splice'](_0x178abd,0x1),_0xf46dda=!0x0);let _0x123a7b=this['_footnotesDefinitions']?function(_0x1ed018,_0x1405cb){for(const _0x282e43 of _0x1ed018['getChildren']())if(_0x282e43['getAttribute']('footnoteId')===_0x1405cb)return _0x282e43;return null;}(this['_footnotesDefinitions'],_0x150d83):null;_0x123a7b||(_0x123a7b=_0x59b7f5['createElement']('footnoteDefinition',{'footnoteId':_0x150d83}),this['_footnotesDefinitions']&&(_0x59b7f5['insert'](_0x123a7b,this['_footnotesDefinitions'],'end'),_0xf46dda=!0x0));const _0x2e1575={'id':_0x150d83,'reference':_0x1c3470,'definition':_0x123a7b},_0x217b31=I(this['editor']['model'],this['_footnotes'],_0x1c3470);this['_footnotes']['splice'](_0x217b31,0x0,_0x2e1575);let _0x1b0391=_0x217b31;return-0x1!==_0x178abd&&(_0x1b0391=Math['min'](_0x217b31,_0x178abd)),this['_updateFootnotesCounters'](_0x59b7f5,_0x1b0391)&&(_0xf46dda=!0x0),_0xf46dda;}['_handleRemoveFootnoteReferenceById'](_0x481b2c,_0x3c73f6){const _0x2e5fd7=this['_footnotes']['findIndex'](_0x2f8f44=>_0x2f8f44['id']===_0x3c73f6);if(-0x1===_0x2e5fd7)return!0x1;let _0xe01f6e=!0x1;const _0x391741=this['_footnotes'][_0x2e5fd7];return'$graveyard'!==_0x391741['definition']['root']['rootName']&&(_0x481b2c['remove'](_0x391741['definition']),_0xe01f6e=!0x0),this['_footnotes']['splice'](_0x2e5fd7,0x1),this['_updateFootnotesCounters'](_0x481b2c,_0x2e5fd7)&&(_0xe01f6e=!0x0),_0xe01f6e;}['_handleMovedFootnoteReference'](_0x3dcc9f,_0xcb815c){const _0x3ad103=_0xcb815c['getAttribute']('footnoteId'),_0x22c4f7=this['_footnotes']['findIndex'](_0x5bbe9a=>_0x5bbe9a['id']===_0x3ad103),_0x376473=this['_footnotes'][_0x22c4f7];let _0x52523d=!0x1;_0x376473['reference']=_0xcb815c,this['_footnotes']['splice'](_0x22c4f7,0x1);const _0x535431=I(this['editor']['model'],this['_footnotes'],_0xcb815c);return this['_footnotes']['splice'](_0x535431,0x0,_0x376473),this['_updateFootnotesCounters'](_0x3dcc9f,Math['min'](_0x22c4f7,_0x535431))&&(_0x52523d=!0x0),_0x52523d;}['_updateFootnoteRefCounter'](_0x1d17f0,_0xe9e0c1){if(!this['_footnotesDefinitions'])return!0x1;const _0x243161=this['_footnotes'][_0xe9e0c1];let _0x16aa0b;return _0x16aa0b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x243161,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xe9e0c1+0x1}):String(_0xe9e0c1+0x1),_0x243161['reference']['getAttribute']('footnoteCounter')!=_0x16aa0b&&(_0x1d17f0['setAttribute']('footnoteCounter',_0x16aa0b,_0x243161['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x44f7ef){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x26f083,_0x4c5cc9){if(_0x26f083['length']!==_0x4c5cc9['length'])return!0x1;for(let _0x423c14=0x0;_0x423c14<_0x26f083['length'];_0x423c14++)if(_0x26f083[_0x423c14]!==_0x4c5cc9[_0x423c14])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2ab508=>_0x2ab508['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x41b036=>_0x41b036['getAttribute']('footnoteId'))))return!0x1;let _0x4aef7c=!0x1;for(let _0x5f54e0=0x0;_0x5f54e0<this['_footnotes']['length'];_0x5f54e0++){const _0x2ac279=this['_footnotes'][_0x5f54e0],_0x30b97d=_0x44f7ef['createPositionBefore'](_0x2ac279['definition']),_0x37135c=_0x44f7ef['createPositionAt'](this['_footnotesDefinitions'],_0x5f54e0);_0x30b97d['isEqual'](_0x37135c)||(_0x44f7ef['move'](_0x44f7ef['createRangeOn'](_0x2ac279['definition']),_0x37135c),_0x4aef7c=!0x0);}return _0x4aef7c;}['_ensureFootnotesReferencesHaveProperOrder'](_0x20c818){if(!this['_footnotes']['length'])return!0x1;const {model:_0x25d9d3}=this['editor'];let _0x156776=!0x1;for(let _0x33adc4=0x0;_0x33adc4<this['_footnotes']['length']-0x1;_0x33adc4++){const _0x464c01=this['_footnotes'][_0x33adc4],_0x565595=this['_footnotes'][_0x33adc4+0x1],_0x49a782=_0x25d9d3['createPositionBefore'](_0x464c01['reference']),_0x9496b4=_0x25d9d3['createPositionBefore'](_0x565595['reference']);'after'===_0x49a782['compareWith'](_0x9496b4)&&(this['_handleMovedFootnoteReference'](_0x20c818,_0x464c01['reference']),_0x33adc4=-0x1,_0x156776=!0x0);}return _0x156776;}}function _(_0x2fd031,_0x67e09d,_0x4a5c03){if(_0x4a5c03['childCount'])return!0x1;const _0x10e884=_0x67e09d?'paragraph':'footnoteInlineContent';return _0x2fd031['insert'](_0x2fd031['createElement'](_0x10e884),_0x4a5c03),!0x0;}function I(_0x17975b,_0x511831,_0x2648ee){if(0x0===_0x511831['length'])return 0x0;const _0x11bc9e=_0x17975b['createPositionBefore'](_0x2648ee);for(let _0x1ef87a=0x0;_0x1ef87a<_0x511831['length'];_0x1ef87a++){const _0x1ce862=_0x511831[_0x1ef87a],_0x5148b2=_0x17975b['createPositionBefore'](_0x1ce862['reference']);if('before'===_0x11bc9e['compareWith'](_0x5148b2))return _0x1ef87a;}const _0x2c4f7d=_0x2648ee['root'];let _0x4aecc8=-0x1;for(let _0x3ebb43=_0x511831['length']-0x1;_0x3ebb43>=0x0;_0x3ebb43--)if(_0x511831[_0x3ebb43]['reference']['root']===_0x2c4f7d){_0x4aecc8=_0x3ebb43;break;}if(-0x1!==_0x4aecc8)return _0x4aecc8+0x1;const _0x6e064a=_0x17975b['document']['getRootNames'](),_0x477586=_0x6e064a['indexOf'](_0x2c4f7d['rootName']),_0x2db744=_0x6e064a[_0x477586+0x1];if(_0x2db744){for(let _0x348514=0x0;_0x348514<_0x511831['length'];_0x348514++)if(_0x511831[_0x348514]['reference']['root']['rootName']===_0x2db744)return _0x348514;}return _0x511831['length'];}class m extends _0x1c07c4{['refresh'](){const _0x1610dd=this['editor']['model']['document']['selection'],_0xe05d2c=this['_getPositionToInsertFootnote'](_0x1610dd);this['isEnabled']=!!_0xe05d2c;}['execute'](_0x159bfc){const {editor:_0x4ba5fb}=this,{model:_0x4efc17}=_0x4ba5fb,{selection:_0x2cca08}=_0x4efc17['document'],_0x44168b=this['_getPositionToInsertFootnote'](_0x2cca08);if(!_0x44168b)return;const _0x2c9242=_0x4ba5fb['plugins']['get']('FootnotesEditing'),_0x46e47a=_0x159bfc?.['footnoteId']??_0x330fbd();!function(_0x574457){return'string'==typeof _0x574457&&_0x574457['length']>0x0&&!/\s/['test'](_0x574457)&&!/^\d/['test'](_0x574457);}(_0x46e47a)?_0x5e426c('insert-footnote-command-executed-with-invalid-id'):(_0x4efc17['change'](_0x5d3fc3=>{const _0x53205c=_0x5d3fc3['createElement']('footnoteRef',{'footnoteId':_0x46e47a});_0x4efc17['insertObject'](_0x53205c,_0x44168b,null);}),_0x2c9242['_moveSelectionToFootnoteDefinition'](_0x46e47a));}['_getPositionToInsertFootnote'](_0x569e81){const {model:_0x16fd78}=this['editor'],{schema:_0x334245}=_0x16fd78,_0x312a7f=_0x569e81['getFirstRange']();for(const _0x488a0a of _0x312a7f['getItems']())if(_0x334245['isBlock'](_0x488a0a)||_0x334245['isObject'](_0x488a0a))return null;const _0x3b1916=_0x312a7f['end'];return _0x334245['checkChild'](_0x3b1916,'footnoteRef')?_0x3b1916:null;}}class r extends _0x4c1d8f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x346b2d}=this;_0x346b2d['config']['define']('footnotes.multiBlock',!0x0),_0x346b2d['commands']['add']('insertFootnote',new m(_0x346b2d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x42833a){const _0x22ee4e=_0x3b8909([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]),_0x27139b=0x47a28506,_0x5153db=0x47a5fe9e^_0x27139b,_0x335121=window[_0x3b8909([0x44,0x61,0x74,0x65])][_0x3b8909([0x6e,0x6f,0x77])](),_0xbe4100=_0x42833a[_0x3b8909([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2452df=new window[(_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29a08f=>{_0xbe4100[_0x3b8909([0x6f,0x6e,0x63,0x65])](_0x3b8909([0x72,0x65,0x61,0x64,0x79]),_0x29a08f);}),_0x336381={[_0x3b8909([0x6b,0x74,0x79])]:_0x3b8909([0x45,0x43]),[_0x3b8909([0x75,0x73,0x65])]:_0x3b8909([0x73,0x69,0x67]),[_0x3b8909([0x63,0x72,0x76])]:_0x3b8909([0x50,0x2d,0x32,0x35,0x36]),[_0x3b8909([0x78])]:_0x3b8909([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]),[_0x3b8909([0x79])]:_0x3b8909([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]),[_0x3b8909([0x61,0x6c,0x67])]:_0x3b8909([0x45,0x53,0x32,0x35,0x36])},_0x58b0bd=_0xbe4100[_0x3b8909([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b8909([0x67,0x65,0x74])](_0x3b8909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf2b23e(){let _0x13464c,_0x10fa06=null,_0x8e1858=null;try{if(_0x58b0bd==_0x3b8909([0x47,0x50,0x4c]))return _0x3b8909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13464c=_0x2e6a9f(),!_0x13464c)return _0x3b8909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13464c[_0x3b8909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8e1858=_0x3d98e6(_0x13464c[_0x3b8909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13464c[_0x3b8909([0x6a,0x74,0x69])])),await _0x43ad91()?_0x5a89ff()?_0x2eba3e()?_0x3b8909([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c3cc7()?(_0x13464c[_0x3b8909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b8909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10fa06=_0x571438(_0x3b8909([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13464c[_0x3b8909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b8909([0x74,0x72,0x69,0x61,0x6c])&&(_0x10fa06=_0x571438(_0x3b8909([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53742c()):_0x3b8909([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b8909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b8909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b8909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2eba3e(){const _0x2c1da8=[_0x3b8909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b8909([0x74,0x72,0x69,0x61,0x6c])][_0x3b8909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13464c[_0x3b8909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x335121/0x3e8:0xe10*_0x5153db;return _0x13464c[_0x3b8909([0x65,0x78,0x70])]<_0x2c1da8;}function _0x5a89ff(){const _0x3f7fa2=_0x13464c[_0x3b8909([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f7fa2&&(!!_0x3f7fa2[_0x3b8909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b8909([0x2a]))||!!_0x3f7fa2[_0x3b8909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b8909([0x46,0x4f,0x4f])));}function _0x3c3cc7(){const _0x1a5f76=_0x13464c[_0x3b8909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a5f76||0x0==_0x1a5f76[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ee9ac}=new URL(window[_0x3b8909([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a5f76[_0x3b8909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee9ac))return!0x0;const _0x480914=_0x1ee9ac[_0x3b8909([0x73,0x70,0x6c,0x69,0x74])](_0x3b8909([0x2e]));return _0x1a5f76[_0x3b8909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe2cfd9=>_0xe2cfd9[_0x3b8909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b8909([0x2a])))[_0x3b8909([0x6d,0x61,0x70])](_0x1b6907=>_0x1b6907[_0x3b8909([0x73,0x70,0x6c,0x69,0x74])](_0x3b8909([0x2e])))[_0x3b8909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x549b6e=>_0x549b6e[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x480914[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b8909([0x6d,0x61,0x70])](_0xed5f82=>Array(_0x480914[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xed5f82[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b8909([0x66,0x69,0x6c,0x6c])](_0xed5f82[0x0]===_0x3b8909([0x2a])?_0x3b8909([0x2a]):'')[_0x3b8909([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xed5f82))[_0x3b8909([0x73,0x6f,0x6d,0x65])](_0x13cfd6=>_0x480914[_0x3b8909([0x65,0x76,0x65,0x72,0x79])]((_0x2c55e7,_0x59af95)=>_0x13cfd6[_0x59af95]===_0x2c55e7||_0x13cfd6[_0x59af95]===_0x3b8909([0x2a])));}function _0x53742c(){return _0x10fa06&&_0x8e1858?new window[(_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc363a,_0x1344fe)=>{_0x10fa06[_0x3b8909([0x74,0x68,0x65,0x6e])](_0xc363a,_0x1344fe),_0x8e1858[_0x3b8909([0x74,0x68,0x65,0x6e])](_0x91a5b3=>{_0x91a5b3!=_0x3b8909([0x56,0x61,0x6c,0x69,0x64])&&_0xc363a(_0x91a5b3);},_0x1344fe);}):_0x10fa06||_0x8e1858||_0x3b8909([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d98e6(_0x41ce65,_0x58746b){return new window[(_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24e2f2=>{if(_0x263488())return _0x24e2f2(_0x3b8909([0x56,0x61,0x6c,0x69,0x64]));_0x40694d(),_0xbe4100[_0x3b8909([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b8909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4912df=!0x1;const _0x132fbb=_0x330fbd();function _0x23a4b8(_0x54f256){return!!_0x54f256&&(typeof _0x54f256===_0x3b8909([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54f256===_0x3b8909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54f256[_0x3b8909([0x74,0x68,0x65,0x6e])]===_0x3b8909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54f256[_0x3b8909([0x63,0x61,0x74,0x63,0x68])]===_0x3b8909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x344a52(_0x5e5e7d){_0x31031c(_0x5e5e7d)[_0x3b8909([0x74,0x68,0x65,0x6e])](_0x4591e2=>{if(!_0x4591e2||_0x4591e2[_0x3b8909([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b8909([0x6f,0x6b]))return _0x3b8909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2100c7(_0x4ebf3f(_0x132fbb+_0x58746b))!=_0x4591e2[_0x3b8909([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b8909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b8909([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b8909([0x74,0x68,0x65,0x6e])](_0x1bbf12=>(_0x22dc39(),_0x1bbf12),()=>{const _0x1982c8=_0x5ce7df();return null==_0x1982c8?(_0x22dc39(),_0x3b8909([0x56,0x61,0x6c,0x69,0x64])):_0x3b8909(_0x335121-_0x1982c8>(0x63ae0106^_0x27139b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b8909([0x74,0x68,0x65,0x6e])](_0x24e2f2)[_0x3b8909([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24e2f2(_0x3b8909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x500c79=0x47946b86^_0x27139b;function _0x22dc39(){const _0x56807f=_0x3b8909([0x6c,0x6c,0x63,0x74,0x2d])+_0x2100c7(_0x4ebf3f(_0x41ce65)),_0x23ac99=_0x3ac7c8(_0x2100c7(window[_0x3b8909([0x4d,0x61,0x74,0x68])][_0x3b8909([0x63,0x65,0x69,0x6c])](_0x335121/_0x500c79)));window[_0x3b8909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b8909([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56807f,_0x23ac99);}function _0x5ce7df(){const _0xb9b719=_0x3b8909([0x6c,0x6c,0x63,0x74,0x2d])+_0x2100c7(_0x4ebf3f(_0x41ce65)),_0x56e636=window[_0x3b8909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b8909([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb9b719);return _0x56e636?window[_0x3b8909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ac7c8(_0x56e636),0x10)*_0x500c79:null;}function _0x31031c(_0x20804c){return new window[(_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ddfee,_0x2f4a45)=>{_0x20804c[_0x3b8909([0x74,0x68,0x65,0x6e])](_0x1ddfee,_0x2f4a45),window[_0x3b8909([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f4a45,0x47a351c6^_0x27139b);});}}_0xbe4100[_0x3b8909([0x6f,0x6e])](_0x3b8909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f3cc0,_0x3e4f56)=>{if(_0x3e4f56[0x0]!=_0x41ce65)return _0x24e2f2(_0x3b8909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e4f56[0x1]={..._0x3e4f56[0x1],[_0x3b8909([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x132fbb};},{[_0x3b8909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b8909([0x68,0x69,0x67,0x68])}),_0xbe4100[_0x3b8909([0x6f,0x6e])](_0x3b8909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f27f9=>{_0x23a4b8(_0x4f27f9[_0x3b8909([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4912df=!0x0,_0x344a52(_0x4f27f9[_0x3b8909([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b8909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b8909([0x6c,0x6f,0x77])}),_0x2452df[_0x3b8909([0x74,0x68,0x65,0x6e])](()=>{_0x4912df||_0x24e2f2(_0x3b8909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x263488(){return _0xbe4100[_0x3b8909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b8909([0x76,0x69,0x65,0x77])][_0x3b8909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b8909([0x61,0x75,0x74,0x6f]);}function _0x40694d(){_0xbe4100[_0x3b8909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b8909([0x76,0x69,0x65,0x77])][_0x3b8909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b8909([0x61,0x75,0x74,0x6f]);}}function _0x571438(_0x5bd018){const _0xed5b8=[new window[(_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bffbc=>setTimeout(_0x1bffbc,0x47abbbca^_0x27139b)),_0x2452df[_0x3b8909([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2095ea=>{let _0x54a040=0x0;_0xbe4100[_0x3b8909([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b8909([0x6f,0x6e])](_0x3b8909([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c0679,_0x578734)=>{_0x578734[0x0][_0x3b8909([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54a040++,_0x54a040==(0x47a284fe^_0x27139b)&&(_0x2095ea(),_0x3c0679[_0x3b8909([0x6f,0x66,0x66])]());});}))];return window[_0x3b8909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b8909([0x72,0x61,0x63,0x65])](_0xed5b8)[_0x3b8909([0x74,0x68,0x65,0x6e])](()=>_0x5bd018);}async function _0x9ac466(){await _0x2452df,_0xbe4100[_0x3b8909([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b8909([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53ee79,_0xbe4100[_0x3b8909([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b8909([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53ee79,_0xbe4100[_0x3b8909([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b8909([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd84781(_0x126857){const _0x25c0b5=_0xabec91();_0xbe4100[_0x25c0b5]=_0x3b8909([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x126857,_0x126857!=_0x3b8909([0x56,0x61,0x6c,0x69,0x64])&&_0x9ac466();}function _0xabec91(){const _0x161af4=window[_0x3b8909([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b8909([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b8909([0x6e,0x6f,0x77])]())[_0x3b8909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b8909([0x2e]),'');let _0x10c325=_0x3b8909([0x75]);for(let _0x26dbed=0x0;_0x26dbed<_0x161af4[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26dbed+=0x2){let _0x41d07f=window[_0x3b8909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x161af4[_0x3b8909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26dbed,_0x26dbed+0x2));_0x41d07f>=_0x22ee4e[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41d07f-=_0x22ee4e[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10c325+=_0x22ee4e[_0x41d07f];}return _0x10c325;}function _0x2e6a9f(){const _0x3eee15=_0x58b0bd[_0x3b8909([0x73,0x70,0x6c,0x69,0x74])](_0x3b8909([0x2e]));if(0x3!=_0x3eee15[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e7f81(_0x3eee15[0x1]);function _0x5e7f81(_0x15afdd){const _0x4b9e70=_0x77d081(_0x15afdd);return _0x4b9e70&&_0x2d092f()?_0x4b9e70:null;function _0x2d092f(){const _0x30b839=_0x4b9e70[_0x3b8909([0x6a,0x74,0x69])],_0x564066=window[_0x3b8909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30b839[_0x3b8909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30b839[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x532d86={..._0x4b9e70,[_0x3b8909([0x6a,0x74,0x69])]:_0x30b839[_0x3b8909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30b839[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x532d86[_0x3b8909([0x76,0x63])],_0x4ebf3f(_0x532d86)==_0x564066;}}}async function _0x43ad91(){let _0x32c5a4=!0x0;try{const _0x666057=_0x58b0bd[_0x3b8909([0x73,0x70,0x6c,0x69,0x74])](_0x3b8909([0x2e])),[_0x13dcd0,_0x1e0f13,_0x2a6927]=_0x666057;return _0x2d188a(_0x13dcd0),await _0x1471fe(_0x13dcd0,_0x1e0f13,_0x2a6927),_0x32c5a4;}catch{return!0x1;}function _0x2d188a(_0x2ad5bc){const _0x4f44eb=_0x77d081(_0x2ad5bc);_0x4f44eb&&_0x4f44eb[_0x3b8909([0x61,0x6c,0x67])]==_0x3b8909([0x45,0x53,0x32,0x35,0x36])||(_0x32c5a4=!0x1);}async function _0x1471fe(_0x4066e7,_0x28e5e4,_0x1d253a){const _0x3ab8ea=window[_0x3b8909([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b8909([0x66,0x72,0x6f,0x6d])](_0x34edde(_0x1d253a),_0x2618b2=>_0x2618b2[_0x3b8909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a5745=new window[(_0x3b8909([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b8909([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4066e7+_0x3b8909([0x2e])+_0x28e5e4),_0x4bbe5d=window[_0x3b8909([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b8909([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bbe5d)return;const _0x1930c9=await _0x4bbe5d[_0x3b8909([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b8909([0x6a,0x77,0x6b]),_0x336381,{[_0x3b8909([0x6e,0x61,0x6d,0x65])]:_0x3b8909([0x45,0x43,0x44,0x53,0x41]),[_0x3b8909([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b8909([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b8909([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bbe5d[_0x3b8909([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b8909([0x6e,0x61,0x6d,0x65])]:_0x3b8909([0x45,0x43,0x44,0x53,0x41]),[_0x3b8909([0x68,0x61,0x73,0x68])]:{[_0x3b8909([0x6e,0x61,0x6d,0x65])]:_0x3b8909([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1930c9,_0x3ab8ea,_0x4a5745)||(_0x32c5a4=!0x1);}}function _0x77d081(_0x17ea01){return _0x17ea01[_0x3b8909([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b8909([0x65,0x79]))?JSON[_0x3b8909([0x70,0x61,0x72,0x73,0x65])](_0x34edde(_0x17ea01)):null;}function _0x34edde(_0x377773){return window[_0x3b8909([0x61,0x74,0x6f,0x62])](_0x377773[_0x3b8909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b8909([0x2b]))[_0x3b8909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b8909([0x2f])));}function _0x4ebf3f(_0x2a2649){let _0x44eb5c=0x1505;function _0x32438f(_0x475b14){for(let _0x3e716b=0x0;_0x3e716b<_0x475b14[_0x3b8909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e716b++){const _0x5e0617=_0x475b14[_0x3b8909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e716b);_0x44eb5c=(_0x44eb5c<<0x5)+_0x44eb5c+_0x5e0617,_0x44eb5c&=_0x44eb5c;}}function _0x3d6941(_0x2c97d6){Array[_0x3b8909([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c97d6)?_0x2c97d6[_0x3b8909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d6941):_0x2c97d6&&typeof _0x2c97d6==_0x3b8909([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b8909([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c97d6)[_0x3b8909([0x73,0x6f,0x72,0x74])]()[_0x3b8909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f3e07,_0x28bf54])=>{_0x32438f(_0x5f3e07),_0x3d6941(_0x28bf54);}):_0x32438f(window[_0x3b8909([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c97d6));}return _0x3d6941(_0x2a2649),_0x44eb5c>>>0x0;}function _0x2100c7(_0x5036bc){return _0x5036bc[_0x3b8909([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b8909([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b8909([0x30]));}function _0x3ac7c8(_0x434763){return _0x434763[_0x3b8909([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b8909([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b8909([0x6a,0x6f,0x69,0x6e])]('');}function _0x53ee79(){}function _0x3b8909(_0x548bd1){return _0x548bd1['map'](_0x3817c9=>String['fromCharCode'](_0x3817c9))['join']('');}_0xd84781(await _0xf2b23e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1f1754){const {plugins:_0x465702,editing:_0x5cd915,model:_0x7370bf}=this['editor'],_0x2b018e=_0x465702['get'](f)['getFootnote'](_0x1f1754);return!!_0x2b018e&&(_0x7370bf['change'](_0x36feb9=>{_0x36feb9['setSelection'](_0x36feb9['createPositionAt'](_0x2b018e['definition'],'end'));}),_0x5cd915['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x644a03){const {plugins:_0x5caf63,editing:_0x55354b,model:_0x58c2fb}=this['editor'],_0x48d227=_0x5caf63['get'](f)['getFootnote'](_0x644a03);return!!_0x48d227&&(_0x58c2fb['change'](_0x5674be=>{_0x5674be['setSelection'](_0x48d227['reference'],'on');}),_0x55354b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x191429}=this['editor']['model'],_0x40cc15=this['editor']['config']['get']('footnotes.multiBlock');_0x191429['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x191429['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x191429['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x40cc15?_0x191429['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x191429['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x191429['addChildCheck'](_0x1df325=>{for(const _0x580e91 of _0x1df325)if('footnoteDefinition'===_0x580e91['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xb4ce5f}=this,{conversion:_0x57b183,editing:_0x4c07be}=_0xb4ce5f,{t:t}=_0xb4ce5f['locale'];_0x57b183['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4a9ca6,{writer:_0x118461,consumable:_0x2e6908})=>{const _0x9ce8c8=_0x4a9ca6['getChild'](0x0);if(!_0x9ce8c8||!_0x9ce8c8['is']('element','a'))return null;const _0x3a50be=_0x9ce8c8['getAttribute']('href')||'';if(!_0x3a50be['startsWith']('#'))return null;const _0x4d74f8=_0x3a50be['replace'](/^#/,'');if(!_0x4d74f8)return null;_0x2e6908['consume'](_0x9ce8c8,{'name':!0x0,'attributes':['href']});for(const {item:_0x1af798}of _0x4c07be['view']['createRangeIn'](_0x9ce8c8))_0x1af798['is']('$textProxy')?_0x2e6908['consume'](_0x1af798['textNode'],{'name':!0x0}):_0x1af798['is']('element')&&_0x2e6908['consume'](_0x1af798,{'name':!0x0});return _0x118461['createElement']('footnoteRef',{'footnoteId':_0x4d74f8});}}),_0x57b183['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5af8f8,{writer:_0x17d4a1})=>D(_0x5af8f8,_0x17d4a1)}),_0x57b183['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x184e5a,{writer:_0x16ef14})=>{const _0x58503a=_0x184e5a['getAttribute']('footnoteCounter');return _0x541382(D(_0x184e5a,_0x16ef14),_0x16ef14,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x58503a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x592dd4}=this,{t:t}=_0x592dd4['locale'],{conversion:_0x1a7fb6}=_0x592dd4;_0x1a7fb6['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1a7fb6['for']('upcast')['add'](_0xf99406=>{_0xf99406['on']('element:ol',(_0x41b31f,_0x490ca3,_0xac18d4)=>{const _0x207fc4=_0x490ca3['viewItem'];if(!_0x207fc4['hasClass']('footnotes-list')||!_0x490ca3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xac18d4['consumable']['consume'](_0x207fc4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x6479e,modelCursor:_0x958a81}=_0xac18d4['convertChildren'](_0x490ca3['viewItem'],_0x490ca3['modelCursor']);_0x490ca3['modelRange']=_0x6479e,_0x490ca3['modelCursor']=_0x958a81;}),_0xf99406['on']('element:hr',(_0x4b63a3,_0x5d959a,_0x1994b1)=>{const _0x38b4ae=_0x5d959a['viewItem'];_0x38b4ae['hasClass']('footnotes-divider')&&_0x5d959a['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1994b1['consumable']['consume'](_0x38b4ae,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1a7fb6['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x466eb7,{writer:_0x4291bf})=>v(_0x4291bf)}),_0x1a7fb6['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a9b28,{writer:_0x3a539d})=>{const _0x3eda07=v(_0x3a539d,{'data-footnotes-list-label':t('Footnotes')}),_0x2d588c=_0x541382(_0x3eda07,_0x3a539d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3a539d['setCustomProperty']('footnotesDefinitions',!0x0,_0x2d588c),_0x2d588c;}});}['_defineDefinitionConverters'](){const {editor:_0x559114}=this,{conversion:_0x11f9b0,locale:_0x1fd227}=_0x559114,_0x4ddacc=_0x559114['config']['get']('footnotes.multiBlock');_0x11f9b0['for']('upcast')['add'](_0x1e190b=>{_0x1e190b['on']('element:li',(_0x1de351,_0x430256,_0x49661b)=>{const _0xed120a=_0x430256['viewItem'];if(!_0xed120a['hasClass']('footnote-definition')||!_0xed120a['getAttribute']('id'))return;const _0x1915c2=_0xed120a['parent'];if(!_0x1915c2['is']('element','ol')||!_0x1915c2['hasClass']('footnotes-list'))return;if(!_0x49661b['consumable']['test'](_0xed120a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5336c0=_0x49661b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xed120a['getAttribute']('id')});if(!_0x49661b['safeInsert'](_0x5336c0,_0x430256['modelCursor']))return;_0x49661b['consumable']['consume'](_0xed120a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4c4046=Array['from'](_0xed120a['getChildren']())['find'](_0x378653=>_0x378653['is']('element')&&_0x378653['hasClass']('footnote-content'));for(const _0x56874c of _0xed120a['getChildren']())_0x56874c['is']('element')&&(_0x49661b['consumable']['consume'](_0x56874c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x49661b['consumable']['consume'](_0x56874c,{'name':!0x0,'classes':'footnote-content'}));if(_0x4c4046){if(_0x4ddacc)_0x49661b['convertChildren'](_0x4c4046,_0x5336c0);else{const _0x4cd4aa=_0x49661b['writer']['createElement']('footnoteInlineContent');_0x49661b['writer']['insert'](_0x4cd4aa,_0x5336c0),_0x49661b['convertChildren'](_0x4c4046,_0x4cd4aa);}}_0x49661b['updateConversionResult'](_0x5336c0,_0x430256);});}),_0x11f9b0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x8dad9d,{writer:_0x195577})=>b(_0x8dad9d,_0x195577,_0x1fd227,{'dataPipeline':!0x0})}),_0x11f9b0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x23aade,{writer:_0x57aa05})=>b(_0x23aade,_0x57aa05,_0x1fd227)});}['_defineBogusParagraphConverters'](){const {editor:_0x12cddc}=this,{conversion:_0xe80ef0}=_0x12cddc;_0x12cddc['config']['get']('footnotes.multiBlock')?(_0xe80ef0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0xe80ef0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x12cddc['model']['document'],'change:data',()=>{!function(_0x3226a1,_0x2bdf78){const _0x5dccb9=_0x3226a1['document']['differ'],_0x5a2565=new Set();for(const _0x4c9ba3 of _0x5dccb9['getChanges']()){const _0x23595c='attribute'==_0x4c9ba3['type']?_0x4c9ba3['range']['start']['parent']:_0x4c9ba3['position']['parent'];_0x23595c['is']('element','footnoteDefinition')&&_0x5a2565['add'](_0x23595c);}for(const _0x394ea5 of _0x5a2565['values']()){const _0x454392=Array['from'](_0x394ea5['getChildren']())['filter'](_0x1c682f=>g(_0x1c682f,_0x2bdf78['mapper']));for(const _0x3b90a8 of _0x454392)_0x2bdf78['reconvertItem'](_0x3b90a8);}}(_0x12cddc['model'],_0x12cddc['editing']);})):(_0xe80ef0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0xe80ef0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x26d0af,{writer:_0x58f070})=>{const _0xd5a306=_0x58f070['createContainerElement']('span');return _0x58f070['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xd5a306),_0xd5a306;}}));}['_defineKeyboardHandlers'](){const {editor:_0x190bc7}=this,{editing:_0x4e3cc0,t:t}=_0x190bc7,_0x17bdd3=_0x190bc7['model']['document']['selection'];_0x190bc7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x190bc7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4e3cc0['view']['document'],'enter',(_0x60e562,_0x30d31c)=>{const _0x4436a2=function(_0x32c4bb){const _0x3e09ab=_0x32c4bb['getSelectedElement']();if(_0x3e09ab?.['is']('element','footnoteRef'))return _0x3e09ab;return null;}(_0x17bdd3);if(_0x4436a2){const _0x5ad609=_0x4436a2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5ad609),_0x30d31c['preventDefault'](),_0x60e562['stop']();}},{'context':_0x34f6ed});}['_defineClickHandlers'](){const {editor:_0x3fd39c}=this,{editing:_0x1fb595}=_0x3fd39c;_0x3fd39c['editing']['view']['addObserver'](_0x5a9b22),_0x3fd39c['editing']['view']['addObserver'](_0x45dec8);let _0x15c1b4=!0x1;this['listenTo'](_0x1fb595['view']['document'],'pointerdown',(_0x4b403d,_0x113d9f)=>{const {target:_0x5bf31f}=_0x113d9f,_0x27cd1e=_0x1fb595['view']['document']['selection'];_0x15c1b4=!!(_0x5bf31f?.['is']('element','a')&&_0x5bf31f['parent']?.['is']('element','sup')&&_0x5bf31f['parent']['hasClass']('footnote'))&&_0x27cd1e['getSelectedElement']()===_0x5bf31f['parent'];},{'priority':'high'}),this['listenTo'](_0x1fb595['view']['document'],'click',(_0x45f14b,_0x31c2ee)=>{const {target:_0xec9c30}=_0x31c2ee;if(!_0xec9c30?.['is']('element','a'))return;if(_0xec9c30['parent']?.['is']('element','sup')&&_0xec9c30['parent']['hasClass']('footnote')&&!_0x15c1b4)return void _0x31c2ee['preventDefault']();let _0x167f3d=_0xec9c30['getAttribute']('href');if(!_0x167f3d?.['startsWith']('#'))return;_0x167f3d=_0x167f3d['slice'](0x1);let _0xb4f2d9=!0x1;(_0x167f3d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x167f3d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x167f3d))&&(_0xb4f2d9=!0x0),_0xb4f2d9&&(_0x31c2ee['preventDefault'](),_0x45f14b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xcd6c44}={}){return(_0x195b24,{writer:_0x85671b})=>{if(!p(_0x195b24))return null;if(!_0xcd6c44)return _0x85671b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4cc78d=_0x85671b['createContainerElement']('p');return _0x85671b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4cc78d),_0x4cc78d;};}function p(_0x2cd4f8){const {parent:_0x43c6de}=_0x2cd4f8;if(!_0x43c6de?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x43c6de['childCount'])return!0x1;for(const _0x540e71 of _0x2cd4f8['getAttributeKeys']())if(!_0x540e71['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x540e71)return!0x1;return!0x0;}function g(_0x63799,_0x1215f5){if(!_0x63799['is']('element','paragraph'))return!0x1;const _0x36f120=_0x1215f5['toViewElement'](_0x63799);return!!_0x36f120&&p(_0x63799)!==_0x36f120['is']('element','span');}function J(_0x4f1654){return _0x34f6ed(_0x4f1654)&&_0x4f1654['is']('containerElement')&&!!_0x4f1654['getCustomProperty']('footnotesDefinitions');}function v(_0x420855,_0x2b79ac={}){const _0x594cef=_0x420855['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x185309=_0x420855['createContainerElement']('ol',{'class':'footnotes-list'},_0x420855['createSlot']());return _0x420855['createContainerElement']('div',{'class':'footnotes',..._0x2b79ac},[_0x594cef,_0x185309]);}function D(_0x2a294c,_0x3606f4){const _0x514f89=_0x2a294c['getAttribute']('footnoteId'),_0x54040a=_0x2a294c['getAttribute']('footnoteCounter'),_0x842f7d=_0x3606f4['createUIElement']('a',{'href':'#'+_0x514f89},function(_0x5593e7){const _0x2b324f=this['toDomElement'](_0x5593e7);return _0x2b324f['textContent']=_0x54040a,_0x2b324f;}),_0x19b5df=_0x3606f4['createContainerElement']('sup',{'id':'ref-'+_0x514f89,'class':'footnote'},[_0x842f7d]);return _0x19b5df['getFillerOffset']=()=>null,_0x19b5df;}function b(_0x3765f1,_0x54d600,_0xb72f1a,{dataPipeline:_0x3cc2af}={}){const {t:t}=_0xb72f1a,_0x12c30d=_0x3765f1['getAttribute']('footnoteId'),_0x2a58ec=_0x54d600['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x12c30d},function(_0x2b950e){const _0x968dc7=this['toDomElement'](_0x2b950e);return _0x968dc7['innerText']='^',_0x968dc7;}),_0x17d272=_0x3cc2af?_0x54d600['createContainerElement']('div',{'class':'footnote-content'}):_0x3adf4b(_0x54d600['createEditableElement']('div',{'class':'footnote-content'}),_0x54d600,{'label':t('Footnote\x20content.')});return _0x54d600['insert'](_0x54d600['createPositionAt'](_0x17d272,0x0),_0x54d600['createSlot']()),_0x54d600['createContainerElement']('li',{'class':'footnote-definition','id':_0x12c30d},[_0x2a58ec,_0x17d272]);}class e extends _0x4c1d8f{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x534b16];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x39bb1e}=this,{plugins:_0x578bbb,model:_0xa7ce8f}=_0x39bb1e,_0x46ad67=_0x578bbb['get'](_0x534b16),_0x30543a=_0x578bbb['get'](f);this['listenTo'](_0x46ad67,'outputTransformation',(_0x23a721,_0x3d366e)=>{const _0x1a7fc0=c(_0xa7ce8f['createRangeIn'](_0x3d366e['content']));if(!_0x1a7fc0['length'])return;const _0xef5ab2=_0x30543a['getFootnotes'](),_0x13c54b=_0x1a7fc0['reduce']((_0x201f4e,_0x295c7a)=>{const _0x3e9920=_0xef5ab2['find'](_0x4c59f8=>_0x4c59f8['id']===_0x295c7a);if(_0x3e9920){const _0x304b40=_0x39bb1e['data']['toView'](_0x3e9920['definition'],{'isClipboardPipeline':!0x0}),_0x478992=_0x39bb1e['data']['htmlProcessor']['toData'](_0x304b40);_0x201f4e[_0x3e9920['id']]=_0x478992;}return _0x201f4e;},Object['create'](null));_0x3d366e['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x13c54b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xe89b0f}=this,{model:_0x477420,plugins:_0x6d2f5e}=_0xe89b0f,{view:_0x5652be}=_0xe89b0f['editing'],_0xe322de=_0x6d2f5e['get'](_0x534b16),_0x177b9e=_0x6d2f5e['get'](f),_0x5ccaf9=_0xe89b0f['config']['get']('footnotes.multiBlock');let _0x54e3f0=null;this['listenTo'](_0x5652be['document'],'clipboardInput',(_0x59f068,_0x4ebef1)=>{const _0x1f965c=_0x4ebef1['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x54e3f0=_0x1f965c?JSON['parse'](_0x1f965c):null;}),this['listenTo'](_0xe322de,'contentInsertion',(_0x51af56,_0x373b39)=>{const _0x11648c=_0x373b39['sourceEditorId']===this['editor']['id'];_0x11648c&&'drop'===_0x373b39['method']||_0x477420['change'](_0x3dc9c3=>{let _0x1030ec=_0x177b9e['getFootnotesDefinitionsObjectElement']();const _0x3307b4=!!_0x1030ec&&Array['from'](_0x477420['document']['selection']['getSelectedBlocks']())['includes'](_0x1030ec);if((_0x1030ec&&!_0x3307b4||!_0x1030ec&&!_0x54e3f0)&&function(_0x2c20f1,_0x5286fb){const _0x1b75bc=[];for(const {item:_0x4b59e1}of _0x2c20f1['createRangeIn'](_0x5286fb))_0x4b59e1['is']('element','footnotesDefinitions')&&_0x1b75bc['push'](_0x4b59e1);for(const _0x8ac679 of _0x1b75bc)_0x2c20f1['remove'](_0x8ac679);}(_0x3dc9c3,_0x373b39['content']),!_0x54e3f0)return;const {selection:_0x1c0484}=_0x477420['document'],_0xffd811=_0x1c0484['getFirstRange']()['root'];_0x1030ec&&!_0x3307b4||(_0x1030ec=function(_0x8c61c1,_0x3fb3dd){for(const {item:_0x14377b}of _0x8c61c1['createRangeIn'](_0x3fb3dd))if(_0x14377b['is']('element','footnotesDefinitions'))return _0x14377b;return null;}(_0x3dc9c3,_0x373b39['content']),_0x1030ec||=_0x177b9e['_insertEmptyFootnotesDefinitionsContainer'](_0x3dc9c3,_0xffd811));const _0x234135=Array['from'](_0x1c0484['getRanges']())['flatMap'](c),_0x1e109b=function(_0x24b179,_0x811d28,_0x237c72){const _0x2c2640=Object['create'](null);for(const {item:_0x482a47}of _0x24b179['createRangeIn'](_0x811d28))if(_0x482a47['is']('element','footnoteRef')){const _0x424c9e=_0x482a47['getAttribute']('footnoteId');if(!_0x237c72(_0x424c9e))continue;_0x2c2640[_0x424c9e]||(_0x2c2640[_0x424c9e]=_0x330fbd()),_0x24b179['setAttribute']('footnoteId',_0x2c2640[_0x424c9e],_0x482a47);}return _0x2c2640;}(_0x3dc9c3,_0x373b39['content'],_0x52f7f2=>{if(!_0x11648c)return!0x0;return!!_0x177b9e['getFootnote'](_0x52f7f2)&&!_0x234135['includes'](_0x52f7f2);});for(const [_0xdf720a,_0x325314]of Object['entries'](_0x54e3f0)){const _0x8bbd74=_0x1e109b[_0xdf720a]||_0xdf720a,_0x5a6016=_0x3dc9c3['createElement']('footnoteDefinition',{'footnoteId':_0x8bbd74}),_0x141daa=_0xe89b0f['data']['htmlProcessor']['toView'](_0x325314);let _0x3dc8b7;if(_0x5ccaf9)_0x3dc8b7=_0xe89b0f['data']['toModel'](_0x141daa,_0x5a6016);else{_0x3dc8b7=_0x3dc9c3['createElement']('footnoteInlineContent');const _0x254b7b=_0xe89b0f['data']['toModel'](_0x141daa,_0x3dc8b7);_0x3dc9c3['insert'](_0x254b7b,_0x3dc8b7);}_0x3dc9c3['append'](_0x3dc8b7,_0x5a6016),_0x3dc9c3['insert'](_0x5a6016,_0x1030ec,'end');}_0x54e3f0=null;});});}}function c(_0x3681fd){const _0x36a056=new Set();for(const {item:_0x3c384e}of _0x3681fd)_0x3c384e['is']('element','footnoteRef')&&_0x36a056['add'](_0x3c384e['getAttribute']('footnoteId'));return Array['from'](_0x36a056);}class i extends _0x4c1d8f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x228ef4}=this,{componentFactory:_0x23bc1b}=_0x228ef4['ui'];_0x23bc1b['add']('insertFootnote',x(_0x228ef4,_0x1bd165)),_0x23bc1b['add']('menuBar:insertFootnote',x(_0x228ef4,_0xf9c505)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x595f64=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ed55c;for(const _0x3ada47 in _0x595f64){const _0x53caed=_0x3ada47,_0x194eaf=_0x595f64[_0x53caed];if('footnotesLicenseKeyValid'==_0x194eaf||'footnotesLicenseKeyInvalid'==_0x194eaf||'footnotesLicenseKeyExpired'==_0x194eaf||'footnotesLicenseKeyDomainLimit'==_0x194eaf||'footnotesLicenseKeyNotAllowed'==_0x194eaf||'footnotesLicenseKeyEvaluationLimit'==_0x194eaf||'footnotesLicenseKeyTrialLimit'==_0x194eaf||'footnotesLicenseKeyUsageLimit'==_0x194eaf){delete _0x595f64[_0x53caed],_0x3ed55c=_0x194eaf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3ed55c&&_0x595f64['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3ed55c&&_0x595f64['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3ed55c&&_0x595f64['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3ed55c&&_0x595f64['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3ed55c&&_0x595f64['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3ed55c&&_0x595f64['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3ed55c&&_0x595f64['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x400609,_0xc2e7dd){const _0x332655=_0x400609['commands']['get']('insertFootnote');return _0x5936e9=>{const {t:t}=_0x5936e9,_0xcb42b=new _0xc2e7dd(_0x5936e9),_0x5acb2f=_0xcb42b instanceof _0xf9c505;return _0xcb42b['bind']('isEnabled')['to'](_0x332655,'isEnabled'),_0xcb42b['set']({'label':t(_0x5acb2f?'Footnote':'Insert\x20footnote'),'icon':_0x22b1ee,'tooltip':!0x0}),_0xcb42b['on']('execute',()=>{_0x332655['execute'](),_0x400609['editing']['view']['focus']();}),_0xcb42b;};}class lt extends _0x4c1d8f{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 _0x1c07c4{['refresh'](){const {editor:_0x13f2fb}=this,_0x135be5=_0x13f2fb['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x135be5,this['value']=_0x135be5?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xe5afcc}){const {editor:_0x21fcc8}=this,_0x4479cd=_0x21fcc8['plugins']['get'](f),_0xb82ad2=_0x4479cd['getFootnotesDefinitionsObjectElement']();_0xb82ad2&&Q['includes'](_0xe5afcc)&&_0x21fcc8['model']['change'](_0x3cd392=>{_0x3cd392['setAttribute']('footnotesListStyle',_0xe5afcc,_0xb82ad2),_0x4479cd['_updateFootnotesCounters'](_0x3cd392);});}}class C extends _0x1c07c4{['refresh'](){const {editor:_0x2a3493}=this,_0x3b1256=_0x2a3493['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3b1256,this['value']=_0x3b1256?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4500a5}){const {editor:_0x39c3e5}=this,_0x3d6cbb=_0x39c3e5['plugins']['get'](f),_0x18af51=_0x3d6cbb['getFootnotesDefinitionsObjectElement']();_0x18af51&&Number['isInteger'](_0x4500a5)&&_0x39c3e5['model']['change'](_0x5a607f=>{_0x5a607f['setAttribute']('footnotesListStart',_0x4500a5,_0x18af51),_0x3d6cbb['_updateFootnotesCounters'](_0x5a607f);});}}class P extends _0x4c1d8f{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8d4d1f}=this;_0x8d4d1f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x8d4d1f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x8d4d1f['commands']['add']('footnotesStyle',new S(_0x8d4d1f)),_0x8d4d1f['commands']['add']('footnotesStart',new C(_0x8d4d1f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x22b593}=this,{schema:_0x24a053}=_0x22b593['model'];_0x24a053['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x9b031c}=this,{conversion:_0x415c32,model:_0x1239f8}=_0x9b031c,{schema:_0x340ddb}=_0x1239f8;_0x415c32['for']('upcast')['add'](_0x3b5c94=>{_0x3b5c94['on']('element:ol',(_0x317c2a,_0x23f369,_0x578c81)=>{const _0x45d179=_0x23f369['viewItem'],_0x3b0eb1=_0x23f369['modelCursor']?.['parent'];_0x45d179['hasClass']('footnotes-list')&&_0x3b0eb1?.['is']('element','footnotesDefinitions')&&(function(_0x487177,_0x3a57fd,_0x2fbea5,_0x23ffa7){if(!_0x23ffa7['checkAttribute'](_0x3a57fd,'footnotesListStart'))return;let _0x2dab96=0x1;const _0x561436=_0x2fbea5['consumable']['consume'](_0x487177,{'attributes':'start'});if(_0x561436){const _0x17c380=Number['parseInt'](_0x487177['getAttribute']('start'),0xa);Number['isNaN'](_0x17c380)||(_0x2dab96=_0x17c380);}!_0x561436&&_0x3a57fd['hasAttribute']('footnotesListStart')||_0x2fbea5['writer']['setAttribute']('footnotesListStart',_0x2dab96,_0x3a57fd);}(_0x45d179,_0x3b0eb1,_0x578c81,_0x340ddb),function(_0xc2b39d,_0x3ba4c3,_0x1880dd,_0x33e310){if(!_0x33e310['checkAttribute'](_0x3ba4c3,'footnotesListStyle'))return;let _0x36fe63='decimal',_0x5748bc=!0x1;if(_0x1880dd['consumable']['consume'](_0xc2b39d,{'attributes':'type'})){const _0x416d71={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xc2b39d['getAttribute']('type')];_0x416d71&&(_0x36fe63=_0x416d71),_0x5748bc=!0x0;}_0x1880dd['consumable']['consume'](_0xc2b39d,{'styles':'list-style-type'})&&(_0x36fe63=function(_0x3dd085){switch(_0x3dd085){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3dd085;}}(_0xc2b39d['getStyle']('list-style-type')),_0x5748bc=!0x0),!_0x5748bc&&_0x3ba4c3['hasAttribute']('footnotesListStyle')||_0x1880dd['writer']['setAttribute']('footnotesListStyle',_0x36fe63,_0x3ba4c3);}(_0x45d179,_0x3b0eb1,_0x578c81,_0x340ddb));});}),_0x415c32['for']('downcast')['add'](_0x16ff9b=>{_0x16ff9b['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x515a65,_0x84c52,_0x4d0179)=>{if(!_0x4d0179['consumable']['consume'](_0x84c52['item'],_0x515a65['name']))return;const _0x92d2b1=M(_0x84c52['item'],_0x4d0179['mapper']),{attributeNewValue:_0x33564e}=_0x84c52;null==_0x33564e||0x1===_0x33564e?_0x4d0179['writer']['removeAttribute']('start',_0x92d2b1):_0x4d0179['writer']['setAttribute']('start',String(_0x33564e),_0x92d2b1);}),_0x16ff9b['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5f53c2,_0x455a9d,_0x3be1c4)=>{if(!_0x3be1c4['consumable']['consume'](_0x455a9d['item'],_0x5f53c2['name']))return;const _0x3e65fd=M(_0x455a9d['item'],_0x3be1c4['mapper']),{attributeNewValue:_0x1e2e5d}=_0x455a9d;_0x1e2e5d&&'decimal'!==_0x1e2e5d?_0x3be1c4['writer']['setStyle']('list-style-type',_0x1e2e5d,_0x3e65fd):_0x3be1c4['writer']['removeStyle']('list-style-type',_0x3e65fd);});});}['_definePostfixer'](){const {editor:_0x24c42e}=this,{model:_0x139967}=_0x24c42e,_0x350634=_0x24c42e['plugins']['get'](f),_0x3f9ba8=this['_getDefaultListStyle'](),_0x814da=this['_getDefaultStartIndex']();_0x139967['document']['registerPostFixer'](_0x4d204f=>{const _0x3a37e6=_0x139967['document']['differ']['getChanges']();let _0x567df6=!0x1;for(const _0x2de67b of _0x3a37e6){if('insert'!==_0x2de67b['type']||'$text'===_0x2de67b['name'])continue;const _0x524796=_0x139967['createRangeOn'](_0x2de67b['position']['nodeAfter']);for(const _0x3fe866 of _0x524796['getItems']())_0x3fe866['is']('element','footnotesDefinitions')&&(!_0x3fe866['hasAttribute']('footnotesListStart')&&_0x139967['schema']['checkAttribute'](_0x3fe866,'footnotesListStart')&&(_0x4d204f['setAttribute']('footnotesListStart',_0x814da,_0x3fe866),_0x567df6=!0x0),!_0x3fe866['hasAttribute']('footnotesListStyle')&&_0x139967['schema']['checkAttribute'](_0x3fe866,'footnotesListStyle')&&(_0x4d204f['setAttribute']('footnotesListStyle',_0x3f9ba8,_0x3fe866),_0x567df6=!0x0));}return _0x567df6&&_0x350634['_updateFootnotesCounters'](_0x4d204f),_0x567df6;});}['_defineFormatter'](){const {editor:_0x263adb}=this;_0x263adb['plugins']['get'](f)['setFootnoteFormatter'](_0xb62f94=>this['_formatFootnoteListValue'](_0xb62f94));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3aa0ac,value:_0x49dfa0,digits:_0x9232dc}){const _0x28cad7=_0x3aa0ac['getAttribute']('footnotesListStyle'),_0x2b6502=_0x3aa0ac['getAttribute']('footnotesListStart'),_0x4ce0cf=Math['floor'](_0x49dfa0)+(_0x2b6502??0x1)-0x1;switch(_0x28cad7){case'decimal-leading-zero':return function(_0x367172,_0x2e0849){return String(_0x367172)['padStart'](_0x2e0849,'0');}(_0x4ce0cf,Math['max'](0x2,_0x9232dc));case'lower-alpha':case'lower-latin':return N(_0x4ce0cf,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4ce0cf,!0x0);case'lower-roman':return X(_0x4ce0cf,!0x1);case'upper-roman':return X(_0x4ce0cf,!0x0);default:return String(_0x4ce0cf);}}}function M(_0x33f2c9,_0x5671ce){const _0x66bf41=_0x5671ce['toViewElement'](_0x33f2c9);return Array['from'](_0x66bf41['getChildren']())['find'](_0x50c6de=>_0x50c6de['is']('element','ol')&&_0x50c6de['hasClass']('footnotes-list'));}function N(_0x1bfbab,_0x1afba4){let _0x206ccd='',_0x1748a5=_0x1bfbab;for(;_0x1748a5>0x0;){const _0x58000c=(_0x1748a5-0x1)%0x1a;_0x206ccd=String['fromCharCode'](0x61+_0x58000c)+_0x206ccd,_0x1748a5=Math['floor']((_0x1748a5-0x1)/0x1a);}return _0x1afba4?_0x206ccd['toUpperCase']():_0x206ccd;}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(_0xa6af3,_0x259b18){let _0x48f91f='',_0x513f02=_0xa6af3;for(const {value:_0x4f5439,numeral:_0x3827db}of V)for(;_0x513f02>=_0x4f5439;)_0x48f91f+=_0x3827db,_0x513f02-=_0x4f5439;return _0x259b18?_0x48f91f:_0x48f91f['toLowerCase']();}class H extends _0x2724be{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x8639b1();['focusCycler'];constructor(_0x3b0764,{styleButtonViews:_0x190010,styleGridAriaLabel:_0x434954}){super(_0x3b0764),(this['focusCycler']=new _0x4b3080({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x190010,_0x434954),[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 _0x271de2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x271de2['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 _0x22ac76=_0x11db82=>_0x11db82['stopPropagation']();this['keystrokes']['set']('arrowright',_0x22ac76),this['keystrokes']['set']('arrowleft',_0x22ac76),this['keystrokes']['set']('arrowup',_0x22ac76),this['keystrokes']['set']('arrowdown',_0x22ac76);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5d96c5,_0x473138){const _0x4886d5=new _0x2724be(this['locale']);return _0x4886d5['children']=_0x4886d5['createCollection'](),_0x4886d5['children']['addMany'](_0x5d96c5),_0x4886d5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x473138,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4886d5['children']}),_0x4886d5['children']['delegate']('execute')['to'](this),_0x4886d5['focus']=function(){for(const _0x82abf9 of this['children'])if(_0x82abf9 instanceof _0x1bd165&&_0x82abf9['isOn'])return void _0x82abf9['focus']();this['children']['first']['focus']();},_0x4886d5['focusTracker']=new ot(),_0x4886d5['keystrokes']=new rt(),_0x4886d5['render'](),_0x4886d5['keystrokes']['listenTo'](_0x4886d5['element']),this['children']['add'](_0x4886d5),_0x4886d5;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3697a6=this['_createStartIndexPropertyView'](),_0x27f748=[_0x3697a6],_0x251446=new st(this['locale'],_0x27f748);return _0x251446['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x251446['buttonView']['bind']('isEnabled')['toMany'](_0x27f748,'isEnabled',(..._0x5af529)=>_0x5af529['some'](_0x1631dd=>_0x1631dd)),_0x251446['buttonView']['on']('change:isEnabled',(_0xa1a7c3,_0x4611fa,_0x25884b)=>{_0x25884b||(_0x251446['isCollapsed']=!0x0);}),this['children']['add'](_0x251446),[_0x3697a6,_0x251446];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5bc581=new it(this['locale'],et);return _0x5bc581['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5bc581['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5bc581['fieldView']['on']('input',()=>{const _0x1ca1f8=_0x5bc581['fieldView']['element'],_0x1de712=_0x1ca1f8['valueAsNumber'];Number['isNaN'](_0x1de712)?_0x5bc581['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1ca1f8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1de712}):_0x5bc581['errorText']=t(_0x1de712<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5bc581;}}class j extends _0x4c1d8f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x278266,_0x29b615];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2dff44}=this,{componentFactory:_0x1b06c4}=_0x2dff44['ui'];_0x2dff44['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1b06c4['add']('footnotesStyle',function(_0x58aeb3){return _0x1c10f4=>{const {t:t}=_0x1c10f4,_0x16ea85=_0x58aeb3['commands']['get']('footnotesStyle'),_0x1fe621=_0x463afe(_0x1c10f4),{buttonView:_0x2ca8c1}=_0x1fe621;return _0x1fe621['class']='ck-footnotes-styles-dropdown',_0x1fe621['bind']('isEnabled')['to'](_0x16ea85,'isEnabled'),_0x2ca8c1['set']({'label':t('Footnotes\x20style'),'icon':_0x22b1ee,'tooltip':!0x0}),_0x1fe621['once']('change:isOpen',()=>{const _0xa284f7=function({editor:_0x3ef0f7,dropdownView:_0x99f86f}){const {t:t}=_0x3ef0f7['locale'],_0x268b45=t('Footnotes\x20definitions\x20styles'),_0x20d8a1=function(_0x14cefa){const t=_0x14cefa['locale']['t'],_0x4072c0=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3d0d5a},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x200819},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xff1319},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x13b35d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x15cd1d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xd5c7d2}];return _0x4072c0['map'](function(_0xd001ff){const _0x44bc9d=_0xd001ff['locale'];return({label:_0x3f2da6,icon:_0x31c6d8,tooltip:_0x53b65a,style:_0x258b64})=>{const _0x8b3051=_0xd001ff['commands']['get']('footnotesStyle'),_0x3eae70=new _0x1bd165(_0x44bc9d);return _0x3eae70['set']({'label':_0x3f2da6,'icon':_0x31c6d8,'tooltip':_0x53b65a}),_0x3eae70['bind']('isOn')['to'](_0x8b3051,'value',_0x2c70a9=>_0x2c70a9===_0x258b64),_0x3eae70['bind']('isEnabled')['to'](_0x8b3051,'isEnabled'),_0x3eae70['on']('execute',()=>{_0xd001ff['execute']('footnotesStyle',{'value':_0x258b64}),_0xd001ff['editing']['view']['focus']();}),_0x3eae70;};}(_0x14cefa));}(_0x3ef0f7),_0x4acc43=new H(_0x3ef0f7['locale'],{'styleGridAriaLabel':_0x268b45,'styleButtonViews':_0x20d8a1}),_0x35c88f=_0x3ef0f7['commands']['get']('footnotesStart');return _0x4acc43['startIndexFieldView']['bind']('isEnabled')['to'](_0x35c88f),_0x4acc43['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x35c88f),_0x4acc43['on']('footnotesListStart',(_0x4f62fc,_0x3e8fa1)=>{_0x3ef0f7['execute']('footnotesStart',{'value':_0x3e8fa1['startIndex']});}),_0x4acc43['delegate']('execute')['to'](_0x99f86f),_0x4acc43;}({'editor':_0x58aeb3,'dropdownView':_0x1fe621});_0x1fe621['panelView']['children']['add'](_0xa284f7);}),_0x1fe621;};}(_0x2dff44));}['afterInit'](){const {editor:_0x390e7f}=this,{t:t}=_0x390e7f['locale'],_0x1c7354=_0x390e7f['plugins']['get'](_0x29b615),{defaultPositions:_0x135445}=_0x34aec5;_0x1c7354['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x390e7f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x9d6190=>{let _0x5e0494=_0x9d6190['getFirstPosition']()?.['parent'];return _0x5e0494?.['is']('$text')&&(_0x5e0494=_0x5e0494['parent']),_0x5e0494?.['is']('element')?_0x5e0494['findAncestor'](J):null;},'positions':[_0x135445['southArrowNorth'],_0x135445['southArrowNorthMiddleWest'],_0x135445['southArrowNorthMiddleEast'],_0x135445['southArrowNorthWest'],_0x135445['southArrowNorthEast'],_0x135445['northArrowSouth'],_0x135445['northArrowSouthMiddleWest'],_0x135445['northArrowSouthMiddleEast'],_0x135445['northArrowSouthWest'],_0x135445['northArrowSouthEast'],_0x135445['viewportStickyNorth']]});}}class ft extends _0x4c1d8f{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,f 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':_0x3c0292=>0x1!=_0x3c0292}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37280b=>{const {af:{dictionary:_0x3aae27,getPluralForm:_0x49d3cc}}={'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':_0x147e1e=>0x1!=_0x147e1e}};_0x37280b['af']||={'dictionary':{},'getPluralForm':null},_0x37280b['af']['dictionary']=Object['assign'](_0x37280b['af']['dictionary'],_0x3aae27),_0x37280b['af']['getPluralForm']=_0x49d3cc;})(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':_0x529e5a=>0x0==_0x529e5a?0x0:0x1==_0x529e5a?0x1:0x2==_0x529e5a?0x2:_0x529e5a%0x64>=0x3&&_0x529e5a%0x64<=0xa?0x3:_0x529e5a%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x329f80=>{const {ar:{dictionary:_0x4212b4,getPluralForm:_0x32699c}}={'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':_0x3802ab=>0x0==_0x3802ab?0x0:0x1==_0x3802ab?0x1:0x2==_0x3802ab?0x2:_0x3802ab%0x64>=0x3&&_0x3802ab%0x64<=0xa?0x3:_0x3802ab%0x64>=0xb?0x4:0x5}};_0x329f80['ar']||={'dictionary':{},'getPluralForm':null},_0x329f80['ar']['dictionary']=Object['assign'](_0x329f80['ar']['dictionary'],_0x4212b4),_0x329f80['ar']['getPluralForm']=_0x32699c;})(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':_0x47d2c6=>0x1!=_0x47d2c6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1cedc5=>{const {ast:{dictionary:_0x1fe0f7,getPluralForm:_0x397f5f}}={'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':_0x1844a7=>0x1!=_0x1844a7}};_0x1cedc5['ast']||={'dictionary':{},'getPluralForm':null},_0x1cedc5['ast']['dictionary']=Object['assign'](_0x1cedc5['ast']['dictionary'],_0x1fe0f7),_0x1cedc5['ast']['getPluralForm']=_0x397f5f;})(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':_0x313de6=>0x1!=_0x313de6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47a0e3=>{const {az:{dictionary:_0x1480e6,getPluralForm:_0x419baa}}={'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':_0x3ffdc1=>0x1!=_0x3ffdc1}};_0x47a0e3['az']||={'dictionary':{},'getPluralForm':null},_0x47a0e3['az']['dictionary']=Object['assign'](_0x47a0e3['az']['dictionary'],_0x1480e6),_0x47a0e3['az']['getPluralForm']=_0x419baa;})(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':_0x572fb9=>_0x572fb9%0xa==0x1&&_0x572fb9%0x64!=0xb?0x0:_0x572fb9%0xa>=0x2&&_0x572fb9%0xa<=0x4&&(_0x572fb9%0x64<0xa||_0x572fb9%0x64>=0x14)?0x1:0x2}};
|